@kalera/munin-gemini 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-gemini@1.0.0 build /home/runner/work/munin-for-agents/munin-for-agents/adapters/gemini
2
+ > @kalera/munin-gemini@1.0.1 build /home/runner/work/munin-for-agents/munin-for-agents/adapters/gemini
3
3
  > tsc -p tsconfig.json
4
4
 
package/README.md CHANGED
@@ -11,10 +11,20 @@
11
11
  import { createGeminiCliMuninAdapter } from "@kalera/munin-gemini";
12
12
 
13
13
  const adapter = createGeminiCliMuninAdapter({
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.callTool("list", { limit: 10 });
18
+ await adapter.callTool("your-context-core-id", "list", { limit: 10 });
19
+ ```
20
+
21
+ ## Setup as Extension
22
+
23
+ To use this adapter as an extension for Gemini CLI:
24
+
25
+ 1. Create a `gemini-extension.json` (see examples in this repo).
26
+ 2. Configure environment variables:
27
+ ```bash
28
+ export MUNIN_API_KEY="your-api-key"
29
+ export MUNIN_PROJECT="your-context-core-id"
20
30
  ```
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export declare function createGeminiCliMuninAdapter(config: {
2
- baseUrl: string;
2
+ baseUrl?: string;
3
3
  apiKey?: string;
4
4
  timeoutMs?: number;
5
5
  }): {
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ export function createGeminiCliMuninAdapter(config) {
7
7
  };
8
8
  }
9
9
  // Ensure defaults for Gemini CLI if run as an extension
10
- const baseUrl = process.env.MUNIN_BASE_URL || "http://127.0.0.1:3237";
10
+ const baseUrl = process.env.MUNIN_BASE_URL || "https://munin.kalera.dev";
11
11
  const apiKey = process.env.MUNIN_API_KEY;
12
12
  const extensionClient = new MuninClient({ baseUrl, apiKey });
13
13
  export const tools = [
@@ -1,9 +1,31 @@
1
1
  {
2
2
  "name": "kalera-munin",
3
- "version": "1.0.0",
4
- "description": "Kalera Munin - Long-Term Memory extension for Gemini CLI",
3
+ "version": "1.0.3",
4
+ "description": "Kalera Munin - Long-Term Memory with GraphRAG Context Cores for Gemini CLI",
5
+ "topics": ["memory", "agent", "kalera", "context", "mcp"],
5
6
  "main": "dist/index.js",
6
7
  "permissions": {
7
- "env": ["MUNIN_BASE_URL", "MUNIN_PROJECT", "MUNIN_API_KEY"]
8
+ "env": [
9
+ "MUNIN_PROJECT",
10
+ "MUNIN_API_KEY"
11
+ ]
12
+ },
13
+ "settings": [
14
+ {
15
+ "name": "API Key",
16
+ "description": "Munin API Key for authentication.",
17
+ "envVar": "MUNIN_API_KEY"
18
+ },
19
+ {
20
+ "name": "Project ID",
21
+ "description": "Default Context Core (Project) ID for Munin. (Optional)",
22
+ "envVar": "MUNIN_PROJECT"
23
+ }
24
+ ],
25
+ "mcpServers": {
26
+ "munin-mcp": {
27
+ "command": "node",
28
+ "args": ["${extensionPath}/mcp.js"]
29
+ }
8
30
  }
9
31
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@kalera/munin-gemini",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "munin-gemini": "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 createGeminiCliMuninAdapter(config: {
4
- baseUrl: string;
4
+ baseUrl?: string;
5
5
  apiKey?: string;
6
6
  timeoutMs?: number;
7
7
  }) {
@@ -15,7 +15,7 @@ export function createGeminiCliMuninAdapter(config: {
15
15
  }
16
16
 
17
17
  // Ensure defaults for Gemini CLI if run as an extension
18
- const baseUrl = process.env.MUNIN_BASE_URL || "http://127.0.0.1:3237";
18
+ const baseUrl = process.env.MUNIN_BASE_URL || "https://munin.kalera.dev";
19
19
  const apiKey = process.env.MUNIN_API_KEY;
20
20
 
21
21
  const extensionClient = new MuninClient({ baseUrl, apiKey });