runpane 2.4.133 → 2.4.135

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.
@@ -317,7 +317,7 @@ exports.RUNPANE_CONTRACT = {
317
317
  "name": "panes adopt",
318
318
  "summary": "Adopt an existing externally managed git worktree as a Pane without changing the worktree.",
319
319
  "usage": [
320
- "runpane panes adopt --repo <selector> --path <dir> --name <name> --agent <codex|claude|cursor> [--resume <id>] [--folder <name>] [--launch] [--no-pinned] [--dry-run] [--yes] [--json]"
320
+ "runpane panes adopt --repo <selector> --path <dir> --name <name> --agent <codex|claude|cursor> [--resume <id>] [--folder <name>] [--launch] [--no-pinned] [--no-associate] [--dry-run] [--yes] [--json]"
321
321
  ],
322
322
  "mutates": true,
323
323
  "additive": true,
@@ -1458,6 +1458,10 @@ exports.RUNPANE_CONTRACT = {
1458
1458
  "name": "--no-pinned",
1459
1459
  "description": "Create the pane unpinned instead of the default pinned (the UI's favorite/pin star)."
1460
1460
  },
1461
+ {
1462
+ "name": "--no-associate",
1463
+ "description": "Inside a Session orchestrator, do not associate the created pane with that Session."
1464
+ },
1461
1465
  {
1462
1466
  "name": "--force",
1463
1467
  "description": "Archive even if the pane's branch has uncommitted, untracked, or unpushed changes."
@@ -1839,6 +1843,7 @@ exports.RUNPANE_CONTRACT = {
1839
1843
  " --focus Explicitly focus the created pane",
1840
1844
  " --pinned Accepted for compatibility; creation already pins by default",
1841
1845
  " --no-pinned Create unpinned instead of the default pinned (the UI's favorite/pin star)",
1846
+ " --no-associate Inside a Session orchestrator, do not associate the new pane with that Session",
1842
1847
  " --pane-dir <path> Connect to a specific Pane data directory",
1843
1848
  " --json Print machine-readable output",
1844
1849
  " --dry-run Validate and preview without creating panes",
@@ -1850,7 +1855,7 @@ exports.RUNPANE_CONTRACT = {
1850
1855
  "",
1851
1856
  "Adopts an existing externally managed git worktree without creating, syncing, or deleting it.",
1852
1857
  "",
1853
- "Options: --resume <id> stages the agent resume command; --launch runs it immediately; --folder <name> groups the pane; --no-pinned opts out of pinning; --dry-run previews."
1858
+ "Options: --resume <id> stages the agent resume command; --launch runs it immediately; --folder <name> groups the pane; --no-pinned opts out of pinning; --no-associate skips automatic Session association; --dry-run previews."
1854
1859
  ],
1855
1860
  "panes archive": [
1856
1861
  "Usage:",
@@ -1999,7 +2004,7 @@ exports.RUNPANE_CONTRACT = {
1999
2004
  " runpane mcp [--toolsets <name,...>] [--read-only]",
2000
2005
  "",
2001
2006
  "Runs the Pane MCP server over stdio. Each runpane command with a JSON result becomes a tool that returns the same JSON as `runpane <command> --json`. Commands that need --yes take `yes: true` instead.",
2002
- "Pane registers this server with Claude Code and Codex automatically (Settings > AI & Agents). To register it by hand:",
2007
+ "Pane registers this server with Claude Code, Codex, and Cursor automatically (Settings > AI & Agents). To register it by hand:",
2003
2008
  " claude mcp add --scope user pane -- npx --yes runpane@latest mcp",
2004
2009
  " codex mcp add pane -- npx --yes runpane@latest mcp",
2005
2010
  "",
@@ -2784,6 +2789,7 @@ exports.RUNPANE_CONTRACT = {
2784
2789
  " --focus Explicitly focus the created pane",
2785
2790
  " --pinned Accepted for compatibility; creation already pins by default",
2786
2791
  " --no-pinned Create unpinned instead of the default pinned (the UI's favorite/pin star)",
2792
+ " --no-associate Inside a Session orchestrator, do not associate the new pane with that Session",
2787
2793
  " --pane-dir <path> Connect to a specific Pane data directory",
2788
2794
  " --json Print machine-readable output",
2789
2795
  " --dry-run Validate and preview without creating panes",
@@ -2795,7 +2801,7 @@ exports.RUNPANE_CONTRACT = {
2795
2801
  "",
2796
2802
  "Adopts an existing externally managed git worktree without creating, syncing, or deleting it.",
2797
2803
  "",
2798
- "Options: --resume <id> stages the agent resume command; --launch runs it immediately; --folder <name> groups the pane; --no-pinned opts out of pinning; --dry-run previews."
2804
+ "Options: --resume <id> stages the agent resume command; --launch runs it immediately; --folder <name> groups the pane; --no-pinned opts out of pinning; --no-associate skips automatic Session association; --dry-run previews."
2799
2805
  ],
2800
2806
  "panes archive": [
2801
2807
  "Usage:",
@@ -3484,7 +3490,7 @@ exports.RUNPANE_CONTRACT = {
3484
3490
  "runpane <command> --help"
3485
3491
  ],
3486
3492
  "commandDescriptions": [
3487
- "`runpane` with no arguments and `runpane setup` open an interactive wizard when stdin and stdout are TTYs. In non-interactive shells or CI, both forms must print help, common commands, and agent discovery hints, then exit successfully instead of waiting for input.",
3493
+ "`runpane` with no arguments and `runpane setup` open an interactive wizard when stdin and stdout are TTYs. The remote-host wizard asks only for a name, then runs interactive Tailscale setup with automatic port selection; explicit install daemon flags remain available for SSH and manual URLs. In non-interactive shells or CI, both forms must print help, common commands, and agent discovery hints, then exit successfully instead of waiting for input.",
3488
3494
  "`runpane install` is an alias for `runpane install client`.",
3489
3495
  "`runpane install client` downloads the selected Pane desktop artifact and installs, opens, or launches it for the current platform.",
3490
3496
  "`runpane install daemon` downloads or installs Pane, resolves a stable Pane executable path, and spawns `<pane executable> --remote-setup <forwarded remote setup args>`.",
@@ -3500,7 +3506,7 @@ exports.RUNPANE_CONTRACT = {
3500
3506
  "`runpane repos add` registers an existing git repository with the running local Pane daemon. It does not create directories or initialize git repositories by default.",
3501
3507
  "`runpane panes list` lists Pane sessions, optionally scoped to one saved repository.",
3502
3508
  "`runpane panes cost` reports estimated token costs per Pane for the last 30 days, including per-model breakdowns and cache efficiency; unscoped output includes an Unattributed bucket that reconciles against workspace totals.",
3503
- "`runpane panes create` connects to the running local Pane daemon, resolves the requested saved base repository, creates user-visible Pane sessions backed by Pane-managed worktrees/branches, opens terminal-backed tool tabs, and optionally sends initial input to the started tool. Built-in agent panes and `--source agent` default to background/no-focus unless `--focus` is passed. New Panes are pinned into the UI's favorite/pin set by default; pass `--no-pinned` to opt out. Panes created interactively in the Pane UI are unaffected.",
3509
+ "`runpane panes create` connects to the running local Pane daemon, resolves the requested saved base repository, creates user-visible Pane sessions backed by Pane-managed worktrees/branches, opens terminal-backed tool tabs, and optionally sends initial input to the started tool. Built-in agent panes and `--source agent` default to background/no-focus unless `--focus` is passed. New Panes are pinned into the UI's favorite/pin set by default; pass `--no-pinned` to opt out. Panes created interactively in the Pane UI are unaffected. Inside a Session orchestrator (`PANE_ORCHESTRATION_SESSION_ID` set), new Panes are associated with that Session automatically; `--no-associate` opts out. A failed association is reported on the item and never undoes the Pane.",
3504
3510
  "For `panes create --wait-ready`, `initialInput.verifiedSubmitted: true` is reported only after argument attachment or composer-clear plus activity evidence. Routing input does not by itself verify submission.",
3505
3511
  "`runpane panes archive` refreshes the configured upstream, reports exact unpushed commit evidence, and refuses unsafe archive operations unless `--force` is used. Add `--dry-run` to inspect the same evidence without archiving. Successful archives wait for worktree removal and report `worktreeCleanup`.",
3506
3512
  "`runpane panes rename` trims and updates a Pane's display name without changing its worktree, branch, panels, or focus, and returns the updated pane summary.",
@@ -3732,6 +3738,7 @@ exports.RUNPANE_CONTRACT = {
3732
3738
  "--source",
3733
3739
  "agent",
3734
3740
  "--no-pinned",
3741
+ "--no-associate",
3735
3742
  "--dry-run",
3736
3743
  "--yes",
3737
3744
  "--json"
@@ -4765,6 +4772,10 @@ exports.RUNPANE_CONTRACT = {
4765
4772
  "user",
4766
4773
  "agent"
4767
4774
  ]
4775
+ },
4776
+ "associateSession": {
4777
+ "type": "string",
4778
+ "description": "Session id to associate each created Pane with; the CLI sets it from PANE_ORCHESTRATION_SESSION_ID unless --no-associate."
4768
4779
  }
4769
4780
  },
4770
4781
  "additionalProperties": false
@@ -5044,6 +5055,25 @@ exports.RUNPANE_CONTRACT = {
5044
5055
  }
5045
5056
  },
5046
5057
  "additionalProperties": false
5058
+ },
5059
+ "association": {
5060
+ "type": "object",
5061
+ "required": [
5062
+ "sessionId",
5063
+ "ok"
5064
+ ],
5065
+ "properties": {
5066
+ "sessionId": {
5067
+ "type": "string"
5068
+ },
5069
+ "ok": {
5070
+ "type": "boolean"
5071
+ },
5072
+ "error": {
5073
+ "type": "string"
5074
+ }
5075
+ },
5076
+ "additionalProperties": false
5047
5077
  }
5048
5078
  },
5049
5079
  "additionalProperties": false
@@ -7622,6 +7652,7 @@ exports.RUNPANE_CONTRACT = {
7622
7652
  "--source <user|agent>",
7623
7653
  "--pinned",
7624
7654
  "--no-pinned",
7655
+ "--no-associate",
7625
7656
  "--no-focus",
7626
7657
  "--focus",
7627
7658
  "--wait-ready",
@@ -8068,7 +8099,7 @@ exports.RUNPANE_CONTRACT = {
8068
8099
  "mcp": {
8069
8100
  "name": "mcp",
8070
8101
  "summary": "Run the Pane MCP server over stdio so coding agents can call runpane commands as tools.",
8071
- "details": "Use this to register Pane with an MCP client. Pane registers it with Claude Code and Codex automatically; each tool mirrors one runpane command and returns its --json result.",
8102
+ "details": "Use this to register Pane with an MCP client. Pane registers it with Claude Code, Codex, and Cursor automatically; each tool mirrors one runpane command and returns its --json result.",
8072
8103
  "requiresPaneDaemon": false,
8073
8104
  "mutates": false,
8074
8105
  "arguments": [
@@ -8331,6 +8362,11 @@ exports.RUNPANE_CONTRACT = {
8331
8362
  "required": false,
8332
8363
  "description": "Create the pane unpinned instead of the default pinned (the Pane UI's favorite/pin star). Pinning never implies focus."
8333
8364
  },
8365
+ {
8366
+ "name": "--no-associate",
8367
+ "required": false,
8368
+ "description": "Inside a Session orchestrator, do not associate the created pane with that Session (associated automatically by default)."
8369
+ },
8334
8370
  {
8335
8371
  "name": "--yes",
8336
8372
  "required": false,
@@ -8378,7 +8414,7 @@ exports.RUNPANE_CONTRACT = {
8378
8414
  "`panes create` is for user-visible Pane orchestration, not the agent's default private delegation mechanism.",
8379
8415
  "Register the saved base repository once. Pane creates and owns the worktree/branch for each new Pane.",
8380
8416
  "Use `panels create` instead when a reviewer/helper should share an existing Pane's worktree.",
8381
- "Agent-created Panes should pass `--source agent --no-focus --wait-ready --yes --json` unless the user explicitly wants focus moved. `panes create` pins the new Pane by default, so a follow-up `panes pin` call is unnecessary; pass `--no-pinned` for throwaway shells or bulk imports. `--pinned` is still accepted and is now a no-op.",
8417
+ "Agent-created Panes should pass `--source agent --no-focus --wait-ready --yes --json` unless the user explicitly wants focus moved. `panes create` pins the new Pane by default, so a follow-up `panes pin` call is unnecessary; pass `--no-pinned` for throwaway shells or bulk imports. `--pinned` is still accepted and is now a no-op. Inside a Session orchestrator (`PANE_ORCHESTRATION_SESSION_ID` set), new Panes are associated with that Session automatically; `--no-associate` opts out. A failed association is reported on the item and never undoes the Pane.",
8382
8418
  "The built-in agent templates come from the runpane contract; custom terminal commands can pass agent-specific flags when requested by the user.",
8383
8419
  "Use --initial-input-file for multi-line prompts or shell-sensitive initial input.",
8384
8420
  "With --wait-ready, verifiedSubmitted is earned from delivery evidence; routing initial input alone does not imply verified submission.",
@@ -8445,6 +8481,11 @@ exports.RUNPANE_CONTRACT = {
8445
8481
  "required": false,
8446
8482
  "description": "Do not pin the adopted pane."
8447
8483
  },
8484
+ {
8485
+ "name": "--no-associate",
8486
+ "required": false,
8487
+ "description": "Inside a Session orchestrator, do not associate the adopted pane with that Session (associated automatically by default)."
8488
+ },
8448
8489
  {
8449
8490
  "name": "--dry-run",
8450
8491
  "required": false,
@@ -10474,7 +10515,7 @@ exports.RUNPANE_CONTRACT = {
10474
10515
  "sessions associate": {
10475
10516
  "name": "sessions associate",
10476
10517
  "summary": "Associate a user-visible Pane with a named Session.",
10477
- "details": "Associate a user-visible Pane with a named Session.",
10518
+ "details": "Associate a user-visible Pane with a named Session. `panes create` and `panes adopt` already do this automatically when run inside a Session orchestrator; use this for existing Panes or after `--no-associate`.",
10478
10519
  "requiresPaneDaemon": true,
10479
10520
  "mutates": true,
10480
10521
  "arguments": [],
@@ -10524,7 +10565,7 @@ exports.RUNPANE_CONTRACT = {
10524
10565
  "",
10525
10566
  "CLI: `npm i -g runpane` (or `npx --yes runpane@latest`), then `runpane doctor --json`. Full command reference: `runpane agent-context --json`.",
10526
10567
  "",
10527
- "MCP: packaged Pane registers a stdio server named `pane` with Claude Code and Codex. Check the connection with `claude mcp list` or `codex mcp list`. If tools are missing, add it in the agent's MCP settings: Claude Code `claude mcp add --scope user pane -- npx --yes runpane@latest mcp`; Codex (`~/.codex/config.toml`) table `[mcp_servers.pane]` with `command = \"npx\"` and `args = [\"--yes\", \"runpane@latest\", \"mcp\"]`; any other stdio client uses the same command and args."
10568
+ "MCP: packaged Pane registers a stdio server named `pane` with Claude Code, Codex, and Cursor. Check the connection with `claude mcp list`, `codex mcp list`, or `agent mcp list`. Cursor may ask you to enable `pane` with `agent mcp enable pane`. If tools are missing, add it in the agent's MCP settings: Claude Code `claude mcp add --scope user pane -- npx --yes runpane@latest mcp`; Codex (`~/.codex/config.toml`) table `[mcp_servers.pane]` with `command = \"npx\"` and `args = [\"--yes\", \"runpane@latest\", \"mcp\"]`; Cursor (`~/.cursor/mcp.json`) uses `mcpServers.pane` with the same `npx` command and args; any other stdio client uses them too."
10528
10569
  ]
10529
10570
  }
10530
10571
  };