fix: 配置文件修改及文档站同步修改#421
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
| "api_key": "sk-xxx" | ||
| }, | ||
| "provider_runtime": { | ||
| "providers": [ |
There was a problem hiding this comment.
Medium: this example models provider_runtime.providers as an array of {id, ...} objects, but config loading expects a JSON object keyed by provider ID (map[string]ProviderConfig). A user who copies this block will fail config parsing/validation before they ever reach model switching.
|
|
||
| ### 3. Plan 模式:从探索到方案 | ||
|
|
||
| 小张输入 `/plan` 进入 Plan 模式,描述需求: |
There was a problem hiding this comment.
Medium: this story is written as current TUI behavior, but the current TUI command surface does not match it. Here it uses /plan, and elsewhere in the same file it uses /sessions and /resume in TUI flows, even though the TUI exposes /session and keeps /resume CLI-only. Readers following this walkthrough will hit unknown-command errors.
| { | ||
| "approval_policy": "on-request", | ||
| "sandbox_enabled": true, | ||
| "system_sandbox_mode": "non-blocking", |
There was a problem hiding this comment.
Medium: this sandbox example will not validate as written. system_sandbox_mode only accepts off, best_effort, or required, and network_allowlist entries require an integer port plus a scheme. Copy-pasting this block would break the example before the sandbox behavior described below can be reproduced.
|
|
||
| | Command | What it does | | ||
| | ------- | ------------ | | ||
| | `/model` | Open interactive picker to browse all configured providers and models | |
There was a problem hiding this comment.
Medium: the command forms documented here do not match the current parser. /model <provider>/<model> is explicitly rejected today, and /models opens the picker rather than printing a status list. The same wording appears in the mirrored provider/setup and config-reference pages, so those copies need the same correction too.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Add tests for previously uncovered functions: resetPasteBurstTracking, captureImplicitPasteCandidate, captureImplicitPasteSpecialKey, isSplitPasteContinuation, looksLikePastedFragment, countCompressedMarkers, dropLatestCompressedMarker, and related helper functions. Improves overall tui package coverage from 78.7% to 79.1%. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1. 配置文件模板调整 (config.example.json)
使用量监控、存储、告警的配置项被移除了。这意味着要么这个功能被砍掉,要么改成了自动管理不再需要用户配置。
2. 新增用户故事文档 (docs/user-stories.md)
这是一份全新的用户指南,用四个完整的使用场景描述了 ByteMind 的全部功能:
每个故事结尾有一个功能覆盖表,列出了该场景涉及的功能模块。