@cachly-dev/mcp-server 0.10.266 → 0.10.267

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 CHANGED
@@ -1,3 +1,5 @@
1
+ <p align="center"><a href="https://cachly.dev"><img src="https://cachly.dev/brand/cachly-dev.png" alt="cachly.dev" width="380"></a></p>
2
+
1
3
  # cachly — memory for coding agents (MCP server)
2
4
 
3
5
  > **Solve it once. From then on, your AI knows.**
@@ -12,6 +14,7 @@
12
14
  [![License: Apache-2.0](https://img.shields.io/badge/License-Apache--2.0-yellow)](./LICENSE)
13
15
  [![MCP Registry](https://img.shields.io/badge/MCP_Registry-io.github.cachly--dev%2Fmcp--server-blue)](https://registry.modelcontextprotocol.io/v0/servers?search=cachly)
14
16
  [![Hosted in the EU](https://img.shields.io/badge/hosted_in-the_EU-003399)](https://cachly.dev/docs/eu-hosted-mcp-memory-server)
17
+ [![mcptry](https://mcptry.com/badge/io.github.cachly-dev/mcp-server)](https://mcptry.com/servers/io.github.cachly-dev/mcp-server)
15
18
 
16
19
  **Works with** Claude Code · Cursor · GitHub Copilot · Windsurf · Cline · Continue.dev · Zed ·
17
20
  Codex CLI · Gemini CLI · JetBrains IDEs
@@ -1 +1 @@
1
- import{createHash as o}from"node:crypto";import{istMehrmandant as c,mandantKontext as u}from"./remote-zugang.js";let s="";function g(e,n){if(c())return;const t=String(e??"").trim(),r=String(n??"").trim();s=t?r?`${t}/${r}`:t:""}function l(){return s}function a(e){const n=e.split(".");if(n.length!==3)return"";try{const t=Buffer.from(n[1].replace(/-/g,"+").replace(/_/g,"/"),"base64").toString("utf8"),r=JSON.parse(t).sub;return typeof r=="string"?r.slice(0,64):""}catch{return""}}function m(e=process.env){if(c()){const i=u();return{agent:"mcp-http",...i?{principal:`key:${i.schluesselHash.slice(0,12)}`}:{},via:"mcp"}}const n=String(e.CACHLY_AGENT??"").trim()||s||"unbekannt",t=String(e.CACHLY_JWT??"").trim();let r;if(t){const i=a(t);r=i?`sub:${i}`:`key:${o("sha256").update(t).digest("hex").slice(0,12)}`}return{agent:n,...r?{principal:r}:{},via:"mcp"}}function h(e,n){const t=[];return e&&t.push(`@${e}`),n?.agent&&n.agent!=="unbekannt"&&t.push(`via ${n.agent}`),n?.principal&&t.push(n.principal),t.length>0?`\u{1F464} **Source:** ${t.join(" \xB7 ")}`:"\u{1F464} **Source:** Urheber unbekannt"}export{l as clientKennungFuerTests,m as ermittleQuelle,h as quelleZeile,g as setzeClientKennung};
1
+ import{createHash as o}from"node:crypto";import{istMehrmandant as u,mandantKontext as a}from"./remote-zugang.js";let s="";function g(e,n){if(u())return;const t=String(e??"").trim(),r=String(n??"").trim();s=t?r?`${t}/${r}`:t:""}function m(){return s}function p(e){const n=e.split(".");if(n.length!==3)return"";try{const t=Buffer.from(n[1].replace(/-/g,"+").replace(/_/g,"/"),"base64").toString("utf8"),r=JSON.parse(t).sub;return typeof r=="string"?r.slice(0,64):""}catch{return""}}function h(e=process.env){if(u()){const i=a(),c=i?i.sub?`sub:${i.sub.slice(0,64)}`:`key:${i.schluesselHash.slice(0,12)}`:void 0;return{agent:"mcp-http",...c?{principal:c}:{},via:"mcp"}}const n=String(e.CACHLY_AGENT??"").trim()||s||"unbekannt",t=String(e.CACHLY_JWT??"").trim();let r;if(t){const i=p(t);r=i?`sub:${i}`:`key:${o("sha256").update(t).digest("hex").slice(0,12)}`}return{agent:n,...r?{principal:r}:{},via:"mcp"}}function b(e,n){const t=[];return e&&t.push(`@${e}`),n?.agent&&n.agent!=="unbekannt"&&t.push(`via ${n.agent}`),n?.principal&&t.push(n.principal),t.length>0?`\u{1F464} **Source:** ${t.join(" \xB7 ")}`:"\u{1F464} **Source:** Urheber unbekannt"}export{m as clientKennungFuerTests,h as ermittleQuelle,b as quelleZeile,g as setzeClientKennung};