@thinkingai/ae-cli 6.1.35 → 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 +2 -2
- package/README.zh.md +2 -2
- package/cli-installation-guide.md +13 -11
- package/dist/{ai-monitor-TVRFVZBH.js → ai-monitor-YKNYBHN2.js} +4 -4
- package/dist/ai-monitor.js +5 -5
- package/dist/{auth-JAXLMPBB.js → auth-FXRGFG37.js} +3 -3
- package/dist/{capability-2Z4ZXTPD.js → capability-GM7CH2LZ.js} +2 -2
- package/dist/{chunk-NK5PS5X7.js → chunk-46V4ZF7E.js} +1 -1
- package/dist/{chunk-S74XV3A6.js → chunk-EFGZFFSO.js} +1 -1
- package/dist/{chunk-FNACCKQR.js → chunk-IL2O4KDP.js} +21 -20
- package/dist/{chunk-IWMDPHMI.js → chunk-JFXDUX6U.js} +1 -1
- package/dist/{chunk-DE5XHQQ6.js → chunk-NBXQSPXL.js} +1 -1
- package/dist/{chunk-3PZNM5KN.js → chunk-OFOPYKYM.js} +1 -1
- package/dist/{chunk-Q764EZND.js → chunk-OTV5EBR5.js} +3 -3
- package/dist/{compat-check-E7AQ7UCG.js → compat-check-ZMJWF6QG.js} +1 -1
- package/dist/{config-PGSUWIK5.js → config-6G2LAH5D.js} +7 -7
- package/dist/index.js +19 -19
- package/dist/{metadata-7MZ3CJ2N.js → metadata-6S3Z67JC.js} +4 -4
- package/dist/{personal-semantic-preference-SWOUNDWJ.js → personal-semantic-preference-PKYS73D6.js} +3 -3
- package/dist/{project-semantic-M2DDPAMD.js → project-semantic-B5PG4JJB.js} +3 -3
- package/dist/{sync-PWC63JCO.js → sync-GB3IKG2D.js} +2 -2
- package/dist/{te-analysis-BK6PE333.js → te-analysis-ZYL4AF34.js} +4 -4
- package/dist/{te-community-OLNTKGCW.js → te-community-R63WXF6D.js} +3 -3
- package/dist/{te-dataops-XUWRIF5R.js → te-dataops-VHTPW433.js} +2 -2
- package/dist/{te-engage-I3I4FJOM.js → te-engage-ZE7ROR3Z.js} +3 -3
- package/dist/{te-experiment-XSDUL4KH.js → te-experiment-ZDR2JZTN.js} +3 -3
- package/dist/{te-kb-QFH3YLFQ.js → te-kb-6NXLBHE3.js} +2 -2
- package/dist/{te-team-UADF2HBO.js → te-team-KOSX43ZP.js} +2 -2
- package/dist/{update-6I366ICW.js → update-XPNNE7UF.js} +2 -2
- package/dist/{web-runtime-3XFREWRF.js → web-runtime-7DPC4HYJ.js} +2 -2
- package/package.json +1 -1
- package/skills/ae-onboarding/SKILL.md +4 -2
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.
|
|
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. In China, sign in to an existing account using your 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
|
|
|
@@ -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
|
@@ -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
|
|
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
|
|
|
@@ -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
|
|
|
@@ -45,16 +45,18 @@ The managed synchronizer uses the verified package source. Replaying historical
|
|
|
45
45
|
|
|
46
46
|
## Start using AE in an Agent
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
1. Check `ok: true`, `dry_run: false`, `cli.verified: true`, and `skills.status: "success"`. On success, report the verified version and installed Skill count.
|
|
51
|
-
2.
|
|
52
|
-
3.
|
|
53
|
-
-
|
|
54
|
-
- If the user
|
|
55
|
-
|
|
56
|
-
-
|
|
57
|
-
|
|
48
|
+
If the user asks to install AE CLI, run the installer and report the verification result. If the user ran `npm install -g`, locate the requested version's executable and run `ae-cli install --format json` with it to sync and verify the matching global Skills.
|
|
49
|
+
|
|
50
|
+
1. Check `ok: true`, `dry_run: false`, `cli.verified: true`, and `skills.status: "success"`. On success, report the verified version and installed Skill count. If the request is just installation, finish here even when the report includes `next_action: "choose_account"`. A request such as “Follow this guide to install AE CLI” is an installation request. For an upgrade, a dry run, or incomplete verification, report the result and stop. Include the status and affected Skills if synchronization failed or was skipped.
|
|
51
|
+
2. Continue only when the user explicitly asks for AE onboarding, a walkthrough, signup, or sign-in. If the user already has a verified installation, start here. For `check_authentication`, a missing `next_action`, or an existing installation without a current report, run `ae-cli auth status --format json` with the verified executable. Use the user's supplied `--host` when applicable. If the check fails, explain the result and confirm the intended environment before starting signup or login.
|
|
52
|
+
3. Follow the route the user requested.
|
|
53
|
+
- For an existing-account login, use step 5. If the intended environment is already signed in, use it for the user's AE task.
|
|
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
|
+
4. Use an explicitly requested or already confirmed market. Otherwise resolve the market from the local language and the user's request.
|
|
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 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.
|
|
58
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.
|
|
59
61
|
|
|
60
62
|
## Host and login
|
|
@@ -123,4 +125,4 @@ Choose the specific Skill you are troubleshooting. The onboarding Skill is loade
|
|
|
123
125
|
|
|
124
126
|
## AI installation prompt
|
|
125
127
|
|
|
126
|
-
> Install AE CLI and its matching global Skills with `npx @thinkingai/ae-cli@latest install --format json`. Use the version and registry I supply, if any.
|
|
128
|
+
> Install AE CLI and its matching global Skills with `npx @thinkingai/ae-cli@latest install --format json`. Use the version and registry I supply, if any. Verify the installation and report the CLI version and Skill count. If I also ask for onboarding or sign-in, follow [Start using AE in an Agent](#start-using-ae-in-an-agent).
|
|
@@ -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,
|
|
@@ -482,26 +482,28 @@ function normalizeRegistrationLanguage(value) {
|
|
|
482
482
|
if (language === "ko" || language === "kr") return "ko-KR";
|
|
483
483
|
return language === "en" ? "en-US" : void 0;
|
|
484
484
|
}
|
|
485
|
+
function localRegistrationLanguage(env = process.env) {
|
|
486
|
+
return normalizeRegistrationLanguage(env.AE_LANG || env.LC_ALL || env.LC_MESSAGES || env.LANG || env.LANGUAGE || "");
|
|
487
|
+
}
|
|
485
488
|
function registrationLanguage(language, env = process.env) {
|
|
486
|
-
|
|
487
|
-
return normalizeRegistrationLanguage(value) ?? "en-US";
|
|
489
|
+
return (language ? normalizeRegistrationLanguage(language) : localRegistrationLanguage(env)) ?? "en-US";
|
|
488
490
|
}
|
|
489
491
|
function registrationMarket(language) {
|
|
490
492
|
return { "zh-CN": "cn", "en-US": "us", "ja-JP": "jp", "ko-KR": "kr" }[language];
|
|
491
493
|
}
|
|
492
494
|
function aeRegistrationUrl(language, env = process.env, source) {
|
|
493
495
|
const market = registrationMarket(registrationLanguage(language, env));
|
|
494
|
-
if (!isWebsiteMarket(market)) return
|
|
496
|
+
if (!isWebsiteMarket(market)) return void 0;
|
|
495
497
|
const tool = cliEntrySource(source, env);
|
|
496
498
|
return websiteLoginUrl(market, "production", tool, cliToolReference(tool, env));
|
|
497
499
|
}
|
|
498
|
-
var
|
|
500
|
+
var CHINA_WEBSITE_ONBOARDING_UNAVAILABLE = "Website signup for CLI onboarding is currently unavailable in China.";
|
|
499
501
|
var AE_HOST_SETUP_COMMAND = "ae-cli config set-host <url>";
|
|
500
502
|
function missingAeHostHint(additionalAction) {
|
|
501
503
|
const registration = aeRegistrationUrl();
|
|
502
504
|
const actions = [
|
|
503
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.`,
|
|
504
|
-
registration
|
|
506
|
+
registration ? `To register or sign in, visit ${registration}, or run ae-cli analysis onboarding run for guided setup.` : CHINA_WEBSITE_ONBOARDING_UNAVAILABLE
|
|
505
507
|
];
|
|
506
508
|
if (additionalAction) actions.push(additionalAction);
|
|
507
509
|
return actions.join(" ");
|
|
@@ -511,11 +513,9 @@ function missingAeHostGuidance() {
|
|
|
511
513
|
return {
|
|
512
514
|
configure_host: AE_HOST_SETUP_COMMAND,
|
|
513
515
|
existing_customer: "Use the original AE environment URL when known, or ask your administrator.",
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
onboarding_command: "ae-cli analysis onboarding run"
|
|
518
|
-
}
|
|
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" } : {}
|
|
519
519
|
};
|
|
520
520
|
}
|
|
521
521
|
|
|
@@ -1716,7 +1716,7 @@ async function readBusinessConfigForExecution(hostOverride, synchronizeSkills =
|
|
|
1716
1716
|
const token = peekCliToken(host);
|
|
1717
1717
|
if (!token) return {};
|
|
1718
1718
|
return await resolveBusinessConfig(host, token, async () => {
|
|
1719
|
-
const { fetchCliConfig: fetchCliConfig2 } = await import("./compat-check-
|
|
1719
|
+
const { fetchCliConfig: fetchCliConfig2 } = await import("./compat-check-ZMJWF6QG.js");
|
|
1720
1720
|
return fetchCliConfig2(host, token);
|
|
1721
1721
|
}, Date.now(), synchronizeSkills);
|
|
1722
1722
|
} catch {
|
|
@@ -1970,10 +1970,13 @@ function runInstallation(options = {}) {
|
|
|
1970
1970
|
report.ok = true;
|
|
1971
1971
|
return report;
|
|
1972
1972
|
}
|
|
1973
|
-
const
|
|
1973
|
+
const localLanguage = localRegistrationLanguage(env);
|
|
1974
|
+
const language = localLanguage ?? "en-US";
|
|
1974
1975
|
const market = registrationMarket(language);
|
|
1975
1976
|
const websiteOnboarding = isWebsiteMarket(market);
|
|
1976
1977
|
if (guideAccountSetup) {
|
|
1978
|
+
if (localLanguage) report.local_language = localLanguage;
|
|
1979
|
+
report.next_steps.push("If the user only requested installation, report the verified version and Skill count and finish.");
|
|
1977
1980
|
if (report.auth.authenticated === true) report.next_action = "continue_using_ae";
|
|
1978
1981
|
else if (report.auth.warnings.length > 0) report.next_action = "check_authentication";
|
|
1979
1982
|
else if (websiteOnboarding) report.next_action = "choose_account";
|
|
@@ -1986,19 +1989,17 @@ function runInstallation(options = {}) {
|
|
|
1986
1989
|
} else {
|
|
1987
1990
|
const chooseAccount = report.next_action === "choose_account";
|
|
1988
1991
|
if (chooseAccount) {
|
|
1989
|
-
report.next_steps.push("
|
|
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.");
|
|
1990
1993
|
}
|
|
1991
|
-
if (
|
|
1994
|
+
if (chooseAccount || !report.auth.host) {
|
|
1992
1995
|
const source = cliEntrySource(void 0, env);
|
|
1993
1996
|
const registration = aeRegistrationUrl(language, env, source);
|
|
1994
|
-
if (chooseAccount) {
|
|
1997
|
+
if (registration && chooseAccount) {
|
|
1995
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}.`);
|
|
1996
|
-
} else {
|
|
1999
|
+
} else if (registration) {
|
|
1997
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.`);
|
|
1998
2001
|
}
|
|
1999
|
-
report.next_steps.push(`The default new-account region is ${market}.
|
|
2000
|
-
} else if (!websiteOnboarding && !report.auth.host) {
|
|
2001
|
-
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.`);
|
|
2002
2003
|
}
|
|
2003
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.");
|
|
2004
2005
|
else if (!report.auth.host) report.next_steps.push("Existing AE users: use your original environment URL, or ask your administrator.");
|
|
@@ -2678,7 +2679,7 @@ export {
|
|
|
2678
2679
|
registrationLanguage,
|
|
2679
2680
|
registrationMarket,
|
|
2680
2681
|
aeRegistrationUrl,
|
|
2681
|
-
|
|
2682
|
+
CHINA_WEBSITE_ONBOARDING_UNAVAILABLE,
|
|
2682
2683
|
missingAeHostHint,
|
|
2683
2684
|
missingAeHostGuidance,
|
|
2684
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-SWOUNDWJ.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 local onboarding,
|
|
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
|
|