@kenkaiiii/gg-agent 5.109.0 → 6.0.1
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/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ It's the loop that runs [GG Coder](https://github.com/KenKaiii/gg-framework), a
|
|
|
20
20
|
npm install @kenkaiiii/gg-agent @kenkaiiii/gg-ai zod
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
Needs Node.js
|
|
23
|
+
Needs Node.js 24 or newer. Ships ESM and CommonJS builds with TypeScript types.
|
|
24
24
|
|
|
25
25
|
## Quick start
|
|
26
26
|
|
package/dist/index.cjs
CHANGED
|
@@ -1133,7 +1133,10 @@ async function* agentLoop(messages, options) {
|
|
|
1133
1133
|
}
|
|
1134
1134
|
yield {
|
|
1135
1135
|
type: "toolcall_delta",
|
|
1136
|
-
chars: chunkChars
|
|
1136
|
+
chars: chunkChars,
|
|
1137
|
+
toolCallId: event.id,
|
|
1138
|
+
name: event.name,
|
|
1139
|
+
argsDelta: event.argsJson ?? ""
|
|
1137
1140
|
};
|
|
1138
1141
|
}
|
|
1139
1142
|
lastYieldEndTime = Date.now();
|