Skip to content

docs: complete reference docs.md (replaces internal draft)#16

Merged
shreyas-lyzr merged 1 commit into
mainfrom
docs/complete-reference
May 31, 2026
Merged

docs: complete reference docs.md (replaces internal draft)#16
shreyas-lyzr merged 1 commit into
mainfrom
docs/complete-reference

Conversation

@shreyas-lyzr
Copy link
Copy Markdown
Contributor

Replaces the gitignored internal docs.md (api.clawagent.sh API ref) with a complete public-facing reference and un-gitignores the path.

What's in it (16 sections, 560 lines)

  • Install + quickstart
  • Core API: ComputerAgent, ChatHandle, runTask (full options table verified against ComputerAgentOptions in packages/sdk/src/types.ts)
  • IdentitySource: git / local / inline + string shorthand
  • Substrates: Local / Bwrap / E2B / VZ
  • Engines: claude-agent-sdk / gitagent / deepagents + custom-engine path
  • Session stores: memory / file / mongo / sqlite + resume pattern
  • Telemetry: AgentTelemetry (library-mode) + AuditSink (server-mode), gen_ai.* OTel
  • Permissions: onToolCall, ttyApproval, manual iteration
  • Policy: SRS-backed Cedar + OPA guardrails
  • Configuration: env var matrix, model resolution order
  • HTTP wire protocol: REST + SSE event union + curl example
  • CLI flag table
  • Typed errors (HarnessProtocolError, UnknownEngineError, …)
  • Companion package map (every workspace package)
  • Versioning policy
  • See-also block

Verified

  • 0 customer-name leaks (lyzr/nordstrom/clawagent/shreyas-lyzr audit clean)
  • Every code example uses real, currently-published API names (no cagent, agent.run, or other vaporware)
  • Every package referenced exists in the workspace today
  • Cross-links to README, info.md, CHANGELOG, CONTRIBUTING, SECURITY

Companion to:

  • README.md — install + the "why"
  • packages/computeragent/info.md — architecture deep-dive + diagrams

….sh draft)

The previous docs.md was an internal-only API reference for the
hand-rolled api.clawagent.sh deployment — full of customer URLs and
hosted-endpoint specifics. It was gitignored back in the
chore/oss-cleanup-public sweep.

This commit replaces it with a complete public-facing reference and
un-gitignores the path.

Contents:
  - Install + quickstart
  - Core API: ComputerAgent, ChatHandle, runTask (with full options
    table cross-checked against ComputerAgentOptions in packages/sdk/
    src/types.ts)
  - IdentitySource: git / local / inline + string shorthand
  - Substrates: Local / Bwrap / E2B / VZ with package + startup notes
  - Engines: claude-agent-sdk / gitagent / deepagents + custom path
  - Session stores: memory / file / mongo / sqlite + resume pattern
  - Telemetry: AgentTelemetry (library-mode) + AuditSink (server-mode)
  - Permissions: onToolCall, ttyApproval, manual iteration
  - Policy: SRS-backed Cedar + OPA guardrails
  - Configuration: env var matrix, model override resolution order
  - HTTP wire protocol: REST endpoints + SSE event union + curl example
  - CLI flag table
  - Typed errors
  - Companion package map
  - Versioning policy

Sections cross-link to README.md, packages/computeragent/info.md
(architecture), CHANGELOG, CONTRIBUTING, SECURITY.

Audit: 0 customer-name leaks (lyzr/nordstrom/clawagent/shreyas-lyzr).
560 lines.
@shreyas-lyzr shreyas-lyzr merged commit 606bab5 into main May 31, 2026
@shreyas-lyzr shreyas-lyzr deleted the docs/complete-reference branch May 31, 2026 10:23
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