ade
(alias: console)v1.10.4Web console for iii — bundles the React UI and proxies the engine WebSocket on a single port.
Install
iii trigger compose::add worker=ade@1.10.4Run in your project with the iii engine running. Exact versions are immutable and digest-pinned.
Full markdown
/registry/workers/ade.md?version=1.10.4. Paste it into an LLM prompt or pipe it through curl from a worker.Install
iii trigger compose::add worker=ade@1.10.4Configuration
- data_dir: data/ade
http_host: 127.0.0.1
http_port: 3113Dependencies
Readme
Notice: renamed from console
This worker used to be called console. Its worker identity and function namespace now use ade:
- worker name, binary, Cargo package and registry entry:
console→ade(iii call compose::add worker=ade,npx skills add iii-hq/workers --skill ade) - source directory:
console/→ade/; dependents pinadein theiriii.worker.yaml - function IDs:
console::*→ade::*(case-sensitive), includingade::status,ade::ui-manifest,ade::configuration-id,ade::ui-content,ade::ui::asset,ade::ui::on-assets-changed,ade::workspace::*andade::compose::*; the observable change functionsade::workspace::on-changedandade::compose::on-changedalso useade:: - the
iii::console::*stream topics, theconsoleconfiguration entry and the asset paths shared throughiii-console-ui/@iii-dev/console-uikeep their existing names
Update consumers, observers, permissions and agent tool lists together with ADE. The old function IDs are no longer registered; there are no compatibility aliases.
Install
iii call compose::add worker=adeThis resolves the worker, writes its declaration to worker-compose.yaml, and reconciles the Compose project.
Quickstart
curl -fsSL https://install.iii.dev/iii/main/install.sh | sh
iii project init iii-app && cd iii-app
iii compose --up # engine on ws://127.0.0.1:49134# New terminal, same folder
iii call compose::add worker=ade # UI + /ws proxy on :3113
open http://127.0.0.1:3113The browser hits / for the SPA shell and upgrades /ws to the engine WebSocket — one origin, no CORS, no API base URL to configure.
Bring up the chat stack
Chat runs on the harness durable turn loop. Its manifest declares the whole stack as dependencies — session-manager (the conversation store the sidebar, transcripts, and live token rendering are backed by), llm-router (generation + the model catalog), context-manager (the /compact summariser), approval-gate (human-in-the-loop approvals), and the provider workers — so a single command resolves and installs all of it:
iii call compose::add worker=harnessConnect a model: the setup wizard
The provider workers install with the harness, but they need credentials before any model appears — until then the model picker reads no models and chat won't generate. The first time a person loads the ADE on a machine it opens a setup wizard that does this for you — never in a browser under automation (an e2e run, an agent's browser session), which gets the page it asked for. Reopen it any time from the command palette: Set up the harness.
Models —
ade::onboarding::scanlooks for the Claude Code and Codex CLIs and whether each is signed in (presence and paths only, never a credential), and the step recommends what it found: a signed-in Claude Code or Codex addsprovider-claude-code/provider-openai-codexand needs no key; a CLI installed but not signed in says what to do, then Scan again. Thesecretsworker comes withllm-router(a dependency, so the wizard never asks to add it), andsecrets::detectlooks for provider keys in your shell profile and the project's.env, shows them masked (sk-ant…9f2c) and recommends their providers. Each key is kept where you choose: Encrypted (the default; a found key is imported by the secrets worker itself, a pasted one is stored there) or Environment variable (the variable already in.envis shared as it is, or a pasted key is written to.env). Either way only a reference,secret://ANTHROPIC_API_KEYorenv://ANTHROPIC_API_KEY, is written to thellm-routerconfiguration, so no key lands in./config. The same choice is in each provider's key field in the model picker and in Settings → Workers → llm-router. Every other provider worker in the registry is listed too.Browser (shown only when the
browserworker is installed andbrowser::chromium::statusfinds no Chromium) — one click on Download Chromium runsbrowser::chromium::install(about 200 MB, once per machine) and follows its progress throughbrowser::on-chromium-install-progress; I'd rather install it myself shows the command for the OS and Check again. The command palette's Install Chromium for the browser worker and an Install Chromium action on a failedbrowser::*call (chromium_missing) open the wizard on this step.Judge (optional) — adds
judgewith Jev (judge-typesafe, itsTYPESAFE_API_KEYstored encrypted bysecrets) or a local judge, and explains where the harness uses it.Ready — what is connected, every worker setup added, and the project's example prompts. Finish closes the wizard. The prompts come from
onboarding.yamlin the project folder (ade::onboarding::prompts, read on each call; a missing or invalid file shows none): each one has atitle, an optionaldescription, theagentprofile it runs with, theprompt, andmodels, a priority list of{ provider, model, effort? }. Clicking one opens a new chat with the prompt in the message box (not sent), its agent profile selected, and the first listed model the router serves here, at that effort; with none available the chat keeps its usual model.onboarding.yamlmay also list registry kits underkits:(<handle>/<name>, optionally@<version>; the harness template listsiii/deepwork). The wizard installs them in the background as soon as it opens, one at a time, withdirectory::download-kit {kit, apply: true}; the install keeps going if setup is skipped or closed, and runs once per page load. A kit already installed isup_to_date. Ready shows each kit: installing, installed, needs a review (its plan was not applied automatically, for example because a profile with the same id exists; Review opens Directory → Kits on it) or failed (Try again). A project whose iii-directory has no kit support shows nothing.
Nothing is added without a click, and every worker a step adds is named before it runs and logged as it is added: iii is composable, and each worker adds behavior to the project (worker-compose.yaml). The wizard keeps everything else in plain words (no function ids, configuration entries, key references or paths); the actions behind each step are compose::add, secrets::import / secrets::set and a configuration write. Finishing or skipping is remembered per machine in <data_dir>/onboarding.json (ade::onboarding::get / ::set).
The wizard opens by itself only where it can help: never once a model is connected (the router already serves one from a running provider worker), never when the router cannot answer, and never where it is turned off. A deployed ADE starts with an empty data directory, which reads as a first run, so turn it off there: onboarding.auto_open: false in the ADE configuration (Settings → Workers → ADE → Setup), or III_CONSOLE_ONBOARDING_AUTO_OPEN=false in the worker's environment for one environment whatever the configuration says. ade::onboarding::get reports the result as auto_open. The command palette opens the wizard either way.
After setup, every place that takes a provider key uses the same field: Configure in the model picker (applied at once, then checked — a key the provider refuses lists no models and is flagged as such), Settings → Workers → llm-router, and Settings → Workers → judge-typesafe (both apply on Save). It shows the reference and the masked key with Replace and Remove, offers a key found on the machine, and moves a plain-text or ${VAR} value into the secrets worker. Where the consumer resolves env:// references (the environment prop; llm-router does, judge-typesafe does not yet), it also offers keeping the key as an environment variable in the project's .env. Injected worker forms get it as host.components.SecretKeyField. A configured provider that lists no models stays in the picker, so its key can be fixed from there.
Keys can come from the environment two ways. An env://ANTHROPIC_API_KEY reference is read by the secrets worker from the project's env file each time it is resolved, so an edit applies without a restart; the file is .env unless the secrets worker's env_file names another (one per environment or namespace, e.g. .env.staging), and the key field and the wizard name the configured file. Without any reference, llm-router falls back to a provider's credential env var (e.g. ANTHROPIC_API_KEY), read in the router's own process — in the harness template that means the project's .env plus iii call compose::restart worker=llm-router. See llm-router for the credential model.
Pick a model in the composer and send — the turn streams back through the harness loop.
Programmatic check from the SDK
use iii_sdk::{register_worker, CallRequest, InitOptions};
use serde_json::json;
#[tokio::main]
async fn main() -> anyhow::Result<()> {
let iii = register_worker("ws://localhost:49134", InitOptions::default());
let result = iii.call(CallRequest {
function_id: "ade::status".into(),
payload: json!({}),
action: None,
timeout_ms: Some(5_000),
}).await?;
println!("{result:#?}");
Ok(())
}Returns { http_port, engine_url, version } — useful for liveness and readiness probes.
Why ade
- One port, one binary. The React UI is baked into the executable with
rust-embed, and the engine WebSocket is reverse-proxied at/wson the same origin. No CORS preflight, no side-car static server, nodist/directory to deploy. Seesrc/assets.rsandsrc/proxy.rs. - Live engine, live UI. Functions, models, traces, and chat sessions all stream over a single WebSocket via the iii browser SDK. Mention any registered function with
@, switch models on the fly, and watch the trace appear in the panel next to you. Seeweb/src/lib/iii-client.ts. - Built for production. SIGINT and SIGTERM graceful shutdown (so
docker stopandkubectl deleteactually drain), URL credentials redacted from logs, immutable cache headers on content-hashed assets, and a fully self-contained binary with no runtime filesystem deps. Seesrc/main.rs.
Features
Chat
A purpose-built agentic chat UI on top of Lexical. Lives in web/src/components/chat/.
- Two modes —
askandagenttoggle right in the composer - Live model picker — provider-grouped from
router::models::list; static fallback (OpenAI, Anthropic, Google) when the catalog is unreachable @-mentions — one paged menu over every function registered against the engine and the files under the session's working directory (the shell worker's.gitignore-aware quick-open search); a file pill carries an optional line window (#file(src/a.ts:12-40)), opens the shell explorer on those lines when clicked, and is what the shell's "Reference in chat" selection action inserts. A whole-file or folder pill is a reference — the token reaches the model as-is and the agent reads the file or lists the folder on demand; only a line window is read at send time and attached inline as an<attached-file …>block/compactslash command — sent to the harness like any message;harness::sendruns it as a server-side compaction (summarising older history via thecontext-managerworker, keeping a recent tail verbatim) instead of a turn, so it means the same from every client and survives this tab disconnecting. Every device watching the session sees it start (a "compacting the conversation…" row and "compacting context" on the status line) and end (the compaction marker, or a notice saying why not), and the context meter updates. The durable transcript is untouched — the marker renders from thecompactionsession entry and the summary anchors future turns (and the next/compact, which updates it in place instead of re-summarising from scratch). Text after the command —/compact keep the schema decisions, drop the CSS detour— is one-shot guidance for the summariser on what to keep, drop, or emphasise- Attachments — multi-file picker with text/image previews
- Function calls — running / pending / error cards; consecutive calls collapse to the latest and expand as one tight stack, while rich code/screenshot displays, approvals, and live calls stay visible; intermediate agent prose summarizes the completed batch; pending approvals use approve/deny gating (
approval::resolve) - Streaming — abortable mid-flight; live thought stream removed from the DOM on completion
- Markdown — GFM, code blocks with prism-react-renderer, syntax-highlighted JSON inputs and outputs
- Conversation sidebar — create, inline rename, delete, auto-title from the first message
- Context-usage meter — token estimate with warn / danger thresholds and a
/compactnudge - Session ID — copyable, deep-links every conversation into the trace explorer via
iii.session.id - Persistence — conversations, active id, last model, sidebar state — all in
localStorage
Import local conversations
Use Import conversations in the chat sidebar to discover, preview, and select histories on the machine running ADE. Codex uses CODEX_HOME (default ~/.codex); Claude Code uses CLAUDE_CONFIG_DIR (default ~/.claude). A container needs read access to these directories. The browser's local filesystem is not scanned.
- Every import creates a new, independent, editable ADE session. Importing the same source again creates another copy. There is no subsequent synchronization with the original.
- Copies include user and assistant text, the commands the agent ran with their recorded output, original message timestamps, and available model metadata. Reasoning, attachments, and subagent histories are omitted. Source files are never changed.
- Commands become the console's own function rows: Codex
CommandExecution,FileChange,McpToolCall, andWebSearchitems, and Claude Codetool_use/tool_resultblocks, are stored asfunction_callblocks with matchingfunction_resultentries. They keep the source's tool names (exec,apply_patch,Bash,Read, …) and never re-run. Planning comes across too: Codexupdate_plancalls become function rows with their recorded output, a Codex plan-mode proposal (its latest revision) becomes an assistant message, and Claude Code'sTodoWriteandExitPlanModecalls are carried like any other tool. Results the source filed on a sibling branch of a parallel batch are placed right after the call they answer. - Choose an ADE model and working directory to continue through the normal composer. The original project path is provenance only and grants no filesystem access. Rename, compact, and delete work normally.
- Native readers support Codex 0.154.0 completed-item events and Claude Code's main conversation branch (checked against Claude Agent SDK 0.3.173). Older Codex histories without completed-item events and rewound Codex histories are unsupported; discovery reports skipped histories.
- Discovery is paginated and reads files incrementally. Preview shows the last 50 messages; import copies the full history.
Deploy the matching ADE and Harness changes so a session with imported history and no prior turn requires its initial ADE model and working directory. Sessions that explicitly carry read_only: true remain protected.
Mentions
Workers define what a chat can mention (see
crates/mention-contract). In the
composer, @ lists the providers beside functions and files, and from two
characters on searches every provider, one group each; Tab (or Enter) on a
provider scopes the menu to @<provider>: and its own search. A picked item
is inserted as @<provider>(id="…") and shows as a pill with its icon and
name, in the composer and in sent messages; hovering a pill shows the item's
preview card — the generic one, or the worker's own
(host.mentions.registerRenderer) — and clicking it opens the item. What
the agent was told about the mentions shows as a quiet "Context for the
agent" row in the turn. The ADE worker itself provides @trace:
ade::mentions::trace::search / ade::mentions::trace::get wrap
engine::traces::list, and a trace pill opens the traces screen on that
trace.
Traces
Full-fledged OpenTelemetry explorer over engine::traces::* and engine::logs::list. Lives in web/src/pages/TracesV2/.
- Live timeline strip masthead — every span streamed in real time, with a shared funnel as the volume control
- Two detail visualizations — lane timeline (same visual grammar as the strip) and a waterfall tree virtualized for huge traces
- Rich filtering — status, time presets, min/max duration, arbitrary attribute key/value pairs, debounced free-text search, saved views
- Group by — server-side aggregation with lazy per-group member expansion
- Span detail tabs — info, attributes, events, errors, OTel logs, context (baggage), links
- Live updates — the engine's coalesced
observability::on-spansource (trace ids only) drives a re-read of the touched traces; one seed read, then notify-then-query, no polling and no stream worker
Worktrees
The human window into the worktree worker: parallel agent checkouts, ownership, and land outcomes. Lives in web/src/pages/Worktrees/ and web/src/components/chat/. The whole surface is presence-gated: it appears only while the worktree worker is connected to the engine (the nav entry and picker tab hide; a direct #/worktrees hit lands on an install notice).
- Graph page (
#/worktrees) — repo, worktree, and owning-session nodes fromworktree::list { include_status: true }, refreshed live off all sixworktree::on-*lifecycle functions (poll fallback while observers are unavailable), with a per-worktree detail panel: branch, base, advisory dev port, clean / ahead / behind, diffstat, and the integrated marker for squash- or rebase-landed branches - Picker tab — the chat working-directory picker grows a worktrees tab next to directory browsing: picking a managed worktree validates the path and claims it for the conversation's session; the console-made claim auto-releases when the conversation points elsewhere (best-effort; the worker's prune sweep is the durable backstop). Worktrees with a land in progress are listed but not retargetable
- Working-dir badge — a conversation rooted in a managed worktree shows branch, short id, dirty
*/ ahead+nindicators, and a lifecycle dot instead of the plain path chip; the raw path stays reachable as the tooltip - Live land notices —
worktree::on-landed/worktree::on-land-blockedevents surface in the chat as notices (target branch and merged sha, or the block reason and conflicted files) and refresh the badge
Memory
The human window into the memory worker: named banks of always-injected markdown rules and auto-extracted memories. Lives in web/src/pages/Memory/. Presence-gated like Worktrees: the page appears only while the memory worker is connected (a direct #/memory hit lands on an install notice).
- Bank rail — every bank with live memory / pinned / rule counts and inline create
- Rules tab (first) — the bank's markdown rules as in-place editors (save appears only on edit; delete asks to confirm); the agent appends learned standing instructions to the auto-managed
learnedrule as you correct it in chat - Memories tab — server-paged newest-first list with pin / edit-in-place / tombstone delete, a show-history toggle, and search that runs
memory::recall(the ranked scorer, not a client filter) - Graph tab — entity hubs with memories as spokes: level-of-detail for large banks, draggable nodes, wheel zoom/pan, click a node for an inspect card
- Preview tab — the whole turn before it happens:
memory::previewcomposes the exact system-prompt rules section and the appended memories (relevance cut + budgets applied) for a hypothetical question, with clickable example questions from the bank's own content - Live — the page re-reads off
memory::on-item-changed/memory::on-bank-changed(poll fallback), so memories appear the moment they're learned - In chat — a bank picker in the composer (session metadata
memory_bank) and a memory chip on each assistant reply naming the bank, how many rules and memories fed the turn, and whether recall ran semantic; click it to expand the exact records
Live catalogs
The composer's @-mentions and the model picker pull from the engine in real time.
coder::search(shell worker, path-only, fuzzy,respect_gitignore, no dot-entries) — the files half of the@menu, one call per settled keystroke →web/src/lib/file-search.tsengine::functions::list— TTL-cached function list (VITE_FUNCTIONS_LIST_CACHE_MS, default 10s) →web/src/lib/functions-catalog.tsrouter::models::list— provider-grouped model catalog, refreshed live by observingrouter::models::on-changed→web/src/lib/models-catalog.ts
Theming
Light and dark themes via data-theme + CSS custom properties. Persisted to localStorage with an inline init script in index.html to prevent flash-of-wrong-theme on first paint.
Worker SDK surface
ade registers a health probe for engine::workers::info smoke tests, plus the workspace functions that let an agent show the human a screen next to the conversation:
| Function | Input | Output |
|---|---|---|
ade::status |
{} |
{ url, http_port, engine_url, version } |
ade::workspace::list |
{} |
{ tabs: [{ id, name?, columns, screens, sizes, active }], active_tab_id } |
ade::workspace::open |
{ screen, session_id?, relative_to?, direction?, sizes?, activate? } |
{ tab_id, column, placement, screens, sizes, activated } |
ade::workspace::close |
{ screen, session_id? } |
{ tab_ids } |
ade::workspace::get (internal) |
{} |
{ value, path } — the raw layout document and the file it lives in |
ade::workspace::set (internal) |
{ value, expected_revision? } |
{ ok } — replaces the document wholesale (the SPA's read-modify-write path). Every write stamps the document's revision; with expected_revision older than the stored one, nothing is written and the call fails WORKSPACE_CONFLICT |
A screen is chat, chat:<session-id>, traces, workers, or ext:<page-id> for a worker page (ext:ide, ext:browser, ext:editor, ...). Call open with { screen: "chat", session_id: "<id>" } to open a panel pinned to one conversation; the structured input is persisted as chat:<session-id>, and opening that exact session again reuses its existing panel. The workspace layout is stored by the ADE worker in <data_dir>/workspace.json (data_dir is a console configuration setting, default data/ade) and every write calls ade::workspace::on-changed (no args, empty event: re-read with list), which each browser pointed at this engine observes to pick the change up at once (every observer also gets one ring of its own when it is accepted, which catches a browser up after its first read and after each reconnect; a tab polls only until that first ring arrives, and re-reads when it regains focus); it is ephemeral per-instance state and is deliberately kept out of the committed configuration YAML. open stays on the active tab when it already shows the screen, else switches to the tab that does, else places the screen beside an anchor column (adjacent empty column, any empty column, new column), else opens a fresh tab; placement reports which (existing, empty_column, new_column, new_tab). The anchor is relative_to — a screen in the same vocabulary, defaulting to chat, which matches whichever chat panel the active tab shows — and direction (right, the default, or left) picks the side of it. A named anchor (anything but chat) is looked for in every tab, the active one first, because the active pointer is whichever browser clicked last; an anchor mounted nowhere puts the column at the end of the active tab. activate (default true) stamps a function activation every time, pointer moved or not, so every open console switches to the tab holding the screen. sizes sets the tab's column widths — one positive number per column of the tab AFTER the call, normalized by their sum — in the same write that places the screen, so no other writer can land between placement and sizing; list reports the current widths to compute them from, and a list that does not match the column count fails with WORKSPACE_INVALID_SIZES rather than being ignored. It never replaces a mounted screen. close detaches the screen everywhere it is mounted and is idempotent; pass the same screen: "chat" and session_id to close one pinned conversation panel. Unknown screens fail with WORKSPACE_INVALID_SCREEN; an unreadable or unwritable data_dir with WORKSPACE_UNAVAILABLE.
Defined in src/functions/status.rs and src/functions/workspace.rs; the file store is src/workspace_store.rs.
Observable functions
The console hosts four private functions other workers and its own tabs observe. Each handler returns the event it is called with; none can be called from outside the console.
| Function | Args | Delivery | Event |
|---|---|---|---|
ade::ui::asset |
{ kind: 'script' | 'style' | 'module', path } |
its own: when the observer is accepted, the console calls the function with { path } for that observer alone, its deliver hook calls the target (the worker's content function) through the observer with { path }, and the console serves the bytes the target answers. An observer announced again after its worker reattached is fetched again. A later observer of the same path supersedes it (UI_ASSET_SUPERSEDED); a failed fetch rejects it (UI_ASSET_FETCH_FAILED, UI_ASSET_TOO_LARGE); an invalid kind or path is INVALID_ARGS |
the target receives { path } and answers { content, content_type? } |
ade::ui::on-assets-changed |
none | iii delivers every call; each new observer also gets one call of its own once it is accepted (metadata for_observer), { op: 'sync', assets }, delivered like every call |
{ op: 'sync', assets }, { op: 'set', asset: { path, kind, hash } } or { op: 'delete', path } |
ade::workspace::on-changed |
none | iii delivers every call (store writes, throttled); each new observer also gets one call of its own once it is accepted (metadata for_observer), delivered like every call |
{} — re-read ade::workspace::list |
ade::compose::on-changed |
none; filter on input.kind, input.file, input.namespace |
iii delivers every call; the first observer starts the state watch, the last one closes it | { kind, file, namespace, state_dir, path, captured_at } |
// ship a script asset (iii-console-ui does this for Rust workers)
iii.observe(
{ function_id: 'ade::ui::asset', args: { kind: 'script', path: 'mywork/page.js' } },
'mywork::ui-content',
)
// follow the workspace layout from a page
iii.observe('ade::workspace::on-changed', 'mywork::layout-changed')
// follow one compose file
iii.observe(
{ function_id: 'ade::compose::on-changed', filters: { 'input.file': { $eq: '/srv/worker-compose.yaml' } } },
'mywork::compose-changed',
)The console itself observes configuration::on-updated (its own entry, with ade::on-config-change as the target), harness::hook::on-pre-call (args { functions: ['ade::working-directory::propose'] } and the context-tracking functions) and harness::hook::on-pre-generate (working-directory and context-tracking guidance).
Workers screen and the compose project
The workers screen lists every worker the compose daemon runs, grouped into what needs attention, registry packages and local-path workers, plus the workers connected to the engine outside compose. A container opens on its followed log (compose::logs), its Source (pin another registry version through compose::add, which restarts only that container, or point a local worker at another checkout), its Settings (run script, start_after, environment, config_override) and, while connected, the functions it registered. The project view shows the start order, which packages have newer releases, the compose file and the daemon; Add worker declares one from the registry or a local directory. Lifecycle is the daemon's own compose::* functions; add, update and remove run as compose operations the page follows with compose::operation. A change restarts only the container it touches (a Settings edit to a registry package restarts it explicitly, since compose only bounces a package whose version changed); because compose brings every declared container up after an add or a remove, the page names the stopped ones first.
The ADE worker adds what the daemon does not expose, read from the compose file and this host (the ADE worker runs beside the daemon):
| Function | Input | Output |
|---|---|---|
ade::compose::project |
{ file? } |
The compose file as declared: namespace, engine endpoint, timeouts, each container's source, version, start_after, environment keys and run script |
ade::compose::versions |
{ container? , name?, file? } |
{ container, reference, declared, versions: [{ version, tags, created_at }] } from the registry, newest first |
ade::compose::search |
{ query } |
{ workers: [{ name, version, description, dependencies }] }; engine workers are left out |
ade::compose::inspect |
{ path, run? } |
{ path, exists, manifest, run_found, checkouts, workers }: a directory's iii.worker.yaml, whether a relative run command is built, its git checkouts (branch, HEAD commit time, uncommitted changes), or the workers inside a folder |
ade::compose::container |
{ container, file? } |
One declaration; literal values whose names look like credentials are masked |
ade::compose::edit |
{ container, worker?, run?, start_after?, environment?: { set, unset }, config_override?, file? } |
The accepted compose::add operation. The change merges with the declared entry, so masked values keep their file values; a new path must keep the container's name |
ade::compose::on-changed is called when the daemon writes state.json or the compose file changes (no args; filter on input.kind, input.file or input.namespace; the event carries kind, file, namespace, state_dir, path, captured_at). The first observer starts the watch and the last one closes it. Defined in src/compose/.
Architecture
flowchart LR
Browser["Browser SPA<br/>(iii-browser-sdk)"] -->|"HTTP GET /"| ADE
Browser -->|"HTTP GET /runtime"| ADE
Browser -->|"WS /ws"| ADE
ADE["ade binary<br/>(axum + rust-embed)"] -->|"WebSocket"| Engine["iii engine<br/>:49134"]
ADE -. "registers ade::status, ade::workspace::*" .-> Engineade is a thin HTTP server. It serves the embedded SPA bundle and
runtime connection settings, hosts injected worker UI assets, and transparently
proxies /ws to the iii engine. The browser only ever talks to one origin.
Configuration
The ADE worker registers a console entry with the central configuration worker.
Its http_port value is authoritative after first registration: ADE reads
it before binding, watches configuration:updated, and moves the listener live
when the port changes. The replacement port is bound and started before the old
listener is gracefully drained; a failed bind keeps the previous listener and
port active.
The local config.yaml is a first-registration seed and a fallback for direct
runs where the configuration worker is unavailable:
http_host: 127.0.0.1 # HTTP bind address (default: local access only)
http_port: 3113 # initial port seed for the UI + /ws (default: 3113)
injectable_ui: true # kill switch for runtime-injected worker UI (default: true)
data_dir: data/ade # ephemeral per-instance state: the workspace layout (default: data/ade)| Key | Default | Description |
|---|---|---|
http_host |
127.0.0.1 |
HTTP bind address; set 0.0.0.0 explicitly to expose all IPv4 interfaces. Applied at startup |
http_port |
3113 |
Initial TCP port seed for /, /assets/*, and /ws; the stored console.http_port wins thereafter |
injectable_ui |
true |
When false, skips the ade::ui::asset and ade::ui::on-assets-changed functions, the /ui + /vendor routes, and the SPA loader (ade::ui-manifest answers disabled: true) |
data_dir |
data/ade |
Initial seed for the directory holding ephemeral per-instance state — the workspace tabs/panes layout (workspace.json). Relative paths resolve against III_COMPOSE_DIR (or the process directory outside Compose); absolute and ~/ paths keep their meaning. The stored console.data_dir wins thereafter |
The configuration entry also stores UI preferences and
injectableUi.disabledWorkers. Port, data_dir and per-worker UI changes apply
without an ADE restart; the local injectable_ui kill switch remains
startup-only.
To make the ADE listener reachable from other machines, explicitly set
http_host: 0.0.0.0 or pass --http-host 0.0.0.0. The CLI flag wins over a
stored console.http_host, which wins over the local seed. Existing stored
addresses remain in effect until changed; changing http_host requires a restart.
Binding to 0.0.0.0 exposes the unauthenticated /ws engine proxy to any
network client that can reach the listener. The browser Origin check does
not authenticate clients, and clients without an Origin header are accepted.
For remote access, use a reverse proxy that enforces authentication and TLS,
and restrict direct access to the ADE listener to that proxy.
When ADE, or an iii compose stack containing it, runs inside a container
with its own network namespace, 127.0.0.1 is local to that container. A
forwarded port needs ADE bound to a non-loopback container address, such as
0.0.0.0. The host-side port publication can still stay local: for example,
Docker's 127.0.0.1:3113:3113 mapping makes the published port reachable only
from the host.
The workspace layout itself (tabs, panes, active tab) is not part of the
entry: it changes on every click, and the configuration YAML is meant to be
committed. It lives in <data_dir>/workspace.json (atomic writes; a missing
or unreadable file starts from the default chat + traces tab). Entries written
by older ADE versions still carry a workspace section — on boot the
worker imports it into the file once (unless the file already exists) and
removes it from the entry.
CLI flags
| Flag | Default | Description |
|---|---|---|
--config <path> |
./config.yaml |
Path to the first-registration YAML seed/fallback |
--url <ws://…> |
ws://127.0.0.1:49134 |
iii engine WebSocket URL (DEFAULT_ENGINE_URL in src/config.rs) |
--http-host <address> |
from seed | Overrides the YAML bind address; applied at startup |
--http-port <port> |
from seed | Overrides the YAML port seed; an existing configuration-worker value still wins |
--manifest |
— | Print the publish manifest as JSON and exit (used by the registry pipeline) |
Routes
| Path | Behavior |
|---|---|
GET / |
Embedded index.html (SPA shell, hash-routed client-side). Cache-Control: no-cache, must-revalidate |
GET /assets/* |
Embedded JS / CSS, content-hashed filenames. Cache-Control: public, max-age=31536000, immutable |
GET /runtime |
Runtime settings for the SPA: the ADE worker namespace and the usage reporting settings. Cache-Control: no-store |
GET /ui |
Injected-asset manifest JSON (same shape as ade::ui-manifest). no-cache |
GET /ui/* |
Current bytes for a registered injected UI asset. no-cache + ETag: "<hash>" (304 on If-None-Match) |
GET /vendor/* |
Shared-dep ESM shims for injected scripts (react, @iii-dev/console-ui), generated at web build time. no-cache |
GET /ws (Upgrade) |
WebSocket upgrade; transparent proxy to engine_url (drops a browser registerfunction of the console's own observable functions — ade::ui::*, ade::workspace::on-changed, ade::compose::on-changed — strips private, args_format and observable from browser registrations, and stamps metadata.internal on registerfunction) |
| anything else | 404 Not Found |
The SPA bundle is embedded into the binary at compile time via rust-embed — the released ade has no separate dist/ directory, no side-car asset server, and no runtime filesystem dependency for the UI.
Anonymous usage reporting
The console sends anonymous product events from the browser to PostHog. It sends these events:
$pageview, when the screens of the active workspace change. It carries the screen kinds, for examplechatandtraces.ade_usage, a batched report. It carries the last 25 command palette commands and, for each screen kind, how many times it opened and how long it was visible. A visit reports at 15, 30, 45 and 60 minutes, then one time each hour, and one time when the page closes. Right after setup completes on a device, the reports go at 30 seconds, 1, 5, 30 and 60 minutes, then one time each hour. Each report carries only the data since the report before it. An empty report is not sent.
The setup wizard steps do not use this path. The browser publishes them on
the onboarding:steps:complete topic, and the engine sends them as
onboarding_step events.
The events carry no text that a user wrote. A palette command that can hold a
file path, a chat or a function id is reported by its kind only, and a chat
screen is reported as chat. URLs are sent without their hash or query
string, and the referrer is not sent. Session replay masks all text and inputs
and blocks images and other media. An exception is sent with its error type and
stack frames only, not its message. Autocapture, rage clicks, dead clicks
and surveys are off. Heatmaps, web vitals and exceptions are on.
The engine decides whether the console reports. On each page load the
console calls the engine function iii-telemetry::settings, which returns the
result of the engine's own opt-out check and the engine's device id, PostHog
key and host. So the console reports only when the engine reports, and its
events join the same PostHog person as the engine and harness events.
To stop the reports, turn off the engine's telemetry: set
III_TELEMETRY_ENABLED=false in the engine's environment, or set
enabled: false on the engine's telemetry worker. The engine also stops in a
CI environment, with III_TELEMETRY_DEV=true, or when
~/.iii/telemetry_dev_optout exists.
An engine that does not have iii-telemetry::settings gets a local check
instead: the ADE worker reads the same environment variables and files in its
own process, and its device id from ~/.iii/telemetry.yaml. This check cannot
see the engine's config, and POSTHOG_PROJECT_API_KEY (or POSTHOG_API_KEY)
and POSTHOG_HOST in the ADE worker's environment change the PostHog project and
host.
Injectable UI
Workers extend the console at runtime — whole pages, function-call
renderers, and layered observer-activity renderers as plain React
components sharing the console's React instance
(spec: iii/tech-specs/2026-07-17-injectable-ui). A worker ships one asset
by observing ade::ui::asset with args { kind, path }:
kind |
Carries |
|---|---|
script |
an ESM script asset; path (e.g. state/page.js) is its identity — a later observer of the same path overrides it (hot reload) |
module |
an ESM module served at /ui/<path> like a script (.js, same cap and per-worker toggle) but never imported at mount: a script loads it with host.importModule(path) (the ide's xterm terminal). Manifest and pushes carry it as kind module |
style |
a CSS asset, applied as a <link> swap |
The observer's target is the worker's content function
({path} → {content, content_type?}); once the observer is active the ADE worker
calls ade::ui::asset for that observer alone, whose deliver hook calls
the content function through the observer, then hashes the bytes, serves them
from /ui/*, and
calls ade::ui::on-assets-changed, which every open tab observes, so each
tab disposes the old module and re-imports the new one. Injected scripts default-
export setup(host) and register through host.pages (whole pages, opened
through host.panels.open or ade::workspace::open; built-in screens open through host.panels.openScreen (below); #/worker/<scope>/<id>
renders one alone), host.functionCalls (function-call message renderers —
injected renderers dispatch before the built-in families, so matching a
built-in id overrides it; metadata.display promotes the winning renderer's
rich result into the collapsed chat flow), host.observerRenderers (override
the compact timeline display, expanded details, source section, and raw-data
redaction for the normalized activities of a function's observers — observed,
fired, retired — with host fallbacks for every slot), and
host.configForms (provide the deliberate form body for one configuration id
inside global Settings; dirty/save/reset and schema validation stay
host-owned), and host.mentions (draw the hover preview of the worker's own
@<provider>(id=…) chat mentions; the generic card covers a renderer that
is absent or throws). There is no generic schema-generated form fallback. A
configuration form can opt into { layout: 'full' } to receive the entire
available editor width and height; contained layout remains the default.
Renders are fenced by an ErrorBoundary and scoped under
data-iii-ui="<worker>". ade::ui-manifest (internal) lists the
loadable assets. The state worker's ui/ directory is the broad delivery
reference; cron/ui/ is the observer-activity renderer reference.
Tech stack
| Layer | Choice |
|---|---|
| Web server | axum 0.7, tokio, tokio-tungstenite |
| Asset embedding | rust-embed 8, mime_guess |
| Worker SDK | iii-sdk 0.26.0 |
| UI framework | React 19, Vite 8, TypeScript 6 |
| Styling | Tailwind CSS v4, Radix UI, class-variance-authority, lucide-react |
| Editor | Lexical 0.44 |
| Data fetching | TanStack Query 5 |
| Trace graphs | @xyflow/react 12 + dagre, TanStack Virtual |
| Markdown | react-markdown + remark-gfm, prism-react-renderer |
| Browser SDK | iii-browser-sdk 0.26.0 |
Build from source (contributors only)
cargo build runs pnpm install --frozen-lockfile && pnpm build inside web/ automatically when the web/dist/ bundle is missing or stale (Node + pnpm must be on PATH). To pre-build the bundle once and skip the embedded-asset rebuild loop:
cd web && pnpm install && pnpm build && cd ..
cargo build --releaseEscape hatches (see build.rs):
SKIP_WEB_BUILD=1— skip the JS build step entirely; the existingweb/dist/(if any) is embedded as-is. Useful in CI when the bundle was built in a previous stage.PNPM=/path/to/pnpm— override pnpm discovery.
Run the test suite:
cargo test # unit + manifest + e2e (e2e self-skips if `iii` isn't on PATH)
cd web && pnpm test # vitest
cd web && pnpm typecheck && pnpm lintLicense
Apache 2.0 — see LICENSE.
Skills
API reference (JSON)
{
"functions": [
{
"description": "Read one container's declaration for editing: worker, version, start_after, env_file, environment (credential-like literals masked), run script, and config_override as YAML.",
"metadata": {},
"name": "ade::compose::container",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"container": {
"type": "string"
},
"file": {
"description": "Compose file on the daemon host; defaults to the daemon project.",
"type": [
"string",
"null"
]
}
},
"required": [
"container"
],
"title": "ContainerInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"EnvVar": {
"properties": {
"key": {
"type": "string"
},
"secret": {
"type": "boolean"
},
"value": {
"description": "`None` when the value is a secret or empty.",
"type": [
"string",
"null"
]
}
},
"required": [
"key",
"secret"
],
"type": "object"
}
},
"properties": {
"config_override": {
"description": "The override as YAML text, as the page edits it.",
"type": [
"string",
"null"
]
},
"env_file": {
"items": {
"type": "string"
},
"type": "array"
},
"environment": {
"items": {
"$ref": "#/definitions/EnvVar"
},
"type": "array"
},
"name": {
"type": "string"
},
"run": {
"type": [
"string",
"null"
]
},
"start_after": {
"items": {
"type": "string"
},
"type": "array"
},
"version": {
"type": [
"string",
"null"
]
},
"worker": {
"type": "string"
}
},
"required": [
"env_file",
"environment",
"name",
"start_after",
"worker"
],
"title": "ContainerEntry",
"type": "object"
}
},
{
"description": "Change one container's worker path, run script, start_after, environment, or config_override. Merges with the declared entry (masked secrets keep their file values) and hands it to compose::add; returns the accepted compose operation.",
"metadata": {},
"name": "ade::compose::edit",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"EnvPatch": {
"properties": {
"set": {
"additionalProperties": {
"type": "string"
},
"default": {},
"type": "object"
},
"unset": {
"default": [],
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
"properties": {
"config_override": {
"description": "YAML text; empty removes the override.",
"type": [
"string",
"null"
]
},
"container": {
"type": "string"
},
"environment": {
"anyOf": [
{
"$ref": "#/definitions/EnvPatch"
},
{
"type": "null"
}
]
},
"file": {
"description": "Compose file on the daemon host; defaults to the daemon project.",
"type": [
"string",
"null"
]
},
"operation_id": {
"description": "Caller-selected id for following the compose operation.",
"type": [
"string",
"null"
]
},
"run": {
"description": "New `scripts.run`; an empty string removes it.",
"type": [
"string",
"null"
]
},
"start_after": {
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
},
"worker": {
"description": "New worker source, e.g. `path:///home/me/other-checkout/web`. The container keeps its name, so the directory name must match it.",
"type": [
"string",
"null"
]
}
},
"required": [
"container"
],
"title": "EditInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "What `compose::add` answers once it accepts an edit.",
"properties": {
"operation_id": {
"type": "string"
},
"requested": {
"format": "uint64",
"minimum": 0,
"type": "integer"
},
"status": {
"type": "string"
}
},
"required": [
"operation_id",
"requested",
"status"
],
"title": "EditAccepted",
"type": "object"
}
},
{
"description": "Inspect a directory on this host: its iii.worker.yaml, whether a relative run command is built, other git checkouts of the same worker, or the workers inside a plain folder.",
"metadata": {},
"name": "ade::compose::inspect",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"path": {
"description": "Absolute directory on the daemon host; `~/` expands to the home directory.",
"type": "string"
},
"run": {
"description": "The container's run command; a relative executable is checked for existence.",
"type": [
"string",
"null"
]
}
},
"required": [
"path"
],
"title": "InspectInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"Checkout": {
"properties": {
"branch": {
"type": [
"string",
"null"
]
},
"committed_at": {
"description": "Unix seconds of the checkout's HEAD commit.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"dirty": {
"description": "Tracked files differ from HEAD.",
"type": [
"boolean",
"null"
]
},
"path": {
"description": "This worker's directory inside the checkout.",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Manifest": {
"properties": {
"bin": {
"description": "`bin`: the binary a Rust worker builds.",
"type": [
"string",
"null"
]
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"description": {
"type": [
"string",
"null"
]
},
"language": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"start": {
"description": "`scripts.start`: how compose starts the worker when its entry has no `run`. Without either, the container cannot start.",
"type": [
"string",
"null"
]
}
},
"required": [
"dependencies",
"name",
"path"
],
"type": "object"
}
},
"properties": {
"checkouts": {
"items": {
"$ref": "#/definitions/Checkout"
},
"type": "array"
},
"exists": {
"type": "boolean"
},
"manifest": {
"anyOf": [
{
"$ref": "#/definitions/Manifest"
},
{
"type": "null"
}
]
},
"path": {
"type": "string"
},
"run_found": {
"description": "`Some(false)` when the run command is a relative executable missing here.",
"type": [
"boolean",
"null"
]
},
"workers": {
"description": "Workers directly inside a directory that is not itself a worker.",
"items": {
"$ref": "#/definitions/Manifest"
},
"type": "array"
}
},
"required": [
"checkouts",
"exists",
"path",
"workers"
],
"title": "Inspection",
"type": "object"
}
},
{
"description": "Called when the compose daemon writes state.json (kind: state) or the compose file changes (kind: file). Takes no args; filter on input.kind, input.file or input.namespace. The first observer starts the watch, the last one closes it.",
"metadata": {},
"name": "ade::compose::on-changed",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"ChangeKind": {
"enum": [
"state",
"file"
],
"type": "string"
}
},
"description": "The event `ade::compose::on-changed` is called with: what changed (`state`: the daemon wrote state.json; `file`: the compose file), in which project.",
"properties": {
"captured_at": {
"format": "uint64",
"minimum": 0,
"type": "integer"
},
"file": {
"type": "string"
},
"kind": {
"$ref": "#/definitions/ChangeKind"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"state_dir": {
"type": "string"
}
},
"required": [
"captured_at",
"file",
"kind",
"namespace",
"path",
"state_dir"
],
"title": "ChangedEvent",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"ChangeKind": {
"enum": [
"state",
"file"
],
"type": "string"
}
},
"description": "The event `ade::compose::on-changed` is called with: what changed (`state`: the daemon wrote state.json; `file`: the compose file), in which project.",
"properties": {
"captured_at": {
"format": "uint64",
"minimum": 0,
"type": "integer"
},
"file": {
"type": "string"
},
"kind": {
"$ref": "#/definitions/ChangeKind"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"state_dir": {
"type": "string"
}
},
"required": [
"captured_at",
"file",
"kind",
"namespace",
"path",
"state_dir"
],
"title": "ChangedEvent",
"type": "object"
}
},
{
"description": "Read the compose file as declared: namespace, engine endpoint, timeouts, and each container's source, version, start_after, environment keys and run script.",
"metadata": {},
"name": "ade::compose::project",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"file": {
"description": "Compose file on the daemon host; defaults to the daemon project.",
"type": [
"string",
"null"
]
}
},
"title": "ProjectInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"ContainerSource": {
"enum": [
"path",
"package",
"unknown"
],
"type": "string"
},
"DeclaredContainer": {
"properties": {
"environment": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"ref": {
"type": "string"
},
"run": {
"type": [
"string",
"null"
]
},
"source": {
"$ref": "#/definitions/ContainerSource"
},
"start_after": {
"items": {
"type": "string"
},
"type": "array"
},
"version": {
"type": [
"string",
"null"
]
}
},
"required": [
"environment",
"name",
"ref",
"source",
"start_after"
],
"type": "object"
}
},
"properties": {
"containers": {
"items": {
"$ref": "#/definitions/DeclaredContainer"
},
"type": "array"
},
"engine_host": {
"type": [
"string",
"null"
]
},
"engine_port": {
"format": "uint16",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"engine_url": {
"type": [
"string",
"null"
]
},
"file": {
"type": "string"
},
"namespace": {
"type": [
"string",
"null"
]
},
"startup_timeout": {
"type": [
"string",
"null"
]
},
"stop_timeout": {
"type": [
"string",
"null"
]
}
},
"required": [
"containers",
"file"
],
"title": "ProjectDeclaration",
"type": "object"
}
},
{
"description": "Search the worker registry by name for workers Compose can declare (engine workers are left out).",
"metadata": {},
"name": "ade::compose::search",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"query": {
"type": "string"
}
},
"required": [
"query"
],
"title": "SearchInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"RegistryWorker": {
"properties": {
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"dependencies",
"description",
"name",
"version"
],
"type": "object"
}
},
"properties": {
"workers": {
"items": {
"$ref": "#/definitions/RegistryWorker"
},
"type": "array"
}
},
"required": [
"workers"
],
"title": "SearchResult",
"type": "object"
}
},
{
"description": "List registry versions, newest first, with their release channels: of a declared package container, or of a worker name on the default registry.",
"metadata": {},
"name": "ade::compose::versions",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"container": {
"description": "A declared package container.",
"type": [
"string",
"null"
]
},
"file": {
"description": "Compose file on the daemon host; defaults to the daemon project.",
"type": [
"string",
"null"
]
},
"name": {
"description": "Or a worker name on the default registry, for one not declared yet.",
"type": [
"string",
"null"
]
}
},
"title": "VersionsInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"PackageVersion": {
"properties": {
"created_at": {
"type": [
"string",
"null"
]
},
"tags": {
"description": "Release channels pointing at this version, such as `latest` or `next`.",
"items": {
"type": "string"
},
"type": "array"
},
"version": {
"type": "string"
}
},
"required": [
"tags",
"version"
],
"type": "object"
}
},
"properties": {
"container": {
"type": "string"
},
"declared": {
"description": "The selector the compose file declares: an exact version or a channel.",
"type": [
"string",
"null"
]
},
"reference": {
"type": "string"
},
"versions": {
"description": "Newest first, as the registry lists them.",
"items": {
"$ref": "#/definitions/PackageVersion"
},
"type": "array"
}
},
"required": [
"container",
"reference",
"versions"
],
"title": "VersionsResult",
"type": "object"
}
},
{
"description": "Returns this worker instance's effective configuration entry ID, without its value.",
"metadata": {
"internal": true
},
"name": "ade::configuration-id",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Empty user request. Ignore transport metadata such as `_caller_worker_id`, which the engine adds to routed calls; no payload field selects the entry.",
"title": "ConfigurationIdentityRequest",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Only the entry ID is exposed; configuration values and secrets stay in the service.",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"title": "ConfigurationIdentityResponse",
"type": "object"
}
},
{
"description": "Internal: explain chat-owned Context tracking and expose existing ids to the agent.",
"metadata": {
"internal": true
},
"name": "ade::context::inject-guidance",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"Generation": {
"properties": {
"system_prompt": {
"type": "string"
},
"tools": {
"items": {
"$ref": "#/definitions/Tool"
},
"type": "array"
}
},
"required": [
"system_prompt"
],
"type": "object"
},
"Tool": {
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"properties": {
"generate": {
"$ref": "#/definitions/Generation"
},
"session_id": {
"type": "string"
}
},
"required": [
"generate",
"session_id"
],
"title": "GuidanceEvent",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"GuidanceMutations": {
"properties": {
"system_prompt": {
"type": [
"string",
"null"
]
}
},
"type": "object"
}
},
"properties": {
"mutations": {
"$ref": "#/definitions/GuidanceMutations"
}
},
"required": [
"mutations"
],
"title": "GuidanceResponse",
"type": "object"
}
},
{
"description": "List saved Context sidebar tracking snapshots visible to a conversation, including its project tracking. Use ids to edit or remove existing items.",
"metadata": {},
"name": "ade::context::list",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"session_id": {
"type": "string"
}
},
"required": [
"session_id"
],
"title": "ListInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"ChecklistItem": {
"additionalProperties": false,
"properties": {
"done": {
"type": "boolean"
},
"label": {
"type": "string"
}
},
"required": [
"done",
"label"
],
"type": "object"
},
"Scope": {
"enum": [
"conversation",
"project"
],
"type": "string"
},
"Source": {
"additionalProperties": false,
"properties": {
"label": {
"type": "string"
},
"url": {
"default": null,
"type": [
"string",
"null"
]
}
},
"required": [
"label"
],
"type": "object"
},
"Tracking": {
"properties": {
"id": {
"type": "string"
},
"items": {
"default": [],
"items": {
"$ref": "#/definitions/ChecklistItem"
},
"type": "array"
},
"owner": {
"description": "Session id for conversation scope; canonical directory for project scope.",
"type": "string"
},
"progress": {
"default": null,
"format": "double",
"type": [
"number",
"null"
]
},
"scope": {
"$ref": "#/definitions/Scope"
},
"source": {
"anyOf": [
{
"$ref": "#/definitions/Source"
},
{
"type": "null"
}
],
"default": null
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
},
"updated_at": {
"format": "uint64",
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"owner",
"scope",
"summary",
"title",
"updated_at"
],
"type": "object"
}
},
"properties": {
"items": {
"items": {
"$ref": "#/definitions/Tracking"
},
"type": "array"
}
},
"required": [
"items"
],
"title": "ListOutput",
"type": "object"
}
},
{
"description": "Remove a saved Context sidebar tracking item by id when the user asks. Limited to items visible in this conversation or its project. Harness stamps session_id.",
"metadata": {},
"name": "ade::context::remove",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string"
},
"session_id": {
"type": "string"
}
},
"required": [
"id",
"session_id"
],
"title": "RemoveInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"removed": {
"type": "boolean"
}
},
"required": [
"removed"
],
"title": "RemoveOutput",
"type": "object"
}
},
{
"description": "Create or replace a user-requested Context sidebar snapshot (title, summary, progress, checklist, source). Default conversation scope; project requires explicit user request. Omit id to create; same id edits or moves scope. No background monitoring. Harness stamps session_id.",
"metadata": {},
"name": "ade::context::save",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"ChecklistItem": {
"additionalProperties": false,
"properties": {
"done": {
"type": "boolean"
},
"label": {
"type": "string"
}
},
"required": [
"done",
"label"
],
"type": "object"
},
"Scope": {
"enum": [
"conversation",
"project"
],
"type": "string"
},
"Snapshot": {
"additionalProperties": false,
"properties": {
"items": {
"default": [],
"items": {
"$ref": "#/definitions/ChecklistItem"
},
"type": "array"
},
"progress": {
"default": null,
"format": "double",
"type": [
"number",
"null"
]
},
"source": {
"anyOf": [
{
"$ref": "#/definitions/Source"
},
{
"type": "null"
}
],
"default": null
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"summary",
"title"
],
"type": "object"
},
"Source": {
"additionalProperties": false,
"properties": {
"label": {
"type": "string"
},
"url": {
"default": null,
"type": [
"string",
"null"
]
}
},
"required": [
"label"
],
"type": "object"
}
},
"properties": {
"id": {
"default": null,
"description": "Omit to create; supply an existing visible id to replace or move it.",
"type": [
"string",
"null"
]
},
"scope": {
"allOf": [
{
"$ref": "#/definitions/Scope"
}
],
"default": "conversation"
},
"session_id": {
"type": "string"
},
"snapshot": {
"$ref": "#/definitions/Snapshot"
}
},
"required": [
"session_id",
"snapshot"
],
"title": "SaveInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"ChecklistItem": {
"additionalProperties": false,
"properties": {
"done": {
"type": "boolean"
},
"label": {
"type": "string"
}
},
"required": [
"done",
"label"
],
"type": "object"
},
"Scope": {
"enum": [
"conversation",
"project"
],
"type": "string"
},
"Source": {
"additionalProperties": false,
"properties": {
"label": {
"type": "string"
},
"url": {
"default": null,
"type": [
"string",
"null"
]
}
},
"required": [
"label"
],
"type": "object"
}
},
"properties": {
"id": {
"type": "string"
},
"items": {
"default": [],
"items": {
"$ref": "#/definitions/ChecklistItem"
},
"type": "array"
},
"owner": {
"description": "Session id for conversation scope; canonical directory for project scope.",
"type": "string"
},
"progress": {
"default": null,
"format": "double",
"type": [
"number",
"null"
]
},
"scope": {
"$ref": "#/definitions/Scope"
},
"source": {
"anyOf": [
{
"$ref": "#/definitions/Source"
},
{
"type": "null"
}
],
"default": null
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
},
"updated_at": {
"format": "uint64",
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"owner",
"scope",
"summary",
"title",
"updated_at"
],
"title": "Tracking",
"type": "object"
}
},
{
"description": "Find selectable Codex or Claude Code histories on the ADE host.",
"metadata": {
"internal": true
},
"name": "ade::conversations::discover",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"Source": {
"enum": [
"codex",
"claude-code"
],
"type": "string"
}
},
"properties": {
"cursor": {
"type": [
"string",
"null"
]
},
"query": {
"type": [
"string",
"null"
]
},
"source": {
"$ref": "#/definitions/Source"
}
},
"required": [
"source"
],
"title": "DiscoverRequest",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"ConversationSummary": {
"properties": {
"command_count": {
"description": "Tool calls that came back with a recorded result.",
"format": "uint",
"minimum": 0,
"type": "integer"
},
"created_at": {
"format": "int64",
"type": "integer"
},
"cwd": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"message_count": {
"description": "User and assistant turns that carry text: what the import calls messages.",
"format": "uint",
"minimum": 0,
"type": "integer"
},
"source": {
"$ref": "#/definitions/Source"
},
"title": {
"type": "string"
},
"updated_at": {
"format": "int64",
"type": "integer"
}
},
"required": [
"command_count",
"created_at",
"id",
"message_count",
"source",
"title",
"updated_at"
],
"type": "object"
},
"Source": {
"enum": [
"codex",
"claude-code"
],
"type": "string"
}
},
"properties": {
"available": {
"type": "boolean"
},
"conversations": {
"items": {
"$ref": "#/definitions/ConversationSummary"
},
"type": "array"
},
"directory": {
"type": "string"
},
"next_cursor": {
"type": [
"string",
"null"
]
},
"skipped": {
"description": "Histories on this page that were empty, unsupported, or unreadable.",
"format": "uint",
"minimum": 0,
"type": "integer"
},
"source": {
"$ref": "#/definitions/Source"
},
"warnings": {
"description": "Real problems with the listing; empty on a clean read.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"available",
"conversations",
"directory",
"skipped",
"source",
"warnings"
],
"title": "Catalog",
"type": "object"
}
},
{
"description": "Create a new editable ADE conversation from a local history, commands included.",
"metadata": {
"internal": true
},
"name": "ade::conversations::import",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"Source": {
"enum": [
"codex",
"claude-code"
],
"type": "string"
}
},
"properties": {
"id": {
"type": "string"
},
"source": {
"$ref": "#/definitions/Source"
}
},
"required": [
"id",
"source"
],
"title": "Selection",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"imported_commands": {
"description": "Tool calls that came across with their recorded results.",
"format": "uint",
"minimum": 0,
"type": "integer"
},
"imported_messages": {
"description": "Every entry appended to the new session: turns, calls, and results.",
"format": "uint",
"minimum": 0,
"type": "integer"
},
"session_id": {
"type": "string"
},
"total_messages": {
"description": "User and assistant turns that carried text.",
"format": "uint",
"minimum": 0,
"type": "integer"
}
},
"required": [
"imported_commands",
"imported_messages",
"session_id",
"total_messages"
],
"title": "ImportResult",
"type": "object"
}
},
{
"description": "Preview a selected local conversation without importing or running it.",
"metadata": {
"internal": true
},
"name": "ade::conversations::preview",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"Source": {
"enum": [
"codex",
"claude-code"
],
"type": "string"
}
},
"properties": {
"id": {
"type": "string"
},
"source": {
"$ref": "#/definitions/Source"
}
},
"required": [
"id",
"source"
],
"title": "Selection",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"ConversationSummary": {
"properties": {
"command_count": {
"description": "Tool calls that came back with a recorded result.",
"format": "uint",
"minimum": 0,
"type": "integer"
},
"created_at": {
"format": "int64",
"type": "integer"
},
"cwd": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"message_count": {
"description": "User and assistant turns that carry text: what the import calls messages.",
"format": "uint",
"minimum": 0,
"type": "integer"
},
"source": {
"$ref": "#/definitions/Source"
},
"title": {
"type": "string"
},
"updated_at": {
"format": "int64",
"type": "integer"
}
},
"required": [
"command_count",
"created_at",
"id",
"message_count",
"source",
"title",
"updated_at"
],
"type": "object"
},
"ExternalCall": {
"description": "A tool the source's agent called during a turn, as the source recorded it.",
"properties": {
"arguments": {
"description": "The recorded arguments, verbatim."
},
"function_id": {
"description": "The source's own tool name (`Bash`, `Read`, `exec`, `apply_patch`, `server::tool`).",
"type": "string"
},
"id": {
"description": "The source's own call identity; the matching result echoes it.",
"type": "string"
}
},
"required": [
"arguments",
"function_id",
"id"
],
"type": "object"
},
"ExternalMessage": {
"properties": {
"call_id": {
"description": "On a `function_result`: the call it answers and the tool that ran.",
"type": [
"string",
"null"
]
},
"calls": {
"description": "The calls an assistant turn made, in order; empty for every other role.",
"items": {
"$ref": "#/definitions/ExternalCall"
},
"type": "array"
},
"function_id": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"is_error": {
"description": "On a `function_result`: whether the source recorded the call as failed.",
"type": "boolean"
},
"model": {
"type": [
"string",
"null"
]
},
"native_stop_reason": {
"type": [
"string",
"null"
]
},
"provider": {
"type": [
"string",
"null"
]
},
"role": {
"description": "`user`, `assistant`, or `function_result`.",
"type": "string"
},
"text": {
"type": "string"
},
"timestamp": {
"format": "int64",
"type": "integer"
}
},
"required": [
"calls",
"id",
"is_error",
"role",
"text",
"timestamp"
],
"type": "object"
},
"Source": {
"enum": [
"codex",
"claude-code"
],
"type": "string"
}
},
"properties": {
"conversation": {
"$ref": "#/definitions/ConversationSummary"
},
"messages": {
"description": "The latest entries of the history, at most `PREVIEW_LIMIT`.",
"items": {
"$ref": "#/definitions/ExternalMessage"
},
"type": "array"
},
"truncated": {
"description": "Whether older entries were left out of `messages`; the import still carries them.",
"type": "boolean"
},
"warnings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"conversation",
"messages",
"truncated",
"warnings"
],
"title": "Preview",
"type": "object"
}
},
{
"description": "Resolve a @trace(id=…) chat mention to its pill, preview card and agent summary; null for an unknown trace. Declares the trace mention provider.",
"metadata": {
"internal": true,
"mention": {
"color": "teal",
"description": "An engine trace, by trace id; its span tree reads through engine::traces::tree",
"details": {
"function_id": "engine::traces::tree",
"id_field": "trace_id"
},
"icon": "trace",
"label": "Traces",
"name": "trace",
"search": "ade::mentions::trace::search",
"v": 1
},
"trace_hidden": true
},
"name": "ade::mentions::trace::get",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Input of a provider's get function.",
"properties": {
"id": {
"description": "The id from the token.",
"type": "string"
}
},
"required": [
"id"
],
"title": "MentionGetRequest",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"anyOf": [
{
"$ref": "#/definitions/MentionView"
},
{
"type": "null"
}
],
"definitions": {
"MentionField": {
"description": "One labelled value of a preview card.",
"properties": {
"label": {
"type": "string"
},
"tone": {
"description": "`neutral`, `info`, `success`, `warning` or `danger`.",
"type": [
"string",
"null"
]
},
"value": {
"type": "string"
}
},
"required": [
"label",
"value"
],
"type": "object"
},
"MentionOpen": {
"anyOf": [
{
"properties": {
"context": true,
"page": {
"description": "Console page id (as registered with `host.pages`).",
"type": "string"
}
},
"required": [
"page"
],
"type": "object"
},
{
"properties": {
"session": {
"description": "Session id to select.",
"type": "string"
}
},
"required": [
"session"
],
"type": "object"
},
{
"properties": {
"url": {
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}
],
"description": "What clicking a mention opens: an injected console page, a chat session, or an http(s) URL."
},
"MentionView": {
"description": "What a chat surface renders for one mention, and what an agent reads. A get function answers `null` for an id it does not know.",
"properties": {
"color": {
"type": [
"string",
"null"
]
},
"data": {
"description": "The domain object, for a worker's own preview renderer."
},
"description": {
"type": [
"string",
"null"
]
},
"fields": {
"description": "Labelled values for the preview card (status, assignee, …).",
"items": {
"$ref": "#/definitions/MentionField"
},
"type": "array"
},
"hint": {
"type": [
"string",
"null"
]
},
"icon": {
"type": [
"string",
"null"
]
},
"id": {
"description": "The canonical id (may differ from the one asked for, e.g. a key resolved to a uuid).",
"type": "string"
},
"label": {
"type": "string"
},
"open": {
"anyOf": [
{
"$ref": "#/definitions/MentionOpen"
},
{
"type": "null"
}
],
"description": "What clicking the mention opens."
},
"summary": {
"description": "One line for an agent: what the item is and its state. Defaults to the label, hint, description and fields.",
"type": [
"string",
"null"
]
},
"updated_at": {
"description": "RFC 3339 time of the item's last change.",
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"label"
],
"type": "object"
}
},
"title": "Nullable_MentionView"
}
},
{
"description": "Search recent engine traces for the chat @trace mention menu, by span name or trace id; newest first.",
"metadata": {
"internal": true,
"trace_hidden": true
},
"name": "ade::mentions::trace::search",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"MentionSearchContext": {
"description": "The chat a search was asked from.",
"properties": {
"session_id": {
"type": [
"string",
"null"
]
},
"working_dir": {
"type": [
"string",
"null"
]
}
},
"type": "object"
}
},
"description": "Input of a provider's search function.",
"properties": {
"context": {
"anyOf": [
{
"$ref": "#/definitions/MentionSearchContext"
},
{
"type": "null"
}
],
"description": "Where the search was asked from, for providers that rank by it."
},
"limit": {
"description": "Maximum rows (default 8, at most 50).",
"format": "uint",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"query": {
"default": "",
"description": "What the user typed after `@<name>:`. Empty asks for the most relevant recent items.",
"type": "string"
}
},
"title": "MentionSearchRequest",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"MentionItem": {
"description": "One search row.",
"properties": {
"color": {
"description": "Overrides the provider's color for this row.",
"type": [
"string",
"null"
]
},
"description": {
"description": "One line after the label (\"in progress · high\").",
"type": [
"string",
"null"
]
},
"hint": {
"description": "A short human handle shown before the label (\"KAN-12\").",
"type": [
"string",
"null"
]
},
"icon": {
"description": "Overrides the provider's icon for this row.",
"type": [
"string",
"null"
]
},
"id": {
"description": "The id written into the token; stable for the item's lifetime.",
"type": "string"
},
"label": {
"description": "The item's name (\"Fix login redirect\").",
"type": "string"
}
},
"required": [
"id",
"label"
],
"type": "object"
}
},
"description": "Output of a provider's search function, best match first.",
"properties": {
"items": {
"items": {
"$ref": "#/definitions/MentionItem"
},
"type": "array"
}
},
"required": [
"items"
],
"title": "MentionSearchResponse",
"type": "object"
}
},
{
"description": "Internal: re-apply the ADE HTTP port, data directory and injectable-UI \\\n toggles when its configuration entry changes.",
"metadata": {
"internal": true
},
"name": "ade::on-config-change",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ConfigChangeRequest",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"ok": {
"type": "boolean"
}
},
"required": [
"ok"
],
"title": "ConfigChangeAck",
"type": "object"
}
},
{
"description": "Read whether the ADE setup wizard was finished or dismissed on this machine, and whether it may open by itself here.",
"metadata": {
"internal": true
},
"name": "ade::onboarding::get",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "GetInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"OnboardingStatus": {
"description": "The wizard's lifecycle on this machine.",
"oneOf": [
{
"enum": [
"dismissed",
"completed"
],
"type": "string"
},
{
"description": "Never finished nor dismissed: the wizard opens on first load.",
"enum": [
"new"
],
"type": "string"
}
]
}
},
"properties": {
"auto_open": {
"description": "Whether the wizard may open by itself on this ADE: `false` when the configuration's `onboarding.auto_open` or `III_CONSOLE_ONBOARDING_AUTO_OPEN` says so, or when the configuration could not be read. Opening it from the command palette is never affected.",
"type": "boolean"
},
"completed_at": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"status": {
"allOf": [
{
"$ref": "#/definitions/OnboardingStatus"
}
],
"default": "new"
},
"summary": {
"description": "What the wizard set up, for the summary it shows when reopened."
},
"updated_at": {
"default": 0,
"description": "Milliseconds since the epoch of the last write; 0 when never written.",
"format": "int64",
"type": "integer"
}
},
"required": [
"auto_open"
],
"title": "GetOutput",
"type": "object"
}
},
{
"description": "Read the project's onboarding.yaml for the ADE setup wizard: the example prompts its last step offers (each one's text, agent profile and model priority list) and the registry kits it installs in the background when it opens. Both lists are empty when the file is missing or invalid.",
"metadata": {
"internal": true
},
"name": "ade::onboarding::prompts",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "PromptsInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"ExamplePrompt": {
"description": "An example prompt, as the wizard shows it.",
"properties": {
"agent": {
"description": "Agent profile id the new chat selects.",
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"models": {
"description": "Model priority list: the first one this machine has wins.",
"items": {
"$ref": "#/definitions/PromptModel"
},
"type": "array"
},
"prompt": {
"description": "The text prefilled in the composer; the user sends it.",
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"agent",
"models",
"prompt",
"title"
],
"type": "object"
},
"PromptModel": {
"description": "One entry of a prompt's model priority list.",
"properties": {
"effort": {
"description": "An ADE thinking level; absent keeps the chat's default.",
"type": [
"string",
"null"
]
},
"model": {
"description": "The model id, bare or as the provider lists it (`claude-code/claude-sonnet-5-5`).",
"type": "string"
},
"provider": {
"description": "Router provider id (`claude-code`, `anthropic`).",
"type": "string"
}
},
"required": [
"model",
"provider"
],
"type": "object"
}
},
"properties": {
"kits": {
"description": "Registry kits the wizard installs in the background when it opens (`<handle>/<name>`, optionally `@<version>`), in file order.",
"items": {
"type": "string"
},
"type": "array"
},
"prompts": {
"items": {
"$ref": "#/definitions/ExamplePrompt"
},
"type": "array"
}
},
"required": [
"kits",
"prompts"
],
"title": "PromptsOutput",
"type": "object"
}
},
{
"description": "Look for the Codex and Claude Code CLIs on the ADE host and whether each is signed in, for the setup wizard. Reports presence and paths only, never credentials.",
"metadata": {
"internal": true
},
"name": "ade::onboarding::scan",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ScanInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"ToolScan": {
"properties": {
"binary_path": {
"type": [
"string",
"null"
]
},
"credentials_path": {
"description": "Where that sign-in lives, `~`-abbreviated (`~/.codex/auth.json`, `macOS Keychain`). Set whenever the file exists, signed in or not.",
"type": [
"string",
"null"
]
},
"id": {
"description": "`claude-code` or `codex`.",
"type": "string"
},
"installed": {
"description": "The CLI was found on this host.",
"type": "boolean"
},
"name": {
"type": "string"
},
"provider_worker": {
"description": "Registry worker that serves models from this sign-in.",
"type": "string"
},
"sign_in_note": {
"description": "Why a credentials file that exists does not count as signed in.",
"type": [
"string",
"null"
]
},
"signed_in": {
"description": "A sign-in the matching provider worker can use exists on this host.",
"type": "boolean"
},
"version": {
"description": "First line of `<cli> --version`, when it answered in time.",
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"installed",
"name",
"provider_worker",
"signed_in"
],
"type": "object"
}
},
"properties": {
"tools": {
"items": {
"$ref": "#/definitions/ToolScan"
},
"type": "array"
}
},
"required": [
"tools"
],
"title": "ScanOutput",
"type": "object"
}
},
{
"description": "Record that the ADE setup wizard was finished, dismissed, or reset.",
"metadata": {
"internal": true
},
"name": "ade::onboarding::set",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"OnboardingStatus": {
"description": "The wizard's lifecycle on this machine.",
"oneOf": [
{
"enum": [
"dismissed",
"completed"
],
"type": "string"
},
{
"description": "Never finished nor dismissed: the wizard opens on first load.",
"enum": [
"new"
],
"type": "string"
}
]
}
},
"properties": {
"status": {
"$ref": "#/definitions/OnboardingStatus"
},
"summary": {
"default": null,
"description": "Replaces the stored summary when present."
}
},
"required": [
"status"
],
"title": "SetInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"OnboardingStatus": {
"description": "The wizard's lifecycle on this machine.",
"oneOf": [
{
"enum": [
"dismissed",
"completed"
],
"type": "string"
},
{
"description": "Never finished nor dismissed: the wizard opens on first load.",
"enum": [
"new"
],
"type": "string"
}
]
}
},
"properties": {
"completed_at": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"status": {
"allOf": [
{
"$ref": "#/definitions/OnboardingStatus"
}
],
"default": "new"
},
"summary": {
"description": "What the wizard set up, for the summary it shows when reopened."
},
"updated_at": {
"default": 0,
"description": "Milliseconds since the epoch of the last write; 0 when never written.",
"format": "int64",
"type": "integer"
}
},
"title": "OnboardingState",
"type": "object"
}
},
{
"description": "Where this project's ADE listens: url (the base URL to open from this machine, for example http://127.0.0.1:3113; a worker page is <url>/#/worker/<scope>/<page-id>), http_port, engine_url, and version. Read-only; use it instead of assuming port 3113.",
"metadata": {},
"name": "ade::status",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "StatusInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"engine_url": {
"description": "iii engine WebSocket URL the worker is proxying to.",
"type": "string"
},
"http_port": {
"description": "TCP port the worker is serving the UI and `/ws` on.",
"format": "uint16",
"minimum": 0,
"type": "integer"
},
"url": {
"description": "Base URL to open the UI from this machine (e.g. `http://127.0.0.1:3113`), from the bound host and the live port.",
"type": "string"
},
"version": {
"description": "Worker version (matches `Cargo.toml`).",
"type": "string"
}
},
"required": [
"engine_url",
"http_port",
"url",
"version"
],
"title": "StatusOutput",
"type": "object"
}
},
{
"description": "Add an email address to the iii product-update list.",
"metadata": {
"internal": true
},
"name": "ade::subscribe",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"email": {
"type": "string"
},
"source": {
"default": null,
"description": "Where the address was captured, reported with it. Defaults to `console`.",
"type": [
"string",
"null"
]
}
},
"required": [
"email"
],
"title": "SubscribeInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"subscribed": {
"type": "boolean"
}
},
"required": [
"subscribed"
],
"title": "SubscribeOutput",
"type": "object"
}
},
{
"description": "Serve the console worker's injected console UI assets (the target of its ade::ui::asset observers; the console calls it through each asset's observer with {path}).",
"metadata": {
"internal": true
},
"name": "ade::ui-content",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Input of the content function: the console asks for one asset by path.",
"properties": {
"path": {
"description": "The asset path from the observer's args (e.g. `state/page.js`).",
"type": "string"
}
},
"required": [
"path"
],
"title": "UiContentInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Output of the content function.",
"properties": {
"content": {
"description": "The asset source, verbatim.",
"type": "string"
},
"content_type": {
"description": "MIME type the console should serve the asset with.",
"type": "string"
}
},
"required": [
"content",
"content_type"
],
"title": "UiContentResult",
"type": "object"
}
},
{
"description": "List the injected console UI assets currently loadable: path, kind (script/style), content hash, and style-lint warnings.",
"metadata": {
"internal": true
},
"name": "ade::ui-manifest",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "UiManifestInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"AssetKind": {
"description": "Asset kind, as it travels in the observer's args, the events and the manifest.",
"enum": [
"script",
"style",
"module"
],
"type": "string"
},
"ManifestAsset": {
"properties": {
"hash": {
"type": "string"
},
"kind": {
"$ref": "#/definitions/AssetKind"
},
"path": {
"type": "string"
},
"warnings": {
"items": {
"type": "string"
},
"type": "array"
},
"worker": {
"description": "Best-effort registrant attribution. Not resolved in this build — always `null` (the `<worker>/` path prefix is the human-readable attribution).",
"type": [
"string",
"null"
]
}
},
"required": [
"hash",
"kind",
"path",
"warnings"
],
"type": "object"
},
"ManifestWorker": {
"description": "Per-worker summary in the manifest: every worker with at least one *registered* asset — including workers currently toggled off, whose assets are held but not served/announced.",
"properties": {
"assets": {
"description": "Number of registered assets (served only while enabled).",
"format": "uint",
"minimum": 0,
"type": "integer"
},
"enabled": {
"description": "`false` while the worker is in the console configuration's `injectableUi.disabledWorkers` list.",
"type": "boolean"
},
"worker": {
"description": "Worker name — the first segment of its asset paths.",
"type": "string"
}
},
"required": [
"assets",
"enabled",
"worker"
],
"type": "object"
}
},
"properties": {
"assets": {
"description": "The loadable set: assets of per-worker-disabled workers are held but excluded here (and from tab syncs) until re-enabled.",
"items": {
"$ref": "#/definitions/ManifestAsset"
},
"type": "array"
},
"disabled": {
"description": "`true` when the `injectable_ui` kill switch is off — the `ade::ui::*` functions are not hosted and `/ui` + `/vendor` are not served.",
"type": "boolean"
},
"workers": {
"description": "Per-worker summary — includes disabled workers (their toggle state lives in the console configuration's `injectableUi.disabledWorkers`).",
"items": {
"$ref": "#/definitions/ManifestWorker"
},
"type": "array"
}
},
"required": [
"assets",
"disabled",
"workers"
],
"title": "UiManifestOutput",
"type": "object"
}
},
{
"description": "A worker's injected console UI asset. Observe it once per asset with args { kind: 'script' | 'style' | 'module', path } and the worker's content function as the target. Once the observer is active, the ADE worker calls this function with { path } for that observer alone, and the target receives { path } and answers { content, content_type? }, which the ADE worker serves. A later observer of the same path supersedes the earlier one (UI_ASSET_SUPERSEDED); a failed fetch rejects the observer (UI_ASSET_FETCH_FAILED). An observer announced again after its worker reattached is fetched again.",
"metadata": {},
"name": "ade::ui::asset",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "What the console calls `ade::ui::asset` with, and what its deliver hook sends the asset observer's target.",
"properties": {
"path": {
"description": "The asset's path, as the observer's args name it.",
"type": "string"
}
},
"required": [
"path"
],
"title": "ContentRequest",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "What the console calls `ade::ui::asset` with, and what its deliver hook sends the asset observer's target.",
"properties": {
"path": {
"description": "The asset's path, as the observer's args name it.",
"type": "string"
}
},
"required": [
"path"
],
"title": "ContentRequest",
"type": "object"
}
},
{
"description": "Called on every change to the console's injected UI assets: { op: 'set', asset: { path, kind, hash } } or { op: 'delete', path }. Each new observer also gets one call of its own once it is active (metadata for_observer): { op: 'sync', assets }, the whole served set.",
"metadata": {},
"name": "ade::ui::on-assets-changed",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"AssetKind": {
"description": "Asset kind, as it travels in the observer's args, the events and the manifest.",
"enum": [
"script",
"style",
"module"
],
"type": "string"
},
"AssetRef": {
"description": "One served asset, as the events name it.",
"properties": {
"hash": {
"description": "First 16 hex chars of sha256(content).",
"type": "string"
},
"kind": {
"$ref": "#/definitions/AssetKind"
},
"path": {
"type": "string"
}
},
"required": [
"hash",
"kind",
"path"
],
"type": "object"
}
},
"description": "The event `ade::ui::on-assets-changed` is called with, and what its observers receive.",
"oneOf": [
{
"description": "The whole served set, in a call for one new observer.",
"properties": {
"assets": {
"items": {
"$ref": "#/definitions/AssetRef"
},
"type": "array"
},
"op": {
"enum": [
"sync"
],
"type": "string"
}
},
"required": [
"assets",
"op"
],
"type": "object"
},
{
"description": "An asset was added, or its content changed.",
"properties": {
"asset": {
"$ref": "#/definitions/AssetRef"
},
"op": {
"enum": [
"set"
],
"type": "string"
}
},
"required": [
"asset",
"op"
],
"type": "object"
},
{
"description": "An asset is no longer served.",
"properties": {
"op": {
"enum": [
"delete"
],
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"op",
"path"
],
"type": "object"
}
],
"title": "UiAssetsEvent"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"AssetKind": {
"description": "Asset kind, as it travels in the observer's args, the events and the manifest.",
"enum": [
"script",
"style",
"module"
],
"type": "string"
},
"AssetRef": {
"description": "One served asset, as the events name it.",
"properties": {
"hash": {
"description": "First 16 hex chars of sha256(content).",
"type": "string"
},
"kind": {
"$ref": "#/definitions/AssetKind"
},
"path": {
"type": "string"
}
},
"required": [
"hash",
"kind",
"path"
],
"type": "object"
}
},
"description": "The event `ade::ui::on-assets-changed` is called with, and what its observers receive.",
"oneOf": [
{
"description": "The whole served set, in a call for one new observer.",
"properties": {
"assets": {
"items": {
"$ref": "#/definitions/AssetRef"
},
"type": "array"
},
"op": {
"enum": [
"sync"
],
"type": "string"
}
},
"required": [
"assets",
"op"
],
"type": "object"
},
{
"description": "An asset was added, or its content changed.",
"properties": {
"asset": {
"$ref": "#/definitions/AssetRef"
},
"op": {
"enum": [
"set"
],
"type": "string"
}
},
"required": [
"asset",
"op"
],
"type": "object"
},
{
"description": "An asset is no longer served.",
"properties": {
"op": {
"enum": [
"delete"
],
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"op",
"path"
],
"type": "object"
}
],
"title": "UiAssetsEvent"
}
},
{
"description": "Internal: append Console working-directory handoff guidance to Harness generations.",
"metadata": {
"internal": true
},
"name": "ade::working-directory::inject-guidance",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"WorkingDirectoryGenerateContext": {
"properties": {
"system_prompt": {
"default": "",
"type": "string"
},
"tools": {
"items": {
"$ref": "#/definitions/WorkingDirectoryTool"
},
"type": "array"
}
},
"type": "object"
},
"WorkingDirectoryTool": {
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"properties": {
"generate": {
"$ref": "#/definitions/WorkingDirectoryGenerateContext"
}
},
"title": "WorkingDirectoryGuidanceEvent",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"WorkingDirectoryGuidanceMutations": {
"properties": {
"system_prompt": {
"type": [
"string",
"null"
]
}
},
"type": "object"
}
},
"properties": {
"mutations": {
"$ref": "#/definitions/WorkingDirectoryGuidanceMutations"
}
},
"required": [
"mutations"
],
"title": "WorkingDirectoryGuidanceResponse",
"type": "object"
}
},
{
"description": "Propose switching the current session's working directory to a project created or cloned elsewhere; the console asks the user to confirm. Only when the user asked to continue there, never just to inspect a file.",
"metadata": {},
"name": "ade::working-directory::propose",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"path": {
"description": "Existing directory the user asked to continue working in.",
"type": "string"
},
"reason": {
"default": null,
"description": "Short explanation shown with the confirmation.",
"type": [
"string",
"null"
]
},
"session_id": {
"default": null,
"description": "Authoritative Harness context. In-turn calls are stamped before dispatch.",
"type": [
"string",
"null"
]
},
"turn_id": {
"default": null,
"description": "Authoritative Harness turn. In-turn calls are stamped before dispatch.",
"type": [
"string",
"null"
]
}
},
"required": [
"path"
],
"title": "ProposeWorkingDirectoryRequest",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"path": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"requires_confirmation": {
"type": "boolean"
},
"session_id": {
"type": "string"
}
},
"required": [
"path",
"requires_confirmation",
"session_id"
],
"title": "ProposeWorkingDirectoryResponse",
"type": "object"
}
},
{
"description": "Internal: stamp the authoritative Harness session onto Console working-directory proposals.",
"metadata": {
"internal": true
},
"name": "ade::working-directory::stamp-session",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"StampCall": {
"properties": {
"arguments": {
"default": null
}
},
"type": "object"
}
},
"properties": {
"call": {
"anyOf": [
{
"$ref": "#/definitions/StampCall"
},
{
"type": "null"
}
]
},
"session_id": {
"default": null,
"type": [
"string",
"null"
]
},
"turn_id": {
"default": null,
"type": [
"string",
"null"
]
}
},
"title": "StampSessionEvent",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"anyOf": [
{
"$ref": "#/definitions/StampSessionResponse"
},
{
"type": "null"
}
],
"definitions": {
"HookMutations": {
"properties": {
"arguments": true
},
"required": [
"arguments"
],
"type": "object"
},
"StampSessionResponse": {
"properties": {
"decision": {
"type": "string"
},
"mutations": {
"$ref": "#/definitions/HookMutations"
}
},
"required": [
"decision",
"mutations"
],
"type": "object"
}
},
"title": "Nullable_StampSessionResponse"
}
},
{
"description": "Remove a screen from the console workspace wherever it is shown. Pass `screen: chat` with `session_id` to close one pinned conversation panel. Idempotent: an unmounted screen returns an empty `tab_ids`.",
"metadata": {},
"name": "ade::workspace::close",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"screen": {
"type": "string"
},
"session_id": {
"default": null,
"description": "With `screen: \"chat\"`, close only this conversation session panel.",
"type": [
"string",
"null"
]
}
},
"required": [
"screen"
],
"title": "CloseInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"tab_ids": {
"description": "Tabs the screen was detached from; empty when it was not mounted.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"tab_ids"
],
"title": "CloseOutput",
"type": "object"
}
},
{
"description": "Internal: read the raw console workspace layout document the SPA renders (`<data_dir>/workspace.json`). Agents use `ade::workspace::list`.",
"metadata": {
"internal": true
},
"name": "ade::workspace::get",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "GetInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"path": {
"description": "Where the document lives, for operators wondering what to delete.",
"type": "string"
},
"value": {
"description": "The stored layout document verbatim (`tabs`, `activeTabId`, `activatedAt`, `activatedBy`, …); `{}` when nothing was saved yet."
}
},
"required": [
"path",
"value"
],
"title": "GetOutput",
"type": "object"
}
},
{
"description": "List the console workspace the human sees: every tab with its columns, screens and column widths, plus which tab is active. Screens are `chat`, `chat:<session-id>`, `traces`, `workers`, or `ext:<page>` for worker pages. Read this before passing `sizes` to `open`, so the widths you send are relative to the layout that is actually up.",
"metadata": {},
"name": "ade::workspace::list",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ListInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"TabSummary": {
"properties": {
"active": {
"type": "boolean"
},
"columns": {
"format": "uint",
"minimum": 0,
"type": "integer"
},
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
},
"screens": {
"description": "One entry per column; `null` is an empty column.",
"items": {
"type": [
"string",
"null"
]
},
"type": "array"
},
"sizes": {
"description": "One fraction per column, summing to 1. Equal widths when the stored layout has none, or has a list that does not match the column count — the same normalization the browser renders from.",
"items": {
"format": "double",
"type": "number"
},
"type": "array"
}
},
"required": [
"active",
"columns",
"id",
"screens",
"sizes"
],
"type": "object"
}
},
"properties": {
"active_tab_id": {
"type": "string"
},
"tabs": {
"items": {
"$ref": "#/definitions/TabSummary"
},
"type": "array"
}
},
"required": [
"active_tab_id",
"tabs"
],
"title": "ListOutput",
"type": "object"
}
},
{
"description": "Called after every change to the console workspace layout: open, close, or a browser's own edit. Each new observer also gets one call of its own as soon as it is active (metadata for_observer). The event is empty; re-read the layout with ade::workspace::list.",
"metadata": {},
"name": "ade::workspace::on-changed",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "The event `ade::workspace::on-changed` is called with: empty, a doorbell. Re-read the layout with `ade::workspace::list`.",
"title": "ChangedEvent",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "The event `ade::workspace::on-changed` is called with: empty, a doorbell. Re-read the layout with `ade::workspace::list`.",
"title": "ChangedEvent",
"type": "object"
}
},
{
"description": "Show a screen in the console workspace next to the conversation (reusing the tab that already shows it) and switch every open console to that tab. Screens: `ext:ide` (files), `ext:browser`, `ext:editor`, `workers`, or `{\"screen\":\"chat\",\"session_id\":\"<id>\"}` for a pinned chat. It lands right of the chat panel unless `relative_to` names another screen, which is found in whichever tab shows it; `direction` picks the side (`right` or `left`).",
"metadata": {},
"name": "ade::workspace::open",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"Direction": {
"description": "Which side of the anchor column a new column lands on.",
"enum": [
"right",
"left"
],
"type": "string"
},
"PlacementRequest": {
"description": "Where the caller wants the screen to land.",
"oneOf": [
{
"description": "Reuse a tab already showing the screen, else place it beside `relative_to` (in the tab showing it when it is a named screen, the active tab otherwise), else open a fresh tab.",
"enum": [
"auto"
],
"type": "string"
},
{
"description": "Always open a fresh tab, even when the screen is mounted elsewhere and even when the active tab has room.",
"enum": [
"new-tab"
],
"type": "string"
}
]
}
},
"properties": {
"activate": {
"default": null,
"description": "Make the tab holding the screen the active one in every connected browser (default true), even when it already was the active tab.",
"type": [
"boolean",
"null"
]
},
"direction": {
"anyOf": [
{
"$ref": "#/definitions/Direction"
},
{
"type": "null"
}
],
"default": null,
"description": "Which side of `relative_to` to land on: `right` (default) or `left`."
},
"placement": {
"anyOf": [
{
"$ref": "#/definitions/PlacementRequest"
},
{
"type": "null"
}
],
"default": null,
"description": "`auto` (default) reuses a tab already showing the screen; `new-tab` always opens a fresh one. Pair `new-tab` with `activate: false` to put a screen aside without moving the operator off the tab they are on."
},
"relative_to": {
"default": null,
"description": "The screen the new column lands next to, in the same vocabulary as `screen`. Defaults to `chat`, which matches whichever chat panel the active tab shows. A named screen is looked for in every tab, the active one first, and the column lands in the tab showing it. A screen that is not mounted anywhere puts the column at the end of the active tab.",
"type": [
"string",
"null"
]
},
"screen": {
"description": "`chat`, `traces`, `workers`, or `ext:<page-id>` for a worker page.",
"type": "string"
},
"session_id": {
"default": null,
"description": "With `screen: \"chat\"`, pin the panel to this conversation session.",
"type": [
"string",
"null"
]
},
"sizes": {
"default": null,
"description": "Column widths for the tab AFTER this call — one positive number per column, normalized by their sum. Applied in the same write that places the screen, so there is no window for another writer in between. Omit to let the ADE worker share the widths out.",
"items": {
"format": "double",
"type": "number"
},
"type": [
"array",
"null"
]
}
},
"required": [
"screen"
],
"title": "OpenInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"Placement": {
"oneOf": [
{
"description": "The screen was already mounted; that tab was reused.",
"enum": [
"existing"
],
"type": "string"
},
{
"description": "Placed into an empty column of the active tab.",
"enum": [
"empty_column"
],
"type": "string"
},
{
"description": "A new column was added to the active tab.",
"enum": [
"new_column"
],
"type": "string"
},
{
"description": "The active tab was full; a fresh tab was created.",
"enum": [
"new_tab"
],
"type": "string"
}
]
}
},
"properties": {
"activated": {
"type": "boolean"
},
"column": {
"format": "uint",
"minimum": 0,
"type": "integer"
},
"placement": {
"$ref": "#/definitions/Placement"
},
"screens": {
"items": {
"type": [
"string",
"null"
]
},
"type": "array"
},
"sizes": {
"description": "The tab's column widths as stored, whether they came from `sizes` or from the ADE worker sharing them out.",
"items": {
"format": "double",
"type": "number"
},
"type": "array"
},
"tab_id": {
"type": "string"
}
},
"required": [
"activated",
"column",
"placement",
"screens",
"sizes",
"tab_id"
],
"title": "OpenOutput",
"type": "object"
}
},
{
"description": "Internal: replace the raw console workspace layout document wholesale (the SPA's read-modify-write path; `expected_revision` refuses a stale copy with WORKSPACE_CONFLICT). Agents use `ade::workspace::open` and `close`.",
"metadata": {
"internal": true
},
"name": "ade::workspace::set",
"request_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"expected_revision": {
"default": null,
"description": "The `revision` of the document `value` was computed from. When the stored layout has moved past it, nothing is written and the call fails `WORKSPACE_CONFLICT`: re-read and apply the change again. Omitted, the write is unconditional.",
"format": "uint64",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"value": {
"description": "The whole layout document; replaces what is stored."
}
},
"required": [
"value"
],
"title": "SetInput",
"type": "object"
},
"response_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"ok": {
"type": "boolean"
}
},
"required": [
"ok"
],
"title": "SetOutput",
"type": "object"
}
}
]
}