@indigoai-us/hq-cli 5.345.214 → 5.345.215-beta.0
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 +29 -0
- package/dist/command-catalog.generated.d.ts +134 -7
- package/dist/command-catalog.generated.js +168 -7
- package/dist/commands/agents.d.ts +51 -1
- package/dist/commands/agents.js +154 -2
- package/dist/commands/bot-jobs.d.ts +2 -15
- package/dist/commands/bot-jobs.js +2 -94
- package/dist/commands/bot-runtime.d.ts +46 -5
- package/dist/commands/bot-runtime.js +228 -18
- package/dist/commands/bot.d.ts +16 -9
- package/dist/commands/bot.js +169 -51
- package/dist/commands/cloud.d.ts +66 -13
- package/dist/commands/cloud.js +120 -39
- package/dist/commands/company-restore.d.ts +23 -0
- package/dist/commands/company-restore.js +128 -0
- package/dist/commands/company.js +2 -0
- package/dist/commands/integrations-connect.d.ts +10 -3
- package/dist/commands/integrations-connect.js +87 -13
- package/dist/commands/lanes.js +26 -9
- package/dist/commands/sources.js +6 -0
- package/dist/commands/storage-offload.d.ts +12 -0
- package/dist/commands/storage-offload.js +41 -3
- package/dist/commands/sync-mode.js +5 -0
- package/dist/commands/whoami.js +4 -0
- package/dist/lib/bot/config.d.ts +1 -0
- package/dist/lib/bot/config.js +10 -0
- package/dist/lib/bot/eventbridge-cron.d.ts +22 -0
- package/dist/lib/bot/eventbridge-cron.js +104 -0
- package/dist/lib/bot/fleet-local.d.ts +33 -1
- package/dist/lib/bot/fleet-local.js +215 -31
- package/dist/lib/bot/fleet-python.d.ts +3 -0
- package/dist/lib/bot/fleet-python.js +34 -4
- package/dist/lib/bot/fleet-runtime-sources.d.ts +15 -0
- package/dist/lib/bot/fleet-runtime-sources.js +30 -0
- package/dist/lib/bot/legacy-provider-login.d.ts +8 -0
- package/dist/lib/bot/legacy-provider-login.js +19 -2
- package/dist/lib/bot/prompt.js +1 -1
- package/dist/lib/bot/readiness.d.ts +8 -0
- package/dist/lib/bot/readiness.js +17 -3
- package/dist/lib/bot/runtime-auth.d.ts +30 -0
- package/dist/lib/bot/runtime-auth.js +94 -3
- package/dist/lib/bot/status.d.ts +2 -0
- package/dist/lib/capacity/collectors/grok-refresh.d.ts +80 -0
- package/dist/lib/capacity/collectors/grok-refresh.js +189 -0
- package/dist/lib/capacity/collectors/grok.d.ts +5 -0
- package/dist/lib/capacity/collectors/grok.js +56 -5
- package/dist/lib/daemon/catalog.js +11 -1
- package/dist/lib/db/sqlite-binding.d.ts +1 -0
- package/dist/lib/db/sqlite-binding.js +1 -1
- package/dist/lib/delivery/artifacts.d.ts +99 -0
- package/dist/lib/delivery/artifacts.js +548 -0
- package/dist/lib/delivery/backup.d.ts +78 -0
- package/dist/lib/delivery/backup.js +343 -0
- package/dist/lib/delivery/cache.d.ts +29 -0
- package/dist/lib/delivery/cache.js +33 -0
- package/dist/lib/delivery/contracts.d.ts +142 -0
- package/dist/lib/delivery/contracts.js +289 -0
- package/dist/lib/delivery/credentials.d.ts +54 -0
- package/dist/lib/delivery/credentials.js +119 -0
- package/dist/lib/delivery/enrollment.d.ts +142 -0
- package/dist/lib/delivery/enrollment.js +382 -0
- package/dist/lib/delivery/identity.d.ts +25 -0
- package/dist/lib/delivery/identity.js +82 -0
- package/dist/lib/delivery/inbox.d.ts +116 -0
- package/dist/lib/delivery/inbox.js +260 -0
- package/dist/lib/delivery/migrations.d.ts +139 -0
- package/dist/lib/delivery/migrations.js +623 -0
- package/dist/lib/delivery/mqtt-adapter.d.ts +50 -0
- package/dist/lib/delivery/mqtt-adapter.js +242 -0
- package/dist/lib/delivery/mqtt.d.ts +61 -0
- package/dist/lib/delivery/mqtt.js +112 -0
- package/dist/lib/delivery/outbox.d.ts +95 -0
- package/dist/lib/delivery/outbox.js +187 -0
- package/dist/lib/delivery/provenance.d.ts +129 -0
- package/dist/lib/delivery/provenance.js +93 -0
- package/dist/lib/delivery/reconciler.d.ts +151 -0
- package/dist/lib/delivery/reconciler.js +492 -0
- package/dist/lib/delivery/restore.d.ts +35 -0
- package/dist/lib/delivery/restore.js +134 -0
- package/dist/lib/delivery/store.d.ts +161 -0
- package/dist/lib/delivery/store.js +940 -0
- package/dist/lib/delivery/workers/macos-job-helper.d.ts +103 -0
- package/dist/lib/delivery/workers/macos-job-helper.js +927 -0
- package/dist/lib/delivery/workers/macos.d.ts +176 -0
- package/dist/lib/delivery/workers/macos.js +901 -0
- package/dist/lib/delivery/workers/windows-boundary.d.ts +453 -0
- package/dist/lib/delivery/workers/windows-boundary.js +693 -0
- package/dist/lib/delivery/workers/windows-job-helper.d.ts +35 -0
- package/dist/lib/delivery/workers/windows-job-helper.js +264 -0
- package/dist/lib/delivery/workers/windows.d.ts +241 -0
- package/dist/lib/delivery/workers/windows.js +608 -0
- package/dist/lib/install/provider-wrappers.d.ts +2 -0
- package/dist/lib/install/provider-wrappers.js +68 -3
- package/dist/utils/cognito-callback-port.d.ts +14 -0
- package/dist/utils/cognito-callback-port.js +24 -0
- package/dist/utils/cognito-session.js +3 -3
- package/dist/utils/deleted-company-notice.d.ts +59 -0
- package/dist/utils/deleted-company-notice.js +156 -0
- package/dist/utils/login-browser.d.ts +1 -1
- package/dist/utils/login-browser.js +7 -5
- package/dist/utils/resident-package-preload.js +30 -15
- package/dist/utils/vault-api.js +7 -0
- package/package.json +7 -7
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { releaseCurrentPackageUseLease, releasePackageUseLeaseAfterResidentPreload, } from "./package-use-lease.js";
|
|
2
2
|
/** Runtime modules that resident commands may need after a wait starts. */
|
|
3
3
|
export const RESIDENT_PACKAGE_MODULES = {
|
|
4
|
-
"agent-kit": ["../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", "open", "../utils/cognito-session.js", "../lib/first-sync-next-step.js", "@indigoai-us/hq-cloud"],
|
|
5
|
-
"agent-mcp": ["../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", "../commands/access.js", "open", "../utils/cognito-session.js", "../lib/first-sync-next-step.js", "../utils/local-files-overview.js", "@indigoai-us/hq-cloud"],
|
|
4
|
+
"agent-kit": ["../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"],
|
|
5
|
+
"agent-mcp": ["../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", "../commands/access.js", "open", "../utils/cognito-session.js", "../lib/first-sync-next-step.js", "../utils/local-files-overview.js", "@indigoai-us/hq-cloud"],
|
|
6
6
|
login: [
|
|
7
7
|
"../lib/mesh/api.js",
|
|
8
8
|
"../lib/work-context/config.js",
|
|
9
9
|
"../lib/work-context/default-company.js",
|
|
10
10
|
"../lib/work-context/paths.js",
|
|
11
11
|
"../lib/plan-limit-nag.js",
|
|
12
|
-
"../utils/plan-gate-error.js",
|
|
12
|
+
"../utils/plan-gate-error.js", "../utils/deleted-company-notice.js",
|
|
13
13
|
"../sentry.js", "../lib/doctor/client-health-reason-codes-flag.js", "@indigoai-us/hq-flags-client",
|
|
14
14
|
"open",
|
|
15
15
|
"../utils/cognito-session.js",
|
|
@@ -20,13 +20,13 @@ export const RESIDENT_PACKAGE_MODULES = {
|
|
|
20
20
|
"../lib/auth-login-provider-state.js",
|
|
21
21
|
"../lib/daemon/mcp-oauth.js",
|
|
22
22
|
"../lib/plan-limit-nag.js",
|
|
23
|
-
"../utils/plan-gate-error.js",
|
|
23
|
+
"../utils/plan-gate-error.js", "../utils/deleted-company-notice.js",
|
|
24
24
|
"../sentry.js", "../lib/doctor/client-health-reason-codes-flag.js", "@indigoai-us/hq-flags-client",
|
|
25
25
|
"open",
|
|
26
26
|
"../utils/cognito-session.js",
|
|
27
27
|
"@indigoai-us/hq-cloud",
|
|
28
28
|
],
|
|
29
|
-
"agents-terminal": ["../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", "open", "../utils/cognito-session.js", "../lib/first-sync-next-step.js", "@indigoai-us/hq-cloud"],
|
|
29
|
+
"agents-terminal": ["../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"],
|
|
30
30
|
bot: [
|
|
31
31
|
"../commands/lanes.js",
|
|
32
32
|
"../lib/lanes/reconcile.js",
|
|
@@ -39,7 +39,7 @@ export const RESIDENT_PACKAGE_MODULES = {
|
|
|
39
39
|
"@aws-sdk/client-s3",
|
|
40
40
|
"../sentry.js", "../lib/doctor/client-health-reason-codes-flag.js", "@indigoai-us/hq-flags-client",
|
|
41
41
|
"../lib/plan-limit-nag.js",
|
|
42
|
-
"../utils/plan-gate-error.js",
|
|
42
|
+
"../utils/plan-gate-error.js", "../utils/deleted-company-notice.js",
|
|
43
43
|
"open",
|
|
44
44
|
"../utils/cognito-session.js",
|
|
45
45
|
"../lib/first-sync-next-step.js",
|
|
@@ -60,7 +60,7 @@ export const RESIDENT_PACKAGE_MODULES = {
|
|
|
60
60
|
"../lib/flag-registry.js",
|
|
61
61
|
"../utils/cognito-session.js",
|
|
62
62
|
"../lib/plan-limit-nag.js",
|
|
63
|
-
"../utils/plan-gate-error.js",
|
|
63
|
+
"../utils/plan-gate-error.js", "../utils/deleted-company-notice.js",
|
|
64
64
|
"../lib/daemon/mcp-oauth.js",
|
|
65
65
|
"../commands/lanes.js",
|
|
66
66
|
"commander",
|
|
@@ -82,19 +82,19 @@ export const RESIDENT_PACKAGE_MODULES = {
|
|
|
82
82
|
"../lib/capacity/accounts.js",
|
|
83
83
|
],
|
|
84
84
|
"daemon-logs-follow": [],
|
|
85
|
-
"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", "open", "../utils/cognito-session.js", "../lib/first-sync-next-step.js", "@indigoai-us/hq-cloud"],
|
|
86
|
-
"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", "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", "../commands/lanes.js", "../lib/capacity/collect.js", "../lib/capacity/accounts.js"],
|
|
87
|
-
"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", "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", "../commands/lanes.js", "../lib/capacity/collect.js", "../lib/capacity/accounts.js"],
|
|
88
|
-
"monitor-run": ["../commands/lanes.js", "../lib/plan-limit-nag.js", "../utils/plan-gate-error.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/capacity/collect.js", "../lib/capacity/accounts.js"],
|
|
89
|
-
"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", "open", "../utils/cognito-session.js", "../lib/first-sync-next-step.js", "@indigoai-us/hq-cloud"],
|
|
90
|
-
"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", "open", "../utils/cognito-session.js", "../lib/first-sync-next-step.js", "@indigoai-us/hq-cloud"],
|
|
91
|
-
"outpost-wait": ["../commands/lanes.js", "../lib/plan-limit-nag.js", "../utils/plan-gate-error.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/capacity/collect.js", "../lib/capacity/accounts.js"],
|
|
85
|
+
"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"],
|
|
86
|
+
"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", "../commands/lanes.js", "../lib/capacity/collect.js", "../lib/capacity/accounts.js"],
|
|
87
|
+
"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", "../commands/lanes.js", "../lib/capacity/collect.js", "../lib/capacity/accounts.js"],
|
|
88
|
+
"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/capacity/collect.js", "../lib/capacity/accounts.js"],
|
|
89
|
+
"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"],
|
|
90
|
+
"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"],
|
|
91
|
+
"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/capacity/collect.js", "../lib/capacity/accounts.js"],
|
|
92
92
|
"secrets-sandbox": [],
|
|
93
93
|
"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"],
|
|
94
94
|
"pack-install": [
|
|
95
95
|
"../sentry.js", "../lib/doctor/client-health-reason-codes-flag.js", "@indigoai-us/hq-flags-client",
|
|
96
96
|
"../lib/plan-limit-nag.js",
|
|
97
|
-
"../utils/plan-gate-error.js",
|
|
97
|
+
"../utils/plan-gate-error.js", "../utils/deleted-company-notice.js",
|
|
98
98
|
"open",
|
|
99
99
|
"../commands/mcp-serve.js",
|
|
100
100
|
"../lib/anywhere-person-setting.js",
|
|
@@ -121,6 +121,7 @@ const LOADERS = {
|
|
|
121
121
|
},
|
|
122
122
|
() => import("../lib/plan-limit-nag.js"),
|
|
123
123
|
() => import("../utils/plan-gate-error.js"),
|
|
124
|
+
() => import("../utils/deleted-company-notice.js"),
|
|
124
125
|
() => import("open"),
|
|
125
126
|
() => import("../utils/cognito-session.js"),
|
|
126
127
|
() => import("../lib/first-sync-next-step.js"),
|
|
@@ -135,6 +136,7 @@ const LOADERS = {
|
|
|
135
136
|
},
|
|
136
137
|
() => import("../lib/plan-limit-nag.js"),
|
|
137
138
|
() => import("../utils/plan-gate-error.js"),
|
|
139
|
+
() => import("../utils/deleted-company-notice.js"),
|
|
138
140
|
() => import("../commands/access.js"),
|
|
139
141
|
() => import("open"),
|
|
140
142
|
() => import("../utils/cognito-session.js"),
|
|
@@ -149,6 +151,7 @@ const LOADERS = {
|
|
|
149
151
|
() => import("../lib/work-context/paths.js"),
|
|
150
152
|
() => import("../lib/plan-limit-nag.js"),
|
|
151
153
|
() => import("../utils/plan-gate-error.js"),
|
|
154
|
+
() => import("../utils/deleted-company-notice.js"),
|
|
152
155
|
async () => {
|
|
153
156
|
const { preloadSentrySdk } = await import("../sentry.js");
|
|
154
157
|
await import("../lib/doctor/client-health-reason-codes-flag.js");
|
|
@@ -165,6 +168,7 @@ const LOADERS = {
|
|
|
165
168
|
() => import("../lib/daemon/mcp-oauth.js"),
|
|
166
169
|
() => import("../lib/plan-limit-nag.js"),
|
|
167
170
|
() => import("../utils/plan-gate-error.js"),
|
|
171
|
+
() => import("../utils/deleted-company-notice.js"),
|
|
168
172
|
async () => {
|
|
169
173
|
const { preloadSentrySdk } = await import("../sentry.js");
|
|
170
174
|
await import("../lib/doctor/client-health-reason-codes-flag.js");
|
|
@@ -184,6 +188,7 @@ const LOADERS = {
|
|
|
184
188
|
},
|
|
185
189
|
() => import("../lib/plan-limit-nag.js"),
|
|
186
190
|
() => import("../utils/plan-gate-error.js"),
|
|
191
|
+
() => import("../utils/deleted-company-notice.js"),
|
|
187
192
|
() => import("open"),
|
|
188
193
|
() => import("../utils/cognito-session.js"),
|
|
189
194
|
() => import("../lib/first-sync-next-step.js"),
|
|
@@ -213,6 +218,7 @@ const LOADERS = {
|
|
|
213
218
|
},
|
|
214
219
|
() => import("../lib/plan-limit-nag.js"),
|
|
215
220
|
() => import("../utils/plan-gate-error.js"),
|
|
221
|
+
() => import("../utils/deleted-company-notice.js"),
|
|
216
222
|
() => import("open"),
|
|
217
223
|
() => import("../utils/cognito-session.js"),
|
|
218
224
|
() => import("../lib/first-sync-next-step.js"),
|
|
@@ -259,6 +265,7 @@ const LOADERS = {
|
|
|
259
265
|
() => import("../utils/cognito-session.js"),
|
|
260
266
|
() => import("../lib/plan-limit-nag.js"),
|
|
261
267
|
() => import("../utils/plan-gate-error.js"),
|
|
268
|
+
() => import("../utils/deleted-company-notice.js"),
|
|
262
269
|
() => import("../lib/daemon/mcp-oauth.js"),
|
|
263
270
|
() => import("../commands/lanes.js"),
|
|
264
271
|
() => import("commander"),
|
|
@@ -292,6 +299,7 @@ const LOADERS = {
|
|
|
292
299
|
},
|
|
293
300
|
() => import("../lib/plan-limit-nag.js"),
|
|
294
301
|
() => import("../utils/plan-gate-error.js"),
|
|
302
|
+
() => import("../utils/deleted-company-notice.js"),
|
|
295
303
|
() => import("open"),
|
|
296
304
|
() => import("../utils/cognito-session.js"),
|
|
297
305
|
() => import("../lib/first-sync-next-step.js"),
|
|
@@ -306,6 +314,7 @@ const LOADERS = {
|
|
|
306
314
|
},
|
|
307
315
|
() => import("../lib/plan-limit-nag.js"),
|
|
308
316
|
() => import("../utils/plan-gate-error.js"),
|
|
317
|
+
() => import("../utils/deleted-company-notice.js"),
|
|
309
318
|
() => import("open"),
|
|
310
319
|
() => import("../utils/cognito-session.js"),
|
|
311
320
|
() => import("../lib/first-sync-next-step.js"),
|
|
@@ -336,6 +345,7 @@ const LOADERS = {
|
|
|
336
345
|
},
|
|
337
346
|
() => import("../lib/plan-limit-nag.js"),
|
|
338
347
|
() => import("../utils/plan-gate-error.js"),
|
|
348
|
+
() => import("../utils/deleted-company-notice.js"),
|
|
339
349
|
() => import("open"),
|
|
340
350
|
() => import("../utils/cognito-session.js"),
|
|
341
351
|
() => import("../lib/first-sync-next-step.js"),
|
|
@@ -361,6 +371,7 @@ const LOADERS = {
|
|
|
361
371
|
() => import("../commands/lanes.js"),
|
|
362
372
|
() => import("../lib/plan-limit-nag.js"),
|
|
363
373
|
() => import("../utils/plan-gate-error.js"),
|
|
374
|
+
() => import("../utils/deleted-company-notice.js"),
|
|
364
375
|
async () => {
|
|
365
376
|
const { preloadSentrySdk } = await import("../sentry.js");
|
|
366
377
|
await import("../lib/doctor/client-health-reason-codes-flag.js");
|
|
@@ -396,6 +407,7 @@ const LOADERS = {
|
|
|
396
407
|
},
|
|
397
408
|
() => import("../lib/plan-limit-nag.js"),
|
|
398
409
|
() => import("../utils/plan-gate-error.js"),
|
|
410
|
+
() => import("../utils/deleted-company-notice.js"),
|
|
399
411
|
() => import("open"),
|
|
400
412
|
() => import("../utils/cognito-session.js"),
|
|
401
413
|
() => import("../lib/first-sync-next-step.js"),
|
|
@@ -410,6 +422,7 @@ const LOADERS = {
|
|
|
410
422
|
},
|
|
411
423
|
() => import("../lib/plan-limit-nag.js"),
|
|
412
424
|
() => import("../utils/plan-gate-error.js"),
|
|
425
|
+
() => import("../utils/deleted-company-notice.js"),
|
|
413
426
|
() => import("open"),
|
|
414
427
|
() => import("../utils/cognito-session.js"),
|
|
415
428
|
() => import("../lib/first-sync-next-step.js"),
|
|
@@ -419,6 +432,7 @@ const LOADERS = {
|
|
|
419
432
|
() => import("../commands/lanes.js"),
|
|
420
433
|
() => import("../lib/plan-limit-nag.js"),
|
|
421
434
|
() => import("../utils/plan-gate-error.js"),
|
|
435
|
+
() => import("../utils/deleted-company-notice.js"),
|
|
422
436
|
async () => {
|
|
423
437
|
const { preloadSentrySdk } = await import("../sentry.js");
|
|
424
438
|
await import("../lib/doctor/client-health-reason-codes-flag.js");
|
|
@@ -465,6 +479,7 @@ const LOADERS = {
|
|
|
465
479
|
},
|
|
466
480
|
() => import("../lib/plan-limit-nag.js"),
|
|
467
481
|
() => import("../utils/plan-gate-error.js"),
|
|
482
|
+
() => import("../utils/deleted-company-notice.js"),
|
|
468
483
|
() => import("open"),
|
|
469
484
|
() => import("../commands/mcp-serve.js"),
|
|
470
485
|
() => import("../lib/anywhere-person-setting.js"),
|
package/dist/utils/vault-api.js
CHANGED
|
@@ -658,6 +658,13 @@ async function resolveCompanyFromMemberships(token, baseUrl) {
|
|
|
658
658
|
const data = (await res.json());
|
|
659
659
|
const active = data.memberships.filter((m) => m.status === 'active');
|
|
660
660
|
if (active.length === 0) {
|
|
661
|
+
// The person's company may have been deleted: say so before the error.
|
|
662
|
+
// Reuses this response, so no second request is made. Loaded on use:
|
|
663
|
+
// the notice module imports this one, and a failed load must not replace
|
|
664
|
+
// the error below.
|
|
665
|
+
await import('./deleted-company-notice.js')
|
|
666
|
+
.then(({ printDeletedCompanyNotices }) => printDeletedCompanyNotices({ entries: data.deletedCompanies }))
|
|
667
|
+
.catch(() => undefined);
|
|
661
668
|
throw new CompanySelectionError('No active company memberships found. Use --company <slug> to specify.');
|
|
662
669
|
}
|
|
663
670
|
if (active.length === 1) {
|
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.215-beta.0",
|
|
4
4
|
"description": "HQ by Indigo management CLI — modules and cloud sync",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -117,11 +117,11 @@
|
|
|
117
117
|
"*.{ts,tsx,mts,cts,js,jsx,mjs,cjs}": "eslint --cache --no-error-on-unmatched-pattern"
|
|
118
118
|
},
|
|
119
119
|
"optionalDependencies": {
|
|
120
|
-
"@indigoai-us/hq-hook-win32-x64": "5.345.
|
|
121
|
-
"@indigoai-us/hq-hook-win32-arm64": "5.345.
|
|
122
|
-
"@indigoai-us/hq-hook-darwin-x64": "5.345.
|
|
123
|
-
"@indigoai-us/hq-hook-darwin-arm64": "5.345.
|
|
124
|
-
"@indigoai-us/hq-hook-linux-x64": "5.345.
|
|
125
|
-
"@indigoai-us/hq-hook-linux-arm64": "5.345.
|
|
120
|
+
"@indigoai-us/hq-hook-win32-x64": "5.345.215-beta.0",
|
|
121
|
+
"@indigoai-us/hq-hook-win32-arm64": "5.345.215-beta.0",
|
|
122
|
+
"@indigoai-us/hq-hook-darwin-x64": "5.345.215-beta.0",
|
|
123
|
+
"@indigoai-us/hq-hook-darwin-arm64": "5.345.215-beta.0",
|
|
124
|
+
"@indigoai-us/hq-hook-linux-x64": "5.345.215-beta.0",
|
|
125
|
+
"@indigoai-us/hq-hook-linux-arm64": "5.345.215-beta.0"
|
|
126
126
|
}
|
|
127
127
|
}
|