@indigoai-us/hq-cli 5.342.14 → 5.342.16
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 +9 -0
- package/dist/commands/agents.d.ts +2 -0
- package/dist/commands/agents.js +19 -11
- package/dist/commands/bot.js +4 -16
- package/dist/commands/daemon.d.ts +4 -0
- package/dist/commands/daemon.js +5 -18
- package/dist/commands/integrations-connect.d.ts +12 -0
- package/dist/commands/integrations-connect.js +5 -1
- package/dist/commands/integrations-core.d.ts +5 -4
- package/dist/commands/integrations-core.js +64 -10
- package/dist/commands/lanes-accounts.js +8 -0
- package/dist/commands/monitor.d.ts +1 -0
- package/dist/commands/monitor.js +4 -3
- package/dist/lib/agents/terminal-wait.d.ts +4 -0
- package/dist/lib/agents/terminal-wait.js +6 -0
- package/dist/lib/flag-registry.js +3 -1
- package/dist/lib/flag-snapshot-file.d.ts +3 -0
- package/dist/lib/flag-snapshot-file.js +190 -30
- package/dist/lib/lanes/admission.d.ts +7 -1
- package/dist/lib/lanes/admission.js +34 -0
- package/dist/lib/lanes/config.js +11 -0
- package/dist/lib/lanes/flag-keys.d.ts +2 -0
- package/dist/lib/lanes/flag-keys.js +2 -0
- package/dist/lib/lanes/reconcile.js +52 -6
- package/dist/lib/lanes/types.d.ts +3 -1
- package/dist/lib/lanes/types.js +1 -0
- package/dist/lib/log-follow.d.ts +3 -0
- package/dist/lib/log-follow.js +20 -0
- package/dist/main.js +16 -0
- package/dist/utils/resident-package-preload.d.ts +2 -2
- package/dist/utils/resident-package-preload.js +91 -7
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
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/plan-limit-nag.js", "../utils/plan-gate-error.js", "open"],
|
|
5
|
-
"agent-mcp": ["../sentry.js", "../lib/plan-limit-nag.js", "../utils/plan-gate-error.js", "../commands/access.js", "open"],
|
|
4
|
+
"agent-kit": ["../sentry.js", "../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/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"],
|
|
6
6
|
login: [
|
|
7
7
|
"../lib/mesh/api.js",
|
|
8
8
|
"../lib/work-context/config.js",
|
|
@@ -12,6 +12,9 @@ export const RESIDENT_PACKAGE_MODULES = {
|
|
|
12
12
|
"../utils/plan-gate-error.js",
|
|
13
13
|
"../sentry.js",
|
|
14
14
|
"open",
|
|
15
|
+
"../utils/cognito-session.js",
|
|
16
|
+
"../lib/first-sync-next-step.js",
|
|
17
|
+
"@indigoai-us/hq-cloud",
|
|
15
18
|
],
|
|
16
19
|
"auth-login": [
|
|
17
20
|
"../lib/auth-login-provider-state.js",
|
|
@@ -20,7 +23,10 @@ export const RESIDENT_PACKAGE_MODULES = {
|
|
|
20
23
|
"../utils/plan-gate-error.js",
|
|
21
24
|
"../sentry.js",
|
|
22
25
|
"open",
|
|
26
|
+
"../utils/cognito-session.js",
|
|
27
|
+
"@indigoai-us/hq-cloud",
|
|
23
28
|
],
|
|
29
|
+
"agents-terminal": ["../sentry.js", "../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"],
|
|
24
30
|
bot: [
|
|
25
31
|
"../lib/flag-registry.js",
|
|
26
32
|
"../commands/access.js",
|
|
@@ -28,7 +34,12 @@ export const RESIDENT_PACKAGE_MODULES = {
|
|
|
28
34
|
"../lib/plan-limit-nag.js",
|
|
29
35
|
"../utils/plan-gate-error.js",
|
|
30
36
|
"open",
|
|
37
|
+
"../utils/cognito-session.js",
|
|
38
|
+
"../lib/first-sync-next-step.js",
|
|
39
|
+
"../utils/local-files-overview.js",
|
|
40
|
+
"@indigoai-us/hq-cloud",
|
|
31
41
|
],
|
|
42
|
+
"bot-logs-follow": [],
|
|
32
43
|
mcp: ["../lib/mcp/tools.js", "../lib/mcp/prompts.js"],
|
|
33
44
|
childWrapper: ["../main.js"],
|
|
34
45
|
coreJobRun: ["../lib/flag-registry.js"],
|
|
@@ -42,11 +53,16 @@ export const RESIDENT_PACKAGE_MODULES = {
|
|
|
42
53
|
"@modelcontextprotocol/sdk/client/streamableHttp.js",
|
|
43
54
|
"../utils/staged-npm-install.js",
|
|
44
55
|
"open",
|
|
56
|
+
"../lib/first-sync-next-step.js",
|
|
57
|
+
"@indigoai-us/hq-cloud",
|
|
45
58
|
],
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"monitor-
|
|
59
|
+
"daemon-logs-follow": [],
|
|
60
|
+
"mesh-daemon": ["../sentry.js", "../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"],
|
|
61
|
+
"lanes-watch": ["../sentry.js", "../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"],
|
|
62
|
+
"monitor-wait": ["../sentry.js", "../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"],
|
|
63
|
+
"monitor-run": ["../commands/lanes.js", "../lib/plan-limit-nag.js", "../utils/plan-gate-error.js", "../sentry.js", "open", "../utils/cognito-session.js", "../lib/first-sync-next-step.js", "@indigoai-us/hq-cloud"],
|
|
64
|
+
"agents-message-wait": ["../sentry.js", "../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"],
|
|
65
|
+
"integrations-oauth-wait": ["../sentry.js", "../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"],
|
|
50
66
|
};
|
|
51
67
|
const LOADERS = {
|
|
52
68
|
"agent-kit": [
|
|
@@ -57,6 +73,9 @@ const LOADERS = {
|
|
|
57
73
|
() => import("../lib/plan-limit-nag.js"),
|
|
58
74
|
() => import("../utils/plan-gate-error.js"),
|
|
59
75
|
() => import("open"),
|
|
76
|
+
() => import("../utils/cognito-session.js"),
|
|
77
|
+
() => import("../lib/first-sync-next-step.js"),
|
|
78
|
+
() => import("@indigoai-us/hq-cloud"),
|
|
60
79
|
],
|
|
61
80
|
"agent-mcp": [
|
|
62
81
|
async () => {
|
|
@@ -67,6 +86,10 @@ const LOADERS = {
|
|
|
67
86
|
() => import("../utils/plan-gate-error.js"),
|
|
68
87
|
() => import("../commands/access.js"),
|
|
69
88
|
() => import("open"),
|
|
89
|
+
() => import("../utils/cognito-session.js"),
|
|
90
|
+
() => import("../lib/first-sync-next-step.js"),
|
|
91
|
+
() => import("../utils/local-files-overview.js"),
|
|
92
|
+
() => import("@indigoai-us/hq-cloud"),
|
|
70
93
|
],
|
|
71
94
|
login: [
|
|
72
95
|
() => import("../lib/mesh/api.js"),
|
|
@@ -80,6 +103,9 @@ const LOADERS = {
|
|
|
80
103
|
preloadSentrySdk();
|
|
81
104
|
},
|
|
82
105
|
() => import("open"),
|
|
106
|
+
() => import("../utils/cognito-session.js"),
|
|
107
|
+
() => import("../lib/first-sync-next-step.js"),
|
|
108
|
+
() => import("@indigoai-us/hq-cloud"),
|
|
83
109
|
],
|
|
84
110
|
"auth-login": [
|
|
85
111
|
() => import("../lib/auth-login-provider-state.js"),
|
|
@@ -91,6 +117,20 @@ const LOADERS = {
|
|
|
91
117
|
preloadSentrySdk();
|
|
92
118
|
},
|
|
93
119
|
() => import("open"),
|
|
120
|
+
() => import("../utils/cognito-session.js"),
|
|
121
|
+
() => import("@indigoai-us/hq-cloud"),
|
|
122
|
+
],
|
|
123
|
+
"agents-terminal": [
|
|
124
|
+
async () => {
|
|
125
|
+
const { preloadSentrySdk } = await import("../sentry.js");
|
|
126
|
+
preloadSentrySdk();
|
|
127
|
+
},
|
|
128
|
+
() => import("../lib/plan-limit-nag.js"),
|
|
129
|
+
() => import("../utils/plan-gate-error.js"),
|
|
130
|
+
() => import("open"),
|
|
131
|
+
() => import("../utils/cognito-session.js"),
|
|
132
|
+
() => import("../lib/first-sync-next-step.js"),
|
|
133
|
+
() => import("@indigoai-us/hq-cloud"),
|
|
94
134
|
],
|
|
95
135
|
bot: [
|
|
96
136
|
() => import("../lib/flag-registry.js"),
|
|
@@ -102,7 +142,12 @@ const LOADERS = {
|
|
|
102
142
|
() => import("../lib/plan-limit-nag.js"),
|
|
103
143
|
() => import("../utils/plan-gate-error.js"),
|
|
104
144
|
() => import("open"),
|
|
145
|
+
() => import("../utils/cognito-session.js"),
|
|
146
|
+
() => import("../lib/first-sync-next-step.js"),
|
|
147
|
+
() => import("../utils/local-files-overview.js"),
|
|
148
|
+
() => import("@indigoai-us/hq-cloud"),
|
|
105
149
|
],
|
|
150
|
+
"bot-logs-follow": [],
|
|
106
151
|
mcp: [
|
|
107
152
|
() => import("../lib/mcp/tools.js"),
|
|
108
153
|
() => import("../lib/mcp/prompts.js"),
|
|
@@ -126,7 +171,10 @@ const LOADERS = {
|
|
|
126
171
|
() => import("@modelcontextprotocol/sdk/client/streamableHttp.js"),
|
|
127
172
|
() => import("../utils/staged-npm-install.js"),
|
|
128
173
|
() => import("open"),
|
|
174
|
+
() => import("../lib/first-sync-next-step.js"),
|
|
175
|
+
() => import("@indigoai-us/hq-cloud"),
|
|
129
176
|
],
|
|
177
|
+
"daemon-logs-follow": [],
|
|
130
178
|
"mesh-daemon": [
|
|
131
179
|
async () => {
|
|
132
180
|
const { preloadSentrySdk } = await import("../sentry.js");
|
|
@@ -135,6 +183,9 @@ const LOADERS = {
|
|
|
135
183
|
() => import("../lib/plan-limit-nag.js"),
|
|
136
184
|
() => import("../utils/plan-gate-error.js"),
|
|
137
185
|
() => import("open"),
|
|
186
|
+
() => import("../utils/cognito-session.js"),
|
|
187
|
+
() => import("../lib/first-sync-next-step.js"),
|
|
188
|
+
() => import("@indigoai-us/hq-cloud"),
|
|
138
189
|
],
|
|
139
190
|
"lanes-watch": [
|
|
140
191
|
async () => {
|
|
@@ -144,6 +195,9 @@ const LOADERS = {
|
|
|
144
195
|
() => import("../lib/plan-limit-nag.js"),
|
|
145
196
|
() => import("../utils/plan-gate-error.js"),
|
|
146
197
|
() => import("open"),
|
|
198
|
+
() => import("../utils/cognito-session.js"),
|
|
199
|
+
() => import("../lib/first-sync-next-step.js"),
|
|
200
|
+
() => import("@indigoai-us/hq-cloud"),
|
|
147
201
|
],
|
|
148
202
|
"monitor-wait": [
|
|
149
203
|
async () => {
|
|
@@ -153,6 +207,9 @@ const LOADERS = {
|
|
|
153
207
|
() => import("../lib/plan-limit-nag.js"),
|
|
154
208
|
() => import("../utils/plan-gate-error.js"),
|
|
155
209
|
() => import("open"),
|
|
210
|
+
() => import("../utils/cognito-session.js"),
|
|
211
|
+
() => import("../lib/first-sync-next-step.js"),
|
|
212
|
+
() => import("@indigoai-us/hq-cloud"),
|
|
156
213
|
],
|
|
157
214
|
"monitor-run": [
|
|
158
215
|
() => import("../commands/lanes.js"),
|
|
@@ -163,6 +220,33 @@ const LOADERS = {
|
|
|
163
220
|
preloadSentrySdk();
|
|
164
221
|
},
|
|
165
222
|
() => import("open"),
|
|
223
|
+
() => import("../utils/cognito-session.js"),
|
|
224
|
+
() => import("../lib/first-sync-next-step.js"),
|
|
225
|
+
() => import("@indigoai-us/hq-cloud"),
|
|
226
|
+
],
|
|
227
|
+
"agents-message-wait": [
|
|
228
|
+
async () => {
|
|
229
|
+
const { preloadSentrySdk } = await import("../sentry.js");
|
|
230
|
+
preloadSentrySdk();
|
|
231
|
+
},
|
|
232
|
+
() => import("../lib/plan-limit-nag.js"),
|
|
233
|
+
() => import("../utils/plan-gate-error.js"),
|
|
234
|
+
() => import("open"),
|
|
235
|
+
() => import("../utils/cognito-session.js"),
|
|
236
|
+
() => import("../lib/first-sync-next-step.js"),
|
|
237
|
+
() => import("@indigoai-us/hq-cloud"),
|
|
238
|
+
],
|
|
239
|
+
"integrations-oauth-wait": [
|
|
240
|
+
async () => {
|
|
241
|
+
const { preloadSentrySdk } = await import("../sentry.js");
|
|
242
|
+
preloadSentrySdk();
|
|
243
|
+
},
|
|
244
|
+
() => import("../lib/plan-limit-nag.js"),
|
|
245
|
+
() => import("../utils/plan-gate-error.js"),
|
|
246
|
+
() => import("open"),
|
|
247
|
+
() => import("../utils/cognito-session.js"),
|
|
248
|
+
() => import("../lib/first-sync-next-step.js"),
|
|
249
|
+
() => import("@indigoai-us/hq-cloud"),
|
|
166
250
|
],
|
|
167
251
|
};
|
|
168
252
|
export class ResidentPackagePreloadError extends Error {
|