@modootoday/pmcp 0.17.1 → 0.17.2
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 +1 -1
- package/dist/cli.js +4 -8
- package/dist/http.js +3 -7
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -7
- package/dist/stdio.js +3 -7
- package/docs/skills.md +2 -1
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
- package/plugins/pmcp/gemini-extension.json +1 -1
- package/plugins/pmcp/plugin.json +1 -1
|
@@ -612,7 +612,7 @@
|
|
|
612
612
|
},
|
|
613
613
|
{
|
|
614
614
|
"name": "pmcp",
|
|
615
|
-
"version": "0.17.
|
|
615
|
+
"version": "0.17.2",
|
|
616
616
|
"description": "Find package skills and use native runtime project configuration.",
|
|
617
617
|
"source": { "source": "local", "path": "./plugins/pmcp" },
|
|
618
618
|
"policy": { "installation": "AVAILABLE", "authentication": "ON_USE" },
|
package/dist/cli.js
CHANGED
|
@@ -9679,7 +9679,7 @@ function registerCallTool(server, tools) {
|
|
|
9679
9679
|
"skill_call",
|
|
9680
9680
|
{
|
|
9681
9681
|
...readOnlyTool("Read a skill"),
|
|
9682
|
-
description: "The body of a single skill, by the name skill_find or skill_catalog returned, followed by the list of reference, script and asset files the skill carries, if any, as text and
|
|
9682
|
+
description: "The body of a single skill, by the name skill_find or skill_catalog returned, followed by the list of reference, script and asset files the skill carries, if any, as text; skill_read returns one of them and skill_bundle links them all. This is the only call that costs a document.",
|
|
9683
9683
|
inputSchema: z6.object({
|
|
9684
9684
|
name: z6.string().min(1).describe("The skill name, as <package>/<slug>.")
|
|
9685
9685
|
})
|
|
@@ -9690,11 +9690,7 @@ function registerCallTool(server, tools) {
|
|
|
9690
9690
|
const body = { type: "text", text: found.body };
|
|
9691
9691
|
if (found.files.length === 0) return { content: [body] };
|
|
9692
9692
|
return {
|
|
9693
|
-
content: [
|
|
9694
|
-
body,
|
|
9695
|
-
{ type: "text", text: manifest(found) },
|
|
9696
|
-
...found.files.map(resourceLink)
|
|
9697
|
-
]
|
|
9693
|
+
content: [body, { type: "text", text: manifest(found) }]
|
|
9698
9694
|
};
|
|
9699
9695
|
}
|
|
9700
9696
|
);
|
|
@@ -9859,7 +9855,7 @@ function registerMailboxTools(server, service) {
|
|
|
9859
9855
|
|
|
9860
9856
|
// src/mcp.ts
|
|
9861
9857
|
var SERVER_NAME = "pmcp";
|
|
9862
|
-
var SERVER_VERSION = "0.17.
|
|
9858
|
+
var SERVER_VERSION = "0.17.2";
|
|
9863
9859
|
function registerSkillTools(server, tools) {
|
|
9864
9860
|
registerCatalogTool(server, tools);
|
|
9865
9861
|
registerFindTool(server, tools);
|
|
@@ -16161,7 +16157,7 @@ function dispatch(argv, options2 = {}) {
|
|
|
16161
16157
|
}
|
|
16162
16158
|
return run(command3, rest, { ui, env, cwd });
|
|
16163
16159
|
}
|
|
16164
|
-
var VERSION = "0.17.
|
|
16160
|
+
var VERSION = "0.17.2";
|
|
16165
16161
|
async function defaultEntry(options2, context) {
|
|
16166
16162
|
const terminal = options2.terminal ?? {
|
|
16167
16163
|
stdin: process.stdin.isTTY === true,
|
package/dist/http.js
CHANGED
|
@@ -2064,7 +2064,7 @@ function registerCallTool(server, tools) {
|
|
|
2064
2064
|
"skill_call",
|
|
2065
2065
|
{
|
|
2066
2066
|
...readOnlyTool("Read a skill"),
|
|
2067
|
-
description: "The body of a single skill, by the name skill_find or skill_catalog returned, followed by the list of reference, script and asset files the skill carries, if any, as text and
|
|
2067
|
+
description: "The body of a single skill, by the name skill_find or skill_catalog returned, followed by the list of reference, script and asset files the skill carries, if any, as text; skill_read returns one of them and skill_bundle links them all. This is the only call that costs a document.",
|
|
2068
2068
|
inputSchema: z6.object({
|
|
2069
2069
|
name: z6.string().min(1).describe("The skill name, as <package>/<slug>.")
|
|
2070
2070
|
})
|
|
@@ -2075,11 +2075,7 @@ function registerCallTool(server, tools) {
|
|
|
2075
2075
|
const body = { type: "text", text: found.body };
|
|
2076
2076
|
if (found.files.length === 0) return { content: [body] };
|
|
2077
2077
|
return {
|
|
2078
|
-
content: [
|
|
2079
|
-
body,
|
|
2080
|
-
{ type: "text", text: manifest(found) },
|
|
2081
|
-
...found.files.map(resourceLink)
|
|
2082
|
-
]
|
|
2078
|
+
content: [body, { type: "text", text: manifest(found) }]
|
|
2083
2079
|
};
|
|
2084
2080
|
}
|
|
2085
2081
|
);
|
|
@@ -2294,7 +2290,7 @@ function registerMailboxTools(server, service) {
|
|
|
2294
2290
|
|
|
2295
2291
|
// src/mcp.ts
|
|
2296
2292
|
var SERVER_NAME = "pmcp";
|
|
2297
|
-
var SERVER_VERSION = "0.17.
|
|
2293
|
+
var SERVER_VERSION = "0.17.2";
|
|
2298
2294
|
function registerSkillTools(server, tools) {
|
|
2299
2295
|
registerCatalogTool(server, tools);
|
|
2300
2296
|
registerFindTool(server, tools);
|
package/dist/index.d.ts
CHANGED
|
@@ -275,7 +275,7 @@ declare function resolveSkillFileUri(uri: string, entries: readonly SkillEntry[]
|
|
|
275
275
|
|
|
276
276
|
/** Reported to the host on connect. */
|
|
277
277
|
declare const SERVER_NAME = "pmcp";
|
|
278
|
-
declare const SERVER_VERSION = "0.17.
|
|
278
|
+
declare const SERVER_VERSION = "0.17.2";
|
|
279
279
|
/**
|
|
280
280
|
* Registers the skill_* tools on a server.
|
|
281
281
|
*
|
package/dist/index.js
CHANGED
|
@@ -4611,7 +4611,7 @@ function registerCallTool(server, tools) {
|
|
|
4611
4611
|
"skill_call",
|
|
4612
4612
|
{
|
|
4613
4613
|
...readOnlyTool("Read a skill"),
|
|
4614
|
-
description: "The body of a single skill, by the name skill_find or skill_catalog returned, followed by the list of reference, script and asset files the skill carries, if any, as text and
|
|
4614
|
+
description: "The body of a single skill, by the name skill_find or skill_catalog returned, followed by the list of reference, script and asset files the skill carries, if any, as text; skill_read returns one of them and skill_bundle links them all. This is the only call that costs a document.",
|
|
4615
4615
|
inputSchema: z6.object({
|
|
4616
4616
|
name: z6.string().min(1).describe("The skill name, as <package>/<slug>.")
|
|
4617
4617
|
})
|
|
@@ -4622,11 +4622,7 @@ function registerCallTool(server, tools) {
|
|
|
4622
4622
|
const body = { type: "text", text: found.body };
|
|
4623
4623
|
if (found.files.length === 0) return { content: [body] };
|
|
4624
4624
|
return {
|
|
4625
|
-
content: [
|
|
4626
|
-
body,
|
|
4627
|
-
{ type: "text", text: manifest(found) },
|
|
4628
|
-
...found.files.map(resourceLink)
|
|
4629
|
-
]
|
|
4625
|
+
content: [body, { type: "text", text: manifest(found) }]
|
|
4630
4626
|
};
|
|
4631
4627
|
}
|
|
4632
4628
|
);
|
|
@@ -4841,7 +4837,7 @@ function registerMailboxTools(server, service) {
|
|
|
4841
4837
|
|
|
4842
4838
|
// src/mcp.ts
|
|
4843
4839
|
var SERVER_NAME = "pmcp";
|
|
4844
|
-
var SERVER_VERSION = "0.17.
|
|
4840
|
+
var SERVER_VERSION = "0.17.2";
|
|
4845
4841
|
function registerSkillTools(server, tools) {
|
|
4846
4842
|
registerCatalogTool(server, tools);
|
|
4847
4843
|
registerFindTool(server, tools);
|
package/dist/stdio.js
CHANGED
|
@@ -1711,7 +1711,7 @@ function registerCallTool(server, tools) {
|
|
|
1711
1711
|
"skill_call",
|
|
1712
1712
|
{
|
|
1713
1713
|
...readOnlyTool("Read a skill"),
|
|
1714
|
-
description: "The body of a single skill, by the name skill_find or skill_catalog returned, followed by the list of reference, script and asset files the skill carries, if any, as text and
|
|
1714
|
+
description: "The body of a single skill, by the name skill_find or skill_catalog returned, followed by the list of reference, script and asset files the skill carries, if any, as text; skill_read returns one of them and skill_bundle links them all. This is the only call that costs a document.",
|
|
1715
1715
|
inputSchema: z6.object({
|
|
1716
1716
|
name: z6.string().min(1).describe("The skill name, as <package>/<slug>.")
|
|
1717
1717
|
})
|
|
@@ -1722,11 +1722,7 @@ function registerCallTool(server, tools) {
|
|
|
1722
1722
|
const body = { type: "text", text: found.body };
|
|
1723
1723
|
if (found.files.length === 0) return { content: [body] };
|
|
1724
1724
|
return {
|
|
1725
|
-
content: [
|
|
1726
|
-
body,
|
|
1727
|
-
{ type: "text", text: manifest(found) },
|
|
1728
|
-
...found.files.map(resourceLink)
|
|
1729
|
-
]
|
|
1725
|
+
content: [body, { type: "text", text: manifest(found) }]
|
|
1730
1726
|
};
|
|
1731
1727
|
}
|
|
1732
1728
|
);
|
|
@@ -1941,7 +1937,7 @@ function registerMailboxTools(server, service) {
|
|
|
1941
1937
|
|
|
1942
1938
|
// src/mcp.ts
|
|
1943
1939
|
var SERVER_NAME = "pmcp";
|
|
1944
|
-
var SERVER_VERSION = "0.17.
|
|
1940
|
+
var SERVER_VERSION = "0.17.2";
|
|
1945
1941
|
function registerSkillTools(server, tools) {
|
|
1946
1942
|
registerCatalogTool(server, tools);
|
|
1947
1943
|
registerFindTool(server, tools);
|
package/docs/skills.md
CHANGED
|
@@ -11,7 +11,8 @@ within the discovery depth. A skill needs a frontmatter `description` for search
|
|
|
11
11
|
|
|
12
12
|
`skill_find` accepts a problem description and returns matching skills.
|
|
13
13
|
`skill_call` opens the selected document and lists the reference, script and asset
|
|
14
|
-
files it carries
|
|
14
|
+
files it carries as a text list. It attaches no resource links, because some clients ask
|
|
15
|
+
the user to create every linked file as an attachment. Local MCP reading requires no login.
|
|
15
16
|
|
|
16
17
|
Files keep their type, as the Agent Skills layout (`references/`, `scripts/`, `assets/`)
|
|
17
18
|
expects: `skill_read` returns text as text, images and audio as image and audio content,
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
package/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "pmcp",
|
|
4
|
-
"version": "0.17.
|
|
4
|
+
"version": "0.17.2",
|
|
5
5
|
"description": "Find package skills and use native runtime project configuration.",
|
|
6
6
|
"author": { "name": "modootoday" },
|
|
7
7
|
"license": "Elastic-2.0",
|
package/plugins/pmcp/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "pmcp",
|
|
4
|
-
"version": "0.17.
|
|
4
|
+
"version": "0.17.2",
|
|
5
5
|
"description": "Find package skills and use native runtime project configuration.",
|
|
6
6
|
"author": { "name": "modootoday" },
|
|
7
7
|
"license": "Elastic-2.0",
|