@ixo/oracle-runtime-workers 0.21.1 → 0.21.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixo/oracle-runtime-workers",
3
- "version": "0.21.1",
3
+ "version": "0.21.2",
4
4
  "description": "QiForge oracle runtime for Cloudflare Workers — Durable Object per user (SQLite in WASM over DO storage), Matrix E2EE gateway Durable Object, Hono HTTP/SSE shell.",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -58,9 +58,9 @@
58
58
  "wa-sqlite": "1.0.0",
59
59
  "yjs": "13.6.32",
60
60
  "zod": "^4.4.3",
61
+ "@ixo/ucan": "2.2.1",
61
62
  "@ixo/common": "1.7.0",
62
- "@ixo/ixo-transaction": "0.1.0",
63
- "@ixo/ucan": "2.2.1"
63
+ "@ixo/ixo-transaction": "0.1.0"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@cloudflare/vitest-pool-workers": "^0.22.0",
@@ -54,6 +54,13 @@ const manifest: PluginManifest = {
54
54
 
55
55
  export const BROWSER_TOOL_TIMEOUT_MS = 15_000;
56
56
 
57
+ const HUMAN_DECISION_TOOLS = new Set([
58
+ 'ask_user_question',
59
+ 'propose_domain_creation',
60
+ 'write_domain_files',
61
+ 'publish_recipe_release',
62
+ ]);
63
+
57
64
  /**
58
65
  * The Portal's Topic write tool. Its commands can take a while to settle in
59
66
  * the browser (several Matrix writes), so it gets a longer window before the
@@ -194,7 +201,10 @@ export function buildBrowserTool(
194
201
  description: descriptor.description,
195
202
  schema,
196
203
  // A browser step (scroll, page, click) repeated is a new step.
197
- repeatable: true,
204
+ repeatable: !HUMAN_DECISION_TOOLS.has(descriptor.name),
205
+ ...(HUMAN_DECISION_TOOLS.has(descriptor.name)
206
+ ? { effect: 'write' as const }
207
+ : {}),
198
208
  },
199
209
  );
200
210
  }