@link-assistant/agent 0.25.0 → 0.25.2

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
  "name": "@link-assistant/agent",
3
- "version": "0.25.0",
3
+ "version": "0.25.2",
4
4
  "description": "A minimal, public domain AI CLI agent compatible with OpenCode's JSON interface. Bun-only runtime.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -75,8 +75,8 @@
75
75
  "@openauthjs/openauth": "^0.4.3",
76
76
  "@opencode-ai/sdk": "^1.0.78",
77
77
  "@openrouter/ai-sdk-provider": "^2.2.3",
78
- "@opentui/core": "^0.1.79",
79
- "@opentui/solid": "^0.1.79",
78
+ "@opentui/core": "0.1.107",
79
+ "@opentui/solid": "0.1.107",
80
80
  "@parcel/watcher": "^2.5.1",
81
81
  "@solid-primitives/event-bus": "^1.1.2",
82
82
  "@standard-community/standard-json": "^0.3.5",
@@ -101,7 +101,7 @@
101
101
  "log-lazy": "^1.0.4",
102
102
  "minimatch": "^10.1.1",
103
103
  "remeda": "^2.32.0",
104
- "solid-js": "^1.9.10",
104
+ "solid-js": "1.9.12",
105
105
  "strip-ansi": "^7.1.2",
106
106
  "test-anywhere": "^0.7.0",
107
107
  "tree-sitter-bash": "^0.25.0",
@@ -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?.name as string) || 'unknown',
120
- input: tool?.parameters || {},
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
  }