Skip to content

feat(script): agent-substrate streaming for forge script#14791

Draft
stevencartavia wants to merge 1 commit into
steven/agent-stream-adoptionfrom
steven/agent-script-stream
Draft

feat(script): agent-substrate streaming for forge script#14791
stevencartavia wants to merge 1 commit into
steven/agent-stream-adoptionfrom
steven/agent-script-stream

Conversation

@stevencartavia
Copy link
Copy Markdown
Collaborator

Stacked on #14775.

Adopts --machine for forge script:

  • output_mode=stream, event_schema_ref=foundry:forge.script.event@v1, result_schema_ref=foundry:forge.script@v1, side_effects=ChainWrite, long_running=true.
  • NDJSON phase events (compile, simulate, broadcast) and structured warnings on stdout; terminal envelope summarizes the on-chain effect (mode, tx hashes, created contracts).
  • Broadcast failures emit a typed script.broadcast_failed envelope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant