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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,13 @@
1
1
# Changelog
2
2
3
+
## [0.15.0] - 2025-11-10
4
+
### 🗂 Documentation & Helpers
5
+
- Core package now ships the monorepo README directly (`packages/core/README.md`) so npm consumers see the same getting-started guides without visiting GitHub.
6
+
- Helper APIs (`createHeadlessCodex/Claude/Gemini`) are now the recommended path throughout the docs and multi-provider examples, keeping server-only usage explicit.
7
+
8
+
### 🧪 Tooling
9
+
- Smoke tests assert the presence of the helper factories across all adapters to prevent regressions.
10
+
3
11
## [0.14.1] - 2025-11-10
4
12
### ✨ Helper APIs
5
13
- Added `createHeadlessClaude()` and `createHeadlessGemini()` convenience helpers, mirroring the Codex helper so consumers can get a coder without calling `registerAdapter` manually.
Two reviewers (Claude and Codex) analyze the same commit concurrently and emit structured findings. Gemini waits until both reviews finish, then applies fixes sequentially based on the shared structured payload.
218
+
In this workflow two reviewers (Claude, Codex) analyze the same commit in parallel and emit structured findings. Gemini then waits until both reviews finish and applies fixes issue-by-issue using the shared structured payload.
219
+
220
+
---
221
+
222
+
## ⚠️ Codex Adapter Runtime
223
+
224
+
- The Codex adapter forks worker processes via Node’s `child_process` API and **must run on the server**. It is safe to import in build tooling, but gate runtime usage to environments where `process.versions.node` exists.
225
+
- A convenience helper, `createHeadlessCodex`, registers the adapter and returns a coder in one call:
const result =awaitthread.run('List recent commits');
248
+
returnResponse.json({ text: result.text });
249
+
}
250
+
```
237
251
238
252
---
239
253
@@ -294,4 +308,21 @@ Open an [issue](https://github.com/OhadAssulin/headless-coder-sdk/issues) or sub
294
308
295
309
---
296
310
311
+
## 📦 Distribution Notes
312
+
313
+
- Every workspace now emits flattened entry points at `dist/*.js` (ESM) and `dist/*.cjs` (CommonJS), with `.d.ts` files sitting beside them for better editor support.
314
+
- You can import `createCoder` or helper utilities directly from `@headless-coder-sdk/core` and `@headless-coder-sdk/codex-adapter` without deep `dist/*/src` paths—the `main`/`module` fields now point at those root files.
315
+
- Helper factories (`createHeadlessCodex/Claude/Gemini`) register adapters and return coders in one call, making server-only integrations simpler.
316
+
-`package.json` is exposed via the exports map (`import '@headless-coder-sdk/core/package.json'`) for tooling that needs to inspect versions at runtime.
317
+
-`@headless-coder-sdk/codex-adapter` forks a worker via `fileURLToPath(new URL('./worker.js', import.meta.url))`; keep `dist/worker.js` adjacent when rebundling so that child processes can spawn correctly.
318
+
319
+
---
320
+
321
+
## ✅ Smoke Tests
322
+
323
+
-`npm run smoke` builds every workspace, packs the publishable tarballs, installs them in a throwaway project, and exercises both CommonJS and ESM entry points.
324
+
- Set `HEADLESS_CODER_KEEP_SMOKE_TMP=1 npm run smoke` if you want to inspect the generated smoke project instead of deleting it.
0 commit comments