@timber-js/app 0.2.0-alpha.145 → 0.2.0-alpha.147

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 (183) hide show
  1. package/dist/_chunks/{actions-DzFMnUAR.js → actions-OIZ8siQu.js} +28 -43
  2. package/dist/_chunks/actions-OIZ8siQu.js.map +1 -0
  3. package/dist/_chunks/{cli-schema-sync-DH-M8Poy.js → cli-schema-sync-CBiMEtqa.js} +1 -1
  4. package/dist/_chunks/{cli-schema-sync-D2IpXicg.js → cli-schema-sync-CQaxupHv.js} +47 -54
  5. package/dist/_chunks/cli-schema-sync-CQaxupHv.js.map +1 -0
  6. package/dist/_chunks/{handler-store-DjISKYEB.js → handler-store-BVDgyTh7.js} +26 -2
  7. package/dist/_chunks/handler-store-BVDgyTh7.js.map +1 -0
  8. package/dist/_chunks/{href-validation-EZktELp8.js → href-validation-DyZIzfMJ.js} +18 -2
  9. package/dist/_chunks/{href-validation-EZktELp8.js.map → href-validation-DyZIzfMJ.js.map} +1 -1
  10. package/dist/_chunks/{navigation-root-DLc4s4ZC.js → navigation-root-bUDZLw74.js} +23 -2
  11. package/dist/_chunks/navigation-root-bUDZLw74.js.map +1 -0
  12. package/dist/_chunks/tracing-M_zKubhk.js.map +1 -1
  13. package/dist/_chunks/{walkers-7FBPM-hX.js → walkers-Ck4Y45XN.js} +49 -8
  14. package/dist/_chunks/walkers-Ck4Y45XN.js.map +1 -0
  15. package/dist/adapters/cloudflare.d.ts +1 -15
  16. package/dist/adapters/cloudflare.d.ts.map +1 -1
  17. package/dist/adapters/cloudflare.js +10 -28
  18. package/dist/adapters/cloudflare.js.map +1 -1
  19. package/dist/adapters/compress-module.d.ts.map +1 -1
  20. package/dist/adapters/nitro.d.ts.map +1 -1
  21. package/dist/adapters/nitro.js +18 -5
  22. package/dist/adapters/nitro.js.map +1 -1
  23. package/dist/cache/index.js +39 -12
  24. package/dist/cache/index.js.map +1 -1
  25. package/dist/cache/redis-handler.d.ts +72 -8
  26. package/dist/cache/redis-handler.d.ts.map +1 -1
  27. package/dist/cache/stable-stringify.d.ts +9 -0
  28. package/dist/cache/stable-stringify.d.ts.map +1 -1
  29. package/dist/cache/timber-cache.d.ts +3 -1
  30. package/dist/cache/timber-cache.d.ts.map +1 -1
  31. package/dist/cli.js +1 -1
  32. package/dist/client/browser-entry/action-dispatch.d.ts.map +1 -1
  33. package/dist/client/browser-entry/router-init.d.ts.map +1 -1
  34. package/dist/client/browser-entry/scroll.d.ts +9 -0
  35. package/dist/client/browser-entry/scroll.d.ts.map +1 -1
  36. package/dist/client/error-boundary.d.ts.map +1 -1
  37. package/dist/client/error-boundary.js +24 -10
  38. package/dist/client/error-boundary.js.map +1 -1
  39. package/dist/client/error-reconstituter.d.ts +8 -1
  40. package/dist/client/error-reconstituter.d.ts.map +1 -1
  41. package/dist/client/index.js +3 -3
  42. package/dist/client/index.js.map +1 -1
  43. package/dist/client/internal.js +99 -24
  44. package/dist/client/internal.js.map +1 -1
  45. package/dist/client/link.d.ts.map +1 -1
  46. package/dist/client/navigation-api.d.ts.map +1 -1
  47. package/dist/client/navigation-root.d.ts +13 -0
  48. package/dist/client/navigation-root.d.ts.map +1 -1
  49. package/dist/client/router.d.ts +7 -0
  50. package/dist/client/router.d.ts.map +1 -1
  51. package/dist/client/rsc-fetch.d.ts.map +1 -1
  52. package/dist/dev-tools/404-page.d.ts +6 -2
  53. package/dist/dev-tools/404-page.d.ts.map +1 -1
  54. package/dist/dev-tools/dev-page-shell.d.ts +77 -0
  55. package/dist/dev-tools/dev-page-shell.d.ts.map +1 -0
  56. package/dist/dev-tools/error-page.d.ts +4 -30
  57. package/dist/dev-tools/error-page.d.ts.map +1 -1
  58. package/dist/dev-tools/index.d.ts +2 -1
  59. package/dist/dev-tools/index.d.ts.map +1 -1
  60. package/dist/dev-tools/instrumentation.d.ts +11 -1
  61. package/dist/dev-tools/instrumentation.d.ts.map +1 -1
  62. package/dist/index.d.ts.map +1 -1
  63. package/dist/index.js +432 -255
  64. package/dist/index.js.map +1 -1
  65. package/dist/plugins/cache.d.ts +43 -9
  66. package/dist/plugins/cache.d.ts.map +1 -1
  67. package/dist/plugins/cloudflare-wasm.d.ts +4 -1
  68. package/dist/plugins/cloudflare-wasm.d.ts.map +1 -1
  69. package/dist/plugins/dev-server.d.ts +16 -0
  70. package/dist/plugins/dev-server.d.ts.map +1 -1
  71. package/dist/plugins/server-bundle.d.ts.map +1 -1
  72. package/dist/plugins/shims.d.ts +23 -0
  73. package/dist/plugins/shims.d.ts.map +1 -1
  74. package/dist/routing/codegen-types.d.ts +4 -0
  75. package/dist/routing/codegen-types.d.ts.map +1 -1
  76. package/dist/routing/index.js +2 -2
  77. package/dist/server/action-handler.d.ts.map +1 -1
  78. package/dist/server/actions.d.ts +3 -2
  79. package/dist/server/actions.d.ts.map +1 -1
  80. package/dist/server/cookie-context.d.ts.map +1 -1
  81. package/dist/server/cookie-parsing.d.ts.map +1 -1
  82. package/dist/server/deny-boundary.d.ts +27 -2
  83. package/dist/server/deny-boundary.d.ts.map +1 -1
  84. package/dist/server/deny-renderer.d.ts.map +1 -1
  85. package/dist/server/error-boundary-wrapper.d.ts.map +1 -1
  86. package/dist/server/fallback-error.d.ts +2 -2
  87. package/dist/server/fallback-error.d.ts.map +1 -1
  88. package/dist/server/index.js +1 -1
  89. package/dist/server/internal.js +227 -179
  90. package/dist/server/internal.js.map +1 -1
  91. package/dist/server/node-stream-transforms.d.ts +24 -6
  92. package/dist/server/node-stream-transforms.d.ts.map +1 -1
  93. package/dist/server/pipeline.d.ts +11 -0
  94. package/dist/server/pipeline.d.ts.map +1 -1
  95. package/dist/server/primitives.d.ts +1 -11
  96. package/dist/server/primitives.d.ts.map +1 -1
  97. package/dist/server/rsc-entry/error-renderer.d.ts.map +1 -1
  98. package/dist/server/rsc-entry/index.d.ts.map +1 -1
  99. package/dist/server/rsc-entry/rsc-payload.d.ts.map +1 -1
  100. package/dist/server/slot-resolver.d.ts +6 -4
  101. package/dist/server/slot-resolver.d.ts.map +1 -1
  102. package/dist/server/ssr-entry.d.ts.map +1 -1
  103. package/dist/server/status-code-resolver.d.ts +6 -0
  104. package/dist/server/status-code-resolver.d.ts.map +1 -1
  105. package/dist/server/tracing.d.ts +2 -1
  106. package/dist/server/tracing.d.ts.map +1 -1
  107. package/dist/server/utils/mdx-file.d.ts +15 -0
  108. package/dist/server/utils/mdx-file.d.ts.map +1 -0
  109. package/dist/shared/head-header.d.ts +54 -0
  110. package/dist/shared/head-header.d.ts.map +1 -0
  111. package/dist/shared/href-validation.d.ts +11 -0
  112. package/dist/shared/href-validation.d.ts.map +1 -1
  113. package/dist/shared/redirect-type.d.ts +17 -0
  114. package/dist/shared/redirect-type.d.ts.map +1 -0
  115. package/dist/shims/headers.d.ts +52 -1
  116. package/dist/shims/headers.d.ts.map +1 -1
  117. package/dist/shims/navigation-client.d.ts +33 -11
  118. package/dist/shims/navigation-client.d.ts.map +1 -1
  119. package/package.json +11 -10
  120. package/src/adapters/cloudflare.ts +13 -47
  121. package/src/adapters/compress-module.ts +9 -3
  122. package/src/adapters/nitro.ts +9 -2
  123. package/src/cache/redis-handler.ts +77 -13
  124. package/src/cache/stable-stringify.ts +65 -2
  125. package/src/cache/timber-cache.ts +25 -13
  126. package/src/cli.ts +0 -0
  127. package/src/client/browser-entry/action-dispatch.ts +7 -2
  128. package/src/client/browser-entry/router-init.ts +2 -1
  129. package/src/client/browser-entry/scroll.ts +23 -0
  130. package/src/client/error-boundary.tsx +33 -5
  131. package/src/client/error-reconstituter.tsx +15 -1
  132. package/src/client/link.tsx +4 -1
  133. package/src/client/navigation-api.ts +5 -1
  134. package/src/client/navigation-root.tsx +16 -0
  135. package/src/client/router.ts +107 -29
  136. package/src/client/rsc-fetch.ts +6 -6
  137. package/src/dev-tools/404-page.ts +22 -123
  138. package/src/dev-tools/dev-page-shell.ts +256 -0
  139. package/src/dev-tools/error-page.ts +27 -203
  140. package/src/dev-tools/index.ts +7 -1
  141. package/src/dev-tools/instrumentation.ts +39 -2
  142. package/src/index.ts +1 -0
  143. package/src/plugins/cache.ts +79 -21
  144. package/src/plugins/cloudflare-wasm.ts +48 -10
  145. package/src/plugins/dev-server.ts +32 -8
  146. package/src/plugins/server-bundle.ts +25 -9
  147. package/src/plugins/shims.ts +94 -52
  148. package/src/routing/codegen-types.ts +4 -0
  149. package/src/routing/codegen.ts +63 -6
  150. package/src/routing/scanner.ts +80 -63
  151. package/src/server/action-handler.ts +10 -2
  152. package/src/server/actions.ts +3 -2
  153. package/src/server/compress.ts +11 -2
  154. package/src/server/cookie-context.ts +11 -0
  155. package/src/server/cookie-parsing.ts +16 -4
  156. package/src/server/deny-boundary.ts +106 -13
  157. package/src/server/deny-renderer.ts +40 -10
  158. package/src/server/error-boundary-wrapper.ts +1 -14
  159. package/src/server/fallback-error.ts +9 -4
  160. package/src/server/node-stream-transforms.ts +61 -24
  161. package/src/server/pipeline.ts +12 -0
  162. package/src/server/primitives.ts +10 -31
  163. package/src/server/route-matcher.ts +22 -6
  164. package/src/server/rsc-entry/error-renderer.ts +1 -12
  165. package/src/server/rsc-entry/index.ts +7 -2
  166. package/src/server/rsc-entry/rsc-payload.ts +4 -3
  167. package/src/server/slot-resolver.ts +27 -14
  168. package/src/server/ssr-entry.ts +17 -28
  169. package/src/server/status-code-resolver.ts +3 -2
  170. package/src/server/tracing.ts +17 -1
  171. package/src/server/tree-match.ts +15 -5
  172. package/src/server/utils/mdx-file.ts +22 -0
  173. package/src/shared/head-header.ts +69 -0
  174. package/src/shared/href-validation.ts +24 -0
  175. package/src/shared/redirect-type.ts +17 -0
  176. package/src/shims/headers.ts +119 -2
  177. package/src/shims/navigation-client.ts +48 -27
  178. package/LICENSE +0 -8
  179. package/dist/_chunks/actions-DzFMnUAR.js.map +0 -1
  180. package/dist/_chunks/cli-schema-sync-D2IpXicg.js.map +0 -1
  181. package/dist/_chunks/handler-store-DjISKYEB.js.map +0 -1
  182. package/dist/_chunks/navigation-root-DLc4s4ZC.js.map +0 -1
  183. package/dist/_chunks/walkers-7FBPM-hX.js.map +0 -1
@@ -17,7 +17,7 @@
17
17
  * All chunks stay in C++ Node.js stream buffers until the final
18
18
  * Readable.toWeb() conversion for the Response body.
19
19
  */
20
- import { Transform } from 'node:stream';
20
+ import { PassThrough, Transform, type Readable } from 'node:stream';
21
21
  import { SUFFIX_BYTES } from './html-injector-core.js';
22
22
  export interface NodeBufferedTransformOptions {
23
23
  /**
@@ -91,13 +91,31 @@ export interface NodeFlightInjectorOptions {
91
91
  */
92
92
  export declare function createNodeFlightInjector(rscStream: ReadableStream<Uint8Array> | undefined, options?: NodeFlightInjectorOptions): Transform;
93
93
  /**
94
- * Node.js Transform that catches post-shell streaming errors.
94
+ * Run the Node SSR post-processing pipeline with post-shell error handling.
95
95
  *
96
- * Equivalent to wrapStreamWithErrorHandling() in ssr-render.ts.
97
- * Catches errors from React's streaming phase (deny/throw inside Suspense
98
- * after the shell has flushed) and closes the stream cleanly.
96
+ * Equivalent to wrapStreamWithErrorHandling() in ssr-render.ts: when the
97
+ * stream errors after the shell has flushed (deny/throw inside Suspense,
98
+ * an RSC read timeout in the flight injector, or an upstream Fizz error),
99
+ * the response closes cleanly with a trailing noindex script instead of
100
+ * aborting the connection mid-body. Abort errors (client disconnect,
101
+ * render-timeout abort) close the output silently — no noindex, no log.
102
+ *
103
+ * Why this is a pump function and not a Transform stage (TIM-1019):
104
+ * stream.promises.pipeline() destroys every stage in the chain when any
105
+ * stage errors, so a Transform *inside* the pipeline can never append
106
+ * bytes after a failure — by the time its 'error' listener fires, the
107
+ * transform and everything downstream are already destroyed and push()/
108
+ * end() are no-ops. The output PassThrough therefore lives OUTSIDE the
109
+ * pipeline() call: the last stage pipes into it (pipe() ends the output
110
+ * on upstream success but leaves it open on upstream error), and the
111
+ * pipeline's rejection handler appends the noindex script.
112
+ *
113
+ * Consumer cancellation (e.g. Readable.toWeb() cancel on client
114
+ * disconnect) is wired back into the pipeline via an AbortSignal so the
115
+ * source and all stages are torn down — the teardown that membership in
116
+ * pipeline() used to provide.
99
117
  */
100
- export declare function createNodeErrorHandler(signal?: AbortSignal): Transform;
118
+ export declare function runNodePipelineWithErrorHandling(source: Readable, transforms: readonly [Transform, ...Transform[]], signal?: AbortSignal): PassThrough;
101
119
  /**
102
120
  * Create a Node.js gzip Transform using native node:zlib.
103
121
  *
@@ -1 +1 @@
1
- {"version":3,"file":"node-stream-transforms.d.ts","sourceRoot":"","sources":["../../src/server/node-stream-transforms.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,OAAO,EAGL,YAAY,EAOb,MAAM,yBAAyB,CAAC;AAMjC,MAAM,WAAW,4BAA4B;IAC3C;;;;OAIG;IACH,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC;CACvC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,GAAE,4BAAiC,GAAG,SAAS,CA2BjG;AAID;;;;;;;GAOG;AACH,wBAAgB,6BAA6B,IAAI,SAAS,CAoBzD;AAGD,OAAO,EAAE,YAAY,EAAE,CAAC;AAIxB;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,CA2BlE;AAID;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iEAAiE;IACjE,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,EACjD,OAAO,CAAC,EAAE,yBAAyB,GAClC,SAAS,CA6DX;AAOD;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,CAAC,EAAE,WAAW,GAAG,SAAS,CAwBtE;AAmBD;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W,GACnB,WAAW,CAgCb;AAmBD;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CACtC,cAAc,EAAE,OAAO,EACvB,eAAe,EAAE,OAAO,GACvB,SAAS,GAAG,IAAI,CA8BlB"}
@@ -150,6 +150,17 @@ export interface PipelineConfig {
150
150
  env: string | null;
151
151
  stack: unknown[] | null;
152
152
  }>) => void;
153
+ /**
154
+ * HMR connection options for dev-only HTML pages (dev 404 page, fallback
155
+ * error page) — set by the dev server after the RSC entry module is
156
+ * imported, like `devPipelineErrorHandler`. The RSC environment can't
157
+ * read the Vite server config (separate module graph), so the dev server
158
+ * plumbs the resolved HMR endpoint (protocol/host/port/path/token) here
159
+ * for the pages' auto-reload WebSocket. See TIM-1067.
160
+ *
161
+ * Undefined in production — zero overhead.
162
+ */
163
+ devHmrOptions?: import('../dev-tools/dev-page-shell.js').DevErrorHmrOptions;
153
164
  /**
154
165
  * Fallback error renderer — called when a catastrophic error escapes the
155
166
  * render phase. Produces an HTML Response instead of a bare empty 500.
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../src/server/pipeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAY3D,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAS9D;;;;;;;;GAQG;AACH,MAAM,WAAW,UAAU;IACzB,mDAAmD;IACnD,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAChC,sEAAsE;IACtE,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC;IACjD;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAA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AAM,EAAE,cAAc,GAAG,CAAC,GAAG,EAAE,OAAO,KAAK,OAAO,CAAC,QAAQ,CAAC,CAmK1F"}
@@ -60,17 +60,7 @@ export declare function deny(statusOrOptions?: number | DenyOptions, data?: Json
60
60
  * @internal
61
61
  */
62
62
  export declare function notFound(): never;
63
- /**
64
- * Next.js redirect type discriminator.
65
- *
66
- * Provided for API compatibility with libraries that import `RedirectType`
67
- * from `next/navigation`. In timber, `redirect()` always uses `replace`
68
- * semantics (no history entry for the redirect itself).
69
- */
70
- export declare const RedirectType: {
71
- readonly push: "push";
72
- readonly replace: "replace";
73
- };
63
+ export { RedirectType } from '../shared/redirect-type.js';
74
64
  /**
75
65
  * Render-phase signal thrown by `redirect()` and `redirectExternal()`.
76
66
  * Caught by the framework to produce a 3xx response or client-side navigation.
@@ -1 +1 @@
1
- {"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../src/server/primitives.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AASnD;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,SAAS,GAAG,MAAM,GAAG,IAAI,CA8DhF;AAsBD;;;GAGG;AACH,qBAAa,UAAW,SAAQ,KAAK;IACnC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,gBAAgB,GAAG,SAAS,CAAC;gBAEhC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,gBAAgB;IAOnD;;;;OAIG;IACH,IAAI,UAAU,IAAI,MAAM,GAAG,SAAS,CAqBnC;CACF;AAED,qDAAqD;AACrD,MAAM,WAAW,WAAW;IAC1B,mDAAmD;IACnD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uEAAuE;IACvE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wFAAwF;IACxF,IAAI,CAAC,EAAE,gBAAgB,CAAC;CACzB;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Aa,cAAe,SAAQ,KAAK;aAGrB,KAAK,EAAE,OAAO;gBAD9B,OAAO,EAAE,MAAM,EACC,KAAK,EAAE,OAAO;CAKjC"}
@@ -1 +1 @@
1
- {"version":3,"file":"error-renderer.d.ts","sourceRoot":"","sources":["../../../src/server/rsc-entry/error-renderer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAKH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAGlE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAYvD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAsHD;;;;;;GAMG;AACH,wBAAsB,eAAe,CACnC,KAAK,EAAE,OAAO,EACd,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,mBAAmB,EAAE,EAC/B,gBAAgB,EAAE,WAAW,EAAE,EAC/B,GAAG,EAAE,OAAO,EACZ,KAAK,EAAE,UAAU,EACjB,eAAe,EAAE,OAAO,EACxB,eAAe,EAAE,qBAAqB,EACtC,WAAW,CAAC,EAAE,eAAe,GAC5B,OAAO,CAAC,QAAQ,CAAC,CAwCnB;AAqID;;;;;;GAMG;AACH,wBAAsB,iBAAiB,CACrC,GAAG,EAAE,OAAO,EACZ,WAAW,EAAE,mBAAmB,EAChC,eAAe,EAAE,OAAO,EACxB,eAAe,EAAE,qBAAqB,GACrC,OAAO,CAAC,QAAQ,CAAC,CAuCnB"}
1
+ {"version":3,"file":"error-renderer.d.ts","sourceRoot":"","sources":["../../../src/server/rsc-entry/error-renderer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAKH,OAAO,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AAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,QAAA,MAAiB,QAAQ,qCAGxB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,gBAAkB,CAAC;AAE9C,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/server/rsc-entry/index.ts"],"names":[],"mappings":"AAuBA,OAAO,uCAAuC,CAAC;AAqB/C,OAAO,KAAK,EAAuB,cAAc,EAAc,MAAM,gBAAgB,CAAC;AAoCtF;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,GAAG,IAAI,CAE5E;AAsWD,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAInE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,QAAA,MAAiB,QAAQ,qCAGxB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,gBAAkB,CAAC;AAE9C,eAAe,QAAQ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"rsc-payload.d.ts","sourceRoot":"","sources":["../../../src/server/rsc-entry/rsc-payload.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,KAAK,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACrF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAQ/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD;;;;;;;;GAQG;AACH,wBAAsB,uBAAuB,CAC3C,GAAG,EAAE,OAAO,EACZ,SAAS,EAAE,cAAc,CAAC,UAAU,CAAC,EACrC,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,mBAAmB,EAAE,EAC/B,gBAAgB,EAAE,oBAAoB,EAAE,EACxC,YAAY,EAAE,WAAW,EAAE,EAC3B,KAAK,EAAE,UAAU,EACjB,eAAe,EAAE,OAAO,EACxB,eAAe,CAAC,EAAE,MAAM,EAAE,GACzB,OAAO,CAAC,QAAQ,CAAC,CAqKnB"}
1
+ {"version":3,"file":"rsc-payload.d.ts","sourceRoot":"","sources":["../../../src/server/rsc-entry/rsc-payload.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjD,OAAO,KAAK,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACrF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAQ/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD;;;;;;;;GAQG;AACH,wBAAsB,uBAAuB,CAC3C,GAAG,EAAE,OAAO,EACZ,SAAS,EAAE,cAAc,CAAC,UAAU,CAAC,EACrC,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,mBAAmB,EAAE,EAC/B,gBAAgB,EAAE,oBAAoB,EAAE,EACxC,YAAY,EAAE,WAAW,EAAE,EAC3B,KAAK,EAAE,UAAU,EACjB,eAAe,EAAE,OAAO,EACxB,eAAe,CAAC,EAAE,MAAM,EAAE,GACzB,OAAO,CAAC,QAAQ,CAAC,CAqKnB"}
@@ -24,10 +24,12 @@ type CreateElementFn = (...args: unknown[]) => React.ReactElement;
24
24
  * Finds a matching page in the slot's sub-tree for the current route.
25
25
  * Falls back to default.tsx if no match, or null if no default.
26
26
  *
27
- * When a match is found, the element is wrapped with:
28
- * 1. Error boundaries from each segment in the slot's matched chain
29
- * 2. Layouts from each segment in the slot's matched chain
30
- * 3. SlotAccessGate if the slot root has access.ts
27
+ * When a match is found, the element is wrapped per segment in the slot's
28
+ * matched chain with (innermost → outermost):
29
+ * 1. Error boundaries
30
+ * 2. Layout
31
+ * 3. SlotAccessGate if the segment has access.ts (gate OUTSIDE the layout,
32
+ * so a denied layout never executes — see TIM-1074)
31
33
  */
32
34
  export declare function resolveSlotElement(slotNode: ManifestSegmentNode, match: RouteMatch, h: CreateElementFn, interception?: InterceptionContext, parentTreePath?: string): Promise<React.ReactElement | null>;
33
35
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"slot-resolver.d.ts","sourceRoot":"","sources":["../../src/server/slot-resolver.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAQH,OAAO,KAAK,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAK9D,KAAK,eAAe,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,KAAK,CAAC,YAAY,CAAC;AAgClE;;;;;;;;;;GAUG;AACH,wBAAsB,kBAAkB,CACtC,QAAQ,EAAE,mBAAmB,EAC7B,KAAK,EAAE,UAAU,EACjB,CAAC,EAAE,eAAe,EAClB,YAAY,CAAC,EAAE,mBAAmB,EAClC,cAAc,CAAC,EAAE,MAAM,GACtB,OAAO,CAAC,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC,CAgHpC"}
1
+ {"version":3,"file":"slot-resolver.d.ts","sourceRoot":"","sources":["../../src/server/slot-resolver.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAQH,OAAO,KAAK,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAK9D,KAAK,eAAe,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,KAAK,CAAC,YAAY,CAAC;AAgClE;;;;;;;;;;;;GAYG;AACH,wBAAsB,kBAAkB,CACtC,QAAQ,EAAE,mBAAmB,EAC7B,KAAK,EAAE,UAAU,EACjB,CAAC,EAAE,eAAe,EAClB,YAAY,CAAC,EAAE,mBAAmB,EAClC,cAAc,CAAC,EAAE,MAAM,GACtB,OAAO,CAAC,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC,CAqHpC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ssr-entry.d.ts","sourceRoot":"","sources":["../../src/server/ssr-entry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAOH,OAAO,uCAAuC,CAAC;AA4B/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAsDxD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,SAAS,CAC7B,SAAS,EAAE,cAAc,CAAC,UAAU,CAAC,EACrC,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,QAAQ,CAAC,CAuMnB;AAED,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"ssr-entry.d.ts","sourceRoot":"","sources":["../../src/server/ssr-entry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAOH,OAAO,uCAAuC,CAAC;AA4B/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAiDxD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,SAAS,CAC7B,SAAS,EAAE,cAAc,CAAC,UAAU,CAAC,EACrC,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,QAAQ,CAAC,CAiMnB;AAED,eAAe,SAAS,CAAC"}
@@ -58,6 +58,12 @@ export interface SlotDeniedResolution<TFile> {
58
58
  /** How the file was matched. */
59
59
  kind: SlotDeniedKind;
60
60
  }
61
+ /**
62
+ * Maps legacy file convention names to their corresponding HTTP status codes.
63
+ * Only used in the 4xx component fallback chain. Exported so the in-tree
64
+ * deny chain (deny-boundary.ts) uses the same mapping — see TIM-1081.
65
+ */
66
+ export declare const LEGACY_FILE_TO_STATUS: Record<string, number>;
61
67
  /**
62
68
  * Resolve the status-code file to render for a given HTTP status code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,iBAAiB,CAAC,KAAK,EACrC,QAAQ,EAAE,WAAW,CAAC,KAAK,CAAC,GAC3B,oBAAoB,CAAC,KAAK,CAAC,GAAG,IAAI,CAYpC"}
@@ -56,7 +56,8 @@ export declare function getTraceStore(): TraceStore | undefined;
56
56
  * our DevSpanProcessor alongside theirs. If no SDK is configured,
57
57
  * we create a BasicTracerProvider with our processor.
58
58
  *
59
- * Only called in dev mode — zero overhead in production.
59
+ * Idempotent across module re-evaluations (HMR) — only the first call
60
+ * registers. Only called in dev mode — zero overhead in production.
60
61
  */
61
62
  export declare function initDevTracing(config: import('../dev-tools/logger.js').DevLoggerConfig): Promise<void>;
62
63
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"tracing.d.ts","sourceRoot":"","sources":["../../src/server/tracing.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EAAY,KAAK,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG9D,YAAY,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAIpD;;;;;;;GAOG;AACH,wBAAgB,UAAU,IAAI,MAAM,CASnC;AAED;;GAEG;AACH,wBAAgB,SAAS,IAAI,MAAM,GAAG,SAAS,CAE9C;AAID;;;GAGG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,GAAG,CAAC,CAE5D;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAM3E;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAKhE;AAED;;;GAGG;AACH,wBAAgB,aAAa,IAAI,UAAU,GAAG,SAAS,CAEtD;AAID;;;;;;;;;GASG;AACH,wBAAsB,cAAc,CAClC,MAAM,EAA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AChC,IAAI,EAAE,MAAM,EACZ,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,GACrD,OAAO,CAAC,IAAI,CAAC,CAQf;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,MAAM,EACZ,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,GACrD,IAAI,CASN;AAED;;;GAGG;AACH,wBAAsB,cAAc,IAAI,OAAO,CAAC;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAAC,CAc/F"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * MDX file-path detection shared by error/deny rendering paths.
3
+ *
4
+ * MDX status and error files are server components — they cannot be passed
5
+ * as function props across the RSC→client boundary (e.g. to
6
+ * TimberErrorBoundary or ErrorReconstituter) and must be pre-rendered as
7
+ * elements with plain props instead.
8
+ *
9
+ * See design/10-error-handling.md §"Status-Code File Variants".
10
+ */
11
+ /**
12
+ * Check if a file path ends with an MDX/markdown extension.
13
+ */
14
+ export declare function isMdxFilePath(filePath: string): boolean;
15
+ //# sourceMappingURL=mdx-file.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mdx-file.d.ts","sourceRoot":"","sources":["../../../src/server/utils/mdx-file.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAKH;;GAEG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAIvD"}
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Shared encode/decode for the X-Timber-Head response header.
3
+ *
4
+ * Head elements (title, meta, link) are forwarded to the client as a JSON
5
+ * payload in a response header on both the navigation path (RSC payload
6
+ * responses) and the action-revalidation path. HTTP header values must be
7
+ * ByteStrings — any character above U+00FF (em dash, curly quotes, emoji,
8
+ * CJK) makes `new Response(...)` throw. Percent-encoding via
9
+ * encodeURIComponent keeps the value ASCII-safe.
10
+ *
11
+ * This module is the single source of truth for the wire format. Both
12
+ * server emit sites (rsc-entry/rsc-payload.ts, action-handler.ts) and both
13
+ * client parse sites (rsc-fetch.ts, browser-entry/action-dispatch.ts) MUST
14
+ * use it — changing one side alone breaks the other. See TIM-1058.
15
+ *
16
+ * Isomorphic: no server or client imports allowed here.
17
+ *
18
+ * See design/16-metadata.md and design/08-forms-and-actions.md.
19
+ */
20
+ /** Header name for resolved head elements. */
21
+ export declare const HEAD_HEADER = "X-Timber-Head";
22
+ /**
23
+ * Maximum encoded payload size in characters (ASCII after encoding, so
24
+ * characters === bytes). Headers aren't meant for unbounded payloads;
25
+ * oversized head metadata is skipped rather than truncated — the client
26
+ * keeps its current head, which degrades gracefully.
27
+ */
28
+ export declare const HEAD_HEADER_MAX_LENGTH = 4096;
29
+ /**
30
+ * A rendered head element descriptor — the structural shape on the wire.
31
+ * Matches the server's `HeadElement` (route-element-builder.ts); the client
32
+ * narrows `tag` to 'title' | 'meta' | 'link' when applying to the DOM.
33
+ */
34
+ export interface HeadElementPayload {
35
+ tag: string;
36
+ content?: string;
37
+ attrs?: Record<string, string | null>;
38
+ }
39
+ /**
40
+ * Encode head elements for the X-Timber-Head header.
41
+ *
42
+ * Returns the percent-encoded JSON string, or null when the encoded
43
+ * payload exceeds HEAD_HEADER_MAX_LENGTH (caller skips the header).
44
+ */
45
+ export declare function encodeHeadHeader(headElements: HeadElementPayload[]): string | null;
46
+ /**
47
+ * Decode an X-Timber-Head header value back into head elements.
48
+ *
49
+ * Returns null when the value is missing or malformed (corrupted
50
+ * percent-encoding or invalid JSON) — callers treat null as "no head
51
+ * update" rather than failing the navigation or action.
52
+ */
53
+ export declare function decodeHeadHeader(header: string | null): HeadElementPayload[] | null;
54
+ //# sourceMappingURL=head-header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"head-header.d.ts","sourceRoot":"","sources":["../../src/shared/head-header.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,8CAA8C;AAC9C,eAAO,MAAM,WAAW,kBAAkB,CAAC;AAE3C;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,OAAO,CAAC;AAE3C;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC,CAAC;CACvC;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,YAAY,EAAE,kBAAkB,EAAE,GAAG,MAAM,GAAG,IAAI,CAGlF;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,kBAAkB,EAAE,GAAG,IAAI,CAQnF"}
@@ -25,6 +25,17 @@ export declare function validateNavigationHref(href: string): void;
25
25
  * correctly identified as having a scheme (and thus not internal).
26
26
  */
27
27
  export declare function isInternalHref(href: string): boolean;
28
+ /**
29
+ * Assert that a redirect target is a relative path — rejects absolute and
30
+ * protocol-relative URLs. Used by both the server `redirect()` primitive and
31
+ * the client next/navigation shim so they enforce identical semantics.
32
+ *
33
+ * Normalizes for validation only: strips C0 controls, trims, then replaces
34
+ * backslashes with forward slashes. Browsers normalize \ → / during URL
35
+ * resolution, so "/\evil.com" becomes "//evil.com" (protocol-relative open
36
+ * redirect). See design/13-security.md tests #8, #8a–#8c.
37
+ */
38
+ export declare function assertRelativeRedirectPath(path: string): void;
28
39
  /**
29
40
  * Validate and canonicalize an external redirect URL.
30
41
  *
@@ -1 +1 @@
1
- {"version":3,"file":"href-validation.d.ts","sourceRoot":"","sources":["../../src/shared/href-validation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAuBH;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAqBzD;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAUpD;AAID;;;;;;;;GAQG;AACH,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,MAAM,CAiCpF"}
1
+ {"version":3,"file":"href-validation.d.ts","sourceRoot":"","sources":["../../src/shared/href-validation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAuBH;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAqBzD;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAUpD;AAKD;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAS7D;AAID;;;;;;;;GAQG;AACH,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,MAAM,CAiCpF"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Next.js redirect type discriminator.
3
+ *
4
+ * Provided for API compatibility with libraries that import `RedirectType`
5
+ * from `next/navigation`. In timber, `redirect()` always uses `replace`
6
+ * semantics (no history entry for the redirect itself).
7
+ *
8
+ * Lives in shared/ (isomorphic) so both the server primitives and the
9
+ * client-only next/navigation shim export the same definition without the
10
+ * client shim pulling in server code.
11
+ */
12
+ export declare const RedirectType: {
13
+ readonly push: "push";
14
+ readonly replace: "replace";
15
+ };
16
+ export type RedirectTypeValue = (typeof RedirectType)[keyof typeof RedirectType];
17
+ //# sourceMappingURL=redirect-type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redirect-type.d.ts","sourceRoot":"","sources":["../../src/shared/redirect-type.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC"}
@@ -4,7 +4,58 @@
4
4
  * Imports from @timber-js/app/server which Vite resolves to dist/server/index.js
5
5
  * via native package.json exports. This ensures the same ALS singleton as the
6
6
  * pipeline (both import from the same shared request-context chunk in dist/).
7
+ *
8
+ * `cookies()` is NOT a bare alias of `getCookieJar()`: Next.js's
9
+ * RequestCookies returns `{ name, value }` RequestCookie objects from
10
+ * `.get()`/`.getAll()`, while timber's native jar returns bare strings from
11
+ * `.get()`. Ecosystem libraries written against the real API use
12
+ * `(await cookies()).get('session')?.value` — with the bare-string shape
13
+ * that silently reads `undefined` off a string. The adapter below presents
14
+ * the Next shape while delegating every operation to the timber jar, so the
15
+ * encoding contract, cookie-octet validation, and mutable-context checks
16
+ * (design/29-cookies.md, ONGOING_SECURITY.md H-3) apply unchanged.
17
+ * See TIM-1042 and design/14-ecosystem.md §next/headers.
7
18
  */
19
+ import type { CookieOptions, SetCookieOptions } from '@timber-js/app/server';
8
20
  export { getHeaders, getCookieJar } from '@timber-js/app/server';
9
- export { getHeaders as headers, getCookieJar as cookies } from '@timber-js/app/server';
21
+ export { getHeaders as headers } from '@timber-js/app/server';
22
+ /** Next.js's request cookie shape: `cookies().get(name)` → `{ name, value }`. */
23
+ export interface RequestCookie {
24
+ name: string;
25
+ value: string;
26
+ }
27
+ /** Next.js's `cookies().set()` options — `expires` may be a ms timestamp. */
28
+ export interface NextCookieOptions extends Omit<SetCookieOptions, 'expires'> {
29
+ expires?: Date | number;
30
+ }
31
+ /** Next.js's object overload for `cookies().set({ name, value, ...options })`. */
32
+ export interface NextCookieListItem extends NextCookieOptions {
33
+ name: string;
34
+ value: string;
35
+ }
36
+ /** Next.js's RequestCookies surface, backed by timber's cookie jar. */
37
+ export interface NextRequestCookies {
38
+ get(name: string): RequestCookie | undefined;
39
+ get(cookie: RequestCookie): RequestCookie | undefined;
40
+ getAll(name?: string): RequestCookie[];
41
+ getAll(cookie: RequestCookie): RequestCookie[];
42
+ has(name: string): boolean;
43
+ readonly size: number;
44
+ set(name: string, value: string, options?: NextCookieOptions): void;
45
+ set(cookie: NextCookieListItem): void;
46
+ delete(name: string): void;
47
+ delete(cookie: {
48
+ name: string;
49
+ } & Pick<CookieOptions, 'path' | 'domain'>): void;
50
+ [Symbol.iterator](): IterableIterator<[string, RequestCookie]>;
51
+ toString(): string;
52
+ }
53
+ /**
54
+ * Next.js compat: `cookies()` returning the RequestCookies shape.
55
+ *
56
+ * Next.js 15 makes `cookies()` async; awaiting this sync return value works
57
+ * for both the `(await cookies()).get()` and legacy `cookies().get()` call
58
+ * styles, so libraries targeting either Next version resolve correctly.
59
+ */
60
+ export declare function cookies(): NextRequestCookies;
10
61
  //# sourceMappingURL=headers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"headers.d.ts","sourceRoot":"","sources":["../../src/shims/headers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAGjE,OAAO,EAAE,UAAU,IAAI,OAAO,EAAE,YAAY,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAC"}
1
+ {"version":3,"file":"headers.d.ts","sourceRoot":"","sources":["../../src/shims/headers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAG7E,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAGjE,OAAO,EAAE,UAAU,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAE9D,iFAAiF;AACjF,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,6EAA6E;AAC7E,MAAM,WAAW,iBAAkB,SAAQ,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3
3
  *
4
- * Re-exports only the client-side hooks from timber's client API.
5
- * Server-only functions (redirect, notFound, etc.) are excluded to prevent
6
- * server/primitives.ts from being pulled into the browser bundle.
4
+ * Re-exports the client-side hooks from timber's client API, and implements
5
+ * client-render `redirect()` / `permanentRedirect()` / `notFound()` without
6
+ * pulling server/primitives.ts into the browser bundle.
7
+ *
8
+ * Next.js supports calling redirect()/notFound() during client component
9
+ * render. timber matches that by throwing a plain Error carrying the same
10
+ * JSON digest the server pipeline attaches to RedirectSignal/DenySignal.
11
+ * TimberErrorBoundary recognizes the digest and converts it to an SPA
12
+ * navigation (redirect) or a status-code fallback (notFound), and
13
+ * browser-dev's isFrameworkSignalError() keeps it out of the dev overlay.
7
14
  *
8
15
  * The full shim (navigation.ts) is still used in the RSC and SSR environments
9
- * where both client hooks and server functions are needed.
16
+ * where the real server primitives produce proper HTTP responses.
10
17
  *
11
18
  * Imports use @timber-js/app/client (not #/ subpath imports) so they resolve
12
19
  * to the same module instances as user code in Vite dev — preventing module
@@ -15,14 +22,29 @@
15
22
  *
16
23
  * See design/14-ecosystem.md §"next/navigation" for the full shim audit.
17
24
  */
18
- export { useSegmentParams } from '../client/use-segment-params.js';
25
+ import type { RedirectTypeValue } from '../shared/redirect-type.js';
26
+ export { useSegmentParams, useSegmentParams as useParams } from '../client/use-segment-params.js';
19
27
  export { useSearchParams } from '../client/use-search-params.js';
20
28
  export { usePathname, useRouter, useSelectedLayoutSegment, useSelectedLayoutSegments, } from '@timber-js/app/client';
21
- export declare const RedirectType: {
22
- readonly push: "push";
23
- readonly replace: "replace";
24
- };
25
- export declare function redirect(): never;
26
- export declare function permanentRedirect(): never;
29
+ export { RedirectType } from '../shared/redirect-type.js';
30
+ /**
31
+ * Client-render redirect. Throws a redirect-digest error that the nearest
32
+ * TimberErrorBoundary converts into an SPA navigation (replace semantics).
33
+ *
34
+ * The optional RedirectType argument is accepted for Next.js API
35
+ * compatibility but ignored — timber always uses replace semantics,
36
+ * matching the server-side redirect().
37
+ */
38
+ export declare function redirect(path: string, _type?: RedirectTypeValue): never;
39
+ /**
40
+ * Client-render permanent redirect. On the client there is no HTTP status —
41
+ * this behaves identically to redirect() apart from the digest's status.
42
+ */
43
+ export declare function permanentRedirect(path: string, _type?: RedirectTypeValue): never;
44
+ /**
45
+ * Client-render notFound. Throws a deny-digest error (status 404) that the
46
+ * nearest matching TimberErrorBoundary renders as the 404 fallback. The
47
+ * message matches DenySignal's so digest-less fallback parsing still works.
48
+ */
27
49
  export declare function notFound(): never;
28
50
  //# sourceMappingURL=navigation-client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"navigation-client.d.ts","sourceRoot":"","sources":["../../src/shims/navigation-client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EACL,WAAW,EACX,SAAS,EACT,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,uBAAuB,CAAC;AAI/B,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAKX,wBAAgB,QAAQ,IAAI,KAAK,CAKhC;AAED,wBAAgB,iBAAiB,IAAI,KAAK,CAKzC;AAED,wBAAgB,QAAQ,IAAI,KAAK,CAIhC"}
1
+ {"version":3,"file":"navigation-client.d.ts","sourceRoot":"","sources":["../../src/shims/navigation-client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAIpE,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,IAAI,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAClG,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EACL,WAAW,EACX,SAAS,EACT,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAS1D;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,iBAAiB,GAAG,KAAK,CAGvE;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,iBAAiB,GAAG,KAAK,CAGhF;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,IAAI,KAAK,CAEhC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timber-js/app",
3
- "version": "0.2.0-alpha.145",
3
+ "version": "0.2.0-alpha.147",
4
4
  "description": "Vite-native React framework built for Servers and Serverless Platforms — correct HTTP semantics, real status codes, pages that work without JavaScript",
5
5
  "keywords": [
6
6
  "cloudflare-workers",
@@ -114,12 +114,17 @@
114
114
  "publishConfig": {
115
115
  "access": "public"
116
116
  },
117
+ "scripts": {
118
+ "build": "vite build --config vite.lib.config.ts && tsc --emitDeclarationOnly --project tsconfig.json --outDir dist",
119
+ "typecheck": "tsgo --noEmit",
120
+ "prepublishOnly": "pnpm run build"
121
+ },
117
122
  "dependencies": {
118
123
  "@opentelemetry/api": "^1.9.1",
119
124
  "@opentelemetry/context-async-hooks": "^2.7.1",
120
125
  "@opentelemetry/sdk-trace-base": "^2.7.1",
121
126
  "magic-string": "^0.30.21",
122
- "nitro": "3.0.260522-beta"
127
+ "nitro": "3.0.260603-beta"
123
128
  },
124
129
  "peerDependencies": {
125
130
  "@content-collections/core": "^0.14.0",
@@ -129,9 +134,9 @@
129
134
  "@vitejs/plugin-react": "^6.0.0",
130
135
  "@vitejs/plugin-rsc": ">=0.5.27",
131
136
  "nuqs": "^2.0.0",
132
- "react": ">=19.2.6",
133
- "react-dom": ">=19.2.6",
134
- "vite": "^8.0.13",
137
+ "react": "19.2.7",
138
+ "react-dom": "19.2.7",
139
+ "vite": "^8.0.16",
135
140
  "wrangler": "^4.0.0",
136
141
  "zod": "^3.22.0 || ^4.0.0"
137
142
  },
@@ -157,9 +162,5 @@
157
162
  },
158
163
  "engines": {
159
164
  "node": ">=22.12.0"
160
- },
161
- "scripts": {
162
- "build": "vite build --config vite.lib.config.ts && tsc --emitDeclarationOnly --project tsconfig.json --outDir dist",
163
- "typecheck": "tsgo --noEmit"
164
165
  }
165
- }
166
+ }