@silverprotocol/google-adk 0.3.0 → 0.3.2
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 +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ const agEvents = [];
|
|
|
40
40
|
for await (const native of runner.runAsync({
|
|
41
41
|
userId: session.userId, // must match the session you created
|
|
42
42
|
sessionId: session.id,
|
|
43
|
-
newMessage: { parts: [{ text: "call the echo tool" }] },
|
|
43
|
+
newMessage: { role: "user", parts: [{ text: "call the echo tool" }] }, // role is REQUIRED: adk-js drops role-less turns from tool-loop replays (400)
|
|
44
44
|
}))
|
|
45
45
|
agEvents.push(...n.push(native)); // one ADK Event → 0+ AgEvents
|
|
46
46
|
agEvents.push(...n.flush()); // seal anything still open
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silverprotocol/google-adk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "AgJSON normalizer for the official Google Agent Development Kit — @google/adk (ADK Event / Gemini Content.parts[] → AgEvent[]).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"!dist/**/*.test.*"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@silverprotocol/core": "0.3.
|
|
34
|
+
"@silverprotocol/core": "0.3.2"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@google/adk": ">=1.0.0 <2"
|