@modootoday/pmcp 0.16.0 → 0.17.0
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/README.md +7 -1
- package/dist/cli.js +430 -257
- package/dist/{embed-CVCEz2FH.d.ts → embed-DRROSD3F.d.ts} +1 -1
- package/dist/harness-launch-gate.js +3 -0
- package/dist/harness-worker.js +4 -0
- package/dist/http.d.ts +5 -4
- package/dist/http.js +4 -2
- package/dist/index.d.ts +6 -6
- package/dist/index.js +234 -86
- package/dist/mailbox/index.js +3 -0
- package/dist/{server-DAcT89iv.d.ts → server-VWSY3Shw.d.ts} +2 -3
- package/dist/stdio.d.ts +1 -1
- package/dist/stdio.js +4 -2
- package/dist/tui-worker.js +12 -0
- package/docs/hosting.md +13 -0
- package/docs/project-configuration.md +35 -0
- 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
|
@@ -546,6 +546,7 @@ var Connection = class {
|
|
|
546
546
|
constructor(records3) {
|
|
547
547
|
this.records = records3;
|
|
548
548
|
}
|
|
549
|
+
records;
|
|
549
550
|
tmux(args, options = {}) {
|
|
550
551
|
return command(
|
|
551
552
|
"tmux",
|
|
@@ -692,6 +693,8 @@ var LaunchJournal = class {
|
|
|
692
693
|
this.id = id2;
|
|
693
694
|
runtimeUnit(id2);
|
|
694
695
|
}
|
|
696
|
+
records;
|
|
697
|
+
id;
|
|
695
698
|
path(kind) {
|
|
696
699
|
if (!["intent", "proof", "grant", "committed", "aborted"].includes(kind))
|
|
697
700
|
throw new Error("invalid_launch_artifact");
|
package/dist/harness-worker.js
CHANGED
|
@@ -453,6 +453,7 @@ var Connection = class {
|
|
|
453
453
|
constructor(records2) {
|
|
454
454
|
this.records = records2;
|
|
455
455
|
}
|
|
456
|
+
records;
|
|
456
457
|
tmux(args, options = {}) {
|
|
457
458
|
return command(
|
|
458
459
|
"tmux",
|
|
@@ -705,6 +706,8 @@ var LaunchJournal = class {
|
|
|
705
706
|
this.id = id2;
|
|
706
707
|
runtimeUnit(id2);
|
|
707
708
|
}
|
|
709
|
+
records;
|
|
710
|
+
id;
|
|
708
711
|
path(kind) {
|
|
709
712
|
if (!["intent", "proof", "grant", "committed", "aborted"].includes(kind))
|
|
710
713
|
throw new Error("invalid_launch_artifact");
|
|
@@ -1791,6 +1794,7 @@ var Backend = class {
|
|
|
1791
1794
|
this.runDirectory = recordStore.directory;
|
|
1792
1795
|
this.metadataPath = recordStore.metadataPath;
|
|
1793
1796
|
}
|
|
1797
|
+
recordStore;
|
|
1794
1798
|
connection;
|
|
1795
1799
|
owner;
|
|
1796
1800
|
socket;
|
package/dist/http.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { S as SkillServerOptions, E as Embedder, a as SkillEntry } from './server-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { S as SkillServerOptions, E as Embedder, a as SkillEntry } from './server-VWSY3Shw.js';
|
|
2
|
+
export { C as CatalogOptions, R as Runtime, r as readCatalog, v as verifiedRuntimesOf } from './server-VWSY3Shw.js';
|
|
3
|
+
import { L as LoadEmbedderOptions } from './embed-DRROSD3F.js';
|
|
4
|
+
export { l as loadEmbedder } from './embed-DRROSD3F.js';
|
|
4
5
|
import { M as MailboxService } from './service-qpCsOXkQ.js';
|
|
5
6
|
export { D as DEFAULT_MODEL_ID } from './encoder-DGRy9skC.js';
|
|
6
7
|
import 'zod';
|
|
@@ -80,4 +81,4 @@ interface SkillHttpHandler {
|
|
|
80
81
|
}
|
|
81
82
|
declare function createSkillHttpHandler(options: SkillHttpOptions): SkillHttpHandler;
|
|
82
83
|
|
|
83
|
-
export { DEFAULT_MAX_REQUEST_BYTES, DEFAULT_TIERS, Embedder, type RateLimitOptions, type SkillCaller, type SkillHttpHandler, type SkillHttpOptions, type SkillHttpSemanticOptions, createSkillHttpHandler, visibleTo };
|
|
84
|
+
export { DEFAULT_MAX_REQUEST_BYTES, DEFAULT_TIERS, Embedder, type RateLimitOptions, type SkillCaller, SkillEntry, type SkillHttpHandler, type SkillHttpOptions, type SkillHttpSemanticOptions, createSkillHttpHandler, visibleTo };
|
package/dist/http.js
CHANGED
|
@@ -694,7 +694,7 @@ function withoutBody({
|
|
|
694
694
|
|
|
695
695
|
// src/intent.ts
|
|
696
696
|
function normaliseIntent(intent) {
|
|
697
|
-
return intent.toLowerCase().replaceAll(/[^\p{L}\p{N}\s]/gu, " ").split(/\s+/u).filter(Boolean).join(" ");
|
|
697
|
+
return intent.normalize("NFC").toLowerCase().replaceAll(/[^\p{L}\p{N}\s]/gu, " ").split(/\s+/u).filter(Boolean).join(" ");
|
|
698
698
|
}
|
|
699
699
|
|
|
700
700
|
// src/embed.ts
|
|
@@ -2294,7 +2294,7 @@ function registerMailboxTools(server, service) {
|
|
|
2294
2294
|
|
|
2295
2295
|
// src/mcp.ts
|
|
2296
2296
|
var SERVER_NAME = "pmcp";
|
|
2297
|
-
var SERVER_VERSION = "0.
|
|
2297
|
+
var SERVER_VERSION = "0.17.0";
|
|
2298
2298
|
function registerSkillTools(server, tools) {
|
|
2299
2299
|
registerCatalogTool(server, tools);
|
|
2300
2300
|
registerFindTool(server, tools);
|
|
@@ -2426,6 +2426,8 @@ export {
|
|
|
2426
2426
|
DEFAULT_TIERS,
|
|
2427
2427
|
createSkillHttpHandler,
|
|
2428
2428
|
loadEmbedder,
|
|
2429
|
+
readCatalog,
|
|
2430
|
+
verifiedRuntimesOf,
|
|
2429
2431
|
visibleTo
|
|
2430
2432
|
};
|
|
2431
2433
|
//# sourceMappingURL=http.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as IntentCache,
|
|
2
|
-
export { A as ASSET_KINDS,
|
|
3
|
-
import { L as LoadEmbedderOptions } from './embed-
|
|
4
|
-
export { E as EntryVectorStore, e as encodeEntries, l as loadEmbedder, o as openEntryVectors } from './embed-
|
|
1
|
+
import { I as IntentCache, b as Ranking, S as SkillServerOptions, E as Embedder, C as CatalogOptions, a as SkillEntry, M as MetadataValue, c as SkillTools } from './server-VWSY3Shw.js';
|
|
2
|
+
export { A as ASSET_KINDS, d as AssetKind, B as BundleFile, e as CATALOG_PAGE_MAX, f as CATALOG_PAGE_SIZE, g as COMPATIBILITY_MAX, h as CallResponse, i as CatalogItem, j as CatalogResponse, k as Classified, D as DEFAULT_FIND_LIMIT, l as DESCRIBE_FILE_LIMIT, m as DESCRIPTION_MAX, F as FileKind, n as FindOptions, o as FindResult, p as IntentCacheStats, K as KindFilter, q as MAX_SKILL_DEPTH, s as Match, t as MetadataLeaf, N as NAME_MAX, u as READ_BUDGET_BYTES, w as RUNTIMES, x as ReadResult, R as Runtime, y as SKIPPED_DIRS, z as SkillBundle, G as SkillFile, H as SkillFileContent, J as SkillFileListing, L as SkillFilters, O as bundleResponseSchema, P as bundleSkill, Q as catalogResponseSchema, T as classify, U as cosine, V as createSkillTools, W as describeResponseSchema, X as detectRuntime, Y as displayPath, Z as find, _ as findResultSchema, $ as isUtf8Text, a0 as kindOf, a1 as lexicalScore, a2 as listSkillFiles, a3 as mimeOf, a4 as normaliseIntent, a5 as parseSkillFrontmatter, a6 as readBody, r as readCatalog, a7 as readFrontmatter, a8 as readSkillFile, a9 as runtimeOfClient, aa as specProblems, v as verifiedRuntimesOf, ab as withoutBody } from './server-VWSY3Shw.js';
|
|
3
|
+
import { L as LoadEmbedderOptions } from './embed-DRROSD3F.js';
|
|
4
|
+
export { E as EntryVectorStore, e as encodeEntries, l as loadEmbedder, o as openEntryVectors } from './embed-DRROSD3F.js';
|
|
5
5
|
export { D as DEFAULT_MODEL_ID, a as EmbeddingModel, b as EncoderDtype, E as EncoderOptions, c as EncoderSpec, R as ResolvedEncoder, e as embeddingModels, d as encoderSpec, r as resolveEncoder } from './encoder-DGRy9skC.js';
|
|
6
6
|
import { P as ProjectConfig } from './config-BkSpjUG6.js';
|
|
7
7
|
export { C as CONFIG_FILE, a as CatalogSection, b as ConfigError, E as EmbeddingSection, f as findConfig, r as readConfig } from './config-BkSpjUG6.js';
|
|
@@ -101,7 +101,7 @@ type Output = {
|
|
|
101
101
|
* per-asset settings that do not belong in the cross-tool sources under .agents/.
|
|
102
102
|
*/
|
|
103
103
|
|
|
104
|
-
declare const TOOLS: readonly ["claude", "codex", "gemini", "grok", "antigravity"];
|
|
104
|
+
declare const TOOLS: readonly ["claude", "codex", "gemini", "grok", "antigravity", "opencode"];
|
|
105
105
|
type Tool = (typeof TOOLS)[number];
|
|
106
106
|
type Invocation = "any" | "user";
|
|
107
107
|
interface PackageRulesSpec {
|
|
@@ -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.
|
|
278
|
+
declare const SERVER_VERSION = "0.17.0";
|
|
279
279
|
/**
|
|
280
280
|
* Registers the skill_* tools on a server.
|
|
281
281
|
*
|