console::on-config-change
Internal: re-apply the Console HTTP port and injectable-UI toggles when its configuration entry changes.
- okbooleanrequired
Web console for iii — bundles the React UI and proxies the engine WebSocket on a single port.
exact versions are immutable; binary and bundle artifacts are digest-pinned.
Internal: re-apply the Console HTTP port and injectable-UI toggles when its configuration entry changes.
Return the console worker's runtime knobs: http_port, engine_url, and version.
iii engine WebSocket URL the worker is proxying to.
TCP port the worker is serving the UI and `/ws` on.
Worker version (matches `Cargo.toml`).
Serve the console worker's injected console UI assets (content function for its console:script / console:style triggers).
The asset path from the trigger config (e.g. `state/page.js`).
The asset source, verbatim.
MIME type the console should serve the asset with.
List the injected console UI assets currently loadable: path, kind (script/style), content hash, and style-lint warnings.
The loadable set: assets of per-worker-disabled workers are held but excluded here (and from tab syncs) until re-enabled.
Short asset kind — trigger type ids are `console:*`, kinds stay `script`/`style` in push payloads and the manifest.
Best-effort registrant attribution. Not resolved in this build — always `null` (the `<worker>/` path prefix is the human-readable attribution).
`true` when the `injectable_ui` kill switch is off — the trigger types are unregistered and `/ui` + `/vendor` are not served.
Per-worker summary — includes disabled workers (their toggle state lives in the console configuration's `injectableUi.disabledWorkers`).
Number of registered assets (served only while enabled).
`false` while the worker is in the console configuration's `injectableUi.disabledWorkers` list.
Worker name — the first segment of its asset paths.
Internal: append Console working-directory handoff guidance to Harness generations.
Propose changing the current Harness session's working directory after creating or cloning a project elsewhere. The path is validated, then Console asks the user to confirm before the chat and paired Shell switch together. Call this when the user explicitly asked to continue in the new directory; never use it merely to inspect a file.
Existing directory the user asked to continue working in.
Short explanation shown with the confirmation.
Authoritative Harness context. In-turn calls are stamped before dispatch.
Authoritative Harness turn. In-turn calls are stamped before dispatch.
Internal: stamp the authoritative Harness session onto Console working-directory proposals.
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`.
With `screen: "chat"`, close only this conversation session panel.
Tabs the screen was detached from; empty when it was not mounted.
List the console workspace the human sees: every tab with its columns and screens, plus which tab is active. Screens are `chat`, `chat:<session-id>`, `traces`, `workers`, or `ext:<page>` for worker pages.
One entry per column; `null` is an empty column.
Show a screen to the human in the console workspace, next to the conversation. Reuses the tab that already shows it, else places it beside chat in the active tab, else opens a new tab. Every browser on this engine updates. Use `{"screen":"chat","session_id":"<id>"}` to open a chat panel pinned to one conversation. Use `ext:shell` for the file explorer, `ext:browser` for browser sessions, `ext:editor` for the editor, `workers` for the worker catalog.
Make the tab holding the screen the active one (default true).
`chat`, `traces`, `workers`, or `ext:<page-id>` for a worker page.
With `screen: "chat"`, pin the panel to this conversation session.
A console tab's live-update subscription. The trigger's function_id is the per-tab handler the console pushes sync/set/delete asset events to.
An ESM JavaScript asset injected into the console UI. `config.path` is the asset identity (re-registering a path overrides it); the trigger's function_id is the content function the console fetches source from.
Asset identity. Convention: `<worker>/<name>.<ext>`. Re-registering a path overrides it.
A CSS asset injected into the console UI. Same contract as console:script with a .css path.
Asset identity. Convention: `<worker>/<name>.<ext>`. Re-registering a path overrides it.