rivetkit 2.0.26 → 2.0.27
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/tsup/{chunk-EX6XY7A4.js → chunk-2NNICHGY.js} +2 -2
- package/dist/tsup/{chunk-CFMLY3P6.cjs → chunk-2TZH6VO6.cjs} +25 -32
- package/dist/tsup/chunk-2TZH6VO6.cjs.map +1 -0
- package/dist/tsup/{chunk-SWFPKHMT.cjs → chunk-4GJQDTAG.cjs} +192 -193
- package/dist/tsup/chunk-4GJQDTAG.cjs.map +1 -0
- package/dist/tsup/{chunk-NFQAYLE5.js → chunk-5YDKTW6Y.js} +11 -18
- package/dist/tsup/chunk-5YDKTW6Y.js.map +1 -0
- package/dist/tsup/{chunk-GMQ44WPZ.js → chunk-6F2NCX7R.js} +2 -2
- package/dist/tsup/{chunk-K5JMIH4N.js → chunk-BBTOBXEO.js} +8 -18
- package/dist/tsup/chunk-BBTOBXEO.js.map +1 -0
- package/dist/tsup/{chunk-ZX3AUO3B.js → chunk-C3UREFUI.js} +2 -2
- package/dist/tsup/{chunk-AYDCXNX6.js → chunk-D7A47BVR.js} +2 -2
- package/dist/tsup/{chunk-ZIAFEFUK.cjs → chunk-DRJCTDDT.cjs} +6 -6
- package/dist/tsup/{chunk-ZIAFEFUK.cjs.map → chunk-DRJCTDDT.cjs.map} +1 -1
- package/dist/tsup/{chunk-77UIPJTD.cjs → chunk-F3SQLO3X.cjs} +5 -5
- package/dist/tsup/{chunk-77UIPJTD.cjs.map → chunk-F3SQLO3X.cjs.map} +1 -1
- package/dist/tsup/{chunk-Z2YB6STQ.cjs → chunk-FYZLEH57.cjs} +15 -18
- package/dist/tsup/chunk-FYZLEH57.cjs.map +1 -0
- package/dist/tsup/{chunk-UORP3ABY.cjs → chunk-G7YZSSWV.cjs} +6 -6
- package/dist/tsup/{chunk-UORP3ABY.cjs.map → chunk-G7YZSSWV.cjs.map} +1 -1
- package/dist/tsup/{chunk-E6MTJS4R.js → chunk-GUH2PNPG.js} +3 -3
- package/dist/tsup/{chunk-3ZTRZIA5.js → chunk-KSQQU7NC.js} +5 -5
- package/dist/tsup/chunk-KSQQU7NC.js.map +1 -0
- package/dist/tsup/{chunk-N6VIFATJ.cjs → chunk-LZADH4QA.cjs} +10 -10
- package/dist/tsup/{chunk-N6VIFATJ.cjs.map → chunk-LZADH4QA.cjs.map} +1 -1
- package/dist/tsup/{chunk-X4OVVIPR.cjs → chunk-QC4AE54W.cjs} +3 -3
- package/dist/tsup/{chunk-X4OVVIPR.cjs.map → chunk-QC4AE54W.cjs.map} +1 -1
- package/dist/tsup/{chunk-WJKKE5CN.cjs → chunk-TJ2PJ5C7.cjs} +3 -3
- package/dist/tsup/{chunk-WJKKE5CN.cjs.map → chunk-TJ2PJ5C7.cjs.map} +1 -1
- package/dist/tsup/{chunk-6ZAGP4Y3.js → chunk-VRZNWBDK.js} +8 -11
- package/dist/tsup/{chunk-6ZAGP4Y3.js.map → chunk-VRZNWBDK.js.map} +1 -1
- package/dist/tsup/{chunk-NEM3XQSZ.cjs → chunk-XNKWXMIT.cjs} +199 -209
- package/dist/tsup/chunk-XNKWXMIT.cjs.map +1 -0
- package/dist/tsup/{chunk-WIFZEE5R.js → chunk-XU4GGB6J.js} +30 -31
- package/dist/tsup/chunk-XU4GGB6J.js.map +1 -0
- package/dist/tsup/client/mod.cjs +8 -8
- package/dist/tsup/client/mod.d.cts +2 -2
- package/dist/tsup/client/mod.d.ts +2 -2
- package/dist/tsup/client/mod.js +7 -7
- package/dist/tsup/common/log.cjs +2 -2
- package/dist/tsup/common/log.d.cts +1 -9
- package/dist/tsup/common/log.d.ts +1 -9
- package/dist/tsup/common/log.js +1 -1
- package/dist/tsup/common/websocket.cjs +3 -3
- package/dist/tsup/common/websocket.js +2 -2
- package/dist/tsup/{config-DdCBN35E.d.cts → config-BRDYDraU.d.cts} +880 -295
- package/dist/tsup/{config-B7x9hjVu.d.ts → config-Bo-blHpJ.d.ts} +880 -295
- package/dist/tsup/driver-helpers/mod.cjs +4 -4
- package/dist/tsup/driver-helpers/mod.d.cts +1 -1
- package/dist/tsup/driver-helpers/mod.d.ts +1 -1
- package/dist/tsup/driver-helpers/mod.js +3 -3
- package/dist/tsup/driver-test-suite/mod.cjs +71 -71
- package/dist/tsup/driver-test-suite/mod.d.cts +1 -1
- package/dist/tsup/driver-test-suite/mod.d.ts +1 -1
- package/dist/tsup/driver-test-suite/mod.js +10 -10
- package/dist/tsup/inspector/mod.cjs +5 -5
- package/dist/tsup/inspector/mod.d.cts +4 -4
- package/dist/tsup/inspector/mod.d.ts +4 -4
- package/dist/tsup/inspector/mod.js +4 -4
- package/dist/tsup/mod.cjs +9 -9
- package/dist/tsup/mod.d.cts +2 -2
- package/dist/tsup/mod.d.ts +2 -2
- package/dist/tsup/mod.js +8 -8
- package/dist/tsup/test/mod.cjs +10 -10
- package/dist/tsup/test/mod.d.cts +1 -1
- package/dist/tsup/test/mod.d.ts +1 -1
- package/dist/tsup/test/mod.js +9 -9
- package/dist/tsup/utils.cjs +2 -2
- package/dist/tsup/utils.js +1 -1
- package/package.json +5 -5
- package/src/actor/config.ts +20 -21
- package/src/actor/instance/state-manager.ts +2 -12
- package/src/client/config.ts +1 -1
- package/src/drivers/engine/config.ts +3 -6
- package/src/inspector/config.ts +2 -1
- package/src/manager/router-schema.ts +7 -7
- package/src/registry/run-config.ts +5 -9
- package/src/remote-manager-driver/actor-http-client.ts +1 -1
- package/src/test/config.ts +12 -13
- package/dist/tsup/chunk-3ZTRZIA5.js.map +0 -1
- package/dist/tsup/chunk-CFMLY3P6.cjs.map +0 -1
- package/dist/tsup/chunk-K5JMIH4N.js.map +0 -1
- package/dist/tsup/chunk-NEM3XQSZ.cjs.map +0 -1
- package/dist/tsup/chunk-NFQAYLE5.js.map +0 -1
- package/dist/tsup/chunk-SWFPKHMT.cjs.map +0 -1
- package/dist/tsup/chunk-WIFZEE5R.js.map +0 -1
- package/dist/tsup/chunk-Z2YB6STQ.cjs.map +0 -1
- /package/dist/tsup/{chunk-EX6XY7A4.js.map → chunk-2NNICHGY.js.map} +0 -0
- /package/dist/tsup/{chunk-GMQ44WPZ.js.map → chunk-6F2NCX7R.js.map} +0 -0
- /package/dist/tsup/{chunk-ZX3AUO3B.js.map → chunk-C3UREFUI.js.map} +0 -0
- /package/dist/tsup/{chunk-AYDCXNX6.js.map → chunk-D7A47BVR.js.map} +0 -0
- /package/dist/tsup/{chunk-E6MTJS4R.js.map → chunk-GUH2PNPG.js.map} +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk2TZH6VO6cjs = require('../chunk-2TZH6VO6.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -21,8 +21,8 @@ var _chunkCFMLY3P6cjs = require('../chunk-CFMLY3P6.cjs');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
25
|
-
require('../chunk-
|
|
24
|
+
var _chunkDRJCTDDTcjs = require('../chunk-DRJCTDDT.cjs');
|
|
25
|
+
require('../chunk-F3SQLO3X.cjs');
|
|
26
26
|
require('../chunk-XJMYGATE.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
@@ -45,5 +45,5 @@ require('../chunk-XJMYGATE.cjs');
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
exports.ALLOWED_PUBLIC_HEADERS =
|
|
48
|
+
exports.ALLOWED_PUBLIC_HEADERS = _chunkDRJCTDDTcjs.ALLOWED_PUBLIC_HEADERS; exports.DriverConfigSchema = _chunk2TZH6VO6cjs.DriverConfigSchema; exports.HEADER_ACTOR_ID = _chunkDRJCTDDTcjs.HEADER_ACTOR_ID; exports.HEADER_ACTOR_QUERY = _chunkDRJCTDDTcjs.HEADER_ACTOR_QUERY; exports.HEADER_CONN_PARAMS = _chunkDRJCTDDTcjs.HEADER_CONN_PARAMS; exports.HEADER_ENCODING = _chunkDRJCTDDTcjs.HEADER_ENCODING; exports.HEADER_RIVET_ACTOR = _chunkDRJCTDDTcjs.HEADER_RIVET_ACTOR; exports.HEADER_RIVET_TARGET = _chunkDRJCTDDTcjs.HEADER_RIVET_TARGET; exports.PATH_CONNECT = _chunkDRJCTDDTcjs.PATH_CONNECT; exports.PATH_WEBSOCKET_BASE = _chunkDRJCTDDTcjs.PATH_WEBSOCKET_BASE; exports.PATH_WEBSOCKET_PREFIX = _chunkDRJCTDDTcjs.PATH_WEBSOCKET_PREFIX; exports.RunConfigSchema = _chunk2TZH6VO6cjs.RunnerConfigSchema; exports.WS_PROTOCOL_ACTOR = _chunkDRJCTDDTcjs.WS_PROTOCOL_ACTOR; exports.WS_PROTOCOL_CONN_PARAMS = _chunkDRJCTDDTcjs.WS_PROTOCOL_CONN_PARAMS; exports.WS_PROTOCOL_ENCODING = _chunkDRJCTDDTcjs.WS_PROTOCOL_ENCODING; exports.WS_PROTOCOL_PATH = _chunkDRJCTDDTcjs.WS_TEST_PROTOCOL_PATH; exports.WS_PROTOCOL_STANDARD = _chunkDRJCTDDTcjs.WS_PROTOCOL_STANDARD; exports.WS_PROTOCOL_TARGET = _chunkDRJCTDDTcjs.WS_PROTOCOL_TARGET; exports.generateRandomString = _chunkDRJCTDDTcjs.generateRandomString; exports.getInitialActorKvState = _chunk2TZH6VO6cjs.getInitialActorKvState;
|
|
49
49
|
//# sourceMappingURL=mod.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ActorDriver, ad as ActorInstance, ae as ActorOutput, b as AnyActorInstance, af as CreateInput, am as DriverConfigSchema, ag as GetForIdInput, ah as GetOrCreateWithKeyInput, ai as GetWithKeyInput, aj as ListActorsInput, ak as ManagerDisplayInformation, al as ManagerDriver, an as RunConfigSchema } from '../config-
|
|
1
|
+
export { A as ActorDriver, ad as ActorInstance, ae as ActorOutput, b as AnyActorInstance, af as CreateInput, am as DriverConfigSchema, ag as GetForIdInput, ah as GetOrCreateWithKeyInput, ai as GetWithKeyInput, aj as ListActorsInput, ak as ManagerDisplayInformation, al as ManagerDriver, an as RunConfigSchema } from '../config-BRDYDraU.cjs';
|
|
2
2
|
export { A as ALLOWED_PUBLIC_HEADERS, H as HEADER_ACTOR_ID, b as HEADER_ACTOR_QUERY, c as HEADER_CONN_PARAMS, d as HEADER_ENCODING, e as HEADER_RIVET_ACTOR, f as HEADER_RIVET_TARGET, P as PATH_CONNECT, g as PATH_WEBSOCKET_BASE, a as PATH_WEBSOCKET_PREFIX, W as WS_PROTOCOL_ACTOR, h as WS_PROTOCOL_CONN_PARAMS, i as WS_PROTOCOL_ENCODING, l as WS_PROTOCOL_PATH, j as WS_PROTOCOL_STANDARD, k as WS_PROTOCOL_TARGET } from '../actor-router-consts-DzI2szci.cjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import 'hono';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ActorDriver, ad as ActorInstance, ae as ActorOutput, b as AnyActorInstance, af as CreateInput, am as DriverConfigSchema, ag as GetForIdInput, ah as GetOrCreateWithKeyInput, ai as GetWithKeyInput, aj as ListActorsInput, ak as ManagerDisplayInformation, al as ManagerDriver, an as RunConfigSchema } from '../config-
|
|
1
|
+
export { A as ActorDriver, ad as ActorInstance, ae as ActorOutput, b as AnyActorInstance, af as CreateInput, am as DriverConfigSchema, ag as GetForIdInput, ah as GetOrCreateWithKeyInput, ai as GetWithKeyInput, aj as ListActorsInput, ak as ManagerDisplayInformation, al as ManagerDriver, an as RunConfigSchema } from '../config-Bo-blHpJ.js';
|
|
2
2
|
export { A as ALLOWED_PUBLIC_HEADERS, H as HEADER_ACTOR_ID, b as HEADER_ACTOR_QUERY, c as HEADER_CONN_PARAMS, d as HEADER_ENCODING, e as HEADER_RIVET_ACTOR, f as HEADER_RIVET_TARGET, P as PATH_CONNECT, g as PATH_WEBSOCKET_BASE, a as PATH_WEBSOCKET_PREFIX, W as WS_PROTOCOL_ACTOR, h as WS_PROTOCOL_CONN_PARAMS, i as WS_PROTOCOL_ENCODING, l as WS_PROTOCOL_PATH, j as WS_PROTOCOL_STANDARD, k as WS_PROTOCOL_TARGET } from '../actor-router-consts-DzI2szci.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import 'hono';
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
DriverConfigSchema,
|
|
3
3
|
RunnerConfigSchema,
|
|
4
4
|
getInitialActorKvState
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-5YDKTW6Y.js";
|
|
6
6
|
import {
|
|
7
7
|
ALLOWED_PUBLIC_HEADERS,
|
|
8
8
|
HEADER_ACTOR_ID,
|
|
@@ -21,8 +21,8 @@ import {
|
|
|
21
21
|
WS_PROTOCOL_TARGET,
|
|
22
22
|
WS_TEST_PROTOCOL_PATH,
|
|
23
23
|
generateRandomString
|
|
24
|
-
} from "../chunk-
|
|
25
|
-
import "../chunk-
|
|
24
|
+
} from "../chunk-C3UREFUI.js";
|
|
25
|
+
import "../chunk-KSQQU7NC.js";
|
|
26
26
|
import "../chunk-LQOCWGP6.js";
|
|
27
27
|
export {
|
|
28
28
|
ALLOWED_PUBLIC_HEADERS,
|
|
@@ -1,30 +1,30 @@
|
|
|
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
|
|
3
|
+
var _chunkFYZLEH57cjs = require('../chunk-FYZLEH57.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk4GJQDTAGcjs = require('../chunk-4GJQDTAG.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkQC4AE54Wcjs = require('../chunk-QC4AE54W.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkG7YZSSWVcjs = require('../chunk-G7YZSSWV.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
20
|
-
require('../chunk-
|
|
19
|
+
var _chunkXNKWXMITcjs = require('../chunk-XNKWXMIT.cjs');
|
|
20
|
+
require('../chunk-LZADH4QA.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkTJ2PJ5C7cjs = require('../chunk-TJ2PJ5C7.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunk2TZH6VO6cjs = require('../chunk-2TZH6VO6.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
@@ -35,11 +35,11 @@ var _chunkCFMLY3P6cjs = require('../chunk-CFMLY3P6.cjs');
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _chunkDRJCTDDTcjs = require('../chunk-DRJCTDDT.cjs');
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunkF3SQLO3Xcjs = require('../chunk-F3SQLO3X.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
@@ -53,7 +53,7 @@ var _vitest = require('vitest');
|
|
|
53
53
|
|
|
54
54
|
// src/driver-test-suite/log.ts
|
|
55
55
|
function logger() {
|
|
56
|
-
return
|
|
56
|
+
return _chunkF3SQLO3Xcjs.getLogger.call(void 0, "test-suite");
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
// src/driver-test-suite/tests/action-features.ts
|
|
@@ -103,7 +103,7 @@ function createTestInlineClientDriver(endpoint, encoding) {
|
|
|
103
103
|
to: url
|
|
104
104
|
});
|
|
105
105
|
const headers = new Headers(actorRequest.headers);
|
|
106
|
-
headers.set(
|
|
106
|
+
headers.set(_chunkDRJCTDDTcjs.HEADER_ACTOR_ID, actorId);
|
|
107
107
|
const response = await fetch(
|
|
108
108
|
new Request(url, {
|
|
109
109
|
method: actorRequest.method,
|
|
@@ -119,7 +119,7 @@ function createTestInlineClientDriver(endpoint, encoding) {
|
|
|
119
119
|
const errorData = await clonedResponse.json();
|
|
120
120
|
if (errorData.error) {
|
|
121
121
|
if (typeof errorData.error === "object") {
|
|
122
|
-
throw new (0,
|
|
122
|
+
throw new (0, _chunkXNKWXMITcjs.ActorError)(
|
|
123
123
|
errorData.error.code,
|
|
124
124
|
errorData.error.message,
|
|
125
125
|
errorData.error.metadata
|
|
@@ -127,7 +127,7 @@ function createTestInlineClientDriver(endpoint, encoding) {
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
} catch (e) {
|
|
130
|
-
if (!(e instanceof
|
|
130
|
+
if (!(e instanceof _chunkXNKWXMITcjs.ActorError)) {
|
|
131
131
|
return response;
|
|
132
132
|
}
|
|
133
133
|
throw e;
|
|
@@ -136,7 +136,7 @@ function createTestInlineClientDriver(endpoint, encoding) {
|
|
|
136
136
|
return response;
|
|
137
137
|
},
|
|
138
138
|
async openWebSocket(path, actorId, encoding2, params) {
|
|
139
|
-
const WebSocket2 = await
|
|
139
|
+
const WebSocket2 = await _chunkTJ2PJ5C7cjs.importWebSocket.call(void 0, );
|
|
140
140
|
const normalizedPath = path.startsWith("/") ? path.slice(1) : path;
|
|
141
141
|
const wsUrl = new URL(
|
|
142
142
|
`${endpoint}/.test/inline-driver/connect-websocket/ws`
|
|
@@ -148,18 +148,18 @@ function createTestInlineClientDriver(endpoint, encoding) {
|
|
|
148
148
|
const wsProtocol = wsUrl.protocol === "https:" ? "wss:" : "ws:";
|
|
149
149
|
const finalWsUrl = `${wsProtocol}//${wsUrl.host}${wsUrl.pathname}`;
|
|
150
150
|
const protocols = [];
|
|
151
|
-
protocols.push(
|
|
152
|
-
protocols.push(`${
|
|
151
|
+
protocols.push(_chunkDRJCTDDTcjs.WS_PROTOCOL_STANDARD);
|
|
152
|
+
protocols.push(`${_chunkDRJCTDDTcjs.WS_PROTOCOL_TARGET}actor`);
|
|
153
153
|
protocols.push(
|
|
154
|
-
`${
|
|
154
|
+
`${_chunkDRJCTDDTcjs.WS_PROTOCOL_ACTOR}${encodeURIComponent(actorId)}`
|
|
155
155
|
);
|
|
156
|
-
protocols.push(`${
|
|
156
|
+
protocols.push(`${_chunkDRJCTDDTcjs.WS_PROTOCOL_ENCODING}${encoding2}`);
|
|
157
157
|
protocols.push(
|
|
158
|
-
`${
|
|
158
|
+
`${_chunkDRJCTDDTcjs.WS_TEST_PROTOCOL_PATH}${encodeURIComponent(normalizedPath)}`
|
|
159
159
|
);
|
|
160
160
|
if (params !== void 0) {
|
|
161
161
|
protocols.push(
|
|
162
|
-
`${
|
|
162
|
+
`${_chunkDRJCTDDTcjs.WS_PROTOCOL_CONN_PARAMS}${encodeURIComponent(JSON.stringify(params))}`
|
|
163
163
|
);
|
|
164
164
|
}
|
|
165
165
|
logger().debug({
|
|
@@ -525,14 +525,14 @@ async function makeInlineRequest(endpoint, encoding, method, args) {
|
|
|
525
525
|
if ("ok" in callResponse) {
|
|
526
526
|
return callResponse.ok;
|
|
527
527
|
} else if ("err" in callResponse) {
|
|
528
|
-
throw new (0,
|
|
528
|
+
throw new (0, _chunkXNKWXMITcjs.ActorError)(
|
|
529
529
|
callResponse.err.group,
|
|
530
530
|
callResponse.err.code,
|
|
531
531
|
callResponse.err.message,
|
|
532
532
|
callResponse.err.metadata
|
|
533
533
|
);
|
|
534
534
|
} else {
|
|
535
|
-
|
|
535
|
+
_chunkDRJCTDDTcjs.assertUnreachable.call(void 0, callResponse);
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
|
|
@@ -550,7 +550,7 @@ async function setupDriverTest(c, driverTestConfig) {
|
|
|
550
550
|
});
|
|
551
551
|
let client;
|
|
552
552
|
if (driverTestConfig.clientType === "http") {
|
|
553
|
-
client =
|
|
553
|
+
client = _chunkG7YZSSWVcjs.createClient.call(void 0, {
|
|
554
554
|
endpoint,
|
|
555
555
|
namespace,
|
|
556
556
|
runnerName,
|
|
@@ -559,12 +559,12 @@ async function setupDriverTest(c, driverTestConfig) {
|
|
|
559
559
|
} else if (driverTestConfig.clientType === "inline") {
|
|
560
560
|
const encoding = _nullishCoalesce(driverTestConfig.encoding, () => ( "bare"));
|
|
561
561
|
const managerDriver = createTestInlineClientDriver(endpoint, encoding);
|
|
562
|
-
const runConfig =
|
|
562
|
+
const runConfig = _chunk2TZH6VO6cjs.RunnerConfigSchema.parse({
|
|
563
563
|
encoding
|
|
564
564
|
});
|
|
565
|
-
client =
|
|
565
|
+
client = _chunkXNKWXMITcjs.createClientWithDriver.call(void 0, managerDriver, runConfig);
|
|
566
566
|
} else {
|
|
567
|
-
|
|
567
|
+
_chunkDRJCTDDTcjs.assertUnreachable.call(void 0, driverTestConfig.clientType);
|
|
568
568
|
}
|
|
569
569
|
if (!driverTestConfig.HACK_skipCleanupNet) {
|
|
570
570
|
c.onTestFinished(async () => await client.dispose());
|
|
@@ -872,7 +872,7 @@ function runActorConnTests(driverTestConfig) {
|
|
|
872
872
|
|
|
873
873
|
// fixtures/driver-test-suite/hibernation.ts
|
|
874
874
|
var HIBERNATION_SLEEP_TIMEOUT = 500;
|
|
875
|
-
var hibernationActor =
|
|
875
|
+
var hibernationActor = _chunk4GJQDTAGcjs.actor.call(void 0, {
|
|
876
876
|
state: {
|
|
877
877
|
sleepCount: 0,
|
|
878
878
|
wakeCount: 0
|
|
@@ -1455,7 +1455,7 @@ function runActorScheduleTests(driverTestConfig) {
|
|
|
1455
1455
|
|
|
1456
1456
|
// fixtures/driver-test-suite/sleep.ts
|
|
1457
1457
|
var SLEEP_TIMEOUT = 1e3;
|
|
1458
|
-
var sleep =
|
|
1458
|
+
var sleep = _chunk4GJQDTAGcjs.actor.call(void 0, {
|
|
1459
1459
|
state: { startCount: 0, sleepCount: 0 },
|
|
1460
1460
|
onWake: (c) => {
|
|
1461
1461
|
c.state.startCount += 1;
|
|
@@ -1484,7 +1484,7 @@ var sleep = _chunkSWFPKHMTcjs.actor.call(void 0, {
|
|
|
1484
1484
|
sleepTimeout: SLEEP_TIMEOUT
|
|
1485
1485
|
}
|
|
1486
1486
|
});
|
|
1487
|
-
var sleepWithLongRpc =
|
|
1487
|
+
var sleepWithLongRpc = _chunk4GJQDTAGcjs.actor.call(void 0, {
|
|
1488
1488
|
state: { startCount: 0, sleepCount: 0 },
|
|
1489
1489
|
createVars: () => ({}),
|
|
1490
1490
|
onWake: (c) => {
|
|
@@ -1502,7 +1502,7 @@ var sleepWithLongRpc = _chunkSWFPKHMTcjs.actor.call(void 0, {
|
|
|
1502
1502
|
},
|
|
1503
1503
|
longRunningRpc: async (c) => {
|
|
1504
1504
|
c.log.info("starting long running rpc");
|
|
1505
|
-
c.vars.longRunningResolve =
|
|
1505
|
+
c.vars.longRunningResolve = _chunkF3SQLO3Xcjs.promiseWithResolvers.call(void 0, );
|
|
1506
1506
|
c.broadcast("waiting");
|
|
1507
1507
|
await c.vars.longRunningResolve.promise;
|
|
1508
1508
|
c.log.info("finished long running rpc");
|
|
@@ -1516,7 +1516,7 @@ var sleepWithLongRpc = _chunkSWFPKHMTcjs.actor.call(void 0, {
|
|
|
1516
1516
|
sleepTimeout: SLEEP_TIMEOUT
|
|
1517
1517
|
}
|
|
1518
1518
|
});
|
|
1519
|
-
var sleepWithRawHttp =
|
|
1519
|
+
var sleepWithRawHttp = _chunk4GJQDTAGcjs.actor.call(void 0, {
|
|
1520
1520
|
state: { startCount: 0, sleepCount: 0, requestCount: 0 },
|
|
1521
1521
|
onWake: (c) => {
|
|
1522
1522
|
c.state.startCount += 1;
|
|
@@ -1553,7 +1553,7 @@ var sleepWithRawHttp = _chunkSWFPKHMTcjs.actor.call(void 0, {
|
|
|
1553
1553
|
sleepTimeout: SLEEP_TIMEOUT
|
|
1554
1554
|
}
|
|
1555
1555
|
});
|
|
1556
|
-
var sleepWithRawWebSocket =
|
|
1556
|
+
var sleepWithRawWebSocket = _chunk4GJQDTAGcjs.actor.call(void 0, {
|
|
1557
1557
|
state: { startCount: 0, sleepCount: 0, connectionCount: 0 },
|
|
1558
1558
|
onWake: (c) => {
|
|
1559
1559
|
c.state.startCount += 1;
|
|
@@ -1616,7 +1616,7 @@ var sleepWithRawWebSocket = _chunkSWFPKHMTcjs.actor.call(void 0, {
|
|
|
1616
1616
|
sleepTimeout: SLEEP_TIMEOUT
|
|
1617
1617
|
}
|
|
1618
1618
|
});
|
|
1619
|
-
var sleepWithNoSleepOption =
|
|
1619
|
+
var sleepWithNoSleepOption = _chunk4GJQDTAGcjs.actor.call(void 0, {
|
|
1620
1620
|
state: { startCount: 0, sleepCount: 0 },
|
|
1621
1621
|
onWake: (c) => {
|
|
1622
1622
|
c.state.startCount += 1;
|
|
@@ -2347,7 +2347,7 @@ function runActorInspectorTests(driverTestConfig) {
|
|
|
2347
2347
|
_vitest.describe.call(void 0, "Manager Inspector", () => {
|
|
2348
2348
|
_vitest.test.call(void 0, "should respond to ping", async (c) => {
|
|
2349
2349
|
const { endpoint } = await setupDriverTest(c, driverTestConfig);
|
|
2350
|
-
const http =
|
|
2350
|
+
const http = _chunkQC4AE54Wcjs.createManagerInspectorClient.call(void 0,
|
|
2351
2351
|
`${endpoint}/inspect`,
|
|
2352
2352
|
{
|
|
2353
2353
|
headers: {
|
|
@@ -2367,7 +2367,7 @@ function runActorInspectorTests(driverTestConfig) {
|
|
|
2367
2367
|
);
|
|
2368
2368
|
await client.counter.create(["test-actor-1"]);
|
|
2369
2369
|
await client.counter.create(["test-actor-2"]);
|
|
2370
|
-
const http =
|
|
2370
|
+
const http = _chunkQC4AE54Wcjs.createManagerInspectorClient.call(void 0,
|
|
2371
2371
|
`${endpoint}/inspect`,
|
|
2372
2372
|
{
|
|
2373
2373
|
headers: {
|
|
@@ -2396,7 +2396,7 @@ function runActorInspectorTests(driverTestConfig) {
|
|
|
2396
2396
|
const actorKey2 = ["test-cursor-2"];
|
|
2397
2397
|
await client.counter.create(actorKey1);
|
|
2398
2398
|
await client.counter.create(actorKey2);
|
|
2399
|
-
const http =
|
|
2399
|
+
const http = _chunkQC4AE54Wcjs.createManagerInspectorClient.call(void 0,
|
|
2400
2400
|
`${endpoint}/inspect`,
|
|
2401
2401
|
{
|
|
2402
2402
|
headers: {
|
|
@@ -2424,7 +2424,7 @@ function runActorInspectorTests(driverTestConfig) {
|
|
|
2424
2424
|
});
|
|
2425
2425
|
_vitest.test.call(void 0, "should handle invalid limit parameter", async (c) => {
|
|
2426
2426
|
const { endpoint } = await setupDriverTest(c, driverTestConfig);
|
|
2427
|
-
const http =
|
|
2427
|
+
const http = _chunkQC4AE54Wcjs.createManagerInspectorClient.call(void 0,
|
|
2428
2428
|
`${endpoint}/inspect`,
|
|
2429
2429
|
{
|
|
2430
2430
|
headers: {
|
|
@@ -2439,7 +2439,7 @@ function runActorInspectorTests(driverTestConfig) {
|
|
|
2439
2439
|
});
|
|
2440
2440
|
_vitest.test.call(void 0, "should create a new actor", async (c) => {
|
|
2441
2441
|
const { endpoint } = await setupDriverTest(c, driverTestConfig);
|
|
2442
|
-
const http =
|
|
2442
|
+
const http = _chunkQC4AE54Wcjs.createManagerInspectorClient.call(void 0,
|
|
2443
2443
|
`${endpoint}/inspect`,
|
|
2444
2444
|
{
|
|
2445
2445
|
headers: {
|
|
@@ -2466,7 +2466,7 @@ function runActorInspectorTests(driverTestConfig) {
|
|
|
2466
2466
|
});
|
|
2467
2467
|
_vitest.test.call(void 0, "should get builds", async (c) => {
|
|
2468
2468
|
const { endpoint } = await setupDriverTest(c, driverTestConfig);
|
|
2469
|
-
const http =
|
|
2469
|
+
const http = _chunkQC4AE54Wcjs.createManagerInspectorClient.call(void 0,
|
|
2470
2470
|
`${endpoint}/inspect`,
|
|
2471
2471
|
{
|
|
2472
2472
|
headers: {
|
|
@@ -2490,7 +2490,7 @@ function runActorInspectorTests(driverTestConfig) {
|
|
|
2490
2490
|
);
|
|
2491
2491
|
const handle = await client.counter.create(["test-get-by-id"]);
|
|
2492
2492
|
const actorId = await handle.resolve();
|
|
2493
|
-
const http =
|
|
2493
|
+
const http = _chunkQC4AE54Wcjs.createManagerInspectorClient.call(void 0,
|
|
2494
2494
|
`${endpoint}/inspect`,
|
|
2495
2495
|
{
|
|
2496
2496
|
headers: {
|
|
@@ -2507,7 +2507,7 @@ function runActorInspectorTests(driverTestConfig) {
|
|
|
2507
2507
|
});
|
|
2508
2508
|
_vitest.test.call(void 0, "should return 404 for non-existent actor", async (c) => {
|
|
2509
2509
|
const { endpoint } = await setupDriverTest(c, driverTestConfig);
|
|
2510
|
-
const http =
|
|
2510
|
+
const http = _chunkQC4AE54Wcjs.createManagerInspectorClient.call(void 0,
|
|
2511
2511
|
`${endpoint}/inspect`,
|
|
2512
2512
|
{
|
|
2513
2513
|
headers: {
|
|
@@ -2529,7 +2529,7 @@ function runActorInspectorTests(driverTestConfig) {
|
|
|
2529
2529
|
);
|
|
2530
2530
|
const handle = await client.counter.create(["test-bootstrap"]);
|
|
2531
2531
|
await handle.resolve();
|
|
2532
|
-
const http =
|
|
2532
|
+
const http = _chunkQC4AE54Wcjs.createManagerInspectorClient.call(void 0,
|
|
2533
2533
|
`${endpoint}/inspect`,
|
|
2534
2534
|
{
|
|
2535
2535
|
headers: {
|
|
@@ -2554,12 +2554,12 @@ function runActorInspectorTests(driverTestConfig) {
|
|
|
2554
2554
|
_vitest.test.call(void 0, "should handle actor not found", async (c) => {
|
|
2555
2555
|
const { endpoint } = await setupDriverTest(c, driverTestConfig);
|
|
2556
2556
|
const actorId = "non-existing";
|
|
2557
|
-
const http =
|
|
2557
|
+
const http = _chunkQC4AE54Wcjs.createActorInspectorClient.call(void 0,
|
|
2558
2558
|
`${endpoint}/actors/inspect`,
|
|
2559
2559
|
{
|
|
2560
2560
|
headers: {
|
|
2561
2561
|
Authorization: `Bearer token`,
|
|
2562
|
-
[
|
|
2562
|
+
[_chunkDRJCTDDTcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
|
|
2563
2563
|
getForId: { name: "counter", actorId }
|
|
2564
2564
|
})
|
|
2565
2565
|
}
|
|
@@ -2575,12 +2575,12 @@ function runActorInspectorTests(driverTestConfig) {
|
|
|
2575
2575
|
);
|
|
2576
2576
|
const handle = await client.counter.create(["test-ping"]);
|
|
2577
2577
|
const actorId = await handle.resolve();
|
|
2578
|
-
const http =
|
|
2578
|
+
const http = _chunkQC4AE54Wcjs.createActorInspectorClient.call(void 0,
|
|
2579
2579
|
`${endpoint}/actors/inspect`,
|
|
2580
2580
|
{
|
|
2581
2581
|
headers: {
|
|
2582
2582
|
Authorization: `Bearer token`,
|
|
2583
|
-
[
|
|
2583
|
+
[_chunkDRJCTDDTcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
|
|
2584
2584
|
getForId: { name: "counter", actorId }
|
|
2585
2585
|
})
|
|
2586
2586
|
}
|
|
@@ -2599,12 +2599,12 @@ function runActorInspectorTests(driverTestConfig) {
|
|
|
2599
2599
|
const handle = await client.counter.create(["test-state"]);
|
|
2600
2600
|
const actorId = await handle.resolve();
|
|
2601
2601
|
await handle.increment(5);
|
|
2602
|
-
const http =
|
|
2602
|
+
const http = _chunkQC4AE54Wcjs.createActorInspectorClient.call(void 0,
|
|
2603
2603
|
`${endpoint}/actors/inspect`,
|
|
2604
2604
|
{
|
|
2605
2605
|
headers: {
|
|
2606
2606
|
Authorization: `Bearer token`,
|
|
2607
|
-
[
|
|
2607
|
+
[_chunkDRJCTDDTcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
|
|
2608
2608
|
getForId: { name: "counter", actorId }
|
|
2609
2609
|
})
|
|
2610
2610
|
}
|
|
@@ -2629,12 +2629,12 @@ function runActorInspectorTests(driverTestConfig) {
|
|
|
2629
2629
|
"test-state-replace"
|
|
2630
2630
|
]);
|
|
2631
2631
|
const actorId = await handle.resolve();
|
|
2632
|
-
const http =
|
|
2632
|
+
const http = _chunkQC4AE54Wcjs.createActorInspectorClient.call(void 0,
|
|
2633
2633
|
`${endpoint}/actors/inspect`,
|
|
2634
2634
|
{
|
|
2635
2635
|
headers: {
|
|
2636
2636
|
Authorization: `Bearer token`,
|
|
2637
|
-
[
|
|
2637
|
+
[_chunkDRJCTDDTcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
|
|
2638
2638
|
getForId: { name: "counter", actorId }
|
|
2639
2639
|
})
|
|
2640
2640
|
}
|
|
@@ -2662,12 +2662,12 @@ function runActorInspectorTests(driverTestConfig) {
|
|
|
2662
2662
|
]);
|
|
2663
2663
|
const actorId = await handle.resolve();
|
|
2664
2664
|
await handle.increment(3);
|
|
2665
|
-
const http =
|
|
2665
|
+
const http = _chunkQC4AE54Wcjs.createActorInspectorClient.call(void 0,
|
|
2666
2666
|
`${endpoint}/actors/inspect`,
|
|
2667
2667
|
{
|
|
2668
2668
|
headers: {
|
|
2669
2669
|
Authorization: `Bearer token`,
|
|
2670
|
-
[
|
|
2670
|
+
[_chunkDRJCTDDTcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
|
|
2671
2671
|
getForId: { name: "counter", actorId }
|
|
2672
2672
|
})
|
|
2673
2673
|
}
|
|
@@ -2704,12 +2704,12 @@ function runActorInspectorTests(driverTestConfig) {
|
|
|
2704
2704
|
const actorId = await handle.resolve();
|
|
2705
2705
|
handle.connect();
|
|
2706
2706
|
await handle.increment(10);
|
|
2707
|
-
const http =
|
|
2707
|
+
const http = _chunkQC4AE54Wcjs.createActorInspectorClient.call(void 0,
|
|
2708
2708
|
`${endpoint}/actors/inspect`,
|
|
2709
2709
|
{
|
|
2710
2710
|
headers: {
|
|
2711
2711
|
Authorization: `Bearer token`,
|
|
2712
|
-
[
|
|
2712
|
+
[_chunkDRJCTDDTcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
|
|
2713
2713
|
getForId: { name: "counter", actorId }
|
|
2714
2714
|
})
|
|
2715
2715
|
}
|
|
@@ -2735,12 +2735,12 @@ function runActorInspectorTests(driverTestConfig) {
|
|
|
2735
2735
|
const actorId = await handle.resolve();
|
|
2736
2736
|
handle.connect();
|
|
2737
2737
|
await handle.increment(10);
|
|
2738
|
-
const http =
|
|
2738
|
+
const http = _chunkQC4AE54Wcjs.createActorInspectorClient.call(void 0,
|
|
2739
2739
|
`${endpoint}/actors/inspect`,
|
|
2740
2740
|
{
|
|
2741
2741
|
headers: {
|
|
2742
2742
|
Authorization: `Bearer token`,
|
|
2743
|
-
[
|
|
2743
|
+
[_chunkDRJCTDDTcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
|
|
2744
2744
|
getForId: { name: "counter", actorId }
|
|
2745
2745
|
})
|
|
2746
2746
|
}
|
|
@@ -2769,12 +2769,12 @@ function runActorInspectorTests(driverTestConfig) {
|
|
|
2769
2769
|
const actorId = await handle.resolve();
|
|
2770
2770
|
handle.connect();
|
|
2771
2771
|
await handle.increment(10);
|
|
2772
|
-
const http =
|
|
2772
|
+
const http = _chunkQC4AE54Wcjs.createActorInspectorClient.call(void 0,
|
|
2773
2773
|
`${endpoint}/actors/inspect`,
|
|
2774
2774
|
{
|
|
2775
2775
|
headers: {
|
|
2776
2776
|
Authorization: `Bearer token`,
|
|
2777
|
-
[
|
|
2777
|
+
[_chunkDRJCTDDTcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
|
|
2778
2778
|
getForId: { name: "counter", actorId }
|
|
2779
2779
|
})
|
|
2780
2780
|
}
|
|
@@ -2803,12 +2803,12 @@ function runActorInspectorTests(driverTestConfig) {
|
|
|
2803
2803
|
);
|
|
2804
2804
|
const handle = await client.counter.create(["test-rpcs"]);
|
|
2805
2805
|
const actorId = await handle.resolve();
|
|
2806
|
-
const http =
|
|
2806
|
+
const http = _chunkQC4AE54Wcjs.createActorInspectorClient.call(void 0,
|
|
2807
2807
|
`${endpoint}/actors/inspect`,
|
|
2808
2808
|
{
|
|
2809
2809
|
headers: {
|
|
2810
2810
|
Authorization: `Bearer token`,
|
|
2811
|
-
[
|
|
2811
|
+
[_chunkDRJCTDDTcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
|
|
2812
2812
|
getForId: { name: "counter", actorId }
|
|
2813
2813
|
})
|
|
2814
2814
|
}
|
|
@@ -2830,12 +2830,12 @@ function runActorInspectorTests(driverTestConfig) {
|
|
|
2830
2830
|
);
|
|
2831
2831
|
const handle = await client.counter.create(["test-db"]);
|
|
2832
2832
|
const actorId = await handle.resolve();
|
|
2833
|
-
const http =
|
|
2833
|
+
const http = _chunkQC4AE54Wcjs.createActorInspectorClient.call(void 0,
|
|
2834
2834
|
`${endpoint}/actors/inspect`,
|
|
2835
2835
|
{
|
|
2836
2836
|
headers: {
|
|
2837
2837
|
Authorization: `Bearer token`,
|
|
2838
|
-
[
|
|
2838
|
+
[_chunkDRJCTDDTcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
|
|
2839
2839
|
getForId: { name: "counter", actorId }
|
|
2840
2840
|
})
|
|
2841
2841
|
}
|
|
@@ -2860,12 +2860,12 @@ function runActorInspectorTests(driverTestConfig) {
|
|
|
2860
2860
|
);
|
|
2861
2861
|
const handle = await client.counter.create(["test-db-query"]);
|
|
2862
2862
|
const actorId = await handle.resolve();
|
|
2863
|
-
const http =
|
|
2863
|
+
const http = _chunkQC4AE54Wcjs.createActorInspectorClient.call(void 0,
|
|
2864
2864
|
`${endpoint}/actors/inspect`,
|
|
2865
2865
|
{
|
|
2866
2866
|
headers: {
|
|
2867
2867
|
Authorization: `Bearer token`,
|
|
2868
|
-
[
|
|
2868
|
+
[_chunkDRJCTDDTcjs.HEADER_ACTOR_QUERY]: JSON.stringify({
|
|
2869
2869
|
getForId: { name: "counter", actorId }
|
|
2870
2870
|
})
|
|
2871
2871
|
}
|
|
@@ -4411,7 +4411,7 @@ async function createTestRuntime(registryPath, driverFactory) {
|
|
|
4411
4411
|
};
|
|
4412
4412
|
} else {
|
|
4413
4413
|
let upgradeWebSocket;
|
|
4414
|
-
const config =
|
|
4414
|
+
const config = _chunk2TZH6VO6cjs.RunnerConfigSchema.parse({
|
|
4415
4415
|
driver,
|
|
4416
4416
|
getUpgradeWebSocket: () => upgradeWebSocket,
|
|
4417
4417
|
inspector: {
|
|
@@ -4420,12 +4420,12 @@ async function createTestRuntime(registryPath, driverFactory) {
|
|
|
4420
4420
|
}
|
|
4421
4421
|
});
|
|
4422
4422
|
const managerDriver = driver.manager(registry.config, config);
|
|
4423
|
-
const client =
|
|
4423
|
+
const client = _chunkXNKWXMITcjs.createClientWithDriver.call(void 0,
|
|
4424
4424
|
managerDriver,
|
|
4425
|
-
|
|
4425
|
+
_chunk2TZH6VO6cjs.ClientConfigSchema.parse({})
|
|
4426
4426
|
);
|
|
4427
|
-
|
|
4428
|
-
const { router } =
|
|
4427
|
+
_chunkQC4AE54Wcjs.configureInspectorAccessToken.call(void 0, config, managerDriver);
|
|
4428
|
+
const { router } = _chunk4GJQDTAGcjs.createManagerRouter.call(void 0,
|
|
4429
4429
|
registry.config,
|
|
4430
4430
|
config,
|
|
4431
4431
|
managerDriver,
|
|
@@ -4434,7 +4434,7 @@ async function createTestRuntime(registryPath, driverFactory) {
|
|
|
4434
4434
|
);
|
|
4435
4435
|
const nodeWebSocket = _nodews.createNodeWebSocket.call(void 0, { app: router });
|
|
4436
4436
|
upgradeWebSocket = nodeWebSocket.upgradeWebSocket;
|
|
4437
|
-
const port = await
|
|
4437
|
+
const port = await _chunkFYZLEH57cjs.getPort.call(void 0, );
|
|
4438
4438
|
const server = _nodeserver.serve.call(void 0, {
|
|
4439
4439
|
fetch: router.fetch,
|
|
4440
4440
|
hostname: "127.0.0.1",
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getPort
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-VRZNWBDK.js";
|
|
4
4
|
import {
|
|
5
5
|
actor,
|
|
6
6
|
createManagerRouter
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-XU4GGB6J.js";
|
|
8
8
|
import {
|
|
9
9
|
configureInspectorAccessToken,
|
|
10
10
|
createActorInspectorClient,
|
|
11
11
|
createManagerInspectorClient
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-2NNICHGY.js";
|
|
13
13
|
import {
|
|
14
14
|
createClient
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-GUH2PNPG.js";
|
|
16
16
|
import {
|
|
17
17
|
ActorError,
|
|
18
18
|
createClientWithDriver
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-BBTOBXEO.js";
|
|
20
|
+
import "../chunk-6F2NCX7R.js";
|
|
21
21
|
import {
|
|
22
22
|
importWebSocket
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-D7A47BVR.js";
|
|
24
24
|
import {
|
|
25
25
|
ClientConfigSchema,
|
|
26
26
|
RunnerConfigSchema
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-5YDKTW6Y.js";
|
|
28
28
|
import {
|
|
29
29
|
HEADER_ACTOR_ID,
|
|
30
30
|
HEADER_ACTOR_QUERY,
|
|
@@ -35,11 +35,11 @@ import {
|
|
|
35
35
|
WS_PROTOCOL_TARGET,
|
|
36
36
|
WS_TEST_PROTOCOL_PATH,
|
|
37
37
|
assertUnreachable
|
|
38
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-C3UREFUI.js";
|
|
39
39
|
import {
|
|
40
40
|
getLogger,
|
|
41
41
|
promiseWithResolvers
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-KSQQU7NC.js";
|
|
43
43
|
import {
|
|
44
44
|
INTERNAL_ERROR_CODE,
|
|
45
45
|
INTERNAL_ERROR_DESCRIPTION
|