runpane 2.4.55 → 2.4.57
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/cli.d.ts.map +1 -1
- package/dist/cli.js +56 -0
- package/dist/cli.js.map +1 -1
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +1 -0
- package/dist/commands.js.map +1 -1
- package/dist/doctor.d.ts +36 -0
- package/dist/doctor.d.ts.map +1 -1
- package/dist/doctor.js +261 -0
- package/dist/doctor.js.map +1 -1
- package/dist/generated/contract.d.ts +160 -7
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +265 -1
- package/dist/generated/contract.js.map +1 -1
- package/dist/installers.d.ts +6 -0
- package/dist/installers.d.ts.map +1 -1
- package/dist/installers.js +19 -0
- package/dist/installers.js.map +1 -1
- package/package.json +1 -1
|
@@ -125,6 +125,17 @@ exports.RUNPANE_CONTRACT = {
|
|
|
125
125
|
"doctorResult"
|
|
126
126
|
]
|
|
127
127
|
},
|
|
128
|
+
{
|
|
129
|
+
"name": "daemon repair",
|
|
130
|
+
"summary": "Repair and restart the managed remote-daemon launcher without changing pairing or tunnel configuration.",
|
|
131
|
+
"usage": [
|
|
132
|
+
"runpane daemon repair [--pane-dir <path>] [--pane-path <path>] [--yes] [--json]"
|
|
133
|
+
],
|
|
134
|
+
"mutates": true,
|
|
135
|
+
"jsonSchemas": [
|
|
136
|
+
"daemonRepairResult"
|
|
137
|
+
]
|
|
138
|
+
},
|
|
128
139
|
{
|
|
129
140
|
"name": "agents doctor",
|
|
130
141
|
"summary": "Diagnose whether a built-in agent command is available in a Pane repository environment.",
|
|
@@ -586,6 +597,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
586
597
|
" runpane update [options]",
|
|
587
598
|
" runpane version",
|
|
588
599
|
" runpane doctor",
|
|
600
|
+
" runpane daemon repair [--pane-dir <path>] [--yes] [--json]",
|
|
589
601
|
" runpane agent-context [--json]",
|
|
590
602
|
" runpane agents doctor --agent <codex|claude|cursor> [--repo <selector>] [--json]",
|
|
591
603
|
" runpane repos list [--json]",
|
|
@@ -704,6 +716,18 @@ exports.RUNPANE_CONTRACT = {
|
|
|
704
716
|
" runpane doctor --json",
|
|
705
717
|
" runpane agent-context --json"
|
|
706
718
|
],
|
|
719
|
+
"daemon repair": [
|
|
720
|
+
"Usage:",
|
|
721
|
+
" runpane daemon repair [--pane-dir <path>] [--pane-path <path>] [--yes] [--json]",
|
|
722
|
+
"",
|
|
723
|
+
"Repairs and restarts only the managed remote-daemon launcher and service definition.",
|
|
724
|
+
"",
|
|
725
|
+
"Options:",
|
|
726
|
+
" --pane-dir <path> Remote daemon data directory (default: ~/.pane_remote)",
|
|
727
|
+
" --pane-path <path> Existing Pane executable used to perform repair",
|
|
728
|
+
" --yes Skip the restart confirmation",
|
|
729
|
+
" --json Print one machine-readable repair result"
|
|
730
|
+
],
|
|
707
731
|
"repos list": [
|
|
708
732
|
"Usage:",
|
|
709
733
|
" runpane repos list [--json] [--pane-dir <path>]",
|
|
@@ -1010,6 +1034,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
1010
1034
|
" runpane update [options]",
|
|
1011
1035
|
" runpane version",
|
|
1012
1036
|
" runpane doctor",
|
|
1037
|
+
" runpane daemon repair [--pane-dir <path>] [--yes] [--json]",
|
|
1013
1038
|
" runpane agent-context [--json]",
|
|
1014
1039
|
" runpane agents doctor --agent <codex|claude|cursor> [--repo <selector>] [--json]",
|
|
1015
1040
|
" runpane repos list [--json]",
|
|
@@ -1117,6 +1142,18 @@ exports.RUNPANE_CONTRACT = {
|
|
|
1117
1142
|
" runpane doctor --json",
|
|
1118
1143
|
" runpane agent-context --json"
|
|
1119
1144
|
],
|
|
1145
|
+
"daemon repair": [
|
|
1146
|
+
"Usage:",
|
|
1147
|
+
" runpane daemon repair [--pane-dir <path>] [--pane-path <path>] [--yes] [--json]",
|
|
1148
|
+
"",
|
|
1149
|
+
"Repairs and restarts only the managed remote-daemon launcher and service definition.",
|
|
1150
|
+
"",
|
|
1151
|
+
"Options:",
|
|
1152
|
+
" --pane-dir <path>",
|
|
1153
|
+
" --pane-path <path>",
|
|
1154
|
+
" --yes",
|
|
1155
|
+
" --json"
|
|
1156
|
+
],
|
|
1120
1157
|
"repos list": [
|
|
1121
1158
|
"Usage:",
|
|
1122
1159
|
" runpane repos list [--json] [--pane-dir <path>]",
|
|
@@ -1478,6 +1515,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
1478
1515
|
"runpane version",
|
|
1479
1516
|
"runpane doctor",
|
|
1480
1517
|
"runpane doctor --json",
|
|
1518
|
+
"runpane daemon repair --pane-dir ~/.pane_remote --yes --json",
|
|
1481
1519
|
"runpane agent-context",
|
|
1482
1520
|
"runpane agent-context --command \"panes create\" --json",
|
|
1483
1521
|
"runpane repos list --json",
|
|
@@ -1502,6 +1540,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
1502
1540
|
"`runpane update` uses the same release resolution and installer path as `install client`.",
|
|
1503
1541
|
"`runpane version` prints only wrapper package metadata and does not contact, launch, or focus the Pane app or daemon.",
|
|
1504
1542
|
"`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`.",
|
|
1543
|
+
"`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.",
|
|
1505
1544
|
"`runpane agent-context` prints a brief, token-efficient command schema for coding agents without connecting to the Pane daemon.",
|
|
1506
1545
|
"`runpane agent-context --command \"panes create\"` prints the detailed definition for one command. Add `--json` for machine-readable output.",
|
|
1507
1546
|
"`runpane repos list` connects to the running local Pane daemon and prints saved repository records.",
|
|
@@ -1604,6 +1643,14 @@ exports.RUNPANE_CONTRACT = {
|
|
|
1604
1643
|
"--pane-dir",
|
|
1605
1644
|
"/tmp/pane"
|
|
1606
1645
|
],
|
|
1646
|
+
[
|
|
1647
|
+
"daemon",
|
|
1648
|
+
"repair",
|
|
1649
|
+
"--pane-dir",
|
|
1650
|
+
"/tmp/pane-remote",
|
|
1651
|
+
"--yes",
|
|
1652
|
+
"--json"
|
|
1653
|
+
],
|
|
1607
1654
|
[
|
|
1608
1655
|
"agent-context"
|
|
1609
1656
|
],
|
|
@@ -1911,6 +1958,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
1911
1958
|
"release",
|
|
1912
1959
|
"installedPane",
|
|
1913
1960
|
"daemon",
|
|
1961
|
+
"remoteDaemonService",
|
|
1914
1962
|
"remoteSetup",
|
|
1915
1963
|
"nextCommands"
|
|
1916
1964
|
],
|
|
@@ -2056,6 +2104,131 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2056
2104
|
},
|
|
2057
2105
|
"additionalProperties": false
|
|
2058
2106
|
},
|
|
2107
|
+
"remoteDaemonService": {
|
|
2108
|
+
"type": "object",
|
|
2109
|
+
"required": [
|
|
2110
|
+
"paneDir",
|
|
2111
|
+
"managed",
|
|
2112
|
+
"reachable",
|
|
2113
|
+
"endpoint"
|
|
2114
|
+
],
|
|
2115
|
+
"properties": {
|
|
2116
|
+
"paneDir": {
|
|
2117
|
+
"type": "string"
|
|
2118
|
+
},
|
|
2119
|
+
"managed": {
|
|
2120
|
+
"type": "boolean"
|
|
2121
|
+
},
|
|
2122
|
+
"reachable": {
|
|
2123
|
+
"type": "boolean"
|
|
2124
|
+
},
|
|
2125
|
+
"endpoint": {
|
|
2126
|
+
"type": "object",
|
|
2127
|
+
"required": [
|
|
2128
|
+
"transport",
|
|
2129
|
+
"path"
|
|
2130
|
+
],
|
|
2131
|
+
"properties": {
|
|
2132
|
+
"transport": {
|
|
2133
|
+
"enum": [
|
|
2134
|
+
"pipe",
|
|
2135
|
+
"unix"
|
|
2136
|
+
]
|
|
2137
|
+
},
|
|
2138
|
+
"path": {
|
|
2139
|
+
"type": "string"
|
|
2140
|
+
}
|
|
2141
|
+
},
|
|
2142
|
+
"additionalProperties": false
|
|
2143
|
+
},
|
|
2144
|
+
"executableHealth": {
|
|
2145
|
+
"type": "object",
|
|
2146
|
+
"required": [
|
|
2147
|
+
"processImage",
|
|
2148
|
+
"restart",
|
|
2149
|
+
"checkedAt"
|
|
2150
|
+
],
|
|
2151
|
+
"properties": {
|
|
2152
|
+
"processImage": {
|
|
2153
|
+
"type": "object",
|
|
2154
|
+
"required": [
|
|
2155
|
+
"status",
|
|
2156
|
+
"runtimePath",
|
|
2157
|
+
"installedPath",
|
|
2158
|
+
"evidence"
|
|
2159
|
+
],
|
|
2160
|
+
"properties": {
|
|
2161
|
+
"status": {
|
|
2162
|
+
"enum": [
|
|
2163
|
+
"current",
|
|
2164
|
+
"replaced",
|
|
2165
|
+
"deleted",
|
|
2166
|
+
"unknown"
|
|
2167
|
+
]
|
|
2168
|
+
},
|
|
2169
|
+
"runtimePath": {
|
|
2170
|
+
"type": [
|
|
2171
|
+
"string",
|
|
2172
|
+
"null"
|
|
2173
|
+
]
|
|
2174
|
+
},
|
|
2175
|
+
"installedPath": {
|
|
2176
|
+
"type": [
|
|
2177
|
+
"string",
|
|
2178
|
+
"null"
|
|
2179
|
+
]
|
|
2180
|
+
},
|
|
2181
|
+
"evidence": {
|
|
2182
|
+
"type": "string"
|
|
2183
|
+
}
|
|
2184
|
+
},
|
|
2185
|
+
"additionalProperties": false
|
|
2186
|
+
},
|
|
2187
|
+
"restart": {
|
|
2188
|
+
"type": "object",
|
|
2189
|
+
"required": [
|
|
2190
|
+
"status",
|
|
2191
|
+
"evidence"
|
|
2192
|
+
],
|
|
2193
|
+
"properties": {
|
|
2194
|
+
"status": {
|
|
2195
|
+
"enum": [
|
|
2196
|
+
"ready",
|
|
2197
|
+
"broken",
|
|
2198
|
+
"unknown"
|
|
2199
|
+
]
|
|
2200
|
+
},
|
|
2201
|
+
"launcherPath": {
|
|
2202
|
+
"type": "string"
|
|
2203
|
+
},
|
|
2204
|
+
"resolvedPath": {
|
|
2205
|
+
"type": "string"
|
|
2206
|
+
},
|
|
2207
|
+
"evidence": {
|
|
2208
|
+
"type": "string"
|
|
2209
|
+
}
|
|
2210
|
+
},
|
|
2211
|
+
"additionalProperties": false
|
|
2212
|
+
},
|
|
2213
|
+
"diagnosticCode": {
|
|
2214
|
+
"enum": [
|
|
2215
|
+
"PANE_REMOTE_DAEMON_EXECUTABLE_DELETED",
|
|
2216
|
+
"PANE_REMOTE_DAEMON_UPDATE_PENDING",
|
|
2217
|
+
"PANE_REMOTE_DAEMON_LAUNCHER_STALE"
|
|
2218
|
+
]
|
|
2219
|
+
},
|
|
2220
|
+
"recoveryCommand": {
|
|
2221
|
+
"type": "string"
|
|
2222
|
+
},
|
|
2223
|
+
"checkedAt": {
|
|
2224
|
+
"type": "string"
|
|
2225
|
+
}
|
|
2226
|
+
},
|
|
2227
|
+
"additionalProperties": false
|
|
2228
|
+
}
|
|
2229
|
+
},
|
|
2230
|
+
"additionalProperties": false
|
|
2231
|
+
},
|
|
2059
2232
|
"remoteSetup": {
|
|
2060
2233
|
"type": "object",
|
|
2061
2234
|
"required": [
|
|
@@ -2089,7 +2262,10 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2089
2262
|
"PANE_APPIMAGE_FUSE_MISSING",
|
|
2090
2263
|
"PANE_ELECTRON_SANDBOX_ROOT",
|
|
2091
2264
|
"PANE_ELECTRON_SANDBOX_UNAVAILABLE",
|
|
2092
|
-
"PANE_USER_SERVICE_UNAVAILABLE"
|
|
2265
|
+
"PANE_USER_SERVICE_UNAVAILABLE",
|
|
2266
|
+
"PANE_REMOTE_DAEMON_EXECUTABLE_DELETED",
|
|
2267
|
+
"PANE_REMOTE_DAEMON_UPDATE_PENDING",
|
|
2268
|
+
"PANE_REMOTE_DAEMON_LAUNCHER_STALE"
|
|
2093
2269
|
]
|
|
2094
2270
|
},
|
|
2095
2271
|
"severity": {
|
|
@@ -2120,6 +2296,54 @@ exports.RUNPANE_CONTRACT = {
|
|
|
2120
2296
|
},
|
|
2121
2297
|
"additionalProperties": false
|
|
2122
2298
|
},
|
|
2299
|
+
"daemonRepairResult": {
|
|
2300
|
+
"type": "object",
|
|
2301
|
+
"required": [
|
|
2302
|
+
"ok",
|
|
2303
|
+
"changed",
|
|
2304
|
+
"paneDir",
|
|
2305
|
+
"strategy",
|
|
2306
|
+
"launcherPath",
|
|
2307
|
+
"before",
|
|
2308
|
+
"after",
|
|
2309
|
+
"message"
|
|
2310
|
+
],
|
|
2311
|
+
"properties": {
|
|
2312
|
+
"ok": {
|
|
2313
|
+
"type": "boolean"
|
|
2314
|
+
},
|
|
2315
|
+
"changed": {
|
|
2316
|
+
"type": "boolean"
|
|
2317
|
+
},
|
|
2318
|
+
"paneDir": {
|
|
2319
|
+
"type": "string"
|
|
2320
|
+
},
|
|
2321
|
+
"strategy": {
|
|
2322
|
+
"enum": [
|
|
2323
|
+
"systemd-user",
|
|
2324
|
+
"launch-agent",
|
|
2325
|
+
"scheduled-task",
|
|
2326
|
+
"manual",
|
|
2327
|
+
"skipped"
|
|
2328
|
+
]
|
|
2329
|
+
},
|
|
2330
|
+
"launcherPath": {
|
|
2331
|
+
"type": "string"
|
|
2332
|
+
},
|
|
2333
|
+
"before": {
|
|
2334
|
+
"type": "object",
|
|
2335
|
+
"additionalProperties": true
|
|
2336
|
+
},
|
|
2337
|
+
"after": {
|
|
2338
|
+
"type": "object",
|
|
2339
|
+
"additionalProperties": true
|
|
2340
|
+
},
|
|
2341
|
+
"message": {
|
|
2342
|
+
"type": "string"
|
|
2343
|
+
}
|
|
2344
|
+
},
|
|
2345
|
+
"additionalProperties": false
|
|
2346
|
+
},
|
|
2123
2347
|
"repoListResult": {
|
|
2124
2348
|
"type": "object",
|
|
2125
2349
|
"required": [
|
|
@@ -4339,6 +4563,46 @@ exports.RUNPANE_CONTRACT = {
|
|
|
4339
4563
|
"Use `runpane agent-context --json` after doctor when full CLI context is needed."
|
|
4340
4564
|
]
|
|
4341
4565
|
},
|
|
4566
|
+
"daemon repair": {
|
|
4567
|
+
"name": "daemon repair",
|
|
4568
|
+
"summary": "Repair and restart the managed remote-daemon launcher without changing pairing or tunnel configuration.",
|
|
4569
|
+
"details": "Use this only after doctor reports a stale or broken remote-daemon launcher. The command invokes the installed Pane executable in service-repair mode and does not rerun remote setup.",
|
|
4570
|
+
"requiresPaneDaemon": false,
|
|
4571
|
+
"mutates": true,
|
|
4572
|
+
"arguments": [
|
|
4573
|
+
{
|
|
4574
|
+
"name": "--pane-dir",
|
|
4575
|
+
"value": "<path>",
|
|
4576
|
+
"required": false,
|
|
4577
|
+
"description": "Remote daemon data directory; defaults to ~/.pane_remote."
|
|
4578
|
+
},
|
|
4579
|
+
{
|
|
4580
|
+
"name": "--pane-path",
|
|
4581
|
+
"value": "<path>",
|
|
4582
|
+
"required": false,
|
|
4583
|
+
"description": "Existing Pane executable used to perform repair."
|
|
4584
|
+
},
|
|
4585
|
+
{
|
|
4586
|
+
"name": "--yes",
|
|
4587
|
+
"required": false,
|
|
4588
|
+
"description": "Skip the service restart confirmation."
|
|
4589
|
+
},
|
|
4590
|
+
{
|
|
4591
|
+
"name": "--json",
|
|
4592
|
+
"required": false,
|
|
4593
|
+
"description": "Print one machine-readable repair result."
|
|
4594
|
+
}
|
|
4595
|
+
],
|
|
4596
|
+
"examples": [
|
|
4597
|
+
"runpane daemon repair --pane-dir ~/.pane_remote --yes --json"
|
|
4598
|
+
],
|
|
4599
|
+
"jsonSchemas": [
|
|
4600
|
+
"daemonRepairResult"
|
|
4601
|
+
],
|
|
4602
|
+
"notes": [
|
|
4603
|
+
"Repair does not create pairing credentials, change tunnel configuration, or download Pane."
|
|
4604
|
+
]
|
|
4605
|
+
},
|
|
4342
4606
|
"agent-context": {
|
|
4343
4607
|
"name": "agent-context",
|
|
4344
4608
|
"summary": "Print token-efficient Pane command context for coding agents.",
|