@agent-native/core 0.161.6 → 0.161.7

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.
@@ -268,6 +268,14 @@ export const CLOUDFLARE_WORKER_STUB_SUBPATH_MODULES = {
268
268
  "export default { CanvasFactory, getData };",
269
269
  "",
270
270
  ].join("\n"),
271
+ "pdfjs-dist/legacy/build/pdf.mjs": [
272
+ "const unavailable = () => { throw new Error('pdfjs-dist unavailable in Cloudflare Pages worker'); };",
273
+ "export const OPS = new Proxy({}, { get: unavailable });",
274
+ "export const Util = new Proxy({}, { get: unavailable });",
275
+ "export const getDocument = unavailable;",
276
+ "export default { OPS, Util, getDocument };",
277
+ "",
278
+ ].join("\n"),
271
279
  };
272
280
  export function cloudflareWorkerStubAliasArgs(stubDir) {
273
281
  const subpathAliases = Object.keys(CLOUDFLARE_WORKER_STUB_SUBPATH_MODULES)
@@ -17,11 +17,11 @@ declare const _default: import("../../action.js").ActionDefinition<{
17
17
  id?: undefined;
18
18
  provider?: undefined;
19
19
  } | {
20
- error?: undefined;
21
20
  configured?: undefined;
22
21
  connectPath?: undefined;
23
22
  url: string;
24
23
  id: string;
25
24
  provider: string;
25
+ error?: undefined;
26
26
  }>;
27
27
  export default _default;
@@ -15,6 +15,6 @@ export declare function createProgressHandler(): import("h3").EventHandlerWithFe
15
15
  error: string;
16
16
  ok?: undefined;
17
17
  } | {
18
- error?: undefined;
19
18
  ok: boolean;
19
+ error?: undefined;
20
20
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/core",
3
- "version": "0.161.6",
3
+ "version": "0.161.7",
4
4
  "description": "Framework for agent-native application development — where AI agents and UI share SQL state, actions, and context",
5
5
  "homepage": "https://github.com/BuilderIO/agent-native#readme",
6
6
  "bugs": {
@@ -427,8 +427,8 @@
427
427
  "y-protocols": "^1.0.7",
428
428
  "yjs": "^13.6.31",
429
429
  "zod": "^4.3.6",
430
- "@agent-native/toolkit": "^0.16.4",
431
- "@agent-native/recap-cli": "0.5.4"
430
+ "@agent-native/recap-cli": "0.5.4",
431
+ "@agent-native/toolkit": "^0.16.4"
432
432
  },
433
433
  "devDependencies": {
434
434
  "@ai-sdk/anthropic": "^3.0.71",