Skip to content

feat(agent): add runtime code asset tools#76

Merged
DavidBabinec merged 1 commit into
mainfrom
feat/agent-code-assets
Jun 17, 2026
Merged

feat(agent): add runtime code asset tools#76
DavidBabinec merged 1 commit into
mainfrom
feat/agent-code-assets

Conversation

@DavidBabinec

Copy link
Copy Markdown
Contributor

Summary

  • add browser-bridged agent tools for listing, reading, writing, patching, and inspecting runtime script/style assets
  • route code asset execution through existing site.files and site.runtime storage, with hash-guarded patching and runtime applicability inspection
  • update agent prompt/docs to steer behavior work away from stripped <script>/onclick HTML and into write_code_asset
  • keep browser-backed code asset reads classified as non-mutating and split runners to stay under module-size budgets

Verification

  • bun run build
  • bun test
  • bun run lint

@DavidBabinec
DavidBabinec marked this pull request as ready for review June 17, 2026 20:03
@DavidBabinec
DavidBabinec merged commit 24a50cf into main Jun 17, 2026
6 checks passed
@DavidBabinec
DavidBabinec deleted the feat/agent-code-assets branch June 17, 2026 20:04
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.

1 participant