code-frontmatter 0.2.4 → 0.2.6
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/index.js +1 -1
- package/package.json +1 -1
- package/dist/tools/scan.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -75,7 +75,7 @@ async function main() {
|
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
77
|
// ─── 工具 2: cfm_write ──────────────────────────────────
|
|
78
|
-
server.tool("cfm_write", "将标准 CFM 表头写入指定代码文件。CRITICAL:
|
|
78
|
+
server.tool("cfm_write", "将标准 CFM 表头写入指定代码文件。CRITICAL: 更新表头时您有'主动维护义务':1. 读取旧表头。2. 保留'永久性技术约束/经验教训'。3. 丢弃'变更日志/历史/流程信息'。4. 将剩余内容极致精简。禁止盲目覆盖!", {
|
|
79
79
|
file: z
|
|
80
80
|
.string()
|
|
81
81
|
.describe("目标文件的绝对路径"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "code-frontmatter",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "让每一个代码文件拥有自己的身份证,让 AI 不读全文就能理解你的整个项目。An MCP Server that gives every code file a self-describing frontmatter header for AI assistants.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
package/dist/tools/scan.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scan.d.ts","sourceRoot":"","sources":["../../src/tools/scan.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAY,UAAU,EAAE,MAAM,cAAc,CAAC;AAiCzD;;;;;;GAMG;AACH,wBAAsB,aAAa,CAC/B,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE;IACL,cAAc;IACd,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,uBAAuB;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;CAChB,GACP,OAAO,CAAC,UAAU,CAAC,CAsBrB"}
|