@codemation/core-nodes 0.8.1 → 0.10.0

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,54 @@
1
1
  # @codemation/core-nodes
2
2
 
3
+ ## 0.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#184](https://github.com/MadeRelevant/codemation/pull/184) [`8c5b213`](https://github.com/MadeRelevant/codemation/commit/8c5b213092501bb48aa0c575b0489bbd36b46c79) Thanks [@cblokland90](https://github.com/cblokland90)! - Add `CodemationDocumentScanner` node — managed document/image analysis returning `{ markdown, fields }` via the Codemation doc-scanner service, no Azure credential required.
8
+
9
+ ### Patch Changes
10
+
11
+ - [#187](https://github.com/MadeRelevant/codemation/pull/187) [`cf45e88`](https://github.com/MadeRelevant/codemation/commit/cf45e88c28dcb3ba87bcf14e34c550ae0ac036e8) Thanks [@cblokland90](https://github.com/cblokland90)! - fix(aiagent): managed structured output no longer throws "schema is not a function"
12
+
13
+ AIAgentNode passed a consumer-created Zod `outputSchema` straight to the AI SDK's
14
+ `Output.object` on the managed (non-OpenAI) path. Consumer workflows build that schema
15
+ with their own tsx-loaded Zod — a different runtime copy than the framework's Zod — so the
16
+ SDK threw "schema is not a function". Now the schema is converted to a plain JSON Schema via
17
+ the schema's own instance method (`createJsonSchemaRecord`, dual-zod safe) and wrapped with
18
+ `jsonSchema()` for both paths, so `Output.object` never receives a raw cross-namespace Zod.
19
+
20
+ - [#189](https://github.com/MadeRelevant/codemation/pull/189) [`c1b081f`](https://github.com/MadeRelevant/codemation/commit/c1b081ffc8b66b0c4593c94f1d57a1cdf5c41140) Thanks [@cblokland90](https://github.com/cblokland90)! - feat(core): add `getBytes`, `getText`, and `getJson<T>` to the binary API
21
+
22
+ `ExecutionBinaryService` (and `NodeBinaryAttachmentService`) now expose three read helpers:
23
+ - `getBytes(attachment, maxBytes?)` — bounded read into `Uint8Array` (size-checked before allocation).
24
+ - `getText(attachment, maxBytes?)` — bounded read + UTF-8 decode.
25
+ - `getJson<T>(attachment, maxBytes?)` — bounded read + decode + `JSON.parse` with a clear `SyntaxError` on invalid JSON.
26
+
27
+ The duplicate `readBinaryBody` helpers previously copied across `core-nodes` and `core-nodes-ocr` are removed; all callers now use `ctx.binary.getBytes()`. `openReadStream` remains for true streaming use cases.
28
+
29
+ - [#184](https://github.com/MadeRelevant/codemation/pull/184) [`8c5b213`](https://github.com/MadeRelevant/codemation/commit/8c5b213092501bb48aa0c575b0489bbd36b46c79) Thanks [@cblokland90](https://github.com/cblokland90)! - Extract `managedHmacFetchFactory` from `CodemationChatModelFactory` into a shared
30
+ `ManagedHmacSignerFactory` module (story 05, doc-scanner sprint).
31
+
32
+ The helper is a package-internal refactor: not added to the public barrel export,
33
+ no public API surface change — patch is correct. It adds a `signBody` option
34
+ (default `true`, preserving LLM-chat behaviour) that implements LD11
35
+ empty-body-hash signing for the upcoming `CodemationDocumentScanner` node
36
+ (story 06).
37
+
38
+ - Updated dependencies [[`c1b081f`](https://github.com/MadeRelevant/codemation/commit/c1b081ffc8b66b0c4593c94f1d57a1cdf5c41140), [`be520d2`](https://github.com/MadeRelevant/codemation/commit/be520d2755144a3709ecc109019b84e2c502337e)]:
39
+ - @codemation/core@0.13.0
40
+
41
+ ## 0.9.0
42
+
43
+ ### Minor Changes
44
+
45
+ - [#167](https://github.com/MadeRelevant/codemation/pull/167) [`3044474`](https://github.com/MadeRelevant/codemation/commit/3044474495525490735510ff74500b53761284b6) Thanks [@cblokland90](https://github.com/cblokland90)! - feat(hitl): Human-in-the-Loop — engine suspend/resume, inbox approval node + channels (local + control-plane), agent-as-tool, decision/timeout handling, inbox decision UX (toast + node status icons + "waiting for approval"), plus the consolidated dev/canvas/host fixes shipped alongside.
46
+
47
+ ### Patch Changes
48
+
49
+ - Updated dependencies [[`3044474`](https://github.com/MadeRelevant/codemation/commit/3044474495525490735510ff74500b53761284b6)]:
50
+ - @codemation/core@0.12.0
51
+
3
52
  ## 0.8.1
4
53
 
5
54
  ### Patch Changes