@zergai/ztc 0.16.1-dev.202611090700 → 0.17.0-beta.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/README.md +40 -7
- package/RUST_THIRD_PARTY_LICENSES.txt +790 -753
- package/THIRD_PARTY_NOTICES.md +1203 -8
- package/bin/zmux-darwin-arm64 +0 -0
- package/bin/ztc-audio-darwin-arm64 +0 -0
- package/bin/ztc-capture-darwin-arm64 +0 -0
- package/bin/ztc-computer-darwin-arm64 +0 -0
- package/bin/ztc-llm-darwin-arm64 +0 -0
- package/bin/ztc-tts-darwin-arm64 +0 -0
- package/bin/ztc-tui-darwin-arm64 +0 -0
- package/bin/zterm-darwin-arm64 +0 -0
- package/dist/App.js +30 -10
- package/dist/agent/commands/accounts.js +3 -0
- package/dist/agent/commands/dictation.js +3 -3
- package/dist/agent/commands/environment.js +2 -0
- package/dist/agent/commands/profile.js +3 -0
- package/dist/agent/commands/rewind.js +2 -0
- package/dist/agent/commands/settings.js +17 -0
- package/dist/agent/commands/types.d.ts +18 -9
- package/dist/app/controller.d.ts +4 -2
- package/dist/app/controller.js +4 -1
- package/dist/cli_ratatui.d.ts +17 -2
- package/dist/cli_ratatui.js +147 -27
- package/dist/config/types.d.ts +9 -0
- package/dist/config.js +43 -17
- package/dist/diagnostics/native_terminal_benchmark.js +9 -2
- package/dist/headless.d.ts +4 -1
- package/dist/headless.js +8 -4
- package/dist/mcp/workspace_server.d.ts +10 -0
- package/dist/mcp/workspace_server.js +8 -0
- package/dist/panes/agent_cli.d.ts +6 -2
- package/dist/panes/agent_cli.js +7 -2
- package/dist/panes/agent_panes.d.ts +1 -1
- package/dist/panes/agent_panes.js +15 -1
- package/dist/panes/claude_notifications.d.ts +27 -0
- package/dist/panes/claude_notifications.js +34 -0
- package/dist/session_media.js +4 -1
- package/dist/types.d.ts +16 -0
- package/dist/ui/core/text_width.d.ts +16 -5
- package/dist/ui/core/text_width.js +100 -22
- package/dist/ui/ratatui/pane_relay.js +2 -2
- package/dist/ui/ratatui/protocol.d.ts +57 -0
- package/dist/ui/ratatui/protocol.js +11 -0
- package/dist/ui/scrollback.js +11 -3
- package/dist/utils/dictation.js +5 -2
- package/dist/zlm-embed.mjs +119 -105
- package/package.json +52 -7
package/README.md
CHANGED
|
@@ -269,13 +269,15 @@ and publication contract.
|
|
|
269
269
|
typing in its main session (its Main pane in `--mux`, or the desktop app),
|
|
270
270
|
the browser mirror (a colony cell's own included), or a `ztc` you run
|
|
271
271
|
yourself (`ztc -p` and `ztc --headless` included). That covers the agent's
|
|
272
|
-
`ztc_command`, ZTC panes and colony cells, colony's
|
|
273
|
-
the colony dashboard's Send Message (both post to a
|
|
274
|
-
bus messages and `write_terminal_pane`: a ZTC that
|
|
275
|
-
of its panes reads a terminal the overseer's
|
|
276
|
-
into too, so it can't tell your typing there
|
|
277
|
-
|
|
278
|
-
|
|
272
|
+
`ztc_command`, a `/loop`'s ticks, ZTC panes and colony cells, colony's
|
|
273
|
+
`send_to_worktree` and the colony dashboard's Send Message (both post to a
|
|
274
|
+
mirror's `/broadcast`), bus messages and `write_terminal_pane`: a ZTC that
|
|
275
|
+
another ZTC runs in one of its panes reads a terminal the overseer's
|
|
276
|
+
`write_terminal_pane` types into too, so it can't tell your typing there
|
|
277
|
+
from that. A choice you queue
|
|
278
|
+
yourself (with Tab, or while an account or model change runs) is made when
|
|
279
|
+
it runs, edited in the queue (Option+Up) or not; one queued from any of
|
|
280
|
+
those others is still refused. An agent that can run shell commands can still
|
|
279
281
|
change your settings files, as it can any file you can edit, so the first
|
|
280
282
|
recording each session that goes to OpenAI says so in one line. What needs
|
|
281
283
|
code running on this machine (a process writing to a socket, an agent's
|
|
@@ -1430,6 +1432,37 @@ Codex pane is typed into it as `[Message from ben (pane 2)] …` (a question als
|
|
|
1430
1432
|
says how to answer), and the answer comes back as a message from that pane.
|
|
1431
1433
|
Broadcasts to `all` reach ZTC agents only.
|
|
1432
1434
|
|
|
1435
|
+
A pane the agent opens with `open_pane` starts as one you open yourself, by
|
|
1436
|
+
ZTC's settings as saved at that moment: the profile new Claude Code and Codex
|
|
1437
|
+
panes start on, MotSi's remote view, the route a ZTC pane starts on and, in
|
|
1438
|
+
the desktop app, Claude Code badges.
|
|
1439
|
+
|
|
1440
|
+
In the desktop app, `Shift+Enter` and `Option+Enter` start a new line in
|
|
1441
|
+
Claude Code's and Codex's prompts: the panes speak the kitty keyboard
|
|
1442
|
+
protocol both CLIs ask for. Left Option is Alt and right Option types the
|
|
1443
|
+
characters macOS composes with it (`option_as_alt` in
|
|
1444
|
+
`~/.ztc/zterm/settings.json` picks `left`, `right`, `both` or `none`).
|
|
1445
|
+
Dropping a file on a pane pastes its path; Claude Code attaches a dropped
|
|
1446
|
+
image.
|
|
1447
|
+
|
|
1448
|
+
In the desktop app, a Claude Code pane starts with
|
|
1449
|
+
`CLAUDE_CODE_FORCE_SYNC_OUTPUT=1`: the desktop terminal shows each synchronized
|
|
1450
|
+
update whole, and Claude Code otherwise draws in them only in terminals it knows
|
|
1451
|
+
by name. Under zmux the terminal around it may tear, so it isn't set there.
|
|
1452
|
+
|
|
1453
|
+
Claude Code also notifies only terminals it knows by name, so in the desktop
|
|
1454
|
+
app a Claude Code pane starts with
|
|
1455
|
+
`--settings '{"preferredNotifChannel":"kitty"}'`, which the desktop terminal
|
|
1456
|
+
shows as a badge on the pane and its tab. Claude Code takes a setting on its
|
|
1457
|
+
command line over its own settings, so while this is on, ZTC's request comes
|
|
1458
|
+
before a notification channel you chose in Claude Code (`/config` → Local
|
|
1459
|
+
notifications); a `--settings` you pass yourself (`/claude --settings …`)
|
|
1460
|
+
still wins, and ZTC adds nothing then. To leave the choice to Claude Code,
|
|
1461
|
+
turn off Claude Code badges in `/settings` → Panes (`panes.claudeBadges:
|
|
1462
|
+
false` in ZTC's config): ZTC then passes nothing. ZTC decides from its own
|
|
1463
|
+
setting alone and never opens Claude Code's files; Claude Code reads its own
|
|
1464
|
+
when it runs.
|
|
1465
|
+
|
|
1433
1466
|
#### Sign-in profiles of ZTC's own
|
|
1434
1467
|
|
|
1435
1468
|
`/claude @work …` and `/codex @work …` open the pane on a ZTC profile named
|