capacitor-native-agent 0.1.3 → 0.1.4

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.
@@ -110,7 +110,7 @@ public class NativeAgentPlugin: CAPPlugin, CAPBridgedPlugin {
110
110
  authProfilesPath: resolvePath(authProfilesPath)
111
111
  )
112
112
  let h = try NativeAgentHandle(config: config)
113
- h.setEventCallback(callback: NativeAgentEventBridge(plugin: self))
113
+ try h.setEventCallback(callback: NativeAgentEventBridge(plugin: self))
114
114
  self.handle = h
115
115
  call.resolve()
116
116
  } catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-native-agent",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Native AI agent loop for Capacitor — runs LLM completions, tool execution, and cron jobs in native Rust, enabling background execution.",
5
5
  "main": "dist/esm/index.js",
6
6
  "types": "dist/esm/index.d.ts",