Files
reverse-engineering-anything/scripts
gensokyo-devandgensokyo-dev 981dd11ec4 feat(artifacts)!: budget extract_artifact delivery
extract_artifact returned every written file inline. Extracting VLC's APK
through MCP returned 1,214,138 bytes of content, beside the same
structured result, for a call whose files are already on disk.

extract_artifact now takes detail and joins the agent result budget.
Omitted, an extraction that fits delivery.agent_result_budget_bytes is
inline and a larger one is retained behind its artifact-extraction
summary; detail never reaches the provider. The CLI uses the shared
Evidence delivery. The same APK now returns a 14,592-byte summary, and a
lib/** page of its native libraries 12,472 bytes.

BREAKING CHANGE: an extract_artifact call that omits detail on an
extraction above the agent result budget now returns the retained summary.
Pass detail: "complete" (--detail complete) for the previous shape.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-27 05:21:32 +08:00
..