@supermemory/openclaw-supermemory 1.0.2

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/tsconfig.json ADDED
@@ -0,0 +1,24 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2022",
4
+ "module": "ES2022",
5
+ "moduleResolution": "bundler",
6
+ "strict": true,
7
+ "esModuleInterop": true,
8
+ "skipLibCheck": true,
9
+ "forceConsistentCasingInFileNames": true,
10
+ "resolveJsonModule": true,
11
+ "allowImportingTsExtensions": true,
12
+ "noEmit": true,
13
+ "rootDir": "."
14
+ },
15
+ "include": [
16
+ "*.ts",
17
+ "tools/*.ts",
18
+ "hooks/*.ts",
19
+ "commands/*.ts",
20
+ "types/*.d.ts",
21
+ "lib/*.d.ts"
22
+ ],
23
+ "exclude": ["node_modules", "dist"]
24
+ }
@@ -0,0 +1,24 @@
1
+ declare module "openclaw/plugin-sdk" {
2
+ export interface OpenClawPluginApi {
3
+ pluginConfig: unknown
4
+ logger: {
5
+ info: (msg: string) => void
6
+ warn: (msg: string) => void
7
+ error: (msg: string, ...args: unknown[]) => void
8
+ debug: (msg: string) => void
9
+ }
10
+ // biome-ignore lint/suspicious/noExplicitAny: openclaw SDK does not ship types
11
+ registerTool(tool: any, options: any): void
12
+ // biome-ignore lint/suspicious/noExplicitAny: openclaw SDK does not ship types
13
+ registerCommand(command: any): void
14
+ // biome-ignore lint/suspicious/noExplicitAny: openclaw SDK does not ship types
15
+ registerCli(handler: any, options?: any): void
16
+ // biome-ignore lint/suspicious/noExplicitAny: openclaw SDK does not ship types
17
+ registerService(service: any): void
18
+ // biome-ignore lint/suspicious/noExplicitAny: openclaw SDK does not ship types
19
+ on(event: string, handler: (...args: any[]) => any): void
20
+ }
21
+
22
+ // biome-ignore lint/suspicious/noExplicitAny: openclaw SDK does not ship types
23
+ export function stringEnum(values: readonly string[]): any
24
+ }