@indigoai-us/hq-cli 5.345.143 → 5.345.145

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 (69) hide show
  1. package/CHANGELOG.md +90 -0
  2. package/dist/command-catalog.generated.d.ts +286 -6
  3. package/dist/command-catalog.generated.js +351 -6
  4. package/dist/command-registration-plan.d.ts +6 -0
  5. package/dist/command-registration-plan.js +1 -0
  6. package/dist/commands/agent-enroll.d.ts +1 -0
  7. package/dist/commands/agent-enroll.js +7 -0
  8. package/dist/commands/agents.d.ts +25 -3
  9. package/dist/commands/agents.js +57 -4
  10. package/dist/commands/api-keys.js +66 -8
  11. package/dist/commands/billing-sponsor.d.ts +4 -0
  12. package/dist/commands/billing-sponsor.js +48 -5
  13. package/dist/commands/billing-usage.d.ts +59 -0
  14. package/dist/commands/billing-usage.js +162 -0
  15. package/dist/commands/billing.d.ts +9 -0
  16. package/dist/commands/billing.js +29 -2
  17. package/dist/commands/core-checkpoint-native.d.ts +30 -0
  18. package/dist/commands/core-checkpoint-native.js +167 -10
  19. package/dist/commands/core-job-notify-native.js +53 -3
  20. package/dist/commands/core-jobs-native.d.ts +8 -0
  21. package/dist/commands/core-jobs-native.js +34 -2
  22. package/dist/commands/core-policy.js +76 -13
  23. package/dist/commands/library-add.d.ts +120 -0
  24. package/dist/commands/library-add.js +434 -0
  25. package/dist/commands/library-caption.d.ts +112 -0
  26. package/dist/commands/library-caption.js +393 -0
  27. package/dist/commands/library-link.d.ts +32 -0
  28. package/dist/commands/library-link.js +95 -0
  29. package/dist/commands/library.d.ts +72 -0
  30. package/dist/commands/library.js +527 -0
  31. package/dist/commands/meetings.d.ts +8 -0
  32. package/dist/commands/meetings.js +25 -2
  33. package/dist/commands/members.d.ts +20 -0
  34. package/dist/commands/members.js +51 -2
  35. package/dist/commands/storage-offload.d.ts +16 -2
  36. package/dist/commands/storage-offload.js +55 -4
  37. package/dist/commands/storage.d.ts +8 -1
  38. package/dist/commands/storage.js +6 -2
  39. package/dist/commands/whoami.js +9 -0
  40. package/dist/hq-cloud-sync-runner/bin/sync-runner.js +2410 -2063
  41. package/dist/hq-cloud-sync-runner/package.json +1 -1
  42. package/dist/lib/billing/plan-lock.d.ts +15 -1
  43. package/dist/lib/billing/plan-lock.js +45 -5
  44. package/dist/lib/billing/usage-card.d.ts +82 -0
  45. package/dist/lib/billing/usage-card.js +198 -0
  46. package/dist/lib/billing/usage-cost.d.ts +214 -0
  47. package/dist/lib/billing/usage-cost.js +440 -0
  48. package/dist/lib/billing/usage-only.d.ts +87 -0
  49. package/dist/lib/billing/usage-only.js +262 -0
  50. package/dist/lib/billing/usage-rate-card.d.ts +51 -0
  51. package/dist/lib/billing/usage-rate-card.js +62 -0
  52. package/dist/lib/flag-registry-worker-source.generated.d.ts +1 -1
  53. package/dist/lib/flag-registry-worker-source.generated.js +1 -1
  54. package/dist/lib/plan-limit-nag.d.ts +4 -6
  55. package/dist/lib/plan-limit-nag.js +19 -1
  56. package/dist/lib/provider-launcher.d.ts +22 -0
  57. package/dist/lib/provider-launcher.js +65 -0
  58. package/dist/lib/search-index/index.d.ts +2 -0
  59. package/dist/lib/search-index/index.js +34 -0
  60. package/dist/lib/search-index/max-doc-bytes.d.ts +2 -1
  61. package/dist/lib/search-index/max-doc-bytes.js +2 -1
  62. package/dist/main.d.ts +9 -0
  63. package/dist/main.js +20 -3
  64. package/dist/utils/billing-gate.d.ts +19 -4
  65. package/dist/utils/billing-gate.js +25 -4
  66. package/dist/utils/plan-gate-error.d.ts +10 -0
  67. package/dist/utils/plan-gate-error.js +54 -0
  68. package/dist/utils/vault-api.js +4 -1
  69. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -2,6 +2,96 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [5.345.145] — 2026-10-17
6
+ - `hq core checkpoint`: the background checkpoint helper now fills in automatic
7
+ saves that were queued before it started. It writes its own report first,
8
+ then works through at most 5 queued saves per run; any extra queued saves go
9
+ back on the queue for the next run instead of being dropped. If a run is
10
+ stopped partway through its queued saves, the next run puts the ones it did
11
+ not finish back on the queue.
12
+ - Outpost scheduled-job alerts now reach owners recorded by their Cognito user
13
+ id. `hq core job notify` used to pass the id to `hq dm`, which read it as a
14
+ channel name and failed with "No channel named …". It now sends to the email
15
+ `hq whoami --json` reports for that id (the signed-in person, or the person
16
+ an Outpost acts for), and logs a clear reason when it cannot match one.
17
+ - `hq whoami --json` adds `sub`, `delegatedEmail` and `delegatedSub`.
18
+ - `hq core jobs reconcile` matches company jobs owned by the Outpost owner's
19
+ email or id, and reaches the user systemd manager when it runs from a system
20
+ service with no login session (it used to fail with "Failed to connect to
21
+ bus: No medium found").
22
+ - `hq members list --json` prints each member's person id (`person_id`, the `prs_` id that file and secret grants use), email, name, slug, role and membership key. `--pending --json` does the same for pending invites. `hq members list --ids` adds a PERSON_ID column to the table. The default table is unchanged.
23
+
24
+ ## [5.345.144] — 2026-10-16
25
+ - New `hq library add <file|url>...` uploads files or http(s) URLs straight to
26
+ the company vault and writes only a `.hqcloud` placeholder into
27
+ `companies/<co>/library/` (or `--to companies/<co>/<dir>`). Each upload is
28
+ checked against its sha256. If the same bytes are already in the vault, they
29
+ are not uploaded again. URLs stream to the vault without a local copy.
30
+ `--tags`, `--title` and `--note` set the asset details. If a plan storage
31
+ limit is reached, it shows the plan-limit message and writes no placeholder.
32
+ - New `hq library tag`, `hq library ls` and `hq library fetch` edit tags, list
33
+ library placeholders by folder and tag, and download an asset. All of them
34
+ support `--json`.
35
+ - `hq library add` now adds a description and suggested tags to image and
36
+ video uploads by running your local Claude Code (`claude -p`) on your
37
+ machine, and records `captioned-by: local:claude`. No cloud AI service is
38
+ called. Your own tags and `--note` description are kept. Videos use up to 4
39
+ frames taken with ffmpeg (first frame when ffmpeg cannot sample). If Claude
40
+ Code is not installed, not signed in, errors or times out, the file is still
41
+ saved and one "Captioning skipped" line says why. `--no-caption` skips it.
42
+ - New `hq library describe <placeholder>` runs local captioning again for an
43
+ asset that is already in the library.
44
+ - `hq api-keys create --preset library-agent` mints a key for a headless
45
+ agent with exactly `search:query` and `files:read`. Add `--allow-upload` to
46
+ also grant `files:write`. The preset cannot be combined with `--capability`,
47
+ `--scope`, `--deploy`, `--deploy-app` or `--permission`.
48
+ - New `hq library link <placeholder|vault-key>` mints a download URL for a
49
+ library asset (default 15 minutes, `--expires` up to 60). It works on a
50
+ session or on an `HQ_API_KEY` with `files:read`. The URL goes to stdout
51
+ only. Do not post it in Slack or shared channels.
52
+ - `hq storage fetch` (and `hq library fetch`) can now restore library assets
53
+ (placeholders with `vault: company` and a `.hq-offload/blobs/<sha256>` key).
54
+ It checks that you are an active member of that company, downloads with your
55
+ own company access and verifies the sha256. If you don't have read access,
56
+ it says so in plain words, leaves the placeholder in place, and writes no
57
+ partial file.
58
+ - Bundles `@indigoai-us/hq-cloud` 6.18.82, which adds the hq-asset
59
+ placeholder block, the watcher delete guard and
60
+ `CLOUD_PLACEHOLDER_SYNC_CAPABILITIES` that the library commands rely on.
61
+ - New `hq billing usage` shows this month's HQ usage per meter, the projected
62
+ bill, how much of the $10 included each month is left, and what is driving
63
+ the cost, with a fix for each driver. It only reads. Rates follow the usage
64
+ card: Sync $0.10, Gateway call (integrations and external MCP through HQ)
65
+ $0.05, HQ MCP call $0.05, Agent run $0.05, Storage $2.00 per GB-month, Secret
66
+ $0.50 per secret-month, Vault $5 per vault-month (waived during the trial).
67
+ They come from `GET /v1/pricing` when it publishes a `usage` block, and from
68
+ a bundled copy of the same card otherwise. Meters HQ cannot count for you yet
69
+ show as "not counted here yet", not as zero. `hq billing usage --card`
70
+ prints the card, including the trial, boxes and domains.
71
+ - Accounts on usage pricing no longer see Workforce, Individual or Starter
72
+ prompts. `hq billing upgrade` tells a usage-pricing company there is no plan
73
+ to upgrade to and points to `hq billing usage`; `hq billing sponsor request`
74
+ files nothing for a person on usage pricing; `hq whoami --plan` shows a usage
75
+ pricing line; agent, external agent and meeting bot refusals ask for a card
76
+ and quote agent boxes by size (small t3.small $100, medium t3.medium $200,
77
+ large t3.large $400, xlarge t3.xlarge $800 a month). Plan refusals show no
78
+ free month, Starter, Workforce or Individual copy and offer no plan
79
+ checkout. The CLI reads usage pricing from the company's `/membership/me`
80
+ row and from usage-limits, so members who are not owners get the same copy.
81
+ `hq agents create --size` accepts small, medium, large and xlarge; on the
82
+ new box sizes basic, power and dev map to small, medium and large. Accounts
83
+ on earlier plans keep their existing copy.
84
+ - `hq core policy age-report` now checks each policy's `when:` trigger with the
85
+ same evaluator the trigger hook uses. A policy whose trigger cannot parse
86
+ (quoted phrases, two words with no operator) is reported as
87
+ `malformed-trigger` instead of `never-fired`, and `hq core policy retire --auto`
88
+ lists it as needing a fix instead of retiring it.
89
+ - The never-fired, dormant and single-incident windows now start from the last
90
+ change to the policy (`updated:` frontmatter or file modification time), so a
91
+ trigger that was just repaired is not retired on the history from when it
92
+ could not fire.
93
+ - The bundled sync engine now uses hq-cloud 6.18.84. `hq outposts provision --company <slug> --yes` now waits for the server's background company create and reports when the box is ready or blocked, and no longer shows a timeout as a failure.
94
+
5
95
  ## [5.345.143] — 2026-10-16
6
96
  - The bundled sync engine now uses hq-cloud 6.18.82. Company Outposts can be signed in to Claude from the terminal: `hq outposts login --company <slug>` prints the sign-in link, `hq outposts login-code --company <slug> <code>` finishes it, and `hq outposts status --company <slug>` shows whether the box is signed in. Registering a job on a box that is not signed in now says so and shows the next step.
7
97
 
@@ -2416,6 +2416,14 @@ export declare const COMMAND_CATALOG: readonly [{
2416
2416
  readonly flags: "--expires <ISO8601>";
2417
2417
  readonly description: "Optional ISO-8601 expiry timestamp";
2418
2418
  readonly hidden: false;
2419
+ }, {
2420
+ readonly flags: "--preset <name>";
2421
+ readonly description: "Grant a fixed capability bundle: library-agent (library-agent = search:query, files:read)";
2422
+ readonly hidden: false;
2423
+ }, {
2424
+ readonly flags: "--allow-upload";
2425
+ readonly description: "With --preset library-agent, also grant files:write (hq library add)";
2426
+ readonly hidden: false;
2419
2427
  }];
2420
2428
  readonly subcommands: readonly [];
2421
2429
  }, {
@@ -3578,6 +3586,14 @@ export declare const COMMAND_CATALOG: readonly [{
3578
3586
  readonly flags: "--pending";
3579
3587
  readonly description: "List pending invites instead of active members";
3580
3588
  readonly hidden: false;
3589
+ }, {
3590
+ readonly flags: "--ids";
3591
+ readonly description: "Add a PERSON_ID column (the prs_ id used in grants and membership keys)";
3592
+ readonly hidden: false;
3593
+ }, {
3594
+ readonly flags: "--json";
3595
+ readonly description: "Print machine-readable JSON, including each person id";
3596
+ readonly hidden: false;
3581
3597
  }];
3582
3598
  readonly subcommands: readonly [];
3583
3599
  }, {
@@ -6417,7 +6433,7 @@ export declare const COMMAND_CATALOG: readonly [{
6417
6433
  readonly hidden: false;
6418
6434
  }, {
6419
6435
  readonly flags: "--size <size>";
6420
- readonly description: "Agent box size: basic | power | dev (omitted keeps the current default)";
6436
+ readonly description: "Agent box size: small | medium | large | xlarge, or basic | power | dev (on usage pricing these map to small | medium | large); omitted keeps the current default";
6421
6437
  readonly hidden: false;
6422
6438
  }, {
6423
6439
  readonly flags: "--yes";
@@ -7399,7 +7415,7 @@ export declare const COMMAND_CATALOG: readonly [{
7399
7415
  readonly hidden: false;
7400
7416
  }, {
7401
7417
  readonly flags: "--cron <expr>";
7402
- readonly description: "Recurring schedule, such as rate(1 day) or a cron expression";
7418
+ readonly description: "Recurring schedule: rate(N minutes|hours|days), a five-field cron with * for day of month and month (such as \"*/15 * * * *\"; translated to the AWS form), or cron(MIN HOUR ? * DOW *)";
7403
7419
  readonly hidden: false;
7404
7420
  }, {
7405
7421
  readonly flags: "--at <iso>";
@@ -7608,6 +7624,10 @@ export declare const COMMAND_CATALOG: readonly [{
7608
7624
  readonly flags: "--id <outpostId>";
7609
7625
  readonly description: "Outpost id (defaults to your primary box)";
7610
7626
  readonly hidden: false;
7627
+ }, {
7628
+ readonly flags: "--company <slug>";
7629
+ readonly description: "Request a new sign-in link for the company's Outpost (owner or admin)";
7630
+ readonly hidden: false;
7611
7631
  }, {
7612
7632
  readonly flags: "--json";
7613
7633
  readonly description: "Emit raw JSON";
@@ -7633,6 +7653,10 @@ export declare const COMMAND_CATALOG: readonly [{
7633
7653
  readonly flags: "--id <outpostId>";
7634
7654
  readonly description: "Outpost id (defaults to your primary box)";
7635
7655
  readonly hidden: false;
7656
+ }, {
7657
+ readonly flags: "--company <slug>";
7658
+ readonly description: "Sign in the company's Outpost (owner or admin)";
7659
+ readonly hidden: false;
7636
7660
  }, {
7637
7661
  readonly flags: "--json";
7638
7662
  readonly description: "Emit raw JSON";
@@ -7721,7 +7745,7 @@ export declare const COMMAND_CATALOG: readonly [{
7721
7745
  readonly subcommands: readonly [];
7722
7746
  }, {
7723
7747
  readonly name: "upgrade";
7724
- readonly description: "Open Stripe Checkout to upgrade this company to HQ Workforce ($500/mo)";
7748
+ readonly description: "Open Stripe Checkout to upgrade a company on an earlier plan (usage-pricing companies have no plan to upgrade)";
7725
7749
  readonly aliases: readonly [];
7726
7750
  readonly hidden: false;
7727
7751
  readonly helpOption: true;
@@ -7745,7 +7769,7 @@ export declare const COMMAND_CATALOG: readonly [{
7745
7769
  readonly subcommands: readonly [];
7746
7770
  }, {
7747
7771
  readonly name: "sponsor";
7748
- readonly description: "Ask a company to cover your $50 plan, or answer a request";
7772
+ readonly description: "Ask a company to cover your personal HQ plan, or answer a request";
7749
7773
  readonly aliases: readonly [];
7750
7774
  readonly hidden: false;
7751
7775
  readonly helpOption: true;
@@ -7756,7 +7780,7 @@ export declare const COMMAND_CATALOG: readonly [{
7756
7780
  readonly options: readonly [];
7757
7781
  readonly subcommands: readonly [{
7758
7782
  readonly name: "request";
7759
- readonly description: "Ask a company to cover your $50 HQ plan";
7783
+ readonly description: "Ask a company to cover your personal HQ plan";
7760
7784
  readonly aliases: readonly [];
7761
7785
  readonly hidden: false;
7762
7786
  readonly helpOption: true;
@@ -7797,7 +7821,7 @@ export declare const COMMAND_CATALOG: readonly [{
7797
7821
  readonly subcommands: readonly [];
7798
7822
  }, {
7799
7823
  readonly name: "approve";
7800
- readonly description: "Say yes — put someone's $50 plan on the company bill";
7824
+ readonly description: "Say yes — put someone's personal plan on the company bill";
7801
7825
  readonly aliases: readonly [];
7802
7826
  readonly hidden: false;
7803
7827
  readonly helpOption: true;
@@ -7880,6 +7904,42 @@ export declare const COMMAND_CATALOG: readonly [{
7880
7904
  }];
7881
7905
  readonly subcommands: readonly [];
7882
7906
  }];
7907
+ }, {
7908
+ readonly name: "usage";
7909
+ readonly description: "Show this month's usage, projected bill, included usage left and what drives it (read-only)";
7910
+ readonly aliases: readonly [];
7911
+ readonly hidden: false;
7912
+ readonly helpOption: true;
7913
+ readonly helpCommand: false;
7914
+ readonly usage: "[options]";
7915
+ readonly helpText: readonly [];
7916
+ readonly arguments: readonly [];
7917
+ readonly options: readonly [{
7918
+ readonly flags: "--company <slug>";
7919
+ readonly description: "One of your companies (default: your only company)";
7920
+ readonly hidden: false;
7921
+ }, {
7922
+ readonly flags: "--personal";
7923
+ readonly description: "Your personal HQ instead of a company";
7924
+ readonly hidden: false;
7925
+ }, {
7926
+ readonly flags: "--no-storage-scan";
7927
+ readonly description: "Skip listing cloud file versions (faster; no old-versions split)";
7928
+ readonly hidden: false;
7929
+ }, {
7930
+ readonly flags: "--fresh";
7931
+ readonly description: "List cloud file versions live instead of using figures from the last 15 minutes";
7932
+ readonly hidden: false;
7933
+ }, {
7934
+ readonly flags: "--card";
7935
+ readonly description: "Print the usage price card (meters, included usage, trial, boxes, domains) and exit";
7936
+ readonly hidden: false;
7937
+ }, {
7938
+ readonly flags: "--json";
7939
+ readonly description: "Print JSON";
7940
+ readonly hidden: false;
7941
+ }];
7942
+ readonly subcommands: readonly [];
7883
7943
  }];
7884
7944
  }, {
7885
7945
  readonly name: "vault";
@@ -9916,6 +9976,226 @@ export declare const COMMAND_CATALOG: readonly [{
9916
9976
  }];
9917
9977
  readonly subcommands: readonly [];
9918
9978
  }];
9979
+ }, {
9980
+ readonly name: "library";
9981
+ readonly description: "Company media library (.hqcloud asset placeholders)";
9982
+ readonly aliases: readonly [];
9983
+ readonly hidden: false;
9984
+ readonly helpOption: true;
9985
+ readonly helpCommand: true;
9986
+ readonly usage: "[options] [command]";
9987
+ readonly helpText: readonly [];
9988
+ readonly arguments: readonly [];
9989
+ readonly options: readonly [];
9990
+ readonly subcommands: readonly [{
9991
+ readonly name: "search";
9992
+ readonly description: "Search library assets in the cloud, falling back to the local index when offline";
9993
+ readonly aliases: readonly [];
9994
+ readonly hidden: false;
9995
+ readonly helpOption: true;
9996
+ readonly helpCommand: false;
9997
+ readonly usage: "[options] [query...]";
9998
+ readonly helpText: readonly [];
9999
+ readonly arguments: readonly [{
10000
+ readonly name: "query";
10001
+ readonly required: false;
10002
+ readonly variadic: true;
10003
+ readonly description: "Query terms (joined with spaces)";
10004
+ }];
10005
+ readonly options: readonly [{
10006
+ readonly flags: "--tag <tag>";
10007
+ readonly description: "Require a tag (repeatable or comma-separated)";
10008
+ readonly hidden: false;
10009
+ readonly defaultValue: readonly [];
10010
+ }, {
10011
+ readonly flags: "--company <slug>";
10012
+ readonly description: "Restrict to one company";
10013
+ readonly hidden: false;
10014
+ }, {
10015
+ readonly flags: "-n, --count <count>";
10016
+ readonly description: "Maximum result count";
10017
+ readonly hidden: false;
10018
+ }, {
10019
+ readonly flags: "--json";
10020
+ readonly description: "Print machine-readable JSON";
10021
+ readonly hidden: false;
10022
+ }];
10023
+ readonly subcommands: readonly [];
10024
+ }, {
10025
+ readonly name: "add";
10026
+ readonly description: "Upload files or URLs to the company vault and add .hqcloud placeholders to the library";
10027
+ readonly aliases: readonly [];
10028
+ readonly hidden: false;
10029
+ readonly helpOption: true;
10030
+ readonly helpCommand: false;
10031
+ readonly usage: "[options] <sources...>";
10032
+ readonly helpText: readonly [];
10033
+ readonly arguments: readonly [{
10034
+ readonly name: "sources";
10035
+ readonly required: true;
10036
+ readonly variadic: true;
10037
+ readonly description: "Local files or http(s) URLs";
10038
+ }];
10039
+ readonly options: readonly [{
10040
+ readonly flags: "--to <dir>";
10041
+ readonly description: "Library folder inside companies/<co>/ (default companies/<co>/library)";
10042
+ readonly hidden: false;
10043
+ }, {
10044
+ readonly flags: "--tags <tags>";
10045
+ readonly description: "Tags (comma-separated, repeatable)";
10046
+ readonly hidden: false;
10047
+ readonly defaultValue: readonly [];
10048
+ }, {
10049
+ readonly flags: "--title <title>";
10050
+ readonly description: "Asset title (default: the file name)";
10051
+ readonly hidden: false;
10052
+ }, {
10053
+ readonly flags: "--note <text>";
10054
+ readonly description: "Asset description";
10055
+ readonly hidden: false;
10056
+ }, {
10057
+ readonly flags: "--company <slug>";
10058
+ readonly description: "Company whose vault receives the files";
10059
+ readonly hidden: false;
10060
+ }, {
10061
+ readonly flags: "--no-caption";
10062
+ readonly description: "Skip the AI description and suggested tags for images and videos";
10063
+ readonly hidden: false;
10064
+ }, {
10065
+ readonly flags: "--json";
10066
+ readonly description: "Print machine-readable JSON";
10067
+ readonly hidden: false;
10068
+ }];
10069
+ readonly subcommands: readonly [];
10070
+ }, {
10071
+ readonly name: "tag";
10072
+ readonly description: "Add or remove tags on a library placeholder";
10073
+ readonly aliases: readonly [];
10074
+ readonly hidden: false;
10075
+ readonly helpOption: true;
10076
+ readonly helpCommand: false;
10077
+ readonly usage: "[options] <placeholder>";
10078
+ readonly helpText: readonly [];
10079
+ readonly arguments: readonly [{
10080
+ readonly name: "placeholder";
10081
+ readonly required: true;
10082
+ readonly variadic: false;
10083
+ readonly description: "A .hqcloud placeholder (or the original path)";
10084
+ }];
10085
+ readonly options: readonly [{
10086
+ readonly flags: "--add <tags>";
10087
+ readonly description: "Tags to add (comma-separated, repeatable)";
10088
+ readonly hidden: false;
10089
+ readonly defaultValue: readonly [];
10090
+ }, {
10091
+ readonly flags: "--remove <tags>";
10092
+ readonly description: "Tags to remove (comma-separated, repeatable)";
10093
+ readonly hidden: false;
10094
+ readonly defaultValue: readonly [];
10095
+ }, {
10096
+ readonly flags: "--json";
10097
+ readonly description: "Print machine-readable JSON";
10098
+ readonly hidden: false;
10099
+ }];
10100
+ readonly subcommands: readonly [];
10101
+ }, {
10102
+ readonly name: "ls";
10103
+ readonly description: "List library placeholders in a folder (default: companies/)";
10104
+ readonly aliases: readonly [];
10105
+ readonly hidden: false;
10106
+ readonly helpOption: true;
10107
+ readonly helpCommand: false;
10108
+ readonly usage: "[options] [dir]";
10109
+ readonly helpText: readonly [];
10110
+ readonly arguments: readonly [{
10111
+ readonly name: "dir";
10112
+ readonly required: false;
10113
+ readonly variadic: false;
10114
+ readonly description: "Folder to list, relative to HQ";
10115
+ }];
10116
+ readonly options: readonly [{
10117
+ readonly flags: "--tag <tag>";
10118
+ readonly description: "Require a tag (repeatable or comma-separated)";
10119
+ readonly hidden: false;
10120
+ readonly defaultValue: readonly [];
10121
+ }, {
10122
+ readonly flags: "--json";
10123
+ readonly description: "Print machine-readable JSON";
10124
+ readonly hidden: false;
10125
+ }];
10126
+ readonly subcommands: readonly [];
10127
+ }, {
10128
+ readonly name: "describe";
10129
+ readonly description: "Re-run the AI description and suggested tags for a library image or video";
10130
+ readonly aliases: readonly [];
10131
+ readonly hidden: false;
10132
+ readonly helpOption: true;
10133
+ readonly helpCommand: false;
10134
+ readonly usage: "[options] <placeholder>";
10135
+ readonly helpText: readonly [];
10136
+ readonly arguments: readonly [{
10137
+ readonly name: "placeholder";
10138
+ readonly required: true;
10139
+ readonly variadic: false;
10140
+ readonly description: "A .hqcloud placeholder (or the original path)";
10141
+ }];
10142
+ readonly options: readonly [{
10143
+ readonly flags: "--json";
10144
+ readonly description: "Print machine-readable JSON";
10145
+ readonly hidden: false;
10146
+ }];
10147
+ readonly subcommands: readonly [];
10148
+ }, {
10149
+ readonly name: "fetch";
10150
+ readonly description: "Download a library asset next to its placeholder (wraps hq storage fetch)";
10151
+ readonly aliases: readonly [];
10152
+ readonly hidden: false;
10153
+ readonly helpOption: true;
10154
+ readonly helpCommand: false;
10155
+ readonly usage: "[options] <placeholder>";
10156
+ readonly helpText: readonly [];
10157
+ readonly arguments: readonly [{
10158
+ readonly name: "placeholder";
10159
+ readonly required: true;
10160
+ readonly variadic: false;
10161
+ readonly description: "A .hqcloud placeholder (or the original path)";
10162
+ }];
10163
+ readonly options: readonly [{
10164
+ readonly flags: "--json";
10165
+ readonly description: "Print machine-readable JSON";
10166
+ readonly hidden: false;
10167
+ }];
10168
+ readonly subcommands: readonly [];
10169
+ }, {
10170
+ readonly name: "link";
10171
+ readonly description: "Mint a short-lived download URL for a library asset (needs files:read)";
10172
+ readonly aliases: readonly [];
10173
+ readonly hidden: false;
10174
+ readonly helpOption: true;
10175
+ readonly helpCommand: false;
10176
+ readonly usage: "[options] <target>";
10177
+ readonly helpText: readonly [];
10178
+ readonly arguments: readonly [{
10179
+ readonly name: "target";
10180
+ readonly required: true;
10181
+ readonly variadic: false;
10182
+ readonly description: "A .hqcloud placeholder, its original path, or a vault key (.hq-offload/…)";
10183
+ }];
10184
+ readonly options: readonly [{
10185
+ readonly flags: "--company <company>";
10186
+ readonly description: "Company uid (cmp_…), or a slug on a session; default: the placeholder's company or the key's";
10187
+ readonly hidden: false;
10188
+ }, {
10189
+ readonly flags: "--expires <minutes>";
10190
+ readonly description: "Link lifetime in minutes, 1-60 (default 15)";
10191
+ readonly hidden: false;
10192
+ }, {
10193
+ readonly flags: "--json";
10194
+ readonly description: "Print machine-readable JSON";
10195
+ readonly hidden: false;
10196
+ }];
10197
+ readonly subcommands: readonly [];
10198
+ }];
9919
10199
  }, {
9920
10200
  readonly name: "index";
9921
10201
  readonly description: "Manage the local HQ search index";