Files
opencode-working-memory/package.json
T
Ralph Chang 17258ce60f fix: use SDK API instead of sqlite3 CLI for cross-platform compatibility
- Replace sqlite3 CLI with client.session.messages() and client.session.todo()
- Fix message scan order: API returns oldest-first, now scans backwards
- Include cache.read in total token calculation
- Skip in-progress messages with zero tokens
- Silent error handling (no console.error for expected failures)
2026-02-19 13:43:26 +08:00

41 lines
1.0 KiB
JSON

{
"name": "opencode-working-memory",
"version": "1.1.1",
"description": "Advanced four-tier memory architecture for OpenCode with intelligent pressure monitoring and auto-storage governance",
"type": "module",
"main": "index.ts",
"scripts": {
"build": "node -e \"console.log('No build step required: OpenCode loads index.ts directly')\"",
"typecheck": "tsc --noEmit"
},
"keywords": [
"opencode",
"plugin",
"memory",
"context-management",
"ai-agent",
"llm"
],
"author": "sdwolf4103",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/sdwolf4103/opencode-working-memory.git"
},
"bugs": {
"url": "https://github.com/sdwolf4103/opencode-working-memory/issues"
},
"homepage": "https://github.com/sdwolf4103/opencode-working-memory#readme",
"peerDependencies": {
"@opencode-ai/plugin": "^1.2.0"
},
"devDependencies": {
"@types/node": "^24.3.0",
"bun-types": "^1.2.21",
"typescript": "^5.9.2"
},
"engines": {
"node": ">=18.0.0"
}
}