@cachly-dev/mcp-server 0.10.208 → 0.10.210
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 +4 -5
- package/dist/src/brains-tls.js +1 -0
- package/dist/src/index.js +100 -100
- package/dist/src/tools.js +1 -1
- package/glama.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -288,11 +288,10 @@ known cause. Ready-to-paste templates live in [`src/ci-integration/`](./src/ci-i
|
|
|
288
288
|
|
|
289
289
|
- **GitHub Actions:** use [cachly-dev/cachly-action](https://github.com/cachly-dev/cachly-action).
|
|
290
290
|
It needs the secrets `CACHLY_API_KEY` and `CACHLY_BRAIN_INSTANCE_ID`.
|
|
291
|
-
- **GitLab CI:**
|
|
292
|
-
|
|
293
|
-
`
|
|
294
|
-
|
|
295
|
-
adds hidden jobs for `learn`, `scan` and `confirm`. Pull it in with `include: remote:`.
|
|
291
|
+
- **GitLab CI:** pull in the
|
|
292
|
+
[GitLab template](https://github.com/cachly-dev/cachly-action/blob/main/templates/cachly.gitlab-ci.yml)
|
|
293
|
+
with `include: remote:`. It adds hidden jobs for `learn`, `scan`, `confirm` and `hygiene`;
|
|
294
|
+
extend the ones you want.
|
|
296
295
|
- **Anything else:** [`push-ci-outcome.mjs`](./src/ci-integration/push-ci-outcome.mjs) is a
|
|
297
296
|
standalone Node.js helper with no dependencies. It always exits 0, so your CI never
|
|
298
297
|
fails because of a Brain push.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{rootCertificates as a}from"node:tls";function p(t,e,o=process.env){const l=o.CACHLY_BRAINS_TLS!=="aus",r=Number(e?.tls_port??0),s=typeof e?.tls_ca=="string"?e.tls_ca:"";return l&&Number.isInteger(r)&&r>0&&s.includes("BEGIN CERTIFICATE")?{host:t.host,port:r,tls:{ca:[...a,s]},art:"tls-eigene-stelle"}:(e?e.tls_enabled!==!1:t.tls_enabled!==!1)?{host:t.host,port:t.port,tls:{},art:"tls-system"}:{host:t.host,port:t.port,art:"klartext"}}export{p as verbindungsWeg};
|