@thinkingai/ae-cli 6.1.37 → 6.1.38
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 +1 -2
- package/dist/{ai-monitor-YKNYBHN2.js → ai-monitor-UL2O7J4X.js} +4 -4
- package/dist/ai-monitor.js +5 -5
- package/dist/{auth-FXRGFG37.js → auth-ERWVKQDG.js} +3 -3
- package/dist/{capability-GM7CH2LZ.js → capability-HPP6E3ZX.js} +2 -2
- package/dist/{chunk-OTV5EBR5.js → chunk-BWEQIKA3.js} +3 -3
- package/dist/{chunk-46V4ZF7E.js → chunk-DKOGWIYQ.js} +1 -1
- package/dist/{chunk-IL2O4KDP.js → chunk-DULCIC67.js} +19 -19
- package/dist/{chunk-NBXQSPXL.js → chunk-JRXSLFCA.js} +1 -1
- package/dist/{chunk-JFXDUX6U.js → chunk-NDX4VJO7.js} +1 -1
- package/dist/{chunk-EFGZFFSO.js → chunk-PCQTBRPT.js} +1 -1
- package/dist/{chunk-OFOPYKYM.js → chunk-ZLJZPPPV.js} +1 -1
- package/dist/{compat-check-ZMJWF6QG.js → compat-check-WRPEFB5N.js} +1 -1
- package/dist/{config-6G2LAH5D.js → config-IS33K45R.js} +4 -7
- package/dist/index.js +19 -19
- package/dist/{metadata-6S3Z67JC.js → metadata-TMAXVLOL.js} +4 -4
- package/dist/{personal-semantic-preference-PKYS73D6.js → personal-semantic-preference-RMZEDRCJ.js} +3 -3
- package/dist/{project-semantic-B5PG4JJB.js → project-semantic-UD3OAZ6K.js} +3 -3
- package/dist/{sync-GB3IKG2D.js → sync-GVF3OI2U.js} +2 -2
- package/dist/{te-analysis-ZYL4AF34.js → te-analysis-SJIE5OZY.js} +5 -5
- package/dist/{te-community-R63WXF6D.js → te-community-VNHJDEID.js} +3 -3
- package/dist/{te-dataops-VHTPW433.js → te-dataops-AO4OQBQV.js} +2 -2
- package/dist/{te-engage-ZE7ROR3Z.js → te-engage-EZJRFG3Q.js} +3 -3
- package/dist/{te-experiment-ZDR2JZTN.js → te-experiment-R2MNSAKV.js} +3 -3
- package/dist/{te-kb-6NXLBHE3.js → te-kb-C44A4BHM.js} +2 -2
- package/dist/{te-team-KOSX43ZP.js → te-team-J52STTEZ.js} +2 -2
- package/dist/{update-XPNNE7UF.js → update-GEKOZMHU.js} +2 -2
- package/dist/{web-runtime-7DPC4HYJ.js → web-runtime-5M7PRY7R.js} +2 -2
- package/package.json +1 -1
- package/skills/ae-onboarding/SKILL.md +2 -2
- package/skills/ae-onboarding/references/onboarding_run.md +1 -1
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ npx @thinkingai/ae-cli@latest install --format json
|
|
|
29
29
|
|
|
30
30
|
The installer checks Node.js 20+, installs and verifies the CLI, then uses the bundled Skills tool to install matching global Skills for supported clients. First installation includes all bundled Skills when no business state has been confirmed. `--dry-run`, `--format json`, and optional `--host <AE_HOST>` are supported. Being logged out is not an installation failure. See the [installation guide](./cli-installation-guide.md).
|
|
31
31
|
|
|
32
|
-
When installing through Codex, Claude Code, Cursor, or another terminal-capable Agent, give it the `--format json` command above and the installation guide. The Agent reports the verification result. To start guided website onboarding in Japan, South Korea, or the United States, ask for onboarding explicitly.
|
|
32
|
+
When installing through Codex, Claude Code, Cursor, or another terminal-capable Agent, give it the `--format json` command above and the installation guide. The Agent reports the verification result. To start guided website onboarding in China, Japan, South Korea, or the United States, ask for onboarding explicitly. Sign in to an existing account using its original AE environment URL. If you used `npm install -g`, run `ae-cli install --format json` first to verify the installed version and sync its Skills. [Agent installation prompt](./cli-installation-guide.md#ai-installation-prompt)
|
|
33
33
|
|
|
34
34
|
The Skills teach supported coding Agents, including Claude Code, Codex, Cursor, and similar tools, how to discover and call `ae-cli`.
|
|
35
35
|
|
package/README.zh.md
CHANGED
|
@@ -29,7 +29,7 @@ npx @thinkingai/ae-cli@latest install --format json
|
|
|
29
29
|
|
|
30
30
|
安装器检查 Node.js 20+、安装并验证 CLI,再通过内置的 Skills 工具向支持的客户端安装同版本全局 Skills。首次安装且尚无已确认业务状态时安装全量内置 Skills。支持 `--dry-run`、`--format json` 和可选的 `--host <AE_HOST>`。未登录不算安装失败。详见[安装指南](./cli-installation-guide.md)。
|
|
31
31
|
|
|
32
|
-
通过 Codex、Claude Code、Cursor 等 AI Agent 安装时,把上面的 `--format json` 命令和安装指南交给 Agent,Agent
|
|
32
|
+
通过 Codex、Claude Code、Cursor 等 AI Agent 安装时,把上面的 `--format json` 命令和安装指南交给 Agent,Agent 会汇报验收结果。如需体验新手引导,请明确提出。中国、日本、韩国和美国用户可通过官网完成引导。已有账号使用原 AE 环境地址登录。如果通过 `npm install -g` 安装,请先执行 `ae-cli install --format json` 验证版本并同步对应的 Skills。[Agent 安装提示词](./cli-installation-guide.md#ai-installation-prompt)
|
|
33
33
|
|
|
34
34
|
Skills 会帮助 Claude Code、Codex、Cursor 等编码 Agent 理解、发现并调用 `ae-cli`。
|
|
35
35
|
|
|
@@ -55,8 +55,7 @@ If the user asks to install AE CLI, run the installer and report the verificatio
|
|
|
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
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
|
-
-
|
|
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.
|
|
58
|
+
- Start website onboarding with `ae-cli analysis onboarding run --browser system --format json`. Pass the resolved market with `--region cn`, `--region jp`, `--region kr`, or `--region us`, and pass `--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.
|
|
60
59
|
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.
|
|
61
60
|
|
|
62
61
|
## 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-NDX4VJO7.js";
|
|
13
|
+
import "./chunk-ZLJZPPPV.js";
|
|
14
14
|
import "./chunk-AWW2T2WL.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-JRXSLFCA.js";
|
|
16
16
|
import "./chunk-VPLRZSMY.js";
|
|
17
17
|
import "./chunk-6E6HCTP2.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-DULCIC67.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-NDX4VJO7.js";
|
|
5
|
+
import "./chunk-ZLJZPPPV.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-BWEQIKA3.js";
|
|
12
12
|
import "./chunk-GYODT7C4.js";
|
|
13
13
|
import "./chunk-L7MT53VM.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-JRXSLFCA.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-DULCIC67.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-PCQTBRPT.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-JRXSLFCA.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-DULCIC67.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-JRXSLFCA.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-DULCIC67.js";
|
|
37
37
|
import "./chunk-PUSFEC6B.js";
|
|
38
38
|
import {
|
|
39
39
|
CredentialStoreUnreadableError,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
printError,
|
|
11
11
|
printOutput
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JRXSLFCA.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-DULCIC67.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-5M7PRY7R.js");
|
|
474
474
|
return invokeOnboarding(action, input);
|
|
475
475
|
},
|
|
476
476
|
has(name) {
|
|
@@ -418,10 +418,12 @@ function onboardingGrowthScenario(value) {
|
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
// src/core/website-entry.ts
|
|
421
|
-
var LOGIN_PATHS = { jp: "/jp/experience-login/", kr: "/kr/experience-login/", us: "/en/experience-login/" };
|
|
421
|
+
var LOGIN_PATHS = { jp: "/jp/experience-login/", kr: "/kr/experience-login/", us: "/en/experience-login/", cn: "/experience-login/" };
|
|
422
422
|
var WEBSITE_MARKETS = Object.keys(LOGIN_PATHS);
|
|
423
423
|
var PRODUCTION_ISSUER = "https://thinkingai.io";
|
|
424
424
|
var PRODUCTION_BROWSER_ORIGIN = "https://www.thinkingai.io";
|
|
425
|
+
var CHINA_PRODUCTION_ORIGIN = "https://www.thinkingai.cn";
|
|
426
|
+
var UNSUPPORTED_MARKET = "Website onboarding is available in China, Japan, South Korea, and the United States. Use --region cn, jp, kr, or us.";
|
|
425
427
|
function isWebsiteMarket(market) {
|
|
426
428
|
return Object.hasOwn(LOGIN_PATHS, market);
|
|
427
429
|
}
|
|
@@ -432,11 +434,11 @@ function websiteEnvironment(value, env = process.env) {
|
|
|
432
434
|
}
|
|
433
435
|
function websiteOrigin(market, environment) {
|
|
434
436
|
websiteEnvironment(environment, {});
|
|
435
|
-
if (!isWebsiteMarket(market)) throw new Error(
|
|
436
|
-
return PRODUCTION_ISSUER;
|
|
437
|
+
if (!isWebsiteMarket(market)) throw new Error(UNSUPPORTED_MARKET);
|
|
438
|
+
return market === "cn" ? CHINA_PRODUCTION_ORIGIN : PRODUCTION_ISSUER;
|
|
437
439
|
}
|
|
438
440
|
function isProductionWebsiteOrigin(origin) {
|
|
439
|
-
return origin === PRODUCTION_ISSUER || origin === PRODUCTION_BROWSER_ORIGIN;
|
|
441
|
+
return origin === PRODUCTION_ISSUER || origin === PRODUCTION_BROWSER_ORIGIN || origin === CHINA_PRODUCTION_ORIGIN;
|
|
440
442
|
}
|
|
441
443
|
function environmentForWebsiteOrigin(origin) {
|
|
442
444
|
if (isProductionWebsiteOrigin(origin)) return "production";
|
|
@@ -470,8 +472,9 @@ function withCliEntryContext(value, source, market, toolReference) {
|
|
|
470
472
|
}
|
|
471
473
|
function websiteLoginUrl(market, environment, source, toolReference) {
|
|
472
474
|
websiteEnvironment(environment, {});
|
|
473
|
-
if (!isWebsiteMarket(market)) throw new Error(
|
|
474
|
-
|
|
475
|
+
if (!isWebsiteMarket(market)) throw new Error(UNSUPPORTED_MARKET);
|
|
476
|
+
const origin = market === "cn" ? CHINA_PRODUCTION_ORIGIN : PRODUCTION_BROWSER_ORIGIN;
|
|
477
|
+
return withCliEntryContext(`${origin}${LOGIN_PATHS[market]}`, source, market, toolReference);
|
|
475
478
|
}
|
|
476
479
|
|
|
477
480
|
// src/core/host-guidance.ts
|
|
@@ -493,17 +496,15 @@ function registrationMarket(language) {
|
|
|
493
496
|
}
|
|
494
497
|
function aeRegistrationUrl(language, env = process.env, source) {
|
|
495
498
|
const market = registrationMarket(registrationLanguage(language, env));
|
|
496
|
-
if (!isWebsiteMarket(market)) return void 0;
|
|
497
499
|
const tool = cliEntrySource(source, env);
|
|
498
500
|
return websiteLoginUrl(market, "production", tool, cliToolReference(tool, env));
|
|
499
501
|
}
|
|
500
|
-
var CHINA_WEBSITE_ONBOARDING_UNAVAILABLE = "Website signup for CLI onboarding is currently unavailable in China.";
|
|
501
502
|
var AE_HOST_SETUP_COMMAND = "ae-cli config set-host <url>";
|
|
502
503
|
function missingAeHostHint(additionalAction) {
|
|
503
504
|
const registration = aeRegistrationUrl();
|
|
504
505
|
const actions = [
|
|
505
506
|
`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
|
-
|
|
507
|
+
`To register or sign in, visit ${registration}, or run ae-cli analysis onboarding run for guided setup.`
|
|
507
508
|
];
|
|
508
509
|
if (additionalAction) actions.push(additionalAction);
|
|
509
510
|
return actions.join(" ");
|
|
@@ -513,9 +514,10 @@ function missingAeHostGuidance() {
|
|
|
513
514
|
return {
|
|
514
515
|
configure_host: AE_HOST_SETUP_COMMAND,
|
|
515
516
|
existing_customer: "Use the original AE environment URL when known, or ask your administrator.",
|
|
516
|
-
// Legacy alias for the
|
|
517
|
-
request_trial_url: registration
|
|
518
|
-
|
|
517
|
+
// Legacy alias for the official website registration URL.
|
|
518
|
+
request_trial_url: registration,
|
|
519
|
+
registration_login_url: registration,
|
|
520
|
+
onboarding_command: "ae-cli analysis onboarding run"
|
|
519
521
|
};
|
|
520
522
|
}
|
|
521
523
|
|
|
@@ -1716,7 +1718,7 @@ async function readBusinessConfigForExecution(hostOverride, synchronizeSkills =
|
|
|
1716
1718
|
const token = peekCliToken(host);
|
|
1717
1719
|
if (!token) return {};
|
|
1718
1720
|
return await resolveBusinessConfig(host, token, async () => {
|
|
1719
|
-
const { fetchCliConfig: fetchCliConfig2 } = await import("./compat-check-
|
|
1721
|
+
const { fetchCliConfig: fetchCliConfig2 } = await import("./compat-check-WRPEFB5N.js");
|
|
1720
1722
|
return fetchCliConfig2(host, token);
|
|
1721
1723
|
}, Date.now(), synchronizeSkills);
|
|
1722
1724
|
} catch {
|
|
@@ -1973,13 +1975,12 @@ function runInstallation(options = {}) {
|
|
|
1973
1975
|
const localLanguage = localRegistrationLanguage(env);
|
|
1974
1976
|
const language = localLanguage ?? "en-US";
|
|
1975
1977
|
const market = registrationMarket(language);
|
|
1976
|
-
const websiteOnboarding = isWebsiteMarket(market);
|
|
1977
1978
|
if (guideAccountSetup) {
|
|
1978
1979
|
if (localLanguage) report.local_language = localLanguage;
|
|
1979
1980
|
report.next_steps.push("If the user only requested installation, report the verified version and Skill count and finish.");
|
|
1980
1981
|
if (report.auth.authenticated === true) report.next_action = "continue_using_ae";
|
|
1981
1982
|
else if (report.auth.warnings.length > 0) report.next_action = "check_authentication";
|
|
1982
|
-
else
|
|
1983
|
+
else report.next_action = "choose_account";
|
|
1983
1984
|
}
|
|
1984
1985
|
if (report.auth.authenticated === true) {
|
|
1985
1986
|
report.next_steps.push("You are signed in. Continue your AE task in this AI tool using the existing environment.");
|
|
@@ -1994,12 +1995,12 @@ function runInstallation(options = {}) {
|
|
|
1994
1995
|
if (chooseAccount || !report.auth.host) {
|
|
1995
1996
|
const source = cliEntrySource(void 0, env);
|
|
1996
1997
|
const registration = aeRegistrationUrl(language, env, source);
|
|
1997
|
-
if (
|
|
1998
|
+
if (chooseAccount) {
|
|
1998
1999
|
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}.`);
|
|
1999
|
-
} else
|
|
2000
|
+
} else {
|
|
2000
2001
|
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.`);
|
|
2001
2002
|
}
|
|
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.
|
|
2003
|
+
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 cn|jp|kr|us. Language does not change an existing account's environment.`);
|
|
2003
2004
|
}
|
|
2004
2005
|
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.");
|
|
2005
2006
|
else if (!report.auth.host) report.next_steps.push("Existing AE users: use your original environment URL, or ask your administrator.");
|
|
@@ -2679,7 +2680,6 @@ export {
|
|
|
2679
2680
|
registrationLanguage,
|
|
2680
2681
|
registrationMarket,
|
|
2681
2682
|
aeRegistrationUrl,
|
|
2682
|
-
CHINA_WEBSITE_ONBOARDING_UNAVAILABLE,
|
|
2683
2683
|
missingAeHostHint,
|
|
2684
2684
|
missingAeHostGuidance,
|
|
2685
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-ZLJZPPPV.js";
|
|
5
5
|
import {
|
|
6
6
|
registerCapabilityGatewayRoute
|
|
7
7
|
} from "./chunk-AWW2T2WL.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
invalidateBusinessSkillSynchronization,
|
|
5
5
|
refreshEnvironmentAfterLogin,
|
|
6
6
|
refreshEnvironmentConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PCQTBRPT.js";
|
|
8
8
|
import {
|
|
9
9
|
MultiselectCancelled,
|
|
10
10
|
promptSingleSelect
|
|
@@ -12,15 +12,14 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
printError,
|
|
14
14
|
printOutput
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JRXSLFCA.js";
|
|
16
16
|
import {
|
|
17
|
-
CHINA_WEBSITE_ONBOARDING_UNAVAILABLE,
|
|
18
17
|
aeRegistrationUrl,
|
|
19
18
|
fetchCliConfig,
|
|
20
19
|
missingAeHostHint,
|
|
21
20
|
readCurrentBusinessConfig,
|
|
22
21
|
resolveKbAutoDiscoveryFeature
|
|
23
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-DULCIC67.js";
|
|
24
23
|
import "./chunk-PUSFEC6B.js";
|
|
25
24
|
import {
|
|
26
25
|
peekCliToken
|
|
@@ -53,11 +52,9 @@ async function runConfigUI() {
|
|
|
53
52
|
process.stderr.write("\n\x1B[1mNo AE environments configured.\x1B[0m\n\n");
|
|
54
53
|
process.stderr.write("Use the AE URL provided by your AgenticEngine administrator.\n");
|
|
55
54
|
const registration = aeRegistrationUrl();
|
|
56
|
-
process.stderr.write(
|
|
55
|
+
process.stderr.write(`Website registration: ${registration}
|
|
57
56
|
For guided setup, run: ae-cli analysis onboarding run
|
|
58
57
|
|
|
59
|
-
` : `${CHINA_WEBSITE_ONBOARDING_UNAVAILABLE}
|
|
60
|
-
|
|
61
58
|
`);
|
|
62
59
|
await promptAddEnvironment();
|
|
63
60
|
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-BWEQIKA3.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-JRXSLFCA.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-DULCIC67.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-SJIE5OZY.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-EZJRFG3Q.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-R2MNSAKV.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-VNHJDEID.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-AO4OQBQV.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-C44A4BHM.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-J52STTEZ.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-TMAXVLOL.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-RMZEDRCJ.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-UD3OAZ6K.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-UL2O7J4X.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-ERWVKQDG.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-IS33K45R.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-HPP6E3ZX.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-GVF3OI2U.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-GEKOZMHU.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-DKOGWIYQ.js";
|
|
5
5
|
import {
|
|
6
6
|
createCapabilityCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZLJZPPPV.js";
|
|
8
8
|
import {
|
|
9
9
|
registerCapabilityGatewayRoute
|
|
10
10
|
} from "./chunk-AWW2T2WL.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-JRXSLFCA.js";
|
|
12
12
|
import "./chunk-VPLRZSMY.js";
|
|
13
13
|
import "./chunk-6E6HCTP2.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-DULCIC67.js";
|
|
15
15
|
import "./chunk-PUSFEC6B.js";
|
|
16
16
|
import "./chunk-UWQXGF44.js";
|
|
17
17
|
import "./chunk-IGU3R2JD.js";
|
package/dist/{personal-semantic-preference-PKYS73D6.js → personal-semantic-preference-RMZEDRCJ.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-ZLJZPPPV.js";
|
|
5
5
|
import {
|
|
6
6
|
registerCapabilityGatewayRoute
|
|
7
7
|
} from "./chunk-AWW2T2WL.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-JRXSLFCA.js";
|
|
9
9
|
import "./chunk-VPLRZSMY.js";
|
|
10
10
|
import "./chunk-6E6HCTP2.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-DULCIC67.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-DKOGWIYQ.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-JRXSLFCA.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-DULCIC67.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-JRXSLFCA.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-DULCIC67.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-DKOGWIYQ.js";
|
|
14
14
|
import {
|
|
15
15
|
createCapabilityCommand,
|
|
16
16
|
definitionIntentSnapshotFlag,
|
|
17
17
|
modelDefinitionIntentSnapshotFlag
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZLJZPPPV.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-JRXSLFCA.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-DULCIC67.js";
|
|
51
51
|
import "./chunk-PUSFEC6B.js";
|
|
52
52
|
import {
|
|
53
53
|
getCliToken
|
|
@@ -11937,7 +11937,7 @@ var onboardingRun = {
|
|
|
11937
11937
|
flags: [
|
|
11938
11938
|
...sharedFlags,
|
|
11939
11939
|
{ name: "source", type: "string", required: false, desc: "Local AI tool: codex, claude-code, cursor, or other. This is not an authorization credential." },
|
|
11940
|
-
{ name: "region", type: "string", required: false, desc: "Production onboarding market: jp, kr, or us." },
|
|
11940
|
+
{ name: "region", type: "string", required: false, desc: "Production onboarding market: cn, jp, kr, or us." },
|
|
11941
11941
|
{ name: "language", type: "string", required: false, desc: "Conversation language: zh-CN, en-US, ja-JP, or ko-KR. Use --region for the market when it differs from the language default." },
|
|
11942
11942
|
{ name: "website-env", type: "string", required: false, desc: "Compatibility flag. Website onboarding uses production." },
|
|
11943
11943
|
{ name: "choice", type: "string", required: false, desc: "Select demo or business after the user chooses an experience." },
|
|
@@ -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-ZLJZPPPV.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-JRXSLFCA.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-DULCIC67.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-JRXSLFCA.js";
|
|
8
8
|
import {
|
|
9
9
|
sourceLoggedFetch
|
|
10
10
|
} from "./chunk-6E6HCTP2.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-DULCIC67.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-ZLJZPPPV.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-JRXSLFCA.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-DULCIC67.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-ZLJZPPPV.js";
|
|
5
5
|
import {
|
|
6
6
|
registerCapabilityGatewayRoute
|
|
7
7
|
} from "./chunk-AWW2T2WL.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-JRXSLFCA.js";
|
|
9
9
|
import "./chunk-VPLRZSMY.js";
|
|
10
10
|
import "./chunk-6E6HCTP2.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-DULCIC67.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-JRXSLFCA.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-DULCIC67.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-JRXSLFCA.js";
|
|
10
10
|
import "./chunk-VPLRZSMY.js";
|
|
11
11
|
import "./chunk-6E6HCTP2.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-DULCIC67.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-JRXSLFCA.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-DULCIC67.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-DULCIC67.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-ERWVKQDG.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.37
|
|
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
|
|
@@ -22,7 +22,7 @@ After the verified experiment report is ready to deliver, run `node <this-skill-
|
|
|
22
22
|
|
|
23
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
24
|
|
|
25
|
-
|
|
25
|
+
Start website onboarding with the resolved `--region cn`, `--region jp`, `--region kr`, or `--region us`. Existing accounts use their original host.
|
|
26
26
|
|
|
27
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.
|
|
28
28
|
|
|
@@ -4,7 +4,7 @@ Run `ae-cli analysis onboarding run` when the customer starts or resumes AE PLG,
|
|
|
4
4
|
|
|
5
5
|
In an external Agent, the CLI opens new login and authorization pages in the system default browser. If opening fails, give the user the exact returned URL. Web onboarding uses the platform identity and does not open these pages.
|
|
6
6
|
|
|
7
|
-
For local website onboarding, use the customer's production market (`jp`, `kr`, or `us`). If a saved test session cannot resume, keep its original account and start a separate session only when the customer asks to register in a supported production market.
|
|
7
|
+
For local website onboarding, use the customer's production market (`cn`, `jp`, `kr`, or `us`). If a saved test session cannot resume, keep its original account and start a separate session only when the customer asks to register in a supported production market.
|
|
8
8
|
|
|
9
9
|
Use `interaction.options` as the choices for a user decision and `next_action` for what to run next. A successful sign-in can return `choose_experience` immediately. If Demo evidence links are ready, `evidence` contains links for the current Demo project.
|
|
10
10
|
|