@cachly-dev/mcp-server 0.10.226 → 0.10.227
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/README.md +3 -3
- package/dist/src/ambient-cli.js +2 -2
- package/dist/src/brain-export.js +3 -3
- package/dist/src/ckg.js +1 -1
- package/dist/src/cli-argumente.js +1 -0
- package/dist/src/cls-hook.js +5 -5
- package/dist/src/doctor.js +2 -2
- package/dist/src/einblendung-rahmen.js +4 -4
- package/dist/src/einblendung.js +6 -6
- package/dist/src/handlers/fedbrain.js +25 -25
- package/dist/src/handlers/team.js +1 -1
- package/dist/src/index.js +167 -160
- package/dist/src/projektdateien.js +7 -7
- package/glama.json +1 -1
- package/hooks/cachly-ambient-einblendung.mjs +29 -29
- package/package.json +1 -1
- package/server.json +2 -2
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
const
|
|
1
|
+
const u="<!-- cachly-brain-start -->",l="<!-- cachly-brain-end -->";function f(e=""){return new RegExp(`${u}[\\s\\S]*?${l}`,e)}const m=`---
|
|
2
2
|
description: Cachly AI Brain \u2014 persistent memory protocol (recall before tasks, learn after fixes)
|
|
3
3
|
alwaysApply: true
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
`,
|
|
6
|
+
`,y=`---
|
|
7
7
|
name: cachly AI Brain
|
|
8
8
|
description: Persistent memory protocol (recall before tasks, learn after fixes)
|
|
9
9
|
alwaysApply: true
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
`,
|
|
13
|
-
`+
|
|
14
|
-
`,"utf-8"),"appended"
|
|
15
|
-
`,"utf-8"),"written"}const
|
|
12
|
+
`,h={claude:".mcp.json",cursor:".cursor/mcp.json",windsurf:".windsurf/mcp.json",copilot:".vscode/mcp.json",continue:".continue/config.json",cline:".vscode/mcp.json",zed:".zed/settings.json"};function _(e,r,i,t,n){if(e.nurMitIdea&&!t(n(r,".idea")))return!1;if(e.nurMit){const a=(e.nurMit.projekt??[]).some(o=>t(n(r,o))),s=(e.nurMit.heim??[]).some(o=>t(n(i,o)));if(!a&&!s)return!1}return!0}async function w(e,r,i){const{writeFile:t,appendFile:n,readFile:a,mkdir:s}=await import("node:fs/promises"),{existsSync:o}=await import("node:fs"),{dirname:d}=await import("node:path");if(await s(d(e),{recursive:!0}),o(e)){const c=await a(e,"utf-8");if(c.includes(u)){const p=c.replace(f(),()=>r);return p===c?"unchanged":(await t(e,p,"utf-8"),"updated")}return await n(e,`
|
|
13
|
+
`+r+`
|
|
14
|
+
`,"utf-8"),"appended"}return await t(e,(i??"")+r+`
|
|
15
|
+
`,"utf-8"),"written"}const E=[{pfad:["CLAUDE.md"]},{pfad:["AGENTS.md"]},{pfad:[".github","copilot-instructions.md"]},{pfad:[".cursor","rules","cachly.mdc"],prefix:m},{pfad:[".windsurfrules"]},{pfad:[".clinerules"]},{pfad:[".aiassistant","rules","cachly.md"],nurMitIdea:!0},{pfad:["GEMINI.md"],nurMit:{projekt:[".gemini"],heim:[".gemini"]}},{pfad:[".junie","guidelines.md"],nurMit:{projekt:[".junie"]}},{pfad:[".continue","rules","cachly.md"],prefix:y,nurMit:{projekt:[".continue"],heim:[".continue"]}},{pfad:[".rules"],nurMit:{projekt:[".rules"]}},{pfad:[".cursorrules"],nurMit:{projekt:[".cursorrules"]}}];function g(e){return`${u}
|
|
16
16
|
## Cachly AI Brain \u2014 Always Active
|
|
17
17
|
|
|
18
18
|
The Brain MCP server runs automatically. Instance: \`${e}\`
|
|
@@ -67,4 +67,4 @@ Report predicted failure risks to the user before proceeding.
|
|
|
67
67
|
|
|
68
68
|
### Half-finished code rule:
|
|
69
69
|
Never commit code that does not compile. Run \`tsc --noEmit\` / \`go build ./...\` before every commit.
|
|
70
|
-
${
|
|
70
|
+
${l}`}export{E as ANWEISUNGS_DATEIEN,l as CLAUDE_MD_MARKER_END,u as CLAUDE_MD_MARKER_START,y as CONTINUE_RULE_FRONTMATTER,m as CURSOR_MDC_FRONTMATTER,h as EDITOR_FILES,f as blockMuster,g as buildClaudeMdBlock,w as setzeAnweisungsblock,_ as sollSchreiben};
|