- Add message operation to retrieve a single message by ID (cleaner output, higher default maxLength of 8000) - Add role filter to messages operation (user/assistant/system) - Hide tool-call parts by default in messages/message output; showTools:true to include them - Show full session IDs instead of truncating to 12 chars - Make per-message maxLength configurable (default 2000 for messages, 8000 for message) - Increase search snippet length from 300 to 500 chars - Add local development & testing docs to AGENTS.md with symlink instructions - Bump version from 0.1.0 to 0.2.0
52 lines
1.2 KiB
JSON
52 lines
1.2 KiB
JSON
{
|
|
"name": "@alkdev/open-memory",
|
|
"version": "0.2.0",
|
|
"description": "OpenCode plugin for session memory browsing, context awareness, and compaction management.",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "bun build src/index.ts --outdir dist --target bun --format esm && tsc --emitDeclarationOnly",
|
|
"lint": "bunx @biomejs/biome check .",
|
|
"format": "bunx @biomejs/biome format --write .",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "bun test"
|
|
},
|
|
"author": "Alkimia Development",
|
|
"license": "(MIT OR Apache-2.0)",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@git.alk.dev:alkdev/open-memory.git"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"LICENSE-MIT",
|
|
"LICENSE-APACHE"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"keywords": [
|
|
"opencode",
|
|
"plugin",
|
|
"memory",
|
|
"context",
|
|
"compaction",
|
|
"session"
|
|
],
|
|
"dependencies": {
|
|
"@opencode-ai/plugin": "^1.1.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "^1.2.0",
|
|
"@types/node": "^20.14.0",
|
|
"typescript": "^5.7.3"
|
|
}
|
|
}
|