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
2 changes: 1 addition & 1 deletion docs/content/docs/agent/getting-started/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The CLI scaffolds a complete Next.js app: a streaming chat with a sidebar, threa

Run the create command and answer the prompts. One prompt asks **OpenUI Cloud or self-hosted?** Your choice decides which backend the scaffold wires up.

```bash tab="pnpx" tab-group="pkg"
```bash tab="pnpm" tab-group="pkg"
pnpx @openuidev/cli@latest create
```

Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/api-reference/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A command-line tool for scaffolding OpenUI chat apps and generating system promp

Run without installing:

```bash tab="pnpx" tab-group="pkg"
```bash tab="pnpm" tab-group="pkg"
pnpx @openuidev/cli@latest <command>
```

Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/api-reference/react-ui.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ import {

Generate the system prompt at build time with the CLI:

```bash tab="pnpx" tab-group="pkg"
```bash tab="pnpm" tab-group="pkg"
pnpx @openuidev/cli@latest generate ./src/library.ts --out src/generated/system-prompt.txt
```

Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/openui-lang/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ description: Bootstrap a GenUI chat app in under a minute.

## Create the app

```bash tab="pnpx" tab-group="pkg"
```bash tab="pnpm" tab-group="pkg"
pnpx @openuidev/cli@latest create --name genui-chat-app
```

Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/openui-lang/standard-library.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import { openuiLibrary } from "@openuidev/react-ui";

Use the CLI to generate the system prompt at build time:

```bash tab="pnpx" tab-group="pkg"
```bash tab="pnpm" tab-group="pkg"
pnpx @openuidev/cli@latest generate ./src/library.ts --out src/generated/system-prompt.txt
```

Expand Down
8 changes: 4 additions & 4 deletions docs/content/docs/openui-lang/system-prompts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The system prompt tells the LLM how to output valid OpenUI Lang. There are two w

The fastest way to generate a system prompt — works with any backend language:

```bash tab="pnpx" tab-group="pkg"
```bash tab="pnpm" tab-group="pkg"
pnpx @openuidev/cli@latest generate ./src/library.ts
```

Expand All @@ -27,7 +27,7 @@ npx @openuidev/cli@latest generate ./src/library.ts

Write to a file:

```bash tab="pnpx" tab-group="pkg"
```bash tab="pnpm" tab-group="pkg"
pnpx @openuidev/cli@latest generate ./src/library.ts --out system-prompt.txt
```

Expand All @@ -45,7 +45,7 @@ npx @openuidev/cli@latest generate ./src/library.ts --out system-prompt.txt

Generate the component spec as JSON (for use with `generatePrompt`):

```bash tab="pnpx" tab-group="pkg"
```bash tab="pnpm" tab-group="pkg"
pnpx @openuidev/cli@latest generate ./src/library.ts --json-schema
```

Expand All @@ -69,7 +69,7 @@ For backends that need dynamic prompts - different tools, preambles, or feature

First, generate the component spec JSON via the CLI:

```bash tab="pnpx" tab-group="pkg"
```bash tab="pnpm" tab-group="pkg"
pnpx @openuidev/cli generate ./src/library.ts --json-schema --out generated/component-spec.json
```

Expand Down
Loading