@vincemakes/kiso-core 0.45.2 → 0.45.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.
- package/dist/kernel/loop.js +1 -1
- package/package.json +2 -2
package/dist/kernel/loop.js
CHANGED
|
@@ -1147,7 +1147,7 @@ async function decideCall(call, registry, hooks, ctx, log, resolveApproval, reso
|
|
|
1147
1147
|
}
|
|
1148
1148
|
else if (durable === undefined && approvalPolicy !== undefined) {
|
|
1149
1149
|
try {
|
|
1150
|
-
chainVerdict = await raceAbort(Promise.resolve(approvalPolicy.decide(payload, ctx)), signal);
|
|
1150
|
+
chainVerdict = await raceAbort(Promise.resolve(approvalPolicy.decide({ name: payload.name, input: payload.input }, { ...ctx, callId: call.callId })), signal);
|
|
1151
1151
|
}
|
|
1152
1152
|
catch {
|
|
1153
1153
|
chainVerdict = { action: "ask" }; // a throwing chain counts as ask — it speaks, never silently
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vincemakes/kiso-core",
|
|
3
|
-
"version": "0.45.
|
|
3
|
+
"version": "0.45.3",
|
|
4
4
|
"description": "kiso core \u2014 protocol, event log, loop, hooks, modes, permissions, compaction, delivery truth. The 2,000-line kernel at the bottom of the kiso framework.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"openai"
|
|
34
34
|
],
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@vincemakes/kiso-evals": "0.45.
|
|
36
|
+
"@vincemakes/kiso-evals": "0.45.3",
|
|
37
37
|
"@types/node": "^26.1.2",
|
|
38
38
|
"typescript": "^5.7.2",
|
|
39
39
|
"vitest": "^3.0.0"
|