qwen-code/docs/developers/daemon
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
..
00-index.md docs: fix MCP token path, daemon UI event count, add Feishu channel (#5172) 2026-06-16 11:37:43 +08:00
01-architecture.md docs: fix MCP token path, daemon UI event count, add Feishu channel (#5172) 2026-06-16 11:37:43 +08:00
02-serve-runtime.md docs(daemon): Refresh daemon docs in English (#5144) 2026-06-15 22:38:01 +08:00
03-acp-bridge.md docs(daemon): Refresh daemon docs in English (#5144) 2026-06-15 22:38:01 +08:00
04-permission-mediation.md docs(daemon): Refresh daemon docs in English (#5144) 2026-06-15 22:38:01 +08:00
05-mcp-transport-pool.md docs(daemon): Refresh daemon docs in English (#5144) 2026-06-15 22:38:01 +08:00
06-mcp-budget-guardrails.md docs(daemon): Refresh daemon docs in English (#5144) 2026-06-15 22:38:01 +08:00
07-workspace-filesystem.md docs(daemon): Refresh daemon docs in English (#5144) 2026-06-15 22:38:01 +08:00
08-session-lifecycle.md docs(daemon): Refresh daemon docs in English (#5144) 2026-06-15 22:38:01 +08:00
09-event-schema.md docs(daemon): Refresh daemon docs in English (#5144) 2026-06-15 22:38:01 +08:00
10-event-bus.md docs(daemon): Refresh daemon docs in English (#5144) 2026-06-15 22:38:01 +08:00
11-capabilities-versioning.md docs(daemon): Refresh daemon docs in English (#5144) 2026-06-15 22:38:01 +08:00
12-auth-security.md docs(daemon): Refresh daemon docs in English (#5144) 2026-06-15 22:38:01 +08:00
13-sdk-daemon-client.md docs: fix MCP token path, daemon UI event count, add Feishu channel (#5172) 2026-06-16 11:37:43 +08:00
14-cli-tui-adapter.md docs: fix MCP token path, daemon UI event count, add Feishu channel (#5172) 2026-06-16 11:37:43 +08:00
15-channel-adapters.md docs: fix MCP token path, daemon UI event count, add Feishu channel (#5172) 2026-06-16 11:37:43 +08:00
16-vscode-ide-adapter.md docs(daemon): Refresh daemon docs in English (#5144) 2026-06-15 22:38:01 +08:00
17-configuration.md docs(daemon): Refresh daemon docs in English (#5144) 2026-06-15 22:38:01 +08:00
18-error-taxonomy.md docs(daemon): Refresh daemon docs in English (#5144) 2026-06-15 22:38:01 +08:00
19-observability.md docs(daemon): Refresh daemon docs in English (#5144) 2026-06-15 22:38:01 +08:00
20-quickstart-operations.md docs(daemon): Refresh daemon docs in English (#5144) 2026-06-15 22:38:01 +08:00
_meta.ts docs(daemon): Refresh daemon docs in English (#5144) 2026-06-15 22:38:01 +08:00