dorkos 0.131.0 → 0.133.0
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/dist/bin/cli.js +499 -314
- package/dist/browser/fresh-verifier.mjs +13 -13
- package/dist/browser/native/darwin-supervisor-worker.mjs +3 -3
- package/dist/browser/native/package-manifest.json +1 -1
- package/dist/browser/source-manifest.json +1 -1
- package/dist/client/assets/{AboutPage-BZ2LLJ0k.js → AboutPage-D-EHHVPa.js} +1 -1
- package/dist/client/assets/{ActivityErrorState-BnqAwUiy.js → ActivityErrorState-BTHnE1vP.js} +1 -1
- package/dist/client/assets/{ActivityPage-BlZKrSVo.js → ActivityPage-BfSLPIdR.js} +1 -1
- package/dist/client/assets/{ActivityRow-Ch8HxQ2m.js → ActivityRow-PwUBjQw8.js} +1 -1
- package/dist/client/assets/{AdapterIcon-CfocFMw-.js → AdapterIcon-DgkNN6bi.js} +1 -1
- package/dist/client/assets/{AdapterSetupWizard-Dtjx1Oad.js → AdapterSetupWizard-DX0dzp7q.js} +2 -2
- package/dist/client/assets/{AgentOptionRow-BGRvUeF7.js → AgentOptionRow-ApuDEKqq.js} +1 -1
- package/dist/client/assets/{AgentPicker-BcURPZQp.js → AgentPicker-BDci-9aL.js} +1 -1
- package/dist/client/assets/{AgentRequestCard-kNq5A_IN.js → AgentRequestCard-B2gxCMGi.js} +3 -3
- package/dist/client/assets/{AppearancePage-Cd-k7dcc.js → AppearancePage-8SVnFe0k.js} +1 -1
- package/dist/client/assets/ApplyToOverridesDialog-CnL1ubxL.js +1 -0
- package/dist/client/assets/{AttentionSignalRow-QY8AIjf9.js → AttentionSignalRow-CCKhUtil.js} +1 -1
- package/dist/client/assets/{BaseTanStackRouterDevtoolsPanel-B-iktbLX-Cgkvajbw.js → BaseTanStackRouterDevtoolsPanel-B-iktbLX-B7wFPzG4.js} +3 -3
- package/dist/client/assets/BindingDialog-C4BHVXno.js +1 -0
- package/dist/client/assets/{BlintzCanvas-CMzZnmWK.js → BlintzCanvas-7E5uwVms.js} +3 -3
- package/dist/client/assets/{CanvasCsvContent-uxMaHePf.js → CanvasCsvContent-l7lfyDGn.js} +4 -4
- package/dist/client/assets/CanvasFileContent-Bqd0IEfK.js +2 -0
- package/dist/client/assets/CanvasModel3dContent-DqL0Sy4r.js +2 -0
- package/dist/client/assets/{ChannelComposer-BAg0a29Q.js → ChannelComposer-CAYvz_ZB.js} +12 -17
- package/dist/client/assets/{ChatAppsOff-DD28V0vX.js → ChatAppsOff-CNeKBVNz.js} +2 -2
- package/dist/client/assets/{CodeMirrorDiff-CyoduBgM.js → CodeMirrorDiff-BZRcNFsS.js} +1 -1
- package/dist/client/assets/{CodeMirrorEditor-DGccoZ8Q.js → CodeMirrorEditor-DD5tArRn.js} +1 -1
- package/dist/client/assets/{ComputerResourceView-Dk98shko.js → ComputerResourceView-BUmsVssG.js} +1 -1
- package/dist/client/assets/{ComputerViewer-Broprz4q.js → ComputerViewer-BKMR5LkF.js} +1 -1
- package/dist/client/assets/{ConnectionAccessLists-C_qLz8GJ.js → ConnectionAccessLists-DYUiFmPY.js} +1 -1
- package/dist/client/assets/{ConnectionsPage-CmGgGmDO.js → ConnectionsPage-DR2Kfm9Q.js} +2 -2
- package/dist/client/assets/{ConventionPage-BxWLIUUC.js → ConventionPage-Do6q8873.js} +2 -2
- package/dist/client/assets/{ExtensionPageRoute-CyfIRaGs.js → ExtensionPageRoute-CP7NM7fw.js} +2 -2
- package/dist/client/assets/{FeatureDisabledState-By2dhVpu.js → FeatureDisabledState-Bi23k3rg.js} +1 -1
- package/dist/client/assets/{FloatingTanStackRouterDevtools-CqogiFob-B6wKQpLR.js → FloatingTanStackRouterDevtools-CqogiFob-lRlmDXYz.js} +1 -1
- package/dist/client/assets/{ForwardConsentHost-kDdpyBgA.js → ForwardConsentHost-DSR1pEEK.js} +1 -1
- package/dist/client/assets/HandlePage-aHId3bYX.js +1 -0
- package/dist/client/assets/HeartbeatPage-BTNVcHOI.js +1 -0
- package/dist/client/assets/{KeyEntry-Ctc1zp2J.js → KeyEntry-67acsEG2.js} +1 -1
- package/dist/client/assets/{LexicalField-7zd4B8f1.js → LexicalField-Cb68LIar.js} +2 -2
- package/dist/client/assets/{ManagesPage-BG1TIMP3.js → ManagesPage-ChPlBF42.js} +1 -1
- package/dist/client/assets/{Marketplace-C9r4jRJf.js → Marketplace-CzPhJEE1.js} +4 -4
- package/dist/client/assets/{MarketplaceSourcesView-C01Cdrge.js → MarketplaceSourcesView-CmQgxQmU.js} +1 -1
- package/dist/client/assets/{McpAppFrame-Dm7MqOhc.js → McpAppFrame-z5JUaCSA.js} +2 -2
- package/dist/client/assets/{McpSigninBody-CsXP_7lE.js → McpSigninBody-ZrnzwrOH.js} +1 -1
- package/dist/client/assets/{Model3dViewer-DOl8ZkrU.js → Model3dViewer-HJpWK-JI.js} +1 -1
- package/dist/client/assets/NamePage-C7F-SotG.js +1 -0
- package/dist/client/assets/{NewDirectMessageMenu-Dj-Qw8zA.js → NewDirectMessageMenu-CjBjzsDe.js} +1 -1
- package/dist/client/assets/{NotificationsPage-UExs4YE2.js → NotificationsPage-DwNUI0Z3.js} +1 -1
- package/dist/client/assets/{OpenMeshSwitch-Dx3M3wwS.js → OpenMeshSwitch-RNAZY1vn.js} +2 -2
- package/dist/client/assets/{OperatorIdentityForm-Bz5570RF.js → OperatorIdentityForm-B7S2C_eT.js} +1 -1
- package/dist/client/assets/PermissionHistory-D0chstxf.js +1 -0
- package/dist/client/assets/PermissionsPage-ToK0DZVV.js +1 -0
- package/dist/client/assets/{PersonalityPopover-Do-k_Hhw.js → PersonalityPopover-BvMtUQRM.js} +1 -1
- package/dist/client/assets/PhotoPage-Cqo3PNO_.js +1 -0
- package/dist/client/assets/{PreviewRefusedNotice-B-yyzQZP.js → PreviewRefusedNotice-DzbkMrUo.js} +1 -1
- package/dist/client/assets/{ProfileFields-DiarOK2y.js → ProfileFields-DU8dTGHT.js} +1 -1
- package/dist/client/assets/{ProfilePanelContainer-33Xkwoc3.js → ProfilePanelContainer-BfT-ufV7.js} +1 -1
- package/dist/client/assets/{ProfileRolePicker-BI6T4hj8.js → ProfileRolePicker-DrOtV-0N.js} +1 -1
- package/dist/client/assets/{PromptSuggestionChips-v5MScpZF.js → PromptSuggestionChips-CEnhme_V.js} +1 -1
- package/dist/client/assets/{ReportsToPopover-BALADuTO.js → ReportsToPopover-CwjpR1Tw.js} +1 -1
- package/dist/client/assets/{RoomSurface-BatV7gf5.js → RoomSurface-CChzNJKw.js} +1 -1
- package/dist/client/assets/{RoomsPage-DCCC3Dst.js → RoomsPage-Dbf6ijKr.js} +1 -1
- package/dist/client/assets/{RunsOnPopover-C7hMPyrb.js → RunsOnPopover-Bh5sSsSC.js} +1 -1
- package/dist/client/assets/{RuntimeConnectFlow-Dc5a8dlJ.js → RuntimeConnectFlow-BYQnY5vv.js} +1 -1
- package/dist/client/assets/{RuntimeSetupDialog-w90VGjJ4.js → RuntimeSetupDialog-DTO5v0dP.js} +1 -1
- package/dist/client/assets/{SeenDevices-BIMmbMWC.js → SeenDevices-cuY7ASEy.js} +3 -3
- package/dist/client/assets/{SessionsPage-0lwvSYHB.js → SessionsPage-BrqpVx-t.js} +1 -1
- package/dist/client/assets/{SettingsDialog-CrP6JzPg.js → SettingsDialog-DCAZX_1d.js} +4 -4
- package/dist/client/assets/{SkillsPage-BDgKWTfe.js → SkillsPage-D5who_ZH.js} +1 -1
- package/dist/client/assets/TaskDialogWrapper-BJ6XtOC5.js +1 -0
- package/dist/client/assets/TasksEmptyState-B3SjsxQa.js +3 -0
- package/dist/client/assets/{TasksPage-DjGbMGvn.js → TasksPage-B72w7J87.js} +1 -1
- package/dist/client/assets/{TeamComputerEntry-B_sM9Fik.js → TeamComputerEntry-B9ma5j-X.js} +1 -1
- package/dist/client/assets/TodoPromiseList-DDKWAfmv.js +1 -0
- package/dist/client/assets/TodoPromisesPage-BNXpvXzS.js +1 -0
- package/dist/client/assets/{ToolsPage-CeETRCd8.js → ToolsPage-DbJykCG3.js} +2 -2
- package/dist/client/assets/{TopologyGraph-CnpH2NjE.js → TopologyGraph-DKZS3nlr.js} +3 -3
- package/dist/client/assets/{TourHost-BQHrS47S.js → TourHost-Bw3Uoea5.js} +1 -1
- package/dist/client/assets/{UnlinkDialog-DOQLeNx4.js → UnlinkDialog-B-XCFNSd.js} +1 -1
- package/dist/client/assets/{UnreadDivider-DhyK6uGG.js → UnreadDivider-1aPVzwd7.js} +1 -1
- package/dist/client/assets/{WidgetErrorCard-Bwlfu514.js → WidgetErrorCard-C5ieVv_9.js} +6 -6
- package/dist/client/assets/{WithheldExtensionsNotice-BDc-CM2t.js → WithheldExtensionsNotice-CCO4ClRZ.js} +1 -1
- package/dist/client/assets/{WorkQueuePage-iO_DO1YK.js → WorkQueuePage-BbPKNwDg.js} +1 -1
- package/dist/client/assets/WorkView-BRcytACJ.js +51 -0
- package/dist/client/assets/_shell-EwFeSIGp.js +80 -0
- package/dist/client/assets/{_shell._home-BWi5YPaR.js → _shell._home-DD2mg-iK.js} +1 -1
- package/dist/client/assets/{_shell._home.activity-BU1NIGb7.js → _shell._home.activity-Z1QuU2M4.js} +1 -1
- package/dist/client/assets/_shell._home.index-BzTYr8Bw.js +3 -0
- package/dist/client/assets/_shell._home.tasks-BtC85Iut.js +1 -0
- package/dist/client/assets/{_shell._home.workspaces-wbnqJ58w.js → _shell._home.workspaces-qMG5OJYR.js} +1 -1
- package/dist/client/assets/{_shell.channels-D1KdvWZF.js → _shell.channels-BE4EK-iM.js} +2 -2
- package/dist/client/assets/_shell.connections-CBx0ogzx.js +1 -0
- package/dist/client/assets/{_shell.feedback-requests-DzHWC1fJ.js → _shell.feedback-requests-CwKSkkuD.js} +2 -2
- package/dist/client/assets/_shell.marketplace-CgWBUKSA.js +1 -0
- package/dist/client/assets/_shell.marketplace_.sources-8HZpKFDI.js +1 -0
- package/dist/client/assets/_shell.session-D6HcVbnm.js +1 -0
- package/dist/client/assets/{_shell.team-BMNSUpQQ.js → _shell.team-Dm5a4f8_.js} +4 -4
- package/dist/client/assets/_shell.threads-BavVtQOE.js +1 -0
- package/dist/client/assets/_shell.todos-B6uWr0zA.js +6 -0
- package/dist/client/assets/_shell.x._extensionId-DaELdkCH.js +1 -0
- package/dist/client/assets/_shell.x._extensionId_._-DaELdkCH.js +1 -0
- package/dist/client/assets/{abnfDiagram-WEYOIA3C-Co2k29JX.js → abnfDiagram-WEYOIA3C-Bu2T3jVw.js} +1 -1
- package/dist/client/assets/{access-copy-D6BUySpp.js → access-copy-tkiFMhRf.js} +1 -1
- package/dist/client/assets/{arc-DLZZpkuJ.js → arc-5q4SfXO9.js} +1 -1
- package/dist/client/assets/{architectureDiagram-ZHVYKT53-ClS9xqK5.js → architectureDiagram-ZHVYKT53-BnDMOBhV.js} +1 -1
- package/dist/client/assets/{banner-B8iMuXCP.js → banner-CSKUrrI0.js} +2 -2
- package/dist/client/assets/{blockDiagram-RJAE7QA3-DheoOELu.js → blockDiagram-RJAE7QA3-CtushlEs.js} +1 -1
- package/dist/client/assets/{c4Diagram-XDPPPE54-VWWZJ5x4.js → c4Diagram-XDPPPE54-7L-qYwKH.js} +1 -1
- package/dist/client/assets/channel-A3XT7_2L.js +1 -0
- package/dist/client/assets/{chunk-2E7WHVMD-BqPLJVkv.js → chunk-2E7WHVMD-ksBVyqQ3.js} +1 -1
- package/dist/client/assets/{chunk-2Q5K7J3B-DZn6OnKe.js → chunk-2Q5K7J3B-Bfqdkihb.js} +1 -1
- package/dist/client/assets/{chunk-4EMNKR2T-Dl9Poajp.js → chunk-4EMNKR2T-Brf2dH9x.js} +1 -1
- package/dist/client/assets/{chunk-55XCU76K-RoKuZPUc.js → chunk-55XCU76K-BlE7Cq40.js} +1 -1
- package/dist/client/assets/{chunk-5VM5RSS4-DV_1XHtU.js → chunk-5VM5RSS4-Bkgg3j7L.js} +1 -1
- package/dist/client/assets/{chunk-JWPE2WC7-B_IuS45y.js → chunk-JWPE2WC7-B9TRpN4O.js} +1 -1
- package/dist/client/assets/{chunk-VQ5W62QI-DkLNi45x.js → chunk-VQ5W62QI-ZoILnIYi.js} +1 -1
- package/dist/client/assets/{chunk-XXDRQBXY-ISM-1Dpw.js → chunk-XXDRQBXY-r2xNhaKz.js} +1 -1
- package/dist/client/assets/{chunk-ZCHMQSOR-MKaLMW8o.js → chunk-ZCHMQSOR-DfV3cF7d.js} +2 -2
- package/dist/client/assets/{classDiagram-v2-4MYWR3UA-CIWuu4ht.js → classDiagram-v2-4MYWR3UA-VOVqMNNP.js} +1 -1
- package/dist/client/assets/{command-CxGYZKco.js → command-CaUEAy3b.js} +1 -1
- package/dist/client/assets/{copy-button-DjAoGwds.js → copy-button-BOznikwM.js} +1 -1
- package/dist/client/assets/{cose-bilkent-JH36ORCC-HiCifRyi.js → cose-bilkent-JH36ORCC-CAdBvyLz.js} +1 -1
- package/dist/client/assets/{cpu-DHHTTvp_.js → cpu-j9vX9Wfk.js} +1 -1
- package/dist/client/assets/{cynefin-EF2NZ3EQ-DjJGZrPz.js → cynefin-EF2NZ3EQ-DcH1A9Oo.js} +1 -1
- package/dist/client/assets/{cynefinDiagram-WF24UDRP-DE2NdiJ2.js → cynefinDiagram-WF24UDRP-DJuKBXHi.js} +1 -1
- package/dist/client/assets/{dagre-NK4GIZVX-C6gDOD26.js → dagre-NK4GIZVX-D099H_0S.js} +1 -1
- package/dist/client/assets/{detail-row-CjwI1iuc.js → detail-row-Crl89jnh.js} +1 -1
- package/dist/client/assets/{diagram-CBK3MWTC-38LckcsL.js → diagram-CBK3MWTC-Cd_4W9XO.js} +1 -1
- package/dist/client/assets/{diagram-I5XIIV2D--8L6D9Ra.js → diagram-I5XIIV2D-Bc7aQKt3.js} +1 -1
- package/dist/client/assets/{diagram-ODIL2UCW-DGC2Inhd.js → diagram-ODIL2UCW-awVJZ4Bg.js} +1 -1
- package/dist/client/assets/{diagram-PFBEJUXE-BDHp0AyR.js → diagram-PFBEJUXE-dhsj9aeU.js} +1 -1
- package/dist/client/assets/{diagram-RJA3I4VV-uBatJYPi.js → diagram-RJA3I4VV-Dm59CbiV.js} +1 -1
- package/dist/client/assets/{diagram-TYUNFSNR-C8e1EH9X.js → diagram-TYUNFSNR-BhvcIjA9.js} +1 -1
- package/dist/client/assets/{ebnfDiagram-V4P3TTPT-DimRzU5B.js → ebnfDiagram-V4P3TTPT-C4wT_MTC.js} +1 -1
- package/dist/client/assets/{elk-QONTBCTQ-Dz6_Y2-G.js → elk-QONTBCTQ-CPI0zjmW.js} +1 -1
- package/dist/client/assets/{empty-state-saV209Il.js → empty-state-BHcmkSzu.js} +1 -1
- package/dist/client/assets/{erDiagram-KYQIGQAA-JeuTF8w6.js → erDiagram-KYQIGQAA-C_vGcbOB.js} +1 -1
- package/dist/client/assets/{execution-config-ClQZyDs9.js → execution-config-BS5rtvTZ.js} +1 -1
- package/dist/client/assets/{file-BIF-4ARS.js → file-CQGljfDT.js} +1 -1
- package/dist/client/assets/{file-exclamation-point-DxadH2b-.js → file-exclamation-point-B0a55VME.js} +1 -1
- package/dist/client/assets/{file-text-C_NPIQr4.js → file-text-Cycq_S0e.js} +1 -1
- package/dist/client/assets/{find-latest-widget-fence-CXai_zs0.js → find-latest-widget-fence-B6sJdG3Q.js} +4 -4
- package/dist/client/assets/{flowDiagram-IUGLLWBU-9FHDdK4j.js → flowDiagram-IUGLLWBU-_VNfmnxx.js} +1 -1
- package/dist/client/assets/{form-D3VdAYl4.js → form-BL14vwyB.js} +1 -1
- package/dist/client/assets/{format-cron-BqRDcFZM.js → format-cron-meJMgYNe.js} +1 -1
- package/dist/client/assets/{ganttDiagram-R7GPNTJY-CLMuXlHt.js → ganttDiagram-R7GPNTJY-o0gGU7X_.js} +1 -1
- package/dist/client/assets/{git-branch-Df7a5_fb.js → git-branch-CsLE6G0Y.js} +1 -1
- package/dist/client/assets/{gitGraphDiagram-PDYL7XHY-sE7Rlpr6.js → gitGraphDiagram-PDYL7XHY-DjXjUpJo.js} +1 -1
- package/dist/client/assets/{graph-iNVyFhBQ.js → graph-BMYee_VK.js} +1 -1
- package/dist/client/assets/{heart-BHMhDZ0K.js → heart-Cn3a-UQI.js} +1 -1
- package/dist/client/assets/{highlighted-body-KPVGNVTW-VvvsrJbu.js → highlighted-body-KPVGNVTW-DsX5yCC0.js} +1 -1
- package/dist/client/assets/{image-lightbox-CGEIRguA.js → image-lightbox-BZ_eBZgA.js} +1 -1
- package/dist/client/assets/{image-off-C5-TmSq8.js → image-off-DjR7LI5G.js} +1 -1
- package/dist/client/assets/{index-C3zS0ghJ.js → index-1MwES_vb.js} +1 -1
- package/dist/client/assets/{index-ClyRhxV_.js → index-47--OGKJ.js} +1 -1
- package/dist/client/assets/{index-CTgUh4p3.js → index-4rSR8lau.js} +1 -1
- package/dist/client/assets/{index-D9bEy8X-.js → index-B4TxpTKD.js} +1 -1
- package/dist/client/assets/{index-Dw-4S640.js → index-B8LqLhq7.js} +1 -1
- package/dist/client/assets/index-BJRgbiEd.js +1 -0
- package/dist/client/assets/{index-DWZ5M321.js → index-BOCclWF3.js} +1 -1
- package/dist/client/assets/index-BR1m9FON.js +1066 -0
- package/dist/client/assets/index-BcFn_S6b.js +1 -0
- package/dist/client/assets/{index-DRtg_sGG.js → index-BcnwvTnt.js} +1 -1
- package/dist/client/assets/index-BdVQOlVQ.css +1 -0
- package/dist/client/assets/{index-DEvpdTo6.js → index-BmKHO-FD.js} +1 -1
- package/dist/client/assets/{index-Bd0PAkxf.js → index-BsZkXHsH.js} +1 -1
- package/dist/client/assets/{index-Cudi8rs6.js → index-BxWr8Mrf.js} +1 -1
- package/dist/client/assets/index-C5EvpXcq.js +1 -0
- package/dist/client/assets/{index-CExh9cKN.js → index-Cb_p_ynP.js} +1 -1
- package/dist/client/assets/{index-YZbu9tke.js → index-CczLBUKI.js} +1 -1
- package/dist/client/assets/{index-264YDu-W.js → index-Cf4Gtxf9.js} +1 -1
- package/dist/client/assets/{index-Dpu2CORc.js → index-CfKSlYjb.js} +1 -1
- package/dist/client/assets/{index-Bzm9YMbr.js → index-Cgjq7a-8.js} +1 -1
- package/dist/client/assets/{index-Ci_J5Q-6.js → index-CpWxcN5D.js} +1 -1
- package/dist/client/assets/{index-BK5QrGfQ.js → index-Cv67OXfk.js} +1 -1
- package/dist/client/assets/{index-Di-MIFQG.js → index-D5Qmx1JR.js} +3 -3
- package/dist/client/assets/{index-LPrq0pOA.js → index-DARchye_.js} +1 -1
- package/dist/client/assets/{index-DMwivStD.js → index-DFb4kOjm.js} +2 -2
- package/dist/client/assets/{index-WeLoaNzW.js → index-DLN0kcME.js} +1 -1
- package/dist/client/assets/{index-BMLCfTba.js → index-DMSSN08i.js} +1 -1
- package/dist/client/assets/{index-Y6BDhuGt.js → index-DQ8uADJF.js} +1 -1
- package/dist/client/assets/index-DZhMvc9m.js +1 -0
- package/dist/client/assets/{index-CLsoFUml.js → index-Dfko0tSp.js} +1 -1
- package/dist/client/assets/{index-BgdYXP8E.js → index-DiM3QX-4.js} +3 -3
- package/dist/client/assets/{index-BxFLHNLg.js → index-DlvUENo4.js} +1 -1
- package/dist/client/assets/{index-BLUUshO9.js → index-DqZmnJED.js} +1 -1
- package/dist/client/assets/{index-D_bAtIJZ.js → index-DrlB9RSk.js} +1 -1
- package/dist/client/assets/{index-CgWzzIbx.js → index-H4e5Wpmi.js} +1 -1
- package/dist/client/assets/{index-k67dvyau.js → index-Joav7LQU.js} +1 -1
- package/dist/client/assets/{index-B0FHRkHM.js → index-KganLhU1.js} +2 -2
- package/dist/client/assets/{index-DFkofTx1.js → index-Kt6r3DQg.js} +1 -1
- package/dist/client/assets/{index-B8I1k-z9.js → index-Z2ApBQt4.js} +1 -1
- package/dist/client/assets/index-dY7IFpet.js +1 -0
- package/dist/client/assets/{index-DYVNSRDk.js → index-faSyUc2q.js} +1 -1
- package/dist/client/assets/{index-BgRYuqWs.js → index-gmyiXkmr.js} +1 -1
- package/dist/client/assets/{index-BZTLFzJp.js → index-o6kGmVGx.js} +1 -1
- package/dist/client/assets/{index-C_0JoCV6.js → index-vHKVYcH7.js} +1 -1
- package/dist/client/assets/{index.esm-CYmalBux.js → index.esm-CJIDYBqd.js} +1 -1
- package/dist/client/assets/{infoDiagram-MVDRKAX5-0aR9wjgO.js → infoDiagram-MVDRKAX5-B1mMyUlp.js} +1 -1
- package/dist/client/assets/{inline-code-DyTKSC5b.js → inline-code-mh48Uhbi.js} +1 -1
- package/dist/client/assets/{ishikawaDiagram-HPEHV2GE-D1lN8x2t.js → ishikawaDiagram-HPEHV2GE-efEMQ0_X.js} +1 -1
- package/dist/client/assets/{journeyDiagram-BOSHW7O7-CkXITXiJ.js → journeyDiagram-BOSHW7O7-DSAywiVk.js} +1 -1
- package/dist/client/assets/{kanban-definition-FNSA4HC5-ge33IiSq.js → kanban-definition-FNSA4HC5-B9pbU4zK.js} +1 -1
- package/dist/client/assets/{layers-Bx3K7OUm.js → layers-B0Z5Od3N.js} +1 -1
- package/dist/client/assets/{lightbulb-C5LvXkvM.js → lightbulb-Cfb5ecEd.js} +1 -1
- package/dist/client/assets/{link-2-Bj0_Zkvr.js → link-2-Dzy5BUL3.js} +1 -1
- package/dist/client/assets/{list-runtime-types-VNj1C8TB.js → list-runtime-types-DLmjtBMq.js} +1 -1
- package/dist/client/assets/{markdown-content-BRaPEOC7.js → markdown-content-DhAtZOfj.js} +1 -1
- package/dist/client/assets/{mention-pill-B_MiJWfo.js → mention-pill-DmA8FxL4.js} +1 -1
- package/dist/client/assets/{mermaid.core-B2hil_4a.js → mermaid.core-DUIkdbeL.js} +4 -4
- package/dist/client/assets/{message-square-off-T33FHpr7.js → message-square-off-BowIzJUV.js} +1 -1
- package/dist/client/assets/{mindmap-definition-6OY57UG3-Bu_Ia4Xz.js → mindmap-definition-6OY57UG3-Dz7ZOR4C.js} +1 -1
- package/dist/client/assets/{more-details-oDazWBxm.js → more-details-DV7LmY0E.js} +1 -1
- package/dist/client/assets/{owner-notice-VepbAQhj.js → owner-notice-DdFc2P8z.js} +1 -1
- package/dist/client/assets/{package-DBsl3ao5.js → package-BhKXbvU_.js} +1 -1
- package/dist/client/assets/{page-container-Bkarym6m.js → page-container-0sWZ3xh9.js} +1 -1
- package/dist/client/assets/{pane-resize-handle-gBlb5k1v.js → pane-resize-handle-Bjy4udre.js} +1 -1
- package/dist/client/assets/{paperclip-BeFttiUK.js → paperclip-C-7LhBfl.js} +1 -1
- package/dist/client/assets/{path-input-NY_yCBHb.js → path-input-BPVyI72G.js} +1 -1
- package/dist/client/assets/{pegDiagram-ECIUJNBX-0KmJlW0E.js → pegDiagram-ECIUJNBX-C4EOP-Fa.js} +1 -1
- package/dist/client/assets/{pieDiagram-GNMPY74T-IjeZXicv.js → pieDiagram-GNMPY74T-CQ1OxRkv.js} +1 -1
- package/dist/client/assets/{plug-CTqOZ7cA.js → plug-CIZ-wWL8.js} +1 -1
- package/dist/client/assets/{primer-trigger-CjaGrT2u.js → primer-trigger-XA5fLzR5.js} +2 -2
- package/dist/client/assets/{profile-errors-B8XkL2Rp.js → profile-errors-C1XACbc9.js} +1 -1
- package/dist/client/assets/{progress-Cr-4myw6.js → progress-BA2JPtb6.js} +1 -1
- package/dist/client/assets/{quadrantDiagram-D57K4MC3-CP6kLJKa.js → quadrantDiagram-D57K4MC3-Cw4BdkpS.js} +1 -1
- package/dist/client/assets/{query-error-state-DvhY-YKM.js → query-error-state-Cm-Lozlb.js} +1 -1
- package/dist/client/assets/{radio-CmDmmJy6.js → radio-DQ29H26H.js} +1 -1
- package/dist/client/assets/{railroadDiagram-Y72NRBL7-Bcto__oE.js → railroadDiagram-Y72NRBL7-CSKtYLmm.js} +1 -1
- package/dist/client/assets/registry-Tbt9pcZl.js +39 -0
- package/dist/client/assets/registry-jD9zw538.js +1 -0
- package/dist/client/assets/{relay-trace-schemas-ZLR1S8ft.js → relay-trace-schemas-4AAUf-Zl.js} +2 -2
- package/dist/client/assets/{repeat-DVTM8et8.js → repeat-B8g-x-Sc.js} +1 -1
- package/dist/client/assets/{requirementDiagram-EQYSW5RA-DNJrds3m.js → requirementDiagram-EQYSW5RA-BPSBZr7X.js} +1 -1
- package/dist/client/assets/{room-files-source-9Wdtc-bG.js → room-files-source-BkiK4-ZI.js} +2 -2
- package/dist/client/assets/{rotate-ccw-clock-qJSWqifh.js → rotate-ccw-clock-DRtL-2nr.js} +1 -1
- package/dist/client/assets/{rotate-cw-uoeBxIeM.js → rotate-cw-BbHkWN-J.js} +1 -1
- package/dist/client/assets/{sankeyDiagram-SY24JHO5-DNlU7xGI.js → sankeyDiagram-SY24JHO5-DVlHablQ.js} +1 -1
- package/dist/client/assets/{scroll-area-B1d3NfEn.js → scroll-area-DAC7NrVU.js} +1 -1
- package/dist/client/assets/{sequenceDiagram-BLEHNHQU-CRk71coF.js → sequenceDiagram-BLEHNHQU--wZkN8xk.js} +1 -1
- package/dist/client/assets/{shield-x-BpQmg1qz.js → shield-x-CEWfkzDN.js} +1 -1
- package/dist/client/assets/{signed-in-CTmJ3OqM.js → signed-in-CMhCR-m8.js} +1 -1
- package/dist/client/assets/{sizeCapture-INFHLROL-cihX3QNq.js → sizeCapture-INFHLROL-CLXc7d3S.js} +1 -1
- package/dist/client/assets/{soul-file-BwiyiI5v.js → soul-file-CbX7rNqz.js} +1 -1
- package/dist/client/assets/{stateDiagram-v2-A6IESKWZ-BAwwRsnH.js → stateDiagram-v2-A6IESKWZ-5xa1FM_X.js} +1 -1
- package/dist/client/assets/{swimlanes-B3ENRKFQ-CpDB6CUC.js → swimlanes-B3ENRKFQ-DKgxJxjE.js} +1 -1
- package/dist/client/assets/swimlanesDiagram-AYQRV4AK-f6MOc3pl.js +8 -0
- package/dist/client/assets/{table-dWrfPeX-.js → table-D0EJT0uP.js} +1 -1
- package/dist/client/assets/{tabs-D4txthOi.js → tabs-Ctjzrm8t.js} +1 -1
- package/dist/client/assets/{timeline-definition-JXYKGLGB-RDrKgCoU.js → timeline-definition-JXYKGLGB-B9P7ituI.js} +1 -1
- package/dist/client/assets/trust-dial-D__tIhzt.js +11 -0
- package/dist/client/assets/{trust-posture-atZIh8tf.js → trust-posture-DaHHtOZn.js} +1 -1
- package/dist/client/assets/{unplug-CnevV4yX.js → unplug-B-ipHefz.js} +1 -1
- package/dist/client/assets/{unverified-catalog-notice-BQwT36FA.js → unverified-catalog-notice-C8swqaTn.js} +1 -1
- package/dist/client/assets/{use-bindings-CltfjAWW.js → use-bindings-gLHRNAFU.js} +1 -1
- package/dist/client/assets/{use-composer-prefs-D-Zlt6z2.js → use-composer-prefs-CjpxcBIe.js} +1 -1
- package/dist/client/assets/{use-connector-management-C3CLnOOt.js → use-connector-management-BLiCJMgU.js} +1 -1
- package/dist/client/assets/{use-deep-link-scroll-DQlz-scx.js → use-deep-link-scroll-r2nKjzA-.js} +1 -1
- package/dist/client/assets/{use-delete-binding-D73CLm_7.js → use-delete-binding-BSiOik_K.js} +1 -1
- package/dist/client/assets/{use-dev-links-BqVFsMKU.js → use-dev-links-DXcIlMf-.js} +1 -1
- package/dist/client/assets/use-direct-message-panel-BbH8N4mE.js +1 -0
- package/dist/client/assets/{use-external-adapter-catalog-DrnksH0t.js → use-external-adapter-catalog-mmKni5ui.js} +1 -1
- package/dist/client/assets/{use-filter-state-D4i-hDOk.js → use-filter-state-CiPZ0AIH.js} +2 -2
- package/dist/client/assets/{use-full-activity-feed-DdDsRg8s.js → use-full-activity-feed-DXroUzfN.js} +1 -1
- package/dist/client/assets/use-is-below-desktop-LUZL5z5t.js +1 -0
- package/dist/client/assets/{use-mesh-topology-B7aLtPkZ.js → use-mesh-topology-upehQ5Cv.js} +1 -1
- package/dist/client/assets/{use-mounted-ref-DSSTCJfY.js → use-mounted-ref-IHwyriaF.js} +1 -1
- package/dist/client/assets/{use-notification-prefs-DaF3kwmq.js → use-notification-prefs-BHOK2P2l.js} +1 -1
- package/dist/client/assets/use-pending-read-mVsOBTzn.js +1 -0
- package/dist/client/assets/{use-personality-commit-D5b90JPX.js → use-personality-commit-Chf3UX8P.js} +1 -1
- package/dist/client/assets/{use-promo-activation-CPAOQpfe.js → use-promo-activation-Dlw6bg7G.js} +2 -2
- package/dist/client/assets/{use-promo-dismissals-Bx1gz1R1.js → use-promo-dismissals-Dx_fli7I.js} +1 -1
- package/dist/client/assets/{use-pulse-freshness-DeulB37O.js → use-pulse-freshness-CG_I6a-O.js} +1 -1
- package/dist/client/assets/{use-room-follow-claim-Dwke6RFQ.js → use-room-follow-claim-Bgrpr3bO.js} +1 -1
- package/dist/client/assets/{use-room-sessions-iepVrIMm.js → use-room-sessions-DecGrP3E.js} +1 -1
- package/dist/client/assets/{use-roving-tab-list-pCPKNQKv.js → use-roving-tab-list-CDkh-Ujm.js} +1 -1
- package/dist/client/assets/{use-session-canvas-BvvO-_V1.js → use-session-canvas-tvLLPQcm.js} +6 -6
- package/dist/client/assets/{use-status-budget-Bs7MMriS.js → use-status-budget-BBl2yxLR.js} +2 -2
- package/dist/client/assets/{use-todos-C-eREuDS.js → use-todos-BzRauzdQ.js} +1 -1
- package/dist/client/assets/{use-transform-lj3TkjYO.js → use-transform-DzJeHpxm.js} +1 -1
- package/dist/client/assets/{use-unclaimed-chats-BF3-0jHC.js → use-unclaimed-chats--HZdmq4F.js} +1 -1
- package/dist/client/assets/use-update-config-DjL7-nUR.js +1 -0
- package/dist/client/assets/{useMutationState-B_x_4f2K.js → useMutationState-DIywUTDG.js} +1 -1
- package/dist/client/assets/{usecaseDiagram-WPOLBNNX-DBsRYa4J.js → usecaseDiagram-WPOLBNNX-C9aLJ03F.js} +1 -1
- package/dist/client/assets/{vennDiagram-Q3Y3IDCW-rFAXvcQI.js → vennDiagram-Q3Y3IDCW-ChBIWbL0.js} +1 -1
- package/dist/client/assets/{wardleyDiagram-IVAIDKWA-bI0JZkO3.js → wardleyDiagram-IVAIDKWA-DvQDOaTm.js} +1 -1
- package/dist/client/assets/{xychartDiagram-4URNHDU4-DZUd8iln.js → xychartDiagram-4URNHDU4-8FxLPP2c.js} +1 -1
- package/dist/client/assets/zap-DSllMMHe.js +6 -0
- package/dist/client/index.html +2 -2
- package/dist/drizzle/20261104060919_package_approval_request.sql +1 -0
- package/dist/drizzle/20261104081935_hook_decline_review.sql +3 -0
- package/dist/drizzle/20261107183323_dor3933_todos_rename.sql +64 -0
- package/dist/drizzle/20261108014418_dor3938_cross_agent_writer.sql +4 -0
- package/dist/drizzle/meta/20261104060919_snapshot.json +14889 -0
- package/dist/drizzle/meta/20261104081935_snapshot.json +14910 -0
- package/dist/drizzle/meta/20261107183323_snapshot.json +14910 -0
- package/dist/drizzle/meta/20261108014418_snapshot.json +14938 -0
- package/dist/drizzle/meta/_journal.json +28 -0
- package/dist/server/index.js +24875 -21931
- package/dist/server/index.js.map +2 -2
- package/package.json +5 -5
- package/dist/client/assets/ApplyToOverridesDialog-DE9VVQCA.js +0 -1
- package/dist/client/assets/BindingDialog-C_yflKOE.js +0 -1
- package/dist/client/assets/CanvasFileContent-C3ZKszxn.js +0 -2
- package/dist/client/assets/CanvasModel3dContent-CsNUuaj6.js +0 -2
- package/dist/client/assets/CommitmentList-DOvfnyDA.js +0 -1
- package/dist/client/assets/CommitmentsPage-D81vxHUk.js +0 -1
- package/dist/client/assets/HandlePage-vsG04kBg.js +0 -1
- package/dist/client/assets/HeartbeatPage-CMj1SS30.js +0 -1
- package/dist/client/assets/NamePage-DdX2yQ5f.js +0 -1
- package/dist/client/assets/PermissionHistory-Bhl2kr1R.js +0 -1
- package/dist/client/assets/PermissionsPage-DUbenFkt.js +0 -1
- package/dist/client/assets/PhotoPage-CExABoHA.js +0 -1
- package/dist/client/assets/TaskDialogWrapper-BVb8gAr0.js +0 -1
- package/dist/client/assets/TasksEmptyState-RkUEEU2r.js +0 -3
- package/dist/client/assets/WorkView-BDk_vwu3.js +0 -51
- package/dist/client/assets/_shell-CMNFxZKJ.js +0 -80
- package/dist/client/assets/_shell._home.index-BjR-d3_s.js +0 -3
- package/dist/client/assets/_shell._home.tasks-CqURPMQD.js +0 -1
- package/dist/client/assets/_shell.connections-D3gJrBTQ.js +0 -1
- package/dist/client/assets/_shell.marketplace-HdefWdN_.js +0 -1
- package/dist/client/assets/_shell.marketplace_.sources-wAZKfDQF.js +0 -1
- package/dist/client/assets/_shell.session-C0utZeSI.js +0 -1
- package/dist/client/assets/_shell.threads-TvzYRNMt.js +0 -1
- package/dist/client/assets/_shell.todos-sOFmsIPE.js +0 -6
- package/dist/client/assets/_shell.x._extensionId-DiEQZIvl.js +0 -1
- package/dist/client/assets/_shell.x._extensionId_._-DiEQZIvl.js +0 -1
- package/dist/client/assets/channel-B0WiEIVe.js +0 -1
- package/dist/client/assets/index-BwTGkJbK.js +0 -1071
- package/dist/client/assets/index-CCHGVclj.js +0 -1
- package/dist/client/assets/index-CiUmx-i3.js +0 -1
- package/dist/client/assets/index-Dd4JoHFP.js +0 -1
- package/dist/client/assets/index-DlmGvYpy.js +0 -1
- package/dist/client/assets/index-EXJsA5kw.js +0 -1
- package/dist/client/assets/index-MpS13vhQ.css +0 -1
- package/dist/client/assets/registry-BQTcAm5U.js +0 -39
- package/dist/client/assets/registry-HencHRXy.js +0 -1
- package/dist/client/assets/swimlanesDiagram-AYQRV4AK-nJfOIWYW.js +0 -8
- package/dist/client/assets/use-direct-message-panel-B3qfpDjY.js +0 -1
- package/dist/client/assets/use-is-below-desktop-BXHT3oPL.js +0 -1
- package/dist/client/assets/use-local-browser-DDWknHZE.js +0 -1
- package/dist/client/assets/use-pending-read-uvmEJ7H9.js +0 -1
- package/dist/client/assets/use-update-config-D-OGlXGR.js +0 -1
package/dist/bin/cli.js
CHANGED
|
@@ -23360,7 +23360,21 @@ var init_account_identity = __esm({
|
|
|
23360
23360
|
});
|
|
23361
23361
|
|
|
23362
23362
|
// ../shared/src/permissions/permission-ids.ts
|
|
23363
|
-
|
|
23363
|
+
function renameRetiredActionIds(actions) {
|
|
23364
|
+
if (!Object.keys(actions).some((id) => Object.hasOwn(RENAMED_PERMISSION_ACTIONS, id))) {
|
|
23365
|
+
return null;
|
|
23366
|
+
}
|
|
23367
|
+
const out = {};
|
|
23368
|
+
for (const [id, state] of Object.entries(actions)) {
|
|
23369
|
+
if (!Object.hasOwn(RENAMED_PERMISSION_ACTIONS, id)) out[id] = state;
|
|
23370
|
+
}
|
|
23371
|
+
for (const [id, state] of Object.entries(actions)) {
|
|
23372
|
+
const current3 = RENAMED_PERMISSION_ACTIONS[id];
|
|
23373
|
+
if (current3 !== void 0 && !Object.hasOwn(out, current3)) out[current3] = state;
|
|
23374
|
+
}
|
|
23375
|
+
return out;
|
|
23376
|
+
}
|
|
23377
|
+
var PERMISSION_STATES, PERMISSION_AREA_IDS, PERMISSION_PRESETS, CHOOSABLE_PERMISSION_PRESETS, PERMISSION_ACTION_ID_PATTERN, RENAMED_PERMISSION_ACTIONS;
|
|
23364
23378
|
var init_permission_ids = __esm({
|
|
23365
23379
|
"../shared/src/permissions/permission-ids.ts"() {
|
|
23366
23380
|
"use strict";
|
|
@@ -23382,6 +23396,11 @@ var init_permission_ids = __esm({
|
|
|
23382
23396
|
PERMISSION_PRESETS = ["careful", "balanced", "full", "trusted"];
|
|
23383
23397
|
CHOOSABLE_PERMISSION_PRESETS = ["trusted", "careful"];
|
|
23384
23398
|
PERMISSION_ACTION_ID_PATTERN = /^[a-z0-9_]+(\.[a-z0-9_]+)?$/;
|
|
23399
|
+
RENAMED_PERMISSION_ACTIONS = {
|
|
23400
|
+
"commitments.add": "todo_promises.add",
|
|
23401
|
+
"commitments.update": "todo_promises.update",
|
|
23402
|
+
"commitments.list": "todo_promises.list"
|
|
23403
|
+
};
|
|
23385
23404
|
}
|
|
23386
23405
|
});
|
|
23387
23406
|
|
|
@@ -25002,12 +25021,8 @@ var init_runtime_settings = __esm({
|
|
|
25002
25021
|
*/
|
|
25003
25022
|
defaultTrustStop: RuntimeTrustStopSchema,
|
|
25004
25023
|
/**
|
|
25005
|
-
*
|
|
25006
|
-
*
|
|
25007
|
-
* later change of default reaches everyone who never chose; `exec` is
|
|
25008
|
-
* the older one-process-per-reply way; `app-server` is one long-lived
|
|
25009
|
-
* Codex process per home. Read once at startup: a change takes effect
|
|
25010
|
-
* after a restart.
|
|
25024
|
+
* Accepted legacy transport setting. Every value now runs protected
|
|
25025
|
+
* app-server; exec is retained only so existing config files still load.
|
|
25011
25026
|
*/
|
|
25012
25027
|
transport: CodexTransportSchema
|
|
25013
25028
|
}).default(() => ({
|
|
@@ -26423,9 +26438,9 @@ var init_config_schema = __esm({
|
|
|
26423
26438
|
/**
|
|
26424
26439
|
* Whether a chat with one agent reads like a direct message: the room's
|
|
26425
26440
|
* header, messages and composer over the agent's Direct chat (DOR-3074).
|
|
26426
|
-
*
|
|
26441
|
+
* On by default; a person can turn it off in Settings.
|
|
26427
26442
|
*/
|
|
26428
|
-
dmView: external_exports.boolean().default(
|
|
26443
|
+
dmView: external_exports.boolean().default(true),
|
|
26429
26444
|
/**
|
|
26430
26445
|
* Whether the working session behind a chat can be opened: its model,
|
|
26431
26446
|
* account, permissions and context. For everyone using this DorkOS, off by
|
|
@@ -26459,7 +26474,7 @@ var init_config_schema = __esm({
|
|
|
26459
26474
|
// on, this literal is what an install with no stored `ui` block lands on,
|
|
26460
26475
|
// and a field declared in only one of the two is a silent disagreement.
|
|
26461
26476
|
trustNoticeSeenAt: null,
|
|
26462
|
-
dmView:
|
|
26477
|
+
dmView: true,
|
|
26463
26478
|
showSessions: false
|
|
26464
26479
|
})),
|
|
26465
26480
|
/**
|
|
@@ -27319,7 +27334,7 @@ import path3 from "path";
|
|
|
27319
27334
|
import { fileURLToPath } from "url";
|
|
27320
27335
|
function resolveVersion() {
|
|
27321
27336
|
if (env2.DORKOS_VERSION_OVERRIDE) return env2.DORKOS_VERSION_OVERRIDE;
|
|
27322
|
-
if (true) return "0.
|
|
27337
|
+
if (true) return "0.133.0";
|
|
27323
27338
|
const pkgPath = path3.join(path3.dirname(fileURLToPath(import.meta.url)), "../../package.json");
|
|
27324
27339
|
return JSON.parse(readFileSync(pkgPath, "utf-8")).version;
|
|
27325
27340
|
}
|
|
@@ -41409,6 +41424,30 @@ function seedMaxAgentChats(store) {
|
|
|
41409
41424
|
if ("maxAgentChats" in runtimes) return;
|
|
41410
41425
|
store.set("runtimes", { ...runtimes, maxAgentChats: 8 });
|
|
41411
41426
|
}
|
|
41427
|
+
function renameTodoPromiseActions(store) {
|
|
41428
|
+
const renamed = {
|
|
41429
|
+
"commitments.add": "todo_promises.add",
|
|
41430
|
+
"commitments.update": "todo_promises.update",
|
|
41431
|
+
"commitments.list": "todo_promises.list"
|
|
41432
|
+
};
|
|
41433
|
+
const permissions = store.get("permissions");
|
|
41434
|
+
if (permissions === null || typeof permissions !== "object" || Array.isArray(permissions)) return;
|
|
41435
|
+
const defaults = permissions.defaults;
|
|
41436
|
+
if (defaults === null || typeof defaults !== "object" || Array.isArray(defaults)) return;
|
|
41437
|
+
const actions = defaults.actions;
|
|
41438
|
+
if (actions === null || typeof actions !== "object" || Array.isArray(actions)) return;
|
|
41439
|
+
const stored = actions;
|
|
41440
|
+
if (!Object.keys(stored).some((id) => Object.hasOwn(renamed, id))) return;
|
|
41441
|
+
const next = {};
|
|
41442
|
+
for (const [id, state] of Object.entries(stored)) {
|
|
41443
|
+
if (!Object.hasOwn(renamed, id)) next[id] = state;
|
|
41444
|
+
}
|
|
41445
|
+
for (const [id, state] of Object.entries(stored)) {
|
|
41446
|
+
const current3 = renamed[id];
|
|
41447
|
+
if (current3 !== void 0 && !Object.hasOwn(next, current3)) next[current3] = state;
|
|
41448
|
+
}
|
|
41449
|
+
store.set("permissions", { ...permissions, defaults: { ...defaults, actions: next } });
|
|
41450
|
+
}
|
|
41412
41451
|
var KEPT_FROM_AUTO_MOVES_ACCOUNT_ID;
|
|
41413
41452
|
var init_v0_90_onward = __esm({
|
|
41414
41453
|
"../../apps/server/src/services/core/config-migrations/v0-90-onward.ts"() {
|
|
@@ -42137,7 +42176,14 @@ var init_config_migrations = __esm({
|
|
|
42137
42176
|
//
|
|
42138
42177
|
// Writes `runtimes.maxAgentChats: 8` where the stored `runtimes` section
|
|
42139
42178
|
// lacks it, and touches nothing else (DOR-3413). See `seedMaxAgentChats`.
|
|
42140
|
-
"0.126.5": seedMaxAgentChats
|
|
42179
|
+
"0.126.5": seedMaxAgentChats,
|
|
42180
|
+
// v0.132.0 is the newest tag, so this opens 0.133.0. Frozen from merge;
|
|
42181
|
+
// anything further opens `'0.134.0'`.
|
|
42182
|
+
//
|
|
42183
|
+
// Moves each per-action default stored under `commitments.add|update|list`
|
|
42184
|
+
// to `todo_promises.add|update|list`, and touches nothing else (DOR-3933).
|
|
42185
|
+
// See `renameTodoPromiseActions`.
|
|
42186
|
+
"0.133.0": renameTodoPromiseActions
|
|
42141
42187
|
};
|
|
42142
42188
|
}
|
|
42143
42189
|
});
|
|
@@ -42211,6 +42257,7 @@ __export(config_manager_exports, {
|
|
|
42211
42257
|
raiseRoomTurnLimits: () => raiseRoomTurnLimits,
|
|
42212
42258
|
raiseSchedulerConcurrencyFloor: () => raiseSchedulerConcurrencyFloor,
|
|
42213
42259
|
renameReservedClaudeAccountIds: () => renameReservedClaudeAccountIds,
|
|
42260
|
+
renameTodoPromiseActions: () => renameTodoPromiseActions,
|
|
42214
42261
|
retireAgentContextSettings: () => retireAgentContextSettings,
|
|
42215
42262
|
retireStandingGrantSettings: () => retireStandingGrantSettings,
|
|
42216
42263
|
retireToolOnlyReplies: () => retireToolOnlyReplies,
|
|
@@ -45020,6 +45067,12 @@ var init_user_editable = __esm({
|
|
|
45020
45067
|
}
|
|
45021
45068
|
});
|
|
45022
45069
|
|
|
45070
|
+
// ../shared/src/schedule-file-problems.ts
|
|
45071
|
+
var init_schedule_file_problems = __esm({
|
|
45072
|
+
"../shared/src/schedule-file-problems.ts"() {
|
|
45073
|
+
}
|
|
45074
|
+
});
|
|
45075
|
+
|
|
45023
45076
|
// ../skills/src/duration.ts
|
|
45024
45077
|
var DURATION_MAX_LENGTH, DurationSchema;
|
|
45025
45078
|
var init_duration = __esm({
|
|
@@ -45082,6 +45135,7 @@ var TASK_PERMISSION_MODES, DEFAULT_TIMEZONE, DEFAULT_PERMISSIONS, ScheduleBlockS
|
|
|
45082
45135
|
var init_schedule_schema = __esm({
|
|
45083
45136
|
"../skills/src/schedule-schema.ts"() {
|
|
45084
45137
|
init_zod();
|
|
45138
|
+
init_schedule_file_problems();
|
|
45085
45139
|
init_constants();
|
|
45086
45140
|
init_duration();
|
|
45087
45141
|
init_yaml_boolean();
|
|
@@ -45424,6 +45478,8 @@ var init_schema = __esm({
|
|
|
45424
45478
|
* subsystem ever sees the complaint.
|
|
45425
45479
|
*/
|
|
45426
45480
|
schedule: external_exports.unknown().transform(readScheduleField).optional(),
|
|
45481
|
+
/** Retained only to diagnose a misplaced mode; never applied to execution. */
|
|
45482
|
+
permissions: external_exports.unknown().optional(),
|
|
45427
45483
|
/**
|
|
45428
45484
|
* Optional discriminator declaring whether this file is a skill, task, or
|
|
45429
45485
|
* command. Marketplace packages SHOULD set this explicitly; user-authored
|
|
@@ -45657,7 +45713,7 @@ var init_manifest_schema = __esm({
|
|
|
45657
45713
|
*/
|
|
45658
45714
|
name: external_exports.string().min(1).regex(/[a-zA-Z0-9]/, "Must contain at least one letter or number").optional(),
|
|
45659
45715
|
/** What this schedule does, in one line. Required on an inline entry. */
|
|
45660
|
-
description: external_exports.string().min(1).optional(),
|
|
45716
|
+
description: external_exports.string().min(1).max(1024).optional(),
|
|
45661
45717
|
/** What to send when the schedule fires. Required on an inline entry. */
|
|
45662
45718
|
prompt: external_exports.string().min(1).optional(),
|
|
45663
45719
|
/**
|
|
@@ -45785,7 +45841,7 @@ var init_manifest_schema = __esm({
|
|
|
45785
45841
|
// would leave Shapes as the one type that can still declare a name that
|
|
45786
45842
|
// slugifies to nothing.
|
|
45787
45843
|
name: external_exports.string().min(1).regex(/[a-zA-Z0-9]/, "Must contain at least one letter or number"),
|
|
45788
|
-
description: external_exports.string().min(1),
|
|
45844
|
+
description: external_exports.string().min(1).max(1024),
|
|
45789
45845
|
prompt: external_exports.string().min(1),
|
|
45790
45846
|
/**
|
|
45791
45847
|
* Which Shape agent (`ShapeAgentSchema.ref`) this schedule runs as. Shape-only:
|
|
@@ -52353,7 +52409,7 @@ var init_canvas_channel_schemas = __esm({
|
|
|
52353
52409
|
});
|
|
52354
52410
|
|
|
52355
52411
|
// ../shared/src/task-approval-schemas.ts
|
|
52356
|
-
var ScheduleOriginMarksSchema, TaskFolderRulesSchema;
|
|
52412
|
+
var ScheduleOriginMarksSchema, TaskFolderRulesSchema, TaskReviewPresentationSchema;
|
|
52357
52413
|
var init_task_approval_schemas = __esm({
|
|
52358
52414
|
"../shared/src/task-approval-schemas.ts"() {
|
|
52359
52415
|
"use strict";
|
|
@@ -52382,6 +52438,12 @@ var init_task_approval_schemas = __esm({
|
|
|
52382
52438
|
/** The filtered folder list waiting for a separate person's approval. */
|
|
52383
52439
|
pending: external_exports.array(external_exports.string())
|
|
52384
52440
|
});
|
|
52441
|
+
TaskReviewPresentationSchema = external_exports.object({
|
|
52442
|
+
folderRules: TaskFolderRulesSchema.optional(),
|
|
52443
|
+
runsAsName: external_exports.string().nullable().optional(),
|
|
52444
|
+
fileCapNext: external_exports.boolean().optional(),
|
|
52445
|
+
approvalRevision: external_exports.string().optional()
|
|
52446
|
+
});
|
|
52385
52447
|
}
|
|
52386
52448
|
});
|
|
52387
52449
|
|
|
@@ -52426,7 +52488,7 @@ function parseHeartbeatInterval(value) {
|
|
|
52426
52488
|
const minutes = match[2] ? Number(match[2]) : 0;
|
|
52427
52489
|
return (hours * 60 + minutes) * 60 * 1e3;
|
|
52428
52490
|
}
|
|
52429
|
-
var HEARTBEAT_WAKES, HeartbeatWakeSchema, HEARTBEAT_GATHERERS, HeartbeatGathererSchema, HEARTBEAT_REPORTS, HeartbeatReportSchema, SweepSchema, HEARTBEAT_SWEEP_MIN_MS, HeartbeatFrontmatterSchema, HEARTBEAT_TEMPLATE_IDS, HeartbeatTemplateIdSchema, END_BEAT_SUMMARY_MAX, END_BEAT_RAISE_TEXT_MAX, END_BEAT_RAISES_MAX, RAISE_RUNGS, RaiseRungSchema, EndBeatRaiseSchema, BEAT_PACE_MIN_MINUTES, BEAT_PACE_MAX_MINUTES, BEAT_PACE_MAX_MS, BeatPaceSchema, EndBeatInputSchema, BEAT_OUTCOMES, BeatOutcomeSchema, BeatKindSchema, BeatSummarySchema, HeldRaiseSchema, HeartbeatReportStatusSchema, HeartbeatChecksSchema, MeasureRateSchema, HeartbeatMeasuresSchema, TriageCreditsChoiceSchema, HeartbeatStatusSchema;
|
|
52491
|
+
var HEARTBEAT_WAKES, HeartbeatWakeSchema, HEARTBEAT_GATHERERS, HeartbeatGathererSchema, RENAMED_GATHERERS, WatchSchema, HEARTBEAT_REPORTS, HeartbeatReportSchema, SweepSchema, HEARTBEAT_SWEEP_MIN_MS, HeartbeatFrontmatterSchema, HEARTBEAT_TEMPLATE_IDS, HeartbeatTemplateIdSchema, END_BEAT_SUMMARY_MAX, END_BEAT_RAISE_TEXT_MAX, END_BEAT_RAISES_MAX, RAISE_RUNGS, RaiseRungSchema, EndBeatRaiseSchema, BEAT_PACE_MIN_MINUTES, BEAT_PACE_MAX_MINUTES, BEAT_PACE_MAX_MS, BeatPaceSchema, EndBeatInputSchema, BEAT_OUTCOMES, BeatOutcomeSchema, BeatKindSchema, BeatSummarySchema, HeldRaiseSchema, HeartbeatReportStatusSchema, HeartbeatChecksSchema, MeasureRateSchema, HeartbeatMeasuresSchema, TriageCreditsChoiceSchema, HeartbeatStatusSchema;
|
|
52430
52492
|
var init_heartbeat_schemas = __esm({
|
|
52431
52493
|
"../shared/src/heartbeat-schemas.ts"() {
|
|
52432
52494
|
"use strict";
|
|
@@ -52437,12 +52499,19 @@ var init_heartbeat_schemas = __esm({
|
|
|
52437
52499
|
HeartbeatWakeSchema = external_exports.enum(HEARTBEAT_WAKES).openapi("HeartbeatWake");
|
|
52438
52500
|
HEARTBEAT_GATHERERS = [
|
|
52439
52501
|
"addressed",
|
|
52440
|
-
"
|
|
52502
|
+
"todos",
|
|
52441
52503
|
"schedules",
|
|
52442
52504
|
"health",
|
|
52443
52505
|
"workspace"
|
|
52444
52506
|
];
|
|
52445
52507
|
HeartbeatGathererSchema = external_exports.enum(HEARTBEAT_GATHERERS).openapi("HeartbeatGatherer");
|
|
52508
|
+
RENAMED_GATHERERS = { commitments: "todos" };
|
|
52509
|
+
WatchSchema = external_exports.preprocess(
|
|
52510
|
+
(value) => Array.isArray(value) ? value.map(
|
|
52511
|
+
(name2) => typeof name2 === "string" && Object.hasOwn(RENAMED_GATHERERS, name2) ? RENAMED_GATHERERS[name2] : name2
|
|
52512
|
+
) : value,
|
|
52513
|
+
external_exports.array(HeartbeatGathererSchema).max(HEARTBEAT_GATHERERS.length)
|
|
52514
|
+
);
|
|
52446
52515
|
HEARTBEAT_REPORTS = ["daily", "weekly", "off"];
|
|
52447
52516
|
HeartbeatReportSchema = external_exports.enum(HEARTBEAT_REPORTS).openapi("HeartbeatReport");
|
|
52448
52517
|
SweepSchema = external_exports.string().max(16).regex(/^(\d{1,3}h)?(\d{1,4}m)?$/, 'Use hours and minutes, like "4h" or "1h30m".').refine((value) => value.length > 0, 'Use hours and minutes, like "4h" or "1h30m".').refine(
|
|
@@ -52454,7 +52523,7 @@ var init_heartbeat_schemas = __esm({
|
|
|
52454
52523
|
name: external_exports.string().max(100).optional(),
|
|
52455
52524
|
description: external_exports.string().max(500).optional(),
|
|
52456
52525
|
wake: HeartbeatWakeSchema.optional(),
|
|
52457
|
-
watch:
|
|
52526
|
+
watch: WatchSchema.optional(),
|
|
52458
52527
|
report: HeartbeatReportSchema.optional(),
|
|
52459
52528
|
sweep: SweepSchema.optional()
|
|
52460
52529
|
}).openapi("HeartbeatFrontmatter");
|
|
@@ -52599,7 +52668,7 @@ var init_heartbeat_schemas = __esm({
|
|
|
52599
52668
|
/** Beats that ended with nothing raised. */
|
|
52600
52669
|
quietBeats: MeasureRateSchema,
|
|
52601
52670
|
/** Promises that came due in the window and were kept by their date. */
|
|
52602
|
-
|
|
52671
|
+
todosOnTime: MeasureRateSchema,
|
|
52603
52672
|
/** Beat turns that ended without `end_beat`. */
|
|
52604
52673
|
noEndBeat: external_exports.number().int(),
|
|
52605
52674
|
/** Cheap checks on a decision model, and their tokens. */
|
|
@@ -53232,7 +53301,16 @@ var init_audit_schemas = __esm({
|
|
|
53232
53301
|
function isJsonObject(value) {
|
|
53233
53302
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
53234
53303
|
}
|
|
53304
|
+
function foldRenamedPermissionActions(raw) {
|
|
53305
|
+
if (!isJsonObject(raw) || !isJsonObject(raw.permissions)) return raw;
|
|
53306
|
+
const actions = raw.permissions.actions;
|
|
53307
|
+
if (!isJsonObject(actions)) return raw;
|
|
53308
|
+
const renamed = renameRetiredActionIds(actions);
|
|
53309
|
+
if (!renamed) return raw;
|
|
53310
|
+
return { ...raw, permissions: { ...raw.permissions, actions: renamed } };
|
|
53311
|
+
}
|
|
53235
53312
|
function foldLegacyPermissionFields(raw) {
|
|
53313
|
+
raw = foldRenamedPermissionActions(raw);
|
|
53236
53314
|
if (!isJsonObject(raw)) return raw;
|
|
53237
53315
|
const hasGroups = Object.prototype.hasOwnProperty.call(raw, "enabledToolGroups");
|
|
53238
53316
|
const hasCeiling = Object.prototype.hasOwnProperty.call(raw, "tierCeiling");
|
|
@@ -53885,7 +53963,7 @@ var init_direct_notes_context = __esm({
|
|
|
53885
53963
|
});
|
|
53886
53964
|
|
|
53887
53965
|
// ../shared/src/owed-notes-context.ts
|
|
53888
|
-
var ContextWarningDataSchema, TurnCutoffDataSchema;
|
|
53966
|
+
var ContextWarningDataSchema, TurnCutoffDataSchema, NewSinceDataSchema;
|
|
53889
53967
|
var init_owed_notes_context = __esm({
|
|
53890
53968
|
"../shared/src/owed-notes-context.ts"() {
|
|
53891
53969
|
"use strict";
|
|
@@ -53898,6 +53976,14 @@ var init_owed_notes_context = __esm({
|
|
|
53898
53976
|
windowMs: external_exports.number().int().positive(),
|
|
53899
53977
|
neverStarted: external_exports.boolean()
|
|
53900
53978
|
});
|
|
53979
|
+
NewSinceDataSchema = external_exports.object({
|
|
53980
|
+
previousVersion: external_exports.string(),
|
|
53981
|
+
currentVersion: external_exports.string(),
|
|
53982
|
+
lines: external_exports.array(
|
|
53983
|
+
external_exports.string().max(160).regex(/^[^<\r\n]+$/)
|
|
53984
|
+
).max(8),
|
|
53985
|
+
omitted: external_exports.number().int().nonnegative()
|
|
53986
|
+
});
|
|
53901
53987
|
}
|
|
53902
53988
|
});
|
|
53903
53989
|
|
|
@@ -53942,7 +54028,6 @@ var init_worktree_refresh_context = __esm({
|
|
|
53942
54028
|
var GitStatusDataSchema, EnvDataSchema, RelayContextDataSchema, RoomContextOriginSchema, RoomContextAuthorSchema, RoomContextMemberSchema, RoomContextEntrySchema, RoomContextAcknowledgmentSchema, RoomContextFilesSchema, RoomContextDataSchema, SeedContextDataSchema, StagedContextDataSchema, AccountsAccessDataSchema, ApprovalVerdictDataSchema, AdditionalContextEntrySchema, AdditionalContextSchema, ClientContextSchema;
|
|
53943
54029
|
var init_additional_context = __esm({
|
|
53944
54030
|
"../shared/src/additional-context.ts"() {
|
|
53945
|
-
"use strict";
|
|
53946
54031
|
init_zod();
|
|
53947
54032
|
init_canvas_channel_schemas();
|
|
53948
54033
|
init_mesh_schemas();
|
|
@@ -54156,6 +54241,11 @@ var init_additional_context = __esm({
|
|
|
54156
54241
|
kind: external_exports.literal("turn_cutoff"),
|
|
54157
54242
|
scope: external_exports.literal("per-turn"),
|
|
54158
54243
|
data: TurnCutoffDataSchema
|
|
54244
|
+
}),
|
|
54245
|
+
external_exports.object({
|
|
54246
|
+
kind: external_exports.literal("new_since_last_run"),
|
|
54247
|
+
scope: external_exports.literal("per-turn"),
|
|
54248
|
+
data: NewSinceDataSchema
|
|
54159
54249
|
})
|
|
54160
54250
|
]);
|
|
54161
54251
|
AdditionalContextSchema = external_exports.array(AdditionalContextEntrySchema);
|
|
@@ -54316,7 +54406,7 @@ var init_project_schemas = __esm({
|
|
|
54316
54406
|
});
|
|
54317
54407
|
|
|
54318
54408
|
// ../shared/src/approval-schemas.ts
|
|
54319
|
-
var APPROVAL_SUMMARY_MAX_LENGTH, APPROVAL_CONSEQUENCE_MAX_LENGTH, APPROVAL_DETAIL_MAX_LENGTH, APPROVAL_SUBJECT_LABEL_MAX_LENGTH, APPROVAL_SUBJECT_KINDS, ApprovalSubjectSchema, APPROVAL_SERVICE_ACTION_MAX_DETAILS, APPROVAL_SERVICE_DETAIL_VALUE_MAX_LENGTH, APPROVAL_SERVICE_DETAIL_LABEL_MAX_LENGTH, APPROVAL_SERVICE_NAME_MAX_LENGTH, APPROVAL_SERVICE_FULL_VALUE_MAX_LENGTH, APPROVAL_SERVICE_FULL_MAX_LINES, APPROVAL_SERVICE_FULL_MAX_DEPTH, ApprovalServiceActionLineSchema, ApprovalServiceActionDetailSchema, ApprovalServiceActionSchema, APPROVAL_ORIGINS, APPROVAL_REQUEST_REASON_MAX_LENGTH, APPROVAL_FULL_DETAIL_MAX_LENGTH, MARKETPLACE_RISK_KINDS, MARKETPLACE_RISK_CHANGES, MarketplaceRiskSchema, MarketplacePackageSummarySchema, MarketplaceApprovalSummarySchema, ApprovalFullDetailResponseSchema, PendingApprovalSchema, PendingApprovalsResponseSchema, CAPABILITY_APPROVAL_OUTCOMES, CapabilityApprovalOutcomeSchema, APPROVAL_ANSWERS, GrantApprovalBodySchema, DenyApprovalBodySchema, ApprovalDecisionResponseSchema;
|
|
54409
|
+
var APPROVAL_SUMMARY_MAX_LENGTH, APPROVAL_CONSEQUENCE_MAX_LENGTH, APPROVAL_DETAIL_MAX_LENGTH, APPROVAL_SUBJECT_LABEL_MAX_LENGTH, APPROVAL_SUBJECT_KINDS, ApprovalSubjectSchema, APPROVAL_SERVICE_ACTION_MAX_DETAILS, APPROVAL_SERVICE_DETAIL_VALUE_MAX_LENGTH, APPROVAL_SERVICE_DETAIL_LABEL_MAX_LENGTH, APPROVAL_SERVICE_NAME_MAX_LENGTH, APPROVAL_SERVICE_FULL_VALUE_MAX_LENGTH, APPROVAL_SERVICE_FULL_MAX_LINES, APPROVAL_SERVICE_FULL_MAX_DEPTH, ApprovalServiceActionLineSchema, ApprovalServiceActionDetailSchema, ApprovalServiceActionSchema, APPROVAL_ORIGINS, APPROVAL_REQUEST_REASON_MAX_LENGTH, APPROVAL_FULL_DETAIL_MAX_LENGTH, MARKETPLACE_RISK_KINDS, MARKETPLACE_RISK_CHANGES, MarketplaceRiskSchema, MarketplacePackageSummarySchema, MarketplaceApprovalSummarySchema, ApprovalFullDetailResponseSchema, PendingApprovalSchema, PendingApprovalsResponseSchema, CAPABILITY_APPROVAL_OUTCOMES, CapabilityApprovalOutcomeSchema, APPROVAL_ANSWERS, GrantApprovalBodySchema, DenyApprovalBodySchema, ApprovalDecisionResponseSchema, DeclinedHookApprovalSchema, DeclinedHookApprovalsResponseSchema;
|
|
54320
54410
|
var init_approval_schemas = __esm({
|
|
54321
54411
|
"../shared/src/approval-schemas.ts"() {
|
|
54322
54412
|
"use strict";
|
|
@@ -54453,6 +54543,10 @@ var init_approval_schemas = __esm({
|
|
|
54453
54543
|
approvalId: external_exports.string(),
|
|
54454
54544
|
/** Capability the request would invoke, e.g. `marketplace.uninstall`. */
|
|
54455
54545
|
capabilityId: external_exports.string(),
|
|
54546
|
+
/** The full request cannot be shown, so only a decline is permitted. */
|
|
54547
|
+
cannotAllow: external_exports.literal(true).optional(),
|
|
54548
|
+
/** Whole swept package name for a decline-only heading, or a neutral fallback. */
|
|
54549
|
+
packageLabel: external_exports.string().max(80).optional(),
|
|
54456
54550
|
/** Human-facing capability title. */
|
|
54457
54551
|
capabilityTitle: external_exports.string(),
|
|
54458
54552
|
/** Permission tier of the capability being requested. */
|
|
@@ -54639,10 +54733,20 @@ var init_approval_schemas = __esm({
|
|
|
54639
54733
|
/** ULID of the approval that was decided. */
|
|
54640
54734
|
approvalId: external_exports.string(),
|
|
54641
54735
|
/** The decision that was recorded. */
|
|
54642
|
-
outcome: external_exports.enum(["granted", "denied"]),
|
|
54736
|
+
outcome: external_exports.enum(["granted", "denied", "incomplete"]),
|
|
54643
54737
|
/** On a yes: whether it was for this one call or from now on. */
|
|
54644
54738
|
answer: external_exports.enum(APPROVAL_ANSWERS).optional()
|
|
54645
54739
|
}).openapi("ApprovalDecisionResponse");
|
|
54740
|
+
DeclinedHookApprovalSchema = external_exports.object({
|
|
54741
|
+
approval: PendingApprovalSchema,
|
|
54742
|
+
declineKind: external_exports.enum(["incomplete", "refused"]),
|
|
54743
|
+
canAskAgain: external_exports.boolean(),
|
|
54744
|
+
reviewPending: external_exports.boolean(),
|
|
54745
|
+
askedAgain: external_exports.boolean()
|
|
54746
|
+
});
|
|
54747
|
+
DeclinedHookApprovalsResponseSchema = external_exports.object({
|
|
54748
|
+
approvals: external_exports.array(DeclinedHookApprovalSchema)
|
|
54749
|
+
});
|
|
54646
54750
|
}
|
|
54647
54751
|
});
|
|
54648
54752
|
|
|
@@ -57896,6 +58000,12 @@ var init_schemas4 = __esm({
|
|
|
57896
58000
|
trustNoticeSeenAt: external_exports.string().nullable().openapi({
|
|
57897
58001
|
description: "When this person saw the notice that agents work without asking (ISO 8601), or null when they have not. Gates the notice only; it grants nothing"
|
|
57898
58002
|
}),
|
|
58003
|
+
// Whether a chat with one agent reads like a direct message (DOR-3074).
|
|
58004
|
+
// On the wire because Settings shows it back as a switch and every door
|
|
58005
|
+
// to an agent reads it. Optional so an older server still parses.
|
|
58006
|
+
dmView: external_exports.boolean().optional().openapi({
|
|
58007
|
+
description: "Whether a chat with one agent reads like a direct message, for everyone using this DorkOS. On by default"
|
|
58008
|
+
}),
|
|
57899
58009
|
// Whether the working session behind a chat can be opened
|
|
57900
58010
|
// (DOR-3074). On the wire because Settings shows it back as a switch
|
|
57901
58011
|
// and the chat header reads it. Optional so an older server still parses.
|
|
@@ -58183,7 +58293,7 @@ var init_schemas4 = __esm({
|
|
|
58183
58293
|
maxRuntime: external_exports.number().int().nullable(),
|
|
58184
58294
|
permissionMode: PermissionModeSchema,
|
|
58185
58295
|
/** Read-time, person-only preview; absent for older servers and agent callers. */
|
|
58186
|
-
|
|
58296
|
+
...TaskReviewPresentationSchema.shape,
|
|
58187
58297
|
/**
|
|
58188
58298
|
* Which agent runtime this task's runs execute on, or `null` to follow the
|
|
58189
58299
|
* task's agent (DOR-1615).
|
|
@@ -58242,13 +58352,6 @@ var init_schemas4 = __esm({
|
|
|
58242
58352
|
* nothing resolves, which is what the "An agent" fallback is for.
|
|
58243
58353
|
*/
|
|
58244
58354
|
proposedByName: external_exports.string().nullable().default(null),
|
|
58245
|
-
/**
|
|
58246
|
-
* The name of the agent this schedule runs as (the agent `agentId` names),
|
|
58247
|
-
* resolved when the task is READ, like `proposedByName`, so an approval card
|
|
58248
|
-
* and its notification say whose turn it would be (DOR-3640 R1). `null` for
|
|
58249
|
-
* a global schedule, or when the agent cannot be named; absent on a task not yet read that way.
|
|
58250
|
-
*/
|
|
58251
|
-
runsAsName: external_exports.string().nullable().optional(),
|
|
58252
58355
|
/**
|
|
58253
58356
|
* Where this schedule came from, when that is not a person using DorkOS.
|
|
58254
58357
|
*
|
|
@@ -58287,12 +58390,6 @@ var init_schemas4 = __esm({
|
|
|
58287
58390
|
* are capped at Don't ask (DOR-3703, M4). Absent otherwise. Response-only.
|
|
58288
58391
|
*/
|
|
58289
58392
|
fileCap: TaskFileCapSchema.nullable().optional(),
|
|
58290
|
-
/**
|
|
58291
|
-
* Whether the task's next run would be capped at Never ask until a person
|
|
58292
|
-
* approves its file (DOR-3703, M4): it is capped now, or no approval covers
|
|
58293
|
-
* the prompt it runs. Absent where the cap does not apply. Response-only.
|
|
58294
|
-
*/
|
|
58295
|
-
fileCapNext: external_exports.boolean().optional(),
|
|
58296
58393
|
/**
|
|
58297
58394
|
* Held for a person, but nothing is waiting on them (DOR-3425): the file of a
|
|
58298
58395
|
* schedule whose agent is at Full autonomy asks for more than was approved. It
|
|
@@ -58626,7 +58723,9 @@ var init_schemas4 = __esm({
|
|
|
58626
58723
|
* otherwise nothing is attested and the task's runs are capped. Only a
|
|
58627
58724
|
* person may send it.
|
|
58628
58725
|
*/
|
|
58629
|
-
approvedPromptHash: external_exports.string().min(1).optional()
|
|
58726
|
+
approvedPromptHash: external_exports.string().min(1).optional(),
|
|
58727
|
+
/** Revision shown by the approval card; required when explicitly activating a task. */
|
|
58728
|
+
expectedApprovalRevision: external_exports.string().regex(/^[a-f0-9]{64}$/).optional()
|
|
58630
58729
|
}).openapi("UpdateTaskRequest");
|
|
58631
58730
|
ListTaskRunsQuerySchema = external_exports.object({
|
|
58632
58731
|
scheduleId: external_exports.string().optional(),
|
|
@@ -64160,9 +64259,9 @@ var init_is_api_error = __esm({
|
|
|
64160
64259
|
}
|
|
64161
64260
|
});
|
|
64162
64261
|
|
|
64163
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
64262
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_4e196f4ec41dbc943508caf162b7d4a5/node_modules/better-auth/dist/utils/is-api-error.mjs
|
|
64164
64263
|
var init_is_api_error2 = __esm({
|
|
64165
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
64264
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_4e196f4ec41dbc943508caf162b7d4a5/node_modules/better-auth/dist/utils/is-api-error.mjs"() {
|
|
64166
64265
|
init_is_api_error();
|
|
64167
64266
|
}
|
|
64168
64267
|
});
|
|
@@ -75802,9 +75901,9 @@ var init_social_providers = __esm({
|
|
|
75802
75901
|
}
|
|
75803
75902
|
});
|
|
75804
75903
|
|
|
75805
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
75904
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_4e196f4ec41dbc943508caf162b7d4a5/node_modules/better-auth/dist/api/index.mjs
|
|
75806
75905
|
var init_api4 = __esm({
|
|
75807
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
75906
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_4e196f4ec41dbc943508caf162b7d4a5/node_modules/better-auth/dist/api/index.mjs"() {
|
|
75808
75907
|
init_is_api_error2();
|
|
75809
75908
|
init_dist7();
|
|
75810
75909
|
init_api2();
|
|
@@ -106862,6 +106961,8 @@ var init_approvals = __esm({
|
|
|
106862
106961
|
connectorOperationRevisionId: text("connector_operation_revision_id"),
|
|
106863
106962
|
/** One plain sentence describing what the operator is about to allow. */
|
|
106864
106963
|
summary: text("summary").notNull(),
|
|
106964
|
+
/** Full package request rebuilt at Allow; null on legacy or unsafe-to-store rows. */
|
|
106965
|
+
packageRequest: text("package_request"),
|
|
106865
106966
|
/**
|
|
106866
106967
|
* The one argument a person has to read IN FULL before answering, verbatim,
|
|
106867
106968
|
* or null when the capability declares none (DOR-1698).
|
|
@@ -106990,6 +107091,10 @@ var init_approvals = __esm({
|
|
|
106990
107091
|
}).notNull().default("pending"),
|
|
106991
107092
|
/** Why the operator said no, when they gave a reason. */
|
|
106992
107093
|
denyReason: text("deny_reason"),
|
|
107094
|
+
/** Server-derived meaning of a package decline; never chosen by the caller. */
|
|
107095
|
+
declineKind: text("decline_kind", { enum: ["incomplete", "refused"] }),
|
|
107096
|
+
/** The declined hook row this fresh person-requested review replaces. */
|
|
107097
|
+
retryOf: text("retry_of").unique(),
|
|
106993
107098
|
/** When the request was created. ISO 8601 UTC. */
|
|
106994
107099
|
createdAt: text("created_at").notNull(),
|
|
106995
107100
|
/** When the token stops being honored. ISO 8601 UTC. */
|
|
@@ -107270,6 +107375,13 @@ var init_tasks = __esm({
|
|
|
107270
107375
|
* card names each mark and where it came from. A person's approval clears it.
|
|
107271
107376
|
*/
|
|
107272
107377
|
originMarks: text("origin_marks"),
|
|
107378
|
+
/**
|
|
107379
|
+
* The last agent OTHER than the one this schedule runs as that made or changed it (DOR-3938),
|
|
107380
|
+
* as JSON `{ agentPath, sessionId, marks }`: its home, its chat, and the marks that chat's turn
|
|
107381
|
+
* carried (a teammate's chain; an outsider's mark refuses the write). Every run records it and
|
|
107382
|
+
* starts with those marks. NULL for a schedule only its own agent or a person wrote.
|
|
107383
|
+
*/
|
|
107384
|
+
crossAgentWriter: text("cross_agent_writer"),
|
|
107273
107385
|
/**
|
|
107274
107386
|
* The agent's runtime, model or effort that changed outside DorkOS since this
|
|
107275
107387
|
* schedule was approved, while the schedule follows the agent for that part
|
|
@@ -107447,6 +107559,20 @@ var init_tasks = __esm({
|
|
|
107447
107559
|
* agent runs, and on every run older than the column.
|
|
107448
107560
|
*/
|
|
107449
107561
|
missedTicks: integer2("missed_ticks"),
|
|
107562
|
+
/**
|
|
107563
|
+
* The agent that made this run's task, read from the task when the run was dispatched
|
|
107564
|
+
* (DOR-3938): its home folder. NULL for a task a person (or a file) made, and on every run
|
|
107565
|
+
* older than the column. When it is another agent than the one the task runs as, the run
|
|
107566
|
+
* started with the marks below.
|
|
107567
|
+
*/
|
|
107568
|
+
creatorAgentPath: text("creator_agent_path"),
|
|
107569
|
+
/** The chat that agent made the task from, beside `creator_agent_path`; NULL when unknown. */
|
|
107570
|
+
creatorSessionId: text("creator_session_id"),
|
|
107571
|
+
/**
|
|
107572
|
+
* The marks that chat's turn carried, as JSON `{ outsider?: true, teammate?: [...] }`, which the
|
|
107573
|
+
* run started with (DOR-3938). `{}` for an unmarked creator; NULL beside a NULL creator.
|
|
107574
|
+
*/
|
|
107575
|
+
creatorMarks: text("creator_marks"),
|
|
107450
107576
|
trigger: text("trigger", {
|
|
107451
107577
|
enum: ["scheduled", "manual", "agent"]
|
|
107452
107578
|
}).notNull().default("scheduled"),
|
|
@@ -110658,6 +110784,7 @@ var init_notifications = __esm({
|
|
|
110658
110784
|
"community.teammate-limit",
|
|
110659
110785
|
"community.teammate-limits-reset",
|
|
110660
110786
|
"heartbeat.credits-offer",
|
|
110787
|
+
"browser.handoff",
|
|
110661
110788
|
"connector.destructive_pending",
|
|
110662
110789
|
"connector.destructive_executed",
|
|
110663
110790
|
"web.new_device",
|
|
@@ -111649,22 +111776,17 @@ var init_chat_messages2 = __esm({
|
|
|
111649
111776
|
}
|
|
111650
111777
|
});
|
|
111651
111778
|
|
|
111652
|
-
// ../db/src/schema/
|
|
111653
|
-
var
|
|
111654
|
-
var
|
|
111655
|
-
"../db/src/schema/
|
|
111779
|
+
// ../db/src/schema/todos/todos.ts
|
|
111780
|
+
var TODO_ASSIGNER_KINDS, TODO_NAMED_AUTHORITIES, todos;
|
|
111781
|
+
var init_todos = __esm({
|
|
111782
|
+
"../db/src/schema/todos/todos.ts"() {
|
|
111656
111783
|
"use strict";
|
|
111657
111784
|
init_drizzle_orm();
|
|
111658
111785
|
init_sqlite_core();
|
|
111659
|
-
|
|
111660
|
-
|
|
111661
|
-
|
|
111662
|
-
"
|
|
111663
|
-
"person",
|
|
111664
|
-
"runtime-default"
|
|
111665
|
-
];
|
|
111666
|
-
commitments = sqliteTable(
|
|
111667
|
-
"commitments",
|
|
111786
|
+
TODO_ASSIGNER_KINDS = ["agent", "person", "outsider"];
|
|
111787
|
+
TODO_NAMED_AUTHORITIES = ["legacy", "self", "person", "runtime-default"];
|
|
111788
|
+
todos = sqliteTable(
|
|
111789
|
+
"todos",
|
|
111668
111790
|
{
|
|
111669
111791
|
/** ULID. */
|
|
111670
111792
|
id: text("id").primaryKey(),
|
|
@@ -111706,14 +111828,14 @@ var init_commitments = __esm({
|
|
|
111706
111828
|
*/
|
|
111707
111829
|
originMarks: text("origin_marks"),
|
|
111708
111830
|
/** What kind of actor assigned it. Recorded once, never changed. */
|
|
111709
|
-
assignedByKind: text("assigned_by_kind", { enum:
|
|
111831
|
+
assignedByKind: text("assigned_by_kind", { enum: TODO_ASSIGNER_KINDS }).notNull(),
|
|
111710
111832
|
/**
|
|
111711
111833
|
* Who assigned it: the agent's Mesh id, `owner` for the person who owns this DorkOS, or the
|
|
111712
111834
|
* outsider's id.
|
|
111713
111835
|
*/
|
|
111714
111836
|
assignedBy: text("assigned_by").notNull(),
|
|
111715
111837
|
/**
|
|
111716
|
-
* The authority its words carry: one of {@link
|
|
111838
|
+
* The authority its words carry: one of {@link TODO_NAMED_AUTHORITIES}, or a JSON turn
|
|
111717
111839
|
* level. Set by the server only, when the row is made. The to-dos service (DOR-3088) lowers
|
|
111718
111840
|
* it to the lowest of everyone who later changes the row; until then nothing reads it.
|
|
111719
111841
|
*/
|
|
@@ -111739,50 +111861,47 @@ var init_commitments = __esm({
|
|
|
111739
111861
|
rank: text("rank")
|
|
111740
111862
|
},
|
|
111741
111863
|
(table2) => [
|
|
111742
|
-
index("
|
|
111743
|
-
index("
|
|
111744
|
-
index("
|
|
111745
|
-
index("
|
|
111746
|
-
check3("
|
|
111747
|
-
check3("
|
|
111748
|
-
check3("
|
|
111864
|
+
index("todos_agent_state_idx").on(table2.agentId, table2.state),
|
|
111865
|
+
index("todos_due_idx").on(table2.dueAt),
|
|
111866
|
+
index("todos_owner_state_idx").on(table2.ownerAccount, table2.state),
|
|
111867
|
+
index("todos_assigned_by_idx").on(table2.assignedBy, table2.state),
|
|
111868
|
+
check3("todos_state", sql2`${table2.state} IN ('open', 'kept', 'missed', 'dropped')`),
|
|
111869
|
+
check3("todos_what_length", sql2`length(${table2.what}) <= 300`),
|
|
111870
|
+
check3("todos_owner", sql2`(${table2.agentId} IS NULL) <> (${table2.ownerAccount} IS NULL)`),
|
|
111749
111871
|
check3(
|
|
111750
|
-
"
|
|
111872
|
+
"todos_assigned_by_kind",
|
|
111751
111873
|
sql2`${table2.assignedByKind} IN ('agent', 'person', 'outsider')`
|
|
111752
111874
|
),
|
|
111753
111875
|
check3(
|
|
111754
|
-
"
|
|
111876
|
+
"todos_authority",
|
|
111755
111877
|
sql2`${table2.authority} IN ('legacy', 'self', 'person', 'runtime-default') OR (json_valid(${table2.authority}) AND json_type(${table2.authority}) = 'object')`
|
|
111756
111878
|
),
|
|
111757
111879
|
// A legacy row is an agent's own promise from before to-dos, and nothing else.
|
|
111758
111880
|
check3(
|
|
111759
|
-
"
|
|
111881
|
+
"todos_legacy_is_own",
|
|
111760
111882
|
sql2`${table2.authority} <> 'legacy' OR (${table2.agentId} IS NOT NULL AND ${table2.assignedByKind} = 'agent' AND ${table2.assignedBy} = ${table2.agentId})`
|
|
111761
111883
|
),
|
|
111762
111884
|
check3(
|
|
111763
|
-
"
|
|
111885
|
+
"todos_authority_marks",
|
|
111764
111886
|
sql2`json_valid(${table2.authorityMarks}) AND json_type(${table2.authorityMarks}) = 'object'`
|
|
111765
111887
|
),
|
|
111766
|
-
check3("
|
|
111767
|
-
check3("
|
|
111888
|
+
check3("todos_title_from_source", sql2`${table2.titleFromSource} IN (0, 1)`),
|
|
111889
|
+
check3("todos_chain_depth", sql2`${table2.chainDepth} >= 0`),
|
|
111768
111890
|
check3(
|
|
111769
|
-
"
|
|
111891
|
+
"todos_chain_agents",
|
|
111770
111892
|
sql2`json_valid(${table2.chainAgents}) AND json_type(${table2.chainAgents}) = 'array'`
|
|
111771
111893
|
),
|
|
111772
|
-
check3(
|
|
111773
|
-
|
|
111774
|
-
sql2`${table2.notes} IS NULL OR length(${table2.notes}) <= 2000`
|
|
111775
|
-
),
|
|
111776
|
-
check3("commitments_rank_length", sql2`${table2.rank} IS NULL OR length(${table2.rank}) <= 64`)
|
|
111894
|
+
check3("todos_notes_length", sql2`${table2.notes} IS NULL OR length(${table2.notes}) <= 2000`),
|
|
111895
|
+
check3("todos_rank_length", sql2`${table2.rank} IS NULL OR length(${table2.rank}) <= 64`)
|
|
111777
111896
|
]
|
|
111778
111897
|
);
|
|
111779
111898
|
}
|
|
111780
111899
|
});
|
|
111781
111900
|
|
|
111782
|
-
// ../db/src/schema/
|
|
111901
|
+
// ../db/src/schema/todos/todo-turns.ts
|
|
111783
111902
|
var todoTurns, todoPersonAsks;
|
|
111784
111903
|
var init_todo_turns = __esm({
|
|
111785
|
-
"../db/src/schema/
|
|
111904
|
+
"../db/src/schema/todos/todo-turns.ts"() {
|
|
111786
111905
|
"use strict";
|
|
111787
111906
|
init_drizzle_orm();
|
|
111788
111907
|
init_sqlite_core();
|
|
@@ -111791,7 +111910,7 @@ var init_todo_turns = __esm({
|
|
|
111791
111910
|
{
|
|
111792
111911
|
/** ULID. */
|
|
111793
111912
|
id: text("id").primaryKey(),
|
|
111794
|
-
/** The to-do (`
|
|
111913
|
+
/** The to-do (`todos.id`). */
|
|
111795
111914
|
todoId: text("todo_id").notNull(),
|
|
111796
111915
|
/** The agent the turn runs on. */
|
|
111797
111916
|
agentId: text("agent_id").notNull(),
|
|
@@ -112205,8 +112324,6 @@ var init_remote_commands = __esm({
|
|
|
112205
112324
|
// ../db/src/schema/index.ts
|
|
112206
112325
|
var schema_exports = {};
|
|
112207
112326
|
__export(schema_exports, {
|
|
112208
|
-
COMMITMENT_ASSIGNER_KINDS: () => COMMITMENT_ASSIGNER_KINDS,
|
|
112209
|
-
COMMITMENT_NAMED_AUTHORITIES: () => COMMITMENT_NAMED_AUTHORITIES,
|
|
112210
112327
|
DEFAULT_AMBIENT_MAX_ENTRIES: () => DEFAULT_AMBIENT_MAX_ENTRIES,
|
|
112211
112328
|
EVERY_AGENT_GRANT_SUBJECT_ID: () => EVERY_AGENT_GRANT_SUBJECT_ID,
|
|
112212
112329
|
EXTENSION_AGENT_SEND_STATUSES: () => EXTENSION_AGENT_SEND_STATUSES,
|
|
@@ -112217,6 +112334,8 @@ __export(schema_exports, {
|
|
|
112217
112334
|
READ_CURSOR_THREAD_KINDS: () => READ_CURSOR_THREAD_KINDS,
|
|
112218
112335
|
REMOTE_COMMAND_ACK_STATES: () => REMOTE_COMMAND_ACK_STATES,
|
|
112219
112336
|
REMOTE_COMMAND_JOURNAL_VERBS: () => REMOTE_COMMAND_JOURNAL_VERBS,
|
|
112337
|
+
TODO_ASSIGNER_KINDS: () => TODO_ASSIGNER_KINDS,
|
|
112338
|
+
TODO_NAMED_AUTHORITIES: () => TODO_NAMED_AUTHORITIES,
|
|
112220
112339
|
a2aTasks: () => a2aTasks,
|
|
112221
112340
|
account: () => account,
|
|
112222
112341
|
accountRelations: () => accountRelations,
|
|
@@ -112251,7 +112370,6 @@ __export(schema_exports, {
|
|
|
112251
112370
|
chatMessages: () => chatMessages,
|
|
112252
112371
|
chatReadCursors: () => chatReadCursors,
|
|
112253
112372
|
codexThreads: () => codexThreads,
|
|
112254
|
-
commitments: () => commitments,
|
|
112255
112373
|
communityAgentEnrollments: () => communityAgentEnrollments,
|
|
112256
112374
|
communityEntryOrigins: () => communityEntryOrigins,
|
|
112257
112375
|
communityMirrorAccess: () => communityMirrorAccess,
|
|
@@ -112345,6 +112463,7 @@ __export(schema_exports, {
|
|
|
112345
112463
|
sessionTouches: () => sessionTouches,
|
|
112346
112464
|
todoPersonAsks: () => todoPersonAsks,
|
|
112347
112465
|
todoTurns: () => todoTurns,
|
|
112466
|
+
todos: () => todos,
|
|
112348
112467
|
unclaimedChats: () => unclaimedChats,
|
|
112349
112468
|
user: () => user,
|
|
112350
112469
|
userRelations: () => userRelations,
|
|
@@ -112400,7 +112519,7 @@ var init_schema2 = __esm({
|
|
|
112400
112519
|
init_session_native_bindings();
|
|
112401
112520
|
init_session_touches();
|
|
112402
112521
|
init_chat_messages2();
|
|
112403
|
-
|
|
112522
|
+
init_todos();
|
|
112404
112523
|
init_todo_turns();
|
|
112405
112524
|
init_work_queue();
|
|
112406
112525
|
init_heartbeats();
|
|
@@ -113715,8 +113834,8 @@ var init_agent_writes = __esm({
|
|
|
113715
113834
|
["POST /api/terminal", "opens a terminal"],
|
|
113716
113835
|
["DELETE /api/terminal/:id", "closes a terminal"],
|
|
113717
113836
|
// An agent's own promises, and stopping one.
|
|
113718
|
-
["POST /api/agents/:id/
|
|
113719
|
-
["PATCH /api/
|
|
113837
|
+
["POST /api/agents/:id/todo-promises", "records a to-do"],
|
|
113838
|
+
["PATCH /api/todo-promises/:id", "updates a to-do"],
|
|
113720
113839
|
["POST /api/agents/:id/pause", "pauses an agent; anyone may stop any agent"],
|
|
113721
113840
|
// Finding agents, and saying this one is alive.
|
|
113722
113841
|
["POST /api/agents/resolve", "reads agents by path; a read sent as a POST"],
|
|
@@ -114287,6 +114406,7 @@ function defuseSystemTags(text3, tagNames) {
|
|
|
114287
114406
|
var IDENTITY_MAX_LENGTH, INVISIBLE_FORMAT, CONTROL_CHARS, PATTERN_CACHE;
|
|
114288
114407
|
var init_untrusted_text = __esm({
|
|
114289
114408
|
"../shared/src/untrusted-text.ts"() {
|
|
114409
|
+
"use strict";
|
|
114290
114410
|
IDENTITY_MAX_LENGTH = 80;
|
|
114291
114411
|
INVISIBLE_FORMAT = /[\u00ad\u200b-\u200f\u202a-\u202e\u2060-\u2064\ufeff\ufff9-\ufffb]/g;
|
|
114292
114412
|
CONTROL_CHARS = /[\u0000-\u001f\u007f-\u009f]/g;
|
|
@@ -115430,8 +115550,8 @@ var init_config_write_policy = __esm({
|
|
|
115430
115550
|
// a record of what a person was told is still not an agent's to forge.
|
|
115431
115551
|
"ui.trustNoticeSeenAt": "operator-only",
|
|
115432
115552
|
// How a chat with one agent is drawn, and whether its working session can be
|
|
115433
|
-
// opened (DOR-3074).
|
|
115434
|
-
//
|
|
115553
|
+
// opened (DOR-3074). `ui.dmView` is how a person's own chats are drawn, so it
|
|
115554
|
+
// is a person's to change, never an agent's. `ui.showSessions` decides whether the model,
|
|
115435
115555
|
// account and context of a chat stay in view: an agent that turned it off
|
|
115436
115556
|
// would hide from the person the readings about its own work.
|
|
115437
115557
|
"ui.dmView": "operator-only",
|
|
@@ -118098,11 +118218,11 @@ var init_devtools_capture_store = __esm({
|
|
|
118098
118218
|
* @param opts.activation - True for an activation, false for a keep-alive,
|
|
118099
118219
|
* absent for a client too old to tell them apart.
|
|
118100
118220
|
*/
|
|
118101
|
-
applyClaim(buffer, clientId, documentId,
|
|
118221
|
+
applyClaim(buffer, clientId, documentId, active4, opts) {
|
|
118102
118222
|
const index2 = buffer.drivers.findIndex(
|
|
118103
118223
|
(claim2) => claim2.clientId === clientId && claim2.documentId === documentId
|
|
118104
118224
|
);
|
|
118105
|
-
if (!
|
|
118225
|
+
if (!active4) {
|
|
118106
118226
|
if (index2 >= 0 && buffer.drivers[index2].bridgeGeneration !== opts.bridgeGeneration) return;
|
|
118107
118227
|
if (index2 >= 0) buffer.drivers.splice(index2, 1);
|
|
118108
118228
|
if (buffer.seat?.clientId === clientId && buffer.seat.documentId === documentId) {
|
|
@@ -120505,6 +120625,69 @@ var init_session_touch_store = __esm({
|
|
|
120505
120625
|
}
|
|
120506
120626
|
});
|
|
120507
120627
|
|
|
120628
|
+
// ../../apps/server/src/services/session/chat-messages/chat-started-turns.ts
|
|
120629
|
+
function clearTurnSteering(sessionId) {
|
|
120630
|
+
steered.delete(primaryOf(sessionId));
|
|
120631
|
+
}
|
|
120632
|
+
var steered;
|
|
120633
|
+
var init_chat_started_turns = __esm({
|
|
120634
|
+
"../../apps/server/src/services/session/chat-messages/chat-started-turns.ts"() {
|
|
120635
|
+
"use strict";
|
|
120636
|
+
init_session_key_registry();
|
|
120637
|
+
steered = /* @__PURE__ */ new Map();
|
|
120638
|
+
}
|
|
120639
|
+
});
|
|
120640
|
+
|
|
120641
|
+
// ../../apps/server/src/services/session/origin/active-turn-starter.ts
|
|
120642
|
+
function beginTurnStarter(sessionId, starter) {
|
|
120643
|
+
const key = primaryOf(sessionId);
|
|
120644
|
+
if (!active2.has(key)) clearTurnSteering(key);
|
|
120645
|
+
const entry = { starter };
|
|
120646
|
+
const entries = active2.get(key) ?? /* @__PURE__ */ new Set();
|
|
120647
|
+
entries.add(entry);
|
|
120648
|
+
active2.set(key, entries);
|
|
120649
|
+
return () => {
|
|
120650
|
+
entries.delete(entry);
|
|
120651
|
+
if (entries.size === 0 && active2.get(key) === entries) {
|
|
120652
|
+
active2.delete(key);
|
|
120653
|
+
clearTurnSteering(key);
|
|
120654
|
+
}
|
|
120655
|
+
};
|
|
120656
|
+
}
|
|
120657
|
+
async function* trackTurnStarter(sessionId, starter, events) {
|
|
120658
|
+
const release = beginTurnStarter(sessionId, starter);
|
|
120659
|
+
try {
|
|
120660
|
+
yield* events;
|
|
120661
|
+
} finally {
|
|
120662
|
+
release();
|
|
120663
|
+
}
|
|
120664
|
+
}
|
|
120665
|
+
function recordTurnStarters(runtime) {
|
|
120666
|
+
return new Proxy(runtime, {
|
|
120667
|
+
get(target, prop) {
|
|
120668
|
+
if ((prop === "sendMessage" || prop === "executeCommandIntent") && typeof target[prop] === "function") {
|
|
120669
|
+
const start = target[prop].bind(target);
|
|
120670
|
+
return (id, content, opts) => trackTurnStarter(
|
|
120671
|
+
id,
|
|
120672
|
+
opts?.turnStarter ?? opts?.roomTurn?.turnStarter,
|
|
120673
|
+
start(id, content, opts)
|
|
120674
|
+
);
|
|
120675
|
+
}
|
|
120676
|
+
const value = Reflect.get(target, prop, target);
|
|
120677
|
+
return typeof value === "function" ? value.bind(target) : value;
|
|
120678
|
+
}
|
|
120679
|
+
});
|
|
120680
|
+
}
|
|
120681
|
+
var active2;
|
|
120682
|
+
var init_active_turn_starter = __esm({
|
|
120683
|
+
"../../apps/server/src/services/session/origin/active-turn-starter.ts"() {
|
|
120684
|
+
"use strict";
|
|
120685
|
+
init_chat_started_turns();
|
|
120686
|
+
init_session_key_registry();
|
|
120687
|
+
active2 = /* @__PURE__ */ new Map();
|
|
120688
|
+
}
|
|
120689
|
+
});
|
|
120690
|
+
|
|
120508
120691
|
// ../../apps/server/src/services/observability/attributes.ts
|
|
120509
120692
|
var SPAN, ATTR, ALLOWED_ATTRIBUTE_KEYS;
|
|
120510
120693
|
var init_attributes2 = __esm({
|
|
@@ -123101,9 +123284,9 @@ var init_account_ids = __esm({
|
|
|
123101
123284
|
|
|
123102
123285
|
// ../../apps/server/src/services/mesh/pause/agent-pause.ts
|
|
123103
123286
|
function agentPause() {
|
|
123104
|
-
return
|
|
123287
|
+
return active3;
|
|
123105
123288
|
}
|
|
123106
|
-
var AgentPausedError,
|
|
123289
|
+
var AgentPausedError, active3;
|
|
123107
123290
|
var init_agent_pause = __esm({
|
|
123108
123291
|
"../../apps/server/src/services/mesh/pause/agent-pause.ts"() {
|
|
123109
123292
|
"use strict";
|
|
@@ -123284,7 +123467,7 @@ function decorateRuntime(runtime, sessions) {
|
|
|
123284
123467
|
watchRuntimeSignin(
|
|
123285
123468
|
traceRuntime(
|
|
123286
123469
|
meterTeammateTurns(
|
|
123287
|
-
boundToAgentLevel(recordTurnLevels(runtime, storedModeOf), {
|
|
123470
|
+
boundToAgentLevel(recordTurnLevels(recordTurnStarters(runtime), storedModeOf), {
|
|
123288
123471
|
storedModeOf,
|
|
123289
123472
|
...recordedAgentOf ? { recordedAgentOf } : {}
|
|
123290
123473
|
})
|
|
@@ -123300,6 +123483,7 @@ function decorateRuntime(runtime, sessions) {
|
|
|
123300
123483
|
var init_decorate_runtime = __esm({
|
|
123301
123484
|
"../../apps/server/src/services/core/runtime-seam/decorate-runtime.ts"() {
|
|
123302
123485
|
"use strict";
|
|
123486
|
+
init_active_turn_starter();
|
|
123303
123487
|
init_observability();
|
|
123304
123488
|
init_hold_during_turn();
|
|
123305
123489
|
init_turn_levels();
|
|
@@ -133523,8 +133707,8 @@ one section, where a patch of \`ui.sidebar.groups\` rewrites every section at on
|
|
|
133523
133707
|
## Rules of engagement
|
|
133524
133708
|
|
|
133525
133709
|
- **Read before you write.** Fetch current state, then act: routine work is yours to finish. Report what changed in your reply.
|
|
133526
|
-
- **Keep promises on record.** Once you promise something, record it with \`
|
|
133527
|
-
\`
|
|
133710
|
+
- **Keep promises on record.** Once you promise something, record it with \`todo_promise_add\`; mark it kept with
|
|
133711
|
+
\`todo_promise_update\` when done. Anyone can read the list. A promise to an outsider (a date, a price) is an ask first.
|
|
133528
133712
|
- **System agents are protected.** DorkBot and other system agents reject renames,
|
|
133529
133713
|
deletion, and identity edits. Do not fight the guard.
|
|
133530
133714
|
- **Never route around a gate.** Do not script around a tool that already does the
|
|
@@ -134693,7 +134877,7 @@ var init_working_on_a_heartbeat = __esm({
|
|
|
134693
134877
|
init_tool_name_note();
|
|
134694
134878
|
workingOnAHeartbeat = {
|
|
134695
134879
|
name: "working-on-a-heartbeat",
|
|
134696
|
-
description: "Use when a turn says it is a heartbeat, when ending a beat, when deciding whether and how loudly to tell someone what you found or did, when writing your regular report, or when checking on another agent's beats. Covers end_beat (summary, raises, rungs, urgent, pace, resolved, report),
|
|
134880
|
+
description: "Use when a turn says it is a heartbeat, when ending a beat, when deciding whether and how loudly to tell someone what you found or did, when writing your regular report, or when checking on another agent's beats. Covers end_beat (summary, raises, rungs, urgent, pace, resolved, report), to-dos during a beat, and heartbeat_status.",
|
|
134697
134881
|
body: `# Working on a heartbeat
|
|
134698
134882
|
|
|
134699
134883
|
${TOOL_NAME_NOTE}
|
|
@@ -134788,8 +134972,8 @@ with how you report and ask what they would rather see.
|
|
|
134788
134972
|
|
|
134789
134973
|
## Promises
|
|
134790
134974
|
|
|
134791
|
-
Once you promise something, record it with \`
|
|
134792
|
-
comes due you are woken for it; mark it kept with \`
|
|
134975
|
+
Once you promise something, record it with \`todo_promise_add\`. When a promise
|
|
134976
|
+
comes due you are woken for it; mark it kept with \`todo_promise_update\`, or move
|
|
134793
134977
|
the date and tell the person. A promise to an outsider (a date, a price, a
|
|
134794
134978
|
discount) is an ask first.
|
|
134795
134979
|
|
|
@@ -142443,7 +142627,7 @@ var init_runtime_descriptor = __esm({
|
|
|
142443
142627
|
RuntimeSchema = external_exports.object({
|
|
142444
142628
|
library: external_exports.object({
|
|
142445
142629
|
package: external_exports.literal("playwright-core"),
|
|
142446
|
-
version: external_exports.literal("1.
|
|
142630
|
+
version: external_exports.literal("1.65.0-alpha-2026-10-30"),
|
|
142447
142631
|
rootDir: AbsolutePathSchema2,
|
|
142448
142632
|
assets: external_exports.object({ manifest: external_exports.literal("browsers.json"), cli: external_exports.literal("cli.js") }).strict()
|
|
142449
142633
|
}).strict(),
|
|
@@ -142481,7 +142665,7 @@ var init_records = __esm({
|
|
|
142481
142665
|
path: 1024,
|
|
142482
142666
|
frontier: 1048576
|
|
142483
142667
|
});
|
|
142484
|
-
DISTRIBUTION = "
|
|
142668
|
+
DISTRIBUTION = "e88b7d6034b38fe0929052e012868755207a931b6348507c477afbc6dd430822";
|
|
142485
142669
|
hash2 = external_exports.string().regex(/^[a-f0-9]{64}$/);
|
|
142486
142670
|
opaque = external_exports.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/);
|
|
142487
142671
|
unsigned = external_exports.string().regex(/^(?:0|[1-9]\d{0,19})$/).refine((v2) => BigInt(v2) <= 18446744073709551615n);
|
|
@@ -142505,7 +142689,7 @@ var init_records = __esm({
|
|
|
142505
142689
|
schemaVersion: external_exports.literal(1),
|
|
142506
142690
|
installationId: opaque,
|
|
142507
142691
|
packageName: external_exports.literal("playwright-core"),
|
|
142508
|
-
packageVersion: external_exports.literal("1.
|
|
142692
|
+
packageVersion: external_exports.literal("1.65.0-alpha-2026-10-30"),
|
|
142509
142693
|
libraryDistributionSHA256: hash2,
|
|
142510
142694
|
chromiumRevision: external_exports.string().max(16).regex(/^\d+$/),
|
|
142511
142695
|
observedVersion: external_exports.string().max(64).regex(/^\d+\.\d+\.\d+(?:\.\d+)?$/),
|
|
@@ -142732,13 +142916,13 @@ var init_contracts = __esm({
|
|
|
142732
142916
|
});
|
|
142733
142917
|
INSTALLATION_TARGET = Object.freeze({
|
|
142734
142918
|
packageName: "playwright-core",
|
|
142735
|
-
packageVersion: "1.
|
|
142736
|
-
chromiumRevision: "
|
|
142737
|
-
observedVersion: "
|
|
142919
|
+
packageVersion: "1.65.0-alpha-2026-10-30",
|
|
142920
|
+
chromiumRevision: "1252",
|
|
142921
|
+
observedVersion: "157.0.8103.15",
|
|
142738
142922
|
libraryDistributionSHA256: DISTRIBUTION,
|
|
142739
142923
|
platform: "darwin",
|
|
142740
142924
|
arch: "arm64",
|
|
142741
|
-
executablePath: "payload/chromium-
|
|
142925
|
+
executablePath: "payload/chromium-1252/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing"
|
|
142742
142926
|
});
|
|
142743
142927
|
DigestSchema = external_exports.string().regex(/^[a-f0-9]{64}$/);
|
|
142744
142928
|
IdSchema2 = external_exports.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/);
|
|
@@ -142862,8 +143046,8 @@ var init_contracts = __esm({
|
|
|
142862
143046
|
executableIdentity: FileIdentitySchema,
|
|
142863
143047
|
libraryDistributionSHA256: DigestSchema,
|
|
142864
143048
|
sourceVintage: SourceVintageSchema,
|
|
142865
|
-
expectedVersion: external_exports.literal("
|
|
142866
|
-
chromiumRevision: external_exports.literal("
|
|
143049
|
+
expectedVersion: external_exports.literal("157.0.8103.15"),
|
|
143050
|
+
chromiumRevision: external_exports.literal("1252"),
|
|
142867
143051
|
platform: external_exports.literal("darwin"),
|
|
142868
143052
|
arch: external_exports.literal("arm64")
|
|
142869
143053
|
});
|
|
@@ -142874,8 +143058,8 @@ var init_contracts = __esm({
|
|
|
142874
143058
|
executableIdentity: FileIdentitySchema,
|
|
142875
143059
|
libraryDistributionSHA256: DigestSchema,
|
|
142876
143060
|
sourceManifestSHA256: DigestSchema,
|
|
142877
|
-
observedVersion: external_exports.literal("
|
|
142878
|
-
chromiumRevision: external_exports.literal("
|
|
143061
|
+
observedVersion: external_exports.literal("157.0.8103.15"),
|
|
143062
|
+
chromiumRevision: external_exports.literal("1252"),
|
|
142879
143063
|
platform: external_exports.literal("darwin"),
|
|
142880
143064
|
arch: external_exports.literal("arm64"),
|
|
142881
143065
|
machOCPU: external_exports.literal(16777228),
|
|
@@ -143390,7 +143574,7 @@ var init_filesystem = __esm({
|
|
|
143390
143574
|
return this.operation(async () => {
|
|
143391
143575
|
this.supported();
|
|
143392
143576
|
const tree = await this.tree(this.configuration.libraryRoot, true);
|
|
143393
|
-
requireFact(tree.files.length ===
|
|
143577
|
+
requireFact(tree.files.length === 116, "LIBRARY_MISMATCH");
|
|
143394
143578
|
const distribution = createHash12("sha256");
|
|
143395
143579
|
for (const file2 of [...tree.files].sort(
|
|
143396
143580
|
(a2, b2) => a2.path < b2.path ? -1 : a2.path > b2.path ? 1 : 0
|
|
@@ -145277,7 +145461,7 @@ function createInstallationTransaction(configuration, dependencies, generation3)
|
|
|
145277
145461
|
const { filesystem: fs43, jobs } = dependencies;
|
|
145278
145462
|
const now3 = dependencies.now;
|
|
145279
145463
|
const createId = dependencies.createId;
|
|
145280
|
-
let
|
|
145464
|
+
let active4 = null;
|
|
145281
145465
|
let lastTime = -Infinity;
|
|
145282
145466
|
let firstCause = null;
|
|
145283
145467
|
let publicationMayHaveChanged = false;
|
|
@@ -145622,8 +145806,8 @@ function createInstallationTransaction(configuration, dependencies, generation3)
|
|
|
145622
145806
|
};
|
|
145623
145807
|
return Object.freeze({
|
|
145624
145808
|
install(options = {}) {
|
|
145625
|
-
|
|
145626
|
-
return
|
|
145809
|
+
active4 ??= Promise.resolve().then(() => perform(Object.freeze({ ...options })));
|
|
145810
|
+
return active4;
|
|
145627
145811
|
}
|
|
145628
145812
|
});
|
|
145629
145813
|
}
|
|
@@ -145739,12 +145923,12 @@ async function resolveInstalledRuntimeConfiguration(controllerURL, dataDirectory
|
|
|
145739
145923
|
const libraryPackage = await realpath6(require3.resolve("playwright-core/package.json"));
|
|
145740
145924
|
const library = await inspectFile(libraryPackage, 65536, true);
|
|
145741
145925
|
const packageRecord = JSON.parse(library.bytes.toString("utf8"));
|
|
145742
|
-
if (packageRecord.name !== "playwright-core" || packageRecord.version !== "1.
|
|
145926
|
+
if (packageRecord.name !== "playwright-core" || packageRecord.version !== "1.65.0-alpha-2026-10-30")
|
|
145743
145927
|
throw new Error("The pinned browser library is missing.");
|
|
145744
145928
|
if (!["darwin", "linux", "win32"].includes(process.platform) || !["arm64", "x64"].includes(process.arch))
|
|
145745
145929
|
throw new Error("Managed browser installation is not supported on this computer.");
|
|
145746
145930
|
return Object.freeze({
|
|
145747
|
-
cacheRoot: resolve13(dataDirectory, "browser/runtime/playwright-1.
|
|
145931
|
+
cacheRoot: resolve13(dataDirectory, "browser/runtime/playwright-1.65.0-alpha-2026-10-30"),
|
|
145748
145932
|
libraryRoot: dirname15(libraryPackage),
|
|
145749
145933
|
nodeExecutable,
|
|
145750
145934
|
nodeExecutableSHA256: node2.digest,
|
|
@@ -145995,13 +146179,13 @@ function createRuntimeInstallation(configuration) {
|
|
|
145995
146179
|
sourceVintage: Object.freeze(parsed.data.sourceVintage)
|
|
145996
146180
|
});
|
|
145997
146181
|
const status = createRuntimeStatus(config3);
|
|
145998
|
-
let
|
|
146182
|
+
let active4 = null;
|
|
145999
146183
|
let activeExistingOnly = false;
|
|
146000
146184
|
const owners = /* @__PURE__ */ new Set();
|
|
146001
146185
|
let generation3 = 0;
|
|
146002
146186
|
const facade = Object.freeze({
|
|
146003
146187
|
verifyExisting(options = {}) {
|
|
146004
|
-
if (
|
|
146188
|
+
if (active4 && !activeExistingOnly) {
|
|
146005
146189
|
return Promise.resolve(
|
|
146006
146190
|
Object.freeze({
|
|
146007
146191
|
state: "refused",
|
|
@@ -146018,7 +146202,7 @@ function createRuntimeInstallation(configuration) {
|
|
|
146018
146202
|
},
|
|
146019
146203
|
inspectExisting: status.inspectExisting.bind(status),
|
|
146020
146204
|
install(options = {}) {
|
|
146021
|
-
if (
|
|
146205
|
+
if (active4) return active4;
|
|
146022
146206
|
if (generation3 === Number.MAX_SAFE_INTEGER)
|
|
146023
146207
|
return Promise.resolve(
|
|
146024
146208
|
Object.freeze({
|
|
@@ -146050,7 +146234,7 @@ function createRuntimeInstallation(configuration) {
|
|
|
146050
146234
|
return transaction.install(copied);
|
|
146051
146235
|
});
|
|
146052
146236
|
activeExistingOnly = copied.existingOnly === true;
|
|
146053
|
-
|
|
146237
|
+
active4 = operation;
|
|
146054
146238
|
void operation.then(
|
|
146055
146239
|
(result2) => {
|
|
146056
146240
|
if (!owner) return;
|
|
@@ -146059,11 +146243,11 @@ function createRuntimeInstallation(configuration) {
|
|
|
146059
146243
|
const returned = files.reservation === "released" && files.pendingOperations === 0 && files.unresolvedHandles === 0 && files.firstCause === null && jobs.pending === 0 && jobs.firstCause === null;
|
|
146060
146244
|
if (result2.state !== "uncertain" && returned) {
|
|
146061
146245
|
owners.delete(owner);
|
|
146062
|
-
if (
|
|
146246
|
+
if (active4 === operation) active4 = null;
|
|
146063
146247
|
}
|
|
146064
146248
|
},
|
|
146065
146249
|
() => {
|
|
146066
|
-
if (!owner &&
|
|
146250
|
+
if (!owner && active4 === operation) active4 = null;
|
|
146067
146251
|
}
|
|
146068
146252
|
).catch(() => {
|
|
146069
146253
|
});
|
|
@@ -157429,7 +157613,7 @@ var init_auth_commands = __esm({
|
|
|
157429
157613
|
}
|
|
157430
157614
|
});
|
|
157431
157615
|
|
|
157432
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
157616
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/wildcard.mjs
|
|
157433
157617
|
function escapeRegExpChar(char) {
|
|
157434
157618
|
if (char === "-" || char === "^" || char === "$" || char === "+" || char === "." || char === "(" || char === ")" || char === "|" || char === "[" || char === "]" || char === "{" || char === "}" || char === "*" || char === "?" || char === "\\") return `\\${char}`;
|
|
157435
157619
|
else return char;
|
|
@@ -157509,11 +157693,11 @@ function wildcardMatch(pattern, options) {
|
|
|
157509
157693
|
return fn;
|
|
157510
157694
|
}
|
|
157511
157695
|
var init_wildcard = __esm({
|
|
157512
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
157696
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/wildcard.mjs"() {
|
|
157513
157697
|
}
|
|
157514
157698
|
});
|
|
157515
157699
|
|
|
157516
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
157700
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/url.mjs
|
|
157517
157701
|
function isLoopbackForDevScheme(host) {
|
|
157518
157702
|
const hostname4 = host.replace(/:\d+$/, "").replace(/^\[|\]$/g, "").toLowerCase();
|
|
157519
157703
|
return hostname4 === "localhost" || hostname4.endsWith(".localhost") || hostname4 === "::1" || hostname4.startsWith("127.");
|
|
@@ -157670,7 +157854,7 @@ function resolveBaseURL(config3, basePath, source, loadEnv, trustedProxyHeaders)
|
|
|
157670
157854
|
}
|
|
157671
157855
|
var SLASH_CHAR_CODE, matchesHostPattern;
|
|
157672
157856
|
var init_url2 = __esm({
|
|
157673
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
157857
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/url.mjs"() {
|
|
157674
157858
|
init_wildcard();
|
|
157675
157859
|
init_env3();
|
|
157676
157860
|
init_error2();
|
|
@@ -157685,16 +157869,16 @@ var init_url2 = __esm({
|
|
|
157685
157869
|
}
|
|
157686
157870
|
});
|
|
157687
157871
|
|
|
157688
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
157872
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/crypto/random.mjs
|
|
157689
157873
|
var generateRandomString;
|
|
157690
157874
|
var init_random2 = __esm({
|
|
157691
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
157875
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/crypto/random.mjs"() {
|
|
157692
157876
|
init_random();
|
|
157693
157877
|
generateRandomString = createRandomStringGenerator("a-z", "0-9", "A-Z", "-_");
|
|
157694
157878
|
}
|
|
157695
157879
|
});
|
|
157696
157880
|
|
|
157697
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
157881
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/crypto/jwt.mjs
|
|
157698
157882
|
async function signJWT(payload, secret, expiresIn = 3600) {
|
|
157699
157883
|
return await new SignJWT(payload).setProtectedHeader({ alg: "HS256" }).setIssuedAt().setExpirationTime(Math.floor(Date.now() / 1e3) + expiresIn).sign(new TextEncoder().encode(secret));
|
|
157700
157884
|
}
|
|
@@ -157784,7 +157968,7 @@ async function symmetricDecodeJWT(token, secret, salt2) {
|
|
|
157784
157968
|
}
|
|
157785
157969
|
var info, now2, alg, enc, jwtDecryptOpts;
|
|
157786
157970
|
var init_jwt = __esm({
|
|
157787
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
157971
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/crypto/jwt.mjs"() {
|
|
157788
157972
|
init_hkdf();
|
|
157789
157973
|
init_sha2();
|
|
157790
157974
|
init_webapi();
|
|
@@ -157839,10 +158023,10 @@ var init_jwt = __esm({
|
|
|
157839
158023
|
}
|
|
157840
158024
|
});
|
|
157841
158025
|
|
|
157842
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158026
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/crypto/password.mjs
|
|
157843
158027
|
var hashPassword$1, verifyPassword$1;
|
|
157844
158028
|
var init_password = __esm({
|
|
157845
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158029
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/crypto/password.mjs"() {
|
|
157846
158030
|
init_password_node();
|
|
157847
158031
|
hashPassword$1 = hashPassword;
|
|
157848
158032
|
verifyPassword$1 = async ({ hash: hash3, password }) => {
|
|
@@ -157851,7 +158035,7 @@ var init_password = __esm({
|
|
|
157851
158035
|
}
|
|
157852
158036
|
});
|
|
157853
158037
|
|
|
157854
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158038
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/crypto/index.mjs
|
|
157855
158039
|
function parseEnvelope(data) {
|
|
157856
158040
|
if (!data.startsWith(ENVELOPE_PREFIX)) return null;
|
|
157857
158041
|
const firstSep = 4;
|
|
@@ -157880,7 +158064,7 @@ async function rawDecrypt(secret, hex4) {
|
|
|
157880
158064
|
}
|
|
157881
158065
|
var ENVELOPE_PREFIX, symmetricEncrypt, symmetricDecrypt;
|
|
157882
158066
|
var init_crypto2 = __esm({
|
|
157883
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158067
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/crypto/index.mjs"() {
|
|
157884
158068
|
init_random2();
|
|
157885
158069
|
init_dist5();
|
|
157886
158070
|
init_hash();
|
|
@@ -157908,7 +158092,7 @@ var init_crypto2 = __esm({
|
|
|
157908
158092
|
}
|
|
157909
158093
|
});
|
|
157910
158094
|
|
|
157911
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158095
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/context/store-capabilities.mjs
|
|
157912
158096
|
function hasServerSessionStore(options) {
|
|
157913
158097
|
return !!options.database || !!options.secondaryStorage;
|
|
157914
158098
|
}
|
|
@@ -157919,11 +158103,11 @@ function shouldBindAccountCookieToSessionUser(options) {
|
|
|
157919
158103
|
return hasServerAccountStore(options);
|
|
157920
158104
|
}
|
|
157921
158105
|
var init_store_capabilities = __esm({
|
|
157922
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158106
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/context/store-capabilities.mjs"() {
|
|
157923
158107
|
}
|
|
157924
158108
|
});
|
|
157925
158109
|
|
|
157926
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158110
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/schema.mjs
|
|
157927
158111
|
function getFields(options, modelName, mode) {
|
|
157928
158112
|
const cacheKey = `${modelName}:${mode}`;
|
|
157929
158113
|
if (!cache2.has(options)) cache2.set(options, /* @__PURE__ */ new Map());
|
|
@@ -158068,7 +158252,7 @@ function mergeSchema(schema3, newSchema) {
|
|
|
158068
158252
|
}
|
|
158069
158253
|
var cache2;
|
|
158070
158254
|
var init_schema4 = __esm({
|
|
158071
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158255
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/schema.mjs"() {
|
|
158072
158256
|
init_db();
|
|
158073
158257
|
init_error2();
|
|
158074
158258
|
init_db2();
|
|
@@ -158076,26 +158260,26 @@ var init_schema4 = __esm({
|
|
|
158076
158260
|
}
|
|
158077
158261
|
});
|
|
158078
158262
|
|
|
158079
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158263
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/date.mjs
|
|
158080
158264
|
var getDate;
|
|
158081
158265
|
var init_date2 = __esm({
|
|
158082
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158266
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/date.mjs"() {
|
|
158083
158267
|
getDate = (span, unit = "ms") => {
|
|
158084
158268
|
return new Date(Date.now() + (unit === "sec" ? span * 1e3 : span));
|
|
158085
158269
|
};
|
|
158086
158270
|
}
|
|
158087
158271
|
});
|
|
158088
158272
|
|
|
158089
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158273
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/is-promise.mjs
|
|
158090
158274
|
function isPromise(obj) {
|
|
158091
158275
|
return !!obj && (typeof obj === "object" || typeof obj === "function") && typeof obj.then === "function";
|
|
158092
158276
|
}
|
|
158093
158277
|
var init_is_promise = __esm({
|
|
158094
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158278
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/is-promise.mjs"() {
|
|
158095
158279
|
}
|
|
158096
158280
|
});
|
|
158097
158281
|
|
|
158098
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158282
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/time.mjs
|
|
158099
158283
|
function parse5(value) {
|
|
158100
158284
|
const match = REGEX2.exec(value);
|
|
158101
158285
|
if (!match || match[4] && match[1]) throw new TypeError(`Invalid time string format: "${value}". Use formats like "7d", "30m", "1 hour", etc.`);
|
|
@@ -158157,7 +158341,7 @@ function sec(value) {
|
|
|
158157
158341
|
}
|
|
158158
158342
|
var SEC, MIN, HOUR, DAY, WEEK, MONTH, YEAR, REGEX2;
|
|
158159
158343
|
var init_time = __esm({
|
|
158160
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158344
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/time.mjs"() {
|
|
158161
158345
|
SEC = 1e3;
|
|
158162
158346
|
MIN = SEC * 60;
|
|
158163
158347
|
HOUR = MIN * 60;
|
|
@@ -158169,7 +158353,7 @@ var init_time = __esm({
|
|
|
158169
158353
|
}
|
|
158170
158354
|
});
|
|
158171
158355
|
|
|
158172
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158356
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/cookies/cache.mjs
|
|
158173
158357
|
function parseCookieCachePayload(value) {
|
|
158174
158358
|
const parsed = safeJSONParse(value);
|
|
158175
158359
|
if (parsed === null) return null;
|
|
@@ -158187,7 +158371,7 @@ function parseCompactCookieCache(value) {
|
|
|
158187
158371
|
}
|
|
158188
158372
|
var cookieCachePayloadSchema, compactCookieCacheSchema;
|
|
158189
158373
|
var init_cache2 = __esm({
|
|
158190
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158374
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/cookies/cache.mjs"() {
|
|
158191
158375
|
init_db();
|
|
158192
158376
|
init_env3();
|
|
158193
158377
|
init_json();
|
|
@@ -158206,7 +158390,7 @@ var init_cache2 = __esm({
|
|
|
158206
158390
|
}
|
|
158207
158391
|
});
|
|
158208
158392
|
|
|
158209
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158393
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/cookies/cookie-utils.mjs
|
|
158210
158394
|
function tryDecode2(str2) {
|
|
158211
158395
|
if (str2.indexOf("%") === -1) return str2;
|
|
158212
158396
|
try {
|
|
@@ -158273,14 +158457,14 @@ function parseCookies2(cookie) {
|
|
|
158273
158457
|
}
|
|
158274
158458
|
var SECURE_COOKIE_PREFIX, cookieNameRegex, cookieValueRegex;
|
|
158275
158459
|
var init_cookie_utils = __esm({
|
|
158276
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158460
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/cookies/cookie-utils.mjs"() {
|
|
158277
158461
|
SECURE_COOKIE_PREFIX = "__Secure-";
|
|
158278
158462
|
cookieNameRegex = /^[\x21\x23-\x27\x2A\x2B\x2D\x2E\x30-\x39\x41-\x5A\x5E\x5F\x60\x61-\x7A\x7C\x7E]+$/;
|
|
158279
158463
|
cookieValueRegex = /^[\x20\x21\x23-\x3A\x3C-\x5B\x5D-\x7E]*$/;
|
|
158280
158464
|
}
|
|
158281
158465
|
});
|
|
158282
158466
|
|
|
158283
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158467
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/cookies/session-store.mjs
|
|
158284
158468
|
function getMaxCookieValueSize(name2, options) {
|
|
158285
158469
|
return MAX_COOKIE_SIZE - serializeCookie(name2, "", { ...options }).length;
|
|
158286
158470
|
}
|
|
@@ -158384,7 +158568,7 @@ async function getAccountCookie(c3) {
|
|
|
158384
158568
|
}
|
|
158385
158569
|
var MAX_COOKIE_SIZE, MAX_COOKIE_CHUNKS, storeFactory, createSessionStore, createAccountStore, getSessionQuerySchema;
|
|
158386
158570
|
var init_session_store = __esm({
|
|
158387
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158571
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/cookies/session-store.mjs"() {
|
|
158388
158572
|
init_jwt();
|
|
158389
158573
|
init_cookie_utils();
|
|
158390
158574
|
init_json();
|
|
@@ -158435,7 +158619,7 @@ var init_session_store = __esm({
|
|
|
158435
158619
|
}
|
|
158436
158620
|
});
|
|
158437
158621
|
|
|
158438
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158622
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/cookies/index.mjs
|
|
158439
158623
|
function createCookieGetter(options) {
|
|
158440
158624
|
const baseURLString = typeof options.baseURL === "string" ? options.baseURL : void 0;
|
|
158441
158625
|
const dynamicProtocol = typeof options.baseURL === "object" && options.baseURL !== null ? options.baseURL.protocol : void 0;
|
|
@@ -158646,7 +158830,7 @@ function deleteSessionCookie(ctx, skipDontRememberMe) {
|
|
|
158646
158830
|
if (!skipDontRememberMe) expireCookie(ctx, ctx.context.authCookies.dontRememberToken);
|
|
158647
158831
|
}
|
|
158648
158832
|
var init_cookies2 = __esm({
|
|
158649
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158833
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/cookies/index.mjs"() {
|
|
158650
158834
|
init_url2();
|
|
158651
158835
|
init_store_capabilities();
|
|
158652
158836
|
init_jwt();
|
|
@@ -158667,7 +158851,7 @@ var init_cookies2 = __esm({
|
|
|
158667
158851
|
}
|
|
158668
158852
|
});
|
|
158669
158853
|
|
|
158670
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158854
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/crypto/purpose.mjs
|
|
158671
158855
|
function deriveSecret(secret, purpose) {
|
|
158672
158856
|
return bytesToHex(hkdf(sha256, utf8ToBytes(secret), salt, utf8ToBytes(`better-auth:${purpose}:v1`), 32));
|
|
158673
158857
|
}
|
|
@@ -158681,7 +158865,7 @@ function derivePurposeKey(secret, purpose) {
|
|
|
158681
158865
|
}
|
|
158682
158866
|
var salt;
|
|
158683
158867
|
var init_purpose = __esm({
|
|
158684
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158868
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/crypto/purpose.mjs"() {
|
|
158685
158869
|
init_hkdf();
|
|
158686
158870
|
init_sha2();
|
|
158687
158871
|
init_utils2();
|
|
@@ -158689,7 +158873,7 @@ var init_purpose = __esm({
|
|
|
158689
158873
|
}
|
|
158690
158874
|
});
|
|
158691
158875
|
|
|
158692
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158876
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/state.mjs
|
|
158693
158877
|
async function generateGenericState(c3, stateData, settings) {
|
|
158694
158878
|
const state = generateRandomString(32);
|
|
158695
158879
|
if (c3.context.oauthConfig.storeStateStrategy === "cookie") {
|
|
@@ -158786,7 +158970,7 @@ async function parseGenericState(c3, state, settings) {
|
|
|
158786
158970
|
}
|
|
158787
158971
|
var stateDataSchema, getAuthStateVerificationIdentifier, INTERNAL_STATE_KEYS, StateError;
|
|
158788
158972
|
var init_state = __esm({
|
|
158789
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
158973
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/state.mjs"() {
|
|
158790
158974
|
init_random2();
|
|
158791
158975
|
init_crypto2();
|
|
158792
158976
|
init_cookies2();
|
|
@@ -158844,7 +159028,7 @@ var init_state = __esm({
|
|
|
158844
159028
|
}
|
|
158845
159029
|
});
|
|
158846
159030
|
|
|
158847
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
159031
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/oauth2/errors.mjs
|
|
158848
159032
|
function redirectOnError(ctx, errorURL, error63, description) {
|
|
158849
159033
|
const params = new URLSearchParams({ error: error63 });
|
|
158850
159034
|
if (description) params.set("error_description", description);
|
|
@@ -158856,7 +159040,7 @@ function missingEmailLogMessage(providerId, options) {
|
|
|
158856
159040
|
}
|
|
158857
159041
|
var OAUTH_CALLBACK_ERROR_CODES, HANDLING_DOCS_URL;
|
|
158858
159042
|
var init_errors7 = __esm({
|
|
158859
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
159043
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/oauth2/errors.mjs"() {
|
|
158860
159044
|
init_url();
|
|
158861
159045
|
OAUTH_CALLBACK_ERROR_CODES = {
|
|
158862
159046
|
NO_CODE: "no_code",
|
|
@@ -158877,17 +159061,17 @@ var init_errors7 = __esm({
|
|
|
158877
159061
|
}
|
|
158878
159062
|
});
|
|
158879
159063
|
|
|
158880
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
159064
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/state/oauth.mjs
|
|
158881
159065
|
var getRawOAuthState, setOAuthState, getOAuthServerContext, setOAuthServerContext;
|
|
158882
159066
|
var init_oauth = __esm({
|
|
158883
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
159067
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/state/oauth.mjs"() {
|
|
158884
159068
|
init_context2();
|
|
158885
159069
|
({ get: getRawOAuthState, set: setOAuthState } = defineRequestState(() => null));
|
|
158886
159070
|
({ get: getOAuthServerContext, set: setOAuthServerContext } = defineRequestState(() => null));
|
|
158887
159071
|
}
|
|
158888
159072
|
});
|
|
158889
159073
|
|
|
158890
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
159074
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/oauth2/state.mjs
|
|
158891
159075
|
function generateIdTokenNonce(provider) {
|
|
158892
159076
|
return provider.requiresIdTokenNonce ? generateRandomString(32) : void 0;
|
|
158893
159077
|
}
|
|
@@ -158941,7 +159125,7 @@ async function parseState(c3) {
|
|
|
158941
159125
|
return parsedData;
|
|
158942
159126
|
}
|
|
158943
159127
|
var init_state2 = __esm({
|
|
158944
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
159128
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/oauth2/state.mjs"() {
|
|
158945
159129
|
init_random2();
|
|
158946
159130
|
init_errors7();
|
|
158947
159131
|
init_oauth();
|
|
@@ -158950,25 +159134,25 @@ var init_state2 = __esm({
|
|
|
158950
159134
|
}
|
|
158951
159135
|
});
|
|
158952
159136
|
|
|
158953
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
159137
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/hide-metadata.mjs
|
|
158954
159138
|
var HIDE_METADATA;
|
|
158955
159139
|
var init_hide_metadata = __esm({
|
|
158956
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
159140
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/hide-metadata.mjs"() {
|
|
158957
159141
|
HIDE_METADATA = { scope: "server" };
|
|
158958
159142
|
}
|
|
158959
159143
|
});
|
|
158960
159144
|
|
|
158961
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
159145
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/is-api-error.mjs
|
|
158962
159146
|
var init_is_api_error3 = __esm({
|
|
158963
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
159147
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/is-api-error.mjs"() {
|
|
158964
159148
|
init_is_api_error();
|
|
158965
159149
|
}
|
|
158966
159150
|
});
|
|
158967
159151
|
|
|
158968
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
159152
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/auth/trusted-origins.mjs
|
|
158969
159153
|
var CONTROL_CHARACTER_PATTERN, RELATIVE_URL_PARSER_ORIGIN, ENCODED_PATH_SEPARATOR_PATTERN, normalizePath3, parseCustomSchemeOrigin, isSafeRelativeURL, matchesOriginPattern;
|
|
158970
159154
|
var init_trusted_origins2 = __esm({
|
|
158971
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
159155
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/auth/trusted-origins.mjs"() {
|
|
158972
159156
|
init_wildcard();
|
|
158973
159157
|
init_url2();
|
|
158974
159158
|
CONTROL_CHARACTER_PATTERN = /[\u0000-\u001f\u007f-\u009f]/;
|
|
@@ -159042,7 +159226,7 @@ var init_trusted_origins2 = __esm({
|
|
|
159042
159226
|
}
|
|
159043
159227
|
});
|
|
159044
159228
|
|
|
159045
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
159229
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/middlewares/origin-check.mjs
|
|
159046
159230
|
function shouldSkipCSRFForBackwardCompat(ctx) {
|
|
159047
159231
|
return ctx.context.skipOriginCheck === true && ctx.context.options.advanced?.disableCSRFCheck === void 0;
|
|
159048
159232
|
}
|
|
@@ -159109,7 +159293,7 @@ async function validateFormCsrf(ctx) {
|
|
|
159109
159293
|
}
|
|
159110
159294
|
var logBackwardCompatWarning, originCheckMiddleware, originCheck, formCsrfMiddleware;
|
|
159111
159295
|
var init_origin_check = __esm({
|
|
159112
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
159296
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/middlewares/origin-check.mjs"() {
|
|
159113
159297
|
init_url2();
|
|
159114
159298
|
init_trusted_origins2();
|
|
159115
159299
|
init_error2();
|
|
@@ -159175,7 +159359,7 @@ var init_origin_check = __esm({
|
|
|
159175
159359
|
}
|
|
159176
159360
|
});
|
|
159177
159361
|
|
|
159178
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
159362
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/rate-limiter/index.mjs
|
|
159179
159363
|
function pruneMemoryStore() {
|
|
159180
159364
|
const now3 = Date.now();
|
|
159181
159365
|
for (const [key, entry] of memory) if (now3 >= entry.expiresAt) memory.delete(key);
|
|
@@ -159476,7 +159660,7 @@ function getDefaultSpecialRules() {
|
|
|
159476
159660
|
}
|
|
159477
159661
|
var memory, MEMORY_STORE_MAX_ENTRIES, ipWarningLogged, NO_TRUSTED_IP_KEY;
|
|
159478
159662
|
var init_rate_limiter = __esm({
|
|
159479
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
159663
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/rate-limiter/index.mjs"() {
|
|
159480
159664
|
init_wildcard();
|
|
159481
159665
|
init_error2();
|
|
159482
159666
|
init_ip();
|
|
@@ -159488,19 +159672,19 @@ var init_rate_limiter = __esm({
|
|
|
159488
159672
|
}
|
|
159489
159673
|
});
|
|
159490
159674
|
|
|
159491
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
159675
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/state/should-session-refresh.mjs
|
|
159492
159676
|
var getShouldSkipSessionRefresh, setShouldSkipSessionRefresh;
|
|
159493
159677
|
var init_should_session_refresh = __esm({
|
|
159494
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
159678
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/state/should-session-refresh.mjs"() {
|
|
159495
159679
|
init_context2();
|
|
159496
159680
|
({ get: getShouldSkipSessionRefresh, set: setShouldSkipSessionRefresh } = defineRequestState(() => false));
|
|
159497
159681
|
}
|
|
159498
159682
|
});
|
|
159499
159683
|
|
|
159500
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
159684
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/session.mjs
|
|
159501
159685
|
var getSession, isStateful, getSessionFromCtx, getAuthoritativeSessionFromCtx, sessionMiddleware, sensitiveSessionMiddleware, requestOnlySessionMiddleware, freshSessionMiddleware, listSessions, revokeSession, revokeSessions, revokeOtherSessions;
|
|
159502
159686
|
var init_session5 = __esm({
|
|
159503
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
159687
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/session.mjs"() {
|
|
159504
159688
|
init_is_api_error3();
|
|
159505
159689
|
init_store_capabilities();
|
|
159506
159690
|
init_schema4();
|
|
@@ -159920,7 +160104,7 @@ var init_session5 = __esm({
|
|
|
159920
160104
|
}
|
|
159921
160105
|
});
|
|
159922
160106
|
|
|
159923
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
160107
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/validate-user-info.mjs
|
|
159924
160108
|
function assertValidUserInfoSource(source) {
|
|
159925
160109
|
if (!source?.method) throw new APIError2("FORBIDDEN", {
|
|
159926
160110
|
code: "validation_source_missing",
|
|
@@ -159955,12 +160139,12 @@ async function assertValidUserInfo(ctx, data) {
|
|
|
159955
160139
|
});
|
|
159956
160140
|
}
|
|
159957
160141
|
var init_validate_user_info = __esm({
|
|
159958
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
160142
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/validate-user-info.mjs"() {
|
|
159959
160143
|
init_error2();
|
|
159960
160144
|
}
|
|
159961
160145
|
});
|
|
159962
160146
|
|
|
159963
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
160147
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/verification-token-storage.mjs
|
|
159964
160148
|
async function processIdentifier(identifier, option) {
|
|
159965
160149
|
if (!option || option === "plain") return identifier;
|
|
159966
160150
|
if (option === "hashed") return defaultKeyHasher(identifier);
|
|
@@ -159979,7 +160163,7 @@ function getStorageOption(identifier, config3) {
|
|
|
159979
160163
|
}
|
|
159980
160164
|
var defaultKeyHasher;
|
|
159981
160165
|
var init_verification_token_storage = __esm({
|
|
159982
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
160166
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/verification-token-storage.mjs"() {
|
|
159983
160167
|
init_base64();
|
|
159984
160168
|
init_hash();
|
|
159985
160169
|
defaultKeyHasher = async (identifier) => {
|
|
@@ -159989,7 +160173,7 @@ var init_verification_token_storage = __esm({
|
|
|
159989
160173
|
}
|
|
159990
160174
|
});
|
|
159991
160175
|
|
|
159992
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
160176
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/with-hooks.mjs
|
|
159993
160177
|
function getWithHooks(adapter, ctx) {
|
|
159994
160178
|
const withSpan3 = createWithSpan(ctx.options);
|
|
159995
160179
|
const hooksEntries = ctx.hooks;
|
|
@@ -160228,20 +160412,20 @@ function getWithHooks(adapter, ctx) {
|
|
|
160228
160412
|
};
|
|
160229
160413
|
}
|
|
160230
160414
|
var init_with_hooks = __esm({
|
|
160231
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
160415
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/with-hooks.mjs"() {
|
|
160232
160416
|
init_context2();
|
|
160233
160417
|
init_instrumentation();
|
|
160234
160418
|
}
|
|
160235
160419
|
});
|
|
160236
160420
|
|
|
160237
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
160421
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/internal-adapter.mjs
|
|
160238
160422
|
function getTTLSeconds(expiresAt, now3 = Date.now()) {
|
|
160239
160423
|
const expiresMs = typeof expiresAt === "number" ? expiresAt : expiresAt.getTime();
|
|
160240
160424
|
return Math.max(Math.floor((expiresMs - now3) / 1e3), 0);
|
|
160241
160425
|
}
|
|
160242
160426
|
var createInternalAdapter;
|
|
160243
160427
|
var init_internal_adapter = __esm({
|
|
160244
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
160428
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/internal-adapter.mjs"() {
|
|
160245
160429
|
init_schema4();
|
|
160246
160430
|
init_date2();
|
|
160247
160431
|
init_validate_user_info();
|
|
@@ -161176,7 +161360,7 @@ var init_internal_adapter = __esm({
|
|
|
161176
161360
|
}
|
|
161177
161361
|
});
|
|
161178
161362
|
|
|
161179
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
161363
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/context/helpers.mjs
|
|
161180
161364
|
async function runPluginInit(context2) {
|
|
161181
161365
|
let options = context2.options;
|
|
161182
161366
|
const plugins = options.plugins || [];
|
|
@@ -161308,7 +161492,7 @@ async function getTrustedProviders(options, request) {
|
|
|
161308
161492
|
return (await trustedProviders(request) ?? []).filter((v2) => Boolean(v2));
|
|
161309
161493
|
}
|
|
161310
161494
|
var init_helpers = __esm({
|
|
161311
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
161495
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/context/helpers.mjs"() {
|
|
161312
161496
|
init_url2();
|
|
161313
161497
|
init_is_promise();
|
|
161314
161498
|
init_cookies2();
|
|
@@ -161320,7 +161504,7 @@ var init_helpers = __esm({
|
|
|
161320
161504
|
}
|
|
161321
161505
|
});
|
|
161322
161506
|
|
|
161323
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
161507
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/oauth2/account-key.mjs
|
|
161324
161508
|
function toOAuthProfileRecord(profile) {
|
|
161325
161509
|
return profile;
|
|
161326
161510
|
}
|
|
@@ -161346,12 +161530,12 @@ async function resolveOAuthAccountKeyForAPI(provider, tokens, profile) {
|
|
|
161346
161530
|
}
|
|
161347
161531
|
}
|
|
161348
161532
|
var init_account_key = __esm({
|
|
161349
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
161533
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/oauth2/account-key.mjs"() {
|
|
161350
161534
|
init_error2();
|
|
161351
161535
|
}
|
|
161352
161536
|
});
|
|
161353
161537
|
|
|
161354
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
161538
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/oauth2/utils.mjs
|
|
161355
161539
|
function isLikelyEncrypted(token) {
|
|
161356
161540
|
if (token.startsWith("$ba$")) return true;
|
|
161357
161541
|
return token.length % 2 === 0 && /^[0-9a-f]+$/i.test(token);
|
|
@@ -161379,12 +161563,12 @@ function getOAuthCallbackPath(provider) {
|
|
|
161379
161563
|
return provider.callbackPath.startsWith("/") ? provider.callbackPath : `/${provider.callbackPath}`;
|
|
161380
161564
|
}
|
|
161381
161565
|
var init_utils10 = __esm({
|
|
161382
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
161566
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/oauth2/utils.mjs"() {
|
|
161383
161567
|
init_crypto2();
|
|
161384
161568
|
}
|
|
161385
161569
|
});
|
|
161386
161570
|
|
|
161387
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
161571
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/request.mjs
|
|
161388
161572
|
function safeCloneRequest(request) {
|
|
161389
161573
|
if (!request) return;
|
|
161390
161574
|
try {
|
|
@@ -161406,11 +161590,11 @@ function safeCloneRequest(request) {
|
|
|
161406
161590
|
}
|
|
161407
161591
|
}
|
|
161408
161592
|
var init_request = __esm({
|
|
161409
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
161593
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/request.mjs"() {
|
|
161410
161594
|
}
|
|
161411
161595
|
});
|
|
161412
161596
|
|
|
161413
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
161597
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/email-verification.mjs
|
|
161414
161598
|
async function createEmailVerificationToken(secret, email3, updateTo, expiresIn = 3600, extraPayload) {
|
|
161415
161599
|
return await signJWT({
|
|
161416
161600
|
email: email3.toLowerCase(),
|
|
@@ -161434,7 +161618,7 @@ async function sendVerificationEmailFn(ctx, user2) {
|
|
|
161434
161618
|
}
|
|
161435
161619
|
var sendVerificationEmail, verifyEmail;
|
|
161436
161620
|
var init_email_verification = __esm({
|
|
161437
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
161621
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/email-verification.mjs"() {
|
|
161438
161622
|
init_origin_check();
|
|
161439
161623
|
init_jwt();
|
|
161440
161624
|
init_schema4();
|
|
@@ -161729,7 +161913,7 @@ var init_email_verification = __esm({
|
|
|
161729
161913
|
}
|
|
161730
161914
|
});
|
|
161731
161915
|
|
|
161732
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
161916
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/oauth2/link-account.mjs
|
|
161733
161917
|
function linkOAuthAccountFailure(code, message2) {
|
|
161734
161918
|
return {
|
|
161735
161919
|
linked: false,
|
|
@@ -162089,7 +162273,7 @@ async function applyUpdateUserInfoOnLink(c3, userId, userInfo) {
|
|
|
162089
162273
|
}
|
|
162090
162274
|
}
|
|
162091
162275
|
var init_link_account = __esm({
|
|
162092
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
162276
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/oauth2/link-account.mjs"() {
|
|
162093
162277
|
init_is_api_error3();
|
|
162094
162278
|
init_schema4();
|
|
162095
162279
|
init_session_store();
|
|
@@ -162104,7 +162288,7 @@ var init_link_account = __esm({
|
|
|
162104
162288
|
}
|
|
162105
162289
|
});
|
|
162106
162290
|
|
|
162107
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
162291
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/account.mjs
|
|
162108
162292
|
function parseStoredScopes(scope3) {
|
|
162109
162293
|
if (!scope3) return [];
|
|
162110
162294
|
return scope3.split(",").map((s2) => s2.trim()).filter(Boolean);
|
|
@@ -162200,7 +162384,7 @@ async function getValidAccessToken(ctx, { resolvedUserId, selection, account: re
|
|
|
162200
162384
|
}
|
|
162201
162385
|
var listUserAccounts, linkSocialAccount, unlinkAccount, accountSelectionSchema, getAccessToken, refreshToken, accountInfo;
|
|
162202
162386
|
var init_account2 = __esm({
|
|
162203
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
162387
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/account.mjs"() {
|
|
162204
162388
|
init_store_capabilities();
|
|
162205
162389
|
init_schema4();
|
|
162206
162390
|
init_session_store();
|
|
@@ -162693,10 +162877,10 @@ var init_account2 = __esm({
|
|
|
162693
162877
|
}
|
|
162694
162878
|
});
|
|
162695
162879
|
|
|
162696
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
162880
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/callback.mjs
|
|
162697
162881
|
var schema2, callbackOAuth;
|
|
162698
162882
|
var init_callback = __esm({
|
|
162699
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
162883
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/callback.mjs"() {
|
|
162700
162884
|
init_is_api_error3();
|
|
162701
162885
|
init_cookies2();
|
|
162702
162886
|
init_helpers();
|
|
@@ -162910,13 +163094,13 @@ var init_callback = __esm({
|
|
|
162910
163094
|
}
|
|
162911
163095
|
});
|
|
162912
163096
|
|
|
162913
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
163097
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/error.mjs
|
|
162914
163098
|
function sanitize(input4) {
|
|
162915
163099
|
return input4.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'").replace(/&(?!amp;|lt;|gt;|quot;|#39;|#x[0-9a-fA-F]+;|#[0-9]+;)/g, "&");
|
|
162916
163100
|
}
|
|
162917
163101
|
var html, error62;
|
|
162918
163102
|
var init_error4 = __esm({
|
|
162919
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
163103
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/error.mjs"() {
|
|
162920
163104
|
init_hide_metadata();
|
|
162921
163105
|
init_env3();
|
|
162922
163106
|
init_url();
|
|
@@ -163301,10 +163485,10 @@ ${custom2?.disableBackgroundGrid ? "" : `
|
|
|
163301
163485
|
}
|
|
163302
163486
|
});
|
|
163303
163487
|
|
|
163304
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
163488
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/ok.mjs
|
|
163305
163489
|
var ok;
|
|
163306
163490
|
var init_ok = __esm({
|
|
163307
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
163491
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/ok.mjs"() {
|
|
163308
163492
|
init_hide_metadata();
|
|
163309
163493
|
init_api2();
|
|
163310
163494
|
ok = createAuthEndpoint("/ok", {
|
|
@@ -163332,7 +163516,7 @@ var init_ok = __esm({
|
|
|
163332
163516
|
}
|
|
163333
163517
|
});
|
|
163334
163518
|
|
|
163335
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
163519
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/password.mjs
|
|
163336
163520
|
function assertPasswordNotTooShort(ctx, password) {
|
|
163337
163521
|
if (password.length < ctx.context.password.config.minPasswordLength) {
|
|
163338
163522
|
ctx.context.logger.warn("Password is too short");
|
|
@@ -163371,12 +163555,12 @@ async function checkPassword(userId, c3) {
|
|
|
163371
163555
|
return true;
|
|
163372
163556
|
}
|
|
163373
163557
|
var init_password2 = __esm({
|
|
163374
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
163558
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/password.mjs"() {
|
|
163375
163559
|
init_error2();
|
|
163376
163560
|
}
|
|
163377
163561
|
});
|
|
163378
163562
|
|
|
163379
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
163563
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/password.mjs
|
|
163380
163564
|
function redirectError(ctx, callbackURL, query) {
|
|
163381
163565
|
const url2 = callbackURL ? new URL(callbackURL, ctx.baseURL) : new URL(`${ctx.baseURL}/error`);
|
|
163382
163566
|
if (query) Object.entries(query).forEach(([k2, v2]) => url2.searchParams.set(k2, v2));
|
|
@@ -163389,7 +163573,7 @@ function redirectCallback(ctx, callbackURL, query) {
|
|
|
163389
163573
|
}
|
|
163390
163574
|
var requestPasswordReset, requestPasswordResetCallback, resetPassword, verifyPassword2;
|
|
163391
163575
|
var init_password3 = __esm({
|
|
163392
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
163576
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/password.mjs"() {
|
|
163393
163577
|
init_origin_check();
|
|
163394
163578
|
init_date2();
|
|
163395
163579
|
init_session5();
|
|
@@ -163581,10 +163765,10 @@ var init_password3 = __esm({
|
|
|
163581
163765
|
}
|
|
163582
163766
|
});
|
|
163583
163767
|
|
|
163584
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
163768
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/sign-in.mjs
|
|
163585
163769
|
var socialSignInBodySchema, signInSocial, signInEmail;
|
|
163586
163770
|
var init_sign_in = __esm({
|
|
163587
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
163771
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/sign-in.mjs"() {
|
|
163588
163772
|
init_origin_check();
|
|
163589
163773
|
init_schema4();
|
|
163590
163774
|
init_cookies2();
|
|
@@ -163955,10 +164139,10 @@ var init_sign_in = __esm({
|
|
|
163955
164139
|
}
|
|
163956
164140
|
});
|
|
163957
164141
|
|
|
163958
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
164142
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/sign-out.mjs
|
|
163959
164143
|
var signOutBodySchema, signOutResponse, signOut;
|
|
163960
164144
|
var init_sign_out = __esm({
|
|
163961
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
164145
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/sign-out.mjs"() {
|
|
163962
164146
|
init_cookies2();
|
|
163963
164147
|
init_api2();
|
|
163964
164148
|
init_zod();
|
|
@@ -164055,10 +164239,10 @@ var init_sign_out = __esm({
|
|
|
164055
164239
|
}
|
|
164056
164240
|
});
|
|
164057
164241
|
|
|
164058
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
164242
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/sign-up.mjs
|
|
164059
164243
|
var signUpEmailBodySchema, signUpEmail;
|
|
164060
164244
|
var init_sign_up = __esm({
|
|
164061
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
164245
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/sign-up.mjs"() {
|
|
164062
164246
|
init_is_api_error3();
|
|
164063
164247
|
init_origin_check();
|
|
164064
164248
|
init_schema4();
|
|
@@ -164315,10 +164499,10 @@ var init_sign_up = __esm({
|
|
|
164315
164499
|
}
|
|
164316
164500
|
});
|
|
164317
164501
|
|
|
164318
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
164502
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/update-session.mjs
|
|
164319
164503
|
var updateSessionBodySchema, updateSession;
|
|
164320
164504
|
var init_update_session = __esm({
|
|
164321
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
164505
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/update-session.mjs"() {
|
|
164322
164506
|
init_schema4();
|
|
164323
164507
|
init_cookies2();
|
|
164324
164508
|
init_session5();
|
|
@@ -164376,10 +164560,10 @@ var init_update_session = __esm({
|
|
|
164376
164560
|
}
|
|
164377
164561
|
});
|
|
164378
164562
|
|
|
164379
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
164563
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/update-user.mjs
|
|
164380
164564
|
var updateUserBodySchema, updateUser, changePassword, setPassword, deleteUser, deleteUserCallback, changeEmail;
|
|
164381
164565
|
var init_update_user = __esm({
|
|
164382
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
164566
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/routes/update-user.mjs"() {
|
|
164383
164567
|
init_origin_check();
|
|
164384
164568
|
init_schema4();
|
|
164385
164569
|
init_random2();
|
|
@@ -164875,7 +165059,7 @@ var init_update_user = __esm({
|
|
|
164875
165059
|
}
|
|
164876
165060
|
});
|
|
164877
165061
|
|
|
164878
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
165062
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/dispatch.mjs
|
|
164879
165063
|
function getOperationId(endpoint, fallback) {
|
|
164880
165064
|
const opts = endpoint.options;
|
|
164881
165065
|
return opts?.operationId ?? opts?.metadata?.openapi?.operationId ?? fallback ?? endpoint.path ?? "/:virtual";
|
|
@@ -165100,7 +165284,7 @@ async function dispatchAuthEndpoint(endpoint, input4) {
|
|
|
165100
165284
|
}
|
|
165101
165285
|
var defuReplaceArrays, hooksSourceWeakMap;
|
|
165102
165286
|
var init_dispatch = __esm({
|
|
165103
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
165287
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/dispatch.mjs"() {
|
|
165104
165288
|
init_is_api_error3();
|
|
165105
165289
|
init_url2();
|
|
165106
165290
|
init_context2();
|
|
@@ -165119,7 +165303,7 @@ var init_dispatch = __esm({
|
|
|
165119
165303
|
}
|
|
165120
165304
|
});
|
|
165121
165305
|
|
|
165122
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
165306
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/to-auth-endpoints.mjs
|
|
165123
165307
|
async function resolveDynamicContext(rawCtx, input4) {
|
|
165124
165308
|
if (rawCtx.baseURL) return rawCtx;
|
|
165125
165309
|
const source = pickSource(input4);
|
|
@@ -165159,7 +165343,7 @@ function toAuthEndpoints(endpoints, ctx) {
|
|
|
165159
165343
|
return api;
|
|
165160
165344
|
}
|
|
165161
165345
|
var init_to_auth_endpoints = __esm({
|
|
165162
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
165346
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/to-auth-endpoints.mjs"() {
|
|
165163
165347
|
init_url2();
|
|
165164
165348
|
init_helpers();
|
|
165165
165349
|
init_dispatch();
|
|
@@ -165168,7 +165352,7 @@ var init_to_auth_endpoints = __esm({
|
|
|
165168
165352
|
}
|
|
165169
165353
|
});
|
|
165170
165354
|
|
|
165171
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
165355
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/index.mjs
|
|
165172
165356
|
function checkEndpointConflicts(options, logger3) {
|
|
165173
165357
|
const endpointRegistry = /* @__PURE__ */ new Map();
|
|
165174
165358
|
options.plugins?.forEach((plugin) => {
|
|
@@ -165293,7 +165477,7 @@ function getEndpoints(ctx, options) {
|
|
|
165293
165477
|
}
|
|
165294
165478
|
var router;
|
|
165295
165479
|
var init_api5 = __esm({
|
|
165296
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
165480
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/api/index.mjs"() {
|
|
165297
165481
|
init_is_api_error3();
|
|
165298
165482
|
init_origin_check();
|
|
165299
165483
|
init_rate_limiter();
|
|
@@ -165697,7 +165881,7 @@ var init_dist15 = __esm({
|
|
|
165697
165881
|
}
|
|
165698
165882
|
});
|
|
165699
165883
|
|
|
165700
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
165884
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/adapter-base.mjs
|
|
165701
165885
|
async function getBaseAdapter(options, handleDirectDatabase) {
|
|
165702
165886
|
let adapter;
|
|
165703
165887
|
if (!options.database) {
|
|
@@ -165719,13 +165903,13 @@ async function getBaseAdapter(options, handleDirectDatabase) {
|
|
|
165719
165903
|
return adapter;
|
|
165720
165904
|
}
|
|
165721
165905
|
var init_adapter_base = __esm({
|
|
165722
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
165906
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/adapter-base.mjs"() {
|
|
165723
165907
|
init_db();
|
|
165724
165908
|
init_env3();
|
|
165725
165909
|
}
|
|
165726
165910
|
});
|
|
165727
165911
|
|
|
165728
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
165912
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/adapters/kysely-adapter/index.mjs
|
|
165729
165913
|
var kysely_adapter_exports = {};
|
|
165730
165914
|
__export(kysely_adapter_exports, {
|
|
165731
165915
|
createKyselyAdapter: () => createKyselyAdapter,
|
|
@@ -165737,12 +165921,12 @@ __export(kysely_adapter_exports, {
|
|
|
165737
165921
|
toPhysicalSchema: () => toPhysicalSchema
|
|
165738
165922
|
});
|
|
165739
165923
|
var init_kysely_adapter = __esm({
|
|
165740
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
165924
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/adapters/kysely-adapter/index.mjs"() {
|
|
165741
165925
|
init_dist10();
|
|
165742
165926
|
}
|
|
165743
165927
|
});
|
|
165744
165928
|
|
|
165745
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
165929
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/adapter-kysely.mjs
|
|
165746
165930
|
async function getAdapter(options) {
|
|
165747
165931
|
return getBaseAdapter(options, async (opts) => {
|
|
165748
165932
|
const { createKyselyAdapter: createKyselyAdapter2, kyselyAdapter: kyselyAdapter2 } = await Promise.resolve().then(() => (init_kysely_adapter(), kysely_adapter_exports));
|
|
@@ -165756,13 +165940,13 @@ async function getAdapter(options) {
|
|
|
165756
165940
|
});
|
|
165757
165941
|
}
|
|
165758
165942
|
var init_adapter_kysely = __esm({
|
|
165759
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
165943
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/adapter-kysely.mjs"() {
|
|
165760
165944
|
init_adapter_base();
|
|
165761
165945
|
init_error2();
|
|
165762
165946
|
}
|
|
165763
165947
|
});
|
|
165764
165948
|
|
|
165765
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
165949
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/get-schema.mjs
|
|
165766
165950
|
function getSchema(config3) {
|
|
165767
165951
|
const { indexesByTable, tables } = getAuthTablesWithResolvedIndexes(config3);
|
|
165768
165952
|
const schema3 = {};
|
|
@@ -165799,12 +165983,12 @@ function getSchema(config3) {
|
|
|
165799
165983
|
return schema3;
|
|
165800
165984
|
}
|
|
165801
165985
|
var init_get_schema = __esm({
|
|
165802
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
165986
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/get-schema.mjs"() {
|
|
165803
165987
|
init_internal();
|
|
165804
165988
|
}
|
|
165805
165989
|
});
|
|
165806
165990
|
|
|
165807
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
165991
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/get-migration.mjs
|
|
165808
165992
|
function createDatabaseIndexKey(tableName, indexName) {
|
|
165809
165993
|
return `${getPortableDatabaseIdentifierKey(tableName)}\0${getPortableDatabaseIdentifierKey(indexName)}`;
|
|
165810
165994
|
}
|
|
@@ -166375,7 +166559,7 @@ async function getMigrations(config3, { throwOnUnsafe = true } = {}) {
|
|
|
166375
166559
|
}
|
|
166376
166560
|
var map3, UnsafeMigrationError;
|
|
166377
166561
|
var init_get_migration = __esm({
|
|
166378
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
166562
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/get-migration.mjs"() {
|
|
166379
166563
|
init_get_schema();
|
|
166380
166564
|
init_db();
|
|
166381
166565
|
init_env3();
|
|
@@ -166471,15 +166655,15 @@ var init_get_migration = __esm({
|
|
|
166471
166655
|
}
|
|
166472
166656
|
});
|
|
166473
166657
|
|
|
166474
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
166658
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/constants.mjs
|
|
166475
166659
|
var DEFAULT_SECRET;
|
|
166476
166660
|
var init_constants9 = __esm({
|
|
166477
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
166661
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/constants.mjs"() {
|
|
166478
166662
|
DEFAULT_SECRET = "better-auth-secret-12345678901234567890";
|
|
166479
166663
|
}
|
|
166480
166664
|
});
|
|
166481
166665
|
|
|
166482
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
166666
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/context/secret-utils.mjs
|
|
166483
166667
|
function estimateEntropy(str2) {
|
|
166484
166668
|
const unique = new Set(str2).size;
|
|
166485
166669
|
if (unique === 0) return 0;
|
|
@@ -166525,12 +166709,12 @@ function buildSecretConfig(secrets, legacySecret) {
|
|
|
166525
166709
|
};
|
|
166526
166710
|
}
|
|
166527
166711
|
var init_secret_utils = __esm({
|
|
166528
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
166712
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/context/secret-utils.mjs"() {
|
|
166529
166713
|
init_error2();
|
|
166530
166714
|
}
|
|
166531
166715
|
});
|
|
166532
166716
|
|
|
166533
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
166717
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/context/create-context.mjs
|
|
166534
166718
|
function estimateEntropy2(str2) {
|
|
166535
166719
|
const unique = new Set(str2).size;
|
|
166536
166720
|
if (unique === 0) return 0;
|
|
@@ -166734,7 +166918,7 @@ Most of the features of Better Auth will not work correctly.`);
|
|
|
166734
166918
|
return ctx;
|
|
166735
166919
|
}
|
|
166736
166920
|
var init_create_context = __esm({
|
|
166737
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
166921
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/context/create-context.mjs"() {
|
|
166738
166922
|
init_url2();
|
|
166739
166923
|
init_trusted_origins2();
|
|
166740
166924
|
init_store_capabilities();
|
|
@@ -166760,10 +166944,10 @@ var init_create_context = __esm({
|
|
|
166760
166944
|
}
|
|
166761
166945
|
});
|
|
166762
166946
|
|
|
166763
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
166947
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/context/init.mjs
|
|
166764
166948
|
var init2;
|
|
166765
166949
|
var init_init = __esm({
|
|
166766
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
166950
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/context/init.mjs"() {
|
|
166767
166951
|
init_adapter_kysely();
|
|
166768
166952
|
init_get_migration();
|
|
166769
166953
|
init_create_context();
|
|
@@ -166783,10 +166967,10 @@ var init_init = __esm({
|
|
|
166783
166967
|
}
|
|
166784
166968
|
});
|
|
166785
166969
|
|
|
166786
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
166970
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/auth/base.mjs
|
|
166787
166971
|
var createBetterAuth;
|
|
166788
166972
|
var init_base = __esm({
|
|
166789
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
166973
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/auth/base.mjs"() {
|
|
166790
166974
|
init_url2();
|
|
166791
166975
|
init_helpers();
|
|
166792
166976
|
init_api5();
|
|
@@ -166853,10 +167037,10 @@ var init_base = __esm({
|
|
|
166853
167037
|
}
|
|
166854
167038
|
});
|
|
166855
167039
|
|
|
166856
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167040
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/auth/full.mjs
|
|
166857
167041
|
var betterAuth;
|
|
166858
167042
|
var init_full = __esm({
|
|
166859
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167043
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/auth/full.mjs"() {
|
|
166860
167044
|
init_init();
|
|
166861
167045
|
init_base();
|
|
166862
167046
|
betterAuth = (options) => {
|
|
@@ -166865,9 +167049,9 @@ var init_full = __esm({
|
|
|
166865
167049
|
}
|
|
166866
167050
|
});
|
|
166867
167051
|
|
|
166868
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167052
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/index.mjs
|
|
166869
167053
|
var init_dist16 = __esm({
|
|
166870
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167054
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/index.mjs"() {
|
|
166871
167055
|
init_full();
|
|
166872
167056
|
init_dist11();
|
|
166873
167057
|
init_db();
|
|
@@ -166880,17 +167064,17 @@ var init_dist16 = __esm({
|
|
|
166880
167064
|
}
|
|
166881
167065
|
});
|
|
166882
167066
|
|
|
166883
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167067
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/adapters/drizzle-adapter/index.mjs
|
|
166884
167068
|
var init_drizzle_adapter = __esm({
|
|
166885
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167069
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/adapters/drizzle-adapter/index.mjs"() {
|
|
166886
167070
|
init_dist12();
|
|
166887
167071
|
}
|
|
166888
167072
|
});
|
|
166889
167073
|
|
|
166890
|
-
// ../../node_modules/.pnpm/@better-auth+api-key@1.7.7_@better-auth+core@1.7.7_@better-auth+utils@0.5.0_@better-
|
|
167074
|
+
// ../../node_modules/.pnpm/@better-auth+api-key@1.7.7_@better-auth+core@1.7.7_@better-auth+utils@0.5.0_@better-fet_371f5aac32255ab4a0017cecb1324168/node_modules/@better-auth/api-key/dist/version-CUtTQbZf.mjs
|
|
166891
167075
|
var API_KEY_ERROR_CODES, PACKAGE_VERSION;
|
|
166892
167076
|
var init_version_CUtTQbZf = __esm({
|
|
166893
|
-
"../../node_modules/.pnpm/@better-auth+api-key@1.7.7_@better-auth+core@1.7.7_@better-auth+utils@0.5.0_@better-
|
|
167077
|
+
"../../node_modules/.pnpm/@better-auth+api-key@1.7.7_@better-auth+core@1.7.7_@better-auth+utils@0.5.0_@better-fet_371f5aac32255ab4a0017cecb1324168/node_modules/@better-auth/api-key/dist/version-CUtTQbZf.mjs"() {
|
|
166894
167078
|
init_error_codes();
|
|
166895
167079
|
API_KEY_ERROR_CODES = defineErrorCodes({
|
|
166896
167080
|
INVALID_METADATA_TYPE: "metadata must be an object or undefined",
|
|
@@ -166929,10 +167113,10 @@ var init_version_CUtTQbZf = __esm({
|
|
|
166929
167113
|
}
|
|
166930
167114
|
});
|
|
166931
167115
|
|
|
166932
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167116
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/_virtual/_rolldown/runtime.mjs
|
|
166933
167117
|
var __defProp2, __getOwnPropDesc2, __getOwnPropNames2, __hasOwnProp2, __exportAll, __copyProps2, __reExport;
|
|
166934
167118
|
var init_runtime = __esm({
|
|
166935
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167119
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/_virtual/_rolldown/runtime.mjs"() {
|
|
166936
167120
|
__defProp2 = Object.defineProperty;
|
|
166937
167121
|
__getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
166938
167122
|
__getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -166960,7 +167144,7 @@ var init_runtime = __esm({
|
|
|
166960
167144
|
}
|
|
166961
167145
|
});
|
|
166962
167146
|
|
|
166963
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167147
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/field-converter.mjs
|
|
166964
167148
|
function convertToDB(fields, values2) {
|
|
166965
167149
|
const result2 = values2.id ? { id: values2.id } : {};
|
|
166966
167150
|
for (const key in fields) {
|
|
@@ -166978,11 +167162,11 @@ function convertFromDB(fields, values2) {
|
|
|
166978
167162
|
return result2;
|
|
166979
167163
|
}
|
|
166980
167164
|
var init_field_converter = __esm({
|
|
166981
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167165
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/field-converter.mjs"() {
|
|
166982
167166
|
}
|
|
166983
167167
|
});
|
|
166984
167168
|
|
|
166985
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167169
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/revoke-unproven-account-access.mjs
|
|
166986
167170
|
async function waitForCleanupLock(ctx, identifier) {
|
|
166987
167171
|
const deadline = Date.now() + cleanupLockWaitMs;
|
|
166988
167172
|
while (Date.now() < deadline) {
|
|
@@ -167022,7 +167206,7 @@ async function revokeUnprovenAccountAccess(ctx, userId) {
|
|
|
167022
167206
|
}
|
|
167023
167207
|
var cleanupLockExpiresInMs, cleanupLockWaitMs, cleanupLockPollMs, cleanupLockIdentifier;
|
|
167024
167208
|
var init_revoke_unproven_account_access = __esm({
|
|
167025
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167209
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/revoke-unproven-account-access.mjs"() {
|
|
167026
167210
|
init_error2();
|
|
167027
167211
|
cleanupLockExpiresInMs = 5e3;
|
|
167028
167212
|
cleanupLockWaitMs = 2e3;
|
|
@@ -167031,7 +167215,7 @@ var init_revoke_unproven_account_access = __esm({
|
|
|
167031
167215
|
}
|
|
167032
167216
|
});
|
|
167033
167217
|
|
|
167034
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167218
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/to-zod.mjs
|
|
167035
167219
|
function toZodSchema({ fields, isClientSide }) {
|
|
167036
167220
|
const zodFields = Object.keys(fields).reduce((acc, key) => {
|
|
167037
167221
|
const field = fields[key];
|
|
@@ -167052,15 +167236,15 @@ function toZodSchema({ fields, isClientSide }) {
|
|
|
167052
167236
|
return object(zodFields);
|
|
167053
167237
|
}
|
|
167054
167238
|
var init_to_zod = __esm({
|
|
167055
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167239
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/to-zod.mjs"() {
|
|
167056
167240
|
init_zod();
|
|
167057
167241
|
}
|
|
167058
167242
|
});
|
|
167059
167243
|
|
|
167060
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167244
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/index.mjs
|
|
167061
167245
|
var db_exports2;
|
|
167062
167246
|
var init_db4 = __esm({
|
|
167063
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167247
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/db/index.mjs"() {
|
|
167064
167248
|
init_runtime();
|
|
167065
167249
|
init_get_schema();
|
|
167066
167250
|
init_schema4();
|
|
@@ -167096,7 +167280,7 @@ var init_db4 = __esm({
|
|
|
167096
167280
|
}
|
|
167097
167281
|
});
|
|
167098
167282
|
|
|
167099
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167283
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/access/access.mjs
|
|
167100
167284
|
function unknownResourceResponse(requestedResource) {
|
|
167101
167285
|
return {
|
|
167102
167286
|
success: false,
|
|
@@ -167172,36 +167356,36 @@ function createAccessControl(s2) {
|
|
|
167172
167356
|
};
|
|
167173
167357
|
}
|
|
167174
167358
|
var init_access = __esm({
|
|
167175
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167359
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/access/access.mjs"() {
|
|
167176
167360
|
init_error2();
|
|
167177
167361
|
}
|
|
167178
167362
|
});
|
|
167179
167363
|
|
|
167180
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167364
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/access/index.mjs
|
|
167181
167365
|
var init_access2 = __esm({
|
|
167182
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167366
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/access/index.mjs"() {
|
|
167183
167367
|
init_access();
|
|
167184
167368
|
}
|
|
167185
167369
|
});
|
|
167186
167370
|
|
|
167187
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167371
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/package.mjs
|
|
167188
167372
|
var version3;
|
|
167189
167373
|
var init_package = __esm({
|
|
167190
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167374
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/package.mjs"() {
|
|
167191
167375
|
version3 = "1.7.7";
|
|
167192
167376
|
}
|
|
167193
167377
|
});
|
|
167194
167378
|
|
|
167195
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167379
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/version.mjs
|
|
167196
167380
|
var PACKAGE_VERSION2;
|
|
167197
167381
|
var init_version4 = __esm({
|
|
167198
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167382
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/version.mjs"() {
|
|
167199
167383
|
init_package();
|
|
167200
167384
|
PACKAGE_VERSION2 = version3;
|
|
167201
167385
|
}
|
|
167202
167386
|
});
|
|
167203
167387
|
|
|
167204
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167388
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/client/parser.mjs
|
|
167205
167389
|
function isValidDate(date5) {
|
|
167206
167390
|
return date5 instanceof Date && !isNaN(date5.getTime());
|
|
167207
167391
|
}
|
|
@@ -167254,7 +167438,7 @@ function parseJSON(value, options = { strict: true }) {
|
|
|
167254
167438
|
}
|
|
167255
167439
|
var PROTO_POLLUTION_PATTERNS, JSON_SIGNATURE, SPECIAL_VALUES, ISO_DATE_REGEX;
|
|
167256
167440
|
var init_parser2 = __esm({
|
|
167257
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167441
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/client/parser.mjs"() {
|
|
167258
167442
|
PROTO_POLLUTION_PATTERNS = {
|
|
167259
167443
|
proto: /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,
|
|
167260
167444
|
constructor: /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,
|
|
@@ -167275,14 +167459,14 @@ var init_parser2 = __esm({
|
|
|
167275
167459
|
}
|
|
167276
167460
|
});
|
|
167277
167461
|
|
|
167278
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167462
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/client/index.mjs
|
|
167279
167463
|
var init_client = __esm({
|
|
167280
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167464
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/client/index.mjs"() {
|
|
167281
167465
|
init_parser2();
|
|
167282
167466
|
}
|
|
167283
167467
|
});
|
|
167284
167468
|
|
|
167285
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167469
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/adapter.mjs
|
|
167286
167470
|
async function computeTeamMembershipKey(data) {
|
|
167287
167471
|
const digest2 = await createHash("SHA-256").digest(new TextEncoder().encode(JSON.stringify([data.teamId, data.userId])));
|
|
167288
167472
|
return base64Url.encode(new Uint8Array(digest2), { padding: false });
|
|
@@ -167401,7 +167585,7 @@ function stripTeamMembershipKeys(members2) {
|
|
|
167401
167585
|
}
|
|
167402
167586
|
var getOrgAdapter;
|
|
167403
167587
|
var init_adapter2 = __esm({
|
|
167404
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
167588
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/adapter.mjs"() {
|
|
167405
167589
|
init_date2();
|
|
167406
167590
|
init_parser2();
|
|
167407
167591
|
init_context2();
|
|
@@ -168099,10 +168283,10 @@ var init_adapter2 = __esm({
|
|
|
168099
168283
|
}
|
|
168100
168284
|
});
|
|
168101
168285
|
|
|
168102
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
168286
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/access/statement.mjs
|
|
168103
168287
|
var defaultStatements, defaultAc, adminAc, ownerAc, memberAc, defaultRoles;
|
|
168104
168288
|
var init_statement = __esm({
|
|
168105
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
168289
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/access/statement.mjs"() {
|
|
168106
168290
|
init_access();
|
|
168107
168291
|
defaultStatements = {
|
|
168108
168292
|
organization: ["update", "delete"],
|
|
@@ -168180,10 +168364,10 @@ var init_statement = __esm({
|
|
|
168180
168364
|
}
|
|
168181
168365
|
});
|
|
168182
168366
|
|
|
168183
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
168367
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/permission.mjs
|
|
168184
168368
|
var hasPermissionFn, cacheAllRoles;
|
|
168185
168369
|
var init_permission = __esm({
|
|
168186
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
168370
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/permission.mjs"() {
|
|
168187
168371
|
hasPermissionFn = (input4, acRoles) => {
|
|
168188
168372
|
if (!input4.permissions) return false;
|
|
168189
168373
|
const roles = input4.role.split(",");
|
|
@@ -168198,10 +168382,10 @@ var init_permission = __esm({
|
|
|
168198
168382
|
}
|
|
168199
168383
|
});
|
|
168200
168384
|
|
|
168201
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
168385
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/has-permission.mjs
|
|
168202
168386
|
var rolePermissionsSchema, hasPermission;
|
|
168203
168387
|
var init_has_permission = __esm({
|
|
168204
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
168388
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/has-permission.mjs"() {
|
|
168205
168389
|
init_api5();
|
|
168206
168390
|
init_statement();
|
|
168207
168391
|
init_permission();
|
|
@@ -168236,10 +168420,10 @@ var init_has_permission = __esm({
|
|
|
168236
168420
|
}
|
|
168237
168421
|
});
|
|
168238
168422
|
|
|
168239
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
168423
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/error-codes.mjs
|
|
168240
168424
|
var ORGANIZATION_ERROR_CODES;
|
|
168241
168425
|
var init_error_codes2 = __esm({
|
|
168242
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
168426
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/error-codes.mjs"() {
|
|
168243
168427
|
init_error_codes();
|
|
168244
168428
|
ORGANIZATION_ERROR_CODES = defineErrorCodes({
|
|
168245
168429
|
YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_ORGANIZATION: "You are not allowed to create a new organization",
|
|
@@ -168305,10 +168489,10 @@ var init_error_codes2 = __esm({
|
|
|
168305
168489
|
}
|
|
168306
168490
|
});
|
|
168307
168491
|
|
|
168308
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
168492
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/shim.mjs
|
|
168309
168493
|
var shimContext;
|
|
168310
168494
|
var init_shim = __esm({
|
|
168311
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
168495
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/utils/shim.mjs"() {
|
|
168312
168496
|
shimContext = (originalObject, newContext) => {
|
|
168313
168497
|
const shimmedObj = {};
|
|
168314
168498
|
for (const [key, value] of Object.entries(originalObject)) {
|
|
@@ -168331,10 +168515,10 @@ var init_shim = __esm({
|
|
|
168331
168515
|
}
|
|
168332
168516
|
});
|
|
168333
168517
|
|
|
168334
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
168518
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/call.mjs
|
|
168335
168519
|
var orgMiddleware, orgSessionMiddleware;
|
|
168336
168520
|
var init_call = __esm({
|
|
168337
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
168521
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/call.mjs"() {
|
|
168338
168522
|
init_session5();
|
|
168339
168523
|
init_api2();
|
|
168340
168524
|
orgMiddleware = createAuthMiddleware(async () => {
|
|
@@ -168346,7 +168530,7 @@ var init_call = __esm({
|
|
|
168346
168530
|
}
|
|
168347
168531
|
});
|
|
168348
168532
|
|
|
168349
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
168533
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/routes/crud-access-control.mjs
|
|
168350
168534
|
async function checkForInvalidResources({ ac, ctx, permission }) {
|
|
168351
168535
|
const validResources = Object.keys(ac.statements);
|
|
168352
168536
|
const providedResources = Object.keys(permission);
|
|
@@ -168436,7 +168620,7 @@ async function checkIfRoleNameIsTakenByRoleInDB({ organizationId, role: role2, c
|
|
|
168436
168620
|
}
|
|
168437
168621
|
var normalizeRoleName, DEFAULT_MAXIMUM_ROLES_PER_ORGANIZATION, getAdditionalFields, baseCreateOrgRoleSchema, createOrgRole, deleteOrgRoleBodySchema, deleteOrgRole, listOrgRolesQuerySchema, listOrgRoles, getOrgRoleQuerySchema, getOrgRole, roleNameOrIdSchema, updateOrgRole;
|
|
168438
168622
|
var init_crud_access_control = __esm({
|
|
168439
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
168623
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/routes/crud-access-control.mjs"() {
|
|
168440
168624
|
init_to_zod();
|
|
168441
168625
|
init_error_codes2();
|
|
168442
168626
|
init_call();
|
|
@@ -169027,10 +169211,10 @@ Please refer to the documentation here: https://better-auth.com/docs/plugins/org
|
|
|
169027
169211
|
}
|
|
169028
169212
|
});
|
|
169029
169213
|
|
|
169030
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
169214
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/routes/crud-invites.mjs
|
|
169031
169215
|
var baseInvitationSchema, getAdvancedGenerateId, hasBuiltInOpaqueInvitationIdGeneration, shouldRequireVerifiedEmailForInvitationIdAction, createInvitation, acceptInvitationBodySchema, acceptInvitation, rejectInvitationBodySchema, rejectInvitation, cancelInvitationBodySchema, cancelInvitation, getInvitationQuerySchema, getInvitation, listInvitationQuerySchema, listInvitations, listUserInvitations;
|
|
169032
169216
|
var init_crud_invites = __esm({
|
|
169033
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
169217
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/routes/crud-invites.mjs"() {
|
|
169034
169218
|
init_date2();
|
|
169035
169219
|
init_cookies2();
|
|
169036
169220
|
init_to_zod();
|
|
@@ -169630,10 +169814,10 @@ var init_crud_invites = __esm({
|
|
|
169630
169814
|
}
|
|
169631
169815
|
});
|
|
169632
169816
|
|
|
169633
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
169817
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/routes/crud-members.mjs
|
|
169634
169818
|
var baseMemberSchema, addMember, removeMemberBodySchema, removeMember, updateMemberRoleBodySchema, updateMemberRole, getActiveMember, leaveOrganizationBodySchema, leaveOrganization, listMembers, getActiveMemberRoleQuerySchema, getActiveMemberRole;
|
|
169635
169819
|
var init_crud_members = __esm({
|
|
169636
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
169820
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/routes/crud-members.mjs"() {
|
|
169637
169821
|
init_to_zod();
|
|
169638
169822
|
init_session5();
|
|
169639
169823
|
init_statement();
|
|
@@ -170152,10 +170336,10 @@ var init_crud_members = __esm({
|
|
|
170152
170336
|
}
|
|
170153
170337
|
});
|
|
170154
170338
|
|
|
170155
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
170339
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/routes/crud-org.mjs
|
|
170156
170340
|
var baseOrganizationSchema, createOrganization, checkOrganizationSlugBodySchema, checkOrganizationSlug, baseUpdateOrganizationSchema, updateOrganization, deleteOrganizationBodySchema, deleteOrganization, getOrganizationQuerySchema, getOrganization, getFullOrganizationQuerySchema, getFullOrganization, setActiveOrganizationBodySchema, setActiveOrganization, listOrganizations;
|
|
170157
170341
|
var init_crud_org = __esm({
|
|
170158
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
170342
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/routes/crud-org.mjs"() {
|
|
170159
170343
|
init_cookies2();
|
|
170160
170344
|
init_to_zod();
|
|
170161
170345
|
init_session5();
|
|
@@ -170608,10 +170792,10 @@ var init_crud_org = __esm({
|
|
|
170608
170792
|
}
|
|
170609
170793
|
});
|
|
170610
170794
|
|
|
170611
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
170795
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/schema.mjs
|
|
170612
170796
|
var roleSchema, invitationStatus, teamSchema, defaultRoles2;
|
|
170613
170797
|
var init_schema5 = __esm({
|
|
170614
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
170798
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/schema.mjs"() {
|
|
170615
170799
|
init_id2();
|
|
170616
170800
|
init_zod();
|
|
170617
170801
|
roleSchema = string2();
|
|
@@ -170677,10 +170861,10 @@ var init_schema5 = __esm({
|
|
|
170677
170861
|
}
|
|
170678
170862
|
});
|
|
170679
170863
|
|
|
170680
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
170864
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/routes/crud-team.mjs
|
|
170681
170865
|
var teamBaseSchema, createTeam, removeTeamBodySchema, removeTeam, updateTeam, listOrganizationTeamsQuerySchema, listOrganizationTeams, setActiveTeamBodySchema, setActiveTeam, listUserTeams, listTeamMembersQuerySchema, listTeamMembers, addTeamMemberBodySchema, addTeamMember, removeTeamMemberBodySchema, removeTeamMember;
|
|
170682
170866
|
var init_crud_team = __esm({
|
|
170683
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
170867
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/routes/crud-team.mjs"() {
|
|
170684
170868
|
init_cookies2();
|
|
170685
170869
|
init_to_zod();
|
|
170686
170870
|
init_session5();
|
|
@@ -171448,7 +171632,7 @@ var init_crud_team = __esm({
|
|
|
171448
171632
|
}
|
|
171449
171633
|
});
|
|
171450
171634
|
|
|
171451
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
171635
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/organization.mjs
|
|
171452
171636
|
function parseRoles(roles) {
|
|
171453
171637
|
return Array.isArray(roles) ? roles.join(",") : roles;
|
|
171454
171638
|
}
|
|
@@ -172259,7 +172443,7 @@ function organization(options) {
|
|
|
172259
172443
|
}
|
|
172260
172444
|
var createHasPermissionBodySchema, createHasPermission;
|
|
172261
172445
|
var init_organization = __esm({
|
|
172262
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
172446
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/organization.mjs"() {
|
|
172263
172447
|
init_session5();
|
|
172264
172448
|
init_version4();
|
|
172265
172449
|
init_statement();
|
|
@@ -172338,7 +172522,7 @@ var init_organization = __esm({
|
|
|
172338
172522
|
}
|
|
172339
172523
|
});
|
|
172340
172524
|
|
|
172341
|
-
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
172525
|
+
// ../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/index.mjs
|
|
172342
172526
|
var organization_exports = {};
|
|
172343
172527
|
__export(organization_exports, {
|
|
172344
172528
|
getOrgAdapter: () => getOrgAdapter,
|
|
@@ -172347,14 +172531,14 @@ __export(organization_exports, {
|
|
|
172347
172531
|
parseRoles: () => parseRoles
|
|
172348
172532
|
});
|
|
172349
172533
|
var init_organization2 = __esm({
|
|
172350
|
-
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.
|
|
172534
|
+
"../../node_modules/.pnpm/better-auth@1.7.7_@opentelemetry+api@1.9.1_@prisma+client@5.22.0_drizzle-kit@0.31.11_dr_3b3aef59fddd977d2ce339f9e8fbc911/node_modules/better-auth/dist/plugins/organization/index.mjs"() {
|
|
172351
172535
|
init_adapter2();
|
|
172352
172536
|
init_has_permission();
|
|
172353
172537
|
init_organization();
|
|
172354
172538
|
}
|
|
172355
172539
|
});
|
|
172356
172540
|
|
|
172357
|
-
// ../../node_modules/.pnpm/@better-auth+api-key@1.7.7_@better-auth+core@1.7.7_@better-auth+utils@0.5.0_@better-
|
|
172541
|
+
// ../../node_modules/.pnpm/@better-auth+api-key@1.7.7_@better-auth+core@1.7.7_@better-auth+utils@0.5.0_@better-fet_371f5aac32255ab4a0017cecb1324168/node_modules/@better-auth/api-key/dist/index.mjs
|
|
172358
172542
|
function parseDoubleStringifiedMetadata(metadata) {
|
|
172359
172543
|
if (metadata == null) return null;
|
|
172360
172544
|
if (typeof metadata === "object") return metadata;
|
|
@@ -174453,7 +174637,7 @@ function apiKey(_configurations, _options) {
|
|
|
174453
174637
|
}
|
|
174454
174638
|
var STORAGE_CONCURRENCY, refListLocks, getDate2, createApiKeyBodySchema, deleteApiKeyBodySchema, getApiKeyQuerySchema, listApiKeysQuerySchema, updateApiKeyBodySchema, verifyApiKeyBodySchema, lastChecked, apiKeySchema, defaultKeyHasher2, API_KEY_TABLE_NAME;
|
|
174455
174639
|
var init_dist17 = __esm({
|
|
174456
|
-
"../../node_modules/.pnpm/@better-auth+api-key@1.7.7_@better-auth+core@1.7.7_@better-auth+utils@0.5.0_@better-
|
|
174640
|
+
"../../node_modules/.pnpm/@better-auth+api-key@1.7.7_@better-auth+core@1.7.7_@better-auth+utils@0.5.0_@better-fet_371f5aac32255ab4a0017cecb1324168/node_modules/@better-auth/api-key/dist/index.mjs"() {
|
|
174457
174641
|
init_version_CUtTQbZf();
|
|
174458
174642
|
init_api2();
|
|
174459
174643
|
init_ip();
|
|
@@ -175308,6 +175492,7 @@ var init_connection_copy = __esm({
|
|
|
175308
175492
|
var CONNECTOR_OPERATION_SELECTION_LIMIT, CONNECTOR_AUTHENTICATION_FLOW_TTL_MS, CONNECTOR_EVENT_REVIEW_SCOPE_LIMIT, ConnectorJsonValueSchema, ConnectorJsonObjectSchema, ConnectorProviderInstanceIdSchema, ConnectionIdSchema, ConnectorExternalAccountRefSchema, ConnectorProviderModeSchema, ConnectorProviderHealthSchema, ConnectorGrantReconciliationStatusSchema, ConnectorOperationClassificationSchema, ConnectorAccessLevelSchema, ConnectorRetryPolicySchema, ConnectorOperationRevisionSchema, ConnectorOperationPageSchema, ConnectorCapabilityAvailabilitySchema, ConnectorUnsupportedResultSchema, ConnectorProviderCapabilitySetSchema, ConnectorToolkitVersionResultSchema, ConnectorProviderExecuteResultSchema, ConnectorAuthenticationFlowSchema, ConnectorExecutionTargetSchema, ConnectorProgramExecutionRequestSchema, ConnectorExecutionPublicResultSchema, ConnectorExecutionResponseSchema, ConnectionReadinessStateSchema, ConnectionReadinessReasonSchema, ConnectionFixActionSchema, ConnectionFixSchema, ConnectionReadinessSchema, AccessibleConnectorConnectionSchema, AccessibleConnectorOperationSchema, ConnectorAccessibleConnectionsResponseSchema, ConnectorAccessibleOperationsResponseSchema, ConnectorUsageItemSchema, ConnectorUsagePageSchema, ConnectorReconciliationPreviewRequestSchema, ConnectorReconciliationGrantSelectionSchema, ConnectorReconciliationEveryAgentSelectionSchema, ConnectorReconciliationEveryAgentStateSchema, ConnectorEveryAgentRevokeResponseSchema, ConnectorReconciliationAgentSchema, ConnectorReconciliationCandidateSchema, ConnectorReconciliationPreviewSchema, ConnectorReconciliationApplyRequestSchema, ConnectorReconciliationApplyResponseSchema, ReviewActionBaseSchema, ConnectionTargetSchema, ConnectorRequestAccessSchema, ConnectorReviewActionSchema, ConnectorAgentConnectionRequestInputSchema, ConnectorAgentRequestBaseSchema, ConnectorRequestNotGrantedSchema, ConnectorAgentRequestStatusSchema, ConnectorAgentRequestItemSchema, ConnectorAgentRequestListResponseSchema, ConnectorManagementConnectActionSchema, ConnectorManagementAppliedActionSchema, ConnectorManagementReviewActionSchema, ConnectorManagementReviewCreateRequestSchema, ConnectorManagementReviewOutcomeSchema, ConnectorManagementReviewOperationContextSchema, ConnectorManagementReviewConnectionContextSchema, ConnectorManagementReviewAgentContextSchema, ConnectorManagementReviewContextSchema, ManagementReviewItemBaseShape, ConnectorPendingManagementReviewItemSchema, ConnectorResolvingManagementReviewItemSchema, ConnectorExpiredManagementReviewItemSchema, ConnectorDeniedManagementReviewItemSchema, ConnectorApprovedAppliedManagementReviewItemSchema, ConnectorApprovedConnectManagementReviewItemSchema, ConnectorApprovedUnknownManagementReviewItemSchema, ConnectorManagementReviewItemSchema, ProgramReviewStatusBaseShape, ConnectorProgramReviewStatusSchema, ConnectorManagementReviewDecisionSchema, ConnectorManagementReviewDecisionResultSchema;
|
|
175309
175493
|
var init_connector_schemas = __esm({
|
|
175310
175494
|
"../connector-providers/src/connector-schemas.ts"() {
|
|
175495
|
+
"use strict";
|
|
175311
175496
|
init_zod();
|
|
175312
175497
|
init_connection_copy();
|
|
175313
175498
|
CONNECTOR_OPERATION_SELECTION_LIMIT = 1e5;
|
|
@@ -181528,7 +181713,7 @@ if (process.argv[2] === "community") {
|
|
|
181528
181713
|
);
|
|
181529
181714
|
Object.assign(childEnv, credentialEnv.pickCommunityCredentialEnv(rawProcessEnv));
|
|
181530
181715
|
const exitCode = await dispatcher.runCommunityDispatcher(process.argv.slice(3), {
|
|
181531
|
-
cliVersion: "0.
|
|
181716
|
+
cliVersion: "0.133.0",
|
|
181532
181717
|
dorkHome: DORK_HOME,
|
|
181533
181718
|
processEnv: childEnv,
|
|
181534
181719
|
parseRelease: (bytes) => releaseContract.parseCompatibleCommunityReleaseManifest(
|
|
@@ -181546,7 +181731,7 @@ if (process.argv[2] === "community") {
|
|
|
181546
181731
|
process.exit(1);
|
|
181547
181732
|
}
|
|
181548
181733
|
}
|
|
181549
|
-
var cliErrorReporter = initCliErrorReporting({ dorkHome: DORK_HOME, version: "0.
|
|
181734
|
+
var cliErrorReporter = initCliErrorReporting({ dorkHome: DORK_HOME, version: "0.133.0" });
|
|
181550
181735
|
var uninstallCliErrorHandlers = cliErrorReporter ? installCliErrorHandlers(cliErrorReporter) : void 0;
|
|
181551
181736
|
if (process.argv[2] === "doctor") {
|
|
181552
181737
|
process.env.DORK_HOME = DORK_HOME;
|
|
@@ -181556,7 +181741,7 @@ if (process.argv[2] === "doctor") {
|
|
|
181556
181741
|
if (process.argv[2] === "feedback") {
|
|
181557
181742
|
process.env.DORK_HOME = DORK_HOME;
|
|
181558
181743
|
const { runFeedback: runFeedback2 } = await Promise.resolve().then(() => (init_feedback2(), feedback_exports));
|
|
181559
|
-
process.exit(await runFeedback2(DORK_HOME, "0.
|
|
181744
|
+
process.exit(await runFeedback2(DORK_HOME, "0.133.0", process.argv.slice(3)));
|
|
181560
181745
|
}
|
|
181561
181746
|
if (process.argv[2] === "auth") {
|
|
181562
181747
|
process.env.DORK_HOME = DORK_HOME;
|
|
@@ -181655,7 +181840,7 @@ if (process.argv[2] === "agent" || process.argv[2] === "task" || process.argv[2]
|
|
|
181655
181840
|
}
|
|
181656
181841
|
}
|
|
181657
181842
|
const { runVersionDispatcher: runVersionDispatcher2 } = await Promise.resolve().then(() => (init_version5(), version_exports));
|
|
181658
|
-
process.exit(await runVersionDispatcher2("0.
|
|
181843
|
+
process.exit(await runVersionDispatcher2("0.133.0", DORK_HOME, subArgs));
|
|
181659
181844
|
}
|
|
181660
181845
|
var { values, positionals } = parseCliArgs();
|
|
181661
181846
|
if (positionals[0] && !knownCommands.has(positionals[0])) {
|
|
@@ -181749,14 +181934,14 @@ Examples:
|
|
|
181749
181934
|
process.exit(0);
|
|
181750
181935
|
}
|
|
181751
181936
|
if (values.version) {
|
|
181752
|
-
console.log("0.
|
|
181937
|
+
console.log("0.133.0");
|
|
181753
181938
|
process.exit(0);
|
|
181754
181939
|
}
|
|
181755
181940
|
if (values["post-install-check"]) {
|
|
181756
181941
|
const claudeFound = checkClaude();
|
|
181757
181942
|
const coreExtensionsFound = checkCoreExtensions();
|
|
181758
181943
|
const extensionsCompile = await checkExtensionCompilation();
|
|
181759
|
-
console.log(`dorkos ${"0.
|
|
181944
|
+
console.log(`dorkos ${"0.133.0"}`);
|
|
181760
181945
|
if (!coreExtensionsFound) {
|
|
181761
181946
|
console.log("Installation incomplete \u2014 bundled core extensions are missing.");
|
|
181762
181947
|
}
|
|
@@ -181903,7 +182088,7 @@ if (fs42.existsSync(envPath)) {
|
|
|
181903
182088
|
dotenv.config({ path: envPath, override: false });
|
|
181904
182089
|
}
|
|
181905
182090
|
uninstallCliErrorHandlers?.();
|
|
181906
|
-
stampCliLaunch(process.env, fileURLToPath7(import.meta.url), "0.
|
|
182091
|
+
stampCliLaunch(process.env, fileURLToPath7(import.meta.url), "0.133.0");
|
|
181907
182092
|
var server;
|
|
181908
182093
|
try {
|
|
181909
182094
|
server = await import("../server/index.js");
|
|
@@ -181928,7 +182113,7 @@ var ansiReset = "\x1B[0m";
|
|
|
181928
182113
|
console.log("");
|
|
181929
182114
|
console.log(`${purple}${logo}${ansiReset}`);
|
|
181930
182115
|
console.log("");
|
|
181931
|
-
console.log(` DorkOS v${"0.
|
|
182116
|
+
console.log(` DorkOS v${"0.133.0"}`);
|
|
181932
182117
|
console.log(` Local: ${link(localUrl, localUrl)}`);
|
|
181933
182118
|
var nets = networkInterfaces();
|
|
181934
182119
|
var networkUrl = null;
|
|
@@ -181954,9 +182139,9 @@ if (shouldOpenBrowser && process.stdin.isTTY) {
|
|
|
181954
182139
|
const openCmd = process.platform === "darwin" ? "open" : process.platform === "win32" ? "start" : "xdg-open";
|
|
181955
182140
|
exec(`${openCmd} ${localUrl}`);
|
|
181956
182141
|
}
|
|
181957
|
-
checkForUpdate("0.
|
|
182142
|
+
checkForUpdate("0.133.0").then((latestVersion) => {
|
|
181958
182143
|
if (latestVersion) {
|
|
181959
|
-
const msg = `Update available: ${"0.
|
|
182144
|
+
const msg = `Update available: ${"0.133.0"} \u2192 ${latestVersion}`;
|
|
181960
182145
|
const cmd = "Run npm install -g dorkos@latest to update";
|
|
181961
182146
|
const width = Math.max(msg.length, cmd.length) + 6;
|
|
181962
182147
|
const pad2 = (s2) => `\u2502 ${s2}${" ".repeat(width - s2.length - 6)} \u2502`;
|