@thinkingai/ae-cli 6.1.43 → 6.1.45
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 -0
- package/README.zh.md +2 -0
- package/cli-installation-guide.md +13 -9
- package/dist/{ai-monitor-4VPHXQTL.js → ai-monitor-CAK6LX3J.js} +4 -4
- package/dist/ai-monitor.js +5 -5
- package/dist/{auth-RDSS2LUT.js → auth-CARBYPT2.js} +3 -3
- package/dist/{capability-CUOEIB5F.js → capability-CD2TODQN.js} +2 -2
- package/dist/{chunk-3FSYICDW.js → chunk-6SXMN2HQ.js} +1 -1
- package/dist/{chunk-TFEGYB4X.js → chunk-DR6IAQLM.js} +1 -1
- package/dist/{chunk-3TV24AVQ.js → chunk-FN4Y4XQG.js} +3 -3
- package/dist/{chunk-IAZ4AMVY.js → chunk-GXHCY75L.js} +145 -84
- package/dist/{chunk-LSELMDKQ.js → chunk-P56F3AO6.js} +1 -1
- package/dist/{chunk-BFSWGXM2.js → chunk-PHQHSCUW.js} +1 -1
- package/dist/{chunk-4MOCV6HU.js → chunk-PIZBBGBC.js} +1 -1
- package/dist/{compat-check-L3C7HCVG.js → compat-check-YXTLKMRM.js} +1 -1
- package/dist/{config-LAF5MMYK.js → config-5LO3IDS5.js} +3 -3
- package/dist/index.js +22 -21
- package/dist/{metadata-T6HYAU7E.js → metadata-JAN6NDRD.js} +4 -4
- package/dist/{personal-semantic-preference-WCZBOA7V.js → personal-semantic-preference-5FWTTPZW.js} +3 -3
- package/dist/{project-semantic-WW5AZST3.js → project-semantic-ZWDZ6RUS.js} +3 -3
- package/dist/{sync-6PL25V42.js → sync-WCN2LED5.js} +2 -2
- package/dist/{te-analysis-KKRECQ7F.js → te-analysis-OU3EUF3U.js} +106 -7
- package/dist/{te-community-6RGX7IWH.js → te-community-RWUUPHQJ.js} +3 -3
- package/dist/{te-dataops-RSPBC6WJ.js → te-dataops-RPKBT3JE.js} +2 -2
- package/dist/{te-engage-FIPP5L2Z.js → te-engage-4NZ26PAP.js} +3 -3
- package/dist/{te-experiment-KQ5CBYKI.js → te-experiment-PQD3SIKN.js} +3 -3
- package/dist/{te-kb-XYSDXZUG.js → te-kb-NX7E4CTY.js} +2 -2
- package/dist/{te-team-R6MZ4RK2.js → te-team-GMEOSXKP.js} +2 -2
- package/dist/{update-C6G4P3C7.js → update-273NPGJJ.js} +2 -2
- package/dist/{web-runtime-UGKPTBOK.js → web-runtime-ULVLVEJ4.js} +90 -38
- package/package.json +2 -2
- package/skills/ae-analysis-global/SKILL.md +2 -2
- package/skills/ae-community/SKILL.md +1 -1
- package/skills/ae-data-integration/SKILL.md +1 -1
- package/skills/ae-data-integration-helper/SKILL.md +1 -1
- package/skills/ae-generate-tracking-code/SKILL.md +1 -1
- package/skills/ae-generate-tracking-plan/SKILL.md +2 -2
- package/skills/ae-migrate-tracking-code/SKILL.md +2 -2
- package/skills/ae-onboarding/SKILL.md +26 -14
- package/skills/ae-onboarding/references/about-ae.md +28 -6
- package/skills/ae-onboarding/references/business-data.md +3 -3
- package/skills/ae-onboarding/references/demo-journey.md +4 -2
- package/skills/ae-onboarding/references/demo-operations.md +14 -5
- package/skills/ae-onboarding/references/member_invitation_send.md +21 -0
- package/skills/ae-onboarding/references/onboarding_growth.md +3 -5
- package/skills/ae-onboarding/references/onboarding_run.md +31 -5
- package/skills/ae-onboarding/references/presentation.md +18 -18
package/README.md
CHANGED
|
@@ -172,6 +172,8 @@ For project business-semantics setup, use the bundled [setup workflow](skills/ae
|
|
|
172
172
|
|
|
173
173
|
Review collected analysis questions with `ae-cli analysis scenario list --project-id 1 --days 7`. The `ae-analysis` Skill can deduplicate questions and assess badcases with concise, evidence-based reasons. See the [scenario review guide](skills/ae-analysis/references/scenario_list.md). Answers can include elapsed time; use `ae-cli analysis scenario get --help` to query linked command execution details.
|
|
174
174
|
|
|
175
|
+
On supported PLG environments, the company Root can use `ae-cli analysis member-invitation send` to email an invitation to join the current company with a role in the selected project. The recipient verifies their identity through the link in the email. See the [invitation workflow](skills/ae-onboarding/references/member_invitation_send.md).
|
|
176
|
+
|
|
175
177
|
To save and review Bad Cases, use `ae-cli analysis bad-case --help`. The Agent semantically deduplicates each batch against all historical states. Review in CLI or explicitly submit to the page; each batch reports discovered, duplicate, and new counts. Notes are optional. Approval adds the case to the bound AE dataset; revoking approval removes it. See the [Bad Case workflow](skills/ae-analysis/references/bad_case_review.md).
|
|
176
178
|
|
|
177
179
|
Evaluation commands follow the current AE Host in personal terminals and sandboxes; use `--host` to select another host. Evaluation requests use the HTTP or HTTPS scheme configured for that AE Host, consistent with other AE commands. Legacy `--endpoint` and `AE_EVAL_BASE_URL` values may only match the current AE Host; other values fail before credentials are sent. Remove these settings and use `--host` to select a host. Outside a sandbox, export `AE_EVAL_ACCESS_TOKEN` with a platform session token; sandboxes can obtain a session automatically. See [endpoint and authentication rules](skills/ae-evaluation/SKILL.md#endpoint-and-authentication).
|
package/README.zh.md
CHANGED
|
@@ -172,6 +172,8 @@ ae-cli capability list --domain analysis --jq '.capabilities[] | .id'
|
|
|
172
172
|
|
|
173
173
|
使用 `ae-cli analysis scenario list --project-id 1 --days 7` 查询已采集的分析问题,由 `ae-analysis` Skill 指导 Agent 去重、判断 badcase 并简要说明原因和证据。详见[分析问题复盘指南](skills/ae-analysis/references/scenario_list.md)。 回答可附带耗时;使用 `ae-cli analysis scenario get --help` 查看关联命令执行明细的查询方式。
|
|
174
174
|
|
|
175
|
+
在支持的 PLG 环境中,公司 Root 账号可用 `ae-cli analysis member-invitation send` 发送邀请邮件,让收件人加入当前公司并获得所选项目的角色。收件人通过邮件中的链接验证身份。详见[邀请流程](skills/ae-onboarding/references/member_invitation_send.md)。
|
|
176
|
+
|
|
175
177
|
需保存并审核 Bad Case 时,使用 `ae-cli analysis bad-case --help`。Agent 按语义对同批及所有历史状态去重;CLI 可直接审核,也可显式提交页面。每批汇报发现、重复、新增数量,补充说明选填。认证后将案例加入已绑定的 AE 评测集,取消认证后移除。详见[Bad Case 工作流](skills/ae-analysis/references/bad_case_review.md)。
|
|
176
178
|
|
|
177
179
|
评测命令在普通终端和沙箱中均跟随当前 AE Host,可通过 `--host` 切换。评测请求沿用该 AE Host 配置的 HTTP 或 HTTPS 协议,与其他 AE 命令一致。旧 `--endpoint` 和 `AE_EVAL_BASE_URL` 只能与当前 AE Host 一致,其他值会在发送凭证前报错;请移除这些配置,统一使用 `--host` 切换。沙箱外需设置 `AE_EVAL_ACCESS_TOKEN` 平台 session token,沙箱内可自动获取会话。详见 [地址与鉴权规则](skills/ae-evaluation/SKILL.md#endpoint-and-authentication)。
|
|
@@ -35,7 +35,7 @@ Verification parses YAML/frontmatter and compares expected files in the shared g
|
|
|
35
35
|
- Unrelated PromptScript/Eve project-only diagnostics and their failure summary are handled internally and not displayed as user warnings after verification succeeds.
|
|
36
36
|
- YAML errors, missing or stale files, supported-client installation errors, CLI version mismatch, and unsuccessful processes remain failures.
|
|
37
37
|
|
|
38
|
-
`--format json` emits one report on stdout. Progress goes to stderr
|
|
38
|
+
`--format json` emits one report on stdout. Progress goes to stderr. Reports include `ok`, `dry_run`, `cli.package/version/path/verified`, `skills.directory/expected_count/installed_count/missing/source/version/failures/attempts`, `auth.host/authenticated`, and `next_steps`. A verified installation can also report `next_action`, localized choices in `interaction`, and `local_language`. When provided, `onboarding_skill_path` points to the onboarding Skill in the verified package. The optional `existing_account_options` supplies deployment and SaaS choices when the installer prompts for an account without a supplied host. Counts refer to unique Skills in the global directory. Use `--format table` for a human summary. Dry runs make no subprocess calls or installation/configuration writes.
|
|
39
39
|
|
|
40
40
|
`install --dry-run --format json` returns that report directly, with a root-level `commands` array. `update --dry-run --format json` keeps the command envelope (`ok` and `data`); its `data` includes `action`, `dryRun`, `target`, optional `host`, `commands`, and `skillsSources`.
|
|
41
41
|
|
|
@@ -47,20 +47,19 @@ The managed synchronizer uses the verified package source. Replaying historical
|
|
|
47
47
|
|
|
48
48
|
For choices in this section, use the Agent’s native picker. In Codex, use the blocking `request_user_input` when available, or `request_user_input_async` otherwise. If the picker returns before the user answers, use the host’s wait mechanism and keep the turn open until the user chooses or dismisses it. If the picker is unavailable or fails, ask the same question with its options in chat and resume on the user’s reply.
|
|
49
49
|
|
|
50
|
+
For confirmed United States (`us`) onboarding, use English (`en-US`) from the first account choice regardless of the conversation or device language. For other markets, use the requested display language or the user's conversation language.
|
|
51
|
+
|
|
50
52
|
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.
|
|
51
53
|
|
|
52
54
|
1. Check `ok: true`, `dry_run: false`, `cli.verified: true`, and `skills.status: "success"`. On success, report the verified version and installed Skill count. For a fresh 6.1 installation, continue in the same turn even when the request only asks to install. For an installation on another release line, continue when the user asks for onboarding, signup, or sign-in. For `ae-cli update`, a dry run, or incomplete verification, report the result and stop. Include the status and affected Skills if synchronization failed or was skipped.
|
|
53
|
-
2. After a verified fresh install, use `next_action` to choose the next step. For `choose_account`, present the question and options from `interaction` in the
|
|
55
|
+
2. After a verified fresh install, use `next_action` to choose the next step. For `choose_account`, present the question and options from `interaction` in the onboarding language. On older versions, offer **Create an AE account** and **Sign in to my existing AE account**. A user who does not know their original AE URL can return to signup. For `check_onboarding`, run `ae-cli analysis onboarding progress --format json` with the signed-in host. Offer the current Demo only when it returns `not_started` or `in_progress`. For `completed`, `disabled`, or `unavailable`, give short help with the available AE capabilities or continue the user's stated task. Wait for confirmation before opening signup or starting a Demo. 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.
|
|
54
56
|
3. Follow the route the user requested.
|
|
55
|
-
- For onboarding on an existing installation, first check authentication on the requested or active host. If the account route is open and there is no signed-in account, show **Create an AE account** and **Sign in to my existing AE account** in the
|
|
56
|
-
- For an existing-account login, use step 5
|
|
57
|
+
- For onboarding on an existing installation, first check authentication on the requested or active host. If the account route is open and there is no signed-in account, show **Create an AE account** and **Sign in to my existing AE account** in the onboarding language. Wait for their choice before opening a browser or starting login. This also applies when a test host is specified.
|
|
58
|
+
- For an existing-account login, use step 5 and prioritize the user's confirmed login address or intended signed-in account.
|
|
57
59
|
- For a direct signup request, use step 4. For an explicit onboarding or walkthrough request, use the signed-in environment when available and the user has not requested a new account. For onboarding that requires signup, read `references/about-ae.md` next to the Skill at `onboarding_skill_path` and show the localized **Create an AE account** and **Learn about AE** choices in the Agent's native picker. Without the report field, locate the Skill under `skills/ae-onboarding/` in the verified package. The package root is one directory above the `bin/` directory containing `cli.entrypoint`. Use chat choices if the picker is unavailable. Wait for their choice before opening the website or starting the CLI onboarding command.
|
|
58
60
|
- For **Learn about AE**, show the introduction and available official resources in the display language. Then offer **Create an AE account** and wait. Use step 4 after the user chooses it.
|
|
59
|
-
4. For a new
|
|
60
|
-
|
|
61
|
-
- Start website onboarding with `ae-cli analysis onboarding run --browser system --format json`. Pass the resolved `--region` and the `--source` for the current AI tool. Pass `--language` for the display preference or conversation language when known. The CLI opens the system default browser. If opening fails, share the returned URL. Read the returned `skill_path`, show its sign-in choices, and reuse `session_id` in the same conversation after the user confirms they signed in.
|
|
62
|
-
- For explicitly requested overseas test signup, add `--website-env test --region us`, or use `jp` or `kr` when requested. Keep the returned session ID through website sign-in and CLI authorization.
|
|
63
|
-
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. Check `ae-cli analysis onboarding progress --format json` and follow the same routing as after installation.
|
|
61
|
+
4. For a new account, follow **Website signup** in `references/onboarding_run.md` next to the onboarding Skill. Use the requested or confirmed free market and pass the selected market and onboarding language through website verification. Resume with the returned `session_id`.
|
|
62
|
+
5. For an existing account, follow **Existing account sign-in** in the same reference. Use the user's original AE environment if confirmed. Otherwise use the report's `existing_account_options` or the options from the initial local dry run, and wait for the user to confirm a route. Once authorized, confirm the expected host and account with `ae-cli auth status` and check `ae-cli analysis onboarding progress --format json` on that host.
|
|
64
63
|
|
|
65
64
|
## Host and login
|
|
66
65
|
|
|
@@ -126,6 +125,11 @@ npx -y skills@1.5.12 list -g --json
|
|
|
126
125
|
|
|
127
126
|
Choose the specific Skill you are troubleshooting. The onboarding Skill is loaded from the CLI package when a new user starts onboarding. Raw manual-tool output is not the AE installer's final result. Do not infer completeness from the list alone, delete unrelated Skills, or overwrite a source link to resolve a conflict.
|
|
128
127
|
|
|
128
|
+
## AE CLI support
|
|
129
|
+
|
|
130
|
+
- **United States** — [ThinkingAI website](https://thinkingai.io/) or [support.us@thinkingai.io](mailto:support.us@thinkingai.io)
|
|
131
|
+
- **China** — [ThinkingAI China website](https://www.thinkingai.cn/) or call **400-086-0901**
|
|
132
|
+
|
|
129
133
|
## AI installation prompt
|
|
130
134
|
|
|
131
135
|
> 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. After a verified fresh 6.1 install, use `next_action` to continue in this turn. If it is `choose_account`, show the account choices from `interaction` and wait for my selection. Follow [Start using AE in an Agent](#start-using-ae-in-an-agent) for the next step or when I ask for onboarding, signup, or sign-in.
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
traceCount,
|
|
10
10
|
traceGet,
|
|
11
11
|
traceList
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-DR6IAQLM.js";
|
|
13
|
+
import "./chunk-6SXMN2HQ.js";
|
|
14
14
|
import "./chunk-AWW2T2WL.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-PIZBBGBC.js";
|
|
16
|
+
import "./chunk-GXHCY75L.js";
|
|
17
17
|
import "./chunk-7KBENPQF.js";
|
|
18
18
|
import "./chunk-FKTVD63C.js";
|
|
19
19
|
import "./chunk-FEYZBUFQ.js";
|
package/dist/ai-monitor.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
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-DR6IAQLM.js";
|
|
5
|
+
import "./chunk-6SXMN2HQ.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-FN4Y4XQG.js";
|
|
12
12
|
import "./chunk-GYODT7C4.js";
|
|
13
13
|
import "./chunk-PWG5IGCP.js";
|
|
14
14
|
import "./chunk-3DTMWDJX.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-PIZBBGBC.js";
|
|
16
|
+
import "./chunk-GXHCY75L.js";
|
|
17
17
|
import "./chunk-7KBENPQF.js";
|
|
18
18
|
import "./chunk-FKTVD63C.js";
|
|
19
19
|
import "./chunk-FEYZBUFQ.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
environmentRefreshOutput,
|
|
4
4
|
invalidateBusinessSkillSynchronization,
|
|
5
5
|
refreshEnvironmentAfterLogin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PHQHSCUW.js";
|
|
7
7
|
import {
|
|
8
8
|
MultiselectCancelled,
|
|
9
9
|
promptSingleSelect
|
|
@@ -23,12 +23,12 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
printError,
|
|
25
25
|
printOutput
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PIZBBGBC.js";
|
|
27
27
|
import {
|
|
28
28
|
missingAeHostGuidance,
|
|
29
29
|
missingAeHostHint,
|
|
30
30
|
runHostCompatCheck
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-GXHCY75L.js";
|
|
32
32
|
import {
|
|
33
33
|
getLocalCliPackageInfo
|
|
34
34
|
} from "./chunk-7KBENPQF.js";
|
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
printError,
|
|
18
18
|
printOutput,
|
|
19
19
|
withOutputMetadata
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PIZBBGBC.js";
|
|
21
21
|
import {
|
|
22
22
|
assertBusinessEnabled,
|
|
23
23
|
businessForCapability,
|
|
24
24
|
readBusinessConfigForExecution,
|
|
25
25
|
readCurrentBusinessConfig
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-GXHCY75L.js";
|
|
27
27
|
import {
|
|
28
28
|
CapabilityGatewayError,
|
|
29
29
|
dryRunCapabilityWithEnvelope,
|
|
@@ -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-6SXMN2HQ.js";
|
|
5
5
|
import {
|
|
6
6
|
registerCapabilityGatewayRoute
|
|
7
7
|
} from "./chunk-AWW2T2WL.js";
|
|
@@ -13,14 +13,14 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
printError,
|
|
15
15
|
printOutput
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PIZBBGBC.js";
|
|
17
17
|
import {
|
|
18
18
|
BusinessDisabledError,
|
|
19
19
|
assertBusinessEnabled,
|
|
20
20
|
businessForCommand,
|
|
21
21
|
formatCapabilityMissCompatHint,
|
|
22
22
|
readCurrentBusinessConfig
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-GXHCY75L.js";
|
|
24
24
|
import {
|
|
25
25
|
CapabilityGatewayError
|
|
26
26
|
} from "./chunk-7KBENPQF.js";
|
|
@@ -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-ULVLVEJ4.js");
|
|
474
474
|
return invokeOnboarding(action, input);
|
|
475
475
|
},
|
|
476
476
|
has(name) {
|