@catalogicus-international/n8n-nodes-light-rag 0.5.1 → 0.5.3

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,7 +1,14 @@
1
1
  # @catalogicus-international/n8n-nodes-light-rag
2
2
 
3
3
  An n8n community package for LightRAG workflows, AI Agent retrieval, document
4
- management, and live query progress in n8n Chat. Current release: `0.5.1`.
4
+ management, and live query progress in n8n Chat. Current release: `0.5.3`.
5
+
6
+ Release `0.5.3` fixes credential validation by testing a protected, read-only LightRAG
7
+ endpoint instead of the public health check, so invalid API keys and bearer tokens no
8
+ longer appear valid.
9
+
10
+ Release `0.5.2` republishes the `0.5.1` behavior under a fresh patch version so npm
11
+ and self-hosted n8n installations can resolve the latest package metadata consistently.
5
12
 
6
13
  Release `0.5.1` replaces raw source file names and front matter in live Chat progress
7
14
  with compact Markdown materials. Public HTTP(S) sources use the front-matter title and
@@ -202,6 +209,12 @@ Create a `LightRAG API` credential:
202
209
  - API key authentication is sent using `X-API-Key`;
203
210
  - include a configured reverse-proxy API prefix in the Base URL when applicable.
204
211
 
212
+ The credential test calls the protected, read-only `GET /documents/pipeline_status`
213
+ endpoint. API Key and Bearer Token therefore pass only when the secret is accepted, while
214
+ None passes only when the server actually permits unauthenticated API access. `GET /health`
215
+ is a liveness check and is not used to validate credentials because LightRAG can return
216
+ HTTP 200 there without authenticating the caller.
217
+
205
218
  ## Development
206
219
 
207
220
  ```bash
@@ -69,7 +69,7 @@ class LightRagApi {
69
69
  this.test = {
70
70
  request: {
71
71
  baseURL: '={{$credentials.baseUrl}}',
72
- url: '/health',
72
+ url: '/documents/pipeline_status',
73
73
  method: 'GET',
74
74
  },
75
75
  };
@@ -1 +1 @@
1
- {"version":3,"file":"LightRagApi.credentials.js","sourceRoot":"","sources":["../../credentials/LightRagApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,WAAW;IAAxB;QACC,SAAI,GAAG,aAAa,C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AC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,WAAW,EACV,iFAAiF;oBAClF,aAAa,EACZ,uGAAuG;oBACxG,MAAM,EAAE,kBAAkB;iBAC1B;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,2BAA2B;gBACpC,GAAG,EAAE,SAAS;gBACd,MAAM,EAAE,KAAK;aACb;SACD,CAAC;IACH,CAAC;CAAA;AAhFD,kCAgFC"}
1
+ {"version":3,"file":"LightRagApi.credentials.js","sourceRoot":"","sources":["../../credentials/LightRagApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,WAAW;IAAxB;QACC,SAAI,GAAG,aAAa,CAAC;QAErB,gBAAW,GAAG,cAAc,CAAC;QAE7B,SAAI,GAAS,4BAA4B,CAAC;QAE1C,qBAAgB,GACf,yEAAyE,CAAC;QAE3E,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,4EAA4E;aACzF;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACR,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE;oBACpC,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,aAAa,EAAE;oBAC9C,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;iBAC/B;gBACD,OAAO,EAAE,QAAQ;aACjB;YACD;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,cAAc,EAAE;oBACf,IAAI,EAAE;wBACL,cAAc,EAAE,CAAC,QAAQ,CAAC;qBAC1B;iBACD;gBACD,WAAW,EAAE,oCAAoC;aACjD;YACD;gBACC,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,cAAc,EAAE;oBACf,IAAI,EAAE;wBACL,cAAc,EAAE,CAAC,aAAa,CAAC;qBAC/B;iBACD;gBACD,WAAW,EAAE,4DAA4D;aACzE;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,WAAW,EACV,iFAAiF;oBAClF,aAAa,EACZ,uGAAuG;oBACxG,MAAM,EAAE,kBAAkB;iBAC1B;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,2BAA2B;gBACpC,GAAG,EAAE,4BAA4B;gBACjC,MAAM,EAAE,KAAK;aACb;SACD,CAAC;IACH,CAAC;CAAA;AAhFD,kCAgFC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@catalogicus-international/n8n-nodes-light-rag",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "description": "n8n nodes for LightRAG workflows, AI Agent retrieval, and live n8n Chat responses",
5
5
  "license": "MIT",
6
6
  "packageManager": "pnpm@9.15.0",