@thinkingai/ae-cli 6.1.44 → 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-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
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# analysis member-invitation send
|
|
2
|
+
|
|
3
|
+
Use this flow after the customer selects **Invite others to collaborate** in a local agent. Keep the signed-in AE host, onboarding session, and previous Demo report. Pass `--host <verified-host>` on all project, role, and invitation commands when this session uses a host other than the active default. Use the [localized labels](about-ae.md#localized-labels) in the customer's language.
|
|
4
|
+
|
|
5
|
+
1. Ask for one recipient email address. List the business projects accessible on the signed-in host with `ae-cli project info list --format json`. Use `ae-cli analysis onboarding status --session-id <session-id> --format json` when the current conversation lacks the verified business project or Demo scope. Exclude Demo projects, including the `demo_project_id` from the current session, and offer the verified business projects. Ask the customer to choose when there are multiple candidates. If there is no eligible project, return to the closing choices.
|
|
6
|
+
2. List roles for the chosen project with `ae-cli project role list --project-id <id> --visible-only --format json`. Offer the returned project roles using their display labels and omit the company `root` role. Use the exact role name from the response in the send command.
|
|
7
|
+
3. Show the recipient email, project, and role, then offer **Send invitation** and **Cancel**. Wait for the customer's confirmation before calling the command. On cancel, go back to the [closing choices](demo-operations.md#choose-the-next-step).
|
|
8
|
+
4. Generate and retain one UUID for this confirmed invitation and pass it as `--request-id`. Pass values as separate command arguments, or escape them for the current shell. Use the same ID and inputs when retrying after a timeout or ambiguous send result.
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
ae-cli analysis member-invitation send --email '<email>' --project-id '<id>' \
|
|
12
|
+
--project-role '<role-name>' --request-id '<uuid>' --format json
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
On `data.sent=true`, tell the customer that AE sent the invitation email and the recipient can accept it to join the company. Then offer the closing choices again. If the send result is unknown, keep the same request ID when retrying. For a permission error, show the service's reason. If this host or CLI version lacks the invitation command, retain the Demo result and offer the other closing choices.
|
|
16
|
+
|
|
17
|
+
### Transport
|
|
18
|
+
|
|
19
|
+
- Owning module: Common Service member invitations
|
|
20
|
+
- Capability: `analysis.member_invitation.send`
|
|
21
|
+
- The command's dry-run previews the request with the email redacted.
|
|
@@ -15,9 +15,9 @@ The CLI scopes the query to the session's Demo project, item and sample dates. I
|
|
|
15
15
|
|
|
16
16
|
`data_basis` identifies the seed-event source and distinct-account counting unit. Its `funnel_transitions` give each pair of ordered events, the distinct accounts at each step, the difference in counts (`dropoff_accounts`), and the next-step count divided by the prior-step count (`conversion_rate`). A conversion rate is `null` when the prior step is empty. With an older CLI, derive these counts and rates from `funnel`.
|
|
17
17
|
|
|
18
|
-
`charts.daily_viewers` is a seven-day
|
|
18
|
+
`charts.daily_viewers` is a seven-day series with a distinct count of item-detail viewers per sample-local date, in chronological order. A player can appear on several dates. The series comes from the same query and cache as the funnel. A zero means nobody viewed the item that day. Use it as the source for the daily viewers and change table when the preformatted table is unavailable. If an older CLI or cached result has no series, continue with the verified overview or diagnosis.
|
|
19
19
|
|
|
20
|
-
Use the
|
|
20
|
+
Use the [Markdown chart guide](presentation.md#choose-and-render-a-chart) to select the layout for the current finding. The ready response's `markdown_charts` uses the same scoped counts as `charts`, `visuals` and `data_basis`.
|
|
21
21
|
|
|
22
22
|
The account IDs are stored in the private `cohort_path` receipt for the same session and sample. The checkout experiment reads this cohort automatically. Show only aggregate counts in chat.
|
|
23
23
|
|
|
@@ -49,9 +49,7 @@ In the evidence section, explain that each rate is buyers divided by viewers, th
|
|
|
49
49
|
|
|
50
50
|
### Checkout recovery
|
|
51
51
|
|
|
52
|
-
For `checkout-recovery`, lead with checkout starters, the unpaid count and unpaid share.
|
|
53
|
-
|
|
54
|
-
Use the [Markdown funnel](presentation.md#markdown-layouts) to show the ordered purchase stages with their transition labels. Use the checkout share when the finding is about the final step alone and the split has not just been shown.
|
|
52
|
+
For `checkout-recovery`, lead with checkout starters, the unpaid count and unpaid share. Show the [three-step purchase path](presentation.md#markdown-layouts) with the counts for **Viewed item → Started checkout → Paid** and the loss and conversion rate for each transition. Use the checkout share bar when the finding is about the final step alone and the split has not just been shown.
|
|
55
53
|
|
|
56
54
|
In the evidence section, identify the stage with the largest account loss and show `checkout_recovery.unpaid_count` divided by `funnel.checkout` for the unpaid share. If nobody started checkout, show the share as unavailable. Describe the observed behavior as checkout without payment. Explain the reason only if the evidence supports it.
|
|
57
55
|
|
|
@@ -8,19 +8,45 @@ Use `interaction.options` as the choices for a user decision and `next_action` f
|
|
|
8
8
|
|
|
9
9
|
Use `ae-cli analysis onboarding run --help` to look up the available flags.
|
|
10
10
|
|
|
11
|
-
In Web, pass the
|
|
11
|
+
In Web, pass the [onboarding language](../SKILL.md#onboarding-language-and-currency) with `--language` and use the resolved `language` in the response. The Web `run` result and its `--dry-run` preview include `product_resource_market` (`cn`, `us`, `jp`, `kr`, or `null`) for selecting [public product links](about-ae.md#web-onboarding).
|
|
12
12
|
|
|
13
13
|
## Website signup
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Offer free website signup entries for new accounts. Use a market the user specified or confirmed first. Otherwise read `local_language` from the installation report or `data.local_language` from `ae-cli --dry-run analysis onboarding run --format json`. For an `en-US` device, select the US free entry. For a `zh-CN` device, select the China free entry.
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
For other or unavailable local languages, consider Japanese (`jp`) and Korean (`kr`) as supported free markets and use the customer's request as a secondary language signal. Map English to `us` and Chinese, including Traditional Chinese, to `cn`. Infer the signal from the customer's prose, excluding commands, links, and quoted labels. If the signals disagree, offer the two corresponding free markets and wait. If neither supplies a market, use the US free entry as the fallback. A missing locale or `C.UTF-8` provides no language signal. The legacy `onboarding_market` and `device_market` can contain a fallback.
|
|
18
18
|
|
|
19
|
-
After the user chooses to create an account, run `ae-cli analysis onboarding run --region <market> --browser system --format json`. Pass `--source` for the current AI tool and `--language` for the
|
|
19
|
+
After the user chooses to create an account, run `ae-cli analysis onboarding run --region <market> --website-env production --browser system --format json`. Pass `--source` for the current AI tool and `--language` for the onboarding language. For the United States use `--region us --language en-US`. For overseas testing, use `--website-env test` with `--region us`, `jp`, or `kr`. Use `us` for an overseas test request without a specific market. Resume with the returned `--session-id` to keep the original environment. Start a separate continuation when the user requests a different environment.
|
|
20
|
+
|
|
21
|
+
## Existing account sign-in
|
|
22
|
+
|
|
23
|
+
1. **Use a confirmed account route.** Use the login address or AE host the user supplied or confirmed first. If no route was supplied, use an active account when the user wants to use it. An account already signed in on that route can go directly to [shared progress](#shared-progress). Use its actual AE host for `auth status`, login, and subsequent calls.
|
|
24
|
+
2. **Identify the deployment when the route is open.** Read `existing_account_options` from the installation report or `data.existing_account_options` from `ae-cli --dry-run analysis onboarding run --format json`. Present the `deployment` picker for SaaS (`saas`), private deployment (`private`), or not sure (`unsure`). After SaaS, present the `saas` picker. Keep the returned option values and render the question and labels in the onboarding language. When `default_value` is `us`, show the US option as the suggested entry and wait for confirmation or another choice before opening it. For private deployment, not sure, or `other_address`, ask for the usual login URL. If the user cannot find it, direct them to their AE administrator.
|
|
25
|
+
3. **Follow the confirmed entry.** For `login_method=website` or a known free SaaS entry, pass its `ae_host` and `website_market` to `ae-cli analysis onboarding run --host <AE_HOST> --region <MARKET> --website-env production --browser system --format json`. Pass `--source` for the current AI tool and `--language` for the onboarding language. Use the command's browser page to bind sign-in to the CLI session, then resume the returned `session_id`. For the China paid entry (`cn_paid`), `https://ta.thinkingdata.cn/` is the browser login entry. Confirm the AE service host for that account, then use the device flow. For private deployment or another confirmed login address, use its confirmed AE host for the device flow. Each login uses the host for the selected account and tier.
|
|
26
|
+
4. **Verify the connection.** For the device flow, run `ae-cli auth login --host <AE_HOST> --no-wait`, open its `verification_url`, and wait for the user to approve. Then run `ae-cli auth login --host <AE_HOST> --device-code <DEVICE_CODE>` with the returned device code. Check `ae-cli auth status --host <AE_HOST> --format json` and then read [shared progress](#shared-progress) on that host.
|
|
27
|
+
|
|
28
|
+
If the CLI predates `existing_account_options`, offer the same deployment picker. For SaaS, use the local language from the installation report or dry-run response with this fallback picker:
|
|
29
|
+
|
|
30
|
+
| Local language | Entries |
|
|
31
|
+
| --- | --- |
|
|
32
|
+
| English (`en-US`) | United States SaaS, China paid SaaS, China free SaaS, or another login address. Suggest the US entry and wait for confirmation. |
|
|
33
|
+
| Chinese (`zh-CN`) | China paid SaaS, China free SaaS, or another login address. |
|
|
34
|
+
| Other or unknown | United States SaaS, China paid SaaS, China free SaaS, or another login address. |
|
|
35
|
+
|
|
36
|
+
In a Chinese-language picker, show the China entries in this order:
|
|
37
|
+
|
|
38
|
+
1. **中国SAAS高配版** (`cn_paid`)
|
|
39
|
+
2. **中国SAAS低配版(免费体验)** (`cn_free`)
|
|
40
|
+
|
|
41
|
+
The free US entry is `https://thinkingai.io/en/experience-login/` and its AE host is `https://ae-web-global.thinkingai.io`. The free China entry is `https://www.thinkingai.cn/experience-login/` and its AE host is `https://ae-web.thinkingai.cn`. Run the website command in step 3 with the confirmed free entry so it opens a session-bound sign-in page.
|
|
42
|
+
|
|
43
|
+
### Existing US account sign-in
|
|
44
|
+
|
|
45
|
+
For a confirmed existing US account, use the website command above with `--region us --language en-US`. For an explicitly requested US test environment, use the confirmed test host and set `--website-env test`. Reuse the returned `session_id` after the user confirms sign-in.
|
|
20
46
|
|
|
21
47
|
## Shared progress
|
|
22
48
|
|
|
23
|
-
Use `ae-cli analysis onboarding progress --format json` to read the signed-in account's current version. When the user enters the Demo, `run --choice demo` starts or resumes the shared round. Retain the latest `session_id` returned by `run`.
|
|
49
|
+
Use `ae-cli analysis onboarding progress --format json` to read the signed-in account's current version. In a local Agent, pass `--host <AE_HOST>` when the intended account's host is known. When the user enters the Demo, `run --choice demo` starts or resumes the shared round. Retain the latest `session_id` returned by `run`.
|
|
24
50
|
|
|
25
51
|
- `not_started` offers the current Demo. `in_progress` resumes it. `completed` routes returning users to their ordinary AE task.
|
|
26
52
|
- If the response has a bound `run_id`, reuse it. If a different conversation owns that run, use the existing run's report and wait for its replay checkpoint. Continue experiment launch from its original session if the checkpoint is still missing.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Onboarding copy and charts
|
|
2
2
|
|
|
3
|
-
Use a short question or action as the choice label. Name the item or audience when that helps the user decide. Put sample scope, expected effects and approval consequences in the message immediately above the picker. Keep report, product and contact URLs in Markdown links.
|
|
3
|
+
Use a short question or action as the choice label. Name the item or audience when that helps the user decide. Put sample scope, expected effects and approval consequences in the message immediately above the picker. Keep report, product and contact URLs in Markdown links. Render visible copy in the [onboarding language](../SKILL.md#onboarding-language-and-currency) and retain the underlying option values. The Chinese examples are for a Chinese onboarding locale. Understand earlier labels when a user types them or replies to an older picker.
|
|
4
4
|
|
|
5
5
|
## Common choices
|
|
6
6
|
|
|
@@ -29,9 +29,9 @@ For draft review, keep the approval choice first until the user confirms. Contin
|
|
|
29
29
|
| Stage | 星屿游戏 | 赛季通行证 |
|
|
30
30
|
| --- | --- | --- |
|
|
31
31
|
| Opening question | 玩家反复看礼包,后来更容易买吗? | 有多少玩家开始结账,最后没有付款? |
|
|
32
|
-
| Opening visual | Horizontal bars comparing single-day and multi-day purchase rates |
|
|
33
|
-
| Start of business diagnosis | Seven-day
|
|
34
|
-
| Main visual in purchase diagnosis |
|
|
32
|
+
| Opening visual | Horizontal bars comparing single-day and multi-day purchase rates | 100% checkout share bar with the unpaid count and share emphasized |
|
|
33
|
+
| Start of business diagnosis | Seven-day table of bundle viewers and daily changes | Seven-day table of pass viewers and daily changes |
|
|
34
|
+
| Main visual in purchase diagnosis | Three-step path from viewing the bundle to paying, with losses and conversion rates | Three-step path from opening the pass to paying, with losses and conversion rates |
|
|
35
35
|
| Audience follow-up | Bars for the follow-up counts | 100% stacked bar for the disjoint audience groups |
|
|
36
36
|
| Explore route | 深挖礼包购买表现 | 深挖通行证转化 |
|
|
37
37
|
| Follow-up route for revisits | 找出回访未购玩家 | 找出回看通行证的玩家 |
|
|
@@ -44,19 +44,19 @@ Use the sample's initial finding when entering its overview. Use the rotated `fe
|
|
|
44
44
|
|
|
45
45
|
## Choose and render a chart
|
|
46
46
|
|
|
47
|
-
Use pure Markdown for the default walkthrough in every host. Place one primary visual above the next choice
|
|
47
|
+
Use pure Markdown for the default walkthrough in every host. Place one primary visual above the next choice and use the current verified result in the same reply. Copy the field from `markdown_charts` when it matches the layout below. Translate table headers, labels and legends and preserve the values. If older CLI output has a text ring, a text line plot, a centered funnel, or no preformatted Markdown, use the verified counts already returned to build the current layout.
|
|
48
48
|
|
|
49
49
|
| Finding | Markdown layout | Field from `markdown_charts` |
|
|
50
50
|
| --- | --- | --- |
|
|
51
51
|
| Compare purchase rates | Horizontal bars on a common 0–100% scale | `purchase_rate` |
|
|
52
|
-
| Show the checkout split |
|
|
53
|
-
| Show change over the sample week |
|
|
54
|
-
| Show loss along the purchase flow |
|
|
52
|
+
| Show the checkout split | 100% stacked bar with exact counts and shares | `checkout_share` |
|
|
53
|
+
| Show change over the sample week | Daily viewers and change from the previous day | `daily_viewers` |
|
|
54
|
+
| Show loss along the purchase flow | Three-step path with loss and conversion for each transition | `purchase_funnel` |
|
|
55
55
|
| Compare eligible audiences | Horizontal bars with exact counts | `follow_up` |
|
|
56
56
|
| Show audience overlap | 100% stacked bar for the three disjoint parts | `audience_overlap` |
|
|
57
57
|
| Review or read A/B results | Side-by-side Markdown table | Saved plan or verified event counts |
|
|
58
58
|
|
|
59
|
-
Use the host's Markdown typography. Use blue for a single series and blue and purple for different series when using colored blocks. Pair each color
|
|
59
|
+
Use the host's Markdown typography. Use blue for a single series and blue and purple for different series when using colored blocks. Pair each color with a text label. Keep the main result in bold once, use short metric titles and right-align numbers. Include units, dates, timezone and the counting rule where they help interpret the figure. Mark a missing value as `—` and preserve verified zeroes.
|
|
60
60
|
|
|
61
61
|
If the user requests an interactive chart and the host supports native `chart`, use strict JSON with `type`, localized `title`, and `data` entries. Use numeric `value` with `label` for `bar`, `line` and `pie`. Leave the colors and typography to the host theme. When a native pie groups small slices, keep their exact counts and shares beside it.
|
|
62
62
|
|
|
@@ -64,16 +64,16 @@ If the user requests an interactive chart and the host supports native `chart`,
|
|
|
64
64
|
|
|
65
65
|
**Rate or count comparison.** Use a zero-based scale of 12 blue blocks. Use a shared 100% maximum for rates and the largest count for counts. Keep the exact value in a right-aligned column.
|
|
66
66
|
|
|
67
|
-
**
|
|
67
|
+
**Checkout split.** Use one inline bar of 12 blocks. Allocate blue blocks to the share of checkout starters who did not pay, rounded to the nearest block, and use purple for the remainder. Show the exact counts and shares beside the matching symbols. Use the labels from `visuals.checkout_share.data` for both groups. If it is absent in an older CLI, use `checkout_recovery.unpaid_count` and the remainder from `funnel.checkout`. Label the remainder as paid after checkout only if it equals `funnel.buyers`. Omit the share bar when nobody started checkout.
|
|
68
68
|
|
|
69
|
-
**
|
|
69
|
+
**Audience overlap.** Divide 20 blocks at cumulative share boundaries so the bar sums to 100%. The three parts are intersection, checkout-only and revisit-only. Label each segment with its exact count and share. Omit the bar with a zero denominator.
|
|
70
70
|
|
|
71
|
-
**
|
|
71
|
+
**Seven-day trend.** Use a Markdown table with one row per date and columns for the date, exact daily unique viewers and change from the previous day. Keep the sampled dates in chronological order. Show `↑ 9` for an increase of nine, `↓ 2` for a decrease of two and **No change** when the count stays the same. Localize **No change**. Show `—` for the first day's change or when either day has no verified count. With an older CLI, use `charts.daily_viewers.data`. When the source has no verified daily series, continue with the current finding.
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
| --- | ---: | :---: | ---: | ---: |
|
|
75
|
-
| 浏览详情 | 120 | `━━━━━━━━━━━━` | — | — |
|
|
76
|
-
| 开始结账 | 48 | `━━━━━` | 72 | 40.0% |
|
|
77
|
-
| 完成付款 | 20 | `━━` | 28 | 41.7% |
|
|
73
|
+
**Purchase funnel.** Show the ordered stages and their exact counts on one line separated by arrows. On a second line, show each transition's conversion rate and loss in parentheses from `data_basis.funnel_transitions`. With an older CLI, derive the loss from the difference between adjacent counts and the rate by dividing the later count by the earlier one. Use `—` for an undefined conversion rate.
|
|
78
74
|
|
|
79
|
-
**
|
|
75
|
+
**120** Viewed → **48** Started checkout → **20** Paid
|
|
76
|
+
|
|
77
|
+
Viewed → Started checkout **40.0%** (72 lost) · Started checkout → Paid **41.7%** (28 lost)
|
|
78
|
+
|
|
79
|
+
**A/B draft and report.** Use a side-by-side Markdown table. For a draft, use the two destinations or offers, split and price from the plan. For a verified report, lead with the rate difference in percentage points and show both denominators, buyers, rates and amounts. Include claims, order costs and profit for a coupon test. Use the scenario-specific labels and the [Demo currency display rules](demo-operations.md#demo-currency) to render every amount.
|