@indigoai-us/hq-cli 5.345.122 → 5.345.124
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 +25 -0
- package/README.md +15 -0
- package/assets/scaffold/core/scripts/handoff-sync-prefetch.sh +121 -0
- package/assets/scaffold/core/scripts/handoff-sync-publish.sh +124 -0
- package/assets/scaffold/core/scripts/knowledge-pulse-lock.sh +27 -0
- package/assets/scaffold/core/scripts/lib/session-skill-catalog.sh +226 -0
- package/assets/scaffold/core/scripts/skill-installed.sh +43 -0
- package/assets/scaffold/core/scripts/work-mesh-project-registration-offer.sh +77 -0
- package/assets/scaffold/core/scripts/workflow-gate.sh +247 -0
- package/dist/command-catalog.generated.d.ts +332 -0
- package/dist/command-catalog.generated.js +402 -0
- package/dist/command-registration-plan.d.ts +6 -0
- package/dist/command-registration-plan.js +1 -0
- package/dist/commands/core-bucket-c-handoff-sync-fast.d.ts +3 -0
- package/dist/commands/core-bucket-c-handoff-sync-fast.js +16 -0
- package/dist/commands/core-bucket-c-handoff-sync-native.d.ts +45 -0
- package/dist/commands/core-bucket-c-handoff-sync-native.js +300 -0
- package/dist/commands/core-bucket-c-small-fast.d.ts +5 -0
- package/dist/commands/core-bucket-c-small-fast.js +19 -0
- package/dist/commands/core-bucket-c-small-native.d.ts +11 -0
- package/dist/commands/core-bucket-c-small-native.js +197 -0
- package/dist/commands/core-bucket-c-work-mesh-offer-native.d.ts +7 -0
- package/dist/commands/core-bucket-c-work-mesh-offer-native.js +147 -0
- package/dist/commands/core-bucket-c-workflow-gate-fast.d.ts +3 -0
- package/dist/commands/core-bucket-c-workflow-gate-fast.js +17 -0
- package/dist/commands/core-bucket-c-workflow-gate-native.d.ts +7 -0
- package/dist/commands/core-bucket-c-workflow-gate-native.js +250 -0
- package/dist/commands/core-derive-trigger-facts-native.js +4 -1
- package/dist/commands/core.js +37 -0
- package/dist/commands/deploy-comments.d.ts +2 -0
- package/dist/commands/deploy-comments.js +2 -2
- package/dist/commands/deploy-list.d.ts +22 -0
- package/dist/commands/deploy-list.js +153 -0
- package/dist/commands/lanes.js +41 -2
- package/dist/commands/mesh.js +457 -16
- package/dist/fast-scaffold.js +74 -0
- package/dist/lib/core-utils/session-company.d.ts +3 -0
- package/dist/lib/core-utils/session-company.js +78 -0
- package/dist/lib/lanes/quota-notice.d.ts +24 -0
- package/dist/lib/lanes/quota-notice.js +61 -0
- package/dist/lib/lanes/quota.d.ts +44 -8
- package/dist/lib/lanes/quota.js +187 -45
- package/dist/lib/lanes/reconcile.js +17 -1
- package/dist/lib/lanes/watcher.js +13 -1
- package/dist/lib/mesh/api.d.ts +2 -0
- package/dist/lib/mesh/api.js +3 -0
- package/dist/lib/mesh/client.d.ts +6 -1
- package/dist/lib/mesh/client.js +18 -5
- package/dist/lib/mesh/team-coordination.d.ts +106 -0
- package/dist/lib/mesh/team-coordination.js +297 -0
- package/dist/lib/work-context/auto-bind.d.ts +75 -0
- package/dist/lib/work-context/auto-bind.js +245 -0
- package/package.json +1 -1
|
@@ -11527,6 +11527,46 @@ export const COMMAND_CATALOG = [
|
|
|
11527
11527
|
"options": [],
|
|
11528
11528
|
"subcommands": []
|
|
11529
11529
|
},
|
|
11530
|
+
{
|
|
11531
|
+
"name": "handoff-sync-prefetch",
|
|
11532
|
+
"description": "Pull the latest continuity pointer before a session resumes",
|
|
11533
|
+
"aliases": [],
|
|
11534
|
+
"hidden": false,
|
|
11535
|
+
"helpOption": false,
|
|
11536
|
+
"helpCommand": false,
|
|
11537
|
+
"usage": "[args...]",
|
|
11538
|
+
"helpText": [],
|
|
11539
|
+
"arguments": [
|
|
11540
|
+
{
|
|
11541
|
+
"name": "args",
|
|
11542
|
+
"required": false,
|
|
11543
|
+
"variadic": true,
|
|
11544
|
+
"description": "arguments passed through to the script"
|
|
11545
|
+
}
|
|
11546
|
+
],
|
|
11547
|
+
"options": [],
|
|
11548
|
+
"subcommands": []
|
|
11549
|
+
},
|
|
11550
|
+
{
|
|
11551
|
+
"name": "handoff-sync-publish",
|
|
11552
|
+
"description": "Publish the session continuity pointer to the personal vault",
|
|
11553
|
+
"aliases": [],
|
|
11554
|
+
"hidden": false,
|
|
11555
|
+
"helpOption": false,
|
|
11556
|
+
"helpCommand": false,
|
|
11557
|
+
"usage": "[args...]",
|
|
11558
|
+
"helpText": [],
|
|
11559
|
+
"arguments": [
|
|
11560
|
+
{
|
|
11561
|
+
"name": "args",
|
|
11562
|
+
"required": false,
|
|
11563
|
+
"variadic": true,
|
|
11564
|
+
"description": "arguments passed through to the script"
|
|
11565
|
+
}
|
|
11566
|
+
],
|
|
11567
|
+
"options": [],
|
|
11568
|
+
"subcommands": []
|
|
11569
|
+
},
|
|
11530
11570
|
{
|
|
11531
11571
|
"name": "hq-task",
|
|
11532
11572
|
"description": "List and update tasks on personal or company boards",
|
|
@@ -11547,6 +11587,86 @@ export const COMMAND_CATALOG = [
|
|
|
11547
11587
|
"options": [],
|
|
11548
11588
|
"subcommands": []
|
|
11549
11589
|
},
|
|
11590
|
+
{
|
|
11591
|
+
"name": "knowledge-pulse-lock",
|
|
11592
|
+
"description": "Atomically claim a company knowledge-pulse run",
|
|
11593
|
+
"aliases": [],
|
|
11594
|
+
"hidden": false,
|
|
11595
|
+
"helpOption": false,
|
|
11596
|
+
"helpCommand": false,
|
|
11597
|
+
"usage": "[args...]",
|
|
11598
|
+
"helpText": [],
|
|
11599
|
+
"arguments": [
|
|
11600
|
+
{
|
|
11601
|
+
"name": "args",
|
|
11602
|
+
"required": false,
|
|
11603
|
+
"variadic": true,
|
|
11604
|
+
"description": "arguments passed through to the script"
|
|
11605
|
+
}
|
|
11606
|
+
],
|
|
11607
|
+
"options": [],
|
|
11608
|
+
"subcommands": []
|
|
11609
|
+
},
|
|
11610
|
+
{
|
|
11611
|
+
"name": "skill-installed",
|
|
11612
|
+
"description": "Check whether a company-scoped skill is installed",
|
|
11613
|
+
"aliases": [],
|
|
11614
|
+
"hidden": false,
|
|
11615
|
+
"helpOption": false,
|
|
11616
|
+
"helpCommand": false,
|
|
11617
|
+
"usage": "[args...]",
|
|
11618
|
+
"helpText": [],
|
|
11619
|
+
"arguments": [
|
|
11620
|
+
{
|
|
11621
|
+
"name": "args",
|
|
11622
|
+
"required": false,
|
|
11623
|
+
"variadic": true,
|
|
11624
|
+
"description": "arguments passed through to the script"
|
|
11625
|
+
}
|
|
11626
|
+
],
|
|
11627
|
+
"options": [],
|
|
11628
|
+
"subcommands": []
|
|
11629
|
+
},
|
|
11630
|
+
{
|
|
11631
|
+
"name": "work-mesh-project-registration-offer",
|
|
11632
|
+
"description": "Check and record the work-mesh project registration offer",
|
|
11633
|
+
"aliases": [],
|
|
11634
|
+
"hidden": false,
|
|
11635
|
+
"helpOption": false,
|
|
11636
|
+
"helpCommand": false,
|
|
11637
|
+
"usage": "[args...]",
|
|
11638
|
+
"helpText": [],
|
|
11639
|
+
"arguments": [
|
|
11640
|
+
{
|
|
11641
|
+
"name": "args",
|
|
11642
|
+
"required": false,
|
|
11643
|
+
"variadic": true,
|
|
11644
|
+
"description": "arguments passed through to the script"
|
|
11645
|
+
}
|
|
11646
|
+
],
|
|
11647
|
+
"options": [],
|
|
11648
|
+
"subcommands": []
|
|
11649
|
+
},
|
|
11650
|
+
{
|
|
11651
|
+
"name": "workflow-gate",
|
|
11652
|
+
"description": "Inspect, answer, and wait for workflow gates",
|
|
11653
|
+
"aliases": [],
|
|
11654
|
+
"hidden": false,
|
|
11655
|
+
"helpOption": false,
|
|
11656
|
+
"helpCommand": false,
|
|
11657
|
+
"usage": "[args...]",
|
|
11658
|
+
"helpText": [],
|
|
11659
|
+
"arguments": [
|
|
11660
|
+
{
|
|
11661
|
+
"name": "args",
|
|
11662
|
+
"required": false,
|
|
11663
|
+
"variadic": true,
|
|
11664
|
+
"description": "arguments passed through to the script"
|
|
11665
|
+
}
|
|
11666
|
+
],
|
|
11667
|
+
"options": [],
|
|
11668
|
+
"subcommands": []
|
|
11669
|
+
},
|
|
11550
11670
|
{
|
|
11551
11671
|
"name": "checkpoint-stop-gate",
|
|
11552
11672
|
"description": "Stop-hook checkpoint + company-scope gate (reads the hook payload on stdin)",
|
|
@@ -12560,6 +12680,11 @@ export const COMMAND_CATALOG = [
|
|
|
12560
12680
|
"description": "Assign a person or agent uid, yourself, or clear",
|
|
12561
12681
|
"hidden": false
|
|
12562
12682
|
},
|
|
12683
|
+
{
|
|
12684
|
+
"flags": "--force",
|
|
12685
|
+
"description": "Override another holder's assignment",
|
|
12686
|
+
"hidden": false
|
|
12687
|
+
},
|
|
12563
12688
|
{
|
|
12564
12689
|
"flags": "--company <slug|uid>",
|
|
12565
12690
|
"description": "Company slug or cloud uid",
|
|
@@ -12583,6 +12708,167 @@ export const COMMAND_CATALOG = [
|
|
|
12583
12708
|
],
|
|
12584
12709
|
"subcommands": []
|
|
12585
12710
|
},
|
|
12711
|
+
{
|
|
12712
|
+
"name": "claim",
|
|
12713
|
+
"description": "Assign a story to yourself and move it to in_progress",
|
|
12714
|
+
"aliases": [],
|
|
12715
|
+
"hidden": false,
|
|
12716
|
+
"helpOption": true,
|
|
12717
|
+
"helpCommand": false,
|
|
12718
|
+
"usage": "[options]",
|
|
12719
|
+
"helpText": [],
|
|
12720
|
+
"arguments": [],
|
|
12721
|
+
"options": [
|
|
12722
|
+
{
|
|
12723
|
+
"flags": "--story <id>",
|
|
12724
|
+
"description": "Story id, e.g. US-001",
|
|
12725
|
+
"hidden": false
|
|
12726
|
+
},
|
|
12727
|
+
{
|
|
12728
|
+
"flags": "--force",
|
|
12729
|
+
"description": "Take the story even when someone else holds it",
|
|
12730
|
+
"hidden": false
|
|
12731
|
+
},
|
|
12732
|
+
{
|
|
12733
|
+
"flags": "--company <slug|uid>",
|
|
12734
|
+
"description": "Company slug or cloud uid",
|
|
12735
|
+
"hidden": false
|
|
12736
|
+
},
|
|
12737
|
+
{
|
|
12738
|
+
"flags": "--project <slug>",
|
|
12739
|
+
"description": "HQ project slug / projectId",
|
|
12740
|
+
"hidden": false
|
|
12741
|
+
},
|
|
12742
|
+
{
|
|
12743
|
+
"flags": "--thread-id <id>",
|
|
12744
|
+
"description": "Explicit work thread id",
|
|
12745
|
+
"hidden": false
|
|
12746
|
+
},
|
|
12747
|
+
{
|
|
12748
|
+
"flags": "--json",
|
|
12749
|
+
"description": "Print machine-readable JSON",
|
|
12750
|
+
"hidden": false
|
|
12751
|
+
}
|
|
12752
|
+
],
|
|
12753
|
+
"subcommands": []
|
|
12754
|
+
},
|
|
12755
|
+
{
|
|
12756
|
+
"name": "overlap",
|
|
12757
|
+
"description": "List other sessions working on the same story, branch, or files",
|
|
12758
|
+
"aliases": [],
|
|
12759
|
+
"hidden": false,
|
|
12760
|
+
"helpOption": true,
|
|
12761
|
+
"helpCommand": false,
|
|
12762
|
+
"usage": "[options]",
|
|
12763
|
+
"helpText": [],
|
|
12764
|
+
"arguments": [],
|
|
12765
|
+
"options": [
|
|
12766
|
+
{
|
|
12767
|
+
"flags": "--company <slug|uid>",
|
|
12768
|
+
"description": "Company slug or cloud uid",
|
|
12769
|
+
"hidden": false
|
|
12770
|
+
},
|
|
12771
|
+
{
|
|
12772
|
+
"flags": "--session <sid>",
|
|
12773
|
+
"description": "Your session id",
|
|
12774
|
+
"hidden": false
|
|
12775
|
+
},
|
|
12776
|
+
{
|
|
12777
|
+
"flags": "--repo <name>",
|
|
12778
|
+
"description": "Repository name",
|
|
12779
|
+
"hidden": false
|
|
12780
|
+
},
|
|
12781
|
+
{
|
|
12782
|
+
"flags": "--branch <branch>",
|
|
12783
|
+
"description": "Current branch",
|
|
12784
|
+
"hidden": false
|
|
12785
|
+
},
|
|
12786
|
+
{
|
|
12787
|
+
"flags": "--project <id>",
|
|
12788
|
+
"description": "Project id",
|
|
12789
|
+
"hidden": false
|
|
12790
|
+
},
|
|
12791
|
+
{
|
|
12792
|
+
"flags": "--story <id>",
|
|
12793
|
+
"description": "Story id",
|
|
12794
|
+
"hidden": false
|
|
12795
|
+
},
|
|
12796
|
+
{
|
|
12797
|
+
"flags": "--file <path>",
|
|
12798
|
+
"description": "Repo-relative file you are changing (repeatable)",
|
|
12799
|
+
"hidden": false
|
|
12800
|
+
},
|
|
12801
|
+
{
|
|
12802
|
+
"flags": "--files-json <json>",
|
|
12803
|
+
"description": "JSON array of repo-relative file paths",
|
|
12804
|
+
"hidden": false
|
|
12805
|
+
},
|
|
12806
|
+
{
|
|
12807
|
+
"flags": "--json",
|
|
12808
|
+
"description": "Print machine-readable JSON",
|
|
12809
|
+
"hidden": false
|
|
12810
|
+
}
|
|
12811
|
+
],
|
|
12812
|
+
"subcommands": []
|
|
12813
|
+
},
|
|
12814
|
+
{
|
|
12815
|
+
"name": "suggest",
|
|
12816
|
+
"description": "Rank teammates and agents to pick up a story",
|
|
12817
|
+
"aliases": [],
|
|
12818
|
+
"hidden": false,
|
|
12819
|
+
"helpOption": true,
|
|
12820
|
+
"helpCommand": false,
|
|
12821
|
+
"usage": "[options]",
|
|
12822
|
+
"helpText": [],
|
|
12823
|
+
"arguments": [],
|
|
12824
|
+
"options": [
|
|
12825
|
+
{
|
|
12826
|
+
"flags": "--company <slug|uid>",
|
|
12827
|
+
"description": "Company slug or cloud uid",
|
|
12828
|
+
"hidden": false
|
|
12829
|
+
},
|
|
12830
|
+
{
|
|
12831
|
+
"flags": "--project <id>",
|
|
12832
|
+
"description": "Project id",
|
|
12833
|
+
"hidden": false
|
|
12834
|
+
},
|
|
12835
|
+
{
|
|
12836
|
+
"flags": "--story <id>",
|
|
12837
|
+
"description": "Story id",
|
|
12838
|
+
"hidden": false
|
|
12839
|
+
},
|
|
12840
|
+
{
|
|
12841
|
+
"flags": "--json",
|
|
12842
|
+
"description": "Print machine-readable JSON",
|
|
12843
|
+
"hidden": false
|
|
12844
|
+
}
|
|
12845
|
+
],
|
|
12846
|
+
"subcommands": []
|
|
12847
|
+
},
|
|
12848
|
+
{
|
|
12849
|
+
"name": "roster",
|
|
12850
|
+
"description": "Show each member's daemon and session reporting state",
|
|
12851
|
+
"aliases": [],
|
|
12852
|
+
"hidden": false,
|
|
12853
|
+
"helpOption": true,
|
|
12854
|
+
"helpCommand": false,
|
|
12855
|
+
"usage": "[options]",
|
|
12856
|
+
"helpText": [],
|
|
12857
|
+
"arguments": [],
|
|
12858
|
+
"options": [
|
|
12859
|
+
{
|
|
12860
|
+
"flags": "--company <slug|uid>",
|
|
12861
|
+
"description": "Company slug or cloud uid",
|
|
12862
|
+
"hidden": false
|
|
12863
|
+
},
|
|
12864
|
+
{
|
|
12865
|
+
"flags": "--json",
|
|
12866
|
+
"description": "Print machine-readable JSON",
|
|
12867
|
+
"hidden": false
|
|
12868
|
+
}
|
|
12869
|
+
],
|
|
12870
|
+
"subcommands": []
|
|
12871
|
+
},
|
|
12586
12872
|
{
|
|
12587
12873
|
"name": "project",
|
|
12588
12874
|
"description": "Set a project Board view or register its project channel",
|
|
@@ -12784,6 +13070,52 @@ export const COMMAND_CATALOG = [
|
|
|
12784
13070
|
],
|
|
12785
13071
|
"subcommands": []
|
|
12786
13072
|
},
|
|
13073
|
+
{
|
|
13074
|
+
"name": "reassign",
|
|
13075
|
+
"description": "Move project ownership to another person or agent",
|
|
13076
|
+
"aliases": [],
|
|
13077
|
+
"hidden": false,
|
|
13078
|
+
"helpOption": true,
|
|
13079
|
+
"helpCommand": false,
|
|
13080
|
+
"usage": "[options] <projectId>",
|
|
13081
|
+
"helpText": [],
|
|
13082
|
+
"arguments": [
|
|
13083
|
+
{
|
|
13084
|
+
"name": "projectId",
|
|
13085
|
+
"required": true,
|
|
13086
|
+
"variadic": false,
|
|
13087
|
+
"description": ""
|
|
13088
|
+
}
|
|
13089
|
+
],
|
|
13090
|
+
"options": [
|
|
13091
|
+
{
|
|
13092
|
+
"flags": "--company <slug|uid>",
|
|
13093
|
+
"description": "Company slug or cloud uid",
|
|
13094
|
+
"hidden": false
|
|
13095
|
+
},
|
|
13096
|
+
{
|
|
13097
|
+
"flags": "--to <uid|email|name>",
|
|
13098
|
+
"description": "New owner (uid, email, or directory name)",
|
|
13099
|
+
"hidden": false
|
|
13100
|
+
},
|
|
13101
|
+
{
|
|
13102
|
+
"flags": "--include-open-stories",
|
|
13103
|
+
"description": "Also reassign the project's open stories",
|
|
13104
|
+
"hidden": false
|
|
13105
|
+
},
|
|
13106
|
+
{
|
|
13107
|
+
"flags": "--note <text>",
|
|
13108
|
+
"description": "Handoff note",
|
|
13109
|
+
"hidden": false
|
|
13110
|
+
},
|
|
13111
|
+
{
|
|
13112
|
+
"flags": "--json",
|
|
13113
|
+
"description": "Print machine-readable JSON",
|
|
13114
|
+
"hidden": false
|
|
13115
|
+
}
|
|
13116
|
+
],
|
|
13117
|
+
"subcommands": []
|
|
13118
|
+
},
|
|
12787
13119
|
{
|
|
12788
13120
|
"name": "member",
|
|
12789
13121
|
"description": "Manage project members",
|
|
@@ -13061,6 +13393,45 @@ export const COMMAND_CATALOG = [
|
|
|
13061
13393
|
],
|
|
13062
13394
|
"subcommands": []
|
|
13063
13395
|
},
|
|
13396
|
+
{
|
|
13397
|
+
"name": "auto-bind",
|
|
13398
|
+
"description": "Bind a needs_project session to the project its repo and branch belong to (local-only, fail-open)",
|
|
13399
|
+
"aliases": [],
|
|
13400
|
+
"hidden": false,
|
|
13401
|
+
"helpOption": true,
|
|
13402
|
+
"helpCommand": false,
|
|
13403
|
+
"usage": "[options]",
|
|
13404
|
+
"helpText": [],
|
|
13405
|
+
"arguments": [],
|
|
13406
|
+
"options": [
|
|
13407
|
+
{
|
|
13408
|
+
"flags": "--session <sid>",
|
|
13409
|
+
"description": "Canonical session id",
|
|
13410
|
+
"hidden": false
|
|
13411
|
+
},
|
|
13412
|
+
{
|
|
13413
|
+
"flags": "--cwd <dir>",
|
|
13414
|
+
"description": "Working directory to read the repo and branch from",
|
|
13415
|
+
"hidden": false
|
|
13416
|
+
},
|
|
13417
|
+
{
|
|
13418
|
+
"flags": "--company <slug>",
|
|
13419
|
+
"description": "Company slug (defaults to the session's company)",
|
|
13420
|
+
"hidden": false
|
|
13421
|
+
},
|
|
13422
|
+
{
|
|
13423
|
+
"flags": "--dry-run",
|
|
13424
|
+
"description": "Print the decision without binding",
|
|
13425
|
+
"hidden": false
|
|
13426
|
+
},
|
|
13427
|
+
{
|
|
13428
|
+
"flags": "--json",
|
|
13429
|
+
"description": "Print machine-readable JSON",
|
|
13430
|
+
"hidden": false
|
|
13431
|
+
}
|
|
13432
|
+
],
|
|
13433
|
+
"subcommands": []
|
|
13434
|
+
},
|
|
13064
13435
|
{
|
|
13065
13436
|
"name": "organize",
|
|
13066
13437
|
"description": "List or submit one-time project/task decisions (US-007B / US-005B)",
|
|
@@ -20908,6 +21279,37 @@ export const COMMAND_CATALOG = [
|
|
|
20908
21279
|
"subcommands": []
|
|
20909
21280
|
}
|
|
20910
21281
|
]
|
|
21282
|
+
},
|
|
21283
|
+
{
|
|
21284
|
+
"name": "list",
|
|
21285
|
+
"description": "List deploy apps in your company, optionally filtered by name or subdomain",
|
|
21286
|
+
"aliases": [],
|
|
21287
|
+
"hidden": false,
|
|
21288
|
+
"helpOption": true,
|
|
21289
|
+
"helpCommand": false,
|
|
21290
|
+
"usage": "[options] [query]",
|
|
21291
|
+
"helpText": [],
|
|
21292
|
+
"arguments": [
|
|
21293
|
+
{
|
|
21294
|
+
"name": "query",
|
|
21295
|
+
"required": false,
|
|
21296
|
+
"variadic": false,
|
|
21297
|
+
"description": ""
|
|
21298
|
+
}
|
|
21299
|
+
],
|
|
21300
|
+
"options": [
|
|
21301
|
+
{
|
|
21302
|
+
"flags": "--company <slug>",
|
|
21303
|
+
"description": "use this company instead of the active company",
|
|
21304
|
+
"hidden": false
|
|
21305
|
+
},
|
|
21306
|
+
{
|
|
21307
|
+
"flags": "--json",
|
|
21308
|
+
"description": "print the matching apps as JSON",
|
|
21309
|
+
"hidden": false
|
|
21310
|
+
}
|
|
21311
|
+
],
|
|
21312
|
+
"subcommands": []
|
|
20911
21313
|
}
|
|
20912
21314
|
]
|
|
20913
21315
|
},
|
|
@@ -509,6 +509,12 @@ export declare const REGISTRATION_PLAN: readonly [{
|
|
|
509
509
|
readonly parent: "deploy";
|
|
510
510
|
readonly module: "./commands/deploy-comments.js";
|
|
511
511
|
readonly exportName: "registerDeployCommentsCommand";
|
|
512
|
+
}, {
|
|
513
|
+
readonly type: "registrar";
|
|
514
|
+
readonly root: "deploy";
|
|
515
|
+
readonly parent: "deploy";
|
|
516
|
+
readonly module: "./commands/deploy-list.js";
|
|
517
|
+
readonly exportName: "registerDeployListCommand";
|
|
512
518
|
}, {
|
|
513
519
|
readonly type: "group";
|
|
514
520
|
readonly root: "staff";
|
|
@@ -87,6 +87,7 @@ export const REGISTRATION_PLAN = [
|
|
|
87
87
|
{ type: "registrar", root: "report", parent: "program", module: "./commands/report.js", exportName: "registerReportCommand" },
|
|
88
88
|
{ type: "group", root: "deploy", id: "deploy", name: "deploy", description: "Manage deployments in hq-deploy" },
|
|
89
89
|
{ type: "registrar", root: "deploy", parent: "deploy", module: "./commands/deploy-comments.js", exportName: "registerDeployCommentsCommand" },
|
|
90
|
+
{ type: "registrar", root: "deploy", parent: "deploy", module: "./commands/deploy-list.js", exportName: "registerDeployListCommand" },
|
|
90
91
|
// onboarding-test-accounts US-007 — super-admin staff CLI wrappers over the
|
|
91
92
|
// hq-pro admin surface. New wrappers land under this group; the reset
|
|
92
93
|
// command mirrors POST /v1/admin/test-account/reset.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare function runHandoffSyncPrefetchFast(args: string[], _stdin: string, _cwd: string, root: string): Promise<number>;
|
|
2
|
+
export declare function runHandoffSyncPublishFast(args: string[], _stdin: string, _cwd: string, root: string): Promise<number>;
|
|
3
|
+
//# sourceMappingURL=core-bucket-c-handoff-sync-fast.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { runHandoffSyncPrefetch, runHandoffSyncPublish } from "./core-bucket-c-handoff-sync-native.js";
|
|
2
|
+
async function emit(result) {
|
|
3
|
+
const output = await result;
|
|
4
|
+
if (output.stdout)
|
|
5
|
+
process.stdout.write(output.stdout);
|
|
6
|
+
if (output.stderr)
|
|
7
|
+
process.stderr.write(output.stderr);
|
|
8
|
+
return output.code;
|
|
9
|
+
}
|
|
10
|
+
export function runHandoffSyncPrefetchFast(args, _stdin, _cwd, root) {
|
|
11
|
+
return emit(runHandoffSyncPrefetch(args, root));
|
|
12
|
+
}
|
|
13
|
+
export function runHandoffSyncPublishFast(args, _stdin, _cwd, root) {
|
|
14
|
+
return emit(runHandoffSyncPublish(args, root));
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=core-bucket-c-handoff-sync-fast.js.map
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { type ChildProcess, type SpawnOptions } from "node:child_process";
|
|
2
|
+
export declare const HANDOFF_SYNC_PREFETCH_ASSET = "core/scripts/handoff-sync-prefetch.sh";
|
|
3
|
+
export declare const HANDOFF_SYNC_PUBLISH_ASSET = "core/scripts/handoff-sync-publish.sh";
|
|
4
|
+
export type HandoffSyncResult = {
|
|
5
|
+
code: number;
|
|
6
|
+
stdout: string;
|
|
7
|
+
stderr: string;
|
|
8
|
+
};
|
|
9
|
+
type ChildResult = {
|
|
10
|
+
code: number;
|
|
11
|
+
timedOut: boolean;
|
|
12
|
+
};
|
|
13
|
+
type Dependencies = {
|
|
14
|
+
spawn: (command: string, args: string[], options: SpawnOptions) => ChildProcess;
|
|
15
|
+
cwd: string;
|
|
16
|
+
env: NodeJS.ProcessEnv;
|
|
17
|
+
pid: number;
|
|
18
|
+
now: () => Date;
|
|
19
|
+
};
|
|
20
|
+
declare function parseArgs(args: readonly string[], kind: "prefetch" | "publish", env?: NodeJS.ProcessEnv): {
|
|
21
|
+
root: string;
|
|
22
|
+
timeout: string;
|
|
23
|
+
log: string;
|
|
24
|
+
sync: boolean;
|
|
25
|
+
child: boolean;
|
|
26
|
+
} | HandoffSyncResult;
|
|
27
|
+
declare function exitCode(code: number | null, signal: NodeJS.Signals | null): number;
|
|
28
|
+
declare function runWithTimeout(deps: Dependencies, logFd: number, timeoutText: string, args: string[]): Promise<ChildResult>;
|
|
29
|
+
declare function openLog(log: string): number | HandoffSyncResult;
|
|
30
|
+
declare function header(deps: Dependencies, root: string, kind: "prefetch" | "publish", timeout: string, mode?: string): string;
|
|
31
|
+
declare function resolveRoot(root: string, deps: Dependencies): string;
|
|
32
|
+
declare function commandOnPath(name: string, env: NodeJS.ProcessEnv): boolean;
|
|
33
|
+
export declare function runHandoffSyncPrefetch(args: readonly string[], hqRoot: string, deps?: Dependencies): Promise<HandoffSyncResult>;
|
|
34
|
+
export declare function runHandoffSyncPublish(args: readonly string[], hqRoot: string, deps?: Dependencies): Promise<HandoffSyncResult>;
|
|
35
|
+
export declare const __handoffSyncTest: {
|
|
36
|
+
parseArgs: typeof parseArgs;
|
|
37
|
+
exitCode: typeof exitCode;
|
|
38
|
+
runWithTimeout: typeof runWithTimeout;
|
|
39
|
+
openLog: typeof openLog;
|
|
40
|
+
header: typeof header;
|
|
41
|
+
resolveRoot: typeof resolveRoot;
|
|
42
|
+
commandOnPath: typeof commandOnPath;
|
|
43
|
+
};
|
|
44
|
+
export {};
|
|
45
|
+
//# sourceMappingURL=core-bucket-c-handoff-sync-native.d.ts.map
|