@ixo/decision-oracle 0.2.16 → 0.2.18
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/README.md +2 -1
- package/dist/config.d.ts +7 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +6 -0
- package/dist/config.js.map +1 -1
- package/dist/cron/collection.d.ts +16 -3
- package/dist/cron/collection.d.ts.map +1 -1
- package/dist/cron/collection.js +22 -12
- package/dist/cron/collection.js.map +1 -1
- package/dist/cron/feed.d.ts +49 -0
- package/dist/cron/feed.d.ts.map +1 -0
- package/dist/cron/feed.js +159 -0
- package/dist/cron/feed.js.map +1 -0
- package/dist/cron/scan.d.ts.map +1 -1
- package/dist/cron/scan.js +21 -1
- package/dist/cron/scan.js.map +1 -1
- package/dist/db/schema.d.ts +51 -0
- package/dist/db/schema.d.ts.map +1 -1
- package/dist/db/schema.js +10 -0
- package/dist/db/schema.js.map +1 -1
- package/dist/env.d.ts +1 -0
- package/dist/env.d.ts.map +1 -1
- package/dist/lib/facts/stock/ai-check.d.ts +10 -1
- package/dist/lib/facts/stock/ai-check.d.ts.map +1 -1
- package/dist/lib/facts/stock/ai-check.js +12 -4
- package/dist/lib/facts/stock/ai-check.js.map +1 -1
- package/dist/lib/facts/stock/ai-provider.d.ts.map +1 -1
- package/dist/lib/facts/stock/ai-provider.js +2 -3
- package/dist/lib/facts/stock/ai-provider.js.map +1 -1
- package/dist/lib/ixo/blocksync/index.d.ts +12 -2
- package/dist/lib/ixo/blocksync/index.d.ts.map +1 -1
- package/dist/lib/ixo/blocksync/index.js +17 -2
- package/dist/lib/ixo/blocksync/index.js.map +1 -1
- package/dist/lib/ixo/blocksync/queries.d.ts +1 -0
- package/dist/lib/ixo/blocksync/queries.d.ts.map +1 -1
- package/dist/lib/ixo/blocksync/queries.js +16 -0
- package/dist/lib/ixo/blocksync/queries.js.map +1 -1
- package/dist/lib/ixo/blocksync/types.d.ts +8 -0
- package/dist/lib/ixo/blocksync/types.d.ts.map +1 -1
- package/dist/lib/ixo/blocksync/types.js +2 -0
- package/dist/lib/ixo/blocksync/types.js.map +1 -1
- package/dist/lib/openhands/routes.d.ts +6 -5
- package/dist/lib/openhands/routes.d.ts.map +1 -1
- package/dist/lib/openhands/routes.js +26 -13
- package/dist/lib/openhands/routes.js.map +1 -1
- package/dist/lib/openhands/store.d.ts +12 -1
- package/dist/lib/openhands/store.d.ts.map +1 -1
- package/dist/lib/openhands/store.js +20 -1
- package/dist/lib/openhands/store.js.map +1 -1
- package/docs/api.md +23 -8
- package/docs/guide.md +13 -1
- package/migrations/0027_cron_state.sql +4 -0
- package/migrations/meta/0027_snapshot.json +3007 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +1 -1
- package/templates/project/.dev.vars.example +1 -0
- package/templates/project/wrangler.jsonc +4 -0
package/package.json
CHANGED
|
@@ -35,6 +35,7 @@ OWNER_DELEGATION_CAR="uCAR..."
|
|
|
35
35
|
# terminal has no binding, so it calls the gateway's REST endpoint with these two:
|
|
36
36
|
# CLOUDFLARE_ACCOUNT_ID="..."
|
|
37
37
|
# CLOUDFLARE_API_TOKEN="..." # Workers AI: Read
|
|
38
|
+
# AI_REASONING_EFFORT is a wrangler var ("low"); set it here to try "medium" / "high" locally.
|
|
38
39
|
# Only with AI_PROVIDER=openrouter:
|
|
39
40
|
# OPENROUTER_API_KEY="sk-or-..."
|
|
40
41
|
# HMAC key for the duplicate-detection body digest (a rubric declaring `unique`). Keep it for the
|
|
@@ -182,6 +182,7 @@
|
|
|
182
182
|
// test harness can't run one) — an AI fact here throws "AI binding not configured". To run AI
|
|
183
183
|
// checks locally, add `"ai": { "binding": "AI" }` at this level, or use AI_PROVIDER=openrouter.
|
|
184
184
|
"AI_PROVIDER": "cloudflare",
|
|
185
|
+
"AI_REASONING_EFFORT": "low", // low | medium | high — higher thinks more: slower, more tokens
|
|
185
186
|
// "AI_AUDIO_VIDEO": "false", // audio/video inputs — OpenRouter only
|
|
186
187
|
// "AI_GATEWAY_ID": "<your gateway>",
|
|
187
188
|
"C2PA_IMAGE_CHECK": "true",
|
|
@@ -251,6 +252,7 @@
|
|
|
251
252
|
// AI provider (README "Configuration"): the AI Gateway by default — the `ai` binding plus the
|
|
252
253
|
// gateway's name; OpenRouter instead with AI_PROVIDER=openrouter + the OPENROUTER_API_KEY secret.
|
|
253
254
|
"AI_PROVIDER": "cloudflare",
|
|
255
|
+
"AI_REASONING_EFFORT": "low", // low | medium | high — higher thinks more: slower, more tokens
|
|
254
256
|
// "AI_AUDIO_VIDEO": "false", // audio/video inputs — OpenRouter only
|
|
255
257
|
// "AI_GATEWAY_ID": "<your gateway>",
|
|
256
258
|
"C2PA_IMAGE_CHECK": "true",
|
|
@@ -359,6 +361,7 @@
|
|
|
359
361
|
// AI provider (README "Configuration"): the AI Gateway by default — the `ai` binding plus the
|
|
360
362
|
// gateway's name; OpenRouter instead with AI_PROVIDER=openrouter + the OPENROUTER_API_KEY secret.
|
|
361
363
|
"AI_PROVIDER": "cloudflare",
|
|
364
|
+
"AI_REASONING_EFFORT": "low", // low | medium | high — higher thinks more: slower, more tokens
|
|
362
365
|
// "AI_AUDIO_VIDEO": "false", // audio/video inputs — OpenRouter only
|
|
363
366
|
// "AI_GATEWAY_ID": "<your gateway>",
|
|
364
367
|
"C2PA_IMAGE_CHECK": "true",
|
|
@@ -468,6 +471,7 @@
|
|
|
468
471
|
// AI provider (README "Configuration"): the AI Gateway by default — the `ai` binding plus the
|
|
469
472
|
// gateway's name; OpenRouter instead with AI_PROVIDER=openrouter + the OPENROUTER_API_KEY secret.
|
|
470
473
|
"AI_PROVIDER": "cloudflare",
|
|
474
|
+
"AI_REASONING_EFFORT": "low", // low | medium | high — higher thinks more: slower, more tokens
|
|
471
475
|
// "AI_AUDIO_VIDEO": "false", // audio/video inputs — OpenRouter only
|
|
472
476
|
// "AI_GATEWAY_ID": "<your gateway>",
|
|
473
477
|
"C2PA_IMAGE_CHECK": "true",
|