Skip to content

fix: mark delegated session commands as synthetic#75

Merged
dbpolito merged 1 commit intomainfrom
fix/session-command-synthetic-flag
Apr 1, 2026
Merged

fix: mark delegated session commands as synthetic#75
dbpolito merged 1 commit intomainfrom
fix/session-command-synthetic-flag

Conversation

@dbpolito
Copy link
Copy Markdown
Contributor

@dbpolito dbpolito commented Apr 1, 2026

Summary

Fixes an issue where delegated session commands were not being marked as synthetic, causing them to surface as user messages instead of being handled internally.

Changes

  • Add synthetic: true to session command parts to prevent them from surfacing as user messages
  • Update executeSessionCommand to mark delegated turns as synthetic
  • Update test to expect synthetic flag in parts

- Add synthetic: true to session command parts to prevent them from surfacing as user messages
- Update executeSessionCommand to mark delegated turns as synthetic
- Update test to expect synthetic flag in parts
@dbpolito dbpolito merged commit eb0ba44 into main Apr 1, 2026
1 check passed
@dbpolito dbpolito deleted the fix/session-command-synthetic-flag branch April 1, 2026 17:16
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