@agimon-ai/doompi-config 0.0.1-alpha.75 → 0.0.1-alpha.76
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/extensions/mcp.cjs +26 -0
- package/dist/extensions/mcp.cjs.map +1 -0
- package/dist/extensions/mcp.d.cts +5 -0
- package/dist/extensions/mcp.d.cts.map +1 -0
- package/dist/extensions/mcp.d.mts +5 -0
- package/dist/extensions/mcp.d.mts.map +1 -0
- package/dist/extensions/mcp.mjs +21 -0
- package/dist/extensions/mcp.mjs.map +1 -0
- package/package.json +13 -5
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
Object.defineProperties(exports, {
|
|
2
|
+
__esModule: { value: true },
|
|
3
|
+
[Symbol.toStringTag]: { value: "Module" }
|
|
4
|
+
});
|
|
5
|
+
let _agimon_ai_doompi_core_mcp_facet = require("@agimon-ai/doompi-core/mcp-facet");
|
|
6
|
+
let _agimon_ai_doompi_core_server_facet = require("@agimon-ai/doompi-core/server-facet");
|
|
7
|
+
//#region src/extensions/workspaces/sessions/(backend)/skill/doompi-author-config.mcp.ts
|
|
8
|
+
var doompi_author_config_mcp_default = (0, _agimon_ai_doompi_core_mcp_facet.defineMcpSkill)({
|
|
9
|
+
name: "doompi-author-config",
|
|
10
|
+
description: "Configure DoomPi runtime settings, source precedence, and typed session configuration. Use for config.yaml, the doom/config Cordis service, immutable context snapshots, or shared selection transition state. Do not use for defining modes.yaml, domains.yaml, or profiles.yaml.",
|
|
11
|
+
read: () => (0, _agimon_ai_doompi_core_server_facet.readPackageResource)(require("url").pathToFileURL(__filename).href, "src/prompts/doompi-author-config/SKILL.md")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region generated/mcp.ts
|
|
15
|
+
const at = (value, context) => typeof value === "function" ? value(context) : value;
|
|
16
|
+
const mcp = (0, _agimon_ai_doompi_core_mcp_facet.defineMcpPlugin)({
|
|
17
|
+
name: "@agimon-ai/doompi-config",
|
|
18
|
+
session: (context) => ({ get skills() {
|
|
19
|
+
return [at(doompi_author_config_mcp_default, context)];
|
|
20
|
+
} })
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.default = mcp;
|
|
24
|
+
exports.mcp = mcp;
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=mcp.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp.cjs","names":["defineMcpSkill","readPackageResource","defineMcpPlugin","skillDoompiAuthorConfig"],"sources":["../../src/extensions/workspaces/sessions/(backend)/skill/doompi-author-config.mcp.ts","../../generated/mcp.ts"],"sourcesContent":["import { defineMcpSkill } from '@agimon-ai/doompi-core/mcp-facet';\nimport { readPackageResource } from '@agimon-ai/doompi-core/server-facet';\n\nexport default defineMcpSkill({\n name: 'doompi-author-config',\n description:\n 'Configure DoomPi runtime settings, source precedence, and typed session configuration. Use for config.yaml, the doom/config Cordis service, immutable context snapshots, or shared selection transition state. Do not use for defining modes.yaml, domains.yaml, or profiles.yaml.',\n read: () => readPackageResource(import.meta.url, 'src/prompts/doompi-author-config/SKILL.md'),\n});\n","// Generated by @agimon-ai/doompi-build. Do not edit by hand.\nimport { defineMcpPlugin, type DoomMcpSessionPlugin } from '@agimon-ai/doompi-core/mcp-facet';\n\nimport skillDoompiAuthorConfig from '../src/extensions/workspaces/sessions/(backend)/skill/doompi-author-config.mcp';\n\ntype Factory<T, C> = (context: C) => T;\nconst at = <T, C>(value: T | Factory<T, C>, context: C): T =>\n typeof value === 'function' ? (value as Factory<T, C>)(context) : value;\n\nexport const mcp = defineMcpPlugin({\n name: '@agimon-ai/doompi-config',\n session: (context) => ({\n get skills(): DoomMcpSessionPlugin['skills'] { return [at(skillDoompiAuthorConfig, context)]; },\n }) satisfies DoomMcpSessionPlugin,\n});\n\nexport default mcp;\n"],"mappings":";;;;;;;AAGA,IAAA,oCAAA,GAAeA,iCAAAA,eAAAA,CAAe;CAC5B,MAAM;CACN,aACE;CACF,aAAA,GAAYC,oCAAAA,oBAAAA,CAAAA,QAAAA,KAAAA,CAAAA,CAAAA,cAAAA,UAAAA,CAAAA,CAAAA,MAAqC,2CAA2C;AAC9F,CAAC;;;ACFD,MAAM,MAAY,OAA0B,YAC1C,OAAO,UAAU,aAAc,MAAwB,OAAO,IAAI;AAEpE,MAAa,OAAA,GAAMC,iCAAAA,gBAAAA,CAAgB;CACjC,MAAM;CACN,UAAU,aAAa,EACrB,IAAI,SAAyC;EAAE,OAAO,CAAC,GAAGC,kCAAyB,OAAO,CAAC;CAAG,EAChG;AACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp.d.cts","names":[],"sources":["../../generated/mcp.ts"],"mappings":";qBASa,gDAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp.d.mts","names":[],"sources":["../../generated/mcp.ts"],"mappings":";qBASa,gDAAG"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineMcpPlugin, defineMcpSkill } from "@agimon-ai/doompi-core/mcp-facet";
|
|
2
|
+
import { readPackageResource } from "@agimon-ai/doompi-core/server-facet";
|
|
3
|
+
//#region src/extensions/workspaces/sessions/(backend)/skill/doompi-author-config.mcp.ts
|
|
4
|
+
var doompi_author_config_mcp_default = defineMcpSkill({
|
|
5
|
+
name: "doompi-author-config",
|
|
6
|
+
description: "Configure DoomPi runtime settings, source precedence, and typed session configuration. Use for config.yaml, the doom/config Cordis service, immutable context snapshots, or shared selection transition state. Do not use for defining modes.yaml, domains.yaml, or profiles.yaml.",
|
|
7
|
+
read: () => readPackageResource(import.meta.url, "src/prompts/doompi-author-config/SKILL.md")
|
|
8
|
+
});
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region generated/mcp.ts
|
|
11
|
+
const at = (value, context) => typeof value === "function" ? value(context) : value;
|
|
12
|
+
const mcp = defineMcpPlugin({
|
|
13
|
+
name: "@agimon-ai/doompi-config",
|
|
14
|
+
session: (context) => ({ get skills() {
|
|
15
|
+
return [at(doompi_author_config_mcp_default, context)];
|
|
16
|
+
} })
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { mcp as default, mcp };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=mcp.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp.mjs","names":["skillDoompiAuthorConfig"],"sources":["../../src/extensions/workspaces/sessions/(backend)/skill/doompi-author-config.mcp.ts","../../generated/mcp.ts"],"sourcesContent":["import { defineMcpSkill } from '@agimon-ai/doompi-core/mcp-facet';\nimport { readPackageResource } from '@agimon-ai/doompi-core/server-facet';\n\nexport default defineMcpSkill({\n name: 'doompi-author-config',\n description:\n 'Configure DoomPi runtime settings, source precedence, and typed session configuration. Use for config.yaml, the doom/config Cordis service, immutable context snapshots, or shared selection transition state. Do not use for defining modes.yaml, domains.yaml, or profiles.yaml.',\n read: () => readPackageResource(import.meta.url, 'src/prompts/doompi-author-config/SKILL.md'),\n});\n","// Generated by @agimon-ai/doompi-build. Do not edit by hand.\nimport { defineMcpPlugin, type DoomMcpSessionPlugin } from '@agimon-ai/doompi-core/mcp-facet';\n\nimport skillDoompiAuthorConfig from '../src/extensions/workspaces/sessions/(backend)/skill/doompi-author-config.mcp';\n\ntype Factory<T, C> = (context: C) => T;\nconst at = <T, C>(value: T | Factory<T, C>, context: C): T =>\n typeof value === 'function' ? (value as Factory<T, C>)(context) : value;\n\nexport const mcp = defineMcpPlugin({\n name: '@agimon-ai/doompi-config',\n session: (context) => ({\n get skills(): DoomMcpSessionPlugin['skills'] { return [at(skillDoompiAuthorConfig, context)]; },\n }) satisfies DoomMcpSessionPlugin,\n});\n\nexport default mcp;\n"],"mappings":";;;AAGA,IAAA,mCAAe,eAAe;CAC5B,MAAM;CACN,aACE;CACF,YAAY,oBAAoB,YAAY,KAAK,2CAA2C;AAC9F,CAAC;;;ACFD,MAAM,MAAY,OAA0B,YAC1C,OAAO,UAAU,aAAc,MAAwB,OAAO,IAAI;AAEpE,MAAa,MAAM,gBAAgB;CACjC,MAAM;CACN,UAAU,aAAa,EACrB,IAAI,SAAyC;EAAE,OAAO,CAAC,GAAGA,kCAAyB,OAAO,CAAC;CAAG,EAChG;AACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agimon-ai/doompi-config",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.76",
|
|
4
4
|
"description": "Typed configuration loading, validation, and host services for composing DoomPi sessions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent-configuration",
|
|
@@ -144,14 +144,14 @@
|
|
|
144
144
|
"registry": "https://registry.npmjs.org/"
|
|
145
145
|
},
|
|
146
146
|
"dependencies": {
|
|
147
|
-
"@agimon-ai/doompi-core": "0.0.1-alpha.
|
|
148
|
-
"@agimon-ai/doompi-telemetry": "0.0.1-alpha.
|
|
147
|
+
"@agimon-ai/doompi-core": "0.0.1-alpha.77",
|
|
148
|
+
"@agimon-ai/doompi-telemetry": "0.0.1-alpha.74",
|
|
149
149
|
"@deepseek-ai/cordis": "4.0.2",
|
|
150
150
|
"typebox": "1.3.30",
|
|
151
151
|
"yaml": "2.9.0"
|
|
152
152
|
},
|
|
153
153
|
"devDependencies": {
|
|
154
|
-
"@agimon-ai/doompi-build": "0.0.1-alpha.
|
|
154
|
+
"@agimon-ai/doompi-build": "0.0.1-alpha.6",
|
|
155
155
|
"@earendil-works/pi-coding-agent": "0.85.1",
|
|
156
156
|
"@types/node": "26.5.1",
|
|
157
157
|
"@vitest/coverage-v8": "5.0.0",
|
|
@@ -165,6 +165,13 @@
|
|
|
165
165
|
"engines": {
|
|
166
166
|
"node": ">=22.19.0"
|
|
167
167
|
},
|
|
168
|
+
"doompiMcp": {
|
|
169
|
+
"entry": "./generated/mcp.ts",
|
|
170
|
+
"dist": "./dist/extensions/mcp.mjs",
|
|
171
|
+
"scopes": [
|
|
172
|
+
"session"
|
|
173
|
+
]
|
|
174
|
+
},
|
|
168
175
|
"doompiServer": {
|
|
169
176
|
"entry": "./generated/server.ts",
|
|
170
177
|
"dist": "./dist/extensions/server.mjs",
|
|
@@ -184,7 +191,8 @@
|
|
|
184
191
|
]
|
|
185
192
|
},
|
|
186
193
|
"scripts": {
|
|
187
|
-
"build": "tsdown",
|
|
194
|
+
"build": "tsdown && pnpm build:mcp",
|
|
195
|
+
"build:mcp": "tsdown --config tsdown.mcp.config.ts",
|
|
188
196
|
"test": "vitest --run",
|
|
189
197
|
"typecheck": "tsc --noEmit",
|
|
190
198
|
"lint": "oxlint . && oxfmt . --check",
|