Skip to main content

Module export

Module export 

Source
Expand description

bundle.export: serialise one stored bundle to an ABF archive.

StructsΒ§

BundleExportResponse πŸ”’
Response for bundle.export and bundle.export_for_agent: the file list, or with format: "zip" the archive instead of it.
ExportReq πŸ”’
bundle.export β€” Armory Bundle Format (ABF) exporter, Phase 1 of docs/specs/REPORT_ARMORY_BUNDLE_STANDARD_RESEARCH_2026_07_16.md / https://docs.agentmux.ai/abf/. Window-scoped (no check_s1) like the rest of bundle.* β€” bundles aren’t agent-specific. Reads the bundle from id_store and resolves its referenced skill ids against mstore (skills live in a different Store instance than bundles β€” see Store::skill_get callers elsewhere in this codebase), then hands both to the pure bundle_export::export_bundle. format: "zip" returns a base64-encoded archive; anything else (including omitted) returns the raw file list for the caller to write out itself.

FunctionsΒ§

bundle_export_impl πŸ”’
The agent-less bundle.export, extracted from its handler closure so the warning contract in Β§5.1 can be asserted at the RPC boundary rather than only on its helper β€” matching bundle_export_for_agent_impl and bundle_export_for_agent_with_history_impl, which were already shaped this way for the same reason.
register_bundle_export πŸ”’