orquesta-cli 0.2.78 → 0.2.79

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.
@@ -111,6 +111,18 @@ export class EvalRunner {
111
111
  if (msg.role === 'assistant' && msg.tool_calls) {
112
112
  for (const toolCall of msg.tool_calls) {
113
113
  this.emitToolCall(toolCall.function.name, toolCall.function.arguments);
114
+ if (toolCall.function.name === 'final_response') {
115
+ try {
116
+ const args = typeof toolCall.function.arguments === 'string'
117
+ ? JSON.parse(toolCall.function.arguments)
118
+ : toolCall.function.arguments;
119
+ const message = args?.message;
120
+ if (typeof message === 'string' && message.trim()) {
121
+ this.lastResponse = message;
122
+ }
123
+ }
124
+ catch { }
125
+ }
114
126
  }
115
127
  }
116
128
  if (msg.role === 'tool') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orquesta-cli",
3
- "version": "0.2.78",
3
+ "version": "0.2.79",
4
4
  "description": "Orquesta CLI - AI-powered coding assistant with team collaboration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",