capacitor-native-agent 0.9.4 → 0.9.6

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.
@@ -1,4 +1,7 @@
1
1
  module native_agent_ffiFFI {
2
2
  header "native_agent_ffiFFI.h"
3
3
  export *
4
+ use "Darwin"
5
+ use "_Builtin_stdbool"
6
+ use "_Builtin_stdint"
4
7
  }
@@ -216,7 +216,7 @@ public class NativeAgentPlugin: CAPPlugin, CAPBridgedPlugin {
216
216
  provider: call.getString("provider"),
217
217
  systemPrompt: call.getString("systemPrompt") ?? "",
218
218
  maxTurns: call.getInt("maxTurns").map { UInt32($0) },
219
- allowedToolsJson: call.getString("allowedToolsJson")
219
+ skillAllowedToolsJson: call.getString("skillAllowedToolsJson")
220
220
  )
221
221
  let runId = try h.sendMessage(params: params)
222
222
  call.resolve(["runId": runId])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-native-agent",
3
- "version": "0.9.4",
3
+ "version": "0.9.6",
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",