@volter/supercode-terminal 0.2.66 → 0.2.67

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volter/supercode-terminal",
3
- "version": "0.2.66",
3
+ "version": "0.2.67",
4
4
  "type": "module",
5
5
  "description": "Optional leak-safe terminal and tmux host adapter for Volter Harness frontends",
6
6
  "exports": {
package/substrate/tmux.js CHANGED
@@ -63,7 +63,7 @@ export async function createSession({ command, cwd, env, name, owner, ownerOptio
63
63
  // it. When an agent's session started the server (or is the launcher), that includes the session's own harness
64
64
  // identity, so a new pane would resolve as that session. A pane's identity is only what its own session sets:
65
65
  // every identity variable the server or the launcher holds and the session does not set is unset in the pane.
66
- const identity = /^(CLAUDECODE|CLAUDE_CODE_SESSION_ID|CLAUDE_CODE_ENTRYPOINT|CODEX_THREAD_ID|CODEX_SESSION_ID|SUPERCODE_CALLER|SUPERCODE_CALLER_NAME|SUPERCODE_AGENT_[A-Z_]+)$/;
66
+ const identity = /^(CLAUDECODE|CLAUDE_CODE_SESSION_ID|CLAUDE_CODE_ENTRYPOINT|CODEX_THREAD_ID|CODEX_SESSION_ID|SUPERCODE_CALLER|SUPERCODE_CALLER_NAME|SUPERCODE_LAUNCHED_BY|SUPERCODE_AGENT_[A-Z_]+)$/;
67
67
  const serverNames = await runAsync("tmux", tmuxArgs(socket, ["show-environment", "-g"]))
68
68
  .then((out) => out.split("\n").map((line) => /^([A-Za-z_][A-Za-z0-9_]*)=/.exec(line)?.[1]).filter((name) => Boolean(name)))
69
69
  .catch(() => []); // no server yet: the one this creates starts from this launcher's environment