@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 +2 -3
- package/dist/config.js.map +1 -1
- package/dist/tools.d.ts +4 -4
- package/package.json +1 -1
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:
|
|
7
|
-
apiKey:
|
|
5
|
+
debug: env?.MINNS_DEBUG === "true",
|
|
6
|
+
apiKey: env?.MINNS_API_KEY || undefined,
|
|
8
7
|
};
|
|
9
8
|
}
|
|
10
9
|
export function buildClient(cfg) {
|
package/dist/config.js.map
CHANGED
|
@@ -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,
|
|
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:
|
|
38
|
+
priority: 5 | 3 | 2 | 1 | 4;
|
|
39
39
|
progress: number;
|
|
40
40
|
}, {
|
|
41
41
|
text: string;
|
|
42
|
-
priority?:
|
|
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:
|
|
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?:
|
|
66
|
+
priority?: 5 | 3 | 2 | 1 | 4 | undefined;
|
|
67
67
|
progress?: number | undefined;
|
|
68
68
|
}[] | undefined;
|
|
69
69
|
}>;
|