Skip to content

docs(cli): add PowerShell curl examples for Windows users - #10

Open
terminalchai wants to merge 2 commits into
skrun-dev:mainfrom
terminalchai:docs/powershell-cli-examples
Open

terminalchai wants to merge 2 commits into
skrun-dev:mainfrom
terminalchai:docs/powershell-cli-examples

Conversation

@terminalchai

@terminalchai terminalchai commented May 19, 2026 •

Copy link
Copy Markdown

What does this PR do?

Adds Windows PowerShell guidance to the CLI reference. curl.exe and a UTF-8 file body avoid the curl alias and native-command JSON quoting differences in Windows PowerShell 5.1 and PowerShell 7.

The local example uses the development server's mock /run endpoint. The deployed example uses the current authenticated /api/agents/:namespace/:name/run endpoint and explains its token, input-schema and model-key requirements. Current main has been merged, preserving its expanded CLI documentation.

Validation: both exact documentation snippets were parsed and executed against a local HTTP capture fixture under Windows PowerShell 5.1 and PowerShell 7.6.5. The checks verified request paths, deployed Bearer authentication, nested JSON input, and non-ASCII UTF-8 bytes without a BOM. No live registry was called.

Checklist

  • Documentation examples validated under both PowerShell versions
  • pnpm build passes
  • pnpm test (not rerun for documentation-only changes)
  • pnpm lint (the Windows checkout has existing CRLF formatting failures; checks with formatting disabled pass)

Prepared with AI assistance and independently reviewed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant