diff --git a/README.md b/README.md index e43428b..1afbe55 100644 --- a/README.md +++ b/README.md @@ -23,18 +23,26 @@ OpenClaw reads emails, manages files, runs scripts, and schedules work across to --- ## Quick Start -Install OpenClaw OS into an existing OpenClaw setup with one command: +Install OpenClaw OS into an existing OpenClaw setup with the command for your platform: + +macOS or Linux: ```bash curl -fsSL https://openui.com/openclaw-os/install.sh | bash ``` +Windows: + +```powershell +powershell -c "irm https://openui.com/openclaw-os/install.ps1 | iex" +``` + The installer downloads the source, builds the workspace UI, registers it as an OpenClaw plugin, restarts the gateway, and opens the dashboard in your browser. > The workspace runs at `http://localhost:18789/plugins/openclawos`; run **`openclaw os url`** for the pre-authenticated URL. > -> Don't have OpenClaw yet? Install it first from [openclaw.ai](https://openclaw.ai/install.sh), then run the command above. +> Don't have OpenClaw yet? Install it first from [openclaw.ai](https://openclaw.ai/install.sh), then run the matching command above. > > Installing from a local clone: see [`CONTRIBUTING.md`](./CONTRIBUTING.md). diff --git a/packages/claw-client/src/lib/session-workspace.ts b/packages/claw-client/src/lib/session-workspace.ts index c0628c1..2146c40 100644 --- a/packages/claw-client/src/lib/session-workspace.ts +++ b/packages/claw-client/src/lib/session-workspace.ts @@ -279,8 +279,7 @@ export function buildThreadContextPayload(params: { title: params.linkedApp.title, agentId: params.linkedApp.agentId, sessionKey: params.linkedApp.sessionKey, - instruction: - "This thread is linked to the app above. Use get_app/app_update when the user asks to refine or modify it.", + instruction: `The user's request applies to app "${params.linkedApp.title}" (id: ${params.linkedApp.appId}) — THIS one, even if other apps appear earlier in this conversation. Call get_app with this id, then app_update with this id. Do not create a new app.`, }); } @@ -291,8 +290,7 @@ export function buildThreadContextPayload(params: { title: params.linkedArtifact.title, agentId: params.linkedArtifact.agentId, sessionKey: params.linkedArtifact.sessionKey, - instruction: - "This thread is linked to the artifact above. Use get_artifact/artifact_update when the user asks to refine or modify it.", + instruction: `The user's request applies to artifact "${params.linkedArtifact.title}" (id: ${params.linkedArtifact.artifactId}) — THIS one, even if other artifacts appear earlier in this conversation. Call get_artifact with this id, then update_markdown_artifact with this id. Do not create a new artifact.`, }); } diff --git a/packages/claw-plugin/README.md b/packages/claw-plugin/README.md index c6440f2..1d0d6a1 100644 --- a/packages/claw-plugin/README.md +++ b/packages/claw-plugin/README.md @@ -27,12 +27,16 @@ The plugin teaches OpenUI Lang in two pieces, split by how often a turn needs ea For end users, install OpenClaw OS via the installer script from the [root README](../../README.md#quick-start): -```sh -# Install +macOS or Linux: + +```bash curl -fsSL https://openui.com/openclaw-os/install.sh | bash +``` + +Windows: -# Uninstall -curl -fsSL https://openui.com/openclaw-os/install.sh | bash -s -- uninstall +```powershell +powershell -c "irm https://openui.com/openclaw-os/install.ps1 | iex" ``` ### Opening the workspace @@ -48,9 +52,10 @@ pnpm bundle-ui # Build the plugin's own dist/ (esbuild bundle) pnpm build -# Clear local node_modules. pnpm's escaping symlinks trip openclaw's -# install scanner, and the bundled dist/ has no runtime deps to install. -rm -rf node_modules +# Clear local node_modules before installing. pnpm's escaping symlinks trip +# openclaw's install scanner, and the bundled dist/ has no runtime deps. +# macOS or Linux: rm -rf node_modules +# Windows PowerShell: Remove-Item -Recurse -Force node_modules # Install + reload, then open it openclaw plugins install ./packages/claw-plugin --force diff --git a/packages/claw-plugin/openclaw.plugin.json b/packages/claw-plugin/openclaw.plugin.json index 4057534..f27be9b 100644 --- a/packages/claw-plugin/openclaw.plugin.json +++ b/packages/claw-plugin/openclaw.plugin.json @@ -2,7 +2,7 @@ "id": "openclaw-os-plugin", "name": "Claw — OpenUI for OpenClaw", "description": "Enables Generative UI in the Claw client by injecting the OpenUI Lang system prompt for direct WebSocket chat sessions.", - "version": "0.1.1", + "version": "0.1.3", "enabledByDefault": true, "activation": { "onStartup": true }, "contracts": { diff --git a/packages/claw-plugin/package.json b/packages/claw-plugin/package.json index 46a0d44..b8af414 100644 --- a/packages/claw-plugin/package.json +++ b/packages/claw-plugin/package.json @@ -14,10 +14,10 @@ "agent-ui" ], "license": "MIT", - "homepage": "https://openui.com", + "homepage": "https://openui.com/openclaw-os", "repository": { "type": "git", - "url": "https://github.com/thesysdev/openclaw-ui.git", + "url": "https://github.com/thesysdev/openclaw-os.git", "directory": "packages/claw-plugin" }, "main": "./dist/index.js",