Merge latest canonical tool output base into typed Code Mode results

This commit is contained in:
Tianyi Cui
2026-07-22 19:11:04 +08:00
10 changed files with 36 additions and 4 deletions

View File

@@ -235,6 +235,12 @@ interface GenerateOptions {
* it; replay uses it to keep concurrent parent and child cursors independent.
*/
sessionId?: Branded<'SessionId'>
/**
* Provider-neutral classification for an auxiliary model call. Adapters may
* map the purpose to model-hidden transport metadata. Ordinary conversation
* requests leave it unset.
*/
purpose?: 'compaction'
}
```