@indigoai-us/hq-cli 5.345.251 → 5.345.253
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 +153 -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 +269 -1
- package/dist/command-catalog.generated.js +330 -1
- package/dist/command-registration-plan.d.ts +6 -0
- package/dist/command-registration-plan.js +1 -0
- package/dist/commands/bot.js +7 -2
- package/dist/commands/ci-intake.d.ts +15 -0
- package/dist/commands/ci-intake.js +252 -0
- package/dist/commands/ci-metrics.d.ts +8 -0
- package/dist/commands/ci-metrics.js +55 -0
- package/dist/commands/ci.d.ts +13 -0
- package/dist/commands/ci.js +10 -0
- 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.d.ts +62 -0
- package/dist/commands/files.js +250 -9
- package/dist/commands/install-global.js +4 -2
- package/dist/commands/logout.js +4 -0
- package/dist/commands/ontology-graph.d.ts +2 -0
- package/dist/commands/ontology-graph.js +33 -0
- package/dist/commands/report.js +35 -2
- 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 +50 -0
- package/dist/lib/bot/fleet-cron.js +173 -32
- 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/run.js +4 -3
- package/dist/lib/daemon/shared-flag-reads.js +1 -1
- package/dist/lib/delivery/migrations.d.ts +32 -1
- package/dist/lib/delivery/migrations.js +69 -8
- 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 +30 -0
- package/dist/lib/hook-engine/adapter-core-pin.js +30 -0
- package/dist/lib/hook-engine/coverage.d.ts +65 -1
- package/dist/lib/hook-engine/coverage.js +173 -8
- package/dist/lib/hook-engine/reconcile.js +3 -2
- package/dist/lib/hot-channels/prompts/signals-pass.md +20 -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 +232 -12
- 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/index.d.ts +54 -0
- package/dist/lib/ontology-graph/model/index.js +112 -0
- package/dist/lib/ontology-graph/model/pass-tasks.d.ts +75 -0
- package/dist/lib/ontology-graph/model/pass-tasks.js +166 -0
- package/dist/lib/ontology-graph/model/pass.d.ts +6 -0
- package/dist/lib/ontology-graph/model/pass.js +9 -2
- package/dist/lib/ontology-graph/model/pending-items.d.ts +8 -0
- package/dist/lib/ontology-graph/model/pending-items.js +24 -1
- package/dist/lib/ontology-graph/model/step.d.ts +1 -1
- package/dist/lib/ontology-graph/model/tasks.d.ts +11 -3
- package/dist/lib/ontology-graph/model/tasks.js +20 -7
- package/dist/lib/ontology-graph/read/brief.js +41 -6
- package/dist/lib/ontology-graph/read/index.d.ts +4 -0
- package/dist/lib/ontology-graph/read/index.js +173 -29
- 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/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 +9 -3
- 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/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 +1 -0
- package/dist/lib/ontology-graph/schema/index.js +1 -0
- package/dist/lib/ontology-graph/setup/index.js +13 -3
- 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/smart-ci/cost.d.ts +72 -0
- package/dist/lib/smart-ci/cost.js +120 -0
- package/dist/lib/smart-ci/github.d.ts +112 -0
- package/dist/lib/smart-ci/github.js +267 -0
- package/dist/lib/smart-ci/intake.d.ts +288 -0
- package/dist/lib/smart-ci/intake.js +1078 -0
- package/dist/lib/smart-ci/ledger.d.ts +218 -0
- package/dist/lib/smart-ci/ledger.js +527 -0
- package/dist/lib/smart-ci/metrics.d.ts +137 -0
- package/dist/lib/smart-ci/metrics.js +249 -0
- package/dist/lib/smart-ci/records.d.ts +265 -0
- package/dist/lib/smart-ci/records.js +281 -0
- package/dist/lib/smart-ci/reducer.d.ts +67 -0
- package/dist/lib/smart-ci/reducer.js +261 -0
- package/dist/lib/sync-core/engine-holds.d.ts +15 -0
- package/dist/lib/sync-core/engine-holds.js +104 -11
- 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/hand-back.d.ts +1 -0
- package/dist/lib/sync-core/hand-back.js +7 -2
- 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 +40 -7
- 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/package.json +10 -8
- package/scripts/install-hook-engine.mjs +5 -3
|
@@ -32,6 +32,7 @@ export const RESIDENT_PACKAGE_MODULES = {
|
|
|
32
32
|
"../commands/lanes.js",
|
|
33
33
|
"../lib/lanes/reconcile.js",
|
|
34
34
|
"../lib/flag-registry.js",
|
|
35
|
+
"../lib/company-flag-gate.js",
|
|
35
36
|
"../commands/access.js",
|
|
36
37
|
"../commands/sources.js",
|
|
37
38
|
"../lib/hot-channels/adapters/index.js",
|
|
@@ -62,6 +63,7 @@ export const RESIDENT_PACKAGE_MODULES = {
|
|
|
62
63
|
"../lib/doctor/client-health-reason-codes-flag.js",
|
|
63
64
|
"@indigoai-us/hq-flags-client",
|
|
64
65
|
"../lib/flag-registry.js",
|
|
66
|
+
"../lib/company-flag-gate.js",
|
|
65
67
|
"../utils/cognito-session.js",
|
|
66
68
|
"../lib/plan-limit-nag.js",
|
|
67
69
|
"../utils/plan-gate-error.js", "../utils/deleted-company-notice.js",
|
|
@@ -93,12 +95,12 @@ export const RESIDENT_PACKAGE_MODULES = {
|
|
|
93
95
|
],
|
|
94
96
|
"daemon-logs-follow": [],
|
|
95
97
|
"mesh-daemon": ["../sentry.js", "../lib/doctor/client-health-reason-codes-flag.js", "@indigoai-us/hq-flags-client", "../lib/plan-limit-nag.js", "../utils/plan-gate-error.js", "../utils/deleted-company-notice.js", "open", "../utils/cognito-session.js", "../lib/first-sync-next-step.js", "@indigoai-us/hq-cloud"],
|
|
96
|
-
"lanes-watch": ["../sentry.js", "../lib/doctor/client-health-reason-codes-flag.js", "@indigoai-us/hq-flags-client", "../lib/plan-limit-nag.js", "../utils/plan-gate-error.js", "../utils/deleted-company-notice.js", "open", "../utils/cognito-session.js", "../lib/first-sync-next-step.js", "@indigoai-us/hq-cloud", "../lib/lanes/reconcile.js", "../utils/local-files-overview.js", "../lib/flag-registry.js", "../utils/vault-api.js", "../commands/files-browse.js", "@aws-sdk/client-s3", "../commands/access.js", "../commands/sources.js", "../lib/hot-channels/adapters/index.js", "../lib/hot-channels/signals-pass.js", "../lib/hot-channels/signals-runtime.js", "../lib/hot-channels/signals-claude-login.js", "../commands/lanes.js", "../lib/capacity/collect.js", "../lib/capacity/accounts.js"],
|
|
97
|
-
"monitor-wait": ["../sentry.js", "../lib/doctor/client-health-reason-codes-flag.js", "@indigoai-us/hq-flags-client", "../lib/plan-limit-nag.js", "../utils/plan-gate-error.js", "../utils/deleted-company-notice.js", "open", "../utils/cognito-session.js", "../lib/first-sync-next-step.js", "@indigoai-us/hq-cloud", "../lib/lanes/reconcile.js", "../utils/local-files-overview.js", "../lib/flag-registry.js", "../utils/vault-api.js", "../commands/files-browse.js", "@aws-sdk/client-s3", "../commands/access.js", "../commands/sources.js", "../lib/hot-channels/adapters/index.js", "../lib/hot-channels/signals-pass.js", "../lib/hot-channels/signals-runtime.js", "../lib/hot-channels/signals-claude-login.js", "../commands/lanes.js", "../lib/capacity/collect.js", "../lib/capacity/accounts.js"],
|
|
98
|
-
"monitor-run": ["../commands/lanes.js", "../lib/plan-limit-nag.js", "../utils/plan-gate-error.js", "../utils/deleted-company-notice.js", "../sentry.js", "../lib/doctor/client-health-reason-codes-flag.js", "@indigoai-us/hq-flags-client", "open", "../utils/cognito-session.js", "../lib/first-sync-next-step.js", "@indigoai-us/hq-cloud", "../lib/lanes/reconcile.js", "../utils/local-files-overview.js", "../lib/flag-registry.js", "../utils/vault-api.js", "../commands/files-browse.js", "@aws-sdk/client-s3", "../commands/access.js", "../commands/sources.js", "../lib/hot-channels/adapters/index.js", "../lib/hot-channels/signals-pass.js", "../lib/hot-channels/signals-runtime.js", "../lib/hot-channels/signals-claude-login.js", "../lib/capacity/collect.js", "../lib/capacity/accounts.js"],
|
|
98
|
+
"lanes-watch": ["../sentry.js", "../lib/doctor/client-health-reason-codes-flag.js", "@indigoai-us/hq-flags-client", "../lib/plan-limit-nag.js", "../utils/plan-gate-error.js", "../utils/deleted-company-notice.js", "open", "../utils/cognito-session.js", "../lib/first-sync-next-step.js", "@indigoai-us/hq-cloud", "../lib/lanes/reconcile.js", "../utils/local-files-overview.js", "../lib/flag-registry.js", "../lib/company-flag-gate.js", "../utils/vault-api.js", "../commands/files-browse.js", "@aws-sdk/client-s3", "../commands/access.js", "../commands/sources.js", "../lib/hot-channels/adapters/index.js", "../lib/hot-channels/signals-pass.js", "../lib/hot-channels/signals-runtime.js", "../lib/hot-channels/signals-claude-login.js", "../commands/lanes.js", "../lib/capacity/collect.js", "../lib/capacity/accounts.js"],
|
|
99
|
+
"monitor-wait": ["../sentry.js", "../lib/doctor/client-health-reason-codes-flag.js", "@indigoai-us/hq-flags-client", "../lib/plan-limit-nag.js", "../utils/plan-gate-error.js", "../utils/deleted-company-notice.js", "open", "../utils/cognito-session.js", "../lib/first-sync-next-step.js", "@indigoai-us/hq-cloud", "../lib/lanes/reconcile.js", "../utils/local-files-overview.js", "../lib/flag-registry.js", "../lib/company-flag-gate.js", "../utils/vault-api.js", "../commands/files-browse.js", "@aws-sdk/client-s3", "../commands/access.js", "../commands/sources.js", "../lib/hot-channels/adapters/index.js", "../lib/hot-channels/signals-pass.js", "../lib/hot-channels/signals-runtime.js", "../lib/hot-channels/signals-claude-login.js", "../commands/lanes.js", "../lib/capacity/collect.js", "../lib/capacity/accounts.js"],
|
|
100
|
+
"monitor-run": ["../commands/lanes.js", "../lib/plan-limit-nag.js", "../utils/plan-gate-error.js", "../utils/deleted-company-notice.js", "../sentry.js", "../lib/doctor/client-health-reason-codes-flag.js", "@indigoai-us/hq-flags-client", "open", "../utils/cognito-session.js", "../lib/first-sync-next-step.js", "@indigoai-us/hq-cloud", "../lib/lanes/reconcile.js", "../utils/local-files-overview.js", "../lib/flag-registry.js", "../lib/company-flag-gate.js", "../utils/vault-api.js", "../commands/files-browse.js", "@aws-sdk/client-s3", "../commands/access.js", "../commands/sources.js", "../lib/hot-channels/adapters/index.js", "../lib/hot-channels/signals-pass.js", "../lib/hot-channels/signals-runtime.js", "../lib/hot-channels/signals-claude-login.js", "../lib/capacity/collect.js", "../lib/capacity/accounts.js"],
|
|
99
101
|
"agents-message-wait": ["../sentry.js", "../lib/doctor/client-health-reason-codes-flag.js", "@indigoai-us/hq-flags-client", "../lib/plan-limit-nag.js", "../utils/plan-gate-error.js", "../utils/deleted-company-notice.js", "open", "../utils/cognito-session.js", "../lib/first-sync-next-step.js", "@indigoai-us/hq-cloud"],
|
|
100
102
|
"integrations-oauth-wait": ["../sentry.js", "../lib/doctor/client-health-reason-codes-flag.js", "@indigoai-us/hq-flags-client", "../lib/plan-limit-nag.js", "../utils/plan-gate-error.js", "../utils/deleted-company-notice.js", "open", "../utils/cognito-session.js", "../lib/first-sync-next-step.js", "@indigoai-us/hq-cloud"],
|
|
101
|
-
"outpost-wait": ["../commands/lanes.js", "../lib/plan-limit-nag.js", "../utils/plan-gate-error.js", "../utils/deleted-company-notice.js", "../sentry.js", "../lib/doctor/client-health-reason-codes-flag.js", "@indigoai-us/hq-flags-client", "open", "../utils/cognito-session.js", "../lib/first-sync-next-step.js", "@indigoai-us/hq-cloud", "../lib/lanes/reconcile.js", "../utils/local-files-overview.js", "../lib/flag-registry.js", "../utils/vault-api.js", "../commands/files-browse.js", "@aws-sdk/client-s3", "../commands/access.js", "../commands/sources.js", "../lib/hot-channels/adapters/index.js", "../lib/hot-channels/signals-pass.js", "../lib/hot-channels/signals-runtime.js", "../lib/hot-channels/signals-claude-login.js", "../lib/capacity/collect.js", "../lib/capacity/accounts.js"],
|
|
103
|
+
"outpost-wait": ["../commands/lanes.js", "../lib/plan-limit-nag.js", "../utils/plan-gate-error.js", "../utils/deleted-company-notice.js", "../sentry.js", "../lib/doctor/client-health-reason-codes-flag.js", "@indigoai-us/hq-flags-client", "open", "../utils/cognito-session.js", "../lib/first-sync-next-step.js", "@indigoai-us/hq-cloud", "../lib/lanes/reconcile.js", "../utils/local-files-overview.js", "../lib/flag-registry.js", "../lib/company-flag-gate.js", "../utils/vault-api.js", "../commands/files-browse.js", "@aws-sdk/client-s3", "../commands/access.js", "../commands/sources.js", "../lib/hot-channels/adapters/index.js", "../lib/hot-channels/signals-pass.js", "../lib/hot-channels/signals-runtime.js", "../lib/hot-channels/signals-claude-login.js", "../lib/capacity/collect.js", "../lib/capacity/accounts.js"],
|
|
102
104
|
"secrets-sandbox": [],
|
|
103
105
|
"pkg-update": ["../sentry.js", "../lib/doctor/client-health-reason-codes-flag.js", "@indigoai-us/hq-flags-client", "../utils/cognito-session.js", "@indigoai-us/hq-cloud"],
|
|
104
106
|
"pack-install": [
|
|
@@ -210,6 +212,7 @@ const LOADERS = {
|
|
|
210
212
|
() => import("../commands/lanes.js"),
|
|
211
213
|
() => import("../lib/lanes/reconcile.js"),
|
|
212
214
|
() => import("../lib/flag-registry.js"),
|
|
215
|
+
() => import("../lib/company-flag-gate.js"),
|
|
213
216
|
() => import("../commands/access.js"),
|
|
214
217
|
// The signals engine's adapters step (lib/signals/steps/adapters.ts)
|
|
215
218
|
// lazily imports the hot-channel sync when the bot's signals job fires.
|
|
@@ -278,6 +281,7 @@ const LOADERS = {
|
|
|
278
281
|
preloadSentrySdk();
|
|
279
282
|
},
|
|
280
283
|
() => import("../lib/flag-registry.js"),
|
|
284
|
+
() => import("../lib/company-flag-gate.js"),
|
|
281
285
|
() => import("../utils/cognito-session.js"),
|
|
282
286
|
() => import("../lib/plan-limit-nag.js"),
|
|
283
287
|
() => import("../utils/plan-gate-error.js"),
|
|
@@ -349,6 +353,7 @@ const LOADERS = {
|
|
|
349
353
|
// Source reports use the signals engine after a resident wait.
|
|
350
354
|
() => import("../utils/local-files-overview.js"),
|
|
351
355
|
() => import("../lib/flag-registry.js"),
|
|
356
|
+
() => import("../lib/company-flag-gate.js"),
|
|
352
357
|
() => import("../utils/vault-api.js"),
|
|
353
358
|
() => import("../commands/files-browse.js"),
|
|
354
359
|
() => import("@aws-sdk/client-s3"),
|
|
@@ -384,6 +389,7 @@ const LOADERS = {
|
|
|
384
389
|
// Source reports use the signals engine after a resident wait.
|
|
385
390
|
() => import("../utils/local-files-overview.js"),
|
|
386
391
|
() => import("../lib/flag-registry.js"),
|
|
392
|
+
() => import("../lib/company-flag-gate.js"),
|
|
387
393
|
() => import("../utils/vault-api.js"),
|
|
388
394
|
() => import("../commands/files-browse.js"),
|
|
389
395
|
() => import("@aws-sdk/client-s3"),
|
|
@@ -420,6 +426,7 @@ const LOADERS = {
|
|
|
420
426
|
// Source reports use the signals engine after a resident wait.
|
|
421
427
|
() => import("../utils/local-files-overview.js"),
|
|
422
428
|
() => import("../lib/flag-registry.js"),
|
|
429
|
+
() => import("../lib/company-flag-gate.js"),
|
|
423
430
|
() => import("../utils/vault-api.js"),
|
|
424
431
|
() => import("../commands/files-browse.js"),
|
|
425
432
|
() => import("@aws-sdk/client-s3"),
|
|
@@ -485,6 +492,7 @@ const LOADERS = {
|
|
|
485
492
|
// Source reports use the signals engine after a resident wait.
|
|
486
493
|
() => import("../utils/local-files-overview.js"),
|
|
487
494
|
() => import("../lib/flag-registry.js"),
|
|
495
|
+
() => import("../lib/company-flag-gate.js"),
|
|
488
496
|
() => import("../utils/vault-api.js"),
|
|
489
497
|
() => import("../commands/files-browse.js"),
|
|
490
498
|
() => import("@aws-sdk/client-s3"),
|
|
@@ -142,6 +142,9 @@ const KNOWN_ERROR_NAMES = new Set([
|
|
|
142
142
|
// which shares the `Qmd` prefix the qmd branch keys on (HQ-CLI-Y, 7690356976).
|
|
143
143
|
"QmdExitError",
|
|
144
144
|
"QmdBinaryMissingError",
|
|
145
|
+
// Neither the bundled nor the PATH qmd passed its probe. Printed with a
|
|
146
|
+
// remedy and still captured (HQ-CLI-J4, HQ-CLI-HH).
|
|
147
|
+
"QmdUnusableError",
|
|
145
148
|
"QmdCollectionMissingError",
|
|
146
149
|
"QmdCollectionExistsError",
|
|
147
150
|
"QmdTerminatedError",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indigoai-us/hq-cli",
|
|
3
|
-
"version": "5.345.
|
|
3
|
+
"version": "5.345.253",
|
|
4
4
|
"description": "HQ by Indigo management CLI — modules and cloud sync",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -55,6 +55,8 @@
|
|
|
55
55
|
"postinstall": "node scripts/install-hook-engine.mjs || node -e \"process.exit(0)\"",
|
|
56
56
|
"prepare": "husky || true",
|
|
57
57
|
"check:no-hermes": "bash scripts/check-no-hermes.sh",
|
|
58
|
+
"changelog:check": "node scripts/changelog-fragment.mjs check",
|
|
59
|
+
"changelog:new": "node scripts/changelog-fragment.mjs new",
|
|
58
60
|
"prepack": "node scripts/hook-engine-manifest.mjs",
|
|
59
61
|
"postpublish": "node scripts/hook-engine-manifest.mjs restore",
|
|
60
62
|
"build:ci": "node scripts/prepare-fixture-privacy-baseline.mjs && pnpm run build"
|
|
@@ -63,7 +65,7 @@
|
|
|
63
65
|
"@aws-sdk/client-iot-data-plane": "^3.1096.0",
|
|
64
66
|
"@aws-sdk/client-s3": "^3.1049.0",
|
|
65
67
|
"@aws-sdk/dsql-signer": "^3.1146.0",
|
|
66
|
-
"@indigoai-us/hq-cloud": "6.18.
|
|
68
|
+
"@indigoai-us/hq-cloud": "6.18.124",
|
|
67
69
|
"@indigoai-us/hq-flags-client": "^0.2.0",
|
|
68
70
|
"@modelcontextprotocol/sdk": "1.32.2",
|
|
69
71
|
"@sentry/node": "^10.49.0",
|
|
@@ -126,11 +128,11 @@
|
|
|
126
128
|
"*.{ts,tsx,mts,cts,js,jsx,mjs,cjs}": "eslint --cache --no-error-on-unmatched-pattern"
|
|
127
129
|
},
|
|
128
130
|
"optionalDependencies": {
|
|
129
|
-
"@indigoai-us/hq-hook-win32-x64": "5.345.
|
|
130
|
-
"@indigoai-us/hq-hook-win32-arm64": "5.345.
|
|
131
|
-
"@indigoai-us/hq-hook-darwin-x64": "5.345.
|
|
132
|
-
"@indigoai-us/hq-hook-darwin-arm64": "5.345.
|
|
133
|
-
"@indigoai-us/hq-hook-linux-x64": "5.345.
|
|
134
|
-
"@indigoai-us/hq-hook-linux-arm64": "5.345.
|
|
131
|
+
"@indigoai-us/hq-hook-win32-x64": "5.345.253",
|
|
132
|
+
"@indigoai-us/hq-hook-win32-arm64": "5.345.253",
|
|
133
|
+
"@indigoai-us/hq-hook-darwin-x64": "5.345.253",
|
|
134
|
+
"@indigoai-us/hq-hook-darwin-arm64": "5.345.253",
|
|
135
|
+
"@indigoai-us/hq-hook-linux-x64": "5.345.253",
|
|
136
|
+
"@indigoai-us/hq-hook-linux-arm64": "5.345.253"
|
|
135
137
|
}
|
|
136
138
|
}
|
|
@@ -29,11 +29,13 @@ try {
|
|
|
29
29
|
console.warn(`HQ PowerShell launcher cleanup skipped: ${error instanceof Error ? error.message : String(error)}. If PowerShell blocks hq, run hq.cmd doctor --fix.`);
|
|
30
30
|
}
|
|
31
31
|
// The CLI stays available for repair if the download fails. The hook's
|
|
32
|
-
// existing refusal still applies whenever it cannot find jq.
|
|
32
|
+
// existing refusal still applies whenever it cannot find jq. npm 11 may skip
|
|
33
|
+
// this script; the first hq command then does the same (install-followup.ts).
|
|
33
34
|
if (process.platform === 'win32') {
|
|
34
35
|
try {
|
|
35
|
-
const {
|
|
36
|
-
await
|
|
36
|
+
const { ensureWindowsJq } = await import('../dist/lib/windows/jq.js');
|
|
37
|
+
const jq = await ensureWindowsJq();
|
|
38
|
+
if (jq && !jq.onUserPath) console.warn(`HQ installed jq at ${jq.target} but could not add ${jq.dir} to your PATH. Repair: hq doctor --fix-jq.`);
|
|
37
39
|
} catch (error) {
|
|
38
40
|
console.warn(`HQ could not install jq: ${error instanceof Error ? error.message : String(error)}. Repair: hq doctor --fix-jq.`);
|
|
39
41
|
}
|