openpond 0.2.71 → 0.2.72
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/app-server.js +1 -1
- package/dist/chunks/{acp-VWPJ2EL4.js → acp-7A2UPCG5.js} +1 -1
- package/dist/chunks/{acp-agent-OZHZMQ6R.js → acp-agent-AGALGR6V.js} +1 -1
- package/dist/chunks/{app-layer-OHPIYEOJ.js → app-layer-DUCNCJ2X.js} +1 -1
- package/dist/chunks/{app-server-evaluations-Y5UEF2Y7.js → app-server-evaluations-SNWXULKD.js} +1 -1
- package/dist/chunks/{app-server-harness-services-GUHAIIPS.js → app-server-harness-services-YNMGMKPK.js} +1 -1
- package/dist/chunks/{app-server-runtime-CH5STRJP.js → app-server-runtime-BKJ7L6JZ.js} +1 -1
- package/dist/chunks/{apps-DNLT6P4J.js → apps-2OWE23BH.js} +1 -1
- package/dist/chunks/chunk-2Q2AWPP2.js +2 -0
- package/dist/chunks/{chunk-WXG3G2O6.js → chunk-2THZ6GZY.js} +1 -1
- package/dist/chunks/{chunk-3JYPUOK4.js → chunk-4JKWCLTQ.js} +1 -1
- package/dist/chunks/{chunk-D2V2Y3FB.js → chunk-5TPJ5ECJ.js} +1 -1
- package/dist/chunks/{chunk-O5ZOW474.js → chunk-5TTQCT3G.js} +1 -1
- package/dist/chunks/{chunk-AVEHWUML.js → chunk-5WFKBZCU.js} +1 -1
- package/dist/chunks/{chunk-VJYOKU3C.js → chunk-6OD2FKUS.js} +1 -1
- package/dist/chunks/{chunk-SSHE6B7Z.js → chunk-AITV76GO.js} +1 -1
- package/dist/chunks/{chunk-PLROXHG2.js → chunk-ATI52WMB.js} +1 -1
- package/dist/chunks/{chunk-XJU47QS2.js → chunk-AWD72O3G.js} +1 -1
- package/dist/chunks/{chunk-HUMNLSCV.js → chunk-BUMCJHQP.js} +1 -1
- package/dist/chunks/{chunk-OTG77H7U.js → chunk-CAYKEJJY.js} +1 -1
- package/dist/chunks/{chunk-WAUFXZ5B.js → chunk-CHRED2FK.js} +1 -1
- package/dist/chunks/{chunk-USTDWGR4.js → chunk-CQRA5TXF.js} +1 -1
- package/dist/chunks/{chunk-ESOIZG2G.js → chunk-CX4U32VO.js} +4 -4
- package/dist/chunks/{chunk-PXQZOVSV.js → chunk-DFSQ5HZ7.js} +1 -1
- package/dist/chunks/{chunk-GUWNSMGH.js → chunk-EHMA5XS7.js} +1 -1
- package/dist/chunks/{chunk-5LKEVB2P.js → chunk-ENY24ZBB.js} +1 -1
- package/dist/chunks/{chunk-PJJSQ4ZI.js → chunk-F3IEAU7O.js} +1 -1
- package/dist/chunks/{chunk-B7SCVTE6.js → chunk-FOAM3YZQ.js} +1 -1
- package/dist/chunks/{chunk-VV4K5YPD.js → chunk-GPGXBKXU.js} +1 -1
- package/dist/chunks/{chunk-LMLGEOKV.js → chunk-HA762QYM.js} +1 -1
- package/dist/chunks/{chunk-XNPTLJ5Z.js → chunk-HBGTHOOB.js} +1 -1
- package/dist/chunks/{chunk-ER2VONWQ.js → chunk-IA6CTX7A.js} +1 -1
- package/dist/chunks/{chunk-23YW5PAQ.js → chunk-JALL5NPH.js} +1 -1
- package/dist/chunks/{chunk-OQ4RWCYI.js → chunk-JSDGOQ5U.js} +1 -1
- package/dist/chunks/{chunk-F2EUZG2W.js → chunk-KOIXRLZZ.js} +1 -1
- package/dist/chunks/{chunk-ZG3DBXQG.js → chunk-KRJZ5CW3.js} +1 -1
- package/dist/chunks/{chunk-OKPV6MBX.js → chunk-KTQWWCP2.js} +6 -6
- package/dist/chunks/{chunk-VND53FAU.js → chunk-KUEVP7WM.js} +1 -1
- package/dist/chunks/{chunk-U7D6Q744.js → chunk-L5L3H6CI.js} +1 -1
- package/dist/chunks/{chunk-TWLPZHH7.js → chunk-LHTRQAPZ.js} +1 -1
- package/dist/chunks/{chunk-SNBFWBJI.js → chunk-MLLMLXKG.js} +1 -1
- package/dist/chunks/{chunk-KASHK2U5.js → chunk-MPXOPL7R.js} +1 -1
- package/dist/chunks/{chunk-PHZZBXDO.js → chunk-MQMMJKOZ.js} +1 -1
- package/dist/chunks/{chunk-USKCFST5.js → chunk-MWPMYCYB.js} +1 -1
- package/dist/chunks/{chunk-DNNWMOMG.js → chunk-N5FT6PTI.js} +1 -1
- package/dist/chunks/{chunk-RJY4EI46.js → chunk-PYPXP5R3.js} +1 -1
- package/dist/chunks/{chunk-SRJTQS2D.js → chunk-QKBMXL4D.js} +3 -3
- package/dist/chunks/{chunk-7PDF2UX2.js → chunk-RIFWD5XM.js} +1 -1
- package/dist/chunks/{chunk-IFMWAOBR.js → chunk-RWBP2H4M.js} +1 -1
- package/dist/chunks/{chunk-7SOHV5BH.js → chunk-S5ACNR5Y.js} +1 -1
- package/dist/chunks/{chunk-3JVZ7OCQ.js → chunk-SRK4WX7D.js} +1 -1
- package/dist/chunks/{chunk-33UVQ7DU.js → chunk-T6ML5SCD.js} +1 -1
- package/dist/chunks/{chunk-UMRQKE3W.js → chunk-TD5YYA5Z.js} +1 -1
- package/dist/chunks/{chunk-OEAKX5TS.js → chunk-TR5UC5AF.js} +1 -1
- package/dist/chunks/{chunk-UKTPX2EE.js → chunk-UCPD526R.js} +1 -1
- package/dist/chunks/{chunk-RP4DPUN2.js → chunk-UZE3C2SF.js} +1 -1
- package/dist/chunks/{chunk-XBAB3HMA.js → chunk-V4VM2R6D.js} +1 -1
- package/dist/chunks/{chunk-ASMQTMQB.js → chunk-VMBWCIGG.js} +1 -1
- package/dist/chunks/{chunk-OFV26C2U.js → chunk-VXFGSFIE.js} +2 -2
- package/dist/chunks/{chunk-IJJ7FYZE.js → chunk-W4JBPYGW.js} +1 -1
- package/dist/chunks/{chunk-E57PUTV2.js → chunk-WMJEQK4G.js} +1 -1
- package/dist/chunks/{chunk-AT3ZYNX4.js → chunk-X2MJFTLS.js} +1 -1
- package/dist/chunks/{chunk-QN4CFJQC.js → chunk-X7ZMUWJO.js} +1 -1
- package/dist/chunks/{chunk-6BTX66SV.js → chunk-ZSWATWK2.js} +1 -1
- package/dist/chunks/{cli-5JARGJOD.js → cli-KXU5DNVV.js} +1 -1
- package/dist/chunks/{command-AI3SMEAH.js → command-X35I53H3.js} +3 -3
- package/dist/chunks/{configuration-command-NPA46ZOT.js → configuration-command-VJUK34UQ.js} +1 -1
- package/dist/chunks/{connected-app-executor-DLC23O43.js → connected-app-executor-JBFJF2H5.js} +1 -1
- package/dist/chunks/{connected-evidence-TVORI55Q.js → connected-evidence-CQ533AML.js} +1 -1
- package/dist/chunks/{connected-starting-assets-WGGBWH4K.js → connected-starting-assets-RL5X6LZ7.js} +1 -1
- package/dist/chunks/{continual-UHQI2EQD.js → continual-PHGIZFF6.js} +1 -1
- package/dist/chunks/{core-commands-QNZUBKOC.js → core-commands-5DYMDWXY.js} +1 -1
- package/dist/chunks/{dataset-preparation-authoring-OBMJLGA4.js → dataset-preparation-authoring-UDSX33YK.js} +1 -1
- package/dist/chunks/{datasets-USJLJOEQ.js → datasets-BW4JFUUU.js} +1 -1
- package/dist/chunks/{desktop-test-IYHAOR47.js → desktop-test-RIG4CB2Z.js} +1 -1
- package/dist/chunks/{evaluation-coordination-UJENK4WQ.js → evaluation-coordination-6QJ6XTUX.js} +1 -1
- package/dist/chunks/{experiment-improvements-6GJMKIER.js → experiment-improvements-2XF63AQ4.js} +1 -1
- package/dist/chunks/{experiments-FZHILSC6.js → experiments-3S2BVNK6.js} +1 -1
- package/dist/chunks/{experiments-signal-E32CWBS4.js → experiments-signal-IRBHGGW5.js} +1 -1
- package/dist/chunks/{help-32DLAPJR.js → help-Q2VMJVTR.js} +1 -1
- package/dist/chunks/{host-profile-evaluation-tools-QAV2UGSB.js → host-profile-evaluation-tools-5LZQHA32.js} +1 -1
- package/dist/chunks/{hosted-app-server-composition-5DVBKNV3.js → hosted-app-server-composition-AYZM2HY6.js} +1 -1
- package/dist/chunks/{hosted-experiment-improvement-YQ24C54D.js → hosted-experiment-improvement-SMZJYRJ7.js} +1 -1
- package/dist/chunks/{hosted-harness-runtime-KLIORGWV.js → hosted-harness-runtime-QWIFAITG.js} +1 -1
- package/dist/chunks/{hosted-profile-candidate-RCWFLOVJ.js → hosted-profile-candidate-WOMWAE5N.js} +1 -1
- package/dist/chunks/{hosted-profile-compiler-UDG4BCEW.js → hosted-profile-compiler-NZ2BXN32.js} +1 -1
- package/dist/chunks/{hosted-profile-evaluation-control-4R3L4FTK.js → hosted-profile-evaluation-control-3ECFFM7E.js} +1 -1
- package/dist/chunks/{hosted-profile-evaluation-inspection-NA4SSY7N.js → hosted-profile-evaluation-inspection-TM7RKONG.js} +1 -1
- package/dist/chunks/{hosted-profile-evaluation-preparation-B4BW6JTB.js → hosted-profile-evaluation-preparation-2MZIRT75.js} +1 -1
- package/dist/chunks/{human-review-D6QCZLYN.js → human-review-PG4WWVWV.js} +1 -1
- package/dist/chunks/{import-UCG75PN5.js → import-FAZAVZBF.js} +1 -1
- package/dist/chunks/{local-harness-improvement-runtime-GZBMBZB2.js → local-harness-improvement-runtime-OYLTKMJU.js} +1 -1
- package/dist/chunks/{local-harness-taskset-review-YVP2ZQJG.js → local-harness-taskset-review-I7YU4RZI.js} +1 -1
- package/dist/chunks/{opchat-APJUUTT7.js → opchat-TCZA6373.js} +1 -1
- package/dist/chunks/{opchat-bounded-chat-PBUSUAY2.js → opchat-bounded-chat-GMYDXLWB.js} +1 -1
- package/dist/chunks/{organizations-WK6EZ6L3.js → organizations-PYKGA2P2.js} +1 -1
- package/dist/chunks/{profile-BQMS7ALQ.js → profile-GYYI555I.js} +1 -1
- package/dist/chunks/{project-action-payload-CGV77JSA.js → project-action-payload-FE6M2OXJ.js} +1 -1
- package/dist/chunks/{project-agent-XVFYTEUQ.js → project-agent-4ISJFMJD.js} +1 -1
- package/dist/chunks/{published-experiment-source-2CYFIRBL.js → published-experiment-source-E2YAJCLM.js} +1 -1
- package/dist/chunks/{refiner-profile-service-OLJHA4DI.js → refiner-profile-service-LKGXD5WJ.js} +1 -1
- package/dist/chunks/{runtime-32KYSVZR.js → runtime-UDLOZD4Y.js} +2 -2
- package/dist/chunks/{sandbox-command-OY3VZXGG.js → sandbox-command-4J6DAY7T.js} +1 -1
- package/dist/chunks/{sandbox-template-YOOSJ4FK.js → sandbox-template-TSXWJMWG.js} +1 -1
- package/dist/chunks/{saved-work-L4KNWLZB.js → saved-work-QTEBKVUB.js} +1 -1
- package/dist/chunks/{send-turn-YLY3YNEQ.js → send-turn-4MH4WMLW.js} +1 -1
- package/dist/chunks/{setup-EU6CMRXQ.js → setup-IVT2FQSE.js} +1 -1
- package/dist/chunks/{src-HYOTHMRX.js → src-DC7N2H7A.js} +2 -2
- package/dist/chunks/{src-3DJR7OAH.js → src-TOSQX36I.js} +1 -1
- package/dist/chunks/{store-chat-resources-HISLEZZM.js → store-chat-resources-QLXKKYYC.js} +1 -1
- package/dist/chunks/{store-continual-support-reviews-ORWHS57V.js → store-continual-support-reviews-4F2BOG3H.js} +1 -1
- package/dist/chunks/{store-conversation-serving-5UGYKEGJ.js → store-conversation-serving-EUD47W6X.js} +1 -1
- package/dist/chunks/{store-create-improve-APLPTVYQ.js → store-create-improve-QUOTNNIM.js} +1 -1
- package/dist/chunks/{store-datasets-HDW6IYBL.js → store-datasets-ZUC7CNVO.js} +1 -1
- package/dist/chunks/{store-evaluation-results-KB2UDCF3.js → store-evaluation-results-LHHPHESK.js} +1 -1
- package/dist/chunks/{store-human-review-IURNTX3C.js → store-human-review-7WZWRJ6X.js} +1 -1
- package/dist/chunks/{store-learned-preference-migration-validation-TH2LKQWV.js → store-learned-preference-migration-validation-MVNKBR4X.js} +1 -1
- package/dist/chunks/{store-local-experiments-M4V5RLHJ.js → store-local-experiments-HB53QFLL.js} +1 -1
- package/dist/chunks/{store-model-batch-review-DDZLWVTG.js → store-model-batch-review-O3I6GIAA.js} +1 -1
- package/dist/chunks/{store-model-configuration-ATOFA5OH.js → store-model-configuration-CDIGNU6Q.js} +1 -1
- package/dist/chunks/{store-model-project-preparation-ZRSCQEQR.js → store-model-project-preparation-QMQ2HMJV.js} +1 -1
- package/dist/chunks/{store-modification-recordings-YJIDUPVJ.js → store-modification-recordings-W4VEZKKQ.js} +1 -1
- package/dist/chunks/{store-sidebar-file-bookmarks-WLMYDA4E.js → store-sidebar-file-bookmarks-KAEDHVVF.js} +1 -1
- package/dist/chunks/{store-sidebar-preferences-AFMYIDWT.js → store-sidebar-preferences-QPBLTHY6.js} +1 -1
- package/dist/chunks/{store-subagents-KFPVSTRO.js → store-subagents-ZELQP3MX.js} +1 -1
- package/dist/chunks/{store-task-inbox-L53OT6ZC.js → store-task-inbox-4ZDQR2E7.js} +1 -1
- package/dist/chunks/{store-task-inventory-R2JJGAHW.js → store-task-inventory-CTIJDLYE.js} +1 -1
- package/dist/chunks/{store-taskset-drafts-FPNJPFPO.js → store-taskset-drafts-FRPBYLTW.js} +1 -1
- package/dist/chunks/{store-training-DIBW7OMP.js → store-training-WQAYUT7B.js} +1 -1
- package/dist/chunks/{store-training-jobs-K7I4SXWW.js → store-training-jobs-O5EHGTH7.js} +1 -1
- package/dist/chunks/{store-training-models-LCSB37YY.js → store-training-models-YSZMC66T.js} +1 -1
- package/dist/chunks/{taskset-XI5SJBJL.js → taskset-OVYM4QMS.js} +1 -1
- package/dist/chunks/{teams-bot-CYC5TR64.js → teams-bot-U2M3ORWR.js} +1 -1
- package/dist/chunks/{tool-learning-52QZIJIR.js → tool-learning-NXVR4YPA.js} +1 -1
- package/dist/chunks/{training-GDLLLXSV.js → training-EQ7G5FDY.js} +1 -1
- package/dist/chunks/{training-RL7UUBER.js → training-LQUAL4Y4.js} +1 -1
- package/dist/chunks/{training-UJ62NOJJ.js → training-PEZYJ2SN.js} +1 -1
- package/dist/chunks/{training-hosted-V5CHG3M3.js → training-hosted-XKSUTMLQ.js} +1 -1
- package/dist/chunks/{training-hosted-alphaedit-R5PVATV4.js → training-hosted-alphaedit-VCOEYLKK.js} +1 -1
- package/dist/chunks/{training-hosted-decision-WNK5DE3M.js → training-hosted-decision-IKWWXA56.js} +1 -1
- package/dist/chunks/{training-hosted-engram-ZQDOKXAV.js → training-hosted-engram-3TOPPVSW.js} +1 -1
- package/dist/chunks/{training-hosted-modification-comparison-KKI5CKOH.js → training-hosted-modification-comparison-C6S4JFHW.js} +1 -1
- package/dist/chunks/{training-hosted-neuron-training-CFWEDRSR.js → training-hosted-neuron-training-EP2U4PHG.js} +1 -1
- package/dist/chunks/{training-hosted-serving-report-N4NF5AVW.js → training-hosted-serving-report-KJMRZJLQ.js} +1 -1
- package/dist/chunks/{training-hosted-steering-4MDUQ2YV.js → training-hosted-steering-I27DV6A2.js} +1 -1
- package/dist/chunks/{training-model-start-NOA6TYQK.js → training-model-start-NWXNGRDC.js} +1 -1
- package/dist/chunks/{workspaces-EK62ANTB.js → workspaces-FVQYJPOS.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/skills/manifest.json +1 -1
- package/dist/web/assets/{App-L7RV4D0A.js → App-QM6Y2Eod.js} +4 -4
- package/dist/web/assets/{AppDialog-B2V84J7f.js → AppDialog-C8um481a.js} +1 -1
- package/dist/web/assets/{AppTerminalPanel-DfYpUDKT.js → AppTerminalPanel-OwNr-bp6.js} +2 -2
- package/dist/web/assets/{AppToastContext-DuiPouLz.js → AppToastContext-BQ4iRFif.js} +1 -1
- package/dist/web/assets/{AppsView-B20RHDCy.js → AppsView-mk8m_Cra.js} +1 -1
- package/dist/web/assets/{AttachmentTypeIcon-l-GRNxaz.js → AttachmentTypeIcon-SITPqTtF.js} +1 -1
- package/dist/web/assets/{BrowserSidebar-Ce0ToS2O.js → BrowserSidebar-BghdIKTB.js} +1 -1
- package/dist/web/assets/{CartesianChart-CtfMRAfp.js → CartesianChart-BdRx7q_O.js} +1 -1
- package/dist/web/assets/{ChatTimelineEntry-DzcucW20.js → ChatTimelineEntry-BBOnAzJB.js} +1 -1
- package/dist/web/assets/{CollaborationTabs-BpmKjNAC.js → CollaborationTabs-Beja-9s5.js} +1 -1
- package/dist/web/assets/{CommandMenu-JXsoxijv.js → CommandMenu-CQtrSUpu.js} +1 -1
- package/dist/web/assets/{CommunityView-ggdn8pcH.js → CommunityView-LPTAakS-.js} +1 -1
- package/dist/web/assets/{ComposerAttachments-BMmALUs_.js → ComposerAttachments-DI-Gr7Zw.js} +1 -1
- package/dist/web/assets/{ComposerCreateImproveStrip-DcM1bkfu.js → ComposerCreateImproveStrip-CY5Uw1yc.js} +1 -1
- package/dist/web/assets/{ConversationImportsSettings-BKNeARHI.js → ConversationImportsSettings-DFwhKERw.js} +1 -1
- package/dist/web/assets/{DatasetReviewImport-DyFOE0Q0.js → DatasetReviewImport-C9xraQk7.js} +1 -1
- package/dist/web/assets/{ExperimentTrainingDataWorkspace-CfOyoMrq.js → ExperimentTrainingDataWorkspace-Cx58S6R_.js} +2 -2
- package/dist/web/assets/{FilePagePreview-B7bWObJN.js → FilePagePreview-dlbmR8s8.js} +2 -2
- package/dist/web/assets/{GetStartedView-BYbFl93M.js → GetStartedView-BkTV_shK.js} +1 -1
- package/dist/web/assets/{GettingStartedDialog-UgreDozV.js → GettingStartedDialog-DulDLYnr.js} +1 -1
- package/dist/web/assets/{HostedModelLearningReview-C_kng2U_.js → HostedModelLearningReview--fXJEOfI.js} +1 -1
- package/dist/web/assets/{HostedModelLearningSettings-aesD_ifF.js → HostedModelLearningSettings-BEb7B_PC.js} +1 -1
- package/dist/web/assets/{HtmlVisual-nvl1x-jh.js → HtmlVisual-BS61T2qR.js} +1 -1
- package/dist/web/assets/{LabModelVersionDetailPage-DrdoNvI-.js → LabModelVersionDetailPage-CmzUIDbR.js} +1 -1
- package/dist/web/assets/{LabModelWorkspace-CHlhzG3q.js → LabModelWorkspace-DoAnQKWk.js} +1 -1
- package/dist/web/assets/{LabSkillSidebar-CqHeZzoj.js → LabSkillSidebar-DJTm7ZQs.js} +1 -1
- package/dist/web/assets/{LabsRoute-DzEbPpMK.js → LabsRoute-DNtBot4a.js} +4 -4
- package/dist/web/assets/{LearningBatchesPage-A2dFQW2j.js → LearningBatchesPage-C_oQjciE.js} +1 -1
- package/dist/web/assets/{MainChatThread-BSvKu4e5.js → MainChatThread-D9e-to8e.js} +2 -2
- package/dist/web/assets/{MainPane-DiWIAxMj.js → MainPane-mWeD0M-f.js} +6 -6
- package/dist/web/assets/{ModelProjectPageHeader-lu6iRXHK.js → ModelProjectPageHeader-BecKU_2p.js} +1 -1
- package/dist/web/assets/{NativeSetupTerminal-kZ-nFPE8.js → NativeSetupTerminal-DO0DN4fH.js} +2 -2
- package/dist/web/assets/{NativeSkillSidebar-DkkD1uH2.js → NativeSkillSidebar-jnxgQASC.js} +1 -1
- package/dist/web/assets/{NewProjectDialog-Dg8dMEpc.js → NewProjectDialog-ByHR4vMf.js} +1 -1
- package/dist/web/assets/{OutputsPage-Dz190U9t.js → OutputsPage-DZY4BUCy.js} +1 -1
- package/dist/web/assets/{PageChrome-Bncv-ps0.js → PageChrome-DjPuwWsn.js} +1 -1
- package/dist/web/assets/{ProjectsPage-DVkYvLtd.js → ProjectsPage-DKbwhIM4.js} +1 -1
- package/dist/web/assets/{RightChatPanelStack-CP4leenI.js → RightChatPanelStack-BARH0XuL.js} +1 -1
- package/dist/web/assets/RightSidebarHomePanel-qKL8dZrN.js +1 -0
- package/dist/web/assets/{ScheduledWorkPage-DI0mgt82.js → ScheduledWorkPage-CElrmRz9.js} +1 -1
- package/dist/web/assets/{SettingsView-cCtkr089.js → SettingsView-CsFSjE9s.js} +3 -3
- package/dist/web/assets/{TasksetDraftEditorPrimitives-DCQTuswJ.js → TasksetDraftEditorPrimitives-DJoYkvWq.js} +1 -1
- package/dist/web/assets/{TeamChatView-BBEomfQ7.js → TeamChatView-D9Y4e98Y.js} +1 -1
- package/dist/web/assets/{TerminalOverlay-Dj5NUDMp.js → TerminalOverlay-CUO8yZjy.js} +1 -1
- package/dist/web/assets/{TrainingCreationPanel-Ds4PLfsd.js → TrainingCreationPanel-_mnLQ1HA.js} +1 -1
- package/dist/web/assets/{TrainingDraftPanel-BAuh_BF3.js → TrainingDraftPanel-CCqQTHo5.js} +1 -1
- package/dist/web/assets/{UsageSettingsSection-DbzeatcW.js → UsageSettingsSection-CdWq5oYC.js} +1 -1
- package/dist/web/assets/WorkSidebarPanel-DRXaK-E6.js +1 -0
- package/dist/web/assets/{WorkspaceDiffPanel-xk-ve1MO.js → WorkspaceDiffPanel-CdHr8bX6.js} +3 -3
- package/dist/web/assets/{WorkspaceEnvironmentMenu-D8GSuoYz.js → WorkspaceEnvironmentMenu-BnUh4dg9.js} +1 -1
- package/dist/web/assets/{WorkspaceFileLocation-Dl8M2ZKN.js → WorkspaceFileLocation-VzrSq_Ki.js} +1 -1
- package/dist/web/assets/{WorkspaceGitDialogs-9BhLjYx4.js → WorkspaceGitDialogs-nwvQOm9r.js} +1 -1
- package/dist/web/assets/{WorkspaceMonacoEditor-DYPuC7pj.js → WorkspaceMonacoEditor-m3bCIpZe.js} +3 -3
- package/dist/web/assets/{WorkspacePdfPreview-B7BI9tLR.js → WorkspacePdfPreview-u6Iv0qr0.js} +2 -2
- package/dist/web/assets/{WorkspacePresentationPreview-sP7JUT7m.js → WorkspacePresentationPreview-CjvTjhUO.js} +1 -1
- package/dist/web/assets/{bot-D7M8ZtE6.js → bot-DiDSZBLn.js} +1 -1
- package/dist/web/assets/{chat-resources-DhKAnljP.js → chat-resources-CmBtWC5V.js} +1 -1
- package/dist/web/assets/chevron-down-CqxKXYPf.js +1 -0
- package/dist/web/assets/chevron-right-ClP6ukIq.js +1 -0
- package/dist/web/assets/chevron-up-DY7wpdJ1.js +1 -0
- package/dist/web/assets/{chunk-C3TS766N-DENE60SE.js → chunk-C3TS766N-DSA4vs-Y.js} +1 -1
- package/dist/web/assets/{client-gy7zrd7a.js → client-_uDCFdg5.js} +1 -1
- package/dist/web/assets/{client-choice-storage-DYZsrVr9.js → client-choice-storage-CRKZpilL.js} +1 -1
- package/dist/web/assets/{cloud-upload-De-XSMUr.js → cloud-upload-CWamjPts.js} +1 -1
- package/dist/web/assets/{copy-DEK20zbZ.js → copy-B56YjDkW.js} +1 -1
- package/dist/web/assets/{cssMode-Dau-Fhqf.js → cssMode-BuC9qQvo.js} +1 -1
- package/dist/web/assets/{external-link-DwDry0Fb.js → external-link-BSn21e-y.js} +1 -1
- package/dist/web/assets/{folder-open-DOb4AjV6.js → folder-open-CaJGWSr2.js} +1 -1
- package/dist/web/assets/{folder-plus-BAouDaXv.js → folder-plus-eTUep-az.js} +1 -1
- package/dist/web/assets/{git-commit-horizontal-DZbHXcai.js → git-commit-horizontal-Buk_hy6T.js} +1 -1
- package/dist/web/assets/{htmlMode-DlNEe6hu.js → htmlMode-D7kF2kDL.js} +1 -1
- package/dist/web/assets/{icons-OQhKVrDc.js → icons-B4B5eUyR.js} +1 -1
- package/dist/web/assets/{image-BkYJDChH.js → image--4h1aK2l.js} +1 -1
- package/dist/web/assets/{index-M_h2Ok4V.js → index-CCaTs7xt.js} +2 -2
- package/dist/web/assets/{info-Mj5lp4Ic.js → info-DjMTH4sJ.js} +1 -1
- package/dist/web/assets/{jsonMode-CyOEyonV.js → jsonMode-BVX_7KjE.js} +1 -1
- package/dist/web/assets/loader-circle-DNHvEoaP.js +1 -0
- package/dist/web/assets/{lspLanguageFeatures-DAYPzatg.js → lspLanguageFeatures-RBOb-3wX.js} +1 -1
- package/dist/web/assets/{maximize-2-BwFXSX6b.js → maximize-2-Cjg-f1xT.js} +1 -1
- package/dist/web/assets/{message-square-C2nqfNLn.js → message-square-oIMQDMc3.js} +1 -1
- package/dist/web/assets/{monaco.contribution-BZcNCJER.js → monaco.contribution-CIbGU5-C.js} +2 -2
- package/dist/web/assets/{monaco.contribution-KyLdVay7.js → monaco.contribution-CIwt2mTE.js} +2 -2
- package/dist/web/assets/{monaco.contribution-BZkfRhss.js → monaco.contribution-Dd1cPdSS.js} +2 -2
- package/dist/web/assets/{monaco.contribution-D7_X8TXe.js → monaco.contribution-KRLNg324.js} +2 -2
- package/dist/web/assets/{monitor-B0Qj5Wea.js → monitor-BWaitd6I.js} +1 -1
- package/dist/web/assets/{paperclip-CmrRruxi.js → paperclip-FYK6OySO.js} +1 -1
- package/dist/web/assets/{pdf-BM-9_48p.js → pdf-DbwlsqZP.js} +1 -1
- package/dist/web/assets/play-DieChKfF.js +1 -0
- package/dist/web/assets/plus-DkfcQyma.js +1 -0
- package/dist/web/assets/{presentation-BYxhoSIo.js → presentation-B6MaAPC7.js} +1 -1
- package/dist/web/assets/{python-B3Mj03I5.js → python-DRYJxjiM.js} +1 -1
- package/dist/web/assets/{refresh-cw-CwEmO71D.js → refresh-cw-DOVpqCfJ.js} +1 -1
- package/dist/web/assets/{save-S--FOuce.js → save-BuyyyR4Q.js} +1 -1
- package/dist/web/assets/{settings-lists-ChqDppMP.js → settings-lists-BeAdxSjx.js} +1 -1
- package/dist/web/assets/square-D0YnIVh6.js +1 -0
- package/dist/web/assets/{square-terminal-CawpQtCi.js → square-terminal-DTOIZy6_.js} +1 -1
- package/dist/web/assets/{submit-issue-command-CFitxxmO.js → submit-issue-command-V--K9lVQ.js} +1 -1
- package/dist/web/assets/{toggleHighContrast-D-cMCvXx.js → toggleHighContrast-nNzCoE0h.js} +1 -1
- package/dist/web/assets/training-DZgfVcI-.js +1 -0
- package/dist/web/assets/{training-model-data-G-D64935.js → training-model-data-CWoTokkb.js} +1 -1
- package/dist/web/assets/{tsMode-9kzS1ijG.js → tsMode-BfVi5_FZ.js} +1 -1
- package/dist/web/assets/{upload-CtYsSYrM.js → upload-C2MnlWjj.js} +1 -1
- package/dist/web/assets/{useAccountSettings-DYYa6puz.js → useAccountSettings-QwRbZIKu.js} +1 -1
- package/dist/web/assets/{useAgentInventory-c5B_Tszj.js → useAgentInventory-B7xEgMCA.js} +1 -1
- package/dist/web/assets/{useChatContextSelection-DOISZpTz.js → useChatContextSelection-O6wo4EqD.js} +1 -1
- package/dist/web/assets/{useLocalAgentSchedules-QJ8RsMKm.js → useLocalAgentSchedules-DpHnOGoV.js} +1 -1
- package/dist/web/assets/{useQuery-DuTGOe2b.js → useQuery-CvZ8bzdW.js} +1 -1
- package/dist/web/assets/{wifi-off-BOfP4Vmg.js → wifi-off-B8d12Alh.js} +1 -1
- package/dist/web/assets/{workers-BwGpyrdj.js → workers-sIVKxb8c.js} +1 -1
- package/dist/web/assets/x-BvVvVB-j.js +1 -0
- package/dist/web/assets/{yaml-BU4IWV_7.js → yaml-8-aLM3zj.js} +1 -1
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
- package/dist/chunks/chunk-NK2L5HA2.js +0 -2
- package/dist/web/assets/RightSidebarHomePanel-C0etQXpt.js +0 -1
- package/dist/web/assets/WorkSidebarPanel-BaNuXoZc.js +0 -1
- package/dist/web/assets/chevron-down-BAEcJitl.js +0 -1
- package/dist/web/assets/chevron-right-3G9s2cQ9.js +0 -1
- package/dist/web/assets/chevron-up-DTYF52H1.js +0 -1
- package/dist/web/assets/loader-circle-DXVtGvuV.js +0 -1
- package/dist/web/assets/play-CkACZ6Zo.js +0 -1
- package/dist/web/assets/plus-CB258e62.js +0 -1
- package/dist/web/assets/square-BmPfHjGU.js +0 -1
- package/dist/web/assets/training-CzbWtx75.js +0 -1
- package/dist/web/assets/x-5_iy6IDd.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,E as t,S as n,a as r,c as i,d as a,g as o,i as s,m as c,o as l,p as u,r as d,v as f,x as p}from"./schemas-Brv9Vmnk.js";import{l as m}from"./common-BWVSBnpX.js";import{t as h}from"./profile-ref-D8lxL7dW.js";import{Q as g,Z as _,m as v,zn as y}from"./training-
|
|
1
|
+
import{C as e,E as t,S as n,a as r,c as i,d as a,g as o,i as s,m as c,o as l,p as u,r as d,v as f,x as p}from"./schemas-Brv9Vmnk.js";import{l as m}from"./common-BWVSBnpX.js";import{t as h}from"./profile-ref-D8lxL7dW.js";import{Q as g,Z as _,m as v,zn as y}from"./training-DZgfVcI-.js";import{t as b}from"./chunk-Q4RGCEOI-Cr-dg4Nk.js";var x=f().trim().min(1).max(240),S=c({teamId:x,actorId:x}).strict(),C=i(`location`,[c({location:a(`local`),jobId:x,owner:S,modelRunId:x,modelId:x,modelVersionId:x.nullable(),adapterArtifactLineageId:x.nullable()}).strict(),c({location:a(`cloud`),jobId:x,owner:S,apiOrigin:e().max(2e3),modelProjectId:x,portableProjectId:x,submissionHash:f().regex(/^[a-f0-9]{64}$/)}).strict()]),w=f().trim().min(1).max(240),T=c({location:a(`local`).default(`local`),jobId:w,modelRunId:w,modelId:w,modelVersionId:w.nullable(),adapterArtifactLineageId:w.nullable(),owner:c({teamId:w,actorId:w}).strict(),taskset:m,state:d([`prepared`,`running`,`succeeded`,`failed`,`cancelled`]),executionState:d([`queued`,`starting`,`running`,`cancelling`,`cancelled`,`succeeded`,`failed`,`reconciling`]),updatedAt:t()}).strict(),E=c({location:a(`cloud`),jobId:w,owner:c({teamId:w,actorId:w}).strict(),apiOrigin:e(),job:y,updatedAt:t()}).strict().refine(e=>e.jobId===e.job.id&&e.owner.teamId===e.job.teamId&&e.updatedAt===e.job.updatedAt,`Hosted training attachment must match its canonical job.`),D=p([T,E]);function O(e){return JSON.stringify([e.location,e.location===`cloud`?e.apiOrigin:null,e.owner.teamId,e.owner.actorId,e.jobId])}function k(e){let t={location:e.location,jobId:e.jobId,owner:e.owner};return C.parse(e.location===`cloud`?{...t,apiOrigin:e.apiOrigin,modelProjectId:e.job.modelProjectId,portableProjectId:e.job.portableProjectId,submissionHash:e.job.submissionHash}:{...t,modelRunId:e.modelRunId,modelId:e.modelId,modelVersionId:e.modelVersionId,adapterArtifactLineageId:e.adapterArtifactLineageId})}var A=f().trim().min(1).max(240),j=f().regex(/^[a-f0-9]{64}$/),M=c({kind:d([`structure`,`graders`]),revision:u().int().positive(),workspaceHash:j,status:d([`passed`,`failed`,`unavailable`]),checkedAt:t(),checked:u().int().nonnegative(),total:u().int().nonnegative(),issues:r(c({code:f(),message:f(),taskId:A.optional(),graderId:A.optional()})).max(1e4),scopes:r(c({graderId:A,checked:u().int().nonnegative(),total:u().int().nonnegative(),status:d([`passed`,`failed`,`unavailable`])}).strict()).max(1e3).optional()}).strict(),N=c({apiOrigin:e(),actorId:A,teamId:A,datasetId:A,remoteRevision:u().int().nonnegative(),acknowledgedHash:j.nullable(),remoteHash:j.nullable(),pendingLocalHash:j.nullable(),paused:l(),status:d([`pending`,`syncing`,`synced`,`retry`,`conflict`,`paused`]),error:f().nullable(),operationId:A.nullable(),pendingWorkspace:b.nullable(),beginVersionOperationId:A.nullable().optional(),publicationIntent:c({operationId:A,expectedRevision:u().int().positive(),workspaceHash:j,packageHash:j,localHash:j}).strict().nullable().optional()}).strict(),P=c({schemaVersion:a(`openpond.localDataset.v1`),ownerId:A,projectId:A.nullable(),workspace:b,checks:r(M).max(2),packageHash:j.nullable(),sync:N.nullable()}).strict(),F=c({kind:d([`dataset`,`grader`,`experiment`]),id:A,revision:u().int().positive(),name:f().max(500),state:f().max(100),datasetId:A.optional(),datasetRevision:u().int().positive().optional(),taskCount:u().int().nonnegative().optional(),graderCount:u().int().nonnegative().optional(),checkState:f().optional(),syncState:f().optional(),model:f().optional(),evaluationHash:j.optional(),graderId:A.optional(),graderType:f().optional(),description:f().optional(),location:d([`local`,`cloud`]).optional(),scoreLabel:f().optional(),owner:c({teamId:A,actorId:A}).strict().optional(),contentHash:j.optional(),profileRef:h.optional(),score:u().nullable().optional(),costUsd:u().nonnegative().nullable().optional(),evaluatedCount:u().int().nonnegative().optional(),failedCount:u().int().nonnegative().optional(),qualityFailureCount:u().int().nonnegative().optional(),executionFailureCount:u().int().nonnegative().optional(),ungradedCount:u().int().nonnegative().optional(),rows:r(c({id:A,label:f(),detail:f(),score:u().nullable().optional()})).max(10)}).strict(),I=c({id:A,ordinal:u().int().positive(),name:f().trim().min(1).max(500),draft:v.optional(),storedDraft:_.optional(),draftRevision:u().int().positive().optional(),creationHash:j.optional(),dataset:F.nullable(),evaluationModel:f().min(1).max(500).optional(),executionLocation:d([`local`,`cloud`]).optional(),graders:r(F),selectedGraderId:A.nullable(),runs:r(F),selectedRunId:A.nullable(),training:r(D).optional(),selectedTrainingKey:f().max(4e3).nullable().optional(),selectedTrainingJobId:A.nullable().optional(),results:r(g).max(16).optional(),turnIds:r(A),operationId:A,createdAt:t(),updatedAt:t()}).strict(),L=I.extend({ordinal:s()});c({datasetFocus:L.optional(),scopes:r(I),activeScopeId:A.nullable(),selectionVersion:u().int().nonnegative(),selectedAt:t().nullable(),selectionOperations:o(f(),c({hash:j,version:u().int().nonnegative(),visualPublicationId:f().optional(),resource:F.optional()}).strict()).default({})}).strict();function R(e){return[...e.scopes,...e.datasetFocus?[e.datasetFocus]:[]]}c({action:d([`schema`,`list`,`read`,`create`,`save`,`file`,`validate`,`check_graders`,`check_sources`,`package`,`import`,`inspect_source`,`import_source`,`upload`,`sync`,`pause_sync`,`disconnect_sync`,`related_chats`,`list_graders`,`read_grader`,`save_grader`,`test_grader`,`publish`]),id:A.optional(),operationId:A.optional(),expectedRevision:u().int().nonnegative().optional(),payload:o(f(),n()).default({})}).strict();var z=c({contentHash:j,scope:f(),graders:n(),cases:r(c({id:A,taskId:A,seed:f(),status:f(),output:f().nullable(),error:f().nullable(),score:u().nullable()}).strict()).max(1e4)}).strict();export{D as a,C as c,R as i,F as n,O as o,P as r,k as s,z as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./icons-B4B5eUyR.js";var t=e(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]);export{t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./icons-B4B5eUyR.js";var t=e(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]);export{t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./icons-B4B5eUyR.js";var t=e(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{g as t,h as n,m as r}from"./index-M_h2Ok4V.js";import{E as i,a,c as o,d as s,m as c,o as l,p as u,r as d,v as f,x as p}from"./schemas-Brv9Vmnk.js";import{c as m,d as ee,i as h,o as g,s as _}from"./common-BWVSBnpX.js";import{t as te}from"./model-display-zPvC4L2B.js";import{C as ne,D as re,E as ie,F as ae,K as oe,N as v,O as se,Q as ce,S as le,T as ue,Tt as y,X as de,_ as fe,b as pe,ft as me,g as b,h as x,k as he,m as ge,nt as _e,p as S,pt as ve,q as ye,s as C,v as w,w as be,x as xe,y as Se}from"./chunk-H3JZ3P5T-DolwEJXo.js";import{c as T,l as E,o as D,s as O,t as k,u as A}from"./reward-checks-DJJZYgf8.js";import{n as j,r as Ce}from"./intake-contracts-B8JZKYwb.js";import{s as we}from"./app-models-BUdzQbXo.js";import{t as Te}from"./icons-OQhKVrDc.js";import{t as Ee}from"./loader-circle-DXVtGvuV.js";import{t as De}from"./x-5_iy6IDd.js";import{At as Oe,gn as ke,kt as Ae}from"./App-L7RV4D0A.js";var M=o(`kind`,[c({kind:s(`manual`),identity:_}).strict(),c({kind:s(`schedule`),scheduledAt:m}).strict(),c({kind:s(`approved_count`),checkedAt:m}).strict()]),N=c({schemaVersion:s(`openpond.learningChain.v1`),id:_,revision:u().int().positive(),modelProjectId:_,activeIterationId:_.nullable(),acceptedParent:S.nullable().optional(),latestIterationId:_,lastReservedAt:m.nullable(),updatedAt:m}).strict(),P=c({eligible:u().int().nonnegative(),awaitingReview:u().int().nonnegative(),excluded:u().int().nonnegative(),consumed:u().int().nonnegative()}).strict(),je=c({schemaVersion:s(`openpond.learningConsumption.v1`),id:_,revision:s(1),chainId:_,iterationId:_,evidence:w,decision:w,reservedAt:m}).strict(),Me=c({schemaVersion:s(`openpond.learningIterationReservation.v1`),id:_,revision:u().int().positive(),chainId:_,iterationId:_,policy:w,trigger:M,requestHash:g,outcome:d([`reserved`,`waiting_for_data`,`waiting_for_review`]),counts:P,budget:c({maximumSpendUsd:u().nonnegative(),reservedSpendUsd:u().nonnegative(),settledSpendUsd:u().nonnegative(),settledAt:m.nullable()}).strict(),createdAt:m,updatedAt:m}).strict(),F=c({operationId:_}),Ne=F.extend({action:s(`import_intake`),format:Ce,files:a(j).min(1).max(100),expectedPreviewHash:f().length(64),name:f().trim().min(1).max(500),recordIds:a(f().min(1).max(200)).min(1).max(90)}).strict(),I=F.extend({action:s(`publish`),expectedRevision:u().int().nonnegative(),finalizeDraft:D.optional()}),L=o(`kind`,[I.extend({kind:s(`asset`),content:E}).strict(),I.extend({kind:s(`definition`),content:ne}).strict(),I.extend({kind:s(`reward`),content:de}).strict(),I.extend({kind:s(`binding`),content:oe}).strict(),I.extend({kind:s(`source`),content:Se}).strict(),I.extend({kind:s(`policy`),content:b}).strict()]),Pe=F.extend({action:s(`publish_resources`),finalizeDraft:D.optional(),resources:a(p(L.options.map(e=>e.omit({operationId:!0,action:!0,finalizeDraft:!0})))).min(1).max(20)}).strict(),Fe=F.extend({action:s(`submit_example`),example:ie}).strict(),Ie=F.extend({action:s(`submit_feedback`),feedback:se}).strict(),Le=F.extend({action:s(`apply_correction`),feedbackId:_,evidence:w}).strict(),Re=F.extend({action:s(`resolve_feedback`),feedbackId:_,expectedRevision:u().int().positive(),disposition:d([`applied`,`rejected`,`superseded`]),decision:w.nullable(),note:f().max(2e4)}).strict(),ze=F.extend({action:s(`queue_grade`),evidence:w,target:d([`observed`,`proposed_target`]),proposedTarget:x.nullable(),timeoutMs:u().int().min(100).max(3e5).default(3e4),maximumSpendUsd:u().nonnegative().max(1e3).default(0)}).strict(),Be=F.extend({action:s(`review`),evidence:w,expectedRevision:u().int().nonnegative(),disposition:d([`approved`,`rejected`,`pending`]),targetApproval:d([`approved`,`rejected`,`pending`,`not_required`]),approvedTarget:x.nullable(),observedGradeId:_.nullable(),targetGradeId:_.nullable(),note:f().max(2e4)}).strict(),Ve=F.extend({action:s(`seal_batch`),batchId:_,taskDefinition:w,purpose:d([`supervised_training`,`reward_training`,`evaluation`]),evidence:a(w).min(1).max(1e4),decisions:a(w).min(1).max(1e4)}).strict(),He=F.extend({action:s(`cancel_grade`),gradeId:_,expectedRevision:u().int().positive()}).strict(),Ue=F.extend({action:s(`save_draft`),expectedRevision:u().int().nonnegative(),draft:O}).strict(),We=F.extend({action:s(`archive_draft`),draft:w}).strict(),Ge=F.extend({action:s(`queue_reward_check`),draft:w,timeoutMs:u().int().min(100).max(3e5).default(3e4),maximumSpendUsd:u().nonnegative().max(1e3).default(0)}).strict(),R=F.extend({action:s(`cancel_reward_check`),checkId:_,expectedRevision:u().int().positive()}).strict(),Ke=F.extend({action:s(`publish_checked_reward`),draft:w,checkId:_,checkRevision:u().int().positive()}).strict(),qe=F.extend({action:s(`reserve_iteration`),policy:w,trigger:M}).strict(),Je=F.extend({action:s(`cancel_iteration_reservation`),iterationId:_,expectedRevision:u().int().positive()}).strict(),Ye=F.extend({action:s(`cancel_iteration`),iterationId:_,expectedRevision:u().int().positive()}).strict(),Xe=F.extend({action:s(`retry_iteration_dispatch`),iterationId:_,expectedRevision:u().int().positive()}).strict(),Ze=p([Ke,Ne,Ye,Xe,Je,qe,Ge,R,Ue,We,L,Pe,Fe,Ie,Le,Re,ze,Be,Ve,He]),Qe=c({provider:_,protocol:_,payload:x}).strict(),$e=o(`status`,[c({status:s(`ready`)}).strict(),c({status:s(`deferred`),retryAt:m,reason:f().trim().min(1).max(2e3)}).strict()]),et=c({scope:_,dispatchId:_,submissionHash:f().regex(/^[a-f0-9]{64}$/),leaseGeneration:u().int().positive(),status:s(`deferred`),retryAt:m,reason:f().trim().min(1).max(2e3),receipt:h}).strict(),z=c({schemaVersion:s(`openpond.learningIterationDispatch.v1`),id:_,revision:u().int().positive(),iterationId:_,chainId:_,policy:w,batch:w,state:d([`preparing`,`prepared`,`submitted`,`settled`,`blocked`]),submission:Qe.nullable(),submissionHash:f().regex(/^[a-f0-9]{64}$/).nullable(),submissionStartedAt:m.nullable(),execution:h.nullable(),terminalReceipt:h.nullable(),cancelRequestedAt:m.nullable(),leaseOwner:_.nullable(),leaseGeneration:u().int().nonnegative(),leaseExpiresAt:m.nullable(),consecutiveFailures:u().int().nonnegative(),nextAttemptAt:m.nullable(),admission:$e.nullable().optional(),lastSubmissionDeferral:et.optional(),lastError:f().max(2e4).nullable(),createdAt:m,updatedAt:m}).strict().superRefine((e,t)=>{(!!e.submission!=!!e.submissionHash||e.submission&&ee(e.submission)!==e.submissionHash)&&t.addIssue({code:`custom`,path:[`submissionHash`],message:`Dispatch submission identity changed.`}),e.submissionStartedAt&&!e.submission&&t.addIssue({code:`custom`,path:[`submission`],message:`A started dispatch requires its persisted submission.`}),e.admission?.status===`deferred`&&(e.submissionStartedAt||e.state!==`prepared`||e.nextAttemptAt!==e.admission.retryAt)&&t.addIssue({code:`custom`,path:[`admission`],message:`Admission deferral requires an unstarted prepared dispatch and its retry time.`}),e.lastSubmissionDeferral&&(e.lastSubmissionDeferral.dispatchId!==e.id||e.lastSubmissionDeferral.submissionHash!==e.submissionHash||e.lastSubmissionDeferral.leaseGeneration>=e.leaseGeneration)&&t.addIssue({code:`custom`,path:[`lastSubmissionDeferral`],message:`A retained deferral must identify an earlier fenced attempt of this submission.`}),e.execution&&!e.submissionStartedAt&&t.addIssue({code:`custom`,path:[`execution`],message:`An execution requires a started dispatch.`}),[`prepared`,`submitted`].includes(e.state)&&!e.submission&&t.addIssue({code:`custom`,path:[`state`],message:`A prepared dispatch requires its immutable submission.`}),e.state===`submitted`&&!e.execution&&t.addIssue({code:`custom`,path:[`execution`],message:`A submitted dispatch requires an observed execution.`}),e.state===`settled`&&e.submissionStartedAt&&!e.terminalReceipt&&t.addIssue({code:`custom`,path:[`terminalReceipt`],message:`A started dispatch requires terminal receipt evidence before settlement.`}),!!e.leaseOwner!=!!e.leaseExpiresAt&&t.addIssue({code:`custom`,path:[`leaseOwner`],message:`Dispatch lease owner and expiration must be recorded together.`})});c({scope:_,dispatchId:_,submissionHash:f().regex(/^[a-f0-9]{64}$/),execution:h.nullable(),status:d([`running`,`evaluating`,`succeeded`,`failed`,`cancelled`]),spendUsd:u().nonnegative(),cleanupComplete:l(),receipt:h.nullable(),evaluation:h.nullable(),candidate:h.nullable(),failure:f().max(2e4).nullable()}).strict().superRefine((e,t)=>{[`succeeded`,`failed`,`cancelled`].includes(e.status)&&(!e.cleanupComplete||!e.receipt)&&t.addIssue({code:`custom`,path:[`receipt`],message:`Terminal execution requires an authoritative cleanup receipt.`}),e.status!==`cancelled`&&!e.execution&&t.addIssue({code:`custom`,path:[`execution`],message:`The execution identity is required.`}),e.candidate&&(e.status!==`succeeded`||!e.evaluation)&&t.addIssue({code:`custom`,path:[`candidate`],message:`A candidate requires successful retained evaluation.`})});var B=c({schemaVersion:s(`openpond.learningSchedule.v1`),id:_,revision:u().int().positive(),policy:w,modelProjectId:_,executionOwner:d([`local`,`hosted`]),state:d([`scheduled`,`disabled`,`blocked`]),intervalSeconds:u().int().min(60).max(31536e3).nullable(),calendar:ae.nullable().default(null),nextRunAt:m.nullable(),lastFire:w.nullable(),consecutiveFailures:u().int().nonnegative(),nextAttemptAt:m.nullable(),lastError:f().max(2e4).nullable(),createdAt:m,updatedAt:m}).strict().superRefine((e,t)=>{e.state!==`disabled`&&(!e.intervalSeconds&&!e.calendar||!e.nextRunAt)&&t.addIssue({code:`custom`,path:[`nextRunAt`],message:`An active timer must retain its cadence and due time.`}),e.state===`disabled`&&e.nextRunAt&&t.addIssue({code:`custom`,path:[`nextRunAt`],message:`A disabled timer cannot have a pending occurrence.`}),e.intervalSeconds&&e.calendar&&t.addIssue({code:`custom`,path:[`calendar`],message:`A timer uses either an interval or a nightly calendar.`})}),tt=c({schemaVersion:s(`openpond.learningScheduleFire.v1`),id:_,revision:s(1),scheduleId:_,policy:w,scheduledAt:m,coalescedThroughAt:m,coalescedCount:u().int().nonnegative(),outcome:d([`reserved`,`waiting_for_data`,`waiting_for_review`,`skipped`]),reason:d([`active_iteration`,`cooldown`,`daily_budget`]).nullable(),iteration:c({id:_,revision:u().int().positive()}).strict().nullable(),createdAt:m,contentHash:g}).strict().superRefine((e,t)=>{(e.outcome===`skipped`!=!!e.reason||e.outcome!==`skipped`!=!!e.iteration)&&t.addIssue({code:`custom`,path:[`outcome`],message:`A fire retains either its reservation or its explicit skip reason.`})}),V={draft:T,reward_check:k,asset:A,definition:be,reward:ce,binding:ye,source:pe,evidence:ue,feedback:re,decision:xe,batch:le,policy:fe,chain:N,consumption:je,reservation:Me,dispatch:z,schedule:B,schedule_fire:tt,iteration:ge,grade:he,package:ve},H=d(Object.keys(V)),U=c({policy:w,modelProjectId:_,inspectedAt:m,chain:N.nullable(),trainingParent:c({reference:h,selection:S.nullable()}).strict().nullable().default(null),counts:P.nullable(),minimumApprovedExamples:u().int().positive(),canReserve:l(),blockers:a(c({code:f().min(1).max(200),message:f().min(1).max(2e4)}).strict()).max(20),cooldownUntil:m.nullable(),budget:c({reservedSpendUsd:u().nonnegative(),settledSpendUsd:u().nonnegative(),committedSpendUsd:u().nonnegative(),maximumIterationSpendUsd:u().nonnegative(),maximumDailySpendUsd:u().nonnegative()}).strict()}).strict(),nt=c({modelProjectId:_.nullable(),inspectedAt:m,pendingTrainingCount:u().int().nonnegative().nullable(),issues:a(c({policyId:_,code:f(),message:f()}).strict())}).strict();function rt(e){try{y(e,16777216)}catch(e){throw new _e(`learning_json_invalid`,400,e instanceof Error?e.message:`Expected bounded JSON.`)}}var it=c({scope:_,command:Ze}).strict(),W=o(`action`,[c({action:s(`inspect_task_queue`),scope:_,modelProjectId:_.nullable()}).strict(),c({action:s(`inspect_policy`),scope:_,policy:w}).strict(),c({action:s(`inspect_evidence`),scope:_,evidence:w}).strict(),c({action:s(`get`),scope:_,kind:H,id:_,revision:u().int().positive().optional()}).strict(),c({action:s(`list`),scope:_,kind:H,parentId:_.optional(),status:f().min(1).max(200).optional(),reviewState:d([`inbox`,`reviewed`]).optional(),afterId:_.optional(),limit:u().int().min(1).max(100).default(50)}).strict()]),at=c({evidence:w,definition:w,inspection:c({evidenceValidity:d([`valid`,`invalid`]),taskReady:l(),observedOutputValid:l().nullable(),issues:a(c({path:f(),code:f(),message:f()}).strict()).max(100)}).strict()}).strict(),G=c({operationId:_,resources:a(p(Object.values(V))).max(100)}).strict(),ot=Te(`circle`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]),K=e(Oe(),1),st=e(Ae(),1),q=e(t(),1),ct=n(),J=r();K.default.extend(st.default);var lt=e=>(0,K.default)(e).isValid()?(0,K.default)(e).fromNow():`Unknown time`;function ut({status:e,iconOnly:t=!1}){let n=e.toLowerCase(),r=[`completed`,`passed`,`ready`,`published`,`scored`,`succeeded`].includes(n),i=[`failed`,`error`,`rejected`,`budget_exhausted`].includes(n),a=[`queued`,`running`,`cancelling`,`checking`,`pending`].includes(n),o=r?ke:i?De:a?Ee:ot;return(0,J.jsxs)(`span`,{title:e.replaceAll(`_`,` `),"aria-label":e.replaceAll(`_`,` `),className:`evaluation-status evaluation-status-${r?`success`:i?`error`:a?`progress`:`neutral`}`,children:[(0,J.jsx)(o,{size:13,"aria-hidden":`true`}),t?null:e.replaceAll(`_`,` `)]})}function dt({name:e,onOpen:t}){let n=te(we(e));return t?(0,J.jsx)(`button`,{type:`button`,title:n,className:`evaluation-model`,onClick:e=>{e.stopPropagation(),t()},children:n}):(0,J.jsx)(`span`,{title:n,className:`evaluation-model`,children:n})}function ft({value:e}){let t=(0,q.useRef)(null),n=(0,q.useId)(),[r,i]=(0,q.useState)(!1),[a,o]=(0,q.useState)(!1),[s,c]=(0,q.useState)(null),l=r||a;(0,q.useEffect)(()=>{if(!l)return;let e=()=>{let e=t.current?.getBoundingClientRect();if(!e)return;let n=Math.min(360,window.innerWidth-24);c({left:Math.max(12,Math.min(e.left,window.innerWidth-n-12)),top:window.innerHeight-e.bottom<80?Math.max(12,e.top-72):e.bottom+8})};return e(),window.addEventListener(`resize`,e),window.addEventListener(`scroll`,e,!0),()=>{window.removeEventListener(`resize`,e),window.removeEventListener(`scroll`,e,!0)}},[l]);let u=e?(0,K.default)(e):null;if(!u?.isValid())return(0,J.jsx)(`span`,{children:`Unknown`});let d=`${u.format(`MMM D, YYYY h:mm:ss A Z`)} (${Intl.DateTimeFormat().resolvedOptions().timeZone})`;return(0,J.jsxs)(`span`,{ref:t,className:`evaluation-time`,tabIndex:0,"aria-label":d,"aria-describedby":l?n:void 0,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),onFocus:()=>o(!0),onBlur:()=>o(!1),onKeyDown:e=>{e.key===`Escape`&&(i(!1),o(!1))},children:[(0,J.jsx)(`time`,{dateTime:u.toISOString(),children:u.fromNow()}),l&&s?(0,ct.createPortal)((0,J.jsx)(`span`,{id:n,className:`evaluation-time-tooltip`,role:`tooltip`,style:s,children:d}),document.body):null]})}function pt({title:e,children:t}){return(0,J.jsxs)(`section`,{className:`evaluation-card`,children:[(0,J.jsx)(`h3`,{children:e}),t]})}var Y=class extends Error{constructor(e,t,n,r){super(n),this.status=e,this.code=t,this.details=r,this.name=`OpenPondLearningError`}status;code;details},X=c({id:C,scope:C,sourceId:C,name:f().trim().min(1).max(100),keyPrefix:f().min(1).max(100),createdAt:i(),expiresAt:i(),revokedAt:i().nullable()}).strict(),Z=f().regex(/^opk_key_[A-Za-z0-9]{16}_[A-Za-z0-9]{48}$/),Q=o(`action`,[c({action:s(`create`),scope:C,sourceId:C,name:f().trim().min(1).max(100),expiresAt:i(),operationId:C,apiKey:Z}).strict(),c({action:s(`list`),scope:C,sourceId:C,afterId:C.optional(),limit:u().int().min(1).max(100).default(30)}).strict(),c({action:s(`revoke`),scope:C,sourceId:C,id:C}).strict()]),mt=c({credential:X,apiKey:Z}).strict(),ht=c({items:a(X).max(100),nextCursor:C.nullable()}).strict(),gt=c({scope:C,sourceId:C}).strict(),_t=c({scope:C,source:w,taskDefinition:w,enabled:l(),allowedSplits:a(me).min(1).max(4)}).strict();function vt(e){return{...e,operationId:crypto.randomUUID(),apiKey:`opk_key_${$(16)}_${$(48)}`}}function $(e){let t=``;for(;t.length<e;)for(let n of crypto.getRandomValues(new Uint8Array(64)))if(n<248&&(t+=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`[n%62]),t.length===e)return t;return t}var yt=c({batchId:f().trim().min(1).max(500),modelProjectId:f().trim().min(1).max(500)}).strict(),bt=c({batchId:f().min(1),projectId:f().min(1),tasksetId:f().min(1),releaseId:f().min(1),revision:u().int().positive(),contentHash:f().regex(/^[a-f0-9]{64}$/)}).strict(),xt=class{#e;constructor(e){if(!e.apiKey.trim()||!e.scope.trim())throw Error(`Learning API key and scope are required.`);let t=new URL(e.baseUrl);if(![`http:`,`https:`].includes(t.protocol)||t.username||t.password||t.search||t.hash)throw Error(`Learning base URL must be an HTTP(S) endpoint without credentials, query, or fragment.`);this.#e={...e,baseUrl:t.toString().replace(/\/+$/,``)}}async command(e,t={}){rt(e);let n=it.parse({scope:this.#e.scope,command:e}),r=G.parse(await this.#n(`commands`,n,t));if(r.operationId!==e.operationId)throw new Y(502,`operation_identity_mismatch`,`Learning response did not match the submitted operation.`,null);return r}submitExample(e,t={}){return this.command({action:`submit_example`,operationId:e.idempotencyKey,example:e},t)}submitFeedback(e,t={}){return this.command({action:`submit_feedback`,operationId:e.idempotencyKey,feedback:e},t)}async get(e,t,n,r={}){let i=W.parse({action:`get`,scope:this.#e.scope,kind:e,id:t,...n===void 0?{}:{revision:n}});return V[e].parse(await this.#n(`read`,i,r))}async inspectEvidence(e,t={}){let n=W.parse({action:`inspect_evidence`,scope:this.#e.scope,evidence:e}),r=at.parse(await this.#n(`read`,n,t));if(!v(r.evidence,e))throw new Y(502,`evidence_identity_mismatch`,`Inspection did not match the requested evidence release.`,null);return r}async inspectTaskQueue(e=null,t={}){let n=W.parse({action:`inspect_task_queue`,scope:this.#e.scope,modelProjectId:e}),r=nt.parse(await this.#n(`read`,n,t));if(r.modelProjectId!==e)throw new Y(502,`model_identity_mismatch`,`Task queue did not match the requested Model.`,null);return r}async inspectPolicy(e,t={}){let n=W.parse({action:`inspect_policy`,scope:this.#e.scope,policy:e}),r=U.parse(await this.#n(`read`,n,t));if(!v(r.policy,e))throw new Y(502,`policy_identity_mismatch`,`Inspection did not match the requested policy release.`,null);return r}async createSourceCredential(e,t={}){let n=Q.parse({...e,action:`create`,scope:this.#e.scope}),r=mt.parse(await this.#n(`credentials`,n,t));if(this.#t(r.credential,e.sourceId),r.apiKey!==e.apiKey||!e.apiKey.startsWith(`${r.credential.keyPrefix}_`))throw new Y(502,`credential_identity_mismatch`,`Credential response did not match the prepared credential.`,null);return r}async listSourceCredentials(e,t={},n={}){let r=Q.parse({...t,action:`list`,scope:this.#e.scope,sourceId:e}),i=ht.parse(await this.#n(`credentials`,r,n));if(i.items.length>(t.limit??30))throw new Y(502,`credential_page_invalid`,`Credential response exceeded the requested page size.`,null);for(let t of i.items)this.#t(t,e);return i}async revokeSourceCredential(e,t,n={}){let r=Q.parse({action:`revoke`,scope:this.#e.scope,sourceId:e,id:t}),i=X.parse(await this.#n(`credentials`,r,n));if(this.#t(i,e),i.id!==t||i.revokedAt===null)throw new Y(502,`credential_revocation_mismatch`,`Credential revocation did not match the requested credential.`,null);return i}async sourceConfiguration(e,t={}){let n=gt.parse({scope:this.#e.scope,sourceId:e}),r=_t.parse(await this.#n(`source-config`,n,t));if(r.scope!==this.#e.scope||r.source.id!==e)throw new Y(502,`source_identity_mismatch`,`Source configuration did not match the requested source.`,null);return r}#t(e,t){if(e.scope!==this.#e.scope||e.sourceId!==t)throw new Y(502,`credential_scope_mismatch`,`Credential response did not match the requested source.`,null)}async list(e,t={},n={}){let r=W.parse({action:`list`,scope:this.#e.scope,kind:e,...t});return c({items:a(V[e]).max(100),nextCursor:f().nullable()}).strict().parse(await this.#n(`read`,r,n))}async publishBatch(e,t={}){let n=yt.parse(e),r=bt.parse(await this.#n(`publish-batch`,{...n,scope:this.#e.scope},t));if(r.batchId!==n.batchId)throw new Y(502,`batch_identity_mismatch`,`Published batch response did not match the requested batch.`,null);return r}async#n(e,t,n){y(t,16777216);let r=await(this.#e.fetch??globalThis.fetch)(`${this.#e.baseUrl}/v1/learning/${e}`,{method:`POST`,headers:{Authorization:`Bearer ${this.#e.apiKey}`,"Content-Type":`application/json`,Accept:`application/json`,"X-OpenPond-Team-Id":this.#e.scope},body:JSON.stringify(t),signal:n.signal,redirect:`error`}),i=await St(r);if(!r.ok){let e=c({code:f().optional(),error:f().optional()}).passthrough().safeParse(i);throw new Y(r.status,e.success?e.data.code??`learning_request_failed`:`learning_request_failed`,e.success?e.data.error??`Learning request failed (${r.status}).`:`Learning request failed (${r.status}).`,i)}return i}};async function St(e){let t=16777216,n=e.body?.getReader();if(!n)throw new Y(e.status,`empty_response`,`Learning response was empty.`,null);let r=new TextDecoder,i=0,a=``;try{for(;;){let o=await n.read();if(o.done)break;if(i+=o.value.byteLength,i>t)throw new Y(e.status,`response_too_large`,`Learning response exceeded 16 MiB; request a smaller page.`,null);a+=r.decode(o.value,{stream:!0})}a+=r.decode();let o=JSON.parse(a);return y(o,t),o}finally{await n.cancel(),n.releaseLock()}}export{ut as a,G as c,z as d,dt as i,U as l,vt as n,ft as o,pt as r,lt as s,xt as t,B as u};
|
|
1
|
+
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{g as t,h as n,m as r}from"./index-CCaTs7xt.js";import{E as i,a,c as o,d as s,m as c,o as l,p as u,r as d,v as f,x as p}from"./schemas-Brv9Vmnk.js";import{c as m,d as ee,i as h,o as g,s as _}from"./common-BWVSBnpX.js";import{t as te}from"./model-display-zPvC4L2B.js";import{C as ne,D as re,E as ie,F as ae,K as oe,N as v,O as se,Q as ce,S as le,T as ue,Tt as y,X as de,_ as fe,b as pe,ft as me,g as b,h as x,k as he,m as ge,nt as _e,p as S,pt as ve,q as ye,s as C,v as w,w as be,x as xe,y as Se}from"./chunk-H3JZ3P5T-DolwEJXo.js";import{c as T,l as E,o as D,s as O,t as k,u as A}from"./reward-checks-DJJZYgf8.js";import{n as j,r as Ce}from"./intake-contracts-B8JZKYwb.js";import{s as we}from"./app-models-BUdzQbXo.js";import{t as Te}from"./icons-B4B5eUyR.js";import{t as Ee}from"./loader-circle-DNHvEoaP.js";import{t as De}from"./x-BvVvVB-j.js";import{At as Oe,gn as ke,kt as Ae}from"./App-QM6Y2Eod.js";var M=o(`kind`,[c({kind:s(`manual`),identity:_}).strict(),c({kind:s(`schedule`),scheduledAt:m}).strict(),c({kind:s(`approved_count`),checkedAt:m}).strict()]),N=c({schemaVersion:s(`openpond.learningChain.v1`),id:_,revision:u().int().positive(),modelProjectId:_,activeIterationId:_.nullable(),acceptedParent:S.nullable().optional(),latestIterationId:_,lastReservedAt:m.nullable(),updatedAt:m}).strict(),P=c({eligible:u().int().nonnegative(),awaitingReview:u().int().nonnegative(),excluded:u().int().nonnegative(),consumed:u().int().nonnegative()}).strict(),je=c({schemaVersion:s(`openpond.learningConsumption.v1`),id:_,revision:s(1),chainId:_,iterationId:_,evidence:w,decision:w,reservedAt:m}).strict(),Me=c({schemaVersion:s(`openpond.learningIterationReservation.v1`),id:_,revision:u().int().positive(),chainId:_,iterationId:_,policy:w,trigger:M,requestHash:g,outcome:d([`reserved`,`waiting_for_data`,`waiting_for_review`]),counts:P,budget:c({maximumSpendUsd:u().nonnegative(),reservedSpendUsd:u().nonnegative(),settledSpendUsd:u().nonnegative(),settledAt:m.nullable()}).strict(),createdAt:m,updatedAt:m}).strict(),F=c({operationId:_}),Ne=F.extend({action:s(`import_intake`),format:Ce,files:a(j).min(1).max(100),expectedPreviewHash:f().length(64),name:f().trim().min(1).max(500),recordIds:a(f().min(1).max(200)).min(1).max(90)}).strict(),I=F.extend({action:s(`publish`),expectedRevision:u().int().nonnegative(),finalizeDraft:D.optional()}),L=o(`kind`,[I.extend({kind:s(`asset`),content:E}).strict(),I.extend({kind:s(`definition`),content:ne}).strict(),I.extend({kind:s(`reward`),content:de}).strict(),I.extend({kind:s(`binding`),content:oe}).strict(),I.extend({kind:s(`source`),content:Se}).strict(),I.extend({kind:s(`policy`),content:b}).strict()]),Pe=F.extend({action:s(`publish_resources`),finalizeDraft:D.optional(),resources:a(p(L.options.map(e=>e.omit({operationId:!0,action:!0,finalizeDraft:!0})))).min(1).max(20)}).strict(),Fe=F.extend({action:s(`submit_example`),example:ie}).strict(),Ie=F.extend({action:s(`submit_feedback`),feedback:se}).strict(),Le=F.extend({action:s(`apply_correction`),feedbackId:_,evidence:w}).strict(),Re=F.extend({action:s(`resolve_feedback`),feedbackId:_,expectedRevision:u().int().positive(),disposition:d([`applied`,`rejected`,`superseded`]),decision:w.nullable(),note:f().max(2e4)}).strict(),ze=F.extend({action:s(`queue_grade`),evidence:w,target:d([`observed`,`proposed_target`]),proposedTarget:x.nullable(),timeoutMs:u().int().min(100).max(3e5).default(3e4),maximumSpendUsd:u().nonnegative().max(1e3).default(0)}).strict(),Be=F.extend({action:s(`review`),evidence:w,expectedRevision:u().int().nonnegative(),disposition:d([`approved`,`rejected`,`pending`]),targetApproval:d([`approved`,`rejected`,`pending`,`not_required`]),approvedTarget:x.nullable(),observedGradeId:_.nullable(),targetGradeId:_.nullable(),note:f().max(2e4)}).strict(),Ve=F.extend({action:s(`seal_batch`),batchId:_,taskDefinition:w,purpose:d([`supervised_training`,`reward_training`,`evaluation`]),evidence:a(w).min(1).max(1e4),decisions:a(w).min(1).max(1e4)}).strict(),He=F.extend({action:s(`cancel_grade`),gradeId:_,expectedRevision:u().int().positive()}).strict(),Ue=F.extend({action:s(`save_draft`),expectedRevision:u().int().nonnegative(),draft:O}).strict(),We=F.extend({action:s(`archive_draft`),draft:w}).strict(),Ge=F.extend({action:s(`queue_reward_check`),draft:w,timeoutMs:u().int().min(100).max(3e5).default(3e4),maximumSpendUsd:u().nonnegative().max(1e3).default(0)}).strict(),R=F.extend({action:s(`cancel_reward_check`),checkId:_,expectedRevision:u().int().positive()}).strict(),Ke=F.extend({action:s(`publish_checked_reward`),draft:w,checkId:_,checkRevision:u().int().positive()}).strict(),qe=F.extend({action:s(`reserve_iteration`),policy:w,trigger:M}).strict(),Je=F.extend({action:s(`cancel_iteration_reservation`),iterationId:_,expectedRevision:u().int().positive()}).strict(),Ye=F.extend({action:s(`cancel_iteration`),iterationId:_,expectedRevision:u().int().positive()}).strict(),Xe=F.extend({action:s(`retry_iteration_dispatch`),iterationId:_,expectedRevision:u().int().positive()}).strict(),Ze=p([Ke,Ne,Ye,Xe,Je,qe,Ge,R,Ue,We,L,Pe,Fe,Ie,Le,Re,ze,Be,Ve,He]),Qe=c({provider:_,protocol:_,payload:x}).strict(),$e=o(`status`,[c({status:s(`ready`)}).strict(),c({status:s(`deferred`),retryAt:m,reason:f().trim().min(1).max(2e3)}).strict()]),et=c({scope:_,dispatchId:_,submissionHash:f().regex(/^[a-f0-9]{64}$/),leaseGeneration:u().int().positive(),status:s(`deferred`),retryAt:m,reason:f().trim().min(1).max(2e3),receipt:h}).strict(),z=c({schemaVersion:s(`openpond.learningIterationDispatch.v1`),id:_,revision:u().int().positive(),iterationId:_,chainId:_,policy:w,batch:w,state:d([`preparing`,`prepared`,`submitted`,`settled`,`blocked`]),submission:Qe.nullable(),submissionHash:f().regex(/^[a-f0-9]{64}$/).nullable(),submissionStartedAt:m.nullable(),execution:h.nullable(),terminalReceipt:h.nullable(),cancelRequestedAt:m.nullable(),leaseOwner:_.nullable(),leaseGeneration:u().int().nonnegative(),leaseExpiresAt:m.nullable(),consecutiveFailures:u().int().nonnegative(),nextAttemptAt:m.nullable(),admission:$e.nullable().optional(),lastSubmissionDeferral:et.optional(),lastError:f().max(2e4).nullable(),createdAt:m,updatedAt:m}).strict().superRefine((e,t)=>{(!!e.submission!=!!e.submissionHash||e.submission&&ee(e.submission)!==e.submissionHash)&&t.addIssue({code:`custom`,path:[`submissionHash`],message:`Dispatch submission identity changed.`}),e.submissionStartedAt&&!e.submission&&t.addIssue({code:`custom`,path:[`submission`],message:`A started dispatch requires its persisted submission.`}),e.admission?.status===`deferred`&&(e.submissionStartedAt||e.state!==`prepared`||e.nextAttemptAt!==e.admission.retryAt)&&t.addIssue({code:`custom`,path:[`admission`],message:`Admission deferral requires an unstarted prepared dispatch and its retry time.`}),e.lastSubmissionDeferral&&(e.lastSubmissionDeferral.dispatchId!==e.id||e.lastSubmissionDeferral.submissionHash!==e.submissionHash||e.lastSubmissionDeferral.leaseGeneration>=e.leaseGeneration)&&t.addIssue({code:`custom`,path:[`lastSubmissionDeferral`],message:`A retained deferral must identify an earlier fenced attempt of this submission.`}),e.execution&&!e.submissionStartedAt&&t.addIssue({code:`custom`,path:[`execution`],message:`An execution requires a started dispatch.`}),[`prepared`,`submitted`].includes(e.state)&&!e.submission&&t.addIssue({code:`custom`,path:[`state`],message:`A prepared dispatch requires its immutable submission.`}),e.state===`submitted`&&!e.execution&&t.addIssue({code:`custom`,path:[`execution`],message:`A submitted dispatch requires an observed execution.`}),e.state===`settled`&&e.submissionStartedAt&&!e.terminalReceipt&&t.addIssue({code:`custom`,path:[`terminalReceipt`],message:`A started dispatch requires terminal receipt evidence before settlement.`}),!!e.leaseOwner!=!!e.leaseExpiresAt&&t.addIssue({code:`custom`,path:[`leaseOwner`],message:`Dispatch lease owner and expiration must be recorded together.`})});c({scope:_,dispatchId:_,submissionHash:f().regex(/^[a-f0-9]{64}$/),execution:h.nullable(),status:d([`running`,`evaluating`,`succeeded`,`failed`,`cancelled`]),spendUsd:u().nonnegative(),cleanupComplete:l(),receipt:h.nullable(),evaluation:h.nullable(),candidate:h.nullable(),failure:f().max(2e4).nullable()}).strict().superRefine((e,t)=>{[`succeeded`,`failed`,`cancelled`].includes(e.status)&&(!e.cleanupComplete||!e.receipt)&&t.addIssue({code:`custom`,path:[`receipt`],message:`Terminal execution requires an authoritative cleanup receipt.`}),e.status!==`cancelled`&&!e.execution&&t.addIssue({code:`custom`,path:[`execution`],message:`The execution identity is required.`}),e.candidate&&(e.status!==`succeeded`||!e.evaluation)&&t.addIssue({code:`custom`,path:[`candidate`],message:`A candidate requires successful retained evaluation.`})});var B=c({schemaVersion:s(`openpond.learningSchedule.v1`),id:_,revision:u().int().positive(),policy:w,modelProjectId:_,executionOwner:d([`local`,`hosted`]),state:d([`scheduled`,`disabled`,`blocked`]),intervalSeconds:u().int().min(60).max(31536e3).nullable(),calendar:ae.nullable().default(null),nextRunAt:m.nullable(),lastFire:w.nullable(),consecutiveFailures:u().int().nonnegative(),nextAttemptAt:m.nullable(),lastError:f().max(2e4).nullable(),createdAt:m,updatedAt:m}).strict().superRefine((e,t)=>{e.state!==`disabled`&&(!e.intervalSeconds&&!e.calendar||!e.nextRunAt)&&t.addIssue({code:`custom`,path:[`nextRunAt`],message:`An active timer must retain its cadence and due time.`}),e.state===`disabled`&&e.nextRunAt&&t.addIssue({code:`custom`,path:[`nextRunAt`],message:`A disabled timer cannot have a pending occurrence.`}),e.intervalSeconds&&e.calendar&&t.addIssue({code:`custom`,path:[`calendar`],message:`A timer uses either an interval or a nightly calendar.`})}),tt=c({schemaVersion:s(`openpond.learningScheduleFire.v1`),id:_,revision:s(1),scheduleId:_,policy:w,scheduledAt:m,coalescedThroughAt:m,coalescedCount:u().int().nonnegative(),outcome:d([`reserved`,`waiting_for_data`,`waiting_for_review`,`skipped`]),reason:d([`active_iteration`,`cooldown`,`daily_budget`]).nullable(),iteration:c({id:_,revision:u().int().positive()}).strict().nullable(),createdAt:m,contentHash:g}).strict().superRefine((e,t)=>{(e.outcome===`skipped`!=!!e.reason||e.outcome!==`skipped`!=!!e.iteration)&&t.addIssue({code:`custom`,path:[`outcome`],message:`A fire retains either its reservation or its explicit skip reason.`})}),V={draft:T,reward_check:k,asset:A,definition:be,reward:ce,binding:ye,source:pe,evidence:ue,feedback:re,decision:xe,batch:le,policy:fe,chain:N,consumption:je,reservation:Me,dispatch:z,schedule:B,schedule_fire:tt,iteration:ge,grade:he,package:ve},H=d(Object.keys(V)),U=c({policy:w,modelProjectId:_,inspectedAt:m,chain:N.nullable(),trainingParent:c({reference:h,selection:S.nullable()}).strict().nullable().default(null),counts:P.nullable(),minimumApprovedExamples:u().int().positive(),canReserve:l(),blockers:a(c({code:f().min(1).max(200),message:f().min(1).max(2e4)}).strict()).max(20),cooldownUntil:m.nullable(),budget:c({reservedSpendUsd:u().nonnegative(),settledSpendUsd:u().nonnegative(),committedSpendUsd:u().nonnegative(),maximumIterationSpendUsd:u().nonnegative(),maximumDailySpendUsd:u().nonnegative()}).strict()}).strict(),nt=c({modelProjectId:_.nullable(),inspectedAt:m,pendingTrainingCount:u().int().nonnegative().nullable(),issues:a(c({policyId:_,code:f(),message:f()}).strict())}).strict();function rt(e){try{y(e,16777216)}catch(e){throw new _e(`learning_json_invalid`,400,e instanceof Error?e.message:`Expected bounded JSON.`)}}var it=c({scope:_,command:Ze}).strict(),W=o(`action`,[c({action:s(`inspect_task_queue`),scope:_,modelProjectId:_.nullable()}).strict(),c({action:s(`inspect_policy`),scope:_,policy:w}).strict(),c({action:s(`inspect_evidence`),scope:_,evidence:w}).strict(),c({action:s(`get`),scope:_,kind:H,id:_,revision:u().int().positive().optional()}).strict(),c({action:s(`list`),scope:_,kind:H,parentId:_.optional(),status:f().min(1).max(200).optional(),reviewState:d([`inbox`,`reviewed`]).optional(),afterId:_.optional(),limit:u().int().min(1).max(100).default(50)}).strict()]),at=c({evidence:w,definition:w,inspection:c({evidenceValidity:d([`valid`,`invalid`]),taskReady:l(),observedOutputValid:l().nullable(),issues:a(c({path:f(),code:f(),message:f()}).strict()).max(100)}).strict()}).strict(),G=c({operationId:_,resources:a(p(Object.values(V))).max(100)}).strict(),ot=Te(`circle`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]),K=e(Oe(),1),st=e(Ae(),1),q=e(t(),1),ct=n(),J=r();K.default.extend(st.default);var lt=e=>(0,K.default)(e).isValid()?(0,K.default)(e).fromNow():`Unknown time`;function ut({status:e,iconOnly:t=!1}){let n=e.toLowerCase(),r=[`completed`,`passed`,`ready`,`published`,`scored`,`succeeded`].includes(n),i=[`failed`,`error`,`rejected`,`budget_exhausted`].includes(n),a=[`queued`,`running`,`cancelling`,`checking`,`pending`].includes(n),o=r?ke:i?De:a?Ee:ot;return(0,J.jsxs)(`span`,{title:e.replaceAll(`_`,` `),"aria-label":e.replaceAll(`_`,` `),className:`evaluation-status evaluation-status-${r?`success`:i?`error`:a?`progress`:`neutral`}`,children:[(0,J.jsx)(o,{size:13,"aria-hidden":`true`}),t?null:e.replaceAll(`_`,` `)]})}function dt({name:e,onOpen:t}){let n=te(we(e));return t?(0,J.jsx)(`button`,{type:`button`,title:n,className:`evaluation-model`,onClick:e=>{e.stopPropagation(),t()},children:n}):(0,J.jsx)(`span`,{title:n,className:`evaluation-model`,children:n})}function ft({value:e}){let t=(0,q.useRef)(null),n=(0,q.useId)(),[r,i]=(0,q.useState)(!1),[a,o]=(0,q.useState)(!1),[s,c]=(0,q.useState)(null),l=r||a;(0,q.useEffect)(()=>{if(!l)return;let e=()=>{let e=t.current?.getBoundingClientRect();if(!e)return;let n=Math.min(360,window.innerWidth-24);c({left:Math.max(12,Math.min(e.left,window.innerWidth-n-12)),top:window.innerHeight-e.bottom<80?Math.max(12,e.top-72):e.bottom+8})};return e(),window.addEventListener(`resize`,e),window.addEventListener(`scroll`,e,!0),()=>{window.removeEventListener(`resize`,e),window.removeEventListener(`scroll`,e,!0)}},[l]);let u=e?(0,K.default)(e):null;if(!u?.isValid())return(0,J.jsx)(`span`,{children:`Unknown`});let d=`${u.format(`MMM D, YYYY h:mm:ss A Z`)} (${Intl.DateTimeFormat().resolvedOptions().timeZone})`;return(0,J.jsxs)(`span`,{ref:t,className:`evaluation-time`,tabIndex:0,"aria-label":d,"aria-describedby":l?n:void 0,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),onFocus:()=>o(!0),onBlur:()=>o(!1),onKeyDown:e=>{e.key===`Escape`&&(i(!1),o(!1))},children:[(0,J.jsx)(`time`,{dateTime:u.toISOString(),children:u.fromNow()}),l&&s?(0,ct.createPortal)((0,J.jsx)(`span`,{id:n,className:`evaluation-time-tooltip`,role:`tooltip`,style:s,children:d}),document.body):null]})}function pt({title:e,children:t}){return(0,J.jsxs)(`section`,{className:`evaluation-card`,children:[(0,J.jsx)(`h3`,{children:e}),t]})}var Y=class extends Error{constructor(e,t,n,r){super(n),this.status=e,this.code=t,this.details=r,this.name=`OpenPondLearningError`}status;code;details},X=c({id:C,scope:C,sourceId:C,name:f().trim().min(1).max(100),keyPrefix:f().min(1).max(100),createdAt:i(),expiresAt:i(),revokedAt:i().nullable()}).strict(),Z=f().regex(/^opk_key_[A-Za-z0-9]{16}_[A-Za-z0-9]{48}$/),Q=o(`action`,[c({action:s(`create`),scope:C,sourceId:C,name:f().trim().min(1).max(100),expiresAt:i(),operationId:C,apiKey:Z}).strict(),c({action:s(`list`),scope:C,sourceId:C,afterId:C.optional(),limit:u().int().min(1).max(100).default(30)}).strict(),c({action:s(`revoke`),scope:C,sourceId:C,id:C}).strict()]),mt=c({credential:X,apiKey:Z}).strict(),ht=c({items:a(X).max(100),nextCursor:C.nullable()}).strict(),gt=c({scope:C,sourceId:C}).strict(),_t=c({scope:C,source:w,taskDefinition:w,enabled:l(),allowedSplits:a(me).min(1).max(4)}).strict();function vt(e){return{...e,operationId:crypto.randomUUID(),apiKey:`opk_key_${$(16)}_${$(48)}`}}function $(e){let t=``;for(;t.length<e;)for(let n of crypto.getRandomValues(new Uint8Array(64)))if(n<248&&(t+=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`[n%62]),t.length===e)return t;return t}var yt=c({batchId:f().trim().min(1).max(500),modelProjectId:f().trim().min(1).max(500)}).strict(),bt=c({batchId:f().min(1),projectId:f().min(1),tasksetId:f().min(1),releaseId:f().min(1),revision:u().int().positive(),contentHash:f().regex(/^[a-f0-9]{64}$/)}).strict(),xt=class{#e;constructor(e){if(!e.apiKey.trim()||!e.scope.trim())throw Error(`Learning API key and scope are required.`);let t=new URL(e.baseUrl);if(![`http:`,`https:`].includes(t.protocol)||t.username||t.password||t.search||t.hash)throw Error(`Learning base URL must be an HTTP(S) endpoint without credentials, query, or fragment.`);this.#e={...e,baseUrl:t.toString().replace(/\/+$/,``)}}async command(e,t={}){rt(e);let n=it.parse({scope:this.#e.scope,command:e}),r=G.parse(await this.#n(`commands`,n,t));if(r.operationId!==e.operationId)throw new Y(502,`operation_identity_mismatch`,`Learning response did not match the submitted operation.`,null);return r}submitExample(e,t={}){return this.command({action:`submit_example`,operationId:e.idempotencyKey,example:e},t)}submitFeedback(e,t={}){return this.command({action:`submit_feedback`,operationId:e.idempotencyKey,feedback:e},t)}async get(e,t,n,r={}){let i=W.parse({action:`get`,scope:this.#e.scope,kind:e,id:t,...n===void 0?{}:{revision:n}});return V[e].parse(await this.#n(`read`,i,r))}async inspectEvidence(e,t={}){let n=W.parse({action:`inspect_evidence`,scope:this.#e.scope,evidence:e}),r=at.parse(await this.#n(`read`,n,t));if(!v(r.evidence,e))throw new Y(502,`evidence_identity_mismatch`,`Inspection did not match the requested evidence release.`,null);return r}async inspectTaskQueue(e=null,t={}){let n=W.parse({action:`inspect_task_queue`,scope:this.#e.scope,modelProjectId:e}),r=nt.parse(await this.#n(`read`,n,t));if(r.modelProjectId!==e)throw new Y(502,`model_identity_mismatch`,`Task queue did not match the requested Model.`,null);return r}async inspectPolicy(e,t={}){let n=W.parse({action:`inspect_policy`,scope:this.#e.scope,policy:e}),r=U.parse(await this.#n(`read`,n,t));if(!v(r.policy,e))throw new Y(502,`policy_identity_mismatch`,`Inspection did not match the requested policy release.`,null);return r}async createSourceCredential(e,t={}){let n=Q.parse({...e,action:`create`,scope:this.#e.scope}),r=mt.parse(await this.#n(`credentials`,n,t));if(this.#t(r.credential,e.sourceId),r.apiKey!==e.apiKey||!e.apiKey.startsWith(`${r.credential.keyPrefix}_`))throw new Y(502,`credential_identity_mismatch`,`Credential response did not match the prepared credential.`,null);return r}async listSourceCredentials(e,t={},n={}){let r=Q.parse({...t,action:`list`,scope:this.#e.scope,sourceId:e}),i=ht.parse(await this.#n(`credentials`,r,n));if(i.items.length>(t.limit??30))throw new Y(502,`credential_page_invalid`,`Credential response exceeded the requested page size.`,null);for(let t of i.items)this.#t(t,e);return i}async revokeSourceCredential(e,t,n={}){let r=Q.parse({action:`revoke`,scope:this.#e.scope,sourceId:e,id:t}),i=X.parse(await this.#n(`credentials`,r,n));if(this.#t(i,e),i.id!==t||i.revokedAt===null)throw new Y(502,`credential_revocation_mismatch`,`Credential revocation did not match the requested credential.`,null);return i}async sourceConfiguration(e,t={}){let n=gt.parse({scope:this.#e.scope,sourceId:e}),r=_t.parse(await this.#n(`source-config`,n,t));if(r.scope!==this.#e.scope||r.source.id!==e)throw new Y(502,`source_identity_mismatch`,`Source configuration did not match the requested source.`,null);return r}#t(e,t){if(e.scope!==this.#e.scope||e.sourceId!==t)throw new Y(502,`credential_scope_mismatch`,`Credential response did not match the requested source.`,null)}async list(e,t={},n={}){let r=W.parse({action:`list`,scope:this.#e.scope,kind:e,...t});return c({items:a(V[e]).max(100),nextCursor:f().nullable()}).strict().parse(await this.#n(`read`,r,n))}async publishBatch(e,t={}){let n=yt.parse(e),r=bt.parse(await this.#n(`publish-batch`,{...n,scope:this.#e.scope},t));if(r.batchId!==n.batchId)throw new Y(502,`batch_identity_mismatch`,`Published batch response did not match the requested batch.`,null);return r}async#n(e,t,n){y(t,16777216);let r=await(this.#e.fetch??globalThis.fetch)(`${this.#e.baseUrl}/v1/learning/${e}`,{method:`POST`,headers:{Authorization:`Bearer ${this.#e.apiKey}`,"Content-Type":`application/json`,Accept:`application/json`,"X-OpenPond-Team-Id":this.#e.scope},body:JSON.stringify(t),signal:n.signal,redirect:`error`}),i=await St(r);if(!r.ok){let e=c({code:f().optional(),error:f().optional()}).passthrough().safeParse(i);throw new Y(r.status,e.success?e.data.code??`learning_request_failed`:`learning_request_failed`,e.success?e.data.error??`Learning request failed (${r.status}).`:`Learning request failed (${r.status}).`,i)}return i}};async function St(e){let t=16777216,n=e.body?.getReader();if(!n)throw new Y(e.status,`empty_response`,`Learning response was empty.`,null);let r=new TextDecoder,i=0,a=``;try{for(;;){let o=await n.read();if(o.done)break;if(i+=o.value.byteLength,i>t)throw new Y(e.status,`response_too_large`,`Learning response exceeded 16 MiB; request a smaller page.`,null);a+=r.decode(o.value,{stream:!0})}a+=r.decode();let o=JSON.parse(a);return y(o,t),o}finally{await n.cancel(),n.releaseLock()}}export{ut as a,G as c,z as d,dt as i,U as l,vt as n,ft as o,pt as r,lt as s,xt as t,B as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as e}from"./index-
|
|
1
|
+
import{m as e}from"./index-CCaTs7xt.js";import{t}from"./useQuery-CvZ8bzdW.js";import{O as n,a as r,d as i,g as a,h as o,i as s,m as c,o as l,p as u,r as d,v as f,x as p}from"./schemas-Brv9Vmnk.js";import{c as m,o as h,s as g}from"./common-BWVSBnpX.js";import{Tt as _}from"./chunk-H3JZ3P5T-DolwEJXo.js";import{s as v}from"./chunk-AG6UJ3DI-D9KZjTYP.js";import{n as y}from"./api-client-DJRVOFzS.js";import{r as b}from"./AppToastContext-BQ4iRFif.js";var x=e();function S({columns:e,loading:t,error:n,empty:r,children:i,retry:a}){return b(n),t&&!n?(0,x.jsxs)(x.Fragment,{children:[Array.from({length:5},(t,n)=>(0,x.jsx)(`tr`,{"aria-hidden":`true`,children:Array.from({length:e},(e,t)=>(0,x.jsx)(`td`,{children:(0,x.jsx)(`span`,{className:`evaluation-table-skeleton`})},t))},n)),(0,x.jsx)(`tr`,{className:`sr-only`,children:(0,x.jsx)(`td`,{colSpan:e,role:`status`,children:`Loading table rows…`})})]}):!r&&!n?null:(0,x.jsx)(`tr`,{children:(0,x.jsx)(`td`,{colSpan:e,children:(0,x.jsxs)(`div`,{className:`evaluation-table-empty`,children:[n?null:i,n&&a?(0,x.jsx)(`button`,{type:`button`,className:`training-text-button`,onClick:a,children:`Retry`}):null]})})})}var C=Object.freeze({eventBytes:65536,actionBytes:16384,resultBytes:8192,stateBytes:8192,eventsPerAppend:32,eventsPerEpisode:256,episodeBytes:2097152,assetBytes:1048576,assetsPerEpisode:16,queueBytes:52428800,queueEvents:5e3,queueAgeSeconds:86400,capabilities:32,consultationRounds:3,consultationBytes:65536,manifestSeconds:300}),w=g,T=h,E=m,D=d([`codex`,`claude_code`,`opencode`,`openpond`]),O=c({id:g,contentHash:h}).strict(),k=c({teamId:g,projectId:g}).strict();function A(e,t){return o((e,r)=>{try{_(e,t)}catch{return r.addIssue({code:`custom`,message:`Tool learning data exceeds its JSON boundary.`}),n}return e},e)}function j(e){return f().max(e).refine(t=>new TextEncoder().encode(t).byteLength<=e,`Tool learning text exceeds its UTF-8 byte limit.`)}var M=A(a(f().min(1).max(120),p([j(2e3),u().finite(),l(),s()])).refine(e=>Object.keys(e).length<=32,`Use at most 32 explicit state fields.`),C.stateBytes);c({application:f().trim().min(1).max(200),version:f().trim().min(1).max(200),state:M,fingerprint:h}).strict(),c({id:g,contentHash:h,mediaType:d([`text/plain`,`application/json`,`text/x-python`,`text/x-diff`]),sizeBytes:u().int().nonnegative().max(C.assetBytes),purpose:d([`action`,`result`,`state`,`verification`])}).strict(),c({policyRevision:u().int().positive(),policyHash:h,redactedFields:u().int().nonnegative().max(1e4),omittedFields:u().int().nonnegative().max(1e4),truncated:l()}).strict();var N=c({revision:u().int().positive(),permittedTools:r(f().min(1).max(200)).min(1).max(100),workspaceRootHashes:r(T).min(1).max(32),permittedFields:r(d([`action`,`intent`,`state`,`result_excerpt`,`artifact_reference`])).min(1).max(5),unchangedControls:c({numerator:u().int().nonnegative(),denominator:u().int().positive()}).strict(),maximumEventBytes:u().int().positive().max(C.eventBytes),maximumEpisodeBytes:u().int().positive().max(C.episodeBytes),maximumEpisodeEvents:u().int().positive().max(C.eventsPerEpisode),maximumQueueBytes:u().int().positive().max(C.queueBytes),maximumQueueEvents:u().int().positive().max(C.queueEvents),maximumQueueAgeSeconds:u().int().positive().max(C.queueAgeSeconds),rawRetentionDays:u().int().min(1).max(30),purposes:r(d([`capture`,`consultation`])).min(1).max(2),modelUpdates:i(`requires_separate_review`),variantGeneration:i(`disabled`)}).strict().superRefine((e,t)=>{e.unchangedControls.numerator>e.unchangedControls.denominator&&t.addIssue({code:`custom`,path:[`unchangedControls`],message:`Sampling probability cannot exceed one.`});for(let n of[`permittedTools`,`workspaceRootHashes`,`permittedFields`,`purposes`])new Set(e[n]).size!==e[n].length&&t.addIssue({code:`custom`,path:[n],message:`Policy entries must be unique.`});(e.maximumEpisodeBytes<e.maximumEventBytes||e.maximumQueueBytes<e.maximumEventBytes)&&t.addIssue({code:`custom`,message:`Episode and queue capacities must fit one permitted event.`})}),P=c({receipt:O.nullable(),start:d([`observed`,`documented`,`unsupported`,`unqualified`]),resume:d([`observed`,`documented`,`unsupported`,`unqualified`]),compaction:d([`observed`,`documented`,`unsupported`,`unqualified`]),executionFailure:d([`observed`,`documented`,`unsupported`,`unqualified`]),processFailure:d([`observed`,`documented`,`unsupported`,`unqualified`]),validationFailure:d([`observed`,`documented`,`unsupported`,`unqualified`]),nestedCalls:d([`observed`,`documented`,`unsupported`,`unqualified`]),contextRefresh:d([`session_start`,`start_resume`,`start_resume_compaction`,`revision_aware_turn`,`unqualified`]),gaps:r(f().min(1).max(500)).max(32)}).strict().superRefine((e,t)=>{Object.values(e).includes(`observed`)&&!e.receipt&&t.addIssue({code:`custom`,path:[`receipt`],message:`Observed coverage requires a qualification receipt.`})});A(c({schemaVersion:i(`openpond.toolLearningRegistration.v1`),operationId:w,installationId:w,projectId:w,machineSourceId:w,client:D,clientVersion:f().min(1).max(200),adapterRelease:O,collectionPolicy:N}).strict(),C.eventBytes);var F=c({schemaVersion:i(`openpond.toolLearningInstallation.v1`),id:w,revision:u().int().positive(),scope:k,ownerUserId:w,machineSourceId:w,client:D,clientVersion:f().min(1).max(200),adapterRelease:O,state:d([`pending_client_trust`,`enabled`,`disabled`,`revoked`]),collectionPolicy:N,collectionPolicyHash:T,coverage:P,credential:c({id:w,expiresAt:E,revokedAt:E.nullable(),capabilities:r(d([`episode_append`,`manifest_read`,`consultation_submit`,`consultation_read`])).min(1).max(4)}).strict().nullable(),createdAt:E,updatedAt:E}).strict();c({operationId:w,expectedRevision:u().int().positive(),state:d([`enabled`,`disabled`,`revoked`])}).strict(),c({schemaVersion:i(`openpond.toolEpisodeOrigin.v1`),installationId:w,projectId:w,ownerUserId:w,episode:O,event:O,appendReceipt:O,purpose:i(`private_dataset_evidence`),trainingConsent:i(`not_granted`)}).strict();function I(e,t,n={},r){return y(e.connection,`/v1/training/evaluation-workspace`,{method:`POST`,body:JSON.stringify({teamId:e.teamId,projectId:null,operation:t,value:n}),signal:r})}function L(e){return t({queryKey:[`capture-destination`,e.connection.serverUrl,e.accountKey,e.teamId],queryFn:async({signal:t})=>v.parse(await I(e,`datasets`,{limit:1},t)).datasets.find(e=>e.id.startsWith(`tool-captures-`))??null,staleTime:1e4,refetchInterval:15e3})}function R(e){return t({queryKey:[`tool-connections`,e.connection.serverUrl,e.accountKey,e.teamId],queryFn:async({signal:t})=>c({installations:r(F)}).parse(await I(e,`toolConnections`,{},t)),staleTime:3e4,refetchInterval:6e4})}function z(e){return{claude_code:`Claude Code`,opencode:`OpenCode`,codex:`Codex CLI`,openpond:`OpenPond`}[e]??e}export{S as i,L as n,R as r,z as t};
|
package/dist/web/assets/{client-choice-storage-DYZsrVr9.js → client-choice-storage-CRKZpilL.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{g as t}from"./index-
|
|
1
|
+
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{g as t}from"./index-CCaTs7xt.js";import{_ as n,a as r,g as i,o as a,p as o,r as s,v as c}from"./schemas-Brv9Vmnk.js";import{t as l}from"./settings-BC-bzgk6.js";import{n as u}from"./api-client-DJRVOFzS.js";var d=e(t(),1),f=n({chatSelection:n({provider:l,model:c().max(500),modelsByProvider:i(l,c().max(500)).optional()}).optional(),chatMode:s([`chat`,`work`]).optional(),sidebarWorkflowCollapsedIds:r(c().min(1).max(200)).max(200).optional(),sidebarPresentation:s([`grouped`,`inbox`]).optional(),notificationMode:s([`all`,`direct_mentions`,`none`]).optional(),learningNoticeDismissed:a().optional(),sidebarVisibility:n({showCodexChats:a(),onlyRunningTasks:a()}).optional(),scheduledWorkView:s([`calendar`,`list`]).optional(),editorControlsVisible:a().optional(),voiceNoticeAcknowledged:a().optional(),lessonProgress:i(c().min(1).max(200),n({completed:a(),currentTime:o().finite().nonnegative(),duration:o().finite().positive(),updatedAt:o().finite().nonnegative()})).refine(e=>Object.keys(e).length<=200,`Too many lessons`).optional()}),p={"openpond:last-chat-selection":`chatSelection`,"openpond:last-chat-task-mode":`chatMode`,"openpond.sidebar.workflow-collapse.v1":`sidebarWorkflowCollapsedIds`,"openpond.sidebar.presentation.v1":`sidebarPresentation`,"openpond.team-chat.notification-mode":`notificationMode`,"openpond.sidebar.continuous-learning.dismissed.v1":`learningNoticeDismissed`,"openpond.sidebar-task-visibility.v1":`sidebarVisibility`,"openpond.scheduled-work.view.v1":`scheduledWorkView`,"openpond.workspace.editorControlsVisible":`editorControlsVisible`,"openpond.voice.setupNoticeAcknowledged":`voiceNoticeAcknowledged`,"openpond.post-training-progress.v1":`lessonProgress`},m=new Set,h=null,g=null,_={},v={},y=!1,b=0,x=null,S=0,C=null,w=`openpond-client-choices-changed`;function T(){m.forEach(e=>e()),typeof window<`u`&&window.dispatchEvent(new Event(w))}function E(){return x}function D(e){return m.add(e),()=>{m.delete(e)}}function O(e){let t=(0,d.useRef)(e);t.current=e,(0,d.useEffect)(()=>D(()=>t.current()),[])}function k(e,t={}){if(!t.force&&!C?.signal?.aborted&&C?.serverUrl===e.serverUrl&&C.token===e.token)return C.promise;let n=A(e,t.signal).finally(()=>{C?.promise===n&&(C=null)});return C={serverUrl:e.serverUrl,token:e.token,signal:t.signal,promise:n},n}async function A(e,t){let n=++S,r=await u(e,`/v1/configuration`,{signal:t});if(r.clientState?.revision===null){let n=P();if(Object.keys(n.patch).length){r.clientState=await u(e,`/v1/configuration`,{signal:t,method:`POST`,body:JSON.stringify({action:`client-state`,owner:r.clientState.owner,patch:n.patch,importOnly:!0})});for(let e of n.keys)try{window.localStorage.removeItem(e)}catch{}}}if(t?.throwIfAborted(),n!==S)return;let i=h?.serverUrl!==e.serverUrl||h?.token!==e.token||g?.owner!==r.clientState?.owner;i&&(b++,_={},v={},x=null),h=e,(i||(r.clientState?.revision??0)>=(g?.revision??0))&&(g=r.clientState),T()}async function j(){if(y||!h||!g||!Object.keys(_).length)return;y=!0;let e=_,t=h,n=g.owner,r=b;_={},v=e;try{let i=await u(t,`/v1/configuration`,{method:`POST`,body:JSON.stringify({action:`client-state`,owner:n,patch:e})});r===b&&(g=i,x=null)}catch(t){r===b&&(_={...e,..._},x=`Preference changes have not been saved. ${t instanceof Error?t.message:String(t)}`)}finally{v={},y=!1,T(),!x&&Object.keys(_).length&&j()}}function M(){x=null,j()}var N={getItem(e){let t=p[e];if(!t)return null;let n={...g?.value,...v,..._}[t];return n===void 0?null:typeof n==`string`?n:JSON.stringify(n)},setItem(e,t){if(!g)return;let n=p[e];if(!n)throw Error(`Unregistered client preference.`);let r;try{r=JSON.parse(t)}catch{r=t}let i=f.parse({[n]:r});JSON.stringify({...g.value,...v,..._}[n])!==JSON.stringify(i[n])&&(_={..._,...i},T(),j())}};function P(){let e={},t=[];if(typeof window>`u`)return{patch:e,keys:t};for(let[n,r]of Object.entries(p))try{let i=window.localStorage.getItem(n);if(i===null)continue;let a;try{a=JSON.parse(i)}catch{a=i}let o=f.safeParse({[r]:a});o.success&&(Object.assign(e,o.data),t.push(n))}catch{}return{patch:e,keys:t}}export{D as a,M as i,N as n,O as o,k as r,f as s,E as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./icons-
|
|
1
|
+
import{t as e}from"./icons-B4B5eUyR.js";var t=e(`cloud-upload`,[[`path`,{d:`M12 13v8`,key:`1l5pq0`}],[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`,key:`1pljnt`}],[`path`,{d:`m8 17 4-4 4 4`,key:`1quai1`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./icons-
|
|
1
|
+
import{t as e}from"./icons-B4B5eUyR.js";var t=e(`copy`,[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as e}from"./WorkspaceMonacoEditor-
|
|
1
|
+
import{c as e}from"./WorkspaceMonacoEditor-m3bCIpZe.js";import"./toggleHighContrast-nNzCoE0h.js";import{t}from"./workers-sIVKxb8c.js";import{_ as n,a as r,c as i,d as a,f as o,g as s,h as c,i as l,l as u,m as d,n as f,o as p,p as m,r as h,s as g,t as _,u as v,v as y}from"./lspLanguageFeatures-RBOb-3wX.js";var b=12e4,x=class{constructor(e){this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&=(this._worker.dispose(),null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){this._worker&&Date.now()-this._lastUsedTime>b&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||=(this._worker=t({moduleId:`vs/language/css/cssWorker`,createWorker:()=>new Worker(new URL(`/assets/css.worker-BSlsup0j.js`,``+import.meta.url),{type:`module`}),label:this._defaults.languageId,createData:{options:this._defaults.options,languageId:this._defaults.languageId}}),this._worker.getProxy()),this._client}getLanguageServiceWorker(...e){let t;return this._getClient().then(e=>{t=e}).then(t=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(e=>t)}};function S(t){let n=[],s=[],c=new x(t);n.push(c);let g=(...e)=>c.getLanguageServiceWorker(...e);function y(){let{languageId:n,modeConfiguration:c}=t;w(s),c.completionItems&&s.push(e.registerCompletionItemProvider(n,new _(g,[`/`,`-`,`:`]))),c.hovers&&s.push(e.registerHoverProvider(n,new a(g))),c.documentHighlights&&s.push(e.registerDocumentHighlightProvider(n,new p(g))),c.definitions&&s.push(e.registerDefinitionProvider(n,new f(g))),c.references&&s.push(e.registerReferenceProvider(n,new o(g))),c.documentSymbols&&s.push(e.registerDocumentSymbolProvider(n,new u(g))),c.rename&&s.push(e.registerRenameProvider(n,new m(g))),c.colors&&s.push(e.registerColorProvider(n,new l(g))),c.foldingRanges&&s.push(e.registerFoldingRangeProvider(n,new v(g))),c.diagnostics&&s.push(new h(n,g,t.onDidChange)),c.selectionRanges&&s.push(e.registerSelectionRangeProvider(n,new d(g))),c.documentFormattingEdits&&s.push(e.registerDocumentFormattingEditProvider(n,new r(g))),c.documentRangeFormattingEdits&&s.push(e.registerDocumentRangeFormattingEditProvider(n,new i(g)))}return y(),n.push(C(s)),C(n)}function C(e){return{dispose:()=>w(e)}}function w(e){for(;e.length;)e.pop().dispose()}export{_ as CompletionAdapter,f as DefinitionAdapter,h as DiagnosticsAdapter,l as DocumentColorAdapter,r as DocumentFormattingEditProvider,p as DocumentHighlightAdapter,g as DocumentLinkAdapter,i as DocumentRangeFormattingEditProvider,u as DocumentSymbolAdapter,v as FoldingRangeAdapter,a as HoverAdapter,o as ReferenceAdapter,m as RenameAdapter,d as SelectionRangeAdapter,x as WorkerManager,c as fromPosition,s as fromRange,S as setupMode,n as toRange,y as toTextEdit};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./icons-
|
|
1
|
+
import{t as e}from"./icons-B4B5eUyR.js";var t=e(`external-link`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./icons-
|
|
1
|
+
import{t as e}from"./icons-B4B5eUyR.js";var t=e(`folder-open`,[[`path`,{d:`m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2`,key:`usdka0`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./icons-
|
|
1
|
+
import{t as e}from"./icons-B4B5eUyR.js";var t=e(`folder-plus`,[[`path`,{d:`M12 10v6`,key:`1bos4e`}],[`path`,{d:`M9 13h6`,key:`1uhe8q`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}]]);export{t};
|
package/dist/web/assets/{git-commit-horizontal-DZbHXcai.js → git-commit-horizontal-Buk_hy6T.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./icons-
|
|
1
|
+
import{t as e}from"./icons-B4B5eUyR.js";var t=e(`git-commit-horizontal`,[[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}],[`line`,{x1:`3`,x2:`9`,y1:`12`,y2:`12`,key:`1dyftd`}],[`line`,{x1:`15`,x2:`21`,y1:`12`,y2:`12`,key:`oup4p8`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as e}from"./WorkspaceMonacoEditor-
|
|
1
|
+
import{c as e}from"./WorkspaceMonacoEditor-m3bCIpZe.js";import"./toggleHighContrast-nNzCoE0h.js";import{t}from"./workers-sIVKxb8c.js";import{_ as n,a as r,c as i,d as a,f as o,g as s,h as c,i as l,l as u,m as d,n as f,o as p,p as m,r as h,s as g,t as _,u as v,v as y}from"./lspLanguageFeatures-RBOb-3wX.js";var b=12e4,x=class{constructor(e){this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&=(this._worker.dispose(),null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){this._worker&&Date.now()-this._lastUsedTime>b&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||=(this._worker=t({moduleId:`vs/language/html/htmlWorker`,createWorker:()=>new Worker(new URL(`/assets/html.worker-jOmjF9ZZ.js`,``+import.meta.url),{type:`module`}),createData:{languageSettings:this._defaults.options,languageId:this._defaults.languageId},label:this._defaults.languageId}),this._worker.getProxy()),this._client}getLanguageServiceWorker(...e){let t;return this._getClient().then(e=>{t=e}).then(t=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(e=>t)}},S=class extends _{constructor(e){super(e,[`.`,`:`,`<`,`"`,`=`,`/`])}};function C(t){let n=new x(t),o=(...e)=>n.getLanguageServiceWorker(...e),s=t.languageId;e.registerCompletionItemProvider(s,new S(o)),e.registerHoverProvider(s,new a(o)),e.registerDocumentHighlightProvider(s,new p(o)),e.registerLinkProvider(s,new g(o)),e.registerFoldingRangeProvider(s,new v(o)),e.registerDocumentSymbolProvider(s,new u(o)),e.registerSelectionRangeProvider(s,new d(o)),e.registerRenameProvider(s,new m(o)),s===`html`&&(e.registerDocumentFormattingEditProvider(s,new r(o)),e.registerDocumentRangeFormattingEditProvider(s,new i(o)))}function w(t){let n=[],o=[],s=new x(t);n.push(s);let c=(...e)=>s.getLanguageServiceWorker(...e);function l(){let{languageId:n,modeConfiguration:s}=t;E(o),s.completionItems&&o.push(e.registerCompletionItemProvider(n,new S(c))),s.hovers&&o.push(e.registerHoverProvider(n,new a(c))),s.documentHighlights&&o.push(e.registerDocumentHighlightProvider(n,new p(c))),s.links&&o.push(e.registerLinkProvider(n,new g(c))),s.documentSymbols&&o.push(e.registerDocumentSymbolProvider(n,new u(c))),s.rename&&o.push(e.registerRenameProvider(n,new m(c))),s.foldingRanges&&o.push(e.registerFoldingRangeProvider(n,new v(c))),s.selectionRanges&&o.push(e.registerSelectionRangeProvider(n,new d(c))),s.documentFormattingEdits&&o.push(e.registerDocumentFormattingEditProvider(n,new r(c))),s.documentRangeFormattingEdits&&o.push(e.registerDocumentRangeFormattingEditProvider(n,new i(c)))}return l(),n.push(T(o)),T(n)}function T(e){return{dispose:()=>E(e)}}function E(e){for(;e.length;)e.pop().dispose()}export{_ as CompletionAdapter,f as DefinitionAdapter,h as DiagnosticsAdapter,l as DocumentColorAdapter,r as DocumentFormattingEditProvider,p as DocumentHighlightAdapter,g as DocumentLinkAdapter,i as DocumentRangeFormattingEditProvider,u as DocumentSymbolAdapter,v as FoldingRangeAdapter,a as HoverAdapter,o as ReferenceAdapter,m as RenameAdapter,d as SelectionRangeAdapter,x as WorkerManager,c as fromPosition,s as fromRange,w as setupMode,C as setupMode1,n as toRange,y as toTextEdit};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{g as t,m as n}from"./index-
|
|
1
|
+
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{g as t,m as n}from"./index-CCaTs7xt.js";var r=e(t());n();var i=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),a=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),o=e=>{let t=a(e);return t.charAt(0).toUpperCase()+t.slice(1)},s=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),c=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0},l={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},u=(0,r.forwardRef)(({color:e=`currentColor`,size:t=24,strokeWidth:n=2,absoluteStrokeWidth:i,className:a=``,children:o,iconNode:u,...d},f)=>(0,r.createElement)(`svg`,{ref:f,...l,width:t,height:t,stroke:e,strokeWidth:i?Number(n)*24/Number(t):n,className:s(`lucide`,a),...!o&&!c(d)&&{"aria-hidden":`true`},...d},[...u.map(([e,t])=>(0,r.createElement)(e,t)),...Array.isArray(o)?o:[o]])),d=(e,t)=>{let n=(0,r.forwardRef)(({className:n,...a},c)=>(0,r.createElement)(u,{ref:c,iconNode:t,className:s(`lucide-${i(o(e))}`,`lucide-${e}`,n),...a}));return n.displayName=o(e),n};export{d as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./icons-
|
|
1
|
+
import{t as e}from"./icons-B4B5eUyR.js";var t=e(`image`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]);export{t};
|