From 8301bf515f782f6c4d90f05fb2a8ef9d4de558cc Mon Sep 17 00:00:00 2001 From: dev Date: Wed, 25 Mar 2026 00:37:53 +0800 Subject: [PATCH] upgrade version to 1.0.2 --- CLAUDE.md | 2 +- Readme.md | 4 ++-- Readme.zh.md | 4 ++-- package.json | 2 +- skills/gmgn-market/SKILL.md | 2 +- skills/gmgn-portfolio/SKILL.md | 2 +- skills/gmgn-swap/SKILL.md | 2 +- skills/gmgn-token/SKILL.md | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 5cd5d46..df02245 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -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@` — 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@` — 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. diff --git a/Readme.md b/Readme.md index d6623ec..e3982f0 100644 --- a/Readme.md +++ b/Readme.md @@ -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 - 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** diff --git a/Readme.zh.md b/Readme.zh.md index 18ad684..fb4c7a6 100644 --- a/Readme.zh.md +++ b/Readme.zh.md @@ -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 - 限制配置文件权限:`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`,以避免在持有凭证的环境中执行未预期的包更新 **免责声明** diff --git a/package.json b/package.json index 23a835d..a96515c 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/skills/gmgn-market/SKILL.md b/skills/gmgn-market/SKILL.md index 7d2f3b3..a294a48 100644 --- a/skills/gmgn-market/SKILL.md +++ b/skills/gmgn-market/SKILL.md @@ -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 diff --git a/skills/gmgn-portfolio/SKILL.md b/skills/gmgn-portfolio/SKILL.md index 9dcbfa4..338a0e4 100644 --- a/skills/gmgn-portfolio/SKILL.md +++ b/skills/gmgn-portfolio/SKILL.md @@ -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 diff --git a/skills/gmgn-swap/SKILL.md b/skills/gmgn-swap/SKILL.md index df11176..e7d9044 100644 --- a/skills/gmgn-swap/SKILL.md +++ b/skills/gmgn-swap/SKILL.md @@ -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 diff --git a/skills/gmgn-token/SKILL.md b/skills/gmgn-token/SKILL.md index 04c1103..911b098 100644 --- a/skills/gmgn-token/SKILL.md +++ b/skills/gmgn-token/SKILL.md @@ -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