Skip to content

Commit 13f5fe4

Browse files
committed
chore(release): prepare 0.20.0
Removed the outdated Gemini resume warning from the README, mirrored the updated docs into packages/core/README.md, and added a v0.20.0 changelog entry covering the new session support. Bumped every package (root, adapters, ACP server, examples) to 0.20.0, refreshed package-lock/pnpm-lock, and documented that Gemini sessions are resumable.
1 parent 4a575e9 commit 13f5fe4

File tree

13 files changed

+33
-24
lines changed

13 files changed

+33
-24
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## [0.20.0] - 2025-11-19
4+
### ♻️ Gemini Resume Support
5+
- `@headless-coder-sdk/gemini-adapter` now captures CLI session ids/indexes and forwards `--resume` for every subsequent run, so both repeated thread runs and explicit `resumeThread()` flows continue the same workspace.
6+
- Added `examples/src/gemini-resume.test.ts` to cover back-to-back runs and the resumeThread path, skipping automatically when the Gemini CLI is unavailable.
7+
8+
### 📚 Documentation & Versioning
9+
- README now documents that Gemini sessions are resumable, and the updated content is mirrored to the core package README.
10+
- Bumped every package to `0.20.0` to release the Gemini resume support and documentation updates.
11+
312
## [0.19.0] - 2025-11-19
413
### ✨ Claude Native Structured Outputs
514
- `@headless-coder-sdk/claude-adapter` now relies entirely on Claude Agent SDK's native `structured_output`, removing the legacy prompt-based JSON parsing fallback so schemas are enforced by Claude itself.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const turn = await thread.run('Summarise the repo in JSON', {
112112
console.log(turn.json);
113113
```
114114

115-
> ⚠️ Gemini CLI resume support is pending upstream ([PR #10719](https://github.com/google-gemini/gemini-cli/pull/10719)).
115+
Gemini sessions are resumable—reuse the same thread handle for follow-up runs or call `resumeThread()` with a stored `threadId` to keep the CLI conversation active.
116116

117117
---
118118

examples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@headless-coder-sdk/examples-tests",
33
"private": true,
4-
"version": "0.19.0",
4+
"version": "0.20.0",
55
"type": "module",
66
"main": "src/codex-web-calculator.test.ts",
77
"files": [

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "headless-coder-sdk",
33
"private": true,
4-
"version": "0.19.0",
4+
"version": "0.20.0",
55
"type": "module",
66
"workspaces": [
77
"packages/*",

packages/acp-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@headless-coder-sdk/acp-server",
3-
"version": "0.19.0",
3+
"version": "0.20.0",
44
"type": "module",
55
"scripts": {
66
"dev": "next dev -p 8000",

packages/claude-adapter/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@headless-coder-sdk/claude-adapter",
3-
"version": "0.19.0",
3+
"version": "0.20.0",
44
"type": "module",
55
"main": "./dist/index.cjs",
66
"module": "./dist/index.js",
@@ -19,7 +19,7 @@
1919
},
2020
"peerDependencies": {
2121
"@anthropic-ai/claude-agent-sdk": ">=0.1.46",
22-
"@headless-coder-sdk/core": "^0.19.0"
22+
"@headless-coder-sdk/core": "^0.20.0"
2323
},
2424
"devDependencies": {
2525
"typescript": "^5.4.0",

packages/codex-adapter/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@headless-coder-sdk/codex-adapter",
3-
"version": "0.19.0",
3+
"version": "0.20.0",
44
"type": "module",
55
"main": "./dist/index.cjs",
66
"module": "./dist/index.js",
@@ -27,7 +27,7 @@
2727
"build": "tsup --config tsup.config.ts"
2828
},
2929
"peerDependencies": {
30-
"@headless-coder-sdk/core": "^0.19.0",
30+
"@headless-coder-sdk/core": "^0.20.0",
3131
"@openai/codex-sdk": "^0.58.0"
3232
},
3333
"devDependencies": {

packages/core/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const turn = await thread.run('Summarise the repo in JSON', {
112112
console.log(turn.json);
113113
```
114114

115-
> ⚠️ Gemini CLI resume support is pending upstream ([PR #10719](https://github.com/google-gemini/gemini-cli/pull/10719)).
115+
Gemini sessions are resumable—reuse the same thread handle for follow-up runs or call `resumeThread()` with a stored `threadId` to keep the CLI conversation active.
116116

117117
---
118118

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@headless-coder-sdk/core",
3-
"version": "0.19.0",
3+
"version": "0.20.0",
44
"description": "Unified SDK for headless AI coders (Codex, Claude, Gemini) with standardized threading, streaming, and sandboxing.",
55
"type": "module",
66
"main": "./dist/index.cjs",

0 commit comments

Comments
 (0)