mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-10 01:09:43 +02:00
docs: add extending-codeman.md, the third-party integration guide
Codeman has no plugin runtime by design: running third-party code inside the process that spawns agents, on a server people expose over a tunnel, would trade away the security posture that is a reason to use it. But it already has four extension seams that work from any language with nothing installed, and they were undocumented. Documents web tabs (render your own UI as a tab), the SSE event channel (react when an agent needs you), the HTTP API plus the codeman CLI (drive it from a script), and hook events. Every endpoint, schema field, event name and header in the page was read from source and then verified against a running instance, including the localhost-only CORS behavior and the SSE framing the example depends on. Also corrects a stale line in CLAUDE.md: it claimed the HTTP/SSE API was internal/unstable, which contradicts docs/versioning-policy.md, where the API under /api/v1 was finalized as part of the stable surface for the 1.0 cut. No new stability commitment is made here; the page makes an existing one discoverable. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -47,7 +47,7 @@ The production server caches static files for 1 year, `immutable` (`maxAge: '1y'
|
||||
|
||||
## COM Shorthand (Deployment)
|
||||
|
||||
Uses [Semantic Versioning](https://semver.org/) (`MAJOR.MINOR.PATCH`) via `@changesets/cli`. What SemVer actually covers (the CLI + documented env vars are public; the HTTP/SSE API, on-disk state, and experimental features are internal/unstable) is defined in `docs/versioning-policy.md`. Security reporting + known limitations live in `.github/SECURITY.md`.
|
||||
Uses [Semantic Versioning](https://semver.org/) (`MAJOR.MINOR.PATCH`) via `@changesets/cli`. What SemVer actually covers (the CLI, documented env vars, **and the HTTP/SSE API under `/api/v1`**: endpoint paths, response envelope, `errorCode` values and SSE event names are public/stable; on-disk state, internal TS modules, and experimental features are internal/unstable) is defined in `docs/versioning-policy.md`. Third-party integration surfaces are documented in `docs/extending-codeman.md`. Security reporting + known limitations live in `.github/SECURITY.md`.
|
||||
|
||||
When user says "COM":
|
||||
|
||||
|
||||
Reference in New Issue
Block a user