@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.
- package/cli-installation-guide.md +11 -7
- package/package.json +1 -1
|
@@ -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
|
-
|
|
49
|
-
|
|
50
|
-
1.
|
|
51
|
-
2. Read the optional `next_action` in
|
|
52
|
-
3.
|
|
53
|
-
|
|
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.
|
|
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).
|