@indigoai-us/hq-cli 5.187.0 → 5.188.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 +15 -0
- package/dist/command-catalog.generated.d.ts +43 -0
- package/dist/command-catalog.generated.js +56 -0
- package/dist/commands/lanes.d.ts +2 -0
- package/dist/commands/lanes.js +633 -10
- package/dist/lib/lanes/claude-account-balance.d.ts +82 -0
- package/dist/lib/lanes/claude-account-balance.js +253 -0
- package/dist/lib/lanes/host-capacity.d.ts +19 -0
- package/dist/lib/lanes/host-capacity.js +68 -0
- package/dist/lib/lanes/index.d.ts +1 -1
- package/dist/lib/lanes/outpost-dispatch.d.ts +9 -0
- package/dist/lib/lanes/outpost-dispatch.js +19 -0
- package/dist/lib/lanes/store.js +86 -0
- package/dist/lib/lanes/types.d.ts +48 -0
- package/dist/lib/lanes/types.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [5.188.0] — 2026-09-25
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- `hq lanes accounts balance --provider claude` reports per-host account load,
|
|
10
|
+
login state, and proposed moves. `--apply` moves only sessions between turns
|
|
11
|
+
and requires the default-off `lanes.claude-account-balance` hq-flags gate.
|
|
12
|
+
Claude lane creation now considers live lane counts across readable hosts,
|
|
13
|
+
including lanes whose real host identity is local on an Outpost. It checks
|
|
14
|
+
login on the target host, reports unknown login state separately, and records
|
|
15
|
+
the selection and any host gaps on the lane. Explicit `--account` choices
|
|
16
|
+
remain in effect. Automatic resume repair runs only while the balance gate is
|
|
17
|
+
enabled; with the gate off, disabled and logged-out accounts keep their usual
|
|
18
|
+
refusal behavior without reading other hosts.
|
|
19
|
+
|
|
5
20
|
## [5.187.0] — 2026-09-25
|
|
6
21
|
|
|
7
22
|
### Fixed
|
|
@@ -7074,6 +7074,31 @@ export declare const COMMAND_CATALOG: readonly [{
|
|
|
7074
7074
|
readonly description: "JSON on stdout (always)";
|
|
7075
7075
|
}];
|
|
7076
7076
|
readonly subcommands: readonly [];
|
|
7077
|
+
}, {
|
|
7078
|
+
readonly name: "balance-move-target";
|
|
7079
|
+
readonly description: "";
|
|
7080
|
+
readonly aliases: readonly [];
|
|
7081
|
+
readonly hidden: true;
|
|
7082
|
+
readonly usage: "[options] <lane-id>";
|
|
7083
|
+
readonly arguments: readonly [{
|
|
7084
|
+
readonly name: "lane-id";
|
|
7085
|
+
readonly required: true;
|
|
7086
|
+
readonly variadic: false;
|
|
7087
|
+
}];
|
|
7088
|
+
readonly options: readonly [{
|
|
7089
|
+
readonly flags: "--account <id>";
|
|
7090
|
+
readonly description: "Target Claude account id";
|
|
7091
|
+
}, {
|
|
7092
|
+
readonly flags: "--from-account <id>";
|
|
7093
|
+
readonly description: "Expected source Claude account id";
|
|
7094
|
+
}, {
|
|
7095
|
+
readonly flags: "--expected-state <state>";
|
|
7096
|
+
readonly description: "Expected lane state from the balance plan";
|
|
7097
|
+
}, {
|
|
7098
|
+
readonly flags: "--json";
|
|
7099
|
+
readonly description: "JSON on stdout (always)";
|
|
7100
|
+
}];
|
|
7101
|
+
readonly subcommands: readonly [];
|
|
7077
7102
|
}, {
|
|
7078
7103
|
readonly name: "admit";
|
|
7079
7104
|
readonly description: "Try to admit the oldest eligible queued lane";
|
|
@@ -7571,6 +7596,24 @@ export declare const COMMAND_CATALOG: readonly [{
|
|
|
7571
7596
|
readonly description: "JSON on stdout (always)";
|
|
7572
7597
|
}];
|
|
7573
7598
|
readonly subcommands: readonly [];
|
|
7599
|
+
}, {
|
|
7600
|
+
readonly name: "balance";
|
|
7601
|
+
readonly description: "Report Claude account load and suggest safe between-turn moves";
|
|
7602
|
+
readonly aliases: readonly [];
|
|
7603
|
+
readonly hidden: false;
|
|
7604
|
+
readonly usage: "[options]";
|
|
7605
|
+
readonly arguments: readonly [];
|
|
7606
|
+
readonly options: readonly [{
|
|
7607
|
+
readonly flags: "--provider <name>";
|
|
7608
|
+
readonly description: "claude";
|
|
7609
|
+
}, {
|
|
7610
|
+
readonly flags: "--apply";
|
|
7611
|
+
readonly description: "Move eligible between-turn sessions (requires the Claude account balance gate)";
|
|
7612
|
+
}, {
|
|
7613
|
+
readonly flags: "--json";
|
|
7614
|
+
readonly description: "JSON on stdout (always)";
|
|
7615
|
+
}];
|
|
7616
|
+
readonly subcommands: readonly [];
|
|
7574
7617
|
}, {
|
|
7575
7618
|
readonly name: "login";
|
|
7576
7619
|
readonly description: "Create a home, run the vendor login, and register the account";
|
|
@@ -9142,6 +9142,39 @@ export const COMMAND_CATALOG = [
|
|
|
9142
9142
|
],
|
|
9143
9143
|
"subcommands": []
|
|
9144
9144
|
},
|
|
9145
|
+
{
|
|
9146
|
+
"name": "balance-move-target",
|
|
9147
|
+
"description": "",
|
|
9148
|
+
"aliases": [],
|
|
9149
|
+
"hidden": true,
|
|
9150
|
+
"usage": "[options] <lane-id>",
|
|
9151
|
+
"arguments": [
|
|
9152
|
+
{
|
|
9153
|
+
"name": "lane-id",
|
|
9154
|
+
"required": true,
|
|
9155
|
+
"variadic": false
|
|
9156
|
+
}
|
|
9157
|
+
],
|
|
9158
|
+
"options": [
|
|
9159
|
+
{
|
|
9160
|
+
"flags": "--account <id>",
|
|
9161
|
+
"description": "Target Claude account id"
|
|
9162
|
+
},
|
|
9163
|
+
{
|
|
9164
|
+
"flags": "--from-account <id>",
|
|
9165
|
+
"description": "Expected source Claude account id"
|
|
9166
|
+
},
|
|
9167
|
+
{
|
|
9168
|
+
"flags": "--expected-state <state>",
|
|
9169
|
+
"description": "Expected lane state from the balance plan"
|
|
9170
|
+
},
|
|
9171
|
+
{
|
|
9172
|
+
"flags": "--json",
|
|
9173
|
+
"description": "JSON on stdout (always)"
|
|
9174
|
+
}
|
|
9175
|
+
],
|
|
9176
|
+
"subcommands": []
|
|
9177
|
+
},
|
|
9145
9178
|
{
|
|
9146
9179
|
"name": "admit",
|
|
9147
9180
|
"description": "Try to admit the oldest eligible queued lane",
|
|
@@ -9790,6 +9823,29 @@ export const COMMAND_CATALOG = [
|
|
|
9790
9823
|
],
|
|
9791
9824
|
"subcommands": []
|
|
9792
9825
|
},
|
|
9826
|
+
{
|
|
9827
|
+
"name": "balance",
|
|
9828
|
+
"description": "Report Claude account load and suggest safe between-turn moves",
|
|
9829
|
+
"aliases": [],
|
|
9830
|
+
"hidden": false,
|
|
9831
|
+
"usage": "[options]",
|
|
9832
|
+
"arguments": [],
|
|
9833
|
+
"options": [
|
|
9834
|
+
{
|
|
9835
|
+
"flags": "--provider <name>",
|
|
9836
|
+
"description": "claude"
|
|
9837
|
+
},
|
|
9838
|
+
{
|
|
9839
|
+
"flags": "--apply",
|
|
9840
|
+
"description": "Move eligible between-turn sessions (requires the Claude account balance gate)"
|
|
9841
|
+
},
|
|
9842
|
+
{
|
|
9843
|
+
"flags": "--json",
|
|
9844
|
+
"description": "JSON on stdout (always)"
|
|
9845
|
+
}
|
|
9846
|
+
],
|
|
9847
|
+
"subcommands": []
|
|
9848
|
+
},
|
|
9793
9849
|
{
|
|
9794
9850
|
"name": "login",
|
|
9795
9851
|
"description": "Create a home, run the vendor login, and register the account",
|
package/dist/commands/lanes.d.ts
CHANGED
|
@@ -80,6 +80,8 @@ export interface LanesCommandDeps {
|
|
|
80
80
|
lanePlacementEnabled?: () => boolean;
|
|
81
81
|
/** Test seam for the default-off lane hire-grants rollout gate. */
|
|
82
82
|
laneHireGrantsEnabled?: (company?: LaneCompanyRef | null) => boolean | Promise<boolean>;
|
|
83
|
+
/** Test seam for the default-off Claude account-balancing gate. */
|
|
84
|
+
laneClaudeAccountBalanceEnabled?: () => boolean;
|
|
83
85
|
}
|
|
84
86
|
export declare const LANE_OUTPOST_LOAD_BALANCING_FLAG = "lanes.outpost-load-balancing";
|
|
85
87
|
export declare function parseSeniorRef(raw: string): SeniorRef;
|