@minns/openclaw-minns 0.6.7 → 0.6.8

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/dist/config.js CHANGED
@@ -1,10 +1,9 @@
1
1
  import { createClient } from "minns-sdk";
2
2
  export function loadConfig(env) {
3
- const get = (key) => env?.[key] ?? process.env[key];
4
3
  return {
5
4
  baseUrl: "https://minns.ai/api",
6
- debug: get("MINNS_DEBUG") === "true",
7
- apiKey: get("MINNS_API_KEY") || undefined,
5
+ debug: env?.MINNS_DEBUG === "true",
6
+ apiKey: env?.MINNS_API_KEY || undefined,
8
7
  };
9
8
  }
10
9
  export function buildClient(cfg) {
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAiC,MAAM,WAAW,CAAC;AAQxE,MAAM,UAAU,UAAU,CAAC,GAA4B;IACrD,MAAM,GAAG,GAAG,CAAC,GAAW,EAAsB,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAChF,OAAO;QACL,OAAO,EAAE,sBAAsB;QAC/B,KAAK,EAAE,GAAG,CAAC,aAAa,CAAC,KAAK,MAAM;QACpC,MAAM,EAAE,GAAG,CAAC,eAAe,CAAC,IAAI,SAAS;KAC1C,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,GAAgB;IAC1C,MAAM,IAAI,GAA6B;QACrC,OAAO,EAAE,GAAG,CAAC,OAAO;QACpB,KAAK,EAAE,GAAG,CAAC,KAAK;KACjB,CAAC;IAEF,IAAI,GAAG,CAAC,MAAM,EAAE,CAAC;QACf,IAAI,CAAC,OAAO,GAAG;YACb,cAAc,EAAE,kBAAkB;YAClC,aAAa,EAAE,UAAU,GAAG,CAAC,MAAM,EAAE;SACtC,CAAC;IACJ,CAAC;IAED,OAAO,YAAY,CAAC,IAAI,CAAC,CAAC;AAC5B,CAAC"}
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAiC,MAAM,WAAW,CAAC;AAQxE,MAAM,UAAU,UAAU,CAAC,GAA4B;IACrD,OAAO;QACL,OAAO,EAAE,sBAAsB;QAC/B,KAAK,EAAE,GAAG,EAAE,WAAW,KAAK,MAAM;QAClC,MAAM,EAAE,GAAG,EAAE,aAAa,IAAI,SAAS;KACxC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,GAAgB;IAC1C,MAAM,IAAI,GAA6B;QACrC,OAAO,EAAE,GAAG,CAAC,OAAO;QACpB,KAAK,EAAE,GAAG,CAAC,KAAK;KACjB,CAAC;IAEF,IAAI,GAAG,CAAC,MAAM,EAAE,CAAC;QACf,IAAI,CAAC,OAAO,GAAG;YACb,cAAc,EAAE,kBAAkB;YAClC,aAAa,EAAE,UAAU,GAAG,CAAC,MAAM,EAAE;SACtC,CAAC;IACJ,CAAC;IAED,OAAO,YAAY,CAAC,IAAI,CAAC,CAAC;AAC5B,CAAC"}
package/dist/tools.d.ts CHANGED
@@ -35,11 +35,11 @@ export declare const MemoryCaptureSchema: z.ZodObject<{
35
35
  progress: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
36
36
  }, "strip", z.ZodTypeAny, {
37
37
  text: string;
38
- priority: 1 | 5 | 3 | 2 | 4;
38
+ priority: 5 | 3 | 2 | 1 | 4;
39
39
  progress: number;
40
40
  }, {
41
41
  text: string;
42
- priority?: 1 | 5 | 3 | 2 | 4 | undefined;
42
+ priority?: 5 | 3 | 2 | 1 | 4 | undefined;
43
43
  progress?: number | undefined;
44
44
  }>, "many">>;
45
45
  }, "strip", z.ZodTypeAny, {
@@ -51,7 +51,7 @@ export declare const MemoryCaptureSchema: z.ZodObject<{
51
51
  user_id?: string | undefined;
52
52
  goals?: {
53
53
  text: string;
54
- priority: 1 | 5 | 3 | 2 | 4;
54
+ priority: 5 | 3 | 2 | 1 | 4;
55
55
  progress: number;
56
56
  }[] | undefined;
57
57
  }, {
@@ -63,7 +63,7 @@ export declare const MemoryCaptureSchema: z.ZodObject<{
63
63
  user_id?: string | undefined;
64
64
  goals?: {
65
65
  text: string;
66
- priority?: 1 | 5 | 3 | 2 | 4 | undefined;
66
+ priority?: 5 | 3 | 2 | 1 | 4 | undefined;
67
67
  progress?: number | undefined;
68
68
  }[] | undefined;
69
69
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minns/openclaw-minns",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "MCP stdio server integrating Minns EventGraphDB into OpenClaw",
5
5
  "type": "module",
6
6
  "main": "./dist/mcp.js",