@modootoday/pmcp 0.18.0 → 0.18.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/.agents/plugins/marketplace.json +1 -1
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +2 -2
- package/.mcp.json +1 -1
- package/CONTRIBUTING.md +80 -0
- package/README.md +100 -206
- package/SECURITY.md +17 -1
- package/dist/{apply-4IGTXOCQ.js → apply-S2QI72W3.js} +13 -13
- package/dist/{available-DBSIVVJ6.js → available-GFMTJW4E.js} +3 -3
- package/dist/{broadcast-3RY3OZGY.js → broadcast-CBMVOV3G.js} +4 -4
- package/dist/{chunk-SG5TPMKH.js → chunk-26WLNWDG.js} +2 -2
- package/dist/{chunk-4VCC2NXE.js → chunk-2RTRY45B.js} +2 -2
- package/dist/{chunk-3NYG4SGU.js → chunk-3MEYKFFO.js} +3 -3
- package/dist/{chunk-KMXRRSKT.js → chunk-4CRRLDDS.js} +1 -1
- package/dist/{chunk-ZH6R642Z.js → chunk-4GSGT55G.js} +2 -2
- package/dist/{chunk-EJBZGIDK.js → chunk-6BN35BHI.js} +3 -3
- package/dist/{chunk-T3LKX23M.js → chunk-7B6IC3F7.js} +3 -3
- package/dist/{chunk-25GHX674.js → chunk-7DEYLLIE.js} +9 -9
- package/dist/{chunk-ELAGZ635.js → chunk-7PTG42QU.js} +5 -5
- package/dist/chunk-AF2IBMWN.js +7 -0
- package/dist/{chunk-IGYRMM62.js → chunk-CKTN6LKP.js} +2 -2
- package/dist/{chunk-PLX3BOOS.js → chunk-E5XVSMBR.js} +2 -2
- package/dist/{chunk-Q65R3XKX.js → chunk-EAWPJHJ7.js} +2 -2
- package/dist/{chunk-7BLPN3W6.js → chunk-F5LEGPGP.js} +2 -2
- package/dist/{chunk-BBTBJCFA.js → chunk-F5WBMUOT.js} +2 -2
- package/dist/{chunk-YMHUM7AV.js → chunk-F5XMGOOX.js} +7 -1
- package/dist/{chunk-R4L6LJJ2.js → chunk-FX3LTTMB.js} +2 -2
- package/dist/{chunk-5QQWS4US.js → chunk-HEBCQTOD.js} +2 -2
- package/dist/{chunk-NZS5CD72.js → chunk-HEWZ6INU.js} +21 -5
- package/dist/{chunk-MWFOUBFC.js → chunk-HFE4QDJQ.js} +2 -2
- package/dist/{chunk-N5AQ3PP7.js → chunk-HQWVGU3W.js} +5 -5
- package/dist/{chunk-UOCLRM7P.js → chunk-IIBB37JE.js} +22 -22
- package/dist/{chunk-MPSQXSC6.js → chunk-ISZOLR3D.js} +5 -3
- package/dist/{chunk-J6QLLQVL.js → chunk-JM2KR2WJ.js} +5 -5
- package/dist/{chunk-CJTKR6K6.js → chunk-JZK7ZO7K.js} +2 -2
- package/dist/{chunk-RK4PYD7L.js → chunk-LBXO4VPG.js} +2 -2
- package/dist/{chunk-BVCTKPT3.js → chunk-LMUBBIE2.js} +2 -2
- package/dist/{chunk-Z4HRRXRF.js → chunk-LTZH5E3G.js} +6 -5
- package/dist/{chunk-MM2Y43LC.js → chunk-M455QSCW.js} +3 -3
- package/dist/{chunk-7GBYECSK.js → chunk-NLHLA2N5.js} +3 -3
- package/dist/{chunk-HDMBVLCZ.js → chunk-NWOV2E26.js} +2 -2
- package/dist/{chunk-PWSJJXLQ.js → chunk-QK4G7FCU.js} +8 -8
- package/dist/{chunk-47O3X4VS.js → chunk-QRCAGKC6.js} +1 -1
- package/dist/{chunk-665TA55Z.js → chunk-TAOOPXBV.js} +2 -2
- package/dist/{chunk-JUXNIXN4.js → chunk-TZORR6GZ.js} +2 -2
- package/dist/{chunk-LAZQBMAU.js → chunk-WM2RF2MI.js} +3 -3
- package/dist/{chunk-65ZHM5RH.js → chunk-XJUNAVU2.js} +9 -9
- package/dist/{chunk-TNCZ6444.js → chunk-Y2XASHVY.js} +2 -2
- package/dist/{cli-VYCQJZ5X.js → cli-MI4ZCAZ3.js} +9 -9
- package/dist/{cli-ZTCBSDW4.js → cli-ZN7ZVDEZ.js} +3 -3
- package/dist/cli.js +4 -4
- package/dist/{completion-E7RRG3ZT.js → completion-GYN7PX3T.js} +3 -3
- package/dist/{diagnostics-XXH4FLUG.js → diagnostics-WACXQ33W.js} +6 -6
- package/dist/{doctor-ZIOESU3N.js → doctor-VSQ72A6X.js} +13 -13
- package/dist/{entry-ZNFCTDVE.js → entry-VFEZC2XB.js} +10 -10
- package/dist/{exec-mcp-X6372BLE.js → exec-mcp-TOQEJFK3.js} +8 -8
- package/dist/{harness-F2XFDYXF.js → harness-XCEWFGCG.js} +5 -5
- package/dist/harness-launch-gate.js +4 -4
- package/dist/harness-worker.js +6 -6
- package/dist/hook-body.js +7 -6
- package/dist/{hooks-FYE2L5RW.js → hooks-32AFBC3Z.js} +3 -3
- package/dist/{host-X6BR6X4O.js → host-72OLHUX7.js} +20 -10
- package/dist/{host-GRY3VAHH.js → host-TE5PNDHJ.js} +7 -7
- package/dist/{host-run-GCA6H6SR.js → host-run-MXCH26ZD.js} +5 -5
- package/dist/http.js +5 -5
- package/dist/{import-mcp-2TTBPVLY.js → import-mcp-QWGZSIZR.js} +6 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.js +18 -18
- package/dist/{init-627KFXTG.js → init-5M3XWOTJ.js} +2 -2
- package/dist/{install-GG7HHZK2.js → install-MQ7QSJQ7.js} +3 -3
- package/dist/{invoke-LW22Z6ET.js → invoke-SFSN4XT7.js} +8 -8
- package/dist/{list-MCP2FXUF.js → list-FB6RNYYB.js} +3 -3
- package/dist/{list-NGMSQ5SH.js → list-FGDUU5DL.js} +8 -8
- package/dist/{logout-6CSHUWWE.js → logout-KM5N5GOC.js} +7 -7
- package/dist/{logs-SPB6AANY.js → logs-TBUA4UWU.js} +4 -4
- package/dist/mailbox/index.js +4 -4
- package/dist/{mailbox-GDJ7BWQN.js → mailbox-5DWLH4W2.js} +3 -3
- package/dist/{mailbox-7BV54Q4R.js → mailbox-BMTZOSZ7.js} +4 -4
- package/dist/{mainline-JQTTYJMI.js → mainline-KAD2ERLP.js} +2 -2
- package/dist/{mcp-V23HC3LB.js → mcp-FJ2UQ4RH.js} +2 -2
- package/dist/{mcp-2DKVU3SW.js → mcp-ND6ZQWJE.js} +2 -2
- package/dist/{pause-FFAYRBWI.js → pause-7LILUVGL.js} +4 -4
- package/dist/{project-FY62G55N.js → project-LZKQUV2W.js} +4 -4
- package/dist/{reindex-Y27QJFDB.js → reindex-ZULHSQWY.js} +5 -5
- package/dist/{resume-UU4HZIUP.js → resume-26VFAAMH.js} +4 -4
- package/dist/{run-HALGEJNJ.js → run-X4663F4M.js} +4 -4
- package/dist/{run-OGA3P7FC.js → run-YEVGHGTN.js} +7 -7
- package/dist/{serve-NBKT5BKY.js → serve-S7MF42SS.js} +12 -12
- package/dist/{start-login-UIQYQBMC.js → start-login-GKFGTE2A.js} +7 -7
- package/dist/{status-NOOHW5WA.js → status-FYG6XYQ6.js} +7 -7
- package/dist/{status-VHODZPXB.js → status-RO55QPKV.js} +4 -4
- package/dist/{status-XQANBVXW.js → status-XG5GRWVU.js} +11 -11
- package/dist/stdio.js +7 -7
- package/dist/{sweep-64JDCGK6.js → sweep-35LGQTTO.js} +4 -4
- package/dist/{test-MKAXFJOL.js → test-KFDO6ROC.js} +7 -7
- package/dist/{tui-MWKAXE4K.js → tui-2MP7DRIX.js} +5 -5
- package/dist/{unbroadcast-KPUEFLZD.js → unbroadcast-5QNGAJR2.js} +4 -4
- package/dist/{validate-5GZ5YWNA.js → validate-AVM2VHMM.js} +4 -4
- package/dist/{worker-RQ575EJL.js → worker-3VS6RQEL.js} +8 -8
- package/docs/authoring.md +82 -0
- package/docs/browser-and-desktop.md +46 -0
- package/docs/commands.md +325 -0
- package/docs/compare.md +35 -0
- package/docs/compatibility.md +56 -0
- package/docs/embeddings.md +1 -1
- package/docs/getting-started.md +105 -0
- package/docs/git-workflow.md +60 -0
- package/docs/glossary.md +31 -0
- package/docs/hooks.md +264 -0
- package/docs/install.md +72 -0
- package/docs/known-issues.md +17 -0
- package/docs/library-skills.md +132 -0
- package/docs/mailbox.md +16 -5
- package/docs/project-configuration.md +51 -386
- package/docs/sessions.md +64 -0
- package/docs/skills.md +4 -45
- package/docs/terminal-harness.md +26 -21
- package/docs/terminal-workspace.md +4 -13
- package/docs/upgrading.md +23 -0
- package/gemini-extension.json +2 -2
- package/mcp.json +1 -1
- package/package.json +8 -7
- package/plugin.json +2 -2
- package/plugins/pmcp/.claude-plugin/plugin.json +2 -2
- package/plugins/pmcp/.mcp.json +1 -1
- package/plugins/pmcp/gemini-extension.json +2 -2
- package/plugins/pmcp/mcp.json +1 -1
- package/plugins/pmcp/mod/sessions/types.ts +1 -1
- package/plugins/pmcp/plugin.json +2 -2
- package/plugins/pmcp/skills/agent-assets-migrate/SKILL.md +8 -8
- package/plugins/pmcp/skills/headless-agents-ci-scaffold/SKILL.md +12 -11
- package/plugins/pmcp/skills/marketplace-plugin-scaffold/SKILL.md +10 -8
- package/plugins/pmcp/skills/package-skill-catalog/SKILL.md +0 -4
- package/plugins/pmcp/skills/pmcp-browser/SKILL.md +27 -0
- package/plugins/pmcp/skills/pmcp-desktop/SKILL.md +25 -0
- package/plugins/pmcp/skills/pmcp-project-init/SKILL.md +19 -11
- package/plugins/pmcp/skills/pmcp-sessions-and-git/SKILL.md +20 -28
- package/plugins/pmcp/skills/skill-package-scaffold/SKILL.md +16 -15
- package/schema/catalog-v1.json +36 -7
- package/schema/library.json +40 -8
- package/schema/marketplace-manifest.json +19 -5
- package/schema/plugin-manifest.json +6 -2
- package/schema/skill-frontmatter.json +33 -7
- package/schema/skill-metadata-core.json +26 -5
- package/skills/agent-assets-migrate/SKILL.md +8 -8
- package/skills/headless-agents-ci-scaffold/SKILL.md +12 -11
- package/skills/marketplace-plugin-scaffold/SKILL.md +10 -8
- package/skills/package-skill-catalog/SKILL.md +0 -4
- package/skills/pmcp-browser/SKILL.md +27 -0
- package/skills/pmcp-desktop/SKILL.md +25 -0
- package/skills/pmcp-project-init/SKILL.md +19 -11
- package/skills/pmcp-sessions-and-git/SKILL.md +20 -28
- package/skills/skill-package-scaffold/SKILL.md +16 -15
- package/CHANGELOG.md +0 -60
- package/dist/chunk-E7OOHLQR.js +0 -7
- package/docs/manual-library-skills.md +0 -74
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
runtimeSchema,
|
|
10
10
|
sendSchema,
|
|
11
11
|
sessionsSchema
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QRCAGKC6.js";
|
|
13
13
|
import {
|
|
14
14
|
openSqlite
|
|
15
15
|
} from "./chunk-6STKGOCW.js";
|
|
@@ -1210,4 +1210,4 @@ export {
|
|
|
1210
1210
|
restoreBackup,
|
|
1211
1211
|
MailboxService
|
|
1212
1212
|
};
|
|
1213
|
-
//# sourceMappingURL=chunk-
|
|
1213
|
+
//# sourceMappingURL=chunk-JZK7ZO7K.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openStore,
|
|
3
3
|
readStoreSettings
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-26WLNWDG.js";
|
|
5
5
|
import {
|
|
6
6
|
ArgumentError,
|
|
7
7
|
one
|
|
@@ -70,4 +70,4 @@ export {
|
|
|
70
70
|
storeFrom,
|
|
71
71
|
change
|
|
72
72
|
};
|
|
73
|
-
//# sourceMappingURL=chunk-
|
|
73
|
+
//# sourceMappingURL=chunk-LBXO4VPG.js.map
|
|
@@ -37,7 +37,7 @@ var sessionsSpec = {
|
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
name: "to",
|
|
40
|
-
describe: "Message recipients: all, session:<id>, alias:<name>, role:<name> or desk:<path
|
|
40
|
+
describe: "Message recipients: all, session:<id>, alias:<name>, role:<name> or worktree:<path> (desk:<path> also works). Repeatable.",
|
|
41
41
|
placeholder: "<selector>",
|
|
42
42
|
repeat: true
|
|
43
43
|
},
|
|
@@ -80,4 +80,4 @@ export {
|
|
|
80
80
|
JSON_VERBS,
|
|
81
81
|
sessionsSpec
|
|
82
82
|
};
|
|
83
|
-
//# sourceMappingURL=chunk-
|
|
83
|
+
//# sourceMappingURL=chunk-LMUBBIE2.js.map
|
|
@@ -15,13 +15,14 @@ import {
|
|
|
15
15
|
|
|
16
16
|
// src/sessions/mailbox/select.ts
|
|
17
17
|
import { basename, resolve } from "path";
|
|
18
|
-
var KINDS = ["session", "alias", "role", "desk"];
|
|
18
|
+
var KINDS = ["session", "alias", "role", "worktree", "desk"];
|
|
19
|
+
var isWorktree = (kind) => kind === "worktree" || kind === "desk";
|
|
19
20
|
function checkSelector(selector) {
|
|
20
21
|
if (selector === "all") return selector;
|
|
21
22
|
const [kind, value] = splitSelector(selector);
|
|
22
23
|
if (!KINDS.includes(kind) || !value)
|
|
23
24
|
throw new Error(
|
|
24
|
-
`--to ${selector}: use all, session:<id>, alias:<name>, role:<name> or
|
|
25
|
+
`--to ${selector}: use all, session:<id>, alias:<name>, role:<name> or worktree:<path>`
|
|
25
26
|
);
|
|
26
27
|
return selector;
|
|
27
28
|
}
|
|
@@ -32,7 +33,7 @@ function splitSelector(selector) {
|
|
|
32
33
|
}
|
|
33
34
|
function normalizeSelector(selector, cwd) {
|
|
34
35
|
const [kind, value] = splitSelector(checkSelector(selector));
|
|
35
|
-
return kind
|
|
36
|
+
return isWorktree(kind) ? `${kind}:${resolve(cwd, value)}` : selector;
|
|
36
37
|
}
|
|
37
38
|
function matches(selector, recipient) {
|
|
38
39
|
if (selector === "all") return true;
|
|
@@ -41,7 +42,7 @@ function matches(selector, recipient) {
|
|
|
41
42
|
return !!recipient.session && recipient.session.startsWith(value);
|
|
42
43
|
if (kind === "alias") return recipient.alias === value;
|
|
43
44
|
if (kind === "role") return (recipient.roles ?? []).includes(value);
|
|
44
|
-
if (kind
|
|
45
|
+
if (!isWorktree(kind) || !recipient.desk) return false;
|
|
45
46
|
return recipient.desk === value || basename(recipient.desk) === value;
|
|
46
47
|
}
|
|
47
48
|
function before(message, recipient) {
|
|
@@ -475,4 +476,4 @@ export {
|
|
|
475
476
|
SESSION_ID,
|
|
476
477
|
createFilesStore
|
|
477
478
|
};
|
|
478
|
-
//# sourceMappingURL=chunk-
|
|
479
|
+
//# sourceMappingURL=chunk-LTZH5E3G.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createSkillServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7DEYLLIE.js";
|
|
4
4
|
import {
|
|
5
5
|
attachMailbox
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NWOV2E26.js";
|
|
7
7
|
|
|
8
8
|
// src/stdio.ts
|
|
9
9
|
import { serveStdio } from "@modelcontextprotocol/server/stdio";
|
|
@@ -84,4 +84,4 @@ export {
|
|
|
84
84
|
serveWithMailbox,
|
|
85
85
|
main
|
|
86
86
|
};
|
|
87
|
-
//# sourceMappingURL=chunk-
|
|
87
|
+
//# sourceMappingURL=chunk-M455QSCW.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadEmbedder,
|
|
3
3
|
openEntryVectors
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ISZOLR3D.js";
|
|
5
5
|
import {
|
|
6
6
|
readCatalog
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4CRRLDDS.js";
|
|
8
8
|
import {
|
|
9
9
|
DEFAULT_MODEL_ID,
|
|
10
10
|
resolveEncoder
|
|
@@ -69,4 +69,4 @@ async function prepareSearch(catalog, options) {
|
|
|
69
69
|
export {
|
|
70
70
|
prepareSearch
|
|
71
71
|
};
|
|
72
|
-
//# sourceMappingURL=chunk-
|
|
72
|
+
//# sourceMappingURL=chunk-NLHLA2N5.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
MailboxStore,
|
|
5
5
|
readCredential,
|
|
6
6
|
writeBindingFile
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JZK7ZO7K.js";
|
|
8
8
|
|
|
9
9
|
// src/mailbox/attachment.ts
|
|
10
10
|
async function attachMailbox(options) {
|
|
@@ -50,4 +50,4 @@ async function attachMailbox(options) {
|
|
|
50
50
|
export {
|
|
51
51
|
attachMailbox
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=chunk-
|
|
53
|
+
//# sourceMappingURL=chunk-NWOV2E26.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hostApprovalDoctor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4GSGT55G.js";
|
|
4
4
|
import {
|
|
5
5
|
project
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HQWVGU3W.js";
|
|
7
7
|
import {
|
|
8
8
|
wakeableBy
|
|
9
9
|
} from "./chunk-WIW772I3.js";
|
|
@@ -16,16 +16,16 @@ import {
|
|
|
16
16
|
marketplaceDoctor,
|
|
17
17
|
skillNames,
|
|
18
18
|
splitFrontmatter
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-JM2KR2WJ.js";
|
|
20
20
|
import {
|
|
21
21
|
ANTIGRAVITY_MCP_PLUGIN,
|
|
22
22
|
serversForTool
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-E5XVSMBR.js";
|
|
24
24
|
import {
|
|
25
25
|
permissionDoctor,
|
|
26
26
|
pluginBinaryDoctor,
|
|
27
27
|
uiClaudeDoctor
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-XJUNAVU2.js";
|
|
29
29
|
import {
|
|
30
30
|
pathPmcp,
|
|
31
31
|
pmcpCommand
|
|
@@ -33,11 +33,11 @@ import {
|
|
|
33
33
|
import {
|
|
34
34
|
createFilesStore,
|
|
35
35
|
inboxKey
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-LTZH5E3G.js";
|
|
37
37
|
import {
|
|
38
38
|
hostDoctor,
|
|
39
39
|
ptyBinaryDoctor
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-2RTRY45B.js";
|
|
41
41
|
import {
|
|
42
42
|
projectStateDir
|
|
43
43
|
} from "./chunk-OEH47H6A.js";
|
|
@@ -640,4 +640,4 @@ export {
|
|
|
640
640
|
spawnRunner,
|
|
641
641
|
doctor
|
|
642
642
|
};
|
|
643
|
-
//# sourceMappingURL=chunk-
|
|
643
|
+
//# sourceMappingURL=chunk-QK4G7FCU.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-OEH47H6A.js";
|
|
4
4
|
import {
|
|
5
5
|
VERSION
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AF2IBMWN.js";
|
|
7
7
|
import {
|
|
8
8
|
ConfigError
|
|
9
9
|
} from "./chunk-QPL7E2HW.js";
|
|
@@ -416,4 +416,4 @@ export {
|
|
|
416
416
|
writeLock,
|
|
417
417
|
readHost
|
|
418
418
|
};
|
|
419
|
-
//# sourceMappingURL=chunk-
|
|
419
|
+
//# sourceMappingURL=chunk-TAOOPXBV.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
POLICIES,
|
|
6
6
|
RUNTIMES,
|
|
7
7
|
customPolicy
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XJUNAVU2.js";
|
|
9
9
|
|
|
10
10
|
// src/hooks/inspection/list.ts
|
|
11
11
|
function policyRows(compiled) {
|
|
@@ -39,4 +39,4 @@ function policyRows(compiled) {
|
|
|
39
39
|
export {
|
|
40
40
|
policyRows
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=chunk-
|
|
42
|
+
//# sourceMappingURL=chunk-TZORR6GZ.js.map
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-34DECPVC.js";
|
|
7
7
|
import {
|
|
8
8
|
ptyBinary
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2RTRY45B.js";
|
|
10
10
|
import {
|
|
11
11
|
nativeBinary
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TAOOPXBV.js";
|
|
13
13
|
|
|
14
14
|
// src/tui/rust.ts
|
|
15
15
|
import { spawn } from "child_process";
|
|
@@ -64,4 +64,4 @@ export {
|
|
|
64
64
|
runTui,
|
|
65
65
|
dependencies
|
|
66
66
|
};
|
|
67
|
-
//# sourceMappingURL=chunk-
|
|
67
|
+
//# sourceMappingURL=chunk-WM2RF2MI.js.map
|
|
@@ -27,11 +27,11 @@ import {
|
|
|
27
27
|
} from "./chunk-3PW4FI7U.js";
|
|
28
28
|
import {
|
|
29
29
|
readStoreSettings
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-26WLNWDG.js";
|
|
31
31
|
import {
|
|
32
32
|
inboxKey,
|
|
33
33
|
noticeOf
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-LTZH5E3G.js";
|
|
35
35
|
import {
|
|
36
36
|
STATE_FILES,
|
|
37
37
|
leaseFile,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
packagedBinary,
|
|
48
48
|
readHost,
|
|
49
49
|
readLock
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-TAOOPXBV.js";
|
|
51
51
|
import {
|
|
52
52
|
checkoutOf,
|
|
53
53
|
hasLinkedWorktrees
|
|
@@ -2649,7 +2649,7 @@ var leases = {
|
|
|
2649
2649
|
if (!lease) continue;
|
|
2650
2650
|
return {
|
|
2651
2651
|
verdict: "deny",
|
|
2652
|
-
reason: `A ${rule.path ?? rule.name} change is
|
|
2652
|
+
reason: `A ${rule.path ?? rule.name} change is being delivered (${lease.subject}, since ${lease.since}). This command waits for it; retry once the delivery finishes.`
|
|
2653
2653
|
};
|
|
2654
2654
|
}
|
|
2655
2655
|
return pass;
|
|
@@ -3478,7 +3478,7 @@ function sessionWarning(input, ctx) {
|
|
|
3478
3478
|
return [];
|
|
3479
3479
|
ctx.store.registry.upsert(input.session.id, { sharedWarned: true });
|
|
3480
3480
|
return [
|
|
3481
|
-
`This session works in the shared checkout ${checkout.root}, not a
|
|
3481
|
+
`This session works in the shared checkout ${checkout.root}, not a linked worktree. Keep to reading, syncing and delivering here; make changes in a linked worktree (pmcp git worktree create) or a scratch worktree.`
|
|
3482
3482
|
];
|
|
3483
3483
|
}
|
|
3484
3484
|
function leftovers(input, ctx) {
|
|
@@ -3525,7 +3525,7 @@ function onEdit(input, ctx) {
|
|
|
3525
3525
|
});
|
|
3526
3526
|
if (!record?.sharedEditNoticed) {
|
|
3527
3527
|
lines.push(
|
|
3528
|
-
`You are editing the shared checkout ${checkout.root}, not a
|
|
3528
|
+
`You are editing the shared checkout ${checkout.root}, not a linked worktree. Deliver this change within the task, or make it in a linked or scratch worktree; an edit left here blocks syncing the shared main.`
|
|
3529
3529
|
);
|
|
3530
3530
|
}
|
|
3531
3531
|
return lines;
|
|
@@ -3622,7 +3622,7 @@ function blocked2(input, ctx) {
|
|
|
3622
3622
|
if (pause2 && pause2.by !== input.session.id)
|
|
3623
3623
|
return `the workspace is paused (${pause2.reason})`;
|
|
3624
3624
|
const lease = ctx.store.leases.read("lockfile");
|
|
3625
|
-
return lease ? `a lockfile change is
|
|
3625
|
+
return lease ? `a lockfile change is being delivered (${lease.subject})` : null;
|
|
3626
3626
|
}
|
|
3627
3627
|
function changed(root, from, paths, to = "HEAD") {
|
|
3628
3628
|
if (paths.length === 0) return [];
|
|
@@ -3648,7 +3648,7 @@ function move(input, ctx, git) {
|
|
|
3648
3648
|
const before = gitText(git.root, ["rev-parse", "HEAD"]);
|
|
3649
3649
|
if (input.event === "prompt" && changed(git.root, "HEAD", opts.installWhen, git.upstream).length > 0) {
|
|
3650
3650
|
return [
|
|
3651
|
-
`${git.upstream} changed ${opts.installWhen.join(", ")}; this
|
|
3651
|
+
`${git.upstream} changed ${opts.installWhen.join(", ")}; this linked worktree moves at the next session start or with pmcp git worktree sync.`
|
|
3652
3652
|
];
|
|
3653
3653
|
}
|
|
3654
3654
|
const install = opts.install && opts.installAfterMove === "foreground" ? {
|
|
@@ -4982,4 +4982,4 @@ export {
|
|
|
4982
4982
|
permissionDoctor,
|
|
4983
4983
|
readSpec
|
|
4984
4984
|
};
|
|
4985
|
-
//# sourceMappingURL=chunk-
|
|
4985
|
+
//# sourceMappingURL=chunk-XJUNAVU2.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
operationSchema,
|
|
5
5
|
sendSchema,
|
|
6
6
|
sessionsSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QRCAGKC6.js";
|
|
8
8
|
|
|
9
9
|
// src/tools/mailbox.ts
|
|
10
10
|
function registerMailboxTools(server, service) {
|
|
@@ -54,4 +54,4 @@ function registerMailboxTools(server, service) {
|
|
|
54
54
|
export {
|
|
55
55
|
registerMailboxTools
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=chunk-
|
|
57
|
+
//# sourceMappingURL=chunk-Y2XASHVY.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
JSON_VERBS,
|
|
3
3
|
SESSION_VERBS,
|
|
4
4
|
sessionsSpec
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LMUBBIE2.js";
|
|
6
6
|
import "./chunk-XNML2KIC.js";
|
|
7
7
|
import {
|
|
8
8
|
ArgumentError
|
|
@@ -16,26 +16,26 @@ async function run(context) {
|
|
|
16
16
|
`unknown verb ${verb}; use ${SESSION_VERBS.join(", ")}`
|
|
17
17
|
);
|
|
18
18
|
if (verb === "status")
|
|
19
|
-
return (await import("./status-
|
|
19
|
+
return (await import("./status-RO55QPKV.js")).status(context);
|
|
20
20
|
if (context.args.flags.has("json") && !JSON_VERBS.includes(verb))
|
|
21
21
|
throw new ArgumentError(`--json works with ${JSON_VERBS.join(", ")}`);
|
|
22
22
|
if (["send", "inbox", "ack", "reply"].includes(verb)) {
|
|
23
|
-
const mailbox = await import("./mailbox-
|
|
23
|
+
const mailbox = await import("./mailbox-BMTZOSZ7.js");
|
|
24
24
|
if (verb === "send") return mailbox.send(context);
|
|
25
25
|
if (verb === "inbox") return mailbox.inbox(context);
|
|
26
26
|
if (verb === "ack") return mailbox.ack(context);
|
|
27
27
|
return mailbox.reply(context);
|
|
28
28
|
}
|
|
29
|
-
if (verb === "pause") return (await import("./pause-
|
|
30
|
-
if (verb === "resume") return (await import("./resume-
|
|
29
|
+
if (verb === "pause") return (await import("./pause-7LILUVGL.js")).run(context);
|
|
30
|
+
if (verb === "resume") return (await import("./resume-26VFAAMH.js")).run(context);
|
|
31
31
|
if (verb === "broadcast")
|
|
32
|
-
return (await import("./broadcast-
|
|
32
|
+
return (await import("./broadcast-CBMVOV3G.js")).run(context);
|
|
33
33
|
if (verb === "unbroadcast")
|
|
34
|
-
return (await import("./unbroadcast-
|
|
35
|
-
return (await import("./sweep-
|
|
34
|
+
return (await import("./unbroadcast-5QNGAJR2.js")).run(context);
|
|
35
|
+
return (await import("./sweep-35LGQTTO.js")).run(context);
|
|
36
36
|
}
|
|
37
37
|
var sessionsCommand = { ...sessionsSpec, run };
|
|
38
38
|
export {
|
|
39
39
|
sessionsCommand
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=cli-
|
|
41
|
+
//# sourceMappingURL=cli-MI4ZCAZ3.js.map
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
async function action(positional) {
|
|
12
12
|
const [verb, sub] = positional;
|
|
13
13
|
if (verb === "deliver")
|
|
14
|
-
return (await import("./mainline-
|
|
15
|
-
if (verb === "sync") return (await import("./mainline-
|
|
14
|
+
return (await import("./mainline-KAD2ERLP.js")).mainlineDeliver;
|
|
15
|
+
if (verb === "sync") return (await import("./mainline-KAD2ERLP.js")).mainlineSync;
|
|
16
16
|
if (verb !== "worktree")
|
|
17
17
|
throw new ArgumentError("Use worktree, deliver or sync");
|
|
18
18
|
if (sub === "create")
|
|
@@ -43,4 +43,4 @@ var gitCommand = { ...gitSpec, run };
|
|
|
43
43
|
export {
|
|
44
44
|
gitCommand
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=cli-
|
|
46
|
+
//# sourceMappingURL=cli-ZN7ZVDEZ.js.map
|
package/dist/cli.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
COMMANDS,
|
|
4
4
|
PLANNED,
|
|
5
5
|
commandNamed
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IIBB37JE.js";
|
|
7
7
|
import "./chunk-2P4Z2NUX.js";
|
|
8
8
|
import "./chunk-3Y3HDMHA.js";
|
|
9
9
|
import {
|
|
@@ -13,7 +13,7 @@ import "./chunk-E3DQB5LS.js";
|
|
|
13
13
|
import "./chunk-JWRZDYB5.js";
|
|
14
14
|
import "./chunk-YGOWIJPE.js";
|
|
15
15
|
import "./chunk-T6GOWHK6.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-LMUBBIE2.js";
|
|
17
17
|
import "./chunk-LLBPVZXM.js";
|
|
18
18
|
import "./chunk-LLT5FQBE.js";
|
|
19
19
|
import "./chunk-EIDIVIAD.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
import "./chunk-V4NPDK6X.js";
|
|
33
33
|
import {
|
|
34
34
|
VERSION
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-AF2IBMWN.js";
|
|
36
36
|
|
|
37
37
|
// src/cli/ui.ts
|
|
38
38
|
var ESC = String.fromCharCode(27);
|
|
@@ -185,7 +185,7 @@ async function defaultEntry(options, context) {
|
|
|
185
185
|
});
|
|
186
186
|
if (mode === "server") return run(required("serve"), [], context);
|
|
187
187
|
if (mode === "terminal") {
|
|
188
|
-
const { terminalSupport } = await import("./host-
|
|
188
|
+
const { terminalSupport } = await import("./host-TE5PNDHJ.js");
|
|
189
189
|
const support = terminalSupport();
|
|
190
190
|
if (support.supported) return run(required("tui"), [], context);
|
|
191
191
|
context.ui.info(`Terminal workspace unavailable: ${support.reason}`);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
COMMANDS,
|
|
3
3
|
completionSpec
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IIBB37JE.js";
|
|
5
5
|
import "./chunk-2P4Z2NUX.js";
|
|
6
6
|
import "./chunk-3Y3HDMHA.js";
|
|
7
7
|
import "./chunk-E3DQB5LS.js";
|
|
8
8
|
import "./chunk-JWRZDYB5.js";
|
|
9
9
|
import "./chunk-YGOWIJPE.js";
|
|
10
10
|
import "./chunk-T6GOWHK6.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-LMUBBIE2.js";
|
|
12
12
|
import "./chunk-LLBPVZXM.js";
|
|
13
13
|
import "./chunk-LLT5FQBE.js";
|
|
14
14
|
import "./chunk-EIDIVIAD.js";
|
|
@@ -139,4 +139,4 @@ var completionCommand = {
|
|
|
139
139
|
export {
|
|
140
140
|
completionCommand
|
|
141
141
|
};
|
|
142
|
-
//# sourceMappingURL=completion-
|
|
142
|
+
//# sourceMappingURL=completion-GYN7PX3T.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
dependencies
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WM2RF2MI.js";
|
|
4
4
|
import {
|
|
5
5
|
assertNativeHost
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HFE4QDJQ.js";
|
|
7
7
|
import {
|
|
8
8
|
locateExecutable
|
|
9
9
|
} from "./chunk-R2GPCZUX.js";
|
|
10
10
|
import "./chunk-34DECPVC.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-2RTRY45B.js";
|
|
12
|
+
import "./chunk-TAOOPXBV.js";
|
|
13
13
|
import "./chunk-OEH47H6A.js";
|
|
14
14
|
import "./chunk-IJBSOWHK.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-AF2IBMWN.js";
|
|
16
16
|
import "./chunk-QPL7E2HW.js";
|
|
17
17
|
import "./chunk-PMJG2CXF.js";
|
|
18
18
|
import {
|
|
@@ -90,4 +90,4 @@ function inspectTerminalHost() {
|
|
|
90
90
|
export {
|
|
91
91
|
inspectTerminalHost
|
|
92
92
|
};
|
|
93
|
-
//# sourceMappingURL=diagnostics-
|
|
93
|
+
//# sourceMappingURL=diagnostics-WACXQ33W.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
specFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F5LEGPGP.js";
|
|
4
4
|
import "./chunk-7DLZC73N.js";
|
|
5
5
|
import {
|
|
6
6
|
doctor,
|
|
7
7
|
spawnRunner
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-QK4G7FCU.js";
|
|
9
|
+
import "./chunk-4GSGT55G.js";
|
|
10
|
+
import "./chunk-HQWVGU3W.js";
|
|
11
11
|
import "./chunk-P4N7DBD5.js";
|
|
12
12
|
import "./chunk-WIW772I3.js";
|
|
13
13
|
import "./chunk-VJFEN6DJ.js";
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
LOCK_FILE,
|
|
19
19
|
POLICY_FILE,
|
|
20
20
|
sha256
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-JM2KR2WJ.js";
|
|
22
|
+
import "./chunk-E5XVSMBR.js";
|
|
23
23
|
import {
|
|
24
24
|
FEATURES,
|
|
25
25
|
GUARDS,
|
|
26
26
|
RUNTIMES,
|
|
27
27
|
RUNTIME_IDS
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-XJUNAVU2.js";
|
|
29
29
|
import "./chunk-HQOB7OQS.js";
|
|
30
30
|
import "./chunk-S3PIAMXV.js";
|
|
31
31
|
import "./chunk-JS5RTH4I.js";
|
|
@@ -36,8 +36,8 @@ import "./chunk-OPYFEHKG.js";
|
|
|
36
36
|
import "./chunk-EATCUWGG.js";
|
|
37
37
|
import "./chunk-NRBQK6UX.js";
|
|
38
38
|
import "./chunk-3PW4FI7U.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-26WLNWDG.js";
|
|
40
|
+
import "./chunk-LTZH5E3G.js";
|
|
41
41
|
import "./chunk-C4NHQGHL.js";
|
|
42
42
|
import "./chunk-Q5H3L6Y4.js";
|
|
43
43
|
import "./chunk-73AKO4UL.js";
|
|
@@ -53,11 +53,11 @@ import {
|
|
|
53
53
|
import {
|
|
54
54
|
TOOLS
|
|
55
55
|
} from "./chunk-V4NPDK6X.js";
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-2RTRY45B.js";
|
|
57
|
+
import "./chunk-TAOOPXBV.js";
|
|
58
58
|
import "./chunk-OEH47H6A.js";
|
|
59
59
|
import "./chunk-IJBSOWHK.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-AF2IBMWN.js";
|
|
61
61
|
import "./chunk-QPL7E2HW.js";
|
|
62
62
|
import "./chunk-PMJG2CXF.js";
|
|
63
63
|
|
|
@@ -535,4 +535,4 @@ var doctorCommand = {
|
|
|
535
535
|
export {
|
|
536
536
|
doctorCommand
|
|
537
537
|
};
|
|
538
|
-
//# sourceMappingURL=doctor-
|
|
538
|
+
//# sourceMappingURL=doctor-VSQ72A6X.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
invoke
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7PTG42QU.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureStartupDirectory,
|
|
6
6
|
readStartup,
|
|
@@ -10,27 +10,27 @@ import {
|
|
|
10
10
|
} from "./chunk-PAX3QXX2.js";
|
|
11
11
|
import {
|
|
12
12
|
requireTerminal
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3MEYKFFO.js";
|
|
14
14
|
import "./chunk-5ZABTVSW.js";
|
|
15
15
|
import {
|
|
16
16
|
runTui
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-WM2RF2MI.js";
|
|
18
18
|
import {
|
|
19
19
|
lockFile
|
|
20
20
|
} from "./chunk-DZ2MRTYT.js";
|
|
21
21
|
import "./chunk-LMT3PPXJ.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-6BN35BHI.js";
|
|
23
|
+
import "./chunk-HFE4QDJQ.js";
|
|
24
24
|
import {
|
|
25
25
|
locateExecutable
|
|
26
26
|
} from "./chunk-R2GPCZUX.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-FX3LTTMB.js";
|
|
28
28
|
import "./chunk-34DECPVC.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-2RTRY45B.js";
|
|
30
|
+
import "./chunk-TAOOPXBV.js";
|
|
31
31
|
import "./chunk-OEH47H6A.js";
|
|
32
32
|
import "./chunk-IJBSOWHK.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-AF2IBMWN.js";
|
|
34
34
|
import "./chunk-QPL7E2HW.js";
|
|
35
35
|
import "./chunk-PMJG2CXF.js";
|
|
36
36
|
import {
|
|
@@ -302,4 +302,4 @@ export {
|
|
|
302
302
|
launchStartup,
|
|
303
303
|
planStartup
|
|
304
304
|
};
|
|
305
|
-
//# sourceMappingURL=entry-
|
|
305
|
+
//# sourceMappingURL=entry-VFEZC2XB.js.map
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
} from "./chunk-UPQTAHUK.js";
|
|
9
9
|
import {
|
|
10
10
|
specFrom
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-F5LEGPGP.js";
|
|
12
12
|
import "./chunk-7DLZC73N.js";
|
|
13
13
|
import {
|
|
14
14
|
launch
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-E5XVSMBR.js";
|
|
16
|
+
import "./chunk-XJUNAVU2.js";
|
|
17
17
|
import "./chunk-HQOB7OQS.js";
|
|
18
18
|
import "./chunk-S3PIAMXV.js";
|
|
19
19
|
import "./chunk-JS5RTH4I.js";
|
|
@@ -26,18 +26,18 @@ import {
|
|
|
26
26
|
ProjectError
|
|
27
27
|
} from "./chunk-NRBQK6UX.js";
|
|
28
28
|
import "./chunk-3PW4FI7U.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-26WLNWDG.js";
|
|
30
|
+
import "./chunk-LTZH5E3G.js";
|
|
31
31
|
import "./chunk-C4NHQGHL.js";
|
|
32
32
|
import {
|
|
33
33
|
McpAuthError
|
|
34
34
|
} from "./chunk-Q5H3L6Y4.js";
|
|
35
35
|
import "./chunk-A4PKLESO.js";
|
|
36
36
|
import "./chunk-V4NPDK6X.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-TAOOPXBV.js";
|
|
38
38
|
import "./chunk-OEH47H6A.js";
|
|
39
39
|
import "./chunk-IJBSOWHK.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-AF2IBMWN.js";
|
|
41
41
|
import "./chunk-QPL7E2HW.js";
|
|
42
42
|
import "./chunk-PMJG2CXF.js";
|
|
43
43
|
|
|
@@ -362,4 +362,4 @@ function runExecMcp(context, name) {
|
|
|
362
362
|
export {
|
|
363
363
|
runExecMcp
|
|
364
364
|
};
|
|
365
|
-
//# sourceMappingURL=exec-mcp-
|
|
365
|
+
//# sourceMappingURL=exec-mcp-TOQEJFK3.js.map
|