Skip to content

fix(studio): adopt current Eval and Sandbox UI APIs - #6

Merged
drewstone merged 1 commit into
mainfrom
chore/agent-stack-20260728
Jul 28, 2026
Merged

drewstone merged 1 commit into
mainfrom
chore/agent-stack-20260728

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

What changed

  • Pin @tangle-network/agent-eval to 0.134.0 and @tangle-network/sandbox-ui to 0.90.3.
  • Satisfy Sandbox UI’s required peers with Agent Interface 0.36.0, Brand 1.1.0, and UI 11.2.1; React and React DOM were already present. No optional editor, terminal, graph, query, or collaboration peers were added.
  • Replace the Studio player’s loose any/unknown shapes with the published Sandbox UI types.
  • Emit the current finalTextPart pointer and current tool summary categories, and render the last model output as the final text row.
  • Add a regression test for the serialized Run contract.

Why

The old dependency set was agent-eval@0.77.0 and sandbox-ui@0.20.1. The major UI upgrade changed finalTextPart and tool category types, but the local any model hid those breaks from TypeScript. This change updates the dependencies and makes future contract drift fail during typecheck.

Checks

  • PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 pnpm install --frozen-lockfile
  • pnpm prepublishOnly: typecheck passed, 47/47 tests passed, build passed
  • Clean tarball install: 41 exports loaded with agent-eval@0.134.0; bundled Studio assets were present
  • Public Studio run: produced an 80,217-byte, 3.12-second WebM; browser errors 0; user prompt and final answer rendered
  • git merge-tree --write-tree origin/main HEAD: clean

@tangletools tangletools left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Auto-approved drewstone PR — efb303f6

This PR was opened by the trusted drewstone account.
The full PR reviewer audit still runs separately and will publish findings if it detects issues.

tangletools · auto-approval · reason: drewstone_author · 2026-07-28T10:05:12Z

@drewstone
drewstone merged commit 8224c05 into main Jul 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants