@timber-js/app 0.2.0-alpha.220 → 0.2.0-alpha.221

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 (152) hide show
  1. package/dist/_chunks/{actions-BwkmAYXq.js → actions-BDqn4Oxj.js} +2 -2
  2. package/dist/_chunks/{actions-BwkmAYXq.js.map → actions-BDqn4Oxj.js.map} +1 -1
  3. package/dist/_chunks/{cache-api-LA3sBpUS.js → cache-api-GE4AOe2H.js} +30 -151
  4. package/dist/_chunks/cache-api-GE4AOe2H.js.map +1 -0
  5. package/dist/_chunks/dev-server-BiWNMBVU.js +1 -0
  6. package/dist/_chunks/{dev-server-DnODXuNM.js → dev-server-DIy-SY-J.js} +11 -6
  7. package/dist/_chunks/{dev-server-DnODXuNM.js.map → dev-server-DIy-SY-J.js.map} +1 -1
  8. package/dist/_chunks/dev-store-BOa304m_.js +283 -0
  9. package/dist/_chunks/dev-store-BOa304m_.js.map +1 -0
  10. package/dist/_chunks/{error-boundary-xxxLtXt6.js → error-boundary-Bc8QPZuq.js} +71 -21
  11. package/dist/_chunks/error-boundary-Bc8QPZuq.js.map +1 -0
  12. package/dist/_chunks/{flight-source-node-0dE-t3kq.js → flight-source-node-HptmGMT8.js} +6 -7
  13. package/dist/_chunks/flight-source-node-HptmGMT8.js.map +1 -0
  14. package/dist/_chunks/{node-response-Dibufw_b.js → node-response-rkQqcFGq.js} +48 -2
  15. package/dist/_chunks/node-response-rkQqcFGq.js.map +1 -0
  16. package/dist/_chunks/{purge-store-Byr8XOjU.js → purge-store-WZaxu-3m.js} +2 -2
  17. package/dist/_chunks/purge-store-WZaxu-3m.js.map +1 -0
  18. package/dist/_chunks/{render-timeout-DOf_BBcO.js → render-timeout-joFhz4KH.js} +1 -10
  19. package/dist/_chunks/render-timeout-joFhz4KH.js.map +1 -0
  20. package/dist/cache/cache-api.d.ts.map +1 -1
  21. package/dist/cache/handler-store.d.ts +13 -1
  22. package/dist/cache/handler-store.d.ts.map +1 -1
  23. package/dist/cache/index.js +2 -1
  24. package/dist/cache/invalidation-epoch.d.ts +7 -0
  25. package/dist/cache/invalidation-epoch.d.ts.map +1 -1
  26. package/dist/cache/timber-cache.d.ts.map +1 -1
  27. package/dist/cdn/index.js +1 -1
  28. package/dist/cdn/purge-store.d.ts +10 -1
  29. package/dist/cdn/purge-store.d.ts.map +1 -1
  30. package/dist/cli.js +1 -1
  31. package/dist/client/browser-entry/router-init.d.ts.map +1 -1
  32. package/dist/client/error-boundary.js +1 -1
  33. package/dist/client/index.js +6 -15
  34. package/dist/client/index.js.map +1 -1
  35. package/dist/client/internal.js +37 -64
  36. package/dist/client/internal.js.map +1 -1
  37. package/dist/client/link.d.ts.map +1 -1
  38. package/dist/client/navigation-transition.d.ts +68 -14
  39. package/dist/client/navigation-transition.d.ts.map +1 -1
  40. package/dist/client/router-effects.d.ts +35 -31
  41. package/dist/client/router-effects.d.ts.map +1 -1
  42. package/dist/client/router-pipeline.d.ts +2 -6
  43. package/dist/client/router-pipeline.d.ts.map +1 -1
  44. package/dist/client/router-types.d.ts +10 -30
  45. package/dist/client/router-types.d.ts.map +1 -1
  46. package/dist/client/router.d.ts.map +1 -1
  47. package/dist/dev-tools/logs.d.ts +2 -2
  48. package/dist/dev-tools/logs.d.ts.map +1 -1
  49. package/dist/index.js +144 -51
  50. package/dist/index.js.map +1 -1
  51. package/dist/plugins/dev-server.d.ts.map +1 -1
  52. package/dist/plugins/entries.d.ts +5 -0
  53. package/dist/plugins/entries.d.ts.map +1 -1
  54. package/dist/plugins/orphaned-modules.d.ts +57 -0
  55. package/dist/plugins/orphaned-modules.d.ts.map +1 -0
  56. package/dist/plugins/prebuilt.d.ts +6 -6
  57. package/dist/plugins/prerender-sugar.d.ts.map +1 -1
  58. package/dist/plugins/routing.d.ts +1 -1
  59. package/dist/plugins/routing.d.ts.map +1 -1
  60. package/dist/rsc-runtime/dev-reference-cache.d.ts +47 -0
  61. package/dist/rsc-runtime/dev-reference-cache.d.ts.map +1 -0
  62. package/dist/rsc-runtime/rsc.d.ts +0 -15
  63. package/dist/rsc-runtime/rsc.d.ts.map +1 -1
  64. package/dist/rsc-runtime/ssr.d.ts +0 -11
  65. package/dist/rsc-runtime/ssr.d.ts.map +1 -1
  66. package/dist/server/abort-scope.d.ts +27 -0
  67. package/dist/server/abort-scope.d.ts.map +1 -0
  68. package/dist/server/flight-source-node.d.ts.map +1 -1
  69. package/dist/server/index.js +1 -1
  70. package/dist/server/instrumentation.d.ts +2 -1
  71. package/dist/server/instrumentation.d.ts.map +1 -1
  72. package/dist/server/internal.d.ts +1 -1
  73. package/dist/server/internal.d.ts.map +1 -1
  74. package/dist/server/internal.js +328 -132
  75. package/dist/server/internal.js.map +1 -1
  76. package/dist/server/pipeline-helpers.d.ts.map +1 -1
  77. package/dist/server/pipeline.d.ts +10 -7
  78. package/dist/server/pipeline.d.ts.map +1 -1
  79. package/dist/server/prebuilt/cache-key.d.ts +26 -0
  80. package/dist/server/prebuilt/cache-key.d.ts.map +1 -1
  81. package/dist/server/prebuilt/capture-render.d.ts +9 -4
  82. package/dist/server/prebuilt/capture-render.d.ts.map +1 -1
  83. package/dist/server/prebuilt/capture-routes.d.ts +1 -1
  84. package/dist/server/prebuilt/dev-store.d.ts +103 -0
  85. package/dist/server/prebuilt/dev-store.d.ts.map +1 -0
  86. package/dist/server/prebuilt/overlay.d.ts +5 -0
  87. package/dist/server/prebuilt/overlay.d.ts.map +1 -1
  88. package/dist/server/prebuilt/payload-source.d.ts +8 -0
  89. package/dist/server/prebuilt/payload-source.d.ts.map +1 -1
  90. package/dist/server/prebuilt/slots.d.ts +5 -6
  91. package/dist/server/prebuilt/slots.d.ts.map +1 -1
  92. package/dist/server/prebuilt-builder.d.ts.map +1 -1
  93. package/dist/server/prebuilt-runtime.d.ts +5 -10
  94. package/dist/server/prebuilt-runtime.d.ts.map +1 -1
  95. package/dist/server/render-timeout.d.ts.map +1 -1
  96. package/dist/server/rsc-entry/action-dispatcher.d.ts.map +1 -1
  97. package/dist/server/rsc-entry/index.d.ts.map +1 -1
  98. package/dist/server/ssr-render.d.ts.map +1 -1
  99. package/docs/api/32-api-cache.mdx +2 -0
  100. package/docs/learn/10-caching.mdx +12 -0
  101. package/docs/learn/11-middleware.mdx +2 -0
  102. package/package.json +1 -1
  103. package/src/cache/cache-api.ts +7 -1
  104. package/src/cache/handler-store.ts +38 -1
  105. package/src/cache/invalidation-epoch.ts +18 -6
  106. package/src/cache/timber-cache.ts +6 -2
  107. package/src/cdn/purge-store.ts +29 -1
  108. package/src/client/browser-entry/action-dispatch.ts +5 -5
  109. package/src/client/browser-entry/router-init.ts +2 -4
  110. package/src/client/link.tsx +14 -18
  111. package/src/client/navigation-transition.ts +86 -33
  112. package/src/client/router-effects.ts +70 -45
  113. package/src/client/router-lifecycle.ts +1 -1
  114. package/src/client/router-pipeline.ts +52 -65
  115. package/src/client/router-types.ts +11 -31
  116. package/src/client/router.ts +98 -104
  117. package/src/dev-tools/logs.ts +76 -50
  118. package/src/plugins/dev-server.ts +23 -8
  119. package/src/plugins/entries.ts +6 -0
  120. package/src/plugins/orphaned-modules.ts +78 -0
  121. package/src/plugins/prebuilt.ts +17 -17
  122. package/src/plugins/prerender-sugar.ts +38 -6
  123. package/src/plugins/routing.ts +23 -1
  124. package/src/rsc-runtime/dev-reference-cache.ts +115 -0
  125. package/src/rsc-runtime/rsc.ts +10 -0
  126. package/src/rsc-runtime/ssr.ts +10 -0
  127. package/src/server/abort-scope.ts +49 -0
  128. package/src/server/flight-source-node.ts +5 -4
  129. package/src/server/instrumentation.ts +32 -8
  130. package/src/server/internal.ts +1 -6
  131. package/src/server/pipeline-helpers.ts +5 -3
  132. package/src/server/pipeline.ts +31 -20
  133. package/src/server/prebuilt/cache-key.ts +41 -0
  134. package/src/server/prebuilt/capture-render.ts +10 -6
  135. package/src/server/prebuilt/capture-routes.ts +1 -1
  136. package/src/server/prebuilt/dev-store.ts +173 -0
  137. package/src/server/prebuilt/overlay.ts +7 -1
  138. package/src/server/prebuilt/payload-source.ts +19 -0
  139. package/src/server/prebuilt/slots.ts +5 -6
  140. package/src/server/prebuilt-builder.ts +3 -2
  141. package/src/server/prebuilt-runtime.ts +174 -176
  142. package/src/server/render-timeout.ts +12 -17
  143. package/src/server/rsc-entry/action-dispatcher.ts +3 -1
  144. package/src/server/rsc-entry/index.ts +47 -13
  145. package/src/server/ssr-render.ts +9 -11
  146. package/dist/_chunks/cache-api-LA3sBpUS.js.map +0 -1
  147. package/dist/_chunks/dev-server-DkytOEG2.js +0 -1
  148. package/dist/_chunks/error-boundary-xxxLtXt6.js.map +0 -1
  149. package/dist/_chunks/flight-source-node-0dE-t3kq.js.map +0 -1
  150. package/dist/_chunks/node-response-Dibufw_b.js.map +0 -1
  151. package/dist/_chunks/purge-store-Byr8XOjU.js.map +0 -1
  152. package/dist/_chunks/render-timeout-DOf_BBcO.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"dev-server.d.ts","sourceRoot":"","sources":["../../src/plugins/dev-server.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAiC,MAAM,MAAM,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAkB,MAAM,WAAW,CAAC;AAKjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AA8B1D;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,KAAK,CAAC;AA2BpC;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CA0J1D;AAyND;;;;;;;;;;;;;GAaG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAuC9D"}
1
+ {"version":3,"file":"dev-server.d.ts","sourceRoot":"","sources":["../../src/plugins/dev-server.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAiC,MAAM,MAAM,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAkB,MAAM,WAAW,CAAC;AAKjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AA+B1D;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,KAAK,CAAC;AA2BpC;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAwK1D;AAyND;;;;;;;;;;;;;GAaG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAuC9D"}
@@ -19,6 +19,11 @@ export declare const SRC_DIR: string;
19
19
  * (see plugins/client-dep-entries.ts).
20
20
  */
21
21
  export declare const BROWSER_ENTRY_FILE: string;
22
+ /**
23
+ * The real file behind virtual:timber-rsc-entry, the RSC environment's HMR
24
+ * boundary (see plugins/orphaned-modules.ts).
25
+ */
26
+ export declare const RSC_ENTRY_FILE: string;
22
27
  /**
23
28
  * Detect a user convention file at both root and src/.
24
29
  *
@@ -1 +1 @@
1
- {"version":3,"file":"entries.d.ts","sourceRoot":"","sources":["../../src/plugins/entries.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAInC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAQ1D,eAAO,MAAM,OAAO,QAEe,CAAC;AA4BpC;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,QAA2C,CAAC;AAmI3E;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAUlF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAErE;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAE3D;AAED;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2
+ * Keep an update to an orphaned RSC module from reloading the RSC module runner.
3
+ *
4
+ * Vite propagates a server-module update up its importers to an HMR
5
+ * boundary (the RSC entry self-accepts). A module with no importers is a dead
6
+ * end, and Vite answers a dead end by full-reloading the environment's
7
+ * runner, which in the RSC environment leaks the whole module generation:
8
+ * React's dev Flight server leaves its async hook and console patches
9
+ * installed, and they keep every discarded copy reachable (TIM-1588,
10
+ * TIM-1589). Two kinds of module have no importers:
11
+ *
12
+ * - A deleted route file's module. The regenerated route manifest no longer
13
+ * imports it, but its node stays in the graph, so a file that appears at
14
+ * that path again (re-added, renamed back, a branch switch) updates it.
15
+ * - A server-reference module (`'use server'`) that only client components
16
+ * import. plugin-rsc loads server references with a runtime
17
+ * `import(/* @vite-ignore *\/ id)`, which records no importer edge.
18
+ *
19
+ * Neither can simply be dropped from the update. The module runner keeps the
20
+ * module's evaluated instance until something invalidates it, and the update
21
+ * is what advances the source generation that keys plugin-rsc's reference
22
+ * caches (rsc-runtime/dev-reference-cache.ts): without it, a no-JS form
23
+ * submit would keep running the edited action's old code. So the orphan is
24
+ * invalidated in the server graph and in the runner, and the update goes to
25
+ * the RSC entry instead, re-running its boot as any other server edit does.
26
+ *
27
+ * See design/21-dev-server.md §HMR Wiring.
28
+ */
29
+ /** What this reads of a server module node (Vite's `EnvironmentModuleNode`). */
30
+ export interface OrphanCandidate {
31
+ id: string | null;
32
+ importers: {
33
+ readonly size: number;
34
+ };
35
+ isSelfAccepting?: boolean;
36
+ }
37
+ /**
38
+ * The slice of the RSC dev environment this needs: its server module graph
39
+ * and, when the runner runs in this process, the runner's evaluated modules.
40
+ */
41
+ export interface OrphanEnvironment<M extends OrphanCandidate, E> {
42
+ moduleGraph: {
43
+ invalidateModule(mod: M): void;
44
+ getModulesByFile(file: string): Set<M> | undefined;
45
+ };
46
+ evaluatedModules?: {
47
+ getModuleById(id: string): E | undefined;
48
+ invalidateModule(node: E): void;
49
+ };
50
+ }
51
+ /**
52
+ * The update's modules with each orphan replaced by the RSC entry (whose
53
+ * file is `entryFile`). `undefined` when there are no orphans, so Vite keeps
54
+ * the update as it is.
55
+ */
56
+ export declare function redirectOrphanedModules<M extends OrphanCandidate, E>(environment: OrphanEnvironment<M, E>, modules: M[], entryFile: string): M[] | undefined;
57
+ //# sourceMappingURL=orphaned-modules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orphaned-modules.d.ts","sourceRoot":"","sources":["../../src/plugins/orphaned-modules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,gFAAgF;AAChF,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,SAAS,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACrC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,eAAe,EAAE,CAAC;IAC7D,WAAW,EAAE;QACX,gBAAgB,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI,CAAC;QAC/B,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;KACpD,CAAC;IACF,gBAAgB,CAAC,EAAE;QACjB,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS,CAAC;QACzC,gBAAgB,CAAC,IAAI,EAAE,CAAC,GAAG,IAAI,CAAC;KACjC,CAAC;CACH;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,eAAe,EAAE,CAAC,EAClE,WAAW,EAAE,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,EACpC,OAAO,EAAE,CAAC,EAAE,EACZ,SAAS,EAAE,MAAM,GAChB,CAAC,EAAE,GAAG,SAAS,CAiBjB"}
@@ -32,13 +32,13 @@
32
32
  * cannot see a shadow of an import binding (redeclaration error). Calls in
33
33
  * other positions fall back to the runtime path like other untraceable forms.
34
34
  *
35
- * The rewrite per mode:
36
- * production: cache.component(fn, opts) → __prebuilt("<id>", fn, opts)
37
- * dev: cache.component(fn, opts) → __prebuiltDev("<name>", fn, opts)
35
+ * The rewrite, in dev and production alike:
36
+ * cache.component(fn, opts) → __prebuilt("<id>", fn, opts)
38
37
  *
39
- * with `import { __prebuilt } from '#server-internal'` prepended. In dev the
40
- * wrapper is a no-op that logs once per component and renders dynamically —
41
- * no caching, no markers (design/44 §Dev Mode).
38
+ * with `import { __prebuilt } from '#server-internal'` prepended. Dev uses the
39
+ * same IDs: they key the dev store too, and because the hash covers the
40
+ * call-site text, editing the call site re-keys its entries (design/44
41
+ * §Dev Mode). Build attribution is recorded in production only.
42
42
  *
43
43
  * Component identity: `<name>_<hash16>`, e.g. `blogbody_a1b2c3d4e5f6a7b8`.
44
44
  * The name prefix is the declaring variable's name (lowercased, for legible
@@ -1 +1 @@
1
- {"version":3,"file":"prerender-sugar.d.ts","sourceRoot":"","sources":["../../src/plugins/prerender-sugar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAa,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAsB,KAAK,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAY5F;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,WAAW,GAAG,GAAG,CAAC,MAAM,EAAE,oBAAoB,CAAC,CA2BzF;AAuFD,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAwJ/D"}
1
+ {"version":3,"file":"prerender-sugar.d.ts","sourceRoot":"","sources":["../../src/plugins/prerender-sugar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAa,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAsB,KAAK,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAY5F;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,WAAW,GAAG,GAAG,CAAC,MAAM,EAAE,oBAAoB,CAAC,CA2BzF;AAuFD,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAwL/D"}
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Design docs: 18-build-system.md §"Virtual Modules", 07-routing.md
9
9
  */
10
- import type { Plugin } from 'vite';
10
+ import { type Plugin } from 'vite';
11
11
  import type { PluginContext } from '../plugin-context.ts';
12
12
  export declare function timberRouting(ctx: PluginContext): Plugin;
13
13
  //# sourceMappingURL=routing.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"routing.d.ts","sourceRoot":"","sources":["../../src/plugins/routing.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAiB,MAAM,MAAM,CAAC;AAYlD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAoD1D,wBAAgB,aAAa,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAwRxD"}
1
+ {"version":3,"file":"routing.d.ts","sourceRoot":"","sources":["../../src/plugins/routing.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAA4B,KAAK,MAAM,EAAsB,MAAM,MAAM,CAAC;AAYjF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAsD1D,wBAAgB,aAAa,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CA4SxD"}
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Dev-only: key plugin-rsc's reference-module caches by source generation
3
+ * instead of by render.
4
+ *
5
+ * In dev, plugin-rsc appends a fresh random tag (`$$cache=<random>`) to every
6
+ * reference id each time it builds a manifest, and it builds one per call: a
7
+ * client manifest per Flight render, a server manifest per `decodeReply` /
8
+ * `decodeAction`. The tag forces a fresh module load after an edit. But the
9
+ * module loaders behind those ids (`globalThis.__vite_rsc_client_require__`
10
+ * in SSR, `__vite_rsc_server_require__` in RSC) are memoized by the full
11
+ * tagged id in a Map that is never pruned, so every request adds one entry
12
+ * per reference it touches, for the life of the dev server.
13
+ *
14
+ * Each entry is a promise created mid-render. React's dev Flight server
15
+ * records every live promise in an async-hook Map, with a debug chain that
16
+ * reaches the render's components, props, and request. A promise that lives
17
+ * forever therefore pins the request that created it: the dev server kept
18
+ * every rendered request, response, and socket (TIM-1589).
19
+ *
20
+ * The wrapper here rewrites the tag to the current source generation, which
21
+ * the environment's HMR updates advance. Within a generation every render
22
+ * shares one load per module (the cache grows per edit, not per request);
23
+ * after an edit the new generation loads fresh modules, as the random tag
24
+ * did. A render keeps the generation it started in: its tag is bound to a
25
+ * generation the first time it is seen, so a render that spans an edit still
26
+ * finds the promises it preloaded (Flight's synchronous `requireModule`
27
+ * reads the settled value of the very promise it preloaded).
28
+ *
29
+ * Production ids carry no tag and pass through untouched; the install calls
30
+ * sit behind `import.meta.hot`, so production never wraps anything.
31
+ */
32
+ /** The two module loaders plugin-rsc memoizes by tagged reference id. */
33
+ export type ReferenceRequireGlobal = '__vite_rsc_client_require__' | '__vite_rsc_server_require__';
34
+ /** The slice of `import.meta.hot` this module needs. */
35
+ export interface ReferenceCacheHot {
36
+ on(event: 'vite:beforeUpdate' | 'vite:beforeFullReload', listener: () => void): void;
37
+ }
38
+ /**
39
+ * Wrap plugin-rsc's memoized loader `name` so its cache is keyed by source
40
+ * generation. Idempotent: a re-executed caller reuses the installed wrapper
41
+ * and its generation (resetting it would hand later renders the previous
42
+ * generation's modules), and re-registers the HMR listeners, which Vite drops
43
+ * with the re-executed module's hot context. A runner reload evaluates
44
+ * plugin-rsc again, which installs a fresh loader and cache to wrap.
45
+ */
46
+ export declare function scopeReferenceCacheToGeneration(name: ReferenceRequireGlobal, hot: ReferenceCacheHot): void;
47
+ //# sourceMappingURL=dev-reference-cache.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dev-reference-cache.d.ts","sourceRoot":"","sources":["../../src/rsc-runtime/dev-reference-cache.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAaH,yEAAyE;AACzE,MAAM,MAAM,sBAAsB,GAAG,6BAA6B,GAAG,6BAA6B,CAAC;AAInG,wDAAwD;AACxD,MAAM,WAAW,iBAAiB;IAChC,EAAE,CAAC,KAAK,EAAE,mBAAmB,GAAG,uBAAuB,EAAE,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;CACtF;AAiBD;;;;;;;GAOG;AACH,wBAAgB,+BAA+B,CAC7C,IAAI,EAAE,sBAAsB,EAC5B,GAAG,EAAE,iBAAiB,GACrB,IAAI,CAmCN"}
@@ -1,18 +1,3 @@
1
- /**
2
- * RSC Runtime Adapter — Re-exports from @vitejs/plugin-rsc/rsc.
3
- *
4
- * This module insulates the rest of the framework from direct imports of
5
- * @vitejs/plugin-rsc. The plugin is pre-1.0 and its API surface will change.
6
- * By routing all RSC-environment imports through this single file, a breaking
7
- * upstream change only requires updating one place instead of every file that
8
- * touches the RSC runtime.
9
- *
10
- * Keep this as thin pass-through re-exports — the value is the single choke
11
- * point, not abstraction. The exception is `renderFlight`, the only way to
12
- * render Flight (render-flight.ts). Bound-args encryption is plugin-rsc's
13
- * injected runtime, resolved to encryption-runtime.ts so it renders through
14
- * `renderFlight` too.
15
- */
16
1
  export { renderFlight } from './render-flight.ts';
17
2
  export { loadServerAction, decodeReply, decodeAction, decodeFormState, createFromReadableStream, } from '@vitejs/plugin-rsc/rsc';
18
3
  //# sourceMappingURL=rsc.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rsc.d.ts","sourceRoot":"","sources":["../../src/rsc-runtime/rsc.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,YAAY,EAGZ,eAAe,EAOf,wBAAwB,GACzB,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"rsc.d.ts","sourceRoot":"","sources":["../../src/rsc-runtime/rsc.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,YAAY,EAGZ,eAAe,EAOf,wBAAwB,GACzB,MAAM,wBAAwB,CAAC"}
@@ -1,14 +1,3 @@
1
- /**
2
- * SSR Runtime Adapter — Re-exports from @vitejs/plugin-rsc/ssr.
3
- *
4
- * This module insulates the rest of the framework from direct imports of
5
- * @vitejs/plugin-rsc. The plugin is pre-1.0 and its API surface will change.
6
- * By routing all SSR-environment imports through this single file, a breaking
7
- * upstream change only requires updating one place.
8
- *
9
- * Keep this as thin pass-through re-exports — the value is the single choke
10
- * point, not abstraction.
11
- */
12
1
  export { createFromReadableStream } from '@vitejs/plugin-rsc/ssr';
13
2
  /**
14
3
  * Decode a Node Flight source (`server/flight-source.ts`) for SSR — plugin-rsc's
@@ -1 +1 @@
1
- {"version":3,"file":"ssr.d.ts","sourceRoot":"","sources":["../../src/rsc-runtime/ssr.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAElE;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,0EAEzB,CAAC"}
1
+ {"version":3,"file":"ssr.d.ts","sourceRoot":"","sources":["../../src/rsc-runtime/ssr.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAQlE;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,0EAEzB,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Abort listeners scoped to the work they guard.
3
+ *
4
+ * A request's signal outlives the render, stream, or timer that listens to
5
+ * it, and a listener left on it keeps everything its closure holds reachable
6
+ * from the request. In production that only delays collection until the
7
+ * request is garbage. In dev it pins the request forever: React's dev Flight
8
+ * server tracks every live promise in an async-hook Map whose debug chains
9
+ * reach the request, so any promise reachable from the request is never
10
+ * collected and never leaves that Map (TIM-1589).
11
+ *
12
+ * So server code never calls `signal.addEventListener('abort', …)` itself
13
+ * (tests/abort-listener-discipline.test.ts enforces it): {@link onAbortUntil}
14
+ * takes the end of the listener's scope as a required argument, which makes
15
+ * a listener without a removal unwritable.
16
+ */
17
+ /**
18
+ * Call `onAbort` if `signal` aborts before the scope `until` ends. If
19
+ * `signal` has already aborted, `onAbort` runs now.
20
+ *
21
+ * `until` is the scope: a promise (the listener is removed when it fulfills
22
+ * or rejects, a microtask later) or an `AbortSignal` (removed synchronously
23
+ * when it aborts; use one when an abort later in the same tick must not
24
+ * fire, as after a timeout's `cancel()`).
25
+ */
26
+ export declare function onAbortUntil(signal: AbortSignal | undefined, onAbort: () => void, until: PromiseLike<unknown> | AbortSignal): void;
27
+ //# sourceMappingURL=abort-scope.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"abort-scope.d.ts","sourceRoot":"","sources":["../../src/server/abort-scope.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,WAAW,GAAG,SAAS,EAC/B,OAAO,EAAE,MAAM,IAAI,EACnB,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,WAAW,GACxC,IAAI,CAkBN"}
@@ -1 +1 @@
1
-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;;;GAQG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAkBtE"}
@@ -1,6 +1,6 @@
1
1
  import { A as getSpanId, C as isRedirectSignal, E as addSpanEvent, F as withSpan, S as isDenySignal, T as isDevMode, j as getTraceId, w as isDebug } from "../_chunks/logger-CbLdcy-W.js";
2
2
  import { t as formatSize } from "../_chunks/format-BKclgVbk.js";
3
- import { _ as getHeaders, a as parseFormData, c as deny, d as waitUntil, i as coerce, l as redirect, n as revalidatePath, p as getCookieJar, r as revalidateTag, u as redirectExternal, y as getSegmentParams } from "../_chunks/actions-BwkmAYXq.js";
3
+ import { _ as getHeaders, a as parseFormData, c as deny, d as waitUntil, i as coerce, l as redirect, n as revalidatePath, p as getCookieJar, r as revalidateTag, u as redirectExternal, y as getSegmentParams } from "../_chunks/actions-BDqn4Oxj.js";
4
4
  //#region src/shared/redirect-type.ts
5
5
  /**
6
6
  * Next.js redirect type discriminator.
@@ -40,6 +40,7 @@ interface InstrumentationModule {
40
40
  onRequestError?: InstrumentationOnRequestError;
41
41
  logger?: TimberLogger;
42
42
  }
43
+ type InstrumentationLoader = () => Promise<InstrumentationModule | null>;
43
44
  /**
44
45
  * Load and initialize the user's instrumentation.ts module.
45
46
  *
@@ -50,7 +51,7 @@ interface InstrumentationModule {
50
51
  * @param loader - Function that dynamically imports the user's instrumentation module.
51
52
  * Returns null if no instrumentation.ts exists.
52
53
  */
53
- export declare function loadInstrumentation(loader: () => Promise<InstrumentationModule | null>): Promise<void>;
54
+ export declare function loadInstrumentation(loader: InstrumentationLoader): Promise<void>;
54
55
  /**
55
56
  * Call the user's onRequestError hook. Catches and logs any errors thrown
56
57
  * by the hook itself — it must not affect the response.
@@ -1 +1 @@
1
- {"version":3,"file":"instrumentation.d.ts","sourceRoot":"","sources":["../../src/server/instrumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAa,KAAK,YAAY,EAAE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AK,EAAE,OAAO,EACd,OAAO,EAAE,0BAA0B,EACnC,OAAO,EAAE,2BAA2B,GACnC,OAAO,CAAC,IAAI,CAAC,CAOf;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAE3C;AAED;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,IAAI,CAI3C"}
@@ -39,7 +39,7 @@ export { handleRouteRequest, resolveAllowedMethods } from './route-handler.ts';
39
39
  export type { RouteModule, RouteHandler, HttpMethod } from './route-handler.ts';
40
40
  export { RenderTimeoutError } from './render-timeout.ts';
41
41
  export type { RenderTimeout } from './render-timeout.ts';
42
- export { __prebuilt, __prebuiltDev, getPrebuiltRegistration, getPrebuiltRegistry, } from './prebuilt-runtime.ts';
42
+ export { __prebuilt, getPrebuiltRegistration, getPrebuiltRegistry } from './prebuilt-runtime.ts';
43
43
  export type { PrebuiltComponentOptions, PrebuiltRegistration } from './prebuilt-runtime.ts';
44
44
  export { setPrebuiltPayloadSource, hasPrebuiltPayloadSource } from './prebuilt/payload-source.ts';
45
45
  export type { PrebuiltManifest, PrebuiltManifestEntry, PrebuiltPayloadSource, } from './prebuilt/payload-source.ts';
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../src/server/internal.ts"],"names":[],"mappings":"AAcA,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAGrE,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAG7D,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,YAAY,EACV,cAAc,EACd,UAAU,EACV,YAAY,EACZ,aAAa,EACb,iB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