@crvouga/mockingbird-service-workos 1.15.1 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog — @crvouga/mockingbird-service-workos
2
2
 
3
+ ## 1.16.0 (2026-11-22)
4
+
5
+ ### Features
6
+
7
+ - unify admin and notifications shells ([3ae91bb](https://github.com/crvouga/mockingbird/commit/3ae91bb5357c06519330bf3fbc24e06b448ab144))
8
+ - rewrite every Mockingbird-owned UI on React and HeroUI ([c57b75a](https://github.com/crvouga/mockingbird/commit/c57b75a7940712df2773aec11ddef2e0e670b906))
9
+ - standardize React components on HeroUI ([b19008e](https://github.com/crvouga/mockingbird/commit/b19008eb86e78b0553e7b0cef7d38b79576013b1))
10
+ - add reusable browser preview packages and emulator integration features ([c87e9b4](https://github.com/crvouga/mockingbird/commit/c87e9b466d2d728c69a6ad35b73fa387726a1a61))
11
+
12
+ ### Dependencies
13
+
14
+ - `@crvouga/mockingbird-runtime`
15
+ - `@crvouga/mockingbird-service-sqlite`
16
+
3
17
  ## 1.15.1 (2026-11-18)
4
18
 
5
19
  ### Fixes and improvements
@@ -24,8 +38,6 @@
24
38
  ### Features
25
39
 
26
40
  - expand in-process emulation and resolve Plane and streaming gaps ([e6733fd](https://github.com/crvouga/mockingbird/commit/e6733fd00f5dd03259f36cc0f452780a7e0deea4))
27
- - add browser runtime polyfills and edge-snapping app cycle ([815b739](https://github.com/crvouga/mockingbird/commit/815b7399f1e058b89b3fa025f79a5014172b3ab8))
28
- - run lab systems in browser PR previews ([df14882](https://github.com/crvouga/mockingbird/commit/df148828ca66db1e20cf9fa2fdf38b56b5116da4))
29
41
  - publish the shared runtime once; services depend on it instead of inlining it ([4903c4a](https://github.com/crvouga/mockingbird/commit/4903c4a748fd801001ad3fd34b6016b55e0f9953))
30
42
  - add transcript storage, signature and meetings; tags, teams, messages, macros and calls ([ee21e12](https://github.com/crvouga/mockingbird/commit/ee21e12024768bd52c6902b1722fb35a94d2444b))
31
43
 
@@ -28,7 +28,7 @@ __export(service_exports, {
28
28
  __reExport(service_exports, service_star);
29
29
  import * as service_star from "@crvouga/mockingbird-runtime/service";
30
30
  import { PACKAGE_VERSION as SHARED_VERSION, createRuntime as sharedRuntime } from "@crvouga/mockingbird-runtime/service";
31
- var PACKAGE_VERSION = true ? "1.15.1" : SHARED_VERSION;
31
+ var PACKAGE_VERSION = true ? "1.16.0" : SHARED_VERSION;
32
32
  var ADMIN_BRAND = typeof define_MOCKINGBIRD_ADMIN_BRAND_default === "object" ? define_MOCKINGBIRD_ADMIN_BRAND_default : void 0;
33
33
  var createRuntime = (options) => sharedRuntime({
34
34
  ...options,
package/dist/server.d.ts CHANGED
@@ -140,6 +140,12 @@ type UpstreamState = {
140
140
  mode: "emulated" | "forward";
141
141
  baseUrl: string;
142
142
  };
143
+ type UpstreamOptions = {
144
+ fetch: (request: Request) => Response | Promise<Response>;
145
+ baseUrl: string;
146
+ mode?: "emulated" | "forward";
147
+ rewriteAuth?: (request: Request) => Request | Promise<Request>;
148
+ };
143
149
 
144
150
  /**
145
151
  * Seeded pseudo-random numbers, so anything a mock invents — ids, jitter, which
@@ -966,6 +972,7 @@ type CliOption = {
966
972
  };
967
973
  type CliValues = Record<string, string | boolean | undefined>;
968
974
  type CommonServeOptions = {
975
+ upstream?: UpstreamOptions;
969
976
  adminPrefix?: string;
970
977
  adminKey: string | undefined;
971
978
  seed: string | undefined;
@@ -988,6 +995,7 @@ type CommonServeOptions = {
988
995
  * `serveTarget`, which is also how `serve --config` finds services by name.
989
996
  */
990
997
  type ServeTarget = {
998
+ supportsUpstream?: boolean;
991
999
  packageVersion?: string;
992
1000
  name: string;
993
1001
  defaultPort: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crvouga/mockingbird-service-workos",
3
- "version": "1.15.1",
3
+ "version": "1.16.0",
4
4
  "description": "Stateful WorkOS AuthKit emulator with signed sessions, rotating refresh tokens and user pagination.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -103,8 +103,8 @@
103
103
  "pack:check": "bun ../../../scripts/pack-check.ts"
104
104
  },
105
105
  "dependencies": {
106
- "@crvouga/mockingbird-runtime": "0.2.1",
107
- "@crvouga/mockingbird-service-sqlite": "3.5.1",
106
+ "@crvouga/mockingbird-runtime": "0.4.0",
107
+ "@crvouga/mockingbird-service-sqlite": "3.7.0",
108
108
  "hono": "4.13.11"
109
109
  },
110
110
  "devDependencies": {