runpane 2.4.255 → 2.4.257

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.
@@ -2338,12 +2338,12 @@ const CONTRACT_SECTION_11 = [
2338
2338
  },
2339
2339
  {
2340
2340
  "name": "links create",
2341
- "summary": "Build a pane:// link that opens a Pane, panel, repository, or Session, or that starts an agent on a prompt once the person confirms.",
2341
+ "summary": "Build a pane:// link that opens a Pane, panel, repository, or Session, or a start link that starts an agent on a prompt once the person confirms.",
2342
2342
  "usage": [
2343
2343
  "runpane links create --pane <pane-id> [--panel <panel-id>] [--json]",
2344
2344
  "runpane links create --repo <repo-id> [--json]",
2345
2345
  "runpane links create --session <session-id> [--json]",
2346
- "runpane links create --repo <repo> --prompt <task> [--agent <codex|claude|cursor|opencode|pi>] [--json]"
2346
+ "runpane links create --prompt <task> [--agent <codex|claude|cursor|opencode|pi>] [--repo <repo> | --session <id|name>] [--web] [--json]"
2347
2347
  ],
2348
2348
  "toolsets": [
2349
2349
  "core",
@@ -4284,6 +4284,10 @@ const CONTRACT_SECTION_12 = {
4284
4284
  {
4285
4285
  "name": "--remind-me",
4286
4286
  "description": "todos snooze only: at the time, raise a reminder card for the person instead of waking its agents."
4287
+ },
4288
+ {
4289
+ "name": "--web",
4290
+ "description": "runpane links create: print a start link in its https://runpane.com/open form, for web pages."
4287
4291
  }
4288
4292
  ]
4289
4293
  };
@@ -5602,17 +5606,18 @@ const CONTRACT_SECTION_13 = {
5602
5606
  " runpane links create --pane <pane-id> [--panel <panel-id>] [--json]",
5603
5607
  " runpane links create --repo <repo-id> [--json]",
5604
5608
  " runpane links create --session <session-id> [--json]",
5605
- " runpane links create --repo <repo> --prompt <task> [--agent <codex|claude|cursor|opencode|pi>] [--json]",
5609
+ " runpane links create --prompt <task> [--agent <codex|claude|cursor|opencode|pi>] [--repo <repo> | --session <id|name>] [--web] [--json]",
5606
5610
  "",
5607
- "Build a pane:// link that opens a Pane, panel, repository, or Session, or that starts an agent on a prompt once the person confirms.",
5611
+ "Build a pane:// link that opens a Pane, panel, repository, or Session, or a start link that starts an agent on a prompt once the person confirms.",
5608
5612
  "",
5609
5613
  "Options:",
5610
5614
  " --pane <pane-id> Pane to open.",
5611
5615
  " --panel <panel-id> Panel inside the Pane to select.",
5612
5616
  " --repo <repo-id> Repository id from repos list; with --prompt, also a saved name or owner/repo.",
5617
+ " --session <session-id> Session id from sessions list; with --prompt, also a Session name.",
5613
5618
  " --prompt <task> Start link: the prompt Pane shows, then sends once the person presses Start.",
5614
- " --agent <agent> Start link: the agent to start (default: Pane's default agent).",
5615
- " --session <session-id> Session id or name from sessions list.",
5619
+ " --agent <agent> Start link: the agent to start (default: the person's default agent).",
5620
+ " --web Start link: print the https://runpane.com/open form, for web pages.",
5616
5621
  " --json Print machine-readable output."
5617
5622
  ],
5618
5623
  "links open": [
@@ -5745,7 +5750,7 @@ const CONTRACT_SECTION_13 = {
5745
5750
  " runpane notify --update <id|Q-n> [--asked <text>] --what-changed <text> [--title <text>] [--context <text>] [--choices <json>] [--questions <json>] [--links <json>] [--json] [--pane-dir <path>]",
5746
5751
  " runpane notify --resume <id> [--json] [--pane-dir <path>]",
5747
5752
  "",
5748
- "Asks the person a question, or tells them something, on screen wherever they are, and",
5753
+ "Asks the person a question, or tells them something, in Pane, and",
5749
5754
  "prints their answer. The call waits until they answer; --ui info returns at once.",
5750
5755
  "Inside a Pane terminal the question names its Pane from PANE_SESSION_ID and PANE_PANEL_ID.",
5751
5756
  "When Pane is not running it prints an unavailable result: ask in the terminal instead.",
@@ -8450,17 +8455,18 @@ const CONTRACT_SECTION_13 = {
8450
8455
  " runpane links create --pane <pane-id> [--panel <panel-id>] [--json]",
8451
8456
  " runpane links create --repo <repo-id> [--json]",
8452
8457
  " runpane links create --session <session-id> [--json]",
8453
- " runpane links create --repo <repo> --prompt <task> [--agent <codex|claude|cursor|opencode|pi>] [--json]",
8458
+ " runpane links create --prompt <task> [--agent <codex|claude|cursor|opencode|pi>] [--repo <repo> | --session <id|name>] [--web] [--json]",
8454
8459
  "",
8455
- "Build a pane:// link that opens a Pane, panel, repository, or Session, or that starts an agent on a prompt once the person confirms.",
8460
+ "Build a pane:// link that opens a Pane, panel, repository, or Session, or a start link that starts an agent on a prompt once the person confirms.",
8456
8461
  "",
8457
8462
  "Options:",
8458
8463
  " --pane <pane-id> Pane to open.",
8459
8464
  " --panel <panel-id> Panel inside the Pane to select.",
8460
8465
  " --repo <repo-id> Repository id from repos list; with --prompt, also a saved name or owner/repo.",
8466
+ " --session <session-id> Session id from sessions list; with --prompt, also a Session name.",
8461
8467
  " --prompt <task> Start link: the prompt Pane shows, then sends once the person presses Start.",
8462
- " --agent <agent> Start link: the agent to start (default: Pane's default agent).",
8463
- " --session <session-id> Session id or name from sessions list.",
8468
+ " --agent <agent> Start link: the agent to start (default: the person's default agent).",
8469
+ " --web Start link: print the https://runpane.com/open form, for web pages.",
8464
8470
  " --json Print machine-readable output."
8465
8471
  ],
8466
8472
  "links open": [
@@ -8560,7 +8566,7 @@ const CONTRACT_SECTION_13 = {
8560
8566
  " runpane notify --update <id|Q-n> [--asked <text>] --what-changed <text> [--title <text>] [--context <text>] [--choices <json>] [--questions <json>] [--links <json>] [--json] [--pane-dir <path>]",
8561
8567
  " runpane notify --resume <id> [--json] [--pane-dir <path>]",
8562
8568
  "",
8563
- "Asks the person a question, or tells them something, on screen wherever they are, and",
8569
+ "Asks the person a question, or tells them something, in Pane, and",
8564
8570
  "prints their answer. The call waits until they answer; --ui info returns at once.",
8565
8571
  "Inside a Pane terminal the question names its Pane from PANE_SESSION_ID and PANE_PANEL_ID.",
8566
8572
  "When Pane is not running it prints an unavailable result: ask in the terminal instead.",
@@ -9988,7 +9994,7 @@ const CONTRACT_SECTION_14 = {
9988
9994
  "When running from WSL while Pane is installed on Windows, a Linux-installed runpane cannot reach Pane: it looks for a missing `/tmp/pane-daemon.../daemon.sock`. Pane's own `runpane` (on PATH in Pane's WSL terminals, or `/mnt/c/Users/<you>/.pane/bin/runpane` from any WSL shell) runs the Windows CLI through WSL interop and converts path arguments. With a Pane build older than that shim, invoke the Windows wrapper through PowerShell from a Windows cwd, for example `powershell.exe -NoProfile -Command 'Set-Location $env:TEMP; runpane repos list --json'`.",
9989
9995
  "`runpane watch` waits for agent, Pane, panel, and PR events from the daemon journal without polling. `--follow` keeps watching with defaults tuned for an agent watching unattended (quiet, batched, and it ends itself after 3 hours with nothing happening); individual duration flags override these defaults. Cadence requires a named follow consumer; `--follow --since <generation>` has no consumer name and bypasses settling and batching. `--until-event` waits for one event worth waking for, prints it immediately without follow settling or batching, and exits 0. The defaults are listed in the contract under defaults.watch.",
9990
9996
  "A watch releases its pending slot when its client socket or named pipe disconnects. Re-arming the same named cursor takes over the previous request; the superseded watcher exits with a WATCH ERROR instead of competing for the cursor. Anonymous concurrent watchers retain the eight-wait limit. Each request also has a 125-second lease (slightly longer than the maximum 120-second long poll), so an abandoned request is reclaimed even if no disconnect arrives.",
9991
- "The desktop app treats one consumer name specially: while a `runpane watch --as dictate` request is in flight, and for 30 seconds after the last one ends, Pane skips its own \"needs your input\" and \"finished\" desktop notifications, because [Dictate](https://github.com/parsakhaz/open-dictate) shows those events on its pill. When that watcher stops, Pane's notifications come back. The CLI's flags and output are unchanged.",
9997
+ "The desktop app treats one consumer name specially: while a `runpane watch --as dictate` request is in flight, and for 30 seconds after the last one ends, Pane skips its own \"needs your input\" and \"finished\" desktop notifications, because [Dictate](https://github.com/parsakhaz/open-dictate) shows those events on its pill. A Claude prompt or chat-tab question in one of this computer's tabs shows there as that tab needing input, so Pane sends no approval notification for it; every other approval still notifies from Pane. When that watcher stops, Pane's notifications come back. The CLI's flags and output are unchanged.",
9992
9998
  "`sessions list` list durable named orchestration Sessions.",
9993
9999
  "`sessions create` create a durable named orchestration Session and its hidden terminal owner.",
9994
10000
  "`sessions get` read one durable named orchestration Session.",
@@ -10004,7 +10010,7 @@ const CONTRACT_SECTION_14 = {
10004
10010
  "`runpane todos create|update|attach|detach|show|list|assign|ask|comment|review|done|drop|archive|start|stop` manage to-dos, the person's list of agent work: each started to-do gets its own Session and orchestrator, and Pane keeps it moving until it is done. Each call records the caller's tab ($PANE_PANEL_ID). Attach plans, mock-ups, designs, PRs, findings and decisions as soon as they exist; ask the requester first with `todos ask`; replies are summaries of at most 2,000 characters; `todos review` needs attachments or `--no-attachments`; an agent marks a top-level to-do done only after the person's Accept or with `--person-said`. `--todo <T-n>` on `notify`, `report` and `agents start` links that card, report or agent to a to-do.",
10005
10011
  "`runpane agents start|status|send` finish the three common agent jobs in one call each: start an agent on a task (a new tab in the work's Pane with `--pane <id>`, or a new Pane for new work), check on it, and send it a follow-up.",
10006
10012
  "`runpane report --state ready|blocked|failed|done` is how a worker hands back its result. It stores the latest report on the worker's panel (state, `--pr`, `--head`, up to 16,000 characters of `--summary` or `--summary-file`, and the `--question` a blocked worker needs answered, with its buttons as `--choices` or `--questions` in notify's JSON), journals an opt-in `agent.report` watch event (`REPORT <pane-name> pane <pane-id> panel <panel-id> ready pr#747 fc5dce9`; it skips the `--min-interval` batch), records it as Session activity, and shows it in `agents status`, `panels list`, and `sessions overview` (each panel's own report as `panes[].panels[].report`, with a JSON object summary as `data`, and the Pane's newest as `panes[].report`). Inside a Pane terminal the panel comes from `PANE_SESSION_ID` and `PANE_PANEL_ID`; elsewhere pass `--pane` and `--panel`. It prints how many watches were waiting for the report and received it (`Delivered to 1 waiting watcher.`, `liveWatchers` in JSON). Zero means nobody was waiting right now, not that the report is lost: it stays on the panel, and a named-cursor watch receives it when it next waits.",
10007
- "`runpane notify` asks the person a question, or tells them something, on screen wherever they are, and prints their answer: `--ui options` with 1 to 9 `--choices` returns `{answer, note?}` (the chosen label), or with 2 to 4 `--questions` (`[{title, choices}]`) one pick each, as `{answer, answers}`, `--ui approve` returns `{approved, note?}`, `--ui ask` returns `{answer}`, and `--ui info` returns `{delivered: \"screen\"|\"inbox\"}` at once. Any ui takes up to 6 `--links` (`{label, path}`, `{label, url}` or `{label, approval}` for another approval), shown as chips on the card. When the person types a reply it returns `{reply, picks?, id, next}` (or, with no open call, types a `reply:` line into the asking tab), and Pane records the reply as the answer once it is delivered. If the reply asks something instead, `--took <id|Q-n> question [--status <text>]` reopens the approval and shows that the agent is getting more context (`--took <id|Q-n> answer` confirms it, and changes nothing), and `runpane notify --update <id|Q-n> [--asked <text>] --what-changed <text>` with any changed `--title`, `--context`, `--choices`, `--questions` or `--links` saves a new version and waits on it. `--took` prints `{took, id, next?}`. Only the reply's reader (the asker, the orchestrator that relayed it, or Autopilot) may run them. The call waits with no time limit. A `{waiting: true, id, next}` result means the wait should continue with `runpane notify --resume <id>`; `runpane mcp` asks for it only for clients whose tool calls time out. When Pane is not running or Notify is off it prints `{unavailable, next}` and exits 0, so the agent asks in its terminal. Invalid input fails before anything is shown, with a message naming the field. A Session orchestrator adds `--relays <item>` (an id from `runpane inbox`) to relay a worker's question: the same card gains the choices, context and links, the call waits on it as usual, and the answer also goes straight to the worker's tab. Autopilot's own item takes `--about-session <id|name>`, the Session it is about. It needs no `--yes`: asking the person is the point.",
10013
+ "`runpane notify` asks the person a question, or tells them something, in Pane, and prints their answer: `--ui options` with 1 to 9 `--choices` returns `{answer, note?}` (the chosen label), or with 2 to 4 `--questions` (`[{title, choices}]`) one pick each, as `{answer, answers}`, `--ui approve` returns `{approved, note?}`, `--ui ask` returns `{answer}`, and `--ui info` returns `{delivered: \"screen\"|\"inbox\"}` at once. Any ui takes up to 6 `--links` (`{label, path}`, `{label, url}` or `{label, approval}` for another approval), shown as chips on the card. When the person types a reply it returns `{reply, picks?, id, next}` (or, with no open call, types a `reply:` line into the asking tab), and Pane records the reply as the answer once it is delivered. If the reply asks something instead, `--took <id|Q-n> question [--status <text>]` reopens the approval and shows that the agent is getting more context (`--took <id|Q-n> answer` confirms it, and changes nothing), and `runpane notify --update <id|Q-n> [--asked <text>] --what-changed <text>` with any changed `--title`, `--context`, `--choices`, `--questions` or `--links` saves a new version and waits on it. `--took` prints `{took, id, next?}`. Only the reply's reader (the asker, the orchestrator that relayed it, or Autopilot) may run them. The call waits with no time limit. A `{waiting: true, id, next}` result means the wait should continue with `runpane notify --resume <id>`; `runpane mcp` asks for it only for clients whose tool calls time out. When Pane is not running or Notify is off it prints `{unavailable, next}` and exits 0, so the agent asks in its terminal. Invalid input fails before anything is shown, with a message naming the field. A Session orchestrator adds `--relays <item>` (an id from `runpane inbox`) to relay a worker's question: the same card gains the choices, context and links, the call waits on it as usual, and the answer also goes straight to the worker's tab. Autopilot's own item takes `--about-session <id|name>`, the Session it is about. It needs no `--yes`: asking the person is the point.",
10008
10014
  "Work sent to an agent through `runpane panels create`, `panes create` (with a prompt), or `panels submit` records that the sender waits for a `runpane report`, unless the request says `--source user` (Pane's own UI does) or `--no-expect-report`; `--expect-report` asks for one anyway. Typing into a tab never does. If the agent then goes ready or its panel exits without a report, Pane journals one opt-in `agent.report.missing` entry (`MISSING REPORT <pane-name> pane <pane-id> panel <panel-id> ready|exited`) whose `lastOutput` is the agent's last transcript reply or last screen lines; it skips the `--min-interval` batch and reaches only watchers that list it in `--kinds`. While the agent's screen shows background work (Claude's `· 1 shell` footer or a running background subagent row, Codex's `background terminal running` line), Pane waits and looks again every 10 seconds instead. `agent.blocked` entries carry `screenLines`, the prompt the agent waits on, and are journalled once a panel has stayed blocked for 2 seconds.",
10009
10015
  "The orchestrator guide prescribes submit without `--wait`, followed by its named watch; use one completion consumer. As an optional CLI route, `--wait` on `runpane panels submit`, `panels create`, and `panes create` turns the expected report on and blocks on that panel until the first `agent.report`, `agent.report.missing`, `agent.blocked`, `panel.exited`, or `pane.gone`, then prints one line of JSON (`dispatchWaitResult`): the outcome, ids, the report's state, summary, `summaryPath`, PR and head, `screenLines` for a prompt, or `lastOutput` for a missing report, never the transcript. It exits 0 for a report, 3 missing, 4 blocked, 5 exited or gone, and 124 when `--timeout <duration>` passes. It follows the journal from the position the daemon took before delivering the work, so nothing that happens right after delivery is missed. It reuses watch --until-event and returns indeterminate (exit 6) if the journal epoch changes or retained history is lost; inspect the panel and inbox before retrying. Report-expected dispatches are serialized per panel and refused before writing while a result or missing-output collection is outstanding. A send with --no-expect-report is a reply (an answer, or an addition to the current work): it is delivered while a report is outstanding and leaves that expectation in place. Then watch for the original result.",
10010
10016
  "`runpane inbox [--session <id|name>] [--json]` lists what a Session's orchestrator has not acknowledged: reports, missing reports, and on-screen questions (a question clears itself once its panel moves on), plus `answers`, what its workers were told, kept 7 days; an answer with no `decision` still needs its D-n. `runpane inbox ack <item-id>...` or `--all --session <id|name>` clears items, and `runpane inbox ack <item-id>... --decision <D-n>` records the D-n, even on an item already cleared. An orchestrator runs it when it starts or resumes, to catch anything that finished while it was down; Pane never injects the inbox into its turns.",
@@ -18171,11 +18177,16 @@ const CONTRACT_SECTION_16 = {
18171
18177
  "url": {
18172
18178
  "type": "string"
18173
18179
  },
18180
+ "webUrl": {
18181
+ "type": "string"
18182
+ },
18183
+ "html": {
18184
+ "type": "string"
18185
+ },
18174
18186
  "target": {
18175
18187
  "type": "object",
18176
18188
  "required": [
18177
- "kind",
18178
- "id"
18189
+ "kind"
18179
18190
  ],
18180
18191
  "properties": {
18181
18192
  "kind": {
@@ -18192,10 +18203,16 @@ const CONTRACT_SECTION_16 = {
18192
18203
  "panelId": {
18193
18204
  "type": "string"
18194
18205
  },
18195
- "prompt": {
18206
+ "agent": {
18196
18207
  "type": "string"
18197
18208
  },
18198
- "agent": {
18209
+ "repo": {
18210
+ "type": "string"
18211
+ },
18212
+ "session": {
18213
+ "type": "string"
18214
+ },
18215
+ "prompt": {
18199
18216
  "type": "string"
18200
18217
  }
18201
18218
  },
@@ -27375,8 +27392,8 @@ const CONTRACT_SECTION_17 = {
27375
27392
  },
27376
27393
  "links create": {
27377
27394
  "name": "links create",
27378
- "summary": "Build a pane:// link that opens a Pane, panel, repository, or Session, or that starts an agent on a prompt once the person confirms.",
27379
- "details": "Use this to hand the user a clickable link. It only builds the URL. An open link navigates and never changes Pane state; a start link (--prompt) shows the repository, agent and whole prompt in Pane, and creates a Pane only when the person presses Start.",
27395
+ "summary": "Build a pane:// link that opens a Pane, panel, repository, or Session, or a start link that starts an agent on a prompt once the person confirms.",
27396
+ "details": "Use this to hand the user a clickable link. It only builds the URL. An open link navigates and never changes Pane state; a start link (--prompt) shows the prompt, the agent and where it runs in Pane, and starts work only when the person presses Start.",
27380
27397
  "requiresPaneDaemon": false,
27381
27398
  "mutates": false,
27382
27399
  "arguments": [
@@ -27398,6 +27415,12 @@ const CONTRACT_SECTION_17 = {
27398
27415
  "required": false,
27399
27416
  "description": "Repository id from repos list; with --prompt, also a saved name or owner/repo."
27400
27417
  },
27418
+ {
27419
+ "name": "--session",
27420
+ "value": "<session-id>",
27421
+ "required": false,
27422
+ "description": "Session id from sessions list; with --prompt, also a Session name."
27423
+ },
27401
27424
  {
27402
27425
  "name": "--prompt",
27403
27426
  "value": "<task>",
@@ -27408,13 +27431,12 @@ const CONTRACT_SECTION_17 = {
27408
27431
  "name": "--agent",
27409
27432
  "value": "<agent>",
27410
27433
  "required": false,
27411
- "description": "Start link: the agent to start (default: Pane's default agent)."
27434
+ "description": "Start link: the agent to start (default: the person's default agent)."
27412
27435
  },
27413
27436
  {
27414
- "name": "--session",
27415
- "value": "<session-id>",
27437
+ "name": "--web",
27416
27438
  "required": false,
27417
- "description": "Session id or name from sessions list."
27439
+ "description": "Start link: print the https://runpane.com/open form, for web pages."
27418
27440
  },
27419
27441
  {
27420
27442
  "name": "--json",
@@ -27424,14 +27446,16 @@ const CONTRACT_SECTION_17 = {
27424
27446
  ],
27425
27447
  "examples": [
27426
27448
  "runpane links create --pane <pane-id> --json",
27427
- "runpane links create --repo owner/repo --prompt \"Fix the failing test\" --agent codex --json"
27449
+ "runpane links create --prompt \"Fix the failing test\" --agent codex --repo owner/repo --json",
27450
+ "runpane links create --prompt \"Summarize this repository\" --agent claude --web"
27428
27451
  ],
27429
27452
  "jsonSchemas": [
27430
27453
  "linkCreateResult"
27431
27454
  ],
27432
27455
  "notes": [
27433
27456
  "Links look like `pane://open?pane=<pane-id>&panel=<panel-id>`. Give exactly one of --pane, --repo, or --session.",
27434
- "Start links look like `pane://new?repo=<repo>&prompt=<text>&agent=<id>`: --repo (id, saved name, or owner/repo matched against each saved repository's origin remote) and --prompt (at most 4000 characters, no control characters but tab and newline). Pane never runs one on its own."
27457
+ "Start links look like `pane://new?agent=<id>&repo=<repo>&prompt=<text>`. Without --repo or --session the agent starts in a new Session; --repo (id, saved name, or owner/repo matched against each saved repository's origin remote) starts it in a new Pane; --session sends the prompt to that Session's agent. The prompt is at most 4000 characters, with no control or invisible characters but tab and newline. Pane never runs a start link on its own.",
27458
+ "With --web the link is `https://runpane.com/open?...`, which opens Pane or offers its download, and must be at most 2,048 characters. --json adds `webUrl` and `html`, a one-line Open in Pane button. See docs/OPEN_IN_PANE_LINKS.md."
27435
27459
  ]
27436
27460
  },
27437
27461
  "links open": {
@@ -29352,7 +29376,7 @@ const CONTRACT_SECTION_17 = {
29352
29376
  "notify": {
29353
29377
  "name": "notify",
29354
29378
  "summary": "Ask the person a question, or tell them something, wherever they are, and get their answer back.",
29355
- "details": "Asks the person through Pane: to pick between options (ui options), to approve or deny an action (ui approve), to type a short answer (ui ask), or tells them something that needs no answer (ui info). Pane shows it on screen even while the person works in another app, and the call waits until they answer, however long that takes. info returns at once.",
29379
+ "details": "Asks the person through Pane: to pick between options (ui options), to approve or deny an action (ui approve), to type a short answer (ui ask), or tells them something that needs no answer (ui info). A question waits in Approvals and the person is told wherever they work (a system notification, or a card over other apps if they turned that on); an update pops up only where a card can show, and otherwise waits in the list (delivered: inbox). The call waits until they answer, however long that takes. info returns at once.",
29356
29380
  "requiresPaneDaemon": true,
29357
29381
  "mutates": true,
29358
29382
  "arguments": [