@wular/coder 0.3.18 → 0.4.1
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/README.md +18 -16
- package/bin/coder.mjs +3 -1
- package/dist/actions-Mk3FSlpJ.js +20 -0
- package/dist/adapter-B0oYCI0S.js +1 -0
- package/dist/adapter-BKVzTDnn.js +1 -0
- package/dist/adapter-DPInwbJG.js +1 -0
- package/dist/adapter-DaiJMOYo.js +1 -0
- package/dist/adapter-PeKziOUg.js +1 -0
- package/dist/add-BxpLHnvD.js +1 -0
- package/dist/add-CE-70LFs.js +1 -0
- package/dist/add-U-pty9qJ.js +6 -0
- package/dist/add-ej0X9e3a.js +1 -0
- package/dist/add-json-CEa-6luW.js +1 -0
- package/dist/agent-BsYx3Odz.js +3 -0
- package/dist/agent-JdtZozvP.js +1 -0
- package/dist/alias-DX-Bm86x.js +2 -0
- package/dist/app-BT5f7zL5.js +1 -0
- package/dist/approvals-C-AvFt6s.js +2 -0
- package/dist/approve-DOmpQRNd.js +2 -0
- package/dist/apps-CjfrZyM5.js +1 -0
- package/dist/archive-BUB8gFKD.js +4 -0
- package/dist/archive-BziJ1rQ-.js +3 -0
- package/dist/archive-sweep-CtBcARgN.js +1 -0
- package/dist/args-BOEEdpWk.js +1 -0
- package/dist/ask-dE3U3ss2.js +4 -0
- package/dist/auth-BFny--17.js +1 -0
- package/dist/auth-DWHIzqbA.js +1 -0
- package/dist/builtin/coder/agent.json +24 -0
- package/dist/builtin/coder/system.md +17 -0
- package/dist/chat-3Znsevah.js +1 -0
- package/dist/chat-B_yhNTo0.js +13 -0
- package/dist/chat-bridge-BS9WtP3X.js +2 -0
- package/dist/cli-BilSDkvE.js +9 -0
- package/dist/cli.d.ts +71 -1
- package/dist/cli.js +1 -91
- package/dist/client-D9IoAuDD.js +1 -0
- package/dist/config-Da_cwoxI.js +3 -0
- package/dist/create-C_iMJV4Y.js +1 -0
- package/dist/credentials-B1jv6dkg.js +1 -0
- package/dist/dash/manifest.json +3427 -0
- package/dist/dash/public/assets/apple-touch-icon.png +0 -0
- package/dist/dash/public/assets/chunks/agent-pills-c9c4ac4d4a10df83.js +1 -0
- package/dist/dash/public/assets/chunks/agent-settings-form-8be2ddab074aba6d.js +1 -0
- package/dist/dash/public/assets/chunks/agents-grid-951584b6f4c4314e.js +1 -0
- package/dist/dash/public/assets/chunks/badge-676b01e0c615bf7b.js +1 -0
- package/dist/dash/public/assets/chunks/card-e0901d68b79dfa93.js +1 -0
- package/dist/dash/public/assets/chunks/combo-41234c24668b1db1.js +1 -0
- package/dist/dash/public/assets/chunks/composer-5534be50bc12385e.js +1 -0
- package/dist/dash/public/assets/chunks/composer-d10d4b1d54c4f751.js +1 -0
- package/dist/dash/public/assets/chunks/composer-data-6f7608fed13f3dd7.js +1 -0
- package/dist/dash/public/assets/chunks/confirm-f2fe4ba9905a89c6.js +1 -0
- package/dist/dash/public/assets/chunks/connect-apps-aa2a3d82e48ed8c3.js +1 -0
- package/dist/dash/public/assets/chunks/connect-repositories-5389ec8701a3deac.js +1 -0
- package/dist/dash/public/assets/chunks/credentials-list-bc5bfcab058176c5.js +2 -0
- package/dist/dash/public/assets/chunks/custom-range-4761ab14f05149df.js +1 -0
- package/dist/dash/public/assets/chunks/editor-bfe8cd854f8001be.js +7 -0
- package/dist/dash/public/assets/chunks/engines-list-f1191390f5715b39.js +1 -0
- package/dist/dash/public/assets/chunks/field-901f1f35c18c39c9.js +1 -0
- package/dist/dash/public/assets/chunks/format-eb03fc9d9744d960.js +1 -0
- package/dist/dash/public/assets/chunks/heads-f3bcd289663d48fa.js +1 -0
- package/dist/dash/public/assets/chunks/instructions-052fa45a9daf6db6.js +2 -0
- package/dist/dash/public/assets/chunks/instructions-d0a4b0d95009c262.js +1 -0
- package/dist/dash/public/assets/chunks/list-1d259660d7612c5f.js +1 -0
- package/dist/dash/public/assets/chunks/mcp-list-e3bebbbe831393b8.js +1 -0
- package/dist/dash/public/assets/chunks/model-options-15c53331a2f28a4f.js +1 -0
- package/dist/dash/public/assets/chunks/models-list-44f857a469ca04d5.js +1 -0
- package/dist/dash/public/assets/chunks/paged-bc6fa0c2b9d52ed7.js +1 -0
- package/dist/dash/public/assets/chunks/platform-actions-d1426602049926d2.js +1 -0
- package/dist/dash/public/assets/chunks/runners-list-1901af8a5dea1f09.js +1 -0
- package/dist/dash/public/assets/chunks/runtime-246221e985d863e5-1.js +2 -0
- package/dist/dash/public/assets/chunks/segmented-358ff2b4992b8384.js +1 -0
- package/dist/dash/public/assets/chunks/select-7ae25fd8a7d6c338.js +1 -0
- package/dist/dash/public/assets/chunks/sentinel-c972a33dc69a5135.js +1 -0
- package/dist/dash/public/assets/chunks/shared-init-246221e985d863e5-2.js +1 -0
- package/dist/dash/public/assets/chunks/shared-init-88cce66bb3cfe1e5.js +5 -0
- package/dist/dash/public/assets/chunks/shared-init-8f2ac936c95a7f7b.js +1 -0
- package/dist/dash/public/assets/chunks/shared-init-ffb3397e494137c9.js +2 -0
- package/dist/dash/public/assets/chunks/tail-7c27aab8ba268bd9.js +1 -0
- package/dist/dash/public/assets/chunks/task-actions-8e1d93c788d001df.js +1 -0
- package/dist/dash/public/assets/chunks/task-fa8b82e95e771c4a.js +1 -0
- package/dist/dash/public/assets/chunks/task-view-6d7618d2820a5cb4.js +3 -0
- package/dist/dash/public/assets/chunks/tasks-list-f4784e5cbd0ed785.js +1 -0
- package/dist/dash/public/assets/chunks/toolbar-a75d2570f07cbb70.js +1 -0
- package/dist/dash/public/assets/chunks/versions-list-fc2e0d2a7382e049.js +1 -0
- package/dist/dash/public/assets/chunks/wular-pnext-246221e985d863e5-0.js +1 -0
- package/dist/dash/public/assets/connect-382b1729a7ae7808.css +1 -0
- package/dist/dash/public/assets/dash-9e02d5d1a6d42ee3.css +1 -0
- package/dist/dash/public/assets/dash-account-04859899c1838ada.css +1 -0
- package/dist/dash/public/assets/dash-agents-9e678137267dec07.css +1 -0
- package/dist/dash/public/assets/dash-agents-new-26fa27b17ef9b8d8.css +1 -0
- package/dist/dash/public/assets/dash-agents-param-slug-b975c48f8abf3444.css +1 -0
- package/dist/dash/public/assets/dash-agents-param-slug-edit-e13fda599bb04843.css +1 -0
- package/dist/dash/public/assets/dash-agents-param-slug-platforms-70292932cb27bc96.css +1 -0
- package/dist/dash/public/assets/dash-agents-param-slug-settings-71f9a86251723fcc.css +1 -0
- package/dist/dash/public/assets/dash-agents-param-slug-tasks-fb8eb2ed71006601.css +1 -0
- package/dist/dash/public/assets/dash-agents-param-slug-usage-7c8740f1cdd52c71.css +1 -0
- package/dist/dash/public/assets/dash-settings-8eb818da462227e8.css +1 -0
- package/dist/dash/public/assets/dash-settings-param-tab-849a1a9542e273f5.css +1 -0
- package/dist/dash/public/assets/dash-tasks-81e510e0b6931b42.css +1 -0
- package/dist/dash/public/assets/dash-tasks-param-id-bbd2a83342f2ec10.css +1 -0
- package/dist/dash/public/assets/dash-usage-8e0259e03eaed1bd.css +1 -0
- package/dist/dash/public/assets/favicon.ico +0 -0
- package/dist/dash/public/assets/favicon.svg +1 -0
- package/dist/dash/public/assets/fonts/LICENSE-fira-code +93 -0
- package/dist/dash/public/assets/fonts/fira-code-latin-400-normal-717ee080.woff2 +0 -0
- package/dist/dash/public/assets/fonts/fira-code-latin-500-normal-530b6706.woff2 +0 -0
- package/dist/dash/public/assets/fonts/fira-code-latin-700-normal-98730669.woff2 +0 -0
- package/dist/dash/public/assets/global-d2adbf01910d9df5.css +1 -0
- package/dist/dash/public/assets/login-c129b1ce237be260.css +1 -0
- package/dist/dash/public/assets/pnext-client-03b03b254e525e82.js +1 -0
- package/dist/dash/public/assets/pnext-client-1b9ab0963a8ff77b.js +1 -0
- package/dist/dash/public/assets/pnext-client-1c7859bb888f4ef0.js +1 -0
- package/dist/dash/public/assets/pnext-client-3c748afe963fb05d.js +1 -0
- package/dist/dash/public/assets/pnext-client-4f47c2cae220f107.js +1 -0
- package/dist/dash/public/assets/pnext-client-6ab9fd9b53b794d2.js +1 -0
- package/dist/dash/public/assets/pnext-client-6c241786342498e4.js +1 -0
- package/dist/dash/public/assets/pnext-client-80b56d420f02b808.js +1 -0
- package/dist/dash/public/assets/pnext-client-83135c17bae850a3.js +1 -0
- package/dist/dash/public/assets/pnext-client-8e6fa4302ae0396f.js +1 -0
- package/dist/dash/public/assets/pnext-client-932c9d8cc0717fc8.js +1 -0
- package/dist/dash/public/assets/pnext-client-a42ae63d4de113f9.js +1 -0
- package/dist/dash/public/assets/pnext-client-d2ee6f8c1e337032.js +1 -0
- package/dist/dash/public/assets/pnext-client-d513f65ec23b7f20.js +1 -0
- package/dist/dash/public/assets/pnext-client-ecb88e2a8a109954.js +1 -0
- package/dist/dash/public/assets/pnext-client-f1545ee6270bbf9a.js +1 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/boot-B2MFTRO2.js +30 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/build-tier-XJJSL5FR.js +2704 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-2HFY3DQT.js +208 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-2ICEVELW.js +834 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-3UPROT2C.js +35 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-4P5CMIYT.js +1582 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-4TKZKZ3Q.js +131 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-5RDEILQB.js +437 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-62KEQM43.js +25 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-6KQSWT6D.js +831 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-7DCNCW6O.js +724 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-B4THCTQP.js +22 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-C2LIV2MM.js +172 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-CCATPVTW.js +378 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-COXJAPTU.js +89 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-E6IXL2NJ.js +6270 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-FLGRBFAH.js +1198 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-FTJVHFWD.js +61 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-H523KSIH.js +5151 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-HT6KKX6A.js +20 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-JESFYECC.js +438 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-JRPJM2XY.js +17 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-L2IWDUXG.js +107 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-L5P4Y4UC.js +183 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-NQE46AZN.js +647 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-PA4QEARJ.js +129 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-PZ5AXOLW.js +7146 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-SNVPTULL.js +2397 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-T3QZT3PG.js +220 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-VC5O2SDP.js +72 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-WZX4V6CM.js +231 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-XUUIDXY5.js +627 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/chunk-ZHFDO3PR.js +265 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/compile-CE2DN7ZA.js +18 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/config-UREY7XJT.js +16 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/config-loader-UI2XE3PZ.js +17 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/entry.js +219 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/generate-I2PPTDFD.js +16 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/modules-UVOCE4C2.js +48 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/pipeline-UW47K537.js +963 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/proxy-ITGOVJBW.js +26 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/register-4SA55SWT.js +12579 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/router-JNKHLBCZ.js +505 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/routes-PD6J2NXW.js +54 -0
- package/dist/dash/server/bundle-0.1.5-1508b6c99c0d1e68/tsconfig-defaults-ZXEH7RQK.js +15 -0
- package/dist/default-Bobztoxf.js +1 -0
- package/dist/default-vYPT26DR.js +1 -0
- package/dist/delete-D8gEwoOj.js +4 -0
- package/dist/delete-z1_86nf6.js +2 -0
- package/dist/disable-DVKd-0Xb.js +1 -0
- package/dist/discover-Df-a8K4R.js +3 -0
- package/dist/discover-Dvr_3_Xr.js +1 -0
- package/dist/dispatch-BKeAch9E.js +14 -0
- package/dist/docs-BX65z2Iu.js +2 -0
- package/dist/docs-DKJnqZqt.js +2 -0
- package/dist/enable-C8Zf_wpN.js +1 -0
- package/dist/env-CRf6wkM2.js +1 -0
- package/dist/exec-RZFLclKX.js +11 -0
- package/dist/executor-BvAA7Cgw.js +10 -0
- package/dist/flow/builtin/review.d.ts +157 -0
- package/dist/flow/builtin/review.js +19 -0
- package/dist/flow/index.d.ts +1 -1
- package/dist/flow/index.js +1 -1
- package/dist/flow-17k25MHt.js +1 -0
- package/dist/github-actions-DwUzm4hC.js +24 -0
- package/dist/http-Bkg_OQ6r.js +1 -0
- package/dist/{index-BQ-b77or.d.ts → index-CZjFX5zV.d.ts} +116 -238
- package/dist/init-CoMfFxbG.js +1 -0
- package/dist/integrations-5xCaXSd-.js +1 -0
- package/dist/integrations-BAgdVDhj.js +5 -0
- package/dist/lib/broker.js +3 -3
- package/dist/list-BAKvxSbh.js +4 -0
- package/dist/list-BYiG8Zav.js +2 -0
- package/dist/list-BxEywhHU.js +1 -0
- package/dist/list-C5w01-8q.js +1 -0
- package/dist/list-CIW2joV1.js +1 -0
- package/dist/list-DX-z3SBp.js +3 -0
- package/dist/list-DpCf4G-H.js +4 -0
- package/dist/list-VToARh3C.js +1 -0
- package/dist/load-BpEsAn51.js +2 -0
- package/dist/local-H3uvqEbq.js +1 -0
- package/dist/log-view-dg0TlKLA.js +1 -0
- package/dist/login-BFxX4jJy.js +1 -0
- package/dist/login-DkkslfBx.js +1 -0
- package/dist/logout-BHAtw4Z8.js +1 -0
- package/dist/maintenance-C5FklUw3.js +1 -0
- package/dist/match-CXAjDhg7.js +1 -0
- package/dist/mcp-BgKb2Cdk.js +1 -0
- package/dist/mcp-CCZOAo06.js +1 -0
- package/dist/mcp-server-DGzme0YX.js +1 -0
- package/dist/migrate-C4vM7DQN.js +2 -0
- package/dist/migrate-N-85_N7J.js +1 -0
- package/dist/model-Bs1StDo3.js +1 -0
- package/dist/models-_5LVGC3m.js +1 -0
- package/dist/output-BKeyLbvt.js +5 -0
- package/dist/prompt-CEuBMNhk.js +7 -0
- package/dist/push-CUC55Bqd.js +1 -0
- package/dist/queue-6io_NOP3.js +116 -0
- package/dist/refresh-BIrmrWYq.js +1 -0
- package/dist/remote-miQNTVRa.js +1 -0
- package/dist/remove-B93LNkZI.js +1 -0
- package/dist/remove-C5_xggx7.js +1 -0
- package/dist/remove-CuH8a3L9.js +1 -0
- package/dist/remove-eQ8y5C5p.js +1 -0
- package/dist/rename-CYfy03FE.js +1 -0
- package/dist/result-BEtQZHaY.js +5 -0
- package/dist/result-BzaM3inj.js +15 -0
- package/dist/resume-DYzKvyEw.js +3 -0
- package/dist/review-oIBeECZE.js +7 -0
- package/dist/rolldown-runtime-DT7IzrpZ.js +1 -0
- package/dist/rotate-key-IdMYH7gg.js +1 -0
- package/dist/run-BDYl0CKl.js +2 -0
- package/dist/run-CTtd0Znc.js +5 -0
- package/dist/run-CawRGnOg.js +2 -0
- package/dist/runner-D7ScbIHJ.js +1 -0
- package/dist/runner-sUpWJ_k0.js +1 -0
- package/dist/schema-CU2iFkp8.js +1 -0
- package/dist/sdk.d.ts +1166 -191
- package/dist/sdk.js +1 -1
- package/dist/serve-BTeomYxW.js +1 -0
- package/dist/serve-CE8YV2e9.js +1 -0
- package/dist/serve-CPnmrKyf.js +2 -0
- package/dist/serve-CQKZxzFE.js +4 -0
- package/dist/serve-GmRO89s5.js +12 -0
- package/dist/server-Kb22cWfF.js +1 -0
- package/dist/setup-host-GFTUzzZJ.js +6 -0
- package/dist/shared-DVtzWhUT.js +1 -0
- package/dist/show-CMUg8SJu.js +1 -0
- package/dist/show-COTZEYgc.js +1 -0
- package/dist/status-D26U--p8.js +1 -0
- package/dist/steer-C6uARLp5.js +4 -0
- package/dist/stop-BrGI3hSS.js +1 -0
- package/dist/stop-ByCAlbmN.js +3 -0
- package/dist/store-B94tSate.js +42 -0
- package/dist/store-DzqXS2wT.js +8 -0
- package/dist/task-C6VAg5WU.js +1 -0
- package/dist/task-CgOKgkEG.js +1 -0
- package/dist/task-DeglY79z.js +5 -0
- package/dist/test-NEbhlxvo.js +1 -0
- package/dist/tools-D0Zfs8Hx.js +1 -0
- package/dist/types-D0q15RJa.js +1 -0
- package/dist/types-I5Cwtl_K.d.ts +389 -0
- package/dist/unalias-C9NqmSDq.js +1 -0
- package/dist/update-BTxYQj7Z.js +2 -0
- package/dist/upgrade-hA0yWBvx.js +2 -0
- package/dist/usage-BhqoCjvE.js +1 -0
- package/dist/usage-C4d9X2Uq.js +1 -0
- package/dist/watch-CSdj24ct.js +5 -0
- package/dist/watch-DtRuC0Wc.js +8 -0
- package/dist/wire-BeT1Axeo.js +1 -0
- package/dist/worker-CXndxmGF.js +9 -0
- package/dist/worker-DX7P9kWl.js +1 -0
- package/dist/workflow-Dcmdooi8.js +1 -0
- package/docs/agents/coder.md +26 -0
- package/docs/agents/index.md +120 -0
- package/docs/config.md +51 -30
- package/docs/dash.md +64 -0
- package/docs/flows.md +20 -15
- package/docs/mcp.md +62 -0
- package/docs/models.md +41 -23
- package/docs/review.md +41 -0
- package/docs/sdk.md +57 -38
- package/docs/self-host.md +188 -0
- package/migrations/0000_initial.sql +252 -0
- package/migrations/meta/0000_snapshot.json +1787 -0
- package/migrations/meta/_journal.json +13 -0
- package/package.json +37 -7
- package/plugins/agents/skills/coder/SKILL.md +14 -60
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/commands/setup.md +2 -2
- package/plugins/claude/skills/dispatch/SKILL.md +14 -58
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/README.md +5 -5
- package/plugins/cursor/assets/logo.png +0 -0
- package/plugins/cursor/skills/coder/SKILL.md +14 -59
- package/src/client/index.ts +573 -0
- package/src/client/types.ts +506 -0
- package/src/core/errors.ts +72 -0
- package/src/core/task/log-view.ts +173 -0
- package/src/server/auth/sign-in.ts +14 -0
- package/src/server/dash/api/load.ts +62 -0
- package/src/server/dash/api/types.ts +11 -0
- package/src/server/dash/app/connect/page.tsx +42 -0
- package/src/server/dash/app/dash/account/loading.tsx +11 -0
- package/src/server/dash/app/dash/account/notify.tsx +42 -0
- package/src/server/dash/app/dash/account/page.css +81 -0
- package/src/server/dash/app/dash/account/page.tsx +126 -0
- package/src/server/dash/app/dash/account/sign-out.tsx +24 -0
- package/src/server/dash/app/dash/agents/(list)/agent-menu.tsx +10 -0
- package/src/server/dash/app/dash/agents/(list)/agents-grid.tsx +143 -0
- package/src/server/dash/app/dash/agents/(list)/connect-apps.tsx +46 -0
- package/src/server/dash/app/dash/agents/(list)/loading.tsx +14 -0
- package/src/server/dash/app/dash/agents/(list)/page.css +72 -0
- package/src/server/dash/app/dash/agents/(list)/page.tsx +89 -0
- package/src/server/dash/app/dash/agents/[slug]/(tabs)/layout.tsx +135 -0
- package/src/server/dash/app/dash/agents/[slug]/(tabs)/loading.tsx +5 -0
- package/src/server/dash/app/dash/agents/[slug]/(tabs)/page.css +21 -0
- package/src/server/dash/app/dash/agents/[slug]/(tabs)/page.tsx +173 -0
- package/src/server/dash/app/dash/agents/[slug]/(tabs)/platforms/loading.tsx +18 -0
- package/src/server/dash/app/dash/agents/[slug]/(tabs)/platforms/page.css +87 -0
- package/src/server/dash/app/dash/agents/[slug]/(tabs)/platforms/page.tsx +258 -0
- package/src/server/dash/app/dash/agents/[slug]/(tabs)/platforms/platform-actions.tsx +111 -0
- package/src/server/dash/app/dash/agents/[slug]/(tabs)/settings/agent-settings-form.css +114 -0
- package/src/server/dash/app/dash/agents/[slug]/(tabs)/settings/agent-settings-form.tsx +294 -0
- package/src/server/dash/app/dash/agents/[slug]/(tabs)/settings/loading.tsx +5 -0
- package/src/server/dash/app/dash/agents/[slug]/(tabs)/settings/page.tsx +54 -0
- package/src/server/dash/app/dash/agents/[slug]/(tabs)/tasks/loading.tsx +5 -0
- package/src/server/dash/app/dash/agents/[slug]/(tabs)/tasks/page.tsx +14 -0
- package/src/server/dash/app/dash/agents/[slug]/(tabs)/usage/loading.tsx +31 -0
- package/src/server/dash/app/dash/agents/[slug]/(tabs)/usage/page.css +12 -0
- package/src/server/dash/app/dash/agents/[slug]/(tabs)/usage/page.tsx +163 -0
- package/src/server/dash/app/dash/agents/[slug]/(tabs)/versions-list.tsx +53 -0
- package/src/server/dash/app/dash/agents/[slug]/edit/loading.tsx +31 -0
- package/src/server/dash/app/dash/agents/[slug]/edit/page.tsx +91 -0
- package/src/server/dash/app/dash/agents/agent/agent-pills.css +27 -0
- package/src/server/dash/app/dash/agents/agent/agent-pills.tsx +133 -0
- package/src/server/dash/app/dash/agents/agent/hero.css +40 -0
- package/src/server/dash/app/dash/agents/agent/hero.tsx +60 -0
- package/src/server/dash/app/dash/agents/agent/instructions.css +29 -0
- package/src/server/dash/app/dash/agents/agent/instructions.tsx +82 -0
- package/src/server/dash/app/dash/agents/editor/connect-repositories.ts +16 -0
- package/src/server/dash/app/dash/agents/editor/editor.css +263 -0
- package/src/server/dash/app/dash/agents/editor/editor.tsx +774 -0
- package/src/server/dash/app/dash/agents/editor/import-picker.css +48 -0
- package/src/server/dash/app/dash/agents/editor/import-picker.tsx +253 -0
- package/src/server/dash/app/dash/agents/editor/names.ts +35 -0
- package/src/server/dash/app/dash/agents/new/loading.tsx +25 -0
- package/src/server/dash/app/dash/agents/new/page.tsx +72 -0
- package/src/server/dash/app/dash/layout.css +265 -0
- package/src/server/dash/app/dash/layout.tsx +332 -0
- package/src/server/dash/app/dash/page.tsx +14 -0
- package/src/server/dash/app/dash/settings/[tab]/credentials-list.css +94 -0
- package/src/server/dash/app/dash/settings/[tab]/credentials-list.tsx +619 -0
- package/src/server/dash/app/dash/settings/[tab]/credentials.tsx +36 -0
- package/src/server/dash/app/dash/settings/[tab]/engines-list.css +16 -0
- package/src/server/dash/app/dash/settings/[tab]/engines-list.tsx +135 -0
- package/src/server/dash/app/dash/settings/[tab]/list.css +98 -0
- package/src/server/dash/app/dash/settings/[tab]/list.tsx +215 -0
- package/src/server/dash/app/dash/settings/[tab]/loading.tsx +6 -0
- package/src/server/dash/app/dash/settings/[tab]/mcp-list.css +43 -0
- package/src/server/dash/app/dash/settings/[tab]/mcp-list.tsx +290 -0
- package/src/server/dash/app/dash/settings/[tab]/models-list.tsx +513 -0
- package/src/server/dash/app/dash/settings/[tab]/page.tsx +89 -0
- package/src/server/dash/app/dash/settings/[tab]/runners-list.css +153 -0
- package/src/server/dash/app/dash/settings/[tab]/runners-list.tsx +457 -0
- package/src/server/dash/app/dash/settings/layout.tsx +50 -0
- package/src/server/dash/app/dash/settings/model-options.ts +117 -0
- package/src/server/dash/app/dash/settings/page.tsx +7 -0
- package/src/server/dash/app/dash/settings/settings-head.tsx +24 -0
- package/src/server/dash/app/dash/settings/tunnel-guide.tsx +28 -0
- package/src/server/dash/app/dash/tasks/[id]/activity.tsx +202 -0
- package/src/server/dash/app/dash/tasks/[id]/loading.tsx +31 -0
- package/src/server/dash/app/dash/tasks/[id]/page.tsx +30 -0
- package/src/server/dash/app/dash/tasks/[id]/task-actions.tsx +164 -0
- package/src/server/dash/app/dash/tasks/[id]/task-view.css +407 -0
- package/src/server/dash/app/dash/tasks/[id]/task-view.tsx +513 -0
- package/src/server/dash/app/dash/tasks/composer-data.ts +96 -0
- package/src/server/dash/app/dash/tasks/composer.css +316 -0
- package/src/server/dash/app/dash/tasks/composer.tsx +890 -0
- package/src/server/dash/app/dash/tasks/list/status.css +50 -0
- package/src/server/dash/app/dash/tasks/list/status.tsx +20 -0
- package/src/server/dash/app/dash/tasks/list/task.ts +45 -0
- package/src/server/dash/app/dash/tasks/list/tasks-list.css +85 -0
- package/src/server/dash/app/dash/tasks/list/tasks-list.tsx +402 -0
- package/src/server/dash/app/dash/tasks/list/tasks-section.tsx +96 -0
- package/src/server/dash/app/dash/tasks/page.tsx +53 -0
- package/src/server/dash/app/dash/token-from-hash.tsx +17 -0
- package/src/server/dash/app/dash/usage/custom-range.tsx +63 -0
- package/src/server/dash/app/dash/usage/day-chart.css +109 -0
- package/src/server/dash/app/dash/usage/day-chart.tsx +110 -0
- package/src/server/dash/app/dash/usage/loading.tsx +17 -0
- package/src/server/dash/app/dash/usage/metric.ts +13 -0
- package/src/server/dash/app/dash/usage/page.tsx +117 -0
- package/src/server/dash/app/dash/usage/range-bar.css +13 -0
- package/src/server/dash/app/dash/usage/range-bar.tsx +69 -0
- package/src/server/dash/app/dash/usage/stats.css +52 -0
- package/src/server/dash/app/dash/usage/stats.tsx +19 -0
- package/src/server/dash/app/dash/usage/top-agents.css +40 -0
- package/src/server/dash/app/dash/usage/top-agents.tsx +138 -0
- package/src/server/dash/app/dash/usage/usage.css +0 -0
- package/src/server/dash/app/globals.css +692 -0
- package/src/server/dash/app/layout.tsx +52 -0
- package/src/server/dash/app/login/page.css +26 -0
- package/src/server/dash/app/login/page.tsx +57 -0
- package/src/server/dash/app/page.tsx +5 -0
- package/src/server/dash/app/responsive.css +49 -0
- package/src/server/dash/app/zone.tsx +13 -0
- package/src/server/dash/comps/frame/auth-panel.css +60 -0
- package/src/server/dash/comps/frame/auth-panel.tsx +44 -0
- package/src/server/dash/comps/frame/drawer.css +28 -0
- package/src/server/dash/comps/frame/drawer.tsx +39 -0
- package/src/server/dash/comps/frame/heads.ts +41 -0
- package/src/server/dash/comps/frame/loading-card.tsx +65 -0
- package/src/server/dash/comps/frame/page-head.css +83 -0
- package/src/server/dash/comps/frame/page-head.tsx +71 -0
- package/src/server/dash/comps/frame/stream.tsx +50 -0
- package/src/server/dash/comps/frame/task-toasts.tsx +214 -0
- package/src/server/dash/comps/frame/theme-choices.tsx +46 -0
- package/src/server/dash/comps/nav/current-link.tsx +53 -0
- package/src/server/dash/comps/nav/side-toggle.tsx +30 -0
- package/src/server/dash/comps/nav/to.ts +22 -0
- package/src/server/dash/comps/ui/badge.css +64 -0
- package/src/server/dash/comps/ui/badge.tsx +41 -0
- package/src/server/dash/comps/ui/card.css +93 -0
- package/src/server/dash/comps/ui/card.tsx +77 -0
- package/src/server/dash/comps/ui/collapse.css +32 -0
- package/src/server/dash/comps/ui/collapse.tsx +49 -0
- package/src/server/dash/comps/ui/combo.tsx +154 -0
- package/src/server/dash/comps/ui/confirm.css +36 -0
- package/src/server/dash/comps/ui/confirm.tsx +67 -0
- package/src/server/dash/comps/ui/field.css +25 -0
- package/src/server/dash/comps/ui/field.tsx +34 -0
- package/src/server/dash/comps/ui/icon.css +22 -0
- package/src/server/dash/comps/ui/icon.tsx +17 -0
- package/src/server/dash/comps/ui/icons.ts +44 -0
- package/src/server/dash/comps/ui/menu.css +178 -0
- package/src/server/dash/comps/ui/menu.tsx +152 -0
- package/src/server/dash/comps/ui/segmented.css +44 -0
- package/src/server/dash/comps/ui/segmented.tsx +58 -0
- package/src/server/dash/comps/ui/select.css +103 -0
- package/src/server/dash/comps/ui/select.tsx +250 -0
- package/src/server/dash/comps/ui/sentinel.css +58 -0
- package/src/server/dash/comps/ui/sentinel.tsx +67 -0
- package/src/server/dash/comps/ui/tabs.css +81 -0
- package/src/server/dash/comps/ui/tabs.tsx +32 -0
- package/src/server/dash/comps/ui/tail.css +12 -0
- package/src/server/dash/comps/ui/tail.tsx +37 -0
- package/src/server/dash/comps/ui/toast.css +72 -0
- package/src/server/dash/comps/ui/toolbar.css +143 -0
- package/src/server/dash/comps/ui/toolbar.tsx +93 -0
- package/src/server/dash/package.json +5 -0
- package/src/server/dash/pnext-env.d.ts +4 -0
- package/src/server/dash/pnext.config.ts +5 -0
- package/src/server/dash/public/assets/apple-touch-icon.png +0 -0
- package/src/server/dash/public/assets/favicon.ico +0 -0
- package/src/server/dash/public/assets/favicon.svg +1 -0
- package/src/server/dash/public/assets/fonts/LICENSE-fira-code +93 -0
- package/src/server/dash/public/assets/fonts/fira-code-latin-400-normal-717ee080.woff2 +0 -0
- package/src/server/dash/public/assets/fonts/fira-code-latin-500-normal-530b6706.woff2 +0 -0
- package/src/server/dash/public/assets/fonts/fira-code-latin-700-normal-98730669.woff2 +0 -0
- package/src/server/dash/tsconfig.json +10 -0
- package/src/server/dash/utils/client.ts +19 -0
- package/src/server/dash/utils/format.ts +75 -0
- package/src/server/dash/utils/paged.ts +184 -0
- package/src/server/dash/utils/range.ts +117 -0
- package/dist/app-server-CW93J9zJ.js +0 -3
- package/dist/runtime-D-U1DNkI.js +0 -26
- package/dist/upgrade-DOj06r5b.js +0 -37
|
@@ -0,0 +1,647 @@
|
|
|
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
|
+
isCommonJsModuleSource
|
|
7
|
+
} from "./chunk-4P5CMIYT.js";
|
|
8
|
+
import {
|
|
9
|
+
__require,
|
|
10
|
+
loadNative
|
|
11
|
+
} from "./chunk-3UPROT2C.js";
|
|
12
|
+
|
|
13
|
+
// ../node_modules/.bun/@wular+pnext@0.1.5+62547eec5a2188e3/node_modules/@wular/pnext/src/client/reference.ts
|
|
14
|
+
import { createHash } from "node:crypto";
|
|
15
|
+
import path from "node:path";
|
|
16
|
+
var compiledClientReferences = /* @__PURE__ */ new Set();
|
|
17
|
+
function noteCompiledClientReference(file) {
|
|
18
|
+
compiledClientReferences.add(path.resolve(file));
|
|
19
|
+
}
|
|
20
|
+
var clientReferenceSymbol = Symbol.for("pnext.clientReference");
|
|
21
|
+
function clientReferenceId(file, exportName) {
|
|
22
|
+
return createHash("sha256").update(file).update("\0").update(exportName).digest("hex").slice(0, 10);
|
|
23
|
+
}
|
|
24
|
+
function ssrClientReference(reference) {
|
|
25
|
+
if (reference.sideEffect) return false;
|
|
26
|
+
if (reference.dynamic?.ssr === false) return false;
|
|
27
|
+
if (reference.dynamic?.load === "visible" && reference.dynamic.ssr !== true) return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// ../node_modules/.bun/@wular+pnext@0.1.5+62547eec5a2188e3/node_modules/@wular/pnext/src/runtime/module-transform.ts
|
|
32
|
+
var transformSync = (...args) => (
|
|
33
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
34
|
+
loadNative(() => __require("oxc-transform")).transformSync(
|
|
35
|
+
...args
|
|
36
|
+
)
|
|
37
|
+
);
|
|
38
|
+
var NON_LITERAL_DYNAMIC_IMPORT = /\bimport\s*\(\s*(?!['"])[^)]/;
|
|
39
|
+
var REQUIRE_CALL = /\brequire\s*\(/;
|
|
40
|
+
var COMMONJS_EXPORTS = /\bmodule\.exports\b|\bexports\s*\.\s*[A-Za-z_$]/;
|
|
41
|
+
var ENUM_DECLARATION = /(?:^|[^.\w$])enum\s+[A-Za-z_$]/;
|
|
42
|
+
function transformBailReason(source, file) {
|
|
43
|
+
if (REQUIRE_CALL.test(source) || COMMONJS_EXPORTS.test(source) || isCommonJsModuleSource(source, file)) {
|
|
44
|
+
return "commonjs";
|
|
45
|
+
}
|
|
46
|
+
if (NON_LITERAL_DYNAMIC_IMPORT.test(source)) return "glob-import";
|
|
47
|
+
if (ENUM_DECLARATION.test(source)) return "enum";
|
|
48
|
+
return void 0;
|
|
49
|
+
}
|
|
50
|
+
function transformServerModule(source, file, define) {
|
|
51
|
+
const options = {
|
|
52
|
+
lang: langForFile(file),
|
|
53
|
+
jsx: { runtime: "automatic", importSource: "preact" },
|
|
54
|
+
// No `target`: these modules are loaded by Bun, so syntax lowering buys nothing and oxc's
|
|
55
|
+
// lowering plugins are expensive on the transform line.
|
|
56
|
+
sourcemap: false,
|
|
57
|
+
...define ? { define } : {}
|
|
58
|
+
};
|
|
59
|
+
const result = transformSync(file, source, options);
|
|
60
|
+
if (result.errors.length > 0) return { bail: "parse-error" };
|
|
61
|
+
if (Object.keys(result.helpersUsed).length > 0) return { bail: "helpers" };
|
|
62
|
+
return { code: dropUnreferencedImports(result.code) };
|
|
63
|
+
}
|
|
64
|
+
function langForFile(file) {
|
|
65
|
+
if (/\.[mc]?ts$/.test(file)) return "ts";
|
|
66
|
+
if (file.endsWith(".tsx")) return "tsx";
|
|
67
|
+
return "jsx";
|
|
68
|
+
}
|
|
69
|
+
var SPECIFIER_RE = /(?:^|[\n;{}])\s*(?:import|export)\b[^;'"]*?\bfrom\s*("[^"]*"|'[^']*')|(?:^|[\n;{}])\s*import\s*("[^"]*"|'[^']*')|\bimport\s*\(\s*("[^"]*"|'[^']*')\s*\)/g;
|
|
70
|
+
function outputSpecifiers(code) {
|
|
71
|
+
const found = [];
|
|
72
|
+
SPECIFIER_RE.lastIndex = 0;
|
|
73
|
+
let match;
|
|
74
|
+
while (match = SPECIFIER_RE.exec(code)) {
|
|
75
|
+
for (let group = 1; group <= 3; group += 1) {
|
|
76
|
+
const literal = match[group];
|
|
77
|
+
if (literal === void 0) continue;
|
|
78
|
+
const start = match.index + match[0].lastIndexOf(literal);
|
|
79
|
+
found.push({
|
|
80
|
+
start,
|
|
81
|
+
end: start + literal.length,
|
|
82
|
+
value: literal.slice(1, -1),
|
|
83
|
+
kind: group === 3 ? "dynamic-import" : "import-statement"
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
return found;
|
|
88
|
+
}
|
|
89
|
+
function spliceSource(code, edits) {
|
|
90
|
+
let next = code;
|
|
91
|
+
for (const edit of [...edits].sort((a, b) => b.start - a.start)) {
|
|
92
|
+
next = `${next.slice(0, edit.start)}${edit.value}${next.slice(edit.end)}`;
|
|
93
|
+
}
|
|
94
|
+
return next;
|
|
95
|
+
}
|
|
96
|
+
var IMPORT_STATEMENT_RE = /(?:^|\n)[ \t]*import\s+([A-Za-z_$][\w$]*\s*,\s*)?(?:\*\s*as\s+([A-Za-z_$][\w$]*)|\{([^}]*)\}|([A-Za-z_$][\w$]*))\s+from\s*(?:"[^"]*"|'[^']*')\s*;?/g;
|
|
97
|
+
function dropUnreferencedImports(code) {
|
|
98
|
+
const statements = [];
|
|
99
|
+
IMPORT_STATEMENT_RE.lastIndex = 0;
|
|
100
|
+
let match;
|
|
101
|
+
while (match = IMPORT_STATEMENT_RE.exec(code)) {
|
|
102
|
+
const [text, defaultWithNamed, namespace, named, defaultOnly] = match;
|
|
103
|
+
const names = [];
|
|
104
|
+
if (defaultWithNamed) names.push(defaultWithNamed.replace(/\s*,\s*$/, "").trim());
|
|
105
|
+
if (namespace) names.push(namespace);
|
|
106
|
+
if (defaultOnly) names.push(defaultOnly);
|
|
107
|
+
if (named !== void 0) {
|
|
108
|
+
for (const part of named.split(",")) {
|
|
109
|
+
const local = part.split(/\bas\b/).pop()?.trim();
|
|
110
|
+
if (!local) continue;
|
|
111
|
+
if (!/^[A-Za-z_$][\w$]*$/.test(local)) return code;
|
|
112
|
+
names.push(local);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
if (names.length === 0) continue;
|
|
116
|
+
const leading = text.startsWith("\n") ? 1 : 0;
|
|
117
|
+
statements.push({ start: match.index + leading, end: match.index + text.length, names });
|
|
118
|
+
}
|
|
119
|
+
if (statements.length === 0) return code;
|
|
120
|
+
const gaps = [];
|
|
121
|
+
let cursor = 0;
|
|
122
|
+
for (const statement of statements) {
|
|
123
|
+
gaps.push(code.slice(cursor, statement.start));
|
|
124
|
+
cursor = statement.end;
|
|
125
|
+
}
|
|
126
|
+
gaps.push(code.slice(cursor));
|
|
127
|
+
const used = referencedNames(gaps.join("\n"));
|
|
128
|
+
const unused = statements.filter((statement) => statement.names.every((name) => !used.has(name)));
|
|
129
|
+
if (unused.length === 0) return code;
|
|
130
|
+
return spliceSource(
|
|
131
|
+
code,
|
|
132
|
+
unused.map(({ start, end }) => ({ start, end, value: "" }))
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
var IDENTIFIER_RE = /[A-Za-z_$][\w$]*/g;
|
|
136
|
+
function referencedNames(body) {
|
|
137
|
+
const names = /* @__PURE__ */ new Set();
|
|
138
|
+
IDENTIFIER_RE.lastIndex = 0;
|
|
139
|
+
let match;
|
|
140
|
+
while (match = IDENTIFIER_RE.exec(body)) {
|
|
141
|
+
if (body[match.index - 1] === "." && body[match.index - 2] !== ".") continue;
|
|
142
|
+
names.add(match[0]);
|
|
143
|
+
}
|
|
144
|
+
return names;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// ../node_modules/.bun/@wular+pnext@0.1.5+62547eec5a2188e3/node_modules/@wular/pnext/src/resolve/scan-facts.ts
|
|
148
|
+
var parseSync = (...args) => (
|
|
149
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
150
|
+
loadNative(() => __require("oxc-parser")).parseSync(...args)
|
|
151
|
+
);
|
|
152
|
+
var { Bun: bun } = globalThis;
|
|
153
|
+
var stylesheetOrData = /\.(?:css|scss|sass|less|styl|json)$/;
|
|
154
|
+
var emptyFacts = {
|
|
155
|
+
imports: [],
|
|
156
|
+
dynamicImports: [],
|
|
157
|
+
requires: [],
|
|
158
|
+
exportNames: [],
|
|
159
|
+
exportStars: [],
|
|
160
|
+
useClient: false,
|
|
161
|
+
useServer: false,
|
|
162
|
+
dynamicCalls: []
|
|
163
|
+
};
|
|
164
|
+
var emptyRewriteFacts = {
|
|
165
|
+
edges: [],
|
|
166
|
+
imports: [],
|
|
167
|
+
importMetas: [],
|
|
168
|
+
unreliable: false
|
|
169
|
+
};
|
|
170
|
+
var memo = /* @__PURE__ */ new Map();
|
|
171
|
+
var hits = 0;
|
|
172
|
+
var misses = 0;
|
|
173
|
+
function scanFacts(file, source) {
|
|
174
|
+
if (stylesheetOrData.test(file)) return emptyFacts;
|
|
175
|
+
return parsed(file, source).scan;
|
|
176
|
+
}
|
|
177
|
+
function importSpecifiers(source, sourcefile = "source") {
|
|
178
|
+
const facts = scanFacts(sourcefile, source);
|
|
179
|
+
return [
|
|
180
|
+
...facts.imports.map((edge) => edge.specifier),
|
|
181
|
+
...facts.dynamicImports.map((entry) => entry.specifier),
|
|
182
|
+
...facts.requires.map((entry) => entry.specifier)
|
|
183
|
+
];
|
|
184
|
+
}
|
|
185
|
+
function moduleExportNames(source, sourcefile = "source.tsx") {
|
|
186
|
+
return scanFacts(sourcefile, source).exportNames;
|
|
187
|
+
}
|
|
188
|
+
function moduleExportStars(source, sourcefile = "source.tsx") {
|
|
189
|
+
return scanFacts(sourcefile, source).exportStars;
|
|
190
|
+
}
|
|
191
|
+
function dynamicCallFacts(source, file = "module.tsx") {
|
|
192
|
+
if (stylesheetOrData.test(file)) return [];
|
|
193
|
+
return parsed(file, source).scan.dynamicCalls;
|
|
194
|
+
}
|
|
195
|
+
function rewriteFacts(file, source) {
|
|
196
|
+
if (stylesheetOrData.test(file)) return emptyRewriteFacts;
|
|
197
|
+
return parsed(file, source).rewrite;
|
|
198
|
+
}
|
|
199
|
+
function moduleSpecifierEdges(source, file = "source") {
|
|
200
|
+
const facts = rewriteFacts(file, source);
|
|
201
|
+
return facts.unreliable ? textualEdges(source) : facts.edges;
|
|
202
|
+
}
|
|
203
|
+
function parsed(file, source, lang = langForFile2(file)) {
|
|
204
|
+
const key = `${lang}\0${source.length}\0${bun.hash(source).toString()}`;
|
|
205
|
+
const cached = memo.get(key);
|
|
206
|
+
if (cached) {
|
|
207
|
+
hits += 1;
|
|
208
|
+
return cached;
|
|
209
|
+
}
|
|
210
|
+
misses += 1;
|
|
211
|
+
const facts = parseFacts(file, source, lang);
|
|
212
|
+
memo.set(key, facts);
|
|
213
|
+
return facts;
|
|
214
|
+
}
|
|
215
|
+
function rewriteSpecifierLiterals(source, file, replace) {
|
|
216
|
+
const edges = moduleSpecifierEdges(source, file);
|
|
217
|
+
const edits = [];
|
|
218
|
+
for (const edge of edges) {
|
|
219
|
+
const value = replace(edge.specifier, edge.kind);
|
|
220
|
+
if (value !== void 0) edits.push({ start: edge.start, end: edge.end, value });
|
|
221
|
+
}
|
|
222
|
+
return edits.length > 0 ? spliceSource(source, edits) : source;
|
|
223
|
+
}
|
|
224
|
+
var textualSpecifier = /(\bfrom\s*|\b(?:import|require)\s*\(\s*)(['"])([^'"]+)\2/g;
|
|
225
|
+
function textualEdges(source) {
|
|
226
|
+
const edges = [];
|
|
227
|
+
textualSpecifier.lastIndex = 0;
|
|
228
|
+
let match;
|
|
229
|
+
while (match = textualSpecifier.exec(source)) {
|
|
230
|
+
const start = match.index + match[1].length;
|
|
231
|
+
edges.push({
|
|
232
|
+
specifier: match[3],
|
|
233
|
+
start,
|
|
234
|
+
end: start + match[3].length + 2,
|
|
235
|
+
kind: match[1].includes("require") ? "require" : match[1].includes("import") ? "dynamic" : "import"
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
return edges;
|
|
239
|
+
}
|
|
240
|
+
function parseFacts(file, source, lang) {
|
|
241
|
+
const result = parseSync(file, source, { lang });
|
|
242
|
+
const imports = [];
|
|
243
|
+
const exportNames = [];
|
|
244
|
+
const exportStars = [];
|
|
245
|
+
const edges = [];
|
|
246
|
+
const importStatements = [];
|
|
247
|
+
for (const statement of result.module.staticImports) {
|
|
248
|
+
const names = [];
|
|
249
|
+
const bindings = [];
|
|
250
|
+
let bindsValue = statement.entries.length === 0;
|
|
251
|
+
for (const entry of statement.entries) {
|
|
252
|
+
const kind = entry.importName.kind;
|
|
253
|
+
bindings.push({
|
|
254
|
+
imported: kind === "Default" ? "default" : kind === "NamespaceObject" ? "*" : entry.importName.name ?? "",
|
|
255
|
+
local: entry.localName.value ?? "",
|
|
256
|
+
type: entry.isType
|
|
257
|
+
});
|
|
258
|
+
if (entry.isType) continue;
|
|
259
|
+
bindsValue = true;
|
|
260
|
+
if (kind === "Default") names.push("default");
|
|
261
|
+
else if (kind === "NamespaceObject") names.push("*");
|
|
262
|
+
else if (entry.importName.name) names.push(entry.importName.name);
|
|
263
|
+
}
|
|
264
|
+
importStatements.push({
|
|
265
|
+
specifier: statement.moduleRequest.value,
|
|
266
|
+
start: statement.start,
|
|
267
|
+
end: statement.end,
|
|
268
|
+
specifierStart: statement.moduleRequest.start,
|
|
269
|
+
specifierEnd: statement.moduleRequest.end,
|
|
270
|
+
bindings
|
|
271
|
+
});
|
|
272
|
+
edges.push({
|
|
273
|
+
specifier: statement.moduleRequest.value,
|
|
274
|
+
start: statement.moduleRequest.start,
|
|
275
|
+
end: statement.moduleRequest.end,
|
|
276
|
+
kind: statement.entries.length === 0 ? "side-effect" : "import"
|
|
277
|
+
});
|
|
278
|
+
if (!bindsValue) continue;
|
|
279
|
+
imports.push({
|
|
280
|
+
specifier: statement.moduleRequest.value,
|
|
281
|
+
exports: names,
|
|
282
|
+
index: statement.start
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
const seenExportRequests = /* @__PURE__ */ new Set();
|
|
286
|
+
for (const statement of result.module.staticExports) {
|
|
287
|
+
for (const entry of statement.entries) {
|
|
288
|
+
const request = entry.moduleRequest;
|
|
289
|
+
if (!request || seenExportRequests.has(request.start)) continue;
|
|
290
|
+
seenExportRequests.add(request.start);
|
|
291
|
+
edges.push({
|
|
292
|
+
specifier: request.value,
|
|
293
|
+
start: request.start,
|
|
294
|
+
end: request.end,
|
|
295
|
+
kind: "export"
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
for (const statement of result.module.staticExports) {
|
|
300
|
+
const edges2 = /* @__PURE__ */ new Map();
|
|
301
|
+
for (const entry of statement.entries) {
|
|
302
|
+
if (entry.isType) continue;
|
|
303
|
+
const exportKind = entry.exportName.kind;
|
|
304
|
+
if (exportKind === "Default") exportNames.push("default");
|
|
305
|
+
else if (entry.exportName.name) exportNames.push(entry.exportName.name);
|
|
306
|
+
const specifier = entry.moduleRequest?.value;
|
|
307
|
+
if (!specifier) continue;
|
|
308
|
+
const importKind = entry.importName.kind;
|
|
309
|
+
const star = importKind === "AllButDefault";
|
|
310
|
+
if (star) exportStars.push(specifier);
|
|
311
|
+
let edge = edges2.get(specifier);
|
|
312
|
+
if (!edge) {
|
|
313
|
+
edge = {
|
|
314
|
+
specifier,
|
|
315
|
+
exports: [],
|
|
316
|
+
index: statement.start,
|
|
317
|
+
reexport: true,
|
|
318
|
+
exportMap: {}
|
|
319
|
+
};
|
|
320
|
+
edges2.set(specifier, edge);
|
|
321
|
+
imports.push(edge);
|
|
322
|
+
}
|
|
323
|
+
if (star) edge.star = true;
|
|
324
|
+
else if (importKind === "All") edge.exports.push("*");
|
|
325
|
+
else {
|
|
326
|
+
const imported = importKind === "Default" ? "default" : entry.importName.name;
|
|
327
|
+
if (!imported) continue;
|
|
328
|
+
edge.exports.push(imported);
|
|
329
|
+
const exported = exportKind === "Default" ? "default" : entry.exportName.name;
|
|
330
|
+
if (exported) edge.exportMap[exported] = imported;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
imports.sort((a, b) => a.index - b.index);
|
|
335
|
+
const dynamicImports = [];
|
|
336
|
+
for (const entry of result.module.dynamicImports) {
|
|
337
|
+
const raw = source.slice(entry.moduleRequest.start, entry.moduleRequest.end);
|
|
338
|
+
const specifier = literalSpecifier(raw);
|
|
339
|
+
if (specifier === void 0) continue;
|
|
340
|
+
dynamicImports.push({ specifier, index: entry.start });
|
|
341
|
+
const lead = raw.length - raw.trimStart().length;
|
|
342
|
+
edges.push({
|
|
343
|
+
specifier,
|
|
344
|
+
start: entry.moduleRequest.start + lead,
|
|
345
|
+
end: entry.moduleRequest.start + lead + specifier.length + 2,
|
|
346
|
+
kind: "dynamic"
|
|
347
|
+
});
|
|
348
|
+
}
|
|
349
|
+
const requires = requireCalls(source, result.comments);
|
|
350
|
+
for (const call of requires) {
|
|
351
|
+
edges.push({
|
|
352
|
+
specifier: call.specifier,
|
|
353
|
+
start: call.specifierStart,
|
|
354
|
+
end: call.specifierStart + call.specifier.length + 2,
|
|
355
|
+
kind: "require"
|
|
356
|
+
});
|
|
357
|
+
}
|
|
358
|
+
edges.sort((a, b) => a.start - b.start);
|
|
359
|
+
return {
|
|
360
|
+
scan: {
|
|
361
|
+
imports,
|
|
362
|
+
dynamicImports,
|
|
363
|
+
requires,
|
|
364
|
+
exportNames,
|
|
365
|
+
exportStars,
|
|
366
|
+
useClient: moduleDirective(source, result, "use client"),
|
|
367
|
+
useServer: moduleDirective(source, result, "use server"),
|
|
368
|
+
// `result.program` deserializes the whole AST: walk it only for sources
|
|
369
|
+
// that can bind `dynamic()` at all (same cheap gate as resolve/dynamic.ts).
|
|
370
|
+
dynamicCalls: source.includes("@wular/pnext") || source.includes("next/dynamic") ? collectDynamicCalls(result.program) : []
|
|
371
|
+
},
|
|
372
|
+
rewrite: {
|
|
373
|
+
edges,
|
|
374
|
+
imports: importStatements,
|
|
375
|
+
importMetas: result.module.importMetas.map((meta) => ({ start: meta.start, end: meta.end })),
|
|
376
|
+
unreliable: result.errors.length > 0
|
|
377
|
+
}
|
|
378
|
+
};
|
|
379
|
+
}
|
|
380
|
+
function moduleDirective(source, result, directive) {
|
|
381
|
+
const sniffed = sniffDirective(source, directive);
|
|
382
|
+
if (sniffed !== void 0) return sniffed;
|
|
383
|
+
if (!source.includes(directive)) return false;
|
|
384
|
+
return hasDirective(result.program.body, directive);
|
|
385
|
+
}
|
|
386
|
+
var continuesExpression = /[+\-*/%.,?:=<>!&|^~([`)\]}]/;
|
|
387
|
+
var wordContinuation = /^(?:in|instanceof)\b/;
|
|
388
|
+
var lineTerminator = /[\n\r\u2028\u2029]/;
|
|
389
|
+
function sniffDirective(source, directive) {
|
|
390
|
+
let index = 0;
|
|
391
|
+
if (source.startsWith("#!")) {
|
|
392
|
+
const nl = source.search(lineTerminator);
|
|
393
|
+
if (nl < 0) return false;
|
|
394
|
+
index = nl + 1;
|
|
395
|
+
}
|
|
396
|
+
for (; ; ) {
|
|
397
|
+
index = skipTrivia(source, index);
|
|
398
|
+
if (index < 0) return void 0;
|
|
399
|
+
const quote = source[index];
|
|
400
|
+
if (quote !== '"' && quote !== "'") return false;
|
|
401
|
+
let end = index + 1;
|
|
402
|
+
while (end < source.length) {
|
|
403
|
+
const char = source[end];
|
|
404
|
+
if (char === "\\" || lineTerminator.test(char)) return void 0;
|
|
405
|
+
if (char === quote) break;
|
|
406
|
+
end += 1;
|
|
407
|
+
}
|
|
408
|
+
if (end >= source.length) return void 0;
|
|
409
|
+
const raw = source.slice(index + 1, end);
|
|
410
|
+
const after = skipTrivia(source, end + 1);
|
|
411
|
+
if (after < 0) return void 0;
|
|
412
|
+
const next = source[after];
|
|
413
|
+
let terminated = after >= source.length || next === ";";
|
|
414
|
+
if (!terminated && lineTerminator.test(source.slice(end + 1, after))) {
|
|
415
|
+
terminated = !continuesExpression.test(next) && !wordContinuation.test(source.slice(after, after + 11));
|
|
416
|
+
}
|
|
417
|
+
if (!terminated) return void 0;
|
|
418
|
+
if (raw === directive) return true;
|
|
419
|
+
index = next === ";" ? after + 1 : after;
|
|
420
|
+
if (index >= source.length) return false;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
function skipTrivia(source, index) {
|
|
424
|
+
for (; ; ) {
|
|
425
|
+
while (index < source.length && /\s/.test(source[index])) index += 1;
|
|
426
|
+
if (source[index] !== "/") return index;
|
|
427
|
+
if (source[index + 1] === "/") {
|
|
428
|
+
let end = index + 2;
|
|
429
|
+
while (end < source.length && !lineTerminator.test(source[end])) end += 1;
|
|
430
|
+
index = end;
|
|
431
|
+
continue;
|
|
432
|
+
}
|
|
433
|
+
if (source[index + 1] === "*") {
|
|
434
|
+
const end = source.indexOf("*/", index + 2);
|
|
435
|
+
if (end < 0) return -1;
|
|
436
|
+
index = end + 2;
|
|
437
|
+
continue;
|
|
438
|
+
}
|
|
439
|
+
return index;
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
function hasDirective(body, directive) {
|
|
443
|
+
for (const statement of body) {
|
|
444
|
+
if (statement.type !== "ExpressionStatement" || typeof statement.directive !== "string")
|
|
445
|
+
return false;
|
|
446
|
+
if (statement.directive === directive) return true;
|
|
447
|
+
}
|
|
448
|
+
return false;
|
|
449
|
+
}
|
|
450
|
+
var requirePattern = /\brequire\s*\(\s*(['"])([^'"]+)\1\s*\)/g;
|
|
451
|
+
function requireCalls(source, comments) {
|
|
452
|
+
const calls = [];
|
|
453
|
+
if (!source.includes("require")) return calls;
|
|
454
|
+
requirePattern.lastIndex = 0;
|
|
455
|
+
let match;
|
|
456
|
+
let cursor = 0;
|
|
457
|
+
while (match = requirePattern.exec(source)) {
|
|
458
|
+
const index = match.index;
|
|
459
|
+
while (cursor < comments.length && comments[cursor].end <= index) cursor += 1;
|
|
460
|
+
if (cursor < comments.length && index >= comments[cursor].start) continue;
|
|
461
|
+
calls.push({
|
|
462
|
+
specifier: match[2],
|
|
463
|
+
index,
|
|
464
|
+
specifierStart: index + match[0].indexOf(match[1])
|
|
465
|
+
});
|
|
466
|
+
}
|
|
467
|
+
return calls;
|
|
468
|
+
}
|
|
469
|
+
function literalSpecifier(raw) {
|
|
470
|
+
return /^\s*(['"])([^'"]*)\1\s*$/.exec(raw)?.[2] || void 0;
|
|
471
|
+
}
|
|
472
|
+
function isNode(value) {
|
|
473
|
+
return typeof value === "object" && value !== null && typeof value.type === "string";
|
|
474
|
+
}
|
|
475
|
+
function child(node, key) {
|
|
476
|
+
const value = node?.[key];
|
|
477
|
+
return isNode(value) ? value : void 0;
|
|
478
|
+
}
|
|
479
|
+
function collectDynamicCalls(program) {
|
|
480
|
+
const calls = [];
|
|
481
|
+
const visit = (value) => {
|
|
482
|
+
if (Array.isArray(value)) {
|
|
483
|
+
for (const item of value) visit(item);
|
|
484
|
+
return;
|
|
485
|
+
}
|
|
486
|
+
if (!isNode(value)) return;
|
|
487
|
+
if (value.type === "CallExpression") {
|
|
488
|
+
const fact = dynamicCallFact(value);
|
|
489
|
+
if (fact) calls.push(fact);
|
|
490
|
+
}
|
|
491
|
+
for (const key in value) {
|
|
492
|
+
if (key === "type" || key === "loc" || key === "range") continue;
|
|
493
|
+
const entry = value[key];
|
|
494
|
+
if (entry && typeof entry === "object") visit(entry);
|
|
495
|
+
}
|
|
496
|
+
};
|
|
497
|
+
visit(program.body);
|
|
498
|
+
return calls.sort((a, b) => a.start - b.start);
|
|
499
|
+
}
|
|
500
|
+
function dynamicCallFact(call) {
|
|
501
|
+
const callee = child(call, "callee");
|
|
502
|
+
if (callee?.type !== "Identifier") return void 0;
|
|
503
|
+
const args = call.arguments;
|
|
504
|
+
if (!Array.isArray(args) || !isNode(args[0])) return void 0;
|
|
505
|
+
const loader = args[0];
|
|
506
|
+
let target;
|
|
507
|
+
let literal;
|
|
508
|
+
if (stringValue(loader) !== void 0) {
|
|
509
|
+
target = { specifier: loader, exportName: "default" };
|
|
510
|
+
literal = true;
|
|
511
|
+
} else if (loader.type === "ArrowFunctionExpression" || loader.type === "FunctionExpression") {
|
|
512
|
+
target = loaderImportTarget(loader) ?? firstImportTarget(loader);
|
|
513
|
+
}
|
|
514
|
+
if (!target) return void 0;
|
|
515
|
+
const specifier = stringValue(target.specifier);
|
|
516
|
+
if (specifier === void 0) return void 0;
|
|
517
|
+
const options = isNode(args[1]) ? args[1] : void 0;
|
|
518
|
+
return {
|
|
519
|
+
name: callee.name,
|
|
520
|
+
start: callee.start,
|
|
521
|
+
end: call.end,
|
|
522
|
+
specifier,
|
|
523
|
+
specifierStart: target.specifier.start,
|
|
524
|
+
specifierEnd: target.specifier.end,
|
|
525
|
+
exportName: target.exportName,
|
|
526
|
+
...literal ? { literal } : {},
|
|
527
|
+
loaderEnd: loader.end,
|
|
528
|
+
...options ? { optionsStart: options.start, optionsEnd: options.end } : {}
|
|
529
|
+
};
|
|
530
|
+
}
|
|
531
|
+
function stringValue(node) {
|
|
532
|
+
if (!node) return void 0;
|
|
533
|
+
if (node.type !== "Literal" && node.type !== "StringLiteral") return void 0;
|
|
534
|
+
return typeof node.value === "string" ? node.value : void 0;
|
|
535
|
+
}
|
|
536
|
+
function unwrapExpression(node) {
|
|
537
|
+
let current = node;
|
|
538
|
+
for (; ; ) {
|
|
539
|
+
if (!current) return void 0;
|
|
540
|
+
if (current.type === "ParenthesizedExpression" || current.type === "ChainExpression") {
|
|
541
|
+
current = child(current, "expression");
|
|
542
|
+
} else if (current.type === "AwaitExpression") {
|
|
543
|
+
current = child(current, "argument");
|
|
544
|
+
} else if (current.type === "TSAsExpression" || current.type === "TSNonNullExpression" || current.type === "TSSatisfiesExpression") {
|
|
545
|
+
current = child(current, "expression");
|
|
546
|
+
} else {
|
|
547
|
+
return current;
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
function loaderResult(fn) {
|
|
552
|
+
const body = child(fn, "body");
|
|
553
|
+
if (!body) return void 0;
|
|
554
|
+
if (body.type !== "BlockStatement" && body.type !== "FunctionBody") return unwrapExpression(body);
|
|
555
|
+
const statements = body.body;
|
|
556
|
+
if (!Array.isArray(statements)) return void 0;
|
|
557
|
+
for (const statement of statements) {
|
|
558
|
+
if (isNode(statement) && statement.type === "ReturnStatement") {
|
|
559
|
+
return unwrapExpression(child(statement, "argument"));
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
return void 0;
|
|
563
|
+
}
|
|
564
|
+
function importSource(node) {
|
|
565
|
+
if (node?.type !== "ImportExpression") return void 0;
|
|
566
|
+
const source = child(node, "source");
|
|
567
|
+
return source && stringValue(source) !== void 0 ? source : void 0;
|
|
568
|
+
}
|
|
569
|
+
function loaderImportTarget(fn) {
|
|
570
|
+
const result = loaderResult(fn);
|
|
571
|
+
if (!result) return void 0;
|
|
572
|
+
const direct = importSource(result);
|
|
573
|
+
if (direct) return { specifier: direct, exportName: "default" };
|
|
574
|
+
if (result.type === "MemberExpression" && result.computed !== true) {
|
|
575
|
+
const source2 = importSource(unwrapExpression(child(result, "object")));
|
|
576
|
+
const property = child(result, "property");
|
|
577
|
+
if (source2 && property?.type === "Identifier") {
|
|
578
|
+
return { specifier: source2, exportName: property.name };
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
if (result.type !== "CallExpression") return void 0;
|
|
582
|
+
const callee = child(result, "callee");
|
|
583
|
+
if (callee?.type !== "MemberExpression" || callee.computed === true) return void 0;
|
|
584
|
+
if (child(callee, "property")?.name !== "then") return void 0;
|
|
585
|
+
const source = importSource(unwrapExpression(child(callee, "object")));
|
|
586
|
+
if (!source) return void 0;
|
|
587
|
+
return { specifier: source, exportName: thenArmExport(result) ?? "default" };
|
|
588
|
+
}
|
|
589
|
+
function thenArmExport(thenCall) {
|
|
590
|
+
const args = thenCall.arguments;
|
|
591
|
+
if (!Array.isArray(args) || !isNode(args[0])) return void 0;
|
|
592
|
+
const arm = args[0];
|
|
593
|
+
if (arm.type !== "ArrowFunctionExpression" && arm.type !== "FunctionExpression") return void 0;
|
|
594
|
+
const params = arm.params;
|
|
595
|
+
const param = Array.isArray(params) && isNode(params[0]) ? params[0] : void 0;
|
|
596
|
+
if (param?.type !== "Identifier") return void 0;
|
|
597
|
+
const result = loaderResult(arm);
|
|
598
|
+
if (result?.type !== "MemberExpression" || result.computed === true) return void 0;
|
|
599
|
+
const object = unwrapExpression(child(result, "object"));
|
|
600
|
+
if (object?.type !== "Identifier" || object.name !== param.name) return void 0;
|
|
601
|
+
const property = child(result, "property");
|
|
602
|
+
return property?.type === "Identifier" ? property.name : void 0;
|
|
603
|
+
}
|
|
604
|
+
function firstImportTarget(fn) {
|
|
605
|
+
let found;
|
|
606
|
+
const visit = (value) => {
|
|
607
|
+
if (found) return;
|
|
608
|
+
if (Array.isArray(value)) {
|
|
609
|
+
for (const item of value) visit(item);
|
|
610
|
+
return;
|
|
611
|
+
}
|
|
612
|
+
if (!isNode(value)) return;
|
|
613
|
+
const source = importSource(value);
|
|
614
|
+
if (source) {
|
|
615
|
+
found = source;
|
|
616
|
+
return;
|
|
617
|
+
}
|
|
618
|
+
for (const key in value) {
|
|
619
|
+
const entry = value[key];
|
|
620
|
+
if (entry && typeof entry === "object") visit(entry);
|
|
621
|
+
}
|
|
622
|
+
};
|
|
623
|
+
visit(fn.body);
|
|
624
|
+
return found ? { specifier: found, exportName: "default" } : void 0;
|
|
625
|
+
}
|
|
626
|
+
function langForFile2(file) {
|
|
627
|
+
return /\.[mc]?ts$/.test(file) ? "ts" : "tsx";
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
export {
|
|
631
|
+
noteCompiledClientReference,
|
|
632
|
+
clientReferenceSymbol,
|
|
633
|
+
clientReferenceId,
|
|
634
|
+
ssrClientReference,
|
|
635
|
+
transformBailReason,
|
|
636
|
+
transformServerModule,
|
|
637
|
+
outputSpecifiers,
|
|
638
|
+
spliceSource,
|
|
639
|
+
scanFacts,
|
|
640
|
+
importSpecifiers,
|
|
641
|
+
moduleExportNames,
|
|
642
|
+
moduleExportStars,
|
|
643
|
+
dynamicCallFacts,
|
|
644
|
+
rewriteFacts,
|
|
645
|
+
moduleSpecifierEdges,
|
|
646
|
+
rewriteSpecifierLiterals
|
|
647
|
+
};
|