@stackbone/cli 0.2.8 → 0.3.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.
- package/CHANGELOG.md +71 -0
- package/README.md +1 -1
- package/main.js +26442 -9861
- package/migrations/0028_browser_provider_system_secrets.sql +39 -0
- package/migrations/0029_workspace_settings.sql +37 -0
- package/migrations/0030_run_steps_connection_hook.sql +27 -0
- package/migrations/0031_recurring_job_executions.sql +51 -0
- package/migrations/0032_run_steps_external_step_id.sql +48 -0
- package/migrations/0033_runtime_identity.sql +25 -0
- package/migrations/0034_guardrails.sql +92 -0
- package/migrations/0035_run_steps_guardrail.sql +41 -0
- package/migrations/0036_guardrail_attachment_units.sql +61 -0
- package/migrations/0037_runs_entity_kind.sql +45 -0
- package/migrations/0038_evals.sql +272 -0
- package/migrations/0039_eval_case_results_idempotency.sql +22 -0
- package/migrations/0040_eval_case_results_run_idx.sql +27 -0
- package/migrations/0041_eval_criterion_workflow_name.sql +68 -0
- package/migrations/0042_eval_case_results_ended.sql +64 -0
- package/migrations/0043_eval_suite_approval_policy.sql +50 -0
- package/migrations/0044_eval_persona_simulator.sql +88 -0
- package/migrations/0045_eval_case_description.sql +34 -0
- package/package.json +1 -1
- package/runtime-deps/@stackbone/workflow-world/index.js +71 -71
- package/stackbone-cli-0.3.0.tgz +0 -0
- package/stackbone-cli-0.2.8.tgz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,77 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.2.10] - 2026-08-02
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **`stackbone eval <suite>` runs a saved evaluation suite from the terminal
|
|
15
|
+
and fails the command when it misses its pass mark.** The suite has to
|
|
16
|
+
already exist on the box — nothing is defined from the terminal, so the CLI
|
|
17
|
+
and the Studio screen can never disagree about what was tested. A run that
|
|
18
|
+
was stopped, that broke, or that finished having measured fewer cases than
|
|
19
|
+
it planned is also a failing gate, with the reason printed before the
|
|
20
|
+
failure; a run cut short by the suite's own case cap is not. The summary
|
|
21
|
+
links straight to the run in Studio, and `Ctrl-C` / `--timeout` stop the
|
|
22
|
+
watcher, never the run.
|
|
23
|
+
- **`stackbone link` reports whether the box is verifying browser identity.**
|
|
24
|
+
A box that never got an identity configuration looks healthy from every
|
|
25
|
+
angle while Studio silently keeps reaching it through the control-plane
|
|
26
|
+
proxy. `link` now prints a warning (and includes it in `--json`) naming
|
|
27
|
+
`STACKBONE_CONTROL_PLANE_URL` and what it costs until it is set.
|
|
28
|
+
|
|
29
|
+
### Changed
|
|
30
|
+
|
|
31
|
+
- **Every Studio command now reaches a BYOC box directly instead of going
|
|
32
|
+
through the control plane, the same datapath the browser already uses.**
|
|
33
|
+
Commands mint a short-lived identity token off the CLI's own session
|
|
34
|
+
instead of sending the operator's control-plane credentials to the box, and
|
|
35
|
+
retry once on a token expiry. A deployment that isn't registered, or a
|
|
36
|
+
session that can't mint a token, still falls back to the control-plane
|
|
37
|
+
proxy — but a registered box that simply doesn't answer now surfaces as a
|
|
38
|
+
real connection error instead of a silent proxy retry.
|
|
39
|
+
- **`stackbone dev`: one broken workflow file no longer empties the whole
|
|
40
|
+
catalog.** A `*.workflow.ts` that fails to compile now shows up in the
|
|
41
|
+
catalog with its own error, the same way a broken deep agent always has,
|
|
42
|
+
instead of taking every other workflow in the workspace down with it.
|
|
43
|
+
|
|
44
|
+
### Fixed
|
|
45
|
+
|
|
46
|
+
- **Commands against a deleted or unregistered deployment fail with a clear,
|
|
47
|
+
specific error instead of a raw `Cannot GET ...` from a route that no
|
|
48
|
+
longer exists.** Each failure mode — no box registered, session can't
|
|
49
|
+
authenticate, box registered but unreachable — gets its own message and
|
|
50
|
+
remedy (`stackbone link`, `stackbone login`, or a plain connection error).
|
|
51
|
+
- **New projects no longer scaffold a `stackbone publish` script that doesn't
|
|
52
|
+
exist.** The generated `package.json` and the `AGENTS.md` / `CLAUDE.md`
|
|
53
|
+
templates now point at `build`, the command that actually ships.
|
|
54
|
+
|
|
55
|
+
## [0.2.9] - 2026-07-28
|
|
56
|
+
|
|
57
|
+
### Changed
|
|
58
|
+
|
|
59
|
+
- **The scaffolded README and the inline docs describe the guided first run.**
|
|
60
|
+
`stackbone init` used to hand you a README documenting exactly the path that
|
|
61
|
+
fails on a clean machine: install, run the dev command, done. It now says the
|
|
62
|
+
first `stackbone dev` stops before your code, prints a Studio link to point the
|
|
63
|
+
deployment at a **model provider**, and starts your workspace the moment you
|
|
64
|
+
save. The environment escape hatch (`MODEL_PROVIDER_BASE_URL` /
|
|
65
|
+
`MODEL_PROVIDER_API_KEY`) is documented next to it, under the neutral names.
|
|
66
|
+
The scaffolded `AGENTS.md` says the same thing to your coding agent, and no
|
|
67
|
+
longer claims a bare model id is "resolved through OpenRouter".
|
|
68
|
+
- **`stackbone docs cli/local-development` documents the boot gate**: the real
|
|
69
|
+
stage order (the emulator and tunnel come up before the gate, your workflows
|
|
70
|
+
and agents after it), the two ways the gate opens (a model provider resolves,
|
|
71
|
+
or somebody completed the first run), the `gate` object in `--json`, and how to
|
|
72
|
+
run the guided setup again from Studio. The old promise that a workspace with
|
|
73
|
+
no provider "boots fine" and only `client.ai` 404s is gone: it was never true
|
|
74
|
+
for the agent `init` scaffolds. `cli/commands`, `cli/configuration`,
|
|
75
|
+
`cli/getting-started` and `cli/troubleshooting` follow, with a new
|
|
76
|
+
troubleshooting entry that tells "waiting for a model provider" apart from
|
|
77
|
+
"your agent has a bug".
|
|
78
|
+
- **`stackbone init` no longer implies the dev command runs with nothing
|
|
79
|
+
configured.** Its "Next steps" note says the first run stops for setup.
|
|
80
|
+
|
|
10
81
|
## [0.2.8] - 2026-07-22
|
|
11
82
|
|
|
12
83
|
### Fixed
|
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ That's it. `init` scaffolds a new workspace shell (agents + workflows + coding-a
|
|
|
25
25
|
| `stackbone add <kind> <name>` | Add an agent / workflow / workflow-agent to the workspace (offline). |
|
|
26
26
|
| `stackbone dev` | Boot the whole workspace locally + Stackbone Studio. |
|
|
27
27
|
| `stackbone workflows <verb>` | List, inspect the schema of, or start the install's workflows. |
|
|
28
|
-
| `stackbone
|
|
28
|
+
| `stackbone build` | Compile the workspace into the bundle your container image bakes in. |
|
|
29
29
|
| `stackbone login` / `logout` | Authenticate the CLI via the device-code flow (RFC 8628). |
|
|
30
30
|
| `stackbone whoami` | Show the active user and organization. |
|
|
31
31
|
| `stackbone current` | Print the organization currently linked to this session. |
|