Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
9a6b224
docs: document recent task and output updates
poe-code-agent[bot] May 28, 2026
24c8d21
Merge remote-tracking branch 'origin/main' into agent/update-document…
poe-code-agent[bot] Jun 3, 2026
e8749c4
docs: document recent code review and pipeline updates
poe-code-agent[bot] Jun 3, 2026
4167224
Merge remote-tracking branch 'origin/main' into agent/update-document…
poe-code-agent[bot] Jun 4, 2026
038eaaa
docs: document whoami newline output
poe-code-agent[bot] Jun 4, 2026
e87af66
Merge remote-tracking branch 'origin/main' into agent/update-document…
poe-code-agent[bot] Jun 5, 2026
1fbb0e2
docs: document recent package lint and MCP updates
poe-code-agent[bot] Jun 5, 2026
46fa1b6
Merge remote-tracking branch 'origin/main' into agent/update-document…
poe-code-agent[bot] Jun 8, 2026
18699d1
docs: document recent prompt and approval updates
poe-code-agent[bot] Jun 8, 2026
91d919d
docs: document recent spawn and agent selection updates
poe-code-agent[bot] Jun 9, 2026
fc7b45e
test(e2e): pass explicit spawn modes
poe-code-agent[bot] Jun 9, 2026
dcea300
test(e2e): use stable opencode health model
poe-code-agent[bot] Jun 9, 2026
5ea95da
fix(opencode): stabilize health check output
poe-code-agent[bot] Jun 9, 2026
933da65
Merge remote-tracking branch 'origin/main' into agent/update-document…
poe-code-agent[bot] Jun 10, 2026
5e9316f
docs: document recent package updates
poe-code-agent[bot] Jun 10, 2026
3fe8afc
docs: document latest runtime updates
poe-code-agent[bot] Jun 11, 2026
e454909
Merge remote-tracking branch 'origin/main' into agent/update-document…
poe-code-agent[bot] Jun 12, 2026
9131b48
docs: document cursor and toolcraft updates
poe-code-agent[bot] Jun 12, 2026
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 AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ When adding a new provider, the author should be creating 1 provider file, every

We are not doing branches unless requested. Everything happens on main and we push straight to main (when requested).

ALWAYS monitor the build after push until the release is successful.
ALWAYS monitor the build after push until the release is successful.

## Bad habits that I want to avoid

Expand Down
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,11 @@ Utilities are especially useful for scripting and CI/CD.

```bash
npx poe-code@latest spawn codex "Say hello"
npx poe-code@latest spawn cursor "Say hello from Cursor"
```

Cursor spawns use the authenticated `cursor-agent` installation and your Cursor account; Poe Code does not inject Poe credentials into Cursor.

#### Spawn against a GitHub repository

```bash
Expand Down Expand Up @@ -121,6 +124,9 @@ npx poe-code@latest install codex
# OpenCode
npx poe-code@latest install opencode

# Cursor
npx poe-code@latest install cursor

# Kimi
npx poe-code@latest install kimi

Expand Down Expand Up @@ -249,12 +255,15 @@ console.log(run.output);

Runs a single prompt through a configured service CLI.

- `service` – Service identifier (`claude-code`, `codex`, `opencode`, `kimi`, `goose`)
- `service` – Service identifier (`claude-code`, `codex`, `cursor`, `opencode`, `kimi`, `goose`)
- `options.prompt` – The prompt to send
- `options.cwd` – Working directory or workspace locator (optional). Supports local paths and `github://owner/repo[#ref[:subdir]]` locators. See [@poe-code/workspace-resolver](packages/workspace-resolver/) for the full locator syntax.
- `options.model` – Model identifier override (optional)
- `options.mode` – Permission mode: `yolo`, `edit`, or `read` (optional)
- `options.args` – Additional arguments forwarded to the CLI (optional)
- `options.env` – Per-invocation child environment overrides (optional)
- `options.mcpServers` – Spawn-time MCP servers serialized into the agent-specific flags or environment (optional)
- `options.runtime`, `options.runtimeImage`, `options.runtimeTemplate`, `options.detach`, `options.mountPoeCode`, `options.runnerSync` – Runtime overrides for agents with CLI spawn support (optional). ACP-only agents reject these options instead of running locally.

Returns `{ stdout, stderr, exitCode }`.

Expand All @@ -263,10 +272,10 @@ Returns `{ stdout, stderr, exitCode }`.
Same as `spawn()`, but renders the ACP event stream to stdout with colored, formatted output — matching the CLI's visual style.

```typescript
import { spawn } from "poe-code"
import { spawn } from "poe-code";

const result = await spawn.pretty("codex", "Fix the bug in auth.ts")
console.log(result.exitCode)
const result = await spawn.pretty("codex", "Fix the bug in auth.ts");
console.log(result.exitCode);
```

Returns `Promise<{ stdout, stderr, exitCode }>`.
Expand Down
Loading
Loading