Repository navigation
v0.4.0
Context compaction, tool permissions and new tools, on phero v2.3.0 and packtrail v1.0.3.
Breaking: the summarize memory option is removed and now fails validation. Use the agent's compaction: instead.
- Compaction:
compaction: {at_tokens, model, keep_recent, keep_tokens, max_summary_tokens, prompt}replaces older messages with a summary. It works with any memory and inside one long tool loop. Withoutat_tokens, it runs only when the model rejects a prompt as too long. Summary calls count in the step's usage and budgets.prune_compactedon nats and psql memory. - Permissions:
permissions: {allow, deny, default, working_dir}controls an agent's tool calls, including bash commands. Each agent gets its own copies of shared tools. - Agents:
max_parallel_tools;todo: truegives an agent a task list for each run. Withstream: true, agents sendcompactionandtodoprogress events. - Models:
strict_tools(openai, anthropic) andprompt_cache_ttl: 5m|1h(anthropic). - Tools: new
web_fetchandfile_multi_edit. bash getsenv,env_allowlist, background limits and a bubblewrapsandbox. File tools getread_only_roots,max_output_chars,max_resultsandno_ignore. skill getsroots; mcp getstool_prefixandmax_output_chars. - Errors: a prompt too long for the context window fails the step and is never retried. Model retries use phero's
llm.IsRetryable; a guardrail block is never retried.
What's Changed
Full Changelog: v0.3.1...v0.4.0