runpane 2.4.230 → 2.4.231
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 +11 -0
- package/dist/cli.js.map +1 -1
- package/dist/commands.d.ts +6 -0
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +34 -1
- package/dist/commands.js.map +1 -1
- package/dist/devices.d.ts +10 -0
- package/dist/devices.d.ts.map +1 -0
- package/dist/devices.js +167 -0
- package/dist/devices.js.map +1 -0
- package/dist/docs-index.json +1 -1
- package/dist/generated/contract.d.ts +688 -5
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +1150 -50
- package/dist/generated/contract.js.map +1 -1
- package/dist/mcp.d.ts.map +1 -1
- package/dist/mcp.js +15 -1
- package/dist/mcp.js.map +1 -1
- package/dist/updateCapacity.d.ts +1 -1
- package/dist/updateCapacity.d.ts.map +1 -1
- package/dist/updateCapacity.js +2 -0
- package/dist/updateCapacity.js.map +1 -1
- package/package.json +1 -1
|
@@ -370,6 +370,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
370
370
|
"fullAccessArgs": [
|
|
371
371
|
"--auto"
|
|
372
372
|
],
|
|
373
|
+
"paneMcpConfigEnv": "OPENCODE_CONFIG_CONTENT",
|
|
373
374
|
"hotkey": "mod+alt+6",
|
|
374
375
|
"session": {
|
|
375
376
|
"flag": "--session",
|
|
@@ -796,6 +797,164 @@ exports.RUNPANE_CONTRACT = {
|
|
|
796
797
|
],
|
|
797
798
|
"localControl": true
|
|
798
799
|
},
|
|
800
|
+
{
|
|
801
|
+
"name": "devices list",
|
|
802
|
+
"mcpName": "device_list",
|
|
803
|
+
"summary": "List the phone simulators and emulators this Pane can open: platform, name, OS, machine, state, and which Pane holds each.",
|
|
804
|
+
"usage": [
|
|
805
|
+
"runpane devices list [--json] [--pane-dir <path>]"
|
|
806
|
+
],
|
|
807
|
+
"toolsets": [
|
|
808
|
+
"core",
|
|
809
|
+
"devices"
|
|
810
|
+
],
|
|
811
|
+
"jsonSchemas": [
|
|
812
|
+
"devicesListResult"
|
|
813
|
+
],
|
|
814
|
+
"localControl": true,
|
|
815
|
+
"wrappers": [
|
|
816
|
+
"npm"
|
|
817
|
+
]
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"name": "devices open",
|
|
821
|
+
"mcpName": "device_open",
|
|
822
|
+
"summary": "Boot a phone simulator or emulator for this Pane and show its live screen in a device tab beside the agent.",
|
|
823
|
+
"usage": [
|
|
824
|
+
"runpane devices open --platform <ios|android> [--device <name-or-id>] [--json] [--pane-dir <path>]"
|
|
825
|
+
],
|
|
826
|
+
"mutates": true,
|
|
827
|
+
"additive": true,
|
|
828
|
+
"toolsets": [
|
|
829
|
+
"core",
|
|
830
|
+
"devices"
|
|
831
|
+
],
|
|
832
|
+
"jsonSchemas": [
|
|
833
|
+
"devicesOpenResult"
|
|
834
|
+
],
|
|
835
|
+
"localControl": true,
|
|
836
|
+
"wrappers": [
|
|
837
|
+
"npm"
|
|
838
|
+
]
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"name": "devices screenshot",
|
|
842
|
+
"mcpName": "device_screenshot",
|
|
843
|
+
"summary": "Capture the screen of this Pane's open device as an image.",
|
|
844
|
+
"usage": [
|
|
845
|
+
"runpane devices screenshot [--platform <ios|android>] [--json] [--pane-dir <path>]"
|
|
846
|
+
],
|
|
847
|
+
"toolsets": [
|
|
848
|
+
"core",
|
|
849
|
+
"devices"
|
|
850
|
+
],
|
|
851
|
+
"jsonSchemas": [
|
|
852
|
+
"devicesScreenshotResult"
|
|
853
|
+
],
|
|
854
|
+
"localControl": true,
|
|
855
|
+
"wrappers": [
|
|
856
|
+
"npm"
|
|
857
|
+
]
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"name": "devices act",
|
|
861
|
+
"mcpName": "device_act",
|
|
862
|
+
"summary": "Run an agent-device command on this Pane's open device: open an app, snapshot -i for element refs, press @e3, fill, swipe, install, logs.",
|
|
863
|
+
"usage": [
|
|
864
|
+
"runpane devices act [--platform <ios|android>] [--json] [--pane-dir <path>] -- <command>"
|
|
865
|
+
],
|
|
866
|
+
"mutates": true,
|
|
867
|
+
"toolsets": [
|
|
868
|
+
"core",
|
|
869
|
+
"devices"
|
|
870
|
+
],
|
|
871
|
+
"jsonSchemas": [
|
|
872
|
+
"devicesActResult"
|
|
873
|
+
],
|
|
874
|
+
"localControl": true,
|
|
875
|
+
"wrappers": [
|
|
876
|
+
"npm"
|
|
877
|
+
]
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"name": "devices run",
|
|
881
|
+
"mcpName": "device_run",
|
|
882
|
+
"summary": "Run a command where this Pane's device runs, such as a build (npx expo run:ios) or Metro with --background.",
|
|
883
|
+
"usage": [
|
|
884
|
+
"runpane devices run [--platform <ios|android>] [--background] [--wait-ms <milliseconds>] [--json] [--pane-dir <path>] -- <command>"
|
|
885
|
+
],
|
|
886
|
+
"mutates": true,
|
|
887
|
+
"openWorld": true,
|
|
888
|
+
"toolsets": [
|
|
889
|
+
"core",
|
|
890
|
+
"devices"
|
|
891
|
+
],
|
|
892
|
+
"jsonSchemas": [
|
|
893
|
+
"devicesRunResult"
|
|
894
|
+
],
|
|
895
|
+
"localControl": true,
|
|
896
|
+
"wrappers": [
|
|
897
|
+
"npm"
|
|
898
|
+
]
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"name": "devices close",
|
|
902
|
+
"mcpName": "device_close",
|
|
903
|
+
"summary": "Release this Pane's device (or, with --platform, only that one) and stop the commands device_run started. The device stays warm for 10 minutes.",
|
|
904
|
+
"usage": [
|
|
905
|
+
"runpane devices close [--platform <ios|android>] [--json] [--pane-dir <path>]"
|
|
906
|
+
],
|
|
907
|
+
"mutates": true,
|
|
908
|
+
"idempotent": true,
|
|
909
|
+
"toolsets": [
|
|
910
|
+
"core",
|
|
911
|
+
"devices"
|
|
912
|
+
],
|
|
913
|
+
"jsonSchemas": [
|
|
914
|
+
"devicesCloseResult"
|
|
915
|
+
],
|
|
916
|
+
"localControl": true,
|
|
917
|
+
"wrappers": [
|
|
918
|
+
"npm"
|
|
919
|
+
]
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
"name": "devices usage",
|
|
923
|
+
"mcpName": "device_usage",
|
|
924
|
+
"summary": "Report every simulator and emulator on this machine, and the memory and disk they, Pane's device tools and build checkouts use.",
|
|
925
|
+
"usage": [
|
|
926
|
+
"runpane devices usage [--json] [--pane-dir <path>]"
|
|
927
|
+
],
|
|
928
|
+
"toolsets": [
|
|
929
|
+
"devices"
|
|
930
|
+
],
|
|
931
|
+
"jsonSchemas": [
|
|
932
|
+
"devicesUsageResult"
|
|
933
|
+
],
|
|
934
|
+
"localControl": true,
|
|
935
|
+
"wrappers": [
|
|
936
|
+
"npm"
|
|
937
|
+
]
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"name": "devices free",
|
|
941
|
+
"mcpName": "device_free",
|
|
942
|
+
"summary": "Shut down unused devices (--idle), or also delete every unused device Pane made and the build checkouts no Pane holds (--all).",
|
|
943
|
+
"usage": [
|
|
944
|
+
"runpane devices free (--idle|--all) --yes [--json] [--pane-dir <path>]"
|
|
945
|
+
],
|
|
946
|
+
"mutates": true,
|
|
947
|
+
"toolsets": [
|
|
948
|
+
"devices"
|
|
949
|
+
],
|
|
950
|
+
"jsonSchemas": [
|
|
951
|
+
"devicesFreeResult"
|
|
952
|
+
],
|
|
953
|
+
"localControl": true,
|
|
954
|
+
"wrappers": [
|
|
955
|
+
"npm"
|
|
956
|
+
]
|
|
957
|
+
},
|
|
799
958
|
{
|
|
800
959
|
"name": "theme read",
|
|
801
960
|
"summary": "Show Pane's own theme: what is selected, the Custom theme, every colour token with its current value, the stable selectors, and the guide for restyling Pane.",
|
|
@@ -3185,6 +3344,21 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3185
3344
|
"name": "--search",
|
|
3186
3345
|
"value": "<text>",
|
|
3187
3346
|
"description": "models only: keep models whose name contains this text."
|
|
3347
|
+
},
|
|
3348
|
+
{
|
|
3349
|
+
"name": "--platform",
|
|
3350
|
+
"value": "<ios|android>",
|
|
3351
|
+
"description": "devices open: ios or android. devices screenshot, act, run and close: which of the Pane's devices; defaults to the one opened last."
|
|
3352
|
+
},
|
|
3353
|
+
{
|
|
3354
|
+
"name": "--device",
|
|
3355
|
+
"value": "<name-or-id>",
|
|
3356
|
+
"description": "devices open: one of the person's own devices by name or id."
|
|
3357
|
+
},
|
|
3358
|
+
{
|
|
3359
|
+
"name": "--wait-ms",
|
|
3360
|
+
"value": "<milliseconds>",
|
|
3361
|
+
"description": "devices run: how long to wait for the command to exit."
|
|
3188
3362
|
}
|
|
3189
3363
|
],
|
|
3190
3364
|
"localBoolean": [
|
|
@@ -3343,6 +3517,14 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3343
3517
|
{
|
|
3344
3518
|
"name": "--hook",
|
|
3345
3519
|
"description": "runpane panels conversation: read a Claude Code SessionStart hook's JSON from stdin and report it for PANE_PANEL_ID. Prints nothing and always exits 0."
|
|
3520
|
+
},
|
|
3521
|
+
{
|
|
3522
|
+
"name": "--background",
|
|
3523
|
+
"description": "devices run: keep the command running after the call returns; it stops at devices close."
|
|
3524
|
+
},
|
|
3525
|
+
{
|
|
3526
|
+
"name": "--idle",
|
|
3527
|
+
"description": "devices free: shut down Pane's devices no Pane holds."
|
|
3346
3528
|
}
|
|
3347
3529
|
]
|
|
3348
3530
|
},
|
|
@@ -3373,6 +3555,14 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3373
3555
|
" runpane secrets delete --project <project> --name <name> --yes",
|
|
3374
3556
|
" runpane secrets exec --project <project> [--only <name,...>] [--env <VAR=NAME>] [--file <name>] -- <command>...",
|
|
3375
3557
|
" runpane secrets request --project <project> --name <name> --title <text> --reason <text> [--json]",
|
|
3558
|
+
" runpane devices list [--json] [--pane-dir <path>]",
|
|
3559
|
+
" runpane devices open --platform <ios|android> [--device <name-or-id>] [--json] [--pane-dir <path>]",
|
|
3560
|
+
" runpane devices screenshot [--json] [--pane-dir <path>]",
|
|
3561
|
+
" runpane devices act [--json] [--pane-dir <path>] -- <command>",
|
|
3562
|
+
" runpane devices run [--background] [--wait-ms <milliseconds>] [--json] [--pane-dir <path>] -- <command>",
|
|
3563
|
+
" runpane devices close [--json] [--pane-dir <path>]",
|
|
3564
|
+
" runpane devices usage [--json] [--pane-dir <path>]",
|
|
3565
|
+
" runpane devices free (--idle|--all) --yes [--json] [--pane-dir <path>]",
|
|
3376
3566
|
" runpane theme read [--json]",
|
|
3377
3567
|
" runpane theme set [--base <theme>] [--colors <json>] [--css <text>] [--name <text>] [--json]",
|
|
3378
3568
|
" runpane theme set --theme <id> [--json]",
|
|
@@ -3896,7 +4086,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
3896
4086
|
"Options:",
|
|
3897
4087
|
" --repo <selector> active, id, exact path, or saved repository name",
|
|
3898
4088
|
" --name <name> Pane/session name",
|
|
3899
|
-
" --worktree-name <name> Worktree directory name; defaults to --name",
|
|
4089
|
+
" --worktree-name <name> Worktree directory name, cut to 100 characters at a word; defaults to --name",
|
|
3900
4090
|
" --branch <name> Exact new branch name (slashes kept); must not exist; defaults to the worktree name",
|
|
3901
4091
|
" --base-branch <ref> Ref to branch from; --base is an alias",
|
|
3902
4092
|
" --agent <codex|claude|cursor|opencode|pi> Built-in terminal template; with --tool-command, the agent it runs",
|
|
@@ -5415,6 +5605,110 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5415
5605
|
" --session <id|name> Named Session id or exact name",
|
|
5416
5606
|
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
5417
5607
|
" --json Print machine-readable output"
|
|
5608
|
+
],
|
|
5609
|
+
"devices list": [
|
|
5610
|
+
"Usage:",
|
|
5611
|
+
" runpane devices list [--json] [--pane-dir <path>]",
|
|
5612
|
+
"",
|
|
5613
|
+
"Lists this machine's iOS simulators and Android emulators, plus the iOS machine Pane uses when this one has no Xcode. paneMade marks the devices Pane created; device_open uses those unless you name another.",
|
|
5614
|
+
"",
|
|
5615
|
+
"Options:",
|
|
5616
|
+
" --json Print machine-readable output",
|
|
5617
|
+
" --pane-dir <path> Connect to a specific Pane data directory"
|
|
5618
|
+
],
|
|
5619
|
+
"devices open": [
|
|
5620
|
+
"Usage:",
|
|
5621
|
+
" runpane devices open --platform <ios|android> [--device <name-or-id>] [--json] [--pane-dir <path>]",
|
|
5622
|
+
"",
|
|
5623
|
+
"Leases a device to the calling tab's Pane and boots it. Without --device, Pane uses its own device (Pane iPhone or Pane_Android) and makes one from the newest installed runtime when needed. The first call on a machine installs Pane's device tools (agent-device and Expo's device hub), which takes a minute. When every device Pane may boot is held by another Pane, it waits up to 60 seconds, then fails with ERR_DEVICE_BUSY naming the holder. On a machine without Xcode, iOS opens on a linked Mac. Later device calls act on this device; you never pass it again.",
|
|
5624
|
+
"",
|
|
5625
|
+
"Options:",
|
|
5626
|
+
" --platform <ios|android> ios for an iOS simulator, android for an Android emulator",
|
|
5627
|
+
" --device <name-or-id> One of the person's own devices by name or id, from device_list. Leave it out to use Pane's own device",
|
|
5628
|
+
" --json Print machine-readable output",
|
|
5629
|
+
" --pane-dir <path> Connect to a specific Pane data directory"
|
|
5630
|
+
],
|
|
5631
|
+
"devices screenshot": [
|
|
5632
|
+
"Usage:",
|
|
5633
|
+
" runpane devices screenshot [--json] [--pane-dir <path>]",
|
|
5634
|
+
"",
|
|
5635
|
+
"Returns the PNG's path; MCP clients also get the image itself.",
|
|
5636
|
+
"",
|
|
5637
|
+
"Options:",
|
|
5638
|
+
" --json Print machine-readable output",
|
|
5639
|
+
" --pane-dir <path> Connect to a specific Pane data directory"
|
|
5640
|
+
],
|
|
5641
|
+
"devices act": [
|
|
5642
|
+
"Usage:",
|
|
5643
|
+
" runpane devices act [--json] [--pane-dir <path>] -- <command>",
|
|
5644
|
+
"",
|
|
5645
|
+
"Passes the command to agent-device, pinned to the device this Pane holds. Start with `open <app id>`, then `snapshot -i` for @refs, then `press @eN --settle`. agent-device's own help: `help workflow`. Flags that pick another device, session or daemon (--session, --device, --udid, --serial, --platform) are refused.",
|
|
5646
|
+
"",
|
|
5647
|
+
"Options:",
|
|
5648
|
+
" --json Print machine-readable output",
|
|
5649
|
+
" --pane-dir <path> Connect to a specific Pane data directory"
|
|
5650
|
+
],
|
|
5651
|
+
"devices run": [
|
|
5652
|
+
"Usage:",
|
|
5653
|
+
" runpane devices run [--background] [--wait-ms <milliseconds>] [--json] [--pane-dir <path>] -- <command>",
|
|
5654
|
+
"",
|
|
5655
|
+
"On this machine it runs in the Pane's worktree. When the device runs on a linked Mac, Pane first syncs the worktree there (uncommitted changes included) and runs in Pane's checkout on the Mac. It waits up to --wait-ms (default 120000) and returns the exit code and log tail, or a jobId while it still runs. --background keeps a server such as Metro running until device_close. Pass an empty command to sync only.",
|
|
5656
|
+
"",
|
|
5657
|
+
"Options:",
|
|
5658
|
+
" --background Keep the command running after the call returns (Metro); it stops at device_close",
|
|
5659
|
+
" --wait-ms <milliseconds> How long to wait for the command to exit (default 120000)",
|
|
5660
|
+
" --json Print machine-readable output",
|
|
5661
|
+
" --pane-dir <path> Connect to a specific Pane data directory"
|
|
5662
|
+
],
|
|
5663
|
+
"devices close": [
|
|
5664
|
+
"Usage:",
|
|
5665
|
+
" runpane devices close [--json] [--pane-dir <path>]",
|
|
5666
|
+
"",
|
|
5667
|
+
"Ends the lease so another Pane can use the device. It shuts down 10 minutes later unless a Pane opens it again.",
|
|
5668
|
+
"",
|
|
5669
|
+
"Options:",
|
|
5670
|
+
" --json Print machine-readable output",
|
|
5671
|
+
" --pane-dir <path> Connect to a specific Pane data directory"
|
|
5672
|
+
],
|
|
5673
|
+
"devices usage": [
|
|
5674
|
+
"Usage:",
|
|
5675
|
+
" runpane devices usage [--json] [--pane-dir <path>]",
|
|
5676
|
+
"",
|
|
5677
|
+
"For machine health. Lists every simulator and emulator on this machine, including ones made outside Pane (paneMade false), with OS, disk and, when booted, memory (simslim measure when installed, otherwise the simulator's processes).",
|
|
5678
|
+
"",
|
|
5679
|
+
"Options:",
|
|
5680
|
+
" --json Print machine-readable output",
|
|
5681
|
+
" --pane-dir <path> Connect to a specific Pane data directory"
|
|
5682
|
+
],
|
|
5683
|
+
"devices free": [
|
|
5684
|
+
"Usage:",
|
|
5685
|
+
" runpane devices free (--idle|--all) --yes [--json] [--pane-dir <path>]",
|
|
5686
|
+
"",
|
|
5687
|
+
"Never touches the person's own devices or runtimes, or a device a Pane holds.",
|
|
5688
|
+
"",
|
|
5689
|
+
"Options:",
|
|
5690
|
+
" --idle Shut down Pane's devices no Pane holds",
|
|
5691
|
+
" --all Also erase and delete them",
|
|
5692
|
+
" --yes Confirm the change",
|
|
5693
|
+
" --json Print machine-readable output",
|
|
5694
|
+
" --pane-dir <path> Connect to a specific Pane data directory"
|
|
5695
|
+
],
|
|
5696
|
+
"devices": [
|
|
5697
|
+
"Usage:",
|
|
5698
|
+
" runpane devices <list|open|screenshot|act|run|close|usage|free> [options]",
|
|
5699
|
+
"",
|
|
5700
|
+
"Phone simulators and emulators for agents. device_open boots a device for the calling tab's Pane and shows its live screen in a device tab beside the agent; the other commands act only on that Pane's device.",
|
|
5701
|
+
"On a machine without Xcode, iOS runs on a linked Mac. See docs/DEVICES.md.",
|
|
5702
|
+
"",
|
|
5703
|
+
"Commands:",
|
|
5704
|
+
" runpane devices list [--json] [--pane-dir <path>]",
|
|
5705
|
+
" runpane devices open --platform <ios|android> [--device <name-or-id>] [--json] [--pane-dir <path>]",
|
|
5706
|
+
" runpane devices screenshot [--json] [--pane-dir <path>]",
|
|
5707
|
+
" runpane devices act [--json] [--pane-dir <path>] -- <command>",
|
|
5708
|
+
" runpane devices run [--background] [--wait-ms <milliseconds>] [--json] [--pane-dir <path>] -- <command>",
|
|
5709
|
+
" runpane devices close [--json] [--pane-dir <path>]",
|
|
5710
|
+
" runpane devices usage [--json] [--pane-dir <path>]",
|
|
5711
|
+
" runpane devices free (--idle|--all) --yes [--json] [--pane-dir <path>]"
|
|
5418
5712
|
]
|
|
5419
5713
|
},
|
|
5420
5714
|
"pip": {
|
|
@@ -5940,7 +6234,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5940
6234
|
"Options:",
|
|
5941
6235
|
" --repo <selector> active, id, exact path, or saved repository name",
|
|
5942
6236
|
" --name <name> Pane/session name",
|
|
5943
|
-
" --worktree-name <name> Worktree directory name; defaults to --name",
|
|
6237
|
+
" --worktree-name <name> Worktree directory name, cut to 100 characters at a word; defaults to --name",
|
|
5944
6238
|
" --branch <name> Exact new branch name (slashes kept); must not exist; defaults to the worktree name",
|
|
5945
6239
|
" --base-branch <ref> Ref to branch from; --base is an alias",
|
|
5946
6240
|
" --agent <codex|claude|cursor|opencode|pi> Built-in terminal template; with --tool-command, the agent it runs",
|
|
@@ -7347,6 +7641,69 @@ exports.RUNPANE_CONTRACT = {
|
|
|
7347
7641
|
" --session <id|name> Named Session id or exact name",
|
|
7348
7642
|
" --pane-dir <path> Connect to a specific Pane data directory",
|
|
7349
7643
|
" --json Print machine-readable output"
|
|
7644
|
+
],
|
|
7645
|
+
"devices list": [
|
|
7646
|
+
"Usage:",
|
|
7647
|
+
" runpane devices list [--json] [--pane-dir <path>]",
|
|
7648
|
+
"",
|
|
7649
|
+
"`runpane devices list` ships in the npm package and the Pane app, not in the Python package.",
|
|
7650
|
+
"Run it with Node instead: npx --yes runpane@latest devices list"
|
|
7651
|
+
],
|
|
7652
|
+
"devices open": [
|
|
7653
|
+
"Usage:",
|
|
7654
|
+
" runpane devices open --platform <ios|android> [--device <name-or-id>] [--json] [--pane-dir <path>]",
|
|
7655
|
+
"",
|
|
7656
|
+
"`runpane devices open` ships in the npm package and the Pane app, not in the Python package.",
|
|
7657
|
+
"Run it with Node instead: npx --yes runpane@latest devices open"
|
|
7658
|
+
],
|
|
7659
|
+
"devices screenshot": [
|
|
7660
|
+
"Usage:",
|
|
7661
|
+
" runpane devices screenshot [--json] [--pane-dir <path>]",
|
|
7662
|
+
"",
|
|
7663
|
+
"`runpane devices screenshot` ships in the npm package and the Pane app, not in the Python package.",
|
|
7664
|
+
"Run it with Node instead: npx --yes runpane@latest devices screenshot"
|
|
7665
|
+
],
|
|
7666
|
+
"devices act": [
|
|
7667
|
+
"Usage:",
|
|
7668
|
+
" runpane devices act [--json] [--pane-dir <path>] -- <command>",
|
|
7669
|
+
"",
|
|
7670
|
+
"`runpane devices act` ships in the npm package and the Pane app, not in the Python package.",
|
|
7671
|
+
"Run it with Node instead: npx --yes runpane@latest devices act"
|
|
7672
|
+
],
|
|
7673
|
+
"devices run": [
|
|
7674
|
+
"Usage:",
|
|
7675
|
+
" runpane devices run [--background] [--wait-ms <milliseconds>] [--json] [--pane-dir <path>] -- <command>",
|
|
7676
|
+
"",
|
|
7677
|
+
"`runpane devices run` ships in the npm package and the Pane app, not in the Python package.",
|
|
7678
|
+
"Run it with Node instead: npx --yes runpane@latest devices run"
|
|
7679
|
+
],
|
|
7680
|
+
"devices close": [
|
|
7681
|
+
"Usage:",
|
|
7682
|
+
" runpane devices close [--json] [--pane-dir <path>]",
|
|
7683
|
+
"",
|
|
7684
|
+
"`runpane devices close` ships in the npm package and the Pane app, not in the Python package.",
|
|
7685
|
+
"Run it with Node instead: npx --yes runpane@latest devices close"
|
|
7686
|
+
],
|
|
7687
|
+
"devices usage": [
|
|
7688
|
+
"Usage:",
|
|
7689
|
+
" runpane devices usage [--json] [--pane-dir <path>]",
|
|
7690
|
+
"",
|
|
7691
|
+
"`runpane devices usage` ships in the npm package and the Pane app, not in the Python package.",
|
|
7692
|
+
"Run it with Node instead: npx --yes runpane@latest devices usage"
|
|
7693
|
+
],
|
|
7694
|
+
"devices free": [
|
|
7695
|
+
"Usage:",
|
|
7696
|
+
" runpane devices free (--idle|--all) --yes [--json] [--pane-dir <path>]",
|
|
7697
|
+
"",
|
|
7698
|
+
"`runpane devices free` ships in the npm package and the Pane app, not in the Python package.",
|
|
7699
|
+
"Run it with Node instead: npx --yes runpane@latest devices free"
|
|
7700
|
+
],
|
|
7701
|
+
"devices": [
|
|
7702
|
+
"Usage:",
|
|
7703
|
+
" runpane devices <list|open|screenshot|act|run|close|usage|free> [options]",
|
|
7704
|
+
"",
|
|
7705
|
+
"`runpane devices` ships in the npm package and the Pane app, not in the Python package.",
|
|
7706
|
+
"Run it with Node instead: npx --yes runpane@latest devices"
|
|
7350
7707
|
]
|
|
7351
7708
|
}
|
|
7352
7709
|
},
|
|
@@ -18359,54 +18716,513 @@ exports.RUNPANE_CONTRACT = {
|
|
|
18359
18716
|
}
|
|
18360
18717
|
},
|
|
18361
18718
|
"additionalProperties": false
|
|
18362
|
-
}
|
|
18363
|
-
},
|
|
18364
|
-
"agentContext": {
|
|
18365
|
-
"intro": {
|
|
18366
|
-
"humans": {
|
|
18367
|
-
"title": "For people",
|
|
18368
|
-
"sentences": [
|
|
18369
|
-
"Open a Session for each workstream and tell its agent what you want, in plain words.",
|
|
18370
|
-
"It plans the work, starts a Pane for each feature, and runs the builders, reviewers and QA as tabs inside them, so you don't have to.",
|
|
18371
|
-
"{approvals}",
|
|
18372
|
-
"When a feature is done, archiving its Pane cleans up its worktree and files for you."
|
|
18373
|
-
],
|
|
18374
|
-
"approvals": {
|
|
18375
|
-
"on": "Anything that needs you, like a decision, an approval or a merge, waits for you in Approvals while everything else keeps moving.",
|
|
18376
|
-
"off": "When the agent needs you for a decision, an approval or a merge, it asks in its terminal while everything else keeps moving."
|
|
18377
|
-
}
|
|
18378
|
-
},
|
|
18379
|
-
"agents": {
|
|
18380
|
-
"title": "For agents",
|
|
18381
|
-
"sentences": [
|
|
18382
|
-
"In Pane, work flows from a Session to Panes to tabs.",
|
|
18383
|
-
"A Session is a workstream: the person or an orchestrator opens it, and every Pane created or adopted from inside it joins it. When you are in one ($PANE_SESSION_DIR is set: you orchestrate it or your Pane belongs to it), start new Panes from there (each result's `association` names the Session they joined); when you are in none, work with several parts starts a new Session.",
|
|
18384
|
-
"Each feature gets one Pane, a git worktree on its own branch, and everything for that feature (the agent that builds it, its reviews, QA and fixes) runs as tabs inside it.",
|
|
18385
|
-
"Scratch files go in $PANE_SCRATCH_DIR inside the Pane.",
|
|
18386
|
-
"When the feature is done, archive the Pane and Pane cleans up its worktree, tabs and scratch files.",
|
|
18387
|
-
"{approvals}"
|
|
18388
|
-
],
|
|
18389
|
-
"approvals": {
|
|
18390
|
-
"on": "When you need the person, ask through Approvals (a Session worker reports blocked to its orchestrator instead).",
|
|
18391
|
-
"off": "When you need the person, ask in this terminal."
|
|
18392
|
-
}
|
|
18393
|
-
}
|
|
18394
18719
|
},
|
|
18395
|
-
"
|
|
18396
|
-
"
|
|
18397
|
-
"
|
|
18398
|
-
|
|
18399
|
-
|
|
18400
|
-
|
|
18401
|
-
|
|
18402
|
-
|
|
18403
|
-
|
|
18404
|
-
|
|
18405
|
-
|
|
18406
|
-
|
|
18407
|
-
"
|
|
18408
|
-
|
|
18409
|
-
|
|
18720
|
+
"deviceSummary": {
|
|
18721
|
+
"type": "object",
|
|
18722
|
+
"required": [
|
|
18723
|
+
"id",
|
|
18724
|
+
"platform",
|
|
18725
|
+
"name",
|
|
18726
|
+
"os",
|
|
18727
|
+
"machine",
|
|
18728
|
+
"state",
|
|
18729
|
+
"paneMade"
|
|
18730
|
+
],
|
|
18731
|
+
"properties": {
|
|
18732
|
+
"id": {
|
|
18733
|
+
"type": "string"
|
|
18734
|
+
},
|
|
18735
|
+
"platform": {
|
|
18736
|
+
"enum": [
|
|
18737
|
+
"ios",
|
|
18738
|
+
"android"
|
|
18739
|
+
]
|
|
18740
|
+
},
|
|
18741
|
+
"name": {
|
|
18742
|
+
"type": "string"
|
|
18743
|
+
},
|
|
18744
|
+
"os": {
|
|
18745
|
+
"type": "string"
|
|
18746
|
+
},
|
|
18747
|
+
"machine": {
|
|
18748
|
+
"type": "string",
|
|
18749
|
+
"description": "The machine the device runs on."
|
|
18750
|
+
},
|
|
18751
|
+
"state": {
|
|
18752
|
+
"enum": [
|
|
18753
|
+
"booted",
|
|
18754
|
+
"shutdown"
|
|
18755
|
+
]
|
|
18756
|
+
},
|
|
18757
|
+
"paneMade": {
|
|
18758
|
+
"type": "boolean",
|
|
18759
|
+
"description": "Pane created this device; it erases and deletes only these."
|
|
18760
|
+
},
|
|
18761
|
+
"heldBy": {
|
|
18762
|
+
"type": "object",
|
|
18763
|
+
"required": [
|
|
18764
|
+
"paneId",
|
|
18765
|
+
"paneName"
|
|
18766
|
+
],
|
|
18767
|
+
"properties": {
|
|
18768
|
+
"paneId": {
|
|
18769
|
+
"type": "string"
|
|
18770
|
+
},
|
|
18771
|
+
"paneName": {
|
|
18772
|
+
"type": "string"
|
|
18773
|
+
}
|
|
18774
|
+
},
|
|
18775
|
+
"additionalProperties": false
|
|
18776
|
+
}
|
|
18777
|
+
},
|
|
18778
|
+
"additionalProperties": false
|
|
18779
|
+
},
|
|
18780
|
+
"devicesListResult": {
|
|
18781
|
+
"type": "object",
|
|
18782
|
+
"required": [
|
|
18783
|
+
"ok",
|
|
18784
|
+
"devices"
|
|
18785
|
+
],
|
|
18786
|
+
"properties": {
|
|
18787
|
+
"ok": {
|
|
18788
|
+
"const": true
|
|
18789
|
+
},
|
|
18790
|
+
"devices": {
|
|
18791
|
+
"type": "array",
|
|
18792
|
+
"items": {
|
|
18793
|
+
"$ref": "#/jsonSchemas/deviceSummary"
|
|
18794
|
+
}
|
|
18795
|
+
}
|
|
18796
|
+
},
|
|
18797
|
+
"additionalProperties": false
|
|
18798
|
+
},
|
|
18799
|
+
"devicesOpenResult": {
|
|
18800
|
+
"type": "object",
|
|
18801
|
+
"required": [
|
|
18802
|
+
"ok",
|
|
18803
|
+
"device",
|
|
18804
|
+
"machine",
|
|
18805
|
+
"panelId",
|
|
18806
|
+
"paneDevice",
|
|
18807
|
+
"next"
|
|
18808
|
+
],
|
|
18809
|
+
"properties": {
|
|
18810
|
+
"ok": {
|
|
18811
|
+
"const": true
|
|
18812
|
+
},
|
|
18813
|
+
"device": {
|
|
18814
|
+
"$ref": "#/jsonSchemas/deviceSummary"
|
|
18815
|
+
},
|
|
18816
|
+
"machine": {
|
|
18817
|
+
"type": "object",
|
|
18818
|
+
"required": [
|
|
18819
|
+
"name",
|
|
18820
|
+
"reason"
|
|
18821
|
+
],
|
|
18822
|
+
"properties": {
|
|
18823
|
+
"name": {
|
|
18824
|
+
"type": "string"
|
|
18825
|
+
},
|
|
18826
|
+
"reason": {
|
|
18827
|
+
"type": "string",
|
|
18828
|
+
"description": "Why this machine runs the device."
|
|
18829
|
+
}
|
|
18830
|
+
},
|
|
18831
|
+
"additionalProperties": false
|
|
18832
|
+
},
|
|
18833
|
+
"panelId": {
|
|
18834
|
+
"type": "string",
|
|
18835
|
+
"description": "The device tab beside the agent."
|
|
18836
|
+
},
|
|
18837
|
+
"paneDevice": {
|
|
18838
|
+
"type": "object",
|
|
18839
|
+
"description": "Marker a chat tab uses to show the device card.",
|
|
18840
|
+
"required": [
|
|
18841
|
+
"kind",
|
|
18842
|
+
"panelId",
|
|
18843
|
+
"name",
|
|
18844
|
+
"machine"
|
|
18845
|
+
],
|
|
18846
|
+
"properties": {
|
|
18847
|
+
"kind": {
|
|
18848
|
+
"const": "pane-device"
|
|
18849
|
+
},
|
|
18850
|
+
"panelId": {
|
|
18851
|
+
"type": "string"
|
|
18852
|
+
},
|
|
18853
|
+
"name": {
|
|
18854
|
+
"type": "string"
|
|
18855
|
+
},
|
|
18856
|
+
"os": {
|
|
18857
|
+
"type": "string"
|
|
18858
|
+
},
|
|
18859
|
+
"machine": {
|
|
18860
|
+
"type": "string"
|
|
18861
|
+
}
|
|
18862
|
+
},
|
|
18863
|
+
"additionalProperties": false
|
|
18864
|
+
},
|
|
18865
|
+
"next": {
|
|
18866
|
+
"type": "string"
|
|
18867
|
+
}
|
|
18868
|
+
},
|
|
18869
|
+
"additionalProperties": false
|
|
18870
|
+
},
|
|
18871
|
+
"devicesScreenshotResult": {
|
|
18872
|
+
"type": "object",
|
|
18873
|
+
"required": [
|
|
18874
|
+
"ok",
|
|
18875
|
+
"path",
|
|
18876
|
+
"mimeType"
|
|
18877
|
+
],
|
|
18878
|
+
"properties": {
|
|
18879
|
+
"ok": {
|
|
18880
|
+
"const": true
|
|
18881
|
+
},
|
|
18882
|
+
"path": {
|
|
18883
|
+
"type": "string",
|
|
18884
|
+
"description": "PNG on the caller's machine."
|
|
18885
|
+
},
|
|
18886
|
+
"mimeType": {
|
|
18887
|
+
"const": "image/png"
|
|
18888
|
+
},
|
|
18889
|
+
"width": {
|
|
18890
|
+
"type": "number"
|
|
18891
|
+
},
|
|
18892
|
+
"height": {
|
|
18893
|
+
"type": "number"
|
|
18894
|
+
}
|
|
18895
|
+
},
|
|
18896
|
+
"additionalProperties": false
|
|
18897
|
+
},
|
|
18898
|
+
"devicesActResult": {
|
|
18899
|
+
"type": "object",
|
|
18900
|
+
"required": [
|
|
18901
|
+
"ok",
|
|
18902
|
+
"exitCode",
|
|
18903
|
+
"output"
|
|
18904
|
+
],
|
|
18905
|
+
"properties": {
|
|
18906
|
+
"ok": {
|
|
18907
|
+
"const": true
|
|
18908
|
+
},
|
|
18909
|
+
"exitCode": {
|
|
18910
|
+
"type": "number",
|
|
18911
|
+
"description": "agent-device's exit code."
|
|
18912
|
+
},
|
|
18913
|
+
"output": {
|
|
18914
|
+
"type": "string",
|
|
18915
|
+
"description": "agent-device's output."
|
|
18916
|
+
}
|
|
18917
|
+
},
|
|
18918
|
+
"additionalProperties": false
|
|
18919
|
+
},
|
|
18920
|
+
"devicesRunResult": {
|
|
18921
|
+
"type": "object",
|
|
18922
|
+
"required": [
|
|
18923
|
+
"ok"
|
|
18924
|
+
],
|
|
18925
|
+
"properties": {
|
|
18926
|
+
"ok": {
|
|
18927
|
+
"const": true
|
|
18928
|
+
},
|
|
18929
|
+
"synced": {
|
|
18930
|
+
"type": "boolean"
|
|
18931
|
+
},
|
|
18932
|
+
"cwd": {
|
|
18933
|
+
"type": "string",
|
|
18934
|
+
"description": "Where the command ran: the worktree, or Pane's synced checkout on a linked Mac."
|
|
18935
|
+
},
|
|
18936
|
+
"machine": {
|
|
18937
|
+
"type": "string"
|
|
18938
|
+
},
|
|
18939
|
+
"jobId": {
|
|
18940
|
+
"type": "string"
|
|
18941
|
+
},
|
|
18942
|
+
"state": {
|
|
18943
|
+
"enum": [
|
|
18944
|
+
"running",
|
|
18945
|
+
"exited"
|
|
18946
|
+
]
|
|
18947
|
+
},
|
|
18948
|
+
"exitCode": {
|
|
18949
|
+
"type": "number"
|
|
18950
|
+
},
|
|
18951
|
+
"logTail": {
|
|
18952
|
+
"type": "string"
|
|
18953
|
+
}
|
|
18954
|
+
},
|
|
18955
|
+
"additionalProperties": false
|
|
18956
|
+
},
|
|
18957
|
+
"devicesCloseResult": {
|
|
18958
|
+
"type": "object",
|
|
18959
|
+
"required": [
|
|
18960
|
+
"ok",
|
|
18961
|
+
"closed",
|
|
18962
|
+
"jobsStopped"
|
|
18963
|
+
],
|
|
18964
|
+
"properties": {
|
|
18965
|
+
"ok": {
|
|
18966
|
+
"const": true
|
|
18967
|
+
},
|
|
18968
|
+
"closed": {
|
|
18969
|
+
"type": "array",
|
|
18970
|
+
"items": {
|
|
18971
|
+
"type": "string"
|
|
18972
|
+
}
|
|
18973
|
+
},
|
|
18974
|
+
"jobsStopped": {
|
|
18975
|
+
"type": "number"
|
|
18976
|
+
}
|
|
18977
|
+
},
|
|
18978
|
+
"additionalProperties": false
|
|
18979
|
+
},
|
|
18980
|
+
"devicesUsageResult": {
|
|
18981
|
+
"type": "object",
|
|
18982
|
+
"required": [
|
|
18983
|
+
"ok",
|
|
18984
|
+
"machines"
|
|
18985
|
+
],
|
|
18986
|
+
"properties": {
|
|
18987
|
+
"ok": {
|
|
18988
|
+
"const": true
|
|
18989
|
+
},
|
|
18990
|
+
"machines": {
|
|
18991
|
+
"type": "array",
|
|
18992
|
+
"items": {
|
|
18993
|
+
"type": "object",
|
|
18994
|
+
"required": [
|
|
18995
|
+
"machine",
|
|
18996
|
+
"devices",
|
|
18997
|
+
"helpers",
|
|
18998
|
+
"checkouts",
|
|
18999
|
+
"runtimes",
|
|
19000
|
+
"slimSim"
|
|
19001
|
+
],
|
|
19002
|
+
"properties": {
|
|
19003
|
+
"machine": {
|
|
19004
|
+
"type": "string"
|
|
19005
|
+
},
|
|
19006
|
+
"devices": {
|
|
19007
|
+
"type": "array",
|
|
19008
|
+
"items": {
|
|
19009
|
+
"type": "object",
|
|
19010
|
+
"required": [
|
|
19011
|
+
"id",
|
|
19012
|
+
"platform",
|
|
19013
|
+
"name",
|
|
19014
|
+
"os",
|
|
19015
|
+
"paneMade",
|
|
19016
|
+
"booted"
|
|
19017
|
+
],
|
|
19018
|
+
"properties": {
|
|
19019
|
+
"id": {
|
|
19020
|
+
"type": "string"
|
|
19021
|
+
},
|
|
19022
|
+
"platform": {
|
|
19023
|
+
"enum": [
|
|
19024
|
+
"ios",
|
|
19025
|
+
"android"
|
|
19026
|
+
]
|
|
19027
|
+
},
|
|
19028
|
+
"name": {
|
|
19029
|
+
"type": "string"
|
|
19030
|
+
},
|
|
19031
|
+
"os": {
|
|
19032
|
+
"type": "string",
|
|
19033
|
+
"description": "The device's OS runtime, such as iOS 27.0."
|
|
19034
|
+
},
|
|
19035
|
+
"paneMade": {
|
|
19036
|
+
"type": "boolean",
|
|
19037
|
+
"description": "Pane made it; false for simulators made outside Pane."
|
|
19038
|
+
},
|
|
19039
|
+
"booted": {
|
|
19040
|
+
"type": "boolean"
|
|
19041
|
+
},
|
|
19042
|
+
"heldBy": {
|
|
19043
|
+
"type": "string"
|
|
19044
|
+
},
|
|
19045
|
+
"lastUsedAt": {
|
|
19046
|
+
"type": "string"
|
|
19047
|
+
},
|
|
19048
|
+
"memoryBytes": {
|
|
19049
|
+
"type": "number"
|
|
19050
|
+
},
|
|
19051
|
+
"diskBytes": {
|
|
19052
|
+
"type": "number"
|
|
19053
|
+
}
|
|
19054
|
+
},
|
|
19055
|
+
"additionalProperties": false
|
|
19056
|
+
}
|
|
19057
|
+
},
|
|
19058
|
+
"helpers": {
|
|
19059
|
+
"type": "array",
|
|
19060
|
+
"items": {
|
|
19061
|
+
"type": "object",
|
|
19062
|
+
"required": [
|
|
19063
|
+
"name",
|
|
19064
|
+
"pid",
|
|
19065
|
+
"memoryBytes"
|
|
19066
|
+
],
|
|
19067
|
+
"properties": {
|
|
19068
|
+
"name": {
|
|
19069
|
+
"type": "string"
|
|
19070
|
+
},
|
|
19071
|
+
"pid": {
|
|
19072
|
+
"type": "number"
|
|
19073
|
+
},
|
|
19074
|
+
"memoryBytes": {
|
|
19075
|
+
"type": "number"
|
|
19076
|
+
}
|
|
19077
|
+
},
|
|
19078
|
+
"additionalProperties": false
|
|
19079
|
+
}
|
|
19080
|
+
},
|
|
19081
|
+
"checkouts": {
|
|
19082
|
+
"type": "array",
|
|
19083
|
+
"items": {
|
|
19084
|
+
"type": "object",
|
|
19085
|
+
"required": [
|
|
19086
|
+
"path",
|
|
19087
|
+
"bytes"
|
|
19088
|
+
],
|
|
19089
|
+
"properties": {
|
|
19090
|
+
"path": {
|
|
19091
|
+
"type": "string"
|
|
19092
|
+
},
|
|
19093
|
+
"bytes": {
|
|
19094
|
+
"type": "number"
|
|
19095
|
+
}
|
|
19096
|
+
},
|
|
19097
|
+
"additionalProperties": false
|
|
19098
|
+
}
|
|
19099
|
+
},
|
|
19100
|
+
"runtimes": {
|
|
19101
|
+
"type": "array",
|
|
19102
|
+
"description": "The OS runtimes and system images installed here, which devices are made from.",
|
|
19103
|
+
"items": {
|
|
19104
|
+
"type": "object",
|
|
19105
|
+
"required": [
|
|
19106
|
+
"platform",
|
|
19107
|
+
"name"
|
|
19108
|
+
],
|
|
19109
|
+
"properties": {
|
|
19110
|
+
"platform": {
|
|
19111
|
+
"enum": [
|
|
19112
|
+
"ios",
|
|
19113
|
+
"android"
|
|
19114
|
+
]
|
|
19115
|
+
},
|
|
19116
|
+
"name": {
|
|
19117
|
+
"type": "string"
|
|
19118
|
+
},
|
|
19119
|
+
"bytes": {
|
|
19120
|
+
"type": "number"
|
|
19121
|
+
}
|
|
19122
|
+
},
|
|
19123
|
+
"additionalProperties": false
|
|
19124
|
+
}
|
|
19125
|
+
},
|
|
19126
|
+
"slimSim": {
|
|
19127
|
+
"type": "boolean"
|
|
19128
|
+
}
|
|
19129
|
+
},
|
|
19130
|
+
"additionalProperties": false
|
|
19131
|
+
}
|
|
19132
|
+
}
|
|
19133
|
+
},
|
|
19134
|
+
"additionalProperties": false
|
|
19135
|
+
},
|
|
19136
|
+
"devicesFreeResult": {
|
|
19137
|
+
"type": "object",
|
|
19138
|
+
"required": [
|
|
19139
|
+
"ok",
|
|
19140
|
+
"machine",
|
|
19141
|
+
"shutdown",
|
|
19142
|
+
"deleted",
|
|
19143
|
+
"checkouts",
|
|
19144
|
+
"freedBytes"
|
|
19145
|
+
],
|
|
19146
|
+
"properties": {
|
|
19147
|
+
"ok": {
|
|
19148
|
+
"const": true
|
|
19149
|
+
},
|
|
19150
|
+
"machine": {
|
|
19151
|
+
"type": "string"
|
|
19152
|
+
},
|
|
19153
|
+
"shutdown": {
|
|
19154
|
+
"type": "array",
|
|
19155
|
+
"items": {
|
|
19156
|
+
"type": "string"
|
|
19157
|
+
}
|
|
19158
|
+
},
|
|
19159
|
+
"deleted": {
|
|
19160
|
+
"type": "array",
|
|
19161
|
+
"items": {
|
|
19162
|
+
"type": "string"
|
|
19163
|
+
}
|
|
19164
|
+
},
|
|
19165
|
+
"checkouts": {
|
|
19166
|
+
"type": "array",
|
|
19167
|
+
"description": "Build checkouts deleted (--all): those no Pane on this machine or a linked computer holds a device for.",
|
|
19168
|
+
"items": {
|
|
19169
|
+
"type": "string"
|
|
19170
|
+
}
|
|
19171
|
+
},
|
|
19172
|
+
"freedBytes": {
|
|
19173
|
+
"type": "number",
|
|
19174
|
+
"description": "Disk freed by the deleted devices and checkouts."
|
|
19175
|
+
}
|
|
19176
|
+
},
|
|
19177
|
+
"additionalProperties": false
|
|
19178
|
+
}
|
|
19179
|
+
},
|
|
19180
|
+
"agentContext": {
|
|
19181
|
+
"intro": {
|
|
19182
|
+
"humans": {
|
|
19183
|
+
"title": "For people",
|
|
19184
|
+
"sentences": [
|
|
19185
|
+
"Open a Session for each workstream and tell its agent what you want, in plain words.",
|
|
19186
|
+
"It plans the work, starts a Pane for each feature, and runs the builders, reviewers and QA as tabs inside them, so you don't have to.",
|
|
19187
|
+
"{approvals}",
|
|
19188
|
+
"When a feature is done, archiving its Pane cleans up its worktree and files for you."
|
|
19189
|
+
],
|
|
19190
|
+
"approvals": {
|
|
19191
|
+
"on": "Anything that needs you, like a decision, an approval or a merge, waits for you in Approvals while everything else keeps moving.",
|
|
19192
|
+
"off": "When the agent needs you for a decision, an approval or a merge, it asks in its terminal while everything else keeps moving."
|
|
19193
|
+
}
|
|
19194
|
+
},
|
|
19195
|
+
"agents": {
|
|
19196
|
+
"title": "For agents",
|
|
19197
|
+
"sentences": [
|
|
19198
|
+
"In Pane, work flows from a Session to Panes to tabs.",
|
|
19199
|
+
"A Session is a workstream: the person or an orchestrator opens it, and every Pane created or adopted from inside it joins it. When you are in one ($PANE_SESSION_DIR is set: you orchestrate it or your Pane belongs to it), start new Panes from there (each result's `association` names the Session they joined); when you are in none, work with several parts starts a new Session.",
|
|
19200
|
+
"Each feature gets one Pane, a git worktree on its own branch, and everything for that feature (the agent that builds it, its reviews, QA and fixes) runs as tabs inside it.",
|
|
19201
|
+
"Scratch files go in $PANE_SCRATCH_DIR inside the Pane.",
|
|
19202
|
+
"When the feature is done, archive the Pane and Pane cleans up its worktree, tabs and scratch files.",
|
|
19203
|
+
"{approvals}"
|
|
19204
|
+
],
|
|
19205
|
+
"approvals": {
|
|
19206
|
+
"on": "When you need the person, ask through Approvals (a Session worker reports blocked to its orchestrator instead).",
|
|
19207
|
+
"off": "When you need the person, ask in this terminal."
|
|
19208
|
+
}
|
|
19209
|
+
}
|
|
19210
|
+
},
|
|
19211
|
+
"workspaceRules": [
|
|
19212
|
+
"Session: where a workstream lives, and the default home for orchestrated work. Its folder ($PANE_SESSION_DIR) holds plans, notes and reports.",
|
|
19213
|
+
"Pane: one per feature (one worktree, one branch). Before creating one, find the feature's Pane (`runpane panes list --json`, match the branch) and create one only when none exists.",
|
|
19214
|
+
"Tab: reviews, review reruns, QA, fixes and follow-ups for a feature go in new tabs in its Pane (`runpane panels create --pane <id>`), never a new Pane or a plain `git worktree`.",
|
|
19215
|
+
"Scratch: in Pane, put temporary files, clones, captures, downloads, logs and test instances (an isolated PANE_DIR and HOME for QA) in `$PANE_SCRATCH_DIR`, not /tmp or your tool's own scratchpad. When the feature is done, archive the Pane and Pane cleans it up."
|
|
19216
|
+
],
|
|
19217
|
+
"brief": {
|
|
19218
|
+
"title": "Pane agent context",
|
|
19219
|
+
"summary": "Pane runs coding agents in parallel git worktrees. A Pane is a visible workspace for one feature or PR, with its own Pane-managed git worktree and branch; a panel is a terminal tab in a Pane and shares its worktree; an agent is a CLI process running in a panel.",
|
|
19220
|
+
"rules": [
|
|
19221
|
+
"Start with `runpane doctor --json` to understand wrapper, platform, daemon reachability, and the next safe commands before mutating Pane state.",
|
|
19222
|
+
"In a Pane repository checkout, if `runpane` is not on PATH, build the local wrapper with `pnpm --filter runpane build` and run it with patched Node 22.23.4+ (22.x), 24.22.1+ (24.x), or 26.12.1+ (26.x), for example `node packages/runpane/dist/cli.js doctor --json`.",
|
|
19223
|
+
"Happy path for any user request to use Pane/RunPane: run `runpane doctor --json`, read `runpane agent-context --json`, resolve or add the saved base repo, then route by the rule If the work's branch already has a Pane (find it with `runpane panes list --repo <repo> --json` by matching the PR's head branch against `git -C <worktreePath> branch --show-current`), open a new agent tab in it with `runpane panels create --pane <id> --agent <agent> --initial-input \"<task>\" --source agent --no-focus --wait-ready --yes --json`; only when the branch has no Pane yet, create one with a complete command such as `runpane panes create --repo <repo> --name <name> --agent <agent> --prompt \"<task>\" --source agent --no-focus --wait-ready --yes --json` (the new Pane is pinned by default; add `--no-pinned` for a throwaway Pane, add `--base-branch <ref>` to branch from something other than the repository default, or use `--tool-command <command>` instead of `--agent <agent>`), then validate with `panels wait` or `panels screen`. For long-lived supervision, use `runpane watch --follow` instead of polling wait or screen.",
|
|
19224
|
+
"Treat Pane as the user's visible cockpit for watching/co-driving work. Do not create Panes or panels for private delegation unless the user asked for visible Pane orchestration or the result should appear in the Pane app.",
|
|
19225
|
+
"Register the saved base repository once with `repos add`; do not register a pre-created worktree as a separate repo unless the user explicitly asks.",
|
|
18410
19226
|
"Use `panes create` only when the work's branch has no Pane yet (new work, or an existing PR with no Pane), since each new Pane creates a worktree. Every later agent for that branch opens as a new tab in its Pane with `panels create --pane <id>`, never a new Pane. Tabs share one checkout: only the implementer changes the branch or HEAD, one writer at a time; review, audit and QA tabs never run `git checkout`, `reset` or `stash`.",
|
|
18411
19227
|
"For private background decomposition, use your normal subagent/worktree mechanism instead of Pane.",
|
|
18412
19228
|
"Skill routing: Pane's skills live in `<PANE_DIR>/skills/pane-chat/skills/`, and the Pane Chat entry point is `<PANE_DIR>/skills/pane-chat/pane-orchestrator/SKILL.md`; read the skill that matches the request, such as `discussion`, `create-ticket`, `tdd`, `prepare-pr`, or `review`.",
|
|
@@ -19874,7 +20690,7 @@ exports.RUNPANE_CONTRACT = {
|
|
|
19874
20690
|
"name": "--worktree-name",
|
|
19875
20691
|
"value": "<name>",
|
|
19876
20692
|
"required": false,
|
|
19877
|
-
"description": "Worktree directory name; defaults to --name."
|
|
20693
|
+
"description": "Worktree directory name, cut to 100 characters at a word; defaults to --name."
|
|
19878
20694
|
},
|
|
19879
20695
|
{
|
|
19880
20696
|
"name": "--prompt",
|
|
@@ -25059,6 +25875,288 @@ exports.RUNPANE_CONTRACT = {
|
|
|
25059
25875
|
"notes": [
|
|
25060
25876
|
"The person's way back from any Custom theme; an agent switches away with `runpane theme set --theme <id>` instead."
|
|
25061
25877
|
]
|
|
25878
|
+
},
|
|
25879
|
+
"devices list": {
|
|
25880
|
+
"name": "devices list",
|
|
25881
|
+
"summary": "List the phone simulators and emulators this Pane can open: platform, name, OS, machine, state, and which Pane holds each.",
|
|
25882
|
+
"details": "Lists this machine's iOS simulators and Android emulators, plus the iOS machine Pane uses when this one has no Xcode. paneMade marks the devices Pane created; device_open uses those unless you name another.",
|
|
25883
|
+
"requiresPaneDaemon": true,
|
|
25884
|
+
"mutates": false,
|
|
25885
|
+
"arguments": [
|
|
25886
|
+
{
|
|
25887
|
+
"name": "--json",
|
|
25888
|
+
"required": false,
|
|
25889
|
+
"description": "Print machine-readable output."
|
|
25890
|
+
},
|
|
25891
|
+
{
|
|
25892
|
+
"name": "--pane-dir",
|
|
25893
|
+
"value": "<path>",
|
|
25894
|
+
"required": false,
|
|
25895
|
+
"description": "Connect to a specific Pane data directory."
|
|
25896
|
+
}
|
|
25897
|
+
],
|
|
25898
|
+
"examples": [
|
|
25899
|
+
"runpane devices list --json"
|
|
25900
|
+
],
|
|
25901
|
+
"notes": [
|
|
25902
|
+
"Acts only for the Pane of the calling tab: a call from outside a Pane tab, or for a device another Pane holds, is refused. Settings > Devices > Agent device tools turns these tools off."
|
|
25903
|
+
],
|
|
25904
|
+
"jsonSchemas": [
|
|
25905
|
+
"devicesListResult"
|
|
25906
|
+
]
|
|
25907
|
+
},
|
|
25908
|
+
"devices open": {
|
|
25909
|
+
"name": "devices open",
|
|
25910
|
+
"summary": "Boot a phone simulator or emulator for this Pane and show its live screen in a device tab beside the agent.",
|
|
25911
|
+
"details": "Leases a device to the calling tab's Pane and boots it. Without --device, Pane uses its own device (Pane iPhone or Pane_Android) and makes one from the newest installed runtime when needed. The first call on a machine installs Pane's device tools (agent-device and Expo's device hub), which takes a minute. When every device Pane may boot is held by another Pane, it waits up to 60 seconds, then fails with ERR_DEVICE_BUSY naming the holder. On a machine without Xcode, iOS opens on a linked Mac. Later device calls act on this device; you never pass it again.",
|
|
25912
|
+
"requiresPaneDaemon": true,
|
|
25913
|
+
"mutates": true,
|
|
25914
|
+
"arguments": [
|
|
25915
|
+
{
|
|
25916
|
+
"name": "--platform",
|
|
25917
|
+
"value": "<ios|android>",
|
|
25918
|
+
"required": true,
|
|
25919
|
+
"description": "ios for an iOS simulator, android for an Android emulator."
|
|
25920
|
+
},
|
|
25921
|
+
{
|
|
25922
|
+
"name": "--device",
|
|
25923
|
+
"value": "<name-or-id>",
|
|
25924
|
+
"required": false,
|
|
25925
|
+
"description": "One of the person's own devices by name or id, from device_list. Leave it out to use Pane's own device."
|
|
25926
|
+
},
|
|
25927
|
+
{
|
|
25928
|
+
"name": "--json",
|
|
25929
|
+
"required": false,
|
|
25930
|
+
"description": "Print machine-readable output."
|
|
25931
|
+
},
|
|
25932
|
+
{
|
|
25933
|
+
"name": "--pane-dir",
|
|
25934
|
+
"value": "<path>",
|
|
25935
|
+
"required": false,
|
|
25936
|
+
"description": "Connect to a specific Pane data directory."
|
|
25937
|
+
}
|
|
25938
|
+
],
|
|
25939
|
+
"examples": [
|
|
25940
|
+
"runpane devices open --platform ios --json"
|
|
25941
|
+
],
|
|
25942
|
+
"notes": [
|
|
25943
|
+
"Acts only for the Pane of the calling tab: a call from outside a Pane tab, or for a device another Pane holds, is refused. Settings > Devices > Agent device tools turns these tools off."
|
|
25944
|
+
],
|
|
25945
|
+
"jsonSchemas": [
|
|
25946
|
+
"devicesOpenResult"
|
|
25947
|
+
]
|
|
25948
|
+
},
|
|
25949
|
+
"devices screenshot": {
|
|
25950
|
+
"name": "devices screenshot",
|
|
25951
|
+
"summary": "Capture the screen of this Pane's open device as an image.",
|
|
25952
|
+
"details": "Returns the PNG's path; MCP clients also get the image itself.",
|
|
25953
|
+
"requiresPaneDaemon": true,
|
|
25954
|
+
"mutates": false,
|
|
25955
|
+
"arguments": [
|
|
25956
|
+
{
|
|
25957
|
+
"name": "--json",
|
|
25958
|
+
"required": false,
|
|
25959
|
+
"description": "Print machine-readable output."
|
|
25960
|
+
},
|
|
25961
|
+
{
|
|
25962
|
+
"name": "--pane-dir",
|
|
25963
|
+
"value": "<path>",
|
|
25964
|
+
"required": false,
|
|
25965
|
+
"description": "Connect to a specific Pane data directory."
|
|
25966
|
+
}
|
|
25967
|
+
],
|
|
25968
|
+
"examples": [
|
|
25969
|
+
"runpane devices screenshot --json"
|
|
25970
|
+
],
|
|
25971
|
+
"notes": [
|
|
25972
|
+
"Acts only for the Pane of the calling tab: a call from outside a Pane tab, or for a device another Pane holds, is refused. Settings > Devices > Agent device tools turns these tools off."
|
|
25973
|
+
],
|
|
25974
|
+
"jsonSchemas": [
|
|
25975
|
+
"devicesScreenshotResult"
|
|
25976
|
+
]
|
|
25977
|
+
},
|
|
25978
|
+
"devices act": {
|
|
25979
|
+
"name": "devices act",
|
|
25980
|
+
"summary": "Run an agent-device command on this Pane's open device: open an app, snapshot -i for element refs, press @e3, fill, swipe, install, logs.",
|
|
25981
|
+
"details": "Passes the command to agent-device, pinned to the device this Pane holds. Start with `open <app id>`, then `snapshot -i` for @refs, then `press @eN --settle`. agent-device's own help: `help workflow`. Flags that pick another device, session or daemon (--session, --device, --udid, --serial, --platform) are refused.",
|
|
25982
|
+
"requiresPaneDaemon": true,
|
|
25983
|
+
"mutates": true,
|
|
25984
|
+
"arguments": [
|
|
25985
|
+
{
|
|
25986
|
+
"name": "-- <command>",
|
|
25987
|
+
"required": true,
|
|
25988
|
+
"description": "The agent-device command and its arguments, such as `snapshot -i` or `press @e3 --settle`."
|
|
25989
|
+
},
|
|
25990
|
+
{
|
|
25991
|
+
"name": "--json",
|
|
25992
|
+
"required": false,
|
|
25993
|
+
"description": "Print machine-readable output."
|
|
25994
|
+
},
|
|
25995
|
+
{
|
|
25996
|
+
"name": "--pane-dir",
|
|
25997
|
+
"value": "<path>",
|
|
25998
|
+
"required": false,
|
|
25999
|
+
"description": "Connect to a specific Pane data directory."
|
|
26000
|
+
}
|
|
26001
|
+
],
|
|
26002
|
+
"examples": [
|
|
26003
|
+
"runpane devices act --json -- open com.apple.Preferences",
|
|
26004
|
+
"runpane devices act --json -- snapshot -i"
|
|
26005
|
+
],
|
|
26006
|
+
"notes": [
|
|
26007
|
+
"Acts only for the Pane of the calling tab: a call from outside a Pane tab, or for a device another Pane holds, is refused. Settings > Devices > Agent device tools turns these tools off."
|
|
26008
|
+
],
|
|
26009
|
+
"jsonSchemas": [
|
|
26010
|
+
"devicesActResult"
|
|
26011
|
+
]
|
|
26012
|
+
},
|
|
26013
|
+
"devices run": {
|
|
26014
|
+
"name": "devices run",
|
|
26015
|
+
"summary": "Run a command where this Pane's device runs, such as a build (npx expo run:ios) or Metro with --background.",
|
|
26016
|
+
"details": "On this machine it runs in the Pane's worktree. When the device runs on a linked Mac, Pane first syncs the worktree there (uncommitted changes included) and runs in Pane's checkout on the Mac. It waits up to --wait-ms (default 120000) and returns the exit code and log tail, or a jobId while it still runs. --background keeps a server such as Metro running until device_close. Pass an empty command to sync only.",
|
|
26017
|
+
"requiresPaneDaemon": true,
|
|
26018
|
+
"mutates": true,
|
|
26019
|
+
"arguments": [
|
|
26020
|
+
{
|
|
26021
|
+
"name": "--background",
|
|
26022
|
+
"required": false,
|
|
26023
|
+
"description": "Keep the command running after the call returns (Metro); it stops at device_close."
|
|
26024
|
+
},
|
|
26025
|
+
{
|
|
26026
|
+
"name": "--wait-ms",
|
|
26027
|
+
"value": "<milliseconds>",
|
|
26028
|
+
"required": false,
|
|
26029
|
+
"description": "How long to wait for the command to exit (default 120000)."
|
|
26030
|
+
},
|
|
26031
|
+
{
|
|
26032
|
+
"name": "-- <command>",
|
|
26033
|
+
"required": true,
|
|
26034
|
+
"description": "The command line to run, or empty to sync only."
|
|
26035
|
+
},
|
|
26036
|
+
{
|
|
26037
|
+
"name": "--json",
|
|
26038
|
+
"required": false,
|
|
26039
|
+
"description": "Print machine-readable output."
|
|
26040
|
+
},
|
|
26041
|
+
{
|
|
26042
|
+
"name": "--pane-dir",
|
|
26043
|
+
"value": "<path>",
|
|
26044
|
+
"required": false,
|
|
26045
|
+
"description": "Connect to a specific Pane data directory."
|
|
26046
|
+
}
|
|
26047
|
+
],
|
|
26048
|
+
"examples": [
|
|
26049
|
+
"runpane devices run --json -- npx expo run:ios",
|
|
26050
|
+
"runpane devices run --background --json -- npx expo start"
|
|
26051
|
+
],
|
|
26052
|
+
"notes": [
|
|
26053
|
+
"Acts only for the Pane of the calling tab: a call from outside a Pane tab, or for a device another Pane holds, is refused. Settings > Devices > Agent device tools turns these tools off."
|
|
26054
|
+
],
|
|
26055
|
+
"jsonSchemas": [
|
|
26056
|
+
"devicesRunResult"
|
|
26057
|
+
]
|
|
26058
|
+
},
|
|
26059
|
+
"devices close": {
|
|
26060
|
+
"name": "devices close",
|
|
26061
|
+
"summary": "Release this Pane's device and stop the commands device_run started. The device stays warm for 10 minutes.",
|
|
26062
|
+
"details": "Ends the lease so another Pane can use the device. It shuts down 10 minutes later unless a Pane opens it again.",
|
|
26063
|
+
"requiresPaneDaemon": true,
|
|
26064
|
+
"mutates": true,
|
|
26065
|
+
"arguments": [
|
|
26066
|
+
{
|
|
26067
|
+
"name": "--json",
|
|
26068
|
+
"required": false,
|
|
26069
|
+
"description": "Print machine-readable output."
|
|
26070
|
+
},
|
|
26071
|
+
{
|
|
26072
|
+
"name": "--pane-dir",
|
|
26073
|
+
"value": "<path>",
|
|
26074
|
+
"required": false,
|
|
26075
|
+
"description": "Connect to a specific Pane data directory."
|
|
26076
|
+
}
|
|
26077
|
+
],
|
|
26078
|
+
"examples": [
|
|
26079
|
+
"runpane devices close --json"
|
|
26080
|
+
],
|
|
26081
|
+
"notes": [
|
|
26082
|
+
"Acts only for the Pane of the calling tab: a call from outside a Pane tab, or for a device another Pane holds, is refused. Settings > Devices > Agent device tools turns these tools off."
|
|
26083
|
+
],
|
|
26084
|
+
"jsonSchemas": [
|
|
26085
|
+
"devicesCloseResult"
|
|
26086
|
+
]
|
|
26087
|
+
},
|
|
26088
|
+
"devices usage": {
|
|
26089
|
+
"name": "devices usage",
|
|
26090
|
+
"summary": "Report every simulator and emulator on this machine, and the memory and disk they, Pane's device tools and build checkouts use.",
|
|
26091
|
+
"details": "For machine health. Lists every simulator and emulator on this machine, including ones made outside Pane (paneMade false), with OS, disk and, when booted, memory (simslim measure when installed, otherwise the simulator's processes).",
|
|
26092
|
+
"requiresPaneDaemon": true,
|
|
26093
|
+
"mutates": false,
|
|
26094
|
+
"arguments": [
|
|
26095
|
+
{
|
|
26096
|
+
"name": "--json",
|
|
26097
|
+
"required": false,
|
|
26098
|
+
"description": "Print machine-readable output."
|
|
26099
|
+
},
|
|
26100
|
+
{
|
|
26101
|
+
"name": "--pane-dir",
|
|
26102
|
+
"value": "<path>",
|
|
26103
|
+
"required": false,
|
|
26104
|
+
"description": "Connect to a specific Pane data directory."
|
|
26105
|
+
}
|
|
26106
|
+
],
|
|
26107
|
+
"examples": [
|
|
26108
|
+
"runpane devices usage --json"
|
|
26109
|
+
],
|
|
26110
|
+
"notes": [
|
|
26111
|
+
"For machine health: answers only callers on this machine, and never touches the person's own devices or runtimes."
|
|
26112
|
+
],
|
|
26113
|
+
"jsonSchemas": [
|
|
26114
|
+
"devicesUsageResult"
|
|
26115
|
+
]
|
|
26116
|
+
},
|
|
26117
|
+
"devices free": {
|
|
26118
|
+
"name": "devices free",
|
|
26119
|
+
"summary": "Shut down unused devices (--idle), or also delete every unused device Pane made (--all).",
|
|
26120
|
+
"details": "Never touches the person's own devices or runtimes, or a device a Pane holds.",
|
|
26121
|
+
"requiresPaneDaemon": true,
|
|
26122
|
+
"mutates": true,
|
|
26123
|
+
"arguments": [
|
|
26124
|
+
{
|
|
26125
|
+
"name": "--idle",
|
|
26126
|
+
"required": false,
|
|
26127
|
+
"description": "Shut down Pane's devices no Pane holds."
|
|
26128
|
+
},
|
|
26129
|
+
{
|
|
26130
|
+
"name": "--all",
|
|
26131
|
+
"required": false,
|
|
26132
|
+
"description": "Also erase and delete them."
|
|
26133
|
+
},
|
|
26134
|
+
{
|
|
26135
|
+
"name": "--yes",
|
|
26136
|
+
"required": true,
|
|
26137
|
+
"description": "Confirm the change."
|
|
26138
|
+
},
|
|
26139
|
+
{
|
|
26140
|
+
"name": "--json",
|
|
26141
|
+
"required": false,
|
|
26142
|
+
"description": "Print machine-readable output."
|
|
26143
|
+
},
|
|
26144
|
+
{
|
|
26145
|
+
"name": "--pane-dir",
|
|
26146
|
+
"value": "<path>",
|
|
26147
|
+
"required": false,
|
|
26148
|
+
"description": "Connect to a specific Pane data directory."
|
|
26149
|
+
}
|
|
26150
|
+
],
|
|
26151
|
+
"examples": [
|
|
26152
|
+
"runpane devices free --idle --yes --json"
|
|
26153
|
+
],
|
|
26154
|
+
"notes": [
|
|
26155
|
+
"For machine health: answers only callers on this machine, and never touches the person's own devices or runtimes."
|
|
26156
|
+
],
|
|
26157
|
+
"jsonSchemas": [
|
|
26158
|
+
"devicesFreeResult"
|
|
26159
|
+
]
|
|
25062
26160
|
}
|
|
25063
26161
|
},
|
|
25064
26162
|
"managedBlock": [
|
|
@@ -25072,6 +26170,8 @@ exports.RUNPANE_CONTRACT = {
|
|
|
25072
26170
|
"",
|
|
25073
26171
|
"CLI: `npm i -g runpane` (or `npx --yes runpane@latest`), then `runpane doctor --json`. Full command reference: `runpane agent-context --json`.",
|
|
25074
26172
|
"",
|
|
26173
|
+
"Devices: the `device_*` MCP tools (or `runpane devices`) open an iOS simulator or Android emulator as a tab in the calling Pane, then drive it. `runpane docs read --doc docs/DEVICES.md` has the rest.",
|
|
26174
|
+
"",
|
|
25075
26175
|
"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."
|
|
25076
26176
|
],
|
|
25077
26177
|
"notifyGuidance": {
|