@mrdrmccoy/xerj-opencode-plugin 0.4.1 → 0.4.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrdrmccoy/xerj-opencode-plugin",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "XERJ integration for OpenCode: local code and docs search, agent memory, and retrieval accounting.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,7 +26,8 @@
26
26
  "./tui": "./src/tui.tsx"
27
27
  },
28
28
  "files": [
29
- "src"
29
+ "src",
30
+ "tsconfig.json"
30
31
  ],
31
32
  "scripts": {
32
33
  "typecheck": "tsc --noEmit",
package/src/rpc.ts CHANGED
@@ -247,4 +247,4 @@ const definition = {
247
247
 
248
248
  export const XerjRpc = Rpc.define(definition);
249
249
 
250
- export const PLUGIN_VERSION = "0.4.1";
250
+ export const PLUGIN_VERSION = "0.4.2";
package/src/tui.tsx CHANGED
@@ -2,6 +2,8 @@
2
2
  // value comes over RPC from the server part, so the TUI never opens the node,
3
3
  // reads the index, or touches the filesystem.
4
4
 
5
+ /* @jsxImportSource @opentui/solid */
6
+
5
7
  import { Plugin } from "@opencode/plugin/tui";
6
8
  import { XerjRpc, type StatusSnapshot } from "./rpc.ts";
7
9
  import { panelSections, sidebarLines } from "./ui/format.ts";
package/tsconfig.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2022",
4
+ "lib": ["ES2023"],
5
+ "module": "ESNext",
6
+ "moduleResolution": "bundler",
7
+ "strict": true,
8
+ "noUncheckedIndexedAccess": true,
9
+ "noImplicitOverride": true,
10
+ "noEmit": true,
11
+ "skipLibCheck": true,
12
+ "allowImportingTsExtensions": true,
13
+ "verbatimModuleSyntax": true,
14
+ "isolatedModules": true,
15
+ "resolveJsonModule": true,
16
+ "types": ["node", "bun-types"],
17
+ "jsx": "preserve",
18
+ "jsxImportSource": "@opentui/solid"
19
+ },
20
+ "include": ["src", "test"]
21
+ }