@debian777/kairos-mcp 4.1.0-rc.1 → 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.
- package/README.md +52 -4
- package/dist/.tsbuildinfo +1 -1
- package/dist/config.d.ts +27 -3
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +51 -3
- package/dist/config.js.map +1 -1
- package/dist/embed-docs/mem/00000000-0000-0000-0000-000000002001.md +1 -1
- package/dist/embed-docs/mem/00000000-0000-0000-0000-000000002002.md +1 -1
- package/dist/embed-docs/mem/00000000-0000-0000-0000-000000002003.md +2 -3
- package/dist/embed-docs/mem/00000000-0000-0000-0000-000000002004.md +1 -1
- package/dist/embed-docs/mem/00000000-0000-0000-0000-000000002005.md +1 -1
- package/dist/http/bearer-validate.d.ts +1 -1
- package/dist/http/bearer-validate.d.ts.map +1 -1
- package/dist/http/bearer-validate.js +7 -1
- package/dist/http/bearer-validate.js.map +1 -1
- package/dist/http/http-api-train-json.d.ts.map +1 -1
- package/dist/http/http-api-train-json.js +24 -1
- package/dist/http/http-api-train-json.js.map +1 -1
- package/dist/http/oidc-profile-claims.d.ts +7 -2
- package/dist/http/oidc-profile-claims.d.ts.map +1 -1
- package/dist/http/oidc-profile-claims.js +24 -3
- package/dist/http/oidc-profile-claims.js.map +1 -1
- package/dist/mcp-apps/forward-widget-inline-css.d.ts.map +1 -1
- package/dist/mcp-apps/forward-widget-inline-css.js +5 -0
- package/dist/mcp-apps/forward-widget-inline-css.js.map +1 -1
- package/dist/mcp-apps/list-offerings-for-ui.js +4 -4
- package/dist/mcp-apps/list-offerings-for-ui.js.map +1 -1
- package/dist/mcp-apps/mcp-widget-chrome-inline-css.js +3 -3
- package/dist/mcp-apps/spaces-mcp-app-widget-html.js +2 -2
- package/dist/resources/embedded-mcp-resources.d.ts +1 -3
- package/dist/resources/embedded-mcp-resources.d.ts.map +1 -1
- package/dist/resources/embedded-mcp-resources.js +11 -13
- package/dist/resources/embedded-mcp-resources.js.map +1 -1
- package/dist/services/memory/store-adapter-default-handler.d.ts +1 -1
- package/dist/services/memory/store-adapter-default-handler.d.ts.map +1 -1
- package/dist/services/memory/store-adapter-default-handler.js +2 -2
- package/dist/services/memory/store-adapter-default-handler.js.map +1 -1
- package/dist/services/memory/store-adapter-header-handler.d.ts +1 -1
- package/dist/services/memory/store-adapter-header-handler.d.ts.map +1 -1
- package/dist/services/memory/store-adapter-header-handler.js +3 -2
- package/dist/services/memory/store-adapter-header-handler.js.map +1 -1
- package/dist/services/memory/store-adapter.d.ts +2 -0
- package/dist/services/memory/store-adapter.d.ts.map +1 -1
- package/dist/services/memory/store-adapter.js +2 -2
- package/dist/services/memory/store-adapter.js.map +1 -1
- package/dist/services/memory/store.d.ts +1 -0
- package/dist/services/memory/store.d.ts.map +1 -1
- package/dist/services/memory/store.js.map +1 -1
- package/dist/tools/activate.js +2 -2
- package/dist/tools/activate.js.map +1 -1
- package/dist/tools/delete.js +2 -2
- package/dist/tools/delete.js.map +1 -1
- package/dist/tools/dump.d.ts.map +1 -1
- package/dist/tools/dump.js +9 -6
- package/dist/tools/dump.js.map +1 -1
- package/dist/tools/export.js +2 -2
- package/dist/tools/export.js.map +1 -1
- package/dist/tools/forward-register.js +2 -2
- package/dist/tools/forward-register.js.map +1 -1
- package/dist/tools/reward.js +2 -2
- package/dist/tools/reward.js.map +1 -1
- package/dist/tools/spaces.js +2 -2
- package/dist/tools/spaces.js.map +1 -1
- package/dist/tools/train-store.d.ts.map +1 -1
- package/dist/tools/train-store.js +19 -3
- package/dist/tools/train-store.js.map +1 -1
- package/dist/tools/train.d.ts.map +1 -1
- package/dist/tools/train.js +5 -3
- package/dist/tools/train.js.map +1 -1
- package/dist/tools/train_schema.d.ts +1 -0
- package/dist/tools/train_schema.d.ts.map +1 -1
- package/dist/tools/train_schema.js +5 -1
- package/dist/tools/train_schema.js.map +1 -1
- package/dist/tools/tune.js +2 -2
- package/dist/tools/tune.js.map +1 -1
- package/dist/ui/assets/{AccountPage-IK302RsG.js → AccountPage-JfYcjnAT.js} +1 -1
- package/dist/ui/assets/{ErrorAlert-DHXPDZzO.js → ErrorAlert-D83z8ERz.js} +1 -1
- package/dist/ui/assets/{HomePage-d2msPw6W.js → HomePage-8xi_Q0AR.js} +1 -1
- package/dist/ui/assets/{KairosPage-BWOSLvwP.js → KairosPage-B_hiKrDm.js} +1 -1
- package/dist/ui/assets/{NotFoundPage-DAQSvq1S.js → NotFoundPage-DYh86FOL.js} +1 -1
- package/dist/ui/assets/{ProtocolDetailPage-zAGwAHtv.js → ProtocolDetailPage-Yu4bpsY5.js} +1 -1
- package/dist/ui/assets/{ProtocolEditPage-Bx-3S2mC.js → ProtocolEditPage-1rYCD60W.js} +1 -1
- package/dist/ui/assets/{RunGuidedPage-DkNgTlbx.js → RunGuidedPage-B4PXxgtU.js} +1 -1
- package/dist/ui/assets/{RunsPage-Djb2orNN.js → RunsPage-CJ63IP6l.js} +1 -1
- package/dist/ui/assets/{SkillBundlePage-UPlByDgm.js → SkillBundlePage-CZvvWL4r.js} +1 -1
- package/dist/ui/assets/{SpaceSelect-BsG9IJqQ.js → SpaceSelect-CiuL3UlZ.js} +1 -1
- package/dist/ui/assets/{StepFlowGraph-Drh7M9TZ.js → StepFlowGraph-Dc1f1dQ6.js} +1 -1
- package/dist/ui/assets/{index-CkkU6JYR.js → index-DEYTxwmF.js} +3 -3
- package/dist/ui/assets/{useProtocol-CarztTYE.js → useProtocol-DslyZD3Y.js} +1 -1
- package/dist/ui/assets/{vendor-BTHl363F.js → vendor-DDlMe9Gq.js} +19 -19
- package/dist/ui/index.html +2 -2
- package/dist/utils/mcp-tool-doc-runtime.d.ts +6 -0
- package/dist/utils/mcp-tool-doc-runtime.d.ts.map +1 -0
- package/dist/utils/mcp-tool-doc-runtime.js +16 -0
- package/dist/utils/mcp-tool-doc-runtime.js.map +1 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -64,10 +64,11 @@ Authoritative behavior for agents is defined in the MCP tool resources under
|
|
|
64
64
|
**`reward`**). This is an on-wire summary; follow each response’s `next_action`
|
|
65
65
|
and `must_obey` fields in real runs.
|
|
66
66
|
|
|
67
|
-
1. **`activate`** —
|
|
68
|
-
From `choices`, pick **one** row and obey **that** row’s `next_action`
|
|
69
|
-
mix in another URI). Typical roles: **`match`** (continue with
|
|
70
|
-
on the given adapter URI), **`refine`**, **`create`**
|
|
67
|
+
1. **`activate`** — Provide a short `query` string (about 3-8 words) on every
|
|
68
|
+
call. From `choices`, pick **one** row and obey **that** row’s `next_action`
|
|
69
|
+
(do not mix in another URI). Typical roles: **`match`** (continue with
|
|
70
|
+
**`forward`** on the given adapter URI), **`refine`**, **`create`**
|
|
71
|
+
(register a new adapter with **`train`**).
|
|
71
72
|
|
|
72
73
|
2. **`forward`** — With the adapter URI from **`activate`**, call **`forward`**
|
|
73
74
|
and **omit** `solution` on the **first** call for that run. Read `contract`
|
|
@@ -285,6 +286,53 @@ Popular global installs:
|
|
|
285
286
|
|
|
286
287
|
More detail: [skills/README.md](skills/README.md)
|
|
287
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
|
+
|
|
288
336
|
## Documentation map
|
|
289
337
|
|
|
290
338
|
- [Documentation index](docs/README.md)
|