@rivetkit/engine-api-full 2.0.38 → 2.0.39

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 (51) hide show
  1. package/dist/browser/cjs/index.js +5 -130
  2. package/dist/browser/cjs/serialization.js +5 -130
  3. package/dist/browser/esm/index.js +5 -130
  4. package/dist/browser/esm/serialization.js +5 -130
  5. package/dist/node/{index.js → cjs/index.js} +5 -130
  6. package/dist/node/{serialization.js → cjs/serialization.js} +5 -147
  7. package/dist/node/esm/core.js +2317 -0
  8. package/dist/node/esm/index.js +4218 -0
  9. package/dist/node/esm/serialization.js +1925 -0
  10. package/package.json +13 -4
  11. package/types/api/types/Actor.d.ts +1 -1
  12. package/types/api/types/RunnerConfigResponse.d.ts +1 -1
  13. package/types/api/types/index.d.ts +0 -17
  14. package/types/serialization/types/Actor.d.ts +1 -2
  15. package/types/serialization/types/RunnerConfigResponse.d.ts +1 -2
  16. package/types/serialization/types/index.d.ts +0 -17
  17. package/types/api/types/ActorError.d.ts +0 -20
  18. package/types/api/types/ActorErrorCrashed.d.ts +0 -11
  19. package/types/api/types/ActorErrorCrashedCrashed.d.ts +0 -9
  20. package/types/api/types/ActorErrorRunnerConnectionLost.d.ts +0 -11
  21. package/types/api/types/ActorErrorRunnerConnectionLostRunnerConnectionLost.d.ts +0 -10
  22. package/types/api/types/ActorErrorRunnerDrainingTimeout.d.ts +0 -11
  23. package/types/api/types/ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout.d.ts +0 -10
  24. package/types/api/types/ActorErrorRunnerNoResponse.d.ts +0 -11
  25. package/types/api/types/ActorErrorRunnerNoResponseRunnerNoResponse.d.ts +0 -10
  26. package/types/api/types/ActorErrorRunnerPoolError.d.ts +0 -11
  27. package/types/api/types/RunnerPoolError.d.ts +0 -14
  28. package/types/api/types/RunnerPoolErrorServerlessConnectionError.d.ts +0 -11
  29. package/types/api/types/RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError.d.ts +0 -9
  30. package/types/api/types/RunnerPoolErrorServerlessHttpError.d.ts +0 -11
  31. package/types/api/types/RunnerPoolErrorServerlessHttpErrorServerlessHttpError.d.ts +0 -10
  32. package/types/api/types/RunnerPoolErrorServerlessInvalidSsePayload.d.ts +0 -11
  33. package/types/api/types/RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload.d.ts +0 -10
  34. package/types/serialization/types/ActorError.d.ts +0 -15
  35. package/types/serialization/types/ActorErrorCrashed.d.ts +0 -13
  36. package/types/serialization/types/ActorErrorCrashedCrashed.d.ts +0 -12
  37. package/types/serialization/types/ActorErrorRunnerConnectionLost.d.ts +0 -13
  38. package/types/serialization/types/ActorErrorRunnerConnectionLostRunnerConnectionLost.d.ts +0 -13
  39. package/types/serialization/types/ActorErrorRunnerDrainingTimeout.d.ts +0 -13
  40. package/types/serialization/types/ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout.d.ts +0 -13
  41. package/types/serialization/types/ActorErrorRunnerNoResponse.d.ts +0 -13
  42. package/types/serialization/types/ActorErrorRunnerNoResponseRunnerNoResponse.d.ts +0 -13
  43. package/types/serialization/types/ActorErrorRunnerPoolError.d.ts +0 -13
  44. package/types/serialization/types/RunnerPoolError.d.ts +0 -13
  45. package/types/serialization/types/RunnerPoolErrorServerlessConnectionError.d.ts +0 -13
  46. package/types/serialization/types/RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError.d.ts +0 -12
  47. package/types/serialization/types/RunnerPoolErrorServerlessHttpError.d.ts +0 -13
  48. package/types/serialization/types/RunnerPoolErrorServerlessHttpErrorServerlessHttpError.d.ts +0 -13
  49. package/types/serialization/types/RunnerPoolErrorServerlessInvalidSsePayload.d.ts +0 -13
  50. package/types/serialization/types/RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload.d.ts +0 -13
  51. /package/dist/node/{core.js → cjs/core.js} +0 -0
@@ -2345,16 +2345,6 @@ function transformAndValidateUnion({
2345
2345
  var serialization_exports = {};
2346
2346
  __export(serialization_exports, {
2347
2347
  Actor: () => Actor,
2348
- ActorError: () => ActorError,
2349
- ActorErrorCrashed: () => ActorErrorCrashed,
2350
- ActorErrorCrashedCrashed: () => ActorErrorCrashedCrashed,
2351
- ActorErrorRunnerConnectionLost: () => ActorErrorRunnerConnectionLost,
2352
- ActorErrorRunnerConnectionLostRunnerConnectionLost: () => ActorErrorRunnerConnectionLostRunnerConnectionLost,
2353
- ActorErrorRunnerDrainingTimeout: () => ActorErrorRunnerDrainingTimeout,
2354
- ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout: () => ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout,
2355
- ActorErrorRunnerNoResponse: () => ActorErrorRunnerNoResponse,
2356
- ActorErrorRunnerNoResponseRunnerNoResponse: () => ActorErrorRunnerNoResponseRunnerNoResponse,
2357
- ActorErrorRunnerPoolError: () => ActorErrorRunnerPoolError,
2358
2348
  ActorName: () => ActorName,
2359
2349
  ActorsCreateRequest: () => ActorsCreateRequest,
2360
2350
  ActorsCreateResponse: () => ActorsCreateResponse,
@@ -2410,13 +2400,6 @@ __export(serialization_exports, {
2410
2400
  RunnerConfigsServerlessMetadataErrorRequestTimedOut: () => RunnerConfigsServerlessMetadataErrorRequestTimedOut,
2411
2401
  RunnerConfigsUpsertRequestBody: () => RunnerConfigsUpsertRequestBody,
2412
2402
  RunnerConfigsUpsertResponse: () => RunnerConfigsUpsertResponse,
2413
- RunnerPoolError: () => RunnerPoolError,
2414
- RunnerPoolErrorServerlessConnectionError: () => RunnerPoolErrorServerlessConnectionError,
2415
- RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError: () => RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError,
2416
- RunnerPoolErrorServerlessHttpError: () => RunnerPoolErrorServerlessHttpError,
2417
- RunnerPoolErrorServerlessHttpErrorServerlessHttpError: () => RunnerPoolErrorServerlessHttpErrorServerlessHttpError,
2418
- RunnerPoolErrorServerlessInvalidSsePayload: () => RunnerPoolErrorServerlessInvalidSsePayload,
2419
- RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload: () => RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload,
2420
2403
  RunnersListNamesResponse: () => RunnersListNamesResponse,
2421
2404
  RunnersListResponse: () => RunnersListResponse,
2422
2405
  namespaces: () => namespaces_exports2
@@ -2428,117 +2411,6 @@ var RivetId = schemas_exports.string();
2428
2411
  // src/serialization/types/CrashPolicy.ts
2429
2412
  var CrashPolicy2 = schemas_exports.enum_(["restart", "sleep", "destroy"]);
2430
2413
 
2431
- // src/serialization/types/RunnerPoolErrorServerlessHttpErrorServerlessHttpError.ts
2432
- var RunnerPoolErrorServerlessHttpErrorServerlessHttpError = schemas_exports.object({
2433
- body: schemas_exports.string(),
2434
- statusCode: schemas_exports.property("status_code", schemas_exports.number())
2435
- });
2436
-
2437
- // src/serialization/types/RunnerPoolErrorServerlessHttpError.ts
2438
- var RunnerPoolErrorServerlessHttpError = schemas_exports.object({
2439
- serverlessHttpError: schemas_exports.property(
2440
- "serverless_http_error",
2441
- RunnerPoolErrorServerlessHttpErrorServerlessHttpError
2442
- )
2443
- });
2444
-
2445
- // src/serialization/types/RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError.ts
2446
- var RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError = schemas_exports.object({
2447
- message: schemas_exports.string()
2448
- });
2449
-
2450
- // src/serialization/types/RunnerPoolErrorServerlessConnectionError.ts
2451
- var RunnerPoolErrorServerlessConnectionError = schemas_exports.object({
2452
- serverlessConnectionError: schemas_exports.property(
2453
- "serverless_connection_error",
2454
- RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError
2455
- )
2456
- });
2457
-
2458
- // src/serialization/types/RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload.ts
2459
- var RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload = schemas_exports.object({
2460
- message: schemas_exports.string(),
2461
- rawPayload: schemas_exports.property("raw_payload", schemas_exports.string().optional())
2462
- });
2463
-
2464
- // src/serialization/types/RunnerPoolErrorServerlessInvalidSsePayload.ts
2465
- var RunnerPoolErrorServerlessInvalidSsePayload = schemas_exports.object({
2466
- serverlessInvalidSsePayload: schemas_exports.property(
2467
- "serverless_invalid_sse_payload",
2468
- RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload
2469
- )
2470
- });
2471
-
2472
- // src/serialization/types/RunnerPoolError.ts
2473
- var RunnerPoolError = schemas_exports.undiscriminatedUnion([
2474
- RunnerPoolErrorServerlessHttpError,
2475
- schemas_exports.stringLiteral("serverless_stream_ended_early"),
2476
- RunnerPoolErrorServerlessConnectionError,
2477
- RunnerPoolErrorServerlessInvalidSsePayload,
2478
- schemas_exports.stringLiteral("internal_error")
2479
- ]);
2480
-
2481
- // src/serialization/types/ActorErrorRunnerPoolError.ts
2482
- var ActorErrorRunnerPoolError = schemas_exports.object({
2483
- runnerPoolError: schemas_exports.property("runner_pool_error", RunnerPoolError)
2484
- });
2485
-
2486
- // src/serialization/types/ActorErrorRunnerNoResponseRunnerNoResponse.ts
2487
- var ActorErrorRunnerNoResponseRunnerNoResponse = schemas_exports.object({
2488
- runnerId: schemas_exports.property("runner_id", RivetId)
2489
- });
2490
-
2491
- // src/serialization/types/ActorErrorRunnerNoResponse.ts
2492
- var ActorErrorRunnerNoResponse = schemas_exports.object({
2493
- runnerNoResponse: schemas_exports.property("runner_no_response", ActorErrorRunnerNoResponseRunnerNoResponse)
2494
- });
2495
-
2496
- // src/serialization/types/ActorErrorRunnerConnectionLostRunnerConnectionLost.ts
2497
- var ActorErrorRunnerConnectionLostRunnerConnectionLost = schemas_exports.object({
2498
- runnerId: schemas_exports.property("runner_id", RivetId)
2499
- });
2500
-
2501
- // src/serialization/types/ActorErrorRunnerConnectionLost.ts
2502
- var ActorErrorRunnerConnectionLost = schemas_exports.object({
2503
- runnerConnectionLost: schemas_exports.property(
2504
- "runner_connection_lost",
2505
- ActorErrorRunnerConnectionLostRunnerConnectionLost
2506
- )
2507
- });
2508
-
2509
- // src/serialization/types/ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout.ts
2510
- var ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout = schemas_exports.object({
2511
- runnerId: schemas_exports.property("runner_id", RivetId)
2512
- });
2513
-
2514
- // src/serialization/types/ActorErrorRunnerDrainingTimeout.ts
2515
- var ActorErrorRunnerDrainingTimeout = schemas_exports.object({
2516
- runnerDrainingTimeout: schemas_exports.property(
2517
- "runner_draining_timeout",
2518
- ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout
2519
- )
2520
- });
2521
-
2522
- // src/serialization/types/ActorErrorCrashedCrashed.ts
2523
- var ActorErrorCrashedCrashed = schemas_exports.object({
2524
- message: schemas_exports.string().optional()
2525
- });
2526
-
2527
- // src/serialization/types/ActorErrorCrashed.ts
2528
- var ActorErrorCrashed = schemas_exports.object({
2529
- crashed: ActorErrorCrashedCrashed
2530
- });
2531
-
2532
- // src/serialization/types/ActorError.ts
2533
- var ActorError = schemas_exports.undiscriminatedUnion([
2534
- ActorErrorRunnerPoolError,
2535
- schemas_exports.stringLiteral("no_capacity"),
2536
- ActorErrorRunnerNoResponse,
2537
- ActorErrorRunnerConnectionLost,
2538
- ActorErrorRunnerDrainingTimeout,
2539
- ActorErrorCrashed
2540
- ]);
2541
-
2542
2414
  // src/serialization/types/Actor.ts
2543
2415
  var Actor = schemas_exports.object({
2544
2416
  actorId: schemas_exports.property("actor_id", RivetId),
@@ -2547,7 +2419,7 @@ var Actor = schemas_exports.object({
2547
2419
  createTs: schemas_exports.property("create_ts", schemas_exports.number()),
2548
2420
  datacenter: schemas_exports.string(),
2549
2421
  destroyTs: schemas_exports.property("destroy_ts", schemas_exports.number().optional()),
2550
- error: ActorError.optional(),
2422
+ error: schemas_exports.record(schemas_exports.string(), schemas_exports.unknown()).optional(),
2551
2423
  key: schemas_exports.string().optional(),
2552
2424
  name: schemas_exports.string(),
2553
2425
  namespaceId: schemas_exports.property("namespace_id", RivetId),
@@ -2736,7 +2608,10 @@ var RunnerConfigKind = schemas_exports.undiscriminatedUnion([RunnerConfigKindNor
2736
2608
 
2737
2609
  // src/serialization/types/RunnerConfigResponse.ts
2738
2610
  var RunnerConfigResponse = schemas_exports.object({
2739
- runnerPoolError: schemas_exports.property("runner_pool_error", RunnerPoolError.optional())
2611
+ runnerPoolError: schemas_exports.property(
2612
+ "runner_pool_error",
2613
+ schemas_exports.record(schemas_exports.string(), schemas_exports.unknown()).optional()
2614
+ )
2740
2615
  }).extend(RunnerConfig);
2741
2616
 
2742
2617
  // src/serialization/types/RunnerConfigVariant.ts
@@ -31,16 +31,6 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
31
31
  var serialization_exports = {};
32
32
  __export(serialization_exports, {
33
33
  Actor: () => Actor,
34
- ActorError: () => ActorError,
35
- ActorErrorCrashed: () => ActorErrorCrashed,
36
- ActorErrorCrashedCrashed: () => ActorErrorCrashedCrashed,
37
- ActorErrorRunnerConnectionLost: () => ActorErrorRunnerConnectionLost,
38
- ActorErrorRunnerConnectionLostRunnerConnectionLost: () => ActorErrorRunnerConnectionLostRunnerConnectionLost,
39
- ActorErrorRunnerDrainingTimeout: () => ActorErrorRunnerDrainingTimeout,
40
- ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout: () => ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout,
41
- ActorErrorRunnerNoResponse: () => ActorErrorRunnerNoResponse,
42
- ActorErrorRunnerNoResponseRunnerNoResponse: () => ActorErrorRunnerNoResponseRunnerNoResponse,
43
- ActorErrorRunnerPoolError: () => ActorErrorRunnerPoolError,
44
34
  ActorName: () => ActorName,
45
35
  ActorsCreateRequest: () => ActorsCreateRequest,
46
36
  ActorsCreateResponse: () => ActorsCreateResponse,
@@ -96,13 +86,6 @@ __export(serialization_exports, {
96
86
  RunnerConfigsServerlessMetadataErrorRequestTimedOut: () => RunnerConfigsServerlessMetadataErrorRequestTimedOut,
97
87
  RunnerConfigsUpsertRequestBody: () => RunnerConfigsUpsertRequestBody,
98
88
  RunnerConfigsUpsertResponse: () => RunnerConfigsUpsertResponse,
99
- RunnerPoolError: () => RunnerPoolError,
100
- RunnerPoolErrorServerlessConnectionError: () => RunnerPoolErrorServerlessConnectionError,
101
- RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError: () => RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError,
102
- RunnerPoolErrorServerlessHttpError: () => RunnerPoolErrorServerlessHttpError,
103
- RunnerPoolErrorServerlessHttpErrorServerlessHttpError: () => RunnerPoolErrorServerlessHttpErrorServerlessHttpError,
104
- RunnerPoolErrorServerlessInvalidSsePayload: () => RunnerPoolErrorServerlessInvalidSsePayload,
105
- RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload: () => RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload,
106
89
  RunnersListNamesResponse: () => RunnersListNamesResponse,
107
90
  RunnersListResponse: () => RunnersListResponse,
108
91
  namespaces: () => namespaces_exports
@@ -1578,117 +1561,6 @@ var RivetId = schemas_exports.string();
1578
1561
  // src/serialization/types/CrashPolicy.ts
1579
1562
  var CrashPolicy = schemas_exports.enum_(["restart", "sleep", "destroy"]);
1580
1563
 
1581
- // src/serialization/types/RunnerPoolErrorServerlessHttpErrorServerlessHttpError.ts
1582
- var RunnerPoolErrorServerlessHttpErrorServerlessHttpError = schemas_exports.object({
1583
- body: schemas_exports.string(),
1584
- statusCode: schemas_exports.property("status_code", schemas_exports.number())
1585
- });
1586
-
1587
- // src/serialization/types/RunnerPoolErrorServerlessHttpError.ts
1588
- var RunnerPoolErrorServerlessHttpError = schemas_exports.object({
1589
- serverlessHttpError: schemas_exports.property(
1590
- "serverless_http_error",
1591
- RunnerPoolErrorServerlessHttpErrorServerlessHttpError
1592
- )
1593
- });
1594
-
1595
- // src/serialization/types/RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError.ts
1596
- var RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError = schemas_exports.object({
1597
- message: schemas_exports.string()
1598
- });
1599
-
1600
- // src/serialization/types/RunnerPoolErrorServerlessConnectionError.ts
1601
- var RunnerPoolErrorServerlessConnectionError = schemas_exports.object({
1602
- serverlessConnectionError: schemas_exports.property(
1603
- "serverless_connection_error",
1604
- RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError
1605
- )
1606
- });
1607
-
1608
- // src/serialization/types/RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload.ts
1609
- var RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload = schemas_exports.object({
1610
- message: schemas_exports.string(),
1611
- rawPayload: schemas_exports.property("raw_payload", schemas_exports.string().optional())
1612
- });
1613
-
1614
- // src/serialization/types/RunnerPoolErrorServerlessInvalidSsePayload.ts
1615
- var RunnerPoolErrorServerlessInvalidSsePayload = schemas_exports.object({
1616
- serverlessInvalidSsePayload: schemas_exports.property(
1617
- "serverless_invalid_sse_payload",
1618
- RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload
1619
- )
1620
- });
1621
-
1622
- // src/serialization/types/RunnerPoolError.ts
1623
- var RunnerPoolError = schemas_exports.undiscriminatedUnion([
1624
- RunnerPoolErrorServerlessHttpError,
1625
- schemas_exports.stringLiteral("serverless_stream_ended_early"),
1626
- RunnerPoolErrorServerlessConnectionError,
1627
- RunnerPoolErrorServerlessInvalidSsePayload,
1628
- schemas_exports.stringLiteral("internal_error")
1629
- ]);
1630
-
1631
- // src/serialization/types/ActorErrorRunnerPoolError.ts
1632
- var ActorErrorRunnerPoolError = schemas_exports.object({
1633
- runnerPoolError: schemas_exports.property("runner_pool_error", RunnerPoolError)
1634
- });
1635
-
1636
- // src/serialization/types/ActorErrorRunnerNoResponseRunnerNoResponse.ts
1637
- var ActorErrorRunnerNoResponseRunnerNoResponse = schemas_exports.object({
1638
- runnerId: schemas_exports.property("runner_id", RivetId)
1639
- });
1640
-
1641
- // src/serialization/types/ActorErrorRunnerNoResponse.ts
1642
- var ActorErrorRunnerNoResponse = schemas_exports.object({
1643
- runnerNoResponse: schemas_exports.property("runner_no_response", ActorErrorRunnerNoResponseRunnerNoResponse)
1644
- });
1645
-
1646
- // src/serialization/types/ActorErrorRunnerConnectionLostRunnerConnectionLost.ts
1647
- var ActorErrorRunnerConnectionLostRunnerConnectionLost = schemas_exports.object({
1648
- runnerId: schemas_exports.property("runner_id", RivetId)
1649
- });
1650
-
1651
- // src/serialization/types/ActorErrorRunnerConnectionLost.ts
1652
- var ActorErrorRunnerConnectionLost = schemas_exports.object({
1653
- runnerConnectionLost: schemas_exports.property(
1654
- "runner_connection_lost",
1655
- ActorErrorRunnerConnectionLostRunnerConnectionLost
1656
- )
1657
- });
1658
-
1659
- // src/serialization/types/ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout.ts
1660
- var ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout = schemas_exports.object({
1661
- runnerId: schemas_exports.property("runner_id", RivetId)
1662
- });
1663
-
1664
- // src/serialization/types/ActorErrorRunnerDrainingTimeout.ts
1665
- var ActorErrorRunnerDrainingTimeout = schemas_exports.object({
1666
- runnerDrainingTimeout: schemas_exports.property(
1667
- "runner_draining_timeout",
1668
- ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout
1669
- )
1670
- });
1671
-
1672
- // src/serialization/types/ActorErrorCrashedCrashed.ts
1673
- var ActorErrorCrashedCrashed = schemas_exports.object({
1674
- message: schemas_exports.string().optional()
1675
- });
1676
-
1677
- // src/serialization/types/ActorErrorCrashed.ts
1678
- var ActorErrorCrashed = schemas_exports.object({
1679
- crashed: ActorErrorCrashedCrashed
1680
- });
1681
-
1682
- // src/serialization/types/ActorError.ts
1683
- var ActorError = schemas_exports.undiscriminatedUnion([
1684
- ActorErrorRunnerPoolError,
1685
- schemas_exports.stringLiteral("no_capacity"),
1686
- ActorErrorRunnerNoResponse,
1687
- ActorErrorRunnerConnectionLost,
1688
- ActorErrorRunnerDrainingTimeout,
1689
- ActorErrorCrashed
1690
- ]);
1691
-
1692
1564
  // src/serialization/types/Actor.ts
1693
1565
  var Actor = schemas_exports.object({
1694
1566
  actorId: schemas_exports.property("actor_id", RivetId),
@@ -1697,7 +1569,7 @@ var Actor = schemas_exports.object({
1697
1569
  createTs: schemas_exports.property("create_ts", schemas_exports.number()),
1698
1570
  datacenter: schemas_exports.string(),
1699
1571
  destroyTs: schemas_exports.property("destroy_ts", schemas_exports.number().optional()),
1700
- error: ActorError.optional(),
1572
+ error: schemas_exports.record(schemas_exports.string(), schemas_exports.unknown()).optional(),
1701
1573
  key: schemas_exports.string().optional(),
1702
1574
  name: schemas_exports.string(),
1703
1575
  namespaceId: schemas_exports.property("namespace_id", RivetId),
@@ -1886,7 +1758,10 @@ var RunnerConfigKind = schemas_exports.undiscriminatedUnion([RunnerConfigKindNor
1886
1758
 
1887
1759
  // src/serialization/types/RunnerConfigResponse.ts
1888
1760
  var RunnerConfigResponse = schemas_exports.object({
1889
- runnerPoolError: schemas_exports.property("runner_pool_error", RunnerPoolError.optional())
1761
+ runnerPoolError: schemas_exports.property(
1762
+ "runner_pool_error",
1763
+ schemas_exports.record(schemas_exports.string(), schemas_exports.unknown()).optional()
1764
+ )
1890
1765
  }).extend(RunnerConfig);
1891
1766
 
1892
1767
  // src/serialization/types/RunnerConfigVariant.ts
@@ -2078,16 +1953,6 @@ var NamespacesCreateRequest = schemas_exports.object({
2078
1953
  // Annotate the CommonJS export names for ESM import in node:
2079
1954
  0 && (module.exports = {
2080
1955
  Actor,
2081
- ActorError,
2082
- ActorErrorCrashed,
2083
- ActorErrorCrashedCrashed,
2084
- ActorErrorRunnerConnectionLost,
2085
- ActorErrorRunnerConnectionLostRunnerConnectionLost,
2086
- ActorErrorRunnerDrainingTimeout,
2087
- ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout,
2088
- ActorErrorRunnerNoResponse,
2089
- ActorErrorRunnerNoResponseRunnerNoResponse,
2090
- ActorErrorRunnerPoolError,
2091
1956
  ActorName,
2092
1957
  ActorsCreateRequest,
2093
1958
  ActorsCreateResponse,
@@ -2143,13 +2008,6 @@ var NamespacesCreateRequest = schemas_exports.object({
2143
2008
  RunnerConfigsServerlessMetadataErrorRequestTimedOut,
2144
2009
  RunnerConfigsUpsertRequestBody,
2145
2010
  RunnerConfigsUpsertResponse,
2146
- RunnerPoolError,
2147
- RunnerPoolErrorServerlessConnectionError,
2148
- RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError,
2149
- RunnerPoolErrorServerlessHttpError,
2150
- RunnerPoolErrorServerlessHttpErrorServerlessHttpError,
2151
- RunnerPoolErrorServerlessInvalidSsePayload,
2152
- RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload,
2153
2011
  RunnersListNamesResponse,
2154
2012
  RunnersListResponse,
2155
2013
  namespaces