jinye
a234860a4a
fix(core): Align MCP OAuth guidance and docs ( #5589 )
...
Qwen Code CI / Classify PR (push) Waiting to run
Qwen Code CI / Test (ubuntu-latest, Node 22.x) (push) Blocked by required conditions
Qwen Code CI / Test (macos-latest, Node 22.x) (push) Blocked by required conditions
Qwen Code CI / Test (windows-latest, Node 22.x) (push) Blocked by required conditions
Qwen Code CI / Post Coverage Comment (push) Blocked by required conditions
Qwen Code CI / CodeQL (push) Blocked by required conditions
Qwen Code CI / Integration Tests (CLI, No Sandbox) (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:docker (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:none (push) Waiting to run
E2E Tests / E2E Test - macOS (push) Waiting to run
* docs: Align docs with current CLI behavior
Update stale documentation and user-facing MCP OAuth guidance to match the current dialog-based flows, SDK permission semantics, current links, and Qwen OAuth status.
Also replace Ink internal imports with public Ink APIs for the shared text input so the workspace builds against Ink 7.
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#5589 )
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#5589 )
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#5589 )
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#5589 )
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#5589 )
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#5589 )
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#5589 )
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#5589 )
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#5589 )
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#5589 )
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: fix BaseTextInput Ink import (#5589 )
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#5589 )
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): surface MCP OAuth credential read failures
Fix SSE OAuth credential pre-check failures by reporting token storage read errors before connecting.
Update SDK coreTools docs and extension release link text from the follow-up review.
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): harden MCP OAuth error handling
Handle stderr warning failures as best-effort and keep SSE 401 OAuth guidance when credential re-read fails.
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): keep SSE OAuth pre-read best effort
Avoid blocking SSE MCP connections when the diagnostic credential pre-read fails, and cover BaseTextInput absolute-position edge cases.
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): handle SSE OAuth validation errors
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): surface MCP OAuth recovery guidance
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): cover MCP OAuth retry paths
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): address OAuth guidance review
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
---------
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-06-24 07:09:53 +08:00
Dragon
3408c32110
docs: fix MCP token path, daemon UI event count, add Feishu channel ( #5172 )
...
* docs: fix MCP token path, daemon UI event count, add Feishu channel
- mcp.md: update OAuth token storage path to v2 encrypted file
(mcp-oauth-tokens-v2.json with AES-256-GCM, keychain preferred)
- daemon/00-index.md: fix UI event type count (36 → 37)
- daemon/01-architecture.md: add Feishu to channel bots diagram
- daemon/15-channel-adapters.md: add Feishu adapter (WebSocket/webhook,
config keys, permission UX, reverse-call caveat)
* docs: correct Feishu config keys and permission UX caveat
Address review feedback on 15-channel-adapters.md:
- Feishu config keys are clientId/clientSecret (not appId/appSecret),
per FeishuAdapter.ts:116-118; add encryptKey (required for webhook
mode, enforced at FeishuAdapter.ts:165-168).
- Note that channel permission UX currently auto-approves via AcpBridge
(AcpBridge.ts:111); interactive approval is planned.
* docs: fix missed sibling references for audit consistency
Address review feedback (wenshao) — apply the same corrections to other
doc locations that referenced the stale values:
- MCP token path: also fix docs/developers/tools/mcp-server.md (was still
~/.qwen/mcp-oauth-tokens.json).
- UI event type count 36 -> 37: also fix 14-cli-tui-adapter.md (3 spots),
13-sdk-daemon-client.md.
- Feishu channel: add Feishu rows to both tables in 15-channel-adapters.md
(Per-channel adapters + Adapter matrix) and the package-level Adapters
subgraph in 01-architecture.md, so prose/tables/diagrams all agree.
- Add a note under the Adapter matrix clarifying that Permission UX /
approvalMode are not wired yet (all channels auto-approve via AcpBridge).
2026-06-16 11:37:43 +08:00
Edenman
6c999fe29f
feat(cli): add OAuth configuration flags to mcp add ( #3442 )
...
* feat(cli): Add OAuth redirect URI support to command
- Add --oauth-redirect-uri, --oauth-client-id, --oauth-client-secret,
--oauth-authorization-url, --oauth-token-url, and --oauth-scopes flags
to the command
- Enable configuration of custom OAuth redirect URIs for remote/cloud
server deployments (fixes hardcoded localhost issue)
- Document auth.redirectUri in both developer and user-facing MCP docs
- Add comprehensive tests for OAuth configuration via CLI
- Update documentation with examples and guidance for remote deployments
Fixes #3336
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* refactor(cli): harden OAuth flag handling in mcp add
- Reject combining --oauth-* flags with --transport stdio to surface the
mistake instead of silently persisting an unused oauth config
- Rebuild OAuth config via single spread expression; drop the prior
mutate-then-check pattern and the post-hoc enabled assignment
- Trim each scope token after comma split so "read, write" no longer
stores leading/trailing whitespace
- Cover both new behaviors with tests; add missing --oauth-client-secret
row and stdio-incompatibility note to the user MCP docs
* test(cli): use explicit Vitest/Yargs type imports in mcp add tests
Switch from namespace-style 'vi.Mock' and 'yargs.Argv' references to
explicit 'Mock' and 'Argv' imports, and replace the narrow
'(code?: number) => never' cast on the process.exit mock with
'typeof process.exit' so it tracks the current Node signature.
---------
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-20 14:12:17 +08:00
LaZzyMan
fe4ca16088
refactor: remove deprecated list and refresh MCP commands
...
- Delete listCommand and refreshCommand from mcpCommand.ts
- Update subCommands to only include manageCommand and authCommand
- Update documentation to reference MCP management dialog instead of CLI commands
- Simplify mcp command description to focus on management dialog and OAuth auth
Note: i18n strings for deprecated commands are kept for backward compatibility
2026-02-25 11:58:41 +08:00
kefuxin
573c33f68a
Merge remote-tracking branch 'upstream/main' into fix/issue-1186-schema-converter
2025-12-16 11:08:51 +08:00
pomelo-nwu
17785c418d
feat: restructure docs
2025-12-04 18:26:05 +08:00