@thinkingai/ae-cli 6.0.48-customer.1 → 6.0.48-workbuddy

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.
Files changed (80) hide show
  1. package/README.md +93 -36
  2. package/README.zh.md +93 -36
  3. package/assets/workbuddy-host-page/thinkingai.png +0 -0
  4. package/assets/workbuddy-host-page/workbuddy.png +0 -0
  5. package/bin/ae-cli-workbuddy.js +7 -0
  6. package/dist/auth-HJG2L6DR.js +910 -0
  7. package/dist/{capability-RUSV77CO.js → capability-JHYVQNQ4.js} +47 -34
  8. package/dist/chunk-2BDQB42E.js +15 -0
  9. package/dist/{chunk-GJXRF7Y6.js → chunk-6MXFJVNP.js} +47 -78
  10. package/dist/chunk-6ZIQV5GW.js +26 -0
  11. package/dist/{chunk-KZ6ZHF5J.js → chunk-ARTIHWVD.js} +27 -25
  12. package/dist/{chunk-6QK7SYYY.js → chunk-DU5MZQFQ.js} +29 -37
  13. package/dist/{chunk-BVDST5YT.js → chunk-JFOGWBAT.js} +8 -8
  14. package/dist/{chunk-JYMGHGCE.js → chunk-KSQGGXGA.js} +24 -13
  15. package/dist/{chunk-FR2EDAQM.js → chunk-NXRKDG6E.js} +89 -3
  16. package/dist/{chunk-NSIVXKJH.js → chunk-QSO4SA6C.js} +5 -5
  17. package/dist/{chunk-BE73PUFX.js → chunk-QYJ252CT.js} +2 -2
  18. package/dist/{chunk-B5HMQAOM.js → chunk-UL6SJDYE.js} +1 -1
  19. package/dist/chunk-Y3S2KNNR.js +623 -0
  20. package/dist/{chunk-KEWVSO64.js → chunk-ZCM47ROU.js} +5 -16
  21. package/dist/{community-report-client-6OL6GBQW.js → community-report-client-QE4RC2XG.js} +2 -4
  22. package/dist/{config-XNMACCKX.js → config-XMRP5NDA.js} +8 -9
  23. package/dist/{data-integration-FZQQC3KW.js → data-integration-SGRITHJS.js} +9 -12
  24. package/dist/index.js +53 -80
  25. package/dist/{local-data-upload-client-EFHDLXFG.js → local-data-upload-client-LMVS7YAR.js} +2 -4
  26. package/dist/{memory-HBJQ2GC5.js → memory-5ZC73XBC.js} +4 -6
  27. package/dist/{metadata-PGDJE5RQ.js → metadata-LBX6O24P.js} +7 -9
  28. package/dist/{model-BHLJ2QMT.js → model-CRDIVYN5.js} +4 -6
  29. package/dist/{personal-semantic-preference-E5NZ56DN.js → personal-semantic-preference-7FVUTJZF.js} +6 -8
  30. package/dist/{sync-MUWPRM5I.js → sync-VVNDHU7R.js} +9 -11
  31. package/dist/{te-agent-WQZTMEK4.js → te-agent-4T5TFHD6.js} +393 -90
  32. package/dist/{te-analysis-YWCSSLYL.js → te-analysis-TPYFOIFD.js} +97 -31
  33. package/dist/{te-community-BNE6KREL.js → te-community-PWOTHSEC.js} +9 -32
  34. package/dist/{te-dataops-TXLKM2W6.js → te-dataops-ZJV5QVJU.js} +19 -20
  35. package/dist/{te-engage-VEW4CJHK.js → te-engage-WVHBZAXH.js} +11 -13
  36. package/dist/{te-kb-BUD6N3NI.js → te-kb-PNM2ZKBP.js} +595 -85
  37. package/dist/{te-system-44LZJDTQ.js → te-system-MRCMLAWW.js} +6 -8
  38. package/dist/{te-team-XMP47YXE.js → te-team-Y36TG6AQ.js} +6 -8
  39. package/dist/{update-UODFOZ4P.js → update-UNKCZ5U5.js} +7 -8
  40. package/package.json +15 -10
  41. package/skills/ae-agent/SKILL.md +30 -13
  42. package/skills/ae-agent/references/agent-distribution.md +94 -0
  43. package/skills/ae-agent/references/approval-request.md +4 -0
  44. package/skills/ae-agent/references/command_index.md +9 -2
  45. package/skills/ae-agent/references/create-automation.md +20 -2
  46. package/skills/ae-agent/references/get-agent-context.md +70 -0
  47. package/skills/ae-agent/references/list-automations.md +18 -3
  48. package/skills/ae-agent/references/list-mcp-credentials.md +1 -1
  49. package/skills/ae-agent/references/mcp-token.md +3 -3
  50. package/skills/ae-agent/references/set-mcp-credential.md +0 -1
  51. package/skills/ae-agent/references/update-automation.md +18 -0
  52. package/skills/ae-analysis/SKILL.md +11 -2
  53. package/skills/ae-analysis/references/adhoc_run.md +2 -0
  54. package/skills/ae-analysis/references/ai_models.md +23 -3
  55. package/skills/ae-analysis/references/analysis_gateway_assets.md +2 -2
  56. package/skills/ae-analysis/references/command_index.md +7 -7
  57. package/skills/ae-analysis/references/cross_source_config.md +84 -0
  58. package/skills/ae-analysis/references/dashboard_update.md +1 -1
  59. package/skills/ae-analysis/references/user_tag_create.md +23 -1
  60. package/skills/ae-analysis/references/user_tag_models.md +9 -1
  61. package/skills/ae-analysis/references/user_tag_update.md +14 -2
  62. package/skills/ae-data-integration/SKILL.md +2 -1
  63. package/skills/ae-data-integration/references/dimension-routing.md +36 -0
  64. package/skills/ae-data-integration/references/local-analysis.md +2 -0
  65. package/skills/ae-data-integration/references/source-inspect.md +1 -1
  66. package/skills/ae-data-integration/references/ue-routing.md +17 -1
  67. package/skills/ae-generate-tracking-plan/SKILL.md +16 -5
  68. package/skills/ae-kb/SKILL.md +107 -36
  69. package/skills/ae-kb/references/query-workflow.md +59 -29
  70. package/skills/ae-kb/references/versions.md +46 -0
  71. package/skills/ae-system/SKILL.md +1 -1
  72. package/skills/ae-use-agent/SKILL.md +42 -0
  73. package/skills/ae-use-agent/references/local-agent.md +114 -0
  74. package/dist/auth-QPEVVBKT.js +0 -465
  75. package/dist/auth-UMJAA72O.js +0 -15
  76. package/dist/chunk-533JK3YX.js +0 -72
  77. package/dist/chunk-O6K2ODUE.js +0 -318
  78. package/dist/chunk-RWXIXOZG.js +0 -326
  79. package/dist/client-N7NGZUNI.js +0 -204
  80. package/skills/ae-agent/references/auto-provision-mcp-credentials.md +0 -57
@@ -3,16 +3,15 @@ import {
3
3
  internalCallSourceHeaders
4
4
  } from "./chunk-Y74WTIKJ.js";
5
5
  import {
6
- clearCliToken,
7
6
  getCliToken
8
- } from "./chunk-RWXIXOZG.js";
7
+ } from "./chunk-Y3S2KNNR.js";
9
8
  import {
10
9
  getActiveHost,
11
10
  getSandboxRuntimeRoot
12
- } from "./chunk-KZ6ZHF5J.js";
11
+ } from "./chunk-ARTIHWVD.js";
13
12
  import {
14
13
  PermissionError
15
- } from "./chunk-533JK3YX.js";
14
+ } from "./chunk-NXRKDG6E.js";
16
15
 
17
16
  // src/core/te-agent-credentials.ts
18
17
  import { readFileSync } from "fs";
@@ -109,6 +108,17 @@ import { open, unlink } from "fs/promises";
109
108
  import path from "path";
110
109
  import { Readable } from "stream";
111
110
  import { pipeline } from "stream/promises";
111
+
112
+ // src/core/te-claude-base-url.ts
113
+ function resolveTeClaudeBaseUrl(host) {
114
+ const base = host.replace(/\/+$/, "");
115
+ const configured = (process.env.TE_CLAUDE_BASE_PATH ?? process.env.AE_API_PREFIX ?? "/agent").trim();
116
+ const path2 = configured.replace(/^\/+|\/+$/g, "");
117
+ const basePath = path2 ? `/${path2}` : "";
118
+ return basePath && !base.endsWith(basePath) ? `${base}${basePath}` : base;
119
+ }
120
+
121
+ // src/core/te-agent-client.ts
112
122
  var TeAgentApiError = class extends Error {
113
123
  constructor(message, status, code, body) {
114
124
  super(message);
@@ -170,9 +180,7 @@ function teClaudeBaseFromActiveHost(hostOverride) {
170
180
  if (override) return override.replace(/\/+$/, "");
171
181
  const h = hostOverride || getActiveHost();
172
182
  if (!h) return void 0;
173
- const base = h.replace(/\/+$/, "");
174
- const bp = process.env.TE_CLAUDE_BASE_PATH || "/agent";
175
- return base.endsWith(bp) ? base : base + bp;
183
+ return resolveTeClaudeBaseUrl(h);
176
184
  }
177
185
  async function signRequest(method, path2, hostOverride, includeJsonContentType = true) {
178
186
  const sandboxCred = tryLoadTeAgentSandboxCredentials();
@@ -211,34 +219,22 @@ async function signRequest(method, path2, hostOverride, includeJsonContentType =
211
219
  tokenHost: hostForToken
212
220
  };
213
221
  }
214
- async function fetchSignedWithRetry(options) {
215
- let signed = await signRequest(
222
+ async function fetchSigned(options) {
223
+ const signed = await signRequest(
216
224
  options.method,
217
225
  options.path,
218
226
  options.hostOverride,
219
227
  options.includeJsonContentType
220
228
  );
221
- const request = (requestToSend) => fetchWithTimeout(
222
- requestToSend.url,
229
+ return fetchWithTimeout(
230
+ signed.url,
223
231
  {
224
232
  method: options.method,
225
- headers: requestToSend.headers,
233
+ headers: signed.headers,
226
234
  body: options.body
227
235
  },
228
236
  options.timeoutMs
229
237
  );
230
- let response = await request(signed);
231
- if (response.status === 401 && signed.authKind === "cli-token" && signed.tokenHost) {
232
- clearCliToken(signed.tokenHost);
233
- signed = await signRequest(
234
- options.method,
235
- options.path,
236
- options.hostOverride,
237
- options.includeJsonContentType
238
- );
239
- response = await request(signed);
240
- }
241
- return response;
242
238
  }
243
239
  function errorDetails(parsed, defaultErrorPrefix, status) {
244
240
  const nested = parsed && typeof parsed === "object" && parsed.error && typeof parsed.error === "object" ? parsed.error : parsed;
@@ -276,7 +272,7 @@ async function parseResponse(response, defaultErrorPrefix) {
276
272
  }
277
273
  async function postToMainApp(path2, body, hostOverride) {
278
274
  const rawBody = JSON.stringify(body);
279
- const response = await fetchSignedWithRetry({
275
+ const response = await fetchSigned({
280
276
  method: "POST",
281
277
  path: path2,
282
278
  body: rawBody,
@@ -285,7 +281,7 @@ async function postToMainApp(path2, body, hostOverride) {
285
281
  return parseResponse(response, "Main app returned");
286
282
  }
287
283
  async function getFromMainApp(path2, hostOverride) {
288
- const response = await fetchSignedWithRetry({
284
+ const response = await fetchSigned({
289
285
  method: "GET",
290
286
  path: path2,
291
287
  hostOverride
@@ -319,7 +315,7 @@ async function postSandboxSyncPull(args) {
319
315
  });
320
316
  }
321
317
  async function deleteFromMainApp(path2, hostOverride) {
322
- const response = await fetchSignedWithRetry({
318
+ const response = await fetchSigned({
323
319
  method: "DELETE",
324
320
  path: path2,
325
321
  hostOverride
@@ -328,7 +324,7 @@ async function deleteFromMainApp(path2, hostOverride) {
328
324
  }
329
325
  async function patchToMainApp(path2, body, hostOverride) {
330
326
  const rawBody = JSON.stringify(body);
331
- const response = await fetchSignedWithRetry({
327
+ const response = await fetchSigned({
332
328
  method: "PATCH",
333
329
  path: path2,
334
330
  body: rawBody,
@@ -338,7 +334,7 @@ async function patchToMainApp(path2, body, hostOverride) {
338
334
  }
339
335
  async function putToMainApp(path2, body, hostOverride) {
340
336
  const rawBody = JSON.stringify(body);
341
- const response = await fetchSignedWithRetry({
337
+ const response = await fetchSigned({
342
338
  method: "PUT",
343
339
  path: path2,
344
340
  body: rawBody,
@@ -347,7 +343,7 @@ async function putToMainApp(path2, body, hostOverride) {
347
343
  return parseResponse(response, "Main app returned");
348
344
  }
349
345
  async function getBufferFromMainApp(path2, hostOverride) {
350
- const response = await fetchSignedWithRetry({
346
+ const response = await fetchSigned({
351
347
  method: "GET",
352
348
  path: path2,
353
349
  hostOverride
@@ -411,7 +407,7 @@ async function downloadFromMainApp(requestPath, outputPath, hostOverride) {
411
407
  "OUTPUT_ERROR"
412
408
  );
413
409
  }
414
- let signed = await signRequest("GET", requestPath, hostOverride);
410
+ const signed = await signRequest("GET", requestPath, hostOverride);
415
411
  let response;
416
412
  const request = async (requestToSend) => {
417
413
  try {
@@ -432,11 +428,6 @@ async function downloadFromMainApp(requestPath, outputPath, hostOverride) {
432
428
  }
433
429
  };
434
430
  response = await request(signed);
435
- if (response.status === 401 && signed.authKind === "cli-token" && signed.tokenHost) {
436
- clearCliToken(signed.tokenHost);
437
- signed = await signRequest("GET", requestPath, hostOverride);
438
- response = await request(signed);
439
- }
440
431
  if (!response.ok) {
441
432
  await parseResponse(response, "Main app returned");
442
433
  }
@@ -479,7 +470,7 @@ async function downloadFromMainApp(requestPath, outputPath, hostOverride) {
479
470
  }
480
471
  }
481
472
  async function uploadToMainApp(path2, formData, hostOverride) {
482
- const response = await fetchSignedWithRetry({
473
+ const response = await fetchSigned({
483
474
  method: "POST",
484
475
  path: path2,
485
476
  body: formData,
@@ -494,6 +485,7 @@ export {
494
485
  TeAgentCredentialsError,
495
486
  tryLoadTeAgentSandboxCredentials,
496
487
  getClaudeConfigDir,
488
+ resolveTeClaudeBaseUrl,
497
489
  TeAgentApiError,
498
490
  postToMainApp,
499
491
  getFromMainApp,
@@ -1,20 +1,20 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
2
  import {
3
- readOutputMetadata,
4
- unwrapOutputData,
5
- withOutputMetadata
6
- } from "./chunk-KEWVSO64.js";
3
+ resolveGatewayDomain
4
+ } from "./chunk-TKHSULJT.js";
7
5
  import {
8
6
  CapabilityGatewayError,
9
7
  fetchCapabilityGateway,
10
8
  requestCapabilityGateway
11
- } from "./chunk-GJXRF7Y6.js";
9
+ } from "./chunk-6MXFJVNP.js";
12
10
  import {
13
- resolveGatewayDomain
14
- } from "./chunk-TKHSULJT.js";
11
+ readOutputMetadata,
12
+ unwrapOutputData,
13
+ withOutputMetadata
14
+ } from "./chunk-ZCM47ROU.js";
15
15
  import {
16
16
  PermissionError
17
- } from "./chunk-533JK3YX.js";
17
+ } from "./chunk-NXRKDG6E.js";
18
18
 
19
19
  // src/core/analysis-async-artifact.ts
20
20
  import { randomBytes } from "crypto";
@@ -1,17 +1,17 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  CapabilityGatewayError
4
- } from "./chunk-GJXRF7Y6.js";
4
+ } from "./chunk-6MXFJVNP.js";
5
5
  import {
6
- clearCliToken,
6
+ SecureStoreAuthError,
7
7
  getCliToken
8
- } from "./chunk-RWXIXOZG.js";
8
+ } from "./chunk-Y3S2KNNR.js";
9
9
  import {
10
10
  safeJsonParse
11
- } from "./chunk-KZ6ZHF5J.js";
11
+ } from "./chunk-ARTIHWVD.js";
12
12
  import {
13
13
  PermissionError
14
- } from "./chunk-533JK3YX.js";
14
+ } from "./chunk-NXRKDG6E.js";
15
15
 
16
16
  // src/core/mcp-access.ts
17
17
  function buildUrl(host, path, params = {}) {
@@ -73,7 +73,7 @@ function nonOkResponseError(resp, data, options) {
73
73
  const fallbackMessage = `KB API HTTP error: ${responseStatus(resp)}`;
74
74
  const businessCode = options.preserveBusinessErrorCode && typeof data?.error === "string" && metadata.code ? metadata.code : void 0;
75
75
  const message = businessCode ? `${businessCode}: ${serverMessage ?? fallbackMessage}` : serverMessage ?? fallbackMessage;
76
- if (metadata.code || metadata.hint) {
76
+ if (options.preserveErrorMetadata !== false && (metadata.code || metadata.hint)) {
77
77
  return new KbHttpError(message, metadata.code, resp.status, metadata.hint);
78
78
  }
79
79
  return new Error(message);
@@ -137,18 +137,28 @@ async function fetchWithCliToken(input, init, cliToken, options = {}) {
137
137
  const headers = new Headers(init.headers);
138
138
  headers.set("cli-token", cliToken);
139
139
  const resp = await fetch(input, { ...init, headers });
140
+ if (options.responseType === "bytes" && resp.ok) {
141
+ if (resp.headers.get("content-type")?.includes("application/json")) {
142
+ parseKbResponse(resp, await resp.text(), options);
143
+ throw new Error("KB raw-file protocol error: unexpected JSON response");
144
+ }
145
+ return {
146
+ bytes: new Uint8Array(await resp.arrayBuffer()),
147
+ contentType: resp.headers.get("content-type") ?? "application/octet-stream"
148
+ };
149
+ }
140
150
  return parseKbResponse(resp, await resp.text(), options);
141
151
  }
142
152
  async function requestWithCliToken(host, input, init, options) {
143
- const request = async () => fetchWithCliToken(input, init, await getCliToken(host), options);
144
153
  try {
145
- return await request();
154
+ return await fetchWithCliToken(input, init, await getCliToken(host), options);
146
155
  } catch (error) {
147
- if (!(error instanceof KbUnauthorizedError) || !options.retryUnauthorized) {
148
- throw error;
156
+ if (error instanceof KbUnauthorizedError) {
157
+ throw new SecureStoreAuthError(
158
+ `The stored CLI token for ${host} is invalid or expired. Run: ae-cli auth login --host ${host}`
159
+ );
149
160
  }
150
- clearCliToken(host);
151
- return request();
161
+ throw error;
152
162
  }
153
163
  }
154
164
  async function getAuthHeaders(ctx) {
@@ -173,6 +183,7 @@ async function kbApi(ctx, method, path, params = {}, body, options = {}) {
173
183
  }
174
184
  async function kbUpload(ctx, path, form, params = {}, options = {}) {
175
185
  const host = ctx.host();
186
+ const uploadOptions = { preserveErrorMetadata: false, ...options };
176
187
  return requestWithCliToken(
177
188
  host,
178
189
  buildUrl(host, path, params),
@@ -180,7 +191,7 @@ async function kbUpload(ctx, path, form, params = {}, options = {}) {
180
191
  method: "POST",
181
192
  body: form
182
193
  },
183
- options
194
+ uploadOptions
184
195
  );
185
196
  }
186
197
 
@@ -33,8 +33,24 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
 
34
34
  // src/core/logger.ts
35
35
  import fs from "fs";
36
+ import path2 from "path";
37
+
38
+ // src/core/config-dir.ts
36
39
  import path from "path";
37
- var LOG_DIR = path.join(process.env.HOME || "", ".ae-cli", "log");
40
+ var CONFIG_DIR_ENV = "AE_CLI_CONFIG_DIR";
41
+ function hasConfigDirOverride() {
42
+ return Boolean(process.env[CONFIG_DIR_ENV]?.trim());
43
+ }
44
+ function getConfigDir() {
45
+ const home = process.env.HOME || "";
46
+ const configured = process.env[CONFIG_DIR_ENV]?.trim();
47
+ if (!configured) return path.join(home, ".ae-cli");
48
+ const expanded = configured.replace(/^\$\{HOME\}(?=\/|$)/, home).replace(/^\$HOME(?=\/|$)/, home);
49
+ return path.resolve(expanded);
50
+ }
51
+
52
+ // src/core/logger.ts
53
+ var LOG_DIR = path2.join(getConfigDir(), "log");
38
54
  var Logger = class {
39
55
  logDir;
40
56
  date;
@@ -60,7 +76,7 @@ var Logger = class {
60
76
  if (today !== this.date) {
61
77
  this.date = today;
62
78
  }
63
- return path.join(this.logDir, `${this.date}_${level}.log`);
79
+ return path2.join(this.logDir, `${this.date}_${level}.log`);
64
80
  }
65
81
  /**
66
82
  * Write a log entry to file (not printed to the console; console output is handled by existing process.stderr.write calls)
@@ -114,9 +130,79 @@ var Logger = class {
114
130
  };
115
131
  var logger = new Logger();
116
132
 
133
+ // src/core/errors.ts
134
+ var PermissionError = class extends Error {
135
+ constructor(message, code, hint) {
136
+ super(message);
137
+ this.code = code;
138
+ this.hint = hint;
139
+ this.name = "PermissionError";
140
+ }
141
+ code;
142
+ hint;
143
+ };
144
+ var CliValidationError = class extends Error {
145
+ code;
146
+ hint;
147
+ location;
148
+ constructor(message, options = {}) {
149
+ super(message);
150
+ this.name = "CliValidationError";
151
+ this.code = options.code;
152
+ this.hint = options.hint;
153
+ if (options.location) {
154
+ const location = {};
155
+ if (typeof options.location.segment === "number" && Number.isFinite(options.location.segment)) {
156
+ location.segment = options.location.segment;
157
+ }
158
+ if (typeof options.location.record === "number" && Number.isFinite(options.location.record)) {
159
+ location.record = options.location.record;
160
+ }
161
+ if (typeof options.location.field === "string" && options.location.field.length > 0) {
162
+ location.field = options.location.field;
163
+ }
164
+ if (Object.keys(location).length > 0) this.location = location;
165
+ }
166
+ }
167
+ };
168
+ var CommunityReportError = class extends Error {
169
+ code;
170
+ httpStatus;
171
+ hint;
172
+ meta;
173
+ constructor(message, options = {}) {
174
+ super(message, options.cause === void 0 ? void 0 : { cause: options.cause });
175
+ this.name = "CommunityReportError";
176
+ this.code = options.code;
177
+ this.httpStatus = options.httpStatus;
178
+ this.hint = options.hint;
179
+ this.meta = options.meta;
180
+ }
181
+ };
182
+ var LocalDataUploadError = class extends Error {
183
+ code;
184
+ httpStatus;
185
+ hint;
186
+ meta;
187
+ constructor(message, options = {}) {
188
+ super(message, options.cause === void 0 ? void 0 : { cause: options.cause });
189
+ this.name = "LocalDataUploadError";
190
+ this.code = options.code;
191
+ this.httpStatus = options.httpStatus;
192
+ this.hint = options.hint;
193
+ this.meta = options.meta;
194
+ }
195
+ };
196
+
117
197
  export {
118
198
  __require,
119
199
  __commonJS,
120
200
  __toESM,
121
- logger
201
+ hasConfigDirOverride,
202
+ getConfigDir,
203
+ logger,
204
+ PermissionError,
205
+ CliValidationError,
206
+ CommunityReportError,
207
+ LocalDataUploadError
122
208
  };
@@ -1,15 +1,15 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
2
  import {
3
- withOutputMetadata
4
- } from "./chunk-KEWVSO64.js";
3
+ resolveGatewayDomain
4
+ } from "./chunk-TKHSULJT.js";
5
5
  import {
6
6
  dryRunCapability,
7
7
  executeCapabilityWithEnvelope,
8
8
  validateCapability
9
- } from "./chunk-GJXRF7Y6.js";
9
+ } from "./chunk-6MXFJVNP.js";
10
10
  import {
11
- resolveGatewayDomain
12
- } from "./chunk-TKHSULJT.js";
11
+ withOutputMetadata
12
+ } from "./chunk-ZCM47ROU.js";
13
13
 
14
14
  // src/core/capability-command.ts
15
15
  import { randomBytes } from "crypto";
@@ -3,12 +3,12 @@ import {
3
3
  require_inherits,
4
4
  require_lib,
5
5
  require_node
6
- } from "./chunk-B5HMQAOM.js";
6
+ } from "./chunk-UL6SJDYE.js";
7
7
  import {
8
8
  __commonJS,
9
9
  __require,
10
10
  __toESM
11
- } from "./chunk-FR2EDAQM.js";
11
+ } from "./chunk-NXRKDG6E.js";
12
12
 
13
13
  // node_modules/exceljs/lib/utils/under-dash.js
14
14
  var require_under_dash = __commonJS({
@@ -2,7 +2,7 @@ import { createRequire as __createRequire } from 'node:module'; const require =
2
2
  import {
3
3
  __commonJS,
4
4
  __require
5
- } from "./chunk-FR2EDAQM.js";
5
+ } from "./chunk-NXRKDG6E.js";
6
6
 
7
7
  // node_modules/process-nextick-args/index.js
8
8
  var require_process_nextick_args = __commonJS({