clavue-v1 1.74.0 → 1.74.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +4 -4
- package/dist/cli-main.js +355 -173
- package/dist/cli.js +2 -2
- package/dist/mao-command.js +1 -1
- package/dist/openai-responses-adapter.js +5 -5
- package/dist/provider-router.js +6 -6
- package/dist/provider-setup.js +1 -1
- package/docs/README.md +1 -1
- package/docs/prompt-first-commands-and-diary.md +14 -5
- package/docs/release-notes-v1.74.1.md +22 -0
- package/docs/tui-feed/feed.json +18 -4
- package/package.json +1 -1
- package/study/07-command-cheatsheet.md +11 -5
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
|
|
|
4
4
|
|
|
5
5
|
格式约定(`parseChangelog` 依赖):二级标题为 `## <版本> - <日期>`,条目以 `- ` 开头,一行一条,命令与模型名保留英文。
|
|
6
6
|
|
|
7
|
+
## 1.74.1 - 2026-11-20
|
|
8
|
+
|
|
9
|
+
- **多智能体正交三巨头(`/boost`、升级版 `/swarm`、`/teamwork`)与高频工作流命令(`/grill-me`、`/learn`、`/browser`):** 新增 `/boost`(别名 `/deep`、`/consult`,单点疑难多视角只读会诊 + 战略收敛 + 独立 `review` 槽严格复核)、`/teamwork`(别名 `/legion`,驱动原生 `Workflow` 的 5 阶段固定工程流水线 `explorer → outliner → solver(worktree) → referee(review+gate) → patcher`),升级 `/swarm` 支持双模——既保留 `status`/`board`/`title`/`clear`/`--json` 秒级本地查询,也支持 `/swarm <并行任务>` 直接以 Coordinator 身份在共享黑板与隔离 `worktree` 派工并配独立 `review` Verifier 交叉审查后 `land` 合入;新增 `/grill-me`(写代码前先读源码再结构化 `AskUserQuestion` 追问对齐)、`/learn`(提炼会话纠偏/SOP 并经确认落盘至 `clavue.md`/`clavue.local.md`/`.clavue/skills/`/记忆)与 `/browser`(直连原生 `Browser` 工具,优先纯文本索引 `SNAPSHOT` 兼顾视觉与纯文本模型家族);全套纳入精选 `/` 菜单并补齐中英双语描述。
|
|
10
|
+
- **会话实用工具三件套(`/reload-rules`、`/copy-id`、Markdown `/export`):** 新增 `/reload-rules`(别名 `/reload`,一键清空缓存并即时重载 `clavue.md`/`AGENTS.md`/`.clavue/rules`、Skills 与插件)、`/copy-id`(别名 `/session-id`、`/sid`,本地任意会话一键复制 UUID 到剪贴板并给出 `--resume` 命令),并升级 `/export`(别名 `/export-md`)与 `ExportDialog` 原生支持干净 GitHub-Flavored Markdown 导出(`/export --md [文件]`、`.md` 自动走 Markdown 渲染、剥离内部 XML 标签并折叠工具调用)。
|
|
11
|
+
- **四槽位组合模型与 8 大模型家族兼容性根治及配置收口:** 修复 `getAgentModel()` 的 `toolSpecifiedModel` 分支在未配置槽位或 `CLAVUE_COMBO_OFF=1` 时向网关泄漏字面量 `"plan"`/`"review"`/`"light"`/`"main"`/`"inherit"` 的 P0 缺陷,保护 `:` 与 `/` 厂商前缀并让官方云 `opus` 别名一致映射至 `plan` 槽(`clavue-2.1-pro`);修复 `parseSlotChain()` 将 `CLAVUE_COMBO_<SLOT>=off/0/false/-` 误作真实模型 ID 及关闭 `light` 后经 `haiku` 复活的问题;统一 `providerProfiles.ts` `resolveProfileComboSlots()` 单一映射源与 `officialCombo.ts` BYOK `light`/`haiku` 补齐;修复 `SwarmTool` `add`/`model` 槽位解析、`runAgent` 元数据 `comboSlot` 归属、`AgentTool/UI` 真实模型显示及 `resumeAgent` 跨家族切模型自动 `stripSignatureBlocks()` 防 HTTP 400;`/combo` 新增槽位来源标注与环境变量覆盖告警(`shadows settings:`),并在 `/swarm`/`/teamwork`/`/boost` 提示词中补齐延迟工具 `ToolSearch` 加载与无头/单模型安全降级。
|
|
12
|
+
- English: Adds the orthogonal multi-agent command trio (`/boost`, upgraded task-launching `/swarm`, and 5-stage `/teamwork`), daily workflow commands (`/grill-me`, `/learn`, `/browser`), session utilities (`/reload-rules`, `/copy-id`, and GFM Markdown `/export --md`), and hardens 4-slot combo + 8-family model compatibility: fixes P0 leakage of literal `"plan"`/`"review"`/`"light"`/`"main"`/`"inherit"` in `getAgentModel()` when slots are unset or `CLAVUE_COMBO_OFF=1`, guards colon-prefixed (`cn:*`) and slash-prefixed (`anthropic/*`) proxy IDs, maps unpinned `opus` to `plan` on Official Cloud, strips slot-disable sentinels (`off`/`0`/`false`/`-`) in `parseSlotChain()` and honors explicit `light=off` as `inherit`, unifies profile-to-combo derivation via `resolveProfileComboSlots()` and BYOK `light`/`haiku` fallback, resolves combo slots in `SwarmTool` (`add`/`model`), `runAgent`, and `AgentTool/UI`, strips cross-family thinking signatures in `resumeAgent`, adds slot provenance & env-shadow warnings to `/combo`, and includes `ToolSearch` deferred-tool and non-interactive fallbacks across all new prompts.
|
|
13
|
+
|
|
7
14
|
## 1.74.0 - 2026-11-20
|
|
8
15
|
|
|
9
16
|
- **精简 `/` 命令菜单、工作流排序与 `/help` 聚焦:** 新增 `commandMenuCuration.ts`,裸输入 `/` 与 `/help` 默认只展示按工作流分组排序的 20 个核心内置命令(会话控制 `clear`/`compact`/`resume`/`rewind`、工作流 `plan`/`goal`/`schedule`/`team`、模型配置 `model`/`provider`/`permissions`/`config`/`language`、项目与系统 `init`/`mcp`/`skills`/`status`/`update`/`login`/`help`)及用户/项目/插件/MCP 自定义 Skills;将 18 个历史残留/彩蛋命令(`boy`、`girl`、`bigdaddy`、`mobile`、`passes`、`advisor`、`torch`、`color` 等)标记为 `hidden` 并连同 `batch-api` 等历史项移出 `/` 补全;兼容命令(`/doctor`、`/cost`、`/context`、`/review`、`/tasks`、`/swarm`、`/diff` 等)保持直达执行与前缀搜索,公共前缀优先核心与用户 Skills。
|
package/README.md
CHANGED
|
@@ -92,7 +92,7 @@ clavue-v1 --version
|
|
|
92
92
|
Pin a version:
|
|
93
93
|
|
|
94
94
|
```bash
|
|
95
|
-
curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.74.
|
|
95
|
+
curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.74.1/install.sh | bash -s -- 1.74.1
|
|
96
96
|
```
|
|
97
97
|
|
|
98
98
|
Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/update` also prefer the public v1 release, then fall back to npm).
|
|
@@ -103,7 +103,7 @@ Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/upda
|
|
|
103
103
|
npm install -g clavue-v1
|
|
104
104
|
# or one-shot:
|
|
105
105
|
npx -y clavue-v1
|
|
106
|
-
npx -y clavue-v1@1.74.
|
|
106
|
+
npx -y clavue-v1@1.74.1 --version
|
|
107
107
|
```
|
|
108
108
|
|
|
109
109
|
One-line global install via the package (npm / unpkg):
|
|
@@ -115,7 +115,7 @@ curl -fsSL https://unpkg.com/clavue-v1/install.sh | bash
|
|
|
115
115
|
Install a specific version globally:
|
|
116
116
|
|
|
117
117
|
```bash
|
|
118
|
-
curl -fsSL https://unpkg.com/clavue-v1@1.74.
|
|
118
|
+
curl -fsSL https://unpkg.com/clavue-v1@1.74.1/install.sh | bash -s -- 1.74.1
|
|
119
119
|
```
|
|
120
120
|
|
|
121
121
|
```bash
|
|
@@ -740,7 +740,7 @@ Version check:
|
|
|
740
740
|
|
|
741
741
|
```bash
|
|
742
742
|
npx -y clavue-v1 --version
|
|
743
|
-
npx -y clavue-v1@1.74.
|
|
743
|
+
npx -y clavue-v1@1.74.1 --version
|
|
744
744
|
# available after a global install; both names are this package
|
|
745
745
|
clavue --version
|
|
746
746
|
clavue-v1 --version
|