@prestyj/agent 5.4.0 → 5.5.0

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.d.cts CHANGED
@@ -137,6 +137,7 @@ interface AgentOptions {
137
137
  baseUrl?: string;
138
138
  signal?: AbortSignal;
139
139
  accountId?: string;
140
+ transportSessionId?: StreamOptions["transportSessionId"];
140
141
  projectId?: StreamOptions["projectId"];
141
142
  cacheRetention?: StreamOptions["cacheRetention"];
142
143
  /** Stable per-session cache routing key for providers that support it. */
package/dist/index.d.ts CHANGED
@@ -137,6 +137,7 @@ interface AgentOptions {
137
137
  baseUrl?: string;
138
138
  signal?: AbortSignal;
139
139
  accountId?: string;
140
+ transportSessionId?: StreamOptions["transportSessionId"];
140
141
  projectId?: StreamOptions["projectId"];
141
142
  cacheRetention?: StreamOptions["cacheRetention"];
142
143
  /** Stable per-session cache routing key for providers that support it. */
package/dist/index.js CHANGED
@@ -380,6 +380,7 @@ async function* agentLoop(messages, options) {
380
380
  baseUrl: options.baseUrl,
381
381
  signal: streamController.signal,
382
382
  accountId: options.accountId,
383
+ transportSessionId: options.transportSessionId,
383
384
  projectId: options.projectId,
384
385
  cacheRetention: options.cacheRetention,
385
386
  promptCacheKey: options.promptCacheKey,