@mrrlin-dev/mcp 0.3.25 → 0.3.26
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/bin.cjs +10 -2
- package/package.json +3 -3
package/dist/bin.cjs
CHANGED
|
@@ -38781,7 +38781,7 @@ Do NOT derail the current task - if the operator has an in-flight question, answ
|
|
|
38781
38781
|
}
|
|
38782
38782
|
|
|
38783
38783
|
// src/_generated/version.ts
|
|
38784
|
-
var PKG_VERSION = "0.3.
|
|
38784
|
+
var PKG_VERSION = "0.3.26";
|
|
38785
38785
|
|
|
38786
38786
|
// src/api-base-url.ts
|
|
38787
38787
|
var DEFAULT_API_BASE_URL = "http://127.0.0.1:8787";
|
|
@@ -40737,12 +40737,19 @@ async function doPushRunBranch(opts, execGit) {
|
|
|
40737
40737
|
}
|
|
40738
40738
|
async function sweepOrphanWorktrees(opts) {
|
|
40739
40739
|
const reaped = [];
|
|
40740
|
+
const ownedPrefix = (() => {
|
|
40741
|
+
try {
|
|
40742
|
+
return (0, import_node_fs4.realpathSync)(opts.worktreeRoot);
|
|
40743
|
+
} catch {
|
|
40744
|
+
return opts.worktreeRoot;
|
|
40745
|
+
}
|
|
40746
|
+
})() + import_node_path5.sep + opts.slug + import_node_path5.sep;
|
|
40740
40747
|
await withCheckoutLock(opts.locksDir, opts.slug, async () => {
|
|
40741
40748
|
const listing = git(opts.checkout, ["worktree", "list", "--porcelain"]);
|
|
40742
40749
|
for (const block of listing.split("\n\n")) {
|
|
40743
40750
|
const m = /^worktree (.+)$/m.exec(block);
|
|
40744
40751
|
const wt = m?.[1];
|
|
40745
|
-
if (wt && wt.
|
|
40752
|
+
if (wt && wt.startsWith(ownedPrefix) && opts.isReapable(wt)) {
|
|
40746
40753
|
try {
|
|
40747
40754
|
git(opts.checkout, ["worktree", "remove", "--force", wt]);
|
|
40748
40755
|
reaped.push(wt);
|
|
@@ -47052,6 +47059,7 @@ async function runOrphanWorktreeSweep(client, opts) {
|
|
|
47052
47059
|
try {
|
|
47053
47060
|
const reaped = await sweepOrphanWorktrees({
|
|
47054
47061
|
checkout: checkout.path,
|
|
47062
|
+
worktreeRoot: opts.worktreeRoot,
|
|
47055
47063
|
locksDir: opts.locksDir,
|
|
47056
47064
|
slug,
|
|
47057
47065
|
isReapable
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrrlin-dev/mcp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.26",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"mrrlin-mcp": "dist/bin.cjs"
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"@types/ws": "^8.18.1",
|
|
23
23
|
"esbuild": "^0.24.0",
|
|
24
24
|
"tsx": "^4.22.3",
|
|
25
|
-
"@mrrlin/director-e2e": "0.0.0",
|
|
26
25
|
"@mrrlin/schemas": "0.0.0",
|
|
27
26
|
"@mrrlin/wiki": "0.0.0",
|
|
28
|
-
"@mrrlin/
|
|
27
|
+
"@mrrlin/director-e2e": "0.0.0",
|
|
29
28
|
"@mrrlin/tsconfig": "0.0.0",
|
|
29
|
+
"@mrrlin/client": "0.0.0",
|
|
30
30
|
"@mrrlin/codex-client": "0.0.0"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|