@deepseekdev/coder 1.0.83 → 1.0.84

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.
@@ -1597,6 +1597,10 @@ Any text response is a failure. Only tool calls are accepted.`;
1597
1597
  let toolDisplay = `${variantIcon} [${toolName}]`;
1598
1598
  if (toolName === 'Bash' && toolArgs?.['command']) {
1599
1599
  toolDisplay = `${variantIcon} Running: $ ${toolArgs['command']}`;
1600
+ // Set the command for live terminal header display
1601
+ if (renderer) {
1602
+ renderer.setLiveTerminalCommand(String(toolArgs['command']));
1603
+ }
1600
1604
  }
1601
1605
  else if (toolArgs?.['target']) {
1602
1606
  toolDisplay += ` ${toolArgs['target']}`;
@@ -2148,6 +2152,8 @@ Any text response is a failure. Only tool calls are accepted.`;
2148
2152
  let toolDisplay = variantIcon ? `${variantIcon} [${toolName}]` : `[${toolName}]`;
2149
2153
  if (toolName === 'Bash' && args?.['command']) {
2150
2154
  toolDisplay = variantIcon ? `${variantIcon} Running: $ ${args['command']}` : `Running: $ ${args['command']}`;
2155
+ // Set the command for live terminal header display
2156
+ renderer.setLiveTerminalCommand(String(args['command']));
2151
2157
  }
2152
2158
  else if (toolName === 'Read' && args?.['file_path']) {
2153
2159
  toolDisplay += ` ${args['file_path']}`;
@@ -3627,6 +3633,10 @@ Any text response is a failure. Only tool calls are accepted.`;
3627
3633
  }
3628
3634
  if (toolName === 'Bash' && args?.['command']) {
3629
3635
  toolDisplay = `Running: $ ${args['command']}`;
3636
+ // Set the command for live terminal header display
3637
+ if (renderer) {
3638
+ renderer.setLiveTerminalCommand(String(args['command']));
3639
+ }
3630
3640
  }
3631
3641
  else if (toolName === 'Read' && args?.['file_path']) {
3632
3642
  toolDisplay += ` ${args['file_path']}`;