upgrade version to 1.0.2

This commit is contained in:
dev
2026-03-25 00:37:53 +08:00
parent 702eac9686
commit 8301bf515f
8 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ EOF
When creating or updating any file in `skills/`:
- **Language**: English only — no bilingual content. SKILL.md files are read by AI, not humans.
- **Package runner**: Always use the pre-installed `gmgn-cli` binary (e.g. `gmgn-cli token info ...`). Never use `npx gmgn-cli` or `npx gmgn-cli@<version>` — npx downloads the package at runtime alongside live credentials. The package must be installed once with `npm install -g gmgn-cli@1.0.1`.
- **Package runner**: Always use the pre-installed `gmgn-cli` binary (e.g. `gmgn-cli token info ...`). Never use `npx gmgn-cli` or `npx gmgn-cli@<version>` — npx downloads the package at runtime alongside live credentials. The package must be installed once with `npm install -g gmgn-cli@1.0.2`.
- **Section order**: Sub-commands → Supported Chains → Prerequisites → Parameters/Options (if needed) → Usage Examples → Notes
- **`--raw` flag**: All commands support `--raw` for single-line JSON output. Always document it in the Notes section.
- **YAML frontmatter**: Quote `argument-hint` values that contain `|` characters to avoid YAML parsing errors.
+2 -2
View File
@@ -80,7 +80,7 @@ npx skills add GMGNAI/gmgn-skills
### 1.2 npm Global Install
```bash
npm install -g gmgn-cli@1.0.1
npm install -g gmgn-cli@1.0.2
```
### 1.3 Local Development
@@ -321,7 +321,7 @@ npx gmgn-cli order get --chain sol --order-id <order-id>
- Restrict config file permissions: `chmod 600 ~/.config/gmgn/.env`
- Never commit your `.env` file to version control — add it to `.gitignore`
- Do not share `GMGN_API_KEY` or `GMGN_PRIVATE_KEY` in logs, screenshots, or chat messages
- Use a pinned install (`npm install -g gmgn-cli@1.0.1`) rather than `npx gmgn-cli` to avoid executing unintended package updates alongside your credentials
- Use a pinned install (`npm install -g gmgn-cli@1.0.2`) rather than `npx gmgn-cli` to avoid executing unintended package updates alongside your credentials
**Disclaimer**
+2 -2
View File
@@ -80,7 +80,7 @@ npx skills add GMGNAI/gmgn-skills
### 1.2 npm 全局安装
```bash
npm install -g gmgn-cli@1.0.1
npm install -g gmgn-cli@1.0.2
```
### 1.3 本地开发
@@ -321,7 +321,7 @@ npx gmgn-cli order get --chain sol --order-id <order-id>
- 限制配置文件权限:`chmod 600 ~/.config/gmgn/.env`
- 不要将 `.env` 文件提交到版本控制系统,请将其加入 `.gitignore`
- 不要在日志、截图或聊天中泄露 `GMGN_API_KEY` 或 `GMGN_PRIVATE_KEY`
- 使用固定版本安装(`npm install -g gmgn-cli@1.0.1`),而非 `npx gmgn-cli`,以避免在持有凭证的环境中执行未预期的包更新
- 使用固定版本安装(`npm install -g gmgn-cli@1.0.2`),而非 `npx gmgn-cli`,以避免在持有凭证的环境中执行未预期的包更新
**免责声明**
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "gmgn-cli",
"version": "1.0.1",
"version": "1.0.2",
"description": "GMGN OpenAPI CLI — call GMGN market, token, portfolio and swap APIs from the command line",
"type": "module",
"bin": {
+1 -1
View File
@@ -21,7 +21,7 @@ Use the `gmgn-cli` tool to query K-line data for a token or browse trending toke
- `.env` file with `GMGN_API_KEY` set
- Run from the directory where your `.env` file is located, or set `GMGN_HOST` in your environment
- `gmgn-cli` installed globally: `npm install -g gmgn-cli@1.0.1`
- `gmgn-cli` installed globally: `npm install -g gmgn-cli@1.0.2`
## Kline Parameters
+1 -1
View File
@@ -24,7 +24,7 @@ Use the `gmgn-cli` tool to query wallet portfolio data based on the user's reque
- `.env` file with `GMGN_API_KEY` set
- Run from the directory where your `.env` file is located, or set `GMGN_HOST` in your environment
- `gmgn-cli` installed globally: `npm install -g gmgn-cli@1.0.1`
- `gmgn-cli` installed globally: `npm install -g gmgn-cli@1.0.2`
## Usage Examples
+1 -1
View File
@@ -45,7 +45,7 @@ Both `GMGN_API_KEY` and `GMGN_PRIVATE_KEY` must be set in `.env`. The private ke
`gmgn-cli` must be installed globally before use (one-time setup):
```bash
npm install -g gmgn-cli@1.0.1
npm install -g gmgn-cli@1.0.2
```
### Credential Model
+1 -1
View File
@@ -24,7 +24,7 @@ Use the `gmgn-cli` tool to query token information based on the user's request.
- `.env` file with `GMGN_API_KEY` set
- Run from the directory where your `.env` file is located, or set `GMGN_HOST` in your environment
- `gmgn-cli` installed globally: `npm install -g gmgn-cli@1.0.1`
- `gmgn-cli` installed globally: `npm install -g gmgn-cli@1.0.2`
## Info / Security / Pool Options