@standardagents/builder 0.27.4 → 0.27.5

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.
@@ -66192,7 +66192,7 @@ var config_get_default = defineController2(async ({ config, env: env2, req }) =>
66192
66192
  });
66193
66193
 
66194
66194
  // src/version.ts
66195
- var BUILDER_VERSION = "0.27.4".length > 0 ? "0.27.4" : "dev";
66195
+ var BUILDER_VERSION = "0.27.5".length > 0 ? "0.27.5" : "dev";
66196
66196
 
66197
66197
  // src/api/diagnostics.get.ts
66198
66198
  init_LLMRequest();
package/dist/index.js CHANGED
@@ -24412,6 +24412,9 @@ var DurableThread = class _DurableThread extends DurableObject {
24412
24412
  codeExecutionBridges = /* @__PURE__ */ new Map();
24413
24413
  constructor(ctx, env) {
24414
24414
  super(ctx, env);
24415
+ ctx.setWebSocketAutoResponse(
24416
+ new WebSocketRequestResponsePair("stream_ping", "stream_pong")
24417
+ );
24415
24418
  this.alarmQueue = new AlarmQueue(ctx);
24416
24419
  this.alarmQueue.setExecutor(
24417
24420
  async (method, args, itemId) => {
@@ -30633,6 +30636,9 @@ var DurableAgentBuilder = class extends DurableObject {
30633
30636
  eventSockets = /* @__PURE__ */ new Set();
30634
30637
  constructor(ctx, env) {
30635
30638
  super(ctx, env);
30639
+ ctx.setWebSocketAutoResponse(
30640
+ new WebSocketRequestResponsePair("stream_ping", "stream_pong")
30641
+ );
30636
30642
  const sockets = ctx.getWebSockets();
30637
30643
  for (const ws of sockets) {
30638
30644
  const attachment = ws.deserializeAttachment();