@debian777/kairos-mcp 4.0.0-pre.5 → 4.0.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 (43) hide show
  1. package/README.md +12 -18
  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 +18 -2
  8. package/dist/mcp-apps/activate-widget-html.d.ts.map +1 -1
  9. package/dist/mcp-apps/activate-widget-html.js +3 -2
  10. package/dist/mcp-apps/activate-widget-html.js.map +1 -1
  11. package/dist/mcp-apps/activate-widget-inline-css.d.ts.map +1 -1
  12. package/dist/mcp-apps/activate-widget-inline-css.js +6 -24
  13. package/dist/mcp-apps/activate-widget-inline-css.js.map +1 -1
  14. package/dist/mcp-apps/activate-widget-inline-script.d.ts +0 -1
  15. package/dist/mcp-apps/activate-widget-inline-script.d.ts.map +1 -1
  16. package/dist/mcp-apps/activate-widget-inline-script.js +35 -111
  17. package/dist/mcp-apps/activate-widget-inline-script.js.map +1 -1
  18. package/dist/mcp-apps/forward-widget-html.d.ts.map +1 -1
  19. package/dist/mcp-apps/forward-widget-html.js +3 -2
  20. package/dist/mcp-apps/forward-widget-html.js.map +1 -1
  21. package/dist/mcp-apps/forward-widget-inline-css.d.ts.map +1 -1
  22. package/dist/mcp-apps/forward-widget-inline-css.js +10 -5
  23. package/dist/mcp-apps/forward-widget-inline-css.js.map +1 -1
  24. package/dist/mcp-apps/forward-widget-inline-script.d.ts +0 -1
  25. package/dist/mcp-apps/forward-widget-inline-script.d.ts.map +1 -1
  26. package/dist/mcp-apps/forward-widget-inline-script.js +75 -21
  27. package/dist/mcp-apps/forward-widget-inline-script.js.map +1 -1
  28. package/dist/mcp-apps/widget-inline-minify.d.ts +4 -0
  29. package/dist/mcp-apps/widget-inline-minify.d.ts.map +1 -0
  30. package/dist/mcp-apps/widget-inline-minify.js +16 -0
  31. package/dist/mcp-apps/widget-inline-minify.js.map +1 -0
  32. package/dist/resources/embedded-mcp-resources.js +5 -5
  33. package/dist/resources/embedded-mcp-resources.js.map +1 -1
  34. package/dist/tools/forward-view.d.ts.map +1 -1
  35. package/dist/tools/forward-view.js +12 -2
  36. package/dist/tools/forward-view.js.map +1 -1
  37. package/dist/tools/next-pow-helpers.d.ts.map +1 -1
  38. package/dist/tools/next-pow-helpers.js +2 -0
  39. package/dist/tools/next-pow-helpers.js.map +1 -1
  40. package/dist/ui/assets/{AccountPage-6pAy9m29.js → AccountPage-0lWmC1Yi.js} +1 -1
  41. package/dist/ui/assets/{index-qscia_V9.js → index-B0SMMGlX.js} +2 -2
  42. package/dist/ui/index.html +1 -1
  43. package/package.json +2 -1
package/README.md CHANGED
@@ -137,43 +137,37 @@ install it by name.
137
137
  Use this when you want the smallest working server deployment without the
138
138
  guided skill. The default Compose profile starts **Qdrant + app only**.
139
139
 
140
- 1. Copy the minimal env example:
141
-
142
- ```bash
143
- cp docs/install/env.example.minimal.txt .env
144
- ```
145
-
146
- 2. Edit `.env` and set at least:
140
+ 1. Create **`.env`** at the repository root. Copy the template from
141
+ [Docker Compose — simple stack — Environment file](docs/install/docker-compose-simple.md#3-environment-file),
142
+ then set at least:
147
143
  - `QDRANT_API_KEY`
148
144
  - one embedding provider:
149
145
  - `OPENAI_API_KEY`, or
150
146
  - `OPENAI_API_URL` + `OPENAI_EMBEDDING_MODEL` + `OPENAI_API_KEY=ollama`, or
151
147
  - `TEI_BASE_URL` (+ optional `TEI_MODEL`)
152
148
 
153
- 3. Start the stack:
149
+ 2. Start the stack:
154
150
 
155
151
  ```bash
156
152
  docker compose -p kairos-mcp up -d
157
153
  ```
158
154
 
159
- 4. Verify the server:
155
+ 3. Verify the server:
160
156
 
161
157
  ```bash
162
158
  curl http://localhost:3000/health
163
159
  ```
164
160
 
165
- 5. Open the UI or MCP endpoint:
161
+ 4. Open the UI or MCP endpoint:
166
162
  - UI: `http://localhost:3000/ui`
167
163
  - MCP: `http://localhost:3000/mcp`
168
164
  - Metrics: `http://localhost:9090/metrics`
169
165
 
170
- ### Full stack (Redis + Postgres + Keycloak)
166
+ ### Optional `fullstack` Compose profile
171
167
 
172
- For local auth-enabled development, copy the fullstack env example and start
173
- the `fullstack` profile:
168
+ Extra services (cache, DB, OIDC container) are **optional** and **not** covered as a step-by-step install in **`docs/install/`**. **Keycloak / IdP configuration is your responsibility.** See [Infrastructure](docs/architecture/infrastructure.md) and [`scripts/env/.env.template`](scripts/env/.env.template). Short [operator note](docs/install/docker-compose-full-stack.md).
174
169
 
175
170
  ```bash
176
- cp docs/install/env.example.fullstack.txt .env
177
171
  docker compose -p kairos-mcp --profile fullstack up -d
178
172
  ```
179
173
 
@@ -201,7 +195,7 @@ HTTP** entry keyed **`DEVELOPMENT_KAIROS`**, aimed at local MCP on
201
195
  If you run the minimal Compose stack without overriding `PORT`, point MCP at
202
196
  `http://localhost:3000/mcp` instead. Cursor may show a longer **agent-visible**
203
197
  server id (for example one ending in `-DEVELOPMENT_KAIROS`); see
204
- [AGENTS.md](AGENTS.md) and [docs/INSTALL-MCP.md](docs/INSTALL-MCP.md).
198
+ [AGENTS.md](AGENTS.md) and [docs/install/README.md#cursor-and-mcp](docs/install/README.md#cursor-and-mcp).
205
199
 
206
200
  When executing over MCP, follow **[Protocol execution](#protocol-execution)**
207
201
  above and each tool result’s `next_action`. The connected server’s tool
@@ -212,8 +206,8 @@ descriptions are the runtime authority if they differ from this file.
212
206
  ### Run the server with Docker Compose
213
207
 
214
208
  Use the Compose quick start above. This repository ships `compose.yaml`,
215
- minimal and fullstack env examples, and the scripts used for local development
216
- and CI.
209
+ inline **`.env`** templates in the install guides under `docs/install/`, and
210
+ the scripts used for local development and CI.
217
211
 
218
212
  ### Install the CLI
219
213
 
@@ -293,7 +287,7 @@ More detail: [skills/README.md](skills/README.md)
293
287
 
294
288
  - [Documentation index](docs/README.md)
295
289
  - [Install and environment](docs/install/README.md)
296
- - [Install KAIROS MCP in Cursor](docs/INSTALL-MCP.md)
290
+ - [Cursor and MCP](docs/install/README.md#cursor-and-mcp)
297
291
  - [CLI reference](docs/CLI.md)
298
292
  - [Architecture](docs/architecture/README.md)
299
293
  - [Protocol examples](docs/examples/README.md)