@molecule/api-ai-decisions-laya 1.1.2 → 1.1.3

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.
Files changed (2) hide show
  1. package/README.md +6 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
3
3
  Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
4
4
  Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
5
5
  To change this document, edit the module-level JSDoc in src/index.ts.
6
- Generated: 2026-10-16T23:28:13.361Z
6
+ Generated: 2026-10-26T04:21:55.999Z
7
7
  -->
8
8
 
9
9
  # @molecule/api-ai-decisions-laya
@@ -204,7 +204,11 @@ function fromWireAnswer(
204
204
  Converts a whole wire response into the core's result.
205
205
 
206
206
  ```typescript
207
- function fromWireResponse(questions: Q, body: WireResponse, minConfidence?: number): DecideResult<Q>
207
+ function fromWireResponse<Q extends Record<string, DecisionQuestion>>(
208
+ questions: Q,
209
+ body: WireResponse,
210
+ minConfidence?: number,
211
+ ): DecideResult<Q>
208
212
  ```
209
213
 
210
214
  - `questions` — The questions that were asked.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/api-ai-decisions-laya",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Laya decisions provider for molecule.dev — typed choice/score/yes-no answers from the open-weights Laya model on your own laya-serve host",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",