Skip to content

Commit e46da00

Browse files
committed
Move broker PTY logic into fork-terminal
1 parent e67f93d commit e46da00

File tree

5 files changed

+442
-375
lines changed

5 files changed

+442
-375
lines changed

docs/upstream-sync/fork-feature-audit.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ Purpose: track **all** fork deltas and keep them preserved during upstream merge
105105

106106
### D1. Broker-backed PTY
107107
- Files:
108-
- `packages/opencode/src/pty/**`
108+
- `packages/opencode/src/pty/index.ts`
109+
- `packages/opencode/src/pty/broker-pty.ts` (wrapper)
110+
- `packages/fork-terminal/src/broker-pty.ts`
109111
- `packages/opencode/src/server/routes/pty.ts`
110112
- `packages/fork-terminal/src/server.ts`
111113
- Behavior:

packages/fork-terminal/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@
1111
"typecheck": "tsc --noEmit"
1212
},
1313
"dependencies": {
14+
"@opencode-ai/fork-auth": "workspace:*",
1415
"@opencode-ai/ui": "workspace:*",
1516
"@thisbeyond/solid-dnd": "0.7.5",
1617
"ghostty-web": "0.3.0",
1718
"solid-js": "catalog:"
1819
},
1920
"devDependencies": {
21+
"hono": "catalog:",
2022
"typescript": "catalog:",
2123
"@types/bun": "catalog:"
2224
}

0 commit comments

Comments
 (0)