@timber-js/app 0.2.0-alpha.221 → 0.2.0-alpha.223
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/agent-skill.md +21 -5
- package/dist/_chunks/{actions-BDqn4Oxj.js → actions-7dTXYJfu.js} +53 -24
- package/dist/_chunks/actions-7dTXYJfu.js.map +1 -0
- package/dist/_chunks/{als-registry-BZqHCtq-.js → als-registry-DpygwCp0.js} +2 -3
- package/dist/_chunks/{als-registry-BZqHCtq-.js.map → als-registry-DpygwCp0.js.map} +1 -1
- package/dist/_chunks/{als-slots-BEEIPKYm.js → als-slots-kbQrHTzm.js} +2 -3
- package/dist/_chunks/{als-slots-BEEIPKYm.js.map → als-slots-kbQrHTzm.js.map} +1 -1
- package/dist/_chunks/{base-path-DaQrzbez.js → base-path-DDIx0FXe.js} +2 -3
- package/dist/_chunks/{base-path-DaQrzbez.js.map → base-path-DDIx0FXe.js.map} +1 -1
- package/dist/_chunks/{build-manifest-DWppEdLB.js → build-manifest-Y4jl7nwU.js} +2 -3
- package/dist/_chunks/{build-manifest-DWppEdLB.js.map → build-manifest-Y4jl7nwU.js.map} +1 -1
- package/dist/_chunks/{build-output-helper-RV_BRcF1.js → build-output-helper-B7wWGTfR.js} +14 -10
- package/dist/_chunks/build-output-helper-B7wWGTfR.js.map +1 -0
- package/dist/_chunks/{cache-api-GE4AOe2H.js → cache-api-TDZ4hlDc.js} +237 -37
- package/dist/_chunks/cache-api-TDZ4hlDc.js.map +1 -0
- package/dist/_chunks/{canonicalize-BAWkWiKK.js → canonicalize-CqK135BN.js} +29 -4
- package/dist/_chunks/{canonicalize-BAWkWiKK.js.map → canonicalize-CqK135BN.js.map} +1 -1
- package/dist/_chunks/chains-CwOr3Myj.js +1 -0
- package/dist/_chunks/{chains-e_Buf9vg.js → chains-Dgm3PrMe.js} +3 -4
- package/dist/_chunks/{chains-e_Buf9vg.js.map → chains-Dgm3PrMe.js.map} +1 -1
- package/dist/_chunks/{classify-2Yp3xJY1.js → classify--_kINHQV.js} +4 -5
- package/dist/_chunks/{classify-2Yp3xJY1.js.map → classify--_kINHQV.js.map} +1 -1
- package/dist/_chunks/{cli-check-DDwCkeDY.js → cli-check-Dv3f8d2j.js} +5 -6
- package/dist/_chunks/{cli-check-DDwCkeDY.js.map → cli-check-Dv3f8d2j.js.map} +1 -1
- package/dist/_chunks/{cli-context-_mPttGGY.js → cli-context-CbZp32SK.js} +3 -4
- package/dist/_chunks/{cli-context-_mPttGGY.js.map → cli-context-CbZp32SK.js.map} +1 -1
- package/dist/_chunks/cli-context-n5hmkdla.js +1 -0
- package/dist/_chunks/cli-dev-status-prPMLU8G.js +138 -0
- package/dist/_chunks/cli-dev-status-prPMLU8G.js.map +1 -0
- package/dist/_chunks/cli-init-BoXOYYil.js +196 -0
- package/dist/_chunks/cli-init-BoXOYYil.js.map +1 -0
- package/dist/_chunks/{cli-schema-sync-BdIebmk3.js → cli-schema-sync-DIPurq7X.js} +4 -5
- package/dist/_chunks/{cli-schema-sync-BdIebmk3.js.map → cli-schema-sync-DIPurq7X.js.map} +1 -1
- package/dist/_chunks/{cli-schema-sync-CLNfXQDK.js → cli-schema-sync-uq72EZmD.js} +1 -1
- package/dist/_chunks/{client-dep-entries-BOkpKjj1.js → client-dep-entries-CP7AkMCM.js} +4 -5
- package/dist/_chunks/{client-dep-entries-BOkpKjj1.js.map → client-dep-entries-CP7AkMCM.js.map} +1 -1
- package/dist/_chunks/{cloudflare-Byxl8FWP.js → cloudflare-B75X6u4O.js} +10 -13
- package/dist/_chunks/{cloudflare-Byxl8FWP.js.map → cloudflare-B75X6u4O.js.map} +1 -1
- package/dist/_chunks/{codec-registry-oOUxugz3.js → codec-registry-CPc6bjVl.js} +2 -3
- package/dist/_chunks/{codec-registry-oOUxugz3.js.map → codec-registry-CPc6bjVl.js.map} +1 -1
- package/dist/_chunks/{codegen-Bps1sLKJ.js → codegen-B9oWkWGf.js} +5 -8
- package/dist/_chunks/{codegen-Bps1sLKJ.js.map → codegen-B9oWkWGf.js.map} +1 -1
- package/dist/_chunks/{convention-lint-ByKJ6aqD.js → convention-lint-hZwz5wd4.js} +8 -11
- package/dist/_chunks/{convention-lint-ByKJ6aqD.js.map → convention-lint-hZwz5wd4.js.map} +1 -1
- package/dist/_chunks/dev-discovery-YnabkCKD.js +238 -0
- package/dist/_chunks/dev-discovery-YnabkCKD.js.map +1 -0
- package/dist/_chunks/{dev-server-DIy-SY-J.js → dev-server-C61GWpGg.js} +409 -51
- package/dist/_chunks/dev-server-C61GWpGg.js.map +1 -0
- package/dist/_chunks/dev-server-CBvvM7Lr.js +1 -0
- package/dist/_chunks/{dev-store-BOa304m_.js → dev-store-BvdqtHvK.js} +82 -38
- package/dist/_chunks/dev-store-BvdqtHvK.js.map +1 -0
- package/dist/_chunks/{dist-DtrJyBbw.js → dist-C1Rjlo6s.js} +3 -5
- package/dist/_chunks/{dist-DtrJyBbw.js.map → dist-C1Rjlo6s.js.map} +1 -1
- package/dist/_chunks/{error-boundary-Bc8QPZuq.js → error-boundary-DRQXGWCp.js} +20 -27
- package/dist/_chunks/{error-boundary-Bc8QPZuq.js.map → error-boundary-DRQXGWCp.js.map} +1 -1
- package/dist/_chunks/{fast-hash-C-tVYrLb.js → fast-hash-DddxkU5Y.js} +2 -3
- package/dist/_chunks/{fast-hash-C-tVYrLb.js.map → fast-hash-DddxkU5Y.js.map} +1 -1
- package/dist/_chunks/{flight-source-node-HptmGMT8.js → flight-source-node-0Tp6evlz.js} +6 -8
- package/dist/_chunks/flight-source-node-0Tp6evlz.js.map +1 -0
- package/dist/_chunks/{format-BKclgVbk.js → format-DuPOoXUP.js} +2 -3
- package/dist/_chunks/{format-BKclgVbk.js.map → format-DuPOoXUP.js.map} +1 -1
- package/dist/_chunks/{fs-identity-BRKuL215.js → fs-identity-BmQ_Agg-.js} +3 -5
- package/dist/_chunks/{fs-identity-BRKuL215.js.map → fs-identity-BmQ_Agg-.js.map} +1 -1
- package/dist/_chunks/global-context-DbxNWeBP.js +47 -0
- package/dist/_chunks/global-context-DbxNWeBP.js.map +1 -0
- package/dist/_chunks/{graph-cache-CYiUS2aS.js → graph-cache-B1LAg4t7.js} +5 -89
- package/dist/_chunks/graph-cache-B1LAg4t7.js.map +1 -0
- package/dist/_chunks/{href-validation-BIrxavIy.js → href-validation-CEZy1V-k.js} +4 -7
- package/dist/_chunks/{href-validation-BIrxavIy.js.map → href-validation-CEZy1V-k.js.map} +1 -1
- package/dist/_chunks/{json-lossy-check-C8zBY2uZ.js → json-lossy-check-DVkLUlfC.js} +3 -4
- package/dist/_chunks/{json-lossy-check-C8zBY2uZ.js.map → json-lossy-check-DVkLUlfC.js.map} +1 -1
- package/dist/_chunks/{live-graph-tSWrv8eH.js → live-graph-BcVjQ1Te.js} +6 -7
- package/dist/_chunks/{live-graph-tSWrv8eH.js.map → live-graph-BcVjQ1Te.js.map} +1 -1
- package/dist/_chunks/{logger-CbLdcy-W.js → logger-CWk44DLp.js} +97 -47
- package/dist/_chunks/logger-CWk44DLp.js.map +1 -0
- package/dist/_chunks/{metadata-routes-B3XJNyIH.js → metadata-routes-BL26HCDd.js} +2 -3
- package/dist/_chunks/{metadata-routes-B3XJNyIH.js.map → metadata-routes-BL26HCDd.js.map} +1 -1
- package/dist/_chunks/{navigation-root-BQfo1-kG.js → navigation-root-M3B2ZrdO.js} +6 -10
- package/dist/_chunks/{navigation-root-BQfo1-kG.js.map → navigation-root-M3B2ZrdO.js.map} +1 -1
- package/dist/_chunks/{node-response-rkQqcFGq.js → node-response-B9aviPDa.js} +43 -9
- package/dist/_chunks/node-response-B9aviPDa.js.map +1 -0
- package/dist/_chunks/{param-value-C8TNYchQ.js → param-value-DqlGfF57.js} +2 -3
- package/dist/_chunks/{param-value-C8TNYchQ.js.map → param-value-DqlGfF57.js.map} +1 -1
- package/dist/_chunks/{plugin-context-uDHFqHHJ.js → plugin-context-BfSRKJfz.js} +1 -1
- package/dist/_chunks/{plugin-context-DxMMvjUt.js → plugin-context-FCkaNLUB.js} +4 -6
- package/dist/_chunks/plugin-context-FCkaNLUB.js.map +1 -0
- package/dist/_chunks/{poison-rules-DoEhbqaY.js → poison-rules-Bmz-lCPi.js} +2 -3
- package/dist/_chunks/{poison-rules-DoEhbqaY.js.map → poison-rules-Bmz-lCPi.js.map} +1 -1
- package/dist/_chunks/{poison-scan-C4FgMxFl.js → poison-scan-DJYxZc_7.js} +4 -5
- package/dist/_chunks/{poison-scan-C4FgMxFl.js.map → poison-scan-DJYxZc_7.js.map} +1 -1
- package/dist/_chunks/{purge-store-WZaxu-3m.js → purge-store-8BqLAYZ1.js} +2 -3
- package/dist/_chunks/{purge-store-WZaxu-3m.js.map → purge-store-8BqLAYZ1.js.map} +1 -1
- package/dist/_chunks/{render-timeout-joFhz4KH.js → render-timeout-MrrqD1wd.js} +20 -4
- package/dist/_chunks/{render-timeout-joFhz4KH.js.map → render-timeout-MrrqD1wd.js.map} +1 -1
- package/dist/_chunks/{resolve-schema-CBR6Lm4i.js → resolve-schema-B-aCuTu3.js} +3 -4
- package/dist/_chunks/{resolve-schema-CBR6Lm4i.js.map → resolve-schema-B-aCuTu3.js.map} +1 -1
- package/dist/_chunks/{rsc-cache-key-ClUiXQnK.js → rsc-cache-key-D0cb0Gmc.js} +2 -3
- package/dist/_chunks/{rsc-cache-key-ClUiXQnK.js.map → rsc-cache-key-D0cb0Gmc.js.map} +1 -1
- package/dist/_chunks/{rsc-media-type-DDc7duTD.js → rsc-media-type-m8jz9u6_.js} +2 -3
- package/dist/_chunks/{rsc-media-type-DDc7duTD.js.map → rsc-media-type-m8jz9u6_.js.map} +1 -1
- package/dist/_chunks/{rsc-payload-path-dffcs4jp.js → rsc-payload-path-EphpDB-J.js} +2 -3
- package/dist/_chunks/{rsc-payload-path-dffcs4jp.js.map → rsc-payload-path-EphpDB-J.js.map} +1 -1
- package/dist/_chunks/{scan-BoP17W3w.js → scan-CyizcBiX.js} +2 -3
- package/dist/_chunks/{scan-BoP17W3w.js.map → scan-CyizcBiX.js.map} +1 -1
- package/dist/_chunks/{scanner-Cb3fSjAC.js → scanner-CJC-ScJU.js} +15 -23
- package/dist/_chunks/{scanner-Cb3fSjAC.js.map → scanner-CJC-ScJU.js.map} +1 -1
- package/dist/_chunks/{schema-bridge-C83xa9lT.js → schema-bridge-DyRs3cqy.js} +61 -25
- package/dist/_chunks/schema-bridge-DyRs3cqy.js.map +1 -0
- package/dist/_chunks/{segment-classify-C539Pa2O.js → segment-classify-Ho8jXWeC.js} +3 -5
- package/dist/_chunks/{segment-classify-C539Pa2O.js.map → segment-classify-Ho8jXWeC.js.map} +1 -1
- package/dist/_chunks/{segment-context-xtPUGfdq.js → segment-context-CYiGTi3K.js} +6 -12
- package/dist/_chunks/segment-context-CYiGTi3K.js.map +1 -0
- package/dist/_chunks/{segment-keys-D5hu1hz4.js → segment-keys-Y60KNc8C.js} +2 -3
- package/dist/_chunks/{segment-keys-D5hu1hz4.js.map → segment-keys-Y60KNc8C.js.map} +1 -1
- package/dist/_chunks/{singleflight-BeVMMKi0.js → singleflight-BChPMjwH.js} +2 -3
- package/dist/_chunks/{singleflight-BeVMMKi0.js.map → singleflight-BChPMjwH.js.map} +1 -1
- package/dist/_chunks/{sizeof-QPE5nd3u.js → sizeof-DG4W40lv.js} +3 -4
- package/dist/_chunks/{sizeof-QPE5nd3u.js.map → sizeof-DG4W40lv.js.map} +1 -1
- package/dist/_chunks/{ssr-data-nA3I70_n.js → ssr-data-9hPtcNOr.js} +3 -4
- package/dist/_chunks/{ssr-data-nA3I70_n.js.map → ssr-data-9hPtcNOr.js.map} +1 -1
- package/dist/_chunks/{state-BhNGPsdi.js → state-B-EBjeER.js} +2 -3
- package/dist/_chunks/{state-BhNGPsdi.js.map → state-B-EBjeER.js.map} +1 -1
- package/dist/_chunks/{status-page-marker-BRX9Ib-d.js → status-page-marker-XIQXlTOb.js} +8 -13
- package/dist/_chunks/{status-page-marker-BRX9Ib-d.js.map → status-page-marker-XIQXlTOb.js.map} +1 -1
- package/dist/_chunks/{tree-match-6yihorhk.js → tree-match-Bqdr9szG.js} +2 -3
- package/dist/_chunks/{tree-match-6yihorhk.js.map → tree-match-Bqdr9szG.js.map} +1 -1
- package/dist/_chunks/{use-query-states-I3JMng6J.js → use-query-states-pkDV-jSg.js} +4 -7
- package/dist/_chunks/{use-query-states-I3JMng6J.js.map → use-query-states-pkDV-jSg.js.map} +1 -1
- package/dist/_chunks/{walkers-qu8TpiLh.js → walkers-DIE203ir.js} +6 -8
- package/dist/_chunks/{walkers-qu8TpiLh.js.map → walkers-DIE203ir.js.map} +1 -1
- package/dist/_chunks/{write-file-atomic-D1qWqHb4.js → write-file-atomic-DW8m_Atv.js} +2 -3
- package/dist/_chunks/{write-file-atomic-D1qWqHb4.js.map → write-file-atomic-DW8m_Atv.js.map} +1 -1
- package/dist/adapters/build-output-helper.d.ts +10 -1
- package/dist/adapters/build-output-helper.d.ts.map +1 -1
- package/dist/adapters/cloudflare-dev.js +2 -3
- package/dist/adapters/cloudflare-kv-cache.js +3 -4
- package/dist/adapters/cloudflare.d.ts.map +1 -1
- package/dist/adapters/cloudflare.js +1 -1
- package/dist/adapters/nitro-presets.d.ts +6 -0
- package/dist/adapters/nitro-presets.d.ts.map +1 -1
- package/dist/adapters/nitro-preview.d.ts.map +1 -1
- package/dist/adapters/nitro.d.ts.map +1 -1
- package/dist/adapters/nitro.js +94 -57
- package/dist/adapters/nitro.js.map +1 -1
- package/dist/analyze/crawl-entry.js +7 -9
- package/dist/analyze/crawl-entry.js.map +1 -1
- package/dist/analyze/graph-command.d.ts.map +1 -1
- package/dist/analyze/graph-command.js +19 -105
- package/dist/analyze/graph-command.js.map +1 -1
- package/dist/cache/guarded-read.d.ts +29 -0
- package/dist/cache/guarded-read.d.ts.map +1 -0
- package/dist/cache/index.js +3 -3
- package/dist/cache/key-discipline.d.ts +61 -0
- package/dist/cache/key-discipline.d.ts.map +1 -0
- package/dist/cache/stores/cloudflare-kv.js +1 -2
- package/dist/cache/stores/memory.js +2 -3
- package/dist/cache/stores/redis.js +1 -2
- package/dist/cache/stores/vercel.js +1 -2
- package/dist/cache/timber-cache.d.ts +5 -1
- package/dist/cache/timber-cache.d.ts.map +1 -1
- package/dist/cdn/cloudflare-purge.js +1 -2
- package/dist/cdn/fastly-purge.js +1 -2
- package/dist/cdn/index.js +2 -3
- package/dist/cdn/workers-cache-purge.js +3 -5
- package/dist/cdn/workers-cache-purge.js.map +1 -1
- package/dist/cli-dev-status.d.ts +75 -0
- package/dist/cli-dev-status.d.ts.map +1 -0
- package/dist/cli-init.d.ts +72 -0
- package/dist/cli-init.d.ts.map +1 -0
- package/dist/cli.d.ts +4 -12
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +27 -54
- package/dist/cli.js.map +1 -1
- package/dist/client/error-boundary.d.ts.map +1 -1
- package/dist/client/error-boundary.js +1 -1
- package/dist/client/global-context.d.ts +21 -1
- package/dist/client/global-context.d.ts.map +1 -1
- package/dist/client/index.js +23 -44
- package/dist/client/index.js.map +1 -1
- package/dist/client/internal.js +13 -18
- package/dist/client/internal.js.map +1 -1
- package/dist/client/navigation-context.d.ts.map +1 -1
- package/dist/client/params-context.d.ts.map +1 -1
- package/dist/client/slot-context.d.ts +2 -2
- package/dist/client/slot-context.d.ts.map +1 -1
- package/dist/client/use-cookie.d.ts +18 -5
- package/dist/client/use-cookie.d.ts.map +1 -1
- package/dist/codec.js +2 -3
- package/dist/config-types.d.ts +22 -5
- package/dist/config-types.d.ts.map +1 -1
- package/dist/config-validation.d.ts.map +1 -1
- package/dist/cookies/define-cookie.d.ts.map +1 -1
- package/dist/cookies/index.js +40 -67
- package/dist/cookies/index.js.map +1 -1
- package/dist/cookies/json-cookie.d.ts +4 -4
- package/dist/index.js +266 -229
- package/dist/index.js.map +1 -1
- package/dist/params/index.js +3 -4
- package/dist/plugin-context.d.ts +7 -0
- package/dist/plugin-context.d.ts.map +1 -1
- package/dist/plugins/dev-discovery.d.ts +69 -5
- package/dist/plugins/dev-discovery.d.ts.map +1 -1
- package/dist/plugins/dev-hostname.d.ts +152 -0
- package/dist/plugins/dev-hostname.d.ts.map +1 -0
- package/dist/plugins/dev-server.d.ts +6 -2
- package/dist/plugins/dev-server.d.ts.map +1 -1
- package/dist/plugins/dev-store-clear.d.ts +83 -0
- package/dist/plugins/dev-store-clear.d.ts.map +1 -0
- package/dist/plugins/graph-endpoint.d.ts +4 -2
- package/dist/plugins/graph-endpoint.d.ts.map +1 -1
- package/dist/plugins/prebuilt.d.ts.map +1 -1
- package/dist/routing/index.js +4 -4
- package/dist/rsc-runtime/rsc.d.ts +2 -1
- package/dist/rsc-runtime/rsc.d.ts.map +1 -1
- package/dist/rsc-runtime/server-references.d.ts +8 -0
- package/dist/rsc-runtime/server-references.d.ts.map +1 -0
- package/dist/schema-bridge.d.ts +28 -19
- package/dist/schema-bridge.d.ts.map +1 -1
- package/dist/search-params/define.d.ts +1 -1
- package/dist/search-params/define.d.ts.map +1 -1
- package/dist/search-params/index.js +11 -14
- package/dist/search-params/index.js.map +1 -1
- package/dist/search-params/wrappers.d.ts +3 -3
- package/dist/server/access-gate.d.ts +12 -0
- package/dist/server/access-gate.d.ts.map +1 -1
- package/dist/server/canonicalize.d.ts +21 -0
- package/dist/server/canonicalize.d.ts.map +1 -1
- package/dist/server/cookie-context.d.ts +8 -1
- package/dist/server/cookie-context.d.ts.map +1 -1
- package/dist/server/flight-source-node.d.ts.map +1 -1
- package/dist/server/flight-source.d.ts.map +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +8 -13
- package/dist/server/index.js.map +1 -1
- package/dist/server/interception-gates.d.ts +49 -0
- package/dist/server/interception-gates.d.ts.map +1 -0
- package/dist/server/internal.js +1080 -959
- package/dist/server/internal.js.map +1 -1
- package/dist/server/logger.d.ts +26 -0
- package/dist/server/logger.d.ts.map +1 -1
- package/dist/server/param-coercion.d.ts +8 -0
- package/dist/server/param-coercion.d.ts.map +1 -1
- package/dist/server/pipeline-interception.d.ts +34 -4
- package/dist/server/pipeline-interception.d.ts.map +1 -1
- package/dist/server/pipeline-metadata-route.d.ts +24 -0
- package/dist/server/pipeline-metadata-route.d.ts.map +1 -0
- package/dist/server/pipeline-metadata.d.ts +3 -2
- package/dist/server/pipeline-metadata.d.ts.map +1 -1
- package/dist/server/pipeline-phases.d.ts +9 -3
- package/dist/server/pipeline-phases.d.ts.map +1 -1
- package/dist/server/pipeline.d.ts +18 -0
- package/dist/server/pipeline.d.ts.map +1 -1
- package/dist/server/prebuilt/dev-store.d.ts +68 -22
- package/dist/server/prebuilt/dev-store.d.ts.map +1 -1
- package/dist/server/prebuilt/overlay.d.ts +17 -3
- package/dist/server/prebuilt/overlay.d.ts.map +1 -1
- package/dist/server/prebuilt-runtime.d.ts.map +1 -1
- package/dist/server/primitives.d.ts +13 -0
- package/dist/server/primitives.d.ts.map +1 -1
- package/dist/server/render-utils.d.ts +21 -0
- package/dist/server/render-utils.d.ts.map +1 -1
- package/dist/server/request-context.d.ts +14 -0
- package/dist/server/request-context.d.ts.map +1 -1
- package/dist/server/route-element-builder.d.ts.map +1 -1
- package/dist/server/route-handler.d.ts +7 -0
- package/dist/server/route-handler.d.ts.map +1 -1
- package/dist/server/route-matcher.d.ts +14 -3
- package/dist/server/route-matcher.d.ts.map +1 -1
- package/dist/server/rsc-entry/api-handler.d.ts.map +1 -1
- package/dist/server/rsc-entry/index.d.ts.map +1 -1
- package/dist/server/rsc-entry/rsc-stream.d.ts.map +1 -1
- package/dist/server/signal-identity.d.ts +6 -0
- package/dist/server/signal-identity.d.ts.map +1 -1
- package/dist/server/traced-access.d.ts +18 -0
- package/dist/server/traced-access.d.ts.map +1 -0
- package/dist/server/tracing.d.ts.map +1 -1
- package/dist/server/types.d.ts +5 -4
- package/dist/server/types.d.ts.map +1 -1
- package/dist/shims/font-google.js +1 -2
- package/dist/shims/font-local.js +1 -2
- package/dist/shims/headers.d.ts +11 -4
- package/dist/shims/headers.d.ts.map +1 -1
- package/docs/api/30-api-server.mdx +3 -1
- package/docs/api/32-api-cache.mdx +1 -1
- package/docs/api/33-api-search-params.mdx +3 -1
- package/docs/api/34-api-config.mdx +22 -0
- package/docs/api/36-cli.mdx +72 -6
- package/docs/learn/01-quick-start.mdx +1 -1
- package/docs/learn/06-typed-params.mdx +4 -4
- package/docs/learn/10-caching.mdx +26 -5
- package/llms.txt +1 -1
- package/package.json +12 -12
- package/src/adapters/build-output-helper.ts +26 -4
- package/src/adapters/cloudflare.ts +1 -0
- package/src/adapters/nitro-presets.ts +15 -0
- package/src/adapters/nitro-preview.ts +66 -34
- package/src/adapters/nitro.ts +14 -6
- package/src/analyze/graph-command.ts +25 -133
- package/src/cache/guarded-read.ts +44 -0
- package/src/cache/key-discipline.ts +218 -0
- package/src/cache/timber-cache.ts +46 -7
- package/src/cli-dev-status.ts +196 -0
- package/src/cli-init.ts +278 -0
- package/src/cli.ts +33 -79
- package/src/client/error-boundary.tsx +19 -2
- package/src/client/global-context.ts +42 -14
- package/src/client/navigation-context.ts +4 -11
- package/src/client/params-context.ts +5 -17
- package/src/client/segment-update-context.ts +1 -1
- package/src/client/slot-content-cache-context.ts +1 -1
- package/src/client/slot-context.ts +6 -17
- package/src/client/use-cookie.ts +33 -21
- package/src/config-types.ts +22 -5
- package/src/config-validation.ts +17 -0
- package/src/cookies/define-cookie.ts +10 -46
- package/src/cookies/json-cookie.ts +4 -4
- package/src/plugin-context.ts +7 -0
- package/src/plugins/dev-discovery.ts +216 -6
- package/src/plugins/dev-hostname.ts +322 -0
- package/src/plugins/dev-server.ts +130 -37
- package/src/plugins/dev-store-clear.ts +145 -0
- package/src/plugins/graph-endpoint.ts +15 -3
- package/src/plugins/prebuilt.ts +9 -0
- package/src/rsc-runtime/rsc.ts +7 -3
- package/src/rsc-runtime/server-references.ts +73 -0
- package/src/rsc-runtime/vendor-types.d.ts +17 -0
- package/src/schema-bridge.ts +93 -38
- package/src/search-params/define.ts +5 -6
- package/src/search-params/wrappers.ts +3 -3
- package/src/server/access-gate.tsx +32 -20
- package/src/server/action-handler.ts +58 -36
- package/src/server/canonicalize.ts +27 -0
- package/src/server/cookie-context.ts +11 -3
- package/src/server/flight-source-node.ts +5 -2
- package/src/server/flight-source.ts +4 -3
- package/src/server/index.ts +6 -1
- package/src/server/interception-gates.ts +94 -0
- package/src/server/logger.ts +32 -0
- package/src/server/param-coercion.ts +22 -0
- package/src/server/pipeline-interception.ts +64 -4
- package/src/server/pipeline-metadata-route.ts +242 -0
- package/src/server/pipeline-metadata.ts +7 -5
- package/src/server/pipeline-phases.ts +71 -131
- package/src/server/pipeline.ts +20 -2
- package/src/server/prebuilt/dev-store.ts +113 -34
- package/src/server/prebuilt/overlay.ts +32 -4
- package/src/server/prebuilt-runtime.ts +63 -45
- package/src/server/primitives.ts +14 -0
- package/src/server/render-utils.ts +25 -0
- package/src/server/request-context.ts +27 -3
- package/src/server/route-element-builder.ts +15 -2
- package/src/server/route-handler.ts +3 -2
- package/src/server/route-matcher.ts +48 -33
- package/src/server/rsc-entry/api-handler.ts +2 -33
- package/src/server/rsc-entry/index.ts +8 -3
- package/src/server/rsc-entry/rsc-stream.ts +7 -1
- package/src/server/signal-identity.ts +30 -12
- package/src/server/traced-access.ts +50 -0
- package/src/server/tracing.ts +18 -1
- package/src/server/types.ts +5 -4
- package/src/shims/headers.ts +12 -4
- package/dist/_chunks/actions-BDqn4Oxj.js.map +0 -1
- package/dist/_chunks/build-output-helper-RV_BRcF1.js.map +0 -1
- package/dist/_chunks/cache-api-GE4AOe2H.js.map +0 -1
- package/dist/_chunks/chains-CDK1AWZQ.js +0 -1
- package/dist/_chunks/cli-context-BJQB6rtF.js +0 -1
- package/dist/_chunks/dev-server-BiWNMBVU.js +0 -1
- package/dist/_chunks/dev-server-DIy-SY-J.js.map +0 -1
- package/dist/_chunks/dev-store-BOa304m_.js.map +0 -1
- package/dist/_chunks/flight-source-node-HptmGMT8.js.map +0 -1
- package/dist/_chunks/graph-cache-CYiUS2aS.js.map +0 -1
- package/dist/_chunks/logger-CbLdcy-W.js.map +0 -1
- package/dist/_chunks/node-response-rkQqcFGq.js.map +0 -1
- package/dist/_chunks/plugin-context-DxMMvjUt.js.map +0 -1
- package/dist/_chunks/schema-bridge-C83xa9lT.js.map +0 -1
- package/dist/_chunks/segment-context-xtPUGfdq.js.map +0 -1
- package/dist/server/prebuilt/key-discipline.d.ts +0 -52
- package/dist/server/prebuilt/key-discipline.d.ts.map +0 -1
- package/src/server/prebuilt/key-discipline.ts +0 -122
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route-handler.d.ts","sourceRoot":"","sources":["../../src/server/route-handler.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAQ/C,+DAA+D;AAC/D,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;AAE1F,2DAA2D;AAC3D,MAAM,MAAM,YAAY,GAAG,CAAC,GAAG,EAAE,YAAY,KAAK,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAE/E,wEAAwE;AACxE,MAAM,MAAM,WAAW,GAAG;KACvB,CAAC,IAAI,UAAU,CAAC,CAAC,EAAE,YAAY;CACjC,CAAC;AAOF;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,WAAW,GAAG,UAAU,EAAE,CAyBpE;AAID;;;;;GAKG;AACH,wBAAsB,kBAAkB,CAAC,GAAG,EAAE,WAAW,EAAE,GAAG,EAAE,YAAY,GAAG,OAAO,CAAC,QAAQ,CAAC,CAyC/F"}
|
|
1
|
+
{"version":3,"file":"route-handler.d.ts","sourceRoot":"","sources":["../../src/server/route-handler.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAQ/C,+DAA+D;AAC/D,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;AAE1F,2DAA2D;AAC3D,MAAM,MAAM,YAAY,GAAG,CAAC,GAAG,EAAE,YAAY,KAAK,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAE/E,wEAAwE;AACxE,MAAM,MAAM,WAAW,GAAG;KACvB,CAAC,IAAI,UAAU,CAAC,CAAC,EAAE,YAAY;CACjC,CAAC;AAOF;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,WAAW,GAAG,UAAU,EAAE,CAyBpE;AAID;;;;;GAKG;AACH,wBAAsB,kBAAkB,CAAC,GAAG,EAAE,WAAW,EAAE,GAAG,EAAE,YAAY,GAAG,OAAO,CAAC,QAAQ,CAAC,CAyC/F;AAgCD;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,GAAG,QAAQ,CAqCjF"}
|
|
@@ -43,6 +43,12 @@ export interface ManifestRoot extends RouteTree<ManifestFile> {
|
|
|
43
43
|
* or null if no route matches.
|
|
44
44
|
*/
|
|
45
45
|
export declare function createRouteMatcher(manifest: ManifestRoot): (pathname: string) => RouteMatch | null;
|
|
46
|
+
/**
|
|
47
|
+
* The matched segment path of a chain — its segment names, groups and slots
|
|
48
|
+
* included — as `getSegmentParams()`'s dev-mode validation compares against.
|
|
49
|
+
* See design/41-global-params.md §Runtime Validation.
|
|
50
|
+
*/
|
|
51
|
+
export declare function matchedSegmentPath(chain: ManifestSegmentNode[]): string;
|
|
46
52
|
/**
|
|
47
53
|
* Collect middleware from a matched segment chain, root to leaf.
|
|
48
54
|
*
|
|
@@ -78,14 +84,19 @@ export interface MetadataRouteMatch {
|
|
|
78
84
|
contentType: string;
|
|
79
85
|
/** The manifest file reference for the handler module. */
|
|
80
86
|
file: ManifestFile;
|
|
81
|
-
/**
|
|
82
|
-
|
|
87
|
+
/**
|
|
88
|
+
* The segment chain from the root to the segment that owns the file, as
|
|
89
|
+
* a page's match would carry it: route groups and a zero-segment
|
|
90
|
+
* `[[...slug]]` the file sits in included. The pipeline coerces params
|
|
91
|
+
* and runs `middleware.ts` / `access.ts` over it (TIM-1609, TIM-1612).
|
|
92
|
+
*/
|
|
93
|
+
segments: ManifestSegmentNode[];
|
|
83
94
|
/**
|
|
84
95
|
* Whether this is a static file (e.g. sitemap.xml, favicon.ico, icon.png)
|
|
85
96
|
* that should be served from disk rather than executed as a handler.
|
|
86
97
|
*/
|
|
87
98
|
isStatic: boolean;
|
|
88
|
-
/**
|
|
99
|
+
/** Raw segment params from dynamic segments in the URL prefix. */
|
|
89
100
|
segmentParams: Record<string, string | string[]>;
|
|
90
101
|
}
|
|
91
102
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route-matcher.d.ts","sourceRoot":"","sources":["../../src/server/route-matcher.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAKL,KAAK,iBAAiB,EACvB,MAAM,sBAAsB,CAAC;AAY9B,6DAA6D;AAC7D,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;GAMG;AACH,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAC,YAAY,CAAC,CAAC;AAE5D;;;;;;;;GAQG;AACH,MAAM,WAAW,YAAa,SAAQ,SAAS,CAAC,YAAY,CAAC;IAC3D,QAAQ,EAAE,MAAM,C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-
{"version":3,"file":"api-handler.d.ts","sourceRoot":"","sources":["../../../src/server/rsc-entry/api-handler.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;
|
|
1
|
+
{"version":3,"file":"api-handler.d.ts","sourceRoot":"","sources":["../../../src/server/rsc-entry/api-handler.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAO/D;;;;;;;;;GASG;AACH,wBAAsB,cAAc,CAClC,GAAG,EAAE,OAAO,EACZ,QAAQ,EAAE,mBAAmB,EAAE,EAC/B,eAAe,EAAE,OAAO,GACvB,OAAO,CAAC,QAAQ,CAAC,CAYnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/server/rsc-entry/index.ts"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/server/rsc-entry/index.ts"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAqDlE;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI,CAEjD;AAoWD,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAInE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAK1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAItE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,OAAO,wBAAwB,EAAE,cAAc,GACvD,OAAO,CAAC,OAAO,wBAAwB,EAAE,cAAc,CAAC,CAE1D;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,OAAO,wBAAwB,EAAE,uBAAuB,GAChE,OAAO,CAAC,OAAO,wBAAwB,EAAE,uBAAuB,CAAC,CAQnE;8BA0CoB,OAAO,KAAK,OAAO,CAAC,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rsc-stream.d.ts","sourceRoot":"","sources":["../../../src/server/rsc-entry/rsc-stream.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAKnE,OAAO,EAAoB,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAQ3E,OAAO,EAAwB,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAG/E,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,YAAY,CAAC;IACxB,OAAO,EAAE,aAAa,CAAC;CACxB;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,cAAc,EACvB,GAAG,EAAE,OAAO,EACZ,eAAe,EAAE,MAAM,EACvB,aAAa,CAAC,EAAE,aAAa,EAAE,GAC9B,eAAe,
|
|
1
|
+
{"version":3,"file":"rsc-stream.d.ts","sourceRoot":"","sources":["../../../src/server/rsc-entry/rsc-stream.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAKnE,OAAO,EAAoB,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAQ3E,OAAO,EAAwB,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAG/E,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,YAAY,CAAC;IACxB,OAAO,EAAE,aAAa,CAAC;CACxB;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,cAAc,EACvB,GAAG,EAAE,OAAO,EACZ,eAAe,EAAE,MAAM,EACvB,aAAa,CAAC,EAAE,aAAa,EAAE,GAC9B,eAAe,CA6GjB"}
|
|
@@ -20,6 +20,12 @@ export declare function isSsrStreamError(error: unknown): error is SsrStreamErro
|
|
|
20
20
|
* See also: isFrameworkSignalError() in client/browser-dev.ts (client-only).
|
|
21
21
|
*/
|
|
22
22
|
export declare function isControlFlowSignal(error: unknown): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The HTTP status a control-flow signal answers with: a signal's own, or the
|
|
25
|
+
* one its digest carries once revived on the SSR side. `undefined` for
|
|
26
|
+
* anything that is not a signal.
|
|
27
|
+
*/
|
|
28
|
+
export declare function controlFlowStatus(error: unknown): number | undefined;
|
|
23
29
|
/**
|
|
24
30
|
* Error thrown when SSR's renderToReadableStream fails due to an error
|
|
25
31
|
* in the decoded RSC stream (e.g., uncontained slot errors).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signal-identity.d.ts","sourceRoot":"","sources":["../../src/server/signal-identity.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAqBlE,eAAO,MAAM,UAAU,EAAE,OAAO,MAAyC,CAAC;AAC1E,eAAO,MAAM,cAAc,EAAE,OAAO,MAA6C,CAAC;AAClF,QAAA,MAAM,sBAAsB,EAAE,OAAO,MAAqD,CAAC;AAM3F,mFAAmF;AACnF,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,UAAU,CAEhE;AAED,uFAAuF;AACvF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,cAAc,CAExE;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,cAAc,CAExE;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"signal-identity.d.ts","sourceRoot":"","sources":["../../src/server/signal-identity.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAqBlE,eAAO,MAAM,UAAU,EAAE,OAAO,MAAyC,CAAC;AAC1E,eAAO,MAAM,cAAc,EAAE,OAAO,MAA6C,CAAC;AAClF,QAAA,MAAM,sBAAsB,EAAE,OAAO,MAAqD,CAAC;AAM3F,mFAAmF;AACnF,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,UAAU,CAEhE;AAED,uFAAuF;AACvF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,cAAc,CAExE;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,cAAc,CAExE;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAK3D;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAIpE;AAwBD;;;;;;;;;;;;;GAaG;AACH,qBAAa,cAAe,SAAQ,KAAK;IACvC,QAAQ,CAAC,CAAC,sBAAsB,CAAC,QAAQ;IACzC,SAAkB,KAAK,EAAE,OAAO,CAAC;IAEjC,YAAY,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAI1C;CACF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The one traced call every `access.ts` executor shares: `AccessGate`, in a
|
|
3
|
+
* page render, and `runAccessChain` below, for the `route.ts` handler and
|
|
4
|
+
* metadata routes, which have no render to put a gate in
|
|
5
|
+
* (design/04-authorization.md §"Auth in API Routes", §"Auth in Metadata Routes").
|
|
6
|
+
*/
|
|
7
|
+
import type { ManifestSegmentNode } from './route-matcher.ts';
|
|
8
|
+
/**
|
|
9
|
+
* Run each segment's `access.ts`, root to leaf, outside a render. Each one
|
|
10
|
+
* is independent; a deny() or redirect() propagates as a signal.
|
|
11
|
+
*/
|
|
12
|
+
export declare function runAccessChain(segments: readonly ManifestSegmentNode[]): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Call one access function inside a `timber.access` span that records its
|
|
15
|
+
* result. Signals and errors propagate unchanged.
|
|
16
|
+
*/
|
|
17
|
+
export declare function runTracedAccess(accessFn: () => unknown, segmentName: string | undefined): Promise<void>;
|
|
18
|
+
//# sourceMappingURL=traced-access.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"traced-access.d.ts","sourceRoot":"","sources":["../../src/server/traced-access.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAK9D;;;GAGG;AACH,wBAAsB,cAAc,CAAC,QAAQ,EAAE,SAAS,mBAAmB,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAM5F;AAED;;;GAGG;AACH,wBAAsB,eAAe,CACnC,QAAQ,EAAE,MAAM,OAAO,EACvB,WAAW,EAAE,MAAM,GAAG,SAAS,GAC9B,OAAO,CAAC,IAAI,CAAC,CAkBf"}
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"tracing.d.ts","sourceRoot":"","sources":["../../src/server/tracing.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EA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CAUrF;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,QAAQ,CAAC,CAAC,EAC9B,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,EACrD,EAAE,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,GACvB,OAAO,CAAC,CAAC,CAAC,CAeZ;AAwDD;;;GAGG;AACH,wBAAsB,gBAAgB,CACpC,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAC/B,OAAO,CAAC,IAAI,CAAC,CAcf;AAED;;;GAGG;AACH,wBAAsB,YAAY,CAChC,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;;;;GAIG;AACH,wBAAsB,cAAc,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAclE"}
|
package/dist/server/types.d.ts
CHANGED
|
@@ -284,10 +284,11 @@ export declare namespace MetadataRoute {
|
|
|
284
284
|
* The value a dynamic metadata route handler may return.
|
|
285
285
|
*
|
|
286
286
|
* This is a structural union — the pipeline dispatches on the shape at
|
|
287
|
-
* request time (see `pipeline-
|
|
288
|
-
* - `Response` →
|
|
289
|
-
* Used by `icon.tsx`, `opengraph-image.tsx`,
|
|
290
|
-
* `apple-icon.tsx`.
|
|
287
|
+
* request time (see `pipeline-metadata-route.ts`):
|
|
288
|
+
* - `Response` → its status and headers as-is (e.g. `ImageResponse`,
|
|
289
|
+
* `Response.redirect()`). Used by `icon.tsx`, `opengraph-image.tsx`,
|
|
290
|
+
* `apple-icon.tsx`. An image route's body is read to the end before it
|
|
291
|
+
* is answered, so a render that fails is a 500; other routes stream it.
|
|
291
292
|
* - `string` → written as the response body verbatim. Used by `robots.ts`
|
|
292
293
|
* and by any handler that wants to emit a pre-serialized payload.
|
|
293
294
|
* - `MetadataRoute.Sitemap` → serialized via the sitemap XML writer. Used
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/server/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD;;;;;;;GAOG;AACH,MAAM,MAAM,gBAAgB,GACxB,MAAM,GACN,MAAM,GACN,OAAO,GACP,IAAI,GACJ,gBAAgB,EAAE,GAClB;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,gBAAgB,CAAA;CAAE,CAAC;AAExC,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,OAAO,CAAC;IACb,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,aAAa,CAAC;IAC7B,wEAAwE;IACxE,UAAU,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;IACzC;;;;;;;;OAQG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,OAAO,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;CAClB;AAGD,MAAM,WAAW,aAAa;CAAG;AAEjC,MAAM,WAAW,QAAQ;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG;QAAE,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,C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|
1
|
-
|
|
1
|
+
// src/shims/font-google.ts
|
|
2
2
|
/**
|
|
3
3
|
* Create a stub FontResult with empty values.
|
|
4
4
|
*
|
|
@@ -36,7 +36,6 @@ var JetBrains_Mono = (config) => createStubFontResult(config);
|
|
|
36
36
|
var Source_Code_Pro = (config) => createStubFontResult(config);
|
|
37
37
|
var Playfair_Display = (config) => createStubFontResult(config);
|
|
38
38
|
var Merriweather = (config) => createStubFontResult(config);
|
|
39
|
-
//#endregion
|
|
40
39
|
export { Geist, Geist_Mono, Inter, JetBrains_Mono, Lato, Merriweather, Montserrat, Open_Sans, Playfair_Display, Poppins, Roboto, Source_Code_Pro, createFont };
|
|
41
40
|
|
|
42
41
|
//# sourceMappingURL=font-google.js.map
|
package/dist/shims/font-local.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/shims/font-local.ts
|
|
2
2
|
/**
|
|
3
3
|
* Create a local font.
|
|
4
4
|
*
|
|
@@ -14,7 +14,6 @@ function localFont(config) {
|
|
|
14
14
|
variable: config?.variable
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
//#endregion
|
|
18
17
|
export { localFont as default };
|
|
19
18
|
|
|
20
19
|
//# sourceMappingURL=font-local.js.map
|
package/dist/shims/headers.d.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* (design/29-cookies.md, ONGOING_SECURITY.md H-3) apply unchanged.
|
|
17
17
|
* See TIM-1042 and design/14-ecosystem.md §next/headers.
|
|
18
18
|
*/
|
|
19
|
-
import type {
|
|
19
|
+
import type { CookieDeleteOptions, SetCookieOptions } from '@timber-js/app/server';
|
|
20
20
|
export { getHeaders, getCookieJar } from '@timber-js/app/server';
|
|
21
21
|
export { getHeaders as headers } from '@timber-js/app/server';
|
|
22
22
|
/** Next.js's request cookie shape: `cookies().get(name)` → `{ name, value }`. */
|
|
@@ -33,6 +33,15 @@ export interface NextCookieListItem extends NextCookieOptions {
|
|
|
33
33
|
name: string;
|
|
34
34
|
value: string;
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* Next.js's object overload for `cookies().delete({ name, ...options })` —
|
|
38
|
+
* every cookie option but `expires`, as in Next.'s `Omit<ResponseCookie, 'value' | 'expires'>`.
|
|
39
|
+
*/
|
|
40
|
+
export type NextCookieDeleteItem = {
|
|
41
|
+
name: string;
|
|
42
|
+
} & CookieDeleteOptions & {
|
|
43
|
+
maxAge?: number;
|
|
44
|
+
};
|
|
36
45
|
/** Next.js's RequestCookies surface, backed by timber's cookie jar. */
|
|
37
46
|
export interface NextRequestCookies {
|
|
38
47
|
get(name: string): RequestCookie | undefined;
|
|
@@ -44,9 +53,7 @@ export interface NextRequestCookies {
|
|
|
44
53
|
set(name: string, value: string, options?: NextCookieOptions): void;
|
|
45
54
|
set(cookie: NextCookieListItem): void;
|
|
46
55
|
delete(name: string): void;
|
|
47
|
-
delete(cookie:
|
|
48
|
-
name: string;
|
|
49
|
-
} & Pick<CookieOptions, 'path' | 'domain'>): void;
|
|
56
|
+
delete(cookie: NextCookieDeleteItem): void;
|
|
50
57
|
[Symbol.iterator](): IterableIterator<[string, RequestCookie]>;
|
|
51
58
|
toString(): string;
|
|
52
59
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headers.d.ts","sourceRoot":"","sources":["../../src/shims/headers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"headers.d.ts","sourceRoot":"","sources":["../../src/shims/headers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAGnF,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAGjE,OAAO,EAAE,UAAU,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAE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IAAI,gBAAgB,CAAC,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC;IAC/D,QAAQ,IAAI,MAAM,CAAC;CACpB;AAUD;;;;;;GAMG;AACH,wBAAgB,OAAO,IAAI,kBAAkB,CAuD5C"}
|
|
@@ -89,7 +89,9 @@ c.delete('session'); // Delete
|
|
|
89
89
|
c.clear(); // Clear all
|
|
90
90
|
```
|
|
91
91
|
|
|
92
|
-
Mutations are only allowed before the response flushes.
|
|
92
|
+
Mutations are only allowed before the response flushes. After flush, `set()` and `delete()` are dropped with a warning in debug mode, `setFromHeaders()` is dropped with a warning, and `clear()` is dropped silently.
|
|
93
|
+
|
|
94
|
+
`delete(name, options)` takes the same cookie attributes as `set()` except `maxAge` and `expires` (and not `raw`). Pass the attributes the cookie was set with. A partitioned cookie is only removed by `delete(name, { partitioned: true, ... })`, because browsers keep partitioned cookies in a separate jar. `defineCookie().delete()` does this for you, on the server and in the browser.
|
|
93
95
|
|
|
94
96
|
For typed cookies with validation and a client React hook, see [`defineCookie()`](/docs/typed-params) from `@timber-js/app/cookies`.
|
|
95
97
|
|
|
@@ -118,7 +118,7 @@ export default function Page() {
|
|
|
118
118
|
| `ttl`/`tags` only | — | Rendered + stored on first request |
|
|
119
119
|
| `prerender` + `ttl`/`tags` | Built at deploy | Rendered + stored on first request |
|
|
120
120
|
|
|
121
|
-
In dev there is no build, so a `prerender` entry renders on its first request for each set of params. It stays in memory until any file
|
|
121
|
+
In dev there is no build, so a `prerender` entry renders on its first request for each set of params. It stays in memory until you save a module it imports, directly or through other modules, or any file outside the module graph (such as a markdown file it reads with `fs`). A request with `Cache-Control: no-cache` (a hard reload) renders it again. See [Caching → In Development](/docs/caching#in-development).
|
|
122
122
|
|
|
123
123
|
### Slots
|
|
124
124
|
|
|
@@ -129,6 +129,8 @@ Compatible codecs:
|
|
|
129
129
|
|
|
130
130
|
Timber does not ship or re-export `parseAs*` parsers. Import them from [nuqs](https://nuqs.47ng.com/), which is a peer dependency; timber ships the wrappers (`withDefault`, `withUrlKey`) and the schema bridge.
|
|
131
131
|
|
|
132
|
+
Import parsers from `nuqs/server`, not `nuqs`. A search-params definition is loaded by server components, and the `nuqs` entry is marked `'use client'`, so on the server its parsers are client references: calling one throws. `nuqs/server` exports the same parsers with no directive, so it works on both sides.
|
|
133
|
+
|
|
132
134
|
nuqs checks whether a param is present before calling `parse`, so a parser's `parse` assumes a present scalar. Timber calls the parser's `parseServerSide` instead — nuqs's own adapter for the raw URL value — so every **single**-value parser is total:
|
|
133
135
|
|
|
134
136
|
| Raw value | Result |
|
|
@@ -158,7 +160,7 @@ Wrap a codec to supply a value whenever the inner codec produces none — `null`
|
|
|
158
160
|
|
|
159
161
|
```ts
|
|
160
162
|
import { withDefault } from '@timber-js/app/search-params';
|
|
161
|
-
import { parseAsInteger } from 'nuqs';
|
|
163
|
+
import { parseAsInteger } from 'nuqs/server';
|
|
162
164
|
const page = withDefault(parseAsInteger, 1); // number (never null)
|
|
163
165
|
```
|
|
164
166
|
|
|
@@ -34,6 +34,7 @@ interface TimberUserConfig {
|
|
|
34
34
|
devBrowserLogs?: 'error' | 'warn' | 'info' | 'none';
|
|
35
35
|
dev?: {
|
|
36
36
|
slowPhaseMs?: number;
|
|
37
|
+
hostname?: string | false;
|
|
37
38
|
};
|
|
38
39
|
budget?: {
|
|
39
40
|
firstLoadJs?: number;
|
|
@@ -201,6 +202,27 @@ Forward browser console output to the server terminal in dev mode. Sets the mini
|
|
|
201
202
|
|
|
202
203
|
Threshold in milliseconds to highlight slow phases in dev logging output.
|
|
203
204
|
|
|
205
|
+
### `dev.hostname`
|
|
206
|
+
|
|
207
|
+
- **Type:** `string | false`
|
|
208
|
+
- **Default:** your package.json `name`, or the app directory's name
|
|
209
|
+
|
|
210
|
+
The hostname the dev server prints and opens, as `<hostname>.localhost:<port>`. Browsers don't scope cookies by port, so every app on `localhost` shares one cookie jar, and two apps on `:3000` and `:3001` overwrite each other's sessions. Browsers resolve `*.localhost` to your machine without any setup, so giving each app its own name gives it its own cookies.
|
|
211
|
+
|
|
212
|
+
By default the name comes from package.json: `example-blog` prints `http://example-blog.localhost:3000`, and a scoped `@acme/web` prints `http://web.acme.localhost:3000`. Without a `name`, or with a generic one like `my-app`, the directory name is used. Characters a hostname can't contain become `-`.
|
|
213
|
+
|
|
214
|
+
```ts title="timber.config.ts"
|
|
215
|
+
export default {
|
|
216
|
+
dev: {
|
|
217
|
+
hostname: 'blog', // http://blog.localhost:3000
|
|
218
|
+
},
|
|
219
|
+
};
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
Set `false` to keep printing `localhost`, for example when an OAuth provider only has `http://localhost:3000` registered as a callback URL. `http://localhost:<port>` keeps working either way; only the printed and opened URL changes. An invalid name stops the dev server with an error (a production build only warns).
|
|
223
|
+
|
|
224
|
+
A second dev server for the same app keeps the same name on the next port (`blog.localhost:3001`), and the two share cookies. With `server.https`, the named URL is used only when your certificate covers it; a certificate issued for `localhost` alone keeps printing `https://localhost`. Issue it for the name too, for example `mkcert blog.localhost localhost`.
|
|
225
|
+
|
|
204
226
|
### `budget`
|
|
205
227
|
|
|
206
228
|
Build-time performance budgets. When exceeded, the build report emits a warning (does not fail the build).
|
package/docs/api/36-cli.mdx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: 'CLI'
|
|
3
|
-
description: 'timber dev, build, preview, check, graph, and init commands.'
|
|
3
|
+
description: 'timber dev, dev status, build, preview, check, graph, and init commands.'
|
|
4
4
|
slug: 'cli'
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -25,6 +25,14 @@ timber dev --config ./custom-vite.config.ts
|
|
|
25
25
|
|
|
26
26
|
Starts a Vite dev server with timber's routing, RSC pipeline, and dev tooling active. File changes trigger instant HMR. Route changes are detected automatically.
|
|
27
27
|
|
|
28
|
+
The server prints a URL named after your app, so each app gets its own cookies:
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
➜ Local: http://example-blog.localhost:3000/
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
The name comes from package.json `name` (or the directory name), and `http://localhost:3000` still works. See [`dev.hostname`](/docs/api-config#devhostname) to choose the name or turn this off. Plain `vite dev` prints the same URL.
|
|
35
|
+
|
|
28
36
|
When the requested port is available, the server shows a loading page while Vite initializes. If that port is occupied, startup continues without the loading page.
|
|
29
37
|
|
|
30
38
|
#### Port selection
|
|
@@ -46,6 +54,55 @@ An occupied port produces a notice and the server tries the next free port. Set
|
|
|
46
54
|
|
|
47
55
|
Editing `timber.config.ts` triggers a full process restart so the updated config takes effect. The dev server briefly shuts down and restarts on the same port. Changing the configured port takes effect on restart.
|
|
48
56
|
|
|
57
|
+
### `timber dev status`
|
|
58
|
+
|
|
59
|
+
List the dev servers already running for this app.
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
timber dev status
|
|
63
|
+
timber dev status --json
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Run it before starting a dev server, especially from a coding agent: if one is already running for this checkout, use its URL instead of starting a second server on the next port. A server is listed only if its process is alive and it answers as that process.
|
|
67
|
+
|
|
68
|
+
It also checks your other git worktrees. A server running in another worktree serves that worktree's code, so it is listed separately, with the worktree's path and branch. Don't test against it; start your own.
|
|
69
|
+
|
|
70
|
+
The app is found the same way `timber graph` finds it: the nearest Vite config at or above the current directory, or `--config`. It exits `0` whether or not servers are found, and fails only when it can't find a Vite config.
|
|
71
|
+
|
|
72
|
+
`--json` prints:
|
|
73
|
+
|
|
74
|
+
```json
|
|
75
|
+
{
|
|
76
|
+
"version": 1,
|
|
77
|
+
"appRoot": "/path/to/app",
|
|
78
|
+
"servers": [
|
|
79
|
+
{
|
|
80
|
+
"url": "http://example-blog.localhost:3000/",
|
|
81
|
+
"loopbackUrl": "http://localhost:3000/",
|
|
82
|
+
"port": 3000,
|
|
83
|
+
"pid": 41522
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"otherWorktrees": [
|
|
87
|
+
{
|
|
88
|
+
"path": "/path/to/app-feature",
|
|
89
|
+
"branch": "feature-x",
|
|
90
|
+
"appRoot": "/path/to/app-feature",
|
|
91
|
+
"servers": [
|
|
92
|
+
{
|
|
93
|
+
"url": "http://example-blog.localhost:3001/",
|
|
94
|
+
"loopbackUrl": "http://localhost:3001/",
|
|
95
|
+
"port": 3001,
|
|
96
|
+
"pid": 41790
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
`url` is the URL the server printed; open it in a browser. `loopbackUrl` is the same server at `localhost`, for scripts and HTTP clients: browsers and curl resolve `*.localhost` names themselves, but Node, Python and some Linux systems don't. Over https, `loopbackUrl` is the named URL unless your certificate also covers `localhost`. `servers` serve this checkout. `otherWorktrees` lists only worktrees that have a running server; `branch` is `null` for a detached HEAD.
|
|
105
|
+
|
|
49
106
|
### `timber build`
|
|
50
107
|
|
|
51
108
|
Run the production build.
|
|
@@ -154,15 +211,24 @@ The first query after a clone or a file change runs a full-project crawl — typ
|
|
|
154
211
|
|
|
155
212
|
### `timber init`
|
|
156
213
|
|
|
157
|
-
|
|
214
|
+
Point AI coding agents at timber's agent guide.
|
|
158
215
|
|
|
159
216
|
```bash
|
|
160
217
|
timber init
|
|
161
218
|
```
|
|
162
219
|
|
|
163
|
-
The
|
|
220
|
+
The guide ships inside the package, at `node_modules/@timber-js/app/agent-skill.md`, so it always matches your installed version and updates when you upgrade. `init` doesn't copy it. It adds a short block to `AGENTS.md` and `CLAUDE.md` in the project root that points at it:
|
|
221
|
+
|
|
222
|
+
- `AGENTS.md` gets a one-line pointer to the guide.
|
|
223
|
+
- `CLAUDE.md` gets `@node_modules/@timber-js/app/agent-skill.md` and `@AGENTS.md`, which are Claude Code imports, so Claude loads the guide and your `AGENTS.md` in every session.
|
|
224
|
+
|
|
225
|
+
The block sits between `<!-- timber:start -->` and `<!-- timber:end -->` lines. Everything outside those markers is yours: `init` creates a missing file, appends the block to a file that has none, and refreshes the block in place when it's already there. Running it again is always safe. It prints what it did to each file.
|
|
226
|
+
|
|
227
|
+
If a file is a full copy written by an older timber (the old `init`, or an older `create-timber-app`), `init` renames it to `AGENTS.md.bak` (or `.bak.1`, … if a backup exists) before replacing it, so any edits you made to the copy are kept. An old `CLAUDE.md` symlink to `AGENTS.md` is replaced with a regular file. Any other symlink is skipped (with a message): `init` never writes through a link.
|
|
228
|
+
|
|
229
|
+
In a workspace where `@timber-js/app` is hoisted to the repo root, `init` points at the hoisted copy (for example `../../node_modules/@timber-js/app/agent-skill.md`). Claude Code may not load an import from outside the project directory without your approval, so `init` prints a note when that applies.
|
|
164
230
|
|
|
165
|
-
|
|
231
|
+
Projects created with `create-timber-app` start with these blocks already in place.
|
|
166
232
|
|
|
167
233
|
## Options
|
|
168
234
|
|
|
@@ -170,12 +236,12 @@ The generated `AGENTS.md` includes project structure, key imports, common patter
|
|
|
170
236
|
| ----------------- | ----- | --------------------------------------------------------------------------------------------------------- |
|
|
171
237
|
| `--config <path>` | `-c` | Path to a custom Vite config file. Means the same thing for every command, `check` included. |
|
|
172
238
|
| `--project <path>` | | `timber check` only — the `tsconfig.json` to type-check. |
|
|
173
|
-
| `--json` | | `timber graph` only — emit the machine-readable JSON contract.
|
|
239
|
+
| `--json` | | `timber graph` and `timber dev status` only — emit the machine-readable JSON contract. |
|
|
174
240
|
| `--all` | | `timber graph` only — classify the whole project (requires `--json`). |
|
|
175
241
|
|
|
176
242
|
> **Note:** `timber check` resolves your app through Vite, so `--config` names the Vite config there too, exactly as it does for `dev` and `build`. The tsconfig has its own flag, `--project`, spelled the way `tsc` and `tsgo` spell it. `check` needs a Vite config that lists the timber plugin and fails with an actionable message if it cannot find one.
|
|
177
243
|
|
|
178
|
-
Those are the only flags. Any other produces an error rather than being silently ignored, with a hint at the supported alternative (e.g. `--port` points you to the `PORT` env var or `server.port` in `vite.config.ts`). Passing `--project` to a command with no type pass — or `--
|
|
244
|
+
Those are the only flags. Any other produces an error rather than being silently ignored, with a hint at the supported alternative (e.g. `--port` points you to the `PORT` env var or `server.port` in `vite.config.ts`). Passing `--project` to a command with no type pass — `--json` to anything but `graph` or `dev status`, or `--all` to anything but `graph` — is an error too, pointing you at the right command.
|
|
179
245
|
|
|
180
246
|
## Package Manager Scripts
|
|
181
247
|
|
|
@@ -22,7 +22,7 @@ cd my-app && pnpm i
|
|
|
22
22
|
pnpm dev
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
Open [http://localhost:3000](http://localhost:3000). You have a running app.
|
|
25
|
+
Open the URL `pnpm dev` prints, [http://my-app.localhost:3000](http://my-app.localhost:3000). You have a running app. The dev server names the URL after your app so each app keeps its own cookies; `http://localhost:3000` works too.
|
|
26
26
|
|
|
27
27
|
## Project Structure
|
|
28
28
|
|
|
@@ -116,7 +116,7 @@ Declare typed search params with `defineSearchParams` in any module, then import
|
|
|
116
116
|
|
|
117
117
|
```ts title="app/products/search-params.ts" id="search-params"
|
|
118
118
|
import { defineSearchParams, withDefault } from '@timber-js/app/search-params';
|
|
119
|
-
import { parseAsInteger } from 'nuqs';
|
|
119
|
+
import { parseAsInteger } from 'nuqs/server';
|
|
120
120
|
import { z } from 'zod/v4';
|
|
121
121
|
|
|
122
122
|
export const searchParams = defineSearchParams({
|
|
@@ -186,8 +186,8 @@ export const themeCookie = defineCookie('theme', {
|
|
|
186
186
|
Server:
|
|
187
187
|
|
|
188
188
|
```tsx
|
|
189
|
-
const theme =
|
|
190
|
-
|
|
189
|
+
const theme = themeCookie.get(); // 'light' | 'dark' | 'system'
|
|
190
|
+
themeCookie.set('dark'); // before flush only
|
|
191
191
|
```
|
|
192
192
|
|
|
193
193
|
Client:
|
|
@@ -239,7 +239,7 @@ Compose codec maps via plain object spread:
|
|
|
239
239
|
|
|
240
240
|
```ts title="lib/search-params/pagination.ts"
|
|
241
241
|
import { withDefault } from '@timber-js/app/search-params';
|
|
242
|
-
import { parseAsInteger } from 'nuqs';
|
|
242
|
+
import { parseAsInteger } from 'nuqs/server';
|
|
243
243
|
|
|
244
244
|
export const pagination = {
|
|
245
245
|
page: withDefault(parseAsInteger, 1),
|
|
@@ -89,6 +89,27 @@ Arguments that can't be serialized faithfully — functions, symbols, or class i
|
|
|
89
89
|
cache.data(fn, { ttl: 60, key: (session) => `events:${session.userId}` });
|
|
90
90
|
```
|
|
91
91
|
|
|
92
|
+
### Request Context Is Not in the Key
|
|
93
|
+
|
|
94
|
+
The key comes from the arguments only. A cached function that reads request headers, cookies, search params or segment params (`getHeaders()`, `getCookieJar()`, a `defineCookie` or `defineSearchParams` getter, `getSegmentParams()`) caches whichever request called it first, and serves that result to everyone until it expires:
|
|
95
|
+
|
|
96
|
+
```ts
|
|
97
|
+
// ❌ Every user gets the first caller's balance
|
|
98
|
+
const getMyBalance = cache.data(
|
|
99
|
+
async () => {
|
|
100
|
+
const user = getHeaders().get('x-user');
|
|
101
|
+
return db.balances.find(user);
|
|
102
|
+
},
|
|
103
|
+
{ ttl: 60 }
|
|
104
|
+
);
|
|
105
|
+
|
|
106
|
+
// ✅ The user is an argument, so it is part of the key
|
|
107
|
+
const getBalance = cache.data(async (user: string) => db.balances.find(user), { ttl: 60 });
|
|
108
|
+
await getBalance(getHeaders().get('x-user')!);
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
timber logs a `cache.data cross-user data leak risk` error when a cached function reads request context, with the function's name (if it has one), its cache key and the API it read. Set `cache: { strictKeyDiscipline: true }` in `timber.config.ts` to make it a thrown error instead. The result is then never stored. Strict mode is recommended for any app that serves per-user data, and it applies to `cache.component` too.
|
|
112
|
+
|
|
92
113
|
## Invalidation
|
|
93
114
|
|
|
94
115
|
Invalidate by tag:
|
|
@@ -171,7 +192,7 @@ const BlogBody = cache.component(Body, { prerender: true });
|
|
|
171
192
|
|
|
172
193
|
### Cached (runtime only)
|
|
173
194
|
|
|
174
|
-
Rendered on first request, stored with a TTL. Invalidatable by tag. May read request context (with a warning — be careful not to leak per-user data into a shared cache).
|
|
195
|
+
Rendered on first request, stored with a TTL. Invalidatable by tag. May read request context (with a warning — be careful not to leak per-user data into a shared cache). The warning and `strictKeyDiscipline` work as they do for [`cache.data`](#request-context-is-not-in-the-key).
|
|
175
196
|
|
|
176
197
|
```tsx
|
|
177
198
|
const Pricing = cache.component(PricingTable, {
|
|
@@ -239,12 +260,12 @@ Layout `prerender` cascades to descendant pages unless a closer layout or page o
|
|
|
239
260
|
`timber dev` caches component output too, so a heavy prerendered page (MDX, syntax highlighting, content walks) renders once instead of on every navigation:
|
|
240
261
|
|
|
241
262
|
- A `prerender` component renders on its first request for each set of params. It is served from memory after that. You don't need `generateStaticSegmentParams` in dev.
|
|
242
|
-
- Saving
|
|
243
|
-
-
|
|
244
|
-
-
|
|
263
|
+
- Saving a module clears the `prerender` components that use it: the ones declared in it, and the ones that import it directly or through other modules. The next request renders them again. Other cached components keep their output, so editing your nav doesn't re-render an expensive component elsewhere on the page.
|
|
264
|
+
- Saving any other file the dev server watches clears every cached component. That includes a markdown file you read with `fs`. Adding or deleting a file does too. Files outside your project root (or in `node_modules`) aren't watched.
|
|
265
|
+
- `ttl` and `tags` work as they do in production, and `revalidateTag` invalidates them. Every save clears them, along with `cache.data` results, so a component that reads a file through a cached function picks up the edit.
|
|
245
266
|
- Reading `getCookieJar()`, `getHeaders()`, or search params in a `prerender` component fails in dev with the same error the build reports.
|
|
246
267
|
|
|
247
|
-
If a component reads data that changes without a file save (a CMS, a database), hard-reload the page. A request with `Cache-Control: no-cache` renders every cached component again. DevTools sends that header on every request while "Disable cache" is checked.
|
|
268
|
+
If a component reads data that changes without a file save (a CMS, a database), or reads one of your own source files with `fs` (a page that displays code), hard-reload the page. A request with `Cache-Control: no-cache` renders every cached component again. DevTools sends that header on every request while "Disable cache" is checked.
|
|
248
269
|
|
|
249
270
|
### Slots: Dynamic Children Through a Cached Shell
|
|
250
271
|
|
package/llms.txt
CHANGED
|
@@ -52,4 +52,4 @@ Documentation ships with this package in the `docs/` directory. All files are MD
|
|
|
52
52
|
|
|
53
53
|
## AI Agent Skill
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
The agent guide is `agent-skill.md` (this package). `timber init` points a project's `AGENTS.md` and `CLAUDE.md` at it, so it stays in step with the installed version.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@timber-js/app",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.223",
|
|
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",
|
|
@@ -151,15 +151,15 @@
|
|
|
151
151
|
"access": "public"
|
|
152
152
|
},
|
|
153
153
|
"dependencies": {
|
|
154
|
-
"@opentelemetry/api": "
|
|
155
|
-
"@opentelemetry/context-async-hooks": "^
|
|
154
|
+
"@opentelemetry/api": "~1.10.0",
|
|
155
|
+
"@opentelemetry/context-async-hooks": "^3.0.0",
|
|
156
156
|
"@opentelemetry/sdk-trace-base": "^2.12.0",
|
|
157
157
|
"cookie": "^2.0.1",
|
|
158
158
|
"jsonc-parser": "^3.3.1",
|
|
159
|
-
"magic-string": "^1.4.
|
|
159
|
+
"magic-string": "^1.4.5",
|
|
160
160
|
"nitro": "3.0.260903-beta",
|
|
161
|
-
"oxc-transform-react": "^0.
|
|
162
|
-
"srvx": "^1.0.
|
|
161
|
+
"oxc-transform-react": "^0.156.0",
|
|
162
|
+
"srvx": "^1.0.8"
|
|
163
163
|
},
|
|
164
164
|
"peerDependencies": {
|
|
165
165
|
"@content-collections/core": "^0.14.0 || ^0.15.0",
|
|
@@ -167,13 +167,13 @@
|
|
|
167
167
|
"@content-collections/vite": "^0.2.0 || ^0.3.0",
|
|
168
168
|
"@typescript/native-preview": "^7.0.0-dev.0",
|
|
169
169
|
"@vitejs/plugin-react": "^6.1.0",
|
|
170
|
-
"@vitejs/plugin-rsc": "^0.5.
|
|
170
|
+
"@vitejs/plugin-rsc": "^0.5.36",
|
|
171
171
|
"nuqs": "^2.0.0",
|
|
172
|
-
"react": "19.3.
|
|
173
|
-
"react-dom": "19.3.
|
|
174
|
-
"satteri": "^0.
|
|
175
|
-
"vite": "8.3.
|
|
176
|
-
"vite-plugin-satteri": "^0.
|
|
172
|
+
"react": "19.3.1",
|
|
173
|
+
"react-dom": "19.3.1",
|
|
174
|
+
"satteri": "^0.10.5 || ^0.11.5",
|
|
175
|
+
"vite": "8.3.5",
|
|
176
|
+
"vite-plugin-satteri": "^0.3.7",
|
|
177
177
|
"wrangler": "^4.0.0",
|
|
178
178
|
"zod": "^3.22.0 || ^4.0.0"
|
|
179
179
|
},
|