opencode-session-port 0.1.0 → 0.1.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.
Files changed (4) hide show
  1. package/README.md +3 -3
  2. package/dist/tui.js +10276 -0
  3. package/package.json +10 -18
  4. package/tui.ts +6 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-session-port",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "description": "SessionPort: experimental Windows-first OpenCode TUI plugin for password-encrypted session checkpoint and restore.",
@@ -17,15 +17,18 @@
17
17
  "files": [
18
18
  "tui.ts",
19
19
  "src/**",
20
+ "dist/**",
20
21
  "tsconfig.json"
21
22
  ],
22
23
  "exports": {
23
- "./tui": "./src/tui.ts"
24
+ "./tui": "./dist/tui.js"
24
25
  },
25
26
  "scripts": {
26
27
  "typecheck": "tsc --noEmit",
27
28
  "test": "bun test",
28
- "verify:package": "bun run scripts/package-verify/verify.ts"
29
+ "verify:package": "bun run scripts/package-verify/verify.ts",
30
+ "build:tui": "bun run scripts/build-tui.ts",
31
+ "prepack": "bun run build:tui"
29
32
  },
30
33
  "dependencies": {
31
34
  "@opencode/plugin": "2.0.22",
@@ -33,26 +36,15 @@
33
36
  "pako": "3.0.2"
34
37
  },
35
38
  "peerDependencies": {
36
- "@opentui/core": ">=0.5.14",
37
- "@opentui/solid": ">=0.5.14",
38
- "solid-js": ">=1.9.0"
39
- },
40
- "peerDependenciesMeta": {
41
- "@opentui/core": {
42
- "optional": true
43
- },
44
- "@opentui/solid": {
45
- "optional": true
46
- },
47
- "solid-js": {
48
- "optional": true
49
- }
39
+ "@opentui/core": "0.5.14",
40
+ "@opentui/solid": "0.5.14",
41
+ "solid-js": "1.9.12"
50
42
  },
51
43
  "devDependencies": {
52
44
  "@opentui/core": "0.5.14",
53
45
  "@opentui/solid": "0.5.14",
54
46
  "@types/node": "24.12.2",
55
- "solid-js": "1.9.15",
47
+ "solid-js": "1.9.12",
56
48
  "typescript": "5.9.3"
57
49
  }
58
50
  }
package/tui.ts CHANGED
@@ -8,5 +8,10 @@
8
8
  * This file is part of the packaged `files` allowlist so an installed copy of
9
9
  * the package resolves under the pinned Host.resolve convention. It adds no
10
10
  * registration, host access, or activation of its own.
11
+ *
12
+ * The re-export targets the compiled bundle `dist/tui.js`, not the TSX source:
13
+ * the directory loader probes `<directory>/tui` by path and would otherwise
14
+ * bypass the `exports["./tui"]` bundle entirely. `dist/tui.js` is produced by
15
+ * `build:tui` (wired as `prepack`) from `src/tui.ts`.
11
16
  */
12
- export { default } from "./src/tui.ts"
17
+ export { default } from "./dist/tui.js"