refactor: simplify entry point to v2 architecture

- Replace 2000+ line monolithic index.ts with thin wrapper importing MemoryV2Plugin
- Update package.json description to reflect three-layer architecture
- Add test script for Node.js built-in test runner
This commit is contained in:
Ralph Chang
2026-04-26 11:13:57 +08:00
parent 72dc919ece
commit df54232fb9
2 changed files with 9 additions and 2025 deletions
+6 -2023
View File
File diff suppressed because it is too large Load Diff
+3 -2
View File
@@ -1,12 +1,13 @@
{
"name": "opencode-working-memory",
"version": "1.1.2",
"description": "Advanced four-tier memory architecture for OpenCode with intelligent pressure monitoring and auto-storage governance",
"description": "Three-layer memory architecture for OpenCode with workspace memory and hot session state",
"type": "module",
"main": "index.ts",
"scripts": {
"build": "node -e \"console.log('No build step required: OpenCode loads index.ts directly')\"",
"typecheck": "tsc --noEmit"
"typecheck": "tsc --noEmit",
"test": "node --test --experimental-strip-types tests/*.test.ts"
},
"keywords": [
"opencode",