@stackbone/cli 0.1.0-alpha.11 → 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,85 @@ 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
+
51
+ ## [0.1.0-alpha.12] - 2026-06-17
52
+
53
+ ### Added
54
+
55
+ - **Full agent-runtime command surface.** The CLI can now drive a running
56
+ agent end to end against the Studio endpoints, with one command group per
57
+ capability: `runs` and `config`, `queues`
58
+ (`list`/`jobs`/`retry`/`discard`/`peek`/`purge`/`push`), `logs`, `storage`,
59
+ `rag`, `secrets`, `hitl`, `openrouter`, `db`, `prompts`, `playground`,
60
+ `agents`, and `contract` (`show`/`schema`/`capabilities`/`validate`).
61
+ - `stackbone organization use` switches the active organization for subsequent
62
+ commands.
63
+ - `stackbone db migrate up`/`status` now prompt to create a `drizzle-kit`
64
+ rename when run on an interactive terminal, instead of silently guessing.
65
+ - `stackbone playground` streams a run's steps live as they happen during an
66
+ invocation.
67
+
68
+ ### Changed
69
+
70
+ - Studio commands now route to the **local emulator** for `kind=local` agents
71
+ (resolved from the dev statefile) instead of hitting the control plane, which
72
+ has no boot bundle for local installs.
73
+ - Unified the cross-cutting conventions (flags, output, error handling)
74
+ across every agent-runtime surface so they behave consistently.
75
+ - The HTTP adapter gained `put`/`delete` plus a Studio-target resolver, and
76
+ transfer helpers for SSE, multipart uploads and presigned downloads.
77
+
78
+ ### Removed
79
+
80
+ - `stackbone db studio` — the embedded drizzle-kit studio command.
81
+
82
+ ### Fixed
83
+
84
+ - `stackbone db migrate up`/`status` discover the dev Postgres URL instead of
85
+ failing to connect.
86
+ - `queues peek`/`purge` are now scoped to a single handler (logical queue)
87
+ rather than the whole physical queue.
88
+
10
89
  ## [0.1.0-alpha.11] - 2026-06-12
11
90
 
12
91
  ### Fixed