Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
6 changes: 2 additions & 4 deletions packages/claw-client/src/lib/session-workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.`,
});
}

Expand All @@ -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.`,
});
}

Expand Down
19 changes: 12 additions & 7 deletions packages/claw-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/claw-plugin/openclaw.plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions packages/claw-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading