@kenkaiiii/gg-agent 5.68.0 → 5.68.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/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -343,6 +343,7 @@ interface AgentOptions {
|
|
|
343
343
|
transportSessionId?: StreamOptions["transportSessionId"];
|
|
344
344
|
projectId?: StreamOptions["projectId"];
|
|
345
345
|
cacheRetention?: StreamOptions["cacheRetention"];
|
|
346
|
+
onContextPrepared?: StreamOptions["onContextPrepared"];
|
|
346
347
|
/** Stable per-session cache routing key for providers that support it. */
|
|
347
348
|
promptCacheKey?: StreamOptions["promptCacheKey"];
|
|
348
349
|
/** Override the User-Agent sent with OAuth-authenticated Anthropic requests. */
|
package/dist/index.d.ts
CHANGED
|
@@ -343,6 +343,7 @@ interface AgentOptions {
|
|
|
343
343
|
transportSessionId?: StreamOptions["transportSessionId"];
|
|
344
344
|
projectId?: StreamOptions["projectId"];
|
|
345
345
|
cacheRetention?: StreamOptions["cacheRetention"];
|
|
346
|
+
onContextPrepared?: StreamOptions["onContextPrepared"];
|
|
346
347
|
/** Stable per-session cache routing key for providers that support it. */
|
|
347
348
|
promptCacheKey?: StreamOptions["promptCacheKey"];
|
|
348
349
|
/** Override the User-Agent sent with OAuth-authenticated Anthropic requests. */
|
package/dist/index.js
CHANGED
|
@@ -694,6 +694,7 @@ async function* agentLoop(messages, options) {
|
|
|
694
694
|
transportSessionId: options.transportSessionId,
|
|
695
695
|
projectId: liveProjectId,
|
|
696
696
|
cacheRetention: options.cacheRetention,
|
|
697
|
+
onContextPrepared: options.onContextPrepared,
|
|
697
698
|
promptCacheKey: options.promptCacheKey,
|
|
698
699
|
serviceTier: options.serviceTier,
|
|
699
700
|
supportsImages: options.supportsImages,
|