Skip to content

refactor(engine): name core types from rustcode-core outside the agent - #4251

Merged
LHagfoss merged 1 commit into
mainfrom
refactor/engine-core-type-paths
Nov 22, 2026
Merged

LHagfoss merged 1 commit into
mainfrom
refactor/engine-core-type-paths

Conversation

@LHagfoss

Copy link
Copy Markdown
Owner

What

Step 4 of ADR 0008.

  • SmartUi (what a client can do with rustcode-ui v1 blocks) moves to rustcode-core. crate::app re-exports it.
  • 29 engine files outside the built-in agent name ChatMessage, TurnOutcome and SmartUi from rustcode_core instead of crate::app. These cover ACP server files, external harnesses, sessions, remote gateway and tests.
  • The files refactor(tools): move ToolExecutionOutput into rustcode-tools #4250 touches are left for a follow-up.

Changelog

No user-facing change.

Testing

cargo check --workspace --tests; CI runs the suites.

SmartUi moves to rustcode-core. Engine code outside the built-in agent
names ChatMessage, TurnOutcome and SmartUi from the core crate rather
than through crate::app.
@github-actions github-actions Bot added the refactor Code improvement and restructuring label Nov 22, 2026
@LHagfoss
LHagfoss merged commit 6b511bf into main Nov 22, 2026
7 checks passed
@LHagfoss
LHagfoss deleted the refactor/engine-core-type-paths branch November 22, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Code improvement and restructuring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant