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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
- "version": "10.0.99",
3
+ "version": "10.0.100",
4
4
  "name": "snow-flow",
5
5
  "description": "Snow-Flow - ServiceNow Multi-Agent Development Framework powered by AI",
6
6
  "license": "Elastic-2.0",
@@ -125,7 +125,8 @@ export function tui(input: {
125
125
  resolve()
126
126
  }
127
127
 
128
- console.log("[snow-flow] starting render...")
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" }],
@@ -51,6 +51,8 @@ async function spawnTui(cols: number, rows: number, env?: Record<string, string>
51
51
  TERM: "xterm-256color",
52
52
  COLORTERM: "truecolor",
53
53
  FORCE_COLOR: "3",
54
+ OPENCODE_REMOTE_TUI: "1",
55
+ OPENCODE_DISABLE_KITTY_KEYBOARD: "1",
54
56
  },
55
57
  })
56
58