@stackbone/cli 0.1.0-alpha.12 → 0.1.0-alpha.13

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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,47 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.0-alpha.13] - 2026-06-25
11
+
12
+ ### Changed
13
+
14
+ - **`stackbone dev`'s eve workspace boot now runs on the shared `@stackbone/workspace-runtime`
15
+ engine** (a pure refactor — no behaviour change). The supervisor that spawns the
16
+ N eve agents, the per-agent session Worlds, the main workspace World, and their
17
+ ordered teardown moved out of `apps/cli/src/dev/` into the new
18
+ `libs/runtime/workspace-runtime` lib, behind a single `bootWorkspaceRuntime`
19
+ entry point. The CLI is now just the dev SHELL around it (docker, tunnel,
20
+ watchers, local config, and the `eve build` / workflow compile it injects); the
21
+ same engine will boot cloud BYOC + self-host so the three environments run the
22
+ identical workspace. The engine assumes pre-compiled `.output/` and never
23
+ compiles — `stackbone dev` keeps its build-then-start behaviour by injecting
24
+ `runEveBuild`. `stackbone dev` over a v3 workspace boots identically (same
25
+ ports, health, workflows, chat).
26
+
27
+ ### Added
28
+
29
+ - **`stackbone publish` now blocks an incomplete eve trace.** A new per-agent build
30
+ guardrail (alongside the native-deps + SDK-inline gates) detects when `eve build`
31
+ shipped a PARTIAL externalized `eve` into an agent's `.output/` — the symptom of an
32
+ upstream bug where eve's bundler (nitro + `@vercel/nft`) drops a file reachable only
33
+ through eve's `#`-subpath imports (e.g. `connections/errors.js`), which crash-loops
34
+ the agent at boot with `ERR_MODULE_NOT_FOUND`. Publish aborts with the fix: add
35
+ `"eve*"` to the agent's `defineAgent({ build: { externalDependencies } })`, which
36
+ forces nitro's full-trace of eve (and sidesteps eve's own self-filter). Agents that
37
+ fully inline eve are unaffected, so they never carry the full-trace's extra weight.
38
+ - **`stackbone publish` now packages a v3 workspace.** When the current directory
39
+ has a `stackbone.config.ts` (`defineWorkspace`), publish compiles every eve
40
+ agent (`eve build` → its Nitro `.output/`) and the workflows on THIS host, then
41
+ packs `stackbone.config.ts` + each `.output/` + `.well-known/` + a derived
42
+ workspace manifest into a single tar with a verifiable SHA-256, written to
43
+ `dist/stackbone/`. Compiling at publish (not at boot) makes cold starts fast and
44
+ deterministic and turns a build error into a publish failure instead of a
45
+ production crash-loop. Each agent is scanned for native (`.node`) dependencies
46
+ and for an inlined `@stackbone/sdk` — either aborts with an actionable message
47
+ naming the offending package/agent before any tar is produced. (The
48
+ control-plane upload + build-pointer registration is the provisioning saga's
49
+ job; publish produces and records the artifact locally for now.)
50
+
10
51
  ## [0.1.0-alpha.12] - 2026-06-17
11
52
 
12
53
  ### Added