@indigoai-us/hq-cli 5.345.92 → 5.345.93
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 +14 -0
- package/dist/command-catalog.generated.d.ts +252 -0
- package/dist/command-catalog.generated.js +306 -0
- package/dist/command-registration-plan.d.ts +6 -0
- package/dist/command-registration-plan.js +1 -0
- package/dist/commands/capacity.d.ts +71 -0
- package/dist/commands/capacity.js +666 -0
- package/dist/commands/integrations-connect.js +64 -5
- package/dist/commands/lanes-accounts.d.ts +1 -0
- package/dist/commands/lanes-accounts.js +6 -0
- package/dist/lib/capacity/accounts.d.ts +36 -0
- package/dist/lib/capacity/accounts.js +90 -0
- package/dist/lib/capacity/collect.d.ts +33 -0
- package/dist/lib/capacity/collect.js +164 -0
- package/dist/lib/capacity/collectors/claude-oauth.d.ts +145 -0
- package/dist/lib/capacity/collectors/claude-oauth.js +1211 -0
- package/dist/lib/capacity/collectors/claude-statusline.d.ts +72 -0
- package/dist/lib/capacity/collectors/claude-statusline.js +436 -0
- package/dist/lib/capacity/collectors/codex.d.ts +120 -0
- package/dist/lib/capacity/collectors/codex.js +1134 -0
- package/dist/lib/capacity/collectors/grok.d.ts +86 -0
- package/dist/lib/capacity/collectors/grok.js +588 -0
- package/dist/lib/capacity/lane-login.d.ts +29 -0
- package/dist/lib/capacity/lane-login.js +91 -0
- package/dist/lib/capacity/ledger.d.ts +399 -0
- package/dist/lib/capacity/ledger.js +1441 -0
- package/dist/lib/capacity/project.d.ts +12 -0
- package/dist/lib/capacity/project.js +264 -0
- package/dist/lib/capacity/read.d.ts +62 -0
- package/dist/lib/capacity/read.js +264 -0
- package/dist/lib/capacity/refusal.d.ts +30 -0
- package/dist/lib/capacity/refusal.js +183 -0
- package/dist/lib/capacity/scheduler.d.ts +76 -0
- package/dist/lib/capacity/scheduler.js +800 -0
- package/dist/lib/capacity/sign-in.d.ts +103 -0
- package/dist/lib/capacity/sign-in.js +517 -0
- package/dist/lib/capacity/widget.d.ts +22 -0
- package/dist/lib/capacity/widget.js +418 -0
- package/dist/lib/lanes/spawn.js +12 -0
- package/dist/lib/mesh/live/daemon/run.d.ts +5 -0
- package/dist/lib/mesh/live/daemon/run.js +29 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [5.345.93] — 2026-10-12
|
|
6
|
+
- New `hq capacity` command shows how much of each signed-in Claude, Codex,
|
|
7
|
+
and Grok account's usage limit is left and when it resets. The numbers come
|
|
8
|
+
from a local ledger that the mesh daemon fills in the background after you
|
|
9
|
+
run `hq capacity enable`. `hq capacity login` signs in another account
|
|
10
|
+
through the same flow as `hq lanes accounts login`; a new account is only
|
|
11
|
+
read for usage, and lanes do not use it until you run
|
|
12
|
+
`hq lanes accounts enable`. `hq capacity --widget` prints the same view as
|
|
13
|
+
an HTML card for chat. `hq lanes create` now prints one line with current
|
|
14
|
+
usage before it starts a provider, and it never changes which provider runs.
|
|
15
|
+
- Connect and re-add Gmail even when the app catalog lists it without an MCP
|
|
16
|
+
server URL, using Google's documented Gmail MCP endpoint. A catalog app that
|
|
17
|
+
still has no URL now fails with a non-zero exit instead of looking successful.
|
|
18
|
+
|
|
5
19
|
## [5.345.92] — 2026-10-12
|
|
6
20
|
- The background search-index worker no longer spins at full CPU when its working directory is deleted: it only writes to absolute log paths, rejects a `C:/...` log path on macOS and Linux, receives the launcher's HQ root, and kills any qmd cleanup, update, or embed step that runs past 2 hours (`QMD_REINDEX_STEP_TIMEOUT_SEC` overrides). The bundled `qmd-reindex-bg.sh` converts paths with `cygpath` only on Git Bash, MSYS2, or Cygwin.
|
|
7
21
|
|
|
@@ -9358,6 +9358,258 @@ export declare const COMMAND_CATALOG: readonly [{
|
|
|
9358
9358
|
}];
|
|
9359
9359
|
readonly subcommands: readonly [];
|
|
9360
9360
|
}];
|
|
9361
|
+
}, {
|
|
9362
|
+
readonly name: "capacity";
|
|
9363
|
+
readonly description: "Show provider capacity from the local ledger (read-only; enable, login, and ingest write to it)";
|
|
9364
|
+
readonly aliases: readonly [];
|
|
9365
|
+
readonly hidden: false;
|
|
9366
|
+
readonly helpOption: true;
|
|
9367
|
+
readonly helpCommand: false;
|
|
9368
|
+
readonly usage: "[options] [command]";
|
|
9369
|
+
readonly helpText: readonly [{
|
|
9370
|
+
readonly position: "after";
|
|
9371
|
+
readonly text: "\nCodex rate limits are read with `codex app-server` only when Codex has been idle for 30 minutes and no codex process is running. account/rateLimits/read does not refresh tokens, but starting app-server can still rewrite ~/.codex/auth.json for a managed ChatGPT login, so the read stays idle-gated.\n";
|
|
9372
|
+
}];
|
|
9373
|
+
readonly arguments: readonly [];
|
|
9374
|
+
readonly options: readonly [{
|
|
9375
|
+
readonly flags: "--json";
|
|
9376
|
+
readonly description: "Print now.json plus schemaVersion";
|
|
9377
|
+
readonly hidden: false;
|
|
9378
|
+
}, {
|
|
9379
|
+
readonly flags: "--widget";
|
|
9380
|
+
readonly description: "Print an HTML usage card for chat";
|
|
9381
|
+
readonly hidden: false;
|
|
9382
|
+
}];
|
|
9383
|
+
readonly subcommands: readonly [{
|
|
9384
|
+
readonly name: "history";
|
|
9385
|
+
readonly description: "Print readings from the ledger event log";
|
|
9386
|
+
readonly aliases: readonly [];
|
|
9387
|
+
readonly hidden: false;
|
|
9388
|
+
readonly helpOption: true;
|
|
9389
|
+
readonly helpCommand: false;
|
|
9390
|
+
readonly usage: "[options]";
|
|
9391
|
+
readonly helpText: readonly [];
|
|
9392
|
+
readonly arguments: readonly [];
|
|
9393
|
+
readonly options: readonly [{
|
|
9394
|
+
readonly flags: "--provider <name>";
|
|
9395
|
+
readonly description: "Only this provider";
|
|
9396
|
+
readonly hidden: false;
|
|
9397
|
+
}, {
|
|
9398
|
+
readonly flags: "--since <when>";
|
|
9399
|
+
readonly description: "Duration (24h, 7d, 30m) or a UTC timestamp";
|
|
9400
|
+
readonly hidden: false;
|
|
9401
|
+
}, {
|
|
9402
|
+
readonly flags: "--json";
|
|
9403
|
+
readonly description: "Print readings as JSON";
|
|
9404
|
+
readonly hidden: false;
|
|
9405
|
+
}];
|
|
9406
|
+
readonly subcommands: readonly [];
|
|
9407
|
+
}, {
|
|
9408
|
+
readonly name: "doctor";
|
|
9409
|
+
readonly description: "Report last success, pinned versus installed CLI versions, and parser failures";
|
|
9410
|
+
readonly aliases: readonly [];
|
|
9411
|
+
readonly hidden: false;
|
|
9412
|
+
readonly helpOption: true;
|
|
9413
|
+
readonly helpCommand: false;
|
|
9414
|
+
readonly usage: "[options]";
|
|
9415
|
+
readonly helpText: readonly [];
|
|
9416
|
+
readonly arguments: readonly [];
|
|
9417
|
+
readonly options: readonly [{
|
|
9418
|
+
readonly flags: "--json";
|
|
9419
|
+
readonly description: "Print JSON";
|
|
9420
|
+
readonly hidden: false;
|
|
9421
|
+
}];
|
|
9422
|
+
readonly subcommands: readonly [];
|
|
9423
|
+
}, {
|
|
9424
|
+
readonly name: "enable";
|
|
9425
|
+
readonly description: "Create the ledger directory and mark the collector on";
|
|
9426
|
+
readonly aliases: readonly [];
|
|
9427
|
+
readonly hidden: false;
|
|
9428
|
+
readonly helpOption: true;
|
|
9429
|
+
readonly helpCommand: false;
|
|
9430
|
+
readonly usage: "[options]";
|
|
9431
|
+
readonly helpText: readonly [];
|
|
9432
|
+
readonly arguments: readonly [];
|
|
9433
|
+
readonly options: readonly [];
|
|
9434
|
+
readonly subcommands: readonly [];
|
|
9435
|
+
}, {
|
|
9436
|
+
readonly name: "disable";
|
|
9437
|
+
readonly description: "Mark the collector off without deleting readings";
|
|
9438
|
+
readonly aliases: readonly [];
|
|
9439
|
+
readonly hidden: false;
|
|
9440
|
+
readonly helpOption: true;
|
|
9441
|
+
readonly helpCommand: false;
|
|
9442
|
+
readonly usage: "[options]";
|
|
9443
|
+
readonly helpText: readonly [];
|
|
9444
|
+
readonly arguments: readonly [];
|
|
9445
|
+
readonly options: readonly [];
|
|
9446
|
+
readonly subcommands: readonly [];
|
|
9447
|
+
}, {
|
|
9448
|
+
readonly name: "ingest";
|
|
9449
|
+
readonly description: "Record a provider capacity reading";
|
|
9450
|
+
readonly aliases: readonly [];
|
|
9451
|
+
readonly hidden: false;
|
|
9452
|
+
readonly helpOption: true;
|
|
9453
|
+
readonly helpCommand: true;
|
|
9454
|
+
readonly usage: "[options] [command]";
|
|
9455
|
+
readonly helpText: readonly [];
|
|
9456
|
+
readonly arguments: readonly [];
|
|
9457
|
+
readonly options: readonly [];
|
|
9458
|
+
readonly subcommands: readonly [{
|
|
9459
|
+
readonly name: "claude-statusline";
|
|
9460
|
+
readonly description: "Read one Claude Code statusline JSON payload from stdin and record its rate limits";
|
|
9461
|
+
readonly aliases: readonly [];
|
|
9462
|
+
readonly hidden: false;
|
|
9463
|
+
readonly helpOption: true;
|
|
9464
|
+
readonly helpCommand: false;
|
|
9465
|
+
readonly usage: "[options]";
|
|
9466
|
+
readonly helpText: readonly [];
|
|
9467
|
+
readonly arguments: readonly [];
|
|
9468
|
+
readonly options: readonly [];
|
|
9469
|
+
readonly subcommands: readonly [];
|
|
9470
|
+
}, {
|
|
9471
|
+
readonly name: "refusal";
|
|
9472
|
+
readonly description: "Record a classified provider rate-limit refusal as an exhausted reading";
|
|
9473
|
+
readonly aliases: readonly [];
|
|
9474
|
+
readonly hidden: false;
|
|
9475
|
+
readonly helpOption: true;
|
|
9476
|
+
readonly helpCommand: false;
|
|
9477
|
+
readonly usage: "[options]";
|
|
9478
|
+
readonly helpText: readonly [{
|
|
9479
|
+
readonly position: "after";
|
|
9480
|
+
readonly text: "\nworkflow-runner and /conduct call this after a provider failure has been\nclassified as a rate-limit refusal (policy\nindigo-provider-failures-classified-not-masked-as-timeout). Do not call it\nfor a timeout that was not classified as a rate-limit refusal:\n\n hq capacity ingest refusal --provider <claude|codex|grok> [--limit-id <id>] [--resets-at <iso|epoch>] [--account <hash>]\n\nWhen --limit-id is omitted, the provider's weekly_all limit id in now.json\nis used, or weekly when that view has none. This command does not wire\nthose callers.\n";
|
|
9481
|
+
}];
|
|
9482
|
+
readonly arguments: readonly [];
|
|
9483
|
+
readonly options: readonly [{
|
|
9484
|
+
readonly flags: "--provider <name>";
|
|
9485
|
+
readonly description: "claude, codex, or grok";
|
|
9486
|
+
readonly hidden: false;
|
|
9487
|
+
}, {
|
|
9488
|
+
readonly flags: "--limit-id <id>";
|
|
9489
|
+
readonly description: "Limit to mark; default is the provider's weekly_all id in now.json, else weekly";
|
|
9490
|
+
readonly hidden: false;
|
|
9491
|
+
}, {
|
|
9492
|
+
readonly flags: "--resets-at <when>";
|
|
9493
|
+
readonly description: "UTC timestamp or epoch when this limit resets";
|
|
9494
|
+
readonly hidden: false;
|
|
9495
|
+
}, {
|
|
9496
|
+
readonly flags: "--account <hash>";
|
|
9497
|
+
readonly description: "Hashed account id; default is the account on the chosen limit";
|
|
9498
|
+
readonly hidden: false;
|
|
9499
|
+
}, {
|
|
9500
|
+
readonly flags: "--json";
|
|
9501
|
+
readonly description: "Print the recorded limit as JSON";
|
|
9502
|
+
readonly hidden: false;
|
|
9503
|
+
}];
|
|
9504
|
+
readonly subcommands: readonly [];
|
|
9505
|
+
}];
|
|
9506
|
+
}, {
|
|
9507
|
+
readonly name: "login";
|
|
9508
|
+
readonly description: "Show signed-in accounts, or sign into a provider through hq lanes accounts login";
|
|
9509
|
+
readonly aliases: readonly [];
|
|
9510
|
+
readonly hidden: false;
|
|
9511
|
+
readonly helpOption: true;
|
|
9512
|
+
readonly helpCommand: false;
|
|
9513
|
+
readonly usage: "[options] [provider]";
|
|
9514
|
+
readonly helpText: readonly [];
|
|
9515
|
+
readonly arguments: readonly [{
|
|
9516
|
+
readonly name: "provider";
|
|
9517
|
+
readonly required: false;
|
|
9518
|
+
readonly variadic: false;
|
|
9519
|
+
readonly description: "claude, codex, or grok";
|
|
9520
|
+
}];
|
|
9521
|
+
readonly options: readonly [{
|
|
9522
|
+
readonly flags: "--account <name>";
|
|
9523
|
+
readonly description: "Registry account id. Omit to name it from the organization after the first read";
|
|
9524
|
+
readonly hidden: false;
|
|
9525
|
+
}, {
|
|
9526
|
+
readonly flags: "--repair";
|
|
9527
|
+
readonly description: "Sign in again for signed-out accounts. Expired accounts are listed, not logged in again";
|
|
9528
|
+
readonly hidden: false;
|
|
9529
|
+
}, {
|
|
9530
|
+
readonly flags: "--json";
|
|
9531
|
+
readonly description: "Print the account list and commands as JSON. Never prompts";
|
|
9532
|
+
readonly hidden: false;
|
|
9533
|
+
}];
|
|
9534
|
+
readonly subcommands: readonly [];
|
|
9535
|
+
}, {
|
|
9536
|
+
readonly name: "accounts";
|
|
9537
|
+
readonly description: "List provider accounts from the registry and default homes";
|
|
9538
|
+
readonly aliases: readonly [];
|
|
9539
|
+
readonly hidden: false;
|
|
9540
|
+
readonly helpOption: true;
|
|
9541
|
+
readonly helpCommand: false;
|
|
9542
|
+
readonly usage: "[options] [command]";
|
|
9543
|
+
readonly helpText: readonly [];
|
|
9544
|
+
readonly arguments: readonly [];
|
|
9545
|
+
readonly options: readonly [{
|
|
9546
|
+
readonly flags: "--json";
|
|
9547
|
+
readonly description: "Print JSON";
|
|
9548
|
+
readonly hidden: false;
|
|
9549
|
+
}];
|
|
9550
|
+
readonly subcommands: readonly [{
|
|
9551
|
+
readonly name: "rename";
|
|
9552
|
+
readonly description: "Rename a registry account id. Does not touch the provider credential";
|
|
9553
|
+
readonly aliases: readonly [];
|
|
9554
|
+
readonly hidden: false;
|
|
9555
|
+
readonly helpOption: true;
|
|
9556
|
+
readonly helpCommand: false;
|
|
9557
|
+
readonly usage: "[options] <provider> <id> <new-id>";
|
|
9558
|
+
readonly helpText: readonly [];
|
|
9559
|
+
readonly arguments: readonly [{
|
|
9560
|
+
readonly name: "provider";
|
|
9561
|
+
readonly required: true;
|
|
9562
|
+
readonly variadic: false;
|
|
9563
|
+
readonly description: "claude, codex, or grok";
|
|
9564
|
+
}, {
|
|
9565
|
+
readonly name: "id";
|
|
9566
|
+
readonly required: true;
|
|
9567
|
+
readonly variadic: false;
|
|
9568
|
+
readonly description: "Current account id";
|
|
9569
|
+
}, {
|
|
9570
|
+
readonly name: "new-id";
|
|
9571
|
+
readonly required: true;
|
|
9572
|
+
readonly variadic: false;
|
|
9573
|
+
readonly description: "New account id";
|
|
9574
|
+
}];
|
|
9575
|
+
readonly options: readonly [{
|
|
9576
|
+
readonly flags: "--force";
|
|
9577
|
+
readonly description: "Rename even when a live lane references the account";
|
|
9578
|
+
readonly hidden: false;
|
|
9579
|
+
}];
|
|
9580
|
+
readonly subcommands: readonly [];
|
|
9581
|
+
}, {
|
|
9582
|
+
readonly name: "remove";
|
|
9583
|
+
readonly description: "Forget a registry account. Does not delete its home unless --delete-home is set";
|
|
9584
|
+
readonly aliases: readonly [];
|
|
9585
|
+
readonly hidden: false;
|
|
9586
|
+
readonly helpOption: true;
|
|
9587
|
+
readonly helpCommand: false;
|
|
9588
|
+
readonly usage: "[options] <provider> <id>";
|
|
9589
|
+
readonly helpText: readonly [];
|
|
9590
|
+
readonly arguments: readonly [{
|
|
9591
|
+
readonly name: "provider";
|
|
9592
|
+
readonly required: true;
|
|
9593
|
+
readonly variadic: false;
|
|
9594
|
+
readonly description: "claude, codex, or grok";
|
|
9595
|
+
}, {
|
|
9596
|
+
readonly name: "id";
|
|
9597
|
+
readonly required: true;
|
|
9598
|
+
readonly variadic: false;
|
|
9599
|
+
readonly description: "Account id";
|
|
9600
|
+
}];
|
|
9601
|
+
readonly options: readonly [{
|
|
9602
|
+
readonly flags: "--delete-home";
|
|
9603
|
+
readonly description: "Delete the account home. Refuses the default provider home, the home directory, and any path outside ~/.provider-id";
|
|
9604
|
+
readonly hidden: false;
|
|
9605
|
+
}, {
|
|
9606
|
+
readonly flags: "--force";
|
|
9607
|
+
readonly description: "Rename or remove even when a live lane references the account";
|
|
9608
|
+
readonly hidden: false;
|
|
9609
|
+
}];
|
|
9610
|
+
readonly subcommands: readonly [];
|
|
9611
|
+
}];
|
|
9612
|
+
}];
|
|
9361
9613
|
}, {
|
|
9362
9614
|
readonly name: "doctor";
|
|
9363
9615
|
readonly description: "Verify HQ hook wiring, runtimes, and connection health (read-only; integrations uses one control-plane inventory read).";
|
|
@@ -11347,6 +11347,312 @@ export const COMMAND_CATALOG = [
|
|
|
11347
11347
|
}
|
|
11348
11348
|
]
|
|
11349
11349
|
},
|
|
11350
|
+
{
|
|
11351
|
+
"name": "capacity",
|
|
11352
|
+
"description": "Show provider capacity from the local ledger (read-only; enable, login, and ingest write to it)",
|
|
11353
|
+
"aliases": [],
|
|
11354
|
+
"hidden": false,
|
|
11355
|
+
"helpOption": true,
|
|
11356
|
+
"helpCommand": false,
|
|
11357
|
+
"usage": "[options] [command]",
|
|
11358
|
+
"helpText": [
|
|
11359
|
+
{
|
|
11360
|
+
"position": "after",
|
|
11361
|
+
"text": "\nCodex rate limits are read with `codex app-server` only when Codex has been idle for 30 minutes and no codex process is running. account/rateLimits/read does not refresh tokens, but starting app-server can still rewrite ~/.codex/auth.json for a managed ChatGPT login, so the read stays idle-gated.\n"
|
|
11362
|
+
}
|
|
11363
|
+
],
|
|
11364
|
+
"arguments": [],
|
|
11365
|
+
"options": [
|
|
11366
|
+
{
|
|
11367
|
+
"flags": "--json",
|
|
11368
|
+
"description": "Print now.json plus schemaVersion",
|
|
11369
|
+
"hidden": false
|
|
11370
|
+
},
|
|
11371
|
+
{
|
|
11372
|
+
"flags": "--widget",
|
|
11373
|
+
"description": "Print an HTML usage card for chat",
|
|
11374
|
+
"hidden": false
|
|
11375
|
+
}
|
|
11376
|
+
],
|
|
11377
|
+
"subcommands": [
|
|
11378
|
+
{
|
|
11379
|
+
"name": "history",
|
|
11380
|
+
"description": "Print readings from the ledger event log",
|
|
11381
|
+
"aliases": [],
|
|
11382
|
+
"hidden": false,
|
|
11383
|
+
"helpOption": true,
|
|
11384
|
+
"helpCommand": false,
|
|
11385
|
+
"usage": "[options]",
|
|
11386
|
+
"helpText": [],
|
|
11387
|
+
"arguments": [],
|
|
11388
|
+
"options": [
|
|
11389
|
+
{
|
|
11390
|
+
"flags": "--provider <name>",
|
|
11391
|
+
"description": "Only this provider",
|
|
11392
|
+
"hidden": false
|
|
11393
|
+
},
|
|
11394
|
+
{
|
|
11395
|
+
"flags": "--since <when>",
|
|
11396
|
+
"description": "Duration (24h, 7d, 30m) or a UTC timestamp",
|
|
11397
|
+
"hidden": false
|
|
11398
|
+
},
|
|
11399
|
+
{
|
|
11400
|
+
"flags": "--json",
|
|
11401
|
+
"description": "Print readings as JSON",
|
|
11402
|
+
"hidden": false
|
|
11403
|
+
}
|
|
11404
|
+
],
|
|
11405
|
+
"subcommands": []
|
|
11406
|
+
},
|
|
11407
|
+
{
|
|
11408
|
+
"name": "doctor",
|
|
11409
|
+
"description": "Report last success, pinned versus installed CLI versions, and parser failures",
|
|
11410
|
+
"aliases": [],
|
|
11411
|
+
"hidden": false,
|
|
11412
|
+
"helpOption": true,
|
|
11413
|
+
"helpCommand": false,
|
|
11414
|
+
"usage": "[options]",
|
|
11415
|
+
"helpText": [],
|
|
11416
|
+
"arguments": [],
|
|
11417
|
+
"options": [
|
|
11418
|
+
{
|
|
11419
|
+
"flags": "--json",
|
|
11420
|
+
"description": "Print JSON",
|
|
11421
|
+
"hidden": false
|
|
11422
|
+
}
|
|
11423
|
+
],
|
|
11424
|
+
"subcommands": []
|
|
11425
|
+
},
|
|
11426
|
+
{
|
|
11427
|
+
"name": "enable",
|
|
11428
|
+
"description": "Create the ledger directory and mark the collector on",
|
|
11429
|
+
"aliases": [],
|
|
11430
|
+
"hidden": false,
|
|
11431
|
+
"helpOption": true,
|
|
11432
|
+
"helpCommand": false,
|
|
11433
|
+
"usage": "[options]",
|
|
11434
|
+
"helpText": [],
|
|
11435
|
+
"arguments": [],
|
|
11436
|
+
"options": [],
|
|
11437
|
+
"subcommands": []
|
|
11438
|
+
},
|
|
11439
|
+
{
|
|
11440
|
+
"name": "disable",
|
|
11441
|
+
"description": "Mark the collector off without deleting readings",
|
|
11442
|
+
"aliases": [],
|
|
11443
|
+
"hidden": false,
|
|
11444
|
+
"helpOption": true,
|
|
11445
|
+
"helpCommand": false,
|
|
11446
|
+
"usage": "[options]",
|
|
11447
|
+
"helpText": [],
|
|
11448
|
+
"arguments": [],
|
|
11449
|
+
"options": [],
|
|
11450
|
+
"subcommands": []
|
|
11451
|
+
},
|
|
11452
|
+
{
|
|
11453
|
+
"name": "ingest",
|
|
11454
|
+
"description": "Record a provider capacity reading",
|
|
11455
|
+
"aliases": [],
|
|
11456
|
+
"hidden": false,
|
|
11457
|
+
"helpOption": true,
|
|
11458
|
+
"helpCommand": true,
|
|
11459
|
+
"usage": "[options] [command]",
|
|
11460
|
+
"helpText": [],
|
|
11461
|
+
"arguments": [],
|
|
11462
|
+
"options": [],
|
|
11463
|
+
"subcommands": [
|
|
11464
|
+
{
|
|
11465
|
+
"name": "claude-statusline",
|
|
11466
|
+
"description": "Read one Claude Code statusline JSON payload from stdin and record its rate limits",
|
|
11467
|
+
"aliases": [],
|
|
11468
|
+
"hidden": false,
|
|
11469
|
+
"helpOption": true,
|
|
11470
|
+
"helpCommand": false,
|
|
11471
|
+
"usage": "[options]",
|
|
11472
|
+
"helpText": [],
|
|
11473
|
+
"arguments": [],
|
|
11474
|
+
"options": [],
|
|
11475
|
+
"subcommands": []
|
|
11476
|
+
},
|
|
11477
|
+
{
|
|
11478
|
+
"name": "refusal",
|
|
11479
|
+
"description": "Record a classified provider rate-limit refusal as an exhausted reading",
|
|
11480
|
+
"aliases": [],
|
|
11481
|
+
"hidden": false,
|
|
11482
|
+
"helpOption": true,
|
|
11483
|
+
"helpCommand": false,
|
|
11484
|
+
"usage": "[options]",
|
|
11485
|
+
"helpText": [
|
|
11486
|
+
{
|
|
11487
|
+
"position": "after",
|
|
11488
|
+
"text": "\nworkflow-runner and /conduct call this after a provider failure has been\nclassified as a rate-limit refusal (policy\nindigo-provider-failures-classified-not-masked-as-timeout). Do not call it\nfor a timeout that was not classified as a rate-limit refusal:\n\n hq capacity ingest refusal --provider <claude|codex|grok> [--limit-id <id>] [--resets-at <iso|epoch>] [--account <hash>]\n\nWhen --limit-id is omitted, the provider's weekly_all limit id in now.json\nis used, or weekly when that view has none. This command does not wire\nthose callers.\n"
|
|
11489
|
+
}
|
|
11490
|
+
],
|
|
11491
|
+
"arguments": [],
|
|
11492
|
+
"options": [
|
|
11493
|
+
{
|
|
11494
|
+
"flags": "--provider <name>",
|
|
11495
|
+
"description": "claude, codex, or grok",
|
|
11496
|
+
"hidden": false
|
|
11497
|
+
},
|
|
11498
|
+
{
|
|
11499
|
+
"flags": "--limit-id <id>",
|
|
11500
|
+
"description": "Limit to mark; default is the provider's weekly_all id in now.json, else weekly",
|
|
11501
|
+
"hidden": false
|
|
11502
|
+
},
|
|
11503
|
+
{
|
|
11504
|
+
"flags": "--resets-at <when>",
|
|
11505
|
+
"description": "UTC timestamp or epoch when this limit resets",
|
|
11506
|
+
"hidden": false
|
|
11507
|
+
},
|
|
11508
|
+
{
|
|
11509
|
+
"flags": "--account <hash>",
|
|
11510
|
+
"description": "Hashed account id; default is the account on the chosen limit",
|
|
11511
|
+
"hidden": false
|
|
11512
|
+
},
|
|
11513
|
+
{
|
|
11514
|
+
"flags": "--json",
|
|
11515
|
+
"description": "Print the recorded limit as JSON",
|
|
11516
|
+
"hidden": false
|
|
11517
|
+
}
|
|
11518
|
+
],
|
|
11519
|
+
"subcommands": []
|
|
11520
|
+
}
|
|
11521
|
+
]
|
|
11522
|
+
},
|
|
11523
|
+
{
|
|
11524
|
+
"name": "login",
|
|
11525
|
+
"description": "Show signed-in accounts, or sign into a provider through hq lanes accounts login",
|
|
11526
|
+
"aliases": [],
|
|
11527
|
+
"hidden": false,
|
|
11528
|
+
"helpOption": true,
|
|
11529
|
+
"helpCommand": false,
|
|
11530
|
+
"usage": "[options] [provider]",
|
|
11531
|
+
"helpText": [],
|
|
11532
|
+
"arguments": [
|
|
11533
|
+
{
|
|
11534
|
+
"name": "provider",
|
|
11535
|
+
"required": false,
|
|
11536
|
+
"variadic": false,
|
|
11537
|
+
"description": "claude, codex, or grok"
|
|
11538
|
+
}
|
|
11539
|
+
],
|
|
11540
|
+
"options": [
|
|
11541
|
+
{
|
|
11542
|
+
"flags": "--account <name>",
|
|
11543
|
+
"description": "Registry account id. Omit to name it from the organization after the first read",
|
|
11544
|
+
"hidden": false
|
|
11545
|
+
},
|
|
11546
|
+
{
|
|
11547
|
+
"flags": "--repair",
|
|
11548
|
+
"description": "Sign in again for signed-out accounts. Expired accounts are listed, not logged in again",
|
|
11549
|
+
"hidden": false
|
|
11550
|
+
},
|
|
11551
|
+
{
|
|
11552
|
+
"flags": "--json",
|
|
11553
|
+
"description": "Print the account list and commands as JSON. Never prompts",
|
|
11554
|
+
"hidden": false
|
|
11555
|
+
}
|
|
11556
|
+
],
|
|
11557
|
+
"subcommands": []
|
|
11558
|
+
},
|
|
11559
|
+
{
|
|
11560
|
+
"name": "accounts",
|
|
11561
|
+
"description": "List provider accounts from the registry and default homes",
|
|
11562
|
+
"aliases": [],
|
|
11563
|
+
"hidden": false,
|
|
11564
|
+
"helpOption": true,
|
|
11565
|
+
"helpCommand": false,
|
|
11566
|
+
"usage": "[options] [command]",
|
|
11567
|
+
"helpText": [],
|
|
11568
|
+
"arguments": [],
|
|
11569
|
+
"options": [
|
|
11570
|
+
{
|
|
11571
|
+
"flags": "--json",
|
|
11572
|
+
"description": "Print JSON",
|
|
11573
|
+
"hidden": false
|
|
11574
|
+
}
|
|
11575
|
+
],
|
|
11576
|
+
"subcommands": [
|
|
11577
|
+
{
|
|
11578
|
+
"name": "rename",
|
|
11579
|
+
"description": "Rename a registry account id. Does not touch the provider credential",
|
|
11580
|
+
"aliases": [],
|
|
11581
|
+
"hidden": false,
|
|
11582
|
+
"helpOption": true,
|
|
11583
|
+
"helpCommand": false,
|
|
11584
|
+
"usage": "[options] <provider> <id> <new-id>",
|
|
11585
|
+
"helpText": [],
|
|
11586
|
+
"arguments": [
|
|
11587
|
+
{
|
|
11588
|
+
"name": "provider",
|
|
11589
|
+
"required": true,
|
|
11590
|
+
"variadic": false,
|
|
11591
|
+
"description": "claude, codex, or grok"
|
|
11592
|
+
},
|
|
11593
|
+
{
|
|
11594
|
+
"name": "id",
|
|
11595
|
+
"required": true,
|
|
11596
|
+
"variadic": false,
|
|
11597
|
+
"description": "Current account id"
|
|
11598
|
+
},
|
|
11599
|
+
{
|
|
11600
|
+
"name": "new-id",
|
|
11601
|
+
"required": true,
|
|
11602
|
+
"variadic": false,
|
|
11603
|
+
"description": "New account id"
|
|
11604
|
+
}
|
|
11605
|
+
],
|
|
11606
|
+
"options": [
|
|
11607
|
+
{
|
|
11608
|
+
"flags": "--force",
|
|
11609
|
+
"description": "Rename even when a live lane references the account",
|
|
11610
|
+
"hidden": false
|
|
11611
|
+
}
|
|
11612
|
+
],
|
|
11613
|
+
"subcommands": []
|
|
11614
|
+
},
|
|
11615
|
+
{
|
|
11616
|
+
"name": "remove",
|
|
11617
|
+
"description": "Forget a registry account. Does not delete its home unless --delete-home is set",
|
|
11618
|
+
"aliases": [],
|
|
11619
|
+
"hidden": false,
|
|
11620
|
+
"helpOption": true,
|
|
11621
|
+
"helpCommand": false,
|
|
11622
|
+
"usage": "[options] <provider> <id>",
|
|
11623
|
+
"helpText": [],
|
|
11624
|
+
"arguments": [
|
|
11625
|
+
{
|
|
11626
|
+
"name": "provider",
|
|
11627
|
+
"required": true,
|
|
11628
|
+
"variadic": false,
|
|
11629
|
+
"description": "claude, codex, or grok"
|
|
11630
|
+
},
|
|
11631
|
+
{
|
|
11632
|
+
"name": "id",
|
|
11633
|
+
"required": true,
|
|
11634
|
+
"variadic": false,
|
|
11635
|
+
"description": "Account id"
|
|
11636
|
+
}
|
|
11637
|
+
],
|
|
11638
|
+
"options": [
|
|
11639
|
+
{
|
|
11640
|
+
"flags": "--delete-home",
|
|
11641
|
+
"description": "Delete the account home. Refuses the default provider home, the home directory, and any path outside ~/.provider-id",
|
|
11642
|
+
"hidden": false
|
|
11643
|
+
},
|
|
11644
|
+
{
|
|
11645
|
+
"flags": "--force",
|
|
11646
|
+
"description": "Rename or remove even when a live lane references the account",
|
|
11647
|
+
"hidden": false
|
|
11648
|
+
}
|
|
11649
|
+
],
|
|
11650
|
+
"subcommands": []
|
|
11651
|
+
}
|
|
11652
|
+
]
|
|
11653
|
+
}
|
|
11654
|
+
]
|
|
11655
|
+
},
|
|
11350
11656
|
{
|
|
11351
11657
|
"name": "doctor",
|
|
11352
11658
|
"description": "Verify HQ hook wiring, runtimes, and connection health (read-only; integrations uses one control-plane inventory read).",
|
|
@@ -442,6 +442,12 @@ export declare const REGISTRATION_PLAN: readonly [{
|
|
|
442
442
|
readonly parent: "program";
|
|
443
443
|
readonly module: "./commands/index-cmd.js";
|
|
444
444
|
readonly exportName: "registerIndexCommand";
|
|
445
|
+
}, {
|
|
446
|
+
readonly type: "registrar";
|
|
447
|
+
readonly root: "capacity";
|
|
448
|
+
readonly parent: "program";
|
|
449
|
+
readonly module: "./commands/capacity.js";
|
|
450
|
+
readonly exportName: "registerCapacityCommand";
|
|
445
451
|
}, {
|
|
446
452
|
readonly type: "registrar";
|
|
447
453
|
readonly root: "doctor";
|
|
@@ -76,6 +76,7 @@ export const REGISTRATION_PLAN = [
|
|
|
76
76
|
{ type: "registrar", root: "core", parent: "program", module: "./commands/core.js", exportName: "registerCoreCommands" },
|
|
77
77
|
{ type: "registrar", root: "search", parent: "program", module: "./commands/search.js", exportName: "registerSearchCommand" },
|
|
78
78
|
{ type: "registrar", root: "index", parent: "program", module: "./commands/index-cmd.js", exportName: "registerIndexCommand" },
|
|
79
|
+
{ type: "registrar", root: "capacity", parent: "program", module: "./commands/capacity.js", exportName: "registerCapacityCommand" },
|
|
79
80
|
{ type: "registrar", root: "doctor", parent: "program", module: "./commands/doctor.js", exportName: "registerDoctorCommand" },
|
|
80
81
|
{ type: "registrar", root: "mesh", parent: "program", module: "./commands/mesh.js", exportName: "registerMeshCommand" },
|
|
81
82
|
{ type: "registrar", root: "lanes", parent: "program", module: "./commands/lanes.js", exportName: "registerLanesCommand" },
|