@dexto/image-bundler
v1.10.2
Published
Bundler for Dexto base images
Readme
@dexto/image-bundler
Bundler for convention-based Dexto images.
It consumes a dexto.image.ts (metadata + defaults) and a convention folder layout (tools/hooks/compaction),
then produces a distributable package that default-exports a typed DextoImage (no side effects, no registries).
The image is the boundary where tools, stores, workspace handles, and skill sources are supplied to
hosts.
CLI
This package ships a CLI:
dexto-bundle build --image dexto.image.ts --out distOutputs:
dist/index.js(default export:DextoImage)dist/index.d.ts(types)- compiled convention folders under
dist/
Convention folders
Each <type>/index.ts must export a factory constant with { configSchema, create }:
tools/<type>/index.ts
hooks/<type>/index.ts
compaction/<type>/index.tsGenerated image contract
The generated default export matches @dexto/agent-config’s DextoImage interface:
metadata+ optionaldefaultstools,hooks,compactionfactory maps (keyed by configtype)storage.createStoresinherited from the base image, or a generated placeholder for custom base imagesloggerfactory- optional
workspace.createforWorkspaceHandleProvider - optional
skills.createforSkillSourceinstances consumed bySkillManager
Related
dexto create-image(CLI scaffold that uses this bundler)@dexto/agent-config(image loading + config→services resolver)
