@stackbone/cli 0.1.0-alpha.12 → 0.1.0-alpha.14
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 +69 -0
- package/main.js +18389 -16138
- package/migrations/0017_runs_workflow_chat_triggers.sql +25 -0
- package/migrations/0018_run_steps_v2.sql +167 -0
- package/migrations/0019_sessions.sql +106 -0
- package/migrations/0020_runs_entity_name.sql +23 -0
- package/package.json +2 -2
- package/runtime-deps/@stackbone/agent-server/index.js +8 -16
- package/runtime-deps/@stackbone/workflow-world/index.js +8913 -0
- package/stackbone-cli-0.1.0-alpha.14.tgz +0 -0
- package/stackbone-cli-0.1.0-alpha.12.tgz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,75 @@ 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.14] - 2026-06-25
|
|
11
|
+
|
|
12
|
+
### Removed
|
|
13
|
+
|
|
14
|
+
- **`stackbone trigger` and `stackbone queues` are gone.** Both belonged to the
|
|
15
|
+
deprecated classic `/invoke` runtime. `stackbone trigger` posted to the dev
|
|
16
|
+
emulator's `/api/invoke`, which the eve runtime retired (replaced by the
|
|
17
|
+
`/api/agents/:name/chat` proxy), so the command hit a route that no longer
|
|
18
|
+
exists. `stackbone queues` drove the classic agent-jobs BullMQ dispatcher,
|
|
19
|
+
which `stackbone dev` no longer boots (it answers `503 queues_unavailable`);
|
|
20
|
+
in the new runtime async work is modelled as durable workflow runs. To
|
|
21
|
+
exercise a trigger-driven workflow locally, start it by name with
|
|
22
|
+
`stackbone workflows start <name>`. The `STACKBONE_EMULATOR_URL` env var
|
|
23
|
+
(only `stackbone trigger` read it) is removed too. The `client.queues` SDK
|
|
24
|
+
capability and Studio's Queues inspector are unaffected.
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- **`stackbone init` no longer scaffolds a workspace that fails `pnpm install`.**
|
|
29
|
+
The generated `package.json` pinned `@stackbone/workflow-world` — our durable
|
|
30
|
+
Workflow SDK World fork, a platform internal that is never published to npm —
|
|
31
|
+
so the post-init `pnpm install` 404'd ("could not resolve
|
|
32
|
+
@stackbone/workflow-world"). The CLI now ships its own esbuild-bundled copy of
|
|
33
|
+
the World and provisions it into the workspace's `node_modules` at `stackbone
|
|
34
|
+
dev` boot (the same mechanism already used for `@stackbone/agent-server`), and
|
|
35
|
+
the scaffold no longer declares the package. The public `@workflow/world` is
|
|
36
|
+
kept as the single shared base.
|
|
37
|
+
|
|
38
|
+
## [0.1.0-alpha.13] - 2026-06-25
|
|
39
|
+
|
|
40
|
+
### Changed
|
|
41
|
+
|
|
42
|
+
- **`stackbone dev`'s eve workspace boot now runs on the shared `@stackbone/workspace-runtime`
|
|
43
|
+
engine** (a pure refactor — no behaviour change). The supervisor that spawns the
|
|
44
|
+
N eve agents, the per-agent session Worlds, the main workspace World, and their
|
|
45
|
+
ordered teardown moved out of `apps/cli/src/dev/` into the new
|
|
46
|
+
`libs/runtime/workspace-runtime` lib, behind a single `bootWorkspaceRuntime`
|
|
47
|
+
entry point. The CLI is now just the dev SHELL around it (docker, tunnel,
|
|
48
|
+
watchers, local config, and the `eve build` / workflow compile it injects); the
|
|
49
|
+
same engine will boot cloud BYOC + self-host so the three environments run the
|
|
50
|
+
identical workspace. The engine assumes pre-compiled `.output/` and never
|
|
51
|
+
compiles — `stackbone dev` keeps its build-then-start behaviour by injecting
|
|
52
|
+
`runEveBuild`. `stackbone dev` over a v3 workspace boots identically (same
|
|
53
|
+
ports, health, workflows, chat).
|
|
54
|
+
|
|
55
|
+
### Added
|
|
56
|
+
|
|
57
|
+
- **`stackbone publish` now blocks an incomplete eve trace.** A new per-agent build
|
|
58
|
+
guardrail (alongside the native-deps + SDK-inline gates) detects when `eve build`
|
|
59
|
+
shipped a PARTIAL externalized `eve` into an agent's `.output/` — the symptom of an
|
|
60
|
+
upstream bug where eve's bundler (nitro + `@vercel/nft`) drops a file reachable only
|
|
61
|
+
through eve's `#`-subpath imports (e.g. `connections/errors.js`), which crash-loops
|
|
62
|
+
the agent at boot with `ERR_MODULE_NOT_FOUND`. Publish aborts with the fix: add
|
|
63
|
+
`"eve*"` to the agent's `defineAgent({ build: { externalDependencies } })`, which
|
|
64
|
+
forces nitro's full-trace of eve (and sidesteps eve's own self-filter). Agents that
|
|
65
|
+
fully inline eve are unaffected, so they never carry the full-trace's extra weight.
|
|
66
|
+
- **`stackbone publish` now packages a v3 workspace.** When the current directory
|
|
67
|
+
has a `stackbone.config.ts` (`defineWorkspace`), publish compiles every eve
|
|
68
|
+
agent (`eve build` → its Nitro `.output/`) and the workflows on THIS host, then
|
|
69
|
+
packs `stackbone.config.ts` + each `.output/` + `.well-known/` + a derived
|
|
70
|
+
workspace manifest into a single tar with a verifiable SHA-256, written to
|
|
71
|
+
`dist/stackbone/`. Compiling at publish (not at boot) makes cold starts fast and
|
|
72
|
+
deterministic and turns a build error into a publish failure instead of a
|
|
73
|
+
production crash-loop. Each agent is scanned for native (`.node`) dependencies
|
|
74
|
+
and for an inlined `@stackbone/sdk` — either aborts with an actionable message
|
|
75
|
+
naming the offending package/agent before any tar is produced. (The
|
|
76
|
+
control-plane upload + build-pointer registration is the provisioning saga's
|
|
77
|
+
job; publish produces and records the artifact locally for now.)
|
|
78
|
+
|
|
10
79
|
## [0.1.0-alpha.12] - 2026-06-17
|
|
11
80
|
|
|
12
81
|
### Added
|