@cloudflare/vitest-pool-workers 0.16.10 → 0.16.11

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.
@@ -55,7 +55,7 @@ var __name = (target, value) => __defProp(target, "name", {
55
55
  });
56
56
 
57
57
  //#endregion
58
- //#region ../workers-utils/dist/chunk-BLWXWFJK.mjs
58
+ //#region ../workers-utils/dist/chunk-AKFE3ND4.mjs
59
59
  function isCompatDate(str) {
60
60
  return /^\d{4}-\d{2}-\d{2}$/.test(str);
61
61
  }
@@ -242,6 +242,15 @@ function mapWorkerMetadataBindings(bindings) {
242
242
  instance_name: binding.instance_name
243
243
  }];
244
244
  break;
245
+ case "web_search":
246
+ configObj.web_search = { binding: binding.name };
247
+ break;
248
+ case "agent_memory":
249
+ configObj.agent_memory = [...configObj.agent_memory ?? [], {
250
+ binding: binding.name,
251
+ namespace: binding.namespace
252
+ }];
253
+ break;
245
254
  case "hyperdrive":
246
255
  configObj.hyperdrive = [...configObj.hyperdrive ?? [], {
247
256
  binding: binding.name,
@@ -257,7 +266,8 @@ function mapWorkerMetadataBindings(bindings) {
257
266
  case "pipelines":
258
267
  configObj.pipelines = [...configObj.pipelines ?? [], {
259
268
  binding: binding.name,
260
- pipeline: binding.pipeline
269
+ ...binding.stream && { stream: binding.stream },
270
+ ...binding.pipeline && { pipeline: binding.pipeline }
261
271
  }];
262
272
  break;
263
273
  case "assets":