Function
write
(params: RuntimeNodePtyWriteParams)
Source from the content-addressed store, hash-verified
| 113 | return { ok: true } |
| 114 | }, |
| 115 | async write(params: RuntimeNodePtyWriteParams) { |
| 116 | const state = local.active.get(params.ptyId) |
| 117 | if (!state || !state.process.stdin || state.completed) return { ok: false } |
| 118 | state.process.stdin.write(params.data) |
| 119 | return { ok: true } |
| 120 | }, |
| 121 | async resize(_params: RuntimeNodePtyResizeParams) { |
| 122 | return { ok: true } |
| 123 | }, |
Callers
nothing calls this directly
Tested by
no test coverage detected