@builtbyfriends/bwf 1.9.1 → 1.9.2

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 (90) hide show
  1. package/dist/{account-cmd-Cj0I2_bJ.mjs → account-cmd-Ddt8lGeL.mjs} +2 -2
  2. package/dist/{auth-link-D-DddkCQ.mjs → auth-link-CCl-hJol.mjs} +2 -2
  3. package/dist/{auth-router-tWzIwf8f.mjs → auth-router-BG74WFUf.mjs} +2 -2
  4. package/dist/cli/cli.mjs +1 -1
  5. package/dist/cli/env-schema-probe.mjs +2 -2
  6. package/dist/{cli-main-HeXRQml6.mjs → cli-main-BfYf6fnB.mjs} +22 -22
  7. package/dist/{cloudflare-auth-jb-1e43r.mjs → cloudflare-auth-DzkU9H6r.mjs} +1 -1
  8. package/dist/{cloudflare-cmd-B62t8Fm-.mjs → cloudflare-cmd-Bm6UhzAQ.mjs} +3 -3
  9. package/dist/{cloudflare-connect-x7IsYghw.mjs → cloudflare-connect-B4ItSbJi.mjs} +2 -2
  10. package/dist/{cloudflare-operations-C3Uu0Emj.mjs → cloudflare-operations-BcK849ue.mjs} +1 -1
  11. package/dist/{cloudflare-operations-BeK7bhnP.mjs → cloudflare-operations-DGF7xH7O.mjs} +4 -4
  12. package/dist/{cloudflare-process-Cc6oiJqk.mjs → cloudflare-process-tThIjEB2.mjs} +1 -1
  13. package/dist/{connect-hLPNppu3.mjs → connect-CSNWKLzB.mjs} +4 -4
  14. package/dist/{db-BH_md90k.mjs → db-SOv4E9wr.mjs} +14 -14
  15. package/dist/deploy-BCSQoKC0.mjs +2 -0
  16. package/dist/{deploy-C8KHBNsh.mjs → deploy-CWJ3JJs_.mjs} +14 -14
  17. package/dist/deploy.mjs +2 -2
  18. package/dist/{domain-C4ZhEiFG.mjs → domain-BJaAbxuQ.mjs} +1 -1
  19. package/dist/{email-cloudflare-DuAc9zny.mjs → email-cloudflare-oXk2G1G3.mjs} +1 -1
  20. package/dist/{email-B3TWga7x.mjs → email-rIfZgVAB.mjs} +4 -4
  21. package/dist/{env-CTAo8ifZ.mjs → env-BGTu3KWZ.mjs} +2 -2
  22. package/dist/{env-validation-DPqDo4DU.mjs → env-validation-BlXzGgLZ.mjs} +1 -1
  23. package/dist/{env-validation-BufZConV.mjs → env-validation-DeqFUSKg.mjs} +1 -1
  24. package/dist/{handler-CVsIfRv7.d.mts → handler-B_ocHStk.d.mts} +1 -1
  25. package/dist/{handler-CJ7DiiRF.mjs → handler-CNq7aSs1.mjs} +1 -1
  26. package/dist/{help-Bpv6Qeqn.mjs → help-BK35YcRa.mjs} +2 -2
  27. package/dist/help-DaRezBj7.mjs +1 -0
  28. package/dist/index.d.mts +1 -1
  29. package/dist/index.mjs +8 -8
  30. package/dist/{init-DRUR0j8C.mjs → init-CXanf5ck.mjs} +9 -9
  31. package/dist/{list-B84t4BhW.mjs → list-B1WAE9Wt.mjs} +1 -1
  32. package/dist/{live-Dui0-aj_.d.mts → live-KkEeda1Z.d.mts} +1 -1
  33. package/dist/{local-d1-C3EeOV7-.mjs → local-d1-bUoAtFUe.mjs} +1 -1
  34. package/dist/login-BUzyiyHV.mjs +1 -0
  35. package/dist/{login-Bl5lH8nH.mjs → login-Dbv_T3Ru.mjs} +1 -1
  36. package/dist/{logs-CaT2N2f7.mjs → logs-BjMJooJQ.mjs} +1 -1
  37. package/dist/migrate-DjW9_-sS.mjs +1 -0
  38. package/dist/{migrate-CbGscX-V.mjs → migrate-DtcfKqPW.mjs} +1 -1
  39. package/dist/{operator-args-BFg32YyY.mjs → operator-args-BiGmSlZx.mjs} +1 -1
  40. package/dist/operator-cmd-BsHKYJYt.mjs +1 -0
  41. package/dist/{operator-cmd-C73WWJBl.mjs → operator-cmd-DTIkOAnP.mjs} +3 -3
  42. package/dist/{package-DO4d3Qz5.mjs → package-BX_giUBX.mjs} +4 -4
  43. package/dist/platform-args-C-DyuCNX.mjs +1 -0
  44. package/dist/{platform-args-NI_vfWvD.mjs → platform-args-CyeQWaZ7.mjs} +1 -1
  45. package/dist/{platform-auth-config-d-lY5-aY.mjs → platform-auth-config-BfXqKSyZ.mjs} +4 -4
  46. package/dist/{platform-auth-protection-Dhw7lUCk.mjs → platform-auth-protection-5FR6qoP_.mjs} +2 -2
  47. package/dist/{platform-auth-recovery-DaCc0tlx.mjs → platform-auth-recovery-B5ZlqA8K.mjs} +2 -2
  48. package/dist/{platform-cmd-5oZq91lI.mjs → platform-cmd-CcFDxtrl.mjs} +1 -1
  49. package/dist/{platform-cmd-5Ry-C9im.mjs → platform-cmd-ChXeBrRH.mjs} +4 -4
  50. package/dist/{platform-domain-DLVdGvGG.mjs → platform-domain-CwatS3cz.mjs} +2 -2
  51. package/dist/{platform-lifecycle-fRt5VMls.mjs → platform-lifecycle-0cXTmMsh.mjs} +20 -20
  52. package/dist/{platform-lifecycle-CUgjipXO.mjs → platform-lifecycle-BcoBAMux.mjs} +1 -1
  53. package/dist/{platform-management-Djh1hzLP.mjs → platform-management-6Wbdbob5.mjs} +2 -2
  54. package/dist/{platform-management-5hEsRfR2.mjs → platform-management-hhnczOzr.mjs} +1 -1
  55. package/dist/{platform-recovery-Cghx7FCR.mjs → platform-recovery-DgIwlqB-.mjs} +2 -2
  56. package/dist/{platform-setup-SfwCwnZg.mjs → platform-setup-DX8y_6Kh.mjs} +1 -1
  57. package/dist/{project-cmd-DTF19-fC.mjs → project-cmd-BydRwr-x.mjs} +6 -6
  58. package/dist/{provision-DGlFJ3T9.mjs → provision-BA59NCPO.mjs} +1 -1
  59. package/dist/{provision-mYVLuQiy.mjs → provision-C90fULHJ.mjs} +2 -2
  60. package/dist/{rollback-BvCHol52.mjs → rollback-wi6WK5T6.mjs} +1 -1
  61. package/dist/{runner-mysql-DrMKw203.mjs → runner-mysql-BjSoQ-mW.mjs} +1 -1
  62. package/dist/{runner-mysql-7aA5hGoM.mjs → runner-mysql-BmTI2EiF.mjs} +1 -1
  63. package/dist/runtime/handler.d.mts +1 -1
  64. package/dist/runtime/handler.mjs +1 -1
  65. package/dist/runtime/live-client.d.mts +1 -1
  66. package/dist/runtime/live.d.mts +1 -1
  67. package/dist/runtime/procedure.d.mts +1 -1
  68. package/dist/runtime/routing.d.mts +1 -1
  69. package/dist/runtime/routing.mjs +1 -1
  70. package/dist/runtime/validator.d.mts +1 -1
  71. package/dist/runtime/ws-server.d.mts +1 -1
  72. package/dist/runtime/ws.d.mts +1 -1
  73. package/dist/{secret-DCF9RXTc.mjs → secret-D5XrWshs.mjs} +2 -2
  74. package/dist/{version-metadata-DsSoNsKJ.mjs → version-metadata-DPhqnpaa.mjs} +1 -1
  75. package/dist/wrangler-C3uyPadQ.mjs +1 -0
  76. package/dist/{wrangler-DU784Dkf.mjs → wrangler-TqTvJFWS.mjs} +1 -1
  77. package/dist/{ws-Q_osq9VK.d.mts → ws-DZRiIpYw.d.mts} +1 -1
  78. package/docs/guide/auth.md +1 -1
  79. package/docs/guide/platform/administration/zero-trust.md +1 -1
  80. package/docs/guide/queues.md +1 -1
  81. package/docs/reference/cli/database.md +1 -1
  82. package/docs/reference/cli/platform.md +1 -1
  83. package/package.json +7 -7
  84. package/dist/deploy-DCZBr7Ey.mjs +0 -2
  85. package/dist/help-CfZ4Bsw5.mjs +0 -1
  86. package/dist/login-DoI7AsbY.mjs +0 -1
  87. package/dist/migrate-Ce3JKLVs.mjs +0 -1
  88. package/dist/operator-cmd-CdZytuAF.mjs +0 -1
  89. package/dist/platform-args-ZC1-A1N9.mjs +0 -1
  90. package/dist/wrangler-Rr9_76DQ.mjs +0 -1
@@ -37,7 +37,7 @@ async function runProjectsCommand(root) {
37
37
  async function runProjectCommand(root, args) {
38
38
  const cloudflare = readDeploymentPlatform(root) === "cloudflare";
39
39
  if (args.subcommand === "status") {
40
- const { runListCommand } = await import("./list-B84t4BhW.mjs");
40
+ const { runListCommand } = await import("./list-B1WAE9Wt.mjs");
41
41
  return runListCommand(root, args.name || void 0);
42
42
  }
43
43
  if (args.subcommand === "link") {
@@ -47,7 +47,7 @@ async function runProjectCommand(root, args) {
47
47
  }
48
48
  if (args.subcommand === "list") {
49
49
  if (cloudflare) {
50
- const { runListCommand } = await import("./list-B84t4BhW.mjs");
50
+ const { runListCommand } = await import("./list-B1WAE9Wt.mjs");
51
51
  return runListCommand(root);
52
52
  }
53
53
  return runProjectsCommand(root);
@@ -59,7 +59,7 @@ async function runProjectCommand(root, args) {
59
59
  }
60
60
  if (args.subcommand === "team") {
61
61
  if (args.action === "") {
62
- const { printHelpPage } = await import("./help-CfZ4Bsw5.mjs");
62
+ const { printHelpPage } = await import("./help-DaRezBj7.mjs");
63
63
  printHelpPage(["project", "team"]);
64
64
  return;
65
65
  }
@@ -71,7 +71,7 @@ async function runProjectCommand(root, args) {
71
71
  if (args.subcommand === "zero-trust") {
72
72
  if (cloudflare) throw new Error("project: Zero Trust overrides are available only for projects hosted on a bwf platform.");
73
73
  if (args.action === "") {
74
- const { printHelpPage } = await import("./help-CfZ4Bsw5.mjs");
74
+ const { printHelpPage } = await import("./help-DaRezBj7.mjs");
75
75
  printHelpPage(["project", "zero-trust"]);
76
76
  return;
77
77
  }
@@ -83,7 +83,7 @@ async function runProjectCommand(root, args) {
83
83
  });
84
84
  }
85
85
  if (args.subcommand === "logs") {
86
- const { runLogsCommand } = await import("./logs-CaT2N2f7.mjs");
86
+ const { runLogsCommand } = await import("./logs-BjMJooJQ.mjs");
87
87
  return runLogsCommand(root, args.filter, args.range, args.deployment || void 0, args.level || void 0);
88
88
  }
89
89
  if (args.subcommand === "requests") {
@@ -92,7 +92,7 @@ async function runProjectCommand(root, args) {
92
92
  return runRequestsCommand(root, args.range, args.status || void 0);
93
93
  }
94
94
  if (args.subcommand === "rollback") {
95
- const { runRollbackCommand } = await import("./rollback-BvCHol52.mjs");
95
+ const { runRollbackCommand } = await import("./rollback-wi6WK5T6.mjs");
96
96
  return runRollbackCommand(root, args.deployId || void 0, args.platform);
97
97
  }
98
98
  if (args.subcommand === "cancel") {
@@ -1 +1 @@
1
- export { f as isRealD1Id, p as isRealHyperdriveId } from "./provision-mYVLuQiy.mjs";
1
+ export { f as isRealD1Id, p as isRealHyperdriveId } from "./provision-C90fULHJ.mjs";
@@ -1,8 +1,8 @@
1
1
  import { a as join, c as resolve$2, n as dirname, o as normalize, t as basename } from "./dist-DMYe8CZJ.mjs";
2
2
  import { n as bwfLog, r as bwfWarn } from "./log-JDnPc0cF.mjs";
3
3
  import { n as scanWranglerDotenvKeys } from "./dotenv-4NdUCXbB.mjs";
4
- import { c as resolveCloudflareOperationArgv, n as decodeCloudflareOperationResult, r as encodeCloudflareOperation } from "./cloudflare-process-Cc6oiJqk.mjs";
5
- import { A as writeProvisionedWranglerConfig, _ as readProvisionedBindingEntry, h as persistMaterializedWranglerConfig, s as assertNoDuplicateMembers } from "./wrangler-DU784Dkf.mjs";
4
+ import { c as resolveCloudflareOperationArgv, n as decodeCloudflareOperationResult, r as encodeCloudflareOperation } from "./cloudflare-process-tThIjEB2.mjs";
5
+ import { A as writeProvisionedWranglerConfig, _ as readProvisionedBindingEntry, h as persistMaterializedWranglerConfig, s as assertNoDuplicateMembers } from "./wrangler-TqTvJFWS.mjs";
6
6
  import { createRequire } from "node:module";
7
7
  import { closeSync, existsSync, fsyncSync, lstatSync, openSync, readFileSync, readlinkSync, realpathSync, renameSync, unlinkSync, writeSync } from "node:fs";
8
8
  import { isRecord } from "@builtbyfriends/deploy-core";
@@ -74,7 +74,7 @@ async function runRollbackCommand(root, deployId, explicitPlatform) {
74
74
  }
75
75
  }
76
76
  async function runCloudflareRollback(root, deployId, restorePlatformFlag) {
77
- const { activateCloudflareExistingVersion, readCloudflareWorkerStatus, resolveCloudflareOperationContext } = await import("./cloudflare-operations-C3Uu0Emj.mjs");
77
+ const { activateCloudflareExistingVersion, readCloudflareWorkerStatus, resolveCloudflareOperationContext } = await import("./cloudflare-operations-BcK849ue.mjs");
78
78
  const context = resolveCloudflareOperationContext(root);
79
79
  const status = await readCloudflareWorkerStatus(context);
80
80
  const deployedVersionIds = new Set(status.deployedVersionIds);
@@ -1 +1 @@
1
- export { t as applyMySqlMigrations, n as applyPendingMySqlMigrations, r as getMySqlAppliedMigrations, i as readMySqlAppliedMigrations, a as runMySqlMigrations, o as toMySqlClient, s as withMySqlMigrationLock, c as withMySqlMigrationLockAt } from "./runner-mysql-7aA5hGoM.mjs";
1
+ export { t as applyMySqlMigrations, n as applyPendingMySqlMigrations, r as getMySqlAppliedMigrations, i as readMySqlAppliedMigrations, a as runMySqlMigrations, o as toMySqlClient, s as withMySqlMigrationLock, c as withMySqlMigrationLockAt } from "./runner-mysql-BmTI2EiF.mjs";
@@ -70,7 +70,7 @@ function isRolledBackByServer(error) {
70
70
  }
71
71
  function mySqlMigrationError(name, error, committed) {
72
72
  const lines = [`migration ${name} failed: ${error instanceof Error ? error.message : String(error)}`];
73
- if (committed) lines.push(`MySQL commits schema changes immediately, so earlier statements in ${name} may already be applied. Undo them, fix the file, then run the command again.`, "See https://void.cloud/guide/database/mysql#failed-migrations");
73
+ if (committed) lines.push(`MySQL commits schema changes immediately, so earlier statements in ${name} may already be applied. Undo them, fix the file, then run the command again.`, "See https://github.com/builtbyfriends/platform/blob/main/docs/guide/database/mysql.md#failed-migrations");
74
74
  return new Error(lines.join("\n"), { cause: error });
75
75
  }
76
76
  /**
@@ -1,3 +1,3 @@
1
1
  /// <reference types="@cloudflare/workers-types" />
2
- import { _ as HandlerInput, a as CloudContextVariables, c as QueueMessage, d as TypedQueueHandler, f as basicAuth, g as defineScheduled, h as defineQueue, i as CloudContext, l as QueueRetryOptions, m as defineMiddleware, n as BwfAssetRewriteError, o as CloudEnv, p as defineHandler, r as CloudBindings, s as QueueBatch, t as BasicAuthOptions, u as TypedHandler, v as ValidatorSlots } from "../handler-CVsIfRv7.mjs";
2
+ import { _ as HandlerInput, a as CloudContextVariables, c as QueueMessage, d as TypedQueueHandler, f as basicAuth, g as defineScheduled, h as defineQueue, i as CloudContext, l as QueueRetryOptions, m as defineMiddleware, n as BwfAssetRewriteError, o as CloudEnv, p as defineHandler, r as CloudBindings, s as QueueBatch, t as BasicAuthOptions, u as TypedHandler, v as ValidatorSlots } from "../handler-B_ocHStk.mjs";
3
3
  export { BasicAuthOptions, BwfAssetRewriteError, CloudBindings, CloudContext, CloudContextVariables, CloudEnv, type HandlerInput, QueueBatch, QueueMessage, QueueRetryOptions, TypedHandler, TypedQueueHandler, type ValidatorSlots, basicAuth, defineHandler, defineMiddleware, defineQueue, defineScheduled };
@@ -1 +1 @@
1
- export { t as BwfAssetRewriteError, n as basicAuth, r as defineHandler, i as defineMiddleware, a as defineQueue, o as defineScheduled } from "../handler-CJ7DiiRF.mjs";
1
+ export { t as BwfAssetRewriteError, n as basicAuth, r as defineHandler, i as defineMiddleware, a as defineQueue, o as defineScheduled } from "../handler-CNq7aSs1.mjs";
@@ -1,4 +1,4 @@
1
- import { t as LiveClientEvent } from "../live-Dui0-aj_.mjs";
1
+ import { t as LiveClientEvent } from "../live-KkEeda1Z.mjs";
2
2
  import { n as RequestUrl } from "../route-url-Bla3Upsy.mjs";
3
3
  export type LiveSubscribeOptions<Data = unknown> = {
4
4
  id: string;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="@cloudflare/workers-types" />
2
- import { _ as __getLiveBindingName, a as LiveControlErrorCode, b as defineLiveStream, c as LiveControlOptions, d as LiveHookContext, f as LiveLimits, g as LiveSubscribeHookContext, h as LiveStreamOptions, i as LiveControlError, l as LiveControlRequest, m as LiveStream, n as LiveConnectHookContext, o as LiveControlOperation, p as LivePublishOptions, r as LiveConnectOptions, s as LiveControlOperationResult, t as LiveClientEvent, u as LiveControlResponse, v as __setLiveBindingName, y as __setLiveDev } from "../live-Dui0-aj_.mjs";
2
+ import { _ as __getLiveBindingName, a as LiveControlErrorCode, b as defineLiveStream, c as LiveControlOptions, d as LiveHookContext, f as LiveLimits, g as LiveSubscribeHookContext, h as LiveStreamOptions, i as LiveControlError, l as LiveControlRequest, m as LiveStream, n as LiveConnectHookContext, o as LiveControlOperation, p as LivePublishOptions, r as LiveConnectOptions, s as LiveControlOperationResult, t as LiveClientEvent, u as LiveControlResponse, v as __setLiveBindingName, y as __setLiveDev } from "../live-KkEeda1Z.mjs";
3
3
  export { LiveClientEvent, LiveConnectHookContext, LiveConnectOptions, LiveControlError, LiveControlErrorCode, LiveControlOperation, LiveControlOperationResult, LiveControlOptions, LiveControlRequest, LiveControlResponse, LiveHookContext, LiveLimits, LivePublishOptions, LiveStream, LiveStreamOptions, LiveSubscribeHookContext, __getLiveBindingName, __setLiveBindingName, __setLiveDev, defineLiveStream };
@@ -1,5 +1,5 @@
1
1
  import { i as AuthUser } from "../auth-BKsUmWbT.mjs";
2
- import { r as CloudBindings } from "../handler-CVsIfRv7.mjs";
2
+ import { r as CloudBindings } from "../handler-B_ocHStk.mjs";
3
3
  import { AuthProvider, anyOf, bearerAuth, createProcedures } from "@builtbyfriends/realtime";
4
4
  /**
5
5
  * Builders for files in `procedures/`. `env` in handlers and providers is typed from
@@ -1,4 +1,4 @@
1
- import { S as filterInternalBindings, b as createAssetFallback, i as CloudContext, x as createWorkerFetch } from "../handler-CVsIfRv7.mjs";
1
+ import { S as filterInternalBindings, b as createAssetFallback, i as CloudContext, x as createWorkerFetch } from "../handler-B_ocHStk.mjs";
2
2
  import { AsyncLocalStorage } from "node:async_hooks";
3
3
  import { Context, Hono, MiddlewareHandler, NotFoundHandler, TypedResponse } from "hono";
4
4
  import { RouteDestination, RouteUrlInput } from "@builtbyfriends/bwf/routes";
@@ -1,5 +1,5 @@
1
1
  import { i as authDependentRequests, n as markStaticAsset, r as SHARED_CACHE_HEADERS, t as isUnchangedStaticAsset } from "../static-asset-marker-mWMX2dLa.mjs";
2
- import { t as BwfAssetRewriteError } from "../handler-CJ7DiiRF.mjs";
2
+ import { t as BwfAssetRewriteError } from "../handler-CNq7aSs1.mjs";
3
3
  import { t as convertReturnValue } from "../response-HmNjB30w.mjs";
4
4
  import { r as toUrlString } from "../route-url-BIDZT78M.mjs";
5
5
  import { n as createManifestLoader, t as ASSET_EXTENSIONS } from "../routing-assets-CSheDWWM.mjs";
@@ -1,2 +1,2 @@
1
- import { _ as HandlerInput, v as ValidatorSlots, y as runValidation } from "../handler-CVsIfRv7.mjs";
1
+ import { _ as HandlerInput, v as ValidatorSlots, y as runValidation } from "../handler-B_ocHStk.mjs";
2
2
  export { HandlerInput, ValidatorSlots, runValidation };
@@ -1,6 +1,6 @@
1
1
  import { r as AuthState } from "../auth-BKsUmWbT.mjs";
2
2
  import { r as BwfAuthRuntimeOptions, t as BwfAuthEnv } from "../better-auth-shared-CsBNvPOU.mjs";
3
- import { f as WebSocketInstanceKey, t as AnyWebSocketDefinition } from "../ws-Q_osq9VK.mjs";
3
+ import { f as WebSocketInstanceKey, t as AnyWebSocketDefinition } from "../ws-DZRiIpYw.mjs";
4
4
  export type WebSocketRouteMeta = {
5
5
  name?: string;
6
6
  key?: WebSocketInstanceKey;
@@ -1,2 +1,2 @@
1
- import { a as RoomContext, c as SocketContext, d as WebSocketConnection, f as WebSocketInstanceKey, h as defineWebSocket, i as ConnectCommonOptions, l as SocketDefinition, m as defineRoom, n as BwfSocket, o as RoomController, p as connect, r as BwfSocketCloseEvent, s as RoomDefinition, t as AnyWebSocketDefinition, u as WebSocketBaseContext } from "../ws-Q_osq9VK.mjs";
1
+ import { a as RoomContext, c as SocketContext, d as WebSocketConnection, f as WebSocketInstanceKey, h as defineWebSocket, i as ConnectCommonOptions, l as SocketDefinition, m as defineRoom, n as BwfSocket, o as RoomController, p as connect, r as BwfSocketCloseEvent, s as RoomDefinition, t as AnyWebSocketDefinition, u as WebSocketBaseContext } from "../ws-DZRiIpYw.mjs";
2
2
  export { AnyWebSocketDefinition, BwfSocket, BwfSocketCloseEvent, ConnectCommonOptions, RoomContext, RoomController, RoomDefinition, SocketContext, SocketDefinition, WebSocketBaseContext, WebSocketConnection, WebSocketInstanceKey, connect, defineRoom, defineWebSocket };
@@ -1,7 +1,7 @@
1
1
  import { A as confirm, H as outro, L as log, O as cancel, U as password, tt as isCancel } from "./dist-STQXl8ck.mjs";
2
2
  import { c as getToken } from "./auth-xnkmpZUl.mjs";
3
3
  import { r as PlatformClient } from "./client-D3D5RM5h.mjs";
4
- import { _ as validateSecretValues } from "./env-validation-BufZConV.mjs";
4
+ import { _ as validateSecretValues } from "./env-validation-DeqFUSKg.mjs";
5
5
  import { m as printSuccess, o as formatCount, p as note } from "./output-Bb34lF0w.mjs";
6
6
  import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-CC7eN00D.mjs";
7
7
  import { a as resolveProjectBySlug, t as getRequestedProjectSlug } from "./resolve-project-BCsAMDRA.mjs";
@@ -97,7 +97,7 @@ async function resolveSecretBackend(root, args) {
97
97
  }
98
98
  async function resolveCloudflareSecretBackend(root, args) {
99
99
  if (args.projectName) throw new Error("secret: --project selects a bwf platform project and is not used for direct Cloudflare apps.");
100
- const { deleteCloudflareSecret, listCloudflareSecrets, putCloudflareSecret, resolveCloudflareOperationContext, syncCloudflareSecrets } = await import("./cloudflare-operations-C3Uu0Emj.mjs");
100
+ const { deleteCloudflareSecret, listCloudflareSecrets, putCloudflareSecret, resolveCloudflareOperationContext, syncCloudflareSecrets } = await import("./cloudflare-operations-BcK849ue.mjs");
101
101
  const context = resolveCloudflareOperationContext(root);
102
102
  return {
103
103
  target: "Cloudflare Worker",
@@ -1,4 +1,4 @@
1
- import { d as findBindingNameOwner, l as bindingNamesForField } from "./wrangler-DU784Dkf.mjs";
1
+ import { d as findBindingNameOwner, l as bindingNamesForField } from "./wrangler-TqTvJFWS.mjs";
2
2
  // src/shared/version-metadata.ts
3
3
  /** Build-only marker: an existing-site handoff must not add Worker bindings. */
4
4
  const CLOUDFLARE_PRESERVE_BINDINGS_BUILD_ENV = "NOSAM_CLOUDFLARE_PRESERVE_BINDINGS";
@@ -0,0 +1 @@
1
+ export { v as readRootWranglerConfig } from "./wrangler-TqTvJFWS.mjs";
@@ -525,7 +525,7 @@ function writeManagedQueueProvenance(text, provenance) {
525
525
  return `${marker}${text.includes("\r\n") ? "\r\n" : "\n"}${text}`;
526
526
  }
527
527
  /**
528
- * Nosam-owned consumer queues that may need remote cleanup: current managed consumers (the
528
+ * Platform-owned consumer queues that may need remote cleanup: current managed consumers (the
529
529
  * caller subtracts desired ones) and pending removals, which survive failed deploys.
530
530
  */
531
531
  function readWranglerManagedQueueCleanupCandidates(configPath) {
@@ -1,6 +1,6 @@
1
1
  import { t as StandardSchemaV1 } from "./standard-schema-CuDawHOC.mjs";
2
2
  import { i as AuthUser } from "./auth-BKsUmWbT.mjs";
3
- import { o as CloudEnv } from "./handler-CVsIfRv7.mjs";
3
+ import { o as CloudEnv } from "./handler-B_ocHStk.mjs";
4
4
  import { WebSocketRouteMap } from "@builtbyfriends/bwf/routes";
5
5
  type MaybePromise<T> = T | Promise<T>;
6
6
  type ParamsRecord = Record<string, string>;
@@ -6,7 +6,7 @@ outline: deep
6
6
  # Authentication
7
7
 
8
8
  ::: warning ⚠️ bwf Apps Only
9
- Nosam-managed auth requires a bwf app with a backend. For a static SPA without `routes/`, use Better Auth directly.
9
+ Platform-managed auth requires a bwf app with a backend. For a static SPA without `routes/`, use Better Auth directly.
10
10
  :::
11
11
 
12
12
  bwf configures [Better Auth](https://www.better-auth.com/) for your app, including its database connection, API routes, and client. Start with email and password, or add a social login provider.
@@ -106,7 +106,7 @@ Visitors who went through the sign-in page normally never see it. They can see i
106
106
 
107
107
  - for a short time while the project is switching between protected and public;
108
108
  - while a Zero Trust change is still being applied to the project;
109
- - when a Nosam-managed Access application was deleted, or its hostnames were changed, in the Cloudflare dashboard. See [Editing Applications in the Dashboard](#editing-applications-in-the-dashboard).
109
+ - when a Platform-managed Access application was deleted, or its hostnames were changed, in the Cloudflare dashboard. See [Editing Applications in the Dashboard](#editing-applications-in-the-dashboard).
110
110
 
111
111
  #### Every Path Is Covered
112
112
 
@@ -113,7 +113,7 @@ export default defineQueue<Message>(async (batch, env) => {
113
113
 
114
114
  Export each option directly from the queue file as a whole number, such as `export const maxRetries = 5`. Computed values and re-exports aren't supported; repeat shared settings in each queue file.
115
115
 
116
- Nosam-managed queues do not configure a dead-letter queue. Cloudflare permanently
116
+ Platform-managed queues do not configure a dead-letter queue. Cloudflare permanently
117
117
  deletes messages that exhaust their retries without one; see
118
118
  [Cloudflare's dead-letter queue guide](https://developers.cloudflare.com/queues/configuration/dead-letter-queues/).
119
119
 
@@ -15,7 +15,7 @@ Use this for quick schema iteration while prototyping. Before deploying, generat
15
15
 
16
16
  Generate SQL migration files from schema changes.
17
17
 
18
- Compares your schema with the last Drizzle snapshot and writes migrations under `db/migrations/`. It includes Nosam-managed auth tables and configured auth plugins, even without an application schema. Review and commit the generated files before deploying.
18
+ Compares your schema with the last Drizzle snapshot and writes migrations under `db/migrations/`. It includes Platform-managed auth tables and configured auth plugins, even without an application schema. Review and commit the generated files before deploying.
19
19
 
20
20
  For SQLite, bwf checks that the migration history applies to a fresh database. If generation fails this check, the previous SQL, snapshots, and journal are restored. If an existing migration fails, repair that unapplied migration first: rerunning generation compares snapshots and does not repair existing SQL. This check does not verify that a migration preserves existing data; review table rebuilds and foreign-key actions carefully.
21
21
 
@@ -5,7 +5,7 @@ outline: deep
5
5
 
6
6
  # Platform Management {#platform-management}
7
7
 
8
- Nosam-managed projects deploy to an explicitly selected platform. Join one with [`bwf connect`](./auth.md#connect). Connections are stored per API origin, and credentials are scoped to that origin.
8
+ Platform-managed projects deploy to an explicitly selected platform. Join one with [`bwf connect`](./auth.md#connect). Connections are stored per API origin, and credentials are scoped to that origin.
9
9
 
10
10
  ## Connection commands {#connection-commands}
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builtbyfriends/bwf",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "Full-stack framework and deployment CLI for Cloudflare Workers, powered by Vite.",
5
5
  "homepage": "https://github.com/builtbyfriends/platform",
6
6
  "bugs": {
@@ -291,19 +291,19 @@
291
291
  }
292
292
  },
293
293
  "dependencies": {
294
- "@builtbyfriends/deploy-cloudflare": "1.9.1",
295
- "@builtbyfriends/deploy-core": "1.9.1",
296
- "@builtbyfriends/edge": "1.9.1",
297
- "@builtbyfriends/platform": "1.9.1",
294
+ "@builtbyfriends/deploy-cloudflare": "1.9.2",
295
+ "@builtbyfriends/deploy-core": "1.9.2",
296
+ "@builtbyfriends/edge": "1.9.2",
297
+ "@builtbyfriends/platform": "1.9.2",
298
298
  "@builtbyfriends/realtime": "^0.1.0",
299
299
  "@builtbyfriends/realtime-analytics": "^0.1.0",
300
300
  "@builtbyfriends/realtime-http": "^0.1.0",
301
301
  "@builtbyfriends/realtime-mcp": "^0.1.0",
302
- "@cloudflare/build-output-utils": "^0.9.13",
302
+ "@cloudflare/build-output-utils": "0.9.13",
303
303
  "@cloudflare/codemods": "^0.7.7",
304
304
  "@cloudflare/config": "^0.32.0",
305
305
  "@cloudflare/sandbox": "^1.0.3",
306
- "@cloudflare/vite-plugin": "^2.0.0-beta.v.15",
306
+ "@cloudflare/vite-plugin": "2.0.0-beta.v.15",
307
307
  "@cloudflare/workers-auth": "^0.18.1",
308
308
  "@cloudflare/workers-types": "^5.20261110.1",
309
309
  "@cloudflare/workers-utils": "^0.53.1",
@@ -1,2 +0,0 @@
1
- import "./cloudflare-operations-BeK7bhnP.mjs";
2
- export { c as checkWranglerMigrationApplySet, t as parseRootWranglerConfig, r as runDeploy } from "./deploy-C8KHBNsh.mjs";
@@ -1 +0,0 @@
1
- export { i as printHelpPage } from "./help-Bpv6Qeqn.mjs";
@@ -1 +0,0 @@
1
- export { r as selectPlatformLoginMethod } from "./login-Bl5lH8nH.mjs";
@@ -1 +0,0 @@
1
- export { n as runMigrateCommand } from "./migrate-CbGscX-V.mjs";
@@ -1 +0,0 @@
1
- export { a as runOperatorCommand } from "./operator-cmd-C73WWJBl.mjs";
@@ -1 +0,0 @@
1
- export { t as parsePlatformArgs } from "./platform-args-NI_vfWvD.mjs";
@@ -1 +0,0 @@
1
- export { v as readRootWranglerConfig } from "./wrangler-DU784Dkf.mjs";