@cachly-dev/mcp-server 0.10.250 → 0.10.252
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/src/autor.js +1 -1
- package/dist/src/handlers/brain.js +64 -64
- package/dist/src/handlers/fedbrain.js +37 -37
- package/dist/src/index.js +91 -91
- package/dist/src/projektdateien.js +5 -5
- package/glama.json +1 -1
- package/package.json +1 -1
- package/server.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const d="<!-- cachly-brain-start -->",p="<!-- cachly-brain-end -->";function f(e=""){return new RegExp(`${d}[\\s\\S]*?${p}`,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
|
---
|
|
@@ -9,10 +9,10 @@ description: Persistent memory protocol (recall before tasks, learn after fixes)
|
|
|
9
9
|
alwaysApply: true
|
|
10
10
|
---
|
|
11
11
|
|
|
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
|
|
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 w(e,r,c,n,t,s){if(e.nurMitIdea&&!n(t(r,".idea")))return!1;if(e.nurMit){const i=(e.nurMit.projekt??[]).some(o=>n(t(r,o))),a=(e.nurMit.heim??[]).some(o=>n(t(c,o)));if(!i&&!a)return!1}if(s&&e.editoren&&!e.editoren.includes(s)){const i=n(t(r,...e.pfad)),a=(e.ordner??[]).some(o=>n(t(r,o)));if(!i&&!a)return!1}return!0}async function _(e,r,c){const{writeFile:n,appendFile:t,readFile:s,mkdir:i}=await import("node:fs/promises"),{existsSync:a}=await import("node:fs"),{dirname:o}=await import("node:path");if(await i(o(e),{recursive:!0}),a(e)){const u=await s(e,"utf-8");if(u.includes(d)){const l=u.replace(f(),()=>r);return l===u?"unchanged":(await n(e,l,"utf-8"),"updated")}return await t(e,`
|
|
13
13
|
`+r+`
|
|
14
|
-
`,"utf-8"),"appended"}return await
|
|
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`${
|
|
14
|
+
`,"utf-8"),"appended"}return await n(e,(c??"")+r+`
|
|
15
|
+
`,"utf-8"),"written"}const E=[{pfad:["CLAUDE.md"],editoren:["claude"],ordner:[".claude"]},{pfad:["AGENTS.md"],editoren:["codex","zed"],ordner:[".codex"]},{pfad:[".github","copilot-instructions.md"],editoren:["copilot"]},{pfad:[".cursor","rules","cachly.mdc"],prefix:m,editoren:["cursor"],ordner:[".cursor"]},{pfad:[".windsurfrules"],editoren:["windsurf"],ordner:[".windsurf"]},{pfad:[".clinerules"],editoren:["cline"]},{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`${d}
|
|
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
|
+
${p}`}export{E as ANWEISUNGS_DATEIEN,p as CLAUDE_MD_MARKER_END,d 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,_ as setzeAnweisungsblock,w as sollSchreiben};
|
package/glama.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cachly-dev/mcp-server",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.252",
|
|
4
4
|
"mcpName": "io.github.cachly-dev/mcp-server",
|
|
5
5
|
"description": "Memory for coding agents: your AI stores every fix and finds it again when the problem returns. MCP server for Claude Code, Cursor, Copilot, Windsurf, Codex and Gemini CLI, hosted in the EU.",
|
|
6
6
|
"type": "module",
|
package/server.json
CHANGED
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"url": "https://github.com/cachly-dev/cachly-mcp",
|
|
18
18
|
"source": "github"
|
|
19
19
|
},
|
|
20
|
-
"version": "0.10.
|
|
20
|
+
"version": "0.10.252",
|
|
21
21
|
"packages": [
|
|
22
22
|
{
|
|
23
23
|
"registryType": "npm",
|
|
24
24
|
"identifier": "@cachly-dev/mcp-server",
|
|
25
|
-
"version": "0.10.
|
|
25
|
+
"version": "0.10.252",
|
|
26
26
|
"runtimeHint": "npx",
|
|
27
27
|
"transport": {
|
|
28
28
|
"type": "stdio"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"environmentVariables": [
|
|
31
31
|
{
|
|
32
32
|
"name": "CACHLY_JWT",
|
|
33
|
-
"description": "Optional API key (starts with cky_). Leave it empty and cachly
|
|
33
|
+
"description": "Optional API key (starts with cky_). Leave it empty and cachly opens a browser sign-in on first use; the free plan needs no card.",
|
|
34
34
|
"isRequired": false,
|
|
35
35
|
"isSecret": true,
|
|
36
36
|
"format": "string"
|