@mrdrmccoy/xerj-opencode-plugin 0.4.0 → 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 +19 -2
- package/src/rpc.ts +1 -1
- package/src/tui.tsx +2 -0
- package/tsconfig.json +21 -0
package/package.json
CHANGED
|
@@ -1,7 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrdrmccoy/xerj-opencode-plugin",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "XERJ integration for OpenCode: local code and docs search, agent memory, and retrieval accounting.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/MrDrMcCoy/xerj-opencode-plugin.git"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/MrDrMcCoy/xerj-opencode-plugin#readme",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/MrDrMcCoy/xerj-opencode-plugin/issues"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"opencode",
|
|
15
|
+
"plugin",
|
|
16
|
+
"search",
|
|
17
|
+
"xerj",
|
|
18
|
+
"rag",
|
|
19
|
+
"code-search"
|
|
20
|
+
],
|
|
5
21
|
"type": "module",
|
|
6
22
|
"license": "Apache-2.0",
|
|
7
23
|
"exports": {
|
|
@@ -10,7 +26,8 @@
|
|
|
10
26
|
"./tui": "./src/tui.tsx"
|
|
11
27
|
},
|
|
12
28
|
"files": [
|
|
13
|
-
"src"
|
|
29
|
+
"src",
|
|
30
|
+
"tsconfig.json"
|
|
14
31
|
],
|
|
15
32
|
"scripts": {
|
|
16
33
|
"typecheck": "tsc --noEmit",
|
package/src/rpc.ts
CHANGED
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
|
+
}
|