Something went wrong. Try again.
small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
Something went wrong. Try again.
# Extension HTTP behavior
This reference describes caller-visible behavior for selected extension
services. It is not an exhaustive extension inventory. [OpenAPI](openapi.yaml)
defines supported routes and schemas. [HTTP API behavior](http-api-design.md)
defines common HTTP rules.
Extension management stays under `/extensions/{extension_name}`. These routes
are not aliases for core commands. The extension owns validation, persistence,
permissions, and typed domain results. Enabled routes and action descriptors are
discoverable through the server and session catalog.
HTTP bearer clients are human operators. Internal model callers use the same
domain operations with trusted caller context supplied by the runtime. A JSON
`role`, `caller`, or session ID cannot grant human permission. Core shutdown and
global credential management cannot be delegated through a page descriptor.
Disabling a service returns `404` for its HTTP routes.
Extension lists use common pagination and may include optional `page` and
`glance` render hints. Each editable row includes `resource`, containing URL,
value, and its observed `etag`. Work, paperclip, and schedule item reads are
canonical item representations. Hook and linked-group reads include runtime
observations and expose a separate `view=configuration` resource for edits,
using the session configuration convention. Its validator covers only the
complete configuration representation, not changing runtime observations.
Mutation responses contain `resource` and `notification`. Notification has
`state: "not_requested"|"queued"|"failed"`, with nullable safe `code` and
`detail`. Multiple targets use `notifications`, one result per target. Creates
return `201` with `Location`. Edits return `200`. Deletes return `200` when
reporting a deleted resource or notification outcome, otherwise `204`. A
committed ledger edit remains successful if notifying an agent fails.
Secret-generating POSTs have no automatic retry after response loss. The caller
reads the resource and explicitly rotates if th…