@thinkingai/ae-cli 6.1.36 → 6.1.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/cli-installation-guide.md +3 -2
- package/dist/{ai-monitor-276HLJZU.js → ai-monitor-YKNYBHN2.js} +4 -4
- package/dist/ai-monitor.js +5 -5
- package/dist/{auth-JBO2UW7L.js → auth-FXRGFG37.js} +3 -3
- package/dist/{capability-GVCWVM27.js → capability-GM7CH2LZ.js} +2 -2
- package/dist/{chunk-J4NHBBRC.js → chunk-46V4ZF7E.js} +1 -1
- package/dist/{chunk-QYUUXAPS.js → chunk-EFGZFFSO.js} +1 -1
- package/dist/{chunk-53MUIQ3H.js → chunk-IL2O4KDP.js} +12 -16
- package/dist/{chunk-PNAICVO2.js → chunk-JFXDUX6U.js} +1 -1
- package/dist/{chunk-7IBQMQEV.js → chunk-NBXQSPXL.js} +1 -1
- package/dist/{chunk-IXM75M7G.js → chunk-OFOPYKYM.js} +1 -1
- package/dist/{chunk-HYKO5XSG.js → chunk-OTV5EBR5.js} +3 -3
- package/dist/{compat-check-JKFJZUXX.js → compat-check-ZMJWF6QG.js} +1 -1
- package/dist/{config-L7GBSHRT.js → config-6G2LAH5D.js} +7 -7
- package/dist/index.js +19 -19
- package/dist/{metadata-T6ORCGG6.js → metadata-6S3Z67JC.js} +4 -4
- package/dist/{personal-semantic-preference-JFJ5FFAY.js → personal-semantic-preference-PKYS73D6.js} +3 -3
- package/dist/{project-semantic-TPRIOCTD.js → project-semantic-B5PG4JJB.js} +3 -3
- package/dist/{sync-LTSMFMLZ.js → sync-GB3IKG2D.js} +2 -2
- package/dist/{te-analysis-UFPYC4OT.js → te-analysis-ZYL4AF34.js} +4 -4
- package/dist/{te-community-MHM3PIGH.js → te-community-R63WXF6D.js} +3 -3
- package/dist/{te-dataops-DUM3AKEK.js → te-dataops-VHTPW433.js} +2 -2
- package/dist/{te-engage-IQ5W24HW.js → te-engage-ZE7ROR3Z.js} +3 -3
- package/dist/{te-experiment-L3T6YDLM.js → te-experiment-ZDR2JZTN.js} +3 -3
- package/dist/{te-kb-7HV5KZG6.js → te-kb-6NXLBHE3.js} +2 -2
- package/dist/{te-team-5QFLIVKZ.js → te-team-KOSX43ZP.js} +2 -2
- package/dist/{update-G7BAWLJE.js → update-XPNNE7UF.js} +2 -2
- package/dist/{web-runtime-NEQ2W4EX.js → web-runtime-7DPC4HYJ.js} +2 -2
- package/package.json +1 -1
- package/skills/ae-onboarding/SKILL.md +4 -2
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ ae-cli auth login --host https://your-ae-host.example.com
|
|
|
48
48
|
ae-cli auth status
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
Use the AE URL supplied by your AgenticEngine administrator.
|
|
51
|
+
Use the AE URL supplied by your AgenticEngine administrator.
|
|
52
52
|
|
|
53
53
|
Business-based command filtering and Skill selection apply only to local CLI use by external Agents; built-in TE Agent sandboxes keep the complete command and Skill sets. After successful login, the CLI filters `--help` and capability discovery by the active environment’s enabled businesses and synchronizes managed global Skills. Analysis remains available by default. Subsequent normal commands automatically synchronize managed Skills when a configuration refresh detects business changes; run `ae-cli config refresh` to refresh and synchronize immediately. Switching the active environment refreshes its business state and synchronizes only affected Skills, reusing the current set when no changes are needed. Terminal output summarizes Skill synchronization status and installation/removal counts; use `--format json` for per-directory details. Switching accounts synchronizes again; a one-off `--host` query does not change global Skills.
|
|
54
54
|
|
package/README.zh.md
CHANGED
|
@@ -48,7 +48,7 @@ ae-cli auth login --host https://your-ae-host.example.com
|
|
|
48
48
|
ae-cli auth status
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
请使用 AgenticEngine 管理员提供的 AE
|
|
51
|
+
请使用 AgenticEngine 管理员提供的 AE 地址。
|
|
52
52
|
|
|
53
53
|
按业务过滤命令和剪裁 Skills 仅适用于外部 Agent 使用的本机 CLI;TE Agent 内置沙箱始终保留完整命令与全部 Skills。登录成功后,CLI 按当前环境已开通的业务过滤 `--help` 和能力发现,并同步受管的全局 Skills;分析能力默认保留。后续业务开通状态变化时,普通命令会在刷新配置后自动同步受管 Skills;也可执行 `ae-cli config refresh` 立即刷新并同步。切换活动环境会刷新业务状态,仅同步受影响的 Skills;无需变化时复用当前集合,终端仅汇总 Skill 同步状态及安装、移除数量;需要目录明细时使用 `--format json`。切换账号会重新同步;单次 `--host` 查询不改变全局 Skills。
|
|
54
54
|
|
|
@@ -54,8 +54,9 @@ If the user asks to install AE CLI, run the installer and report the verificatio
|
|
|
54
54
|
- For signup or an explicit choice to start a new experience, use step 4. If the user explicitly asks for onboarding or a walkthrough and leaves the account route open, continue in their signed-in environment when available. Otherwise show **“Get started”** (step 4), **“Sign in to my existing account”** (step 5), and **“Not now”** (finish) in the Agent's native picker. Use equivalent chat choices if the picker is unavailable. Wait for the selection.
|
|
55
55
|
4. Use an explicitly requested or already confirmed market. Otherwise resolve the market from the local language and the user's request.
|
|
56
56
|
- Read `local_language` from the install report. Without a current report or on older versions, check `AE_LANG`, `LC_ALL`, `LC_MESSAGES`, `LANG`, and `LANGUAGE` in that order for the local locale. Map Chinese to China, English to the United States, Japanese to Japan, and Korean to South Korea.
|
|
57
|
-
- Compare that market with the language of the user's own request. Ignore the language of quoted commands, links, and guide text. If the two
|
|
58
|
-
- For
|
|
57
|
+
- Compare that market with the language of the user's own request. Ignore the language of quoted commands, links, and guide text. If both languages map to different markets, build the picker with exactly those two markets. For a Chinese local language and an English request, the two options are **China** and **United States**. Treat the CLI's `markets` list as supported-market metadata. Otherwise use the local market, or the request language if the local locale is unavailable or unsupported. If neither yields a market, use the United States.
|
|
58
|
+
- For China, explain that website signup for CLI onboarding is currently unavailable and end the signup flow. The user's existing AE account can sign in using its original environment URL.
|
|
59
|
+
- For Japan, South Korea, or the United States, start website onboarding with `ae-cli analysis onboarding run --browser system --format json`. Pass `--region jp`, `--region kr`, or `--region us` for the resolved market and `--source` for the current AI tool. Pass `--language` for the conversation if it differs from the local language. The CLI opens the system default browser. If opening fails, share the returned URL. Read the returned `skill_path` and reuse `session_id` in the same conversation.
|
|
59
60
|
5. To sign in, use the original AE environment supplied or confirmed by the user. If its address is unknown, ask for it. Follow the device flow below. Once the session is authorized, confirm that `ae-cli auth status` reports the expected environment and signed-in account.
|
|
60
61
|
|
|
61
62
|
## Host and login
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
traceCount,
|
|
10
10
|
traceGet,
|
|
11
11
|
traceList
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-JFXDUX6U.js";
|
|
13
|
+
import "./chunk-OFOPYKYM.js";
|
|
14
14
|
import "./chunk-AWW2T2WL.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-NBXQSPXL.js";
|
|
16
16
|
import "./chunk-VPLRZSMY.js";
|
|
17
17
|
import "./chunk-6E6HCTP2.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-IL2O4KDP.js";
|
|
19
19
|
import "./chunk-PUSFEC6B.js";
|
|
20
20
|
import "./chunk-UWQXGF44.js";
|
|
21
21
|
import "./chunk-IGU3R2JD.js";
|
package/dist/ai-monitor.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
ai_monitor_default
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-JFXDUX6U.js";
|
|
5
|
+
import "./chunk-OFOPYKYM.js";
|
|
6
6
|
import "./chunk-AWW2T2WL.js";
|
|
7
7
|
import {
|
|
8
8
|
configureBusinessCommands,
|
|
9
9
|
parseProgram,
|
|
10
10
|
runCommand
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OTV5EBR5.js";
|
|
12
12
|
import "./chunk-GYODT7C4.js";
|
|
13
13
|
import "./chunk-L7MT53VM.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-NBXQSPXL.js";
|
|
15
15
|
import "./chunk-CYZV5AXW.js";
|
|
16
16
|
import "./chunk-VPLRZSMY.js";
|
|
17
17
|
import "./chunk-6E6HCTP2.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-IL2O4KDP.js";
|
|
19
19
|
import "./chunk-PUSFEC6B.js";
|
|
20
20
|
import "./chunk-UWQXGF44.js";
|
|
21
21
|
import "./chunk-IGU3R2JD.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
environmentRefreshOutput,
|
|
4
4
|
invalidateBusinessSkillSynchronization,
|
|
5
5
|
refreshEnvironmentAfterLogin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EFGZFFSO.js";
|
|
7
7
|
import {
|
|
8
8
|
MultiselectCancelled,
|
|
9
9
|
promptSingleSelect
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
printError,
|
|
16
16
|
printOutput
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NBXQSPXL.js";
|
|
18
18
|
import {
|
|
19
19
|
DeviceFlowUnsupportedError,
|
|
20
20
|
authorizeLoginDevice,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
missingAeHostGuidance,
|
|
29
29
|
missingAeHostHint,
|
|
30
30
|
runHostCompatCheck
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-IL2O4KDP.js";
|
|
32
32
|
import {
|
|
33
33
|
getLocalCliPackageInfo
|
|
34
34
|
} from "./chunk-PUSFEC6B.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
printError,
|
|
18
18
|
printOutput,
|
|
19
19
|
withOutputMetadata
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NBXQSPXL.js";
|
|
21
21
|
import {
|
|
22
22
|
CapabilityGatewayError,
|
|
23
23
|
dryRunCapabilityWithEnvelope,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
businessForCapability,
|
|
34
34
|
readBusinessConfigForExecution,
|
|
35
35
|
readCurrentBusinessConfig
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-IL2O4KDP.js";
|
|
37
37
|
import "./chunk-PUSFEC6B.js";
|
|
38
38
|
import {
|
|
39
39
|
CredentialStoreUnreadableError,
|
|
@@ -493,17 +493,17 @@ function registrationMarket(language) {
|
|
|
493
493
|
}
|
|
494
494
|
function aeRegistrationUrl(language, env = process.env, source) {
|
|
495
495
|
const market = registrationMarket(registrationLanguage(language, env));
|
|
496
|
-
if (!isWebsiteMarket(market)) return
|
|
496
|
+
if (!isWebsiteMarket(market)) return void 0;
|
|
497
497
|
const tool = cliEntrySource(source, env);
|
|
498
498
|
return websiteLoginUrl(market, "production", tool, cliToolReference(tool, env));
|
|
499
499
|
}
|
|
500
|
-
var
|
|
500
|
+
var CHINA_WEBSITE_ONBOARDING_UNAVAILABLE = "Website signup for CLI onboarding is currently unavailable in China.";
|
|
501
501
|
var AE_HOST_SETUP_COMMAND = "ae-cli config set-host <url>";
|
|
502
502
|
function missingAeHostHint(additionalAction) {
|
|
503
503
|
const registration = aeRegistrationUrl();
|
|
504
504
|
const actions = [
|
|
505
505
|
`If your organization already uses AgenticEngine, ask your administrator for its AE URL, then run: ${AE_HOST_SETUP_COMMAND} and ae-cli auth login --host <url>. Keep your existing account's environment.`,
|
|
506
|
-
registration
|
|
506
|
+
registration ? `To register or sign in, visit ${registration}, or run ae-cli analysis onboarding run for guided setup.` : CHINA_WEBSITE_ONBOARDING_UNAVAILABLE
|
|
507
507
|
];
|
|
508
508
|
if (additionalAction) actions.push(additionalAction);
|
|
509
509
|
return actions.join(" ");
|
|
@@ -513,11 +513,9 @@ function missingAeHostGuidance() {
|
|
|
513
513
|
return {
|
|
514
514
|
configure_host: AE_HOST_SETUP_COMMAND,
|
|
515
515
|
existing_customer: "Use the original AE environment URL when known, or ask your administrator.",
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
onboarding_command: "ae-cli analysis onboarding run"
|
|
520
|
-
}
|
|
516
|
+
// Legacy alias for the overseas registration URL.
|
|
517
|
+
request_trial_url: registration ?? null,
|
|
518
|
+
...registration ? { registration_login_url: registration, onboarding_command: "ae-cli analysis onboarding run" } : {}
|
|
521
519
|
};
|
|
522
520
|
}
|
|
523
521
|
|
|
@@ -1718,7 +1716,7 @@ async function readBusinessConfigForExecution(hostOverride, synchronizeSkills =
|
|
|
1718
1716
|
const token = peekCliToken(host);
|
|
1719
1717
|
if (!token) return {};
|
|
1720
1718
|
return await resolveBusinessConfig(host, token, async () => {
|
|
1721
|
-
const { fetchCliConfig: fetchCliConfig2 } = await import("./compat-check-
|
|
1719
|
+
const { fetchCliConfig: fetchCliConfig2 } = await import("./compat-check-ZMJWF6QG.js");
|
|
1722
1720
|
return fetchCliConfig2(host, token);
|
|
1723
1721
|
}, Date.now(), synchronizeSkills);
|
|
1724
1722
|
} catch {
|
|
@@ -1993,17 +1991,15 @@ function runInstallation(options = {}) {
|
|
|
1993
1991
|
if (chooseAccount) {
|
|
1994
1992
|
report.next_steps.push("If the user explicitly asks for AE onboarding or a walkthrough and has left the account route open, show the account picker with \u201CGet started\u201D, \u201CSign in to my existing account\u201D, and \u201CNot now\u201D. For an explicit signup request, use website onboarding. For an explicit existing-account login request, use the original AE environment.");
|
|
1995
1993
|
}
|
|
1996
|
-
if (
|
|
1994
|
+
if (chooseAccount || !report.auth.host) {
|
|
1997
1995
|
const source = cliEntrySource(void 0, env);
|
|
1998
1996
|
const registration = aeRegistrationUrl(language, env, source);
|
|
1999
|
-
if (chooseAccount) {
|
|
1997
|
+
if (registration && chooseAccount) {
|
|
2000
1998
|
report.next_steps.push(`For website onboarding, run ae-cli analysis onboarding run --language ${language} --source ${source} --browser system --format json. Pass --region for the user's requested market. The CLI opens the system default browser. If it cannot open the page, share the returned login_url for that browser. Read the returned skill_path and continue with its session_id. For manual signup outside the guided session, use ${registration}.`);
|
|
2001
|
-
} else {
|
|
1999
|
+
} else if (registration) {
|
|
2002
2000
|
report.next_steps.push(`New or returning website users: for guided website verification, run ae-cli analysis onboarding run --language ${language} --source ${source} --browser system. For manual registration or sign-in, use ${registration} in the system default browser.`);
|
|
2003
2001
|
}
|
|
2004
|
-
report.next_steps.push(`The default new-account region is ${market}. Use the user's explicit market when supplied.
|
|
2005
|
-
} else if (!websiteOnboarding && !report.auth.host) {
|
|
2006
|
-
report.next_steps.push(`To request an AE trial in China, visit ${aeRegistrationUrl(language, env)}.`);
|
|
2002
|
+
report.next_steps.push(`The default new-account region is ${market}. Use the user's explicit market when supplied. If the local language and the request language suggest different markets, offer exactly those two markets. For Chinese and English, offer China and the United States. Website onboarding supports --region jp|kr|us. If China is selected, stop website onboarding. ${CHINA_WEBSITE_ONBOARDING_UNAVAILABLE} Language does not change an existing account's environment.`);
|
|
2007
2003
|
}
|
|
2008
2004
|
if (chooseAccount) report.next_steps.push("Existing AE users: confirm their original AE environment URL and use it for login. Ask for that URL if it is unknown.");
|
|
2009
2005
|
else if (!report.auth.host) report.next_steps.push("Existing AE users: use your original environment URL, or ask your administrator.");
|
|
@@ -2683,7 +2679,7 @@ export {
|
|
|
2683
2679
|
registrationLanguage,
|
|
2684
2680
|
registrationMarket,
|
|
2685
2681
|
aeRegistrationUrl,
|
|
2686
|
-
|
|
2682
|
+
CHINA_WEBSITE_ONBOARDING_UNAVAILABLE,
|
|
2687
2683
|
missingAeHostHint,
|
|
2688
2684
|
missingAeHostGuidance,
|
|
2689
2685
|
businessForCommand,
|
|
@@ -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-
|
|
4
|
+
} from "./chunk-OFOPYKYM.js";
|
|
5
5
|
import {
|
|
6
6
|
registerCapabilityGatewayRoute
|
|
7
7
|
} from "./chunk-AWW2T2WL.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
printError,
|
|
11
11
|
printOutput
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NBXQSPXL.js";
|
|
13
13
|
import {
|
|
14
14
|
TeAgentApiError,
|
|
15
15
|
TeAgentCredentialsError
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
businessForCommand,
|
|
24
24
|
formatCapabilityMissCompatHint,
|
|
25
25
|
readCurrentBusinessConfig
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-IL2O4KDP.js";
|
|
27
27
|
import {
|
|
28
28
|
CredentialStoreUnreadableError,
|
|
29
29
|
SecureStoreAuthError
|
|
@@ -470,7 +470,7 @@ function createRuntimeContext(cmd, opts, globalOpts) {
|
|
|
470
470
|
}
|
|
471
471
|
const ctx = {
|
|
472
472
|
async onboarding(action, input) {
|
|
473
|
-
const { invokeOnboarding } = await import("./web-runtime-
|
|
473
|
+
const { invokeOnboarding } = await import("./web-runtime-7DPC4HYJ.js");
|
|
474
474
|
return invokeOnboarding(action, input);
|
|
475
475
|
},
|
|
476
476
|
has(name) {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
invalidateBusinessSkillSynchronization,
|
|
5
5
|
refreshEnvironmentAfterLogin,
|
|
6
6
|
refreshEnvironmentConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EFGZFFSO.js";
|
|
8
8
|
import {
|
|
9
9
|
MultiselectCancelled,
|
|
10
10
|
promptSingleSelect
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
printError,
|
|
14
14
|
printOutput
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NBXQSPXL.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
CHINA_WEBSITE_ONBOARDING_UNAVAILABLE,
|
|
18
18
|
aeRegistrationUrl,
|
|
19
19
|
fetchCliConfig,
|
|
20
20
|
missingAeHostHint,
|
|
21
21
|
readCurrentBusinessConfig,
|
|
22
22
|
resolveKbAutoDiscoveryFeature
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IL2O4KDP.js";
|
|
24
24
|
import "./chunk-PUSFEC6B.js";
|
|
25
25
|
import {
|
|
26
26
|
peekCliToken
|
|
@@ -53,11 +53,11 @@ async function runConfigUI() {
|
|
|
53
53
|
process.stderr.write("\n\x1B[1mNo AE environments configured.\x1B[0m\n\n");
|
|
54
54
|
process.stderr.write("Use the AE URL provided by your AgenticEngine administrator.\n");
|
|
55
55
|
const registration = aeRegistrationUrl();
|
|
56
|
-
process.stderr.write(registration
|
|
57
|
-
|
|
58
|
-
` : `Website registration: ${registration}
|
|
56
|
+
process.stderr.write(registration ? `Website registration: ${registration}
|
|
59
57
|
For guided setup, run: ae-cli analysis onboarding run
|
|
60
58
|
|
|
59
|
+
` : `${CHINA_WEBSITE_ONBOARDING_UNAVAILABLE}
|
|
60
|
+
|
|
61
61
|
`);
|
|
62
62
|
await promptAddEnvironment();
|
|
63
63
|
return;
|
package/dist/index.js
CHANGED
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
configureBusinessCommands,
|
|
17
17
|
parseProgram,
|
|
18
18
|
runCommand
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OTV5EBR5.js";
|
|
20
20
|
import "./chunk-GYODT7C4.js";
|
|
21
21
|
import "./chunk-L7MT53VM.js";
|
|
22
22
|
import {
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
import {
|
|
34
34
|
printError,
|
|
35
35
|
printOutput
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-NBXQSPXL.js";
|
|
37
37
|
import "./chunk-CYZV5AXW.js";
|
|
38
38
|
import {
|
|
39
39
|
executeCapability,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
runHostCompatCheck,
|
|
53
53
|
shouldSkipAutoSync,
|
|
54
54
|
syncRefreshedBusinessSkills
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-IL2O4KDP.js";
|
|
56
56
|
import {
|
|
57
57
|
getLocalCliPackageInfo
|
|
58
58
|
} from "./chunk-PUSFEC6B.js";
|
|
@@ -2165,43 +2165,43 @@ function warnLoadFailure(label, err) {
|
|
|
2165
2165
|
async function loadCommands() {
|
|
2166
2166
|
const commands = [];
|
|
2167
2167
|
try {
|
|
2168
|
-
const teAnalysis = await import("./te-analysis-
|
|
2168
|
+
const teAnalysis = await import("./te-analysis-ZYL4AF34.js");
|
|
2169
2169
|
commands.push(...teAnalysis.default);
|
|
2170
2170
|
} catch (err) {
|
|
2171
2171
|
warnLoadFailure("domain te-analysis", err);
|
|
2172
2172
|
}
|
|
2173
2173
|
try {
|
|
2174
|
-
const engage = await import("./te-engage-
|
|
2174
|
+
const engage = await import("./te-engage-ZE7ROR3Z.js");
|
|
2175
2175
|
commands.push(...engage.default);
|
|
2176
2176
|
} catch (err) {
|
|
2177
2177
|
warnLoadFailure("domain te-engage", err);
|
|
2178
2178
|
}
|
|
2179
2179
|
try {
|
|
2180
|
-
const experiment = await import("./te-experiment-
|
|
2180
|
+
const experiment = await import("./te-experiment-ZDR2JZTN.js");
|
|
2181
2181
|
commands.push(...experiment.default);
|
|
2182
2182
|
} catch (err) {
|
|
2183
2183
|
warnLoadFailure("domain te-experiment", err);
|
|
2184
2184
|
}
|
|
2185
2185
|
try {
|
|
2186
|
-
const community = await import("./te-community-
|
|
2186
|
+
const community = await import("./te-community-R63WXF6D.js");
|
|
2187
2187
|
commands.push(...community.default);
|
|
2188
2188
|
} catch (err) {
|
|
2189
2189
|
warnLoadFailure("domain te-community", err);
|
|
2190
2190
|
}
|
|
2191
2191
|
try {
|
|
2192
|
-
const dataops = await import("./te-dataops-
|
|
2192
|
+
const dataops = await import("./te-dataops-VHTPW433.js");
|
|
2193
2193
|
commands.push(...dataops.default);
|
|
2194
2194
|
} catch (err) {
|
|
2195
2195
|
warnLoadFailure("domain te-dataops", err);
|
|
2196
2196
|
}
|
|
2197
2197
|
try {
|
|
2198
|
-
const teKb = await import("./te-kb-
|
|
2198
|
+
const teKb = await import("./te-kb-6NXLBHE3.js");
|
|
2199
2199
|
commands.push(...teKb.default);
|
|
2200
2200
|
} catch (err) {
|
|
2201
2201
|
warnLoadFailure("domain te-kb", err);
|
|
2202
2202
|
}
|
|
2203
2203
|
try {
|
|
2204
|
-
const teTeam = await import("./te-team-
|
|
2204
|
+
const teTeam = await import("./te-team-KOSX43ZP.js");
|
|
2205
2205
|
commands.push(...teTeam.default);
|
|
2206
2206
|
} catch (err) {
|
|
2207
2207
|
warnLoadFailure("domain te-team", err);
|
|
@@ -2239,19 +2239,19 @@ async function loadCommands() {
|
|
|
2239
2239
|
warnLoadFailure("domain te-system", err);
|
|
2240
2240
|
}
|
|
2241
2241
|
try {
|
|
2242
|
-
const metadata = await import("./metadata-
|
|
2242
|
+
const metadata = await import("./metadata-6S3Z67JC.js");
|
|
2243
2243
|
commands.push(...metadata.default);
|
|
2244
2244
|
} catch (err) {
|
|
2245
2245
|
warnLoadFailure("domain metadata", err);
|
|
2246
2246
|
}
|
|
2247
2247
|
try {
|
|
2248
|
-
const personalSemanticPreference = await import("./personal-semantic-preference-
|
|
2248
|
+
const personalSemanticPreference = await import("./personal-semantic-preference-PKYS73D6.js");
|
|
2249
2249
|
commands.push(...personalSemanticPreference.default);
|
|
2250
2250
|
} catch (err) {
|
|
2251
2251
|
warnLoadFailure("domain personal-semantic-preference", err);
|
|
2252
2252
|
}
|
|
2253
2253
|
try {
|
|
2254
|
-
const projectSemantic = await import("./project-semantic-
|
|
2254
|
+
const projectSemantic = await import("./project-semantic-B5PG4JJB.js");
|
|
2255
2255
|
commands.push(...projectSemantic.default);
|
|
2256
2256
|
} catch (err) {
|
|
2257
2257
|
warnLoadFailure("domain project-semantic", err);
|
|
@@ -2269,7 +2269,7 @@ async function loadCommands() {
|
|
|
2269
2269
|
warnLoadFailure("domain context", err);
|
|
2270
2270
|
}
|
|
2271
2271
|
try {
|
|
2272
|
-
const aiMonitor = await import("./ai-monitor-
|
|
2272
|
+
const aiMonitor = await import("./ai-monitor-YKNYBHN2.js");
|
|
2273
2273
|
commands.push(...aiMonitor.default);
|
|
2274
2274
|
} catch (err) {
|
|
2275
2275
|
warnLoadFailure("domain ai-monitor", err);
|
|
@@ -2284,7 +2284,7 @@ async function loadCommands() {
|
|
|
2284
2284
|
}
|
|
2285
2285
|
async function registerAuthCommands() {
|
|
2286
2286
|
try {
|
|
2287
|
-
const { registerAuth } = await import("./auth-
|
|
2287
|
+
const { registerAuth } = await import("./auth-FXRGFG37.js");
|
|
2288
2288
|
registerAuth(program);
|
|
2289
2289
|
} catch (err) {
|
|
2290
2290
|
warnLoadFailure("auth commands", err);
|
|
@@ -2292,7 +2292,7 @@ async function registerAuthCommands() {
|
|
|
2292
2292
|
}
|
|
2293
2293
|
async function registerConfigCommands() {
|
|
2294
2294
|
try {
|
|
2295
|
-
const { registerConfig } = await import("./config-
|
|
2295
|
+
const { registerConfig } = await import("./config-6G2LAH5D.js");
|
|
2296
2296
|
registerConfig(program);
|
|
2297
2297
|
} catch (err) {
|
|
2298
2298
|
warnLoadFailure("config commands", err);
|
|
@@ -2300,7 +2300,7 @@ async function registerConfigCommands() {
|
|
|
2300
2300
|
}
|
|
2301
2301
|
async function registerCapabilityCommands() {
|
|
2302
2302
|
try {
|
|
2303
|
-
const { registerCapability } = await import("./capability-
|
|
2303
|
+
const { registerCapability } = await import("./capability-GM7CH2LZ.js");
|
|
2304
2304
|
registerCapability(program);
|
|
2305
2305
|
} catch (err) {
|
|
2306
2306
|
warnLoadFailure("capability commands", err);
|
|
@@ -2308,7 +2308,7 @@ async function registerCapabilityCommands() {
|
|
|
2308
2308
|
}
|
|
2309
2309
|
async function registerSyncCommand() {
|
|
2310
2310
|
try {
|
|
2311
|
-
const { registerSync } = await import("./sync-
|
|
2311
|
+
const { registerSync } = await import("./sync-GB3IKG2D.js");
|
|
2312
2312
|
registerSync(program);
|
|
2313
2313
|
} catch (err) {
|
|
2314
2314
|
warnLoadFailure("sync commands", err);
|
|
@@ -2324,7 +2324,7 @@ async function registerModelCommand() {
|
|
|
2324
2324
|
}
|
|
2325
2325
|
async function registerUpdateCommand() {
|
|
2326
2326
|
try {
|
|
2327
|
-
const { registerUpdate } = await import("./update-
|
|
2327
|
+
const { registerUpdate } = await import("./update-XPNNE7UF.js");
|
|
2328
2328
|
registerUpdate(program);
|
|
2329
2329
|
} catch (err) {
|
|
2330
2330
|
warnLoadFailure("update commands", err);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
withAsyncArtifactLifecycle
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-46V4ZF7E.js";
|
|
5
5
|
import {
|
|
6
6
|
createCapabilityCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OFOPYKYM.js";
|
|
8
8
|
import {
|
|
9
9
|
registerCapabilityGatewayRoute
|
|
10
10
|
} from "./chunk-AWW2T2WL.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-NBXQSPXL.js";
|
|
12
12
|
import "./chunk-VPLRZSMY.js";
|
|
13
13
|
import "./chunk-6E6HCTP2.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-IL2O4KDP.js";
|
|
15
15
|
import "./chunk-PUSFEC6B.js";
|
|
16
16
|
import "./chunk-UWQXGF44.js";
|
|
17
17
|
import "./chunk-IGU3R2JD.js";
|
package/dist/{personal-semantic-preference-JFJ5FFAY.js → personal-semantic-preference-PKYS73D6.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
createCapabilityCommand
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OFOPYKYM.js";
|
|
5
5
|
import {
|
|
6
6
|
registerCapabilityGatewayRoute
|
|
7
7
|
} from "./chunk-AWW2T2WL.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-NBXQSPXL.js";
|
|
9
9
|
import "./chunk-VPLRZSMY.js";
|
|
10
10
|
import "./chunk-6E6HCTP2.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-IL2O4KDP.js";
|
|
12
12
|
import "./chunk-PUSFEC6B.js";
|
|
13
13
|
import "./chunk-UWQXGF44.js";
|
|
14
14
|
import "./chunk-IGU3R2JD.js";
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
assertOutputPathAvailable,
|
|
4
4
|
downloadAnalysisArtifact,
|
|
5
5
|
withAsyncArtifactLifecycle
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-46V4ZF7E.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-
|
|
13
|
+
} from "./chunk-NBXQSPXL.js";
|
|
14
14
|
import {
|
|
15
15
|
CapabilityGatewayError,
|
|
16
16
|
dryRunCapabilityWithEnvelope,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
validateCapabilityWithEnvelope
|
|
19
19
|
} from "./chunk-VPLRZSMY.js";
|
|
20
20
|
import "./chunk-6E6HCTP2.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-IL2O4KDP.js";
|
|
22
22
|
import "./chunk-PUSFEC6B.js";
|
|
23
23
|
import "./chunk-UWQXGF44.js";
|
|
24
24
|
import "./chunk-IGU3R2JD.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk-7K24F7T2.js";
|
|
29
29
|
import {
|
|
30
30
|
printError
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-NBXQSPXL.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-CYZV5AXW.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-IL2O4KDP.js";
|
|
41
41
|
import "./chunk-PUSFEC6B.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-
|
|
13
|
+
} from "./chunk-46V4ZF7E.js";
|
|
14
14
|
import {
|
|
15
15
|
createCapabilityCommand,
|
|
16
16
|
definitionIntentSnapshotFlag,
|
|
17
17
|
modelDefinitionIntentSnapshotFlag
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OFOPYKYM.js";
|
|
19
19
|
import {
|
|
20
20
|
registerCapabilityGatewayRoute,
|
|
21
21
|
resolveGatewayDomain
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
unwrapOutputData,
|
|
28
28
|
withOutputMetadata
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-NBXQSPXL.js";
|
|
30
30
|
import {
|
|
31
31
|
normalizeResourceUrlFields,
|
|
32
32
|
normalizeResourceUrls,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
validateCapabilityWithEnvelope
|
|
48
48
|
} from "./chunk-VPLRZSMY.js";
|
|
49
49
|
import "./chunk-6E6HCTP2.js";
|
|
50
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-IL2O4KDP.js";
|
|
51
51
|
import "./chunk-PUSFEC6B.js";
|
|
52
52
|
import {
|
|
53
53
|
getCliToken
|
|
@@ -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-
|
|
4
|
+
} from "./chunk-OFOPYKYM.js";
|
|
5
5
|
import {
|
|
6
6
|
registerCapabilityGatewayRoute,
|
|
7
7
|
resolveGatewayDomain
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
unwrapOutputData,
|
|
11
11
|
withOutputMetadata
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NBXQSPXL.js";
|
|
13
13
|
import {
|
|
14
14
|
CapabilityGatewayError,
|
|
15
15
|
buildCapabilityGatewayUrl,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
sourceLoggedFetch
|
|
20
20
|
} from "./chunk-6E6HCTP2.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-IL2O4KDP.js";
|
|
22
22
|
import "./chunk-PUSFEC6B.js";
|
|
23
23
|
import {
|
|
24
24
|
SecureStoreAuthError,
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
} from "./chunk-Z6WSCIHM.js";
|
|
5
5
|
import {
|
|
6
6
|
printError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NBXQSPXL.js";
|
|
8
8
|
import {
|
|
9
9
|
sourceLoggedFetch
|
|
10
10
|
} from "./chunk-6E6HCTP2.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-IL2O4KDP.js";
|
|
12
12
|
import "./chunk-PUSFEC6B.js";
|
|
13
13
|
import {
|
|
14
14
|
SecureStoreAuthError,
|
|
@@ -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-
|
|
4
|
+
} from "./chunk-OFOPYKYM.js";
|
|
5
5
|
import {
|
|
6
6
|
registerCapabilityGatewayRoute,
|
|
7
7
|
resolveGatewayDomain
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
printError,
|
|
11
11
|
withOutputMetadata
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NBXQSPXL.js";
|
|
13
13
|
import {
|
|
14
14
|
CapabilityGatewayError,
|
|
15
15
|
buildCapabilityGatewayUrl,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
requestCapabilityGatewayWithEnvelope
|
|
19
19
|
} from "./chunk-VPLRZSMY.js";
|
|
20
20
|
import "./chunk-6E6HCTP2.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-IL2O4KDP.js";
|
|
22
22
|
import "./chunk-PUSFEC6B.js";
|
|
23
23
|
import "./chunk-UWQXGF44.js";
|
|
24
24
|
import "./chunk-IGU3R2JD.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
createCapabilityCommand
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OFOPYKYM.js";
|
|
5
5
|
import {
|
|
6
6
|
registerCapabilityGatewayRoute
|
|
7
7
|
} from "./chunk-AWW2T2WL.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-NBXQSPXL.js";
|
|
9
9
|
import "./chunk-VPLRZSMY.js";
|
|
10
10
|
import "./chunk-6E6HCTP2.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-IL2O4KDP.js";
|
|
12
12
|
import "./chunk-PUSFEC6B.js";
|
|
13
13
|
import "./chunk-UWQXGF44.js";
|
|
14
14
|
import "./chunk-IGU3R2JD.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-E5CJI7L3.js";
|
|
6
6
|
import {
|
|
7
7
|
printError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NBXQSPXL.js";
|
|
9
9
|
import {
|
|
10
10
|
TeAgentApiError
|
|
11
11
|
} from "./chunk-CYZV5AXW.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
CapabilityGatewayError
|
|
14
14
|
} from "./chunk-VPLRZSMY.js";
|
|
15
15
|
import "./chunk-6E6HCTP2.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-IL2O4KDP.js";
|
|
17
17
|
import "./chunk-PUSFEC6B.js";
|
|
18
18
|
import "./chunk-UWQXGF44.js";
|
|
19
19
|
import "./chunk-IGU3R2JD.js";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
printError,
|
|
8
8
|
printOutput
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NBXQSPXL.js";
|
|
10
10
|
import "./chunk-VPLRZSMY.js";
|
|
11
11
|
import "./chunk-6E6HCTP2.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-IL2O4KDP.js";
|
|
13
13
|
import "./chunk-PUSFEC6B.js";
|
|
14
14
|
import "./chunk-UWQXGF44.js";
|
|
15
15
|
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-
|
|
5
|
+
} from "./chunk-NBXQSPXL.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-
|
|
17
|
+
} from "./chunk-IL2O4KDP.js";
|
|
18
18
|
import {
|
|
19
19
|
getLocalCliPackageInfo
|
|
20
20
|
} from "./chunk-PUSFEC6B.js";
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
websiteEnvironment,
|
|
44
44
|
websiteOrigin,
|
|
45
45
|
withCliEntryContext
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-IL2O4KDP.js";
|
|
47
47
|
import {
|
|
48
48
|
getLocalCliPackageInfo
|
|
49
49
|
} from "./chunk-PUSFEC6B.js";
|
|
@@ -1774,7 +1774,7 @@ var defaults = {
|
|
|
1774
1774
|
authorize: authorizeLoginDevice,
|
|
1775
1775
|
poll: (issuer, code, signal) => pollDeviceToken(issuer, code, code.startsWith("uba_") ? "uba" : "legacy", signal),
|
|
1776
1776
|
async persist(host, tokens, signal) {
|
|
1777
|
-
const { persistDeviceTokens, activateHostAfterLogin } = await import("./auth-
|
|
1777
|
+
const { persistDeviceTokens, activateHostAfterLogin } = await import("./auth-FXRGFG37.js");
|
|
1778
1778
|
await persistDeviceTokens(host, tokens, { signal, checkCompatibility: false });
|
|
1779
1779
|
activateHostAfterLogin(host, host);
|
|
1780
1780
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ae-onboarding
|
|
3
|
-
version: 1.1.
|
|
3
|
+
version: 1.1.36
|
|
4
4
|
description: "Guide Demo analysis and a follow-up A/B experiment in AE onboarding, with SDK integration available in a local agent."
|
|
5
5
|
metadata:
|
|
6
6
|
internal: true
|
|
@@ -20,7 +20,9 @@ After the verified experiment report is ready to deliver, run `node <this-skill-
|
|
|
20
20
|
|
|
21
21
|
## Login
|
|
22
22
|
|
|
23
|
-
For a new local onboarding session, use the customer's explicit or already confirmed market. Otherwise infer it from the local language and the language of the customer's own request. Chinese maps to China, English to the United States, Japanese to Japan, and Korean to South Korea.
|
|
23
|
+
For a new local onboarding session, use the customer's explicit or already confirmed market. Otherwise infer it from the local language and the language of the customer's own request. Chinese maps to China, English to the United States, Japanese to Japan, and Korean to South Korea. If the two hints differ, render exactly the two corresponding markets. For Chinese and English, show only China and the United States. Treat the CLI's `markets` list as supported-market metadata. Use either hint alone when the other is unavailable, or the United States when neither is available.
|
|
24
|
+
|
|
25
|
+
If China is selected, explain that website signup for CLI onboarding is currently unavailable and end the signup flow. Existing accounts use their original host. For website onboarding in other markets, pass the resolved `--region jp`, `--region kr`, or `--region us`.
|
|
24
26
|
|
|
25
27
|
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.
|
|
26
28
|
|