rivetkit 2.0.10 → 2.0.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.
Files changed (87) hide show
  1. package/dist/tsup/{chunk-N3A5GYJU.js → chunk-3JUN3IEH.js} +3 -3
  2. package/dist/tsup/{chunk-YKVTF7MP.cjs → chunk-5ABUOI3V.cjs} +7 -7
  3. package/dist/tsup/{chunk-YKVTF7MP.cjs.map → chunk-5ABUOI3V.cjs.map} +1 -1
  4. package/dist/tsup/{chunk-I3FB346I.cjs → chunk-5JZPEJVJ.cjs} +8 -8
  5. package/dist/tsup/{chunk-I3FB346I.cjs.map → chunk-5JZPEJVJ.cjs.map} +1 -1
  6. package/dist/tsup/{chunk-CA3X5M6H.cjs → chunk-6PORXHSQ.cjs} +26 -26
  7. package/dist/tsup/chunk-6PORXHSQ.cjs.map +1 -0
  8. package/dist/tsup/{chunk-SIWYIRXP.cjs → chunk-765F7ILI.cjs} +3 -3
  9. package/dist/tsup/{chunk-SIWYIRXP.cjs.map → chunk-765F7ILI.cjs.map} +1 -1
  10. package/dist/tsup/{chunk-7E5K3375.js → chunk-7DCESQ4O.js} +2 -2
  11. package/dist/tsup/{chunk-MLQIYKAZ.js → chunk-AZI2T6UF.js} +3 -3
  12. package/dist/tsup/{chunk-KH5WFDUK.cjs → chunk-GGIW54I2.cjs} +6 -6
  13. package/dist/tsup/{chunk-KH5WFDUK.cjs.map → chunk-GGIW54I2.cjs.map} +1 -1
  14. package/dist/tsup/{chunk-PSCDCEXM.cjs → chunk-HDCLOVOE.cjs} +13 -13
  15. package/dist/tsup/{chunk-PSCDCEXM.cjs.map → chunk-HDCLOVOE.cjs.map} +1 -1
  16. package/dist/tsup/{chunk-DVPXSB4B.cjs → chunk-I6AVFIVY.cjs} +12 -12
  17. package/dist/tsup/{chunk-DVPXSB4B.cjs.map → chunk-I6AVFIVY.cjs.map} +1 -1
  18. package/dist/tsup/{chunk-KGDZYQYE.js → chunk-JTWD6ZT2.js} +2 -2
  19. package/dist/tsup/{chunk-PDFL7FBL.cjs → chunk-LXFOO25H.cjs} +198 -175
  20. package/dist/tsup/chunk-LXFOO25H.cjs.map +1 -0
  21. package/dist/tsup/{chunk-KL4V2ULR.js → chunk-MIP4PYTD.js} +2 -2
  22. package/dist/tsup/{chunk-H7E2UU23.js → chunk-MT5ES4XD.js} +7 -7
  23. package/dist/tsup/{chunk-GIFHYL7A.cjs → chunk-NLYAKGML.cjs} +2 -2
  24. package/dist/tsup/{chunk-GIFHYL7A.cjs.map → chunk-NLYAKGML.cjs.map} +1 -1
  25. package/dist/tsup/{chunk-VJRXZPTT.js → chunk-NOXYAPM2.js} +40 -17
  26. package/dist/tsup/chunk-NOXYAPM2.js.map +1 -0
  27. package/dist/tsup/{chunk-HI55LHM3.js → chunk-NQFIZSTR.js} +2 -2
  28. package/dist/tsup/{chunk-HI55LHM3.js.map → chunk-NQFIZSTR.js.map} +1 -1
  29. package/dist/tsup/{chunk-VZMXAZKC.cjs → chunk-O7BIBANW.cjs} +206 -206
  30. package/dist/tsup/{chunk-VZMXAZKC.cjs.map → chunk-O7BIBANW.cjs.map} +1 -1
  31. package/dist/tsup/{chunk-QRFXXTLG.js → chunk-OHSP4BUE.js} +5 -5
  32. package/dist/tsup/{chunk-CA3X5M6H.cjs.map → chunk-OHSP4BUE.js.map} +1 -1
  33. package/dist/tsup/{chunk-346X2XU4.js → chunk-SBUJ3KIM.js} +2 -2
  34. package/dist/tsup/{chunk-PPLR53PP.cjs → chunk-WYTLLIJM.cjs} +3 -3
  35. package/dist/tsup/{chunk-PPLR53PP.cjs.map → chunk-WYTLLIJM.cjs.map} +1 -1
  36. package/dist/tsup/{chunk-R2S45MO6.js → chunk-XO7VX4MN.js} +6 -6
  37. package/dist/tsup/client/mod.cjs +9 -9
  38. package/dist/tsup/client/mod.d.cts +2 -2
  39. package/dist/tsup/client/mod.d.ts +2 -2
  40. package/dist/tsup/client/mod.js +8 -8
  41. package/dist/tsup/common/log.cjs +3 -3
  42. package/dist/tsup/common/log.js +2 -2
  43. package/dist/tsup/common/websocket.cjs +4 -4
  44. package/dist/tsup/common/websocket.js +3 -3
  45. package/dist/tsup/{conn-Cc9WHuN4.d.cts → conn-CT_8ZBT_.d.cts} +8 -8
  46. package/dist/tsup/{conn-DfPG71FA.d.ts → conn-d5F0M95s.d.ts} +8 -8
  47. package/dist/tsup/driver-helpers/mod.cjs +5 -5
  48. package/dist/tsup/driver-helpers/mod.d.cts +1 -1
  49. package/dist/tsup/driver-helpers/mod.d.ts +1 -1
  50. package/dist/tsup/driver-helpers/mod.js +4 -4
  51. package/dist/tsup/driver-test-suite/mod.cjs +71 -71
  52. package/dist/tsup/driver-test-suite/mod.cjs.map +1 -1
  53. package/dist/tsup/driver-test-suite/mod.d.cts +1 -1
  54. package/dist/tsup/driver-test-suite/mod.d.ts +1 -1
  55. package/dist/tsup/driver-test-suite/mod.js +12 -12
  56. package/dist/tsup/driver-test-suite/mod.js.map +1 -1
  57. package/dist/tsup/inspector/mod.cjs +6 -6
  58. package/dist/tsup/inspector/mod.d.cts +2 -2
  59. package/dist/tsup/inspector/mod.d.ts +2 -2
  60. package/dist/tsup/inspector/mod.js +5 -5
  61. package/dist/tsup/mod.cjs +10 -10
  62. package/dist/tsup/mod.d.cts +2 -2
  63. package/dist/tsup/mod.d.ts +2 -2
  64. package/dist/tsup/mod.js +9 -9
  65. package/dist/tsup/test/mod.cjs +11 -11
  66. package/dist/tsup/test/mod.d.cts +1 -1
  67. package/dist/tsup/test/mod.d.ts +1 -1
  68. package/dist/tsup/test/mod.js +10 -10
  69. package/dist/tsup/utils.cjs +2 -2
  70. package/dist/tsup/utils.js +1 -1
  71. package/package.json +1 -1
  72. package/src/client/config.ts +1 -1
  73. package/src/driver-test-suite/mod.ts +1 -1
  74. package/src/drivers/engine/actor-driver.ts +2 -0
  75. package/src/manager/router.ts +11 -6
  76. package/src/registry/mod.ts +31 -2
  77. package/dist/tsup/chunk-PDFL7FBL.cjs.map +0 -1
  78. package/dist/tsup/chunk-QRFXXTLG.js.map +0 -1
  79. package/dist/tsup/chunk-VJRXZPTT.js.map +0 -1
  80. /package/dist/tsup/{chunk-N3A5GYJU.js.map → chunk-3JUN3IEH.js.map} +0 -0
  81. /package/dist/tsup/{chunk-7E5K3375.js.map → chunk-7DCESQ4O.js.map} +0 -0
  82. /package/dist/tsup/{chunk-MLQIYKAZ.js.map → chunk-AZI2T6UF.js.map} +0 -0
  83. /package/dist/tsup/{chunk-KGDZYQYE.js.map → chunk-JTWD6ZT2.js.map} +0 -0
  84. /package/dist/tsup/{chunk-KL4V2ULR.js.map → chunk-MIP4PYTD.js.map} +0 -0
  85. /package/dist/tsup/{chunk-H7E2UU23.js.map → chunk-MT5ES4XD.js.map} +0 -0
  86. /package/dist/tsup/{chunk-346X2XU4.js.map → chunk-SBUJ3KIM.js.map} +0 -0
  87. /package/dist/tsup/{chunk-R2S45MO6.js.map → chunk-XO7VX4MN.js.map} +0 -0
@@ -1,29 +1,29 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkPSCDCEXMcjs = require('../chunk-PSCDCEXM.cjs');
3
+ var _chunkHDCLOVOEcjs = require('../chunk-HDCLOVOE.cjs');
4
4
 
5
5
 
6
6
 
7
- var _chunkPDFL7FBLcjs = require('../chunk-PDFL7FBL.cjs');
7
+ var _chunkLXFOO25Hcjs = require('../chunk-LXFOO25H.cjs');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkSIWYIRXPcjs = require('../chunk-SIWYIRXP.cjs');
12
+ var _chunk765F7ILIcjs = require('../chunk-765F7ILI.cjs');
13
13
 
14
14
 
15
- var _chunkKH5WFDUKcjs = require('../chunk-KH5WFDUK.cjs');
15
+ var _chunkGGIW54I2cjs = require('../chunk-GGIW54I2.cjs');
16
16
 
17
17
 
18
18
 
19
- var _chunkVZMXAZKCcjs = require('../chunk-VZMXAZKC.cjs');
20
- require('../chunk-DVPXSB4B.cjs');
19
+ var _chunkO7BIBANWcjs = require('../chunk-O7BIBANW.cjs');
20
+ require('../chunk-I6AVFIVY.cjs');
21
21
 
22
22
 
23
- var _chunkPPLR53PPcjs = require('../chunk-PPLR53PP.cjs');
23
+ var _chunkWYTLLIJMcjs = require('../chunk-WYTLLIJM.cjs');
24
24
 
25
25
 
26
- var _chunkCA3X5M6Hcjs = require('../chunk-CA3X5M6H.cjs');
26
+ var _chunk6PORXHSQcjs = require('../chunk-6PORXHSQ.cjs');
27
27
 
28
28
 
29
29
 
@@ -34,13 +34,13 @@ var _chunkCA3X5M6Hcjs = require('../chunk-CA3X5M6H.cjs');
34
34
 
35
35
 
36
36
 
37
- var _chunkI3FB346Icjs = require('../chunk-I3FB346I.cjs');
37
+ var _chunk5JZPEJVJcjs = require('../chunk-5JZPEJVJ.cjs');
38
38
 
39
39
 
40
- var _chunkYKVTF7MPcjs = require('../chunk-YKVTF7MP.cjs');
40
+ var _chunk5ABUOI3Vcjs = require('../chunk-5ABUOI3V.cjs');
41
41
 
42
42
 
43
- var _chunkGIFHYL7Acjs = require('../chunk-GIFHYL7A.cjs');
43
+ var _chunkNLYAKGMLcjs = require('../chunk-NLYAKGML.cjs');
44
44
 
45
45
 
46
46
 
@@ -55,7 +55,7 @@ var _vitest = require('vitest');
55
55
 
56
56
  // src/driver-test-suite/log.ts
57
57
  function logger() {
58
- return _chunkYKVTF7MPcjs.getLogger.call(void 0, "test-suite");
58
+ return _chunk5ABUOI3Vcjs.getLogger.call(void 0, "test-suite");
59
59
  }
60
60
 
61
61
  // src/driver-test-suite/tests/action-features.ts
@@ -106,7 +106,7 @@ function createTestInlineClientDriver(endpoint, encoding, transport) {
106
106
  const url = `${endpoint}/.test/inline-driver/send-request/${pathWithQuery}`;
107
107
  logger().debug({ msg: "rewriting http url", from: oldUrl, to: url });
108
108
  const headers = new Headers(actorRequest.headers);
109
- headers.set(_chunkI3FB346Icjs.HEADER_ACTOR_ID, actorId);
109
+ headers.set(_chunk5JZPEJVJcjs.HEADER_ACTOR_ID, actorId);
110
110
  const response = await fetch(
111
111
  new Request(url, {
112
112
  method: actorRequest.method,
@@ -122,7 +122,7 @@ function createTestInlineClientDriver(endpoint, encoding, transport) {
122
122
  const errorData = await clonedResponse.json();
123
123
  if (errorData.error) {
124
124
  if (typeof errorData.error === "object") {
125
- throw new (0, _chunkVZMXAZKCcjs.ActorError)(
125
+ throw new (0, _chunkO7BIBANWcjs.ActorError)(
126
126
  errorData.error.code,
127
127
  errorData.error.message,
128
128
  errorData.error.metadata
@@ -130,7 +130,7 @@ function createTestInlineClientDriver(endpoint, encoding, transport) {
130
130
  }
131
131
  }
132
132
  } catch (e) {
133
- if (!(e instanceof _chunkVZMXAZKCcjs.ActorError)) {
133
+ if (!(e instanceof _chunkO7BIBANWcjs.ActorError)) {
134
134
  return response;
135
135
  }
136
136
  throw e;
@@ -139,7 +139,7 @@ function createTestInlineClientDriver(endpoint, encoding, transport) {
139
139
  return response;
140
140
  },
141
141
  async openWebSocket(path, actorId, encoding2, params, connId, connToken) {
142
- const WebSocket2 = await _chunkPPLR53PPcjs.importWebSocket.call(void 0, );
142
+ const WebSocket2 = await _chunkWYTLLIJMcjs.importWebSocket.call(void 0, );
143
143
  const normalizedPath = path.startsWith("/") ? path.slice(1) : path;
144
144
  const wsUrl = new URL(
145
145
  `${endpoint}/.test/inline-driver/connect-websocket/ws`
@@ -152,16 +152,16 @@ function createTestInlineClientDriver(endpoint, encoding, transport) {
152
152
  const finalWsUrl = `${wsProtocol}//${wsUrl.host}${wsUrl.pathname}`;
153
153
  logger().debug({ msg: "connecting to websocket", url: finalWsUrl });
154
154
  const protocols = [];
155
- protocols.push(`${_chunkI3FB346Icjs.WS_PROTOCOL_TARGET}actor`);
156
- protocols.push(`${_chunkI3FB346Icjs.WS_PROTOCOL_ACTOR}${actorId}`);
157
- protocols.push(`${_chunkI3FB346Icjs.WS_PROTOCOL_ENCODING}${encoding2}`);
158
- protocols.push(`${_chunkI3FB346Icjs.WS_PROTOCOL_TRANSPORT}${transport}`);
155
+ protocols.push(`${_chunk5JZPEJVJcjs.WS_PROTOCOL_TARGET}actor`);
156
+ protocols.push(`${_chunk5JZPEJVJcjs.WS_PROTOCOL_ACTOR}${actorId}`);
157
+ protocols.push(`${_chunk5JZPEJVJcjs.WS_PROTOCOL_ENCODING}${encoding2}`);
158
+ protocols.push(`${_chunk5JZPEJVJcjs.WS_PROTOCOL_TRANSPORT}${transport}`);
159
159
  protocols.push(
160
- `${_chunkI3FB346Icjs.WS_PROTOCOL_PATH}${encodeURIComponent(normalizedPath)}`
160
+ `${_chunk5JZPEJVJcjs.WS_PROTOCOL_PATH}${encodeURIComponent(normalizedPath)}`
161
161
  );
162
162
  if (params !== void 0) {
163
163
  protocols.push(
164
- `${_chunkI3FB346Icjs.WS_PROTOCOL_CONN_PARAMS}${encodeURIComponent(JSON.stringify(params))}`
164
+ `${_chunk5JZPEJVJcjs.WS_PROTOCOL_CONN_PARAMS}${encodeURIComponent(JSON.stringify(params))}`
165
165
  );
166
166
  }
167
167
  const ws = new WebSocket2(finalWsUrl, protocols);
@@ -526,14 +526,14 @@ async function makeInlineRequest(endpoint, encoding, transport, method, args) {
526
526
  if ("ok" in callResponse) {
527
527
  return callResponse.ok;
528
528
  } else if ("err" in callResponse) {
529
- throw new (0, _chunkVZMXAZKCcjs.ActorError)(
529
+ throw new (0, _chunkO7BIBANWcjs.ActorError)(
530
530
  callResponse.err.group,
531
531
  callResponse.err.code,
532
532
  callResponse.err.message,
533
533
  callResponse.err.metadata
534
534
  );
535
535
  } else {
536
- _chunkI3FB346Icjs.assertUnreachable.call(void 0, callResponse);
536
+ _chunk5JZPEJVJcjs.assertUnreachable.call(void 0, callResponse);
537
537
  }
538
538
  }
539
539
 
@@ -548,7 +548,7 @@ async function setupDriverTest(c, driverTestConfig) {
548
548
  c.onTestFinished(cleanup);
549
549
  let client;
550
550
  if (driverTestConfig.clientType === "http") {
551
- client = _chunkKH5WFDUKcjs.createClient.call(void 0, {
551
+ client = _chunkGGIW54I2cjs.createClient.call(void 0, {
552
552
  endpoint,
553
553
  namespace,
554
554
  runnerName,
@@ -563,13 +563,13 @@ async function setupDriverTest(c, driverTestConfig) {
563
563
  encoding,
564
564
  transport
565
565
  );
566
- const runConfig = _chunkCA3X5M6Hcjs.RunnerConfigSchema.parse({
566
+ const runConfig = _chunk6PORXHSQcjs.RunnerConfigSchema.parse({
567
567
  transport,
568
568
  encoding
569
569
  });
570
- client = _chunkVZMXAZKCcjs.createClientWithDriver.call(void 0, managerDriver, runConfig);
570
+ client = _chunkO7BIBANWcjs.createClientWithDriver.call(void 0, managerDriver, runConfig);
571
571
  } else {
572
- _chunkI3FB346Icjs.assertUnreachable.call(void 0, driverTestConfig.clientType);
572
+ _chunk5JZPEJVJcjs.assertUnreachable.call(void 0, driverTestConfig.clientType);
573
573
  }
574
574
  if (!driverTestConfig.HACK_skipCleanupNet) {
575
575
  c.onTestFinished(async () => await client.dispose());
@@ -1088,7 +1088,7 @@ function runActorScheduleTests(driverTestConfig) {
1088
1088
 
1089
1089
  // fixtures/driver-test-suite/sleep.ts
1090
1090
  var SLEEP_TIMEOUT = 1e3;
1091
- var sleep = _chunkPDFL7FBLcjs.actor.call(void 0, {
1091
+ var sleep = _chunkLXFOO25Hcjs.actor.call(void 0, {
1092
1092
  state: { startCount: 0, sleepCount: 0 },
1093
1093
  onStart: (c) => {
1094
1094
  c.state.startCount += 1;
@@ -1114,7 +1114,7 @@ var sleep = _chunkPDFL7FBLcjs.actor.call(void 0, {
1114
1114
  sleepTimeout: SLEEP_TIMEOUT
1115
1115
  }
1116
1116
  });
1117
- var sleepWithLongRpc = _chunkPDFL7FBLcjs.actor.call(void 0, {
1117
+ var sleepWithLongRpc = _chunkLXFOO25Hcjs.actor.call(void 0, {
1118
1118
  state: { startCount: 0, sleepCount: 0 },
1119
1119
  createVars: () => ({}),
1120
1120
  onStart: (c) => {
@@ -1129,7 +1129,7 @@ var sleepWithLongRpc = _chunkPDFL7FBLcjs.actor.call(void 0, {
1129
1129
  },
1130
1130
  longRunningRpc: async (c) => {
1131
1131
  c.log.info("starting long running rpc");
1132
- c.vars.longRunningResolve = _chunkGIFHYL7Acjs.promiseWithResolvers.call(void 0, );
1132
+ c.vars.longRunningResolve = _chunkNLYAKGMLcjs.promiseWithResolvers.call(void 0, );
1133
1133
  c.broadcast("waiting");
1134
1134
  await c.vars.longRunningResolve.promise;
1135
1135
  c.log.info("finished long running rpc");
@@ -1143,7 +1143,7 @@ var sleepWithLongRpc = _chunkPDFL7FBLcjs.actor.call(void 0, {
1143
1143
  sleepTimeout: SLEEP_TIMEOUT
1144
1144
  }
1145
1145
  });
1146
- var sleepWithRawHttp = _chunkPDFL7FBLcjs.actor.call(void 0, {
1146
+ var sleepWithRawHttp = _chunkLXFOO25Hcjs.actor.call(void 0, {
1147
1147
  state: { startCount: 0, sleepCount: 0, requestCount: 0 },
1148
1148
  onStart: (c) => {
1149
1149
  c.state.startCount += 1;
@@ -1178,7 +1178,7 @@ var sleepWithRawHttp = _chunkPDFL7FBLcjs.actor.call(void 0, {
1178
1178
  sleepTimeout: SLEEP_TIMEOUT
1179
1179
  }
1180
1180
  });
1181
- var sleepWithRawWebSocket = _chunkPDFL7FBLcjs.actor.call(void 0, {
1181
+ var sleepWithRawWebSocket = _chunkLXFOO25Hcjs.actor.call(void 0, {
1182
1182
  state: { startCount: 0, sleepCount: 0, connectionCount: 0 },
1183
1183
  onStart: (c) => {
1184
1184
  c.state.startCount += 1;
@@ -1241,7 +1241,7 @@ var sleepWithRawWebSocket = _chunkPDFL7FBLcjs.actor.call(void 0, {
1241
1241
  sleepTimeout: SLEEP_TIMEOUT
1242
1242
  }
1243
1243
  });
1244
- var sleepWithNoSleepOption = _chunkPDFL7FBLcjs.actor.call(void 0, {
1244
+ var sleepWithNoSleepOption = _chunkLXFOO25Hcjs.actor.call(void 0, {
1245
1245
  state: { startCount: 0, sleepCount: 0 },
1246
1246
  onStart: (c) => {
1247
1247
  c.state.startCount += 1;
@@ -1951,7 +1951,7 @@ function runActorInspectorTests(driverTestConfig) {
1951
1951
  _vitest.describe.call(void 0, "Manager Inspector", () => {
1952
1952
  _vitest.test.call(void 0, "should respond to ping", async (c) => {
1953
1953
  const { endpoint } = await setupDriverTest(c, driverTestConfig);
1954
- const http = _chunkSIWYIRXPcjs.createManagerInspectorClient.call(void 0, `${endpoint}/inspect`, {
1954
+ const http = _chunk765F7ILIcjs.createManagerInspectorClient.call(void 0, `${endpoint}/inspect`, {
1955
1955
  headers: {
1956
1956
  Authorization: `Bearer token`
1957
1957
  }
@@ -1965,7 +1965,7 @@ function runActorInspectorTests(driverTestConfig) {
1965
1965
  const { client, endpoint } = await setupDriverTest(c, driverTestConfig);
1966
1966
  await client.counter.create(["test-actor-1"]);
1967
1967
  await client.counter.create(["test-actor-2"]);
1968
- const http = _chunkSIWYIRXPcjs.createManagerInspectorClient.call(void 0, `${endpoint}/inspect`, {
1968
+ const http = _chunk765F7ILIcjs.createManagerInspectorClient.call(void 0, `${endpoint}/inspect`, {
1969
1969
  headers: {
1970
1970
  Authorization: `Bearer token`
1971
1971
  }
@@ -1988,7 +1988,7 @@ function runActorInspectorTests(driverTestConfig) {
1988
1988
  const actorKey2 = ["test-cursor-2"];
1989
1989
  await client.counter.create(actorKey1);
1990
1990
  await client.counter.create(actorKey2);
1991
- const http = _chunkSIWYIRXPcjs.createManagerInspectorClient.call(void 0, `${endpoint}/inspect`, {
1991
+ const http = _chunk765F7ILIcjs.createManagerInspectorClient.call(void 0, `${endpoint}/inspect`, {
1992
1992
  headers: {
1993
1993
  Authorization: `Bearer token`
1994
1994
  }
@@ -2013,7 +2013,7 @@ function runActorInspectorTests(driverTestConfig) {
2013
2013
  });
2014
2014
  _vitest.test.call(void 0, "should handle invalid limit parameter", async (c) => {
2015
2015
  const { endpoint } = await setupDriverTest(c, driverTestConfig);
2016
- const http = _chunkSIWYIRXPcjs.createManagerInspectorClient.call(void 0, `${endpoint}/inspect`, {
2016
+ const http = _chunk765F7ILIcjs.createManagerInspectorClient.call(void 0, `${endpoint}/inspect`, {
2017
2017
  headers: {
2018
2018
  Authorization: `Bearer token`
2019
2019
  }
@@ -2025,7 +2025,7 @@ function runActorInspectorTests(driverTestConfig) {
2025
2025
  });
2026
2026
  _vitest.test.call(void 0, "should create a new actor", async (c) => {
2027
2027
  const { endpoint } = await setupDriverTest(c, driverTestConfig);
2028
- const http = _chunkSIWYIRXPcjs.createManagerInspectorClient.call(void 0, `${endpoint}/inspect`, {
2028
+ const http = _chunk765F7ILIcjs.createManagerInspectorClient.call(void 0, `${endpoint}/inspect`, {
2029
2029
  headers: {
2030
2030
  Authorization: `Bearer token`
2031
2031
  }
@@ -2049,7 +2049,7 @@ function runActorInspectorTests(driverTestConfig) {
2049
2049
  });
2050
2050
  _vitest.test.call(void 0, "should get builds", async (c) => {
2051
2051
  const { endpoint } = await setupDriverTest(c, driverTestConfig);
2052
- const http = _chunkSIWYIRXPcjs.createManagerInspectorClient.call(void 0, `${endpoint}/inspect`, {
2052
+ const http = _chunk765F7ILIcjs.createManagerInspectorClient.call(void 0, `${endpoint}/inspect`, {
2053
2053
  headers: {
2054
2054
  Authorization: `Bearer token`
2055
2055
  }
@@ -2067,7 +2067,7 @@ function runActorInspectorTests(driverTestConfig) {
2067
2067
  const { client, endpoint } = await setupDriverTest(c, driverTestConfig);
2068
2068
  const handle = await client.counter.create(["test-get-by-id"]);
2069
2069
  const actorId = await handle.resolve();
2070
- const http = _chunkSIWYIRXPcjs.createManagerInspectorClient.call(void 0, `${endpoint}/inspect`, {
2070
+ const http = _chunk765F7ILIcjs.createManagerInspectorClient.call(void 0, `${endpoint}/inspect`, {
2071
2071
  headers: {
2072
2072
  Authorization: `Bearer token`
2073
2073
  }
@@ -2081,7 +2081,7 @@ function runActorInspectorTests(driverTestConfig) {
2081
2081
  });
2082
2082
  _vitest.test.call(void 0, "should return 404 for non-existent actor", async (c) => {
2083
2083
  const { endpoint } = await setupDriverTest(c, driverTestConfig);
2084
- const http = _chunkSIWYIRXPcjs.createManagerInspectorClient.call(void 0, `${endpoint}/inspect`, {
2084
+ const http = _chunk765F7ILIcjs.createManagerInspectorClient.call(void 0, `${endpoint}/inspect`, {
2085
2085
  headers: {
2086
2086
  Authorization: `Bearer token`
2087
2087
  }
@@ -2097,7 +2097,7 @@ function runActorInspectorTests(driverTestConfig) {
2097
2097
  const { client, endpoint } = await setupDriverTest(c, driverTestConfig);
2098
2098
  const handle = await client.counter.create(["test-bootstrap"]);
2099
2099
  await handle.resolve();
2100
- const http = _chunkSIWYIRXPcjs.createManagerInspectorClient.call(void 0, `${endpoint}/inspect`, {
2100
+ const http = _chunk765F7ILIcjs.createManagerInspectorClient.call(void 0, `${endpoint}/inspect`, {
2101
2101
  headers: {
2102
2102
  Authorization: `Bearer token`
2103
2103
  }
@@ -2119,10 +2119,10 @@ function runActorInspectorTests(driverTestConfig) {
2119
2119
  _vitest.test.call(void 0, "should handle actor not found", async (c) => {
2120
2120
  const { endpoint } = await setupDriverTest(c, driverTestConfig);
2121
2121
  const actorId = "non-existing";
2122
- const http = _chunkSIWYIRXPcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2122
+ const http = _chunk765F7ILIcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2123
2123
  headers: {
2124
2124
  Authorization: `Bearer token`,
2125
- [_chunkI3FB346Icjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2125
+ [_chunk5JZPEJVJcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2126
2126
  getForId: { name: "counter", actorId }
2127
2127
  })
2128
2128
  }
@@ -2134,10 +2134,10 @@ function runActorInspectorTests(driverTestConfig) {
2134
2134
  const { client, endpoint } = await setupDriverTest(c, driverTestConfig);
2135
2135
  const handle = await client.counter.create(["test-ping"]);
2136
2136
  const actorId = await handle.resolve();
2137
- const http = _chunkSIWYIRXPcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2137
+ const http = _chunk765F7ILIcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2138
2138
  headers: {
2139
2139
  Authorization: `Bearer token`,
2140
- [_chunkI3FB346Icjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2140
+ [_chunk5JZPEJVJcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2141
2141
  getForId: { name: "counter", actorId }
2142
2142
  })
2143
2143
  }
@@ -2152,10 +2152,10 @@ function runActorInspectorTests(driverTestConfig) {
2152
2152
  const handle = await client.counter.create(["test-state"]);
2153
2153
  const actorId = await handle.resolve();
2154
2154
  await handle.increment(5);
2155
- const http = _chunkSIWYIRXPcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2155
+ const http = _chunk765F7ILIcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2156
2156
  headers: {
2157
2157
  Authorization: `Bearer token`,
2158
- [_chunkI3FB346Icjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2158
+ [_chunk5JZPEJVJcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2159
2159
  getForId: { name: "counter", actorId }
2160
2160
  })
2161
2161
  }
@@ -2174,10 +2174,10 @@ function runActorInspectorTests(driverTestConfig) {
2174
2174
  const { client, endpoint } = await setupDriverTest(c, driverTestConfig);
2175
2175
  const handle = await client.counter.create(["test-state-replace"]);
2176
2176
  const actorId = await handle.resolve();
2177
- const http = _chunkSIWYIRXPcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2177
+ const http = _chunk765F7ILIcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2178
2178
  headers: {
2179
2179
  Authorization: `Bearer token`,
2180
- [_chunkI3FB346Icjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2180
+ [_chunk5JZPEJVJcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2181
2181
  getForId: { name: "counter", actorId }
2182
2182
  })
2183
2183
  }
@@ -2199,10 +2199,10 @@ function runActorInspectorTests(driverTestConfig) {
2199
2199
  const handle = await client.counter.create(["test-state-patch"]);
2200
2200
  const actorId = await handle.resolve();
2201
2201
  await handle.increment(3);
2202
- const http = _chunkSIWYIRXPcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2202
+ const http = _chunk765F7ILIcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2203
2203
  headers: {
2204
2204
  Authorization: `Bearer token`,
2205
- [_chunkI3FB346Icjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2205
+ [_chunk5JZPEJVJcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2206
2206
  getForId: { name: "counter", actorId }
2207
2207
  })
2208
2208
  }
@@ -2233,10 +2233,10 @@ function runActorInspectorTests(driverTestConfig) {
2233
2233
  const actorId = await handle.resolve();
2234
2234
  handle.connect();
2235
2235
  await handle.increment(10);
2236
- const http = _chunkSIWYIRXPcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2236
+ const http = _chunk765F7ILIcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2237
2237
  headers: {
2238
2238
  Authorization: `Bearer token`,
2239
- [_chunkI3FB346Icjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2239
+ [_chunk5JZPEJVJcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2240
2240
  getForId: { name: "counter", actorId }
2241
2241
  })
2242
2242
  }
@@ -2258,10 +2258,10 @@ function runActorInspectorTests(driverTestConfig) {
2258
2258
  const actorId = await handle.resolve();
2259
2259
  handle.connect();
2260
2260
  await handle.increment(10);
2261
- const http = _chunkSIWYIRXPcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2261
+ const http = _chunk765F7ILIcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2262
2262
  headers: {
2263
2263
  Authorization: `Bearer token`,
2264
- [_chunkI3FB346Icjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2264
+ [_chunk5JZPEJVJcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2265
2265
  getForId: { name: "counter", actorId }
2266
2266
  })
2267
2267
  }
@@ -2284,10 +2284,10 @@ function runActorInspectorTests(driverTestConfig) {
2284
2284
  const actorId = await handle.resolve();
2285
2285
  handle.connect();
2286
2286
  await handle.increment(10);
2287
- const http = _chunkSIWYIRXPcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2287
+ const http = _chunk765F7ILIcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2288
2288
  headers: {
2289
2289
  Authorization: `Bearer token`,
2290
- [_chunkI3FB346Icjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2290
+ [_chunk5JZPEJVJcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2291
2291
  getForId: { name: "counter", actorId }
2292
2292
  })
2293
2293
  }
@@ -2312,10 +2312,10 @@ function runActorInspectorTests(driverTestConfig) {
2312
2312
  const { client, endpoint } = await setupDriverTest(c, driverTestConfig);
2313
2313
  const handle = await client.counter.create(["test-rpcs"]);
2314
2314
  const actorId = await handle.resolve();
2315
- const http = _chunkSIWYIRXPcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2315
+ const http = _chunk765F7ILIcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2316
2316
  headers: {
2317
2317
  Authorization: `Bearer token`,
2318
- [_chunkI3FB346Icjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2318
+ [_chunk5JZPEJVJcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2319
2319
  getForId: { name: "counter", actorId }
2320
2320
  })
2321
2321
  }
@@ -2333,10 +2333,10 @@ function runActorInspectorTests(driverTestConfig) {
2333
2333
  const { client, endpoint } = await setupDriverTest(c, driverTestConfig);
2334
2334
  const handle = await client.counter.create(["test-db"]);
2335
2335
  const actorId = await handle.resolve();
2336
- const http = _chunkSIWYIRXPcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2336
+ const http = _chunk765F7ILIcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2337
2337
  headers: {
2338
2338
  Authorization: `Bearer token`,
2339
- [_chunkI3FB346Icjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2339
+ [_chunk5JZPEJVJcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2340
2340
  getForId: { name: "counter", actorId }
2341
2341
  })
2342
2342
  }
@@ -2357,10 +2357,10 @@ function runActorInspectorTests(driverTestConfig) {
2357
2357
  const { client, endpoint } = await setupDriverTest(c, driverTestConfig);
2358
2358
  const handle = await client.counter.create(["test-db-query"]);
2359
2359
  const actorId = await handle.resolve();
2360
- const http = _chunkSIWYIRXPcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2360
+ const http = _chunk765F7ILIcjs.createActorInspectorClient.call(void 0, `${endpoint}/actors/inspect`, {
2361
2361
  headers: {
2362
2362
  Authorization: `Bearer token`,
2363
- [_chunkI3FB346Icjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2363
+ [_chunk5JZPEJVJcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
2364
2364
  getForId: { name: "counter", actorId }
2365
2365
  })
2366
2366
  }
@@ -3932,7 +3932,7 @@ async function createTestRuntime(registryPath, driverFactory) {
3932
3932
  };
3933
3933
  } else {
3934
3934
  let upgradeWebSocket;
3935
- const config = _chunkCA3X5M6Hcjs.RunnerConfigSchema.parse({
3935
+ const config = _chunk6PORXHSQcjs.RunnerConfigSchema.parse({
3936
3936
  driver,
3937
3937
  getUpgradeWebSocket: () => upgradeWebSocket,
3938
3938
  inspector: {
@@ -3941,9 +3941,9 @@ async function createTestRuntime(registryPath, driverFactory) {
3941
3941
  }
3942
3942
  });
3943
3943
  const managerDriver = driver.manager(registry.config, config);
3944
- const client = _chunkVZMXAZKCcjs.createClientWithDriver.call(void 0, managerDriver);
3945
- _chunkSIWYIRXPcjs.configureInspectorAccessToken.call(void 0, config, managerDriver);
3946
- const { router } = _chunkPDFL7FBLcjs.createManagerRouter.call(void 0,
3944
+ const client = _chunkO7BIBANWcjs.createClientWithDriver.call(void 0, managerDriver);
3945
+ _chunk765F7ILIcjs.configureInspectorAccessToken.call(void 0, config, managerDriver);
3946
+ const { router } = _chunkLXFOO25Hcjs.createManagerRouter.call(void 0,
3947
3947
  registry.config,
3948
3948
  config,
3949
3949
  managerDriver,
@@ -3952,7 +3952,7 @@ async function createTestRuntime(registryPath, driverFactory) {
3952
3952
  );
3953
3953
  const nodeWebSocket = _nodews.createNodeWebSocket.call(void 0, { app: router });
3954
3954
  upgradeWebSocket = nodeWebSocket.upgradeWebSocket;
3955
- const port = await _chunkPSCDCEXMcjs.getPort.call(void 0, );
3955
+ const port = await _chunkHDCLOVOEcjs.getPort.call(void 0, );
3956
3956
  const server = _nodeserver.serve.call(void 0, {
3957
3957
  fetch: router.fetch,
3958
3958
  hostname: "127.0.0.1",
@@ -3972,7 +3972,7 @@ async function createTestRuntime(registryPath, driverFactory) {
3972
3972
  return {
3973
3973
  endpoint: serverEndpoint,
3974
3974
  namespace: "default",
3975
- runnerName: "rivetkit",
3975
+ runnerName: "default",
3976
3976
  cleanup
3977
3977
  };
3978
3978
  }