@dexto/image-bundler 1.5.7 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
 
2
- > @dexto/image-bundler@1.5.7 build /home/runner/work/dexto/dexto/packages/image-bundler
2
+ > @dexto/image-bundler@1.6.0 build /home/runner/work/dexto/dexto/packages/image-bundler
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/cli.ts, src/index.ts
@@ -9,12 +9,12 @@
9
9
  CLI Target: es2022
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
- ESM dist/cli.js 18.74 KB
13
- ESM dist/index.js 15.96 KB
14
- ESM dist/cli.js.map 37.92 KB
15
- ESM dist/index.js.map 32.42 KB
16
- ESM ⚡️ Build success in 71ms
12
+ ESM dist/cli.js 26.79 KB
13
+ ESM dist/index.js 24.16 KB
14
+ ESM dist/cli.js.map 52.96 KB
15
+ ESM dist/index.js.map 47.86 KB
16
+ ESM ⚡️ Build success in 100ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 10836ms
18
+ DTS ⚡️ Build success in 14760ms
19
19
  DTS dist/cli.d.ts 20.00 B
20
- DTS dist/index.d.ts 965.00 B
20
+ DTS dist/index.d.ts 2.97 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,71 @@
1
1
  # @dexto/image-bundler
2
2
 
3
+ ## 1.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - facabe1: Rebuild DI + image-based config resolution
8
+
9
+ This release rebuilds Dexto’s core/runtime to be DI-first, and moves YAML/config concerns into a dedicated adapter layer.
10
+
11
+ **Highlights**
12
+ - **DI-first `@dexto/core`**: `DextoAgent` is now constructed with concrete dependencies (logger, storage backends, tools, plugins, compaction strategy). Core no longer creates these from YAML.
13
+ - **New `@dexto/agent-config` package**: owns the YAML/Zod schemas and provides the “YAML → validated config → resolved services → `DextoAgentOptions`” pipeline (including image loading + defaults).
14
+ - **Images define the YAML surface**: agents can reference an `image:` (e.g. `@dexto/image-local`) that provides defaults + factories for tools/plugins/compaction/storage. The CLI can install/manage images in the user image store (`~/.dexto/images` by default).
15
+ - **New `@dexto/storage` package**: extracted concrete storage implementations out of core. Core keeps storage interfaces + `StorageManager`; images/hosts provide implementations.
16
+ - **Tools refactor**: tool packs are now configured via image tool factories; tool execution uses a required `ToolExecutionContext`. Built-in tools ship via **new** `@dexto/tools-builtins`.
17
+ - **Agent events**: event bus is no longer exposed directly; use `agent.on()/off()` and `agent.registerSubscriber()` (server SSE/webhook subscribers updated).
18
+
19
+ **Breaking/migration notes**
20
+ - Programmatic usage must construct the agent via `new DextoAgent({ ...runtimeSettings, logger, storage, tools, plugins, compaction })` (the old config-first construction path is removed).
21
+ - Config/YAML usage should go through `@dexto/agent-management` (load/enrich) + `@dexto/agent-config` (validate + resolve services + `toDextoAgentOptions()`).
22
+ - Server “save/apply config” endpoints now rely on host-owned config paths (core no longer tracks file paths and no longer supports `agent.reload()`).
23
+
24
+ ### Patch Changes
25
+
26
+ - 99cf1c6: Refactors
27
+ - Agent config terminology updates:
28
+ - `toolConfirmation` → `permissions`
29
+ - `internalResources` → `resources` (and removes the unused `enabled` flag)
30
+ - runtime “plugins” → “hooks” (to avoid confusion with Claude Code-style plugins)
31
+ - CLI UX: removes headless/positional prompt mode; `--prompt` now starts the interactive CLI with an initial prompt.
32
+ - CLI UX: the “Agent config updates available” sync prompt reappears on subsequent runs until agents are synced (no per-version dismissal).
33
+ - Tool surface refactor: removes `custom`/`internal` tool ID prefixes; MCP tools remain namespaced.
34
+ - Approval UX:
35
+ - Directory access prompts now auto-approve parallel pending requests after the first approval (reduces repetitive prompts during multi-tool flows).
36
+ - Remembering a tool for the session now auto-approves parallel pending tool approvals for that tool.
37
+ - New and updated tools:
38
+ - Adds built-in Exa `web_search` + `code_search` tools.
39
+ - Enables built-in `http_request` (“Fetch”) in the default and coding agents.
40
+ - Refines tool display names for readability (e.g. “Update Todos”, “Web Search”, “Code Search”, “Check Task”, “List Tasks”).
41
+ - Adds `@dexto/tools-lifecycle` (view logs + memory management) and moves session search into lifecycle tools.
42
+ - UI terminology: “task list” → “todo list”.
43
+ - Images:
44
+ - `DextoImageModule` renamed to `DextoImage`.
45
+ - `dexto image create` scaffold includes minimal examples for tools/hooks/storage/compaction.
46
+ - Updated dependencies [d6b4368]
47
+ - Updated dependencies [facabe1]
48
+ - Updated dependencies [99cf1c6]
49
+ - Updated dependencies [c862605]
50
+ - Updated dependencies [8d37b8a]
51
+ - Updated dependencies [7ffa399]
52
+ - @dexto/agent-config@1.6.0
53
+ - @dexto/core@1.6.0
54
+
55
+ ## 1.5.8
56
+
57
+ ### Patch Changes
58
+
59
+ - Updated dependencies [8687817]
60
+ - Updated dependencies [fc77b59]
61
+ - Updated dependencies [9417803]
62
+ - Updated dependencies [5618ac1]
63
+ - Updated dependencies [ef90f6f]
64
+ - Updated dependencies [20a2b91]
65
+ - Updated dependencies [9990e4f]
66
+ - Updated dependencies [c49bc44]
67
+ - @dexto/core@1.5.8
68
+
3
69
  ## 1.5.7
4
70
 
5
71
  ### Patch Changes
package/README.md ADDED
@@ -0,0 +1,45 @@
1
+ # `@dexto/image-bundler`
2
+
3
+ Bundler for convention-based Dexto images.
4
+
5
+ It consumes a `dexto.image.ts` (metadata + defaults) and a convention folder layout (tools/storage/hooks/compaction),
6
+ then produces a distributable package that **default-exports a typed `DextoImage`** (no side effects, no registries).
7
+
8
+ ## CLI
9
+
10
+ This package ships a CLI:
11
+
12
+ ```bash
13
+ dexto-bundle build --image dexto.image.ts --out dist
14
+ ```
15
+
16
+ Outputs:
17
+ - `dist/index.js` (default export: `DextoImage`)
18
+ - `dist/index.d.ts` (types)
19
+ - compiled convention folders under `dist/`
20
+
21
+ ## Convention folders
22
+
23
+ Each `<type>/index.ts` must export a `factory` constant with `{ configSchema, create }`:
24
+
25
+ ```
26
+ tools/<type>/index.ts
27
+ storage/blob/<type>/index.ts
28
+ storage/database/<type>/index.ts
29
+ storage/cache/<type>/index.ts
30
+ hooks/<type>/index.ts
31
+ compaction/<type>/index.ts
32
+ ```
33
+
34
+ ## Generated image contract
35
+
36
+ The generated default export matches `@dexto/agent-config`’s `DextoImage` interface:
37
+
38
+ - `metadata` + optional `defaults`
39
+ - `tools`, `storage.*`, `hooks`, `compaction` factory maps (keyed by config `type`)
40
+ - `logger` factory
41
+
42
+ ## Related
43
+
44
+ - `dexto create-image` (CLI scaffold that uses this bundler)
45
+ - `@dexto/agent-config` (image loading + config→services resolver)