zcode-app-cli 3.7.5-11 → 3.7.7-12

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 CHANGED
@@ -127,7 +127,7 @@ activity between the transcript and editor.
127
127
  and error reporting; double-Esc rewind with input-point selection and safe
128
128
  conversation/workspace scopes; unfocused turn-completion notifications through
129
129
  terminal-native OSC 9 or BEL, with optional desktop commands; `/copy`,
130
- `/clear`, `/exit`, Ctrl+C and Ctrl+D handling with token usage and resume
130
+ `/cls`, `/exit`, Ctrl+C and Ctrl+D handling with token usage and resume
131
131
  guidance on exit.
132
132
 
133
133
  ## Workspace integration
@@ -186,6 +186,16 @@ Use `@plugin` when the whole Plugin is relevant, including its MCP servers or
186
186
  Subagents. Use `$plugin:skill` when one exact Skill must be loaded before the
187
187
  task starts.
188
188
 
189
+ Skill and custom-command discovery also works outside the TUI through the
190
+ runtime's subcommands, with `--json` for scripts:
191
+
192
+ ```bash
193
+ zcode skills list # every discovered skill, plugin-qualified
194
+ zcode skills inspect <name> # full description, source path and metadata
195
+ zcode commands list # discovered custom slash commands
196
+ zcode commands inspect <name> # argument hints and resolved body
197
+ ```
198
+
189
199
  ### Active-turn input
190
200
 
191
201
  While a regular agent turn is running, press `Enter` to send the current text
@@ -256,8 +266,13 @@ picker to return to input selection, then `Esc` again to close rewind.
256
266
  /transcript latest select the latest transcript block
257
267
  /transcript next|prev|close navigate or leave transcript selection
258
268
  /copy copy the selected block, or the latest response
269
+ /cls clear the visible transcript only
259
270
  ```
260
271
 
272
+ `/cls` clears what the TUI displays without touching the session. The
273
+ runtime's own `/clear` is an alias of `/new` and starts a fresh session, so it
274
+ is forwarded to the runtime unchanged.
275
+
261
276
  The task center keeps autonomous task output out of the foreground transcript.
262
277
  The main conversation receives only compact completion, reply and failure
263
278
  notices; select the task to inspect its output and task-scoped activity. Agent
package/bin/zcode.js CHANGED
@@ -19,6 +19,7 @@ var config_example_default = {
19
19
  },
20
20
  "headers": {},
21
21
  "models": {
22
+ "glm-5.3": { "name": "GLM-5.3" },
22
23
  "glm-5.2": { "name": "GLM-5.2" },
23
24
  "glm-5.1": { "name": "GLM-5.1" }
24
25
  }
@@ -9,6 +9,9 @@
9
9
  },
10
10
  "headers": {},
11
11
  "models": {
12
+ "glm-5.3": {
13
+ "name": "GLM-5.3"
14
+ },
12
15
  "glm-5.2": {
13
16
  "name": "GLM-5.2"
14
17
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zcode-app-cli",
3
- "version": "3.7.5-11",
3
+ "version": "3.7.7-12",
4
4
  "description": "Unofficial terminal client for the ZCode agent runtime",
5
5
  "keywords": [
6
6
  "agent",
@@ -49,7 +49,7 @@
49
49
  "sync:local": "bun run build && bun scripts/sync-runtime.ts --app /Applications/ZCode.app",
50
50
  "check": "bun run build && bun scripts/check-runtime.ts",
51
51
  "check:oauth-callback": "bun scripts/smoke-oauth-callback.ts",
52
- "check:tui": "bun scripts/smoke-tui.ts && bun scripts/smoke-tui-features.ts && bun scripts/smoke-tui-pressure.ts && bun scripts/smoke-tui-widths.ts",
52
+ "check:tui": "bun scripts/smoke-tui.ts && bun scripts/smoke-tui-features.ts && bun scripts/smoke-tui-clear.ts && bun scripts/smoke-tui-pressure.ts && bun scripts/smoke-tui-widths.ts",
53
53
  "test": "bun test",
54
54
  "typecheck": "tsc --noEmit",
55
55
  "verify:tui-perf": "bun scripts/verify-tui-perf.ts",
@@ -1,9 +1,9 @@
1
1
  {
2
- "appVersion": "3.7.5",
3
- "cliVersion": "0.16.1",
4
- "extractedAt": "2026-08-10T13:21:56.494Z",
5
- "sha512": "+gCFedwyxr4BJEIQ4QWmbj21FlyGn7Gb3LbcQsyx38PKAt2qoRbjAVjM5XVU0Tj5wViuKFZk/1xRuem28Kjf7A==",
6
- "source": "https://cdn-zcode.z.ai/zcode/electron/releases/3.7.5/linux-x64/ZCode-3.7.5-linux-x64.deb",
2
+ "appVersion": "3.7.7",
3
+ "cliVersion": "0.16.3",
4
+ "extractedAt": "2026-08-15T01:37:56.189Z",
5
+ "sha512": "9vUj/HFAUk0AS7S/TwPr6qa+qJv8ccAIvHJxp29TYvVnMoOZKPQ3rDiTlXGo9htFL7V5HBRb0n+NbXm5Cm5BqA==",
6
+ "source": "https://cdn-zcode.z.ai/zcode/electron/releases/3.7.7/linux-x64/ZCode-3.7.7-linux-x64.deb",
7
7
  "tui": {
8
8
  "implementation": "@zcode/tui",
9
9
  "foundation": "@earendil-works/pi-tui"
@@ -21,6 +21,7 @@ var config_example_default = {
21
21
  },
22
22
  "headers": {},
23
23
  "models": {
24
+ "glm-5.3": { "name": "GLM-5.3" },
24
25
  "glm-5.2": { "name": "GLM-5.2" },
25
26
  "glm-5.1": { "name": "GLM-5.1" }
26
27
  }
@@ -164443,6 +164444,7 @@ const toolLifecycleEventKinds = /* @__PURE__ */ new Set([
164443
164444
  "error",
164444
164445
  "closed"
164445
164446
  ]);
164447
+ const runtimeCommandSummaries = /* @__PURE__ */ new Map([["login", "Sign in with Z.AI/BigModel OAuth or a Coding Plan API key (`/login` opens a method picker)"], ["new", "Start a fresh session (alias: /clear)"]]);
164446
164448
  const terminalThemeQueryTimeoutMs = 100;
164447
164449
  const exitUsageQueryTimeoutMs = 250;
164448
164450
  const updateAvailableBlockId = "update_available";
@@ -164884,14 +164886,14 @@ var ZCodeTui = class {
164884
164886
  if (!name) continue;
164885
164887
  commands.push({
164886
164888
  name,
164887
- description: command.description ?? command.summary,
164889
+ description: command.description ?? runtimeCommandSummaries.get(name) ?? command.summary,
164888
164890
  argumentHint: command.argumentHint ?? command.inputHint ?? command.usage
164889
164891
  });
164890
164892
  }
164891
164893
  for (const command of [
164892
164894
  {
164893
- name: "clear",
164894
- description: "Clear the visible transcript"
164895
+ name: "cls",
164896
+ description: "Clear the visible transcript (the runtime's /clear starts a new session)"
164895
164897
  },
164896
164898
  {
164897
164899
  name: "copy",
@@ -165087,7 +165089,7 @@ var ZCodeTui = class {
165087
165089
  this.stop();
165088
165090
  return;
165089
165091
  }
165090
- if (input === "/clear") {
165092
+ if (input === "/cls") {
165091
165093
  this.clearTranscriptProjection();
165092
165094
  this.workflowView = void 0;
165093
165095
  this.ui.requestRender(true);