Repository navigation
v0.19.6
v0.19.6
Self-authored plugins, a usable /line turn budget, and two fixes on the prompt path.
The agent can build itself a plugin
When a capability gap recurs and no skill or MCP server covers it, the agent can author a plugin on the spot, register it in the plugin centre and activate it — no release, no manual install. The authoring contract is documented and shipped with the product.
register_generatedaccepts a manifest that declares a code entry point. The path is confined to the plugin directory by the manifest layer, registration still never imports the module, andactivateremains the execution point.- A manifest whose declared entry point had to be rejected now fails loudly instead of registering a silent data-only plugin; an installed third-party package with the same problem reports a warning.
reload_codere-imports an edited plugin — deactivate, a failed import and a failed activation all invalidate the cached module, so fixing a broken entry point and retrying actually runs the new code.reloadstays a plugin-table reload, so one word means one thing.- Activation re-checks containment, because a symlink swapped in after registration is invisible to parse-time validation.
- Consent is asked with a structured question before authoring. Approval prompts never fire in auto or yolo; questions still reach the user in yolo, and are denied in auto.
- Approval identity for mutating plugin actions now names the plugin, so a grant recorded for one plugin cannot activate another.
Three traps on the same path were fixed with it: a failed activation used to leave a record the post-activation sync treated as not live, which tore a freshly fixed plugin back down while reporting success; activating a disabled plugin returned success for an activation that was immediately unwound; and the generated plugin root was persisted verbatim, so a relative source disappeared after a restart.
/line long tasks
A turn now gets an hour of wall-clock time instead of 15 minutes, configurable with turnTimeoutMinutes (1–1440). The timeout reply and /status name the configured minutes, the daemon prints the cap at startup, and scheduled-task turns follow the same value — their relay used to keep its own separate 15-minute guard.
Prompt path
AGENTS.mdinstructions are no longer lost silently. Every discovered file keeps a 2 KiB floor before deeper files take the rest of the 32 KiB budget, so one oversized project guide can no longer erase the user-level conventions from the prompt. A file that does not fit ends with a marker naming the omitted bytes and its path, so the model knows to read it instead of assuming it saw everything.- Truncating that prompt context is now one encode plus a UTF-8 boundary walk. It used to drop one character per pass and re-measure the whole string, which cost seconds on every agent start and every subagent spawn when the guide was large.
Notes
This tag marks the source release. Registry publishing is tracked separately, so install from the registry only once that step has run.