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: initialize SDK regeneration branch
* chore: unfreeze files pending regen
* chore(repo): ignore agent docs and Claude skills in fern regen
* chore(regen): automate ClientOptions patch reapply
* SDK regeneration
* chore: re-apply manual patches after regen
- Restore ClientOptions.java SDK header constants and release-please version markers (overwritten by Fern with com.deepgram.fern:api-sdk and version 0.2.2).
- Restore context7.json and add it to .fernignore so future regens don't delete it.
- Rewrite the Agent WebSocket README snippet for the upstream agent settings restructure: ThinkSettingsV1 and ThinkSettingsV1Provider replace the AgentV1SettingsAgentThinkOneItem wrappers, and OpenAiThinkProvider now requires .builder().model(...) instead of accepting a free-form Map.
* fix(examples): align Java examples with regenerated SDK types
* chore(regen): align Java patch workflow with backup-restore strategy
* chore(repo): dedupe agent entries in .fernignore
---------
Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: .claude/skills/review-regen.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
@@ -14,7 +14,7 @@ Read AGENTS.md for full context on the regeneration workflow and freeze classifi
14
14
- Patches still needed (must be re-applied)
15
15
- New changes from the generator worth noting
16
16
5. Wait for user direction on which patches to re-apply.
17
-
6. Re-apply confirmed patches to the generated files.
17
+
6. Re-apply confirmed patches to the generated files. If `src/main/java/com/deepgram/core/ClientOptions.java` still needs the patch, restore it through the standard `.bak` swap/restore workflow used for other temporarily frozen files.
18
18
7. In `.fernignore`, replace each `.bak` path back to the original path for files that still need patches.
19
19
8. Remove `.fernignore` entries entirely for files where patches are no longer needed.
Copy file name to clipboardExpand all lines: AGENTS.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ How to identify:
47
47
48
48
Current temporarily frozen files:
49
49
50
-
-`src/main/java/com/deepgram/core/ClientOptions.java` - preserves release-please version markers and correct SDK header constants that Fern currently overwrites
50
+
-`src/main/java/com/deepgram/core/ClientOptions.java` - preserves release-please version markers and correct SDK header constants that Fern currently overwrites; use the standard `.bak` swap/restore workflow during regen review
51
51
52
52
### Prepare repo for regeneration
53
53
@@ -66,7 +66,7 @@ Current temporarily frozen files:
66
66
The `.bak` files are our manually patched versions protected by `.fernignore`. The original paths now contain the freshly generated versions. By comparing the two, we can see what the generator now produces versus what we had patched.
67
67
68
68
1. Diff each `.bak` file against the new generated version to understand what changed and whether our patches are still needed.
69
-
2. Re-apply any patches that are still necessary to the newly generated files.
69
+
2. Re-apply any patches that are still necessary to the newly generated files. For `src/main/java/com/deepgram/core/ClientOptions.java`, use the standard `.bak` restore flow if the generated output still overwrites the Deepgram SDK header constants and `// x-release-please-version` markers.
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.
0 commit comments