runpane 2.4.207 → 2.4.208
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 +6 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +5 -5
- package/dist/cli.js.map +1 -1
- package/dist/commands.d.ts +4 -0
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +27 -2
- package/dist/commands.js.map +1 -1
- package/dist/daemonClient.js +1 -1
- package/dist/daemonClient.js.map +1 -1
- package/dist/docs-index.json +1 -1
- package/dist/doctor.d.ts +2 -0
- package/dist/doctor.d.ts.map +1 -1
- package/dist/doctor.js +26 -1
- package/dist/doctor.js.map +1 -1
- package/dist/generated/contract.d.ts +80 -4
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +104 -3
- package/dist/generated/contract.js.map +1 -1
- package/dist/managedCli.d.ts +37 -0
- package/dist/managedCli.d.ts.map +1 -0
- package/dist/managedCli.js +306 -0
- package/dist/managedCli.js.map +1 -0
- package/dist/sessionPayload.d.ts +5 -5
- package/dist/update.d.ts.map +1 -1
- package/dist/update.js +6 -11
- package/dist/update.js.map +1 -1
- package/dist/updateCapacity.d.ts +11 -0
- package/dist/updateCapacity.d.ts.map +1 -1
- package/dist/updateCapacity.js +81 -10
- package/dist/updateCapacity.js.map +1 -1
- package/dist/updateOperation.d.ts +10 -0
- package/dist/updateOperation.d.ts.map +1 -1
- package/dist/updateOperation.js +23 -0
- package/dist/updateOperation.js.map +1 -1
- package/dist/updatePackage.d.ts.map +1 -1
- package/dist/updatePackage.js +2 -1
- package/dist/updatePackage.js.map +1 -1
- package/dist/updatePreflight.d.ts +3 -0
- package/dist/updatePreflight.d.ts.map +1 -1
- package/dist/updatePreflight.js +4 -1
- package/dist/updatePreflight.js.map +1 -1
- package/package.json +1 -1
|
@@ -188,10 +188,11 @@ exports.RUNPANE_CONTRACT = {
|
|
|
188
188
|
},
|
|
189
189
|
{
|
|
190
190
|
"name": "doctor",
|
|
191
|
-
"summary": "Run platform, release, installed Pane, daemon reachability, and remote setup diagnostics.",
|
|
191
|
+
"summary": "Run platform, release, installed Pane, daemon reachability, runpane-on-PATH, and remote setup diagnostics.",
|
|
192
192
|
"openWorld": true,
|
|
193
193
|
"usage": [
|
|
194
194
|
"runpane doctor [--json] [--pane-dir <path>] [--pane-path <path>] [--format <format>] [--verbose]",
|
|
195
|
+
"runpane doctor --fix [--json] [--pane-dir <path>]",
|
|
195
196
|
"runpane doctor --report [--title <text>] --body-file <path|-> [--yes] [--json]"
|
|
196
197
|
],
|
|
197
198
|
"toolsets": [
|
|
@@ -2218,6 +2219,10 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2218
2219
|
"name": "--report",
|
|
2219
2220
|
"description": "Prepare a redacted doctor report; external filing still requires --yes."
|
|
2220
2221
|
},
|
|
2222
|
+
{
|
|
2223
|
+
"name": "--fix",
|
|
2224
|
+
"description": "Update each npm-installed runpane older than the Pane-managed CLI to its version. Never removes a file."
|
|
2225
|
+
},
|
|
2221
2226
|
{
|
|
2222
2227
|
"name": "--read-only",
|
|
2223
2228
|
"description": "Serve only read-only MCP tools."
|
|
@@ -5349,7 +5354,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5349
5354
|
"The wrapper must stream Pane stdout/stderr without reformatting because `pane --remote-setup` prints the one-time `pane-remote://...` connection code.",
|
|
5350
5355
|
"`runpane update` defaults to both app and active supported CLI, with independent supervision, staging, durable status, and explicit restoration outcomes. Prerequisites, status fields/exit codes, draft handling and manual recovery are documented in [Update recovery](UPDATE_RECOVERY.md).",
|
|
5351
5356
|
"`runpane version` prints only wrapper package metadata and does not contact, launch, or focus the Pane app or daemon.",
|
|
5352
|
-
"`runpane doctor` checks platform support, release metadata reachability, download URL selection, installed Pane detection, daemon reachability, and remote-daemon hints. Add `--json` for a machine-readable report that agents should run before mutating Pane state. Installed app version detection must be best-effort and must not launch, focus, or configure Pane; macOS wrappers read app bundle metadata instead of executing `Pane --version`.",
|
|
5357
|
+
"`runpane doctor` checks platform support, release metadata reachability, download URL selection, installed Pane detection, daemon reachability, every `runpane` on `PATH` against the Pane-managed CLI, and remote-daemon hints. `--fix` updates npm installs of `runpane` older than the Pane-managed CLI to its version and never removes a file. Add `--json` for a machine-readable report that agents should run before mutating Pane state. Installed app version detection must be best-effort and must not launch, focus, or configure Pane; macOS wrappers read app bundle metadata instead of executing `Pane --version`.",
|
|
5353
5358
|
"`runpane daemon repair` rewrites and restarts only the managed remote-daemon launcher/service. It never creates pairing credentials, changes tunnels, or downloads Pane; doctor only recommends it and never runs it automatically.",
|
|
5354
5359
|
"`runpane agent-context` prints a brief, token-efficient command schema for coding agents without connecting to the Pane daemon.",
|
|
5355
5360
|
"`runpane agent-context --command \"panes create\"` prints the detailed definition for one command. Add `--json` for machine-readable output. An unknown command exits 2 and lists the closest command names; with `--json` it prints `{ ok: false, code: \"unknown_command\", message, candidates }` on stdout.",
|
|
@@ -7124,6 +7129,102 @@ exports.RUNPANE_CONTRACT = {
|
|
|
7124
7129
|
},
|
|
7125
7130
|
"workspaces": {
|
|
7126
7131
|
"$ref": "#/jsonSchemas/workspacesSummary"
|
|
7132
|
+
},
|
|
7133
|
+
"cliInstalls": {
|
|
7134
|
+
"type": "object",
|
|
7135
|
+
"required": [
|
|
7136
|
+
"installs",
|
|
7137
|
+
"warnings"
|
|
7138
|
+
],
|
|
7139
|
+
"properties": {
|
|
7140
|
+
"managedVersion": {
|
|
7141
|
+
"type": "string"
|
|
7142
|
+
},
|
|
7143
|
+
"installs": {
|
|
7144
|
+
"type": "array",
|
|
7145
|
+
"items": {
|
|
7146
|
+
"type": "object",
|
|
7147
|
+
"required": [
|
|
7148
|
+
"path",
|
|
7149
|
+
"origin"
|
|
7150
|
+
],
|
|
7151
|
+
"properties": {
|
|
7152
|
+
"path": {
|
|
7153
|
+
"type": "string"
|
|
7154
|
+
},
|
|
7155
|
+
"origin": {
|
|
7156
|
+
"enum": [
|
|
7157
|
+
"pane",
|
|
7158
|
+
"npm",
|
|
7159
|
+
"other"
|
|
7160
|
+
]
|
|
7161
|
+
},
|
|
7162
|
+
"version": {
|
|
7163
|
+
"type": "string"
|
|
7164
|
+
},
|
|
7165
|
+
"npmPrefix": {
|
|
7166
|
+
"type": "string"
|
|
7167
|
+
}
|
|
7168
|
+
},
|
|
7169
|
+
"additionalProperties": false
|
|
7170
|
+
}
|
|
7171
|
+
},
|
|
7172
|
+
"warnings": {
|
|
7173
|
+
"type": "array",
|
|
7174
|
+
"items": {
|
|
7175
|
+
"type": "object",
|
|
7176
|
+
"required": [
|
|
7177
|
+
"code",
|
|
7178
|
+
"path",
|
|
7179
|
+
"message",
|
|
7180
|
+
"fix"
|
|
7181
|
+
],
|
|
7182
|
+
"properties": {
|
|
7183
|
+
"code": {
|
|
7184
|
+
"enum": [
|
|
7185
|
+
"RUNPANE_STALE_INSTALL",
|
|
7186
|
+
"RUNPANE_STALE_UNMANAGED",
|
|
7187
|
+
"RUNPANE_STALE_MANAGED",
|
|
7188
|
+
"RUNPANE_MANAGED_BEHIND"
|
|
7189
|
+
]
|
|
7190
|
+
},
|
|
7191
|
+
"path": {
|
|
7192
|
+
"type": "string"
|
|
7193
|
+
},
|
|
7194
|
+
"message": {
|
|
7195
|
+
"type": "string"
|
|
7196
|
+
},
|
|
7197
|
+
"fix": {
|
|
7198
|
+
"type": "string"
|
|
7199
|
+
}
|
|
7200
|
+
},
|
|
7201
|
+
"additionalProperties": false
|
|
7202
|
+
}
|
|
7203
|
+
},
|
|
7204
|
+
"fixed": {
|
|
7205
|
+
"type": "array",
|
|
7206
|
+
"items": {
|
|
7207
|
+
"type": "object",
|
|
7208
|
+
"required": [
|
|
7209
|
+
"command",
|
|
7210
|
+
"ok"
|
|
7211
|
+
],
|
|
7212
|
+
"properties": {
|
|
7213
|
+
"command": {
|
|
7214
|
+
"type": "string"
|
|
7215
|
+
},
|
|
7216
|
+
"ok": {
|
|
7217
|
+
"type": "boolean"
|
|
7218
|
+
},
|
|
7219
|
+
"error": {
|
|
7220
|
+
"type": "string"
|
|
7221
|
+
}
|
|
7222
|
+
},
|
|
7223
|
+
"additionalProperties": false
|
|
7224
|
+
}
|
|
7225
|
+
}
|
|
7226
|
+
},
|
|
7227
|
+
"additionalProperties": false
|
|
7127
7228
|
}
|
|
7128
7229
|
},
|
|
7129
7230
|
"additionalProperties": false
|
|
@@ -16819,7 +16920,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
16819
16920
|
"workspace exec": {
|
|
16820
16921
|
"name": "workspace exec",
|
|
16821
16922
|
"summary": "Run a command in another machine's shell and return stdout, stderr, the exit code, OS, and shell.",
|
|
16822
|
-
"details": "Runs in the shell Pane uses for terminals on that machine (PowerShell or Git Bash on Windows, the login shell elsewhere). The exit code becomes runpane's exit code. Without <machine>, a --cwd that cannot exist here picks the machine.",
|
|
16923
|
+
"details": "Runs in the shell Pane uses for terminals on that machine (PowerShell or Git Bash on Windows, the login shell elsewhere), with that Pane's runpane first on PATH. The exit code becomes runpane's exit code. Without --, the command starts at the first word that is not an exec option. Without <machine>, a --cwd that cannot exist here picks the machine.",
|
|
16823
16924
|
"requiresPaneDaemon": false,
|
|
16824
16925
|
"mutates": true,
|
|
16825
16926
|
"arguments": [
|