Documentation & API reference

WS Commander API & Documentation

Human-readable docs and machine-readable references for WS Commander v1.0.10 Beta — also available as /llms.txt, /llms-full.txt, /docs/llms.txt, and /docs.md.

1. Installation, Apple Notarization & Checksum Verification

WS Commander distributes a signed Universal Binary (arm64 + x86_64) for macOS 13.0 or later, tested through macOS 27.2. Verify the download before moving it to /Applications:

curl -LO "https://github.com/wsagency/wscommander/releases/download/v1.0.10/WS-Commander-1.0.10-universal-notarized.zip"
shasum -a 256 "WS-Commander-1.0.10-universal-notarized.zip"
# Expected: 54977cc1c5f69c0381dbaf8552b60762389a9d859ecd6f400400b10f892c11e3

unzip -q "WS-Commander-1.0.10-universal-notarized.zip"
mv "WS Commander.app" /Applications/
spctl -a -vv "/Applications/WS Commander.app"

2. Command Line Tool (wsc) & MCP Bridge

The wsc binary ships directly inside the app bundle. Link it into your PATH once to launch dual-pane windows, open tabs, inspect versions, or spawn the stdio MCP bridge:

sudo mkdir -p /usr/local/bin
ln -sf "/Applications/WS Commander.app/Contents/Resources/bin/wsc" /usr/local/bin/wsc

wsc .                              # Open working directory in active pane
wsc ~/left ~/right                 # Set left and right pane paths
wsc -t ~/Downloads                 # Open path in a new tab
wsc mcp                            # Start 30-tool local MCP server over stdio
wsc guard install claude-code      # Install Claude Code PreToolUse hook + deny list
wsc guard install codex            # Install Codex execpolicy rules
wsc guard print <target>           # Print hook, settings, codex, or prompt snippet

3. Public Read-Only REST API (/api/v1/*)

https://wscommander.com/api/v1/* is open with zero API key or account friction so AI agents and scripts can query verified release metadata, benchmarks, and setup configs cleanly. See /openapi.json and /.well-known/api-catalog.

  • GET /api/v1/release — Latest version, notarized ZIP URL, SHA-256, and platform requirements
  • GET /api/v1/benchmarks?category=all&limit=10 — Paginated Apple Silicon benchmarks
  • GET /api/v1/tools?group=all&q=... — Paginated 30 local wsc mcp tools
  • GET /api/v1/docs?q=... — Search documentation topics
  • GET /api/v1/docs/{slug} — Fetch a single documentation topic by slug
  • GET /api/v1/setup/{client} — Client setup snippet for claude-code, claude-desktop, codex, cli, guard-claude, guard-codex, or socket
  • POST /ask & GET /ask?query=... — NLWeb v0.55 search (JSON or SSE streaming)
  • POST /api/mcp — Streamable HTTP Docs MCP server (server-card)

4. Authentication, Versioning, Rate Limits & Error Model

Authentication: None required for public read endpoints, Docs MCP (/api/mcp), or NLWeb (/ask). Local macOS automation (wsc mcp) authenticates strictly via OS file ownership on Unix domain socket 0600 api.sock.

Versioning & Deprecation: Breaking REST changes increment the path major version (/api/v2/). All responses include API-Version: 2026-12-04, plus RFC RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset headers. Deprecated routes emit Deprecation and Sunset headers at least 90 days before removal.

Errors (RFC 9457): 4xx and 5xx API failures return application/problem+json carrying type, title, status, code, detail, and a corrective hint.

Repository agent rules & plugin manifest: AGENTS.md · CLAUDE.md · plugin.json.