clavue-v1 1.70.18 → 1.71.0
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/ARCHITECTURE.md +41 -0
- package/CHANGELOG.md +24 -0
- package/PRODUCT.md +45 -0
- package/QUICKSTART.md +42 -0
- package/README.md +25 -10
- package/dist/cli-main.js +1033 -928
- package/dist/cli.js +2 -2
- package/dist/mao-command.js +2 -2
- package/dist/openai-responses-adapter.js +7 -7
- package/dist/provider-command.js +6 -1
- package/dist/provider-router.js +11 -11
- package/dist/provider-setup.js +1 -1
- package/docs/README.md +76 -0
- package/docs/clavue-provider-model-best-practices.md +1 -1
- package/docs/design/full-access-untrusted-repo.md +11 -9
- package/docs/design/scheduled-tasks.md +22 -8
- package/docs/diary-style.md +10 -0
- package/docs/evals/README.md +11 -3
- package/docs/evals/combo-review/round3-readiness-and-graph-audit-2026-11-15.md +106 -0
- package/docs/evals/context-jev-readout-2026-11-15.md +136 -0
- package/docs/evals/exit-contract-replay-2026-11-15.md +36 -0
- package/docs/evals/mutation-definition-diff-2026-11-15.md +59 -0
- package/docs/loop-budget-map.md +64 -49
- package/docs/modality-surfaces-maturity-2026-11-15.md +108 -0
- package/docs/next-modality-todolist-2026-11-15.md +75 -0
- package/docs/next-round-plan-2026-11-15.md +137 -0
- package/docs/next-round-todolist-2026-11-15.md +72 -0
- package/docs/next-round.md +50 -0
- package/docs/official-api-clavue-com.md +14 -1
- package/docs/ops-modality-settings-plan-2026-11-15.md +168 -0
- package/docs/release-notes-v1.70.19.md +53 -0
- package/docs/release-notes-v1.71.0.md +39 -0
- package/docs/result-json.md +17 -2
- package/docs/schemas/result.example.json +1 -0
- package/docs/schemas/result.schema.json +12 -0
- package/docs/tui-feed/feed.json +32 -4
- package/install.sh +1 -1
- package/package.json +5 -22
- package/study/01-getting-started.md +6 -5
- package/study/02-provider-profiles-and-routing.md +14 -0
- package/study/06-troubleshooting.md +1 -1
- package/study/README.md +3 -1
- package/docs/agent-fix-retro-2026-10-06.md +0 -175
- package/docs/archive/COMPANION_HOOKS_AND_MEMORY_ARCHITECTURE.md +0 -383
- package/docs/archive/COMPANION_UPGRADE_PLAN.md +0 -411
- package/docs/archive/MYCLAUDE_PROGRAM.md +0 -385
- package/docs/archive/UPGRADE_COHERENCE_AUDIT.md +0 -369
- package/docs/archive/bug-session-log-2026.md +0 -34
- package/docs/archive/shengji.md +0 -167
- package/docs/archive/tisheng.md +0 -763
- package/docs/archive/wendanG.MD +0 -407
- package/docs/archive/yunying.md +0 -77
- package/docs/auto-compact-post-compact-loop-2026-09-19.md +0 -70
- package/docs/bug.md +0 -436
- package/docs/ccjk-clavue-compatibility-brief.md +0 -346
- package/docs/clavue-autonomous-development-mode-2026-05-01.md +0 -144
- package/docs/clavue-efficiency-engineering-playbook-2026-04-30.md +0 -445
- package/docs/clavue-local-install-root-cause-2026-04-28.md +0 -332
- package/docs/clavue-native-installer-404-2026-04-28.md +0 -184
- package/docs/clavue-platform-95-roadmap-2026-05-01.md +0 -154
- package/docs/clavue-v1.6-beyond-plan-2026-09-02.md +0 -192
- package/docs/clavue-v2-mao-supervisor-architecture.md +0 -73
- package/docs/clavue-v8.9-todolist-2026-04-30.md +0 -143
- package/docs/clavue-v8.9-upgrade-plan-2026-04-30.md +0 -277
- package/docs/clavue-world-class-major-upgrade-plan-2026-04-29.md +0 -606
- package/docs/combo-review-and-official-mode-plan-2026-09-01.md +0 -200
- package/docs/dev-log-2026-10-09-wave-f-g.md +0 -66
- package/docs/eval-clavue-2.1-2026-10-13.md +0 -37
- package/docs/grok-brief-acp-stdio-2026-09-04.md +0 -102
- package/docs/grok-brief-official-login-defaults-2026-09-04.md +0 -82
- package/docs/grok-brief-permission-status-2026-09-04.md +0 -78
- package/docs/image.png +0 -0
- package/docs/long-session-audit.md +0 -44
- package/docs/official-defaults-acp-imux-2026-09-04.md +0 -102
- package/docs/olde/ccjk-myclaude-adaptation-blueprint-2026-04-17.md +0 -1089
- package/docs/olde/codebase-module-scorecard-2026-04-16.md +0 -496
- package/docs/olde/codex-codebase-module-scorecard-2026-04-16.md +0 -723
- package/docs/olde/qpus/independent-assessment-2026-04-16.md +0 -130
- package/docs/olde/qpus/module-scorecard-2026-04-16.md +0 -263
- package/docs/olde/superpowers/specs/clavue-branding-localization-spec.md +0 -300
- package/docs/parallel-worktree-disk-preflight-bug-2026-04-30.md +0 -378
- package/docs/result-only-context-waves-2026-10-09.md +0 -95
- package/docs/review-1.54.0/board-a.md +0 -476
- package/docs/review-1.54.0/board-b.md +0 -487
- package/docs/review-1.54.0/board-c.md +0 -568
- package/docs/review-1.54.0/board-d.md +0 -410
- package/docs/review-1.54.0/board-e.md +0 -414
- package/docs/secure-credential-ux-inventory-2026-10-09.md +0 -71
- package/docs/tool-result-pairing-paths.md +0 -37
- package/docs/v1-throughput-compaction-upgrade-2026-09-10.md +0 -241
- package/docs/v2_INDEX-and-final-summary.md +0 -224
- package/docs/v2_fix-verification-2026-05-07.md +0 -305
- package/docs/v2_full-dimensional-comparison-2026-05-07.md +0 -248
- package/docs/v2_model-gap-closing-2026-05-07.md +0 -214
- package/docs/v2_model-support-assessment-2026-05-07.md +0 -332
- package/docs/v2_p2-completion-2026-05-07.md +0 -218
- package/docs/v2_p3-wiring-completion-2026-05-07.md +0 -173
- package/docs/v2_p4-unique-capabilities-2026-05-07.md +0 -194
- package/docs/v2_p5-user-surface-2026-05-07.md +0 -195
- package/docs/v2_phase1-implementation-report-2026-05-07.md +0 -207
- package/docs/v2_phase3-final-report-2026-05-07.md +0 -262
- package/docs/v2_phase4-report-2026-05-07.md +0 -178
- package/docs/v2_phase6-final-report-2026-05-07.md +0 -150
- package/docs/v2_phase7-final-report-2026-05-07.md +0 -164
- package/docs/v2_upgrade-analysis-vs-claude-code-current.md +0 -306
- package/docs/website-content-recommendations.md +0 -980
- package/docs/working-set-todolist-2026-10-04.md +0 -142
- package/docs/working-set-upgrade-plan-2026-10-04.md +0 -131
- package/docs/world-class-autoresearch-hardening-2026-04-25.md +0 -110
- package/study/ROLLBACK_8.8.34_UPGRADE_REVIEW.md +0 -345
package/ARCHITECTURE.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Architecture
|
|
2
|
+
|
|
3
|
+
## Authority chain
|
|
4
|
+
|
|
5
|
+
The end-state architecture is built around two single-source-of-truth chains:
|
|
6
|
+
|
|
7
|
+
1. `authored source -> supported build pipeline -> release artifact`
|
|
8
|
+
2. `provider/model capabilities -> runtime decision -> workflow/tool behavior`
|
|
9
|
+
|
|
10
|
+
## Boundaries
|
|
11
|
+
|
|
12
|
+
- `src/` is authored runtime source only.
|
|
13
|
+
- `types/generated/` contains generated contract files.
|
|
14
|
+
- `dist/` is a release artifact, not an authored implementation surface.
|
|
15
|
+
- Provider adapters report capabilities; they do not own product identity or workflow behavior.
|
|
16
|
+
|
|
17
|
+
## Runtime contract
|
|
18
|
+
|
|
19
|
+
Every turn should be governed by one runtime decision that determines:
|
|
20
|
+
|
|
21
|
+
- product identity
|
|
22
|
+
- provider adapter
|
|
23
|
+
- model family
|
|
24
|
+
- transport
|
|
25
|
+
- capability tier
|
|
26
|
+
- workflow mode
|
|
27
|
+
- plan discipline
|
|
28
|
+
- verification discipline
|
|
29
|
+
- recovery mode
|
|
30
|
+
- visible tools
|
|
31
|
+
|
|
32
|
+
No duplicate policy should exist across prompts, command handlers, provider validation, and tool gating.
|
|
33
|
+
|
|
34
|
+
## Purity rules
|
|
35
|
+
|
|
36
|
+
- No inline source maps in `src/`.
|
|
37
|
+
- No compiler-transformed React output in `src/`.
|
|
38
|
+
- No generated stubs in `src/`.
|
|
39
|
+
- No generated contract trees under `src/`.
|
|
40
|
+
|
|
41
|
+
If a file is generated, transformed, or bundled, it belongs outside authored runtime source.
|
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,30 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
|
|
|
6
6
|
|
|
7
7
|
## Unreleased
|
|
8
8
|
|
|
9
|
+
## 1.71.0 - 2026-11-15
|
|
10
|
+
|
|
11
|
+
- **首次启动两条路:** 用克拉维账号,或填自己的 Key。按 Esc 跳过不再把引导记成已经完成。
|
|
12
|
+
- **多终端互不覆盖:** 每个会话钉住自己的网关、槽位和配置档案。另一个窗口改 `settings.json` 不会把这条会话的地址和模型换掉。
|
|
13
|
+
- **没有 Responses 接口时改走对话补全:** 上游对 `/v1/responses` 返回 404 后,本进程记住,随后改发 `/v1/chat/completions`。
|
|
14
|
+
- **已保存的路由不再要控制台批准 Key:** 官方或第三方配置已经可用时,不再弹出旧的批准步骤。
|
|
15
|
+
- **界面语言:** `/language`、`/lang`、`/locale` 切换界面语言。斜杠命令说明跟着变。
|
|
16
|
+
- **启动横幅:** 左侧银轨对齐路由、槽位和工作区。公告和「新特性」不同时各刷一段。
|
|
17
|
+
- **旁路一行:** `/doctor` 和 `clavue doctor` 打印识图、搜索、本地索引、Jev、块准入、世界模型和采集的当前开关。这一行不改变默认值。
|
|
18
|
+
- **判定上游失败时改问 clavue-3-judge:** `ops/ttqq-judge-gateway/pack_gate.py` 在专用 `/v1/judge` 失败或没有选项时,改用集群上的对话判定。客户端的问题包格式不变。
|
|
19
|
+
- **交接白板:** 工人之间的事实追加在 `.clavue/board/board.jsonl`。下一轮只把该读者游标之后的新行放进系统提示,不改用户原话。唤醒没有新正文。叙述者不能发帖,监视者只记停滞。`CLAVUE_HANDOFF_BOARD=0` 关闭。
|
|
20
|
+
- English: First launch offers an account or your own key, and Esc does not mark onboarding finished. Each session pins its gateway, slots, and profile. A 404 from `/v1/responses` is remembered and replayed as chat completions. A saved official or third-party route skips the legacy key-approval prompt. `/language` switches the interface language. The startup header aligns route, slots, and workspace. `/doctor` prints one side-surface line and does not change defaults. The judge gate falls back to `clavue-3-judge` when the typed `/v1/judge` upstream fails. Worker facts append to `.clavue/board/board.jsonl`; the next run inserts only the lines after that reader's cursor into the system prompt. A wake has no body. Narrators cannot post. `CLAVUE_HANDOFF_BOARD=0` turns the board off.
|
|
21
|
+
|
|
22
|
+
## 1.70.19 - 2026-11-15
|
|
23
|
+
|
|
24
|
+
- **无界面退出原因:** `-p` 结束时 `result.json`、`REPORT.md` 和 `run_ended` 写入 `exit_reason`。退出码 0 成功、1 失败、2 停滞、3 超时、4 改动车道没有新提交、5 用户停止、6 工具做完后没有模型续写。第 4 项只查 `--worktree` 车道;普通 `-p` 改了文件不提交仍是 0。`CLAVUE_EXIT_CONTRACT=0` 回到只有 0 和 1。心跳不再让运行看起来还活着。
|
|
25
|
+
- **回合停因:** `tool_loop` 仍是原来的原因名,并带 `cause`:`tool_repeat`、`request_repeat`、`status_wait`、`poll_budget`、`no_prompt_denial`。附件、遥测和飞书通知读同一个码。
|
|
26
|
+
- **声称通过要有新鲜检查:** 通过的检查之后又改了源码,回复却说已经通过时,回合停成暂停。诚实说明没跑检查的,仍按验证说明收尾。
|
|
27
|
+
- **槽位延迟:** 账单按槽、按模型给出平均延迟。没有样本时是空,不是 0。main 的墙钟仍不测量。
|
|
28
|
+
- **未信任仓库:** 完全访问在未信任的规范根里,把非只读命令、仓库外写入、网络工具和仓库自带的 MCP 改为询问。`-p` 同时开完全访问时,没有 `--trust-repo` 就退出。信任按主仓库根记,链接的 worktree 跟着主仓库。`/trust` 只写用户配置。
|
|
29
|
+
- **定时任务:** `clavue-v1 schedule` 和 `/schedule` 可以列、加、删、立刻跑和 tick。`schedule unit` 生成 launchd 或 systemd 文件并打印安装命令,不替用户安装。同一任务不重叠启动,超时记 `timeout`,失败可走飞书通知。
|
|
30
|
+
- **land 排队:** 两条车道同时 `clavue land` 时,后到的等待 `main` 租约,默认 120 秒,然后对着最新的 main 再 rebase。冲突给出 `rebase_conflict`、冲突文件和下一步命令。`--lease-wait-ms 0` 不等待。
|
|
31
|
+
- English: `-p` writes `exit_reason` and exit codes 0–6; code 4 applies only to `--worktree` lanes, and `CLAVUE_EXIT_CONTRACT=0` restores 0/1. Heartbeats no longer count as progress. `tool_loop` keeps its name and adds `cause`. A green claim after a stale check pauses. Slot bills show per-model latency, null when unmeasured. Full access in an untrusted canonical root asks, and headless full access exits unless `--trust-repo` is set. `clavue-v1 schedule` and `/schedule` add tasks, units, overlap locks, timeouts, and failure notices. `clavue land` waits for the main lease, then rebases onto the new tip and names a conflict.
|
|
32
|
+
|
|
9
33
|
## 1.70.18 - 2026-11-14
|
|
10
34
|
|
|
11
35
|
- **用户原话进模型:** 发给模型的正文包在 `<user_query>` 里。引用和粘贴的文字是资料,按其中用户自己的指令做。`<system-reminder>`、IDE 选区和工具结果留在标签外。界面仍显示用户打出来的句子。
|
package/PRODUCT.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Product
|
|
2
|
+
|
|
3
|
+
`clavue-v1` is an execution-first AI coding CLI for real software work.
|
|
4
|
+
|
|
5
|
+
That identity is fixed. Provider routing, auth options, model-family adapters, memory, agents, and release tooling are supporting capabilities, not alternative product definitions.
|
|
6
|
+
|
|
7
|
+
## Core promises
|
|
8
|
+
|
|
9
|
+
- Start fast and stay execution-first on real software tasks.
|
|
10
|
+
- Keep product behavior owned by `clavue`, not by a provider brand.
|
|
11
|
+
- Treat provider routing as explicit operator control, not the main user story.
|
|
12
|
+
- Keep direct repo tools, shell execution, permissions, tasks, worktrees, skills, and MCP resources in the runtime loop.
|
|
13
|
+
- Make the default path reliable: inspect, edit, verify, recover, deliver.
|
|
14
|
+
- Keep runtime behavior clear enough to audit and strong enough to trust.
|
|
15
|
+
|
|
16
|
+
## Main path
|
|
17
|
+
|
|
18
|
+
1. Launch `clavue`.
|
|
19
|
+
2. Configure routing only when the environment requires it.
|
|
20
|
+
3. Read code and context directly.
|
|
21
|
+
4. Perform the next reversible engineering step.
|
|
22
|
+
5. Verify before claiming completion.
|
|
23
|
+
6. Recover plainly when tools, routes, or assumptions fail.
|
|
24
|
+
|
|
25
|
+
## Scaffold layering
|
|
26
|
+
|
|
27
|
+
`clavue-v1` is a peer of Grok Build, Claude Code, and Codex: general CLI and TUI Agent OS scaffolding.
|
|
28
|
+
|
|
29
|
+
Peers that separate base even more sharply (philosophy we align with, not a rewrite this release):
|
|
30
|
+
|
|
31
|
+
- **DeepSeek Harness** — everything is a plugin; thin `dsh-base`; model/tools/session/loop are replaceable; domain arrives as bundles/profiles/patches.
|
|
32
|
+
- **Pi** — minimal extensible harness; powerful defaults, but workflows adapt via extensions, skills, prompt templates, and packages — not core forks.
|
|
33
|
+
|
|
34
|
+
- **Base** stays generic: the tool loop, `/goal` with evidence-gated completion, multi-worker, print admission, session phase, and permissions.
|
|
35
|
+
- **Domain acceptance** stays out of core. A site to match, a product look, or a scene rule belongs in a user or project skill / package, plus `/goal criteria` text the user pins. Those criteria name measurable artifacts.
|
|
36
|
+
- Completion stays evidence-gated. An empty evidence ledger cannot complete.
|
|
37
|
+
- This release does **not** port Cordis or replace the runtime with a plugin host — only the extensibility stance.
|
|
38
|
+
|
|
39
|
+
## Anti-goals
|
|
40
|
+
|
|
41
|
+
- Do not describe the product as a provider-first shell.
|
|
42
|
+
- Do not let compatibility layers define user-visible identity.
|
|
43
|
+
- Do not turn configuration subsystems into the main workflow.
|
|
44
|
+
- Do not accept architecture shortcuts that permanently pollute authored source.
|
|
45
|
+
- Do not weld scene-specific UI-parity or website-lookalike rules into core.
|
package/QUICKSTART.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Quick Start
|
|
2
|
+
|
|
3
|
+
This repository is `clavue-v1`. The published commands are `clavue` and `clavue-v1`. They run the same CLI.
|
|
4
|
+
|
|
5
|
+
Install, official login, and provider setup are in [README.md](./README.md). The learning path is [study/README.md](./study/README.md). The engineering map is [docs/README.md](./docs/README.md).
|
|
6
|
+
|
|
7
|
+
## Published build
|
|
8
|
+
|
|
9
|
+
Node.js 22.18 or newer.
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
curl -fsSL https://raw.githubusercontent.com/mycode699/clavue-public/main/install.sh | bash
|
|
13
|
+
clavue-v1 --version
|
|
14
|
+
clavue --version
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Then `clavue-v1 auth login`, or configure a provider with `/provider`. Routing rules: [docs/clavue-provider-model-best-practices.md](./docs/clavue-provider-model-best-practices.md).
|
|
18
|
+
|
|
19
|
+
## Side surfaces
|
|
20
|
+
|
|
21
|
+
These are not coding models. Do not put them in `/model`.
|
|
22
|
+
|
|
23
|
+
- Pictures: the coding model sees pixels when it can. After a vision rejection, text is extracted with `clavue-ocr`. `CLAVUE_OCR_SIDECAR=0` sends pixels only.
|
|
24
|
+
- Web search on a third-party gateway uses the public search endpoint (`clavue-2.1-search`). The official chat route keeps search on that route.
|
|
25
|
+
- Codebase search is a local hashed index, not a remote embedding model.
|
|
26
|
+
- Jev decides whether to spend plan/review money. It does not write code. Block admission stays in shadow until measured.
|
|
27
|
+
- `clavue-w1` only reorders candidates that already have a test command. Leave `CLAVUE_COMBO_W1` unset to skip it.
|
|
28
|
+
|
|
29
|
+
`/doctor` prints one `Surfaces:` line for the live process. Detail: [docs/modality-surfaces-maturity-2026-11-15.md](./docs/modality-surfaces-maturity-2026-11-15.md).
|
|
30
|
+
|
|
31
|
+
## This checkout
|
|
32
|
+
|
|
33
|
+
Tests import `src/*.ts` directly and need the same Node version.
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
npm run test:fast
|
|
37
|
+
npm run typecheck
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
`npm run build` is the package gate. It runs `npm run check`. Do not hand-edit `dist/`. Release order is in `AGENTS.md` and [docs/release-finish.md](./docs/release-finish.md).
|
|
41
|
+
|
|
42
|
+
What the next upgrade should read, and what is archived: [docs/next-round.md](./docs/next-round.md), [docs/archive/README.md](./docs/archive/README.md).
|
package/README.md
CHANGED
|
@@ -51,6 +51,8 @@ Secondary surfaces such as `/review`, `/compact`, `/config`, `/memory`, `/theme`
|
|
|
51
51
|
|
|
52
52
|
For full user-facing usage, start in [study/README.md](./study/README.md): [00 capability scope](./study/00-capability-scope.md) through [08 best practices](./study/08-best-practices.md). After an upgrade, run `clavue-v1 capabilities` (or `--json`) before reading release notes.
|
|
53
53
|
|
|
54
|
+
Repository doc map and the next-upgrade reading list: [docs/README.md](./docs/README.md), [docs/next-round.md](./docs/next-round.md). Expired plans are in [docs/archive](./docs/archive/README.md).
|
|
55
|
+
|
|
54
56
|
For provider and model routing setup, see [Clavue Provider And Model Best Practices](./docs/clavue-provider-model-best-practices.md). For which Grok id is chat versus coding on ttqq/ttgg, see [ttgg / ttqq Grok 模型用法](./docs/ttgg-web-build-models.md).
|
|
55
57
|
|
|
56
58
|
## Host integration (imux, tmux, IDE, Agent Chat)
|
|
@@ -90,7 +92,7 @@ clavue-v1 --version
|
|
|
90
92
|
Pin a version:
|
|
91
93
|
|
|
92
94
|
```bash
|
|
93
|
-
curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.
|
|
95
|
+
curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.71.0/install.sh | bash -s -- 1.71.0
|
|
94
96
|
```
|
|
95
97
|
|
|
96
98
|
Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/update` also prefer the public v1 release, then fall back to npm).
|
|
@@ -101,7 +103,7 @@ Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/upda
|
|
|
101
103
|
npm install -g clavue-v1
|
|
102
104
|
# or one-shot:
|
|
103
105
|
npx -y clavue-v1
|
|
104
|
-
npx -y clavue-v1@1.
|
|
106
|
+
npx -y clavue-v1@1.71.0 --version
|
|
105
107
|
```
|
|
106
108
|
|
|
107
109
|
One-line global install via the package (npm / unpkg):
|
|
@@ -113,7 +115,7 @@ curl -fsSL https://unpkg.com/clavue-v1/install.sh | bash
|
|
|
113
115
|
Install a specific version globally:
|
|
114
116
|
|
|
115
117
|
```bash
|
|
116
|
-
curl -fsSL https://unpkg.com/clavue-v1@1.
|
|
118
|
+
curl -fsSL https://unpkg.com/clavue-v1@1.71.0/install.sh | bash -s -- 1.71.0
|
|
117
119
|
```
|
|
118
120
|
|
|
119
121
|
```bash
|
|
@@ -189,10 +191,11 @@ Fastest path for custom API users:
|
|
|
189
191
|
|
|
190
192
|
1. Install with `curl -fsSL https://unpkg.com/clavue-v1/install.sh | bash`
|
|
191
193
|
2. Start with `clavue-v1`
|
|
192
|
-
3.
|
|
193
|
-
4.
|
|
194
|
-
5.
|
|
195
|
-
6.
|
|
194
|
+
3. Choose `我有自己的 Key` and enter the API URL, API key, and model. That enters the prompt.
|
|
195
|
+
4. To add another profile later, open `/provider`. At `请选择 API 配置模式`, choose `自定义 API 配置`
|
|
196
|
+
5. Choose `2. 添加配置`
|
|
197
|
+
6. Enter a profile name, API base URL, API key or auth token, and optional model slots
|
|
198
|
+
7. Choose `no` at `返回主菜单?` to enter Clavue with the saved default profile
|
|
196
199
|
|
|
197
200
|
To switch between saved providers later, open `/provider` and choose `1. 选择并启用配置`: pick a profile and confirm to overwrite the current operator.
|
|
198
201
|
|
|
@@ -270,7 +273,19 @@ Sessions that run on the **official Clavue cloud** (`api.clavue.com`) are used t
|
|
|
270
273
|
|
|
271
274
|
## First-Run Setup Modes
|
|
272
275
|
|
|
273
|
-
On first launch, Clavue
|
|
276
|
+
On first launch, with no saved route, Clavue asks for one of two paths:
|
|
277
|
+
|
|
278
|
+
```text
|
|
279
|
+
开始使用
|
|
280
|
+
用克拉维账号开始
|
|
281
|
+
我有自己的 Key
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
- `用克拉维账号开始` opens the browser. Sign in or register, confirm the terminal, and the official slots are ready.
|
|
285
|
+
- `我有自己的 Key` asks for the API URL, the API key, and the model, then enters the prompt.
|
|
286
|
+
- Esc continues without a saved route. Configure later with `/provider`.
|
|
287
|
+
|
|
288
|
+
`/provider` still opens the full menu for later changes:
|
|
274
289
|
|
|
275
290
|
```text
|
|
276
291
|
请选择 API 配置模式:
|
|
@@ -287,7 +302,7 @@ On first launch, Clavue should make the setup choice obvious:
|
|
|
287
302
|
- Use custom API configuration when you have an API base URL plus API key or auth token.
|
|
288
303
|
- Feishu in that menu is notify/reply (webhook, optional app bot). It does not create or switch a model profile.
|
|
289
304
|
- Use CCR proxy when your environment already standardizes on a compatible proxy route.
|
|
290
|
-
-
|
|
305
|
+
- After saving on router.clavue.com, run `/provider apply` to load that pack on this machine.
|
|
291
306
|
|
|
292
307
|
After API setup, Clavue can also ask for a default permission mode. The recommended path for a trusted local development machine is the efficient development mode; the maximum-permission mode is intentionally reserved for environments you fully trust.
|
|
293
308
|
|
|
@@ -725,7 +740,7 @@ Version check:
|
|
|
725
740
|
|
|
726
741
|
```bash
|
|
727
742
|
npx -y clavue-v1 --version
|
|
728
|
-
npx -y clavue-v1@1.
|
|
743
|
+
npx -y clavue-v1@1.71.0 --version
|
|
729
744
|
# available after a global install; both names are this package
|
|
730
745
|
clavue --version
|
|
731
746
|
clavue-v1 --version
|