@lucascouts/claude-agent-tui 0.14.5 → 0.14.7

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/dist/acp-agent.js CHANGED
@@ -491,13 +491,17 @@ const REPLAY_HIDDEN_COMMANDS = new Set([
491
491
  // their output as user messages in the session transcript, wrapping the
492
492
  // payload in these XML-like markers that the CLI uses for its own display.
493
493
  // The live prompt loop drops them; replay must strip them too or they leak
494
- // into the UI on session/load.
494
+ // into the UI on session/load. A `task-notification` is the CLI telling the
495
+ // model a background task stopped -- live it is never shown either -- and is
496
+ // stripped the same way, keeping any text typed beside it (upstream #1205's
497
+ // replay half).
495
498
  const LOCAL_COMMAND_MARKERS = [
496
499
  "command-name",
497
500
  "command-message",
498
501
  "command-args",
499
502
  "local-command-stdout",
500
503
  "local-command-stderr",
504
+ "task-notification",
501
505
  ].map((tag) => ({ open: `<${tag}>`, close: `</${tag}>` }));
502
506
  // Single-pass scanner that removes each `<tag>…</tag>` marker (matching the nearest
503
507
  // closing tag of the same name, like a lazy regex would) in O(n) — no polynomial
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.14.5",
6
+ "version": "0.14.7",
7
7
  "description": "Run the official Claude Code TUI in Zed's agent panel on your Claude Pro/Max subscription — an ACP-over-PTY bridge created for Anthropic's billing split (paused June 15; see README).",
8
8
  "main": "dist/lib.js",
9
9
  "types": "dist/lib.d.ts",