@stigmer/plugin-package 0.2.0 → 0.3.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/dialects/claude.d.ts.map +1 -1
- package/dialects/claude.js +17 -0
- package/dialects/claude.js.map +1 -1
- package/package.json +2 -2
- package/src/dialects/claude.ts +17 -0
package/dialects/claude.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claude.d.ts","sourceRoot":"","sources":["../src/dialects/claude.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,EAAgB,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EACL,KAAK,eAAe,EAOrB,MAAM,eAAe,CAAC;AAEvB,eAAO,MAAM,mBAAmB,EAAE,WAAW,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"claude.d.ts","sourceRoot":"","sources":["../src/dialects/claude.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,EAAgB,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EACL,KAAK,eAAe,EAOrB,MAAM,eAAe,CAAC;AAEvB,eAAO,MAAM,mBAAmB,EAAE,WAAW,CAAC,MAAM,CAwClD,CAAC;AAEH,0EAA0E;AAC1E,eAAO,MAAM,yBAAyB,cAAc,CAAC;AAErD,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAG,eAAe,CAExG;AAED,oFAAoF;AACpF,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,UAAU,EAClB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,aAAa,EACtB,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,EAC1B,QAAQ,EAAE,QAAQ,GACjB,eAAe,CAyBjB"}
|
package/dialects/claude.js
CHANGED
|
@@ -46,6 +46,23 @@ export const CLAUDE_KNOWN_FIELDS = new Set([
|
|
|
46
46
|
"dependencies",
|
|
47
47
|
"defaultEnabled",
|
|
48
48
|
"settings",
|
|
49
|
+
// Documented by Claude Code's manifest reference and read by tools other
|
|
50
|
+
// than Stigmer: `$schema` by editors, `displayName` by Claude Code's UI,
|
|
51
|
+
// `metadata` by nobody, `engines`, `network` and `types` by Claude Code
|
|
52
|
+
// itself, and the five listing fields by Anthropic's plugin directory. None
|
|
53
|
+
// maps to a Stigmer resource; they are known so a well-formed manifest
|
|
54
|
+
// installs without a warning (stigmer/stigmer#3389).
|
|
55
|
+
"$schema",
|
|
56
|
+
"displayName",
|
|
57
|
+
"metadata",
|
|
58
|
+
"engines",
|
|
59
|
+
"network",
|
|
60
|
+
"types",
|
|
61
|
+
"icon",
|
|
62
|
+
"documentationUrl",
|
|
63
|
+
"supportUrl",
|
|
64
|
+
"privacyPolicyUrl",
|
|
65
|
+
"termsOfServiceUrl",
|
|
49
66
|
]);
|
|
50
67
|
/** The default MCP configuration file when the manifest declares none. */
|
|
51
68
|
export const CLAUDE_DEFAULT_MCP_CONFIG = ".mcp.json";
|
package/dialects/claude.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claude.js","sourceRoot":"","sources":["../src/dialects/claude.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,EAAE,YAAY,EAAmB,MAAM,iBAAiB,CAAC;AAGhE,OAAO,EAEL,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,EACf,YAAY,EACZ,cAAc,EACd,iBAAiB,GAClB,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAwB,IAAI,GAAG,CAAC;IAC9D,MAAM;IACN,SAAS;IACT,aAAa;IACb,QAAQ;IACR,UAAU;IACV,YAAY;IACZ,SAAS;IACT,UAAU;IACV,QAAQ;IACR,UAAU;IACV,QAAQ;IACR,WAAW;IACX,OAAO;IACP,YAAY;IACZ,cAAc;IACd,YAAY;IACZ,cAAc;IACd,YAAY;IACZ,UAAU;IACV,cAAc;IACd,gBAAgB;IAChB,UAAU;
|
|
1
|
+
{"version":3,"file":"claude.js","sourceRoot":"","sources":["../src/dialects/claude.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,EAAE,YAAY,EAAmB,MAAM,iBAAiB,CAAC;AAGhE,OAAO,EAEL,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,EACf,YAAY,EACZ,cAAc,EACd,iBAAiB,GAClB,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAwB,IAAI,GAAG,CAAC;IAC9D,MAAM;IACN,SAAS;IACT,aAAa;IACb,QAAQ;IACR,UAAU;IACV,YAAY;IACZ,SAAS;IACT,UAAU;IACV,QAAQ;IACR,UAAU;IACV,QAAQ;IACR,WAAW;IACX,OAAO;IACP,YAAY;IACZ,cAAc;IACd,YAAY;IACZ,cAAc;IACd,YAAY;IACZ,UAAU;IACV,cAAc;IACd,gBAAgB;IAChB,UAAU;IACV,yEAAyE;IACzE,yEAAyE;IACzE,wEAAwE;IACxE,4EAA4E;IAC5E,uEAAuE;IACvE,qDAAqD;IACrD,SAAS;IACT,aAAa;IACb,UAAU;IACV,SAAS;IACT,SAAS;IACT,OAAO;IACP,MAAM;IACN,kBAAkB;IAClB,YAAY;IACZ,kBAAkB;IAClB,mBAAmB;CACpB,CAAC,CAAC;AAEH,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB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MAAM,CAAC,YAAY,CAAC,KAAK,SAAS,EAAE,CAAC;QACvC,QAAQ,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,CAAC,YAAY,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC1F,CAAC;IACD,MAAM,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC;IAC5C,IAAI,YAAY,CAAC,YAAY,CAAC,IAAI,YAAY,CAAC,OAAO,CAAC,KAAK,SAAS,EAAE,CAAC;QACtE,QAAQ,CAAC,QAAQ,GAAG,EAAE,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACvE,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stigmer/plugin-package",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Reads an Agent Plugins package — the open 1.0.0 format and the Cursor, Claude Code and Codex dialects — into one normalised description of what Stigmer would install, refusing with one sentence per problem what Stigmer cannot carry; pure over an in-memory file reader, shared by the CLI's offline validation and the server's install. The ./client entry is what every installing client does identically: file selection, the deterministic archive and its digest, the marketplace grammars",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@stigmer/eval-runtime": "0.
|
|
43
|
+
"@stigmer/eval-runtime": "0.3.0",
|
|
44
44
|
"fflate": "^0.8.3",
|
|
45
45
|
"yaml": "^2.8.2"
|
|
46
46
|
}
|
package/src/dialects/claude.ts
CHANGED
|
@@ -58,6 +58,23 @@ export const CLAUDE_KNOWN_FIELDS: ReadonlySet<string> = new Set([
|
|
|
58
58
|
"dependencies",
|
|
59
59
|
"defaultEnabled",
|
|
60
60
|
"settings",
|
|
61
|
+
// Documented by Claude Code's manifest reference and read by tools other
|
|
62
|
+
// than Stigmer: `$schema` by editors, `displayName` by Claude Code's UI,
|
|
63
|
+
// `metadata` by nobody, `engines`, `network` and `types` by Claude Code
|
|
64
|
+
// itself, and the five listing fields by Anthropic's plugin directory. None
|
|
65
|
+
// maps to a Stigmer resource; they are known so a well-formed manifest
|
|
66
|
+
// installs without a warning (stigmer/stigmer#3389).
|
|
67
|
+
"$schema",
|
|
68
|
+
"displayName",
|
|
69
|
+
"metadata",
|
|
70
|
+
"engines",
|
|
71
|
+
"network",
|
|
72
|
+
"types",
|
|
73
|
+
"icon",
|
|
74
|
+
"documentationUrl",
|
|
75
|
+
"supportUrl",
|
|
76
|
+
"privacyPolicyUrl",
|
|
77
|
+
"termsOfServiceUrl",
|
|
61
78
|
]);
|
|
62
79
|
|
|
63
80
|
/** The default MCP configuration file when the manifest declares none. */
|