@spacefast/common 0.0.12 → 0.0.17

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 (189) hide show
  1. package/dist/agents/client-registry.d.ts +22 -0
  2. package/dist/agents/client-registry.js +41 -0
  3. package/dist/agents/connect-targets.d.ts +51 -6
  4. package/dist/agents/connect-targets.js +93 -28
  5. package/dist/brand.d.ts +0 -11
  6. package/dist/brand.js +0 -20
  7. package/dist/config/domains.d.ts +15 -6
  8. package/dist/config/domains.js +24 -10
  9. package/dist/config/postgres-budget.d.ts +3 -0
  10. package/dist/config/postgres-budget.js +6 -1
  11. package/dist/config/postgres-budget.json +2 -1
  12. package/dist/contracts/abuse.js +1 -1
  13. package/dist/contracts/access.d.ts +486 -1196
  14. package/dist/contracts/access.js +323 -1054
  15. package/dist/contracts/activity.d.ts +1 -1
  16. package/dist/contracts/activity.js +11 -15
  17. package/dist/contracts/api-keys.d.ts +16 -0
  18. package/dist/contracts/api-keys.js +11 -9
  19. package/dist/contracts/archives.d.ts +1 -2
  20. package/dist/contracts/archives.js +15 -17
  21. package/dist/contracts/beta.js +1 -1
  22. package/dist/contracts/builds.js +14 -14
  23. package/dist/contracts/channels.js +2 -2
  24. package/dist/contracts/comments.d.ts +143 -99
  25. package/dist/contracts/comments.js +194 -79
  26. package/dist/contracts/common.d.ts +12 -12
  27. package/dist/contracts/common.js +33 -30
  28. package/dist/contracts/continuation.js +5 -5
  29. package/dist/contracts/countries.js +2 -7
  30. package/dist/contracts/data-source-routes.d.ts +20 -0
  31. package/dist/contracts/data-source-routes.js +15 -0
  32. package/dist/contracts/device-auth.d.ts +13 -9
  33. package/dist/contracts/device-auth.js +12 -12
  34. package/dist/contracts/docs.d.ts +10 -10
  35. package/dist/contracts/domains.js +39 -33
  36. package/dist/contracts/enums.d.ts +4 -14
  37. package/dist/contracts/enums.js +3 -10
  38. package/dist/contracts/error-code-meta.d.ts +122 -56
  39. package/dist/contracts/error-code-meta.js +43 -19
  40. package/dist/contracts/error-codes.d.ts +7 -4
  41. package/dist/contracts/error-codes.js +48 -24
  42. package/dist/contracts/events.d.ts +22 -15
  43. package/dist/contracts/events.js +33 -5
  44. package/dist/contracts/execution.d.ts +238 -0
  45. package/dist/contracts/execution.js +309 -0
  46. package/dist/contracts/feature-lifecycle.d.ts +39 -188
  47. package/dist/contracts/feature-lifecycle.js +52 -196
  48. package/dist/contracts/features.d.ts +13 -115
  49. package/dist/contracts/features.js +5 -35
  50. package/dist/contracts/functions.d.ts +597 -0
  51. package/dist/contracts/functions.js +475 -0
  52. package/dist/contracts/grants.d.ts +1175 -0
  53. package/dist/contracts/grants.js +783 -0
  54. package/dist/contracts/ids.d.ts +7 -5
  55. package/dist/contracts/ids.js +7 -7
  56. package/dist/contracts/internal.js +2 -2
  57. package/dist/contracts/mcp.d.ts +17 -556
  58. package/dist/contracts/mcp.js +9 -103
  59. package/dist/contracts/me.js +3 -4
  60. package/dist/contracts/notifications.d.ts +108 -0
  61. package/dist/contracts/notifications.js +54 -0
  62. package/dist/contracts/oauth-resources.d.ts +22 -5
  63. package/dist/contracts/oauth-resources.js +23 -2
  64. package/dist/contracts/operations.d.ts +0 -48
  65. package/dist/contracts/operations.js +0 -19
  66. package/dist/contracts/pages.d.ts +10 -14
  67. package/dist/contracts/pages.js +17 -21
  68. package/dist/contracts/plan-policy.d.ts +1 -8
  69. package/dist/contracts/plan-policy.js +1 -4
  70. package/dist/contracts/platform.d.ts +78 -30
  71. package/dist/contracts/platform.js +69 -20
  72. package/dist/contracts/problem-document.d.ts +14 -0
  73. package/dist/contracts/problem-document.js +35 -0
  74. package/dist/contracts/push-new.d.ts +41 -2
  75. package/dist/contracts/push-new.js +4 -0
  76. package/dist/contracts/quotas.d.ts +0 -1
  77. package/dist/contracts/quotas.js +0 -5
  78. package/dist/contracts/repository-connections.d.ts +1 -1
  79. package/dist/contracts/resources.d.ts +16 -71
  80. package/dist/contracts/resources.js +13 -16
  81. package/dist/contracts/runtime-api.d.ts +666 -303
  82. package/dist/contracts/runtime-api.js +272 -113
  83. package/dist/contracts/runtime-app.d.ts +168 -0
  84. package/dist/contracts/runtime-app.js +42 -0
  85. package/dist/contracts/runtime-db.d.ts +424 -0
  86. package/dist/contracts/runtime-db.js +108 -0
  87. package/dist/contracts/runtime-storage.d.ts +120 -0
  88. package/dist/contracts/runtime-storage.js +40 -0
  89. package/dist/contracts/sf-config-v1.d.ts +54 -1
  90. package/dist/contracts/sf-config-v1.js +2 -2
  91. package/dist/contracts/sites.d.ts +6 -0
  92. package/dist/contracts/sites.js +30 -11
  93. package/dist/contracts/space-config.d.ts +91 -121
  94. package/dist/contracts/space-config.js +464 -42
  95. package/dist/contracts/spaces.d.ts +300 -171
  96. package/dist/contracts/spaces.js +128 -98
  97. package/dist/contracts/superadmin-emails.d.ts +2 -2
  98. package/dist/contracts/superadmin-spaces.d.ts +26 -130
  99. package/dist/contracts/superadmin-spaces.js +22 -0
  100. package/dist/contracts/superadmin-tenants.js +4 -4
  101. package/dist/contracts/superadmin.d.ts +4 -0
  102. package/dist/contracts/superadmin.js +14 -1
  103. package/dist/contracts/tags.d.ts +6 -6
  104. package/dist/contracts/tags.js +1 -1
  105. package/dist/contracts/teams.d.ts +9 -9
  106. package/dist/contracts/teams.js +25 -16
  107. package/dist/contracts/theme-json.js +1 -1
  108. package/dist/contracts/transfers.d.ts +0 -1
  109. package/dist/contracts/transfers.js +4 -4
  110. package/dist/contracts/variables.js +3 -3
  111. package/dist/contracts/zero.d.ts +384 -596
  112. package/dist/contracts/zero.js +167 -299
  113. package/dist/dashboard-paths/index.d.ts +18 -3
  114. package/dist/dashboard-paths/index.js +19 -0
  115. package/dist/docs/agent-handoff-document.d.ts +2 -2
  116. package/dist/docs/agent-handoff-document.js +8 -7
  117. package/dist/docs/agent-prose.d.ts +22 -3
  118. package/dist/docs/agent-prose.js +227 -55
  119. package/dist/docs/agent-setup.d.ts +14 -11
  120. package/dist/docs/agent-setup.js +289 -61
  121. package/dist/docs/agent-solutions.d.ts +6 -6
  122. package/dist/docs/agent-solutions.js +24 -22
  123. package/dist/docs/catalog.d.ts +53 -98
  124. package/dist/docs/catalog.js +90 -117
  125. package/dist/docs/error-docs.js +304 -236
  126. package/dist/docs/skill-distribution.d.ts +2 -0
  127. package/dist/docs/skill-distribution.js +7 -4
  128. package/dist/docs/skills.d.ts +546 -0
  129. package/dist/docs/skills.js +340 -0
  130. package/dist/utils/auth-redirect.d.ts +1 -3
  131. package/dist/utils/auth-redirect.js +1 -21
  132. package/dist/utils/browser-credential.d.ts +19 -0
  133. package/dist/utils/browser-credential.js +62 -0
  134. package/dist/utils/build-settings.d.ts +2 -0
  135. package/dist/utils/build-settings.js +61 -9
  136. package/dist/utils/comment-avatars.d.ts +7 -0
  137. package/dist/utils/comment-avatars.js +42 -0
  138. package/dist/utils/content-type.d.ts +3 -3
  139. package/dist/utils/content-type.js +38 -61
  140. package/dist/utils/credential-policy.d.ts +1 -1
  141. package/dist/utils/credential-policy.js +4 -0
  142. package/dist/utils/domain-diagnostics.d.ts +5 -5
  143. package/dist/utils/domain-diagnostics.js +21 -10
  144. package/dist/utils/egress-policy.fixtures.json +1 -1
  145. package/dist/utils/grants.d.ts +53 -0
  146. package/dist/utils/grants.js +160 -0
  147. package/dist/utils/local-space-state.d.ts +78 -4
  148. package/dist/utils/local-space-state.js +384 -82
  149. package/dist/utils/one-shot-replay.d.ts +14 -0
  150. package/dist/utils/one-shot-replay.js +21 -0
  151. package/dist/utils/page-preview.d.ts +7 -0
  152. package/dist/utils/page-preview.js +9 -0
  153. package/dist/utils/pages.d.ts +2 -5
  154. package/dist/utils/pages.js +64 -33
  155. package/dist/utils/publish-form-data.d.ts +22 -0
  156. package/dist/utils/publish-form-data.js +26 -0
  157. package/dist/utils/publish-policy.d.ts +34 -4
  158. package/dist/utils/publish-policy.js +149 -62
  159. package/dist/utils/query-keys.d.ts +8 -10
  160. package/dist/utils/query-keys.js +14 -10
  161. package/dist/utils/runtime-paths.d.ts +3 -0
  162. package/dist/utils/runtime-paths.js +7 -0
  163. package/dist/utils/secure-local-file.d.ts +73 -0
  164. package/dist/utils/secure-local-file.js +1373 -0
  165. package/dist/utils/space-config.d.ts +17 -4
  166. package/dist/utils/space-config.js +151 -8
  167. package/dist/utils/static-runtime-policy.d.ts +5 -0
  168. package/dist/utils/static-runtime-policy.js +54 -10
  169. package/dist/utils/storage-policy.d.ts +20 -0
  170. package/dist/utils/storage-policy.fixtures.json +174 -0
  171. package/dist/utils/storage-policy.js +193 -0
  172. package/dist/utils/upload-session.d.ts +15 -1
  173. package/dist/utils/upload-session.js +68 -2
  174. package/dist/utils/version-file-browser.d.ts +13 -0
  175. package/dist/utils/version-file-browser.js +59 -0
  176. package/package.json +20 -1
  177. package/dist/contracts/mounts.d.ts +0 -142
  178. package/dist/contracts/mounts.js +0 -56
  179. package/dist/utils/access-grant.d.ts +0 -14
  180. package/dist/utils/access-grant.js +0 -88
  181. package/dist/utils/access-match.d.ts +0 -46
  182. package/dist/utils/access-match.fixtures.json +0 -513
  183. package/dist/utils/access-match.js +0 -312
  184. package/dist/utils/access-verdict.fixtures.json +0 -421
  185. package/dist/utils/asset-fingerprint.d.ts +0 -53
  186. package/dist/utils/asset-fingerprint.js +0 -574
  187. package/dist/utils/sf-config-v1.d.ts +0 -2
  188. package/dist/utils/sf-config-v1.fixtures.json +0 -9
  189. package/dist/utils/sf-config-v1.js +0 -551
@@ -1,7 +1,24 @@
1
1
  import { z } from "zod";
2
+ import { type RuntimeRealtimeMode } from "./execution.js";
3
+ /**
4
+ * Spacefast Zero: capsules — schema, queries, mutations and endpoints that run
5
+ * together inside one parent-owned transaction — executed by the native runner
6
+ * on a dedicated wp.cloud site, against that site's own MySQL.
7
+ *
8
+ * The transaction is what makes this a separate product rather than a
9
+ * placement option for `./functions.js`. A capsule handler's semantics depend
10
+ * on the transaction wrapped around it, and an isolate reaching the database
11
+ * over a relay cannot offer one. See `endpointIsPortable` in `./execution.js`
12
+ * for the narrow surface both products can host.
13
+ */
2
14
  export declare const ZERO_SOURCE_METADATA_KEY = "statticZero";
3
15
  export declare const ZERO_RUNTIME_KIND = "zero";
4
16
  export declare const ZERO_PLATFORM_ROUTE_PREFIX = "/__spacefast/zero";
17
+ /**
18
+ * Entry paths the Zero scaffold writes into `sf.jsonc#runtime`. They are
19
+ * starting points, not the contract: a capsule's entries are whatever its
20
+ * `runtime.server`/`runtime.client` say, and nothing infers them.
21
+ */
5
22
  export declare const ZERO_CLIENT_ENTRY = "client/index.tsx";
6
23
  export declare const ZERO_SERVER_ENTRY = "server/index.ts";
7
24
  export declare const ZERO_RUNTIME_ROUTE_PATHS: {
@@ -11,46 +28,37 @@ export declare const ZERO_RUNTIME_ROUTE_PATHS: {
11
28
  readonly db: "/__spacefast/zero/db";
12
29
  readonly logs: "/__spacefast/zero/logs";
13
30
  readonly run: "/__spacefast/zero/run";
14
- readonly authStart: "/__spacefast/zero/auth/wpcom/start";
31
+ readonly authStart: "/__spacefast/zero/auth/gravatar/start";
15
32
  readonly authSignOut: "/__spacefast/zero/auth/sign-out";
16
33
  };
17
34
  export declare const ZERO_RUNTIME_STORAGE_ROOT = "__spacefast/zero";
18
35
  export declare const ZERO_RUNTIME_ARTIFACT_PATH = "__spacefast/zero/artifact.json";
19
36
  export declare const ZERO_RUNTIME_CONFIG_PATH = "__spacefast/zero/config.json";
20
- export declare const ZERO_RUNTIME_BINARY_PATH = "__spacefast/zero/bin/stattic-zero-runner";
37
+ export declare const ZERO_RUNTIME_BINARY_PATH = "__spacefast/zero/bin/stattic-runtime";
21
38
  export declare const ZERO_RUNTIME_BINARY_COMPATIBILITY_TARGET = "wpcloud-linux-x86_64-gnu-v1";
22
39
  export declare const ZERO_RUNTIME_BUNDLE_ROOT = "__spacefast/zero/bundles";
23
40
  export declare const ZERO_RUNTIME_CLIENT_BUNDLE_PATH = "__spacefast/zero/bundles/client.js";
24
41
  export declare const ZERO_RUNTIME_SERVER_BUNDLE_PATH = "__spacefast/zero/bundles/server.qjs.mjs";
25
- export declare const ZERO_SOURCE_ENV_FILE = ".env.zero.server";
26
- export declare const ZERO_CONFIG_FILE = "zero.json";
27
- export declare const ZERO_DEPLOY_FILE = ".zero/deploy.json";
28
42
  export declare const ZERO_RUNTIME_BUNDLE_MAX_BYTES = 786432;
29
- export declare const ZERO_ENV_MAX_KEYS = 64;
30
- export declare const ZERO_ENV_NAME_MAX_BYTES = 128;
31
- export declare const ZERO_ENV_VALUE_MAX_BYTES: number;
32
- export declare const ZERO_ENV_TOTAL_VALUE_MAX_BYTES: number;
33
- export declare const ZERO_ENV_RESERVED_PREFIXES: readonly ["SPACEFAST_", "ZERO_"];
43
+ /**
44
+ * A capsule's compiled server travels as version metadata, not as content, so a
45
+ * server-only change leaves the published app shell byte-identical — and the
46
+ * version intent's manifest comparison would read it as "no changes" and never
47
+ * deploy it. The publish writes this one small file into the version instead:
48
+ * it holds a digest of everything the deploy would install, so any server,
49
+ * schema, or runtime-config change moves the manifest. Same channel a Functions
50
+ * bundle uses (`functionsBundleStoragePath`) — an ordinary manifest entry, no
51
+ * artifact-specific plumbing.
52
+ */
53
+ export declare const ZERO_RUNTIME_DEPLOY_PATH = "__spacefast/zero/deploy.json";
34
54
  export declare const ZERO_MANAGED_TABLE_COLUMNS: readonly ["id", "createdAt", "updatedAt"];
35
- export declare const ZERO_RESERVED_APP_ROUTE_PATHS: readonly ["/", "/index.html", "/client.js", "/auth/callback", "/__spacefast", "/__span"];
36
- export declare const ZERO_RESERVED_APP_ROUTE_PREFIXES: readonly ["/auth/", "/__spacefast/", "/__span/"];
37
- export declare const zeroRuntimeKindSchema: z.ZodEnum<{
38
- zero: "zero";
39
- static: "static";
40
- php: "php";
41
- node: "node";
42
- workers: "workers";
43
- }>;
44
- export type ZeroRuntimeKind = z.infer<typeof zeroRuntimeKindSchema>;
45
- export declare const zeroHttpMethodSchema: z.ZodEnum<{
46
- POST: "POST";
47
- PUT: "PUT";
48
- GET: "GET";
49
- HEAD: "HEAD";
50
- PATCH: "PATCH";
51
- DELETE: "DELETE";
52
- OPTIONS: "OPTIONS";
53
- }>;
55
+ /**
56
+ * Paths the Zero app shell itself answers, on top of the platform-reserved set
57
+ * in `./execution.js`. A capsule cannot claim these because its own client
58
+ * router and auth flow already do.
59
+ */
60
+ export declare const ZERO_RESERVED_APP_ROUTE_PATHS: readonly ["/", "/index.html", "/client.js", "/auth/callback"];
61
+ export declare const ZERO_RESERVED_APP_ROUTE_PREFIXES: readonly ["/auth/"];
54
62
  export declare const zeroEndpointSchema: z.ZodObject<{
55
63
  method: z.ZodEnum<{
56
64
  POST: "POST";
@@ -77,6 +85,11 @@ export declare const zeroTableColumnSchema: z.ZodObject<{
77
85
  default: z.ZodOptional<z.ZodUnknown>;
78
86
  }, z.core.$strict>;
79
87
  export type ZeroTableColumn = z.infer<typeof zeroTableColumnSchema>;
88
+ export declare const zeroTableIndexSchema: z.ZodObject<{
89
+ name: z.ZodString;
90
+ fields: z.ZodArray<z.ZodString>;
91
+ }, z.core.$strict>;
92
+ export type ZeroTableIndex = z.infer<typeof zeroTableIndexSchema>;
80
93
  export declare const zeroTableSchema: z.ZodObject<{
81
94
  name: z.ZodString;
82
95
  columns: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -90,6 +103,10 @@ export declare const zeroTableSchema: z.ZodObject<{
90
103
  nullable: z.ZodDefault<z.ZodBoolean>;
91
104
  default: z.ZodOptional<z.ZodUnknown>;
92
105
  }, z.core.$strict>>>;
106
+ indexes: z.ZodDefault<z.ZodArray<z.ZodObject<{
107
+ name: z.ZodString;
108
+ fields: z.ZodArray<z.ZodString>;
109
+ }, z.core.$strict>>>;
93
110
  }, z.core.$strict>;
94
111
  export type ZeroTable = z.infer<typeof zeroTableSchema>;
95
112
  export declare const zeroDatabaseSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -105,8 +122,18 @@ export declare const zeroDatabaseSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
105
122
  nullable: z.ZodDefault<z.ZodBoolean>;
106
123
  default: z.ZodOptional<z.ZodUnknown>;
107
124
  }, z.core.$strict>>>;
125
+ indexes: z.ZodDefault<z.ZodArray<z.ZodObject<{
126
+ name: z.ZodString;
127
+ fields: z.ZodArray<z.ZodString>;
128
+ }, z.core.$strict>>>;
108
129
  }, z.core.$strict>>;
109
130
  export type ZeroDatabase = z.infer<typeof zeroDatabaseSchema>;
131
+ /**
132
+ * Zero's bundles travel inline in the finalize payload — a capsule's compiled
133
+ * client and server fit comfortably under the ceiling, and inlining keeps the
134
+ * whole version one atomic write. Functions bundles do the opposite and land
135
+ * in the content store first; see `functionsBundleRefSchema`.
136
+ */
110
137
  export declare const zeroRuntimeBundleSchema: z.ZodObject<{
111
138
  path: z.ZodString;
112
139
  sha256: z.ZodString;
@@ -182,8 +209,14 @@ export declare const zeroMigrationOperationSchema: z.ZodDiscriminatedUnion<[z.Zo
182
209
  }, z.core.$strict>, z.ZodObject<{
183
210
  op: z.ZodLiteral<"add_index">;
184
211
  table: z.ZodString;
212
+ name: z.ZodString;
185
213
  columns: z.ZodArray<z.ZodString>;
186
214
  unique: z.ZodDefault<z.ZodBoolean>;
215
+ }, z.core.$strict>, z.ZodObject<{
216
+ op: z.ZodLiteral<"drop_index">;
217
+ table: z.ZodString;
218
+ name: z.ZodString;
219
+ explicit: z.ZodLiteral<"drop">;
187
220
  }, z.core.$strict>, z.ZodObject<{
188
221
  op: z.ZodLiteral<"drop_table">;
189
222
  table: z.ZodString;
@@ -234,8 +267,14 @@ export declare const zeroMigrationPlanSchema: z.ZodObject<{
234
267
  }, z.core.$strict>, z.ZodObject<{
235
268
  op: z.ZodLiteral<"add_index">;
236
269
  table: z.ZodString;
270
+ name: z.ZodString;
237
271
  columns: z.ZodArray<z.ZodString>;
238
272
  unique: z.ZodDefault<z.ZodBoolean>;
273
+ }, z.core.$strict>, z.ZodObject<{
274
+ op: z.ZodLiteral<"drop_index">;
275
+ table: z.ZodString;
276
+ name: z.ZodString;
277
+ explicit: z.ZodLiteral<"drop">;
239
278
  }, z.core.$strict>, z.ZodObject<{
240
279
  op: z.ZodLiteral<"drop_table">;
241
280
  table: z.ZodString;
@@ -259,23 +298,12 @@ export declare const zeroMigrationPlanSchema: z.ZodObject<{
259
298
  }, z.core.$strict>], "op">>;
260
299
  }, z.core.$strict>;
261
300
  export type ZeroMigrationPlan = z.infer<typeof zeroMigrationPlanSchema>;
262
- export declare const zeroRealtimeModeSchema: z.ZodEnum<{
263
- "stattic-central": "stattic-central";
264
- "spacefast-cast": "spacefast-cast";
265
- "local-dev": "local-dev";
266
- }>;
267
- export declare const zeroRuntimePublicRealtimeModeSchema: z.ZodEnum<{
268
- "stattic-central": "stattic-central";
269
- "spacefast-cast": "spacefast-cast";
270
- "local-dev": "local-dev";
271
- "local-websocket": "local-websocket";
272
- }>;
273
301
  export declare const zeroInspectPolicySchema: z.ZodEnum<{
274
302
  public: "public";
275
303
  private: "private";
276
304
  }>;
277
305
  export declare const zeroRuntimePublicAuthConfigSchema: z.ZodObject<{
278
- provider: z.ZodDefault<z.ZodLiteral<"wpcom">>;
306
+ provider: z.ZodDefault<z.ZodLiteral<"gravatar">>;
279
307
  signInPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
280
308
  signInUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
281
309
  signOutPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -284,10 +312,9 @@ export declare const zeroRuntimePublicAuthConfigSchema: z.ZodObject<{
284
312
  }, z.core.$strict>;
285
313
  export declare const zeroRuntimePublicRealtimeConfigSchema: z.ZodObject<{
286
314
  mode: z.ZodEnum<{
287
- "stattic-central": "stattic-central";
288
- "spacefast-cast": "spacefast-cast";
289
- "local-dev": "local-dev";
290
- "local-websocket": "local-websocket";
315
+ local: "local";
316
+ cast: "cast";
317
+ central: "central";
291
318
  }>;
292
319
  centralUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
293
320
  path: z.ZodOptional<z.ZodString>;
@@ -296,15 +323,17 @@ export declare const zeroRuntimePublicRealtimeConfigSchema: z.ZodObject<{
296
323
  runPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
297
324
  runUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
298
325
  resourceKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
326
+ ticketPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
299
327
  socketPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
300
328
  spaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
301
329
  versionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
302
330
  }, z.core.$strict>;
331
+ export type ZeroRuntimePublicRealtimeConfig = z.infer<typeof zeroRuntimePublicRealtimeConfigSchema>;
303
332
  export declare const zeroRuntimeClientConfigSchema: z.ZodObject<{
304
333
  runtimeKind: z.ZodLiteral<"zero">;
305
334
  basePath: z.ZodOptional<z.ZodString>;
306
335
  auth: z.ZodOptional<z.ZodObject<{
307
- provider: z.ZodDefault<z.ZodLiteral<"wpcom">>;
336
+ provider: z.ZodDefault<z.ZodLiteral<"gravatar">>;
308
337
  signInPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
309
338
  signInUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
310
339
  signOutPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -313,10 +342,9 @@ export declare const zeroRuntimeClientConfigSchema: z.ZodObject<{
313
342
  }, z.core.$strict>>;
314
343
  realtime: z.ZodOptional<z.ZodObject<{
315
344
  mode: z.ZodEnum<{
316
- "stattic-central": "stattic-central";
317
- "spacefast-cast": "spacefast-cast";
318
- "local-dev": "local-dev";
319
- "local-websocket": "local-websocket";
345
+ local: "local";
346
+ cast: "cast";
347
+ central: "central";
320
348
  }>;
321
349
  centralUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
322
350
  path: z.ZodOptional<z.ZodString>;
@@ -325,6 +353,7 @@ export declare const zeroRuntimeClientConfigSchema: z.ZodObject<{
325
353
  runPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
326
354
  runUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
327
355
  resourceKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
356
+ ticketPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
328
357
  socketPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
329
358
  spaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
330
359
  versionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -338,7 +367,7 @@ export declare const zeroRuntimeInstallProfileSchema: z.ZodObject<{
338
367
  artifactPath: z.ZodLiteral<"__spacefast/zero/artifact.json">;
339
368
  configPath: z.ZodLiteral<"__spacefast/zero/config.json">;
340
369
  binary: z.ZodObject<{
341
- path: z.ZodLiteral<"__spacefast/zero/bin/stattic-zero-runner">;
370
+ path: z.ZodLiteral<"__spacefast/zero/bin/stattic-runtime">;
342
371
  compatibilityTarget: z.ZodObject<{
343
372
  profile: z.ZodLiteral<"wpcloud-linux-x86_64-gnu-v1">;
344
373
  os: z.ZodLiteral<"linux">;
@@ -355,7 +384,7 @@ export declare const zeroRuntimeInstallProfileSchema: z.ZodObject<{
355
384
  blockIncompatibleRollback: z.ZodLiteral<true>;
356
385
  }, z.core.$strict>;
357
386
  realtime: z.ZodObject<{
358
- production: z.ZodLiteral<"stattic-central">;
387
+ production: z.ZodLiteral<"central">;
359
388
  local: z.ZodLiteral<"foreground-cli-ws">;
360
389
  }, z.core.$strict>;
361
390
  }, z.core.$strict>;
@@ -380,8 +409,8 @@ export declare const zeroSourceFileSchema: z.ZodObject<{
380
409
  }, z.core.$strict>;
381
410
  export declare const zeroSourceManifestSchema: z.ZodObject<{
382
411
  entries: z.ZodObject<{
383
- client: z.ZodLiteral<"client/index.tsx">;
384
- server: z.ZodLiteral<"server/index.ts">;
412
+ client: z.ZodString;
413
+ server: z.ZodString;
385
414
  }, z.core.$strict>;
386
415
  sourceRoot: z.ZodString;
387
416
  files: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -390,22 +419,12 @@ export declare const zeroSourceManifestSchema: z.ZodObject<{
390
419
  sha256: z.ZodString;
391
420
  }, z.core.$strict>>>;
392
421
  env: z.ZodDefault<z.ZodNullable<z.ZodObject<{
393
- file: z.ZodLiteral<".env.zero.server">;
422
+ file: z.ZodEnum<{
423
+ ".env.server": ".env.server";
424
+ ".env.lakebed.server": ".env.lakebed.server";
425
+ }>;
394
426
  names: z.ZodDefault<z.ZodArray<z.ZodString>>;
395
427
  }, z.core.$strip>>>;
396
- sourceConfig: z.ZodDefault<z.ZodObject<{
397
- configFile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
398
- path: z.ZodLiteral<"zero.json">;
399
- appName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
400
- deployId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
401
- name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
402
- title: z.ZodDefault<z.ZodNullable<z.ZodString>>;
403
- }, z.core.$strip>>>;
404
- deployFile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
405
- path: z.ZodLiteral<".zero/deploy.json">;
406
- keys: z.ZodDefault<z.ZodArray<z.ZodString>>;
407
- }, z.core.$strip>>>;
408
- }, z.core.$strip>>;
409
428
  }, z.core.$strict>;
410
429
  export type ZeroSourceManifest = z.infer<typeof zeroSourceManifestSchema>;
411
430
  export declare const zeroCapsuleArtifactSchema: z.ZodObject<{
@@ -431,9 +450,14 @@ export declare const zeroCapsuleArtifactSchema: z.ZodObject<{
431
450
  nullable: z.ZodDefault<z.ZodBoolean>;
432
451
  default: z.ZodOptional<z.ZodUnknown>;
433
452
  }, z.core.$strict>>>;
453
+ indexes: z.ZodDefault<z.ZodArray<z.ZodObject<{
454
+ name: z.ZodString;
455
+ fields: z.ZodArray<z.ZodString>;
456
+ }, z.core.$strict>>>;
434
457
  }, z.core.$strict>>>;
435
458
  queries: z.ZodDefault<z.ZodArray<z.ZodString>>;
436
459
  mutations: z.ZodDefault<z.ZodArray<z.ZodString>>;
460
+ actions: z.ZodDefault<z.ZodArray<z.ZodString>>;
437
461
  endpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
438
462
  method: z.ZodEnum<{
439
463
  POST: "POST";
@@ -470,8 +494,14 @@ export declare const zeroCapsuleArtifactSchema: z.ZodObject<{
470
494
  }, z.core.$strict>, z.ZodObject<{
471
495
  op: z.ZodLiteral<"add_index">;
472
496
  table: z.ZodString;
497
+ name: z.ZodString;
473
498
  columns: z.ZodArray<z.ZodString>;
474
499
  unique: z.ZodDefault<z.ZodBoolean>;
500
+ }, z.core.$strict>, z.ZodObject<{
501
+ op: z.ZodLiteral<"drop_index">;
502
+ table: z.ZodString;
503
+ name: z.ZodString;
504
+ explicit: z.ZodLiteral<"drop">;
475
505
  }, z.core.$strict>, z.ZodObject<{
476
506
  op: z.ZodLiteral<"drop_table">;
477
507
  table: z.ZodString;
@@ -496,9 +526,9 @@ export declare const zeroCapsuleArtifactSchema: z.ZodObject<{
496
526
  }, z.core.$strict>;
497
527
  realtime: z.ZodObject<{
498
528
  mode: z.ZodEnum<{
499
- "stattic-central": "stattic-central";
500
- "spacefast-cast": "spacefast-cast";
501
- "local-dev": "local-dev";
529
+ local: "local";
530
+ cast: "cast";
531
+ central: "central";
502
532
  }>;
503
533
  mutationEvents: z.ZodDefault<z.ZodBoolean>;
504
534
  }, z.core.$strict>;
@@ -510,8 +540,8 @@ export declare const zeroCapsuleArtifactSchema: z.ZodObject<{
510
540
  }>>>;
511
541
  sourceManifest: z.ZodObject<{
512
542
  entries: z.ZodObject<{
513
- client: z.ZodLiteral<"client/index.tsx">;
514
- server: z.ZodLiteral<"server/index.ts">;
543
+ client: z.ZodString;
544
+ server: z.ZodString;
515
545
  }, z.core.$strict>;
516
546
  sourceRoot: z.ZodString;
517
547
  files: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -520,22 +550,12 @@ export declare const zeroCapsuleArtifactSchema: z.ZodObject<{
520
550
  sha256: z.ZodString;
521
551
  }, z.core.$strict>>>;
522
552
  env: z.ZodDefault<z.ZodNullable<z.ZodObject<{
523
- file: z.ZodLiteral<".env.zero.server">;
553
+ file: z.ZodEnum<{
554
+ ".env.server": ".env.server";
555
+ ".env.lakebed.server": ".env.lakebed.server";
556
+ }>;
524
557
  names: z.ZodDefault<z.ZodArray<z.ZodString>>;
525
558
  }, z.core.$strip>>>;
526
- sourceConfig: z.ZodDefault<z.ZodObject<{
527
- configFile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
528
- path: z.ZodLiteral<"zero.json">;
529
- appName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
530
- deployId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
531
- name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
532
- title: z.ZodDefault<z.ZodNullable<z.ZodString>>;
533
- }, z.core.$strip>>>;
534
- deployFile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
535
- path: z.ZodLiteral<".zero/deploy.json">;
536
- keys: z.ZodDefault<z.ZodArray<z.ZodString>>;
537
- }, z.core.$strip>>>;
538
- }, z.core.$strip>>;
539
559
  }, z.core.$strict>;
540
560
  }, z.core.$strict>;
541
561
  export type ZeroCapsuleArtifact = z.infer<typeof zeroCapsuleArtifactSchema>;
@@ -548,7 +568,7 @@ export declare const zeroRuntimeFinalizePayloadSchema: z.ZodObject<{
548
568
  artifactPath: z.ZodLiteral<"__spacefast/zero/artifact.json">;
549
569
  configPath: z.ZodLiteral<"__spacefast/zero/config.json">;
550
570
  binary: z.ZodObject<{
551
- path: z.ZodLiteral<"__spacefast/zero/bin/stattic-zero-runner">;
571
+ path: z.ZodLiteral<"__spacefast/zero/bin/stattic-runtime">;
552
572
  compatibilityTarget: z.ZodObject<{
553
573
  profile: z.ZodLiteral<"wpcloud-linux-x86_64-gnu-v1">;
554
574
  os: z.ZodLiteral<"linux">;
@@ -565,7 +585,7 @@ export declare const zeroRuntimeFinalizePayloadSchema: z.ZodObject<{
565
585
  blockIncompatibleRollback: z.ZodLiteral<true>;
566
586
  }, z.core.$strict>;
567
587
  realtime: z.ZodObject<{
568
- production: z.ZodLiteral<"stattic-central">;
588
+ production: z.ZodLiteral<"central">;
569
589
  local: z.ZodLiteral<"foreground-cli-ws">;
570
590
  }, z.core.$strict>;
571
591
  }, z.core.$strict>;
@@ -592,9 +612,14 @@ export declare const zeroRuntimeFinalizePayloadSchema: z.ZodObject<{
592
612
  nullable: z.ZodDefault<z.ZodBoolean>;
593
613
  default: z.ZodOptional<z.ZodUnknown>;
594
614
  }, z.core.$strict>>>;
615
+ indexes: z.ZodDefault<z.ZodArray<z.ZodObject<{
616
+ name: z.ZodString;
617
+ fields: z.ZodArray<z.ZodString>;
618
+ }, z.core.$strict>>>;
595
619
  }, z.core.$strict>>>;
596
620
  queries: z.ZodDefault<z.ZodArray<z.ZodString>>;
597
621
  mutations: z.ZodDefault<z.ZodArray<z.ZodString>>;
622
+ actions: z.ZodDefault<z.ZodArray<z.ZodString>>;
598
623
  endpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
599
624
  method: z.ZodEnum<{
600
625
  POST: "POST";
@@ -631,8 +656,14 @@ export declare const zeroRuntimeFinalizePayloadSchema: z.ZodObject<{
631
656
  }, z.core.$strict>, z.ZodObject<{
632
657
  op: z.ZodLiteral<"add_index">;
633
658
  table: z.ZodString;
659
+ name: z.ZodString;
634
660
  columns: z.ZodArray<z.ZodString>;
635
661
  unique: z.ZodDefault<z.ZodBoolean>;
662
+ }, z.core.$strict>, z.ZodObject<{
663
+ op: z.ZodLiteral<"drop_index">;
664
+ table: z.ZodString;
665
+ name: z.ZodString;
666
+ explicit: z.ZodLiteral<"drop">;
636
667
  }, z.core.$strict>, z.ZodObject<{
637
668
  op: z.ZodLiteral<"drop_table">;
638
669
  table: z.ZodString;
@@ -657,9 +688,9 @@ export declare const zeroRuntimeFinalizePayloadSchema: z.ZodObject<{
657
688
  }, z.core.$strict>;
658
689
  realtime: z.ZodObject<{
659
690
  mode: z.ZodEnum<{
660
- "stattic-central": "stattic-central";
661
- "spacefast-cast": "spacefast-cast";
662
- "local-dev": "local-dev";
691
+ local: "local";
692
+ cast: "cast";
693
+ central: "central";
663
694
  }>;
664
695
  mutationEvents: z.ZodDefault<z.ZodBoolean>;
665
696
  }, z.core.$strict>;
@@ -671,8 +702,8 @@ export declare const zeroRuntimeFinalizePayloadSchema: z.ZodObject<{
671
702
  }>>>;
672
703
  sourceManifest: z.ZodObject<{
673
704
  entries: z.ZodObject<{
674
- client: z.ZodLiteral<"client/index.tsx">;
675
- server: z.ZodLiteral<"server/index.ts">;
705
+ client: z.ZodString;
706
+ server: z.ZodString;
676
707
  }, z.core.$strict>;
677
708
  sourceRoot: z.ZodString;
678
709
  files: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -681,22 +712,12 @@ export declare const zeroRuntimeFinalizePayloadSchema: z.ZodObject<{
681
712
  sha256: z.ZodString;
682
713
  }, z.core.$strict>>>;
683
714
  env: z.ZodDefault<z.ZodNullable<z.ZodObject<{
684
- file: z.ZodLiteral<".env.zero.server">;
715
+ file: z.ZodEnum<{
716
+ ".env.server": ".env.server";
717
+ ".env.lakebed.server": ".env.lakebed.server";
718
+ }>;
685
719
  names: z.ZodDefault<z.ZodArray<z.ZodString>>;
686
720
  }, z.core.$strip>>>;
687
- sourceConfig: z.ZodDefault<z.ZodObject<{
688
- configFile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
689
- path: z.ZodLiteral<"zero.json">;
690
- appName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
691
- deployId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
692
- name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
693
- title: z.ZodDefault<z.ZodNullable<z.ZodString>>;
694
- }, z.core.$strip>>>;
695
- deployFile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
696
- path: z.ZodLiteral<".zero/deploy.json">;
697
- keys: z.ZodDefault<z.ZodArray<z.ZodString>>;
698
- }, z.core.$strip>>>;
699
- }, z.core.$strip>>;
700
721
  }, z.core.$strict>;
701
722
  }, z.core.$strict>;
702
723
  bundles: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -778,8 +799,14 @@ export declare const zeroRuntimeFinalizePayloadSchema: z.ZodObject<{
778
799
  }, z.core.$strict>, z.ZodObject<{
779
800
  op: z.ZodLiteral<"add_index">;
780
801
  table: z.ZodString;
802
+ name: z.ZodString;
781
803
  columns: z.ZodArray<z.ZodString>;
782
804
  unique: z.ZodDefault<z.ZodBoolean>;
805
+ }, z.core.$strict>, z.ZodObject<{
806
+ op: z.ZodLiteral<"drop_index">;
807
+ table: z.ZodString;
808
+ name: z.ZodString;
809
+ explicit: z.ZodLiteral<"drop">;
783
810
  }, z.core.$strict>, z.ZodObject<{
784
811
  op: z.ZodLiteral<"drop_table">;
785
812
  table: z.ZodString;
@@ -808,9 +835,9 @@ export declare const zeroRuntimeFinalizePayloadSchema: z.ZodObject<{
808
835
  }, z.core.$strict>;
809
836
  realtime: z.ZodObject<{
810
837
  mode: z.ZodEnum<{
811
- "stattic-central": "stattic-central";
812
- "spacefast-cast": "spacefast-cast";
813
- "local-dev": "local-dev";
838
+ local: "local";
839
+ cast: "cast";
840
+ central: "central";
814
841
  }>;
815
842
  centralUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
816
843
  replayUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -821,8 +848,8 @@ export declare const zeroRuntimeFinalizePayloadSchema: z.ZodObject<{
821
848
  }, z.core.$strict>>;
822
849
  }, z.core.$strict>;
823
850
  auth: z.ZodDefault<z.ZodObject<{
824
- provider: z.ZodDefault<z.ZodLiteral<"wpcom">>;
825
- signInPath: z.ZodDefault<z.ZodNullable<z.ZodLiteral<"/__spacefast/zero/auth/wpcom/start">>>;
851
+ provider: z.ZodDefault<z.ZodLiteral<"gravatar">>;
852
+ signInPath: z.ZodDefault<z.ZodNullable<z.ZodLiteral<"/__spacefast/zero/auth/gravatar/start">>>;
826
853
  signInUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
827
854
  signOutPath: z.ZodDefault<z.ZodNullable<z.ZodLiteral<"/__spacefast/zero/auth/sign-out">>>;
828
855
  signOutUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -838,22 +865,18 @@ export declare const zeroRuntimeFinalizePayloadSchema: z.ZodObject<{
838
865
  export type ZeroRuntimeFinalizePayload = z.infer<typeof zeroRuntimeFinalizePayloadSchema>;
839
866
  export declare const zeroRuntimeConfigSchema: z.ZodObject<{
840
867
  auth: z.ZodDefault<z.ZodObject<{
841
- provider: z.ZodDefault<z.ZodLiteral<"wpcom">>;
842
- signInPath: z.ZodDefault<z.ZodNullable<z.ZodLiteral<"/__spacefast/zero/auth/wpcom/start">>>;
868
+ provider: z.ZodDefault<z.ZodLiteral<"gravatar">>;
869
+ signInPath: z.ZodDefault<z.ZodNullable<z.ZodLiteral<"/__spacefast/zero/auth/gravatar/start">>>;
843
870
  signInUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
844
871
  signOutPath: z.ZodDefault<z.ZodNullable<z.ZodLiteral<"/__spacefast/zero/auth/sign-out">>>;
845
872
  signOutUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
846
873
  returnToParam: z.ZodDefault<z.ZodString>;
847
874
  }, z.core.$strict>>;
848
- variables: z.ZodObject<{
849
- source: z.ZodLiteral<"stattic-variables">;
850
- names: z.ZodDefault<z.ZodArray<z.ZodString>>;
851
- }, z.core.$strict>;
852
875
  realtime: z.ZodObject<{
853
876
  mode: z.ZodEnum<{
854
- "stattic-central": "stattic-central";
855
- "spacefast-cast": "spacefast-cast";
856
- "local-dev": "local-dev";
877
+ local: "local";
878
+ cast: "cast";
879
+ central: "central";
857
880
  }>;
858
881
  centralUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
859
882
  replayUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -863,86 +886,9 @@ export declare const zeroRuntimeConfigSchema: z.ZodObject<{
863
886
  token: z.ZodString;
864
887
  }, z.core.$strict>>;
865
888
  }, z.core.$strict>;
866
- runtimeKind: z.ZodLiteral<"zero">;
867
- migrations: z.ZodDefault<z.ZodNullable<z.ZodObject<{
868
- format: z.ZodLiteral<"stattic.zero.migrations.v1">;
869
- mode: z.ZodDefault<z.ZodEnum<{
870
- safe: "safe";
871
- drop: "drop";
872
- rename: "rename";
873
- }>>;
874
- schemaHash: z.ZodString;
875
- operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
876
- op: z.ZodLiteral<"create_table">;
877
- table: z.ZodString;
878
- }, z.core.$strict>, z.ZodObject<{
879
- op: z.ZodLiteral<"add_column">;
880
- table: z.ZodString;
881
- column: z.ZodObject<{
882
- name: z.ZodString;
883
- type: z.ZodEnum<{
884
- string: "string";
885
- number: "number";
886
- boolean: "boolean";
887
- json: "json";
888
- }>;
889
- nullable: z.ZodDefault<z.ZodBoolean>;
890
- default: z.ZodOptional<z.ZodUnknown>;
891
- }, z.core.$strict>;
892
- }, z.core.$strict>, z.ZodObject<{
893
- op: z.ZodLiteral<"add_index">;
894
- table: z.ZodString;
895
- columns: z.ZodArray<z.ZodString>;
896
- unique: z.ZodDefault<z.ZodBoolean>;
897
- }, z.core.$strict>, z.ZodObject<{
898
- op: z.ZodLiteral<"drop_table">;
899
- table: z.ZodString;
900
- explicit: z.ZodLiteral<"drop">;
901
- }, z.core.$strict>, z.ZodObject<{
902
- op: z.ZodLiteral<"drop_column">;
903
- table: z.ZodString;
904
- column: z.ZodString;
905
- explicit: z.ZodLiteral<"drop">;
906
- }, z.core.$strict>, z.ZodObject<{
907
- op: z.ZodLiteral<"rename_table">;
908
- from: z.ZodString;
909
- to: z.ZodString;
910
- explicit: z.ZodLiteral<"rename">;
911
- }, z.core.$strict>, z.ZodObject<{
912
- op: z.ZodLiteral<"rename_column">;
913
- table: z.ZodString;
914
- from: z.ZodString;
915
- to: z.ZodString;
916
- explicit: z.ZodLiteral<"rename">;
917
- }, z.core.$strict>], "op">>;
918
- }, z.core.$strict>>>;
919
- install: z.ZodObject<{
920
- runtimeKind: z.ZodLiteral<"zero">;
921
- engine: z.ZodLiteral<"quickjs-rust">;
922
- storageRoot: z.ZodLiteral<"__spacefast/zero">;
923
- artifactPath: z.ZodLiteral<"__spacefast/zero/artifact.json">;
924
- configPath: z.ZodLiteral<"__spacefast/zero/config.json">;
925
- binary: z.ZodObject<{
926
- path: z.ZodLiteral<"__spacefast/zero/bin/stattic-zero-runner">;
927
- compatibilityTarget: z.ZodObject<{
928
- profile: z.ZodLiteral<"wpcloud-linux-x86_64-gnu-v1">;
929
- os: z.ZodLiteral<"linux">;
930
- cpu: z.ZodLiteral<"x86_64">;
931
- libc: z.ZodLiteral<"glibc">;
932
- linking: z.ZodLiteral<"dynamic">;
933
- requireExecutableBit: z.ZodLiteral<true>;
934
- }, z.core.$strict>;
935
- sha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
936
- required: z.ZodLiteral<true>;
937
- }, z.core.$strict>;
938
- mysql: z.ZodObject<{
939
- migrateAtFinalize: z.ZodLiteral<true>;
940
- blockIncompatibleRollback: z.ZodLiteral<true>;
941
- }, z.core.$strict>;
942
- realtime: z.ZodObject<{
943
- production: z.ZodLiteral<"stattic-central">;
944
- local: z.ZodLiteral<"foreground-cli-ws">;
945
- }, z.core.$strict>;
889
+ variables: z.ZodObject<{
890
+ source: z.ZodLiteral<"stattic-variables">;
891
+ names: z.ZodDefault<z.ZodArray<z.ZodString>>;
946
892
  }, z.core.$strict>;
947
893
  artifact: z.ZodObject<{
948
894
  format: z.ZodLiteral<"stattic.zero.capsule.v1">;
@@ -967,9 +913,14 @@ export declare const zeroRuntimeConfigSchema: z.ZodObject<{
967
913
  nullable: z.ZodDefault<z.ZodBoolean>;
968
914
  default: z.ZodOptional<z.ZodUnknown>;
969
915
  }, z.core.$strict>>>;
916
+ indexes: z.ZodDefault<z.ZodArray<z.ZodObject<{
917
+ name: z.ZodString;
918
+ fields: z.ZodArray<z.ZodString>;
919
+ }, z.core.$strict>>>;
970
920
  }, z.core.$strict>>>;
971
921
  queries: z.ZodDefault<z.ZodArray<z.ZodString>>;
972
922
  mutations: z.ZodDefault<z.ZodArray<z.ZodString>>;
923
+ actions: z.ZodDefault<z.ZodArray<z.ZodString>>;
973
924
  endpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
974
925
  method: z.ZodEnum<{
975
926
  POST: "POST";
@@ -1006,8 +957,14 @@ export declare const zeroRuntimeConfigSchema: z.ZodObject<{
1006
957
  }, z.core.$strict>, z.ZodObject<{
1007
958
  op: z.ZodLiteral<"add_index">;
1008
959
  table: z.ZodString;
960
+ name: z.ZodString;
1009
961
  columns: z.ZodArray<z.ZodString>;
1010
962
  unique: z.ZodDefault<z.ZodBoolean>;
963
+ }, z.core.$strict>, z.ZodObject<{
964
+ op: z.ZodLiteral<"drop_index">;
965
+ table: z.ZodString;
966
+ name: z.ZodString;
967
+ explicit: z.ZodLiteral<"drop">;
1011
968
  }, z.core.$strict>, z.ZodObject<{
1012
969
  op: z.ZodLiteral<"drop_table">;
1013
970
  table: z.ZodString;
@@ -1032,9 +989,9 @@ export declare const zeroRuntimeConfigSchema: z.ZodObject<{
1032
989
  }, z.core.$strict>;
1033
990
  realtime: z.ZodObject<{
1034
991
  mode: z.ZodEnum<{
1035
- "stattic-central": "stattic-central";
1036
- "spacefast-cast": "spacefast-cast";
1037
- "local-dev": "local-dev";
992
+ local: "local";
993
+ cast: "cast";
994
+ central: "central";
1038
995
  }>;
1039
996
  mutationEvents: z.ZodDefault<z.ZodBoolean>;
1040
997
  }, z.core.$strict>;
@@ -1046,8 +1003,8 @@ export declare const zeroRuntimeConfigSchema: z.ZodObject<{
1046
1003
  }>>>;
1047
1004
  sourceManifest: z.ZodObject<{
1048
1005
  entries: z.ZodObject<{
1049
- client: z.ZodLiteral<"client/index.tsx">;
1050
- server: z.ZodLiteral<"server/index.ts">;
1006
+ client: z.ZodString;
1007
+ server: z.ZodString;
1051
1008
  }, z.core.$strict>;
1052
1009
  sourceRoot: z.ZodString;
1053
1010
  files: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1056,22 +1013,99 @@ export declare const zeroRuntimeConfigSchema: z.ZodObject<{
1056
1013
  sha256: z.ZodString;
1057
1014
  }, z.core.$strict>>>;
1058
1015
  env: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1059
- file: z.ZodLiteral<".env.zero.server">;
1016
+ file: z.ZodEnum<{
1017
+ ".env.server": ".env.server";
1018
+ ".env.lakebed.server": ".env.lakebed.server";
1019
+ }>;
1060
1020
  names: z.ZodDefault<z.ZodArray<z.ZodString>>;
1061
1021
  }, z.core.$strip>>>;
1062
- sourceConfig: z.ZodDefault<z.ZodObject<{
1063
- configFile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1064
- path: z.ZodLiteral<"zero.json">;
1065
- appName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1066
- deployId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1067
- name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1068
- title: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1069
- }, z.core.$strip>>>;
1070
- deployFile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1071
- path: z.ZodLiteral<".zero/deploy.json">;
1072
- keys: z.ZodDefault<z.ZodArray<z.ZodString>>;
1073
- }, z.core.$strip>>>;
1074
- }, z.core.$strip>>;
1022
+ }, z.core.$strict>;
1023
+ }, z.core.$strict>;
1024
+ runtimeKind: z.ZodLiteral<"zero">;
1025
+ migrations: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1026
+ format: z.ZodLiteral<"stattic.zero.migrations.v1">;
1027
+ mode: z.ZodDefault<z.ZodEnum<{
1028
+ safe: "safe";
1029
+ drop: "drop";
1030
+ rename: "rename";
1031
+ }>>;
1032
+ schemaHash: z.ZodString;
1033
+ operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1034
+ op: z.ZodLiteral<"create_table">;
1035
+ table: z.ZodString;
1036
+ }, z.core.$strict>, z.ZodObject<{
1037
+ op: z.ZodLiteral<"add_column">;
1038
+ table: z.ZodString;
1039
+ column: z.ZodObject<{
1040
+ name: z.ZodString;
1041
+ type: z.ZodEnum<{
1042
+ string: "string";
1043
+ number: "number";
1044
+ boolean: "boolean";
1045
+ json: "json";
1046
+ }>;
1047
+ nullable: z.ZodDefault<z.ZodBoolean>;
1048
+ default: z.ZodOptional<z.ZodUnknown>;
1049
+ }, z.core.$strict>;
1050
+ }, z.core.$strict>, z.ZodObject<{
1051
+ op: z.ZodLiteral<"add_index">;
1052
+ table: z.ZodString;
1053
+ name: z.ZodString;
1054
+ columns: z.ZodArray<z.ZodString>;
1055
+ unique: z.ZodDefault<z.ZodBoolean>;
1056
+ }, z.core.$strict>, z.ZodObject<{
1057
+ op: z.ZodLiteral<"drop_index">;
1058
+ table: z.ZodString;
1059
+ name: z.ZodString;
1060
+ explicit: z.ZodLiteral<"drop">;
1061
+ }, z.core.$strict>, z.ZodObject<{
1062
+ op: z.ZodLiteral<"drop_table">;
1063
+ table: z.ZodString;
1064
+ explicit: z.ZodLiteral<"drop">;
1065
+ }, z.core.$strict>, z.ZodObject<{
1066
+ op: z.ZodLiteral<"drop_column">;
1067
+ table: z.ZodString;
1068
+ column: z.ZodString;
1069
+ explicit: z.ZodLiteral<"drop">;
1070
+ }, z.core.$strict>, z.ZodObject<{
1071
+ op: z.ZodLiteral<"rename_table">;
1072
+ from: z.ZodString;
1073
+ to: z.ZodString;
1074
+ explicit: z.ZodLiteral<"rename">;
1075
+ }, z.core.$strict>, z.ZodObject<{
1076
+ op: z.ZodLiteral<"rename_column">;
1077
+ table: z.ZodString;
1078
+ from: z.ZodString;
1079
+ to: z.ZodString;
1080
+ explicit: z.ZodLiteral<"rename">;
1081
+ }, z.core.$strict>], "op">>;
1082
+ }, z.core.$strict>>>;
1083
+ install: z.ZodObject<{
1084
+ runtimeKind: z.ZodLiteral<"zero">;
1085
+ engine: z.ZodLiteral<"quickjs-rust">;
1086
+ storageRoot: z.ZodLiteral<"__spacefast/zero">;
1087
+ artifactPath: z.ZodLiteral<"__spacefast/zero/artifact.json">;
1088
+ configPath: z.ZodLiteral<"__spacefast/zero/config.json">;
1089
+ binary: z.ZodObject<{
1090
+ path: z.ZodLiteral<"__spacefast/zero/bin/stattic-runtime">;
1091
+ compatibilityTarget: z.ZodObject<{
1092
+ profile: z.ZodLiteral<"wpcloud-linux-x86_64-gnu-v1">;
1093
+ os: z.ZodLiteral<"linux">;
1094
+ cpu: z.ZodLiteral<"x86_64">;
1095
+ libc: z.ZodLiteral<"glibc">;
1096
+ linking: z.ZodLiteral<"dynamic">;
1097
+ requireExecutableBit: z.ZodLiteral<true>;
1098
+ }, z.core.$strict>;
1099
+ sha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1100
+ required: z.ZodLiteral<true>;
1101
+ }, z.core.$strict>;
1102
+ mysql: z.ZodObject<{
1103
+ migrateAtFinalize: z.ZodLiteral<true>;
1104
+ blockIncompatibleRollback: z.ZodLiteral<true>;
1105
+ }, z.core.$strict>;
1106
+ realtime: z.ZodObject<{
1107
+ production: z.ZodLiteral<"central">;
1108
+ local: z.ZodLiteral<"foreground-cli-ws">;
1075
1109
  }, z.core.$strict>;
1076
1110
  }, z.core.$strict>;
1077
1111
  inspect: z.ZodDefault<z.ZodObject<{
@@ -1081,6 +1115,10 @@ export declare const zeroRuntimeConfigSchema: z.ZodObject<{
1081
1115
  }>>;
1082
1116
  }, z.core.$strict>>;
1083
1117
  variableValues: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1118
+ databaseUrlSource: z.ZodDefault<z.ZodEnum<{
1119
+ provider: "provider";
1120
+ application: "application";
1121
+ }>>;
1084
1122
  }, z.core.$strict>;
1085
1123
  export type ZeroRuntimeConfig = z.infer<typeof zeroRuntimeConfigSchema>;
1086
1124
  export declare const zeroDeployMetadataSchema: z.ZodObject<{
@@ -1094,7 +1132,7 @@ export declare const zeroDeployMetadataSchema: z.ZodObject<{
1094
1132
  artifactPath: z.ZodLiteral<"__spacefast/zero/artifact.json">;
1095
1133
  configPath: z.ZodLiteral<"__spacefast/zero/config.json">;
1096
1134
  binary: z.ZodObject<{
1097
- path: z.ZodLiteral<"__spacefast/zero/bin/stattic-zero-runner">;
1135
+ path: z.ZodLiteral<"__spacefast/zero/bin/stattic-runtime">;
1098
1136
  compatibilityTarget: z.ZodObject<{
1099
1137
  profile: z.ZodLiteral<"wpcloud-linux-x86_64-gnu-v1">;
1100
1138
  os: z.ZodLiteral<"linux">;
@@ -1111,7 +1149,7 @@ export declare const zeroDeployMetadataSchema: z.ZodObject<{
1111
1149
  blockIncompatibleRollback: z.ZodLiteral<true>;
1112
1150
  }, z.core.$strict>;
1113
1151
  realtime: z.ZodObject<{
1114
- production: z.ZodLiteral<"stattic-central">;
1152
+ production: z.ZodLiteral<"central">;
1115
1153
  local: z.ZodLiteral<"foreground-cli-ws">;
1116
1154
  }, z.core.$strict>;
1117
1155
  }, z.core.$strict>;
@@ -1138,9 +1176,14 @@ export declare const zeroDeployMetadataSchema: z.ZodObject<{
1138
1176
  nullable: z.ZodDefault<z.ZodBoolean>;
1139
1177
  default: z.ZodOptional<z.ZodUnknown>;
1140
1178
  }, z.core.$strict>>>;
1179
+ indexes: z.ZodDefault<z.ZodArray<z.ZodObject<{
1180
+ name: z.ZodString;
1181
+ fields: z.ZodArray<z.ZodString>;
1182
+ }, z.core.$strict>>>;
1141
1183
  }, z.core.$strict>>>;
1142
1184
  queries: z.ZodDefault<z.ZodArray<z.ZodString>>;
1143
1185
  mutations: z.ZodDefault<z.ZodArray<z.ZodString>>;
1186
+ actions: z.ZodDefault<z.ZodArray<z.ZodString>>;
1144
1187
  endpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
1145
1188
  method: z.ZodEnum<{
1146
1189
  POST: "POST";
@@ -1177,8 +1220,14 @@ export declare const zeroDeployMetadataSchema: z.ZodObject<{
1177
1220
  }, z.core.$strict>, z.ZodObject<{
1178
1221
  op: z.ZodLiteral<"add_index">;
1179
1222
  table: z.ZodString;
1223
+ name: z.ZodString;
1180
1224
  columns: z.ZodArray<z.ZodString>;
1181
1225
  unique: z.ZodDefault<z.ZodBoolean>;
1226
+ }, z.core.$strict>, z.ZodObject<{
1227
+ op: z.ZodLiteral<"drop_index">;
1228
+ table: z.ZodString;
1229
+ name: z.ZodString;
1230
+ explicit: z.ZodLiteral<"drop">;
1182
1231
  }, z.core.$strict>, z.ZodObject<{
1183
1232
  op: z.ZodLiteral<"drop_table">;
1184
1233
  table: z.ZodString;
@@ -1203,9 +1252,9 @@ export declare const zeroDeployMetadataSchema: z.ZodObject<{
1203
1252
  }, z.core.$strict>;
1204
1253
  realtime: z.ZodObject<{
1205
1254
  mode: z.ZodEnum<{
1206
- "stattic-central": "stattic-central";
1207
- "spacefast-cast": "spacefast-cast";
1208
- "local-dev": "local-dev";
1255
+ local: "local";
1256
+ cast: "cast";
1257
+ central: "central";
1209
1258
  }>;
1210
1259
  mutationEvents: z.ZodDefault<z.ZodBoolean>;
1211
1260
  }, z.core.$strict>;
@@ -1217,8 +1266,8 @@ export declare const zeroDeployMetadataSchema: z.ZodObject<{
1217
1266
  }>>>;
1218
1267
  sourceManifest: z.ZodObject<{
1219
1268
  entries: z.ZodObject<{
1220
- client: z.ZodLiteral<"client/index.tsx">;
1221
- server: z.ZodLiteral<"server/index.ts">;
1269
+ client: z.ZodString;
1270
+ server: z.ZodString;
1222
1271
  }, z.core.$strict>;
1223
1272
  sourceRoot: z.ZodString;
1224
1273
  files: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1227,22 +1276,12 @@ export declare const zeroDeployMetadataSchema: z.ZodObject<{
1227
1276
  sha256: z.ZodString;
1228
1277
  }, z.core.$strict>>>;
1229
1278
  env: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1230
- file: z.ZodLiteral<".env.zero.server">;
1279
+ file: z.ZodEnum<{
1280
+ ".env.server": ".env.server";
1281
+ ".env.lakebed.server": ".env.lakebed.server";
1282
+ }>;
1231
1283
  names: z.ZodDefault<z.ZodArray<z.ZodString>>;
1232
1284
  }, z.core.$strip>>>;
1233
- sourceConfig: z.ZodDefault<z.ZodObject<{
1234
- configFile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1235
- path: z.ZodLiteral<"zero.json">;
1236
- appName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1237
- deployId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1238
- name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1239
- title: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1240
- }, z.core.$strip>>>;
1241
- deployFile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1242
- path: z.ZodLiteral<".zero/deploy.json">;
1243
- keys: z.ZodDefault<z.ZodArray<z.ZodString>>;
1244
- }, z.core.$strip>>>;
1245
- }, z.core.$strip>>;
1246
1285
  }, z.core.$strict>;
1247
1286
  }, z.core.$strict>;
1248
1287
  bundles: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1324,8 +1363,14 @@ export declare const zeroDeployMetadataSchema: z.ZodObject<{
1324
1363
  }, z.core.$strict>, z.ZodObject<{
1325
1364
  op: z.ZodLiteral<"add_index">;
1326
1365
  table: z.ZodString;
1366
+ name: z.ZodString;
1327
1367
  columns: z.ZodArray<z.ZodString>;
1328
1368
  unique: z.ZodDefault<z.ZodBoolean>;
1369
+ }, z.core.$strict>, z.ZodObject<{
1370
+ op: z.ZodLiteral<"drop_index">;
1371
+ table: z.ZodString;
1372
+ name: z.ZodString;
1373
+ explicit: z.ZodLiteral<"drop">;
1329
1374
  }, z.core.$strict>, z.ZodObject<{
1330
1375
  op: z.ZodLiteral<"drop_table">;
1331
1376
  table: z.ZodString;
@@ -1354,9 +1399,9 @@ export declare const zeroDeployMetadataSchema: z.ZodObject<{
1354
1399
  }, z.core.$strict>;
1355
1400
  realtime: z.ZodObject<{
1356
1401
  mode: z.ZodEnum<{
1357
- "stattic-central": "stattic-central";
1358
- "spacefast-cast": "spacefast-cast";
1359
- "local-dev": "local-dev";
1402
+ local: "local";
1403
+ cast: "cast";
1404
+ central: "central";
1360
1405
  }>;
1361
1406
  centralUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1362
1407
  replayUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -1367,8 +1412,8 @@ export declare const zeroDeployMetadataSchema: z.ZodObject<{
1367
1412
  }, z.core.$strict>>;
1368
1413
  }, z.core.$strict>;
1369
1414
  auth: z.ZodDefault<z.ZodObject<{
1370
- provider: z.ZodDefault<z.ZodLiteral<"wpcom">>;
1371
- signInPath: z.ZodDefault<z.ZodNullable<z.ZodLiteral<"/__spacefast/zero/auth/wpcom/start">>>;
1415
+ provider: z.ZodDefault<z.ZodLiteral<"gravatar">>;
1416
+ signInPath: z.ZodDefault<z.ZodNullable<z.ZodLiteral<"/__spacefast/zero/auth/gravatar/start">>>;
1372
1417
  signInUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1373
1418
  signOutPath: z.ZodDefault<z.ZodNullable<z.ZodLiteral<"/__spacefast/zero/auth/sign-out">>>;
1374
1419
  signOutUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -1383,344 +1428,108 @@ export declare const zeroDeployMetadataSchema: z.ZodObject<{
1383
1428
  }, z.core.$strict>;
1384
1429
  }, z.core.$strict>;
1385
1430
  export type ZeroDeployMetadata = z.infer<typeof zeroDeployMetadataSchema>;
1386
- export declare const zeroInspectResponseSchema: z.ZodObject<{
1387
- versionId: z.ZodNullable<z.ZodString>;
1388
- artifactId: z.ZodNullable<z.ZodString>;
1389
- data: z.ZodNullable<z.ZodObject<{
1431
+ /**
1432
+ * What a live Zero capsule is, as the `app` member of a space's runtime status.
1433
+ *
1434
+ * There is no `versionId` here: this only ever describes the version the status
1435
+ * response already names as live, and repeating it would invite the two to
1436
+ * disagree. `artifactId` stays because it identifies the built capsule rather
1437
+ * than the publish that carries it.
1438
+ *
1439
+ * Every field is derived from the version's own finalize metadata, which is
1440
+ * what makes this safe to answer for a space whose runtime is asleep,
1441
+ * mid-move, or failing: nothing here costs a call to the space's origin. It is
1442
+ * also why there are no counts of things listed here — a caller that wants
1443
+ * `tables.length` can take it — and why the database is not a field: a capsule
1444
+ * always owns one, so `runtimeKind: "zero"` already said so.
1445
+ */
1446
+ export declare const zeroAppSchema: z.ZodObject<{
1447
+ runtimeKind: z.ZodLiteral<"zero">;
1448
+ artifactId: z.ZodString;
1449
+ appName: z.ZodString;
1450
+ serverRuntime: z.ZodLiteral<"quickjs-rust">;
1451
+ inspect: z.ZodObject<{
1452
+ policy: z.ZodEnum<{
1453
+ public: "public";
1454
+ private: "private";
1455
+ }>;
1456
+ }, z.core.$strict>;
1457
+ install: z.ZodObject<{
1390
1458
  runtimeKind: z.ZodLiteral<"zero">;
1391
- appName: z.ZodString;
1392
- serverRuntime: z.ZodLiteral<"quickjs-rust">;
1393
- inspect: z.ZodObject<{
1394
- policy: z.ZodEnum<{
1395
- public: "public";
1396
- private: "private";
1397
- }>;
1398
- }, z.core.$strict>;
1399
- install: z.ZodObject<{
1400
- runtimeKind: z.ZodLiteral<"zero">;
1401
- engine: z.ZodLiteral<"quickjs-rust">;
1402
- storageRoot: z.ZodLiteral<"__spacefast/zero">;
1403
- artifactPath: z.ZodLiteral<"__spacefast/zero/artifact.json">;
1404
- configPath: z.ZodLiteral<"__spacefast/zero/config.json">;
1405
- binary: z.ZodObject<{
1406
- path: z.ZodLiteral<"__spacefast/zero/bin/stattic-zero-runner">;
1407
- compatibilityTarget: z.ZodObject<{
1408
- profile: z.ZodLiteral<"wpcloud-linux-x86_64-gnu-v1">;
1409
- os: z.ZodLiteral<"linux">;
1410
- cpu: z.ZodLiteral<"x86_64">;
1411
- libc: z.ZodLiteral<"glibc">;
1412
- linking: z.ZodLiteral<"dynamic">;
1413
- requireExecutableBit: z.ZodLiteral<true>;
1414
- }, z.core.$strict>;
1415
- sha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1416
- required: z.ZodLiteral<true>;
1417
- }, z.core.$strict>;
1418
- mysql: z.ZodObject<{
1419
- migrateAtFinalize: z.ZodLiteral<true>;
1420
- blockIncompatibleRollback: z.ZodLiteral<true>;
1421
- }, z.core.$strict>;
1422
- realtime: z.ZodObject<{
1423
- production: z.ZodLiteral<"stattic-central">;
1424
- local: z.ZodLiteral<"foreground-cli-ws">;
1459
+ engine: z.ZodLiteral<"quickjs-rust">;
1460
+ storageRoot: z.ZodLiteral<"__spacefast/zero">;
1461
+ artifactPath: z.ZodLiteral<"__spacefast/zero/artifact.json">;
1462
+ configPath: z.ZodLiteral<"__spacefast/zero/config.json">;
1463
+ binary: z.ZodObject<{
1464
+ path: z.ZodLiteral<"__spacefast/zero/bin/stattic-runtime">;
1465
+ compatibilityTarget: z.ZodObject<{
1466
+ profile: z.ZodLiteral<"wpcloud-linux-x86_64-gnu-v1">;
1467
+ os: z.ZodLiteral<"linux">;
1468
+ cpu: z.ZodLiteral<"x86_64">;
1469
+ libc: z.ZodLiteral<"glibc">;
1470
+ linking: z.ZodLiteral<"dynamic">;
1471
+ requireExecutableBit: z.ZodLiteral<true>;
1425
1472
  }, z.core.$strict>;
1473
+ sha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1474
+ required: z.ZodLiteral<true>;
1426
1475
  }, z.core.$strict>;
1427
- tables: z.ZodDefault<z.ZodArray<z.ZodString>>;
1428
- queries: z.ZodDefault<z.ZodArray<z.ZodString>>;
1429
- mutations: z.ZodDefault<z.ZodArray<z.ZodString>>;
1430
- endpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
1431
- method: z.ZodEnum<{
1432
- POST: "POST";
1433
- PUT: "PUT";
1434
- GET: "GET";
1435
- HEAD: "HEAD";
1436
- PATCH: "PATCH";
1437
- DELETE: "DELETE";
1438
- OPTIONS: "OPTIONS";
1439
- }>;
1440
- path: z.ZodString;
1441
- }, z.core.$strict>>>;
1442
- sockets: z.ZodDefault<z.ZodArray<z.ZodString>>;
1443
- variables: z.ZodObject<{
1444
- source: z.ZodLiteral<"stattic-variables">;
1445
- names: z.ZodDefault<z.ZodArray<z.ZodString>>;
1476
+ mysql: z.ZodObject<{
1477
+ migrateAtFinalize: z.ZodLiteral<true>;
1478
+ blockIncompatibleRollback: z.ZodLiteral<true>;
1446
1479
  }, z.core.$strict>;
1447
1480
  realtime: z.ZodObject<{
1448
- mode: z.ZodEnum<{
1449
- "stattic-central": "stattic-central";
1450
- "spacefast-cast": "spacefast-cast";
1451
- "local-dev": "local-dev";
1452
- "local-websocket": "local-websocket";
1453
- }>;
1454
- centralUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1455
- path: z.ZodOptional<z.ZodString>;
1456
- replayPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1457
- replayUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1458
- runPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1459
- runUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1460
- resourceKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1461
- socketPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1462
- spaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1463
- versionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1481
+ production: z.ZodLiteral<"central">;
1482
+ local: z.ZodLiteral<"foreground-cli-ws">;
1464
1483
  }, z.core.$strict>;
1465
- }, z.core.$strip>>;
1466
- }, z.core.$strict>;
1467
- export type ZeroInspectResponse = z.infer<typeof zeroInspectResponseSchema>;
1468
- export declare const zeroInspectPublicResponseSchema: z.ZodObject<{
1469
- data: z.ZodObject<{
1470
- versionId: z.ZodNullable<z.ZodString>;
1471
- artifactId: z.ZodNullable<z.ZodString>;
1472
- data: z.ZodNullable<z.ZodObject<{
1473
- runtimeKind: z.ZodLiteral<"zero">;
1474
- appName: z.ZodString;
1475
- serverRuntime: z.ZodLiteral<"quickjs-rust">;
1476
- inspect: z.ZodObject<{
1477
- policy: z.ZodEnum<{
1478
- public: "public";
1479
- private: "private";
1480
- }>;
1481
- }, z.core.$strict>;
1482
- install: z.ZodObject<{
1483
- runtimeKind: z.ZodLiteral<"zero">;
1484
- engine: z.ZodLiteral<"quickjs-rust">;
1485
- storageRoot: z.ZodLiteral<"__spacefast/zero">;
1486
- artifactPath: z.ZodLiteral<"__spacefast/zero/artifact.json">;
1487
- configPath: z.ZodLiteral<"__spacefast/zero/config.json">;
1488
- binary: z.ZodObject<{
1489
- path: z.ZodLiteral<"__spacefast/zero/bin/stattic-zero-runner">;
1490
- compatibilityTarget: z.ZodObject<{
1491
- profile: z.ZodLiteral<"wpcloud-linux-x86_64-gnu-v1">;
1492
- os: z.ZodLiteral<"linux">;
1493
- cpu: z.ZodLiteral<"x86_64">;
1494
- libc: z.ZodLiteral<"glibc">;
1495
- linking: z.ZodLiteral<"dynamic">;
1496
- requireExecutableBit: z.ZodLiteral<true>;
1497
- }, z.core.$strict>;
1498
- sha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1499
- required: z.ZodLiteral<true>;
1500
- }, z.core.$strict>;
1501
- mysql: z.ZodObject<{
1502
- migrateAtFinalize: z.ZodLiteral<true>;
1503
- blockIncompatibleRollback: z.ZodLiteral<true>;
1504
- }, z.core.$strict>;
1505
- realtime: z.ZodObject<{
1506
- production: z.ZodLiteral<"stattic-central">;
1507
- local: z.ZodLiteral<"foreground-cli-ws">;
1508
- }, z.core.$strict>;
1509
- }, z.core.$strict>;
1510
- tables: z.ZodDefault<z.ZodArray<z.ZodString>>;
1511
- queries: z.ZodDefault<z.ZodArray<z.ZodString>>;
1512
- mutations: z.ZodDefault<z.ZodArray<z.ZodString>>;
1513
- endpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
1514
- method: z.ZodEnum<{
1515
- POST: "POST";
1516
- PUT: "PUT";
1517
- GET: "GET";
1518
- HEAD: "HEAD";
1519
- PATCH: "PATCH";
1520
- DELETE: "DELETE";
1521
- OPTIONS: "OPTIONS";
1522
- }>;
1523
- path: z.ZodString;
1524
- }, z.core.$strict>>>;
1525
- sockets: z.ZodDefault<z.ZodArray<z.ZodString>>;
1526
- variables: z.ZodObject<{
1527
- source: z.ZodLiteral<"stattic-variables">;
1528
- names: z.ZodDefault<z.ZodArray<z.ZodString>>;
1529
- }, z.core.$strict>;
1530
- realtime: z.ZodObject<{
1531
- mode: z.ZodEnum<{
1532
- "stattic-central": "stattic-central";
1533
- "spacefast-cast": "spacefast-cast";
1534
- "local-dev": "local-dev";
1535
- "local-websocket": "local-websocket";
1536
- }>;
1537
- centralUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1538
- path: z.ZodOptional<z.ZodString>;
1539
- replayPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1540
- replayUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1541
- runPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1542
- runUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1543
- resourceKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1544
- socketPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1545
- spaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1546
- versionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1547
- }, z.core.$strict>;
1548
- }, z.core.$strip>>;
1549
1484
  }, z.core.$strict>;
1550
- }, z.core.$strip>;
1551
- export declare const zeroDbInspectResponseSchema: z.ZodObject<{
1552
- versionId: z.ZodNullable<z.ZodString>;
1553
- artifactId: z.ZodNullable<z.ZodString>;
1554
- backend: z.ZodNullable<z.ZodLiteral<"wpcloud-mysql">>;
1555
- migrationMode: z.ZodNullable<z.ZodEnum<{
1556
- safe: "safe";
1557
- drop: "drop";
1558
- rename: "rename";
1559
- }>>;
1560
- schemaHash: z.ZodNullable<z.ZodString>;
1561
- tables: z.ZodDefault<z.ZodArray<z.ZodObject<{
1562
- name: z.ZodString;
1563
- columns: z.ZodDefault<z.ZodArray<z.ZodObject<{
1564
- name: z.ZodString;
1565
- type: z.ZodEnum<{
1566
- string: "string";
1567
- number: "number";
1568
- boolean: "boolean";
1569
- json: "json";
1570
- }>;
1571
- nullable: z.ZodDefault<z.ZodBoolean>;
1572
- default: z.ZodOptional<z.ZodUnknown>;
1573
- }, z.core.$strict>>>;
1485
+ tables: z.ZodDefault<z.ZodArray<z.ZodString>>;
1486
+ queries: z.ZodDefault<z.ZodArray<z.ZodString>>;
1487
+ mutations: z.ZodDefault<z.ZodArray<z.ZodString>>;
1488
+ actions: z.ZodDefault<z.ZodArray<z.ZodString>>;
1489
+ endpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
1490
+ method: z.ZodEnum<{
1491
+ POST: "POST";
1492
+ PUT: "PUT";
1493
+ GET: "GET";
1494
+ HEAD: "HEAD";
1495
+ PATCH: "PATCH";
1496
+ DELETE: "DELETE";
1497
+ OPTIONS: "OPTIONS";
1498
+ }>;
1499
+ path: z.ZodString;
1574
1500
  }, z.core.$strict>>>;
1575
- migrations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1576
- op: z.ZodLiteral<"create_table">;
1577
- table: z.ZodString;
1578
- }, z.core.$strict>, z.ZodObject<{
1579
- op: z.ZodLiteral<"add_column">;
1580
- table: z.ZodString;
1581
- column: z.ZodObject<{
1582
- name: z.ZodString;
1583
- type: z.ZodEnum<{
1584
- string: "string";
1585
- number: "number";
1586
- boolean: "boolean";
1587
- json: "json";
1588
- }>;
1589
- nullable: z.ZodDefault<z.ZodBoolean>;
1590
- default: z.ZodOptional<z.ZodUnknown>;
1591
- }, z.core.$strict>;
1592
- }, z.core.$strict>, z.ZodObject<{
1593
- op: z.ZodLiteral<"add_index">;
1594
- table: z.ZodString;
1595
- columns: z.ZodArray<z.ZodString>;
1596
- unique: z.ZodDefault<z.ZodBoolean>;
1597
- }, z.core.$strict>, z.ZodObject<{
1598
- op: z.ZodLiteral<"drop_table">;
1599
- table: z.ZodString;
1600
- explicit: z.ZodLiteral<"drop">;
1601
- }, z.core.$strict>, z.ZodObject<{
1602
- op: z.ZodLiteral<"drop_column">;
1603
- table: z.ZodString;
1604
- column: z.ZodString;
1605
- explicit: z.ZodLiteral<"drop">;
1606
- }, z.core.$strict>, z.ZodObject<{
1607
- op: z.ZodLiteral<"rename_table">;
1608
- from: z.ZodString;
1609
- to: z.ZodString;
1610
- explicit: z.ZodLiteral<"rename">;
1611
- }, z.core.$strict>, z.ZodObject<{
1612
- op: z.ZodLiteral<"rename_column">;
1613
- table: z.ZodString;
1614
- from: z.ZodString;
1615
- to: z.ZodString;
1616
- explicit: z.ZodLiteral<"rename">;
1617
- }, z.core.$strict>], "op">>>;
1618
- }, z.core.$strict>;
1619
- export type ZeroDbInspectResponse = z.infer<typeof zeroDbInspectResponseSchema>;
1620
- export declare const zeroDbInspectPublicResponseSchema: z.ZodObject<{
1621
- data: z.ZodObject<{
1622
- versionId: z.ZodNullable<z.ZodString>;
1623
- artifactId: z.ZodNullable<z.ZodString>;
1624
- backend: z.ZodNullable<z.ZodLiteral<"wpcloud-mysql">>;
1625
- migrationMode: z.ZodNullable<z.ZodEnum<{
1626
- safe: "safe";
1627
- drop: "drop";
1628
- rename: "rename";
1629
- }>>;
1630
- schemaHash: z.ZodNullable<z.ZodString>;
1631
- tables: z.ZodDefault<z.ZodArray<z.ZodObject<{
1632
- name: z.ZodString;
1633
- columns: z.ZodDefault<z.ZodArray<z.ZodObject<{
1634
- name: z.ZodString;
1635
- type: z.ZodEnum<{
1636
- string: "string";
1637
- number: "number";
1638
- boolean: "boolean";
1639
- json: "json";
1640
- }>;
1641
- nullable: z.ZodDefault<z.ZodBoolean>;
1642
- default: z.ZodOptional<z.ZodUnknown>;
1643
- }, z.core.$strict>>>;
1644
- }, z.core.$strict>>>;
1645
- migrations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1646
- op: z.ZodLiteral<"create_table">;
1647
- table: z.ZodString;
1648
- }, z.core.$strict>, z.ZodObject<{
1649
- op: z.ZodLiteral<"add_column">;
1650
- table: z.ZodString;
1651
- column: z.ZodObject<{
1652
- name: z.ZodString;
1653
- type: z.ZodEnum<{
1654
- string: "string";
1655
- number: "number";
1656
- boolean: "boolean";
1657
- json: "json";
1658
- }>;
1659
- nullable: z.ZodDefault<z.ZodBoolean>;
1660
- default: z.ZodOptional<z.ZodUnknown>;
1661
- }, z.core.$strict>;
1662
- }, z.core.$strict>, z.ZodObject<{
1663
- op: z.ZodLiteral<"add_index">;
1664
- table: z.ZodString;
1665
- columns: z.ZodArray<z.ZodString>;
1666
- unique: z.ZodDefault<z.ZodBoolean>;
1667
- }, z.core.$strict>, z.ZodObject<{
1668
- op: z.ZodLiteral<"drop_table">;
1669
- table: z.ZodString;
1670
- explicit: z.ZodLiteral<"drop">;
1671
- }, z.core.$strict>, z.ZodObject<{
1672
- op: z.ZodLiteral<"drop_column">;
1673
- table: z.ZodString;
1674
- column: z.ZodString;
1675
- explicit: z.ZodLiteral<"drop">;
1676
- }, z.core.$strict>, z.ZodObject<{
1677
- op: z.ZodLiteral<"rename_table">;
1678
- from: z.ZodString;
1679
- to: z.ZodString;
1680
- explicit: z.ZodLiteral<"rename">;
1681
- }, z.core.$strict>, z.ZodObject<{
1682
- op: z.ZodLiteral<"rename_column">;
1683
- table: z.ZodString;
1684
- from: z.ZodString;
1685
- to: z.ZodString;
1686
- explicit: z.ZodLiteral<"rename">;
1687
- }, z.core.$strict>], "op">>>;
1688
- }, z.core.$strict>;
1689
- }, z.core.$strip>;
1690
- export declare const zeroDbDumpQuerySchema: z.ZodObject<{
1691
- table: z.ZodOptional<z.ZodString>;
1692
- limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1693
- }, z.core.$strict>;
1694
- export declare const zeroDbDumpTableSchema: z.ZodObject<{
1695
- name: z.ZodString;
1696
- rows: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1697
- }, z.core.$strict>;
1698
- export declare const zeroDbDumpResponseSchema: z.ZodObject<{
1699
- versionId: z.ZodNullable<z.ZodString>;
1700
- artifactId: z.ZodNullable<z.ZodString>;
1501
+ sockets: z.ZodDefault<z.ZodArray<z.ZodString>>;
1502
+ migrationCount: z.ZodNumber;
1701
1503
  schemaHash: z.ZodNullable<z.ZodString>;
1702
- tables: z.ZodDefault<z.ZodArray<z.ZodObject<{
1703
- name: z.ZodString;
1704
- rows: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1705
- }, z.core.$strict>>>;
1706
- }, z.core.$strict>;
1707
- export type ZeroDbDumpResponse = z.infer<typeof zeroDbDumpResponseSchema>;
1708
- export declare const zeroDbDumpPublicResponseSchema: z.ZodObject<{
1709
- data: z.ZodObject<{
1710
- versionId: z.ZodNullable<z.ZodString>;
1711
- artifactId: z.ZodNullable<z.ZodString>;
1712
- schemaHash: z.ZodNullable<z.ZodString>;
1713
- tables: z.ZodDefault<z.ZodArray<z.ZodObject<{
1714
- name: z.ZodString;
1715
- rows: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1716
- }, z.core.$strict>>>;
1504
+ variables: z.ZodObject<{
1505
+ source: z.ZodLiteral<"stattic-variables">;
1506
+ names: z.ZodDefault<z.ZodArray<z.ZodString>>;
1507
+ }, z.core.$strict>;
1508
+ realtime: z.ZodObject<{
1509
+ mode: z.ZodEnum<{
1510
+ local: "local";
1511
+ cast: "cast";
1512
+ central: "central";
1513
+ }>;
1514
+ centralUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1515
+ path: z.ZodOptional<z.ZodString>;
1516
+ replayPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1517
+ replayUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1518
+ runPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1519
+ runUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1520
+ resourceKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1521
+ ticketPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1522
+ socketPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1523
+ spaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1524
+ versionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1717
1525
  }, z.core.$strict>;
1718
- }, z.core.$strip>;
1526
+ }, z.core.$strict>;
1527
+ export type ZeroApp = z.infer<typeof zeroAppSchema>;
1719
1528
  export declare const zeroLogListQuerySchema: z.ZodObject<{
1720
1529
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1721
1530
  cursor: z.ZodOptional<z.ZodString>;
1722
1531
  requestId: z.ZodOptional<z.ZodString>;
1723
- mutationName: z.ZodOptional<z.ZodString>;
1532
+ handlerName: z.ZodOptional<z.ZodString>;
1724
1533
  }, z.core.$strict>;
1725
1534
  export type ZeroLogListQuery = z.infer<typeof zeroLogListQuerySchema>;
1726
1535
  export declare const zeroLogEntrySchema: z.ZodObject<{
@@ -1734,7 +1543,7 @@ export declare const zeroLogEntrySchema: z.ZodObject<{
1734
1543
  }>;
1735
1544
  requestId: z.ZodNullable<z.ZodString>;
1736
1545
  versionId: z.ZodNullable<z.ZodString>;
1737
- mutationName: z.ZodNullable<z.ZodString>;
1546
+ handlerName: z.ZodNullable<z.ZodString>;
1738
1547
  message: z.ZodString;
1739
1548
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1740
1549
  }, z.core.$strict>;
@@ -1750,7 +1559,7 @@ export declare const zeroLogListResponseSchema: z.ZodObject<{
1750
1559
  }>;
1751
1560
  requestId: z.ZodNullable<z.ZodString>;
1752
1561
  versionId: z.ZodNullable<z.ZodString>;
1753
- mutationName: z.ZodNullable<z.ZodString>;
1562
+ handlerName: z.ZodNullable<z.ZodString>;
1754
1563
  message: z.ZodString;
1755
1564
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1756
1565
  }, z.core.$strict>>;
@@ -1765,28 +1574,6 @@ export declare const zeroRealtimeEventIntakeResponseSchema: z.ZodObject<{
1765
1574
  delivered: z.ZodDefault<z.ZodNumber>;
1766
1575
  duplicate: z.ZodDefault<z.ZodBoolean>;
1767
1576
  }, z.core.$strict>;
1768
- export declare const zeroRealtimeEventListQuerySchema: z.ZodObject<{
1769
- afterEventId: z.ZodOptional<z.ZodString>;
1770
- limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1771
- }, z.core.$strict>;
1772
- export declare const zeroRealtimeEventListResponseSchema: z.ZodObject<{
1773
- data: z.ZodArray<z.ZodObject<{
1774
- eventId: z.ZodString;
1775
- spaceId: z.ZodString;
1776
- versionId: z.ZodNullable<z.ZodString>;
1777
- runtimeKind: z.ZodLiteral<"zero">;
1778
- requestId: z.ZodString;
1779
- mutationName: z.ZodString;
1780
- changedTables: z.ZodDefault<z.ZodArray<z.ZodString>>;
1781
- changedQueries: z.ZodDefault<z.ZodArray<z.ZodString>>;
1782
- schemaHash: z.ZodString;
1783
- committedAt: z.ZodString;
1784
- }, z.core.$strict>>;
1785
- pagination: z.ZodObject<{
1786
- nextCursor: z.ZodNullable<z.ZodString>;
1787
- }, z.core.$strict>;
1788
- }, z.core.$strict>;
1789
- export type ZeroRealtimeEventListResponse = z.infer<typeof zeroRealtimeEventListResponseSchema>;
1790
1577
  export declare const zeroLocalDevPlanSchema: z.ZodObject<{
1791
1578
  runtimeKind: z.ZodLiteral<"zero">;
1792
1579
  root: z.ZodString;
@@ -1825,10 +1612,11 @@ export declare function createZeroCapsuleArtifact(input: {
1825
1612
  appName: string;
1826
1613
  clientBundlePath?: string;
1827
1614
  serverBundlePath?: string;
1828
- realtimeMode?: z.input<typeof zeroRealtimeModeSchema>;
1615
+ realtimeMode?: RuntimeRealtimeMode;
1829
1616
  schema?: z.input<typeof zeroDatabaseSchema>;
1830
1617
  queries?: string[];
1831
1618
  mutations?: string[];
1619
+ actions?: string[];
1832
1620
  endpoints?: z.input<typeof zeroEndpointSchema>[];
1833
1621
  sockets?: string[];
1834
1622
  sourceManifest?: z.input<typeof zeroSourceManifestSchema>;