@studiometa/productive-mcp 0.10.6 → 0.10.8
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/formatters.d.ts +4 -0
- package/dist/formatters.d.ts.map +1 -1
- package/dist/handlers/custom-fields.d.ts +26 -0
- package/dist/handlers/custom-fields.d.ts.map +1 -0
- package/dist/handlers/help.d.ts.map +1 -1
- package/dist/handlers/index.d.ts.map +1 -1
- package/dist/handlers/pre-validation-guards.d.ts +64 -0
- package/dist/handlers/pre-validation-guards.d.ts.map +1 -0
- package/dist/handlers/schema.d.ts.map +1 -1
- package/dist/handlers/valid-includes.d.ts.map +1 -1
- package/dist/{handlers-BvwBrRHp.js → handlers-t95fhdps.js} +2844 -2349
- package/dist/handlers-t95fhdps.js.map +1 -0
- package/dist/handlers.js +1 -1
- package/dist/hints.d.ts +4 -0
- package/dist/hints.d.ts.map +1 -1
- package/dist/http.d.ts +1 -0
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +13 -4
- package/dist/http.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -5
- package/dist/index.js.map +1 -1
- package/dist/resources.d.ts +81 -0
- package/dist/resources.d.ts.map +1 -0
- package/dist/schema.d.ts +4 -2
- package/dist/schema.d.ts.map +1 -1
- package/dist/server.js +2 -2
- package/dist/{handlers-Cha6_ulB.js → stdio-Bi1Lvp8O.js} +97 -2
- package/dist/stdio-Bi1Lvp8O.js.map +1 -0
- package/dist/stdio.js +2 -99
- package/dist/version-DpBFJ7eV.js +236 -0
- package/dist/version-DpBFJ7eV.js.map +1 -0
- package/package.json +3 -3
- package/skills/SKILL.md +168 -59
- package/dist/handlers-BvwBrRHp.js.map +0 -1
- package/dist/handlers-Cha6_ulB.js.map +0 -1
- package/dist/stdio.js.map +0 -1
- package/dist/version-KdH6s_ty.js +0 -29
- package/dist/version-KdH6s_ty.js.map +0 -1
package/dist/version-KdH6s_ty.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { readFileSync } from "node:fs";
|
|
2
|
-
import { dirname, join } from "node:path";
|
|
3
|
-
import { fileURLToPath } from "node:url";
|
|
4
|
-
/**
|
|
5
|
-
* MCP Server Instructions
|
|
6
|
-
*
|
|
7
|
-
* These instructions are sent to Claude Desktop during initialization
|
|
8
|
-
* and used as context/hints for the LLM. This ensures the AI agent
|
|
9
|
-
* knows how to properly use the Productive.io MCP server.
|
|
10
|
-
*
|
|
11
|
-
* The content is derived from skills/SKILL.md (without YAML frontmatter).
|
|
12
|
-
*/
|
|
13
|
-
var __dirname = dirname(fileURLToPath(import.meta.url));
|
|
14
|
-
/**
|
|
15
|
-
* Load instructions from SKILL.md file
|
|
16
|
-
* Removes YAML frontmatter (content between --- markers)
|
|
17
|
-
*/
|
|
18
|
-
function loadInstructions() {
|
|
19
|
-
try {
|
|
20
|
-
return readFileSync(join(__dirname, "..", "skills", "SKILL.md"), "utf-8").replace(/^---\n[\s\S]*?\n---\n+/, "").trim();
|
|
21
|
-
} catch {
|
|
22
|
-
return "Productive.io MCP Server - Use the productive tool with resource and action parameters.";
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
const INSTRUCTIONS = loadInstructions();
|
|
26
|
-
const VERSION = "0.10.6";
|
|
27
|
-
export { INSTRUCTIONS as n, VERSION as t };
|
|
28
|
-
|
|
29
|
-
//# sourceMappingURL=version-KdH6s_ty.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"version-KdH6s_ty.js","names":[],"sources":["../src/instructions.ts","../src/version.ts"],"sourcesContent":["/**\n * MCP Server Instructions\n *\n * These instructions are sent to Claude Desktop during initialization\n * and used as context/hints for the LLM. This ensures the AI agent\n * knows how to properly use the Productive.io MCP server.\n *\n * The content is derived from skills/SKILL.md (without YAML frontmatter).\n */\n\nimport { readFileSync } from 'node:fs';\nimport { dirname, join } from 'node:path';\nimport { fileURLToPath } from 'node:url';\n\nconst __dirname = dirname(fileURLToPath(import.meta.url));\n\n/**\n * Load instructions from SKILL.md file\n * Removes YAML frontmatter (content between --- markers)\n */\nfunction loadInstructions(): string {\n try {\n // In dist/, go up to package root, then to skills/\n const skillPath = join(__dirname, '..', 'skills', 'SKILL.md');\n const content = readFileSync(skillPath, 'utf-8');\n\n // Remove YAML frontmatter (between --- markers at start of file)\n const withoutFrontmatter = content.replace(/^---\\n[\\s\\S]*?\\n---\\n+/, '');\n\n return withoutFrontmatter.trim();\n } catch {\n // Fallback if file not found (shouldn't happen in production)\n return 'Productive.io MCP Server - Use the productive tool with resource and action parameters.';\n }\n}\n\nexport const INSTRUCTIONS = loadInstructions();\n","/**\n * Package version - injected from package.json at build time\n */\ndeclare const __VERSION__: string;\nexport const VERSION = __VERSION__;\n"],"mappings":";;;;;;;;;;;;AAcA,IAAM,YAAY,QAAQ,cAAc,OAAO,KAAK,IAAI,CAAC;;;;;AAMzD,SAAS,mBAA2B;AAClC,KAAI;AAQF,SALgB,aADE,KAAK,WAAW,MAAM,UAAU,WAAW,EACrB,QAAQ,CAGb,QAAQ,0BAA0B,GAAG,CAE9C,MAAM;SAC1B;AAEN,SAAO;;;AAIX,MAAa,eAAe,kBAAkB;AChC9C,MAAa,UAAA"}
|