stageflow 0.30.0 → 0.31.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.
@@ -13,7 +13,7 @@
13
13
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&display=swap" />
14
14
  <link rel="icon" type="image/svg+xml" href="/stageflow-icon.svg" />
15
15
  <title>Stageflow</title>
16
- <script type="module" crossorigin src="/assets/index-CntB4bZR.js"></script>
16
+ <script type="module" crossorigin src="/assets/index-p8Iou3zk.js"></script>
17
17
  <link rel="stylesheet" crossorigin href="/assets/index-Bv4p1aPK.css">
18
18
  </head>
19
19
  <body>
@@ -21,7 +21,7 @@ system_prompt: |
21
21
  - Do not emit fork_choice. Routing is deterministic from payload.branch.
22
22
  - Never invent other branch values.
23
23
  - Put only the id the operator chose in payload.branch.
24
- model: cursor/auto
24
+ model: cursor/composer-2-5
25
25
  io:
26
26
  input:
27
27
  schema:
@@ -20,7 +20,7 @@ CI helpers: `scripts/release-range.mjs` resolves previous from published GitHub
20
20
  ## Prerequisites
21
21
 
22
22
  - Node.js ≥ 20, Stageflow installed
23
- - **Cursor** (`cursor/composer-2-5`) — set `CURSOR_API_KEY` and install `pi-cursor-sdk` (`pi install npm:pi-cursor-sdk`, or `npm i --prefix ~/.pi/agent/npm pi-cursor-sdk`)
23
+ - **Cursor** (`cursor/composer-2-5`) — set `CURSOR_API_KEY` (`pi-cursor-sdk` is included when you install Stageflow from npm or run `npm ci` in this repo). Optional: `STAGEFLOW_CURSOR_EXTENSION` for a custom extension path.
24
24
  - **`gh` CLI** and `GH_TOKEN` or `GITHUB_TOKEN` for publish stage
25
25
  - Git checkout of the Stageflow repo (stages read version/tags from the bound checkout)
26
26
 
@@ -30,11 +30,25 @@ Optional env vars (set by publish workflow): `RELEASE_VERSION`, `RELEASE_TAG`, `
30
30
 
31
31
  ## Commands
32
32
 
33
- From the **repository git root**:
33
+ From the **repository git root** (same env model as `.github/workflows/publish.yml`):
34
+
35
+ **Important:** `sf run` talks to the global Stageflow Host on port **3847**. If `sf ui` is already running, it was started with *that* process environment — not the variables you export in a second terminal. Either stop the Host and run the release in one shell (autostart picks up your env), or restart the Host with `STAGEFLOW_STAGE_ENV_ALLOW=CURSOR_API_KEY` and `CURSOR_API_KEY` set first.
36
+
37
+ ```bash
38
+ bash scripts/run-github-release-local.sh
39
+ ```
40
+
41
+ Optional dry run (skips `gh release create` in stage 2):
42
+
43
+ ```bash
44
+ DRY_RUN=1 bash scripts/run-github-release-local.sh
45
+ ```
46
+
47
+ Manual equivalent:
34
48
 
35
49
  ```bash
36
50
  sf validate --strict
37
- export CURSOR_API_KEY=…
51
+ export CURSOR_API_KEY=… # no trailing newline; or use repo-root .env
38
52
  export GH_TOKEN=…
39
53
  CURRENT="$(node -p "require('./package.json').version")"
40
54
  PREVIOUS="$(node scripts/release-range.mjs previous --current "$CURRENT")"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stageflow",
3
- "version": "0.30.0",
3
+ "version": "0.31.0",
4
4
  "description": "Stageflow — CLI pipeline runtime for configurable stages on Pi",
5
5
  "type": "module",
6
6
  "bin": {
@@ -66,9 +66,9 @@
66
66
  "dependencies": {
67
67
  "@a2a-js/sdk": "1.1.0",
68
68
  "@anthropic-ai/claude-agent-sdk": "^0.3.263",
69
- "@earendil-works/pi-ai": "^0.84.1",
70
- "@earendil-works/pi-coding-agent": "^0.84.1",
71
- "@earendil-works/pi-tui": "^0.84.4",
69
+ "@earendil-works/pi-ai": "^0.99.1",
70
+ "@earendil-works/pi-coding-agent": "^0.99.1",
71
+ "@earendil-works/pi-tui": "^0.99.1",
72
72
  "@modelcontextprotocol/node": "^2.0.0",
73
73
  "@modelcontextprotocol/server": "^2.0.0",
74
74
  "better-sqlite3": "^13.0.3",
@@ -76,6 +76,7 @@
76
76
  "imapflow": "^2.1.2",
77
77
  "jiti": "^2.7.0",
78
78
  "octokit": "^5.0.5",
79
+ "pi-cursor-sdk": "^0.5.0",
79
80
  "pi-mcp-adapter": "^2.32.1",
80
81
  "semver": "^7.8.5",
81
82
  "typebox": "^1.3.7",