You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: update examples for AgentV1SettingsAgent restructure
The 2026-05-05 regen turned AgentV1SettingsAgent into a discriminated union
(.of(AgentV1SettingsAgentContext)) and moved think/speak/listen/greeting
into the new AgentV1SettingsAgentContext submodel, with renamed inner
types (AgentV1SettingsAgentContextThink etc.). Update the four affected
examples — InjectMessage, VoiceAgent, CustomProviders, ProviderCombinations
— to use the new shape.
Also update AGENTS.md to make the post-regen verify step run
`./gradlew test compileExamples`. `test` alone misses the examples/
directory; only the README snippet test catches the equivalent break in
the README, so without compileExamples the regen review can pass while
hand-maintained example files still won't compile against the new API.
Copy file name to clipboardExpand all lines: AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,5 +70,5 @@ The `.bak` files are our manually patched versions protected by `.fernignore`. T
70
70
3. In `.fernignore`, replace each `.bak` path back to the original path for files that still need patches.
71
71
4. Remove `.fernignore` entries entirely for any files where the generator now produces correct output.
72
72
5. Delete all `.bak` files once review is complete.
73
-
6. Run checks (`./gradlew test`) to verify.
73
+
6. Run checks (`./gradlew test compileExamples`) to verify. `test` covers unit/wire tests including the README snippet compilation; `compileExamples` separately compiles the hand-maintained `examples/` directory and catches stale API call sites that `test` alone would miss.
74
74
7. Commit as `chore: re-apply manual patches after regen` and push.
0 commit comments