Skip to content

refactor(core): split agent public types#171

Merged
haasonsaas merged 1 commit into
mainfrom
codex/agent-types-split-20260526
May 26, 2026
Merged

refactor(core): split agent public types#171
haasonsaas merged 1 commit into
mainfrom
codex/agent-types-split-20260526

Conversation

@haasonsaas
Copy link
Copy Markdown
Contributor

Summary

  • extract the agent task, checkpoint, run error, and callback type contracts into agent/types.rs
  • keep agent.rs re-exporting the same public names for the crate root
  • reduce agent.rs from 1,473 lines on main to 1,303 lines in this branch

Validation

  • cargo check -p browser-use-core
  • cargo test -p browser-use-core checkpoint --lib
  • cargo test -p browser-use-core callback --lib
  • cargo test -p browser-use-core --lib
  • cargo fmt --check
  • git diff --check

@haasonsaas haasonsaas merged commit 39d5f48 into main May 26, 2026
3 checks passed
@haasonsaas haasonsaas deleted the codex/agent-types-split-20260526 branch May 26, 2026 09:25
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