v0.35.2 — Explorer 附加 · read_terminal · Agent 验证闭环 · save_plan
🇨🇳 中文
一、Explorer 右键附加文件/文件夹 📁
在 VS Code 资源管理器右键点击任意文件或文件夹,选择「附加到 Deep Copilot」,一键将文件内容或目录结构注入聊天上下文。文件超 64 KB 自动截断;文件夹递归遍历(最深 3 层 / 最多 200 条目,自动跳过
ode_modules\ / .git\ / \dist\ 等)。
二、\
ead_terminal\ 工具 🖥
模型可主动读取 VS Code 集成终端的最新输出,无需用户手动粘贴;支持按终端名称过滤;输出自动截断并脱敏。
三、Agent 主动验证闭环 🔁
执行关键写操作或命令后,Agent 自动生成验证 tool call(读回文件确认、执行测试)。
un_shell\ 结果结构化为 {exit_code, stdout, stderr}\,模型可直接按成功/失败分支处理。
四、\save_plan\ 工具 📋
Plan 模式调查结束时将结构化计划(标题、目标、步骤、涉及文件、风险)持久化到 .deep-copilot/plans/\,以时间戳命名为标准 Markdown 文件。
五、上下文 chip 自动附加当前文件 📎
打开编辑器文件后,该文件路径自动以 chip 形式出现在输入框;切换文件时实时更新;聚焦聊天面板时 chip 不再被误清除。
六、Bug 修复与 UI 调整
- 技能路径跨 home / 工作区目录解析修复
- 工具卡片边框改为主题感知色 \�ar(--vscode-panel-border)\
- 工具头部状态栏恢复显示
- Composer 区域移除多余顶部分隔线
🇬🇧 English
1. Explorer Context Menu — Attach File / Folder 📁
Right-click any file or folder in VS Code Explorer → Attach to Deep Copilot injects its content or directory tree as a chip. Files truncated at 64 KB; folders walked recursively (max depth 3, max 200 entries;
ode_modules\ / .git\ / \dist\ etc. skipped automatically).
2. \
ead_terminal\ Tool 🖥
The model can proactively read the latest output of the VS Code integrated terminal — no more manual copy-pasting. Supports filtering by terminal name; output auto-truncated with sensitive paths sanitised.
3. Agent Proactive Verification Loop 🔁
After critical writes or shell commands, the agent automatically emits a follow-up verification tool call (re-read file, run tests).
un_shell\ result is structured as {exit_code, stdout, stderr}\ so the model branches on success/failure.
4. \save_plan\ Tool 📋
At the end of a Plan-mode investigation, the structured plan (title, goal, steps, files, risks) is persisted to .deep-copilot/plans/\ as a timestamped Markdown file.
5. Context-Chip Auto-Attach Current File 📎
When an editor file is focused its path appears as a chip in the input bar; updates live as you switch files; chip is preserved when focus moves to the chat panel.
6. Bug Fixes & UI
- Skill SKILL.md path resolution across home / workspace directories
- Tool-card borders replaced with theme-aware \�ar(--vscode-panel-border)\
- Tool header status bar restored (was accidentally hidden)
- Composer top separator removed