@thinkingai/ae-cli 6.1.34 → 6.1.35

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.
@@ -45,12 +45,16 @@ The managed synchronizer uses the verified package source. Replaying historical
45
45
 
46
46
  ## Start using AE in an Agent
47
47
 
48
- When a user asks you to install AE CLI or help them start using AE, continue in the same conversation after installation. If the user ran `npm install -g`, locate the executable for the requested version and run `ae-cli install --format json` with it to sync and verify the matching global Skills. For a user who already has a verified installation and asks to start using AE, begin with the authentication check.
49
-
50
- 1. For installation, check `ok: true`, `dry_run: false`, `cli.verified: true`, and `skills.status: "success"`. Report the verified version and Skill count. For an explicit install-only request, an upgrade, or a dry run, report the result and finish. For failed or skipped Skill synchronization, report its status and any affected Skills.
51
- 2. Read the optional `next_action` in a successful install report. For `check_authentication`, or when an older report omits `next_action`, 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. Use the user's request to choose the route. For an explicit request for AE onboarding, the new-user walkthrough, or signup, go directly to step 4 for a signed-out user in Japan, Korea, or the United States. In China, use step 5 for an existing account or share the trial request link from the install report. For an explicit request to sign in to an existing account, go to step 5. For `continue_using_ae` or a confirmed sign-in, continue using the signed-in environment. Ask **“Do you already have an AE account?”** only when a signed-out user asks to get started without specifying a route. In that case, open the Agent's native picker with **“Create an account and get started”** and **“Sign in to an existing account.”** Use chat choices if the host cannot show a picker.
53
- 4. Start website onboarding with `ae-cli analysis onboarding run --browser system --format json`. Use `--region jp`, `--region kr`, or `--region us` to select the user's production market. Pass `--source` for the current AI tool. 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.
48
+ For a request such as “Install AE CLI” or “Follow this guide to install AE CLI,” verify the installation and proactively show the next step in the same conversation. If the user ran `npm install -g`, locate the executable for the requested version and run `ae-cli install --format json` with it to sync and verify the matching global Skills. If the user already has a verified installation and asks to start using AE, begin at step 2.
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. For an explicit install-only request, 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. Read the optional `next_action` in the install report. 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. Show the next step using the rules below. Apply them to ordinary installation requests even if the install report's `next_steps` describes the picker only for users who ask to get started.
53
+ - If the user explicitly asks to sign in to an existing account and the requested environment needs authorization, use step 5.
54
+ - If the user is already signed in to the intended environment (`continue_using_ae` or confirmed by the auth check), use that environment for their AE task or tell them it is ready and ask what they want to do next.
55
+ - If the user is signed out and explicitly asks for onboarding, a walkthrough, or signup, go directly to step 4.
56
+ - If the user is signed out and has left the next step open, ask **“What would you like to do next?”** using the Agent's native picker. Offer **“Get started”** (step 4), **“Sign in to my existing account”** (step 5), and **“Not now”** (finish). For a confirmed China market, show **“Request a trial”** (step 4) in place of **“Get started.”** Use equivalent chat choices if the picker is unavailable. Wait for the user's choice before starting signup or login.
57
+ 4. Use the user's stated or previously confirmed account market. Ask for the market if it is unclear. For Japan, 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` and `--source` for the current AI tool. 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. For China, share the [AE trial request page](https://thinkingai.cn/request-demo).
54
58
  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.
55
59
 
56
60
  ## Host and login
@@ -119,4 +123,4 @@ Choose the specific Skill you are troubleshooting. The onboarding Skill is loade
119
123
 
120
124
  ## AI installation prompt
121
125
 
122
- > 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. Report the verified version and Skill count, then follow [Start using AE in an Agent](#start-using-ae-in-an-agent) in this conversation.
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. After verifying the installation, report the version and Skill count and show me the next step in this conversation using [Start using AE in an Agent](#start-using-ae-in-an-agent).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkingai/ae-cli",
3
- "version": "6.1.34",
3
+ "version": "6.1.35",
4
4
  "description": "CLI tool for ThinkingAI (AE) analytics platform",
5
5
  "type": "module",
6
6
  "bin": {