@link-assistant/agent 0.8.16 → 0.8.17
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
package/src/cli/event-handler.js
CHANGED
package/src/session/processor.ts
CHANGED
|
@@ -188,7 +188,7 @@ export namespace SessionProcessor {
|
|
|
188
188
|
await Session.updatePart({
|
|
189
189
|
...match,
|
|
190
190
|
state: {
|
|
191
|
-
status: '
|
|
191
|
+
status: 'error',
|
|
192
192
|
input: value.input,
|
|
193
193
|
error: (value.error as any).toString(),
|
|
194
194
|
metadata: undefined,
|
|
@@ -377,13 +377,13 @@ export namespace SessionProcessor {
|
|
|
377
377
|
if (
|
|
378
378
|
part.type === 'tool' &&
|
|
379
379
|
part.state.status !== 'completed' &&
|
|
380
|
-
part.state.status !== '
|
|
380
|
+
part.state.status !== 'error'
|
|
381
381
|
) {
|
|
382
382
|
await Session.updatePart({
|
|
383
383
|
...part,
|
|
384
384
|
state: {
|
|
385
385
|
...part.state,
|
|
386
|
-
status: '
|
|
386
|
+
status: 'error',
|
|
387
387
|
error: 'Tool execution aborted',
|
|
388
388
|
time: {
|
|
389
389
|
start: Date.now(),
|