moflo 4.8.68 → 4.8.69
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "moflo",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.69",
|
|
4
4
|
"description": "MoFlo — AI agent orchestration for Claude Code. Forked from ruflo/claude-flow with patches applied to source, plus feature-level orchestration.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"@types/js-yaml": "^4.0.9",
|
|
113
113
|
"@types/node": "^20.19.37",
|
|
114
114
|
"eslint": "^8.0.0",
|
|
115
|
-
"moflo": "^4.8.
|
|
115
|
+
"moflo": "^4.8.68",
|
|
116
116
|
"tsx": "^4.21.0",
|
|
117
117
|
"typescript": "^5.9.3",
|
|
118
118
|
"vitest": "^4.0.0"
|
|
@@ -88,7 +88,9 @@ steps:
|
|
|
88
88
|
command: "git remote get-url origin"
|
|
89
89
|
hint: "This repo has no 'origin' remote. Set one with: git remote add origin <url>"
|
|
90
90
|
config:
|
|
91
|
-
|
|
91
|
+
# set -e: fail fast if checkout/pull fails; otherwise the trailing
|
|
92
|
+
# `stash pop ... || true` would mask the real failure.
|
|
93
|
+
command: "set -e; git stash --include-untracked -q 2>/dev/null || true; git checkout {args.base_branch}; git pull origin {args.base_branch}; git stash pop -q 2>/dev/null || true"
|
|
92
94
|
failOnError: true
|
|
93
95
|
|
|
94
96
|
# 2: Spawn Claude agent to implement the story (creates branch + PR)
|
|
@@ -122,7 +124,8 @@ steps:
|
|
|
122
124
|
- id: pull-merged
|
|
123
125
|
type: bash
|
|
124
126
|
config:
|
|
125
|
-
|
|
127
|
+
# set -e: fail fast if checkout/pull fails (see checkout-base).
|
|
128
|
+
command: "set -e; git stash --include-untracked -q 2>/dev/null || true; git checkout {args.base_branch}; git pull origin {args.base_branch}; git stash pop -q 2>/dev/null || true"
|
|
126
129
|
failOnError: true
|
|
127
130
|
|
|
128
131
|
# 6: Comment on epic with progress
|
|
@@ -82,7 +82,11 @@ steps:
|
|
|
82
82
|
command: "gh auth status"
|
|
83
83
|
hint: "The GitHub CLI isn't signed in. Run: gh auth login"
|
|
84
84
|
config:
|
|
85
|
-
|
|
85
|
+
# set -e: any failing step aborts the whole command. Without it, the
|
|
86
|
+
# trailing `git stash pop ... || true` would swallow real failures
|
|
87
|
+
# (e.g., checkout/pull/branch-create errors) and report success,
|
|
88
|
+
# leaving later steps to crash when the epic branch isn't there.
|
|
89
|
+
command: "set -e; git stash --include-untracked -q 2>/dev/null || true; git checkout {args.base_branch}; git pull origin {args.base_branch}; BRANCH=\"epic/{args.epic_number}-{args.epic_slug}\"; if git show-ref --verify --quiet \"refs/heads/$BRANCH\"; then git checkout \"$BRANCH\"; else git checkout -b \"$BRANCH\"; fi; git stash pop -q 2>/dev/null || true"
|
|
86
90
|
timeout: 120000
|
|
87
91
|
failOnError: true
|
|
88
92
|
|