@debian777/kairos-mcp 4.1.0-rc.2 → 4.1.0

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.
Files changed (28) hide show
  1. package/README.md +47 -0
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/embed-docs/mem/00000000-0000-0000-0000-000000002001.md +1 -1
  4. package/dist/embed-docs/mem/00000000-0000-0000-0000-000000002002.md +1 -1
  5. package/dist/embed-docs/mem/00000000-0000-0000-0000-000000002003.md +1 -1
  6. package/dist/embed-docs/mem/00000000-0000-0000-0000-000000002004.md +1 -1
  7. package/dist/embed-docs/mem/00000000-0000-0000-0000-000000002005.md +1 -1
  8. package/dist/http/bearer-validate.d.ts +1 -1
  9. package/dist/http/bearer-validate.d.ts.map +1 -1
  10. package/dist/resources/embedded-mcp-resources.js +6 -6
  11. package/dist/resources/embedded-mcp-resources.js.map +1 -1
  12. package/dist/ui/assets/{AccountPage-lXaul4ii.js → AccountPage-JfYcjnAT.js} +1 -1
  13. package/dist/ui/assets/{ErrorAlert-DHXPDZzO.js → ErrorAlert-D83z8ERz.js} +1 -1
  14. package/dist/ui/assets/{HomePage-d2msPw6W.js → HomePage-8xi_Q0AR.js} +1 -1
  15. package/dist/ui/assets/{KairosPage-BWOSLvwP.js → KairosPage-B_hiKrDm.js} +1 -1
  16. package/dist/ui/assets/{NotFoundPage-DAQSvq1S.js → NotFoundPage-DYh86FOL.js} +1 -1
  17. package/dist/ui/assets/{ProtocolDetailPage-zAGwAHtv.js → ProtocolDetailPage-Yu4bpsY5.js} +1 -1
  18. package/dist/ui/assets/{ProtocolEditPage-Bx-3S2mC.js → ProtocolEditPage-1rYCD60W.js} +1 -1
  19. package/dist/ui/assets/{RunGuidedPage-DkNgTlbx.js → RunGuidedPage-B4PXxgtU.js} +1 -1
  20. package/dist/ui/assets/{RunsPage-Djb2orNN.js → RunsPage-CJ63IP6l.js} +1 -1
  21. package/dist/ui/assets/{SkillBundlePage-UPlByDgm.js → SkillBundlePage-CZvvWL4r.js} +1 -1
  22. package/dist/ui/assets/{SpaceSelect-BsG9IJqQ.js → SpaceSelect-CiuL3UlZ.js} +1 -1
  23. package/dist/ui/assets/{StepFlowGraph-Drh7M9TZ.js → StepFlowGraph-Dc1f1dQ6.js} +1 -1
  24. package/dist/ui/assets/{index-DL1UXDPI.js → index-DEYTxwmF.js} +3 -3
  25. package/dist/ui/assets/{useProtocol-CarztTYE.js → useProtocol-DslyZD3Y.js} +1 -1
  26. package/dist/ui/assets/{vendor-BTHl363F.js → vendor-DDlMe9Gq.js} +19 -19
  27. package/dist/ui/index.html +2 -2
  28. package/package.json +2 -1
package/README.md CHANGED
@@ -286,6 +286,53 @@ Popular global installs:
286
286
 
287
287
  More detail: [skills/README.md](skills/README.md)
288
288
 
289
+ ## Helm Chart Testing
290
+
291
+ This repository includes a comprehensive npm target for testing the Helm chart, matching the GitHub Actions CI pipeline.
292
+
293
+ ### Quick Start
294
+
295
+ ```bash
296
+ # Run complete Helm test workflow (matches GitHub Actions)
297
+ npm run test:helm
298
+ ```
299
+
300
+ This runs `scripts/test-helm.sh` which provides clear progress indicators and handles all validation steps.
301
+
302
+ ### Test Location Recommendation
303
+
304
+ **Use `helm/` for chart-related tests** - This follows Helm conventions and keeps tests close to the chart files:
305
+
306
+ - ✅ **`helm/kairos-mcp/tests/`** - Chart unit tests (already exists)
307
+ - ✅ **`helm/kairos-mctests/`** - Additional chart validation tests
308
+ - ❌ **`tests/`** - Better suited for application code tests
309
+
310
+ ### What the Target Tests
311
+
312
+ The single `npm run test:helm` command runs the complete CI workflow:
313
+
314
+ 1. **Dependencies** - Add repos, build chart dependencies
315
+ 2. **Helm Lint** - Strict validation of chart structure
316
+ 3. **Unit Tests** - helm-unittest plugin validation
317
+ 4. **Chart Testing** - ct lint validation
318
+ 5. **Resource Validation** - kubeconform Kubernetes schema checks
319
+
320
+ ### Expected Behavior
321
+
322
+ - ✅ **All steps pass** - Chart is ready for deployment
323
+ - ⚠️ **kubeconform CRD failures** - Normal for custom resources (Gateway, HTTPRoute, Keycloak, etc.)
324
+ - ❌ **Other failures** - Requires fixes before deployment
325
+
326
+ ### Tool Requirements
327
+
328
+ The target checks for required tools and provides clear installation instructions:
329
+
330
+ - **chart-testing (ct)**: `brew install chart-testing`
331
+ - **kubeconform**: `brew install kubeconform`
332
+ - **helm-unittest**: `helm plugin install https://github.com/helm-unittest/helm-unittest --version v1.0.3`
333
+
334
+ The target will fail fast with clear error messages if any tools are missing, avoiding unnecessary installation attempts.
335
+
289
336
  ## Documentation map
290
337
 
291
338
  - [Documentation index](docs/README.md)