@zergai/ztc 0.17.0-beta.1 → 0.18.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.
Files changed (52) hide show
  1. package/README.md +3 -2
  2. package/bin/zmux-darwin-arm64 +0 -0
  3. package/bin/ztc-audio-darwin-arm64 +0 -0
  4. package/bin/ztc-capture-darwin-arm64 +0 -0
  5. package/bin/ztc-tui-darwin-arm64 +0 -0
  6. package/bin/zterm-darwin-arm64 +1 -1
  7. package/dist/App.js +21 -7
  8. package/dist/agent/backends/router_gate.js +3 -2
  9. package/dist/agent/backends/router_refusal_record.d.ts +12 -2
  10. package/dist/agent/backends/router_refusal_record.js +19 -4
  11. package/dist/agent/tools/pane.d.ts +6 -1
  12. package/dist/agent/tools/pane.js +6 -4
  13. package/dist/app/mirror_startup.d.ts +7 -0
  14. package/dist/app/mirror_startup.js +10 -0
  15. package/dist/app/restart.d.ts +6 -0
  16. package/dist/app/restart.js +13 -3
  17. package/dist/app/workspace_monitor.js +17 -3
  18. package/dist/app/workspace_presets.js +8 -1
  19. package/dist/cli_main.js +5 -0
  20. package/dist/cli_ratatui.d.ts +87 -18
  21. package/dist/cli_ratatui.js +234 -129
  22. package/dist/embedded/anempa_runtime.js +3 -0
  23. package/dist/embedded/gameboy_runtime.js +4 -2
  24. package/dist/embedded/zergpod_runtime.js +4 -2
  25. package/dist/environment/store.js +4 -1
  26. package/dist/mcp/client.js +6 -2
  27. package/dist/mcp/workspace_server.d.ts +7 -3
  28. package/dist/mcp/workspace_server.js +15 -8
  29. package/dist/panes/agent_cli.d.ts +10 -3
  30. package/dist/panes/agent_cli.js +16 -4
  31. package/dist/runtime_info.js +10 -1
  32. package/dist/simulation/engines/swarm/pane_manager.d.ts +16 -3
  33. package/dist/simulation/engines/swarm/pane_manager.js +39 -17
  34. package/dist/types.d.ts +5 -2
  35. package/dist/ui/ratatui/headless_pane_manager.d.ts +13 -1
  36. package/dist/ui/ratatui/headless_pane_manager.js +37 -8
  37. package/dist/ui/ratatui/pane_credential_broker.d.ts +107 -0
  38. package/dist/ui/ratatui/pane_credential_broker.js +239 -0
  39. package/dist/ui/ratatui/pane_relay.js +4 -2
  40. package/dist/ui/ratatui/process.d.ts +13 -0
  41. package/dist/ui/ratatui/process.js +38 -3
  42. package/dist/utils/subprocess_env.js +1 -0
  43. package/dist/web/mirror_authenticator.d.ts +27 -11
  44. package/dist/web/mirror_authenticator.js +36 -12
  45. package/dist/web/mirror_client.d.ts +2 -1
  46. package/dist/web/mirror_client.js +7 -5
  47. package/dist/web/mirror_stream.d.ts +39 -8
  48. package/dist/web/mirror_stream.js +164 -29
  49. package/dist/web/pane_credentials.d.ts +131 -0
  50. package/dist/web/pane_credentials.js +302 -0
  51. package/dist/zlm-embed.mjs +2 -1
  52. package/package.json +11 -46
@@ -0,0 +1,302 @@
1
+ /**
2
+ * Per-pane mirror credentials.
3
+ *
4
+ * The mirror's process-wide internal token speaks for every pane at once, and for ZTC itself, so ZTC never gives it to
5
+ * a pane: a pane's programs (Claude Code's and Codex's tools among them) can read their own environment. Each pane
6
+ * ZTC launches that talks to the mirror gets a credential of its own instead: a random token minted when the pane is
7
+ * requested, which authenticates as nothing until it is bound to the pane id the renderer assigns, then only as that
8
+ * pane, and stops working once the pane closes. It comes back in a header (PANE_CREDENTIAL_HEADER), never on a command
9
+ * line or in a log.
10
+ *
11
+ * Any program running as this user can read the environment another of this user's processes started with (`ps -E`,
12
+ * /proc/PID/environ), so a ZTC pane and a workspace monitor, whose credential also answers the questions waiting in any
13
+ * pane, are handed theirs in a one-time owner-only file that only the file's path on their command line names
14
+ * (PANE_CREDENTIAL_FILE_FLAG). The program takes it and deletes the file as it starts, and keeps it in memory, never in
15
+ * its environment, which every program it starts would inherit (consumePaneCredentialHandoff). Only a program that
16
+ * reads the file before the pane's program has taken it could take the credential as well. A Claude Code or Codex pane
17
+ * gets its credential in its environment (PANE_CREDENTIAL_ENV), since its CLI starts the pane's workspace tools with
18
+ * that environment; another program running as this user can read it there and act as that pane.
19
+ *
20
+ * A store belongs to a port, not to one mirror server: the first mirror in this process to listen on a port makes its
21
+ * store, and every later mirror on that port takes the same one (adoptPaneCredentialStore). So the panes' credentials
22
+ * outlive a restart of their mirror (/mirror stop, then /mirror start), as the process-wide token does, and each stops
23
+ * working when its pane closes or its renderer exits. The pane transport that creates a pane mints from the store of
24
+ * the port the pane will talk to (paneCredentialStoreForPort), and binds the credential when the pane appears.
25
+ *
26
+ * Self-contained (node builtins only), so the mirror, the pane transports and the CLI entry can all depend on it.
27
+ */
28
+ import { createHash, randomBytes } from 'node:crypto';
29
+ import { lstatSync, mkdtempSync, readFileSync, realpathSync, rmSync, writeFileSync } from 'node:fs';
30
+ import { tmpdir } from 'node:os';
31
+ import { basename, dirname, join } from 'node:path';
32
+ /** The pane's own mirror credential, in the environment of a pane whose launcher asked for it there (see above). */
33
+ export const PANE_CREDENTIAL_ENV = 'ZTC_MIRROR_PANE_TOKEN';
34
+ /** The header a pane's programs present it in. */
35
+ export const PANE_CREDENTIAL_HEADER = 'x-ztc-pane-token';
36
+ /**
37
+ * The mirror credentials a ZTC process may hold that nothing it spawns inherits: its mirror's process-wide token and
38
+ * shared secret, and its own pane credential when it is itself a pane. A renderer is spawned without them, and a pane
39
+ * transport clears them in every pane it creates before giving the pane a credential of its own.
40
+ */
41
+ export const OWNER_MIRROR_CREDENTIAL_ENV = Object.freeze([
42
+ 'ZTC_MIRROR_INTERNAL_TOKEN',
43
+ 'ZTC_MIRROR_SHARED_SECRET',
44
+ PANE_CREDENTIAL_ENV,
45
+ ]);
46
+ /** ENV without the owner's mirror credentials (see OWNER_MIRROR_CREDENTIAL_ENV). */
47
+ export function withoutMirrorCredentials(env) {
48
+ const copy = { ...env };
49
+ for (const name of OWNER_MIRROR_CREDENTIAL_ENV)
50
+ delete copy[name];
51
+ return copy;
52
+ }
53
+ /**
54
+ * The values a launcher puts under PANE_CREDENTIAL_ENV in a create_pane env to ask for a credential. The pane
55
+ * transport always replaces the value: with a plain credential, or with '' when it hands a workspace monitor's in a
56
+ * one-time file (PANE_CREDENTIAL_FILE_FLAG) or no mirror in this process has listened on the pane's port. A ZTC pane is
57
+ * given a credential in such a file without asking.
58
+ */
59
+ export const PANE_CREDENTIAL_REQUEST = 'request';
60
+ export const WORKSPACE_MONITOR_CREDENTIAL_REQUEST = 'request:workspace-monitor';
61
+ /** How long an unbound credential waits for its pane before it is dropped. */
62
+ const PENDING_TTL_MS = 30_000;
63
+ function digest(token) {
64
+ return createHash('sha256').update(token, 'utf8').digest('hex');
65
+ }
66
+ /** The pane credentials of one port's mirror. Kept by digest, so no lookup compares the token itself. */
67
+ export class PaneCredentialStore {
68
+ entries = new Map();
69
+ /**
70
+ * Mint a credential for a pane about to be created. It authenticates as nothing until bound, and is dropped if it
71
+ * isn't bound within PENDING_TTL_MS. With `paneId`, a renderer that assigns ids before it spawns binds it at once.
72
+ */
73
+ issue(scope = 'pane', paneId) {
74
+ this.sweep();
75
+ const token = randomBytes(32).toString('base64url');
76
+ const key = digest(token);
77
+ this.entries.set(key, { scope, paneId: null, pendingUntilMs: Date.now() + PENDING_TTL_MS, waiters: new Set() });
78
+ const credential = {
79
+ token,
80
+ scope,
81
+ bind: (id) => {
82
+ const entry = this.entries.get(key);
83
+ if (!entry || entry.paneId !== null)
84
+ return;
85
+ // Pane 0 is ZTC's own and -1 the person in the browser: no pane credential stands for either.
86
+ if (!Number.isSafeInteger(id) || id < 1) {
87
+ this.drop(key);
88
+ return;
89
+ }
90
+ entry.paneId = id;
91
+ this.wake(entry);
92
+ },
93
+ revoke: () => { this.drop(key); },
94
+ };
95
+ if (paneId !== undefined)
96
+ credential.bind(paneId);
97
+ return credential;
98
+ }
99
+ /** The pane a presented credential stands for; 'pending' while it waits for its pane; null for anything else. */
100
+ resolve(token) {
101
+ if (!token)
102
+ return null;
103
+ const key = digest(token);
104
+ const entry = this.entries.get(key);
105
+ if (!entry)
106
+ return null;
107
+ if (entry.paneId !== null)
108
+ return { paneId: entry.paneId, scope: entry.scope };
109
+ if (Date.now() < entry.pendingUntilMs)
110
+ return 'pending';
111
+ this.drop(key);
112
+ return null;
113
+ }
114
+ /**
115
+ * Resolves once a presented credential no longer waits for its pane (bound, revoked or expired), or after
116
+ * `timeoutMs`. A pane's program can start before its owner hears the renderer created the pane; its first request
117
+ * waits here instead of being refused.
118
+ */
119
+ settled(token, timeoutMs) {
120
+ if (this.resolve(token) !== 'pending')
121
+ return Promise.resolve();
122
+ const entry = this.entries.get(digest(token));
123
+ return new Promise(resolve => {
124
+ const done = () => { clearTimeout(timer); entry.waiters.delete(done); resolve(); };
125
+ const timer = setTimeout(done, Math.max(0, Math.min(timeoutMs, entry.pendingUntilMs - Date.now())));
126
+ timer.unref();
127
+ entry.waiters.add(done);
128
+ });
129
+ }
130
+ drop(key) {
131
+ const entry = this.entries.get(key);
132
+ if (!entry)
133
+ return;
134
+ this.entries.delete(key);
135
+ this.wake(entry);
136
+ }
137
+ wake(entry) {
138
+ for (const waiter of [...entry.waiters])
139
+ waiter();
140
+ }
141
+ sweep() {
142
+ const now = Date.now();
143
+ for (const [key, entry] of this.entries) {
144
+ if (entry.paneId === null && now >= entry.pendingUntilMs)
145
+ this.drop(key);
146
+ }
147
+ }
148
+ }
149
+ /** Each port's store, from the first mirror in this process that listens on the port, for the life of the process. */
150
+ const storesByPort = new Map();
151
+ /**
152
+ * The store a mirror that starts listening on PORT honours: the one an earlier mirror on the port left, so the panes
153
+ * that talked to it rejoin this one, or a new one.
154
+ */
155
+ export function adoptPaneCredentialStore(port) {
156
+ let store = storesByPort.get(port);
157
+ if (!store) {
158
+ store = new PaneCredentialStore();
159
+ storesByPort.set(port, store);
160
+ }
161
+ return store;
162
+ }
163
+ /**
164
+ * The store for `port`, once a mirror in this process has listened on it: a pane created to talk to that port gets its
165
+ * credential there, also between a /mirror stop and a /mirror start, which a mirror listening on the port again takes.
166
+ * Null for a port no mirror here has listened on.
167
+ */
168
+ export function paneCredentialStoreForPort(port) {
169
+ return Number.isSafeInteger(port) && port > 0 ? storesByPort.get(port) ?? null : null;
170
+ }
171
+ /**
172
+ * The flag on a pane program's command line that names its pane credential handoff: for a ZTC pane and a workspace
173
+ * monitor, opened or started again in place of a pane (replace_pane: /layout resume, the Resume button on a saved agent
174
+ * pane), and for the ZTC a ZTC pane execs in its own place (paneCredentialRelaunchArgs). The handoff is a fresh
175
+ * owner-only directory in the temp directory holding the credential alone; the program takes the credential and
176
+ * deletes the directory as it starts (consumePaneCredentialHandoff).
177
+ */
178
+ export const PANE_CREDENTIAL_FILE_FLAG = '--pane-credential-file';
179
+ const HANDOFF_DIRECTORY_PREFIX = 'ztc-pane-credential-';
180
+ /** What mkdtemp names a handoff directory: the prefix and six random letters or digits. */
181
+ const HANDOFF_DIRECTORY = new RegExp(`^${HANDOFF_DIRECTORY_PREFIX}[A-Za-z0-9]{6}$`);
182
+ const HANDOFF_FILE = 'credential';
183
+ const HANDOFF_TOKEN = /^[A-Za-z0-9_-]{32,256}$/;
184
+ /** Write TOKEN to a one-time handoff for a pane to take (see PANE_CREDENTIAL_FILE_FLAG); returns the file's path. */
185
+ export function writePaneCredentialHandoff(token) {
186
+ // mkdtemp makes the directory owner-only (0700); the file is created owner-only, and only once.
187
+ const directory = mkdtempSync(join(realpathSync(tmpdir()), HANDOFF_DIRECTORY_PREFIX));
188
+ const path = join(directory, HANDOFF_FILE);
189
+ try {
190
+ writeFileSync(path, token, { mode: 0o600, flag: 'wx' });
191
+ }
192
+ catch (error) {
193
+ rmSync(directory, { recursive: true, force: true });
194
+ throw error;
195
+ }
196
+ return path;
197
+ }
198
+ /** The handoff directory PATH names when PATH has a handoff's shape (see writePaneCredentialHandoff); null otherwise. */
199
+ function handoffDirectory(path) {
200
+ const directory = dirname(path);
201
+ try {
202
+ return basename(path) === HANDOFF_FILE && HANDOFF_DIRECTORY.test(basename(directory))
203
+ && dirname(directory) === realpathSync(tmpdir()) ? directory : null;
204
+ }
205
+ catch {
206
+ return null;
207
+ }
208
+ }
209
+ /** Remove a handoff no pane took: its pane never started, or closed first. */
210
+ export function removePaneCredentialHandoff(path) {
211
+ const directory = handoffDirectory(path);
212
+ if (!directory)
213
+ return;
214
+ try {
215
+ rmSync(directory, { recursive: true, force: true });
216
+ }
217
+ catch { /* already gone, or not ours to remove */ }
218
+ }
219
+ /** The credential this process took from its handoff (consumePaneCredentialHandoff), or null. */
220
+ let heldCredential = null;
221
+ /**
222
+ * Take the pane credential a handoff on ARGV names (PANE_CREDENTIAL_FILE_FLAG): drop the flag and its path from ARGV,
223
+ * so nothing that relaunches this process or launches a pane from its arguments passes them on; keep the credential as
224
+ * this process's own, which it presents to its mirror (paneMirrorCredentialHeaders); and delete the handoff. The
225
+ * credential is never put in this process's environment, which every program it starts would inherit and any program
226
+ * running as this user can read. A handoff that is gone, or that this user alone could not have written, gives no
227
+ * credential. Only ARGV's options name a handoff: what follows an end of options ('--') is a ZTC pane's task, literal
228
+ * text whatever it says, and stays as it is. Returns whether a credential was taken.
229
+ */
230
+ export function consumePaneCredentialHandoff(argv = process.argv) {
231
+ const end = argv.indexOf('--');
232
+ const at = argv.indexOf(PANE_CREDENTIAL_FILE_FLAG);
233
+ if (at < 0 || (end >= 0 && at > end))
234
+ return false;
235
+ const value = argv[at + 1];
236
+ const path = value !== undefined && !value.startsWith('-') ? value : '';
237
+ argv.splice(at, path ? 2 : 1);
238
+ const directory = path ? handoffDirectory(path) : null;
239
+ if (!directory)
240
+ return false;
241
+ let folder;
242
+ try {
243
+ folder = lstatSync(directory);
244
+ }
245
+ catch {
246
+ return false;
247
+ }
248
+ const posix = process.platform !== 'win32';
249
+ const uid = posix ? process.getuid?.() : undefined;
250
+ // Never read, or delete, a directory that isn't a real one of this user's.
251
+ if (!folder.isDirectory() || (uid !== undefined && folder.uid !== uid))
252
+ return false;
253
+ try {
254
+ const file = lstatSync(path);
255
+ if (!file.isFile() || file.size > 512 || (uid !== undefined && file.uid !== uid))
256
+ return false;
257
+ if (posix && ((folder.mode | file.mode) & 0o077) !== 0)
258
+ return false;
259
+ const token = readFileSync(path, 'utf8').trim();
260
+ if (!HANDOFF_TOKEN.test(token))
261
+ return false;
262
+ heldCredential = token;
263
+ return true;
264
+ }
265
+ catch {
266
+ return false;
267
+ }
268
+ finally {
269
+ try {
270
+ rmSync(directory, { recursive: true, force: true });
271
+ }
272
+ catch { /* best effort: it is this user's own */ }
273
+ }
274
+ }
275
+ /**
276
+ * The header a pane's program presents to its mirror: the pane's own credential, the one this process took from its
277
+ * handoff or else the one ENV holds (a Claude Code or Codex pane's workspace tools), or, under a ZTC from before
278
+ * per-pane credentials, the process-wide token that ZTC handed its panes. Empty when there is none of them.
279
+ */
280
+ export function paneMirrorCredentialHeaders(env = process.env) {
281
+ const own = heldCredential ?? env[PANE_CREDENTIAL_ENV]?.trim();
282
+ if (own)
283
+ return { [PANE_CREDENTIAL_HEADER]: own };
284
+ const older = env.ZTC_MIRROR_INTERNAL_TOKEN?.trim();
285
+ return older ? { 'x-ztc-internal-token': older } : {};
286
+ }
287
+ /**
288
+ * The arguments that hand this process's pane credential to the ZTC it execs in its own place (a hot restart, or a
289
+ * session resumed from the panel), which is the same pane: a fresh one-time handoff, since the credential is not in
290
+ * the environment the replacement starts with. Empty when this process took none, or the handoff can't be written
291
+ * (the replacement then starts without one, as a pane restarted in place does).
292
+ */
293
+ export function paneCredentialRelaunchArgs() {
294
+ if (!heldCredential)
295
+ return [];
296
+ try {
297
+ return [PANE_CREDENTIAL_FILE_FLAG, writePaneCredentialHandoff(heldCredential)];
298
+ }
299
+ catch {
300
+ return [];
301
+ }
302
+ }
@@ -14445,6 +14445,7 @@ var USER_SUBPROCESS_STRIPPED_ZTC_ENV = [
14445
14445
  "ZTC_COLONY_WORKTREE_ID",
14446
14446
  "ZTC_MIRROR_PORT",
14447
14447
  "ZTC_MIRROR_INTERNAL_TOKEN",
14448
+ "ZTC_MIRROR_PANE_TOKEN",
14448
14449
  "ZTC_MIRROR_REQUIRE_AUTH",
14449
14450
  "ZTC_MIRROR_SHARED_SECRET",
14450
14451
  "ZTC_NAVIGATOR_GROUP",
@@ -44833,7 +44834,7 @@ var invokeSkillTool = makeInvokeSkillTool(resolveAmbientSkills);
44833
44834
  // src/zlm.ts
44834
44835
  var ZLM_EMBED_API_VERSION = "zerglang.ztc-embed/1";
44835
44836
  var ZLM_STDIO_PROTOCOL = "zerglang.ztc-host/1";
44836
- var ZLM_ZTC_VERSION = true ? "0.17.0-beta.1" : "development";
44837
+ var ZLM_ZTC_VERSION = true ? "0.18.0-beta.1" : "development";
44837
44838
  var ZLM_MAX_HOST_TOOLS = 64;
44838
44839
  var ZLM_MAX_SYSTEM_PROMPT_BYTES = 128 * 1024;
44839
44840
  var ZLM_HOST_APPROVAL_CAPABILITIES = Object.freeze([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zergai/ztc",
3
- "version": "0.17.0-beta.1",
3
+ "version": "0.18.0-beta.1",
4
4
  "description": "Zerg Terminal Client - CLI agent for continual AI systems",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "homepage": "https://zergai.com/docs/ztc",
@@ -278,55 +278,20 @@
278
278
  "zergRelease": {
279
279
  "branch": "main",
280
280
  "channel": "next",
281
- "sourceCommit": "bc68c439703355c11769f2a693bd35368ab89bb1",
281
+ "sourceCommit": "3c46d0646d920fb6388fee3b214ce346983dc5f6",
282
282
  "sourceVersion": "0.2.0-canary.2",
283
283
  "whatsNew": [
284
- "Terminal panes in the desktop app draw in JetBrains Mono with real bold and italic, and braille, Powerline and icons draw instead of boxes.",
285
- "Shift+Enter starts a new line in Claude Code and Codex, and terminal panes gain search, Cmd-click links, file drops and terminal selection.",
286
- "Keys reach a terminal program in a fraction of a millisecond, even as its pane floods with output, and closing a pane closes its terminal.",
287
- "What you queue with Tab, or type during an account change, is still yours when it runs, and an account change no longer freezes ZTC."
284
+ "After Zerg Router refuses a request, typing that reaches a ZTC pane or colony cell no longer uses your one real attempt.",
285
+ "When the browser mirror requires sign-in, programs in a pane no longer get a credential that speaks to ZTC as you.",
286
+ "A ZTC pane opened with a task picks up its session again when it restarts, instead of starting over with its task.",
287
+ "A Claude Code or Codex pane you open after a /sim run reaches your workspace again."
288
288
  ],
289
289
  "changes": [
290
- "What you queue is still yours when it runs.",
291
- "ZTC no longer freezes when an error clears during an account change.",
292
- "The desktop app's Send now runs a queued command; it no longer gives it to the model.",
293
- "The desktop app's Send now waits for an account or model change.",
294
- "A line typed during an account or model change can be edited, removed and sent from the queue.",
295
- "The terminal's queue editor keeps a queued image that has no text.",
296
- "Saving settings never leaves config.json half written.",
297
- "Panes an agent opens follow your settings.",
298
- "Narrowing a desktop terminal pane no longer takes memory out of all proportion to what it keeps.",
299
- "A font size in ZTerm's settings file is read into the range zoom allows, 9 to 28 points.",
300
- "Closing a desktop terminal pane closes its terminal.",
301
- "Shift+Enter and Option+Enter start a new line in Claude Code and Codex in the desktop app.",
302
- "Left Option is Alt and right Option types characters in terminal panes.",
303
- "Scrollback keys in terminal panes.",
304
- "Input methods compose at the cursor, and dropped files paste their paths.",
305
- "Selecting in terminal panes works as it does in a terminal.",
306
- "Search in terminal panes lights each match and moves between them.",
307
- "Search in terminal panes holds up over wide characters that line editing or a resize cut short or moved.",
308
- "Cmd-click opens links in terminal panes.",
309
- "Pastes of any length reach the program.",
310
- "A pane that rings or notifies wears a badge until you look at it.",
311
- "Programs can copy to the clipboard and ask the terminal about itself.",
312
- "A new split opens where the focused pane is working",
313
- "Claude Code panes in the desktop app redraw without tearing",
314
- "Every underline style is drawn in terminal panes.",
315
- "Programs can set the colours their pane draws in.",
316
- "A cursor a program asks to blink blinks.",
317
- "A scrolled-back terminal pane shows the lines it is scrolled to.",
318
- "Bold, dim and the cursor are drawn as the program asks in terminal panes.",
319
- "\"process exited\" never covers a pane's output.",
320
- "Escape ends a search, so no terminal pane keeps its matches lit.",
321
- "Cmd-C copies exactly the text you selected",
322
- "The mouse wheel and trackpad scroll vim, less, htop and similar programs one line per row of movement",
323
- "Programs get answers to their queries at once.",
324
- "A pane resized so narrow that it splits a wide character keeps showing its cursor.",
325
- "Braille, sextants, Nerd Font icons, Powerline separators and Claude Code's and Codex's symbols draw instead of empty boxes",
326
- "ZTC's own panes draw what ZTC sends them.",
327
- "Selecting in ZTC's own panes takes whole characters.",
328
- "A window title a program sets is kept as printable text.",
329
- "Pasting control characters into a program without bracketed paste asks first."
290
+ "After Zerg Router refuses a request, typing that reaches a ZTC pane or a colony cell no longer uses your one real attempt.",
291
+ "A ZTC pane opened with a task picks up its session again when it restarts.",
292
+ "Panes rejoin the mirror after /mirror stop and /mirror start on the same port.",
293
+ "A Claude Code or Codex pane you open after a /sim run can reach your workspace.",
294
+ "When the browser mirror requires sign-in, ZTC no longer gives a program in a pane a credential that speaks to ZTC as you or as another pane."
330
295
  ]
331
296
  },
332
297
  "publishConfig": {