Rewrites history/queries.ts to use bun:sqlite with readonly mode and parameterized queries instead of spawning sqlite3. Consolidates threshold constants into a single source of truth. Adds AGENTS.md as the canonical operational doc, moves architecture to docs/, and adds initial test suite.
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"name": "@alkdev/open-memory",
|
|
"version": "0.1.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": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@git.alk.dev:alkdev/open-memory.git"
|
|
},
|
|
"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"
|
|
}
|
|
}
|