@seanyao/roll 3.618.2 → 3.618.3

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
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## v3.618.3 — 2026-06-18
6
+
7
+ ### 修复
8
+
9
+ - **showcase 在全局安装下 agent probe 崩溃**:`rollBin()` 定位到全局包的 `conventions/` 而找不到本地 `roll.js`,子进程直接崩掉判所有 agent 不可用;现加回退:本地不存在时走 PATH 的 `roll`。`[showcase]`
10
+
5
11
  ## v3.618.2 — 2026-06-18
6
12
 
7
13
  ### 改进
package/dist/roll.mjs CHANGED
@@ -11110,7 +11110,10 @@ function packageRoot() {
11110
11110
  return dir;
11111
11111
  }
11112
11112
  function rollBin3() {
11113
- return join74(packageRoot(), "packages", "cli", "bin", "roll.js");
11113
+ const devPath = join74(packageRoot(), "packages", "cli", "bin", "roll.js");
11114
+ if (existsSync74(devPath))
11115
+ return devPath;
11116
+ return "roll";
11114
11117
  }
11115
11118
  function runRoll(sandbox, rollHome4, args, opts = {}) {
11116
11119
  const env = {
@@ -11123,7 +11126,9 @@ function runRoll(sandbox, rollHome4, args, opts = {}) {
11123
11126
  } else {
11124
11127
  env.ROLL_HOME = rollHome4;
11125
11128
  }
11126
- const r = spawnSync10(process.execPath, [rollBin3(), ...args], {
11129
+ const bin = rollBin3();
11130
+ const [cmd, cmdArgs] = bin === "roll" ? [bin, args] : [process.execPath, [bin, ...args]];
11131
+ const r = spawnSync10(cmd, cmdArgs, {
11127
11132
  cwd: sandbox,
11128
11133
  env,
11129
11134
  encoding: "utf8",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seanyao/roll",
3
- "version": "3.618.2",
3
+ "version": "3.618.3",
4
4
  "description": "Roll — Roll out features with AI agents",
5
5
  "packageManager": "pnpm@11.1.3",
6
6
  "scripts": {