fascicle 0.9.4 → 0.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v0.9.5 — 2026-07-12
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- **`claude_cli` provider structured output.** `compile_schema` now strips the top-level `$schema` (draft-2020-12 URI) and `$id` keys that `z.toJSONSchema` (zod v4) stamps, which `claude --json-schema` rejects. Any `model_call` on the `claude_cli` provider that passed a zod `schema` previously errored out of the box; structured output now works end-to-end.
|
|
8
|
+
|
|
3
9
|
## v0.9.4 — 2026-07-12
|
|
4
10
|
|
|
5
11
|
### Internal
|
package/dist/index.js
CHANGED
|
@@ -4874,7 +4874,7 @@ function extract_system_text(prompt) {
|
|
|
4874
4874
|
for (const m of prompt) if (m.role === "system") return m.content;
|
|
4875
4875
|
}
|
|
4876
4876
|
function compile_schema(schema) {
|
|
4877
|
-
const json = z.toJSONSchema(schema);
|
|
4877
|
+
const { $schema: _schema, $id: _id, ...json } = z.toJSONSchema(schema);
|
|
4878
4878
|
return JSON.stringify(json);
|
|
4879
4879
|
}
|
|
4880
4880
|
function classify_close_error(code, signal, stderr) {
|