@wular/coder 0.4.1 → 0.4.2

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 (244) hide show
  1. package/README.md +69 -70
  2. package/dist/{add-ej0X9e3a.js → add-C2y-mVzl.js} +1 -1
  3. package/dist/{add-U-pty9qJ.js → add-CLYTF_up.js} +1 -1
  4. package/dist/{add-CE-70LFs.js → add-DRsPpQFl.js} +1 -1
  5. package/dist/{add-BxpLHnvD.js → add-DkpUwhtO.js} +1 -1
  6. package/dist/{add-json-CEa-6luW.js → add-json-5uPnWPoD.js} +1 -1
  7. package/dist/{agent-BsYx3Odz.js → agent-hw3zKw8y.js} +1 -1
  8. package/dist/{agent-JdtZozvP.js → agent-r5mMcehf.js} +1 -1
  9. package/dist/{alias-DX-Bm86x.js → alias-_0Rwf2cA.js} +1 -1
  10. package/dist/{app-BT5f7zL5.js → app-oE8G1-bi.js} +1 -1
  11. package/dist/{approvals-C-AvFt6s.js → approvals-DbVrsxec.js} +1 -1
  12. package/dist/{approve-DOmpQRNd.js → approve-DeAhFL-m.js} +1 -1
  13. package/dist/{apps-CjfrZyM5.js → apps-eujHiNca.js} +1 -1
  14. package/dist/{archive-BziJ1rQ-.js → archive-BCUfymIB.js} +1 -1
  15. package/dist/{archive-BUB8gFKD.js → archive-DZ6vpMHb.js} +1 -1
  16. package/dist/{archive-sweep-CtBcARgN.js → archive-sweep-Cxbh8yAI.js} +1 -1
  17. package/dist/{ask-dE3U3ss2.js → ask-BU2WVxVM.js} +1 -1
  18. package/dist/auth-CBWTmAPA.js +1 -0
  19. package/dist/{auth-BFny--17.js → auth-Dmn2U7rr.js} +1 -1
  20. package/dist/{cli-BilSDkvE.js → cli-DWCR7iqa.js} +1 -1
  21. package/dist/cli.js +1 -1
  22. package/dist/{config-Da_cwoxI.js → config-12pK4qW7.js} +1 -1
  23. package/dist/{create-C_iMJV4Y.js → create-D3f6q0Yq.js} +1 -1
  24. package/dist/credentials-l6dsrZLL.js +1 -0
  25. package/dist/dash/manifest.json +744 -858
  26. package/dist/dash/public/assets/chunks/{agent-pills-c9c4ac4d4a10df83.js → agent-pills-dd0b7643e125bbf1.js} +1 -1
  27. package/dist/dash/public/assets/chunks/{agent-settings-form-8be2ddab074aba6d.js → agent-settings-form-45ae6aeaaed2b568.js} +1 -1
  28. package/dist/dash/public/assets/chunks/{agents-grid-951584b6f4c4314e.js → agents-grid-b906da80c31fc035.js} +1 -1
  29. package/dist/dash/public/assets/chunks/{combo-41234c24668b1db1.js → combo-952a457d52360d88.js} +1 -1
  30. package/dist/dash/public/assets/chunks/{composer-d10d4b1d54c4f751.js → composer-49f9e7c5c4dfda3b.js} +1 -1
  31. package/dist/dash/public/assets/chunks/{composer-5534be50bc12385e.js → composer-f331d00837143aee.js} +1 -1
  32. package/dist/dash/public/assets/chunks/{connect-apps-aa2a3d82e48ed8c3.js → connect-apps-661f3b3a85f1776a.js} +1 -1
  33. package/dist/dash/public/assets/chunks/{credentials-list-bc5bfcab058176c5.js → credentials-list-e6177d0943517929.js} +2 -2
  34. package/dist/dash/public/assets/chunks/{custom-range-4761ab14f05149df.js → custom-range-03ba6fb2ade7d282.js} +1 -1
  35. package/dist/dash/public/assets/chunks/{editor-bfe8cd854f8001be.js → editor-34cb529d6d8a4b09.js} +1 -1
  36. package/dist/dash/public/assets/chunks/{engines-list-f1191390f5715b39.js → engines-list-2f1acee3ecc8461a.js} +1 -1
  37. package/dist/dash/public/assets/chunks/{heads-f3bcd289663d48fa.js → heads-1570a3a6db331979.js} +1 -1
  38. package/dist/dash/public/assets/chunks/{list-1d259660d7612c5f.js → list-87b359bebd26986a.js} +1 -1
  39. package/dist/dash/public/assets/chunks/{mcp-list-e3bebbbe831393b8.js → mcp-list-b42f0d2ee463b37d.js} +1 -1
  40. package/dist/dash/public/assets/chunks/{models-list-44f857a469ca04d5.js → models-list-0669d26fd662aec3.js} +1 -1
  41. package/dist/dash/public/assets/chunks/{platform-actions-d1426602049926d2.js → platform-actions-c92ca3c6198a9387.js} +1 -1
  42. package/dist/dash/public/assets/chunks/{runners-list-1901af8a5dea1f09.js → runners-list-9fffa50432c470c9.js} +1 -1
  43. package/dist/dash/public/assets/chunks/{select-7ae25fd8a7d6c338.js → select-1013702bdfb1ade4.js} +1 -1
  44. package/dist/dash/public/assets/chunks/shared-init-20e199043ff5d00f.js +2 -0
  45. package/dist/dash/public/assets/chunks/{task-actions-8e1d93c788d001df.js → task-actions-a9603d520434baab.js} +1 -1
  46. package/dist/dash/public/assets/chunks/{task-view-6d7618d2820a5cb4.js → task-view-f7039cb330bcb0b5.js} +3 -3
  47. package/dist/dash/public/assets/chunks/{tasks-list-f4784e5cbd0ed785.js → tasks-list-2a905b4a0c3a9042.js} +1 -1
  48. package/dist/dash/public/assets/chunks/{toolbar-a75d2570f07cbb70.js → toolbar-f964fa864699f095.js} +1 -1
  49. package/dist/dash/public/assets/dash-49ca85b59ac65c20.css +1 -0
  50. package/dist/dash/public/assets/dash-account-96fc41be318839fa.css +1 -0
  51. package/dist/dash/public/assets/dash-agents-290a7b21c7dc0c92.css +1 -0
  52. package/dist/dash/public/assets/dash-agents-new-a7a07bf4ebda24c2.css +1 -0
  53. package/dist/dash/public/assets/dash-agents-param-slug-69a72fb0bbd14cc2.css +1 -0
  54. package/dist/dash/public/assets/dash-agents-param-slug-edit-397bdfb2f0ca328c.css +1 -0
  55. package/dist/dash/public/assets/dash-agents-param-slug-platforms-a7b3b7247c27f1d2.css +1 -0
  56. package/dist/dash/public/assets/dash-agents-param-slug-settings-8389b7d0555e8ccf.css +1 -0
  57. package/dist/dash/public/assets/dash-agents-param-slug-tasks-5987b8aea5e8f30d.css +1 -0
  58. package/dist/dash/public/assets/dash-agents-param-slug-usage-19abc69e1d4e6b0a.css +1 -0
  59. package/dist/dash/public/assets/dash-settings-53b8e6a8f656fa1a.css +1 -0
  60. package/dist/dash/public/assets/dash-settings-param-tab-ac61fdfdd6fd533f.css +1 -0
  61. package/dist/dash/public/assets/dash-tasks-cc0b1d32874b731c.css +1 -0
  62. package/dist/dash/public/assets/dash-tasks-param-id-02b8c7bd99cc1090.css +1 -0
  63. package/dist/dash/public/assets/dash-usage-884943221f76ad93.css +1 -0
  64. package/dist/dash/public/assets/pnext-client-17ba55bb57a1f4da.js +1 -0
  65. package/dist/dash/public/assets/{pnext-client-1b9ab0963a8ff77b.js → pnext-client-1afa4148bea69ad2.js} +1 -1
  66. package/dist/dash/public/assets/pnext-client-2693db10b197ade1.js +1 -0
  67. package/dist/dash/public/assets/pnext-client-43f52a07f8067b1b.js +1 -0
  68. package/dist/dash/public/assets/pnext-client-4594b693fe612835.js +1 -0
  69. package/dist/dash/public/assets/pnext-client-73f73e24f8141fb6.js +1 -0
  70. package/dist/dash/public/assets/pnext-client-7574da4651b40eae.js +1 -0
  71. package/dist/dash/public/assets/pnext-client-7b3a2c1092cbbb02.js +1 -0
  72. package/dist/dash/public/assets/pnext-client-816fe5fc96d3f768.js +1 -0
  73. package/dist/dash/public/assets/pnext-client-86cb956b448b0887.js +1 -0
  74. package/dist/dash/public/assets/pnext-client-8b64e3c030164288.js +1 -0
  75. package/dist/dash/public/assets/pnext-client-8f6161084c595a22.js +1 -0
  76. package/dist/dash/public/assets/pnext-client-9203ec11926e5d04.js +1 -0
  77. package/dist/dash/public/assets/pnext-client-a38b446f941d44df.js +1 -0
  78. package/dist/dash/public/assets/pnext-client-bd8d51aaa095e8a4.js +1 -0
  79. package/dist/dash/public/assets/pnext-client-e9821d1f1bdb281d.js +1 -0
  80. package/dist/dash/server/bundle-0.1.6-b29ec45cb963d47f/entry.js +2 -0
  81. package/dist/{default-vYPT26DR.js → default-CwQXCtoB.js} +1 -1
  82. package/dist/{default-Bobztoxf.js → default-De8FXiWz.js} +1 -1
  83. package/dist/{delete-z1_86nf6.js → delete-BD6AnCLg.js} +1 -1
  84. package/dist/{delete-D8gEwoOj.js → delete-cS01oOIb.js} +1 -1
  85. package/dist/{disable-DVKd-0Xb.js → disable-BMWWeYFQ.js} +1 -1
  86. package/dist/{discover-Df-a8K4R.js → discover-Cfx5RPU7.js} +1 -1
  87. package/dist/{docs-DKJnqZqt.js → docs-DWegDRiu.js} +1 -1
  88. package/dist/{enable-C8Zf_wpN.js → enable-Cfzeau2x.js} +1 -1
  89. package/dist/{flow-17k25MHt.js → flow-kAxxVOiR.js} +1 -1
  90. package/dist/{init-CoMfFxbG.js → init-C4tDFH4G.js} +1 -1
  91. package/dist/integrations-D-L3uQRj.js +1 -0
  92. package/dist/{list-BYiG8Zav.js → list-5Ljf9TxF.js} +2 -2
  93. package/dist/{list-BAKvxSbh.js → list-COAo7eZd.js} +1 -1
  94. package/dist/{list-DX-z3SBp.js → list-DuPqU3fk.js} +1 -1
  95. package/dist/{list-C5w01-8q.js → list-DzGuMkQy.js} +1 -1
  96. package/dist/{list-VToARh3C.js → list-J8d_zh-o.js} +1 -1
  97. package/dist/{list-BxEywhHU.js → list-vOvIpbOH.js} +1 -1
  98. package/dist/{list-CIW2joV1.js → list-vpyS-hv8.js} +1 -1
  99. package/dist/{list-DpCf4G-H.js → list-way5oLO0.js} +1 -1
  100. package/dist/{login-DkkslfBx.js → login-BBw95-S3.js} +1 -1
  101. package/dist/{login-BFxX4jJy.js → login-CNmeRAL7.js} +1 -1
  102. package/dist/{logout-BHAtw4Z8.js → logout-j0dTo_Ib.js} +1 -1
  103. package/dist/{maintenance-C5FklUw3.js → maintenance-DkLVtqM7.js} +1 -1
  104. package/dist/{mcp-CCZOAo06.js → mcp-CsmBtlW9.js} +1 -1
  105. package/dist/{migrate-C4vM7DQN.js → migrate-D4nzYhk8.js} +1 -1
  106. package/dist/{model-Bs1StDo3.js → model-B79MFtRV.js} +1 -1
  107. package/dist/{push-CUC55Bqd.js → push-DbdnbZYt.js} +1 -1
  108. package/dist/{queue-6io_NOP3.js → queue-C9fSdE_X.js} +27 -27
  109. package/dist/refresh-BDmap1RA.js +1 -0
  110. package/dist/{remove-B93LNkZI.js → remove-BNzbUhaK.js} +1 -1
  111. package/dist/{remove-eQ8y5C5p.js → remove-CLpL12Ya.js} +1 -1
  112. package/dist/{remove-CuH8a3L9.js → remove-CaYH9Cna.js} +1 -1
  113. package/dist/{remove-C5_xggx7.js → remove-D-QeeZQL.js} +1 -1
  114. package/dist/{rename-CYfy03FE.js → rename-Bhcb4t9F.js} +1 -1
  115. package/dist/{result-BEtQZHaY.js → result-BfTfJayl.js} +1 -1
  116. package/dist/{result-BzaM3inj.js → result-D8DsvJDu.js} +1 -1
  117. package/dist/{resume-DYzKvyEw.js → resume-aZ8yWDBh.js} +1 -1
  118. package/dist/{review-oIBeECZE.js → review-BEhDcX4b.js} +1 -1
  119. package/dist/{rotate-key-IdMYH7gg.js → rotate-key-BqnKhTK8.js} +1 -1
  120. package/dist/{run-CTtd0Znc.js → run-BWbabvub.js} +1 -1
  121. package/dist/{run-CawRGnOg.js → run-BdPjxaZU.js} +1 -1
  122. package/dist/{run-BDYl0CKl.js → run-Dqe38jX8.js} +1 -1
  123. package/dist/runner-BPpiJvHx.js +1 -0
  124. package/dist/sdk.js +1 -1
  125. package/dist/{serve-CPnmrKyf.js → serve-C0WC-QrV.js} +2 -2
  126. package/dist/{serve-GmRO89s5.js → serve-CcObDKKQ.js} +1 -1
  127. package/dist/{serve-CE8YV2e9.js → serve-Ck95047c.js} +1 -1
  128. package/dist/{serve-CQKZxzFE.js → serve-DA5I2qXj.js} +2 -2
  129. package/dist/{server-Kb22cWfF.js → server-BxLFZL80.js} +1 -1
  130. package/dist/{setup-host-GFTUzzZJ.js → setup-host-DLd_j2Uw.js} +1 -1
  131. package/dist/{shared-DVtzWhUT.js → shared-BLkGRKty.js} +1 -1
  132. package/dist/{show-COTZEYgc.js → show-DzoQIs75.js} +1 -1
  133. package/dist/{show-CMUg8SJu.js → show-FC3dJcD-.js} +1 -1
  134. package/dist/{status-D26U--p8.js → status-BU3DR1XU.js} +1 -1
  135. package/dist/{steer-C6uARLp5.js → steer-P_38hRRD.js} +1 -1
  136. package/dist/{stop-BrGI3hSS.js → stop-BJGDRPsp.js} +1 -1
  137. package/dist/{stop-ByCAlbmN.js → stop-BWY6k6v5.js} +1 -1
  138. package/dist/{store-DzqXS2wT.js → store-B3ZHoBJY.js} +4 -4
  139. package/dist/{store-B94tSate.js → store-BLi19UDE.js} +1 -1
  140. package/dist/{task-CgOKgkEG.js → task-b2BK481M.js} +1 -1
  141. package/dist/{test-NEbhlxvo.js → test-BrSrhop9.js} +1 -1
  142. package/dist/{tools-D0Zfs8Hx.js → tools-CgswhJzh.js} +1 -1
  143. package/dist/{unalias-C9NqmSDq.js → unalias-mMHXqok7.js} +1 -1
  144. package/dist/{update-BTxYQj7Z.js → update-DbOWToPy.js} +1 -1
  145. package/dist/{upgrade-hA0yWBvx.js → upgrade-D6oC9HQI.js} +2 -2
  146. package/dist/{usage-BhqoCjvE.js → usage-Cb8Dtv9V.js} +1 -1
  147. package/dist/{usage-C4d9X2Uq.js → usage-DMs-IIJC.js} +1 -1
  148. package/dist/{watch-DtRuC0Wc.js → watch-BcMQXGYO.js} +1 -1
  149. package/dist/{watch-CSdj24ct.js → watch-eE2XiwsC.js} +1 -1
  150. package/dist/{worker-DX7P9kWl.js → worker-DrucI22w.js} +1 -1
  151. package/dist/{workflow-Dcmdooi8.js → workflow-Cshghoas.js} +1 -1
  152. package/docs/cli.md +145 -0
  153. package/package.json +3 -2
  154. package/plugins/claude/.claude-plugin/plugin.json +1 -1
  155. package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
  156. package/src/core/defaults.ts +25 -0
  157. package/src/server/dash/app/dash/layout.css +58 -1
  158. package/src/server/dash/app/dash/layout.tsx +16 -4
  159. package/src/server/dash/app/dash/settings/[tab]/page.tsx +1 -1
  160. package/src/server/dash/comps/nav/side-toggle.tsx +1 -1
  161. package/src/server/dash/comps/ui/menu.tsx +5 -1
  162. package/src/server/dash/comps/ui/toast.css +3 -2
  163. package/dist/auth-DWHIzqbA.js +0 -1
  164. package/dist/credentials-B1jv6dkg.js +0 -1
  165. package/dist/dash/public/assets/chunks/shared-init-ffb3397e494137c9.js +0 -2
  166. package/dist/dash/public/assets/dash-9e02d5d1a6d42ee3.css +0 -1
  167. package/dist/dash/public/assets/dash-account-04859899c1838ada.css +0 -1
  168. package/dist/dash/public/assets/dash-agents-9e678137267dec07.css +0 -1
  169. package/dist/dash/public/assets/dash-agents-new-26fa27b17ef9b8d8.css +0 -1
  170. package/dist/dash/public/assets/dash-agents-param-slug-b975c48f8abf3444.css +0 -1
  171. package/dist/dash/public/assets/dash-agents-param-slug-edit-e13fda599bb04843.css +0 -1
  172. package/dist/dash/public/assets/dash-agents-param-slug-platforms-70292932cb27bc96.css +0 -1
  173. package/dist/dash/public/assets/dash-agents-param-slug-settings-71f9a86251723fcc.css +0 -1
  174. package/dist/dash/public/assets/dash-agents-param-slug-tasks-fb8eb2ed71006601.css +0 -1
  175. package/dist/dash/public/assets/dash-agents-param-slug-usage-7c8740f1cdd52c71.css +0 -1
  176. package/dist/dash/public/assets/dash-settings-8eb818da462227e8.css +0 -1
  177. package/dist/dash/public/assets/dash-settings-param-tab-849a1a9542e273f5.css +0 -1
  178. package/dist/dash/public/assets/dash-tasks-81e510e0b6931b42.css +0 -1
  179. package/dist/dash/public/assets/dash-tasks-param-id-bbd2a83342f2ec10.css +0 -1
  180. package/dist/dash/public/assets/dash-usage-8e0259e03eaed1bd.css +0 -1
  181. package/dist/dash/public/assets/pnext-client-03b03b254e525e82.js +0 -1
  182. package/dist/dash/public/assets/pnext-client-1c7859bb888f4ef0.js +0 -1
  183. package/dist/dash/public/assets/pnext-client-3c748afe963fb05d.js +0 -1
  184. package/dist/dash/public/assets/pnext-client-4f47c2cae220f107.js +0 -1
  185. package/dist/dash/public/assets/pnext-client-6ab9fd9b53b794d2.js +0 -1
  186. package/dist/dash/public/assets/pnext-client-6c241786342498e4.js +0 -1
  187. package/dist/dash/public/assets/pnext-client-80b56d420f02b808.js +0 -1
  188. package/dist/dash/public/assets/pnext-client-83135c17bae850a3.js +0 -1
  189. package/dist/dash/public/assets/pnext-client-8e6fa4302ae0396f.js +0 -1
  190. package/dist/dash/public/assets/pnext-client-932c9d8cc0717fc8.js +0 -1
  191. package/dist/dash/public/assets/pnext-client-a42ae63d4de113f9.js +0 -1
  192. package/dist/dash/public/assets/pnext-client-d2ee6f8c1e337032.js +0 -1
  193. package/dist/dash/public/assets/pnext-client-d513f65ec23b7f20.js +0 -1
  194. package/dist/dash/public/assets/pnext-client-ecb88e2a8a109954.js +0 -1
  195. package/dist/dash/public/assets/pnext-client-f1545ee6270bbf9a.js +0 -1
  196. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/boot-B2MFTRO2.js +0 -30
  197. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/build-tier-XJJSL5FR.js +0 -2704
  198. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-2HFY3DQT.js +0 -208
  199. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-2ICEVELW.js +0 -834
  200. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-3UPROT2C.js +0 -35
  201. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-4P5CMIYT.js +0 -1582
  202. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-4TKZKZ3Q.js +0 -131
  203. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-5RDEILQB.js +0 -437
  204. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-62KEQM43.js +0 -25
  205. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-6KQSWT6D.js +0 -831
  206. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-7DCNCW6O.js +0 -724
  207. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-B4THCTQP.js +0 -22
  208. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-C2LIV2MM.js +0 -172
  209. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-CCATPVTW.js +0 -378
  210. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-COXJAPTU.js +0 -89
  211. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-E6IXL2NJ.js +0 -6270
  212. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-FLGRBFAH.js +0 -1198
  213. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-FTJVHFWD.js +0 -61
  214. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-H523KSIH.js +0 -5151
  215. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-HT6KKX6A.js +0 -20
  216. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-JESFYECC.js +0 -438
  217. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-JRPJM2XY.js +0 -17
  218. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-L2IWDUXG.js +0 -107
  219. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-L5P4Y4UC.js +0 -183
  220. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-NQE46AZN.js +0 -647
  221. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-PA4QEARJ.js +0 -129
  222. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-PZ5AXOLW.js +0 -7146
  223. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-SNVPTULL.js +0 -2397
  224. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-T3QZT3PG.js +0 -220
  225. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-VC5O2SDP.js +0 -72
  226. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-WZX4V6CM.js +0 -231
  227. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-XUUIDXY5.js +0 -627
  228. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-ZHFDO3PR.js +0 -265
  229. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/compile-CE2DN7ZA.js +0 -18
  230. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/config-UREY7XJT.js +0 -16
  231. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/config-loader-UI2XE3PZ.js +0 -17
  232. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/entry.js +0 -219
  233. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/generate-I2PPTDFD.js +0 -16
  234. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/modules-UVOCE4C2.js +0 -48
  235. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/pipeline-UW47K537.js +0 -963
  236. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/proxy-ITGOVJBW.js +0 -26
  237. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/register-4SA55SWT.js +0 -12579
  238. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/router-JNKHLBCZ.js +0 -505
  239. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/routes-PD6J2NXW.js +0 -54
  240. package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/tsconfig-defaults-ZXEH7RQK.js +0 -15
  241. package/dist/integrations-5xCaXSd-.js +0 -1
  242. package/dist/refresh-BIrmrWYq.js +0 -1
  243. package/dist/runner-D7ScbIHJ.js +0 -1
  244. package/src/server/dash/app/dash/token-from-hash.tsx +0 -17
@@ -1,505 +0,0 @@
1
- import { createRequire as __coderRequire } from "node:module";
2
- const __pnextRoot = __coderRequire(import.meta.url).resolve("@wular/pnext").replace(/\/src\/index\.ts$/, "");
3
- import { createRequire as __pnextCreateRequire } from "node:module";
4
- const require = __pnextCreateRequire(("file://" + __pnextRoot + "/package.json"));
5
- import {
6
- getNextConfig
7
- } from "./chunk-2ICEVELW.js";
8
- import {
9
- hasUseClientDirective
10
- } from "./chunk-L2IWDUXG.js";
11
- import "./chunk-JESFYECC.js";
12
- import "./chunk-5RDEILQB.js";
13
- import "./chunk-NQE46AZN.js";
14
- import {
15
- listFiles,
16
- listFilesSync,
17
- toPosixPath
18
- } from "./chunk-2HFY3DQT.js";
19
- import "./chunk-4P5CMIYT.js";
20
- import "./chunk-FTJVHFWD.js";
21
- import "./chunk-3UPROT2C.js";
22
-
23
- // ../node_modules/.bun/@wular+pnext@0.1.5+62547eec5a2188e3/node_modules/@wular/pnext/src/compat/pages/router.ts
24
- import { createHash } from "node:crypto";
25
- import { existsSync, statSync } from "node:fs";
26
- import {
27
- copyFile,
28
- mkdir,
29
- readdir,
30
- readFile,
31
- rename,
32
- rm,
33
- symlink,
34
- writeFile
35
- } from "node:fs/promises";
36
- import path from "node:path";
37
- import { tmpdir } from "node:os";
38
- import { fileURLToPath } from "node:url";
39
- var basePageExtensions = ["tsx", "ts", "jsx", "js", "mjs"];
40
- function materializeExtensions() {
41
- const configured = getNextConfig().pageExtensions;
42
- const extras = Array.isArray(configured) ? configured.filter((ext) => typeof ext === "string" && ext.length > 0) : [];
43
- return [.../* @__PURE__ */ new Set([...basePageExtensions, ...extras])];
44
- }
45
- var appConventions = /* @__PURE__ */ new Set([
46
- "default",
47
- "error",
48
- "forbidden",
49
- "global-error",
50
- "layout",
51
- "loading",
52
- "not-found",
53
- "page",
54
- "route",
55
- "template",
56
- "unauthorized"
57
- ]);
58
- var metadataConventionPattern = /^(robots|sitemap|manifest|icon\d*|apple-icon\d*|opengraph-image\d*|twitter-image\d*)$/;
59
- function isAppConvention(name) {
60
- return appConventions.has(name) || metadataConventionPattern.test(name);
61
- }
62
- async function materializePagesApp(root) {
63
- const pagesPath = path.join(root, "pages");
64
- if (!existsSync(pagesPath)) return void 0;
65
- const nativeApp = path.join(root, "app");
66
- const pages = await discoverPages(pagesPath);
67
- const apiRoutes = await discoverPagesApi(pagesPath);
68
- if (pages.length === 0 && apiRoutes.length === 0) return void 0;
69
- const generatedRoot = path.join(
70
- tmpdir(),
71
- "pnext-pages-compat",
72
- materializationKey(root, nativeApp, pages, apiRoutes)
73
- );
74
- const appPath = path.join(generatedRoot, "app");
75
- if (existsSync(appPath)) return appPath;
76
- const staging = `${generatedRoot}.${process.pid.toString(36)}.staging`;
77
- await buildMaterializedApp(staging, root, pagesPath, nativeApp, pages, apiRoutes);
78
- try {
79
- await rename(staging, generatedRoot);
80
- } catch {
81
- await rm(staging, { recursive: true, force: true });
82
- if (!existsSync(appPath)) throw new Error(`pnext: could not materialize ${root}/pages`);
83
- }
84
- void sweepStaleMaterializations(path.dirname(generatedRoot));
85
- return appPath;
86
- }
87
- function materializationKey(root, nativeApp, pages, apiRoutes) {
88
- const stamp = (file) => {
89
- const info = statSync(file, { throwIfNoEntry: false });
90
- return info ? `${info.size}:${info.mtimeMs}` : "";
91
- };
92
- const nativeFiles = existsSync(nativeApp) ? listFilesSync(nativeApp).map((file) => `${toPosixPath(path.relative(nativeApp, file))}\0${stamp(file)}`).sort() : [];
93
- const byRelative = (routes) => [...routes].sort((a, b) => a.relative.localeCompare(b.relative));
94
- return createHash("sha256").update(
95
- JSON.stringify([
96
- root,
97
- materializeExtensions(),
98
- byRelative(pages),
99
- byRelative(apiRoutes),
100
- nativeFiles,
101
- stamp(fileURLToPath(("file://" + __pnextRoot + "/src/compat/pages/router.ts")))
102
- ])
103
- ).digest("hex").slice(0, 16);
104
- }
105
- var STALE_MATERIALIZATION_MS = 7 * 24 * 60 * 6e4;
106
- async function sweepStaleMaterializations(base) {
107
- try {
108
- const cutoff = Date.now() - STALE_MATERIALIZATION_MS;
109
- for (const entry of await readdir(base)) {
110
- const dir = path.join(base, entry);
111
- const info = statSync(dir, { throwIfNoEntry: false });
112
- if (info && info.mtimeMs < cutoff) await rm(dir, { recursive: true, force: true });
113
- }
114
- } catch {
115
- }
116
- }
117
- async function buildMaterializedApp(generatedRoot, root, pagesPath, nativeApp, pages, apiRoutes) {
118
- const appPath = path.join(generatedRoot, "app");
119
- const sourcePages = path.join(generatedRoot, "source-pages");
120
- const sourceApp = path.join(generatedRoot, "source-app");
121
- await rm(generatedRoot, { recursive: true, force: true });
122
- await mkdir(appPath, { recursive: true });
123
- await symlink(pagesPath, sourcePages, "dir");
124
- const nodeModules = path.join(root, "node_modules");
125
- if (existsSync(nodeModules))
126
- await symlink(nodeModules, path.join(generatedRoot, "node_modules"), "dir");
127
- const publicDir = path.join(root, "public");
128
- if (existsSync(publicDir)) await symlink(publicDir, path.join(generatedRoot, "public"), "dir");
129
- if (existsSync(nativeApp)) {
130
- await symlink(nativeApp, sourceApp, "dir");
131
- await materializeNativeApp(sourceApp, appPath);
132
- }
133
- if (!existsSync(path.join(appPath, "layout.js"))) {
134
- await writeFile(
135
- path.join(appPath, "layout.js"),
136
- "export default function PagesLayout({ children }) {\n return <html><body>{children}</body></html>\n}\n"
137
- );
138
- }
139
- for (const page of pages) {
140
- const destination = path.join(appPath, ...encodePrivateSegments(page.segments), "page.js");
141
- if (existsSync(destination)) continue;
142
- await mkdir(path.dirname(destination), { recursive: true });
143
- const pagesPattern = `/${page.segments.join("/")}`.replace(/\/+$/, "") || "/";
144
- const sourceSpecifier = relativeImport(destination, path.join(sourcePages, page.relative));
145
- let clientSpecifier;
146
- if (page.hasStaticProps || page.hasServerSideProps) {
147
- const clientDestination = path.join(path.dirname(destination), "pnext-page-client.js");
148
- await writeFile(
149
- clientDestination,
150
- `'use client';
151
- export { default } from ${JSON.stringify(sourceSpecifier)};
152
- `
153
- );
154
- clientSpecifier = "./pnext-page-client.js";
155
- }
156
- await writeFile(
157
- destination,
158
- wrapperSource(
159
- sourceSpecifier,
160
- // A pages-router component is implicitly a client module: it SSRs AND
161
- // hydrates (hooks, event handlers, next/router). Without the client
162
- // wrapper it renders as a server component and never becomes
163
- // interactive. Data functions keep a server wrapper and pass their
164
- // props into the page's client facade.
165
- !page.hasServerSideProps && !page.hasStaticProps,
166
- page.hasServerSideProps,
167
- page.hasStaticProps,
168
- clientSpecifier,
169
- page.runtime,
170
- page.maxDuration,
171
- pagesPattern
172
- )
173
- );
174
- }
175
- for (const apiRoute of apiRoutes) {
176
- const destination = path.join(appPath, "api", ...apiRoute.segments, "route.js");
177
- if (existsSync(destination)) continue;
178
- await mkdir(path.dirname(destination), { recursive: true });
179
- await writeFile(
180
- destination,
181
- pagesApiWrapperSource(
182
- relativeImport(destination, path.join(sourcePages, apiRoute.relative)),
183
- apiRoute.runtime
184
- )
185
- );
186
- }
187
- }
188
- async function materializeNativeApp(sourceApp, appPath) {
189
- for (const file of await listFiles(sourceApp)) {
190
- const relative = toPosixPath(path.relative(sourceApp, file));
191
- const parsed = path.parse(relative);
192
- if (!materializeExtensions().includes(parsed.ext.slice(1))) {
193
- const destination2 = path.join(appPath, relative);
194
- await mkdir(path.dirname(destination2), { recursive: true });
195
- await copyFile(file, destination2);
196
- continue;
197
- }
198
- if (!isAppConvention(parsed.name)) continue;
199
- const destination = path.join(appPath, parsed.dir, `${parsed.name}.js`);
200
- await mkdir(path.dirname(destination), { recursive: true });
201
- const source = await readFile(file, "utf8");
202
- const client = hasUseClientDirective(source) || await defaultExportImportsClientModule(file, source);
203
- await writeFile(
204
- destination,
205
- wrapperSource(
206
- relativeImport(destination, file),
207
- client,
208
- false,
209
- false,
210
- void 0,
211
- runtimeFromSource(source)
212
- )
213
- );
214
- }
215
- }
216
- async function defaultExportImportsClientModule(file, source) {
217
- const defaultExport = /export\s+default\s+([A-Za-z_$][\w$]*)\s*;?/.exec(source);
218
- if (!defaultExport?.[1]) return false;
219
- const binding = defaultExport[1];
220
- const imports = /import\s*\{([^}]*)\}\s*from\s*['"]([^'"]+)['"]/g;
221
- let match;
222
- while (match = imports.exec(source)) {
223
- const importsBinding = (match[1] ?? "").split(",").some((value) => {
224
- const names = /^\s*([A-Za-z_$][\w$]*)(?:\s+as\s+([A-Za-z_$][\w$]*))?\s*$/.exec(value);
225
- return (names?.[2] ?? names?.[1]) === binding;
226
- });
227
- if (!importsBinding || !match[2]?.startsWith(".")) continue;
228
- const imported = resolveSourceImport(file, match[2]);
229
- if (imported && hasUseClientDirective(await readFile(imported, "utf8"))) return true;
230
- }
231
- return false;
232
- }
233
- function resolveSourceImport(file, specifier) {
234
- const base = path.resolve(path.dirname(file), specifier);
235
- for (const candidate of [
236
- base,
237
- ...materializeExtensions().flatMap((extension) => [
238
- `${base}.${extension}`,
239
- path.join(base, `index.${extension}`)
240
- ])
241
- ]) {
242
- if (existsSync(candidate) && statSync(candidate).isFile()) return candidate;
243
- }
244
- return void 0;
245
- }
246
- function encodePrivateSegments(segments) {
247
- return segments.map((segment) => segment.startsWith("_") ? `%5F${segment.slice(1)}` : segment);
248
- }
249
- async function discoverPages(pagesPath) {
250
- const routes = /* @__PURE__ */ new Map();
251
- const files = await listFiles(pagesPath);
252
- for (const extension of materializeExtensions()) {
253
- for (const file of files) {
254
- if (!file.endsWith(`.${extension}`)) continue;
255
- const relative = toPosixPath(path.relative(pagesPath, file));
256
- const withoutExtension = relative.slice(0, -extension.length - 1);
257
- const sourceSegments = withoutExtension.split("/");
258
- if (sourceSegments[0] === "api") continue;
259
- if (sourceSegments.length === 1 && (sourceSegments[0] === "_app" || sourceSegments[0] === "_document" || sourceSegments[0] === "_error")) {
260
- continue;
261
- }
262
- const segments = sourceSegments.at(-1) === "index" ? sourceSegments.slice(0, -1) : sourceSegments;
263
- const key = segments.join("/");
264
- if (!routes.has(key)) {
265
- const source = await readFile(file, "utf8");
266
- routes.set(key, {
267
- relative,
268
- segments,
269
- hasServerSideProps: /\bgetServerSideProps\b/.test(source),
270
- hasStaticProps: /\bgetStaticProps\b/.test(source),
271
- runtime: runtimeFromSource(source),
272
- maxDuration: maxDurationFromSource(source)
273
- });
274
- }
275
- }
276
- }
277
- return [...routes.values()];
278
- }
279
- async function discoverPagesApi(pagesPath) {
280
- const routes = /* @__PURE__ */ new Map();
281
- const files = await listFiles(path.join(pagesPath, "api"));
282
- for (const extension of materializeExtensions()) {
283
- for (const file of files) {
284
- if (!file.endsWith(`.${extension}`)) continue;
285
- const relative = toPosixPath(path.relative(pagesPath, file));
286
- const segments = relative.slice(0, -extension.length - 1).split("/").slice(1);
287
- if (segments.some((segment) => segment.startsWith("_"))) continue;
288
- const key = segments.join("/");
289
- if (routes.has(key)) continue;
290
- routes.set(key, {
291
- relative,
292
- segments,
293
- runtime: runtimeFromSource(await readFile(file, "utf8"))
294
- });
295
- }
296
- }
297
- return [...routes.values()];
298
- }
299
- function routerStateModulePath() {
300
- return path.join((__pnextRoot + "/src/compat/pages"), "router-state.ts");
301
- }
302
- function routerStateSnippet(pagesPattern) {
303
- if (!pagesPattern) {
304
- return { imports: "", render: "return createElement(Page, result?.props ?? {});" };
305
- }
306
- return {
307
- imports: `import { pagesRouterSsrState, serializePagesRouterState } from ${JSON.stringify(
308
- routerStateModulePath()
309
- )};
310
- `,
311
- render: `const routerState = pagesRouterSsrState(${JSON.stringify(pagesPattern)}, resolvedParams);
312
- return createElement(
313
- Fragment,
314
- null,
315
- createElement('script', {
316
- type: 'application/json',
317
- id: '__PNEXT_PAGES_DATA__',
318
- dangerouslySetInnerHTML: { __html: serializePagesRouterState(routerState) },
319
- }),
320
- createElement(Page, result?.props ?? {}),
321
- );`
322
- };
323
- }
324
- function wrapperSource(specifier, client = false, hasServerSideProps = false, hasStaticProps = false, clientSpecifier, runtime, maxDuration, pagesPattern) {
325
- const runtimeExport = runtime ? `export const runtime = ${JSON.stringify(runtime)};
326
- ` : "";
327
- const maxDurationExport = maxDuration === void 0 ? "" : `export const maxDuration = ${maxDuration};
328
- `;
329
- const routerState = routerStateSnippet(pagesPattern);
330
- if (hasStaticProps && clientSpecifier) {
331
- return `import { createElement, Fragment } from 'react';
332
- import { notFound, redirect } from 'next/navigation';
333
- import Page from ${JSON.stringify(clientSpecifier)};
334
- import * as pageModule from ${JSON.stringify(specifier)};
335
- ${routerState.imports}export * from ${JSON.stringify(specifier)};
336
- ${runtimeExport}${maxDurationExport}export default async function PagesCompatStaticPage({ params }) {
337
- // The otel compat exposes a span wrapper (Render.getStaticProps) at runtime.
338
- const withSpan = globalThis.__PNEXT_PAGES_DATA_SPAN__ ?? ((kind, fn) => fn());
339
- const resolvedParams = await params;
340
- const invoke = async () => pageModule.getStaticProps?.({ params: resolvedParams });
341
- const result = await withSpan('getStaticProps', invoke);
342
- if (result?.notFound) notFound();
343
- if (result?.redirect) redirect(result.redirect.destination);
344
- ${routerState.render}
345
- }
346
- `;
347
- }
348
- if (!hasServerSideProps) {
349
- if (client) {
350
- return `'use client';
351
- export { default } from ${JSON.stringify(specifier)};
352
- ${runtimeExport}${maxDurationExport}`;
353
- }
354
- return `import * as __pnext_page_ns from ${JSON.stringify(specifier)};
355
- export default __pnext_page_ns.default;
356
- export * from ${JSON.stringify(specifier)};
357
- ${runtimeExport}${maxDurationExport}`;
358
- }
359
- return `import { createElement, Fragment } from 'react';
360
- import { notFound, redirect } from 'next/navigation';
361
- import { cookies, headers } from 'next/headers';
362
- import Page from ${JSON.stringify(clientSpecifier)};
363
- import * as pageModule from ${JSON.stringify(specifier)};
364
- ${routerState.imports}export * from ${JSON.stringify(specifier)};
365
- export const dynamic = 'force-dynamic';
366
- ${runtimeExport}${maxDurationExport}export default async function PagesCompatPage({ params, searchParams }) {
367
- // The otel compat exposes a span wrapper (Render.getServerSideProps) at runtime.
368
- const withSpan = globalThis.__PNEXT_PAGES_DATA_SPAN__ ?? ((kind, fn) => fn());
369
- const resolvedParams = await params;
370
- // getServerSideProps reads a node-shaped \`req\`/\`res\`. This page is
371
- // force-dynamic, so headers()/cookies() are available; \`method\` is always
372
- // 'GET' and \`res\` is inert (writes are dropped) \u2014 a workable baseline until
373
- // the pages layer threads the real request through.
374
- const requestHeaders = Object.fromEntries((await headers()).entries());
375
- const requestCookies = Object.fromEntries(
376
- (await cookies()).getAll().map(cookie => [cookie.name, cookie.value]),
377
- );
378
- const invoke = async () => pageModule.getServerSideProps?.({
379
- params: resolvedParams,
380
- query: (await searchParams) ?? {},
381
- req: {
382
- headers: requestHeaders,
383
- cookies: requestCookies,
384
- method: 'GET',
385
- url: ${JSON.stringify(pagesPattern ?? "/")},
386
- },
387
- res: {
388
- statusCode: 200,
389
- setHeader() {},
390
- getHeader() {},
391
- getHeaders() { return {}; },
392
- removeHeader() {},
393
- end() {},
394
- write() { return true; },
395
- },
396
- resolvedUrl: ${JSON.stringify(pagesPattern ?? "/")},
397
- preview: false,
398
- previewData: undefined,
399
- draftMode: false,
400
- });
401
- const result = await withSpan('getServerSideProps', invoke);
402
- if (result?.notFound) notFound();
403
- if (result?.redirect) redirect(result.redirect.destination);
404
- ${routerState.render}
405
- }
406
- `;
407
- }
408
- function runtimeFromSource(source) {
409
- const runtime = /\bruntime\b\s*[:=]\s*(['"`])(edge|nodejs|experimental-edge)\1/.exec(source)?.[2];
410
- return runtime === "experimental-edge" ? "edge" : runtime;
411
- }
412
- function maxDurationFromSource(source) {
413
- const value = /\bmaxDuration\s*:\s*(\d+)\b/.exec(source)?.[1];
414
- return value === void 0 ? void 0 : Number(value);
415
- }
416
- function pagesApiWrapperSource(specifier, runtime) {
417
- const runtimeExport = runtime ? `export const runtime = ${JSON.stringify(runtime)};
418
- ` : "";
419
- return `import handler from ${JSON.stringify(specifier)};
420
- import { NextRequest } from 'next/server';
421
- import { Writable } from 'node:stream';
422
- ${runtimeExport}export async function GET(request) {
423
- return run(handler, request);
424
- }
425
- export async function POST(request) {
426
- return run(handler, request);
427
- }
428
- export async function PUT(request) {
429
- return run(handler, request);
430
- }
431
- export async function PATCH(request) {
432
- return run(handler, request);
433
- }
434
- export async function DELETE(request) {
435
- return run(handler, request);
436
- }
437
- // Bridge a pages-API handler onto the app-route Response contract. Edge-style
438
- // handlers (request-only, return a Response) pass through; node-style handlers
439
- // get a real Writable \`res\` whose bytes stream into the Response body, with
440
- // client disconnects surfaced as res 'close'/destroy (stream cancellation).
441
- async function run(handler, request) {
442
- const nextRequest = request instanceof NextRequest ? request : new NextRequest(request);
443
- const state = { status: 200, headers: new Headers() };
444
- let controller;
445
- let started = false;
446
- let notifyStarted = () => {};
447
- const startedPromise = new Promise(resolve => { notifyStarted = resolve; });
448
- const start = () => {
449
- if (!started) {
450
- started = true;
451
- notifyStarted();
452
- }
453
- };
454
- const body = new ReadableStream({
455
- start(c) { controller = c; },
456
- cancel() { res.destroy(); },
457
- });
458
- const enqueue = chunk => {
459
- try {
460
- controller.enqueue(typeof chunk === 'string' ? new TextEncoder().encode(chunk) : new Uint8Array(chunk));
461
- } catch {}
462
- };
463
- const res = new Writable({
464
- write(chunk, _encoding, callback) { start(); enqueue(chunk); callback(); },
465
- final(callback) { start(); try { controller.close(); } catch {} callback(); },
466
- destroy(error, callback) { try { controller.close(); } catch {} callback(error); },
467
- });
468
- Object.defineProperty(res, 'statusCode', {
469
- get: () => state.status,
470
- set: value => { state.status = value; },
471
- });
472
- res.setHeader = (name, value) => { state.headers.set(name, String(value)); return res; };
473
- res.getHeader = name => state.headers.get(name) ?? undefined;
474
- res.removeHeader = name => { state.headers.delete(name); };
475
- res.status = code => { state.status = code; return res; };
476
- res.json = value => { state.headers.set('content-type', 'application/json'); res.end(JSON.stringify(value)); };
477
- res.send = value => { res.end(value); };
478
- // A client disconnect aborts the request signal; pages handlers observe it
479
- // as the response closing (res.on('close') per Node semantics).
480
- request.signal?.addEventListener?.('abort', () => res.destroy(), { once: true });
481
- const finished = Promise.resolve()
482
- .then(() => handler(nextRequest, res))
483
- .catch(error => {
484
- if (!started) throw error;
485
- try { controller.error(error); } catch {}
486
- });
487
- const outcome = await Promise.race([
488
- startedPromise.then(() => 'started'),
489
- finished.then(() => 'done'),
490
- ]);
491
- if (outcome === 'done' && !started) {
492
- const result = await finished;
493
- return result instanceof Response ? result : new Response(null, { status: state.status, headers: state.headers });
494
- }
495
- return new Response(body, { status: state.status, headers: state.headers });
496
- }
497
- `;
498
- }
499
- function relativeImport(fromFile, targetFile) {
500
- const relative = toPosixPath(path.relative(path.dirname(fromFile), targetFile));
501
- return relative.startsWith(".") ? relative : `./${relative}`;
502
- }
503
- export {
504
- materializePagesApp
505
- };
@@ -1,54 +0,0 @@
1
- import { createRequire as __coderRequire } from "node:module";
2
- const __pnextRoot = __coderRequire(import.meta.url).resolve("@wular/pnext").replace(/\/src\/index\.ts$/, "");
3
- import { createRequire as __pnextCreateRequire } from "node:module";
4
- const require = __pnextCreateRequire(("file://" + __pnextRoot + "/package.json"));
5
- import {
6
- addClientEntryReason,
7
- assertNoServerActionsWithoutCompat,
8
- collectFileCss,
9
- collectNotFoundCss,
10
- findConventionFiles,
11
- findGlobalError,
12
- findLayouts,
13
- matchInterception,
14
- matchRoute,
15
- materializeRouteFacts,
16
- materializeRouteFactsPaced,
17
- normalizePathname,
18
- parseNavState,
19
- routeFactsResolved,
20
- routeFactsVersion,
21
- scanRoutes,
22
- selectRouteForRequest,
23
- serverActionsUnsupportedMessage,
24
- setRouteFactsStore
25
- } from "./chunk-SNVPTULL.js";
26
- import "./chunk-JRPJM2XY.js";
27
- import "./chunk-CCATPVTW.js";
28
- import "./chunk-HT6KKX6A.js";
29
- import "./chunk-NQE46AZN.js";
30
- import "./chunk-2HFY3DQT.js";
31
- import "./chunk-4P5CMIYT.js";
32
- import "./chunk-FTJVHFWD.js";
33
- import "./chunk-3UPROT2C.js";
34
- export {
35
- addClientEntryReason,
36
- assertNoServerActionsWithoutCompat,
37
- collectFileCss,
38
- collectNotFoundCss,
39
- findConventionFiles,
40
- findGlobalError,
41
- findLayouts,
42
- matchInterception,
43
- matchRoute,
44
- materializeRouteFacts,
45
- materializeRouteFactsPaced,
46
- normalizePathname,
47
- parseNavState,
48
- routeFactsResolved,
49
- routeFactsVersion,
50
- scanRoutes,
51
- selectRouteForRequest,
52
- serverActionsUnsupportedMessage,
53
- setRouteFactsStore
54
- };
@@ -1,15 +0,0 @@
1
- import { createRequire as __coderRequire } from "node:module";
2
- const __pnextRoot = __coderRequire(import.meta.url).resolve("@wular/pnext").replace(/\/src\/index\.ts$/, "");
3
- import { createRequire as __pnextCreateRequire } from "node:module";
4
- const require = __pnextCreateRequire(("file://" + __pnextRoot + "/package.json"));
5
- import {
6
- writeTsconfigDefaults
7
- } from "./chunk-T3QZT3PG.js";
8
- import "./chunk-2ICEVELW.js";
9
- import "./chunk-5RDEILQB.js";
10
- import "./chunk-2HFY3DQT.js";
11
- import "./chunk-FTJVHFWD.js";
12
- import "./chunk-3UPROT2C.js";
13
- export {
14
- writeTsconfigDefaults
15
- };
@@ -1 +0,0 @@
1
- import{s as e}from"./cli-BilSDkvE.js";const t=e(`agent integrations`,{list:async()=>(await import(`./list-VToARh3C.js`)).commandIntegrationsList,ls:async()=>(await import(`./list-VToARh3C.js`)).commandIntegrationsList,show:async()=>(await import(`./show-COTZEYgc.js`)).commandIntegrationsShow},{menu:[{usage:`list`,blurb:`list integrations with their events and tools`},{usage:`show <id>`,blurb:`events and tools of one integration`}],description:[`The platforms an agent can listen to and act on: their events and tool presets.`]},{aliases:{ls:`list`}});export{t as commandAgentIntegrations};
@@ -1 +0,0 @@
1
- import{D as e,bn as t}from"./dispatch-BKeAch9E.js";import{i as n}from"./cli-BilSDkvE.js";const r=n({name:`upgrade refresh`,options:{},run:()=>e(t())});export{r as commandRefreshUpdate};
@@ -1 +0,0 @@
1
- import{s as e}from"./cli-BilSDkvE.js";const t=e(`runner`,{add:async()=>(await import(`./add-BxpLHnvD.js`)).commandRunnerAdd,default:async()=>(await import(`./default-Bobztoxf.js`)).commandRunnerDefault,test:async()=>(await import(`./test-NEbhlxvo.js`)).commandRunnerTest,serve:async()=>(await import(`./serve-CE8YV2e9.js`)).commandRunnerServe,list:async()=>(await import(`./list-C5w01-8q.js`)).commandRunnerList,rename:async()=>(await import(`./rename-CYfy03FE.js`)).commandRunnerRename,remove:async()=>(await import(`./remove-B93LNkZI.js`)).commandRunnerRemove},{menu:[{usage:`add <kind>`,blurb:`connect a runner`},{usage:`default <id>`,blurb:`set the default in its scope`},{usage:`test <id>`,blurb:`check a runner connection`},{usage:`serve --url <public url>`,blurb:`run your server's tasks on this machine`},{usage:`list`,blurb:`list your runners and the workspace's`},{usage:`rename <id> <name>`,blurb:`rename a runner`},{usage:`remove <id>`,blurb:`remove a runner`}],description:[`Run your Coder server's tasks on your own machine, reached through any tunnel.`],exampleCommand:`runner serve`});export{t as commandRunner};
@@ -1,17 +0,0 @@
1
- 'use client';
2
-
3
- import { useEffect } from 'preact/hooks';
4
-
5
- /** `serve` opens /dash#token=…: the fragment never reaches the server, and it leaves history before the form posts it. */
6
- export function TokenFromHash() {
7
- useEffect(() => {
8
- const token = /(?:^|&)token=([^&]+)/.exec(location.hash.slice(1))?.[1];
9
- if (!token) return;
10
- history.replaceState(null, '', location.pathname + location.search);
11
- const form = document.getElementById('token-form') as HTMLFormElement | null;
12
- if (!form) return;
13
- (form.elements.namedItem('token') as HTMLInputElement).value = decodeURIComponent(token);
14
- form.submit();
15
- }, []);
16
- return null;
17
- }