Commit Graph

118 Commits

Author SHA1 Message Date
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)
v1.1.1
2026-02-19 13:43:26 +08:00
Ralph Chang 6fad91953c docs: improve token-usage section readability 2026-02-18 16:59:47 +08:00
Ralph Chang 7b33b51c1e docs: add token-usage guidance for session patterns 2026-02-18 16:57:40 +08:00
Ralph Chang 2edb643667 chore: bump version to v1.1.0 v1.1.0 2026-02-18 16:44:17 +08:00
Ralph Chang d7302e531a perf: move core memory guidelines from system prompt to tool description 2026-02-18 16:39:21 +08:00
Ralph Chang bb929fc578 Clean up comments, fix docs, bump to v1.0.1 v1.0.1 2026-02-18 14:13:37 +08:00
Ralph Chang 98e5ecaa91 Fix installation: no npm install needed, OpenCode auto-installs from config 2026-02-18 11:08:09 +08:00
Ralph Chang c008fb860f Fix Quick Start: agent prompts instead of CLI commands 2026-02-18 10:59:22 +08:00
Ralph Chang c743ddb331 Restore Quick Start example commands 2026-02-18 10:58:15 +08:00
Ralph Chang 0631286962 Improve README: simplify Quick Start and remove Phase labels 2026-02-18 10:51:01 +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 605524b674 Improve ASCII diagram alignment in README
- Fine-tuned spacing and padding for better visual alignment
- Ensured consistent right border alignment across all boxes
v1.0.0
2026-02-18 10:15:53 +08:00
Ralph Chang 22cfd6ee3a Fix pressure thresholds and ASCII diagram alignment
- Corrected pressure levels: 75% (moderate) / 90% (high)
- Removed incorrect 'critical' level (95%)
- Fixed ASCII diagram alignment in README
- Updated all documentation to match actual code implementation
- Pruning modes: < 75% (normal), 75-89% (aggressive), ≥ 90% (hyper-aggressive)
2026-02-18 10:13:28 +08:00
Ralph Chang 4b862ee79c Fix ASCII diagram alignment in README
- Adjusted box borders for proper alignment
- Fixed spacing and padding
- Ensures monospace font rendering consistency
2026-02-18 10:10:56 +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