24 Commits

Author SHA1 Message Date
Ralph Chang 1c6e143f4b chore(release): prepare v1.5.0 2026-04-29 16:56:47 +08:00
Ralph Chang c0a083ddaf fix(memory): isolate test workspace cleanup 2026-04-28 14:50:30 +08:00
Ralph Chang 5e85d098d8 chore: prepare v1.4.0 release 2026-04-28 13:37:14 +08:00
Ralph Chang 60c7019820 chore: prepare v1.3.3 release 2026-04-28 13:06:14 +08:00
Ralph Chang 47905921ca fix: run compatibility CI on Node 24 2026-04-27 22:13:23 +08:00
Ralph Chang 1927cc8828 chore: prepare v1.3.1 release 2026-04-27 22:00:04 +08:00
Ralph Chang c2ee245620 test: add opencode plugin compatibility checks 2026-04-27 18:54:14 +08:00
Ralph Chang ef1248f23a feat: add consolidation accounting for workspace memory promotion
P0 implementation with four waves:

Wave 1: Dedup with accounting
- Add dedupeLongTermEntriesWithAccounting()
- Classify exact duplicate, identity duplicate, topic duplicate

Wave 2: Normalization with accounting
- Add normalizeWorkspaceMemoryWithAccounting()
- Chain redaction → migration → enforceLongTermLimitsWithAccounting

Wave 3: Promotion accounting integration
- Update accountPendingPromotions() to use new accounting API
- Add supersededKeys to classification
- Distinguish promoted / absorbed / superseded / rejected

Wave 4: Integration tests
- End-to-end tests covering full pipeline

Bug fixes:
- Fix active vs superseded boundary (superseded entries no longer block promotion)
- Remove unused rejected_duplicate_lower_quality type
- Defer pending journal safety cap (TODO added)

Tests: 135 passing (up from 115)
2026-04-27 16:45:55 +08:00
Ralph Chang 3560868f52 release: v1.2.3 2026-04-27 02:24:48 +08:00
Ralph Chang f6f35e87c1 feat: release v1.2.2 with multilingual memory hardening 2026-04-27 00:21:18 +08:00
Ralph Chang 32fa2bd454 chore: keep version at 1.2.1 2026-04-26 14:50:19 +08:00
Ralph Chang af539a42f3 chore: bump version to 1.2.2 for HTML comment output format 2026-04-26 14:49:46 +08:00
Ralph Chang 2354b62350 chore: bump version to 1.2.1 for compaction context fix 2026-04-26 14:35:18 +08:00
Ralph Chang 9892012d8b chore: prepare for v1.2.0 release
- Bump version to 1.2.0
- Add package.json exports and files whitelist
- Update .gitignore to exclude .opencode/ and .opencode-agenthub/
- Fix docs: active files tracked in tool.execute.after (not before)
- Fix docs: exitCode undefined is ignored (not success)
- Fix docs: session ID is hashed in storage path
- Fix docs: workspace memory survives within same workspace
2026-04-26 14:17:54 +08:00
Ralph Chang df54232fb9 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
2026-04-26 11:13:57 +08:00
Ralph Chang 4832b382b6 fix: silence memory load errors in working-memory 2026-02-19 21:13:20 +08:00
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
Ralph Chang 2edb643667 chore: bump version to v1.1.0 2026-02-18 16:44:17 +08:00
Ralph Chang bb929fc578 Clean up comments, fix docs, bump to v1.0.1 2026-02-18 14:13:37 +08:00
Ralph Chang 75c89747d8 Fix typecheck errors and update install docs for npm release 2026-02-18 10:46:03 +08:00
Ralph Chang 5c7dd0f421 Update GitHub URLs: yourusername → sdwolf4103
- Updated package.json repository URLs
- Updated README.md installation and support links
- Updated docs/installation.md clone URL
- Updated AGENTS.md clone URL
2026-02-18 10:10:03 +08:00
Ralph Chang 484cb420ca Revert "Rename project: opencode-working-memory → oh-my-memory"
This reverts commit bf11c9d55c.
2026-02-18 10:06:20 +08:00
Ralph Chang bf11c9d55c Rename project: opencode-working-memory → oh-my-memory
- Updated package.json name and URLs
- Updated README.md title and references
- Updated docs/installation.md install commands
- Updated AGENTS.md project name
- Follows oh-my-opencode naming convention
2026-02-18 09:57:46 +08:00
Ralph Chang 32d5ddfb50 Initial commit: OpenCode Working Memory Plugin v1.0.0
- Four-tier memory architecture (Core, Working, Pruning, Pressure)
- Phase 1: Core Memory blocks (goal/progress/context)
- Phase 2: Smart Pruning with adaptive thresholds
- Phase 3: Working Memory with slots + pool decay
- Phase 4: Pressure monitoring with interventions
- Phase 4.5: Storage governance (session cleanup + cache sweep)
- Complete documentation (README, AGENTS, installation, architecture, configuration)
- MIT licensed
2026-02-18 09:49:09 +08:00