@thinkingai/ae-cli 6.0.53 → 6.0.54

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 (121) hide show
  1. package/README.md +28 -9
  2. package/README.zh.md +25 -9
  3. package/bin/ae-cli.js +6 -1
  4. package/cli-installation-guide.md +91 -0
  5. package/dist/{auth-LHM7NQPR.js → auth-MBWRZTB6.js} +9 -11
  6. package/dist/automation-NWWVLWG2.js +459 -0
  7. package/dist/{capability-F2RIR5DS.js → capability-7SSN6PNZ.js} +6 -6
  8. package/dist/chunk-4655PUNX.js +43 -0
  9. package/dist/{chunk-KS4DE3MX.js → chunk-5XJYLEVC.js} +4 -4
  10. package/dist/{chunk-N4BLPJC7.js → chunk-7QXISROD.js} +1 -1
  11. package/dist/{chunk-7WZACOAI.js → chunk-AP7YP2NX.js} +2 -2
  12. package/dist/{chunk-SO5LKIWP.js → chunk-CT7QDJS6.js} +2 -2
  13. package/dist/chunk-D6ACFILC.js +56 -0
  14. package/dist/{chunk-QYXDJOLA.js → chunk-EOYSKMXN.js} +19 -11
  15. package/dist/{chunk-5XRQ3CZR.js → chunk-FMNNGNYO.js} +43 -8
  16. package/dist/{chunk-DU72X2IO.js → chunk-GIK6EDUG.js} +22 -10
  17. package/dist/{chunk-PGCIKZRE.js → chunk-HBLK3ZHW.js} +3 -3
  18. package/dist/chunk-HVHR4SCP.js +133 -0
  19. package/dist/{chunk-BW7JUDEI.js → chunk-KFNMQTZI.js} +514 -213
  20. package/dist/{chunk-KJDOTPYU.js → chunk-PLE722AJ.js} +28 -11
  21. package/dist/chunk-RK6GLDGI.js +27 -0
  22. package/dist/{chunk-GK7WDY7E.js → chunk-S6M42KND.js} +1 -1
  23. package/dist/{chunk-IG3DYEIR.js → chunk-UQ77JXYH.js} +4 -3
  24. package/dist/{chunk-YVGXGTD6.js → chunk-WNGFSIOB.js} +7 -1
  25. package/dist/{chunk-647BRKZK.js → chunk-ZIQWCZTS.js} +3 -3
  26. package/dist/{community-report-client-6VJDDMJJ.js → community-report-client-PEERQCX2.js} +1 -1
  27. package/dist/{config-XQWOPDHN.js → config-FF6YVJKI.js} +8 -8
  28. package/dist/context-YAE3QXP3.js +136 -0
  29. package/dist/{data-integration-XBTCGXQT.js → data-integration-HESZET7E.js} +6 -6
  30. package/dist/index.js +125 -48
  31. package/dist/{local-data-upload-client-3P7NIVQ4.js → local-data-upload-client-TWMHFLUA.js} +1 -1
  32. package/dist/memory-62BJOULV.js +580 -0
  33. package/dist/{metadata-V5ZDTKWZ.js → metadata-7CUMWIB4.js} +7 -7
  34. package/dist/{model-ZS7HVGKN.js → model-SBV2JFJI.js} +9 -5
  35. package/dist/{personal-semantic-preference-2XANU3F6.js → personal-semantic-preference-6SRCYPGE.js} +117 -11
  36. package/dist/{project-semantic-LP3LY7QP.js → project-semantic-YYEM4OSU.js} +6 -6
  37. package/dist/{sync-EQLSTUS7.js → sync-SU33KYX7.js} +12 -8
  38. package/dist/{te-agent-Z3HCTKR7.js → te-agent-F5QBZSQA.js} +90 -454
  39. package/dist/{te-analysis-3EVYQ3IO.js → te-analysis-U4I2W2WC.js} +297 -20
  40. package/dist/{te-community-Z7JACGF3.js → te-community-PFLDLPP4.js} +3 -3
  41. package/dist/{te-dataops-F7GQOIS6.js → te-dataops-FOQSRIAZ.js} +5 -5
  42. package/dist/{te-engage-LFBU6WWH.js → te-engage-ZX76CNAB.js} +6 -6
  43. package/dist/{te-kb-QJLJEX5K.js → te-kb-MHDOST62.js} +494 -214
  44. package/dist/{te-system-IXC43QHZ.js → te-system-J2FQF5ER.js} +6 -6
  45. package/dist/{te-team-BIZIKIHZ.js → te-team-5UOZPTU3.js} +6 -6
  46. package/dist/things-VPPXXLHB.js +1091 -0
  47. package/dist/{update-W2SGQNKT.js → update-EEUTEI6R.js} +59 -51
  48. package/dist/workspace-O3EEIYQM.js +554 -0
  49. package/package.json +21 -9
  50. package/skills/ae-agent/SKILL.md +89 -139
  51. package/skills/ae-agent/references/add-model.md +1 -1
  52. package/skills/ae-agent/references/create-agent.md +1 -1
  53. package/skills/ae-agent/references/find-archived-conversations.md +12 -5
  54. package/skills/ae-agent/references/get-agent.md +1 -1
  55. package/skills/ae-agent/references/list-agents.md +2 -2
  56. package/skills/ae-agent/references/list-models.md +2 -2
  57. package/skills/ae-agent/references/restore-conversation.md +3 -1
  58. package/skills/ae-analysis/SKILL.md +15 -6
  59. package/skills/ae-analysis/references/ai_models/funnel.md +5 -3
  60. package/skills/ae-analysis/references/ai_models.md +27 -0
  61. package/skills/ae-analysis/references/command_index.md +12 -4
  62. package/skills/ae-analysis/references/dashboard_move.md +21 -0
  63. package/skills/ae-analysis/references/dashboard_report_add.md +2 -0
  64. package/skills/ae-analysis/references/dashboard_report_get.md +19 -0
  65. package/skills/ae-analysis/references/dashboard_report_update.md +27 -0
  66. package/skills/ae-analysis/references/dashboard_update.md +1 -1
  67. package/skills/ae-analysis/references/event_report_presentation.md +76 -0
  68. package/skills/ae-analysis/references/feedback_submit.md +37 -0
  69. package/skills/ae-analysis/references/metadata_resolution.md +15 -0
  70. package/skills/ae-analysis/references/personal_semantic_preference_review.md +9 -0
  71. package/skills/ae-analysis/references/personal_semantic_preference_review_list.md +7 -0
  72. package/skills/ae-analysis/references/personal_semantic_preference_submit.md +7 -0
  73. package/skills/ae-analysis/references/project_semantic_knowledge_wiki.md +90 -31
  74. package/skills/ae-analysis/references/project_semantic_knowledge_wiki_plan_schema.md +99 -1
  75. package/skills/ae-analysis/references/report_create.md +13 -3
  76. package/skills/ae-analysis/references/report_get.md +5 -1
  77. package/skills/ae-analysis/references/report_update.md +15 -4
  78. package/skills/ae-analysis/references/system_query_monitor_overview.md +2 -0
  79. package/skills/ae-analysis/references/system_query_task_cancel.md +2 -0
  80. package/skills/ae-analysis/references/system_query_task_export.md +6 -2
  81. package/skills/ae-analysis/references/system_query_task_get.md +2 -0
  82. package/skills/ae-analysis/references/system_query_task_list.md +7 -3
  83. package/skills/ae-analysis/references/system_query_task_options.md +2 -2
  84. package/skills/ae-analysis/references/system_query_task_realtime_list.md +15 -0
  85. package/skills/ae-analysis/references/user_tag_models.md +2 -0
  86. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/build-empty-skeleton.mjs +105 -0
  87. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/build-project-semantic-wiki.mjs +669 -29
  88. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/company-kb.mjs +21 -8
  89. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/default-compile-rules.md +28 -10
  90. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/default-compile-schema.md +66 -0
  91. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/generate-build-ir.mjs +285 -24
  92. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/package-wiki-source-zip.mjs +262 -30
  93. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/plan-kb-source-sync.mjs +1 -1
  94. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/precompiled-source.mjs +46 -2
  95. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/prepare-compile-schema.mjs +64 -0
  96. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/refresh-state-parts.mjs +91 -0
  97. package/skills/ae-automation/SKILL.md +16 -0
  98. package/skills/ae-automation/references/cli.md +53 -0
  99. package/skills/ae-automation/references/command_index.md +17 -0
  100. package/skills/ae-capability/SKILL.md +15 -6
  101. package/skills/ae-current-context/SKILL.md +3 -2
  102. package/skills/ae-kb/SKILL.md +62 -12
  103. package/skills/ae-kb/references/analysis-workflow.md +73 -36
  104. package/skills/ae-kb/references/query-workflow.md +67 -33
  105. package/skills/ae-kb/references/schema-import.md +5 -3
  106. package/skills/ae-kb/references/source-mutations.md +6 -4
  107. package/skills/ae-kb/references/text-sources.md +53 -0
  108. package/skills/ae-kb-discovery/SKILL.md +1 -1
  109. package/skills/ae-team/SKILL.md +23 -17
  110. package/skills/ae-things/SKILL.md +85 -0
  111. package/skills/ae-things/references/cli.md +103 -0
  112. package/skills/ae-things-progress/SKILL.md +43 -0
  113. package/skills/ae-things-review/SKILL.md +42 -0
  114. package/skills/ae-workspace/SKILL.md +43 -0
  115. package/skills/ae-workspace/references/commands.md +51 -0
  116. package/dist/chunk-E2JKXMVO.js +0 -29
  117. package/dist/context-M3HDGEIR.js +0 -46
  118. package/dist/memory-6APEB2JB.js +0 -892
  119. package/skills/ae-agent/references/create-automation.md +0 -125
  120. package/skills/ae-agent/references/list-automations.md +0 -56
  121. package/skills/ae-agent/references/update-automation.md +0 -107
package/dist/index.js CHANGED
@@ -1,10 +1,4 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
- import {
3
- getLocalCliPackageInfo
4
- } from "./chunk-E2JKXMVO.js";
5
- import {
6
- requiresConfirmation
7
- } from "./chunk-AMBFK2K3.js";
8
2
  import {
9
3
  allHeaderNames,
10
4
  allSheetNames,
@@ -20,43 +14,50 @@ import {
20
14
  validateAndFix,
21
15
  validateDraft,
22
16
  writeDraftXlsx
23
- } from "./chunk-KS4DE3MX.js";
24
- import "./chunk-SO5LKIWP.js";
25
- import "./chunk-7WZACOAI.js";
26
- import "./chunk-GK7WDY7E.js";
17
+ } from "./chunk-5XJYLEVC.js";
18
+ import {
19
+ requiresConfirmation
20
+ } from "./chunk-AMBFK2K3.js";
21
+ import "./chunk-CT7QDJS6.js";
22
+ import "./chunk-AP7YP2NX.js";
23
+ import "./chunk-S6M42KND.js";
27
24
  import {
28
25
  resolveHost
29
- } from "./chunk-N4BLPJC7.js";
26
+ } from "./chunk-7QXISROD.js";
30
27
  import {
31
28
  TeAgentApiError,
32
29
  TeAgentCredentialsError
33
- } from "./chunk-KJDOTPYU.js";
30
+ } from "./chunk-PLE722AJ.js";
34
31
  import {
35
32
  CapabilityGatewayError,
36
33
  executeCapability,
37
34
  uploadInputFileBytes
38
- } from "./chunk-QYXDJOLA.js";
35
+ } from "./chunk-EOYSKMXN.js";
39
36
  import {
37
+ failInstallation,
40
38
  fetchCliConfig,
41
39
  formatCapabilityMissCompatHint,
40
+ getLocalCliPackageInfo,
41
+ installVersion,
42
+ newInstallationReport,
42
43
  printError,
43
44
  printOutput,
44
45
  resolveKbAutoDiscoveryFeature,
45
46
  runHostCompatCheck,
46
47
  shouldSkipAutoSync
47
- } from "./chunk-BW7JUDEI.js";
48
+ } from "./chunk-KFNMQTZI.js";
48
49
  import "./chunk-Y74WTIKJ.js";
49
50
  import {
50
51
  CredentialStoreUnreadableError,
51
52
  SecureStoreAuthError,
52
53
  getCliToken,
53
54
  peekCliToken
54
- } from "./chunk-DU72X2IO.js";
55
+ } from "./chunk-GIK6EDUG.js";
55
56
  import {
56
57
  getActiveHost,
57
58
  getConfigDir,
58
59
  safeJsonParse
59
- } from "./chunk-IG3DYEIR.js";
60
+ } from "./chunk-UQ77JXYH.js";
60
61
  import {
61
62
  CliApiError,
62
63
  CliValidationError,
@@ -64,7 +65,7 @@ import {
64
65
  LocalDataUploadError,
65
66
  PermissionError,
66
67
  logger
67
- } from "./chunk-YVGXGTD6.js";
68
+ } from "./chunk-WNGFSIOB.js";
68
69
 
69
70
  // src/index.ts
70
71
  import { Command as CommanderCommand, Option } from "commander";
@@ -79,6 +80,9 @@ function missingRequiredFlagsError(cmdName, missing) {
79
80
  const hint = hintParts.length > 0 ? hintParts.join(" ") : `Usage: ae-cli ${cmdName} ${names.map((name) => `${name} <value>`).join(" ")}`;
80
81
  return { message, hint };
81
82
  }
83
+ function canPromptForConfirmation(input = process.stdin, output = process.stderr) {
84
+ return input.isTTY === true && output.isTTY === true;
85
+ }
82
86
  function readSkillCurrentVersion(body) {
83
87
  if (!body || typeof body !== "object" || Array.isArray(body)) return void 0;
84
88
  const currentVersion = body.currentVersion;
@@ -208,6 +212,15 @@ async function runCommand(cmd, opts, globalOpts) {
208
212
  if (requiresConfirmation(cmd.risk)) {
209
213
  cmd.preflight?.(ctx);
210
214
  if (!globalOpts.yes) {
215
+ if (!canPromptForConfirmation()) {
216
+ throw new CliValidationError(
217
+ "Non-interactive high-risk writes require global --yes.",
218
+ {
219
+ code: "CONFIRMATION_REQUIRED",
220
+ hint: "After explicit authorization, retry with the global --yes flag."
221
+ }
222
+ );
223
+ }
211
224
  const confirmed = await confirm(`This is a high-risk-write operation (${cmdName}). Continue?`);
212
225
  if (!confirmed) {
213
226
  process.stderr.write("Aborted.\n");
@@ -237,7 +250,7 @@ async function runCommand(cmd, opts, globalOpts) {
237
250
  } else if (err instanceof TeAgentCredentialsError) {
238
251
  printError("config", message, err.hint);
239
252
  } else if (err instanceof PermissionError) {
240
- printError("permission", message, err.hint, err.code);
253
+ printError("permission", message, err.hint, err.code, void 0, { details: err.details });
241
254
  } else if (err instanceof CliApiError) {
242
255
  printError("api", message, err.hint, err.code, err.meta);
243
256
  } else if (err instanceof CapabilityGatewayError) {
@@ -249,20 +262,21 @@ async function runCommand(cmd, opts, globalOpts) {
249
262
  } else if (err instanceof CredentialStoreUnreadableError) {
250
263
  printError("config", message, err.hint, err.code);
251
264
  } else if (err instanceof SecureStoreAuthError) {
252
- printError("auth", message, "Run: ae-cli auth login");
265
+ printError("auth", message, "Run: ae-cli auth login", err.code);
253
266
  } else if (err instanceof TeAgentApiError) {
254
267
  if (err.status === 403) {
255
- printError("permission", message);
268
+ printError("permission", message, err.hint, err.code, void 0, { details: err.details });
256
269
  } else if (err.status === 401) {
257
- printError("auth", message, "Run: ae-cli auth login");
270
+ printError("auth", message, err.hint ?? "Run: ae-cli auth login", err.code, void 0, { details: err.details });
258
271
  } else {
259
272
  const presentation = teAgentApiErrorPresentation(err);
260
273
  printError(
261
- "api",
274
+ err.errorType,
262
275
  presentation.message ?? message,
263
- presentation.hint,
276
+ presentation.hint ?? err.hint,
264
277
  presentation.code ?? err.code,
265
- presentation.meta
278
+ presentation.meta,
279
+ { details: err.details }
266
280
  );
267
281
  }
268
282
  } else if (looksLikeAuthFailure(message)) {
@@ -312,14 +326,14 @@ function createRuntimeContext(cmd, opts, globalOpts) {
312
326
  let _communityReportModule = null;
313
327
  async function getCommunityReportClient() {
314
328
  if (!_communityReportModule) {
315
- _communityReportModule = await import("./community-report-client-6VJDDMJJ.js");
329
+ _communityReportModule = await import("./community-report-client-PEERQCX2.js");
316
330
  }
317
331
  return _communityReportModule;
318
332
  }
319
333
  let _localDataUploadModule = null;
320
334
  async function getLocalDataUploadClient() {
321
335
  if (!_localDataUploadModule) {
322
- _localDataUploadModule = await import("./local-data-upload-client-3P7NIVQ4.js");
336
+ _localDataUploadModule = await import("./local-data-upload-client-TWMHFLUA.js");
323
337
  }
324
338
  return _localDataUploadModule;
325
339
  }
@@ -367,6 +381,9 @@ function createRuntimeContext(cmd, opts, globalOpts) {
367
381
  const client = await getLocalDataUploadClient();
368
382
  return client.localDataUpload(endpoint, rawBody, options);
369
383
  },
384
+ hostOverride() {
385
+ return globalOpts.host;
386
+ },
370
387
  host() {
371
388
  if (globalOpts.host) return globalOpts.host;
372
389
  return getActiveHost();
@@ -378,7 +395,7 @@ function createRuntimeContext(cmd, opts, globalOpts) {
378
395
  return cmd.service;
379
396
  },
380
397
  async out(data) {
381
- await printOutput(data, globalOpts.format, globalOpts.jq);
398
+ await printOutput(data, globalOpts.format, globalOpts.jq, { redactErrors: cmd.sensitiveOutput });
382
399
  }
383
400
  };
384
401
  return ctx;
@@ -2348,6 +2365,51 @@ function findOption(command, flag) {
2348
2365
  return void 0;
2349
2366
  }
2350
2367
 
2368
+ // src/commands/install.ts
2369
+ function registerInstall(program2) {
2370
+ program2.command("install").description("Install and verify this CLI distribution and its matching global Skills").option("--host <url>", "Check authentication for this AE host after installation").addHelpText("after", "\nExamples:\n npx @thinkingai/ae-cli@latest install\n ae-cli install --dry-run --format json\n ae-cli install --host https://your-ae-host.example.com\n\nSkills are installed globally in ~/.agents/skills with client adaptation handled automatically.\nGlobal options: --dry-run, --format json|table. Supports macOS, Linux, and native Windows.\n").action(async (opts) => {
2371
+ const pkg2 = getLocalCliPackageInfo();
2372
+ const global = program2.opts();
2373
+ const format = program2.getOptionValueSource("format") === "default" && process.stdout.isTTY ? "table" : global.format;
2374
+ let report = newInstallationReport(pkg2.name, pkg2.version, Boolean(global.dryRun));
2375
+ try {
2376
+ if (!["json", "table"].includes(format) || global.jq || global.validate) {
2377
+ throw new Error("Installation supports --format json|table and --dry-run; --jq and --validate are not supported.");
2378
+ }
2379
+ const result = installVersion(pkg2.version, {
2380
+ packageName: pkg2.name,
2381
+ host: opts.host || global.host,
2382
+ dryRun: global.dryRun,
2383
+ progress: (message) => process.stderr.write(`${message}
2384
+ `)
2385
+ });
2386
+ report = result.report ?? failInstallation(
2387
+ report,
2388
+ result.ok ? "environment" : result.stage,
2389
+ result.ok ? "Installation result is unavailable." : result.message,
2390
+ result.ok ? "unknown" : result.cause
2391
+ );
2392
+ } catch (error) {
2393
+ report = failInstallation(report, "environment", error instanceof Error ? error.message : "Installation failed.");
2394
+ }
2395
+ const output = format === "table" ? [
2396
+ report.dry_run ? "AE CLI installation plan (no changes)" : report.ok ? "AE CLI installation complete" : "AE CLI installation incomplete",
2397
+ `CLI: ${report.cli.package}@${report.cli.version} (${report.cli.verified ? "verified" : "not verified"})`,
2398
+ `Command: ${report.cli.path ?? "pending"}`,
2399
+ `Global Skills: ${report.skills.installed_count}/${report.skills.expected_count} verified in ${report.skills.directory}`,
2400
+ ...report.skills.failures.map((failure) => `- ${failure.skill}: ${failure.reason}`),
2401
+ ...report.cli.warnings,
2402
+ ...report.auth.warnings,
2403
+ ...report.error ? [report.error.message] : [],
2404
+ ...report.commands ?? [],
2405
+ ...report.next_steps
2406
+ ].join("\n") : JSON.stringify(report, null, 2);
2407
+ process.stdout.write(`${output}
2408
+ `);
2409
+ if (!report.ok) process.exitCode = 1;
2410
+ });
2411
+ }
2412
+
2351
2413
  // src/index.ts
2352
2414
  var require2 = createRequire(import.meta.url);
2353
2415
  var pkg = require2("../package.json");
@@ -2373,85 +2435,99 @@ function warnLoadFailure(label, err) {
2373
2435
  async function loadCommands() {
2374
2436
  const commands = [];
2375
2437
  try {
2376
- const teAnalysis = await import("./te-analysis-3EVYQ3IO.js");
2438
+ const teAnalysis = await import("./te-analysis-U4I2W2WC.js");
2377
2439
  commands.push(...teAnalysis.default);
2378
2440
  } catch (err) {
2379
2441
  warnLoadFailure("domain te-analysis", err);
2380
2442
  }
2381
2443
  try {
2382
- const engage = await import("./te-engage-LFBU6WWH.js");
2444
+ const engage = await import("./te-engage-ZX76CNAB.js");
2383
2445
  commands.push(...engage.default);
2384
2446
  } catch (err) {
2385
2447
  warnLoadFailure("domain te-engage", err);
2386
2448
  }
2387
2449
  try {
2388
- const community = await import("./te-community-Z7JACGF3.js");
2450
+ const community = await import("./te-community-PFLDLPP4.js");
2389
2451
  commands.push(...community.default);
2390
2452
  } catch (err) {
2391
2453
  warnLoadFailure("domain te-community", err);
2392
2454
  }
2393
2455
  try {
2394
- const dataops = await import("./te-dataops-F7GQOIS6.js");
2456
+ const dataops = await import("./te-dataops-FOQSRIAZ.js");
2395
2457
  commands.push(...dataops.default);
2396
2458
  } catch (err) {
2397
2459
  warnLoadFailure("domain te-dataops", err);
2398
2460
  }
2399
2461
  try {
2400
- const teKb = await import("./te-kb-QJLJEX5K.js");
2462
+ const teKb = await import("./te-kb-MHDOST62.js");
2401
2463
  commands.push(...teKb.default);
2402
2464
  } catch (err) {
2403
2465
  warnLoadFailure("domain te-kb", err);
2404
2466
  }
2405
2467
  try {
2406
- const teTeam = await import("./te-team-BIZIKIHZ.js");
2468
+ const teTeam = await import("./te-team-5UOZPTU3.js");
2407
2469
  commands.push(...teTeam.default);
2408
2470
  } catch (err) {
2409
2471
  warnLoadFailure("domain te-team", err);
2410
2472
  }
2411
2473
  try {
2412
- const teAgent = await import("./te-agent-Z3HCTKR7.js");
2474
+ const teAgent = await import("./te-agent-F5QBZSQA.js");
2413
2475
  commands.push(...teAgent.default);
2414
2476
  } catch (err) {
2415
2477
  warnLoadFailure("domain te-agent", err);
2416
2478
  }
2417
2479
  try {
2418
- const memory = await import("./memory-6APEB2JB.js");
2480
+ const memory = await import("./memory-62BJOULV.js");
2419
2481
  commands.push(...memory.default);
2420
2482
  } catch (err) {
2421
2483
  warnLoadFailure("domain memory", err);
2422
2484
  }
2485
+ const automation = await import("./automation-NWWVLWG2.js");
2486
+ commands.push(...automation.default);
2487
+ try {
2488
+ const things = await import("./things-VPPXXLHB.js");
2489
+ commands.push(...things.default);
2490
+ } catch (err) {
2491
+ warnLoadFailure("domain things", err);
2492
+ }
2493
+ try {
2494
+ const workspace = await import("./workspace-O3EEIYQM.js");
2495
+ commands.push(...workspace.default);
2496
+ } catch (err) {
2497
+ warnLoadFailure("domain workspace", err);
2498
+ }
2423
2499
  try {
2424
- const teSystem = await import("./te-system-IXC43QHZ.js");
2500
+ const teSystem = await import("./te-system-J2FQF5ER.js");
2425
2501
  commands.push(...teSystem.default);
2426
2502
  } catch (err) {
2427
2503
  warnLoadFailure("domain te-system", err);
2428
2504
  }
2429
2505
  try {
2430
- const metadata = await import("./metadata-V5ZDTKWZ.js");
2506
+ const metadata = await import("./metadata-7CUMWIB4.js");
2431
2507
  commands.push(...metadata.default);
2432
2508
  } catch (err) {
2433
2509
  warnLoadFailure("domain metadata", err);
2434
2510
  }
2435
2511
  try {
2436
- const personalSemanticPreference = await import("./personal-semantic-preference-2XANU3F6.js");
2512
+ const personalSemanticPreference = await import("./personal-semantic-preference-6SRCYPGE.js");
2437
2513
  commands.push(...personalSemanticPreference.default);
2438
2514
  } catch (err) {
2439
2515
  warnLoadFailure("domain personal-semantic-preference", err);
2440
2516
  }
2441
2517
  try {
2442
- const projectSemantic = await import("./project-semantic-LP3LY7QP.js");
2518
+ const projectSemantic = await import("./project-semantic-YYEM4OSU.js");
2443
2519
  commands.push(...projectSemantic.default);
2444
2520
  } catch (err) {
2445
2521
  warnLoadFailure("domain project-semantic", err);
2446
2522
  }
2447
2523
  try {
2448
- const dataIntegration = await import("./data-integration-XBTCGXQT.js");
2524
+ const dataIntegration = await import("./data-integration-HESZET7E.js");
2449
2525
  commands.push(...dataIntegration.default);
2450
2526
  } catch (err) {
2451
2527
  warnLoadFailure("domain data-integration", err);
2452
2528
  }
2453
2529
  try {
2454
- const context = await import("./context-M3HDGEIR.js");
2530
+ const context = await import("./context-YAE3QXP3.js");
2455
2531
  commands.push(...context.default);
2456
2532
  } catch (err) {
2457
2533
  warnLoadFailure("domain context", err);
@@ -2460,7 +2536,7 @@ async function loadCommands() {
2460
2536
  }
2461
2537
  async function registerAuthCommands() {
2462
2538
  try {
2463
- const { registerAuth } = await import("./auth-LHM7NQPR.js");
2539
+ const { registerAuth } = await import("./auth-MBWRZTB6.js");
2464
2540
  registerAuth(program);
2465
2541
  } catch (err) {
2466
2542
  warnLoadFailure("auth commands", err);
@@ -2468,7 +2544,7 @@ async function registerAuthCommands() {
2468
2544
  }
2469
2545
  async function registerConfigCommands() {
2470
2546
  try {
2471
- const { registerConfig } = await import("./config-XQWOPDHN.js");
2547
+ const { registerConfig } = await import("./config-FF6YVJKI.js");
2472
2548
  registerConfig(program);
2473
2549
  } catch (err) {
2474
2550
  warnLoadFailure("config commands", err);
@@ -2476,7 +2552,7 @@ async function registerConfigCommands() {
2476
2552
  }
2477
2553
  async function registerCapabilityCommands() {
2478
2554
  try {
2479
- const { registerCapability } = await import("./capability-F2RIR5DS.js");
2555
+ const { registerCapability } = await import("./capability-7SSN6PNZ.js");
2480
2556
  registerCapability(program);
2481
2557
  } catch (err) {
2482
2558
  warnLoadFailure("capability commands", err);
@@ -2484,7 +2560,7 @@ async function registerCapabilityCommands() {
2484
2560
  }
2485
2561
  async function registerSyncCommand() {
2486
2562
  try {
2487
- const { registerSync } = await import("./sync-EQLSTUS7.js");
2563
+ const { registerSync } = await import("./sync-SU33KYX7.js");
2488
2564
  registerSync(program);
2489
2565
  } catch (err) {
2490
2566
  warnLoadFailure("sync commands", err);
@@ -2492,7 +2568,7 @@ async function registerSyncCommand() {
2492
2568
  }
2493
2569
  async function registerModelCommand() {
2494
2570
  try {
2495
- const { registerModel } = await import("./model-ZS7HVGKN.js");
2571
+ const { registerModel } = await import("./model-SBV2JFJI.js");
2496
2572
  registerModel(program);
2497
2573
  } catch (err) {
2498
2574
  warnLoadFailure("model commands", err);
@@ -2500,7 +2576,7 @@ async function registerModelCommand() {
2500
2576
  }
2501
2577
  async function registerUpdateCommand() {
2502
2578
  try {
2503
- const { registerUpdate } = await import("./update-W2SGQNKT.js");
2579
+ const { registerUpdate } = await import("./update-EEUTEI6R.js");
2504
2580
  registerUpdate(program);
2505
2581
  } catch (err) {
2506
2582
  warnLoadFailure("update commands", err);
@@ -2542,6 +2618,7 @@ async function main() {
2542
2618
  await registerSyncCommand();
2543
2619
  await registerModelCommand();
2544
2620
  await registerUpdateCommand();
2621
+ registerInstall(program);
2545
2622
  registerTracking(program);
2546
2623
  rejectUnknownHelpCommandPath(program, process.argv.slice(2));
2547
2624
  await parseProgram(program);
@@ -2599,7 +2676,7 @@ function isRootUpdateCommand(args) {
2599
2676
  }
2600
2677
  continue;
2601
2678
  }
2602
- return token === "update";
2679
+ return token === "update" || token === "install";
2603
2680
  }
2604
2681
  return false;
2605
2682
  }
@@ -2,7 +2,7 @@ import { createRequire as __createRequire } from 'node:module'; const require =
2
2
  import {
3
3
  LocalDataUploadError,
4
4
  logger
5
- } from "./chunk-YVGXGTD6.js";
5
+ } from "./chunk-WNGFSIOB.js";
6
6
 
7
7
  // src/core/local-data-upload-client.ts
8
8
  import { createHash } from "crypto";