@ephemushroom/opencode-claude-mem 0.5.0 → 0.6.0
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/README.md +148 -17
- package/dist/build-tui-bridge.d.ts +1 -0
- package/dist/cli.js +53 -4
- package/dist/file-context.d.ts +17 -0
- package/dist/index.js +602 -58
- package/dist/memory-options.d.ts +12 -0
- package/dist/memory-session.d.ts +22 -0
- package/dist/memory-turn.d.ts +10 -0
- package/dist/memory-worker.d.ts +21 -0
- package/dist/package-tui.js +2 -2
- package/dist/tui.js +53 -4
- package/dist/v2.js +4327 -186
- package/dist/worker-client.d.ts +3 -0
- package/package.json +4 -3
package/dist/worker-client.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export interface ObservedMetadata {
|
|
|
22
22
|
}
|
|
23
23
|
export declare function parseWorkerEndpoint(env: Record<string, string | undefined>, rawSettings: string | null): WorkerEndpoint;
|
|
24
24
|
export declare function buildSearchParams(options: SearchOptions): URLSearchParams;
|
|
25
|
+
export declare function getWorkerBaseUrl(): string;
|
|
25
26
|
export declare class WorkerClient {
|
|
26
27
|
private static readonly BASE_URL;
|
|
27
28
|
/** Per-process guard so multiple OpenCode windows don't all spawn workers. */
|
|
@@ -64,6 +65,8 @@ export declare class WorkerClient {
|
|
|
64
65
|
static sessionInit(contentSessionId: string, project: string, prompt: string): Promise<{
|
|
65
66
|
sessionDbId: number;
|
|
66
67
|
promptNumber: number;
|
|
68
|
+
skipped?: boolean;
|
|
69
|
+
reason?: string;
|
|
67
70
|
} | null>;
|
|
68
71
|
/**
|
|
69
72
|
* Send observation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ephemushroom/opencode-claude-mem",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "OpenCode plugin for Claude-Mem persistent memory system",
|
|
5
5
|
"main": "./dist/package-server.js",
|
|
6
6
|
"types": "./dist/package-server.d.ts",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
|
-
"build": "bun build src/index.ts --outfile dist/index.js --target bun --format esm && bun build src/v2.ts --outfile dist/v2.js --target bun --format esm && bun build src/tui.ts --outfile dist/tui.js --target bun --format esm --external @opentui/solid --external solid-js && bun build src/cli.ts --outfile dist/cli.js --target bun --format esm --external @opentui/solid --external solid-js && bun build src/package-server.ts
|
|
34
|
+
"build": "bun build src/index.ts --outfile dist/index.js --target bun --format esm && bun build src/v2.ts --outfile dist/v2.js --target bun --format esm && bun build src/tui.ts --outfile dist/tui.js --target bun --format esm --external @opentui/solid --external solid-js && bun build src/cli.ts --outfile dist/cli.js --target bun --format esm --external @opentui/solid --external solid-js && bun build src/package-server.ts --outdir dist --target bun --format esm --external '*' && bun src/build-tui-bridge.ts && tsc -p tsconfig.build.json --emitDeclarationOnly",
|
|
35
35
|
"dev": "tsc --watch",
|
|
36
36
|
"clean": "rm -rf dist",
|
|
37
37
|
"lint": "oxlint",
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
"oxfmt": "^0.33.0",
|
|
73
73
|
"oxlint": "^1.63.0",
|
|
74
74
|
"solid-js": "1.9.14",
|
|
75
|
-
"typescript": "^5.9.3"
|
|
75
|
+
"typescript": "^5.9.3",
|
|
76
|
+
"zod": "4.1.8"
|
|
76
77
|
}
|
|
77
78
|
}
|