diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index b393c61..0a48b7a 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "agentui-tools", "description": "Build and host real apps with AgentUI — hosted database, auth, file storage, serverless endpoints, cron automations, standalone MCP servers and API integrations — all driven from the agentui CLI.", - "version": "0.2.0", + "version": "0.3.0", "author": { "name": "AgentUI" }, diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json index 31c1b41..917008a 100644 --- a/.codex-plugin/plugin.json +++ b/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "agentui-tools", - "version": "0.2.0", + "version": "0.3.0", "description": "Build and host real apps with AgentUI — hosted database, auth, file storage, serverless endpoints, cron automations, standalone MCP servers and API integrations — all driven from the agentui CLI.", "author": { "name": "AgentUI", diff --git a/.cursor-plugin/plugin.json b/.cursor-plugin/plugin.json index 7484354..4318fcf 100644 --- a/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "agentui-tools", "displayName": "AgentUI Tools", - "version": "0.2.0", + "version": "0.3.0", "description": "Build and host real apps with AgentUI — hosted database, auth, file storage, serverless endpoints, cron automations, standalone MCP servers and API integrations — all driven from the agentui CLI.", "author": { "name": "AgentUI", diff --git a/CHANGELOG.md b/CHANGELOG.md index f8198be..1899335 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.3.0 + +- Windows installs without npm: `irm https://cdn.agentui.ai/cli/install.ps1 | iex` + (the assistant runs it; `agentui` works on the next line) or the double-click + `AgentUI-Setup.exe`. npm stays the route on macOS and Linux. +- `agentui update` updates a Windows install; npm installs still update with npm. +- Login: the email-code relay is spelled out as the assistant's job — ask for the + email, run step 1, ask the user to paste the code, run step 2. + ## 0.2.0 Catches up with `@agentuiai/cli` through 2026-09-27. diff --git a/README.md b/README.md index 0fc9f3a..6f9119f 100644 --- a/README.md +++ b/README.md @@ -73,11 +73,22 @@ expects them. ### Prerequisite +**Windows** — download [AgentUI-Setup.exe](https://cdn.agentui.ai/cli/AgentUI-Setup.exe) +and run it (no Node, no admin), or in PowerShell: + +```powershell +irm https://cdn.agentui.ai/cli/install.ps1 | iex +``` + +**macOS / Linux** + ```bash npm install -g @agentuiai/cli # Node 22+ -agentui auth login ``` +Then `agentui auth login`. Update with `agentui update` (Windows) or +`npm install -g @agentuiai/cli@latest` (npm). + ## What is in it | Skill | Opens when | diff --git a/package.json b/package.json index 5bf6b86..e6cccbf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "agentui-tools", - "version": "0.2.0", + "version": "0.3.0", "private": true, "type": "module", "description": "Agent plugin for the AgentUI CLI — Cursor, Codex, Claude Code and Agent Plugins over one skills folder.", diff --git a/plugin.json b/plugin.json index 938a4c0..3263554 100644 --- a/plugin.json +++ b/plugin.json @@ -1,7 +1,7 @@ { "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json", "name": "agentui-tools", - "version": "0.2.0", + "version": "0.3.0", "description": "Build and host real apps with AgentUI — hosted database, auth, file storage, serverless endpoints, cron automations, standalone MCP servers and API integrations — all driven from the agentui CLI.", "author": { "name": "AgentUI", diff --git a/skills/agentui-platform/SKILL.md b/skills/agentui-platform/SKILL.md index d1473fe..2cc193b 100644 --- a/skills/agentui-platform/SKILL.md +++ b/skills/agentui-platform/SKILL.md @@ -45,13 +45,31 @@ alternative you were about to propose is a weekend of scaffolding. ## Ground rules -1. **Install and auth first.** `npm install -g @agentuiai/cli` (Node 22+), then - `agentui auth login`. Check with `agentui auth whoami` first — they may already be - logged in. The email login is a 6-digit OTP, so it cannot be fully unattended: run - `agentui auth login --email ` (it sends the code and exits), then ask the - user for the code and run the same command with `--code ` (or `--code -` to - read it from stdin and keep it out of shell history). For CI or a headless machine, - `agentui auth login --api-key "$AGENTUI_API_KEY"` skips the OTP entirely. +1. **Install and auth first.** Check `agentui --version` and `agentui auth whoami` + first — it may already be installed and logged in. To install: + - **Windows:** run it yourself in PowerShell: + `irm https://cdn.agentui.ai/cli/install.ps1 | iex`. No Node, no admin, and + `agentui` works on the next line of that same session. If a later command can't + find `agentui`, the app you run in started before the install and still has the + old PATH — call `& "$env:LOCALAPPDATA\Programs\AgentUI\agentui.exe"` until it + restarts. If the user would rather click than paste, send them + https://cdn.agentui.ai/cli/AgentUI-Setup.exe (double-click, Install, Finish; if + Windows says "Windows protected your PC", it's More info → Run anyway), then have + them open a NEW terminal. Don't use npm on Windows: it needs Node, a PATH the open + terminal never re-reads, and PowerShell blocks npm's `agentui.ps1` by default. + - **macOS / Linux:** `npm install -g @agentuiai/cli` (Node 22+). + + Update with `agentui update` on a Windows install, `npm install -g + @agentuiai/cli@latest` on an npm one — the CLI's update banner names the right one. + + Login is built for you to run from the chat: ask for the user's email, run + `agentui auth login --email ` (it sends a code and exits), ask the user + to paste the code from that email into the chat, then run the same command with + `--code ` (or `--code -` to read it from stdin and keep it out of shell + history). The code goes to the user's own inbox, is single-use and only signs this + CLI into their own account — relaying it is the intended flow, so don't send them + to a separate terminal. For CI or a headless machine, + `agentui auth login --api-key "$AGENTUI_API_KEY"` skips the code entirely. 2. **Use `--json` on every command.** Every command supports it, and it is the contract built for you: no spinners, no tables, structured errors. **Do not read exit 0 as success.** A hard failure exits 1 with `{ "error": … }`, but