@indigoai-us/hq-cli 5.276.0 → 5.278.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/CHANGELOG.md +99 -0
- package/assets/scaffold/core/scripts/hq-delegate-pickup.sh +99 -0
- package/assets/scaffold/core/scripts/hq-delegate-repo.sh +158 -0
- package/assets/scaffold/core/scripts/hq-delegate-resolve.sh +145 -0
- package/assets/scaffold/core/scripts/hq-delegate-secrets.sh +129 -0
- package/assets/scaffold/core/scripts/hq-delegate-transfer.sh +175 -0
- package/assets/scaffold/core/scripts/lib/secret-patterns.sh +58 -0
- package/dist/command-catalog.generated.d.ts +239 -1
- package/dist/command-catalog.generated.js +302 -1
- package/dist/commands/core-delegate.d.ts +6 -0
- package/dist/commands/core-delegate.js +987 -0
- package/dist/commands/core.js +10 -0
- package/dist/commands/daemon.d.ts +3 -0
- package/dist/commands/daemon.js +173 -1
- package/dist/commands/dm.d.ts +2 -0
- package/dist/commands/dm.js +11 -4
- package/dist/commands/lanes-accounts.js +44 -2
- package/dist/commands/lanes-message.js +69 -12
- package/dist/commands/lanes-resume.js +2 -0
- package/dist/commands/lanes-shared.d.ts +3 -0
- package/dist/commands/lanes-shared.js +12 -2
- package/dist/commands/lanes.d.ts +5 -1
- package/dist/commands/lanes.js +399 -47
- package/dist/commands/secrets.d.ts +16 -1
- package/dist/commands/secrets.js +77 -48
- package/dist/commands/sync-mode.d.ts +11 -0
- package/dist/commands/sync-mode.js +30 -0
- package/dist/fast-scaffold.d.ts +17 -0
- package/dist/fast-scaffold.js +91 -0
- package/dist/index.js +17 -1
- package/dist/lanes-drain-hook.js +154 -7
- package/dist/lib/agent-kit/run/inbox.js +3 -2
- package/dist/lib/checkpoint-ontology/apply.d.ts +6 -0
- package/dist/lib/checkpoint-ontology/apply.js +111 -3
- package/dist/lib/checkpoint-ontology/plan.d.ts +23 -0
- package/dist/lib/checkpoint-ontology/plan.js +23 -0
- package/dist/lib/checkpoint-ontology/tree.d.ts +2 -0
- package/dist/lib/checkpoint-ontology/tree.js +34 -0
- package/dist/lib/core-utils/jq-json-serializer.d.ts +5 -0
- package/dist/lib/core-utils/jq-json-serializer.js +10 -0
- package/dist/lib/core-utils/secret-patterns.d.ts +41 -0
- package/dist/lib/core-utils/secret-patterns.js +33 -0
- package/dist/lib/daemon/catalog.d.ts +18 -2
- package/dist/lib/daemon/catalog.js +18 -2
- package/dist/lib/daemon/config.d.ts +6 -0
- package/dist/lib/daemon/config.js +15 -2
- package/dist/lib/daemon/requests.d.ts +4 -0
- package/dist/lib/daemon/requests.js +2 -0
- package/dist/lib/daemon/run.js +94 -8
- package/dist/lib/daemon/supervisor.d.ts +8 -0
- package/dist/lib/daemon/supervisor.js +101 -1
- package/dist/lib/daemon/sync-runner.d.ts +58 -0
- package/dist/lib/daemon/sync-runner.js +277 -0
- package/dist/lib/doctor/__testing__/run-doctor.d.ts +8 -0
- package/dist/lib/doctor/__testing__/run-doctor.js +52 -0
- package/dist/lib/flag-registry-worker-source.generated.d.ts +1 -1
- package/dist/lib/flag-registry-worker-source.generated.js +1 -1
- package/dist/lib/lanes/claude-balance.d.ts +6 -1
- package/dist/lib/lanes/claude-balance.js +46 -8
- package/dist/lib/lanes/config.d.ts +2 -1
- package/dist/lib/lanes/config.js +31 -0
- package/dist/lib/lanes/hire-grant-dispatch.d.ts +2 -0
- package/dist/lib/lanes/hire-grant-dispatch.js +41 -0
- package/dist/lib/lanes/index.d.ts +1 -1
- package/dist/lib/lanes/keep-alive.d.ts +3 -0
- package/dist/lib/lanes/keep-alive.js +3 -0
- package/dist/lib/lanes/outpost-dispatch.d.ts +4 -0
- package/dist/lib/lanes/outpost-dispatch.js +11 -2
- package/dist/lib/lanes/reconcile.d.ts +9 -0
- package/dist/lib/lanes/reconcile.js +127 -2
- package/dist/lib/lanes/runaway-tool-guard.d.ts +38 -0
- package/dist/lib/lanes/runaway-tool-guard.js +284 -0
- package/dist/lib/lanes/spawn.js +17 -10
- package/dist/lib/lanes/store.js +45 -1
- package/dist/lib/lanes/types.d.ts +37 -1
- package/dist/lib/lanes/types.js +2 -2
- package/dist/lib/lanes/watcher.d.ts +2 -0
- package/dist/lib/lanes/watcher.js +13 -2
- package/dist/secrets-env-fast-path.d.ts +5 -0
- package/dist/secrets-env-fast-path.js +16 -0
- package/dist/secrets-env-fast-route.d.ts +18 -0
- package/dist/secrets-env-fast-route.js +54 -0
- package/package.json +2 -2
|
@@ -6755,6 +6755,97 @@ export const COMMAND_CATALOG = [
|
|
|
6755
6755
|
],
|
|
6756
6756
|
"subcommands": []
|
|
6757
6757
|
},
|
|
6758
|
+
{
|
|
6759
|
+
"name": "delegate",
|
|
6760
|
+
"description": "Delegation handover helpers",
|
|
6761
|
+
"aliases": [],
|
|
6762
|
+
"hidden": false,
|
|
6763
|
+
"usage": "[options] [command]",
|
|
6764
|
+
"arguments": [],
|
|
6765
|
+
"options": [],
|
|
6766
|
+
"subcommands": [
|
|
6767
|
+
{
|
|
6768
|
+
"name": "resolve",
|
|
6769
|
+
"description": "Resolve a delegation recipient to a confirmed principal",
|
|
6770
|
+
"aliases": [],
|
|
6771
|
+
"hidden": false,
|
|
6772
|
+
"usage": "[args...]",
|
|
6773
|
+
"arguments": [
|
|
6774
|
+
{
|
|
6775
|
+
"name": "args",
|
|
6776
|
+
"required": false,
|
|
6777
|
+
"variadic": true
|
|
6778
|
+
}
|
|
6779
|
+
],
|
|
6780
|
+
"options": [],
|
|
6781
|
+
"subcommands": []
|
|
6782
|
+
},
|
|
6783
|
+
{
|
|
6784
|
+
"name": "pickup",
|
|
6785
|
+
"description": "Record or check evidence that a recipient picked up a delegation",
|
|
6786
|
+
"aliases": [],
|
|
6787
|
+
"hidden": false,
|
|
6788
|
+
"usage": "[args...]",
|
|
6789
|
+
"arguments": [
|
|
6790
|
+
{
|
|
6791
|
+
"name": "args",
|
|
6792
|
+
"required": false,
|
|
6793
|
+
"variadic": true
|
|
6794
|
+
}
|
|
6795
|
+
],
|
|
6796
|
+
"options": [],
|
|
6797
|
+
"subcommands": []
|
|
6798
|
+
},
|
|
6799
|
+
{
|
|
6800
|
+
"name": "repo",
|
|
6801
|
+
"description": "Prepare and record repository handover state",
|
|
6802
|
+
"aliases": [],
|
|
6803
|
+
"hidden": false,
|
|
6804
|
+
"usage": "[args...]",
|
|
6805
|
+
"arguments": [
|
|
6806
|
+
{
|
|
6807
|
+
"name": "args",
|
|
6808
|
+
"required": false,
|
|
6809
|
+
"variadic": true
|
|
6810
|
+
}
|
|
6811
|
+
],
|
|
6812
|
+
"options": [],
|
|
6813
|
+
"subcommands": []
|
|
6814
|
+
},
|
|
6815
|
+
{
|
|
6816
|
+
"name": "secrets",
|
|
6817
|
+
"description": "Grant a recipient access to declared secret names",
|
|
6818
|
+
"aliases": [],
|
|
6819
|
+
"hidden": false,
|
|
6820
|
+
"usage": "[args...]",
|
|
6821
|
+
"arguments": [
|
|
6822
|
+
{
|
|
6823
|
+
"name": "args",
|
|
6824
|
+
"required": false,
|
|
6825
|
+
"variadic": true
|
|
6826
|
+
}
|
|
6827
|
+
],
|
|
6828
|
+
"options": [],
|
|
6829
|
+
"subcommands": []
|
|
6830
|
+
},
|
|
6831
|
+
{
|
|
6832
|
+
"name": "transfer",
|
|
6833
|
+
"description": "Transfer local project ownership to a delegation recipient",
|
|
6834
|
+
"aliases": [],
|
|
6835
|
+
"hidden": false,
|
|
6836
|
+
"usage": "[args...]",
|
|
6837
|
+
"arguments": [
|
|
6838
|
+
{
|
|
6839
|
+
"name": "args",
|
|
6840
|
+
"required": false,
|
|
6841
|
+
"variadic": true
|
|
6842
|
+
}
|
|
6843
|
+
],
|
|
6844
|
+
"options": [],
|
|
6845
|
+
"subcommands": []
|
|
6846
|
+
}
|
|
6847
|
+
]
|
|
6848
|
+
},
|
|
6758
6849
|
{
|
|
6759
6850
|
"name": "generate-workers-registry",
|
|
6760
6851
|
"description": "Regenerate the derived workers registry",
|
|
@@ -9627,6 +9718,39 @@ export const COMMAND_CATALOG = [
|
|
|
9627
9718
|
],
|
|
9628
9719
|
"subcommands": []
|
|
9629
9720
|
},
|
|
9721
|
+
{
|
|
9722
|
+
"name": "set",
|
|
9723
|
+
"description": "Change the model or effort a lane uses from its next resume",
|
|
9724
|
+
"aliases": [],
|
|
9725
|
+
"hidden": false,
|
|
9726
|
+
"usage": "[options] <lane-id>",
|
|
9727
|
+
"arguments": [
|
|
9728
|
+
{
|
|
9729
|
+
"name": "lane-id",
|
|
9730
|
+
"required": true,
|
|
9731
|
+
"variadic": false
|
|
9732
|
+
}
|
|
9733
|
+
],
|
|
9734
|
+
"options": [
|
|
9735
|
+
{
|
|
9736
|
+
"flags": "--model <model>",
|
|
9737
|
+
"description": "Model for the lane's next and later turns"
|
|
9738
|
+
},
|
|
9739
|
+
{
|
|
9740
|
+
"flags": "--effort <level>",
|
|
9741
|
+
"description": "Effort for the lane's next and later turns"
|
|
9742
|
+
},
|
|
9743
|
+
{
|
|
9744
|
+
"flags": "--reason <text>",
|
|
9745
|
+
"description": "Why the settings changed; recorded in settings_history"
|
|
9746
|
+
},
|
|
9747
|
+
{
|
|
9748
|
+
"flags": "--json",
|
|
9749
|
+
"description": "Emit JSON on stdout (default)"
|
|
9750
|
+
}
|
|
9751
|
+
],
|
|
9752
|
+
"subcommands": []
|
|
9753
|
+
},
|
|
9630
9754
|
{
|
|
9631
9755
|
"name": "grant",
|
|
9632
9756
|
"description": "Set a lane's alive child-lane grant as its senior",
|
|
@@ -9707,6 +9831,14 @@ export const COMMAND_CATALOG = [
|
|
|
9707
9831
|
"flags": "--senior <ref>",
|
|
9708
9832
|
"description": "Filter by senior ref"
|
|
9709
9833
|
},
|
|
9834
|
+
{
|
|
9835
|
+
"flags": "--lane <id>",
|
|
9836
|
+
"description": "Filter by lane id (repeatable)"
|
|
9837
|
+
},
|
|
9838
|
+
{
|
|
9839
|
+
"flags": "--active",
|
|
9840
|
+
"description": "Include only lanes that are not terminal"
|
|
9841
|
+
},
|
|
9710
9842
|
{
|
|
9711
9843
|
"flags": "--json",
|
|
9712
9844
|
"description": "Emit JSON on stdout (default)"
|
|
@@ -10428,7 +10560,7 @@ export const COMMAND_CATALOG = [
|
|
|
10428
10560
|
},
|
|
10429
10561
|
{
|
|
10430
10562
|
"name": "stop",
|
|
10431
|
-
"description": "Cancel a queued lane or kill a running one",
|
|
10563
|
+
"description": "Cancel a queued lane or kill a running one (terminal; use interrupt to keep it resumable)",
|
|
10432
10564
|
"aliases": [],
|
|
10433
10565
|
"hidden": false,
|
|
10434
10566
|
"usage": "[options] <lane-id>",
|
|
@@ -10451,6 +10583,31 @@ export const COMMAND_CATALOG = [
|
|
|
10451
10583
|
],
|
|
10452
10584
|
"subcommands": []
|
|
10453
10585
|
},
|
|
10586
|
+
{
|
|
10587
|
+
"name": "interrupt",
|
|
10588
|
+
"description": "Stop a running lane's turn and keep it resumable with hq lanes resume",
|
|
10589
|
+
"aliases": [],
|
|
10590
|
+
"hidden": false,
|
|
10591
|
+
"usage": "[options] <lane-id>",
|
|
10592
|
+
"arguments": [
|
|
10593
|
+
{
|
|
10594
|
+
"name": "lane-id",
|
|
10595
|
+
"required": true,
|
|
10596
|
+
"variadic": false
|
|
10597
|
+
}
|
|
10598
|
+
],
|
|
10599
|
+
"options": [
|
|
10600
|
+
{
|
|
10601
|
+
"flags": "--reason <text>",
|
|
10602
|
+
"description": "Record the reason in the lane's stop history"
|
|
10603
|
+
},
|
|
10604
|
+
{
|
|
10605
|
+
"flags": "--json",
|
|
10606
|
+
"description": "JSON on stdout (always)"
|
|
10607
|
+
}
|
|
10608
|
+
],
|
|
10609
|
+
"subcommands": []
|
|
10610
|
+
},
|
|
10454
10611
|
{
|
|
10455
10612
|
"name": "approve",
|
|
10456
10613
|
"description": "Record senior approval for a registry worker checkpoint",
|
|
@@ -11291,6 +11448,150 @@ export const COMMAND_CATALOG = [
|
|
|
11291
11448
|
],
|
|
11292
11449
|
"subcommands": []
|
|
11293
11450
|
},
|
|
11451
|
+
{
|
|
11452
|
+
"name": "sync",
|
|
11453
|
+
"description": "Inspect and control the daemon's company sync runner",
|
|
11454
|
+
"aliases": [],
|
|
11455
|
+
"hidden": false,
|
|
11456
|
+
"usage": "[options] [command]",
|
|
11457
|
+
"arguments": [],
|
|
11458
|
+
"options": [],
|
|
11459
|
+
"subcommands": [
|
|
11460
|
+
{
|
|
11461
|
+
"name": "status",
|
|
11462
|
+
"description": "Show sync ownership, heartbeat, last pass and log path",
|
|
11463
|
+
"aliases": [],
|
|
11464
|
+
"hidden": false,
|
|
11465
|
+
"usage": "[options]",
|
|
11466
|
+
"arguments": [],
|
|
11467
|
+
"options": [
|
|
11468
|
+
{
|
|
11469
|
+
"flags": "--json",
|
|
11470
|
+
"description": "Print machine-readable JSON"
|
|
11471
|
+
}
|
|
11472
|
+
],
|
|
11473
|
+
"subcommands": []
|
|
11474
|
+
},
|
|
11475
|
+
{
|
|
11476
|
+
"name": "now",
|
|
11477
|
+
"description": "Start a fresh sync pass immediately",
|
|
11478
|
+
"aliases": [],
|
|
11479
|
+
"hidden": false,
|
|
11480
|
+
"usage": "[options]",
|
|
11481
|
+
"arguments": [],
|
|
11482
|
+
"options": [
|
|
11483
|
+
{
|
|
11484
|
+
"flags": "--json",
|
|
11485
|
+
"description": "Print machine-readable JSON"
|
|
11486
|
+
}
|
|
11487
|
+
],
|
|
11488
|
+
"subcommands": []
|
|
11489
|
+
},
|
|
11490
|
+
{
|
|
11491
|
+
"name": "pause",
|
|
11492
|
+
"description": "Pause daemon sync until resumed",
|
|
11493
|
+
"aliases": [],
|
|
11494
|
+
"hidden": false,
|
|
11495
|
+
"usage": "[options]",
|
|
11496
|
+
"arguments": [],
|
|
11497
|
+
"options": [
|
|
11498
|
+
{
|
|
11499
|
+
"flags": "--json",
|
|
11500
|
+
"description": "Print machine-readable JSON"
|
|
11501
|
+
}
|
|
11502
|
+
],
|
|
11503
|
+
"subcommands": []
|
|
11504
|
+
},
|
|
11505
|
+
{
|
|
11506
|
+
"name": "resume",
|
|
11507
|
+
"description": "Resume daemon sync after a pause",
|
|
11508
|
+
"aliases": [],
|
|
11509
|
+
"hidden": false,
|
|
11510
|
+
"usage": "[options]",
|
|
11511
|
+
"arguments": [],
|
|
11512
|
+
"options": [
|
|
11513
|
+
{
|
|
11514
|
+
"flags": "--json",
|
|
11515
|
+
"description": "Print machine-readable JSON"
|
|
11516
|
+
}
|
|
11517
|
+
],
|
|
11518
|
+
"subcommands": []
|
|
11519
|
+
},
|
|
11520
|
+
{
|
|
11521
|
+
"name": "take-ownership",
|
|
11522
|
+
"description": "Persist daemon ownership of desktop sync and reconcile",
|
|
11523
|
+
"aliases": [],
|
|
11524
|
+
"hidden": false,
|
|
11525
|
+
"usage": "[options]",
|
|
11526
|
+
"arguments": [],
|
|
11527
|
+
"options": [
|
|
11528
|
+
{
|
|
11529
|
+
"flags": "--json",
|
|
11530
|
+
"description": "Print machine-readable JSON"
|
|
11531
|
+
}
|
|
11532
|
+
],
|
|
11533
|
+
"subcommands": []
|
|
11534
|
+
},
|
|
11535
|
+
{
|
|
11536
|
+
"name": "mode",
|
|
11537
|
+
"description": "Read or change a company's sync footprint",
|
|
11538
|
+
"aliases": [],
|
|
11539
|
+
"hidden": false,
|
|
11540
|
+
"usage": "[options] [command]",
|
|
11541
|
+
"arguments": [],
|
|
11542
|
+
"options": [],
|
|
11543
|
+
"subcommands": [
|
|
11544
|
+
{
|
|
11545
|
+
"name": "get",
|
|
11546
|
+
"description": "Read a company's current all/shared sync mode",
|
|
11547
|
+
"aliases": [],
|
|
11548
|
+
"hidden": false,
|
|
11549
|
+
"usage": "[options] <company>",
|
|
11550
|
+
"arguments": [
|
|
11551
|
+
{
|
|
11552
|
+
"name": "company",
|
|
11553
|
+
"required": true,
|
|
11554
|
+
"variadic": false
|
|
11555
|
+
}
|
|
11556
|
+
],
|
|
11557
|
+
"options": [
|
|
11558
|
+
{
|
|
11559
|
+
"flags": "--json",
|
|
11560
|
+
"description": "Print machine-readable JSON"
|
|
11561
|
+
}
|
|
11562
|
+
],
|
|
11563
|
+
"subcommands": []
|
|
11564
|
+
},
|
|
11565
|
+
{
|
|
11566
|
+
"name": "set",
|
|
11567
|
+
"description": "Set a company's sync mode to all or shared",
|
|
11568
|
+
"aliases": [],
|
|
11569
|
+
"hidden": false,
|
|
11570
|
+
"usage": "[options] <company> <mode>",
|
|
11571
|
+
"arguments": [
|
|
11572
|
+
{
|
|
11573
|
+
"name": "company",
|
|
11574
|
+
"required": true,
|
|
11575
|
+
"variadic": false
|
|
11576
|
+
},
|
|
11577
|
+
{
|
|
11578
|
+
"name": "mode",
|
|
11579
|
+
"required": true,
|
|
11580
|
+
"variadic": false
|
|
11581
|
+
}
|
|
11582
|
+
],
|
|
11583
|
+
"options": [
|
|
11584
|
+
{
|
|
11585
|
+
"flags": "--json",
|
|
11586
|
+
"description": "Print machine-readable JSON"
|
|
11587
|
+
}
|
|
11588
|
+
],
|
|
11589
|
+
"subcommands": []
|
|
11590
|
+
}
|
|
11591
|
+
]
|
|
11592
|
+
}
|
|
11593
|
+
]
|
|
11594
|
+
},
|
|
11294
11595
|
{
|
|
11295
11596
|
"name": "logs",
|
|
11296
11597
|
"description": "Print the supervisor log, or one service's log",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Native implementations of the five `hq core delegate` shell companions. */
|
|
2
|
+
import { Command } from "commander";
|
|
3
|
+
export declare const CORE_NATIVE_DELEGATE_FLAG = "core-native-delegate";
|
|
4
|
+
/** Register the Wave 1a delegate commands and preserve the shell rollback path. */
|
|
5
|
+
export declare function registerCoreDelegateCommand(core: Command): void;
|
|
6
|
+
//# sourceMappingURL=core-delegate.d.ts.map
|