@seanyao/roll 2026.511.2 → 2026.511.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 +4 -0
- package/bin/roll +13 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v2026.511.3
|
|
4
|
+
- **Fixed**: loop/dream/brief 多项目运行隔离 — 共享 run.sh 导致所有项目的 loop 在同一目录执行,改为每个项目独立 runner 脚本(run-{slug}.sh),彻底隔离多项目并发执行环境
|
|
5
|
+
- **Fixed**: roll release 自发版拦截 — 在 roll 自身项目执行 `roll release` 时自动拦截并提示改用 scripts/release.sh,防止误操作绕过 2FA
|
|
6
|
+
|
|
3
7
|
## v2026.511.2
|
|
4
8
|
- **Added**: roll loop monitor 三服务状态 — 监控台新增 loop/dream/brief 三个 launchd 服务的运行状态、调度时间和实时 log tail,一屏掌握全局执行情况
|
|
5
9
|
- **Fixed**: dashboard 多处展示问题 — 修复 pending_count 算术错误、brief 内联显示 release readiness、移除底部冗余命令列表
|
package/bin/roll
CHANGED
|
@@ -4,7 +4,7 @@ set -euo pipefail
|
|
|
4
4
|
# Roll — AI Agent Convention Manager
|
|
5
5
|
# Single source of truth for how all AI coding agents behave.
|
|
6
6
|
|
|
7
|
-
VERSION="2026.511.
|
|
7
|
+
VERSION="2026.511.3"
|
|
8
8
|
ROLL_HOME="${ROLL_HOME:-${HOME}/.roll}"
|
|
9
9
|
ROLL_CONFIG="${ROLL_HOME}/config.yaml"
|
|
10
10
|
ROLL_GLOBAL="${ROLL_HOME}/conventions/global"
|
|
@@ -1837,7 +1837,8 @@ _install_launchd_plists() {
|
|
|
1837
1837
|
local hour="${hours[$i]}"
|
|
1838
1838
|
local label; label=$(_launchd_label "$svc" "$project_path")
|
|
1839
1839
|
local plist; plist=$(_launchd_plist_path "$svc" "$project_path")
|
|
1840
|
-
local
|
|
1840
|
+
local slug; slug=$(_project_slug "$project_path")
|
|
1841
|
+
local runner="${shared}/${svc}/run-${slug}.sh"
|
|
1841
1842
|
local log="${shared}/${svc}/cron.log"
|
|
1842
1843
|
local cmd; cmd=$(_agent_skill_cmd "${sd}/${skill}/SKILL.md" 2>/dev/null || echo "roll loop now")
|
|
1843
1844
|
|
|
@@ -1958,6 +1959,10 @@ _loop_off() {
|
|
|
1958
1959
|
if ! $any_loaded; then
|
|
1959
1960
|
warn "Loop not enabled for this project 当前项目 loop 未启用"; return 0
|
|
1960
1961
|
fi
|
|
1962
|
+
local slug; slug=$(_project_slug "$project_path")
|
|
1963
|
+
for svc in loop dream brief; do
|
|
1964
|
+
rm -f "${_SHARED_ROOT}/${svc}/run-${slug}.sh"
|
|
1965
|
+
done
|
|
1961
1966
|
ok "Loop disabled 已停用"
|
|
1962
1967
|
return 0
|
|
1963
1968
|
fi
|
|
@@ -2221,6 +2226,12 @@ cmd_brief() {
|
|
|
2221
2226
|
}
|
|
2222
2227
|
|
|
2223
2228
|
cmd_release() {
|
|
2229
|
+
local pkg; pkg=$(node -p "require('./package.json').name" 2>/dev/null || true)
|
|
2230
|
+
if [[ "$pkg" == "@seanyao/roll" ]]; then
|
|
2231
|
+
err "roll 自身发版请用 scripts/release.sh(npm publish 需要人工 2FA)"
|
|
2232
|
+
echo " Run: scripts/release.sh"
|
|
2233
|
+
exit 1
|
|
2234
|
+
fi
|
|
2224
2235
|
_agent_run_skill "roll-release"
|
|
2225
2236
|
}
|
|
2226
2237
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seanyao/roll",
|
|
3
|
-
"version": "2026.511.
|
|
3
|
+
"version": "2026.511.3",
|
|
4
4
|
"description": "Roll — Roll out features with AI agents",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "find tests/unit tests/integration -name '*.bats' | sort | xargs ./tests/helpers/bats-core/bin/bats"
|