fix(ai): preserve provider tool input identity

This commit is contained in:
starptech 2026-07-19 00:54:08 +02:00
commit 0f26246bfd
21 changed files with 833 additions and 74 deletions

View file

@ -371,6 +371,8 @@ export namespace Tool {
schema: {
...ToolBase,
name: Schema.String,
executed: Schema.Boolean.pipe(optional),
state: SessionMessage.ProviderState.pipe(optional),
},
})
export type Started = typeof Started.Type
@ -443,6 +445,7 @@ export namespace Tool {
schema: {
...ToolBase,
error: SessionError.Error,
raw: Schema.String.pipe(optional),
result: Schema.Unknown.pipe(optional),
executed: Schema.Boolean,
resultState: SessionMessage.ProviderState.pipe(optional),