@jiggai/recipes 0.4.56 → 0.4.57
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/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jiggai/recipes",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.57",
|
|
4
4
|
"description": "ClawRecipes plugin for OpenClaw (markdown recipes -> scaffold agents/teams)",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"pluginApiRange": ">=2026.3"
|
|
14
14
|
},
|
|
15
15
|
"build": {
|
|
16
|
-
"openclawVersion": "2026.
|
|
16
|
+
"openclawVersion": "2026.4.20"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"publishConfig": {
|
|
@@ -542,6 +542,10 @@ templates:
|
|
|
542
542
|
[[ "$1" =~ ^[a-z0-9][a-z0-9-]{0,62}$ ]]
|
|
543
543
|
}
|
|
544
544
|
|
|
545
|
+
safe_ref() {
|
|
546
|
+
[[ "$1" =~ ^[A-Za-z0-9][A-Za-z0-9._/-]{0,199}$ ]]
|
|
547
|
+
}
|
|
548
|
+
|
|
545
549
|
cmd="${1:-}"
|
|
546
550
|
shift || true
|
|
547
551
|
|
|
@@ -635,6 +639,14 @@ templates:
|
|
|
635
639
|
echo "Worktree directory already exists: $worktree_dir" >&2
|
|
636
640
|
exit 2
|
|
637
641
|
fi
|
|
642
|
+
if ! safe_ref "$base_ref"; then
|
|
643
|
+
echo "invalid --base-ref: must match ^[A-Za-z0-9][A-Za-z0-9._/-]{0,199}$" >&2
|
|
644
|
+
exit 2
|
|
645
|
+
fi
|
|
646
|
+
if ! safe_ref "$branch"; then
|
|
647
|
+
echo "invalid --branch: must match ^[A-Za-z0-9][A-Za-z0-9._/-]{0,199}$" >&2
|
|
648
|
+
exit 2
|
|
649
|
+
fi
|
|
638
650
|
git worktree add "$worktree_dir" -b "$branch" "$base_ref"
|
|
639
651
|
|
|
640
652
|
# Start tmux session.
|