@indigoai-us/hq-cli 5.345.250 → 5.345.252
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 +214 -0
- package/assets/scaffold/core/scripts/hq-session.sh +9 -0
- package/contracts/host-canary-release.json +9 -3
- package/dist/command-catalog.generated.d.ts +316 -2
- package/dist/command-catalog.generated.js +389 -2
- package/dist/commands/bot.js +12 -3
- package/dist/commands/core-bucket-c-work-mesh-offer-native.js +1 -1
- package/dist/commands/core-hq-session-binding.d.ts +140 -0
- package/dist/commands/core-hq-session-binding.js +363 -0
- package/dist/commands/core-hq-session-native.d.ts +23 -0
- package/dist/commands/core-hq-session-native.js +59 -9
- package/dist/commands/core-stop-autosave.js +1 -1
- package/dist/commands/core.js +10 -0
- package/dist/commands/doctor.d.ts +5 -1
- package/dist/commands/doctor.js +42 -5
- package/dist/commands/files.js +1 -1
- package/dist/commands/install-global.js +4 -2
- package/dist/commands/lanes.d.ts +2 -0
- package/dist/commands/lanes.js +9 -4
- package/dist/commands/logout.js +4 -0
- package/dist/commands/ontology-graph.d.ts +11 -2
- package/dist/commands/ontology-graph.js +130 -4
- package/dist/commands/report.js +35 -2
- package/dist/commands/sources.js +26 -8
- package/dist/commands/storage-gate.js +1 -1
- package/dist/commands/vault-retention-flag.js +2 -1
- package/dist/commands/whoami.js +1 -1
- package/dist/hq-cloud-sync-runner/bin/sync-runner.js +238 -221
- package/dist/hq-cloud-sync-runner/package.json +1 -1
- package/dist/index.js +3 -1
- package/dist/lib/agent-kit/inbox-poll-backoff-flag.js +1 -1
- package/dist/lib/agent-kit/mcp/tools.js +48 -0
- package/dist/lib/bot/fleet-bots-update-pass.js +1 -1
- package/dist/lib/bot/fleet-cron.d.ts +37 -0
- package/dist/lib/bot/fleet-cron.js +59 -12
- package/dist/lib/bot/fleet-local.d.ts +18 -0
- package/dist/lib/bot/fleet-local.js +51 -5
- package/dist/lib/bot/inbox-poll-backoff-flag.js +1 -1
- package/dist/lib/bot/signals-engine-flag.d.ts +1 -1
- package/dist/lib/bot/signals-engine-flag.js +1 -1
- package/dist/lib/cli-invite-nudge.js +1 -1
- package/dist/lib/client-version.d.ts +2 -0
- package/dist/lib/client-version.js +24 -0
- package/dist/lib/company-flag-gate.d.ts +30 -0
- package/dist/lib/company-flag-gate.js +104 -0
- package/dist/lib/core-utils/hook-timeout-debug-context-flag.js +1 -1
- package/dist/lib/daemon/flag.js +2 -1
- package/dist/lib/daemon/legacy-journal-gate.js +3 -1
- package/dist/lib/daemon/shared-flag-reads.js +1 -1
- package/dist/lib/doctor/checks/host-core.js +22 -4
- package/dist/lib/doctor/checks/jq.d.ts +27 -6
- package/dist/lib/doctor/checks/jq.js +46 -8
- package/dist/lib/doctor/client-health-reason-codes-flag.js +1 -1
- package/dist/lib/doctor/fix/refresh-sync-handoff.d.ts +1 -1
- package/dist/lib/doctor/fix/refresh-sync-handoff.js +1 -1
- package/dist/lib/flag-client-gate-headers.d.ts +38 -0
- package/dist/lib/flag-client-gate-headers.js +62 -0
- package/dist/lib/flag-client-headers.d.ts +15 -0
- package/dist/lib/flag-client-headers.js +25 -0
- package/dist/lib/flag-registry-worker-source.generated.d.ts +1 -1
- package/dist/lib/flag-registry-worker-source.generated.js +1 -1
- package/dist/lib/flag-registry-worker.js +35 -0
- package/dist/lib/flag-registry.d.ts +1 -20
- package/dist/lib/flag-registry.js +5 -81
- package/dist/lib/hook-engine/adapter-core-pin.d.ts +29 -0
- package/dist/lib/hook-engine/adapter-core-pin.js +29 -0
- package/dist/lib/hook-engine/coverage.d.ts +68 -8
- package/dist/lib/hook-engine/coverage.js +167 -25
- package/dist/lib/hook-engine/native-stop-compatibility.json +9 -4
- package/dist/lib/hook-engine/reconcile.js +3 -2
- package/dist/lib/hot-channels/graph-context.d.ts +26 -1
- package/dist/lib/hot-channels/graph-context.js +76 -9
- package/dist/lib/hot-channels/prompts/signals-pass.md +20 -0
- package/dist/lib/hot-channels/run.d.ts +1 -0
- package/dist/lib/hot-channels/signal-changes.d.ts +228 -0
- package/dist/lib/hot-channels/signal-changes.js +683 -0
- package/dist/lib/hot-channels/signals-pass.d.ts +24 -0
- package/dist/lib/hot-channels/signals-pass.js +240 -15
- package/dist/lib/lanes/outpost-worktree-pruner-flag.d.ts +1 -1
- package/dist/lib/lanes/outpost-worktree-pruner-flag.js +1 -1
- package/dist/lib/lanes/registry-flag.js +2 -1
- package/dist/lib/lanes/spawn.js +11 -1
- package/dist/lib/mesh/live/binding-intent.d.ts +61 -0
- package/dist/lib/mesh/live/binding-intent.js +201 -0
- package/dist/lib/mesh/live/binding-receipt.d.ts +157 -0
- package/dist/lib/mesh/live/binding-receipt.js +365 -0
- package/dist/lib/mesh/live/company-flag-refresh.js +1 -1
- package/dist/lib/mesh/live/daemon/doctor-telemetry.d.ts +39 -0
- package/dist/lib/mesh/live/daemon/doctor-telemetry.js +58 -0
- package/dist/lib/mesh/live/daemon/install.js +2 -1
- package/dist/lib/mesh/live/daemon/presence.js +9 -0
- package/dist/lib/mesh/live/daemon/run.d.ts +3 -0
- package/dist/lib/mesh/live/daemon/run.js +33 -1
- package/dist/lib/ontology-graph/lineage/index.d.ts +401 -0
- package/dist/lib/ontology-graph/lineage/index.js +1027 -0
- package/dist/lib/ontology-graph/model/files.d.ts +4 -0
- package/dist/lib/ontology-graph/model/files.js +23 -0
- package/dist/lib/ontology-graph/model/index.d.ts +65 -1
- package/dist/lib/ontology-graph/model/index.js +154 -18
- package/dist/lib/ontology-graph/model/pass-tasks.d.ts +84 -1
- package/dist/lib/ontology-graph/model/pass-tasks.js +173 -4
- package/dist/lib/ontology-graph/model/pass.d.ts +11 -0
- package/dist/lib/ontology-graph/model/pass.js +17 -10
- package/dist/lib/ontology-graph/model/pending-items.d.ts +39 -0
- package/dist/lib/ontology-graph/model/pending-items.js +136 -0
- package/dist/lib/ontology-graph/model/step.d.ts +47 -2
- package/dist/lib/ontology-graph/model/step.js +202 -36
- package/dist/lib/ontology-graph/model/tasks.d.ts +28 -4
- package/dist/lib/ontology-graph/model/tasks.js +48 -15
- package/dist/lib/ontology-graph/pages/render.d.ts +1 -1
- package/dist/lib/ontology-graph/pages/render.js +4 -3
- package/dist/lib/ontology-graph/read/brief.d.ts +13 -3
- package/dist/lib/ontology-graph/read/brief.js +349 -67
- package/dist/lib/ontology-graph/read/index.d.ts +5 -1
- package/dist/lib/ontology-graph/read/index.js +174 -30
- package/dist/lib/ontology-graph/read/lineage.d.ts +101 -0
- package/dist/lib/ontology-graph/read/lineage.js +262 -0
- package/dist/lib/ontology-graph/read/reader-setting.d.ts +2 -0
- package/dist/lib/ontology-graph/read/reader-setting.js +4 -1
- package/dist/lib/ontology-graph/remodel/index.d.ts +174 -0
- package/dist/lib/ontology-graph/remodel/index.js +450 -0
- package/dist/lib/ontology-graph/replay/buffered-store.js +17 -0
- package/dist/lib/ontology-graph/replay/engine.d.ts +32 -1
- package/dist/lib/ontology-graph/replay/engine.js +213 -8
- package/dist/lib/ontology-graph/replay/extractors.d.ts +26 -0
- package/dist/lib/ontology-graph/replay/extractors.js +25 -1
- package/dist/lib/ontology-graph/replay/index.d.ts +2 -0
- package/dist/lib/ontology-graph/replay/index.js +120 -8
- package/dist/lib/ontology-graph/replay/signal-changes.d.ts +118 -0
- package/dist/lib/ontology-graph/replay/signal-changes.js +687 -0
- package/dist/lib/ontology-graph/schema/authority.d.ts +14 -5
- package/dist/lib/ontology-graph/schema/authority.js +13 -3
- package/dist/lib/ontology-graph/schema/decision-status.d.ts +18 -0
- package/dist/lib/ontology-graph/schema/decision-status.js +20 -0
- package/dist/lib/ontology-graph/schema/index.d.ts +2 -1
- package/dist/lib/ontology-graph/schema/index.js +2 -1
- package/dist/lib/ontology-graph/setup/index.d.ts +88 -0
- package/dist/lib/ontology-graph/setup/index.js +499 -0
- package/dist/lib/ontology-graph/types.d.ts +21 -0
- package/dist/lib/ontology-graph/types.js +5 -0
- package/dist/lib/search-index/index.d.ts +33 -1
- package/dist/lib/search-index/index.js +180 -25
- package/dist/lib/search-index/qmd-exit-diagnostics.d.ts +7 -0
- package/dist/lib/search-index/qmd-exit-diagnostics.js +25 -1
- package/dist/lib/signals/adapters-catalog.js +1 -1
- package/dist/lib/signals/failure-alert.js +4 -5
- package/dist/lib/signals/steps/adapters.js +3 -0
- package/dist/lib/sync-core/engine-holds.d.ts +1 -0
- package/dist/lib/sync-core/engine-holds.js +26 -0
- package/dist/lib/sync-core/engine-home.d.ts +3 -0
- package/dist/lib/sync-core/engine-home.js +41 -1
- package/dist/lib/sync-core/flag.js +2 -1
- package/dist/lib/sync-core/legacy-journal-export-child.js +5 -3
- package/dist/lib/sync-core/legacy-journal-export.d.ts +23 -4
- package/dist/lib/sync-core/legacy-journal-export.js +120 -55
- package/dist/lib/sync-core/reconcile.d.ts +2 -1
- package/dist/lib/sync-core/reconcile.js +30 -5
- package/dist/lib/sync-invalid-entity-warning.js +2 -1
- package/dist/lib/windows/install-followup.d.ts +41 -0
- package/dist/lib/windows/install-followup.js +87 -0
- package/dist/lib/windows/jq.d.ts +59 -0
- package/dist/lib/windows/jq.js +154 -3
- package/dist/lib/windows/user-path.d.ts +5 -0
- package/dist/lib/windows/user-path.js +1 -1
- package/dist/lib/work-context/auto-bind.d.ts +12 -0
- package/dist/lib/work-context/auto-bind.js +49 -3
- package/dist/lib/work-context/organize.d.ts +4 -2
- package/dist/lib/work-context/organize.js +18 -8
- package/dist/lib/work-context/reconcile.js +16 -1
- package/dist/main.js +12 -1
- package/dist/utils/client-health-contract.d.ts +30 -0
- package/dist/utils/client-health-contract.js +111 -0
- package/dist/utils/client-health.d.ts +5 -2
- package/dist/utils/client-health.js +74 -5
- package/dist/utils/exclusive-lock.d.ts +5 -1
- package/dist/utils/exclusive-lock.js +9 -2
- package/dist/utils/host-registration.d.ts +7 -0
- package/dist/utils/host-registration.js +10 -1
- package/dist/utils/pid.d.ts +31 -0
- package/dist/utils/pid.js +65 -0
- package/dist/utils/resident-package-preload.js +12 -4
- package/dist/utils/sentry-fingerprint.js +3 -0
- package/dist/utils/sync-person.d.ts +15 -0
- package/dist/utils/sync-person.js +74 -0
- package/package.json +8 -8
- package/scripts/install-hook-engine.mjs +5 -3
|
@@ -5693,6 +5693,124 @@ export declare const COMMAND_CATALOG: readonly [{
|
|
|
5693
5693
|
readonly arguments: readonly [];
|
|
5694
5694
|
readonly options: readonly [];
|
|
5695
5695
|
readonly subcommands: readonly [{
|
|
5696
|
+
readonly name: "status";
|
|
5697
|
+
readonly description: "Show the reader, the model, the graph folder, its counts, pending model work, the last update and the brief (reads only)";
|
|
5698
|
+
readonly aliases: readonly [];
|
|
5699
|
+
readonly hidden: false;
|
|
5700
|
+
readonly helpOption: true;
|
|
5701
|
+
readonly helpCommand: false;
|
|
5702
|
+
readonly usage: "[options]";
|
|
5703
|
+
readonly helpText: readonly [];
|
|
5704
|
+
readonly arguments: readonly [];
|
|
5705
|
+
readonly options: readonly [{
|
|
5706
|
+
readonly flags: "--company <slug>";
|
|
5707
|
+
readonly description: "company whose graph to use";
|
|
5708
|
+
readonly hidden: false;
|
|
5709
|
+
}, {
|
|
5710
|
+
readonly flags: "--hq-root <path>";
|
|
5711
|
+
readonly description: "HQ installation to operate on";
|
|
5712
|
+
readonly hidden: false;
|
|
5713
|
+
}, {
|
|
5714
|
+
readonly flags: "--graph-root <path>";
|
|
5715
|
+
readonly description: "graph folder to use instead of companies/<slug>/.hq/ontology-graph (env HQ_ONTOLOGY_GRAPH_ROOT)";
|
|
5716
|
+
readonly hidden: false;
|
|
5717
|
+
}, {
|
|
5718
|
+
readonly flags: "--member <person uid>";
|
|
5719
|
+
readonly description: "member the graph is built or read for (env HQ_ONTOLOGY_MEMBER)";
|
|
5720
|
+
readonly hidden: false;
|
|
5721
|
+
}, {
|
|
5722
|
+
readonly flags: "--audience-key <key>";
|
|
5723
|
+
readonly description: "audience key the member holds; repeat for more (env HQ_ONTOLOGY_AUDIENCE_KEYS, comma-separated)";
|
|
5724
|
+
readonly hidden: false;
|
|
5725
|
+
}, {
|
|
5726
|
+
readonly flags: "--json";
|
|
5727
|
+
readonly description: "print JSON";
|
|
5728
|
+
readonly hidden: false;
|
|
5729
|
+
}];
|
|
5730
|
+
readonly subcommands: readonly [];
|
|
5731
|
+
}, {
|
|
5732
|
+
readonly name: "reader";
|
|
5733
|
+
readonly description: "Show or set which ontology this machine's sessions read for the company: graph, or entities (the old files)";
|
|
5734
|
+
readonly aliases: readonly [];
|
|
5735
|
+
readonly hidden: false;
|
|
5736
|
+
readonly helpOption: true;
|
|
5737
|
+
readonly helpCommand: false;
|
|
5738
|
+
readonly usage: "[options] [reader]";
|
|
5739
|
+
readonly helpText: readonly [];
|
|
5740
|
+
readonly arguments: readonly [{
|
|
5741
|
+
readonly name: "reader";
|
|
5742
|
+
readonly required: false;
|
|
5743
|
+
readonly variadic: false;
|
|
5744
|
+
readonly description: "graph or entities; leave out to show the setting";
|
|
5745
|
+
}];
|
|
5746
|
+
readonly options: readonly [{
|
|
5747
|
+
readonly flags: "--company <slug>";
|
|
5748
|
+
readonly description: "company whose graph to use";
|
|
5749
|
+
readonly hidden: false;
|
|
5750
|
+
}, {
|
|
5751
|
+
readonly flags: "--hq-root <path>";
|
|
5752
|
+
readonly description: "HQ installation to operate on";
|
|
5753
|
+
readonly hidden: false;
|
|
5754
|
+
}, {
|
|
5755
|
+
readonly flags: "--graph-root <path>";
|
|
5756
|
+
readonly description: "graph folder to use instead of companies/<slug>/.hq/ontology-graph (env HQ_ONTOLOGY_GRAPH_ROOT)";
|
|
5757
|
+
readonly hidden: false;
|
|
5758
|
+
}, {
|
|
5759
|
+
readonly flags: "--member <person uid>";
|
|
5760
|
+
readonly description: "member the graph is built or read for (env HQ_ONTOLOGY_MEMBER)";
|
|
5761
|
+
readonly hidden: false;
|
|
5762
|
+
}, {
|
|
5763
|
+
readonly flags: "--audience-key <key>";
|
|
5764
|
+
readonly description: "audience key the member holds; repeat for more (env HQ_ONTOLOGY_AUDIENCE_KEYS, comma-separated)";
|
|
5765
|
+
readonly hidden: false;
|
|
5766
|
+
}, {
|
|
5767
|
+
readonly flags: "--json";
|
|
5768
|
+
readonly description: "print JSON";
|
|
5769
|
+
readonly hidden: false;
|
|
5770
|
+
}];
|
|
5771
|
+
readonly subcommands: readonly [];
|
|
5772
|
+
}, {
|
|
5773
|
+
readonly name: "model";
|
|
5774
|
+
readonly description: "Show or set the model the graph's model step uses for the company on this machine (per machine; the setting does not sync)";
|
|
5775
|
+
readonly aliases: readonly [];
|
|
5776
|
+
readonly hidden: false;
|
|
5777
|
+
readonly helpOption: true;
|
|
5778
|
+
readonly helpCommand: false;
|
|
5779
|
+
readonly usage: "[options] [model]";
|
|
5780
|
+
readonly helpText: readonly [];
|
|
5781
|
+
readonly arguments: readonly [{
|
|
5782
|
+
readonly name: "model";
|
|
5783
|
+
readonly required: false;
|
|
5784
|
+
readonly variadic: false;
|
|
5785
|
+
readonly description: "model name, for example haiku, sonnet or opus; leave out to show the setting";
|
|
5786
|
+
}];
|
|
5787
|
+
readonly options: readonly [{
|
|
5788
|
+
readonly flags: "--company <slug>";
|
|
5789
|
+
readonly description: "company whose graph to use";
|
|
5790
|
+
readonly hidden: false;
|
|
5791
|
+
}, {
|
|
5792
|
+
readonly flags: "--hq-root <path>";
|
|
5793
|
+
readonly description: "HQ installation to operate on";
|
|
5794
|
+
readonly hidden: false;
|
|
5795
|
+
}, {
|
|
5796
|
+
readonly flags: "--graph-root <path>";
|
|
5797
|
+
readonly description: "graph folder to use instead of companies/<slug>/.hq/ontology-graph (env HQ_ONTOLOGY_GRAPH_ROOT)";
|
|
5798
|
+
readonly hidden: false;
|
|
5799
|
+
}, {
|
|
5800
|
+
readonly flags: "--member <person uid>";
|
|
5801
|
+
readonly description: "member the graph is built or read for (env HQ_ONTOLOGY_MEMBER)";
|
|
5802
|
+
readonly hidden: false;
|
|
5803
|
+
}, {
|
|
5804
|
+
readonly flags: "--audience-key <key>";
|
|
5805
|
+
readonly description: "audience key the member holds; repeat for more (env HQ_ONTOLOGY_AUDIENCE_KEYS, comma-separated)";
|
|
5806
|
+
readonly hidden: false;
|
|
5807
|
+
}, {
|
|
5808
|
+
readonly flags: "--json";
|
|
5809
|
+
readonly description: "print JSON";
|
|
5810
|
+
readonly hidden: false;
|
|
5811
|
+
}];
|
|
5812
|
+
readonly subcommands: readonly [];
|
|
5813
|
+
}, {
|
|
5696
5814
|
readonly name: "rebuild";
|
|
5697
5815
|
readonly description: "Rebuild the graph: import the old entity files, then replay the vault day by day";
|
|
5698
5816
|
readonly aliases: readonly [];
|
|
@@ -5742,6 +5860,14 @@ export declare const COMMAND_CATALOG: readonly [{
|
|
|
5742
5860
|
readonly flags: "--budget-tokens <n>";
|
|
5743
5861
|
readonly description: "stop model calls after this many input tokens; 0 runs rules only";
|
|
5744
5862
|
readonly hidden: false;
|
|
5863
|
+
}, {
|
|
5864
|
+
readonly flags: "--max-input-tokens <n>";
|
|
5865
|
+
readonly description: "model input tokens allowed per day for this run, counting the day's earlier runs (default 150000)";
|
|
5866
|
+
readonly hidden: false;
|
|
5867
|
+
}, {
|
|
5868
|
+
readonly flags: "--max-output-tokens <n>";
|
|
5869
|
+
readonly description: "model output tokens allowed per day for this run (default 20000)";
|
|
5870
|
+
readonly hidden: false;
|
|
5745
5871
|
}, {
|
|
5746
5872
|
readonly flags: "--no-model";
|
|
5747
5873
|
readonly description: "rules only: make no model call and leave model work pending";
|
|
@@ -5810,12 +5936,196 @@ export declare const COMMAND_CATALOG: readonly [{
|
|
|
5810
5936
|
readonly flags: "--max-output-tokens <n>";
|
|
5811
5937
|
readonly description: "model output tokens allowed per day for this run (default 20000)";
|
|
5812
5938
|
readonly hidden: false;
|
|
5939
|
+
}, {
|
|
5940
|
+
readonly flags: "--follow-up";
|
|
5941
|
+
readonly description: "also send model work an earlier run left pending (profiles, retyped links, decisions, summaries), within the daily cap";
|
|
5942
|
+
readonly hidden: false;
|
|
5813
5943
|
}, {
|
|
5814
5944
|
readonly flags: "--dry-run";
|
|
5815
5945
|
readonly description: "read and count, write nothing";
|
|
5816
5946
|
readonly hidden: false;
|
|
5817
5947
|
}];
|
|
5818
5948
|
readonly subcommands: readonly [];
|
|
5949
|
+
}, {
|
|
5950
|
+
readonly name: "remodel";
|
|
5951
|
+
readonly description: "Ask again, on the model in use, what another model wrote, and close that model's rows (history kept)";
|
|
5952
|
+
readonly aliases: readonly [];
|
|
5953
|
+
readonly hidden: false;
|
|
5954
|
+
readonly helpOption: true;
|
|
5955
|
+
readonly helpCommand: false;
|
|
5956
|
+
readonly usage: "[options]";
|
|
5957
|
+
readonly helpText: readonly [];
|
|
5958
|
+
readonly arguments: readonly [];
|
|
5959
|
+
readonly options: readonly [{
|
|
5960
|
+
readonly flags: "--company <slug>";
|
|
5961
|
+
readonly description: "company whose graph to use";
|
|
5962
|
+
readonly hidden: false;
|
|
5963
|
+
}, {
|
|
5964
|
+
readonly flags: "--hq-root <path>";
|
|
5965
|
+
readonly description: "HQ installation to operate on";
|
|
5966
|
+
readonly hidden: false;
|
|
5967
|
+
}, {
|
|
5968
|
+
readonly flags: "--graph-root <path>";
|
|
5969
|
+
readonly description: "graph folder to use instead of companies/<slug>/.hq/ontology-graph (env HQ_ONTOLOGY_GRAPH_ROOT)";
|
|
5970
|
+
readonly hidden: false;
|
|
5971
|
+
}, {
|
|
5972
|
+
readonly flags: "--member <person uid>";
|
|
5973
|
+
readonly description: "member the graph is built or read for (env HQ_ONTOLOGY_MEMBER)";
|
|
5974
|
+
readonly hidden: false;
|
|
5975
|
+
}, {
|
|
5976
|
+
readonly flags: "--audience-key <key>";
|
|
5977
|
+
readonly description: "audience key the member holds; repeat for more (env HQ_ONTOLOGY_AUDIENCE_KEYS, comma-separated)";
|
|
5978
|
+
readonly hidden: false;
|
|
5979
|
+
}, {
|
|
5980
|
+
readonly flags: "--json";
|
|
5981
|
+
readonly description: "print JSON";
|
|
5982
|
+
readonly hidden: false;
|
|
5983
|
+
}, {
|
|
5984
|
+
readonly flags: "--from <model>";
|
|
5985
|
+
readonly description: "model whose rows to replace, for example haiku";
|
|
5986
|
+
readonly hidden: false;
|
|
5987
|
+
}, {
|
|
5988
|
+
readonly flags: "--kinds <list>";
|
|
5989
|
+
readonly description: "ask again only what wrote these fact fields and relationship verbs, comma-separated (role_title,affiliation,works_at)";
|
|
5990
|
+
readonly hidden: false;
|
|
5991
|
+
}, {
|
|
5992
|
+
readonly flags: "--budget-tokens <n>";
|
|
5993
|
+
readonly description: "stop model calls after this many input tokens";
|
|
5994
|
+
readonly hidden: false;
|
|
5995
|
+
}, {
|
|
5996
|
+
readonly flags: "--max-input-tokens <n>";
|
|
5997
|
+
readonly description: "model input tokens allowed per day for this run, counting the day's earlier runs (default 150000)";
|
|
5998
|
+
readonly hidden: false;
|
|
5999
|
+
}, {
|
|
6000
|
+
readonly flags: "--max-output-tokens <n>";
|
|
6001
|
+
readonly description: "model output tokens allowed per day for this run (default 20000)";
|
|
6002
|
+
readonly hidden: false;
|
|
6003
|
+
}, {
|
|
6004
|
+
readonly flags: "--dry-run";
|
|
6005
|
+
readonly description: "count the rows and estimate the tokens; call no model and write nothing";
|
|
6006
|
+
readonly hidden: false;
|
|
6007
|
+
}];
|
|
6008
|
+
readonly subcommands: readonly [];
|
|
6009
|
+
}, {
|
|
6010
|
+
readonly name: "lineage";
|
|
6011
|
+
readonly description: "Decision lineage: which decision replaced an earlier one";
|
|
6012
|
+
readonly aliases: readonly [];
|
|
6013
|
+
readonly hidden: false;
|
|
6014
|
+
readonly helpOption: true;
|
|
6015
|
+
readonly helpCommand: true;
|
|
6016
|
+
readonly usage: "[options] [command]";
|
|
6017
|
+
readonly helpText: readonly [];
|
|
6018
|
+
readonly arguments: readonly [];
|
|
6019
|
+
readonly options: readonly [];
|
|
6020
|
+
readonly subcommands: readonly [{
|
|
6021
|
+
readonly name: "backfill";
|
|
6022
|
+
readonly description: "Ask the model, day by day from the oldest, whether each decision with no stated change replaces or reverses an earlier open one, and write a link for each that holds (model authority, no status row; each written link is listed in .state/lineage-backfill.jsonl, and `hq ontology lineage undo` removes exactly those). A day with a decision that got no usable reply is not written: the next run sends it again, and after 3 runs it is recorded as unanswered. Exit code 2 when the walk stopped early, 3 when it finished with a decision unanswered in this run. Runs whenever it is invoked, whatever model_tasks says";
|
|
6023
|
+
readonly aliases: readonly [];
|
|
6024
|
+
readonly hidden: false;
|
|
6025
|
+
readonly helpOption: true;
|
|
6026
|
+
readonly helpCommand: false;
|
|
6027
|
+
readonly usage: "[options]";
|
|
6028
|
+
readonly helpText: readonly [];
|
|
6029
|
+
readonly arguments: readonly [];
|
|
6030
|
+
readonly options: readonly [{
|
|
6031
|
+
readonly flags: "--company <slug>";
|
|
6032
|
+
readonly description: "company whose graph to use";
|
|
6033
|
+
readonly hidden: false;
|
|
6034
|
+
}, {
|
|
6035
|
+
readonly flags: "--hq-root <path>";
|
|
6036
|
+
readonly description: "HQ installation to operate on";
|
|
6037
|
+
readonly hidden: false;
|
|
6038
|
+
}, {
|
|
6039
|
+
readonly flags: "--graph-root <path>";
|
|
6040
|
+
readonly description: "graph folder to use instead of companies/<slug>/.hq/ontology-graph (env HQ_ONTOLOGY_GRAPH_ROOT)";
|
|
6041
|
+
readonly hidden: false;
|
|
6042
|
+
}, {
|
|
6043
|
+
readonly flags: "--member <person uid>";
|
|
6044
|
+
readonly description: "member the graph is built or read for (env HQ_ONTOLOGY_MEMBER)";
|
|
6045
|
+
readonly hidden: false;
|
|
6046
|
+
}, {
|
|
6047
|
+
readonly flags: "--audience-key <key>";
|
|
6048
|
+
readonly description: "audience key the member holds; repeat for more (env HQ_ONTOLOGY_AUDIENCE_KEYS, comma-separated)";
|
|
6049
|
+
readonly hidden: false;
|
|
6050
|
+
}, {
|
|
6051
|
+
readonly flags: "--json";
|
|
6052
|
+
readonly description: "print JSON";
|
|
6053
|
+
readonly hidden: false;
|
|
6054
|
+
}, {
|
|
6055
|
+
readonly flags: "--from <date>";
|
|
6056
|
+
readonly description: "first decision day to ask about (YYYY-MM-DD)";
|
|
6057
|
+
readonly hidden: false;
|
|
6058
|
+
}, {
|
|
6059
|
+
readonly flags: "--to <date>";
|
|
6060
|
+
readonly description: "last decision day to ask about (YYYY-MM-DD)";
|
|
6061
|
+
readonly hidden: false;
|
|
6062
|
+
}, {
|
|
6063
|
+
readonly flags: "--restart";
|
|
6064
|
+
readonly description: "forget what earlier runs settled, their attempt counts and their unanswered decisions, and walk from the first day; answers already given cost nothing";
|
|
6065
|
+
readonly hidden: false;
|
|
6066
|
+
}, {
|
|
6067
|
+
readonly flags: "--retry-unanswered";
|
|
6068
|
+
readonly description: "send the decisions earlier runs recorded as unanswered again";
|
|
6069
|
+
readonly hidden: false;
|
|
6070
|
+
}, {
|
|
6071
|
+
readonly flags: "--allow-unanswered";
|
|
6072
|
+
readonly description: "record a decision with no usable reply as unanswered at once instead of holding its day for the next run, and do not exit non-zero for it";
|
|
6073
|
+
readonly hidden: false;
|
|
6074
|
+
}, {
|
|
6075
|
+
readonly flags: "--max-input-tokens <n>";
|
|
6076
|
+
readonly description: "model input tokens allowed per day for this run, counting the day's earlier runs (default 150000)";
|
|
6077
|
+
readonly hidden: false;
|
|
6078
|
+
}, {
|
|
6079
|
+
readonly flags: "--max-output-tokens <n>";
|
|
6080
|
+
readonly description: "model output tokens allowed per day for this run (default 20000)";
|
|
6081
|
+
readonly hidden: false;
|
|
6082
|
+
}, {
|
|
6083
|
+
readonly flags: "--dry-run";
|
|
6084
|
+
readonly description: "count the decisions and batches and estimate the tokens and the list-price cost as ranges, with the flags that let the estimate through the daily cap; call no model and write nothing";
|
|
6085
|
+
readonly hidden: false;
|
|
6086
|
+
}];
|
|
6087
|
+
readonly subcommands: readonly [];
|
|
6088
|
+
}, {
|
|
6089
|
+
readonly name: "undo";
|
|
6090
|
+
readonly description: "Take back what `hq ontology lineage backfill` wrote: remove the rows .state/lineage-backfill.jsonl lists (each link's edge and its inverse) and clear the walk's state, so a later backfill starts from the first day. A row is removed only when the graph still holds it as the backfill wrote it; a row changed since is left and counted. No other row is touched, and no model is called";
|
|
6091
|
+
readonly aliases: readonly [];
|
|
6092
|
+
readonly hidden: false;
|
|
6093
|
+
readonly helpOption: true;
|
|
6094
|
+
readonly helpCommand: false;
|
|
6095
|
+
readonly usage: "[options]";
|
|
6096
|
+
readonly helpText: readonly [];
|
|
6097
|
+
readonly arguments: readonly [];
|
|
6098
|
+
readonly options: readonly [{
|
|
6099
|
+
readonly flags: "--company <slug>";
|
|
6100
|
+
readonly description: "company whose graph to use";
|
|
6101
|
+
readonly hidden: false;
|
|
6102
|
+
}, {
|
|
6103
|
+
readonly flags: "--hq-root <path>";
|
|
6104
|
+
readonly description: "HQ installation to operate on";
|
|
6105
|
+
readonly hidden: false;
|
|
6106
|
+
}, {
|
|
6107
|
+
readonly flags: "--graph-root <path>";
|
|
6108
|
+
readonly description: "graph folder to use instead of companies/<slug>/.hq/ontology-graph (env HQ_ONTOLOGY_GRAPH_ROOT)";
|
|
6109
|
+
readonly hidden: false;
|
|
6110
|
+
}, {
|
|
6111
|
+
readonly flags: "--member <person uid>";
|
|
6112
|
+
readonly description: "member the graph is built or read for (env HQ_ONTOLOGY_MEMBER)";
|
|
6113
|
+
readonly hidden: false;
|
|
6114
|
+
}, {
|
|
6115
|
+
readonly flags: "--audience-key <key>";
|
|
6116
|
+
readonly description: "audience key the member holds; repeat for more (env HQ_ONTOLOGY_AUDIENCE_KEYS, comma-separated)";
|
|
6117
|
+
readonly hidden: false;
|
|
6118
|
+
}, {
|
|
6119
|
+
readonly flags: "--json";
|
|
6120
|
+
readonly description: "print JSON";
|
|
6121
|
+
readonly hidden: false;
|
|
6122
|
+
}, {
|
|
6123
|
+
readonly flags: "--dry-run";
|
|
6124
|
+
readonly description: "count what would be removed and left; write nothing";
|
|
6125
|
+
readonly hidden: false;
|
|
6126
|
+
}];
|
|
6127
|
+
readonly subcommands: readonly [];
|
|
6128
|
+
}];
|
|
5819
6129
|
}, {
|
|
5820
6130
|
readonly name: "lookup";
|
|
5821
6131
|
readonly description: "Find an entity by name and print its facts, each with a source and date";
|
|
@@ -6035,7 +6345,7 @@ export declare const COMMAND_CATALOG: readonly [{
|
|
|
6035
6345
|
readonly subcommands: readonly [];
|
|
6036
6346
|
}, {
|
|
6037
6347
|
readonly name: "brief";
|
|
6038
|
-
readonly description: "Write brief.md, the short
|
|
6348
|
+
readonly description: "Write brief.md, the short text every session starts with: a map of the graph and how to look things up";
|
|
6039
6349
|
readonly aliases: readonly [];
|
|
6040
6350
|
readonly hidden: false;
|
|
6041
6351
|
readonly helpOption: true;
|
|
@@ -6071,6 +6381,10 @@ export declare const COMMAND_CATALOG: readonly [{
|
|
|
6071
6381
|
readonly flags: "--stdout";
|
|
6072
6382
|
readonly description: "print the brief without writing it";
|
|
6073
6383
|
readonly hidden: false;
|
|
6384
|
+
}, {
|
|
6385
|
+
readonly flags: "--style <style>";
|
|
6386
|
+
readonly description: "map: what the graph holds, the lookup commands and names worth looking up, with no facts. full: the earlier summary with facts in it. Default: brief_style in the reader setting, else map";
|
|
6387
|
+
readonly hidden: false;
|
|
6074
6388
|
}];
|
|
6075
6389
|
readonly subcommands: readonly [];
|
|
6076
6390
|
}, {
|
|
@@ -14203,7 +14517,7 @@ export declare const COMMAND_CATALOG: readonly [{
|
|
|
14203
14517
|
readonly hidden: false;
|
|
14204
14518
|
}, {
|
|
14205
14519
|
readonly flags: "--fix-jq";
|
|
14206
|
-
readonly description: "Install the verified jq required by HQ hooks on Windows.";
|
|
14520
|
+
readonly description: "Install the verified jq required by HQ hooks on Windows, add it to your PATH, and check it.";
|
|
14207
14521
|
readonly hidden: false;
|
|
14208
14522
|
}, {
|
|
14209
14523
|
readonly flags: "--client-health-report";
|