capacitor-native-agent 0.9.6 → 0.9.8
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/android/src/main/jniLibs/arm64-v8a/libnative_agent_ffi.so +0 -0
- package/ios/Frameworks/NativeAgentFFI.xcframework/ios-arm64/libnative_agent_ffi.a +0 -0
- package/ios/Frameworks/NativeAgentFFI.xcframework/ios-arm64-simulator/libnative_agent_ffi.a +0 -0
- package/ios/Sources/NativeAgentPlugin/NativeAgentPlugin.swift +2 -1
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -216,7 +216,8 @@ 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
|
-
skillAllowedToolsJson: call.getString("skillAllowedToolsJson")
|
|
219
|
+
skillAllowedToolsJson: call.getString("skillAllowedToolsJson"),
|
|
220
|
+
priorMessagesJson: call.getString("priorMessagesJson")
|
|
220
221
|
)
|
|
221
222
|
let runId = try h.sendMessage(params: params)
|
|
222
223
|
call.resolve(["runId": runId])
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "capacitor-native-agent",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.8",
|
|
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",
|