feat(ui): tool call abstraction, turn diff summary, and composer improvements

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Kit Langton 2026-03-06 16:34:10 -06:00 committed by Adam
commit 4795806b13
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
136 changed files with 11978 additions and 4261 deletions

View file

@ -1,3 +1,10 @@
export function same<T>(a: readonly T[] | undefined, b: readonly T[] | undefined) {
if (a === b) return true
if (!a || !b) return false
if (a.length !== b.length) return false
return a.every((x, i) => x === b[i])
}
export function findLast<T>(
items: readonly T[],
predicate: (item: T, index: number, items: readonly T[]) => boolean,