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

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,51 @@ 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.15] - 2026-07-01
11
+
12
+ ### Changed
13
+
14
+ - **`stackbone init` now links every workspace to the control plane, and `add`
15
+ no longer touches the network.** The workspace is the linked unit: `init`
16
+ registers the workspace's identity (an agent named after the workspace) and
17
+ writes the single `.stackbone/project.json` for EVERY `--with` kind — `empty`
18
+ and `workflow` included — that `dev`, `publish` and the management commands
19
+ read. Because of this, `init` now needs a signed-in session for every kind (the
20
+ fully-offline `init` path is gone — run `stackbone login` first). In exchange,
21
+ `stackbone add agent` and `add workflow-agent` are now 100% offline: the pieces
22
+ you add are members of the already-linked workspace, not separate control-plane
23
+ registrations, so they no longer register an agent or write `project.json`.
24
+ This fixes the confusing flow where `init` left a workspace unlinked and
25
+ `stackbone dev` then failed with "No project linked — run `stackbone init`".
26
+
27
+ ## [0.1.0-alpha.14] - 2026-06-25
28
+
29
+ ### Removed
30
+
31
+ - **`stackbone trigger` and `stackbone queues` are gone.** Both belonged to the
32
+ deprecated classic `/invoke` runtime. `stackbone trigger` posted to the dev
33
+ emulator's `/api/invoke`, which the eve runtime retired (replaced by the
34
+ `/api/agents/:name/chat` proxy), so the command hit a route that no longer
35
+ exists. `stackbone queues` drove the classic agent-jobs BullMQ dispatcher,
36
+ which `stackbone dev` no longer boots (it answers `503 queues_unavailable`);
37
+ in the new runtime async work is modelled as durable workflow runs. To
38
+ exercise a trigger-driven workflow locally, start it by name with
39
+ `stackbone workflows start <name>`. The `STACKBONE_EMULATOR_URL` env var
40
+ (only `stackbone trigger` read it) is removed too. The `client.queues` SDK
41
+ capability and Studio's Queues inspector are unaffected.
42
+
43
+ ### Fixed
44
+
45
+ - **`stackbone init` no longer scaffolds a workspace that fails `pnpm install`.**
46
+ The generated `package.json` pinned `@stackbone/workflow-world` — our durable
47
+ Workflow SDK World fork, a platform internal that is never published to npm —
48
+ so the post-init `pnpm install` 404'd ("could not resolve
49
+ @stackbone/workflow-world"). The CLI now ships its own esbuild-bundled copy of
50
+ the World and provisions it into the workspace's `node_modules` at `stackbone
51
+ dev` boot (the same mechanism already used for `@stackbone/agent-server`), and
52
+ the scaffold no longer declares the package. The public `@workflow/world` is
53
+ kept as the single shared base.
54
+
10
55
  ## [0.1.0-alpha.13] - 2026-06-25
11
56
 
12
57
  ### Changed
package/README.md CHANGED
@@ -9,28 +9,31 @@ The CLI for [Stackbone](https://stackbone.ai) — the marketplace and runtime fo
9
9
  No install required — invoke the CLI through `npx`:
10
10
 
11
11
  ```bash
12
- npx @stackbone/cli@alpha init my-agent
13
- cd my-agent
12
+ npx @stackbone/cli@alpha login
13
+ npx @stackbone/cli@alpha init my-workspace
14
+ cd my-workspace && npm install
14
15
  npx @stackbone/cli@alpha dev
15
16
  ```
16
17
 
17
- That's it. `init` scaffolds a new agent project (templates + Claude skill); `dev` runs a local control-plane emulator with Stackbone Studio at `http://localhost:4242` so you can iterate without publishing.
18
+ That's it. `init` scaffolds a new workspace shell (agents + workflows + coding-agent skills) and links it to your organization, so you sign in first; `dev` boots the whole workspace locally Postgres, Redis, MinIO and Stackbone Studio at `http://localhost:4242` so you can iterate without publishing.
18
19
 
19
20
  ## Commands
20
21
 
21
- | Command | What it does |
22
- | ---------------------------- | ---------------------------------------------------------------------- |
23
- | `stackbone init [name]` | Scaffold a new Stackbone project from a template. |
24
- | `stackbone dev` | Run the local control-plane emulator + Stackbone Studio. |
25
- | `stackbone publish` | Build, push, and publish the current agent to Stackbone runtime. |
26
- | `stackbone login` / `logout` | Authenticate the CLI via the device-code flow (RFC 8628). |
27
- | `stackbone whoami` | Show the active user and organization. |
28
- | `stackbone current` | Print the organization currently linked to this session. |
29
- | `stackbone link` | Link the current directory to an existing organization + agent. |
30
- | `stackbone list` | List organizations the current user owns. |
31
- | `stackbone metadata` | Agent-friendly snapshot of the workspace state. |
32
- | `stackbone db <subcmd>` | Manage the local emulator database (migrations, queries). |
33
- | `stackbone docs <topic>` | Print Stackbone documentation inline. Run with no args to list topics. |
22
+ | Command | What it does |
23
+ | ----------------------------- | ---------------------------------------------------------------------- |
24
+ | `stackbone init [name]` | Scaffold a new workspace shell and link it to your org (needs login). |
25
+ | `stackbone add <kind> <name>` | Add an agent / workflow / workflow-agent to the workspace (offline). |
26
+ | `stackbone dev` | Boot the whole workspace locally + Stackbone Studio. |
27
+ | `stackbone workflows <verb>` | List, inspect the schema of, or start the install's workflows. |
28
+ | `stackbone publish` | Compile every agent + workflow and pack the workspace bundle. |
29
+ | `stackbone login` / `logout` | Authenticate the CLI via the device-code flow (RFC 8628). |
30
+ | `stackbone whoami` | Show the active user and organization. |
31
+ | `stackbone current` | Print the organization currently linked to this session. |
32
+ | `stackbone link` | Link the current directory to an existing organization + agent. |
33
+ | `stackbone list` | List organizations the current user owns. |
34
+ | `stackbone metadata` | Agent-friendly snapshot of the workspace state. |
35
+ | `stackbone db <subcmd>` | Manage the local emulator database (migrations, queries). |
36
+ | `stackbone docs <topic>` | Print Stackbone documentation inline. Run with no args to list topics. |
34
37
 
35
38
  Run any command with `--help` for the full flag reference, or `npx @stackbone/cli@alpha docs cli` for the inline documentation.
36
39