@crvouga/mockingbird-service-workos 1.15.0 → 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,15 +1,31 @@
1
1
  # Changelog — @crvouga/mockingbird-service-workos
2
2
 
3
- ## 1.15.0 (2026-11-17)
3
+ ## 1.16.0 (2026-11-22)
4
4
 
5
5
  ### Features
6
6
 
7
- - allow checkpointMutations in a fleet entry's adminControls ([f318660](https://github.com/crvouga/mockingbird/commit/f318660116d4237b520dee31e9c3c730aa66eae2))
8
- - accept checkpointMutations as a boot admin control ([1825da5](https://github.com/crvouga/mockingbird/commit/1825da537184b111df3e7f1081c79cf605fb4d50))
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))
9
11
 
10
12
  ### Dependencies
11
13
 
12
14
  - `@crvouga/mockingbird-runtime`
15
+ - `@crvouga/mockingbird-service-sqlite`
16
+
17
+ ## 1.15.1 (2026-11-18)
18
+
19
+ ### Fixes and improvements
20
+
21
+ - roll back only the rows a scope wrote instead of copying the namespace ([4b5bf7c](https://github.com/crvouga/mockingbird/commit/4b5bf7ca9902946df6164f0a247ddc8708198b5e))
22
+
23
+ ## 1.15.0 (2026-11-16)
24
+
25
+ ### Features
26
+
27
+ - allow checkpointMutations in a fleet entry's adminControls ([f318660](https://github.com/crvouga/mockingbird/commit/f318660116d4237b520dee31e9c3c730aa66eae2))
28
+ - accept checkpointMutations as a boot admin control ([1825da5](https://github.com/crvouga/mockingbird/commit/1825da537184b111df3e7f1081c79cf605fb4d50))
13
29
 
14
30
  ## 1.14.0 (2026-11-16)
15
31
 
@@ -22,8 +38,6 @@
22
38
  ### Features
23
39
 
24
40
  - expand in-process emulation and resolve Plane and streaming gaps ([e6733fd](https://github.com/crvouga/mockingbird/commit/e6733fd00f5dd03259f36cc0f452780a7e0deea4))
25
- - add browser runtime polyfills and edge-snapping app cycle ([815b739](https://github.com/crvouga/mockingbird/commit/815b7399f1e058b89b3fa025f79a5014172b3ab8))
26
- - run lab systems in browser PR previews ([df14882](https://github.com/crvouga/mockingbird/commit/df148828ca66db1e20cf9fa2fdf38b56b5116da4))
27
41
  - publish the shared runtime once; services depend on it instead of inlining it ([4903c4a](https://github.com/crvouga/mockingbird/commit/4903c4a748fd801001ad3fd34b6016b55e0f9953))
28
42
  - add transcript storage, signature and meetings; tags, teams, messages, macros and calls ([ee21e12](https://github.com/crvouga/mockingbird/commit/ee21e12024768bd52c6902b1722fb35a94d2444b))
29
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.0" : 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/index.d.ts CHANGED
@@ -804,6 +804,8 @@ declare class Collection<T> {
804
804
  namespace: string,
805
805
  /** Table name inside the namespace. Stable across resets of the rows themselves. */
806
806
  collectionName: string);
807
+ /** Note the record's current row in every open rollback journal that has not seen it yet. */
808
+ private journalRecord;
807
809
  private bumpCollectionSeq;
808
810
  nextSequence(): number;
809
811
  get(id: string): T | undefined;
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.0",
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.0",
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": {