workerd 1.20251202.0 → 1.20251209.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/workerd.capnp CHANGED
@@ -460,6 +460,16 @@ struct Worker {
460
460
  # (If omitted, the binding will not share a cache with any other binding.)
461
461
  }
462
462
 
463
+ workerdDebugPort @28 :Void;
464
+ # A binding that provides a connect() method to dynamically connect to any workerd
465
+ # instance's debug port. This allows dynamic access to worker entrypoints via the
466
+ # WorkerdDebugPort RPC interface.
467
+ #
468
+ # Usage: const client = await env.DEBUG_PORT.connect("localhost:1234");
469
+ # const fetcher = await client.getEntrypoint("service", "entrypoint");
470
+ #
471
+ # This is a workerd-only API intended for local development and testing.
472
+
463
473
  # TODO(someday): dispatch, other new features
464
474
  }
465
475
 
@@ -484,6 +494,7 @@ struct Worker {
484
494
  analyticsEngine @12 : Void;
485
495
  hyperdrive @13: Void;
486
496
  durableObjectClass @14: Void;
497
+ workerdDebugPort @15: Void;
487
498
  }
488
499
  }
489
500