@indigoai-us/hq-cli 5.345.212-beta.0 → 5.345.214

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.
Files changed (119) hide show
  1. package/CHANGELOG.md +40 -1
  2. package/dist/bin/hq-auth-refresh.js +2 -1
  3. package/dist/command-catalog.generated.d.ts +308 -43
  4. package/dist/command-catalog.generated.js +373 -43
  5. package/dist/command-registration-plan.d.ts +15 -0
  6. package/dist/command-registration-plan.js +20 -1
  7. package/dist/commands/agent-inbox.d.ts +11 -1
  8. package/dist/commands/agent-inbox.js +128 -38
  9. package/dist/commands/agent-kit.js +2 -2
  10. package/dist/commands/agents.js +6 -1
  11. package/dist/commands/billing.js +17 -4
  12. package/dist/commands/core-handoff.js +1 -0
  13. package/dist/commands/core-hq-session-native.js +2 -2
  14. package/dist/commands/core-pin-native.js +1 -1
  15. package/dist/commands/core-policy.js +1 -1
  16. package/dist/commands/core-resolve-company-native.js +1 -1
  17. package/dist/commands/core-sentry-report-fast.d.ts +2 -0
  18. package/dist/commands/core-sentry-report-fast.js +3 -1
  19. package/dist/commands/daemon.js +68 -6
  20. package/dist/commands/files.js +2 -2
  21. package/dist/commands/integrations-api.d.ts +11 -0
  22. package/dist/commands/integrations-connect.d.ts +9 -1
  23. package/dist/commands/integrations-connect.js +154 -18
  24. package/dist/commands/integrations-core.d.ts +1 -1
  25. package/dist/commands/integrations-core.js +18 -10
  26. package/dist/commands/integrations.js +1 -1
  27. package/dist/commands/lanes-link.js +10 -5
  28. package/dist/commands/lanes.js +34 -16
  29. package/dist/commands/rescue.js +13 -0
  30. package/dist/commands/secrets.d.ts +11 -0
  31. package/dist/commands/secrets.js +41 -7
  32. package/dist/index.js +2 -0
  33. package/dist/lazy-commands.js +6 -1
  34. package/dist/lib/agent-kit/inbox-fetch.d.ts +122 -1
  35. package/dist/lib/agent-kit/inbox-fetch.js +215 -3
  36. package/dist/lib/agent-kit/inbox-redact.js +1 -1
  37. package/dist/lib/agent-kit/inbox-state.d.ts +98 -1
  38. package/dist/lib/agent-kit/inbox-state.js +261 -4
  39. package/dist/lib/agent-kit/mcp/tools.d.ts +3 -3
  40. package/dist/lib/agent-kit/mcp/tools.js +68 -25
  41. package/dist/lib/agent-kit/run/inbox.js +4 -2
  42. package/dist/lib/agent-kit/skills.js +4 -1
  43. package/dist/lib/agent-kit/wake.d.ts +9 -1
  44. package/dist/lib/agent-kit/wake.js +10 -3
  45. package/dist/lib/billing/usage-only.d.ts +4 -1
  46. package/dist/lib/billing/usage-only.js +7 -2
  47. package/dist/lib/bot/fleet-cron.js +193 -14
  48. package/dist/lib/bot/fleet-download.d.ts +2 -0
  49. package/dist/lib/bot/fleet-download.js +23 -0
  50. package/dist/lib/bot/fleet-local.d.ts +1 -0
  51. package/dist/lib/bot/fleet-local.js +41 -8
  52. package/dist/lib/capacity/ledger.d.ts +7 -0
  53. package/dist/lib/capacity/ledger.js +31 -1
  54. package/dist/lib/capacity/project.d.ts +1 -1
  55. package/dist/lib/capacity/project.js +13 -4
  56. package/dist/lib/capacity/route.d.ts +10 -0
  57. package/dist/lib/capacity/route.js +16 -0
  58. package/dist/lib/core-utils/session-id.d.ts +1 -1
  59. package/dist/lib/core-utils/session-id.js +4 -0
  60. package/dist/lib/daemon/install.d.ts +15 -0
  61. package/dist/lib/daemon/install.js +31 -0
  62. package/dist/lib/daemon/migrate.js +29 -4
  63. package/dist/lib/daemon/run.js +9 -1
  64. package/dist/lib/daemon/updater.d.ts +34 -2
  65. package/dist/lib/daemon/updater.js +51 -2
  66. package/dist/lib/doctor/__testing__/run-doctor.js +4 -0
  67. package/dist/lib/doctor/checks/jq.d.ts +27 -0
  68. package/dist/lib/doctor/checks/jq.js +82 -0
  69. package/dist/lib/doctor/checks/release-links.d.ts +50 -8
  70. package/dist/lib/doctor/checks/release-links.js +260 -24
  71. package/dist/lib/doctor/fix/apply.js +24 -8
  72. package/dist/lib/doctor/fix/remediation.js +15 -5
  73. package/dist/lib/doctor/registry.js +4 -0
  74. package/dist/lib/flag-snapshot-file.js +36 -8
  75. package/dist/lib/install/codex-targets.d.ts +52 -1
  76. package/dist/lib/install/codex-targets.js +77 -2
  77. package/dist/lib/lanes/autopilot-registry.d.ts +14 -0
  78. package/dist/lib/lanes/autopilot-registry.js +59 -7
  79. package/dist/lib/lanes/links.d.ts +14 -0
  80. package/dist/lib/lanes/links.js +320 -25
  81. package/dist/lib/lanes/monitor.d.ts +4 -1
  82. package/dist/lib/lanes/monitor.js +47 -10
  83. package/dist/lib/lanes/outpost-pruner-install.d.ts +10 -0
  84. package/dist/lib/lanes/outpost-pruner-install.js +4 -3
  85. package/dist/lib/lanes/spawn.js +8 -1
  86. package/dist/lib/lanes/watch.js +31 -0
  87. package/dist/lib/onboarding/checkpoint.d.ts +6 -0
  88. package/dist/lib/onboarding/checkpoint.js +6 -0
  89. package/dist/lib/onboarding/orchestrator.d.ts +3 -1
  90. package/dist/lib/onboarding/orchestrator.js +62 -9
  91. package/dist/lib/onboarding/types.d.ts +8 -0
  92. package/dist/lib/work-context/organize.d.ts +23 -1
  93. package/dist/lib/work-context/organize.js +25 -3
  94. package/dist/lib/work-context/reconcile.js +3 -2
  95. package/dist/main.js +3 -1
  96. package/dist/secrets-env-action.js +7 -5
  97. package/dist/sentry-init.d.ts +2 -0
  98. package/dist/sentry-init.js +13 -2
  99. package/dist/sentry.d.ts +2 -0
  100. package/dist/sentry.js +5 -1
  101. package/dist/startup-registration.js +7 -2
  102. package/dist/utils/billing-gate.d.ts +12 -16
  103. package/dist/utils/billing-gate.js +17 -18
  104. package/dist/utils/cli-network-lifecycle.d.ts +9 -0
  105. package/dist/utils/cli-network-lifecycle.js +52 -0
  106. package/dist/utils/install-tree-torn.d.ts +22 -4
  107. package/dist/utils/install-tree-torn.js +24 -0
  108. package/dist/utils/registration-plan-error.d.ts +22 -0
  109. package/dist/utils/registration-plan-error.js +27 -0
  110. package/dist/utils/safe-link.d.ts +63 -0
  111. package/dist/utils/safe-link.js +246 -0
  112. package/dist/utils/sentry-fingerprint.js +3 -0
  113. package/dist/utils/sentry-keepalive-transport.d.ts +28 -0
  114. package/dist/utils/sentry-keepalive-transport.js +70 -0
  115. package/dist/utils/unauthorized-error.d.ts +36 -0
  116. package/dist/utils/unauthorized-error.js +105 -0
  117. package/dist/utils/vault-api.js +7 -5
  118. package/package.json +7 -7
  119. package/scripts/install-hook-engine.mjs +17 -0
@@ -1,6 +1,7 @@
1
1
  export type CommandCatalogEntry = {
2
2
  readonly name: string;
3
3
  readonly description: string;
4
+ readonly summary?: string;
4
5
  readonly aliases: readonly string[];
5
6
  readonly hidden: boolean;
6
7
  readonly helpCommand?: boolean;
@@ -5977,7 +5978,10 @@ export declare const COMMAND_CATALOG: readonly [{
5977
5978
  readonly helpOption: true;
5978
5979
  readonly helpCommand: false;
5979
5980
  readonly usage: "[options] [app]";
5980
- readonly helpText: readonly [];
5981
+ readonly helpText: readonly [{
5982
+ readonly position: "after";
5983
+ readonly text: "\n--json output when the sign-in does not finish in this command (for example\nwith --link-only) is one JSON line on stdout. \"setup\" says which it is:\n {\"app\",\"setup\":\"sign-in-link\",\"authorizationUrl\"}\n Open authorizationUrl; the sign-in finishes on the HQ console.\n {\"app\",\"setup\":\"own-oauth-app\",\"callbackUrl\",\"command\"}\n Register callbackUrl with the provider, then run command with your\n app's client id (and its secret on stdin).\n {\"app\",\"setup\":\"console\",\"url\"?,\"serverAddress\"?}\n Finish on the console page at url (left out when the console address\n is unknown). serverAddress is the MCP endpoint to enter there.\nA finished connect prints the install result instead. Confirm any of the\nthree with `hq integrations list`.\n";
5984
+ }];
5981
5985
  readonly arguments: readonly [{
5982
5986
  readonly name: "app";
5983
5987
  readonly required: false;
@@ -8308,7 +8312,7 @@ export declare const COMMAND_CATALOG: readonly [{
8308
8312
  }];
8309
8313
  readonly subcommands: readonly [{
8310
8314
  readonly name: "done";
8311
- readonly description: "Mark inbox items handled and ack them on the server";
8315
+ readonly description: "Mark inbox items handled and ack them on the server. Exit 1: invalid id (nothing sent); exit 3: a server ack is not confirmed (kept in ack-pending and retried; rerunning is safe)";
8312
8316
  readonly aliases: readonly [];
8313
8317
  readonly hidden: false;
8314
8318
  readonly helpOption: true;
@@ -8321,7 +8325,11 @@ export declare const COMMAND_CATALOG: readonly [{
8321
8325
  readonly variadic: true;
8322
8326
  readonly description: "";
8323
8327
  }];
8324
- readonly options: readonly [];
8328
+ readonly options: readonly [{
8329
+ readonly flags: "--json";
8330
+ readonly description: "Print machine-readable JSON";
8331
+ readonly hidden: false;
8332
+ }];
8325
8333
  readonly subcommands: readonly [];
8326
8334
  }];
8327
8335
  }];
@@ -14366,7 +14374,8 @@ export declare const COMMAND_CATALOG: readonly [{
14366
14374
  readonly subcommands: readonly [];
14367
14375
  }, {
14368
14376
  readonly name: "link";
14369
- readonly description: "Link live sessions to a conductor through session inboxes";
14377
+ readonly description: "Link live sessions to a conductor through session inboxes. Session ids are self-asserted (--session-id or the session environment), so the conductor and handover checks guard against stale or mistaken agents, not a hostile process running as the same user";
14378
+ readonly summary: "Link live sessions to a conductor through session inboxes";
14370
14379
  readonly aliases: readonly [];
14371
14380
  readonly hidden: false;
14372
14381
  readonly helpOption: true;
@@ -14391,7 +14400,7 @@ export declare const COMMAND_CATALOG: readonly [{
14391
14400
  readonly hidden: false;
14392
14401
  }, {
14393
14402
  readonly flags: "--session-id <id>";
14394
- readonly description: "Act as this session";
14403
+ readonly description: "Act as this session (self-asserted; not an authentication)";
14395
14404
  readonly hidden: false;
14396
14405
  }, {
14397
14406
  readonly flags: "--link <id>";
@@ -14407,7 +14416,7 @@ export declare const COMMAND_CATALOG: readonly [{
14407
14416
  readonly hidden: false;
14408
14417
  }, {
14409
14418
  readonly flags: "--engine <engine>";
14410
- readonly description: "Session engine";
14419
+ readonly description: "Session engine (adopt: keeps the link's recorded engine when omitted)";
14411
14420
  readonly hidden: false;
14412
14421
  }, {
14413
14422
  readonly flags: "--title <title>";
@@ -14415,12 +14424,20 @@ export declare const COMMAND_CATALOG: readonly [{
14415
14424
  readonly hidden: false;
14416
14425
  }, {
14417
14426
  readonly flags: "--host-session <id>";
14418
- readonly description: "Host session id";
14427
+ readonly description: "Host session id (adopt: clears the previous conductor's host session when omitted)";
14419
14428
  readonly hidden: false;
14420
14429
  }, {
14421
14430
  readonly flags: "--claims <ids>";
14422
14431
  readonly description: "Exact comma-separated recipient receipt IDs";
14423
14432
  readonly hidden: false;
14433
+ }, {
14434
+ readonly flags: "--token <token>";
14435
+ readonly description: "Handover token for adopt. Use --token - to read it from stdin, or --token-file: a token on the command line is visible to other processes";
14436
+ readonly hidden: false;
14437
+ }, {
14438
+ readonly flags: "--token-file <path>";
14439
+ readonly description: "Read the adopt handover token from a file";
14440
+ readonly hidden: false;
14424
14441
  }, {
14425
14442
  readonly flags: "--text <message>";
14426
14443
  readonly description: "Message text";
@@ -14459,7 +14476,7 @@ export declare const COMMAND_CATALOG: readonly [{
14459
14476
  readonly hidden: false;
14460
14477
  }, {
14461
14478
  readonly flags: "--session-id <id>";
14462
- readonly description: "Act as this session";
14479
+ readonly description: "Act as this session (self-asserted; not an authentication)";
14463
14480
  readonly hidden: false;
14464
14481
  }, {
14465
14482
  readonly flags: "--link <id>";
@@ -14475,7 +14492,7 @@ export declare const COMMAND_CATALOG: readonly [{
14475
14492
  readonly hidden: false;
14476
14493
  }, {
14477
14494
  readonly flags: "--engine <engine>";
14478
- readonly description: "Session engine";
14495
+ readonly description: "Session engine (adopt: keeps the link's recorded engine when omitted)";
14479
14496
  readonly hidden: false;
14480
14497
  }, {
14481
14498
  readonly flags: "--title <title>";
@@ -14483,12 +14500,20 @@ export declare const COMMAND_CATALOG: readonly [{
14483
14500
  readonly hidden: false;
14484
14501
  }, {
14485
14502
  readonly flags: "--host-session <id>";
14486
- readonly description: "Host session id";
14503
+ readonly description: "Host session id (adopt: clears the previous conductor's host session when omitted)";
14487
14504
  readonly hidden: false;
14488
14505
  }, {
14489
14506
  readonly flags: "--claims <ids>";
14490
14507
  readonly description: "Exact comma-separated recipient receipt IDs";
14491
14508
  readonly hidden: false;
14509
+ }, {
14510
+ readonly flags: "--token <token>";
14511
+ readonly description: "Handover token for adopt. Use --token - to read it from stdin, or --token-file: a token on the command line is visible to other processes";
14512
+ readonly hidden: false;
14513
+ }, {
14514
+ readonly flags: "--token-file <path>";
14515
+ readonly description: "Read the adopt handover token from a file";
14516
+ readonly hidden: false;
14492
14517
  }, {
14493
14518
  readonly flags: "--text <message>";
14494
14519
  readonly description: "Message text";
@@ -14527,7 +14552,7 @@ export declare const COMMAND_CATALOG: readonly [{
14527
14552
  readonly hidden: false;
14528
14553
  }, {
14529
14554
  readonly flags: "--session-id <id>";
14530
- readonly description: "Act as this session";
14555
+ readonly description: "Act as this session (self-asserted; not an authentication)";
14531
14556
  readonly hidden: false;
14532
14557
  }, {
14533
14558
  readonly flags: "--link <id>";
@@ -14543,7 +14568,7 @@ export declare const COMMAND_CATALOG: readonly [{
14543
14568
  readonly hidden: false;
14544
14569
  }, {
14545
14570
  readonly flags: "--engine <engine>";
14546
- readonly description: "Session engine";
14571
+ readonly description: "Session engine (adopt: keeps the link's recorded engine when omitted)";
14547
14572
  readonly hidden: false;
14548
14573
  }, {
14549
14574
  readonly flags: "--title <title>";
@@ -14551,12 +14576,20 @@ export declare const COMMAND_CATALOG: readonly [{
14551
14576
  readonly hidden: false;
14552
14577
  }, {
14553
14578
  readonly flags: "--host-session <id>";
14554
- readonly description: "Host session id";
14579
+ readonly description: "Host session id (adopt: clears the previous conductor's host session when omitted)";
14555
14580
  readonly hidden: false;
14556
14581
  }, {
14557
14582
  readonly flags: "--claims <ids>";
14558
14583
  readonly description: "Exact comma-separated recipient receipt IDs";
14559
14584
  readonly hidden: false;
14585
+ }, {
14586
+ readonly flags: "--token <token>";
14587
+ readonly description: "Handover token for adopt. Use --token - to read it from stdin, or --token-file: a token on the command line is visible to other processes";
14588
+ readonly hidden: false;
14589
+ }, {
14590
+ readonly flags: "--token-file <path>";
14591
+ readonly description: "Read the adopt handover token from a file";
14592
+ readonly hidden: false;
14560
14593
  }, {
14561
14594
  readonly flags: "--text <message>";
14562
14595
  readonly description: "Message text";
@@ -14595,7 +14628,7 @@ export declare const COMMAND_CATALOG: readonly [{
14595
14628
  readonly hidden: false;
14596
14629
  }, {
14597
14630
  readonly flags: "--session-id <id>";
14598
- readonly description: "Act as this session";
14631
+ readonly description: "Act as this session (self-asserted; not an authentication)";
14599
14632
  readonly hidden: false;
14600
14633
  }, {
14601
14634
  readonly flags: "--link <id>";
@@ -14611,7 +14644,7 @@ export declare const COMMAND_CATALOG: readonly [{
14611
14644
  readonly hidden: false;
14612
14645
  }, {
14613
14646
  readonly flags: "--engine <engine>";
14614
- readonly description: "Session engine";
14647
+ readonly description: "Session engine (adopt: keeps the link's recorded engine when omitted)";
14615
14648
  readonly hidden: false;
14616
14649
  }, {
14617
14650
  readonly flags: "--title <title>";
@@ -14619,12 +14652,20 @@ export declare const COMMAND_CATALOG: readonly [{
14619
14652
  readonly hidden: false;
14620
14653
  }, {
14621
14654
  readonly flags: "--host-session <id>";
14622
- readonly description: "Host session id";
14655
+ readonly description: "Host session id (adopt: clears the previous conductor's host session when omitted)";
14623
14656
  readonly hidden: false;
14624
14657
  }, {
14625
14658
  readonly flags: "--claims <ids>";
14626
14659
  readonly description: "Exact comma-separated recipient receipt IDs";
14627
14660
  readonly hidden: false;
14661
+ }, {
14662
+ readonly flags: "--token <token>";
14663
+ readonly description: "Handover token for adopt. Use --token - to read it from stdin, or --token-file: a token on the command line is visible to other processes";
14664
+ readonly hidden: false;
14665
+ }, {
14666
+ readonly flags: "--token-file <path>";
14667
+ readonly description: "Read the adopt handover token from a file";
14668
+ readonly hidden: false;
14628
14669
  }, {
14629
14670
  readonly flags: "--text <message>";
14630
14671
  readonly description: "Message text";
@@ -14663,7 +14704,7 @@ export declare const COMMAND_CATALOG: readonly [{
14663
14704
  readonly hidden: false;
14664
14705
  }, {
14665
14706
  readonly flags: "--session-id <id>";
14666
- readonly description: "Act as this session";
14707
+ readonly description: "Act as this session (self-asserted; not an authentication)";
14667
14708
  readonly hidden: false;
14668
14709
  }, {
14669
14710
  readonly flags: "--link <id>";
@@ -14679,7 +14720,7 @@ export declare const COMMAND_CATALOG: readonly [{
14679
14720
  readonly hidden: false;
14680
14721
  }, {
14681
14722
  readonly flags: "--engine <engine>";
14682
- readonly description: "Session engine";
14723
+ readonly description: "Session engine (adopt: keeps the link's recorded engine when omitted)";
14683
14724
  readonly hidden: false;
14684
14725
  }, {
14685
14726
  readonly flags: "--title <title>";
@@ -14687,12 +14728,20 @@ export declare const COMMAND_CATALOG: readonly [{
14687
14728
  readonly hidden: false;
14688
14729
  }, {
14689
14730
  readonly flags: "--host-session <id>";
14690
- readonly description: "Host session id";
14731
+ readonly description: "Host session id (adopt: clears the previous conductor's host session when omitted)";
14691
14732
  readonly hidden: false;
14692
14733
  }, {
14693
14734
  readonly flags: "--claims <ids>";
14694
14735
  readonly description: "Exact comma-separated recipient receipt IDs";
14695
14736
  readonly hidden: false;
14737
+ }, {
14738
+ readonly flags: "--token <token>";
14739
+ readonly description: "Handover token for adopt. Use --token - to read it from stdin, or --token-file: a token on the command line is visible to other processes";
14740
+ readonly hidden: false;
14741
+ }, {
14742
+ readonly flags: "--token-file <path>";
14743
+ readonly description: "Read the adopt handover token from a file";
14744
+ readonly hidden: false;
14696
14745
  }, {
14697
14746
  readonly flags: "--text <message>";
14698
14747
  readonly description: "Message text";
@@ -14731,7 +14780,7 @@ export declare const COMMAND_CATALOG: readonly [{
14731
14780
  readonly hidden: false;
14732
14781
  }, {
14733
14782
  readonly flags: "--session-id <id>";
14734
- readonly description: "Act as this session";
14783
+ readonly description: "Act as this session (self-asserted; not an authentication)";
14735
14784
  readonly hidden: false;
14736
14785
  }, {
14737
14786
  readonly flags: "--link <id>";
@@ -14747,7 +14796,7 @@ export declare const COMMAND_CATALOG: readonly [{
14747
14796
  readonly hidden: false;
14748
14797
  }, {
14749
14798
  readonly flags: "--engine <engine>";
14750
- readonly description: "Session engine";
14799
+ readonly description: "Session engine (adopt: keeps the link's recorded engine when omitted)";
14751
14800
  readonly hidden: false;
14752
14801
  }, {
14753
14802
  readonly flags: "--title <title>";
@@ -14755,12 +14804,20 @@ export declare const COMMAND_CATALOG: readonly [{
14755
14804
  readonly hidden: false;
14756
14805
  }, {
14757
14806
  readonly flags: "--host-session <id>";
14758
- readonly description: "Host session id";
14807
+ readonly description: "Host session id (adopt: clears the previous conductor's host session when omitted)";
14759
14808
  readonly hidden: false;
14760
14809
  }, {
14761
14810
  readonly flags: "--claims <ids>";
14762
14811
  readonly description: "Exact comma-separated recipient receipt IDs";
14763
14812
  readonly hidden: false;
14813
+ }, {
14814
+ readonly flags: "--token <token>";
14815
+ readonly description: "Handover token for adopt. Use --token - to read it from stdin, or --token-file: a token on the command line is visible to other processes";
14816
+ readonly hidden: false;
14817
+ }, {
14818
+ readonly flags: "--token-file <path>";
14819
+ readonly description: "Read the adopt handover token from a file";
14820
+ readonly hidden: false;
14764
14821
  }, {
14765
14822
  readonly flags: "--text <message>";
14766
14823
  readonly description: "Message text";
@@ -14799,7 +14856,7 @@ export declare const COMMAND_CATALOG: readonly [{
14799
14856
  readonly hidden: false;
14800
14857
  }, {
14801
14858
  readonly flags: "--session-id <id>";
14802
- readonly description: "Act as this session";
14859
+ readonly description: "Act as this session (self-asserted; not an authentication)";
14803
14860
  readonly hidden: false;
14804
14861
  }, {
14805
14862
  readonly flags: "--link <id>";
@@ -14815,7 +14872,7 @@ export declare const COMMAND_CATALOG: readonly [{
14815
14872
  readonly hidden: false;
14816
14873
  }, {
14817
14874
  readonly flags: "--engine <engine>";
14818
- readonly description: "Session engine";
14875
+ readonly description: "Session engine (adopt: keeps the link's recorded engine when omitted)";
14819
14876
  readonly hidden: false;
14820
14877
  }, {
14821
14878
  readonly flags: "--title <title>";
@@ -14823,12 +14880,20 @@ export declare const COMMAND_CATALOG: readonly [{
14823
14880
  readonly hidden: false;
14824
14881
  }, {
14825
14882
  readonly flags: "--host-session <id>";
14826
- readonly description: "Host session id";
14883
+ readonly description: "Host session id (adopt: clears the previous conductor's host session when omitted)";
14827
14884
  readonly hidden: false;
14828
14885
  }, {
14829
14886
  readonly flags: "--claims <ids>";
14830
14887
  readonly description: "Exact comma-separated recipient receipt IDs";
14831
14888
  readonly hidden: false;
14889
+ }, {
14890
+ readonly flags: "--token <token>";
14891
+ readonly description: "Handover token for adopt. Use --token - to read it from stdin, or --token-file: a token on the command line is visible to other processes";
14892
+ readonly hidden: false;
14893
+ }, {
14894
+ readonly flags: "--token-file <path>";
14895
+ readonly description: "Read the adopt handover token from a file";
14896
+ readonly hidden: false;
14832
14897
  }, {
14833
14898
  readonly flags: "--text <message>";
14834
14899
  readonly description: "Message text";
@@ -14867,7 +14932,7 @@ export declare const COMMAND_CATALOG: readonly [{
14867
14932
  readonly hidden: false;
14868
14933
  }, {
14869
14934
  readonly flags: "--session-id <id>";
14870
- readonly description: "Act as this session";
14935
+ readonly description: "Act as this session (self-asserted; not an authentication)";
14871
14936
  readonly hidden: false;
14872
14937
  }, {
14873
14938
  readonly flags: "--link <id>";
@@ -14883,7 +14948,7 @@ export declare const COMMAND_CATALOG: readonly [{
14883
14948
  readonly hidden: false;
14884
14949
  }, {
14885
14950
  readonly flags: "--engine <engine>";
14886
- readonly description: "Session engine";
14951
+ readonly description: "Session engine (adopt: keeps the link's recorded engine when omitted)";
14887
14952
  readonly hidden: false;
14888
14953
  }, {
14889
14954
  readonly flags: "--title <title>";
@@ -14891,12 +14956,20 @@ export declare const COMMAND_CATALOG: readonly [{
14891
14956
  readonly hidden: false;
14892
14957
  }, {
14893
14958
  readonly flags: "--host-session <id>";
14894
- readonly description: "Host session id";
14959
+ readonly description: "Host session id (adopt: clears the previous conductor's host session when omitted)";
14895
14960
  readonly hidden: false;
14896
14961
  }, {
14897
14962
  readonly flags: "--claims <ids>";
14898
14963
  readonly description: "Exact comma-separated recipient receipt IDs";
14899
14964
  readonly hidden: false;
14965
+ }, {
14966
+ readonly flags: "--token <token>";
14967
+ readonly description: "Handover token for adopt. Use --token - to read it from stdin, or --token-file: a token on the command line is visible to other processes";
14968
+ readonly hidden: false;
14969
+ }, {
14970
+ readonly flags: "--token-file <path>";
14971
+ readonly description: "Read the adopt handover token from a file";
14972
+ readonly hidden: false;
14900
14973
  }, {
14901
14974
  readonly flags: "--text <message>";
14902
14975
  readonly description: "Message text";
@@ -14935,7 +15008,7 @@ export declare const COMMAND_CATALOG: readonly [{
14935
15008
  readonly hidden: false;
14936
15009
  }, {
14937
15010
  readonly flags: "--session-id <id>";
14938
- readonly description: "Act as this session";
15011
+ readonly description: "Act as this session (self-asserted; not an authentication)";
14939
15012
  readonly hidden: false;
14940
15013
  }, {
14941
15014
  readonly flags: "--link <id>";
@@ -14951,7 +15024,7 @@ export declare const COMMAND_CATALOG: readonly [{
14951
15024
  readonly hidden: false;
14952
15025
  }, {
14953
15026
  readonly flags: "--engine <engine>";
14954
- readonly description: "Session engine";
15027
+ readonly description: "Session engine (adopt: keeps the link's recorded engine when omitted)";
14955
15028
  readonly hidden: false;
14956
15029
  }, {
14957
15030
  readonly flags: "--title <title>";
@@ -14959,12 +15032,20 @@ export declare const COMMAND_CATALOG: readonly [{
14959
15032
  readonly hidden: false;
14960
15033
  }, {
14961
15034
  readonly flags: "--host-session <id>";
14962
- readonly description: "Host session id";
15035
+ readonly description: "Host session id (adopt: clears the previous conductor's host session when omitted)";
14963
15036
  readonly hidden: false;
14964
15037
  }, {
14965
15038
  readonly flags: "--claims <ids>";
14966
15039
  readonly description: "Exact comma-separated recipient receipt IDs";
14967
15040
  readonly hidden: false;
15041
+ }, {
15042
+ readonly flags: "--token <token>";
15043
+ readonly description: "Handover token for adopt. Use --token - to read it from stdin, or --token-file: a token on the command line is visible to other processes";
15044
+ readonly hidden: false;
15045
+ }, {
15046
+ readonly flags: "--token-file <path>";
15047
+ readonly description: "Read the adopt handover token from a file";
15048
+ readonly hidden: false;
14968
15049
  }, {
14969
15050
  readonly flags: "--text <message>";
14970
15051
  readonly description: "Message text";
@@ -15003,7 +15084,7 @@ export declare const COMMAND_CATALOG: readonly [{
15003
15084
  readonly hidden: false;
15004
15085
  }, {
15005
15086
  readonly flags: "--session-id <id>";
15006
- readonly description: "Act as this session";
15087
+ readonly description: "Act as this session (self-asserted; not an authentication)";
15007
15088
  readonly hidden: false;
15008
15089
  }, {
15009
15090
  readonly flags: "--link <id>";
@@ -15019,7 +15100,7 @@ export declare const COMMAND_CATALOG: readonly [{
15019
15100
  readonly hidden: false;
15020
15101
  }, {
15021
15102
  readonly flags: "--engine <engine>";
15022
- readonly description: "Session engine";
15103
+ readonly description: "Session engine (adopt: keeps the link's recorded engine when omitted)";
15023
15104
  readonly hidden: false;
15024
15105
  }, {
15025
15106
  readonly flags: "--title <title>";
@@ -15027,12 +15108,20 @@ export declare const COMMAND_CATALOG: readonly [{
15027
15108
  readonly hidden: false;
15028
15109
  }, {
15029
15110
  readonly flags: "--host-session <id>";
15030
- readonly description: "Host session id";
15111
+ readonly description: "Host session id (adopt: clears the previous conductor's host session when omitted)";
15031
15112
  readonly hidden: false;
15032
15113
  }, {
15033
15114
  readonly flags: "--claims <ids>";
15034
15115
  readonly description: "Exact comma-separated recipient receipt IDs";
15035
15116
  readonly hidden: false;
15117
+ }, {
15118
+ readonly flags: "--token <token>";
15119
+ readonly description: "Handover token for adopt. Use --token - to read it from stdin, or --token-file: a token on the command line is visible to other processes";
15120
+ readonly hidden: false;
15121
+ }, {
15122
+ readonly flags: "--token-file <path>";
15123
+ readonly description: "Read the adopt handover token from a file";
15124
+ readonly hidden: false;
15036
15125
  }, {
15037
15126
  readonly flags: "--text <message>";
15038
15127
  readonly description: "Message text";
@@ -15071,7 +15160,7 @@ export declare const COMMAND_CATALOG: readonly [{
15071
15160
  readonly hidden: false;
15072
15161
  }, {
15073
15162
  readonly flags: "--session-id <id>";
15074
- readonly description: "Act as this session";
15163
+ readonly description: "Act as this session (self-asserted; not an authentication)";
15075
15164
  readonly hidden: false;
15076
15165
  }, {
15077
15166
  readonly flags: "--link <id>";
@@ -15087,7 +15176,7 @@ export declare const COMMAND_CATALOG: readonly [{
15087
15176
  readonly hidden: false;
15088
15177
  }, {
15089
15178
  readonly flags: "--engine <engine>";
15090
- readonly description: "Session engine";
15179
+ readonly description: "Session engine (adopt: keeps the link's recorded engine when omitted)";
15091
15180
  readonly hidden: false;
15092
15181
  }, {
15093
15182
  readonly flags: "--title <title>";
@@ -15095,12 +15184,20 @@ export declare const COMMAND_CATALOG: readonly [{
15095
15184
  readonly hidden: false;
15096
15185
  }, {
15097
15186
  readonly flags: "--host-session <id>";
15098
- readonly description: "Host session id";
15187
+ readonly description: "Host session id (adopt: clears the previous conductor's host session when omitted)";
15099
15188
  readonly hidden: false;
15100
15189
  }, {
15101
15190
  readonly flags: "--claims <ids>";
15102
15191
  readonly description: "Exact comma-separated recipient receipt IDs";
15103
15192
  readonly hidden: false;
15193
+ }, {
15194
+ readonly flags: "--token <token>";
15195
+ readonly description: "Handover token for adopt. Use --token - to read it from stdin, or --token-file: a token on the command line is visible to other processes";
15196
+ readonly hidden: false;
15197
+ }, {
15198
+ readonly flags: "--token-file <path>";
15199
+ readonly description: "Read the adopt handover token from a file";
15200
+ readonly hidden: false;
15104
15201
  }, {
15105
15202
  readonly flags: "--text <message>";
15106
15203
  readonly description: "Message text";
@@ -15139,7 +15236,83 @@ export declare const COMMAND_CATALOG: readonly [{
15139
15236
  readonly hidden: false;
15140
15237
  }, {
15141
15238
  readonly flags: "--session-id <id>";
15142
- readonly description: "Act as this session";
15239
+ readonly description: "Act as this session (self-asserted; not an authentication)";
15240
+ readonly hidden: false;
15241
+ }, {
15242
+ readonly flags: "--link <id>";
15243
+ readonly description: "Conduct link id";
15244
+ readonly hidden: false;
15245
+ }, {
15246
+ readonly flags: "--child <name|all>";
15247
+ readonly description: "Child name or all children";
15248
+ readonly hidden: false;
15249
+ }, {
15250
+ readonly flags: "--name <name>";
15251
+ readonly description: "Child name";
15252
+ readonly hidden: false;
15253
+ }, {
15254
+ readonly flags: "--engine <engine>";
15255
+ readonly description: "Session engine (adopt: keeps the link's recorded engine when omitted)";
15256
+ readonly hidden: false;
15257
+ }, {
15258
+ readonly flags: "--title <title>";
15259
+ readonly description: "Session title";
15260
+ readonly hidden: false;
15261
+ }, {
15262
+ readonly flags: "--host-session <id>";
15263
+ readonly description: "Host session id (adopt: clears the previous conductor's host session when omitted)";
15264
+ readonly hidden: false;
15265
+ }, {
15266
+ readonly flags: "--claims <ids>";
15267
+ readonly description: "Exact comma-separated recipient receipt IDs";
15268
+ readonly hidden: false;
15269
+ }, {
15270
+ readonly flags: "--token <token>";
15271
+ readonly description: "Handover token for adopt. Use --token - to read it from stdin, or --token-file: a token on the command line is visible to other processes";
15272
+ readonly hidden: false;
15273
+ }, {
15274
+ readonly flags: "--token-file <path>";
15275
+ readonly description: "Read the adopt handover token from a file";
15276
+ readonly hidden: false;
15277
+ }, {
15278
+ readonly flags: "--text <message>";
15279
+ readonly description: "Message text";
15280
+ readonly hidden: false;
15281
+ }, {
15282
+ readonly flags: "--text-file <path>";
15283
+ readonly description: "Read message text from a file";
15284
+ readonly hidden: false;
15285
+ }, {
15286
+ readonly flags: "--state <state>";
15287
+ readonly description: "Child state";
15288
+ readonly hidden: false;
15289
+ }, {
15290
+ readonly flags: "--note <note>";
15291
+ readonly description: "State note";
15292
+ readonly hidden: false;
15293
+ }, {
15294
+ readonly flags: "--timeout <seconds>";
15295
+ readonly description: "Wait timeout in seconds";
15296
+ readonly hidden: false;
15297
+ }];
15298
+ readonly subcommands: readonly [];
15299
+ }, {
15300
+ readonly name: "handover";
15301
+ readonly description: "";
15302
+ readonly aliases: readonly [];
15303
+ readonly hidden: false;
15304
+ readonly helpOption: true;
15305
+ readonly helpCommand: false;
15306
+ readonly usage: "[options]";
15307
+ readonly helpText: readonly [];
15308
+ readonly arguments: readonly [];
15309
+ readonly options: readonly [{
15310
+ readonly flags: "--json";
15311
+ readonly description: "Print JSON output (the default)";
15312
+ readonly hidden: false;
15313
+ }, {
15314
+ readonly flags: "--session-id <id>";
15315
+ readonly description: "Act as this session (self-asserted; not an authentication)";
15143
15316
  readonly hidden: false;
15144
15317
  }, {
15145
15318
  readonly flags: "--link <id>";
@@ -15155,7 +15328,7 @@ export declare const COMMAND_CATALOG: readonly [{
15155
15328
  readonly hidden: false;
15156
15329
  }, {
15157
15330
  readonly flags: "--engine <engine>";
15158
- readonly description: "Session engine";
15331
+ readonly description: "Session engine (adopt: keeps the link's recorded engine when omitted)";
15159
15332
  readonly hidden: false;
15160
15333
  }, {
15161
15334
  readonly flags: "--title <title>";
@@ -15163,12 +15336,96 @@ export declare const COMMAND_CATALOG: readonly [{
15163
15336
  readonly hidden: false;
15164
15337
  }, {
15165
15338
  readonly flags: "--host-session <id>";
15166
- readonly description: "Host session id";
15339
+ readonly description: "Host session id (adopt: clears the previous conductor's host session when omitted)";
15167
15340
  readonly hidden: false;
15168
15341
  }, {
15169
15342
  readonly flags: "--claims <ids>";
15170
15343
  readonly description: "Exact comma-separated recipient receipt IDs";
15171
15344
  readonly hidden: false;
15345
+ }, {
15346
+ readonly flags: "--token <token>";
15347
+ readonly description: "Handover token for adopt. Use --token - to read it from stdin, or --token-file: a token on the command line is visible to other processes";
15348
+ readonly hidden: false;
15349
+ }, {
15350
+ readonly flags: "--token-file <path>";
15351
+ readonly description: "Read the adopt handover token from a file";
15352
+ readonly hidden: false;
15353
+ }, {
15354
+ readonly flags: "--text <message>";
15355
+ readonly description: "Message text";
15356
+ readonly hidden: false;
15357
+ }, {
15358
+ readonly flags: "--text-file <path>";
15359
+ readonly description: "Read message text from a file";
15360
+ readonly hidden: false;
15361
+ }, {
15362
+ readonly flags: "--state <state>";
15363
+ readonly description: "Child state";
15364
+ readonly hidden: false;
15365
+ }, {
15366
+ readonly flags: "--note <note>";
15367
+ readonly description: "State note";
15368
+ readonly hidden: false;
15369
+ }, {
15370
+ readonly flags: "--timeout <seconds>";
15371
+ readonly description: "Wait timeout in seconds";
15372
+ readonly hidden: false;
15373
+ }];
15374
+ readonly subcommands: readonly [];
15375
+ }, {
15376
+ readonly name: "adopt";
15377
+ readonly description: "";
15378
+ readonly aliases: readonly [];
15379
+ readonly hidden: false;
15380
+ readonly helpOption: true;
15381
+ readonly helpCommand: false;
15382
+ readonly usage: "[options]";
15383
+ readonly helpText: readonly [];
15384
+ readonly arguments: readonly [];
15385
+ readonly options: readonly [{
15386
+ readonly flags: "--json";
15387
+ readonly description: "Print JSON output (the default)";
15388
+ readonly hidden: false;
15389
+ }, {
15390
+ readonly flags: "--session-id <id>";
15391
+ readonly description: "Act as this session (self-asserted; not an authentication)";
15392
+ readonly hidden: false;
15393
+ }, {
15394
+ readonly flags: "--link <id>";
15395
+ readonly description: "Conduct link id";
15396
+ readonly hidden: false;
15397
+ }, {
15398
+ readonly flags: "--child <name|all>";
15399
+ readonly description: "Child name or all children";
15400
+ readonly hidden: false;
15401
+ }, {
15402
+ readonly flags: "--name <name>";
15403
+ readonly description: "Child name";
15404
+ readonly hidden: false;
15405
+ }, {
15406
+ readonly flags: "--engine <engine>";
15407
+ readonly description: "Session engine (adopt: keeps the link's recorded engine when omitted)";
15408
+ readonly hidden: false;
15409
+ }, {
15410
+ readonly flags: "--title <title>";
15411
+ readonly description: "Session title";
15412
+ readonly hidden: false;
15413
+ }, {
15414
+ readonly flags: "--host-session <id>";
15415
+ readonly description: "Host session id (adopt: clears the previous conductor's host session when omitted)";
15416
+ readonly hidden: false;
15417
+ }, {
15418
+ readonly flags: "--claims <ids>";
15419
+ readonly description: "Exact comma-separated recipient receipt IDs";
15420
+ readonly hidden: false;
15421
+ }, {
15422
+ readonly flags: "--token <token>";
15423
+ readonly description: "Handover token for adopt. Use --token - to read it from stdin, or --token-file: a token on the command line is visible to other processes";
15424
+ readonly hidden: false;
15425
+ }, {
15426
+ readonly flags: "--token-file <path>";
15427
+ readonly description: "Read the adopt handover token from a file";
15428
+ readonly hidden: false;
15172
15429
  }, {
15173
15430
  readonly flags: "--text <message>";
15174
15431
  readonly description: "Message text";
@@ -15207,7 +15464,7 @@ export declare const COMMAND_CATALOG: readonly [{
15207
15464
  readonly hidden: false;
15208
15465
  }, {
15209
15466
  readonly flags: "--session-id <id>";
15210
- readonly description: "Act as this session";
15467
+ readonly description: "Act as this session (self-asserted; not an authentication)";
15211
15468
  readonly hidden: false;
15212
15469
  }, {
15213
15470
  readonly flags: "--link <id>";
@@ -15223,7 +15480,7 @@ export declare const COMMAND_CATALOG: readonly [{
15223
15480
  readonly hidden: false;
15224
15481
  }, {
15225
15482
  readonly flags: "--engine <engine>";
15226
- readonly description: "Session engine";
15483
+ readonly description: "Session engine (adopt: keeps the link's recorded engine when omitted)";
15227
15484
  readonly hidden: false;
15228
15485
  }, {
15229
15486
  readonly flags: "--title <title>";
@@ -15231,12 +15488,20 @@ export declare const COMMAND_CATALOG: readonly [{
15231
15488
  readonly hidden: false;
15232
15489
  }, {
15233
15490
  readonly flags: "--host-session <id>";
15234
- readonly description: "Host session id";
15491
+ readonly description: "Host session id (adopt: clears the previous conductor's host session when omitted)";
15235
15492
  readonly hidden: false;
15236
15493
  }, {
15237
15494
  readonly flags: "--claims <ids>";
15238
15495
  readonly description: "Exact comma-separated recipient receipt IDs";
15239
15496
  readonly hidden: false;
15497
+ }, {
15498
+ readonly flags: "--token <token>";
15499
+ readonly description: "Handover token for adopt. Use --token - to read it from stdin, or --token-file: a token on the command line is visible to other processes";
15500
+ readonly hidden: false;
15501
+ }, {
15502
+ readonly flags: "--token-file <path>";
15503
+ readonly description: "Read the adopt handover token from a file";
15504
+ readonly hidden: false;
15240
15505
  }, {
15241
15506
  readonly flags: "--text <message>";
15242
15507
  readonly description: "Message text";