@overdeck/contracts 0.87.1 → 0.88.0
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/index.cjs +799 -0
- package/dist/index.d.ts +19 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +795 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -7905,6 +7905,7 @@ const TELEMETRY_CLIENT_ROUTE_AREAS = [
|
|
|
7905
7905
|
"resume-all",
|
|
7906
7906
|
"review",
|
|
7907
7907
|
"self",
|
|
7908
|
+
"semgrep",
|
|
7908
7909
|
"session-trees",
|
|
7909
7910
|
"settings",
|
|
7910
7911
|
"shadow",
|
|
@@ -10421,6 +10422,781 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
10421
10422
|
"aliases": [],
|
|
10422
10423
|
"category": "Core"
|
|
10423
10424
|
},
|
|
10425
|
+
{
|
|
10426
|
+
"id": "pan-semgrep",
|
|
10427
|
+
"path": ["semgrep"],
|
|
10428
|
+
"display": "/pan semgrep",
|
|
10429
|
+
"description": "Semgrep support (opt-in SAST)",
|
|
10430
|
+
"args": [],
|
|
10431
|
+
"options": [],
|
|
10432
|
+
"aliases": [],
|
|
10433
|
+
"category": "Core"
|
|
10434
|
+
},
|
|
10435
|
+
{
|
|
10436
|
+
"id": "pan-semgrep-ci-setup",
|
|
10437
|
+
"path": ["semgrep", "ci-setup"],
|
|
10438
|
+
"display": "/pan semgrep ci-setup",
|
|
10439
|
+
"description": "Open a pull request that adds a Semgrep GitHub Actions workflow to a project (its commit skips repository hooks)",
|
|
10440
|
+
"args": [{
|
|
10441
|
+
"name": "project",
|
|
10442
|
+
"required": true,
|
|
10443
|
+
"variadic": false
|
|
10444
|
+
}],
|
|
10445
|
+
"options": [{
|
|
10446
|
+
"flags": "--sarif-upload",
|
|
10447
|
+
"description": "Also scan base-branch pushes and upload results to GitHub code scanning",
|
|
10448
|
+
"required": false,
|
|
10449
|
+
"valueHint": null
|
|
10450
|
+
}, {
|
|
10451
|
+
"flags": "--dry-run",
|
|
10452
|
+
"description": "Print the workflow and the target, and change nothing",
|
|
10453
|
+
"required": false,
|
|
10454
|
+
"valueHint": null
|
|
10455
|
+
}],
|
|
10456
|
+
"aliases": [],
|
|
10457
|
+
"category": "Core"
|
|
10458
|
+
},
|
|
10459
|
+
{
|
|
10460
|
+
"id": "pan-computer",
|
|
10461
|
+
"path": ["computer"],
|
|
10462
|
+
"display": "/pan computer",
|
|
10463
|
+
"description": "Let agents read and operate local desktop apps (opt-in, Linux)",
|
|
10464
|
+
"args": [],
|
|
10465
|
+
"options": [],
|
|
10466
|
+
"aliases": [],
|
|
10467
|
+
"category": "Core"
|
|
10468
|
+
},
|
|
10469
|
+
{
|
|
10470
|
+
"id": "pan-computer-capabilities",
|
|
10471
|
+
"path": ["computer", "capabilities"],
|
|
10472
|
+
"display": "/pan computer capabilities",
|
|
10473
|
+
"description": "Report platform, opt-in and desktop-session readiness",
|
|
10474
|
+
"args": [],
|
|
10475
|
+
"options": [{
|
|
10476
|
+
"flags": "--json",
|
|
10477
|
+
"description": "Print a stable JSON shape instead of text",
|
|
10478
|
+
"required": false,
|
|
10479
|
+
"valueHint": null
|
|
10480
|
+
}],
|
|
10481
|
+
"aliases": [],
|
|
10482
|
+
"category": "Core"
|
|
10483
|
+
},
|
|
10484
|
+
{
|
|
10485
|
+
"id": "pan-computer-list-apps",
|
|
10486
|
+
"path": ["computer", "list-apps"],
|
|
10487
|
+
"display": "/pan computer list-apps",
|
|
10488
|
+
"description": "List open apps with windows",
|
|
10489
|
+
"args": [],
|
|
10490
|
+
"options": [{
|
|
10491
|
+
"flags": "--json",
|
|
10492
|
+
"description": "Print a stable JSON shape instead of text",
|
|
10493
|
+
"required": false,
|
|
10494
|
+
"valueHint": null
|
|
10495
|
+
}],
|
|
10496
|
+
"aliases": [],
|
|
10497
|
+
"category": "Core"
|
|
10498
|
+
},
|
|
10499
|
+
{
|
|
10500
|
+
"id": "pan-computer-list-windows",
|
|
10501
|
+
"path": ["computer", "list-windows"],
|
|
10502
|
+
"display": "/pan computer list-windows",
|
|
10503
|
+
"description": "List an app's windows",
|
|
10504
|
+
"args": [],
|
|
10505
|
+
"options": [{
|
|
10506
|
+
"flags": "--app <app>",
|
|
10507
|
+
"description": "App name, or pid:<n>",
|
|
10508
|
+
"required": true,
|
|
10509
|
+
"valueHint": "app"
|
|
10510
|
+
}, {
|
|
10511
|
+
"flags": "--json",
|
|
10512
|
+
"description": "Print a stable JSON shape instead of text",
|
|
10513
|
+
"required": false,
|
|
10514
|
+
"valueHint": null
|
|
10515
|
+
}],
|
|
10516
|
+
"aliases": [],
|
|
10517
|
+
"category": "Core"
|
|
10518
|
+
},
|
|
10519
|
+
{
|
|
10520
|
+
"id": "pan-computer-get-app-state",
|
|
10521
|
+
"path": ["computer", "get-app-state"],
|
|
10522
|
+
"display": "/pan computer get-app-state",
|
|
10523
|
+
"description": "Read an app window's accessibility tree and screenshot",
|
|
10524
|
+
"args": [],
|
|
10525
|
+
"options": [
|
|
10526
|
+
{
|
|
10527
|
+
"flags": "--app <app>",
|
|
10528
|
+
"description": "App name, or pid:<n>",
|
|
10529
|
+
"required": true,
|
|
10530
|
+
"valueHint": "app"
|
|
10531
|
+
},
|
|
10532
|
+
{
|
|
10533
|
+
"flags": "--element-index <n>",
|
|
10534
|
+
"description": "Read this cached element as a subtree root",
|
|
10535
|
+
"required": true,
|
|
10536
|
+
"valueHint": "n"
|
|
10537
|
+
},
|
|
10538
|
+
{
|
|
10539
|
+
"flags": "--query <text>",
|
|
10540
|
+
"description": "Keep only tree lines matching this text, plus their ancestors",
|
|
10541
|
+
"required": true,
|
|
10542
|
+
"valueHint": "text"
|
|
10543
|
+
},
|
|
10544
|
+
{
|
|
10545
|
+
"flags": "--max-elements <n>",
|
|
10546
|
+
"description": "Cap the number of matching lines kept by --query",
|
|
10547
|
+
"required": true,
|
|
10548
|
+
"valueHint": "n"
|
|
10549
|
+
},
|
|
10550
|
+
{
|
|
10551
|
+
"flags": "--window-index <n>",
|
|
10552
|
+
"description": "Window index (default: the first window)",
|
|
10553
|
+
"required": true,
|
|
10554
|
+
"valueHint": "n"
|
|
10555
|
+
},
|
|
10556
|
+
{
|
|
10557
|
+
"flags": "--restore-window",
|
|
10558
|
+
"description": "Bring the window forward first",
|
|
10559
|
+
"required": false,
|
|
10560
|
+
"valueHint": null
|
|
10561
|
+
},
|
|
10562
|
+
{
|
|
10563
|
+
"flags": "--no-screenshot",
|
|
10564
|
+
"description": "Skip taking a screenshot",
|
|
10565
|
+
"required": false,
|
|
10566
|
+
"valueHint": null
|
|
10567
|
+
},
|
|
10568
|
+
{
|
|
10569
|
+
"flags": "--json",
|
|
10570
|
+
"description": "Print a stable JSON shape instead of text",
|
|
10571
|
+
"required": false,
|
|
10572
|
+
"valueHint": null
|
|
10573
|
+
}
|
|
10574
|
+
],
|
|
10575
|
+
"aliases": [],
|
|
10576
|
+
"category": "Core"
|
|
10577
|
+
},
|
|
10578
|
+
{
|
|
10579
|
+
"id": "pan-computer-wait",
|
|
10580
|
+
"path": ["computer", "wait"],
|
|
10581
|
+
"display": "/pan computer wait",
|
|
10582
|
+
"description": "Poll app state until a text, enabled or window-title condition holds",
|
|
10583
|
+
"args": [],
|
|
10584
|
+
"options": [
|
|
10585
|
+
{
|
|
10586
|
+
"flags": "--app <app>",
|
|
10587
|
+
"description": "App name, or pid:<n>",
|
|
10588
|
+
"required": true,
|
|
10589
|
+
"valueHint": "app"
|
|
10590
|
+
},
|
|
10591
|
+
{
|
|
10592
|
+
"flags": "--text <t>",
|
|
10593
|
+
"description": "Succeed once a tree line contains this text",
|
|
10594
|
+
"required": true,
|
|
10595
|
+
"valueHint": "t"
|
|
10596
|
+
},
|
|
10597
|
+
{
|
|
10598
|
+
"flags": "--enabled <t>",
|
|
10599
|
+
"description": "Succeed once a line containing this text is no longer marked disabled",
|
|
10600
|
+
"required": true,
|
|
10601
|
+
"valueHint": "t"
|
|
10602
|
+
},
|
|
10603
|
+
{
|
|
10604
|
+
"flags": "--window-title <t>",
|
|
10605
|
+
"description": "Succeed once a window title contains this text",
|
|
10606
|
+
"required": true,
|
|
10607
|
+
"valueHint": "t"
|
|
10608
|
+
},
|
|
10609
|
+
{
|
|
10610
|
+
"flags": "--timeout <ms>",
|
|
10611
|
+
"description": "Give up after this many milliseconds (default 10000, max 120000)",
|
|
10612
|
+
"required": true,
|
|
10613
|
+
"valueHint": "ms"
|
|
10614
|
+
},
|
|
10615
|
+
{
|
|
10616
|
+
"flags": "--json",
|
|
10617
|
+
"description": "Print a stable JSON shape instead of text",
|
|
10618
|
+
"required": false,
|
|
10619
|
+
"valueHint": null
|
|
10620
|
+
}
|
|
10621
|
+
],
|
|
10622
|
+
"aliases": [],
|
|
10623
|
+
"category": "Core"
|
|
10624
|
+
},
|
|
10625
|
+
{
|
|
10626
|
+
"id": "pan-computer-click",
|
|
10627
|
+
"path": ["computer", "click"],
|
|
10628
|
+
"display": "/pan computer click",
|
|
10629
|
+
"description": "Click an element or a window-local coordinate",
|
|
10630
|
+
"args": [],
|
|
10631
|
+
"options": [
|
|
10632
|
+
{
|
|
10633
|
+
"flags": "--app <app>",
|
|
10634
|
+
"description": "App name, or pid:<n>",
|
|
10635
|
+
"required": true,
|
|
10636
|
+
"valueHint": "app"
|
|
10637
|
+
},
|
|
10638
|
+
{
|
|
10639
|
+
"flags": "--element-index <n>",
|
|
10640
|
+
"description": "Cached element to click",
|
|
10641
|
+
"required": true,
|
|
10642
|
+
"valueHint": "n"
|
|
10643
|
+
},
|
|
10644
|
+
{
|
|
10645
|
+
"flags": "--x <n>",
|
|
10646
|
+
"description": "Window-local x coordinate",
|
|
10647
|
+
"required": true,
|
|
10648
|
+
"valueHint": "n"
|
|
10649
|
+
},
|
|
10650
|
+
{
|
|
10651
|
+
"flags": "--y <n>",
|
|
10652
|
+
"description": "Window-local y coordinate",
|
|
10653
|
+
"required": true,
|
|
10654
|
+
"valueHint": "n"
|
|
10655
|
+
},
|
|
10656
|
+
{
|
|
10657
|
+
"flags": "--mouse-button <b>",
|
|
10658
|
+
"description": "Mouse button",
|
|
10659
|
+
"required": true,
|
|
10660
|
+
"valueHint": "b"
|
|
10661
|
+
},
|
|
10662
|
+
{
|
|
10663
|
+
"flags": "--click-count <n>",
|
|
10664
|
+
"description": "Clicks (2 for a double-click)",
|
|
10665
|
+
"required": true,
|
|
10666
|
+
"valueHint": "n"
|
|
10667
|
+
},
|
|
10668
|
+
{
|
|
10669
|
+
"flags": "--modifiers <chord>",
|
|
10670
|
+
"description": "Modifier keys held during the click, e.g. shift",
|
|
10671
|
+
"required": true,
|
|
10672
|
+
"valueHint": "chord"
|
|
10673
|
+
},
|
|
10674
|
+
{
|
|
10675
|
+
"flags": "--window-index <n>",
|
|
10676
|
+
"description": "Window index (default: the first window)",
|
|
10677
|
+
"required": true,
|
|
10678
|
+
"valueHint": "n"
|
|
10679
|
+
},
|
|
10680
|
+
{
|
|
10681
|
+
"flags": "--restore-window",
|
|
10682
|
+
"description": "Bring the window forward first",
|
|
10683
|
+
"required": false,
|
|
10684
|
+
"valueHint": null
|
|
10685
|
+
},
|
|
10686
|
+
{
|
|
10687
|
+
"flags": "--no-screenshot",
|
|
10688
|
+
"description": "Skip taking a screenshot",
|
|
10689
|
+
"required": false,
|
|
10690
|
+
"valueHint": null
|
|
10691
|
+
},
|
|
10692
|
+
{
|
|
10693
|
+
"flags": "--json",
|
|
10694
|
+
"description": "Print a stable JSON shape instead of text",
|
|
10695
|
+
"required": false,
|
|
10696
|
+
"valueHint": null
|
|
10697
|
+
}
|
|
10698
|
+
],
|
|
10699
|
+
"aliases": [],
|
|
10700
|
+
"category": "Core"
|
|
10701
|
+
},
|
|
10702
|
+
{
|
|
10703
|
+
"id": "pan-computer-perform-secondary-action",
|
|
10704
|
+
"path": ["computer", "perform-secondary-action"],
|
|
10705
|
+
"display": "/pan computer perform-secondary-action",
|
|
10706
|
+
"description": "Run one of an element's secondary accessibility actions",
|
|
10707
|
+
"args": [],
|
|
10708
|
+
"options": [
|
|
10709
|
+
{
|
|
10710
|
+
"flags": "--app <app>",
|
|
10711
|
+
"description": "App name, or pid:<n>",
|
|
10712
|
+
"required": true,
|
|
10713
|
+
"valueHint": "app"
|
|
10714
|
+
},
|
|
10715
|
+
{
|
|
10716
|
+
"flags": "--element-index <n>",
|
|
10717
|
+
"description": "Cached element",
|
|
10718
|
+
"required": true,
|
|
10719
|
+
"valueHint": "n"
|
|
10720
|
+
},
|
|
10721
|
+
{
|
|
10722
|
+
"flags": "--action <name>",
|
|
10723
|
+
"description": "Secondary action name, from the element's accessibility actions",
|
|
10724
|
+
"required": true,
|
|
10725
|
+
"valueHint": "name"
|
|
10726
|
+
},
|
|
10727
|
+
{
|
|
10728
|
+
"flags": "--window-index <n>",
|
|
10729
|
+
"description": "Window index (default: the first window)",
|
|
10730
|
+
"required": true,
|
|
10731
|
+
"valueHint": "n"
|
|
10732
|
+
},
|
|
10733
|
+
{
|
|
10734
|
+
"flags": "--restore-window",
|
|
10735
|
+
"description": "Bring the window forward first",
|
|
10736
|
+
"required": false,
|
|
10737
|
+
"valueHint": null
|
|
10738
|
+
},
|
|
10739
|
+
{
|
|
10740
|
+
"flags": "--no-screenshot",
|
|
10741
|
+
"description": "Skip taking a screenshot",
|
|
10742
|
+
"required": false,
|
|
10743
|
+
"valueHint": null
|
|
10744
|
+
},
|
|
10745
|
+
{
|
|
10746
|
+
"flags": "--json",
|
|
10747
|
+
"description": "Print a stable JSON shape instead of text",
|
|
10748
|
+
"required": false,
|
|
10749
|
+
"valueHint": null
|
|
10750
|
+
}
|
|
10751
|
+
],
|
|
10752
|
+
"aliases": [],
|
|
10753
|
+
"category": "Core"
|
|
10754
|
+
},
|
|
10755
|
+
{
|
|
10756
|
+
"id": "pan-computer-set-value",
|
|
10757
|
+
"path": ["computer", "set-value"],
|
|
10758
|
+
"display": "/pan computer set-value",
|
|
10759
|
+
"description": "Set an element's value directly through accessibility",
|
|
10760
|
+
"args": [],
|
|
10761
|
+
"options": [
|
|
10762
|
+
{
|
|
10763
|
+
"flags": "--app <app>",
|
|
10764
|
+
"description": "App name, or pid:<n>",
|
|
10765
|
+
"required": true,
|
|
10766
|
+
"valueHint": "app"
|
|
10767
|
+
},
|
|
10768
|
+
{
|
|
10769
|
+
"flags": "--element-index <n>",
|
|
10770
|
+
"description": "Cached element",
|
|
10771
|
+
"required": true,
|
|
10772
|
+
"valueHint": "n"
|
|
10773
|
+
},
|
|
10774
|
+
{
|
|
10775
|
+
"flags": "--value <v>",
|
|
10776
|
+
"description": "New value",
|
|
10777
|
+
"required": true,
|
|
10778
|
+
"valueHint": "v"
|
|
10779
|
+
},
|
|
10780
|
+
{
|
|
10781
|
+
"flags": "--value-stdin",
|
|
10782
|
+
"description": "Read the new value from stdin, instead of argv",
|
|
10783
|
+
"required": false,
|
|
10784
|
+
"valueHint": null
|
|
10785
|
+
},
|
|
10786
|
+
{
|
|
10787
|
+
"flags": "--window-index <n>",
|
|
10788
|
+
"description": "Window index (default: the first window)",
|
|
10789
|
+
"required": true,
|
|
10790
|
+
"valueHint": "n"
|
|
10791
|
+
},
|
|
10792
|
+
{
|
|
10793
|
+
"flags": "--restore-window",
|
|
10794
|
+
"description": "Bring the window forward first",
|
|
10795
|
+
"required": false,
|
|
10796
|
+
"valueHint": null
|
|
10797
|
+
},
|
|
10798
|
+
{
|
|
10799
|
+
"flags": "--no-screenshot",
|
|
10800
|
+
"description": "Skip taking a screenshot",
|
|
10801
|
+
"required": false,
|
|
10802
|
+
"valueHint": null
|
|
10803
|
+
},
|
|
10804
|
+
{
|
|
10805
|
+
"flags": "--json",
|
|
10806
|
+
"description": "Print a stable JSON shape instead of text",
|
|
10807
|
+
"required": false,
|
|
10808
|
+
"valueHint": null
|
|
10809
|
+
}
|
|
10810
|
+
],
|
|
10811
|
+
"aliases": [],
|
|
10812
|
+
"category": "Core"
|
|
10813
|
+
},
|
|
10814
|
+
{
|
|
10815
|
+
"id": "pan-computer-type-text",
|
|
10816
|
+
"path": ["computer", "type-text"],
|
|
10817
|
+
"display": "/pan computer type-text",
|
|
10818
|
+
"description": "Type text at an element or the current focus",
|
|
10819
|
+
"args": [],
|
|
10820
|
+
"options": [
|
|
10821
|
+
{
|
|
10822
|
+
"flags": "--app <app>",
|
|
10823
|
+
"description": "App name, or pid:<n>",
|
|
10824
|
+
"required": true,
|
|
10825
|
+
"valueHint": "app"
|
|
10826
|
+
},
|
|
10827
|
+
{
|
|
10828
|
+
"flags": "--element-index <n>",
|
|
10829
|
+
"description": "Element to type into (default: the focused element)",
|
|
10830
|
+
"required": true,
|
|
10831
|
+
"valueHint": "n"
|
|
10832
|
+
},
|
|
10833
|
+
{
|
|
10834
|
+
"flags": "--text <t>",
|
|
10835
|
+
"description": "Text to type",
|
|
10836
|
+
"required": true,
|
|
10837
|
+
"valueHint": "t"
|
|
10838
|
+
},
|
|
10839
|
+
{
|
|
10840
|
+
"flags": "--text-stdin",
|
|
10841
|
+
"description": "Read the text to type from stdin, instead of argv",
|
|
10842
|
+
"required": false,
|
|
10843
|
+
"valueHint": null
|
|
10844
|
+
},
|
|
10845
|
+
{
|
|
10846
|
+
"flags": "--window-index <n>",
|
|
10847
|
+
"description": "Window index (default: the first window)",
|
|
10848
|
+
"required": true,
|
|
10849
|
+
"valueHint": "n"
|
|
10850
|
+
},
|
|
10851
|
+
{
|
|
10852
|
+
"flags": "--restore-window",
|
|
10853
|
+
"description": "Bring the window forward first",
|
|
10854
|
+
"required": false,
|
|
10855
|
+
"valueHint": null
|
|
10856
|
+
},
|
|
10857
|
+
{
|
|
10858
|
+
"flags": "--no-screenshot",
|
|
10859
|
+
"description": "Skip taking a screenshot",
|
|
10860
|
+
"required": false,
|
|
10861
|
+
"valueHint": null
|
|
10862
|
+
},
|
|
10863
|
+
{
|
|
10864
|
+
"flags": "--json",
|
|
10865
|
+
"description": "Print a stable JSON shape instead of text",
|
|
10866
|
+
"required": false,
|
|
10867
|
+
"valueHint": null
|
|
10868
|
+
}
|
|
10869
|
+
],
|
|
10870
|
+
"aliases": [],
|
|
10871
|
+
"category": "Core"
|
|
10872
|
+
},
|
|
10873
|
+
{
|
|
10874
|
+
"id": "pan-computer-press-key",
|
|
10875
|
+
"path": ["computer", "press-key"],
|
|
10876
|
+
"display": "/pan computer press-key",
|
|
10877
|
+
"description": "Press a single key",
|
|
10878
|
+
"args": [],
|
|
10879
|
+
"options": [
|
|
10880
|
+
{
|
|
10881
|
+
"flags": "--app <app>",
|
|
10882
|
+
"description": "App name, or pid:<n>",
|
|
10883
|
+
"required": true,
|
|
10884
|
+
"valueHint": "app"
|
|
10885
|
+
},
|
|
10886
|
+
{
|
|
10887
|
+
"flags": "--key <key>",
|
|
10888
|
+
"description": "Single key, e.g. Return",
|
|
10889
|
+
"required": true,
|
|
10890
|
+
"valueHint": "key"
|
|
10891
|
+
},
|
|
10892
|
+
{
|
|
10893
|
+
"flags": "--allow-system-shortcut",
|
|
10894
|
+
"description": "Allow a key that would quit, lock, log out or switch VTs",
|
|
10895
|
+
"required": false,
|
|
10896
|
+
"valueHint": null
|
|
10897
|
+
},
|
|
10898
|
+
{
|
|
10899
|
+
"flags": "--window-index <n>",
|
|
10900
|
+
"description": "Window index (default: the first window)",
|
|
10901
|
+
"required": true,
|
|
10902
|
+
"valueHint": "n"
|
|
10903
|
+
},
|
|
10904
|
+
{
|
|
10905
|
+
"flags": "--restore-window",
|
|
10906
|
+
"description": "Bring the window forward first",
|
|
10907
|
+
"required": false,
|
|
10908
|
+
"valueHint": null
|
|
10909
|
+
},
|
|
10910
|
+
{
|
|
10911
|
+
"flags": "--no-screenshot",
|
|
10912
|
+
"description": "Skip taking a screenshot",
|
|
10913
|
+
"required": false,
|
|
10914
|
+
"valueHint": null
|
|
10915
|
+
},
|
|
10916
|
+
{
|
|
10917
|
+
"flags": "--json",
|
|
10918
|
+
"description": "Print a stable JSON shape instead of text",
|
|
10919
|
+
"required": false,
|
|
10920
|
+
"valueHint": null
|
|
10921
|
+
}
|
|
10922
|
+
],
|
|
10923
|
+
"aliases": [],
|
|
10924
|
+
"category": "Core"
|
|
10925
|
+
},
|
|
10926
|
+
{
|
|
10927
|
+
"id": "pan-computer-hotkey",
|
|
10928
|
+
"path": ["computer", "hotkey"],
|
|
10929
|
+
"display": "/pan computer hotkey",
|
|
10930
|
+
"description": "Press a key chord",
|
|
10931
|
+
"args": [],
|
|
10932
|
+
"options": [
|
|
10933
|
+
{
|
|
10934
|
+
"flags": "--app <app>",
|
|
10935
|
+
"description": "App name, or pid:<n>",
|
|
10936
|
+
"required": true,
|
|
10937
|
+
"valueHint": "app"
|
|
10938
|
+
},
|
|
10939
|
+
{
|
|
10940
|
+
"flags": "--key <chord>",
|
|
10941
|
+
"description": "Key chord, e.g. ctrl+shift+p",
|
|
10942
|
+
"required": true,
|
|
10943
|
+
"valueHint": "chord"
|
|
10944
|
+
},
|
|
10945
|
+
{
|
|
10946
|
+
"flags": "--allow-system-shortcut",
|
|
10947
|
+
"description": "Allow a chord that would quit, lock, log out or switch VTs",
|
|
10948
|
+
"required": false,
|
|
10949
|
+
"valueHint": null
|
|
10950
|
+
},
|
|
10951
|
+
{
|
|
10952
|
+
"flags": "--window-index <n>",
|
|
10953
|
+
"description": "Window index (default: the first window)",
|
|
10954
|
+
"required": true,
|
|
10955
|
+
"valueHint": "n"
|
|
10956
|
+
},
|
|
10957
|
+
{
|
|
10958
|
+
"flags": "--restore-window",
|
|
10959
|
+
"description": "Bring the window forward first",
|
|
10960
|
+
"required": false,
|
|
10961
|
+
"valueHint": null
|
|
10962
|
+
},
|
|
10963
|
+
{
|
|
10964
|
+
"flags": "--no-screenshot",
|
|
10965
|
+
"description": "Skip taking a screenshot",
|
|
10966
|
+
"required": false,
|
|
10967
|
+
"valueHint": null
|
|
10968
|
+
},
|
|
10969
|
+
{
|
|
10970
|
+
"flags": "--json",
|
|
10971
|
+
"description": "Print a stable JSON shape instead of text",
|
|
10972
|
+
"required": false,
|
|
10973
|
+
"valueHint": null
|
|
10974
|
+
}
|
|
10975
|
+
],
|
|
10976
|
+
"aliases": [],
|
|
10977
|
+
"category": "Core"
|
|
10978
|
+
},
|
|
10979
|
+
{
|
|
10980
|
+
"id": "pan-computer-paste-text",
|
|
10981
|
+
"path": ["computer", "paste-text"],
|
|
10982
|
+
"display": "/pan computer paste-text",
|
|
10983
|
+
"description": "Paste text at the current focus (clipboard, with a synthetic-input fallback)",
|
|
10984
|
+
"args": [],
|
|
10985
|
+
"options": [
|
|
10986
|
+
{
|
|
10987
|
+
"flags": "--app <app>",
|
|
10988
|
+
"description": "App name, or pid:<n>",
|
|
10989
|
+
"required": true,
|
|
10990
|
+
"valueHint": "app"
|
|
10991
|
+
},
|
|
10992
|
+
{
|
|
10993
|
+
"flags": "--text <t>",
|
|
10994
|
+
"description": "Text to paste",
|
|
10995
|
+
"required": true,
|
|
10996
|
+
"valueHint": "t"
|
|
10997
|
+
},
|
|
10998
|
+
{
|
|
10999
|
+
"flags": "--text-stdin",
|
|
11000
|
+
"description": "Read the text to paste from stdin, instead of argv",
|
|
11001
|
+
"required": false,
|
|
11002
|
+
"valueHint": null
|
|
11003
|
+
},
|
|
11004
|
+
{
|
|
11005
|
+
"flags": "--window-index <n>",
|
|
11006
|
+
"description": "Window index (default: the first window)",
|
|
11007
|
+
"required": true,
|
|
11008
|
+
"valueHint": "n"
|
|
11009
|
+
},
|
|
11010
|
+
{
|
|
11011
|
+
"flags": "--restore-window",
|
|
11012
|
+
"description": "Bring the window forward first",
|
|
11013
|
+
"required": false,
|
|
11014
|
+
"valueHint": null
|
|
11015
|
+
},
|
|
11016
|
+
{
|
|
11017
|
+
"flags": "--no-screenshot",
|
|
11018
|
+
"description": "Skip taking a screenshot",
|
|
11019
|
+
"required": false,
|
|
11020
|
+
"valueHint": null
|
|
11021
|
+
},
|
|
11022
|
+
{
|
|
11023
|
+
"flags": "--json",
|
|
11024
|
+
"description": "Print a stable JSON shape instead of text",
|
|
11025
|
+
"required": false,
|
|
11026
|
+
"valueHint": null
|
|
11027
|
+
}
|
|
11028
|
+
],
|
|
11029
|
+
"aliases": [],
|
|
11030
|
+
"category": "Core"
|
|
11031
|
+
},
|
|
11032
|
+
{
|
|
11033
|
+
"id": "pan-computer-scroll",
|
|
11034
|
+
"path": ["computer", "scroll"],
|
|
11035
|
+
"display": "/pan computer scroll",
|
|
11036
|
+
"description": "Scroll at an element or a window-local coordinate",
|
|
11037
|
+
"args": [],
|
|
11038
|
+
"options": [
|
|
11039
|
+
{
|
|
11040
|
+
"flags": "--app <app>",
|
|
11041
|
+
"description": "App name, or pid:<n>",
|
|
11042
|
+
"required": true,
|
|
11043
|
+
"valueHint": "app"
|
|
11044
|
+
},
|
|
11045
|
+
{
|
|
11046
|
+
"flags": "--element-index <n>",
|
|
11047
|
+
"description": "Element to scroll",
|
|
11048
|
+
"required": true,
|
|
11049
|
+
"valueHint": "n"
|
|
11050
|
+
},
|
|
11051
|
+
{
|
|
11052
|
+
"flags": "--x <n>",
|
|
11053
|
+
"description": "Window-local x coordinate",
|
|
11054
|
+
"required": true,
|
|
11055
|
+
"valueHint": "n"
|
|
11056
|
+
},
|
|
11057
|
+
{
|
|
11058
|
+
"flags": "--y <n>",
|
|
11059
|
+
"description": "Window-local y coordinate",
|
|
11060
|
+
"required": true,
|
|
11061
|
+
"valueHint": "n"
|
|
11062
|
+
},
|
|
11063
|
+
{
|
|
11064
|
+
"flags": "--direction <d>",
|
|
11065
|
+
"description": "Scroll direction",
|
|
11066
|
+
"required": true,
|
|
11067
|
+
"valueHint": "d"
|
|
11068
|
+
},
|
|
11069
|
+
{
|
|
11070
|
+
"flags": "--pages <n>",
|
|
11071
|
+
"description": "Number of pages/wheel steps",
|
|
11072
|
+
"required": true,
|
|
11073
|
+
"valueHint": "n"
|
|
11074
|
+
},
|
|
11075
|
+
{
|
|
11076
|
+
"flags": "--window-index <n>",
|
|
11077
|
+
"description": "Window index (default: the first window)",
|
|
11078
|
+
"required": true,
|
|
11079
|
+
"valueHint": "n"
|
|
11080
|
+
},
|
|
11081
|
+
{
|
|
11082
|
+
"flags": "--restore-window",
|
|
11083
|
+
"description": "Bring the window forward first",
|
|
11084
|
+
"required": false,
|
|
11085
|
+
"valueHint": null
|
|
11086
|
+
},
|
|
11087
|
+
{
|
|
11088
|
+
"flags": "--no-screenshot",
|
|
11089
|
+
"description": "Skip taking a screenshot",
|
|
11090
|
+
"required": false,
|
|
11091
|
+
"valueHint": null
|
|
11092
|
+
},
|
|
11093
|
+
{
|
|
11094
|
+
"flags": "--json",
|
|
11095
|
+
"description": "Print a stable JSON shape instead of text",
|
|
11096
|
+
"required": false,
|
|
11097
|
+
"valueHint": null
|
|
11098
|
+
}
|
|
11099
|
+
],
|
|
11100
|
+
"aliases": [],
|
|
11101
|
+
"category": "Core"
|
|
11102
|
+
},
|
|
11103
|
+
{
|
|
11104
|
+
"id": "pan-computer-drag",
|
|
11105
|
+
"path": ["computer", "drag"],
|
|
11106
|
+
"display": "/pan computer drag",
|
|
11107
|
+
"description": "Drag from one element or coordinate to another",
|
|
11108
|
+
"args": [],
|
|
11109
|
+
"options": [
|
|
11110
|
+
{
|
|
11111
|
+
"flags": "--app <app>",
|
|
11112
|
+
"description": "App name, or pid:<n>",
|
|
11113
|
+
"required": true,
|
|
11114
|
+
"valueHint": "app"
|
|
11115
|
+
},
|
|
11116
|
+
{
|
|
11117
|
+
"flags": "--from-element-index <n>",
|
|
11118
|
+
"description": "Drag start: cached element",
|
|
11119
|
+
"required": true,
|
|
11120
|
+
"valueHint": "n"
|
|
11121
|
+
},
|
|
11122
|
+
{
|
|
11123
|
+
"flags": "--to-element-index <n>",
|
|
11124
|
+
"description": "Drag end: cached element",
|
|
11125
|
+
"required": true,
|
|
11126
|
+
"valueHint": "n"
|
|
11127
|
+
},
|
|
11128
|
+
{
|
|
11129
|
+
"flags": "--from-x <n>",
|
|
11130
|
+
"description": "Drag start: window-local x",
|
|
11131
|
+
"required": true,
|
|
11132
|
+
"valueHint": "n"
|
|
11133
|
+
},
|
|
11134
|
+
{
|
|
11135
|
+
"flags": "--from-y <n>",
|
|
11136
|
+
"description": "Drag start: window-local y",
|
|
11137
|
+
"required": true,
|
|
11138
|
+
"valueHint": "n"
|
|
11139
|
+
},
|
|
11140
|
+
{
|
|
11141
|
+
"flags": "--to-x <n>",
|
|
11142
|
+
"description": "Drag end: window-local x",
|
|
11143
|
+
"required": true,
|
|
11144
|
+
"valueHint": "n"
|
|
11145
|
+
},
|
|
11146
|
+
{
|
|
11147
|
+
"flags": "--to-y <n>",
|
|
11148
|
+
"description": "Drag end: window-local y",
|
|
11149
|
+
"required": true,
|
|
11150
|
+
"valueHint": "n"
|
|
11151
|
+
},
|
|
11152
|
+
{
|
|
11153
|
+
"flags": "--window-index <n>",
|
|
11154
|
+
"description": "Window index (default: the first window)",
|
|
11155
|
+
"required": true,
|
|
11156
|
+
"valueHint": "n"
|
|
11157
|
+
},
|
|
11158
|
+
{
|
|
11159
|
+
"flags": "--restore-window",
|
|
11160
|
+
"description": "Bring the window forward first",
|
|
11161
|
+
"required": false,
|
|
11162
|
+
"valueHint": null
|
|
11163
|
+
},
|
|
11164
|
+
{
|
|
11165
|
+
"flags": "--no-screenshot",
|
|
11166
|
+
"description": "Skip taking a screenshot",
|
|
11167
|
+
"required": false,
|
|
11168
|
+
"valueHint": null
|
|
11169
|
+
},
|
|
11170
|
+
{
|
|
11171
|
+
"flags": "--json",
|
|
11172
|
+
"description": "Print a stable JSON shape instead of text",
|
|
11173
|
+
"required": false,
|
|
11174
|
+
"valueHint": null
|
|
11175
|
+
}
|
|
11176
|
+
],
|
|
11177
|
+
"aliases": [],
|
|
11178
|
+
"category": "Core"
|
|
11179
|
+
},
|
|
11180
|
+
{
|
|
11181
|
+
"id": "pan-computer-release",
|
|
11182
|
+
"path": ["computer", "release"],
|
|
11183
|
+
"display": "/pan computer release",
|
|
11184
|
+
"description": "Release the desktop lease",
|
|
11185
|
+
"args": [],
|
|
11186
|
+
"options": [{
|
|
11187
|
+
"flags": "--force",
|
|
11188
|
+
"description": "Release even a lease held by another holder",
|
|
11189
|
+
"required": false,
|
|
11190
|
+
"valueHint": null
|
|
11191
|
+
}, {
|
|
11192
|
+
"flags": "--json",
|
|
11193
|
+
"description": "Print a stable JSON shape instead of text",
|
|
11194
|
+
"required": false,
|
|
11195
|
+
"valueHint": null
|
|
11196
|
+
}],
|
|
11197
|
+
"aliases": [],
|
|
11198
|
+
"category": "Core"
|
|
11199
|
+
},
|
|
10424
11200
|
{
|
|
10425
11201
|
"id": "pan-review",
|
|
10426
11202
|
"path": ["review"],
|
|
@@ -20282,6 +21058,24 @@ const CONNECT_CLOSE_CODES = {
|
|
|
20282
21058
|
/** A sixth phone or an eleventh connector on one account (PAN-4823 D-2, PAN-4927 D-18). */
|
|
20283
21059
|
clientLimit: 4013
|
|
20284
21060
|
};
|
|
21061
|
+
const CONNECT_PLANS = [
|
|
21062
|
+
"free",
|
|
21063
|
+
"tester",
|
|
21064
|
+
"anywhere",
|
|
21065
|
+
"anywhere_relay"
|
|
21066
|
+
];
|
|
21067
|
+
function isConnectPlan(value) {
|
|
21068
|
+
return typeof value === "string" && CONNECT_PLANS.includes(value);
|
|
21069
|
+
}
|
|
21070
|
+
function planAllowsRelay(plan) {
|
|
21071
|
+
return plan === "tester" || plan === "anywhere_relay";
|
|
21072
|
+
}
|
|
21073
|
+
function planAllowsInbox(plan) {
|
|
21074
|
+
return plan !== null && plan !== "free";
|
|
21075
|
+
}
|
|
21076
|
+
function wirePlanOf(plan) {
|
|
21077
|
+
return plan === "free" ? "free" : "tester";
|
|
21078
|
+
}
|
|
20285
21079
|
//#endregion
|
|
20286
21080
|
//#region src/connect-view.ts
|
|
20287
21081
|
const DirectoryClientState = effect.Schema.Literals([
|
|
@@ -21352,6 +22146,7 @@ exports.CONNECTOR_PAIR_LINK_VERSION = CONNECTOR_PAIR_LINK_VERSION;
|
|
|
21352
22146
|
exports.CONNECTOR_PAIR_MACHINE_LABEL_MAX = CONNECTOR_PAIR_MACHINE_LABEL_MAX;
|
|
21353
22147
|
exports.CONNECTOR_PAIR_SCHEME = CONNECTOR_PAIR_SCHEME;
|
|
21354
22148
|
exports.CONNECT_CLOSE_CODES = CONNECT_CLOSE_CODES;
|
|
22149
|
+
exports.CONNECT_PLANS = CONNECT_PLANS;
|
|
21355
22150
|
exports.CONNECT_PROTOCOL_VERSION = CONNECT_PROTOCOL_VERSION;
|
|
21356
22151
|
exports.CONTEXT_LAYER_KINDS = CONTEXT_LAYER_KINDS;
|
|
21357
22152
|
exports.CONTEXT_PREVIEW_HARNESSES = CONTEXT_PREVIEW_HARNESSES;
|
|
@@ -21932,6 +22727,7 @@ exports.isAgentRole = isAgentRole;
|
|
|
21932
22727
|
exports.isAgentSessionName = isAgentSessionName;
|
|
21933
22728
|
exports.isChannelReplyKind = isChannelReplyKind;
|
|
21934
22729
|
exports.isConfiguredPullRequestRepo = isConfiguredPullRequestRepo;
|
|
22730
|
+
exports.isConnectPlan = isConnectPlan;
|
|
21935
22731
|
exports.isEffortLevel = isEffortLevel;
|
|
21936
22732
|
exports.isIssueAttention = isIssueAttention;
|
|
21937
22733
|
exports.isIssueState = isIssueState;
|
|
@@ -21959,6 +22755,8 @@ exports.parsePhonePairLink = parsePhonePairLink;
|
|
|
21959
22755
|
exports.parsePullRequestRef = parsePullRequestRef;
|
|
21960
22756
|
exports.parseTrackerIssueUrl = parseTrackerIssueUrl;
|
|
21961
22757
|
exports.phoneIssueSheetPath = phoneIssueSheetPath;
|
|
22758
|
+
exports.planAllowsInbox = planAllowsInbox;
|
|
22759
|
+
exports.planAllowsRelay = planAllowsRelay;
|
|
21962
22760
|
exports.presenceForPaneState = presenceForPaneState;
|
|
21963
22761
|
exports.presetToCron = presetToCron;
|
|
21964
22762
|
exports.projectDeckKey = projectDeckKey;
|
|
@@ -21981,4 +22779,5 @@ exports.toSharedMessage = toSharedMessage;
|
|
|
21981
22779
|
exports.trimMemoryObservations = trimMemoryObservations;
|
|
21982
22780
|
exports.trimTurnDiffSummaries = trimTurnDiffSummaries;
|
|
21983
22781
|
exports.uiOpenSummary = uiOpenSummary;
|
|
22782
|
+
exports.wirePlanOf = wirePlanOf;
|
|
21984
22783
|
exports.withPaneLivenessAlias = withPaneLivenessAlias;
|