@codemem/opencode-plugin 0.46.0-alpha.2 → 0.46.0-beta.1

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.
@@ -30,7 +30,7 @@ import {
30
30
 
31
31
  const TRUTHY_VALUES = ["1", "true", "yes"];
32
32
  const DISABLED_VALUES = ["0", "false", "off"];
33
- const PINNED_BACKEND_VERSION = "0.46.0-alpha.2";
33
+ const PINNED_BACKEND_VERSION = "0.46.0-beta.1";
34
34
  const COMPAT_CHECK_DELAY_MS = 1500;
35
35
  const COMPAT_CHECK_CACHE_TTL_MS = 5 * 60 * 1000;
36
36
  const MAX_UPDATE_STATUS_BYTES = 16 * 1024;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "type": "module",
3
3
  "dependencies": {
4
- "@opencode-ai/plugin": "1.18.29"
4
+ "@opencode-ai/plugin": "1.18.31"
5
5
  }
6
6
  }
package/README.md CHANGED
@@ -3,8 +3,8 @@
3
3
  Persistent memory plugin for [OpenCode](https://opencode.ai).
4
4
 
5
5
  Requires OpenCode 1.18.29 or newer. The same package also runs on OpenCode 2,
6
- validated against the exact stable `@opencode/cli@2.0.2` and
7
- `@opencode/plugin@2.0.2` releases. Codemem's OpenCode 2 integration is beta.
6
+ validated against the exact stable `@opencode/cli@2.0.12` and
7
+ `@opencode/plugin@2.0.12` releases. Codemem's OpenCode 2 integration is beta.
8
8
 
9
9
  ## Install
10
10
 
@@ -58,7 +58,7 @@ The package default export is one dual-host object. OpenCode 1 calls its
58
58
  setup captures conversation, tool, usage, and lifecycle activity and disposes its
59
59
  host registrations on unload. It exposes the manual `mem-status`, `mem-recent`,
60
60
  and `mem-stats` tools through `tool.transform` with `codemode: false`, keeping
61
- the hyphenated IDs. OpenCode 2.0.2 automatic recall runs through
61
+ the hyphenated IDs. OpenCode 2.0.12 automatic recall runs through
62
62
  `session.context` when the latest user message has a non-empty ID. Each identified turn performs one fresh retrieval, while
63
63
  retries and tool continuations replay retained context. Missing or blank identity
64
64
  skips recall safely, and auxiliary hooks remain isolated.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemem/opencode-plugin",
3
- "version": "0.46.0-alpha.2",
3
+ "version": "0.46.0-beta.1",
4
4
  "description": "CodeMem plugin for OpenCode",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -35,11 +35,11 @@
35
35
  ".opencode/lib/"
36
36
  ],
37
37
  "dependencies": {
38
- "@opencode-ai/plugin": "1.18.29",
39
- "@opencode/plugin": "2.0.2"
38
+ "@opencode-ai/plugin": "1.18.31",
39
+ "@opencode/plugin": "2.0.12"
40
40
  },
41
41
  "devDependencies": {
42
- "@opencode/cli": "2.0.2",
42
+ "@opencode/cli": "2.0.12",
43
43
  "@types/node": "^24.12.4",
44
44
  "vitest": "^4.1.11"
45
45
  },
@@ -4,7 +4,7 @@ import { Plugin } from "@opencode/plugin";
4
4
  const SYSTEM_PART_CONTRACT_TEXT = "codemem-v2-system-part-contract";
5
5
  const MESSAGE_PART_CONTRACT_TEXT = "codemem-v2-message-part-contract";
6
6
 
7
- export const OPEN_CODE_V2_CONTRACT_VERSION = "2.0.2";
7
+ export const OPEN_CODE_V2_CONTRACT_VERSION = "2.0.12";
8
8
  export const OPEN_CODE_V2_CONTEXT_MARKER = "codemem-v2-context-hook-applied";
9
9
 
10
10
  export type ContractRecord = Readonly<Record<string, unknown>>;
@@ -3,6 +3,6 @@
3
3
  "type": "module",
4
4
  "main": "./index.ts",
5
5
  "peerDependencies": {
6
- "@opencode/plugin": "2.0.2"
6
+ "@opencode/plugin": "2.0.12"
7
7
  }
8
8
  }