@bitget-ai/bitget-agent-skill 4.0.3 → 4.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,20 @@ All notable changes to `bitget-agent-skill` are documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [4.0.4] - 2026-11-24
9
+
10
+ ### Fixed
11
+
12
+ - **Codex after a disconnect.** `disconnectAgent` ends the authorization on
13
+ the server, but Codex keeps its own copy of the login and tries it again at
14
+ every start, then marks the server as needing authentication without
15
+ saying how to fix it. One user was stuck this way for two days. After a
16
+ disconnect in Codex the skill now runs `codex mcp logout
17
+ bitget-mcp-server`, and the troubleshooting table says how to recover
18
+ (`codex mcp logout`, then `codex mcp login`).
19
+
20
+ Can be published at any time; it does not depend on a server change.
21
+
8
22
  ## [4.0.3] - 2026-11-19
9
23
 
10
24
  Publish after agent-oauth-server and quant-data-platform with the roster of
package/VERSION CHANGED
@@ -1 +1 @@
1
- 4.0.3
1
+ 4.0.4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitget-ai/bitget-agent-skill",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "packageManager": "pnpm@8.14.1",
5
5
  "description": "Official Bitget AI skill — teaches Claude Code, Codex, Cursor, OpenClaw and other AI agents to connect the Bitget cloud MCP (https://agent.bitget.com/mcp), authorize a Bitget Agentic account with browser OAuth, and trade or query from natural language. No local API keys. Run `npx @bitget-ai/bitget-agent-skill` to deploy into your AI tool's skill directory.",
6
6
  "type": "module",
@@ -19,7 +19,7 @@ license: MIT
19
19
  compatibility: Requires an AI client that can connect remote HTTP MCP servers with OAuth, and network access to agent.bitget.com and bitget.com.
20
20
  metadata:
21
21
  author: "Bitget"
22
- version: "4.0.3"
22
+ version: "4.0.4"
23
23
  updated: "2026-11-19"
24
24
  mcp-server: "https://agent.bitget.com/mcp"
25
25
  ---
@@ -105,6 +105,8 @@ The server refuses high-risk writes (cancel all, close all, countdown cancel-all
105
105
  do_request_open_api(operation_id="disconnectAgent", confirm=true)
106
106
  ```
107
107
 
108
+ Then clear this client's own copy of the login, or it keeps trying the old one: in Codex run `codex mcp logout bitget-mcp-server` (use the name the server was added under). To connect again later: `codex mcp login bitget-mcp-server`.
109
+
108
110
  Do not send the user to the Bitget website to disconnect. Do not call it for any other reason, such as an error or an expired token.
109
111
 
110
112
  - **Other agents on the account.** A result may carry `connectedAgents`: the other agents connected to this account, sent when one joins or leaves. Tell the user in one sentence. If one is marked `new`, say so plainly: the user may not have connected it. An order whose `clientOid` starts with another agent's `agentTag` is that agent's order: do not cancel or change it unless the user asks. `do_request_open_api(operation_id="getConnectedAgents")` lists every connection with when it was last active. To disconnect one of them at the user's request, pass its tag: `do_request_open_api(operation_id="disconnectAgent", params={"agentTag": "<tag>"}, confirm=true)`.
@@ -12,7 +12,8 @@ Find the situation in the table and take the action. If nothing matches and the
12
12
  | The user cancelled, or the callback did not complete | Say "Authorization was not completed. Should I start again?" |
13
13
  | A result carries `connectedAgents` | Tell the user who else is connected, and point out any marked `new`. Leave their orders alone ("Account rules" in `SKILL.md`) |
14
14
  | The user asks to remove an agent they no longer use | `getConnectedAgents`, show the list with last activity, then `disconnectAgent` with that agent's `agentTag` and `confirm=true` after the user picks one |
15
- | The user asks to disconnect or log out | `do_request_open_api(operation_id="disconnectAgent", confirm=true)`, after telling them what it does ("Account rules" in `SKILL.md`). Do not send them to the Bitget website |
15
+ | The user asks to disconnect or log out | `do_request_open_api(operation_id="disconnectAgent", confirm=true)`, after telling them what it does ("Account rules" in `SKILL.md`). Do not send them to the Bitget website. In Codex, then run `codex mcp logout bitget-mcp-server` |
16
+ | Codex keeps saying the server needs authentication after a disconnect | Codex is still trying the old login. Run `codex mcp logout bitget-mcp-server`, then `codex mcp login bitget-mcp-server` to connect again |
16
17
  | The flow finishes but a private call still says not logged in | Wait a few seconds and retry the read-only call once. If it still fails, run one fresh authorization round |
17
18
  | Codex: the authorization link does not complete | The `codex mcp login` command that printed it is no longer running. Run it again and keep it running until the user finishes ("Codex notes" in `authorization.md`) |
18
19
  | Selecting an existing account on the authorization page fails | The account was created by the old SDK or npm tools. The user creates a new account |