zcode-app-cli 3.11.2-24 → 3.12.3-26
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/README.md +35 -8
- package/bin/zcode.js +265 -133
- package/docs/CONFIGURATION.md +387 -0
- package/docs/CONFIGURATION.zh-CN.md +324 -0
- package/docs/PROVIDER_CONFIG.md +271 -0
- package/docs/PROVIDER_CONFIG.zh-CN.md +245 -0
- package/package.json +15 -6
- package/provider.example.json +151 -0
- package/{config.example.json → setting.example.json} +0 -47
- package/vendor/cli-config.cjs +161 -0
- package/vendor/extraction.json +17 -4
- package/vendor/node_modules/@zcode/tui/dist/index.js +495 -1095
- package/vendor/packages/browser-use-plugin/dist/mcp/server.js +35543 -34422
- package/vendor/packages/document-skills-plugin/.zcode-plugin/plugin.json +2 -2
- package/vendor/packages/document-skills-plugin/package.json +4 -4
- package/vendor/packages/document-skills-plugin/skills/docx/SKILL.md +34 -0
- package/vendor/packages/document-skills-plugin/skills/docx/references/docx-js-advanced.md +9 -0
- package/vendor/packages/document-skills-plugin/skills/docx/routes/edit.md +11 -0
- package/vendor/packages/document-skills-plugin/skills/docx/routes/format.md +7 -0
- package/vendor/packages/document-skills-plugin/skills/docx/routes/read.md +7 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/SKILL.md +10 -1
- package/vendor/packages/document-skills-plugin/skills/pdf/briefs/process.md +19 -4
- package/vendor/packages/document-skills-plugin/skills/pdf/env_setup/env_check.sh +6 -2
- package/vendor/packages/document-skills-plugin/skills/pdf/env_setup/setup.md +12 -3
- package/vendor/packages/document-skills-plugin/skills/pdf/env_setup/setup_mac_linux.sh +9 -3
- package/vendor/packages/document-skills-plugin/skills/pdf/env_setup/setup_windows.ps1 +8 -3
- package/vendor/packages/document-skills-plugin/skills/pdf/scripts/pdf.py +30 -6
- package/vendor/packages/document-skills-plugin/skills/pdf/scripts/setup.sh +9 -3
- package/vendor/packages/document-skills-plugin/skills/pptx/SKILL.md +33 -0
- package/vendor/packages/document-skills-plugin/skills/xlsx/env_setup/setup.md +29 -4
- package/vendor/packages/document-skills-plugin/skills/xlsx/env_setup/setup_mac_linux.sh +8 -3
- package/vendor/packages/document-skills-plugin/skills/xlsx/env_setup/setup_windows.ps1 +8 -3
- package/vendor/packages/document-skills-plugin/skills/xlsx/quality/pipeline.md +9 -0
- package/vendor/packages/document-skills-plugin/skills/xlsx/setup.sh +8 -3
- package/vendor/packages/document-skills-plugin/skills/xlsx/xlsx.py +15 -1
- package/vendor/packages/restore-legacy-sessions-plugin/skills/restore-legacy-sessions/scripts/restore-conversation.mjs +13 -8
- package/vendor/provider/zcode-builtin.json +6296 -0
- package/vendor/zcode.cjs +1159 -840
- package/zcode-runtime.lock.json +3 -3
package/README.md
CHANGED
|
@@ -25,17 +25,30 @@ npm install -g zcode-app-cli@latest
|
|
|
25
25
|
zcode
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
On first launch, ZCode creates `~/.zcode/cli/
|
|
29
|
-
`%USERPROFILE%\.zcode\cli\
|
|
28
|
+
On first launch, ZCode creates `~/.zcode/cli/setting.json` (or
|
|
29
|
+
`%USERPROFILE%\.zcode\cli\setting.json` on Windows) with credential-free
|
|
30
30
|
defaults and opens a setup wizard in the TUI. It guides you through the three
|
|
31
|
-
model-access paths in [Configuration](./docs/CONFIGURATION.md)
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
model-access paths in [Configuration](./docs/CONFIGURATION.md). Provider settings
|
|
32
|
+
and default model selection use the same native `~/.zcode/v2/provider_config.json`
|
|
33
|
+
file as ZCode Desktop.
|
|
34
34
|
Reopen it anytime with `/setup`; press Esc to skip.
|
|
35
35
|
|
|
36
|
+
## Host integration
|
|
37
|
+
|
|
38
|
+
`zcode-app-cli` is designed to run as a normal child process of a terminal host
|
|
39
|
+
or agent orchestrator. Hosts such as Herdr and Orca can launch the same
|
|
40
|
+
published `zcode` command without depending on private runtime files. The
|
|
41
|
+
launcher uses the host terminal without inserting a second PTY, forwards
|
|
42
|
+
cancellation signals, preserves the runtime exit status, and exposes a small
|
|
43
|
+
set of environment overrides.
|
|
44
|
+
|
|
45
|
+
See [Host integration](./docs/HOST_INTEGRATION.md) for the versioned contract,
|
|
46
|
+
Node.js example, terminal/PTY requirements, and compatibility rules.
|
|
47
|
+
|
|
36
48
|
## Table of contents
|
|
37
49
|
|
|
38
50
|
- [Quick start](#quick-start)
|
|
51
|
+
- [Host integration](#host-integration)
|
|
39
52
|
- [Install and update](#install-and-update)
|
|
40
53
|
- [Architecture](#architecture)
|
|
41
54
|
- [Features](#features)
|
|
@@ -98,7 +111,7 @@ multi-line editor; slash-command, unified `@` workspace/Plugin references and
|
|
|
98
111
|
session events; `/mode`, `/model`, `/resume`, `/plugins` and other upstream
|
|
99
112
|
slash commands; searchable model and reasoning-effort selectors, plus MCP and
|
|
100
113
|
workflow panels; status-bar-only Shift+Tab mode cycling
|
|
101
|
-
(`build` → `edit` → `yolo`
|
|
114
|
+
(`build` → `edit` → `yolo`), independent `/plan` toggling with an input-border indicator, Ctrl+N model and empty-prompt Tab effort
|
|
102
115
|
cycling; structured session-goal status in the right side of the turn footer;
|
|
103
116
|
animated active-turn timer with a static `ZCODE_TUI_REDUCED_MOTION=1`
|
|
104
117
|
fallback; responsive context-remaining and session-token metrics.
|
|
@@ -260,6 +273,7 @@ picker to return to input selection, then `Esc` again to close rewind.
|
|
|
260
273
|
/diff browse current and per-turn file changes
|
|
261
274
|
/context inspect context usage and source composition
|
|
262
275
|
/status inspect detailed runtime and session status
|
|
276
|
+
/rename <title> rename the current session
|
|
263
277
|
/activity inspect every active tool and open task
|
|
264
278
|
/tasks inspect and manage background tasks
|
|
265
279
|
/tasks message <id> <text> send guidance to a running background agent
|
|
@@ -392,11 +406,24 @@ not available on `PATH`.
|
|
|
392
406
|
|
|
393
407
|
## Configuration
|
|
394
408
|
|
|
395
|
-
ZCode reads configuration from `~/.zcode/cli/
|
|
396
|
-
`%USERPROFILE%\.zcode\cli\
|
|
409
|
+
ZCode reads configuration from `~/.zcode/cli/setting.json` (or
|
|
410
|
+
`%USERPROFILE%\.zcode\cli\setting.json` on Windows), with project-level
|
|
397
411
|
overrides from `zcode.json` or `.zcode/config.json` in the working directory.
|
|
398
412
|
Existing files are never replaced.
|
|
399
413
|
|
|
414
|
+
Provider settings and the default model are stored in
|
|
415
|
+
`~/.zcode/v2/provider_config.json`, shared with ZCode Desktop by default.
|
|
416
|
+
Use `ZCODE_PERSONAL_PROVIDER_CONFIG_FILE` for an independent CLI provider file.
|
|
417
|
+
`/settings` saves the default model; `/model` changes only the current session.
|
|
418
|
+
See [`provider.example.json`](./provider.example.json) for complete field examples
|
|
419
|
+
and the [provider configuration reference](./docs/PROVIDER_CONFIG.md) for multimodal
|
|
420
|
+
capabilities, native search, token limits, reasoning maps and automatic upstream
|
|
421
|
+
updates. The enabled example model inherits the catalog; disabled reference
|
|
422
|
+
models demonstrate explicit overrides and manual configuration.
|
|
423
|
+
中文文档:[配置说明](./docs/CONFIGURATION.zh-CN.md) ·
|
|
424
|
+
[Provider 配置字段参考](./docs/PROVIDER_CONFIG.zh-CN.md)。
|
|
425
|
+
The project follows the current upstream runtime and configuration schema.
|
|
426
|
+
|
|
400
427
|
Three model-access paths are supported: Z.AI OAuth (macOS only), Z.AI/BigModel
|
|
401
428
|
Coding Plan API key, or a direct API key with a custom provider. For detailed
|
|
402
429
|
setup steps, retries/timeouts, theme, and turn-completion notifications, see
|