clavue-v1 1.65.5 → 1.65.7
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 +26 -4
- package/README.md +5 -4
- package/dist/cli-main.js +402 -338
- package/dist/cli.js +2 -2
- package/dist/mao-command.js +1 -1
- package/dist/openai-responses-adapter.js +3 -3
- package/dist/provider-router.js +3 -3
- package/dist/provider-setup.js +1 -1
- package/docs/release-notes-v1.65.6.md +11 -0
- package/docs/release-notes-v1.65.7.md +13 -0
- package/docs/transcript-retrieve-mvp.md +79 -0
- package/docs/tui-feed/feed.json +12 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,32 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
|
|
|
4
4
|
|
|
5
5
|
格式约定(`parseChangelog` 依赖):二级标题为 `## <版本> - <日期>`,条目以 `- ` 开头,一行一条,命令与模型名保留英文。
|
|
6
6
|
|
|
7
|
+
## Unreleased
|
|
8
|
+
|
|
9
|
+
## 1.65.7 - 2026-10-30
|
|
10
|
+
|
|
11
|
+
一等 `land` 原语:重跑绿灯 tip,串行合并进 main,成功后才可推送。
|
|
12
|
+
|
|
13
|
+
- **命令:** `clavue land --repo <path> --from-tips 'tip-*' --require-green --push`。Commander 子命令与 CLI 快路径同时注册,`clavue land --help` 不走堆重执行。
|
|
14
|
+
- **发现:** `git worktree list --porcelain`,按目录名或分支名(含去掉 `worktree-` 前缀)匹配 glob;主检出路不在候选里。顺序是祖先优先的拓扑序,不成链时按名字稳定排序。
|
|
15
|
+
- **绿灯:** 每个 tip 当场重跑自己的测试命令(`package.json` 的 `test` 脚本,否则 `npm test`)。先前的 green.log 不算数;失败的 tip 不合并。
|
|
16
|
+
- **合并:** 只串行。能快进就快进;不能快进则在 tip 上 rebase 到 main 再快进。冲突立刻停止,main 回滚到合并前,tip 的 rebase 状态在报告里写明。从不 force-push main。
|
|
17
|
+
- **租约:** land 只占用 `main` 任务租约。tip 自己的 worktree 租约不会挡住 land。`--push` 只在全部选定 tip 都 land 成功之后执行 `git push`。
|
|
18
|
+
- **能力面:** `base[]` 增加 `land green-tips`。
|
|
19
|
+
- 回归:`tests/252-land-green-tips.test.mjs`(临时 git 仓库,无网络)。
|
|
20
|
+
- English: first-class `land` re-runs each tip's tests, serially fast-forwards or rebases then fast-forwards onto main, and `git push` only after every selected tip landed. Holds the `main` task lease so active tip leases do not block it. Conflicts stop the run and roll main back.
|
|
21
|
+
|
|
22
|
+
## 1.65.6 - 2026-10-30
|
|
23
|
+
|
|
24
|
+
长任务的首选续接方式改为「落盘 + 检索」;摘要式自动压缩只作为可选降级。
|
|
25
|
+
|
|
26
|
+
- **TranscriptSearch 工具(默认开启):** 会话 JSONL 本身是 append-only 全量记录,压缩只会把消息从上下文里移走,不会删掉磁盘上的历史。新工具按关键词(空格分隔、全部命中)和/或路径子串扫描该文件,返回角色、行号、时间戳与保留路径/报错行的片段,支持 `limit` / `offset` 分页。
|
|
27
|
+
- **提示词引导:** 工具描述要求模型在压缩之后、或上下文细节缺失时先检索再作答,不要凭印象猜。
|
|
28
|
+
- **压缩后规则重读:** `runPostCompactCleanup` 在主线程压缩后调用 `resetGetMemoryFilesCache('compact')`,保证下一轮重新读取 `AGENTS.md` / `clavue.md` 一类记忆文件;子线程压缩不会清空主线程缓存。
|
|
29
|
+
- **文档:** `docs/transcript-retrieve-mvp.md` 记录压缩触发点、摘要丢失内容与检索做法。
|
|
30
|
+
- **请求面棘轮:** 新增 `TranscriptSearch` 后,official print 的 system+tools 约 token、tools.bytes 与 interactive tools.bytes 按实测抬高(`tests/request-surface-budget.test.mjs`、`tests/tool-surface-budget.test.mjs`)。
|
|
31
|
+
- English: long sessions prefer an append-only on-disk transcript plus on-demand retrieval; summary compaction is an optional downgrade. New always-on `TranscriptSearch` tool scans the session JSONL by keyword or path. Post-compact cleanup resets the memory-file cache so AGENTS.md-class rules reload. Official request/tool surface ceilings ratchet to the measured size after adding TranscriptSearch.
|
|
32
|
+
|
|
7
33
|
## 1.65.5 - 2026-10-30
|
|
8
34
|
|
|
9
35
|
长任务不再用回合配额当停机条件;可选 `--max-turns` 仍可用。
|
|
@@ -14,8 +40,6 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
|
|
|
14
40
|
- 回归:`tests/1655-turn-cap-unlimited.test.mjs`;更新 goal / open-work / nudge 默认断言。
|
|
15
41
|
- English: long tasks no longer stop because a turn quota ran out. Defaults are unlimited; optional explicit `--max-turns` still honored. Open-work / no-progress nudge defaults raised so workers do not hand back before an advertised budget is used.
|
|
16
42
|
|
|
17
|
-
## Unreleased
|
|
18
|
-
|
|
19
43
|
## 1.65.4 - 2026-10-30
|
|
20
44
|
|
|
21
45
|
思考显示先过一层协议包装清理:存下来的 thinking 保持原样,只有渲染用的文本被处理。
|
|
@@ -57,8 +81,6 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
|
|
|
57
81
|
### Notes
|
|
58
82
|
- Docs + discovery only. No Cordis rewrite. No domain/AFTER visual gates in core. Continues 1.65.0 Agent OS scaffolding stance.
|
|
59
83
|
|
|
60
|
-
## Unreleased
|
|
61
|
-
|
|
62
84
|
## 1.65.0 - 2026-10-30
|
|
63
85
|
|
|
64
86
|
1.65.0 把脚手架分层写清楚:底座是通用 Agent OS,场景验收不进核心。
|
package/README.md
CHANGED
|
@@ -43,6 +43,7 @@ Canonical primary command surfaces:
|
|
|
43
43
|
- `/tasks`: inspect task-board state for long-running work.
|
|
44
44
|
- `/resume`: continue saved sessions.
|
|
45
45
|
- `/doctor`, `/login`, `/logout`, `/mcp`, `/model`, `/plugin`, and `/status`: primary setup, routing, and diagnostics flows.
|
|
46
|
+
- `clavue land` (shell, not a slash command): re-run tests on matching worktree tips, then serially fast-forward or rebase+fast-forward them onto main. `--push` runs only after every selected tip landed. Holds the main task lease; tip leases do not block it.
|
|
46
47
|
|
|
47
48
|
Secondary surfaces such as `/review`, `/compact`, `/config`, `/memory`, `/theme`, `/usage`, `/cost`, `/vim`, and `/parallel` remain available for focused workflows. `/parallel` launches Agent workers only when you type it. Saying 「多开几个 clavue」 does not run it; the lead session spawns Agent and Team workers instead. `/usage` and `/cost` show this session's tokens and, on official cloud after the first request, membership points. USD on official SKUs is an estimate — billing is in points. Compatibility aliases are documented only when they are part of a canonical flow; internal, hidden, disabled stub, and experimental commands are not public defaults. Long-context recovery includes proactive compaction plus reactive overflow recovery for long-running work.
|
|
48
49
|
|
|
@@ -89,7 +90,7 @@ clavue-v1 --version
|
|
|
89
90
|
Pin a version:
|
|
90
91
|
|
|
91
92
|
```bash
|
|
92
|
-
curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.65.
|
|
93
|
+
curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.65.7/install.sh | bash -s -- 1.65.7
|
|
93
94
|
```
|
|
94
95
|
|
|
95
96
|
Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/update` also prefer the public v1 release, then fall back to npm).
|
|
@@ -100,7 +101,7 @@ Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/upda
|
|
|
100
101
|
npm install -g clavue-v1
|
|
101
102
|
# or one-shot:
|
|
102
103
|
npx -y clavue-v1
|
|
103
|
-
npx -y clavue-v1@1.65.
|
|
104
|
+
npx -y clavue-v1@1.65.7 --version
|
|
104
105
|
```
|
|
105
106
|
|
|
106
107
|
One-line global install via the package (npm / unpkg):
|
|
@@ -112,7 +113,7 @@ curl -fsSL https://unpkg.com/clavue-v1/install.sh | bash
|
|
|
112
113
|
Install a specific version globally:
|
|
113
114
|
|
|
114
115
|
```bash
|
|
115
|
-
curl -fsSL https://unpkg.com/clavue-v1@1.65.
|
|
116
|
+
curl -fsSL https://unpkg.com/clavue-v1@1.65.7/install.sh | bash -s -- 1.65.7
|
|
116
117
|
```
|
|
117
118
|
|
|
118
119
|
```bash
|
|
@@ -720,7 +721,7 @@ Version check:
|
|
|
720
721
|
|
|
721
722
|
```bash
|
|
722
723
|
npx -y clavue-v1 --version
|
|
723
|
-
npx -y clavue-v1@1.65.
|
|
724
|
+
npx -y clavue-v1@1.65.7 --version
|
|
724
725
|
# available after a global install; both names are this package
|
|
725
726
|
clavue --version
|
|
726
727
|
clavue-v1 --version
|