@zergai/ztc 0.16.2-dev.202611091056 → 0.17.1-dev.202611092212

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
@@ -1432,6 +1432,37 @@ Codex pane is typed into it as `[Message from ben (pane 2)] …` (a question als
1432
1432
  says how to answer), and the answer comes back as a message from that pane.
1433
1433
  Broadcasts to `all` reach ZTC agents only.
1434
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
+
1435
1466
  #### Sign-in profiles of ZTC's own
1436
1467
 
1437
1468
  `/claude @work …` and `/codex @work …` open the pane on a ZTC profile named