@link-assistant/agent 0.25.0 → 0.25.1
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
|
@@ -111,13 +111,12 @@ export function convertOpenCodeToClaude(
|
|
|
111
111
|
case 'tool_use':
|
|
112
112
|
if (event.part && event.part.state) {
|
|
113
113
|
const state = event.part.state as Record<string, unknown>;
|
|
114
|
-
const tool = state.tool as Record<string, unknown> | undefined;
|
|
115
114
|
return {
|
|
116
115
|
type: 'tool_use',
|
|
117
116
|
timestamp,
|
|
118
117
|
session_id,
|
|
119
|
-
name: (tool
|
|
120
|
-
input:
|
|
118
|
+
name: (event.part.tool as string) || 'unknown',
|
|
119
|
+
input: state.input || {},
|
|
121
120
|
tool_use_id: event.part.id as string,
|
|
122
121
|
};
|
|
123
122
|
}
|