@mutmutco/opencode-mmi 2.49.0 → 2.50.1
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/dist/index.js +4 -0
- package/package.json +6 -1
- package/skills/grind/references/auto.md +2 -1
package/dist/index.js
CHANGED
|
@@ -153,6 +153,10 @@ function shellBlockReason(command) {
|
|
|
153
153
|
if (logDump && !boundedLogCommand(cmd)) {
|
|
154
154
|
return 'Full log dumps flood context. Re-run with `Get-Content file.log -Tail 80`, `... | Select-Object -Last 80` (PowerShell), or `tail -n 80 file.log` (Bash).';
|
|
155
155
|
}
|
|
156
|
+
if (/\bgit(?:\s+(?:-C\s+\S+|--no-pager|-c\s+\S+))*\s+push\b/i.test(cmd) &&
|
|
157
|
+
/(?:\s--delete\s|\s-d\s)/i.test(cmd)) {
|
|
158
|
+
return 'Raw `git push --delete` fails when GitHub already removed the branch on merge. Use `mmi-cli pr land <n> --json` or `mmi-cli pr merge <n>` for idempotent branch/worktree cleanup instead.';
|
|
159
|
+
}
|
|
156
160
|
return undefined;
|
|
157
161
|
}
|
|
158
162
|
async function beforeTool(input, output) {
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mutmutco/opencode-mmi",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.50.1",
|
|
4
4
|
"description": "MMI Future OpenCode adapter — registers mmi, secrets, stage, rcand, release, hotfix, bootstrap, grind, build, handoff, coop, and browser-automation skills, workflow commands, and deterministic guardrail hooks.",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
6
7
|
"license": "UNLICENSED",
|
|
7
8
|
"author": {
|
|
8
9
|
"name": "MMI Future",
|
|
@@ -21,6 +22,10 @@
|
|
|
21
22
|
".": {
|
|
22
23
|
"types": "./dist/index.d.ts",
|
|
23
24
|
"import": "./dist/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./server": {
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"import": "./dist/index.js"
|
|
24
29
|
}
|
|
25
30
|
},
|
|
26
31
|
"files": [
|
|
@@ -81,7 +81,8 @@ before building (fail fast; do not waste a full grind on a PR you cannot land).
|
|
|
81
81
|
checkout to an up-to-date `development`). Base must be `development`. Never land promotion PRs.
|
|
82
82
|
Cleanup is **automatic at the branch/PR boundary** — a successful land/merge removes that grind
|
|
83
83
|
worktree + local branch and fast-forwards the checkout onto `development` (when its tree is clean);
|
|
84
|
-
never hand-run `git checkout development` / `git worktree remove`
|
|
84
|
+
never hand-run `git checkout development` / `git worktree remove` / `git push origin --delete` afterward
|
|
85
|
+
(#1606, #1995). For shared
|
|
85
86
|
sequential same-repo work, make the execution group one branch/PR where possible; do not land each
|
|
86
87
|
issue separately and then pretend the same active worktree continues. Active-batch PR:
|
|
87
88
|
`pr land <n> --preserve-worktree --json` skips local cleanup; clean at end (#1888).
|