opencode-codex-memory 0.10.0 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/README.md +10 -12
  2. package/dist/src/agent-health.js +10 -7
  3. package/dist/src/capture.js +7 -7
  4. package/dist/src/citation.js +12 -3
  5. package/dist/src/claude-import.js +1 -3
  6. package/dist/src/codex-interop.js +51 -17
  7. package/dist/src/db.d.ts +0 -2
  8. package/dist/src/db.js +0 -4
  9. package/dist/src/git-baseline.d.ts +10 -11
  10. package/dist/src/git-baseline.js +167 -97
  11. package/dist/src/host-client.d.ts +5 -0
  12. package/dist/src/host-client.js +24 -0
  13. package/dist/src/index.d.ts +1 -1
  14. package/dist/src/index.js +56 -99
  15. package/dist/src/llm.d.ts +4 -1
  16. package/dist/src/llm.js +43 -15
  17. package/dist/src/options.d.ts +7 -0
  18. package/dist/src/options.js +20 -2
  19. package/dist/src/paths.d.ts +1 -0
  20. package/dist/src/paths.js +5 -2
  21. package/dist/src/phase1.js +12 -21
  22. package/dist/src/phase2.js +7 -6
  23. package/dist/src/reasoning-variant.d.ts +7 -0
  24. package/dist/src/reasoning-variant.js +11 -2
  25. package/dist/src/rollout-input.js +3 -5
  26. package/dist/src/session-version.js +4 -5
  27. package/dist/src/source.js +6 -2
  28. package/dist/src/store.d.ts +3 -2
  29. package/dist/src/store.js +72 -47
  30. package/dist/src/v2/agents.js +11 -14
  31. package/dist/src/v2/model-readiness.js +3 -1
  32. package/dist/src/v2/plugin.js +81 -109
  33. package/dist/src/v2/search-sandbox.js +1 -1
  34. package/dist/src/v2/service.js +5 -0
  35. package/dist/src/v2/shim.d.ts +3 -0
  36. package/dist/src/v2/shim.js +144 -90
  37. package/dist/src/v2/status-rpc.js +40 -14
  38. package/dist/src/v2/status.js +4 -7
  39. package/dist/src/v2/tools.d.ts +15 -9
  40. package/dist/src/v2/tools.js +9 -9
  41. package/dist/src/v2/tui.js +14 -4
  42. package/dist/src/workspace.js +13 -4
  43. package/dist/tools/control.js +29 -28
  44. package/dist/tools/memory.js +163 -89
  45. package/package.json +22 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-codex-memory",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "description": "Persistent memory plugin for opencode — ports codex's two-phase memory system (extraction → consolidation → injection → citation feedback)",
5
5
  "type": "module",
6
6
  "main": "./dist/src/index.js",
@@ -51,7 +51,9 @@
51
51
  "live:e2e": "bun scripts/live-e2e.ts",
52
52
  "prepack": "npm run build && npm run smoke",
53
53
  "test": "bun test",
54
- "typecheck": "tsc --noEmit -p tsconfig.typecheck.json"
54
+ "typecheck": "tsc --noEmit -p tsconfig.typecheck.json",
55
+ "format": "prettier --write .",
56
+ "format:check": "prettier --check ."
55
57
  },
56
58
  "keywords": [
57
59
  "opencode",
@@ -75,9 +77,10 @@
75
77
  "@opencode/theme": "2.0.3",
76
78
  "@opentui/core": "0.5.10",
77
79
  "@opentui/solid": "0.5.10",
80
+ "@types/bun": "^1.1.0",
81
+ "prettier": "^3.9.10",
78
82
  "solid-js": "1.9.15",
79
- "typescript": "^5.5.0",
80
- "@types/bun": "^1.1.0"
83
+ "typescript": "^5.5.0"
81
84
  },
82
85
  "peerDependencies": {
83
86
  "@opencode/client": ">=2.0.3",
@@ -87,11 +90,21 @@
87
90
  "solid-js": ">=1.9.0"
88
91
  },
89
92
  "peerDependenciesMeta": {
90
- "@opencode/client": { "optional": true },
91
- "@opencode/plugin": { "optional": true },
92
- "@opentui/core": { "optional": true },
93
- "@opentui/solid": { "optional": true },
94
- "solid-js": { "optional": true }
93
+ "@opencode/client": {
94
+ "optional": true
95
+ },
96
+ "@opencode/plugin": {
97
+ "optional": true
98
+ },
99
+ "@opentui/core": {
100
+ "optional": true
101
+ },
102
+ "@opentui/solid": {
103
+ "optional": true
104
+ },
105
+ "solid-js": {
106
+ "optional": true
107
+ }
95
108
  },
96
109
  "engines": {
97
110
  "bun": ">=1.1.0"