@thinkingai/ae-cli 6.1.18 → 6.1.20

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 (127) hide show
  1. package/README.md +97 -38
  2. package/README.zh.md +101 -38
  3. package/dist/{auth-ROB2EDYV.js → auth-FUM37MHF.js} +241 -126
  4. package/dist/{capability-DKMYUTLC.js → capability-AXFQW5WM.js} +49 -35
  5. package/dist/{chunk-JHENBQ5B.js → chunk-4P355ZWB.js} +70 -1
  6. package/dist/chunk-6ZIQV5GW.js +26 -0
  7. package/dist/{chunk-TUKQZTMI.js → chunk-7K24F7T2.js} +2 -0
  8. package/dist/{chunk-OO6XR6LK.js → chunk-AMBFK2K3.js} +2 -0
  9. package/dist/chunk-ATSM5XAW.js +623 -0
  10. package/dist/{chunk-4XXOWOTA.js → chunk-BBEFP4SB.js} +31 -38
  11. package/dist/{chunk-BYYS3ANB.js → chunk-CZU3V3DQ.js} +5 -15
  12. package/dist/{chunk-VTWMIC5L.js → chunk-E2JKXMVO.js} +2 -0
  13. package/dist/chunk-ECBLHAZO.js +15 -0
  14. package/dist/{sync-HKIOZXQE.js → chunk-I4WQAEYB.js} +31 -540
  15. package/dist/{chunk-DWO43OIB.js → chunk-JQ3ENZZH.js} +2 -0
  16. package/dist/chunk-LNZBEQXW.js +25216 -0
  17. package/dist/{chunk-ZQ47LWTI.js → chunk-QJQZH5GQ.js} +49 -79
  18. package/dist/{chunk-QZ3AS4KK.js → chunk-RSG4ONOI.js} +9 -8
  19. package/dist/{chunk-4NN5IWVN.js → chunk-T6OSFQZD.js} +2 -0
  20. package/dist/{chunk-Y3LOALAV.js → chunk-TAL6CZH6.js} +8 -7
  21. package/dist/{chunk-3KWQYGYI.js → chunk-TKHSULJT.js} +2 -0
  22. package/dist/chunk-VXNMYUXU.js +202 -0
  23. package/dist/{chunk-3FY3RJ26.js → chunk-WZ6YVQSF.js} +15 -14
  24. package/dist/{chunk-6EIJSNBD.js → chunk-Y74WTIKJ.js} +2 -0
  25. package/dist/{community-report-client-C7WDGET3.js → community-report-client-XXWGSBSD.js} +3 -4
  26. package/dist/{config-BMYZX2UE.js → config-EXUGQN5T.js} +10 -10
  27. package/dist/{data-integration-QEKDWQDY.js → data-integration-4NZ53OMT.js} +920 -97
  28. package/dist/index.js +56 -81
  29. package/dist/{local-data-upload-client-4YYHSYD6.js → local-data-upload-client-KYOKVYZV.js} +3 -4
  30. package/dist/{memory-I2WXDTV2.js → memory-ATNKZNW5.js} +6 -7
  31. package/dist/{metadata-I4C2EWUN.js → metadata-VZVC7YMH.js} +10 -11
  32. package/dist/{model-HLHIEFMU.js → model-E4JMQ4V2.js} +8 -9
  33. package/dist/{personal-semantic-preference-LIPACBDX.js → personal-semantic-preference-7S2SQ3UV.js} +9 -10
  34. package/dist/{project-semantic-RT3R2VQD.js → project-semantic-2SZP2OPO.js} +13 -14
  35. package/dist/sync-YV3E66IF.js +520 -0
  36. package/dist/{te-agent-BR6VDBNX.js → te-agent-JB5T3PO7.js} +396 -92
  37. package/dist/{te-analysis-7VUNUYWZ.js → te-analysis-3YJAAT2D.js} +196 -43
  38. package/dist/{te-community-5DMNKJWY.js → te-community-UDBI672N.js} +12 -34
  39. package/dist/{te-dataops-6P5IKWNJ.js → te-dataops-ZLYOCXZ4.js} +480 -81
  40. package/dist/{te-engage-KZPR5R22.js → te-engage-4XG6OJML.js} +88 -16
  41. package/dist/{te-experiment-6BITX4RD.js → te-experiment-VXUWPINJ.js} +83 -12
  42. package/dist/te-kb-WYQWHFSC.js +1732 -0
  43. package/dist/{te-system-FXITO2JG.js → te-system-7G6F2LJA.js} +569 -35
  44. package/dist/{te-team-ADOC2ROP.js → te-team-E7FBBXMQ.js} +8 -7
  45. package/dist/{update-YCYCKJOO.js → update-D47BUG25.js} +8 -8
  46. package/package.json +22 -10
  47. package/skills/ae-agent/SKILL.md +30 -13
  48. package/skills/ae-agent/references/agent-distribution.md +94 -0
  49. package/skills/ae-agent/references/approval-request.md +4 -0
  50. package/skills/ae-agent/references/command_index.md +9 -2
  51. package/skills/ae-agent/references/create-automation.md +20 -2
  52. package/skills/ae-agent/references/get-agent-context.md +70 -0
  53. package/skills/ae-agent/references/list-automations.md +18 -3
  54. package/skills/ae-agent/references/list-mcp-credentials.md +1 -1
  55. package/skills/ae-agent/references/mcp-token.md +3 -3
  56. package/skills/ae-agent/references/set-mcp-credential.md +0 -1
  57. package/skills/ae-agent/references/update-automation.md +18 -0
  58. package/skills/ae-analysis/SKILL.md +11 -2
  59. package/skills/ae-analysis/references/adhoc_run.md +2 -0
  60. package/skills/ae-analysis/references/ai_models.md +23 -3
  61. package/skills/ae-analysis/references/analysis_gateway_assets.md +3 -3
  62. package/skills/ae-analysis/references/audience_models.md +18 -0
  63. package/skills/ae-analysis/references/command_index.md +9 -9
  64. package/skills/ae-analysis/references/cross_source_config.md +84 -0
  65. package/skills/ae-analysis/references/dashboard_update.md +1 -1
  66. package/skills/ae-analysis/references/project_timezone_update.md +13 -4
  67. package/skills/ae-analysis/references/property_create.md +2 -0
  68. package/skills/ae-analysis/references/super_metadata_batch_create.md +2 -0
  69. package/skills/ae-analysis/references/user_cluster_models.md +2 -0
  70. package/skills/ae-analysis/references/user_cluster_update.md +8 -4
  71. package/skills/ae-analysis/references/user_tag_create.md +30 -2
  72. package/skills/ae-analysis/references/user_tag_models.md +17 -3
  73. package/skills/ae-analysis/references/user_tag_update.md +14 -2
  74. package/skills/ae-data-integration/SKILL.md +3 -1
  75. package/skills/ae-data-integration/references/dimension-routing.md +36 -0
  76. package/skills/ae-data-integration/references/error-handling.md +54 -1
  77. package/skills/ae-data-integration/references/local-analysis.md +2 -0
  78. package/skills/ae-data-integration/references/source-inspect.md +18 -2
  79. package/skills/ae-data-integration/references/tracking-plan.md +1 -1
  80. package/skills/ae-data-integration/references/transform.md +4 -2
  81. package/skills/ae-data-integration/references/ue-mapping.md +5 -2
  82. package/skills/ae-data-integration/references/ue-routing.md +40 -1
  83. package/skills/ae-dataops/SKILL.md +11 -1
  84. package/skills/ae-dataops/references/dataops-backfill.md +135 -0
  85. package/skills/ae-engage/SKILL.md +5 -0
  86. package/skills/ae-engage/references/build-task-save-guide.md +5 -1
  87. package/skills/ae-engage/references/save-flow.md +37 -1
  88. package/skills/ae-engage/references/save-task.md +6 -0
  89. package/skills/ae-experiment/SKILL.md +6 -2
  90. package/skills/ae-experiment/references/save_metric.md +20 -8
  91. package/skills/ae-generate-tracking-plan/SKILL.md +25 -13
  92. package/skills/ae-generate-tracking-plan/references/business-dimension-mapping.md +1 -1
  93. package/skills/ae-kb/SKILL.md +218 -36
  94. package/skills/ae-kb/references/query-workflow.md +59 -29
  95. package/skills/ae-kb/references/versions.md +46 -0
  96. package/skills/ae-system/SKILL.md +29 -31
  97. package/skills/ae-system/references/channel-management.md +303 -0
  98. package/skills/ae-use-agent/SKILL.md +42 -0
  99. package/skills/ae-use-agent/references/local-agent.md +114 -0
  100. package/dist/auth-GBMV6TEJ.js +0 -14
  101. package/dist/capability-HYVVPG25.js +0 -352
  102. package/dist/chunk-EFH4XWYC.js +0 -556
  103. package/dist/chunk-J2DEBMRF.js +0 -313
  104. package/dist/chunk-JRJY5DMJ.js +0 -71
  105. package/dist/chunk-OMPRXM3V.js +0 -349
  106. package/dist/chunk-QNOLN2LJ.js +0 -509
  107. package/dist/chunk-RJDU7NYP.js +0 -1198
  108. package/dist/chunk-RNAALWJK.js +0 -98
  109. package/dist/chunk-SERWF6G5.js +0 -13
  110. package/dist/chunk-UW5UN47B.js +0 -70
  111. package/dist/chunk-ZQKDZXDO.js +0 -317
  112. package/dist/client-L2YDMHQ6.js +0 -203
  113. package/dist/memory-3ORCR7JH.js +0 -893
  114. package/dist/metadata-VUOQJE26.js +0 -339
  115. package/dist/model-UGRDX4MW.js +0 -139
  116. package/dist/personal-semantic-preference-OEISBRHM.js +0 -239
  117. package/dist/project-semantic-FFPWFPIW.js +0 -1114
  118. package/dist/sync-TFHU2UTG.js +0 -10261
  119. package/dist/te-agent-VLYOV7S4.js +0 -3894
  120. package/dist/te-analysis-4YGQL5RC.js +0 -9357
  121. package/dist/te-community-ISDQWJU7.js +0 -1859
  122. package/dist/te-dataops-CVULXNVB.js +0 -2209
  123. package/dist/te-engage-N5WI32H6.js +0 -4898
  124. package/dist/te-experiment-UVR4HLND.js +0 -988
  125. package/dist/te-kb-RCLSSH2Q.js +0 -935
  126. package/dist/te-system-K2GYMCTB.js +0 -2213
  127. package/skills/ae-agent/references/auto-provision-mcp-credentials.md +0 -57
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
1
2
  import {
2
3
  allHeaderNames,
3
4
  allSheetNames,
@@ -10,51 +11,49 @@ import {
10
11
  validateAndFix,
11
12
  validateDraft,
12
13
  writeDraftXlsx
13
- } from "./chunk-RJDU7NYP.js";
14
+ } from "./chunk-LNZBEQXW.js";
14
15
  import {
15
16
  getLocalCliPackageInfo
16
- } from "./chunk-VTWMIC5L.js";
17
+ } from "./chunk-E2JKXMVO.js";
17
18
  import {
18
19
  requiresConfirmation
19
- } from "./chunk-OO6XR6LK.js";
20
+ } from "./chunk-AMBFK2K3.js";
21
+ import "./chunk-I4WQAEYB.js";
20
22
  import {
21
23
  TeAgentApiError,
22
24
  TeAgentCredentialsError
23
- } from "./chunk-QNOLN2LJ.js";
24
- import {
25
- formatCapabilityMissCompatHint,
26
- printError,
27
- printOutput,
28
- runHostCompatCheck
29
- } from "./chunk-BYYS3ANB.js";
25
+ } from "./chunk-BBEFP4SB.js";
30
26
  import {
31
27
  CapabilityGatewayError,
32
28
  executeCapability,
33
29
  uploadInputFileBytes
34
- } from "./chunk-OMPRXM3V.js";
35
- import "./chunk-6EIJSNBD.js";
30
+ } from "./chunk-QJQZH5GQ.js";
36
31
  import {
37
- clearCliToken,
38
- getCliToken
39
- } from "./chunk-J2DEBMRF.js";
32
+ resolveHost
33
+ } from "./chunk-ECBLHAZO.js";
34
+ import {
35
+ formatCapabilityMissCompatHint,
36
+ printError,
37
+ printOutput,
38
+ runHostCompatCheck
39
+ } from "./chunk-CZU3V3DQ.js";
40
+ import "./chunk-Y74WTIKJ.js";
40
41
  import {
41
42
  SecureStoreAuthError,
42
- resolveHost
43
- } from "./chunk-ZQKDZXDO.js";
43
+ getCliToken
44
+ } from "./chunk-ATSM5XAW.js";
44
45
  import {
45
46
  getActiveHost,
46
47
  getConfigDir,
47
48
  safeJsonParse
48
- } from "./chunk-3FY3RJ26.js";
49
+ } from "./chunk-WZ6YVQSF.js";
49
50
  import {
50
51
  CliValidationError,
51
52
  CommunityReportError,
52
53
  LocalDataUploadError,
53
- PermissionError
54
- } from "./chunk-UW5UN47B.js";
55
- import {
54
+ PermissionError,
56
55
  logger
57
- } from "./chunk-JHENBQ5B.js";
56
+ } from "./chunk-4P355ZWB.js";
58
57
 
59
58
  // src/index.ts
60
59
  import { Command as CommanderCommand } from "commander";
@@ -247,7 +246,7 @@ async function runCommand(cmd, opts, globalOpts) {
247
246
  "api",
248
247
  presentation.message ?? message,
249
248
  presentation.hint,
250
- presentation.code,
249
+ presentation.code ?? err.code,
251
250
  presentation.meta
252
251
  );
253
252
  }
@@ -295,28 +294,24 @@ function looksLikeAuthFailure(message) {
295
294
  return m.includes("401") || m.includes("unauthorized") || m.includes("session expired") || m.includes("invalid access token") || m.includes("-1001") || m.includes("\u767B\u5F55") || m.includes("ae-cli auth login");
296
295
  }
297
296
  function createRuntimeContext(cmd, opts, globalOpts) {
298
- let _clientModule = null;
299
- async function getClient() {
300
- if (!_clientModule) {
301
- _clientModule = await import("./client-L2YDMHQ6.js");
302
- }
303
- return _clientModule;
304
- }
305
297
  let _communityReportModule = null;
306
298
  async function getCommunityReportClient() {
307
299
  if (!_communityReportModule) {
308
- _communityReportModule = await import("./community-report-client-C7WDGET3.js");
300
+ _communityReportModule = await import("./community-report-client-XXWGSBSD.js");
309
301
  }
310
302
  return _communityReportModule;
311
303
  }
312
304
  let _localDataUploadModule = null;
313
305
  async function getLocalDataUploadClient() {
314
306
  if (!_localDataUploadModule) {
315
- _localDataUploadModule = await import("./local-data-upload-client-4YYHSYD6.js");
307
+ _localDataUploadModule = await import("./local-data-upload-client-KYOKVYZV.js");
316
308
  }
317
309
  return _localDataUploadModule;
318
310
  }
319
311
  const ctx = {
312
+ has(name) {
313
+ return Object.prototype.hasOwnProperty.call(opts, camelCase(name));
314
+ },
320
315
  str(name) {
321
316
  return String(opts[camelCase(name)] ?? "");
322
317
  },
@@ -349,34 +344,14 @@ function createRuntimeContext(cmd, opts, globalOpts) {
349
344
  if (val === void 0 || val === null || val === "") return [];
350
345
  return [String(val)];
351
346
  },
352
- async api(method, path4, params, data) {
353
- const client = await getClient();
354
- if (method.toUpperCase() === "GET") {
355
- return client.httpGet(path4, params, ctx.host());
356
- } else {
357
- return client.httpRequest(method, path4, params, data, ctx.host());
358
- }
359
- },
360
347
  async communityReport(endpoint, rawBody) {
361
348
  const client = await getCommunityReportClient();
362
349
  return client.communityReport(endpoint, rawBody);
363
350
  },
364
- async querySql(projectId, sql) {
365
- const client = await getClient();
366
- return client.querySql(projectId, sql, ctx.host());
367
- },
368
- async queryReportData(projectId, reportId, qp, eventModel, options) {
369
- const client = await getClient();
370
- return client.queryReportData(projectId, reportId, qp, eventModel, options, ctx.host());
371
- },
372
351
  async localDataUpload(endpoint, rawBody, options) {
373
352
  const client = await getLocalDataUploadClient();
374
353
  return client.localDataUpload(endpoint, rawBody, options);
375
354
  },
376
- async token() {
377
- const { getToken } = await import("./auth-GBMV6TEJ.js");
378
- return getToken(ctx.host());
379
- },
380
355
  host() {
381
356
  if (globalOpts.host) return globalOpts.host;
382
357
  return getActiveHost();
@@ -628,7 +603,7 @@ var TrackingClient = class {
628
603
  async resolveCliToken() {
629
604
  return this.cliToken ?? getCliToken(this.host);
630
605
  }
631
- async requestJson(modulePath, params = {}, body, method = body === void 0 ? "GET" : "POST", retry = true) {
606
+ async requestJson(modulePath, params = {}, body, method = body === void 0 ? "GET" : "POST") {
632
607
  const token = await this.resolveCliToken();
633
608
  const url = buildUrl(this.host, modulePath, params);
634
609
  const headers = {
@@ -643,10 +618,10 @@ var TrackingClient = class {
643
618
  const resp = await fetch(url, init);
644
619
  const env = safeJsonParse(await resp.text());
645
620
  logger.api(method, url, resp.status, body, env);
646
- if (resp.status === 401 && retry) {
647
- clearCliToken(this.host);
648
- this.cliToken = await getCliToken(this.host);
649
- return this.requestJson(modulePath, params, body, method, false);
621
+ if (resp.status === 401) {
622
+ throw new SecureStoreAuthError(
623
+ `The stored CLI token for ${this.host} is invalid or expired. Run: ae-cli auth login --host ${this.host}`
624
+ );
650
625
  }
651
626
  if (resp.status === 403) {
652
627
  throw new Error(env?.return_message || "Permission denied");
@@ -654,10 +629,10 @@ var TrackingClient = class {
654
629
  if (!resp.ok) {
655
630
  throw new Error(`AE API HTTP error: ${resp.status} ${resp.statusText}`);
656
631
  }
657
- if (env?.return_code === -1001 && retry) {
658
- clearCliToken(this.host);
659
- this.cliToken = await getCliToken(this.host);
660
- return this.requestJson(modulePath, params, body, method, false);
632
+ if (env?.return_code === -1001) {
633
+ throw new SecureStoreAuthError(
634
+ `The stored CLI token for ${this.host} is invalid or expired. Run: ae-cli auth login --host ${this.host}`
635
+ );
661
636
  }
662
637
  if (env?.return_code !== 0 && env?.return_code !== void 0) {
663
638
  throw new Error(env.return_message || `AE API error (code: ${env.return_code})`);
@@ -2351,72 +2326,72 @@ program.name("ae-cli").version(version).description("CLI tool for ThinkingAI (AE
2351
2326
  async function loadCommands() {
2352
2327
  const commands = [];
2353
2328
  try {
2354
- const teAnalysis = await import("./te-analysis-7VUNUYWZ.js");
2329
+ const teAnalysis = await import("./te-analysis-3YJAAT2D.js");
2355
2330
  commands.push(...teAnalysis.default);
2356
2331
  } catch {
2357
2332
  }
2358
2333
  try {
2359
- const engage = await import("./te-engage-N5WI32H6.js");
2334
+ const engage = await import("./te-engage-4XG6OJML.js");
2360
2335
  commands.push(...engage.default);
2361
2336
  } catch {
2362
2337
  }
2363
2338
  try {
2364
- const experiment = await import("./te-experiment-6BITX4RD.js");
2339
+ const experiment = await import("./te-experiment-VXUWPINJ.js");
2365
2340
  commands.push(...experiment.default);
2366
2341
  } catch {
2367
2342
  }
2368
2343
  try {
2369
- const community = await import("./te-community-5DMNKJWY.js");
2344
+ const community = await import("./te-community-UDBI672N.js");
2370
2345
  commands.push(...community.default);
2371
2346
  } catch {
2372
2347
  }
2373
2348
  try {
2374
- const dataops = await import("./te-dataops-CVULXNVB.js");
2349
+ const dataops = await import("./te-dataops-ZLYOCXZ4.js");
2375
2350
  commands.push(...dataops.default);
2376
2351
  } catch {
2377
2352
  }
2378
2353
  try {
2379
- const teKb = await import("./te-kb-RCLSSH2Q.js");
2354
+ const teKb = await import("./te-kb-WYQWHFSC.js");
2380
2355
  commands.push(...teKb.default);
2381
2356
  } catch {
2382
2357
  }
2383
2358
  try {
2384
- const teTeam = await import("./te-team-ADOC2ROP.js");
2359
+ const teTeam = await import("./te-team-E7FBBXMQ.js");
2385
2360
  commands.push(...teTeam.default);
2386
2361
  } catch {
2387
2362
  }
2388
2363
  try {
2389
- const teAgent = await import("./te-agent-VLYOV7S4.js");
2364
+ const teAgent = await import("./te-agent-JB5T3PO7.js");
2390
2365
  commands.push(...teAgent.default);
2391
2366
  } catch {
2392
2367
  }
2393
2368
  try {
2394
- const memory = await import("./memory-I2WXDTV2.js");
2369
+ const memory = await import("./memory-ATNKZNW5.js");
2395
2370
  commands.push(...memory.default);
2396
2371
  } catch {
2397
2372
  }
2398
2373
  try {
2399
- const teSystem = await import("./te-system-FXITO2JG.js");
2374
+ const teSystem = await import("./te-system-7G6F2LJA.js");
2400
2375
  commands.push(...teSystem.default);
2401
2376
  } catch {
2402
2377
  }
2403
2378
  try {
2404
- const metadata = await import("./metadata-VUOQJE26.js");
2379
+ const metadata = await import("./metadata-VZVC7YMH.js");
2405
2380
  commands.push(...metadata.default);
2406
2381
  } catch {
2407
2382
  }
2408
2383
  try {
2409
- const projectSemantic = await import("./project-semantic-RT3R2VQD.js");
2384
+ const projectSemantic = await import("./project-semantic-2SZP2OPO.js");
2410
2385
  commands.push(...projectSemantic.default);
2411
2386
  } catch {
2412
2387
  }
2413
2388
  try {
2414
- const personalSemanticPreference = await import("./personal-semantic-preference-LIPACBDX.js");
2389
+ const personalSemanticPreference = await import("./personal-semantic-preference-7S2SQ3UV.js");
2415
2390
  commands.push(...personalSemanticPreference.default);
2416
2391
  } catch {
2417
2392
  }
2418
2393
  try {
2419
- const dataIntegration = await import("./data-integration-QEKDWQDY.js");
2394
+ const dataIntegration = await import("./data-integration-4NZ53OMT.js");
2420
2395
  commands.push(...dataIntegration.default);
2421
2396
  } catch {
2422
2397
  }
@@ -2424,42 +2399,42 @@ async function loadCommands() {
2424
2399
  }
2425
2400
  async function registerAuthCommands() {
2426
2401
  try {
2427
- const { registerAuth } = await import("./auth-ROB2EDYV.js");
2402
+ const { registerAuth } = await import("./auth-FUM37MHF.js");
2428
2403
  registerAuth(program);
2429
2404
  } catch {
2430
2405
  }
2431
2406
  }
2432
2407
  async function registerConfigCommands() {
2433
2408
  try {
2434
- const { registerConfig } = await import("./config-BMYZX2UE.js");
2409
+ const { registerConfig } = await import("./config-EXUGQN5T.js");
2435
2410
  registerConfig(program);
2436
2411
  } catch {
2437
2412
  }
2438
2413
  }
2439
2414
  async function registerCapabilityCommands() {
2440
2415
  try {
2441
- const { registerCapability } = await import("./capability-HYVVPG25.js");
2416
+ const { registerCapability } = await import("./capability-AXFQW5WM.js");
2442
2417
  registerCapability(program);
2443
2418
  } catch {
2444
2419
  }
2445
2420
  }
2446
2421
  async function registerSyncCommand() {
2447
2422
  try {
2448
- const { registerSync } = await import("./sync-HKIOZXQE.js");
2423
+ const { registerSync } = await import("./sync-YV3E66IF.js");
2449
2424
  registerSync(program);
2450
2425
  } catch {
2451
2426
  }
2452
2427
  }
2453
2428
  async function registerModelCommand() {
2454
2429
  try {
2455
- const { registerModel } = await import("./model-HLHIEFMU.js");
2430
+ const { registerModel } = await import("./model-E4JMQ4V2.js");
2456
2431
  registerModel(program);
2457
2432
  } catch {
2458
2433
  }
2459
2434
  }
2460
2435
  async function registerUpdateCommand() {
2461
2436
  try {
2462
- const { registerUpdate } = await import("./update-YCYCKJOO.js");
2437
+ const { registerUpdate } = await import("./update-D47BUG25.js");
2463
2438
  registerUpdate(program);
2464
2439
  } catch {
2465
2440
  }
@@ -1,9 +1,8 @@
1
+ import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
1
2
  import {
2
- LocalDataUploadError
3
- } from "./chunk-UW5UN47B.js";
4
- import {
3
+ LocalDataUploadError,
5
4
  logger
6
- } from "./chunk-JHENBQ5B.js";
5
+ } from "./chunk-4P355ZWB.js";
7
6
 
8
7
  // src/core/local-data-upload-client.ts
9
8
  import { createHash } from "crypto";
@@ -1,13 +1,12 @@
1
+ import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
1
2
  import {
2
3
  buildCapabilityGatewayUrl,
3
4
  callCapabilityApi
4
- } from "./chunk-OMPRXM3V.js";
5
- import "./chunk-6EIJSNBD.js";
6
- import "./chunk-J2DEBMRF.js";
7
- import "./chunk-ZQKDZXDO.js";
8
- import "./chunk-3FY3RJ26.js";
9
- import "./chunk-UW5UN47B.js";
10
- import "./chunk-JHENBQ5B.js";
5
+ } from "./chunk-QJQZH5GQ.js";
6
+ import "./chunk-Y74WTIKJ.js";
7
+ import "./chunk-ATSM5XAW.js";
8
+ import "./chunk-WZ6YVQSF.js";
9
+ import "./chunk-4P355ZWB.js";
11
10
 
12
11
  // src/commands/memory/index.ts
13
12
  import fs from "fs/promises";
@@ -1,20 +1,19 @@
1
+ import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
1
2
  import {
2
3
  withAsyncArtifactLifecycle
3
- } from "./chunk-EFH4XWYC.js";
4
+ } from "./chunk-RSG4ONOI.js";
4
5
  import {
5
6
  createCapabilityCommand
6
- } from "./chunk-Y3LOALAV.js";
7
+ } from "./chunk-TAL6CZH6.js";
8
+ import "./chunk-QJQZH5GQ.js";
7
9
  import {
8
10
  registerCapabilityGatewayRoute
9
- } from "./chunk-3KWQYGYI.js";
10
- import "./chunk-BYYS3ANB.js";
11
- import "./chunk-ZQ47LWTI.js";
12
- import "./chunk-SERWF6G5.js";
13
- import "./chunk-J2DEBMRF.js";
14
- import "./chunk-ZQKDZXDO.js";
15
- import "./chunk-3FY3RJ26.js";
16
- import "./chunk-UW5UN47B.js";
17
- import "./chunk-JHENBQ5B.js";
11
+ } from "./chunk-TKHSULJT.js";
12
+ import "./chunk-CZU3V3DQ.js";
13
+ import "./chunk-Y74WTIKJ.js";
14
+ import "./chunk-ATSM5XAW.js";
15
+ import "./chunk-WZ6YVQSF.js";
16
+ import "./chunk-4P355ZWB.js";
18
17
 
19
18
  // src/commands/metadata/shared.ts
20
19
  function createCapabilityCommand2(config) {
@@ -1,23 +1,22 @@
1
+ import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
1
2
  import {
2
3
  getCurrentWorkspace
3
- } from "./chunk-DWO43OIB.js";
4
+ } from "./chunk-JQ3ENZZH.js";
4
5
  import {
5
6
  MultiselectCancelled,
6
7
  promptSingleCheckboxSelect
7
- } from "./chunk-TUKQZTMI.js";
8
+ } from "./chunk-7K24F7T2.js";
8
9
  import {
9
10
  TeAgentApiError,
10
11
  TeAgentCredentialsError,
11
12
  getClaudeConfigDir,
12
13
  getSandboxModels,
13
14
  postSandboxModelSelection
14
- } from "./chunk-QNOLN2LJ.js";
15
- import "./chunk-6EIJSNBD.js";
16
- import "./chunk-J2DEBMRF.js";
17
- import "./chunk-ZQKDZXDO.js";
18
- import "./chunk-3FY3RJ26.js";
19
- import "./chunk-UW5UN47B.js";
20
- import "./chunk-JHENBQ5B.js";
15
+ } from "./chunk-BBEFP4SB.js";
16
+ import "./chunk-Y74WTIKJ.js";
17
+ import "./chunk-ATSM5XAW.js";
18
+ import "./chunk-WZ6YVQSF.js";
19
+ import "./chunk-4P355ZWB.js";
21
20
 
22
21
  // src/commands/model/index.ts
23
22
  import { existsSync, readFileSync } from "fs";
@@ -1,17 +1,16 @@
1
+ import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
1
2
  import {
2
3
  createCapabilityCommand
3
- } from "./chunk-JRJY5DMJ.js";
4
+ } from "./chunk-TAL6CZH6.js";
5
+ import "./chunk-QJQZH5GQ.js";
4
6
  import {
5
7
  registerCapabilityGatewayRoute
6
- } from "./chunk-3KWQYGYI.js";
7
- import "./chunk-BYYS3ANB.js";
8
- import "./chunk-OMPRXM3V.js";
9
- import "./chunk-6EIJSNBD.js";
10
- import "./chunk-J2DEBMRF.js";
11
- import "./chunk-ZQKDZXDO.js";
12
- import "./chunk-3FY3RJ26.js";
13
- import "./chunk-UW5UN47B.js";
14
- import "./chunk-JHENBQ5B.js";
8
+ } from "./chunk-TKHSULJT.js";
9
+ import "./chunk-CZU3V3DQ.js";
10
+ import "./chunk-Y74WTIKJ.js";
11
+ import "./chunk-ATSM5XAW.js";
12
+ import "./chunk-WZ6YVQSF.js";
13
+ import "./chunk-4P355ZWB.js";
15
14
 
16
15
  // src/commands/personal-semantic-preference/shared.ts
17
16
  function createPersonalSemanticPreferenceCommand(config) {
@@ -1,27 +1,26 @@
1
+ import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
1
2
  import {
2
3
  assertOutputPathAvailable,
3
4
  downloadAnalysisArtifact,
4
5
  withAsyncArtifactLifecycle
5
- } from "./chunk-QZ3AS4KK.js";
6
+ } from "./chunk-RSG4ONOI.js";
6
7
  import {
7
8
  createCapabilityCommand
8
- } from "./chunk-JRJY5DMJ.js";
9
- import {
10
- registerCapabilityGatewayRoute,
11
- resolveGatewayDomain
12
- } from "./chunk-3KWQYGYI.js";
13
- import "./chunk-BYYS3ANB.js";
9
+ } from "./chunk-TAL6CZH6.js";
14
10
  import {
15
11
  CapabilityGatewayError,
16
12
  buildCapabilityGatewayUrl,
17
13
  executeCapabilityWithEnvelope
18
- } from "./chunk-OMPRXM3V.js";
19
- import "./chunk-6EIJSNBD.js";
20
- import "./chunk-J2DEBMRF.js";
21
- import "./chunk-ZQKDZXDO.js";
22
- import "./chunk-3FY3RJ26.js";
23
- import "./chunk-UW5UN47B.js";
24
- import "./chunk-JHENBQ5B.js";
14
+ } from "./chunk-QJQZH5GQ.js";
15
+ import {
16
+ registerCapabilityGatewayRoute,
17
+ resolveGatewayDomain
18
+ } from "./chunk-TKHSULJT.js";
19
+ import "./chunk-CZU3V3DQ.js";
20
+ import "./chunk-Y74WTIKJ.js";
21
+ import "./chunk-ATSM5XAW.js";
22
+ import "./chunk-WZ6YVQSF.js";
23
+ import "./chunk-4P355ZWB.js";
25
24
 
26
25
  // src/commands/project-semantic/shared.ts
27
26
  import { readFileSync } from "fs";