fascicle 0.9.4 → 0.9.6

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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.9.6 — 2026-07-17
4
+
5
+ ### Added
6
+
7
+ - `docs/blueprint.md`: a standard app architecture for building on fascicle — one composition layer, three adoption tiers, markdown prompts, normalized module shapes, stub-engine testing, and field-observed anti-patterns distilled from the example apps and production consumers.
8
+ - Three ast-grep boundary rules wired into `examples/pr-improve` (runnable via `check:rules`): `create_engine` confined to `engine.ts`, no imperative loops in `flow.ts`, and fascicle value imports confined to the files allowed to know about it.
9
+
10
+ ## v0.9.5 — 2026-07-12
11
+
12
+ ### Fixed
13
+
14
+ - **`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.
15
+
3
16
  ## v0.9.4 — 2026-07-12
4
17
 
5
18
  ### Internal
package/README.md CHANGED
@@ -179,6 +179,7 @@ For zero-latency streaming from inside a long-running flow, pair it with `http_l
179
179
  - [docs/cookbook.md](./docs/cookbook.md) — retries, fan-out, judges, HITL, tool loops
180
180
  - [docs/human-in-the-loop.md](./docs/human-in-the-loop.md) — suspend/resume approval over HTTP and streaming to a `useChat` UI via `fascicle/ui`
181
181
  - [docs/writing-a-harness.md](./docs/writing-a-harness.md) — building a runner around fascicle
182
+ - [docs/blueprint.md](./docs/blueprint.md) is the agent blueprint: the standard app architecture (one composition layer, markdown prompts, normalized module shapes)
182
183
  - [docs/embedding-under-a-harness.md](./docs/embedding-under-a-harness.md) — running a fascicle agent as somebody's child process
183
184
  - [docs/troubleshooting.md](./docs/troubleshooting.md) — first-run errors and what they mean
184
185
  - [docs/comparison.md](./docs/comparison.md) — how fascicle compares to LangChain, Mastra, and others
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) {