@kalera/munin-cursor 1.0.0 → 1.0.1

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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @kalera/munin-cursor@1.0.0 build /home/runner/work/munin-for-agents/munin-for-agents/adapters/cursor
2
+ > @kalera/munin-cursor@1.0.1 build /home/runner/work/munin-for-agents/munin-for-agents/adapters/cursor
3
3
  > tsc -p tsconfig.json
4
4
 
package/README.md CHANGED
@@ -11,10 +11,19 @@
11
11
  import { createCursorMuninAdapter } from "@kalera/munin-cursor";
12
12
 
13
13
  const adapter = createCursorMuninAdapter({
14
- baseUrl: process.env.MUNIN_BASE_URL!,
15
14
  apiKey: process.env.MUNIN_API_KEY,
16
- project: process.env.MUNIN_PROJECT ?? "default",
15
+ project: process.env.MUNIN_PROJECT ?? "default-core",
17
16
  });
18
17
 
19
- await adapter.store({ key: "hello", content: "world" });
18
+ await adapter.store("your-context-core-id", { key: "hello", content: "world" });
19
+ ```
20
+
21
+ ## Setup as MCP Server
22
+
23
+ To use this adapter as a standard MCP server in Cursor:
24
+
25
+ ```bash
26
+ export MUNIN_API_KEY="your-api-key"
27
+ export MUNIN_PROJECT="your-context-core-id"
28
+ npx -y @kalera/munin-cursor mcp
20
29
  ```
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export declare function createCursorMuninAdapter(config: {
2
- baseUrl: string;
2
+ baseUrl?: string;
3
3
  apiKey?: string;
4
4
  timeoutMs?: number;
5
5
  }): {
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@kalera/munin-cursor",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "munin-cursor": "dist/cli.js"
7
7
  },
8
8
  "dependencies": {
9
- "@kalera/munin-sdk": "1.0.0",
10
- "@kalera/munin-runtime": "1.0.0"
9
+ "@kalera/munin-sdk": "1.0.1",
10
+ "@kalera/munin-runtime": "1.0.1"
11
11
  },
12
12
  "devDependencies": {
13
13
  "typescript": "^5.9.2"
package/src/index.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { MuninClient } from "@kalera/munin-sdk";
2
2
 
3
3
  export function createCursorMuninAdapter(config: {
4
- baseUrl: string;
4
+ baseUrl?: string;
5
5
  apiKey?: string;
6
6
  timeoutMs?: number;
7
7
  }) {