@ephemushroom/opencode-claude-mem 0.6.0 → 0.6.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.
package/README.md CHANGED
@@ -6,7 +6,8 @@ Persistent memory for [OpenCode](https://opencode.ai), powered by
6
6
  **Supports OpenCode 1 and OpenCode 2 with the same package name from v0.5.0.**
7
7
  No `/v2` or `/cli` suffix is required. Existing version-specific entries remain compatible.
8
8
 
9
- **v0.6.0** adds per-turn memory tracking, `mem-save`, file history and opt-in semantic
9
+ **v0.6.1** updates the OpenCode 2 TUI adapter for the `@opencode/plugin` 2.0.16
10
+ plugin contract. **v0.6.0** adds per-turn memory tracking, `mem-save`, file history and opt-in semantic
10
11
  injection, and fixes the OpenCode 2 sidebar's `No renderer found` crash.
11
12
 
12
13
  Share the same Claude-Mem worker, database, and memory across your coding
package/dist/cli.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { Plugin } from '@opencode/plugin/tui';
1
2
  /**
2
3
  * OpenCode V2 TUI plugin for Claude-Mem (the Memory sidebar).
3
4
  *
@@ -13,5 +14,5 @@
13
14
  * V1 sidebar, but registered through a `sidebar.content` slot claim with
14
15
  * reactive state from `ctx.storage.memory` (survives hot reloads).
15
16
  */
16
- declare const _default: import("@opencode-ai/plugin-v2/tui/plugin").Definition;
17
+ declare const _default: Plugin.Definition;
17
18
  export default _default;
package/dist/cli.js CHANGED
@@ -586,11 +586,13 @@ async function readMemView(project, collapsed) {
586
586
  };
587
587
  }
588
588
 
589
- // node_modules/@opencode-ai/plugin-v2/dist/tui/plugin.js
589
+ // node_modules/@opencode/plugin/dist/tui/plugin.js
590
590
  function define(plugin) {
591
591
  return plugin;
592
592
  }
593
-
593
+ // node_modules/@opencode/plugin/dist/tui/solid.js
594
+ import { createComponent, createContext, useContext } from "solid-js";
595
+ var PluginContext = createContext();
594
596
  // src/cli.ts
595
597
  var REFRESH_EVENTS = ["session.created", "session.execution.succeeded"];
596
598
  function emptyView(project) {
@@ -710,13 +712,13 @@ var cli_default = define({
710
712
  function themeFromResolved(resolved) {
711
713
  const { text } = resolved;
712
714
  return {
713
- text: text.default,
714
- textMuted: text.subdued,
715
- info: text.action.primary.default,
716
- success: text.feedback.success.default,
717
- warning: text.feedback.warning.default,
718
- error: text.feedback.error.default,
719
- borderSubtle: resolved.border.default
715
+ text: text.base,
716
+ textMuted: text.muted,
717
+ info: text.action.primary.base,
718
+ success: text.feedback.success.base,
719
+ warning: text.feedback.warning.base,
720
+ error: text.feedback.error.base,
721
+ borderSubtle: resolved.border.base
720
722
  };
721
723
  }
722
724
  function materializeNode(node, solid) {
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  id: string;
3
3
  tui: (api: any) => Promise<void>;
4
- setup: (context: import("@opencode-ai/plugin-v2/tui/context").Context) => Promise<import("@opencode-ai/plugin-v2/tui/plugin").Cleanup | void> | import("@opencode-ai/plugin-v2/tui/plugin").Cleanup | void;
4
+ setup: (context: import("@opencode/plugin/tui/context").Context) => Promise<import("@opencode/plugin/tui/plugin").Cleanup | void> | import("@opencode/plugin/tui/plugin").Cleanup | void;
5
5
  };
6
6
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ephemushroom/opencode-claude-mem",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "OpenCode plugin for Claude-Mem persistent memory system",
5
5
  "main": "./dist/package-server.js",
6
6
  "types": "./dist/package-server.d.ts",
@@ -61,13 +61,15 @@
61
61
  "access": "public"
62
62
  },
63
63
  "dependencies": {
64
- "@opentui/solid": "0.5.1"
64
+ "@opentui/solid": "0.5.10"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@opencode-ai/plugin": "^1.14.41",
68
68
  "@opencode-ai/plugin-v2": "npm:@opencode-ai/plugin@0.0.0-beta-19151",
69
69
  "@opencode-ai/theme": "^0.0.0-next-17030",
70
- "@opentui/core": "0.5.1",
70
+ "@opencode/plugin": "2.0.16",
71
+ "@opencode/theme": "2.0.16",
72
+ "@opentui/core": "0.5.10",
71
73
  "@types/bun": "latest",
72
74
  "oxfmt": "^0.33.0",
73
75
  "oxlint": "^1.63.0",