Skip to content

Commit 3aa09ef

Browse files
committed
fix merge
2 parents 05239b3 + 48ebdce commit 3aa09ef

2 files changed

Lines changed: 48 additions & 48 deletions

File tree

package.json

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
11
{
2-
"name": "opencode-supermemory",
3-
"version": "2.0.4",
4-
"description": "OpenCode plugin that gives coding agents persistent memory using Supermemory",
5-
"type": "module",
6-
"main": "dist/index.js",
7-
"types": "dist/index.d.ts",
8-
"bin": {
9-
"opencode-supermemory": "./dist/cli.js"
10-
},
11-
"scripts": {
12-
"build": "bun build ./src/index.ts --outdir ./dist --target node && bun build ./src/cli.ts --outfile ./dist/cli.js --target node && tsc --emitDeclarationOnly",
13-
"dev": "tsc --watch",
14-
"typecheck": "tsc --noEmit"
15-
},
16-
"keywords": [
17-
"opencode",
18-
"plugin",
19-
"supermemory",
20-
"memory",
21-
"ai",
22-
"coding-agent"
23-
],
24-
"author": "Supermemory",
25-
"license": "MIT",
26-
"repository": {
27-
"type": "git",
28-
"url": "https://github.com/supermemoryai/opencode-supermemory"
29-
},
30-
"dependencies": {
31-
"@opencode-ai/plugin": "^1.0.162",
32-
"supermemory": "^4.0.0"
33-
},
34-
"devDependencies": {
35-
"@types/bun": "latest",
36-
"typescript": "^5.7.3"
37-
},
38-
"opencode": {
39-
"type": "plugin",
40-
"hooks": [
41-
"chat.message",
42-
"event"
43-
]
44-
},
45-
"files": [
46-
"dist"
47-
]
2+
"name": "opencode-supermemory",
3+
"version": "2.0.5",
4+
"description": "OpenCode plugin that gives coding agents persistent memory using Supermemory",
5+
"type": "module",
6+
"main": "dist/index.js",
7+
"types": "dist/index.d.ts",
8+
"bin": {
9+
"opencode-supermemory": "./dist/cli.js"
10+
},
11+
"scripts": {
12+
"build": "bun build ./src/index.ts --outdir ./dist --target node && bun build ./src/cli.ts --outfile ./dist/cli.js --target node && tsc --emitDeclarationOnly",
13+
"dev": "tsc --watch",
14+
"typecheck": "tsc --noEmit"
15+
},
16+
"keywords": [
17+
"opencode",
18+
"plugin",
19+
"supermemory",
20+
"memory",
21+
"ai",
22+
"coding-agent"
23+
],
24+
"author": "Supermemory",
25+
"license": "MIT",
26+
"repository": {
27+
"type": "git",
28+
"url": "https://github.com/supermemoryai/opencode-supermemory"
29+
},
30+
"dependencies": {
31+
"@opencode-ai/plugin": "^1.0.162",
32+
"supermemory": "^4.0.0"
33+
},
34+
"devDependencies": {
35+
"@types/bun": "latest",
36+
"typescript": "^5.7.3"
37+
},
38+
"opencode": {
39+
"type": "plugin",
40+
"hooks": [
41+
"chat.message",
42+
"event"
43+
]
44+
},
45+
"files": [
46+
"dist"
47+
]
4848
}

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const SupermemoryPlugin: Plugin = async (ctx: PluginInput) => {
112112
if (detectMemoryKeyword(userMessage)) {
113113
log("chat.message: memory keyword detected");
114114
const nudgePart: Part = {
115-
id: `supermemory-nudge-${Date.now()}`,
115+
id: `prt_supermemory-nudge-${Date.now()}`,
116116
sessionID: input.sessionID,
117117
messageID: output.message.id,
118118
type: "text",
@@ -157,7 +157,7 @@ export const SupermemoryPlugin: Plugin = async (ctx: PluginInput) => {
157157

158158
if (memoryContext) {
159159
const contextPart: Part = {
160-
id: `supermemory-context-${Date.now()}`,
160+
id: `prt_supermemory-context-${Date.now()}`,
161161
sessionID: input.sessionID,
162162
messageID: output.message.id,
163163
type: "text",

0 commit comments

Comments
 (0)