@indigoai-us/hq-cli 5.345.143 → 5.345.144

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 (61) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/dist/command-catalog.generated.d.ts +278 -6
  3. package/dist/command-catalog.generated.js +341 -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-policy.js +76 -13
  18. package/dist/commands/library-add.d.ts +120 -0
  19. package/dist/commands/library-add.js +434 -0
  20. package/dist/commands/library-caption.d.ts +112 -0
  21. package/dist/commands/library-caption.js +393 -0
  22. package/dist/commands/library-link.d.ts +32 -0
  23. package/dist/commands/library-link.js +95 -0
  24. package/dist/commands/library.d.ts +72 -0
  25. package/dist/commands/library.js +527 -0
  26. package/dist/commands/meetings.d.ts +8 -0
  27. package/dist/commands/meetings.js +25 -2
  28. package/dist/commands/storage-offload.d.ts +16 -2
  29. package/dist/commands/storage-offload.js +55 -4
  30. package/dist/commands/storage.d.ts +8 -1
  31. package/dist/commands/storage.js +6 -2
  32. package/dist/hq-cloud-sync-runner/bin/sync-runner.js +2410 -2063
  33. package/dist/hq-cloud-sync-runner/package.json +1 -1
  34. package/dist/lib/billing/plan-lock.d.ts +15 -1
  35. package/dist/lib/billing/plan-lock.js +45 -5
  36. package/dist/lib/billing/usage-card.d.ts +82 -0
  37. package/dist/lib/billing/usage-card.js +198 -0
  38. package/dist/lib/billing/usage-cost.d.ts +214 -0
  39. package/dist/lib/billing/usage-cost.js +440 -0
  40. package/dist/lib/billing/usage-only.d.ts +87 -0
  41. package/dist/lib/billing/usage-only.js +262 -0
  42. package/dist/lib/billing/usage-rate-card.d.ts +51 -0
  43. package/dist/lib/billing/usage-rate-card.js +62 -0
  44. package/dist/lib/flag-registry-worker-source.generated.d.ts +1 -1
  45. package/dist/lib/flag-registry-worker-source.generated.js +1 -1
  46. package/dist/lib/plan-limit-nag.d.ts +4 -6
  47. package/dist/lib/plan-limit-nag.js +19 -1
  48. package/dist/lib/provider-launcher.d.ts +22 -0
  49. package/dist/lib/provider-launcher.js +65 -0
  50. package/dist/lib/search-index/index.d.ts +2 -0
  51. package/dist/lib/search-index/index.js +34 -0
  52. package/dist/lib/search-index/max-doc-bytes.d.ts +2 -1
  53. package/dist/lib/search-index/max-doc-bytes.js +2 -1
  54. package/dist/main.d.ts +9 -0
  55. package/dist/main.js +20 -3
  56. package/dist/utils/billing-gate.d.ts +19 -4
  57. package/dist/utils/billing-gate.js +25 -4
  58. package/dist/utils/plan-gate-error.d.ts +10 -0
  59. package/dist/utils/plan-gate-error.js +54 -0
  60. package/dist/utils/vault-api.js +4 -1
  61. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -2,6 +2,77 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [5.345.144] — 2026-10-16
6
+ - New `hq library add <file|url>...` uploads files or http(s) URLs straight to
7
+ the company vault and writes only a `.hqcloud` placeholder into
8
+ `companies/<co>/library/` (or `--to companies/<co>/<dir>`). Each upload is
9
+ checked against its sha256. If the same bytes are already in the vault, they
10
+ are not uploaded again. URLs stream to the vault without a local copy.
11
+ `--tags`, `--title` and `--note` set the asset details. If a plan storage
12
+ limit is reached, it shows the plan-limit message and writes no placeholder.
13
+ - New `hq library tag`, `hq library ls` and `hq library fetch` edit tags, list
14
+ library placeholders by folder and tag, and download an asset. All of them
15
+ support `--json`.
16
+ - `hq library add` now adds a description and suggested tags to image and
17
+ video uploads by running your local Claude Code (`claude -p`) on your
18
+ machine, and records `captioned-by: local:claude`. No cloud AI service is
19
+ called. Your own tags and `--note` description are kept. Videos use up to 4
20
+ frames taken with ffmpeg (first frame when ffmpeg cannot sample). If Claude
21
+ Code is not installed, not signed in, errors or times out, the file is still
22
+ saved and one "Captioning skipped" line says why. `--no-caption` skips it.
23
+ - New `hq library describe <placeholder>` runs local captioning again for an
24
+ asset that is already in the library.
25
+ - `hq api-keys create --preset library-agent` mints a key for a headless
26
+ agent with exactly `search:query` and `files:read`. Add `--allow-upload` to
27
+ also grant `files:write`. The preset cannot be combined with `--capability`,
28
+ `--scope`, `--deploy`, `--deploy-app` or `--permission`.
29
+ - New `hq library link <placeholder|vault-key>` mints a download URL for a
30
+ library asset (default 15 minutes, `--expires` up to 60). It works on a
31
+ session or on an `HQ_API_KEY` with `files:read`. The URL goes to stdout
32
+ only. Do not post it in Slack or shared channels.
33
+ - `hq storage fetch` (and `hq library fetch`) can now restore library assets
34
+ (placeholders with `vault: company` and a `.hq-offload/blobs/<sha256>` key).
35
+ It checks that you are an active member of that company, downloads with your
36
+ own company access and verifies the sha256. If you don't have read access,
37
+ it says so in plain words, leaves the placeholder in place, and writes no
38
+ partial file.
39
+ - Bundles `@indigoai-us/hq-cloud` 6.18.82, which adds the hq-asset
40
+ placeholder block, the watcher delete guard and
41
+ `CLOUD_PLACEHOLDER_SYNC_CAPABILITIES` that the library commands rely on.
42
+ - New `hq billing usage` shows this month's HQ usage per meter, the projected
43
+ bill, how much of the $10 included each month is left, and what is driving
44
+ the cost, with a fix for each driver. It only reads. Rates follow the usage
45
+ card: Sync $0.10, Gateway call (integrations and external MCP through HQ)
46
+ $0.05, HQ MCP call $0.05, Agent run $0.05, Storage $2.00 per GB-month, Secret
47
+ $0.50 per secret-month, Vault $5 per vault-month (waived during the trial).
48
+ They come from `GET /v1/pricing` when it publishes a `usage` block, and from
49
+ a bundled copy of the same card otherwise. Meters HQ cannot count for you yet
50
+ show as "not counted here yet", not as zero. `hq billing usage --card`
51
+ prints the card, including the trial, boxes and domains.
52
+ - Accounts on usage pricing no longer see Workforce, Individual or Starter
53
+ prompts. `hq billing upgrade` tells a usage-pricing company there is no plan
54
+ to upgrade to and points to `hq billing usage`; `hq billing sponsor request`
55
+ files nothing for a person on usage pricing; `hq whoami --plan` shows a usage
56
+ pricing line; agent, external agent and meeting bot refusals ask for a card
57
+ and quote agent boxes by size (small t3.small $100, medium t3.medium $200,
58
+ large t3.large $400, xlarge t3.xlarge $800 a month). Plan refusals show no
59
+ free month, Starter, Workforce or Individual copy and offer no plan
60
+ checkout. The CLI reads usage pricing from the company's `/membership/me`
61
+ row and from usage-limits, so members who are not owners get the same copy.
62
+ `hq agents create --size` accepts small, medium, large and xlarge; on the
63
+ new box sizes basic, power and dev map to small, medium and large. Accounts
64
+ on earlier plans keep their existing copy.
65
+ - `hq core policy age-report` now checks each policy's `when:` trigger with the
66
+ same evaluator the trigger hook uses. A policy whose trigger cannot parse
67
+ (quoted phrases, two words with no operator) is reported as
68
+ `malformed-trigger` instead of `never-fired`, and `hq core policy retire --auto`
69
+ lists it as needing a fix instead of retiring it.
70
+ - The never-fired, dormant and single-incident windows now start from the last
71
+ change to the policy (`updated:` frontmatter or file modification time), so a
72
+ trigger that was just repaired is not retired on the history from when it
73
+ could not fire.
74
+ - 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.
75
+
5
76
  ## [5.345.143] — 2026-10-16
6
77
  - 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
78
 
@@ -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
  }, {
@@ -6417,7 +6425,7 @@ export declare const COMMAND_CATALOG: readonly [{
6417
6425
  readonly hidden: false;
6418
6426
  }, {
6419
6427
  readonly flags: "--size <size>";
6420
- readonly description: "Agent box size: basic | power | dev (omitted keeps the current default)";
6428
+ 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
6429
  readonly hidden: false;
6422
6430
  }, {
6423
6431
  readonly flags: "--yes";
@@ -7399,7 +7407,7 @@ export declare const COMMAND_CATALOG: readonly [{
7399
7407
  readonly hidden: false;
7400
7408
  }, {
7401
7409
  readonly flags: "--cron <expr>";
7402
- readonly description: "Recurring schedule, such as rate(1 day) or a cron expression";
7410
+ 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
7411
  readonly hidden: false;
7404
7412
  }, {
7405
7413
  readonly flags: "--at <iso>";
@@ -7608,6 +7616,10 @@ export declare const COMMAND_CATALOG: readonly [{
7608
7616
  readonly flags: "--id <outpostId>";
7609
7617
  readonly description: "Outpost id (defaults to your primary box)";
7610
7618
  readonly hidden: false;
7619
+ }, {
7620
+ readonly flags: "--company <slug>";
7621
+ readonly description: "Request a new sign-in link for the company's Outpost (owner or admin)";
7622
+ readonly hidden: false;
7611
7623
  }, {
7612
7624
  readonly flags: "--json";
7613
7625
  readonly description: "Emit raw JSON";
@@ -7633,6 +7645,10 @@ export declare const COMMAND_CATALOG: readonly [{
7633
7645
  readonly flags: "--id <outpostId>";
7634
7646
  readonly description: "Outpost id (defaults to your primary box)";
7635
7647
  readonly hidden: false;
7648
+ }, {
7649
+ readonly flags: "--company <slug>";
7650
+ readonly description: "Sign in the company's Outpost (owner or admin)";
7651
+ readonly hidden: false;
7636
7652
  }, {
7637
7653
  readonly flags: "--json";
7638
7654
  readonly description: "Emit raw JSON";
@@ -7721,7 +7737,7 @@ export declare const COMMAND_CATALOG: readonly [{
7721
7737
  readonly subcommands: readonly [];
7722
7738
  }, {
7723
7739
  readonly name: "upgrade";
7724
- readonly description: "Open Stripe Checkout to upgrade this company to HQ Workforce ($500/mo)";
7740
+ readonly description: "Open Stripe Checkout to upgrade a company on an earlier plan (usage-pricing companies have no plan to upgrade)";
7725
7741
  readonly aliases: readonly [];
7726
7742
  readonly hidden: false;
7727
7743
  readonly helpOption: true;
@@ -7745,7 +7761,7 @@ export declare const COMMAND_CATALOG: readonly [{
7745
7761
  readonly subcommands: readonly [];
7746
7762
  }, {
7747
7763
  readonly name: "sponsor";
7748
- readonly description: "Ask a company to cover your $50 plan, or answer a request";
7764
+ readonly description: "Ask a company to cover your personal HQ plan, or answer a request";
7749
7765
  readonly aliases: readonly [];
7750
7766
  readonly hidden: false;
7751
7767
  readonly helpOption: true;
@@ -7756,7 +7772,7 @@ export declare const COMMAND_CATALOG: readonly [{
7756
7772
  readonly options: readonly [];
7757
7773
  readonly subcommands: readonly [{
7758
7774
  readonly name: "request";
7759
- readonly description: "Ask a company to cover your $50 HQ plan";
7775
+ readonly description: "Ask a company to cover your personal HQ plan";
7760
7776
  readonly aliases: readonly [];
7761
7777
  readonly hidden: false;
7762
7778
  readonly helpOption: true;
@@ -7797,7 +7813,7 @@ export declare const COMMAND_CATALOG: readonly [{
7797
7813
  readonly subcommands: readonly [];
7798
7814
  }, {
7799
7815
  readonly name: "approve";
7800
- readonly description: "Say yes — put someone's $50 plan on the company bill";
7816
+ readonly description: "Say yes — put someone's personal plan on the company bill";
7801
7817
  readonly aliases: readonly [];
7802
7818
  readonly hidden: false;
7803
7819
  readonly helpOption: true;
@@ -7880,6 +7896,42 @@ export declare const COMMAND_CATALOG: readonly [{
7880
7896
  }];
7881
7897
  readonly subcommands: readonly [];
7882
7898
  }];
7899
+ }, {
7900
+ readonly name: "usage";
7901
+ readonly description: "Show this month's usage, projected bill, included usage left and what drives it (read-only)";
7902
+ readonly aliases: readonly [];
7903
+ readonly hidden: false;
7904
+ readonly helpOption: true;
7905
+ readonly helpCommand: false;
7906
+ readonly usage: "[options]";
7907
+ readonly helpText: readonly [];
7908
+ readonly arguments: readonly [];
7909
+ readonly options: readonly [{
7910
+ readonly flags: "--company <slug>";
7911
+ readonly description: "One of your companies (default: your only company)";
7912
+ readonly hidden: false;
7913
+ }, {
7914
+ readonly flags: "--personal";
7915
+ readonly description: "Your personal HQ instead of a company";
7916
+ readonly hidden: false;
7917
+ }, {
7918
+ readonly flags: "--no-storage-scan";
7919
+ readonly description: "Skip listing cloud file versions (faster; no old-versions split)";
7920
+ readonly hidden: false;
7921
+ }, {
7922
+ readonly flags: "--fresh";
7923
+ readonly description: "List cloud file versions live instead of using figures from the last 15 minutes";
7924
+ readonly hidden: false;
7925
+ }, {
7926
+ readonly flags: "--card";
7927
+ readonly description: "Print the usage price card (meters, included usage, trial, boxes, domains) and exit";
7928
+ readonly hidden: false;
7929
+ }, {
7930
+ readonly flags: "--json";
7931
+ readonly description: "Print JSON";
7932
+ readonly hidden: false;
7933
+ }];
7934
+ readonly subcommands: readonly [];
7883
7935
  }];
7884
7936
  }, {
7885
7937
  readonly name: "vault";
@@ -9916,6 +9968,226 @@ export declare const COMMAND_CATALOG: readonly [{
9916
9968
  }];
9917
9969
  readonly subcommands: readonly [];
9918
9970
  }];
9971
+ }, {
9972
+ readonly name: "library";
9973
+ readonly description: "Company media library (.hqcloud asset placeholders)";
9974
+ readonly aliases: readonly [];
9975
+ readonly hidden: false;
9976
+ readonly helpOption: true;
9977
+ readonly helpCommand: true;
9978
+ readonly usage: "[options] [command]";
9979
+ readonly helpText: readonly [];
9980
+ readonly arguments: readonly [];
9981
+ readonly options: readonly [];
9982
+ readonly subcommands: readonly [{
9983
+ readonly name: "search";
9984
+ readonly description: "Search library assets in the cloud, falling back to the local index when offline";
9985
+ readonly aliases: readonly [];
9986
+ readonly hidden: false;
9987
+ readonly helpOption: true;
9988
+ readonly helpCommand: false;
9989
+ readonly usage: "[options] [query...]";
9990
+ readonly helpText: readonly [];
9991
+ readonly arguments: readonly [{
9992
+ readonly name: "query";
9993
+ readonly required: false;
9994
+ readonly variadic: true;
9995
+ readonly description: "Query terms (joined with spaces)";
9996
+ }];
9997
+ readonly options: readonly [{
9998
+ readonly flags: "--tag <tag>";
9999
+ readonly description: "Require a tag (repeatable or comma-separated)";
10000
+ readonly hidden: false;
10001
+ readonly defaultValue: readonly [];
10002
+ }, {
10003
+ readonly flags: "--company <slug>";
10004
+ readonly description: "Restrict to one company";
10005
+ readonly hidden: false;
10006
+ }, {
10007
+ readonly flags: "-n, --count <count>";
10008
+ readonly description: "Maximum result count";
10009
+ readonly hidden: false;
10010
+ }, {
10011
+ readonly flags: "--json";
10012
+ readonly description: "Print machine-readable JSON";
10013
+ readonly hidden: false;
10014
+ }];
10015
+ readonly subcommands: readonly [];
10016
+ }, {
10017
+ readonly name: "add";
10018
+ readonly description: "Upload files or URLs to the company vault and add .hqcloud placeholders to the library";
10019
+ readonly aliases: readonly [];
10020
+ readonly hidden: false;
10021
+ readonly helpOption: true;
10022
+ readonly helpCommand: false;
10023
+ readonly usage: "[options] <sources...>";
10024
+ readonly helpText: readonly [];
10025
+ readonly arguments: readonly [{
10026
+ readonly name: "sources";
10027
+ readonly required: true;
10028
+ readonly variadic: true;
10029
+ readonly description: "Local files or http(s) URLs";
10030
+ }];
10031
+ readonly options: readonly [{
10032
+ readonly flags: "--to <dir>";
10033
+ readonly description: "Library folder inside companies/<co>/ (default companies/<co>/library)";
10034
+ readonly hidden: false;
10035
+ }, {
10036
+ readonly flags: "--tags <tags>";
10037
+ readonly description: "Tags (comma-separated, repeatable)";
10038
+ readonly hidden: false;
10039
+ readonly defaultValue: readonly [];
10040
+ }, {
10041
+ readonly flags: "--title <title>";
10042
+ readonly description: "Asset title (default: the file name)";
10043
+ readonly hidden: false;
10044
+ }, {
10045
+ readonly flags: "--note <text>";
10046
+ readonly description: "Asset description";
10047
+ readonly hidden: false;
10048
+ }, {
10049
+ readonly flags: "--company <slug>";
10050
+ readonly description: "Company whose vault receives the files";
10051
+ readonly hidden: false;
10052
+ }, {
10053
+ readonly flags: "--no-caption";
10054
+ readonly description: "Skip the AI description and suggested tags for images and videos";
10055
+ readonly hidden: false;
10056
+ }, {
10057
+ readonly flags: "--json";
10058
+ readonly description: "Print machine-readable JSON";
10059
+ readonly hidden: false;
10060
+ }];
10061
+ readonly subcommands: readonly [];
10062
+ }, {
10063
+ readonly name: "tag";
10064
+ readonly description: "Add or remove tags on a library placeholder";
10065
+ readonly aliases: readonly [];
10066
+ readonly hidden: false;
10067
+ readonly helpOption: true;
10068
+ readonly helpCommand: false;
10069
+ readonly usage: "[options] <placeholder>";
10070
+ readonly helpText: readonly [];
10071
+ readonly arguments: readonly [{
10072
+ readonly name: "placeholder";
10073
+ readonly required: true;
10074
+ readonly variadic: false;
10075
+ readonly description: "A .hqcloud placeholder (or the original path)";
10076
+ }];
10077
+ readonly options: readonly [{
10078
+ readonly flags: "--add <tags>";
10079
+ readonly description: "Tags to add (comma-separated, repeatable)";
10080
+ readonly hidden: false;
10081
+ readonly defaultValue: readonly [];
10082
+ }, {
10083
+ readonly flags: "--remove <tags>";
10084
+ readonly description: "Tags to remove (comma-separated, repeatable)";
10085
+ readonly hidden: false;
10086
+ readonly defaultValue: readonly [];
10087
+ }, {
10088
+ readonly flags: "--json";
10089
+ readonly description: "Print machine-readable JSON";
10090
+ readonly hidden: false;
10091
+ }];
10092
+ readonly subcommands: readonly [];
10093
+ }, {
10094
+ readonly name: "ls";
10095
+ readonly description: "List library placeholders in a folder (default: companies/)";
10096
+ readonly aliases: readonly [];
10097
+ readonly hidden: false;
10098
+ readonly helpOption: true;
10099
+ readonly helpCommand: false;
10100
+ readonly usage: "[options] [dir]";
10101
+ readonly helpText: readonly [];
10102
+ readonly arguments: readonly [{
10103
+ readonly name: "dir";
10104
+ readonly required: false;
10105
+ readonly variadic: false;
10106
+ readonly description: "Folder to list, relative to HQ";
10107
+ }];
10108
+ readonly options: readonly [{
10109
+ readonly flags: "--tag <tag>";
10110
+ readonly description: "Require a tag (repeatable or comma-separated)";
10111
+ readonly hidden: false;
10112
+ readonly defaultValue: readonly [];
10113
+ }, {
10114
+ readonly flags: "--json";
10115
+ readonly description: "Print machine-readable JSON";
10116
+ readonly hidden: false;
10117
+ }];
10118
+ readonly subcommands: readonly [];
10119
+ }, {
10120
+ readonly name: "describe";
10121
+ readonly description: "Re-run the AI description and suggested tags for a library image or video";
10122
+ readonly aliases: readonly [];
10123
+ readonly hidden: false;
10124
+ readonly helpOption: true;
10125
+ readonly helpCommand: false;
10126
+ readonly usage: "[options] <placeholder>";
10127
+ readonly helpText: readonly [];
10128
+ readonly arguments: readonly [{
10129
+ readonly name: "placeholder";
10130
+ readonly required: true;
10131
+ readonly variadic: false;
10132
+ readonly description: "A .hqcloud placeholder (or the original path)";
10133
+ }];
10134
+ readonly options: readonly [{
10135
+ readonly flags: "--json";
10136
+ readonly description: "Print machine-readable JSON";
10137
+ readonly hidden: false;
10138
+ }];
10139
+ readonly subcommands: readonly [];
10140
+ }, {
10141
+ readonly name: "fetch";
10142
+ readonly description: "Download a library asset next to its placeholder (wraps hq storage fetch)";
10143
+ readonly aliases: readonly [];
10144
+ readonly hidden: false;
10145
+ readonly helpOption: true;
10146
+ readonly helpCommand: false;
10147
+ readonly usage: "[options] <placeholder>";
10148
+ readonly helpText: readonly [];
10149
+ readonly arguments: readonly [{
10150
+ readonly name: "placeholder";
10151
+ readonly required: true;
10152
+ readonly variadic: false;
10153
+ readonly description: "A .hqcloud placeholder (or the original path)";
10154
+ }];
10155
+ readonly options: readonly [{
10156
+ readonly flags: "--json";
10157
+ readonly description: "Print machine-readable JSON";
10158
+ readonly hidden: false;
10159
+ }];
10160
+ readonly subcommands: readonly [];
10161
+ }, {
10162
+ readonly name: "link";
10163
+ readonly description: "Mint a short-lived download URL for a library asset (needs files:read)";
10164
+ readonly aliases: readonly [];
10165
+ readonly hidden: false;
10166
+ readonly helpOption: true;
10167
+ readonly helpCommand: false;
10168
+ readonly usage: "[options] <target>";
10169
+ readonly helpText: readonly [];
10170
+ readonly arguments: readonly [{
10171
+ readonly name: "target";
10172
+ readonly required: true;
10173
+ readonly variadic: false;
10174
+ readonly description: "A .hqcloud placeholder, its original path, or a vault key (.hq-offload/…)";
10175
+ }];
10176
+ readonly options: readonly [{
10177
+ readonly flags: "--company <company>";
10178
+ readonly description: "Company uid (cmp_…), or a slug on a session; default: the placeholder's company or the key's";
10179
+ readonly hidden: false;
10180
+ }, {
10181
+ readonly flags: "--expires <minutes>";
10182
+ readonly description: "Link lifetime in minutes, 1-60 (default 15)";
10183
+ readonly hidden: false;
10184
+ }, {
10185
+ readonly flags: "--json";
10186
+ readonly description: "Print machine-readable JSON";
10187
+ readonly hidden: false;
10188
+ }];
10189
+ readonly subcommands: readonly [];
10190
+ }];
9919
10191
  }, {
9920
10192
  readonly name: "index";
9921
10193
  readonly description: "Manage the local HQ search index";