Wave 5 (9 parallel agents): - W1.1 atomic diag callback + DLL handle release on shutdown (lin) - W2.1 unify cross-DLL heap discipline (host->alloc/free/strdup) (chen) - W2.2 secure_zero api_key on shutdown for deepseek/anthropic (cao) - W3 CMake modernization: target-based cxx_std_20, dstalk_boost_config INTERFACE lib, root-level RUNTIME_OUTPUT_DIRECTORY (hu) - W4 GitHub Actions CI with dynamic Linux/Windows matrix (ma) - W5.1 SSE buffer_body to cut peak memory ~67% on 32K streams (zhou) - W6.1 LSP JSON-RPC frame parser hardened against header reordering (sun) - W7 smoke test: copy plugin DLLs post-build + Boost.JSON src.hpp fix for full 9-plugin load coverage (wang) - W8.1 README slimmed 398->92, Diataxis docs/ skeleton (deng) Wave 6 (6 parallel agents): - W9.1 docs/explanation: architecture + plugin-lifecycle (deng) - W9.3 log credential leak audit (0 vulns, audit trail in docs/explanation/security-logging.md) (cao) - W9.4 docs/reference/plugin-abi.md - 7-point ABI contract (lin) - W9.6 CLI /history command + status integration (zhao) - W9.8 plugin_loader fault tolerance: per-plugin failure no longer aborts dstalk_init (huang) - W9.10 host_api unit tests: tests/host_api_test.cpp, 8 cases (liu) CEO oversight (preexisting bugs fixed during Wave 5 verification): - lsp_plugin.cpp:449 forward decl mismatch (int vs void) - tools_plugin.cpp:109 missing forward decl Multi-agent collaboration framework: - agents/WORKFLOW.md: 6-stage protocol, two-tier governance, prompt template, technical constraints registry Build: cmake --build 0 error / 0 warning. Tests: 2/2 100% pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1.6 KiB
1.6 KiB
CLI 命令速查
dstalk 所有内置命令。在对话中直接输入 /help 或 /h 也可查看此列表。
命令表
| 命令 | 别名 | 作用 | 示例 |
|---|---|---|---|
/help |
/h |
显示命令列表 | /help |
/quit |
/q |
退出程序 | /quit |
/clear |
— | 清空当前会话上下文 | /clear |
/context |
— | 显示当前 Token 数和消息条数 | /context |
/status |
— | 显示当前运行状态 (脱敏: 不打印完整 API Key) | /status |
/model <name> |
— | 切换 AI 模型 | /model deepseek-v4-pro |
/file list [path] |
— | 列出目录内容, 不填 path 列出当前目录 | /file list src/ |
/file show <path> |
— | 查看文件内容 | /file show main.cpp |
/file read <path> |
— | 读取文件内容 (同 /file show) |
/file read config.toml |
/file write <path> <content> |
— | 写入文件内容 | /file write hello.c #include <stdio.h>... |
/save <path> |
— | 保存当前会话到文件 | /save session.json |
/load <path> |
— | 从文件恢复会话 | /load session.json |
命令规则
- 所有命令以
/开头 - 不以下划线开头的输入视为 AI 对话内容, 由 AI 服务处理
- 模型切换即时生效, 不影响已累积的会话历史
/file show和/file read功能相同, 均为读取并打印文件内容/status显示脱敏信息: API Key 只显示 "已设置" 或 "未设置", 不暴露完整值