snow-flow 10.0.99 → 10.0.100
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
package/src/cli/cmd/tui/app.tsx
CHANGED
|
@@ -125,7 +125,8 @@ export function tui(input: {
|
|
|
125
125
|
resolve()
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
const isRemote = !!process.env.OPENCODE_REMOTE_TUI
|
|
129
|
+
console.log("[snow-flow] starting render...", isRemote ? "(remote mode)" : "(local mode)")
|
|
129
130
|
try {
|
|
130
131
|
render(
|
|
131
132
|
() => {
|
|
@@ -178,6 +179,7 @@ export function tui(input: {
|
|
|
178
179
|
targetFps: 60,
|
|
179
180
|
gatherStats: false,
|
|
180
181
|
exitOnCtrlC: false,
|
|
182
|
+
...(isRemote ? { remote: true } : {}),
|
|
181
183
|
useKittyKeyboard: process.env.OPENCODE_DISABLE_KITTY_KEYBOARD ? undefined : {},
|
|
182
184
|
consoleOptions: {
|
|
183
185
|
keyBindings: [{ name: "y", ctrl: true, action: "copy-selection" }],
|