@thinkingai/ae-cli 6.1.41 → 6.1.42

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 (31) hide show
  1. package/cli-installation-guide.md +3 -2
  2. package/dist/{ai-monitor-OOOD4QDK.js → ai-monitor-E62FT3TT.js} +4 -4
  3. package/dist/ai-monitor.js +5 -5
  4. package/dist/{auth-6BUUY5XS.js → auth-SDK5OAGP.js} +3 -3
  5. package/dist/{capability-XXFCANX7.js → capability-F6YWGPZZ.js} +2 -2
  6. package/dist/{chunk-5YQSCMGS.js → chunk-CDBW5RE6.js} +1 -1
  7. package/dist/{chunk-EHH3ZF7D.js → chunk-DIYDOOBL.js} +1 -1
  8. package/dist/{chunk-I7H72CMN.js → chunk-GTENC5CO.js} +104 -82
  9. package/dist/{chunk-FPPCXG6K.js → chunk-KAZ5FWPB.js} +1 -1
  10. package/dist/{chunk-6W56UQPO.js → chunk-N2QILIGH.js} +1 -1
  11. package/dist/{chunk-BEVWMPCZ.js → chunk-ZK6KEGUR.js} +3 -3
  12. package/dist/{chunk-KDRE7SWM.js → chunk-ZSKLELL7.js} +1 -1
  13. package/dist/{compat-check-AO3BFA3N.js → compat-check-J5K3NO5G.js} +1 -1
  14. package/dist/{config-N5V4VNER.js → config-O3W6XLHO.js} +3 -3
  15. package/dist/index.js +20 -19
  16. package/dist/{metadata-OUJPEMLD.js → metadata-3GA2N27I.js} +4 -4
  17. package/dist/{personal-semantic-preference-WEAIZQXM.js → personal-semantic-preference-T2HFF2V4.js} +3 -3
  18. package/dist/{project-semantic-6VXUYU4A.js → project-semantic-WJOP2HGJ.js} +3 -3
  19. package/dist/{sync-BAV3UY46.js → sync-K65X7ODO.js} +2 -2
  20. package/dist/{te-analysis-43RCOPUA.js → te-analysis-7E2GVKOR.js} +4 -4
  21. package/dist/{te-community-ECNTP35Z.js → te-community-NQNSLNON.js} +3 -3
  22. package/dist/{te-dataops-ISEKYRLZ.js → te-dataops-PMI7UX36.js} +2 -2
  23. package/dist/{te-engage-LBKIZXZO.js → te-engage-EZBV5IPQ.js} +3 -3
  24. package/dist/{te-experiment-5TPQKN6B.js → te-experiment-RDB3TYBG.js} +3 -3
  25. package/dist/{te-kb-SHL56BJ5.js → te-kb-OWPJB243.js} +2 -2
  26. package/dist/{te-team-EZ3TZTLV.js → te-team-NCMN34IL.js} +2 -2
  27. package/dist/{update-WE7VNRKZ.js → update-LYVYF3KJ.js} +2 -2
  28. package/dist/{web-runtime-H53QKJS2.js → web-runtime-XJWDFVP3.js} +8 -4
  29. package/package.json +1 -1
  30. package/skills/ae-onboarding/SKILL.md +2 -4
  31. package/skills/ae-onboarding/references/onboarding_run.md +5 -1
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  configureBusinessCommands,
19
19
  parseProgram,
20
20
  runCommand
21
- } from "./chunk-BEVWMPCZ.js";
21
+ } from "./chunk-ZK6KEGUR.js";
22
22
  import "./chunk-GYODT7C4.js";
23
23
  import "./chunk-L7MT53VM.js";
24
24
  import {
@@ -35,7 +35,7 @@ import {
35
35
  import {
36
36
  printError,
37
37
  printOutput
38
- } from "./chunk-6W56UQPO.js";
38
+ } from "./chunk-N2QILIGH.js";
39
39
  import "./chunk-KE5WGBXS.js";
40
40
  import {
41
41
  beginBusinessSkillRefresh,
@@ -49,7 +49,7 @@ import {
49
49
  runHostCompatCheck,
50
50
  shouldSkipAutoSync,
51
51
  syncRefreshedBusinessSkills
52
- } from "./chunk-I7H72CMN.js";
52
+ } from "./chunk-GTENC5CO.js";
53
53
  import {
54
54
  executeCapability,
55
55
  getLocalCliPackageInfo,
@@ -2109,6 +2109,7 @@ function registerInstall(program2) {
2109
2109
  `CLI: ${report.cli.package}@${report.cli.version} (${report.cli.verified ? "verified" : "not verified"})`,
2110
2110
  `Command: ${report.cli.path ?? "pending"}`,
2111
2111
  `Global Skills: ${report.skills.installed_count}/${report.skills.expected_count} verified in ${report.skills.directory}`,
2112
+ ...report.local_language ? [`Detected local language is ${report.local_language} (local_language).`] : [],
2112
2113
  ...report.skills.failures.map((failure) => `- ${failure.skill}: ${failure.reason}`),
2113
2114
  ...report.cli.warnings,
2114
2115
  ...report.auth.warnings,
@@ -2164,43 +2165,43 @@ function warnLoadFailure(label, err) {
2164
2165
  async function loadCommands() {
2165
2166
  const commands = [];
2166
2167
  try {
2167
- const teAnalysis = await import("./te-analysis-43RCOPUA.js");
2168
+ const teAnalysis = await import("./te-analysis-7E2GVKOR.js");
2168
2169
  commands.push(...teAnalysis.default);
2169
2170
  } catch (err) {
2170
2171
  warnLoadFailure("domain te-analysis", err);
2171
2172
  }
2172
2173
  try {
2173
- const engage = await import("./te-engage-LBKIZXZO.js");
2174
+ const engage = await import("./te-engage-EZBV5IPQ.js");
2174
2175
  commands.push(...engage.default);
2175
2176
  } catch (err) {
2176
2177
  warnLoadFailure("domain te-engage", err);
2177
2178
  }
2178
2179
  try {
2179
- const experiment = await import("./te-experiment-5TPQKN6B.js");
2180
+ const experiment = await import("./te-experiment-RDB3TYBG.js");
2180
2181
  commands.push(...experiment.default);
2181
2182
  } catch (err) {
2182
2183
  warnLoadFailure("domain te-experiment", err);
2183
2184
  }
2184
2185
  try {
2185
- const community = await import("./te-community-ECNTP35Z.js");
2186
+ const community = await import("./te-community-NQNSLNON.js");
2186
2187
  commands.push(...community.default);
2187
2188
  } catch (err) {
2188
2189
  warnLoadFailure("domain te-community", err);
2189
2190
  }
2190
2191
  try {
2191
- const dataops = await import("./te-dataops-ISEKYRLZ.js");
2192
+ const dataops = await import("./te-dataops-PMI7UX36.js");
2192
2193
  commands.push(...dataops.default);
2193
2194
  } catch (err) {
2194
2195
  warnLoadFailure("domain te-dataops", err);
2195
2196
  }
2196
2197
  try {
2197
- const teKb = await import("./te-kb-SHL56BJ5.js");
2198
+ const teKb = await import("./te-kb-OWPJB243.js");
2198
2199
  commands.push(...teKb.default);
2199
2200
  } catch (err) {
2200
2201
  warnLoadFailure("domain te-kb", err);
2201
2202
  }
2202
2203
  try {
2203
- const teTeam = await import("./te-team-EZ3TZTLV.js");
2204
+ const teTeam = await import("./te-team-NCMN34IL.js");
2204
2205
  commands.push(...teTeam.default);
2205
2206
  } catch (err) {
2206
2207
  warnLoadFailure("domain te-team", err);
@@ -2238,19 +2239,19 @@ async function loadCommands() {
2238
2239
  warnLoadFailure("domain te-system", err);
2239
2240
  }
2240
2241
  try {
2241
- const metadata = await import("./metadata-OUJPEMLD.js");
2242
+ const metadata = await import("./metadata-3GA2N27I.js");
2242
2243
  commands.push(...metadata.default);
2243
2244
  } catch (err) {
2244
2245
  warnLoadFailure("domain metadata", err);
2245
2246
  }
2246
2247
  try {
2247
- const personalSemanticPreference = await import("./personal-semantic-preference-WEAIZQXM.js");
2248
+ const personalSemanticPreference = await import("./personal-semantic-preference-T2HFF2V4.js");
2248
2249
  commands.push(...personalSemanticPreference.default);
2249
2250
  } catch (err) {
2250
2251
  warnLoadFailure("domain personal-semantic-preference", err);
2251
2252
  }
2252
2253
  try {
2253
- const projectSemantic = await import("./project-semantic-6VXUYU4A.js");
2254
+ const projectSemantic = await import("./project-semantic-WJOP2HGJ.js");
2254
2255
  commands.push(...projectSemantic.default);
2255
2256
  } catch (err) {
2256
2257
  warnLoadFailure("domain project-semantic", err);
@@ -2268,7 +2269,7 @@ async function loadCommands() {
2268
2269
  warnLoadFailure("domain context", err);
2269
2270
  }
2270
2271
  try {
2271
- const aiMonitor = await import("./ai-monitor-OOOD4QDK.js");
2272
+ const aiMonitor = await import("./ai-monitor-E62FT3TT.js");
2272
2273
  commands.push(...aiMonitor.default);
2273
2274
  } catch (err) {
2274
2275
  warnLoadFailure("domain ai-monitor", err);
@@ -2283,7 +2284,7 @@ async function loadCommands() {
2283
2284
  }
2284
2285
  async function registerAuthCommands() {
2285
2286
  try {
2286
- const { registerAuth } = await import("./auth-6BUUY5XS.js");
2287
+ const { registerAuth } = await import("./auth-SDK5OAGP.js");
2287
2288
  registerAuth(program);
2288
2289
  } catch (err) {
2289
2290
  warnLoadFailure("auth commands", err);
@@ -2291,7 +2292,7 @@ async function registerAuthCommands() {
2291
2292
  }
2292
2293
  async function registerConfigCommands() {
2293
2294
  try {
2294
- const { registerConfig } = await import("./config-N5V4VNER.js");
2295
+ const { registerConfig } = await import("./config-O3W6XLHO.js");
2295
2296
  registerConfig(program);
2296
2297
  } catch (err) {
2297
2298
  warnLoadFailure("config commands", err);
@@ -2299,7 +2300,7 @@ async function registerConfigCommands() {
2299
2300
  }
2300
2301
  async function registerCapabilityCommands() {
2301
2302
  try {
2302
- const { registerCapability } = await import("./capability-XXFCANX7.js");
2303
+ const { registerCapability } = await import("./capability-F6YWGPZZ.js");
2303
2304
  registerCapability(program);
2304
2305
  } catch (err) {
2305
2306
  warnLoadFailure("capability commands", err);
@@ -2307,7 +2308,7 @@ async function registerCapabilityCommands() {
2307
2308
  }
2308
2309
  async function registerSyncCommand() {
2309
2310
  try {
2310
- const { registerSync } = await import("./sync-BAV3UY46.js");
2311
+ const { registerSync } = await import("./sync-K65X7ODO.js");
2311
2312
  registerSync(program);
2312
2313
  } catch (err) {
2313
2314
  warnLoadFailure("sync commands", err);
@@ -2323,7 +2324,7 @@ async function registerModelCommand() {
2323
2324
  }
2324
2325
  async function registerUpdateCommand() {
2325
2326
  try {
2326
- const { registerUpdate } = await import("./update-WE7VNRKZ.js");
2327
+ const { registerUpdate } = await import("./update-LYVYF3KJ.js");
2327
2328
  registerUpdate(program);
2328
2329
  } catch (err) {
2329
2330
  warnLoadFailure("update commands", err);
@@ -1,15 +1,15 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  withAsyncArtifactLifecycle
4
- } from "./chunk-KDRE7SWM.js";
4
+ } from "./chunk-ZSKLELL7.js";
5
5
  import {
6
6
  createCapabilityCommand
7
- } from "./chunk-FPPCXG6K.js";
7
+ } from "./chunk-KAZ5FWPB.js";
8
8
  import {
9
9
  registerCapabilityGatewayRoute
10
10
  } from "./chunk-AWW2T2WL.js";
11
- import "./chunk-6W56UQPO.js";
12
- import "./chunk-I7H72CMN.js";
11
+ import "./chunk-N2QILIGH.js";
12
+ import "./chunk-GTENC5CO.js";
13
13
  import "./chunk-WG27BD67.js";
14
14
  import "./chunk-UWQXGF44.js";
15
15
  import "./chunk-IGU3R2JD.js";
@@ -1,12 +1,12 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  createCapabilityCommand
4
- } from "./chunk-FPPCXG6K.js";
4
+ } from "./chunk-KAZ5FWPB.js";
5
5
  import {
6
6
  registerCapabilityGatewayRoute
7
7
  } from "./chunk-AWW2T2WL.js";
8
- import "./chunk-6W56UQPO.js";
9
- import "./chunk-I7H72CMN.js";
8
+ import "./chunk-N2QILIGH.js";
9
+ import "./chunk-GTENC5CO.js";
10
10
  import "./chunk-WG27BD67.js";
11
11
  import "./chunk-UWQXGF44.js";
12
12
  import "./chunk-IGU3R2JD.js";
@@ -3,15 +3,15 @@ import {
3
3
  assertOutputPathAvailable,
4
4
  downloadAnalysisArtifact,
5
5
  withAsyncArtifactLifecycle
6
- } from "./chunk-KDRE7SWM.js";
6
+ } from "./chunk-ZSKLELL7.js";
7
7
  import {
8
8
  registerCapabilityGatewayRoute,
9
9
  resolveGatewayDomain
10
10
  } from "./chunk-AWW2T2WL.js";
11
11
  import {
12
12
  withOutputMetadata
13
- } from "./chunk-6W56UQPO.js";
14
- import "./chunk-I7H72CMN.js";
13
+ } from "./chunk-N2QILIGH.js";
14
+ import "./chunk-GTENC5CO.js";
15
15
  import {
16
16
  CapabilityGatewayError,
17
17
  dryRunCapabilityWithEnvelope,
@@ -28,7 +28,7 @@ import {
28
28
  } from "./chunk-7K24F7T2.js";
29
29
  import {
30
30
  printError
31
- } from "./chunk-6W56UQPO.js";
31
+ } from "./chunk-N2QILIGH.js";
32
32
  import {
33
33
  TeAgentApiError,
34
34
  TeAgentCredentialsError,
@@ -37,7 +37,7 @@ import {
37
37
  postToMainApp,
38
38
  uploadToMainApp
39
39
  } from "./chunk-KE5WGBXS.js";
40
- import "./chunk-I7H72CMN.js";
40
+ import "./chunk-GTENC5CO.js";
41
41
  import "./chunk-WG27BD67.js";
42
42
  import "./chunk-UWQXGF44.js";
43
43
  import "./chunk-IGU3R2JD.js";
@@ -10,12 +10,12 @@ import {
10
10
  waitForAnalysisRun,
11
11
  withAsyncArtifactLifecycle,
12
12
  withInterruptSignal
13
- } from "./chunk-KDRE7SWM.js";
13
+ } from "./chunk-ZSKLELL7.js";
14
14
  import {
15
15
  createCapabilityCommand,
16
16
  definitionIntentSnapshotFlag,
17
17
  modelDefinitionIntentSnapshotFlag
18
- } from "./chunk-FPPCXG6K.js";
18
+ } from "./chunk-KAZ5FWPB.js";
19
19
  import {
20
20
  registerCapabilityGatewayRoute,
21
21
  resolveGatewayDomain
@@ -26,12 +26,12 @@ import {
26
26
  import {
27
27
  unwrapOutputData,
28
28
  withOutputMetadata
29
- } from "./chunk-6W56UQPO.js";
29
+ } from "./chunk-N2QILIGH.js";
30
30
  import {
31
31
  normalizeResourceUrlFields,
32
32
  normalizeResourceUrls,
33
33
  resolvePublicWebHost
34
- } from "./chunk-I7H72CMN.js";
34
+ } from "./chunk-GTENC5CO.js";
35
35
  import {
36
36
  CapabilityGatewayError,
37
37
  buildCapabilityGatewayUrl,
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  createCapabilityCommand
4
- } from "./chunk-FPPCXG6K.js";
4
+ } from "./chunk-KAZ5FWPB.js";
5
5
  import {
6
6
  registerCapabilityGatewayRoute,
7
7
  resolveGatewayDomain
@@ -9,8 +9,8 @@ import {
9
9
  import {
10
10
  unwrapOutputData,
11
11
  withOutputMetadata
12
- } from "./chunk-6W56UQPO.js";
13
- import "./chunk-I7H72CMN.js";
12
+ } from "./chunk-N2QILIGH.js";
13
+ import "./chunk-GTENC5CO.js";
14
14
  import {
15
15
  CapabilityGatewayError,
16
16
  buildCapabilityGatewayUrl,
@@ -4,8 +4,8 @@ import {
4
4
  } from "./chunk-Z6WSCIHM.js";
5
5
  import {
6
6
  printError
7
- } from "./chunk-6W56UQPO.js";
8
- import "./chunk-I7H72CMN.js";
7
+ } from "./chunk-N2QILIGH.js";
8
+ import "./chunk-GTENC5CO.js";
9
9
  import {
10
10
  sourceLoggedFetch
11
11
  } from "./chunk-WG27BD67.js";
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  createCapabilityCommand
4
- } from "./chunk-FPPCXG6K.js";
4
+ } from "./chunk-KAZ5FWPB.js";
5
5
  import {
6
6
  registerCapabilityGatewayRoute,
7
7
  resolveGatewayDomain
@@ -9,8 +9,8 @@ import {
9
9
  import {
10
10
  printError,
11
11
  withOutputMetadata
12
- } from "./chunk-6W56UQPO.js";
13
- import "./chunk-I7H72CMN.js";
12
+ } from "./chunk-N2QILIGH.js";
13
+ import "./chunk-GTENC5CO.js";
14
14
  import {
15
15
  CapabilityGatewayError,
16
16
  buildCapabilityGatewayUrl,
@@ -1,12 +1,12 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  createCapabilityCommand
4
- } from "./chunk-FPPCXG6K.js";
4
+ } from "./chunk-KAZ5FWPB.js";
5
5
  import {
6
6
  registerCapabilityGatewayRoute
7
7
  } from "./chunk-AWW2T2WL.js";
8
- import "./chunk-6W56UQPO.js";
9
- import "./chunk-I7H72CMN.js";
8
+ import "./chunk-N2QILIGH.js";
9
+ import "./chunk-GTENC5CO.js";
10
10
  import "./chunk-WG27BD67.js";
11
11
  import "./chunk-UWQXGF44.js";
12
12
  import "./chunk-IGU3R2JD.js";
@@ -5,11 +5,11 @@ import {
5
5
  } from "./chunk-DZRQGI2Z.js";
6
6
  import {
7
7
  printError
8
- } from "./chunk-6W56UQPO.js";
8
+ } from "./chunk-N2QILIGH.js";
9
9
  import {
10
10
  TeAgentApiError
11
11
  } from "./chunk-KE5WGBXS.js";
12
- import "./chunk-I7H72CMN.js";
12
+ import "./chunk-GTENC5CO.js";
13
13
  import {
14
14
  CapabilityGatewayError
15
15
  } from "./chunk-WG27BD67.js";
@@ -9,8 +9,8 @@ import {
9
9
  import {
10
10
  printError,
11
11
  printOutput
12
- } from "./chunk-6W56UQPO.js";
13
- import "./chunk-I7H72CMN.js";
12
+ } from "./chunk-N2QILIGH.js";
13
+ import "./chunk-GTENC5CO.js";
14
14
  import "./chunk-WG27BD67.js";
15
15
  import "./chunk-UWQXGF44.js";
16
16
  import "./chunk-IGU3R2JD.js";
@@ -2,7 +2,7 @@ import { createRequire as __createRequire } from 'node:module'; const require =
2
2
  import {
3
3
  printError,
4
4
  printOutput
5
- } from "./chunk-6W56UQPO.js";
5
+ } from "./chunk-N2QILIGH.js";
6
6
  import {
7
7
  buildVersionInstallPlan,
8
8
  exactVersion,
@@ -14,7 +14,7 @@ import {
14
14
  missingAeHostHint,
15
15
  recordVersionSyncResult,
16
16
  rememberBusinessConfig
17
- } from "./chunk-I7H72CMN.js";
17
+ } from "./chunk-GTENC5CO.js";
18
18
  import {
19
19
  getLocalCliPackageInfo
20
20
  } from "./chunk-WG27BD67.js";
@@ -35,6 +35,7 @@ import {
35
35
  isOnboardingProgressHost,
36
36
  isProductionWebsiteOrigin,
37
37
  isWebsiteMarket,
38
+ localRegistrationLanguage,
38
39
  normalizeRegistrationLanguage,
39
40
  onboardingDemoCurrency,
40
41
  onboardingDemoOverview,
@@ -57,7 +58,7 @@ import {
57
58
  websiteEnvironment,
58
59
  websiteOrigin,
59
60
  writeProgress
60
- } from "./chunk-I7H72CMN.js";
61
+ } from "./chunk-GTENC5CO.js";
61
62
  import {
62
63
  CapabilityGatewayError,
63
64
  executeCapability,
@@ -1424,7 +1425,7 @@ var defaults = {
1424
1425
  authorize: authorizeLoginDevice,
1425
1426
  poll: (issuer, code, signal) => pollDeviceToken(issuer, code, code.startsWith("uba_") ? "uba" : "legacy", signal),
1426
1427
  async persist(host, tokens, signal) {
1427
- const { persistDeviceTokens, activateHostAfterLogin } = await import("./auth-6BUUY5XS.js");
1428
+ const { persistDeviceTokens, activateHostAfterLogin } = await import("./auth-SDK5OAGP.js");
1428
1429
  await persistDeviceTokens(host, tokens, { signal, checkCompatibility: false });
1429
1430
  activateHostAfterLogin(host, host);
1430
1431
  },
@@ -1509,7 +1510,9 @@ var OnboardingRuntime = class {
1509
1510
  }
1510
1511
  }
1511
1512
  const source = cliEntrySource(input.source ?? session?.source);
1512
- const language = registrationLanguage(input.language ?? session?.language);
1513
+ const inspectLocalLanguage = !webConversation && !testHost && (action === "plan" || action === "run" && !host && !session);
1514
+ const localLanguage = inspectLocalLanguage ? localRegistrationLanguage() : void 0;
1515
+ const language = registrationLanguage(input.language ?? session?.language ?? localLanguage);
1513
1516
  const markets = testHost ? OVERSEAS_TEST_MARKETS : WEBSITE_MARKETS;
1514
1517
  const languageMarket = registrationMarket(language);
1515
1518
  const defaultMarket = testHost && languageMarket === "cn" ? "us" : languageMarket;
@@ -1521,7 +1524,8 @@ var OnboardingRuntime = class {
1521
1524
  market: input.region ?? session?.region ?? (useDefaultMarket ? defaultMarket : null),
1522
1525
  language,
1523
1526
  default_market: defaultMarket,
1524
- device_market: testHost ? "us" : onboardingDeviceMarket(),
1527
+ ...localLanguage ? { local_language: localLanguage } : {},
1528
+ device_market: testHost ? "us" : onboardingDeviceMarket(webConversation ? registrationLanguage() : localLanguage),
1525
1529
  markets,
1526
1530
  selection_source: input.region ? "explicit" : session?.region_source ?? (session?.region ? "saved" : useDefaultMarket ? "language_default" : "existing_host"),
1527
1531
  website_env: selectedWebsiteEnv,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkingai/ae-cli",
3
- "version": "6.1.41",
3
+ "version": "6.1.42",
4
4
  "description": "CLI tool for ThinkingAI (AE) analytics platform",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: ae-onboarding
3
- version: 1.1.55
3
+ version: 1.1.56
4
4
  description: "Guide Demo growth analysis, business diagnosis, and A/B draft review in AE onboarding, and route business data integration in a local agent."
5
5
  metadata:
6
6
  internal: true
@@ -38,9 +38,7 @@ For a local onboarding request, start with `ae-cli auth status --format json` on
38
38
 
39
39
  When the user explicitly requests onboarding and needs a new account, offer **Create an AE account** and **Learn about AE** before starting website onboarding. Use the [localized labels](references/about-ae.md#localized-labels). If they choose **Learn about AE**, show the introduction and available product resources, then offer **Create an AE account**. Wait for the user to choose signup or request it directly before starting website onboarding. When resuming a session that already has a login page, follow the current login step.
40
40
 
41
- Use the customer's explicit or already confirmed market when provided. For a new account, otherwise use `onboarding_market` from the installation report or `device_market` from `ae-cli --dry-run analysis onboarding run`. Chinese device locales, including Traditional Chinese, default to China. All other device locales default to the United States. Keep the selected market through login. Display language is independent. Use English for a neutral local welcome, honor a requested display language and retain the choice in the conversation. Localize using the host's capabilities.
42
-
43
- After the user chooses signup, start [website onboarding](references/onboarding_run.md#website-signup) on the requested environment. For overseas testing, use `--website-env test --region us` or the requested Japanese or Korean market. Existing accounts use their original host.
41
+ After the user chooses signup, follow [website signup](references/onboarding_run.md#website-signup) to resolve the production market or use the requested overseas test market. Keep that market through login. Use the requested display language or the conversation language for the UI, and English for a neutral local welcome. Existing accounts use their original host.
44
42
 
45
43
  Follow `next_action` and the browser receipt. For `guide_existing_window`, direct the user to the page already opened in their system default browser. For `show_fallback_link` or a window the user cannot find, give the exact URL for that browser. For `complete_website_login`, show **I finished signing in** and **I need help signing in**. For `approve_device`, show **I approved CLI access** and **I need help authorizing the CLI**. Resume the same session when the user confirms. For `restart_website_login` or `reauthorize_cli`, show the returned recovery choice and **Not now**. If a matching older CLI returns `run_onboarding` with zero delay after claiming authorization, run once more in the same turn. On `choose_experience`, show the experience picker immediately.
46
44
 
@@ -12,7 +12,11 @@ In Web, pass the conversation locale with `--language`. The Web `run` result and
12
12
 
13
13
  ## Website signup
14
14
 
15
- After the user chooses to create an account, run `ae-cli analysis onboarding run --region <market> --browser system --format json` for production (`cn`, `jp`, `kr`, or `us`). For overseas testing, add `--website-env test` with `--region us`, `jp`, or `kr`. Use `us` for an overseas test request without a specific market. Resume with the returned `--session-id` to keep the original environment. Start a separate continuation when the user requests a different environment.
15
+ For a new production account, use the market the user specified or confirmed. Otherwise compare `local_language` in the install report with the language of the user's own request. Without a current report, read `data.local_language` from `ae-cli --dry-run analysis onboarding run --format json`. Infer the request language from the user's prose, excluding commands, links, quoted text, and picker labels. A missing locale or `C.UTF-8` provides no language signal. Treat `onboarding_market` and `device_market` as defaults that may include a fallback.
16
+
17
+ Map Chinese (including Traditional Chinese) to China (`cn`), English to the United States (`us`), Japanese to Japan (`jp`), and Korean to South Korea (`kr`). If both signals point to different markets, show exactly those two markets in the user's language and wait for their selection. If they agree or only one maps to a market, use that market directly. With neither, use `us`.
18
+
19
+ After the user chooses to create an account, run `ae-cli analysis onboarding run --region <market> --browser system --format json`. Pass `--source` for the current AI tool and `--language` for the display preference or conversation language when known. For overseas testing, add `--website-env test` with `--region us`, `jp`, or `kr`. Use `us` for an overseas test request without a specific market. Resume with the returned `--session-id` to keep the original environment. Start a separate continuation when the user requests a different environment.
16
20
 
17
21
  ## Shared progress
18
22