@indigoai-us/hq-cli 5.345.228 → 5.345.231

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 CHANGED
@@ -2,6 +2,43 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [5.345.231] — 2026-11-18
6
+ - The daemon now runs a new `codex-settings` request note: the `.claude/settings.json` PostToolUse commands of one Codex tool call, started one by one with the payload on stdin and the variables the released Codex adapter gave its hooks (`HQ_CHECKPOINT_RUNTIME=codex`, `HQ_HARNESS=codex`, `HQ_WORK_MESH_HARNESS=codex`, `BASH_ENV=/dev/null`, `HQ_ROOT` and `CLAUDE_PROJECT_DIR` set to the root, `HQAD_EVENT_SESSION_ID`; no `HQ_WORK_MESH_DISABLED`). A command the root's settings no longer list is refused. No hook leaves this note yet, and `codex-adapter:PostToolUse` stays unclaimed.
7
+ - `hq-hook run --host codex PreToolUse` now refuses a Codex `apply_patch`, `Edit` or `Write` into `companies/_template/` natively, with the released Codex adapter's own message (`block_template_edit_if_needed`). It also refuses the readings other machines' adapters refused (a CR in the tool name, other case, backslashes, symlinks) and a path it cannot resolve. `codex-adapter:PreToolUse` stays unclaimed. An edit path holding a NUL byte is refused, a Git Bash `/c/...` or cygwin `/cygdrive/c/...` path is read as `C:/...`, and with no `--hq-root` the edit is refused instead of falling back to `HQ_ROOT`, `CLAUDE_PROJECT_DIR` or the cwd. A template edit in a root with no `.claude/hooks/hook-gate.sh` is refused too, where the adapter exited 0 before any check.
8
+ - `hq crm entity list` and `hq crm entity get` stop the background flag-registry worker before they exit with an error, so they no longer risk a crash at exit (SIGSEGV on Node 20 and 22) after printing their message.
9
+ - `hq report` subcommands that fail (`access`, `discard-draft`, `promote`, and the others that share the same handler) stop the background flag-registry worker before the CLI exits, so they no longer risk a crash at exit (SIGSEGV on Node 20 and 22) after printing their message.
10
+ - `hq packages remove`, `hq packages packs list` and `hq packages packs uninstall` stop the background flag-registry worker before they exit with an error, so the CLI no longer risks a crash at exit (SIGSEGV on Node 20 and 22) after printing its message.
11
+ - hq-hook: `grok-adapter:PostToolUse` is claimed (US-050). The Grok adapter's own PostToolUse work is native: the payload rebuild and output contract, the `auto-capture-registry` supplement, and beta.68's held-policy-reminder flush, which the port refuses where the adapter would run it (nothing is started and the held text stays). `master-hook:PostToolUse` keeps its own id, so PostToolUse stays on the old dispatcher. Off Unix, an `hq` found only in Git Bash's own `PATH` folders (Git's `mingw64\bin` and `usr\bin`, `~/bin`) now counts as not known, so the Grok reindex row refuses there instead of allowing.
12
+ - `scripts/replay-harness.mjs` replays recorded Grok Build events as Grok Build runs them: the old side through the released adapter `.grok/hooks/hq-grok-hook-adapter.sh` (from `.grok/hooks`, with `GROK_HOOK_EVENT` and `GROK_WORKSPACE_ROOT`), the new side through the Grok user bridge file and script installed in the run's home as `hq reindex` installs them, not `hq-hook run` directly. A Grok event Grok Build never sends, a root without the adapter or the bridge, and a bridge entry the harness does not model (a tool matcher, more than one command) are reported, never compared as a pass.
13
+ - Test the Grok SubagentStop master-hook handoff against the released adapter for each stop-gate input (stopHookActive true, snake case, non-boolean, absent, a reason, no transcript).
14
+ - Internal: the `hq-hook` cleanup-mcp parity test for protected workflow runners now waits until the runner's helper is up before the hook runs, so a loaded machine can no longer run the hook while only the runner is there. Test-only; no behaviour change.
15
+ - The hq-hook engine now lists hq-core 16.0.48 in its core pins, so the latest-release pin check passes again. The credential guard (`block-credential-file-read`) stays on its bash hook for 16.0.48: the release ships script 6512581d with arithmetic library e90d160f, which the native port does not reproduce yet, and the commands that library newly allows wait for the owner's review first. Five other hooks are recorded as running on bash for 16.0.48 for the same reasons as on 16.0.48-beta.124.
16
+ - Hooks: the native fleet-local PreToolUse member now matches settings records on a `pre_approval_request` the way the released adapter dispatches them: an exec approval matches as tool `Bash` and an apply_patch approval as tool `Edit`. Before, it matched on the approval type (`exec`, `apply_patch`), so a `Bash` or `Edit` matcher that blocks in the adapter was not seen. An approval type other than exec or apply_patch refuses. The member is not registered yet, so nothing live changes.
17
+ - Hooks: the native fleet-local PreToolUse member (not registered yet) now models the released adapter's core and template edit checks: an Edit or Write (or any path of an `apply_patch` approval) into `core/` (unless `HQ_BYPASS_CORE_PROTECT` is set) or `companies/_template/` is refused with the adapter's own message. Paths are resolved in-process, with no `realpath` program; a path that reaches a protected folder through a symlink (a dangling one included, followed to its missing target as GNU `realpath` does), a different letter case or a carriage return is refused too, and a path the check cannot resolve is refused. The runtime tool name is read as the adapter's shell reads it (NUL bytes dropped, trailing newlines cut), so `patch\n`, `Edit\n` or `write_file\n` into `core/` is refused like `patch`, `Edit` or `write_file`, and an `apply_patch` approval that carries no usable path is refused with the adapter's own "carried no paths" message.
18
+ - Hooks: the native fleet-local `pre_tool_call` member (not registered yet) now sets up a subagent session's inherited company scope in process, as the released fleet-local adapter does: it reads the parent from the fleet `state.db`, drops HQ's `personal` placeholder, and writes the capability, the adapter's marker and the `meta.yaml` lines. It starts no program. Where it cannot decide (a CR that changes the decision, a capability file it cannot read as JSON) it blocks the tool call.
19
+ Because it never starts `sqlite3`, a `sqlite3` that fails when run is not modelled: where the released adapter would then inherit nothing, native reads a readable `state.db` and inherits the parent's scope, which only narrows the session. A `state.db` it cannot read still blocks.
20
+ - `hq-hook` builds again: the fleet-local PreToolUse member passes the inherited-scope context (its `PATH` read and parent-scope mint) through the shared answer path that both the PreToolUse and the approval-request answers use.
21
+ - Let an hq-hook coverage claim name the hosts it is for (`SubagentStop@codex`), so a claim on one host no longer switches the same event on the others; claims without a host set mean every host, as before.
22
+ - Internal: `hq lanes link _deliver` honours `HQ_LINK_DELIVER_QUEUED_AT_OR_BEFORE` (UTC `...Z` time): it drains or claims only link messages queued at or before it and leaves later ones queued for the next PostToolUse or Stop; a value it cannot read takes nothing. The daemon's `conduct-lanes-link-deliver` note may carry `args.at`, which the daemon passes to the root's hook script as that variable. Unset, every delivery path is unchanged. Nothing writes `args.at` yet.
23
+ - `hq-hook bridge-plan` no longer lists `inject-policy-on-trigger`, `policy-enforcement-gate` or `image-context-guard` on a platform where the Rust state store is off (Windows until US-022), whatever their `hook-engine-port-*` flag says. master-hook then runs the bash hooks exactly as with the flag off. Before, turning `hook-engine-port-inject-policy-on-trigger` on blocked every Claude Code prompt on Windows with the injector's store-off deny. On macOS and Linux the plan is unchanged, and a port that does run still never hands a call back to bash.
24
+ - hq-hook: on hq-fleet-local, `hq-hook run` now claims the fleet-local adapter's SessionEnd work, including the `on_session_reset` alias. With the released settings, session end runs natively and gives the adapter's answer: exit 0 and empty stdout. A `master-hook.sh` command listed under SessionEnd for another event now goes to the HQ daemon on the same `fleet-local-settings` request note as after a tool call, with event `SessionEnd`. The daemon accepts that event. Any other settings command at session end is still refused natively, as on Codex and Grok. The `cleanup-mcp-processes` registry row now runs on that session end as the released adapter ran it, instead of being refused. It reads the exit reason from the runtime's own payload, stops the session's own MCP helpers and sweeps old temp files. It writes no report line, because the adapter drops master-hook's stderr when master-hook exits 0. The agents-v2 runtime is still refused.
25
+ - Internal: the native Codex SubagentStop runner in `hq-hook` now leaves a `conduct-lanes-link-deliver` or `conduct-link-inherit` request note for the HQ daemon where the released adapter's hook would start `hq`, instead of refusing, and still refuses where a note cannot carry the session id or cannot be left. It also decides payloads that carry Codex's own `hook_event_name` and skips the two rows when the registry lists them `gated: false` (the adapter then runs them with no event argument, so they exit at once), as the released adapter does; parity rows run the released adapter. Still not wired: `codex-adapter:SubagentStop` stays unclaimed while `master-hook:SubagentStop` is not modelled for Codex.
26
+ - `hq-hook run --host grok SubagentStart` now does the released Grok adapter's own subagent company bind and claims it (`grok-adapter:SubagentStart` in `hq-hook capabilities --json`): a subagent with a parent session takes its parent's company, then the spawn company, then the device default (read in process; no program is started from the hook), as `bind_subagent_once` did. A bind it cannot decide writes nothing and refuses the event, with the reason on stderr.
27
+
28
+ ## [5.345.230] — 2026-11-18
29
+ - `hq-hook run --host codex PreToolUse` with no `--hq-root` no longer trusts `HQ_ROOT`, `CLAUDE_PROJECT_DIR` or the cwd as the Codex adapter's root for the explicit-path guard: it keeps a refusal from that fallback root and refuses every other Codex Bash call, because the adapter's root was its own location.
30
+ - The HQ daemon now takes two new hook request notes, `conduct-lanes-link-deliver` and `conduct-link-inherit`, for the two programs the Codex adapter started at SubagentStop (`hq lanes link _deliver` and the conduct-link invite settle). Each note carries only the session id; the daemon runs the HQ root's own `.claude/hooks/conduct-lanes-link-deliver.sh` or `.claude/hooks/conduct-link-inherit.sh` with `PostToolUse` and `{"session_id": ...}` on stdin, as the adapter did, and drops their output as the adapter did on SubagentStop. No hook leaves these notes yet.
31
+ - hq-hook: on Grok Build, native StopCancelled and StopFailure now do the released Grok adapter's own work for them: the Work Mesh `turn_end` line its `70-work-mesh-turn-end.sh` leaf appends to the spool, written in process with no program started, then exit 0 with nothing printed (instead of a hook error). Inputs the port does not model (another leaf revision, the leaf's async queue, a session id that is not a plain name, a value a Windows CR strip would decide differently) are refused natively. `grok-adapter:StopCancelled` and `grok-adapter:StopFailure` are claimed; the settings Stop hooks the adapter runs after the leaf (`master-hook:StopCancelled`, `master-hook:StopFailure`) stay on the old path (US-050).
32
+ - hq-hook: on Grok Build, native PostToolUse now runs the registry's reindex row on the payload the released Grok adapter rebuilt (payload_for_path for writes and edits, the CLAUDE_JSON rebuild for terminal commands) and leaves a request note for the HQ daemon where v16.0.47 and beta.68 ran hq reindex; before, it refused those calls. A call it cannot decide (a carriage return that changes the answer, hq on only one of the inherited and augmented PATHs, a build that is not Unix) is refused, and nothing is started. grok-adapter:PostToolUse stays unclaimed (US-050).
33
+ - hq-hook: `hq-hook run --host grok SessionStart` now does the Grok adapter's company auto-bind natively (`session_auto_bind_apply` with the device default, the session's parent taken from the payload only when it names a subagent type, else `HQ_PARENT_SESSION_ID`), before the skill catalog, as the released adapter does. It shares the Codex SessionStart port, so the device default is read in process and the hook starts no program. Inputs the port does not model bind nothing and print one stderr line. `grok-adapter:SessionStart` is claimed. New parity test against the released adapter and bind library (US-050).
34
+ - Updates the bundled HQ Cloud to 6.18.112. Members of a company can now ask for an Outpost: `hq outposts request-access --company <slug> --outpost <id>` asks to use an existing company Outpost, and `hq outposts request --company <slug>` asks for one of their own. Owners and admins see them with `hq outposts requests --company <slug>` and answer with `hq outposts approve` or `hq outposts decline` (each shows who asked, the price and what access gives, and asks for confirmation unless `--yes`), and manage who can use an Outpost with `hq outposts access list|grant|revoke`. Approved members can use `hq outposts exec` and `terminal` with `--company`. `hq outposts list --company <slug>` gains a CAN_USE column. Creating a company Outpost shows the machine and disk price before asking to confirm. `hq outposts provision` now asks whether to create a company or a personal Outpost; scripts that ran `hq outposts provision --yes` for a personal Outpost now need `--personal`. Also includes sync fixes: two sync processes no longer share one download stage, and a watcher can no longer skip the scheduled full reconcile indefinitely. A session log over the 50 MB sync limit now prints a warning instead of being skipped silently.
35
+ - Hooks: on the local fleet runtime, `hq-hook run --host fleet-local pre_tool_call` now refuses a tool the fleet-local adapter has no HQ name for when `HQ_FLEET_LOCAL_UNKNOWN_TOOL=block`, as the released adapter does. Only the exact value `block` refuses. Before, the native host ignored the setting and passed the tool on.
36
+ - Hooks: the native fleet-local PreToolUse member now follows the released adapter more closely. It blocks with the adapter's message when `core/scripts/lib/hook-adapter-core.sh` is missing. It refuses when the fallback guard scripts would run because `hook-registry.json` is missing or rejected. It matches settings records on the adapter's own tool words (newline-trimmed, word-split, raw and CR-stripped) as well as the native name. It refuses on a non-UTF-8 `HQ_FLEET_HOME`. Its `state.db` reader now skips SQL comments and reads column defaults for older rows.
37
+ - Hooks: the native fleet-local PreToolUse member now matches the released adapter on these points. Settings records match on the adapter's tool words only, so `hq_cli` no longer matches a `Bash` matcher (the line above no longer applies to the native name). The strict unknown-tool check reads `terminal\n` as `terminal`, so it is Bash. A subagent row whose parent comes from the column default, where that parent has no minted scope, now passes. A `core/scripts/lib/hook-adapter-core.sh` that is not byte-equal to a released copy refuses.
38
+ - Hooks: the native fleet-local PreToolUse member now runs the adapter's fallback guard check when the registry prefilter cannot read the payload (no object `tool_input` and a `prompt` that is a number, `true`, an array or an object), as `hqad_iter_registry` does. A payload that is not a JSON object refuses.
39
+ - The native hook engine now claims the old dispatcher's own Notification work on Claude Code and Grok Build (session bind, duplicate-event check, timeout journal, trace lines), so Notification has no unclaimed hook left in the coverage list. If an HQ has a Notification hook the engine does not run, the native Notification does none of that work and prints why on stderr; run `hq reindex` to keep Notification on the old dispatcher while such a hook exists. `hq reindex` still keeps Notification on the old dispatcher until the engine reports `lifecycle-dispatch`.
40
+ - Internal: `hq-hook` stages the released Codex adapter's SubagentStop Agent payload (the `tool_name: Agent` PostToolUse payload it builds with `jq`) and the registry rows that take it, natively. Nothing is wired yet: `hq-hook run --host codex SubagentStop` behaves as before and `codex-adapter:SubagentStop` stays unclaimed.
41
+
5
42
  ## [5.345.228] — 2026-11-18
6
43
  - `hq auth login` now points people without an account at `https://hqforwork.com` to sign up, instead of the old onboarding wizard at `onboarding.hq.computer`.
7
44
  - `hq-hook run --host codex` now does the released Codex adapter's own UserPromptSubmit work and claims it (`codex-adapter:UserPromptSubmit` in `hq-hook capabilities --json`): context is written in the adapter's `jq -n` layout (SessionStart too), a payload with no session id gets the `codex-<id>` session id the adapter stamped, and a payload naming another event is refused with exit 2. `codex-adapter:SessionStart` stays unclaimed.
@@ -8602,7 +8602,7 @@ export declare const COMMAND_CATALOG: readonly [{
8602
8602
  readonly subcommands: readonly [];
8603
8603
  }, {
8604
8604
  readonly name: "provision";
8605
- readonly description: "Provision a new Outpost (priced by size: small, medium, large or xlarge; requires --yes)";
8605
+ readonly description: "Provision a new company or personal Outpost (priced by size: small, medium, large or xlarge)";
8606
8606
  readonly aliases: readonly ["create"];
8607
8607
  readonly hidden: false;
8608
8608
  readonly helpOption: true;
@@ -8612,7 +8612,7 @@ export declare const COMMAND_CATALOG: readonly [{
8612
8612
  readonly arguments: readonly [];
8613
8613
  readonly options: readonly [{
8614
8614
  readonly flags: "--size <size>";
8615
- readonly description: "Outpost size: small | medium | large | xlarge. Without it, a terminal shows a menu with prices; the default is $100/month";
8615
+ readonly description: "Outpost size: small | medium | large | xlarge. Without it, a terminal shows a menu with prices and medium preselected; a script gets the default, $100/month";
8616
8616
  readonly hidden: false;
8617
8617
  }, {
8618
8618
  readonly flags: "--runtime <runtime>";
@@ -8628,15 +8628,15 @@ export declare const COMMAND_CATALOG: readonly [{
8628
8628
  readonly hidden: false;
8629
8629
  }, {
8630
8630
  readonly flags: "--company <slug>";
8631
- readonly description: "Provision the company's Outpost instead of your personal box";
8631
+ readonly description: "Provision an Outpost for this company. A company that already has one gets another";
8632
8632
  readonly hidden: false;
8633
8633
  }, {
8634
- readonly flags: "--name <name>";
8635
- readonly description: "With --company: not sent. This server creates the company's main Outpost and does not take a name yet";
8634
+ readonly flags: "--personal";
8635
+ readonly description: "Provision your own personal Outpost";
8636
8636
  readonly hidden: false;
8637
8637
  }, {
8638
8638
  readonly flags: "--yes";
8639
- readonly description: "Confirm the monthly charge for the chosen size (required to provision or create)";
8639
+ readonly description: "Confirm the monthly charge for the chosen size (required without a terminal)";
8640
8640
  readonly hidden: false;
8641
8641
  }, {
8642
8642
  readonly flags: "--json";
@@ -8644,6 +8644,234 @@ export declare const COMMAND_CATALOG: readonly [{
8644
8644
  readonly hidden: false;
8645
8645
  }];
8646
8646
  readonly subcommands: readonly [];
8647
+ }, {
8648
+ readonly name: "request-access";
8649
+ readonly description: "Ask the owners and admins of a company for access to one of its Outposts";
8650
+ readonly aliases: readonly [];
8651
+ readonly hidden: false;
8652
+ readonly helpOption: true;
8653
+ readonly helpCommand: false;
8654
+ readonly usage: "[options]";
8655
+ readonly helpText: readonly [];
8656
+ readonly arguments: readonly [];
8657
+ readonly options: readonly [{
8658
+ readonly flags: "--company <slug>";
8659
+ readonly description: "Company that owns the Outpost";
8660
+ readonly hidden: false;
8661
+ }, {
8662
+ readonly flags: "--outpost <name|id>";
8663
+ readonly description: "The company Outpost you want to use";
8664
+ readonly hidden: false;
8665
+ }, {
8666
+ readonly flags: "--note <text>";
8667
+ readonly description: "A short note for the owners and admins";
8668
+ readonly hidden: false;
8669
+ }, {
8670
+ readonly flags: "--json";
8671
+ readonly description: "Emit one JSON object";
8672
+ readonly hidden: false;
8673
+ }];
8674
+ readonly subcommands: readonly [];
8675
+ }, {
8676
+ readonly name: "request";
8677
+ readonly description: "Ask the owners and admins of a company for a new company Outpost";
8678
+ readonly aliases: readonly [];
8679
+ readonly hidden: false;
8680
+ readonly helpOption: true;
8681
+ readonly helpCommand: false;
8682
+ readonly usage: "[options]";
8683
+ readonly helpText: readonly [];
8684
+ readonly arguments: readonly [];
8685
+ readonly options: readonly [{
8686
+ readonly flags: "--company <slug>";
8687
+ readonly description: "Company to ask";
8688
+ readonly hidden: false;
8689
+ }, {
8690
+ readonly flags: "--size <size>";
8691
+ readonly description: "small, medium, large or xlarge (the server default is medium)";
8692
+ readonly hidden: false;
8693
+ }, {
8694
+ readonly flags: "--note <text>";
8695
+ readonly description: "A short note for the owners and admins";
8696
+ readonly hidden: false;
8697
+ }, {
8698
+ readonly flags: "--json";
8699
+ readonly description: "Emit one JSON object";
8700
+ readonly hidden: false;
8701
+ }];
8702
+ readonly subcommands: readonly [];
8703
+ }, {
8704
+ readonly name: "requests";
8705
+ readonly description: "List Outpost requests: owners and admins see every request, members see their own";
8706
+ readonly aliases: readonly [];
8707
+ readonly hidden: false;
8708
+ readonly helpOption: true;
8709
+ readonly helpCommand: false;
8710
+ readonly usage: "[options]";
8711
+ readonly helpText: readonly [];
8712
+ readonly arguments: readonly [];
8713
+ readonly options: readonly [{
8714
+ readonly flags: "--company <slug>";
8715
+ readonly description: "Company";
8716
+ readonly hidden: false;
8717
+ }, {
8718
+ readonly flags: "--json";
8719
+ readonly description: "Emit JSON";
8720
+ readonly hidden: false;
8721
+ }];
8722
+ readonly subcommands: readonly [];
8723
+ }, {
8724
+ readonly name: "approve";
8725
+ readonly description: "Approve an Outpost request (owners and admins). Shows who asked, what for, the price and what approval allows first";
8726
+ readonly aliases: readonly [];
8727
+ readonly hidden: false;
8728
+ readonly helpOption: true;
8729
+ readonly helpCommand: false;
8730
+ readonly usage: "[options]";
8731
+ readonly helpText: readonly [];
8732
+ readonly arguments: readonly [];
8733
+ readonly options: readonly [{
8734
+ readonly flags: "--company <slug>";
8735
+ readonly description: "Company";
8736
+ readonly hidden: false;
8737
+ }, {
8738
+ readonly flags: "--request <id>";
8739
+ readonly description: "Request id from hq outposts requests";
8740
+ readonly hidden: false;
8741
+ }, {
8742
+ readonly flags: "--yes";
8743
+ readonly description: "Approve without asking";
8744
+ readonly hidden: false;
8745
+ }, {
8746
+ readonly flags: "--json";
8747
+ readonly description: "Emit one JSON object";
8748
+ readonly hidden: false;
8749
+ }];
8750
+ readonly subcommands: readonly [];
8751
+ }, {
8752
+ readonly name: "decline";
8753
+ readonly description: "Decline an Outpost request (owners and admins)";
8754
+ readonly aliases: readonly [];
8755
+ readonly hidden: false;
8756
+ readonly helpOption: true;
8757
+ readonly helpCommand: false;
8758
+ readonly usage: "[options]";
8759
+ readonly helpText: readonly [];
8760
+ readonly arguments: readonly [];
8761
+ readonly options: readonly [{
8762
+ readonly flags: "--company <slug>";
8763
+ readonly description: "Company";
8764
+ readonly hidden: false;
8765
+ }, {
8766
+ readonly flags: "--request <id>";
8767
+ readonly description: "Request id from hq outposts requests";
8768
+ readonly hidden: false;
8769
+ }, {
8770
+ readonly flags: "--reason <text>";
8771
+ readonly description: "A short reason the requester sees";
8772
+ readonly hidden: false;
8773
+ }, {
8774
+ readonly flags: "--json";
8775
+ readonly description: "Emit one JSON object";
8776
+ readonly hidden: false;
8777
+ }];
8778
+ readonly subcommands: readonly [];
8779
+ }, {
8780
+ readonly name: "access";
8781
+ readonly description: "See and change who may use a company Outpost (owners and admins)";
8782
+ readonly aliases: readonly [];
8783
+ readonly hidden: false;
8784
+ readonly helpOption: true;
8785
+ readonly helpCommand: true;
8786
+ readonly usage: "[options] [command]";
8787
+ readonly helpText: readonly [];
8788
+ readonly arguments: readonly [];
8789
+ readonly options: readonly [];
8790
+ readonly subcommands: readonly [{
8791
+ readonly name: "list";
8792
+ readonly description: "List the members approved for a company Outpost";
8793
+ readonly aliases: readonly [];
8794
+ readonly hidden: false;
8795
+ readonly helpOption: true;
8796
+ readonly helpCommand: false;
8797
+ readonly usage: "[options]";
8798
+ readonly helpText: readonly [];
8799
+ readonly arguments: readonly [];
8800
+ readonly options: readonly [{
8801
+ readonly flags: "--company <slug>";
8802
+ readonly description: "Company";
8803
+ readonly hidden: false;
8804
+ }, {
8805
+ readonly flags: "--outpost <name|id>";
8806
+ readonly description: "Company Outpost";
8807
+ readonly hidden: false;
8808
+ }, {
8809
+ readonly flags: "--json";
8810
+ readonly description: "Emit JSON";
8811
+ readonly hidden: false;
8812
+ }];
8813
+ readonly subcommands: readonly [];
8814
+ }, {
8815
+ readonly name: "grant";
8816
+ readonly description: "Approve a member for a company Outpost. This gives them full control of it, including root";
8817
+ readonly aliases: readonly [];
8818
+ readonly hidden: false;
8819
+ readonly helpOption: true;
8820
+ readonly helpCommand: false;
8821
+ readonly usage: "[options]";
8822
+ readonly helpText: readonly [];
8823
+ readonly arguments: readonly [];
8824
+ readonly options: readonly [{
8825
+ readonly flags: "--company <slug>";
8826
+ readonly description: "Company";
8827
+ readonly hidden: false;
8828
+ }, {
8829
+ readonly flags: "--outpost <name|id>";
8830
+ readonly description: "Company Outpost";
8831
+ readonly hidden: false;
8832
+ }, {
8833
+ readonly flags: "--person <prs_id>";
8834
+ readonly description: "The member's person id";
8835
+ readonly hidden: false;
8836
+ }, {
8837
+ readonly flags: "--yes";
8838
+ readonly description: "Approve without asking";
8839
+ readonly hidden: false;
8840
+ }, {
8841
+ readonly flags: "--json";
8842
+ readonly description: "Emit one JSON object";
8843
+ readonly hidden: false;
8844
+ }];
8845
+ readonly subcommands: readonly [];
8846
+ }, {
8847
+ readonly name: "revoke";
8848
+ readonly description: "End a member's access to a company Outpost and close their open terminals";
8849
+ readonly aliases: readonly [];
8850
+ readonly hidden: false;
8851
+ readonly helpOption: true;
8852
+ readonly helpCommand: false;
8853
+ readonly usage: "[options]";
8854
+ readonly helpText: readonly [];
8855
+ readonly arguments: readonly [];
8856
+ readonly options: readonly [{
8857
+ readonly flags: "--company <slug>";
8858
+ readonly description: "Company";
8859
+ readonly hidden: false;
8860
+ }, {
8861
+ readonly flags: "--outpost <name|id>";
8862
+ readonly description: "Company Outpost";
8863
+ readonly hidden: false;
8864
+ }, {
8865
+ readonly flags: "--person <prs_id>";
8866
+ readonly description: "The member's person id";
8867
+ readonly hidden: false;
8868
+ }, {
8869
+ readonly flags: "--json";
8870
+ readonly description: "Emit one JSON object";
8871
+ readonly hidden: false;
8872
+ }];
8873
+ readonly subcommands: readonly [];
8874
+ }];
8647
8875
  }, {
8648
8876
  readonly name: "list";
8649
8877
  readonly description: "List every Outpost you own, or a company's Outposts with --company";
@@ -9003,7 +9231,7 @@ export declare const COMMAND_CATALOG: readonly [{
9003
9231
  readonly hidden: false;
9004
9232
  }, {
9005
9233
  readonly flags: "--company <slug>";
9006
- readonly description: "Run on this company's Outpost (company owners and admins)";
9234
+ readonly description: "Run on this company's Outpost (owners, admins, and members approved for it; others: hq outposts request-access)";
9007
9235
  readonly hidden: false;
9008
9236
  }, {
9009
9237
  readonly flags: "--outpost <name|id>";
@@ -9055,7 +9283,7 @@ export declare const COMMAND_CATALOG: readonly [{
9055
9283
  readonly hidden: false;
9056
9284
  }, {
9057
9285
  readonly flags: "--company <slug>";
9058
- readonly description: "Run on this company's Outpost (company owners and admins)";
9286
+ readonly description: "Run on this company's Outpost (owners, admins, and members approved for it; others: hq outposts request-access)";
9059
9287
  readonly hidden: false;
9060
9288
  }, {
9061
9289
  readonly flags: "--outpost <name|id>";
@@ -9088,7 +9316,7 @@ export declare const COMMAND_CATALOG: readonly [{
9088
9316
  readonly hidden: false;
9089
9317
  }, {
9090
9318
  readonly flags: "--company <slug>";
9091
- readonly description: "Run on this company's Outpost (company owners and admins)";
9319
+ readonly description: "Run on this company's Outpost (owners, admins, and members approved for it; others: hq outposts request-access)";
9092
9320
  readonly hidden: false;
9093
9321
  }, {
9094
9322
  readonly flags: "--outpost <name|id>";
@@ -9128,7 +9356,7 @@ export declare const COMMAND_CATALOG: readonly [{
9128
9356
  readonly hidden: false;
9129
9357
  }, {
9130
9358
  readonly flags: "--company <slug>";
9131
- readonly description: "Run on this company's Outpost (company owners and admins)";
9359
+ readonly description: "Run on this company's Outpost (owners, admins, and members approved for it; others: hq outposts request-access)";
9132
9360
  readonly hidden: false;
9133
9361
  }, {
9134
9362
  readonly flags: "--outpost <name|id>";
@@ -9195,7 +9423,7 @@ export declare const COMMAND_CATALOG: readonly [{
9195
9423
  readonly hidden: false;
9196
9424
  }, {
9197
9425
  readonly flags: "--company <slug>";
9198
- readonly description: "Run on this company's Outpost (company owners and admins)";
9426
+ readonly description: "Run on this company's Outpost (owners, admins, and members approved for it; others: hq outposts request-access)";
9199
9427
  readonly hidden: false;
9200
9428
  }, {
9201
9429
  readonly flags: "--outpost <name|id>";