openpond 0.2.72 → 0.2.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (276) hide show
  1. package/dist/app-server.js +1 -1
  2. package/dist/chunks/{acp-7A2UPCG5.js → acp-TBDNUDTR.js} +1 -1
  3. package/dist/chunks/{acp-agent-AGALGR6V.js → acp-agent-4PKMX52I.js} +1 -1
  4. package/dist/chunks/{app-layer-DUCNCJ2X.js → app-layer-4YIA53WX.js} +1 -1
  5. package/dist/chunks/{app-server-evaluations-SNWXULKD.js → app-server-evaluations-5JVNCET7.js} +1 -1
  6. package/dist/chunks/{app-server-harness-services-YNMGMKPK.js → app-server-harness-services-4E236TXE.js} +1 -1
  7. package/dist/chunks/{app-server-runtime-BKJ7L6JZ.js → app-server-runtime-CI2NTKX7.js} +1 -1
  8. package/dist/chunks/{apps-2OWE23BH.js → apps-APEPLFYU.js} +1 -1
  9. package/dist/chunks/chunk-2IECLXB2.js +2 -0
  10. package/dist/chunks/{chunk-V4VM2R6D.js → chunk-2IIVBBF5.js} +1 -1
  11. package/dist/chunks/{chunk-ENY24ZBB.js → chunk-3BIB6KKL.js} +1 -1
  12. package/dist/chunks/{chunk-DFSQ5HZ7.js → chunk-3V2XAYYA.js} +1 -1
  13. package/dist/chunks/{chunk-CHRED2FK.js → chunk-3XNUG4FO.js} +1 -1
  14. package/dist/chunks/{chunk-BUMCJHQP.js → chunk-4KG7GJ5O.js} +1 -1
  15. package/dist/chunks/chunk-5AV2EWFX.js +2 -0
  16. package/dist/chunks/{chunk-KTQWWCP2.js → chunk-5SVBY7NP.js} +6 -6
  17. package/dist/chunks/{chunk-MLLMLXKG.js → chunk-5VQK3CCJ.js} +1 -1
  18. package/dist/chunks/{chunk-4JKWCLTQ.js → chunk-645T6LH7.js} +1 -1
  19. package/dist/chunks/{chunk-X7ZMUWJO.js → chunk-6IKIGVJF.js} +1 -1
  20. package/dist/chunks/{chunk-X2MJFTLS.js → chunk-6KKWSUEW.js} +1 -1
  21. package/dist/chunks/{chunk-MQMMJKOZ.js → chunk-A4HLKWQD.js} +1 -1
  22. package/dist/chunks/{chunk-ZSWATWK2.js → chunk-AWUSAHXG.js} +1 -1
  23. package/dist/chunks/{chunk-T6ML5SCD.js → chunk-E5HDJCKK.js} +1 -1
  24. package/dist/chunks/{chunk-WMJEQK4G.js → chunk-E7SQBMYW.js} +1 -1
  25. package/dist/chunks/{chunk-VXFGSFIE.js → chunk-EAW5FHU4.js} +2 -2
  26. package/dist/chunks/{chunk-GPGXBKXU.js → chunk-EZ435RGA.js} +1 -1
  27. package/dist/chunks/{chunk-AITV76GO.js → chunk-F64TR23C.js} +1 -1
  28. package/dist/chunks/{chunk-FOAM3YZQ.js → chunk-FA3GXQYA.js} +1 -1
  29. package/dist/chunks/{chunk-2THZ6GZY.js → chunk-FCC24XUI.js} +1 -1
  30. package/dist/chunks/{chunk-L5L3H6CI.js → chunk-FDYWGE2Y.js} +1 -1
  31. package/dist/chunks/{chunk-CAYKEJJY.js → chunk-FRQYH4QD.js} +1 -1
  32. package/dist/chunks/{chunk-TR5UC5AF.js → chunk-G2P2PYEO.js} +1 -1
  33. package/dist/chunks/{chunk-MPXOPL7R.js → chunk-H2YQ4AA2.js} +1 -1
  34. package/dist/chunks/{chunk-KRJZ5CW3.js → chunk-H5EHSILL.js} +1 -1
  35. package/dist/chunks/{chunk-N5FT6PTI.js → chunk-HIPKU57Y.js} +1 -1
  36. package/dist/chunks/{chunk-JSDGOQ5U.js → chunk-IXMY4EKS.js} +1 -1
  37. package/dist/chunks/{chunk-ATI52WMB.js → chunk-JAIFVT3D.js} +1 -1
  38. package/dist/chunks/{chunk-HBGTHOOB.js → chunk-JG6JA7YT.js} +1 -1
  39. package/dist/chunks/{chunk-F3IEAU7O.js → chunk-KE5PYRJ6.js} +1 -1
  40. package/dist/chunks/{chunk-UZE3C2SF.js → chunk-KH42V27F.js} +1 -1
  41. package/dist/chunks/{chunk-KUEVP7WM.js → chunk-KOC74O7R.js} +1 -1
  42. package/dist/chunks/{chunk-VMBWCIGG.js → chunk-KOLVSUOS.js} +1 -1
  43. package/dist/chunks/{chunk-5TPJ5ECJ.js → chunk-KQ7RFPG5.js} +1 -1
  44. package/dist/chunks/{chunk-EHMA5XS7.js → chunk-LWF5MQJ4.js} +1 -1
  45. package/dist/chunks/{chunk-CQRA5TXF.js → chunk-MHSSPMLB.js} +1 -1
  46. package/dist/chunks/{chunk-TD5YYA5Z.js → chunk-MXDSB2C5.js} +1 -1
  47. package/dist/chunks/{chunk-W4JBPYGW.js → chunk-O6L4NO3M.js} +1 -1
  48. package/dist/chunks/{chunk-QKBMXL4D.js → chunk-OBMMO5NC.js} +3 -3
  49. package/dist/chunks/{chunk-MWPMYCYB.js → chunk-ODH5XGE6.js} +1 -1
  50. package/dist/chunks/{chunk-CX4U32VO.js → chunk-ONR2AKRI.js} +4 -4
  51. package/dist/chunks/{chunk-RWBP2H4M.js → chunk-OUOOKEU3.js} +1 -1
  52. package/dist/chunks/{chunk-6OD2FKUS.js → chunk-OVEQAEKR.js} +1 -1
  53. package/dist/chunks/{chunk-RIFWD5XM.js → chunk-OXUS4QOT.js} +1 -1
  54. package/dist/chunks/{chunk-LHTRQAPZ.js → chunk-SUILNZQJ.js} +1 -1
  55. package/dist/chunks/{chunk-SRK4WX7D.js → chunk-TP222CV2.js} +1 -1
  56. package/dist/chunks/{chunk-5WFKBZCU.js → chunk-TRXOE7TT.js} +1 -1
  57. package/dist/chunks/{chunk-5TTQCT3G.js → chunk-U73T66FP.js} +1 -1
  58. package/dist/chunks/{chunk-IA6CTX7A.js → chunk-WAWVFSIQ.js} +1 -1
  59. package/dist/chunks/{chunk-KOIXRLZZ.js → chunk-WBV6A6NS.js} +1 -1
  60. package/dist/chunks/{chunk-UCPD526R.js → chunk-WOYBWRRV.js} +1 -1
  61. package/dist/chunks/{chunk-S5ACNR5Y.js → chunk-X4CN3FIN.js} +1 -1
  62. package/dist/chunks/{chunk-PYPXP5R3.js → chunk-XN5BXPAT.js} +1 -1
  63. package/dist/chunks/{chunk-JALL5NPH.js → chunk-XSDWRRZP.js} +1 -1
  64. package/dist/chunks/{chunk-HA762QYM.js → chunk-YIZE3M5S.js} +1 -1
  65. package/dist/chunks/{cli-KXU5DNVV.js → cli-NHRYN2G3.js} +1 -1
  66. package/dist/chunks/{command-X35I53H3.js → command-54MMVWS2.js} +3 -3
  67. package/dist/chunks/{configuration-command-VJUK34UQ.js → configuration-command-SAGJMI3I.js} +1 -1
  68. package/dist/chunks/{connected-app-executor-JBFJF2H5.js → connected-app-executor-WJEDXUA4.js} +1 -1
  69. package/dist/chunks/{connected-evidence-CQ533AML.js → connected-evidence-EVZTMVHV.js} +1 -1
  70. package/dist/chunks/{connected-starting-assets-RL5X6LZ7.js → connected-starting-assets-F2DBUHV5.js} +1 -1
  71. package/dist/chunks/{continual-PHGIZFF6.js → continual-C2YWPEJZ.js} +1 -1
  72. package/dist/chunks/{core-commands-5DYMDWXY.js → core-commands-Z27A5ZPQ.js} +1 -1
  73. package/dist/chunks/{dataset-preparation-authoring-UDSX33YK.js → dataset-preparation-authoring-CH6Z4NE6.js} +1 -1
  74. package/dist/chunks/{datasets-BW4JFUUU.js → datasets-RZBRILIN.js} +1 -1
  75. package/dist/chunks/{desktop-test-RIG4CB2Z.js → desktop-test-UXOA4EON.js} +1 -1
  76. package/dist/chunks/{evaluation-coordination-6QJ6XTUX.js → evaluation-coordination-43DTVJFD.js} +1 -1
  77. package/dist/chunks/{experiment-improvements-2XF63AQ4.js → experiment-improvements-JBYCVRYR.js} +1 -1
  78. package/dist/chunks/{experiments-3S2BVNK6.js → experiments-5QAMBNB6.js} +1 -1
  79. package/dist/chunks/{experiments-signal-IRBHGGW5.js → experiments-signal-OIDQ5SNH.js} +1 -1
  80. package/dist/chunks/{help-Q2VMJVTR.js → help-ESZC6NHQ.js} +1 -1
  81. package/dist/chunks/{host-profile-evaluation-tools-5LZQHA32.js → host-profile-evaluation-tools-XMGGHVH3.js} +1 -1
  82. package/dist/chunks/{hosted-app-server-composition-AYZM2HY6.js → hosted-app-server-composition-U7WGMN5B.js} +1 -1
  83. package/dist/chunks/{hosted-experiment-improvement-SMZJYRJ7.js → hosted-experiment-improvement-VQN6PJKR.js} +1 -1
  84. package/dist/chunks/{hosted-harness-runtime-QWIFAITG.js → hosted-harness-runtime-O6E5LCGN.js} +1 -1
  85. package/dist/chunks/{hosted-profile-candidate-WOMWAE5N.js → hosted-profile-candidate-HQ544PNP.js} +1 -1
  86. package/dist/chunks/{hosted-profile-compiler-NZ2BXN32.js → hosted-profile-compiler-K4OACT7S.js} +1 -1
  87. package/dist/chunks/{hosted-profile-evaluation-control-3ECFFM7E.js → hosted-profile-evaluation-control-TKYM73YY.js} +1 -1
  88. package/dist/chunks/{hosted-profile-evaluation-inspection-TM7RKONG.js → hosted-profile-evaluation-inspection-HFCFUYQ4.js} +1 -1
  89. package/dist/chunks/{hosted-profile-evaluation-preparation-2MZIRT75.js → hosted-profile-evaluation-preparation-OJ6AR5P5.js} +1 -1
  90. package/dist/chunks/{human-review-PG4WWVWV.js → human-review-HTHWLUNA.js} +1 -1
  91. package/dist/chunks/{import-FAZAVZBF.js → import-IWDEDLM3.js} +1 -1
  92. package/dist/chunks/{local-harness-improvement-runtime-OYLTKMJU.js → local-harness-improvement-runtime-BWZBMOGL.js} +1 -1
  93. package/dist/chunks/{local-harness-taskset-review-I7YU4RZI.js → local-harness-taskset-review-JL2XNXML.js} +1 -1
  94. package/dist/chunks/{opchat-TCZA6373.js → opchat-RJINPBFB.js} +1 -1
  95. package/dist/chunks/{opchat-bounded-chat-GMYDXLWB.js → opchat-bounded-chat-WRXN7S52.js} +1 -1
  96. package/dist/chunks/{organizations-PYKGA2P2.js → organizations-AWMQ46PJ.js} +1 -1
  97. package/dist/chunks/{profile-GYYI555I.js → profile-VJDML6I7.js} +1 -1
  98. package/dist/chunks/{project-action-payload-FE6M2OXJ.js → project-action-payload-65MTQMQW.js} +1 -1
  99. package/dist/chunks/{project-agent-4ISJFMJD.js → project-agent-NI4EGNDI.js} +1 -1
  100. package/dist/chunks/{published-experiment-source-E2YAJCLM.js → published-experiment-source-L7BER6AE.js} +1 -1
  101. package/dist/chunks/{refiner-profile-service-LKGXD5WJ.js → refiner-profile-service-56776J7B.js} +1 -1
  102. package/dist/chunks/{runtime-UDLOZD4Y.js → runtime-GN2H2R7L.js} +2 -2
  103. package/dist/chunks/{sandbox-command-4J6DAY7T.js → sandbox-command-763SZPJ4.js} +1 -1
  104. package/dist/chunks/{sandbox-template-TSXWJMWG.js → sandbox-template-AVTZNKFZ.js} +1 -1
  105. package/dist/chunks/{saved-work-QTEBKVUB.js → saved-work-OMBDT3ZR.js} +1 -1
  106. package/dist/chunks/{send-turn-4MH4WMLW.js → send-turn-VQRLIHOE.js} +1 -1
  107. package/dist/chunks/{setup-IVT2FQSE.js → setup-C6673TJK.js} +1 -1
  108. package/dist/chunks/{src-TOSQX36I.js → src-HHFJIPL5.js} +1 -1
  109. package/dist/chunks/{src-DC7N2H7A.js → src-UHNSXT34.js} +2 -2
  110. package/dist/chunks/{store-chat-resources-QLXKKYYC.js → store-chat-resources-TYR7D2UP.js} +1 -1
  111. package/dist/chunks/{store-continual-support-reviews-4F2BOG3H.js → store-continual-support-reviews-63YCKG3P.js} +1 -1
  112. package/dist/chunks/{store-conversation-serving-EUD47W6X.js → store-conversation-serving-PDSBGL3E.js} +1 -1
  113. package/dist/chunks/{store-create-improve-QUOTNNIM.js → store-create-improve-RYASTT56.js} +1 -1
  114. package/dist/chunks/{store-datasets-ZUC7CNVO.js → store-datasets-PELTRO4A.js} +1 -1
  115. package/dist/chunks/{store-evaluation-results-LHHPHESK.js → store-evaluation-results-OUTNEMAY.js} +1 -1
  116. package/dist/chunks/{store-human-review-7WZWRJ6X.js → store-human-review-GIMAXCJQ.js} +1 -1
  117. package/dist/chunks/{store-learned-preference-migration-validation-MVNKBR4X.js → store-learned-preference-migration-validation-DHOSHA6C.js} +1 -1
  118. package/dist/chunks/{store-local-experiments-HB53QFLL.js → store-local-experiments-AH4Z6RWX.js} +1 -1
  119. package/dist/chunks/{store-model-batch-review-O3I6GIAA.js → store-model-batch-review-UUW6ZLDH.js} +1 -1
  120. package/dist/chunks/{store-model-configuration-CDIGNU6Q.js → store-model-configuration-4U5A6DU7.js} +1 -1
  121. package/dist/chunks/{store-model-project-preparation-QMQ2HMJV.js → store-model-project-preparation-MYHO43VH.js} +1 -1
  122. package/dist/chunks/{store-modification-recordings-W4VEZKKQ.js → store-modification-recordings-OZBLFYCT.js} +1 -1
  123. package/dist/chunks/{store-sidebar-file-bookmarks-KAEDHVVF.js → store-sidebar-file-bookmarks-NQ3ZLTGZ.js} +1 -1
  124. package/dist/chunks/{store-sidebar-preferences-QPBLTHY6.js → store-sidebar-preferences-L6J7J5WC.js} +1 -1
  125. package/dist/chunks/{store-subagents-ZELQP3MX.js → store-subagents-6FHGHQ6V.js} +1 -1
  126. package/dist/chunks/{store-task-inbox-4ZDQR2E7.js → store-task-inbox-M7YZNCRF.js} +1 -1
  127. package/dist/chunks/{store-task-inventory-CTIJDLYE.js → store-task-inventory-TTJQAM3T.js} +1 -1
  128. package/dist/chunks/{store-taskset-drafts-FRPBYLTW.js → store-taskset-drafts-4GVHDLJJ.js} +1 -1
  129. package/dist/chunks/{store-training-WQAYUT7B.js → store-training-MGGTGTV2.js} +1 -1
  130. package/dist/chunks/{store-training-jobs-O5EHGTH7.js → store-training-jobs-XKDUX4SV.js} +1 -1
  131. package/dist/chunks/{store-training-models-YSZMC66T.js → store-training-models-4S4ZT3BL.js} +1 -1
  132. package/dist/chunks/{taskset-OVYM4QMS.js → taskset-SLQSCYJI.js} +1 -1
  133. package/dist/chunks/{teams-bot-U2M3ORWR.js → teams-bot-PX7HUAQQ.js} +1 -1
  134. package/dist/chunks/{tool-learning-NXVR4YPA.js → tool-learning-25Z2JOBS.js} +1 -1
  135. package/dist/chunks/{training-EQ7G5FDY.js → training-2LUQ2IZM.js} +1 -1
  136. package/dist/chunks/{training-LQUAL4Y4.js → training-JA5ZQABE.js} +1 -1
  137. package/dist/chunks/{training-PEZYJ2SN.js → training-NL5GYZKU.js} +1 -1
  138. package/dist/chunks/training-hosted-NLXMISNL.js +2 -0
  139. package/dist/chunks/{training-hosted-alphaedit-VCOEYLKK.js → training-hosted-alphaedit-WGMJ3L2D.js} +1 -1
  140. package/dist/chunks/{training-hosted-decision-IKWWXA56.js → training-hosted-decision-66EUMUIW.js} +1 -1
  141. package/dist/chunks/{training-hosted-engram-3TOPPVSW.js → training-hosted-engram-QDXSJ77I.js} +1 -1
  142. package/dist/chunks/{training-hosted-modification-comparison-C6S4JFHW.js → training-hosted-modification-comparison-2MH5FZMZ.js} +1 -1
  143. package/dist/chunks/{training-hosted-neuron-training-EP2U4PHG.js → training-hosted-neuron-training-3QXKIEKT.js} +1 -1
  144. package/dist/chunks/{training-hosted-serving-report-KJMRZJLQ.js → training-hosted-serving-report-ZG75ACZK.js} +1 -1
  145. package/dist/chunks/{training-hosted-steering-I27DV6A2.js → training-hosted-steering-KFMTKCTX.js} +1 -1
  146. package/dist/chunks/{training-model-start-NWXNGRDC.js → training-model-start-NMQ55UHZ.js} +1 -1
  147. package/dist/chunks/{workspaces-FVQYJPOS.js → workspaces-ROFG76XK.js} +1 -1
  148. package/dist/cli.js +1 -1
  149. package/dist/skills/manifest.json +1 -1
  150. package/dist/web/assets/{App-QM6Y2Eod.js → App-CV1p0_Zy.js} +4 -4
  151. package/dist/web/assets/{AppDialog-C8um481a.js → AppDialog-DdGt7aU1.js} +1 -1
  152. package/dist/web/assets/{AppTerminalPanel-OwNr-bp6.js → AppTerminalPanel-B2p_tYh5.js} +2 -2
  153. package/dist/web/assets/{AppToastContext-BQ4iRFif.js → AppToastContext-D7z0w1PS.js} +1 -1
  154. package/dist/web/assets/{AppsView-mk8m_Cra.js → AppsView-B-Ts-M_V.js} +1 -1
  155. package/dist/web/assets/{AttachmentTypeIcon-SITPqTtF.js → AttachmentTypeIcon-BJ5i12im.js} +1 -1
  156. package/dist/web/assets/{BrowserSidebar-BghdIKTB.js → BrowserSidebar-BVHthjXU.js} +1 -1
  157. package/dist/web/assets/{CartesianChart-BdRx7q_O.js → CartesianChart-BuJ1wFS7.js} +1 -1
  158. package/dist/web/assets/{ChatTimelineEntry-BBOnAzJB.js → ChatTimelineEntry-CfiiTrK4.js} +1 -1
  159. package/dist/web/assets/{CollaborationTabs-Beja-9s5.js → CollaborationTabs-1t9zAhDC.js} +1 -1
  160. package/dist/web/assets/{CommandMenu-CQtrSUpu.js → CommandMenu-DTB6xjGG.js} +1 -1
  161. package/dist/web/assets/{CommunityView-LPTAakS-.js → CommunityView-BjeZ56id.js} +1 -1
  162. package/dist/web/assets/{ComposerAttachments-DI-Gr7Zw.js → ComposerAttachments-C_K_05H9.js} +1 -1
  163. package/dist/web/assets/{ComposerCreateImproveStrip-CY5Uw1yc.js → ComposerCreateImproveStrip-A38jnNGd.js} +1 -1
  164. package/dist/web/assets/{ConversationImportsSettings-DFwhKERw.js → ConversationImportsSettings-jwaoKQZt.js} +1 -1
  165. package/dist/web/assets/{DatasetReviewImport-C9xraQk7.js → DatasetReviewImport-DZA1s3XG.js} +1 -1
  166. package/dist/web/assets/{ExperimentTrainingDataWorkspace-Cx58S6R_.js → ExperimentTrainingDataWorkspace-DowPuAXk.js} +2 -2
  167. package/dist/web/assets/{FilePagePreview-dlbmR8s8.js → FilePagePreview-11ZNRtdT.js} +2 -2
  168. package/dist/web/assets/{GetStartedView-BkTV_shK.js → GetStartedView-bLVKmjqg.js} +1 -1
  169. package/dist/web/assets/{GettingStartedDialog-DulDLYnr.js → GettingStartedDialog-BeimFLZh.js} +1 -1
  170. package/dist/web/assets/{HostedModelLearningReview--fXJEOfI.js → HostedModelLearningReview-DiFVb3WK.js} +1 -1
  171. package/dist/web/assets/{HostedModelLearningSettings-BEb7B_PC.js → HostedModelLearningSettings-DtUF5ejq.js} +1 -1
  172. package/dist/web/assets/{HtmlVisual-BS61T2qR.js → HtmlVisual-CgVTWr64.js} +1 -1
  173. package/dist/web/assets/{LabModelVersionDetailPage-CmzUIDbR.js → LabModelVersionDetailPage-BvinwnBN.js} +1 -1
  174. package/dist/web/assets/{LabModelWorkspace-DoAnQKWk.js → LabModelWorkspace-Q5DG2mLP.js} +1 -1
  175. package/dist/web/assets/{LabSkillSidebar-DJTm7ZQs.js → LabSkillSidebar-cmhZzr4f.js} +1 -1
  176. package/dist/web/assets/{LabsRoute-DNtBot4a.js → LabsRoute-DS_mlprv.js} +4 -4
  177. package/dist/web/assets/{LearningBatchesPage-C_oQjciE.js → LearningBatchesPage-Cm-btgWc.js} +1 -1
  178. package/dist/web/assets/{MainChatThread-D9e-to8e.js → MainChatThread-DbTn4Bag.js} +2 -2
  179. package/dist/web/assets/{MainPane-mWeD0M-f.js → MainPane-BtzUF6O_.js} +6 -6
  180. package/dist/web/assets/{ModelProjectPageHeader-BecKU_2p.js → ModelProjectPageHeader-C4mgVJGx.js} +1 -1
  181. package/dist/web/assets/{NativeSetupTerminal-DO0DN4fH.js → NativeSetupTerminal-bJpDkKk1.js} +2 -2
  182. package/dist/web/assets/{NativeSkillSidebar-jnxgQASC.js → NativeSkillSidebar-BuToZvK-.js} +1 -1
  183. package/dist/web/assets/{NewProjectDialog-ByHR4vMf.js → NewProjectDialog-F0BPQy0S.js} +1 -1
  184. package/dist/web/assets/{OutputsPage-DZY4BUCy.js → OutputsPage-DC4g59_8.js} +1 -1
  185. package/dist/web/assets/{PageChrome-DjPuwWsn.js → PageChrome-ufq2jePD.js} +1 -1
  186. package/dist/web/assets/{ProjectsPage-DKbwhIM4.js → ProjectsPage-7mbOvMfO.js} +1 -1
  187. package/dist/web/assets/{RightChatPanelStack-BARH0XuL.js → RightChatPanelStack-sR9xN3RP.js} +1 -1
  188. package/dist/web/assets/RightSidebarHomePanel-joZavyR9.js +1 -0
  189. package/dist/web/assets/{ScheduledWorkPage-CElrmRz9.js → ScheduledWorkPage-s9CN6nR_.js} +1 -1
  190. package/dist/web/assets/{SettingsView-CsFSjE9s.js → SettingsView-CZNWYK-D.js} +3 -3
  191. package/dist/web/assets/{TasksetDraftEditorPrimitives-DJoYkvWq.js → TasksetDraftEditorPrimitives-BnMqzE-T.js} +1 -1
  192. package/dist/web/assets/{TeamChatView-D9Y4e98Y.js → TeamChatView-XthM6n4S.js} +1 -1
  193. package/dist/web/assets/{TerminalOverlay-CUO8yZjy.js → TerminalOverlay--HCFZaQW.js} +1 -1
  194. package/dist/web/assets/{TrainingCreationPanel-_mnLQ1HA.js → TrainingCreationPanel-D2F6kPg_.js} +1 -1
  195. package/dist/web/assets/{TrainingDraftPanel-CCqQTHo5.js → TrainingDraftPanel-BurWPp9F.js} +1 -1
  196. package/dist/web/assets/{UsageSettingsSection-CdWq5oYC.js → UsageSettingsSection-D7jdscDm.js} +1 -1
  197. package/dist/web/assets/WorkSidebarPanel-CmdXCmrZ.js +1 -0
  198. package/dist/web/assets/{WorkspaceDiffPanel-CdHr8bX6.js → WorkspaceDiffPanel-CPaCC1_p.js} +3 -3
  199. package/dist/web/assets/{WorkspaceEnvironmentMenu-BnUh4dg9.js → WorkspaceEnvironmentMenu-BZxu6mUS.js} +1 -1
  200. package/dist/web/assets/{WorkspaceFileLocation-VzrSq_Ki.js → WorkspaceFileLocation-C4K_D_yh.js} +1 -1
  201. package/dist/web/assets/{WorkspaceGitDialogs-nwvQOm9r.js → WorkspaceGitDialogs-C0Yf29V0.js} +1 -1
  202. package/dist/web/assets/{WorkspaceMonacoEditor-m3bCIpZe.js → WorkspaceMonacoEditor-BRPLaFZS.js} +3 -3
  203. package/dist/web/assets/{WorkspacePdfPreview-u6Iv0qr0.js → WorkspacePdfPreview-9wypyV6H.js} +2 -2
  204. package/dist/web/assets/{WorkspacePresentationPreview-CjvTjhUO.js → WorkspacePresentationPreview-C-Cn-9pj.js} +1 -1
  205. package/dist/web/assets/{bot-DiDSZBLn.js → bot-BuaAVlz6.js} +1 -1
  206. package/dist/web/assets/{chat-resources-CmBtWC5V.js → chat-resources-DMPHClhQ.js} +1 -1
  207. package/dist/web/assets/chevron-down-CkifKd_O.js +1 -0
  208. package/dist/web/assets/chevron-right-LsMXJ5SB.js +1 -0
  209. package/dist/web/assets/chevron-up-Dt5T2Sf5.js +1 -0
  210. package/dist/web/assets/{chunk-C3TS766N-DSA4vs-Y.js → chunk-C3TS766N-BXUEjt7d.js} +1 -1
  211. package/dist/web/assets/{client-_uDCFdg5.js → client-C-ZuakZR.js} +1 -1
  212. package/dist/web/assets/{client-choice-storage-CRKZpilL.js → client-choice-storage-DWIA0Vou.js} +1 -1
  213. package/dist/web/assets/{cloud-upload-CWamjPts.js → cloud-upload-B5LqiNCG.js} +1 -1
  214. package/dist/web/assets/{copy-B56YjDkW.js → copy-BYIypHbq.js} +1 -1
  215. package/dist/web/assets/{cssMode-BuC9qQvo.js → cssMode-ByypIqUN.js} +1 -1
  216. package/dist/web/assets/{external-link-BSn21e-y.js → external-link-Cv7TDVPT.js} +1 -1
  217. package/dist/web/assets/{folder-open-CaJGWSr2.js → folder-open-DlIP3g5o.js} +1 -1
  218. package/dist/web/assets/{folder-plus-eTUep-az.js → folder-plus-CXwFJqcY.js} +1 -1
  219. package/dist/web/assets/{git-commit-horizontal-Buk_hy6T.js → git-commit-horizontal-DMh_-WxU.js} +1 -1
  220. package/dist/web/assets/{htmlMode-D7kF2kDL.js → htmlMode-CQGeb-h5.js} +1 -1
  221. package/dist/web/assets/{icons-B4B5eUyR.js → icons-CYvTltSH.js} +1 -1
  222. package/dist/web/assets/{image--4h1aK2l.js → image-Ci1JxTQX.js} +1 -1
  223. package/dist/web/assets/{index-CCaTs7xt.js → index-CDtTBysF.js} +2 -2
  224. package/dist/web/assets/{info-DjMTH4sJ.js → info-EjyMkVzV.js} +1 -1
  225. package/dist/web/assets/{jsonMode-BVX_7KjE.js → jsonMode-Dm6YK6Dw.js} +1 -1
  226. package/dist/web/assets/loader-circle-AjP2mDJA.js +1 -0
  227. package/dist/web/assets/{lspLanguageFeatures-RBOb-3wX.js → lspLanguageFeatures-BjtOz-Ln.js} +1 -1
  228. package/dist/web/assets/{maximize-2-Cjg-f1xT.js → maximize-2-CvvoALtI.js} +1 -1
  229. package/dist/web/assets/{message-square-oIMQDMc3.js → message-square-CPtIPRtf.js} +1 -1
  230. package/dist/web/assets/{monaco.contribution-CIwt2mTE.js → monaco.contribution-ClH8Tmjq.js} +2 -2
  231. package/dist/web/assets/{monaco.contribution-CIbGU5-C.js → monaco.contribution-VSFFgrfZ.js} +2 -2
  232. package/dist/web/assets/{monaco.contribution-KRLNg324.js → monaco.contribution-e5DNaEix.js} +2 -2
  233. package/dist/web/assets/{monaco.contribution-Dd1cPdSS.js → monaco.contribution-wpC0-Kxw.js} +2 -2
  234. package/dist/web/assets/{monitor-BWaitd6I.js → monitor-BroZpIvk.js} +1 -1
  235. package/dist/web/assets/{paperclip-FYK6OySO.js → paperclip-DYZEL_Gi.js} +1 -1
  236. package/dist/web/assets/{pdf-DbwlsqZP.js → pdf-DkU37Bi0.js} +1 -1
  237. package/dist/web/assets/play-BrvX67t1.js +1 -0
  238. package/dist/web/assets/plus-DFjCZeRE.js +1 -0
  239. package/dist/web/assets/{presentation-B6MaAPC7.js → presentation-CddfsTzp.js} +1 -1
  240. package/dist/web/assets/{python-DRYJxjiM.js → python-CMdyfF2B.js} +1 -1
  241. package/dist/web/assets/{refresh-cw-DOVpqCfJ.js → refresh-cw-Cx_7Zlbl.js} +1 -1
  242. package/dist/web/assets/{save-BuyyyR4Q.js → save-BaeHeBBw.js} +1 -1
  243. package/dist/web/assets/{settings-lists-BeAdxSjx.js → settings-lists-CVg9h-5z.js} +1 -1
  244. package/dist/web/assets/square-Di5JBnVr.js +1 -0
  245. package/dist/web/assets/{square-terminal-DTOIZy6_.js → square-terminal-CBlQtWQw.js} +1 -1
  246. package/dist/web/assets/{submit-issue-command-V--K9lVQ.js → submit-issue-command-L5--gt9i.js} +1 -1
  247. package/dist/web/assets/{toggleHighContrast-nNzCoE0h.js → toggleHighContrast-hftC_Rxs.js} +1 -1
  248. package/dist/web/assets/{training-DZgfVcI-.js → training-CGYukv2L.js} +1 -1
  249. package/dist/web/assets/{training-model-data-CWoTokkb.js → training-model-data-vvvphDlO.js} +1 -1
  250. package/dist/web/assets/{tsMode-BfVi5_FZ.js → tsMode-B0sZU1HD.js} +1 -1
  251. package/dist/web/assets/{upload-C2MnlWjj.js → upload-Bzt1ooBz.js} +1 -1
  252. package/dist/web/assets/{useAccountSettings-QwRbZIKu.js → useAccountSettings-BnxwetkP.js} +1 -1
  253. package/dist/web/assets/{useAgentInventory-B7xEgMCA.js → useAgentInventory-D_qS4ols.js} +1 -1
  254. package/dist/web/assets/{useChatContextSelection-O6wo4EqD.js → useChatContextSelection-D8aSVtCm.js} +1 -1
  255. package/dist/web/assets/{useLocalAgentSchedules-DpHnOGoV.js → useLocalAgentSchedules-CUQ1MW4l.js} +1 -1
  256. package/dist/web/assets/{useQuery-CvZ8bzdW.js → useQuery-9SCnxwmR.js} +1 -1
  257. package/dist/web/assets/{wifi-off-B8d12Alh.js → wifi-off-DWtVm7W7.js} +1 -1
  258. package/dist/web/assets/{workers-sIVKxb8c.js → workers-B3jA6AOv.js} +1 -1
  259. package/dist/web/assets/x-EG07vYCF.js +1 -0
  260. package/dist/web/assets/{yaml-8-aLM3zj.js → yaml-BEUL30-5.js} +1 -1
  261. package/dist/web/index.html +1 -1
  262. package/docs/command-reference.md +4 -1
  263. package/package.json +1 -1
  264. package/dist/chunks/chunk-2Q2AWPP2.js +0 -2
  265. package/dist/chunks/chunk-AWD72O3G.js +0 -2
  266. package/dist/chunks/training-hosted-XKSUTMLQ.js +0 -2
  267. package/dist/web/assets/RightSidebarHomePanel-qKL8dZrN.js +0 -1
  268. package/dist/web/assets/WorkSidebarPanel-DRXaK-E6.js +0 -1
  269. package/dist/web/assets/chevron-down-CqxKXYPf.js +0 -1
  270. package/dist/web/assets/chevron-right-ClP6ukIq.js +0 -1
  271. package/dist/web/assets/chevron-up-DY7wpdJ1.js +0 -1
  272. package/dist/web/assets/loader-circle-DNHvEoaP.js +0 -1
  273. package/dist/web/assets/play-DieChKfF.js +0 -1
  274. package/dist/web/assets/plus-DkfcQyma.js +0 -1
  275. package/dist/web/assets/square-D0YnIVh6.js +0 -1
  276. package/dist/web/assets/x-BvVvVB-j.js +0 -1
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
2
- import{b}from"./chunk-UCPD526R.js";import{ja as M}from"./chunk-2THZ6GZY.js";import{Qb as x,m as T,v as A}from"./chunk-D6L6UNUQ.js";import{n as c,o as S}from"./chunk-RCT3O3HQ.js";import{A as I}from"./chunk-X2J2P5ZT.js";import{a as R}from"./chunk-FTQLQJQV.js";function j(e,a,i){if(a==="agent_action"){let n=e.find(u=>u.name==="workspace_action_result"&&u.action==="profile_workflow_action")?.output;if(typeof n!="string")throw new Error("Profile Agent action evaluation did not produce a released action result.");return n}if(i==="completed"){let n=[...e].reverse().find(s=>s.name==="turn.completed"),r=n?.data?.providerResponse,o=n?.data;if(!r&&o?.turn?.status==="completed"){let s=[...e].reverse().find(t=>P(t)!==null);if(!s)throw new Error("Native Profile evaluation has no retained final answer.");let d=P(s);return e.filter(t=>P(t)===d).map(t=>t.output??"").join("")}if(typeof r?.requestId!="string"||!r.requestId||typeof r.contentHash!="string")throw new Error("Profile evaluation has no retained final provider response.");let p=e.filter(s=>s.name==="assistant.delta"&&s.data?.providerRequestId===r.requestId).map(s=>s.output??"").join("");if(c(p)!==r.contentHash)throw new Error("Profile evaluation final provider response differs from its retained trace.");return b(e)??p}return e.filter(n=>n.name==="assistant.delta"&&typeof n.output=="string").map(n=>n.output??"").join("")}R(j,"profileEvaluationOutput");function P(e){let a=e.data;return e.name==="assistant.delta"&&a?.provider==="codex"&&a.phase==="final_answer"&&typeof a.itemId=="string"?a.itemId:null}R(P,"nativeFinalAnswerItemId");async function _(e){let{store:a,manifest:i,receipt:n}=e;if(!n.metadata.retainedEvidenceRef)return null;let u=x.parse(n.metadata.retainedEvidenceRef),[r,o]=await Promise.all([a.getSession(u.sessionId),a.getTurn(u.turnId)]),p=r?.metadata?.profileEvaluationRun,s=i.profileEvaluation;if(!r||!o||o.sessionId!==r.id||!s||!r.currentProfile||c(r.currentProfile)!==c(e.profileRef)||c(p)!==c({id:i.id,contentHash:i.contentHash})||r.metadata?.taskId!==n.taskId||r.metadata?.seed!==n.seed||!o.completedAt||o.completedAt!==n.completedAt||o.startedAt!==n.startedAt||!o.harnessSnapshot||o.harnessSnapshot.harnessRelease.id!==s.harnessRelease.id||o.harnessSnapshot.harnessRelease.contentHash!==s.harnessRelease.contentHash||i.policy.kind!=="model"||!o.modelRef||o.modelRef.providerId!==i.policy.model.provider||o.modelRef.modelId!==i.policy.model.model)throw new Error("Retained Profile policy turn differs from its admitted case.");let d=await a.runtimeEventsForTurn(o.id);if(d.some(v=>v.turnId!==o.id)||c(d)!==n.traceHash)throw new Error("Retained Profile policy trace differs from its immutable receipt.");let t=j(d,s.target.kind,o.status);if(n.outputHash!==null&&c({text:t})!==n.outputHash)throw new Error("Retained Profile output differs from its immutable receipt.");let m=n.artifactRefs.flatMap(v=>{let y=d.filter(l=>(l.action==="work_output_save"||l.action==="sandbox_save_output")&&l.status==="completed").flatMap(l=>{let C=l.data&&typeof l.data=="object"?l.data:{},k=M.safeParse(C.outputRef);return k.success?[k.data]:[]}).filter(l=>l.sourceTaskId===r.id&&l.sourceTurnId===o.id&&`${r.id}/${l.id}/${l.revision}/${l.title}`===v.id&&l.sha256===v.contentHash&&l.sizeBytes===v.sizeBytes&&l.contentType===v.mediaType);if(y.length!==1)throw new Error("The case output has no unique sealed saved-file identity.");let h=y[0];if(h.location.kind!=="managed")return[];let H=`/api/work/outputs/${encodeURIComponent(h.location.fileId)}`;if(h.location.downloadPath!==H)throw new Error("The saved output has no canonical managed download route.");return[{id:h.id,title:h.title,revision:h.revision,contentType:h.contentType,sizeBytes:h.sizeBytes,sha256:h.sha256,downloadPath:H}]}),f=await a.listModelUsageRecords({sessionId:r.id,turnId:o.id,limit:1e4}),E=e.eventAfterId?d.findIndex(v=>v.id===e.eventAfterId):-1;if(e.eventAfterId&&E<0)throw new Error("Profile trace cursor is unavailable in this case.");let g=E+1,q=Math.max(1,Math.min(250,e.eventLimit??100)),w=d.slice(g,g+q);return{ref:u,prompt:o.prompt,output:n.outputHash===null?null:{text:t},partialOutput:n.outputHash===null&&t?{text:t}:null,error:o.error,events:w,eventCount:d.length,nextEventCursor:g+w.length<d.length?w.at(-1).id:null,files:m,usage:f,usageCoverage:f.length===1e4?"partial":"complete"}}R(_,"readProfileEvaluationPolicyEvidence");var W=I.object({runId:I.string().trim().min(1).max(240),receiptId:I.string().trim().min(1).max(500).optional(),eventAfterId:I.string().trim().min(1).max(500).optional(),eventLimit:I.number().int().min(1).max(250).optional(),manifest:A.optional()}).strict().refine(e=>e.receiptId||!e.eventAfterId&&!e.eventLimit,"Select a case before requesting its trace page.").refine(e=>!e.manifest||e.receiptId,"Interrupted-run inspection requires one exact case.");async function D(e){let a=await e.store.getProfileEvaluationRun(e.runId);if(a&&c(a.profileRef)!==c(e.profileRef))throw new Error("Profile evaluation run is unavailable in the selected Profile.");let i=a?.manifest??e.manifest;if(!i||!a&&!e.receiptId)throw new Error("Profile evaluation run is unavailable in the selected Profile.");if(a){if(e.manifest&&e.manifest.contentHash!==a.manifest.contentHash)throw new Error("Profile evaluation run differs from its pinned manifest.")}else if(S(i,"Interrupted Profile evaluation manifest"),i.id!==e.runId||i.profileEvaluation?.profileId!==e.profileRef.profileId||e.profileRef.source==="openpond_git"&&i.metadata.profileRepositoryId!==e.profileRef.repositoryId)throw new Error("Profile evaluation run is unavailable in the selected Profile.");let n=i.population.map((r,o)=>({member:r,index:o})).filter(({member:r})=>!e.receiptId||r.receiptId===e.receiptId);if(e.receiptId&&n.length!==1)throw new Error("Profile evaluation case is unavailable in the selected run.");let u=await Promise.all(n.map(async({member:r,index:o})=>{let p=a?null:await e.store.getProfileEvaluationReceipt(r.receiptId),s=a?.receiptRefs[o]??(p?{id:p.id,contentHash:p.contentHash}:null),d=a?.gradeRefs[o]??p?.graderEvidenceRefs[0];if(!s||!d)throw new Error("Profile evaluation run has incomplete case evidence.");let[t,m]=await Promise.all([e.store.getProfileEvaluationReceipt(s.id),e.store.getProfileEvaluationGrade(d.contentHash)]);if(!t||!a&&!T(t)||t.contentHash!==s.contentHash||t.id!==r.receiptId||t.taskId!==r.taskId||t.seed!==r.seed||t.runManifest.id!==i.id||t.runManifest.contentHash!==i.contentHash||!m||m.contentHash!==d.contentHash||!t.graderEvidenceRefs.some(f=>f.id===d.id&&f.contentHash===d.contentHash))throw new Error("Profile evaluation case evidence differs from its retained run.");return{taskId:r.taskId,seed:r.seed,receiptId:t.id,receiptHash:t.contentHash,traceHash:t.traceHash,outputHash:t.outputHash,score:m.score,passed:m.passed,gradingStatus:m.gradingStatus,failureClass:m.failureClass,artifactCount:t.artifactRefs.length,latencyMs:t.latencyMs,costUsd:t.costUsd,terminal:t.terminal,feedback:m.components.map(f=>({graderId:f.graderId,graderVersion:f.graderVersion,score:f.score,passed:f.passed,feedback:f.feedback})),...e.receiptId?{receipt:t,evidence:await _({store:e.store,profileRef:e.profileRef,manifest:i,receipt:t,eventAfterId:e.eventAfterId,eventLimit:e.eventLimit})}:{}}}));return{runId:i.id,sourceRevision:i.profileEvaluation?.sourceRevision??null,cases:u}}R(D,"inspectProfileEvaluationRun");export{j as a,W as b,D as c};
2
+ import{b}from"./chunk-WOYBWRRV.js";import{ja as M}from"./chunk-FCC24XUI.js";import{Qb as x,m as T,v as A}from"./chunk-D6L6UNUQ.js";import{n as c,o as S}from"./chunk-RCT3O3HQ.js";import{A as I}from"./chunk-X2J2P5ZT.js";import{a as R}from"./chunk-FTQLQJQV.js";function j(e,a,i){if(a==="agent_action"){let n=e.find(u=>u.name==="workspace_action_result"&&u.action==="profile_workflow_action")?.output;if(typeof n!="string")throw new Error("Profile Agent action evaluation did not produce a released action result.");return n}if(i==="completed"){let n=[...e].reverse().find(s=>s.name==="turn.completed"),r=n?.data?.providerResponse,o=n?.data;if(!r&&o?.turn?.status==="completed"){let s=[...e].reverse().find(t=>P(t)!==null);if(!s)throw new Error("Native Profile evaluation has no retained final answer.");let d=P(s);return e.filter(t=>P(t)===d).map(t=>t.output??"").join("")}if(typeof r?.requestId!="string"||!r.requestId||typeof r.contentHash!="string")throw new Error("Profile evaluation has no retained final provider response.");let p=e.filter(s=>s.name==="assistant.delta"&&s.data?.providerRequestId===r.requestId).map(s=>s.output??"").join("");if(c(p)!==r.contentHash)throw new Error("Profile evaluation final provider response differs from its retained trace.");return b(e)??p}return e.filter(n=>n.name==="assistant.delta"&&typeof n.output=="string").map(n=>n.output??"").join("")}R(j,"profileEvaluationOutput");function P(e){let a=e.data;return e.name==="assistant.delta"&&a?.provider==="codex"&&a.phase==="final_answer"&&typeof a.itemId=="string"?a.itemId:null}R(P,"nativeFinalAnswerItemId");async function _(e){let{store:a,manifest:i,receipt:n}=e;if(!n.metadata.retainedEvidenceRef)return null;let u=x.parse(n.metadata.retainedEvidenceRef),[r,o]=await Promise.all([a.getSession(u.sessionId),a.getTurn(u.turnId)]),p=r?.metadata?.profileEvaluationRun,s=i.profileEvaluation;if(!r||!o||o.sessionId!==r.id||!s||!r.currentProfile||c(r.currentProfile)!==c(e.profileRef)||c(p)!==c({id:i.id,contentHash:i.contentHash})||r.metadata?.taskId!==n.taskId||r.metadata?.seed!==n.seed||!o.completedAt||o.completedAt!==n.completedAt||o.startedAt!==n.startedAt||!o.harnessSnapshot||o.harnessSnapshot.harnessRelease.id!==s.harnessRelease.id||o.harnessSnapshot.harnessRelease.contentHash!==s.harnessRelease.contentHash||i.policy.kind!=="model"||!o.modelRef||o.modelRef.providerId!==i.policy.model.provider||o.modelRef.modelId!==i.policy.model.model)throw new Error("Retained Profile policy turn differs from its admitted case.");let d=await a.runtimeEventsForTurn(o.id);if(d.some(v=>v.turnId!==o.id)||c(d)!==n.traceHash)throw new Error("Retained Profile policy trace differs from its immutable receipt.");let t=j(d,s.target.kind,o.status);if(n.outputHash!==null&&c({text:t})!==n.outputHash)throw new Error("Retained Profile output differs from its immutable receipt.");let m=n.artifactRefs.flatMap(v=>{let y=d.filter(l=>(l.action==="work_output_save"||l.action==="sandbox_save_output")&&l.status==="completed").flatMap(l=>{let C=l.data&&typeof l.data=="object"?l.data:{},k=M.safeParse(C.outputRef);return k.success?[k.data]:[]}).filter(l=>l.sourceTaskId===r.id&&l.sourceTurnId===o.id&&`${r.id}/${l.id}/${l.revision}/${l.title}`===v.id&&l.sha256===v.contentHash&&l.sizeBytes===v.sizeBytes&&l.contentType===v.mediaType);if(y.length!==1)throw new Error("The case output has no unique sealed saved-file identity.");let h=y[0];if(h.location.kind!=="managed")return[];let H=`/api/work/outputs/${encodeURIComponent(h.location.fileId)}`;if(h.location.downloadPath!==H)throw new Error("The saved output has no canonical managed download route.");return[{id:h.id,title:h.title,revision:h.revision,contentType:h.contentType,sizeBytes:h.sizeBytes,sha256:h.sha256,downloadPath:H}]}),f=await a.listModelUsageRecords({sessionId:r.id,turnId:o.id,limit:1e4}),E=e.eventAfterId?d.findIndex(v=>v.id===e.eventAfterId):-1;if(e.eventAfterId&&E<0)throw new Error("Profile trace cursor is unavailable in this case.");let g=E+1,q=Math.max(1,Math.min(250,e.eventLimit??100)),w=d.slice(g,g+q);return{ref:u,prompt:o.prompt,output:n.outputHash===null?null:{text:t},partialOutput:n.outputHash===null&&t?{text:t}:null,error:o.error,events:w,eventCount:d.length,nextEventCursor:g+w.length<d.length?w.at(-1).id:null,files:m,usage:f,usageCoverage:f.length===1e4?"partial":"complete"}}R(_,"readProfileEvaluationPolicyEvidence");var W=I.object({runId:I.string().trim().min(1).max(240),receiptId:I.string().trim().min(1).max(500).optional(),eventAfterId:I.string().trim().min(1).max(500).optional(),eventLimit:I.number().int().min(1).max(250).optional(),manifest:A.optional()}).strict().refine(e=>e.receiptId||!e.eventAfterId&&!e.eventLimit,"Select a case before requesting its trace page.").refine(e=>!e.manifest||e.receiptId,"Interrupted-run inspection requires one exact case.");async function D(e){let a=await e.store.getProfileEvaluationRun(e.runId);if(a&&c(a.profileRef)!==c(e.profileRef))throw new Error("Profile evaluation run is unavailable in the selected Profile.");let i=a?.manifest??e.manifest;if(!i||!a&&!e.receiptId)throw new Error("Profile evaluation run is unavailable in the selected Profile.");if(a){if(e.manifest&&e.manifest.contentHash!==a.manifest.contentHash)throw new Error("Profile evaluation run differs from its pinned manifest.")}else if(S(i,"Interrupted Profile evaluation manifest"),i.id!==e.runId||i.profileEvaluation?.profileId!==e.profileRef.profileId||e.profileRef.source==="openpond_git"&&i.metadata.profileRepositoryId!==e.profileRef.repositoryId)throw new Error("Profile evaluation run is unavailable in the selected Profile.");let n=i.population.map((r,o)=>({member:r,index:o})).filter(({member:r})=>!e.receiptId||r.receiptId===e.receiptId);if(e.receiptId&&n.length!==1)throw new Error("Profile evaluation case is unavailable in the selected run.");let u=await Promise.all(n.map(async({member:r,index:o})=>{let p=a?null:await e.store.getProfileEvaluationReceipt(r.receiptId),s=a?.receiptRefs[o]??(p?{id:p.id,contentHash:p.contentHash}:null),d=a?.gradeRefs[o]??p?.graderEvidenceRefs[0];if(!s||!d)throw new Error("Profile evaluation run has incomplete case evidence.");let[t,m]=await Promise.all([e.store.getProfileEvaluationReceipt(s.id),e.store.getProfileEvaluationGrade(d.contentHash)]);if(!t||!a&&!T(t)||t.contentHash!==s.contentHash||t.id!==r.receiptId||t.taskId!==r.taskId||t.seed!==r.seed||t.runManifest.id!==i.id||t.runManifest.contentHash!==i.contentHash||!m||m.contentHash!==d.contentHash||!t.graderEvidenceRefs.some(f=>f.id===d.id&&f.contentHash===d.contentHash))throw new Error("Profile evaluation case evidence differs from its retained run.");return{taskId:r.taskId,seed:r.seed,receiptId:t.id,receiptHash:t.contentHash,traceHash:t.traceHash,outputHash:t.outputHash,score:m.score,passed:m.passed,gradingStatus:m.gradingStatus,failureClass:m.failureClass,artifactCount:t.artifactRefs.length,latencyMs:t.latencyMs,costUsd:t.costUsd,terminal:t.terminal,feedback:m.components.map(f=>({graderId:f.graderId,graderVersion:f.graderVersion,score:f.score,passed:f.passed,feedback:f.feedback})),...e.receiptId?{receipt:t,evidence:await _({store:e.store,profileRef:e.profileRef,manifest:i,receipt:t,eventAfterId:e.eventAfterId,eventLimit:e.eventLimit})}:{}}}));return{runId:i.id,sourceRevision:i.profileEvaluation?.sourceRevision??null,cases:u}}R(D,"inspectProfileEvaluationRun");export{j as a,W as b,D as c};
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
2
- import{F as d}from"./chunk-2THZ6GZY.js";import{a as n}from"./chunk-FTQLQJQV.js";import{access as m,readFile as g}from"node:fs/promises";import{createHash as h}from"node:crypto";import o from"node:path";import{fileURLToPath as w}from"node:url";var i="openpond-taskset-authoring",f="artifact.json",u=o.dirname(w(import.meta.url));async function P(e=process.cwd()){return(await p(e)).bundle}n(P,"loadTasksetAuthoringSkillBundle");async function p(e=process.cwd()){let s=await k(e),t=JSON.parse(await g(o.join(s,f),"utf8"));if(t.schemaVersion!==1||t.skillName!==i||!t.artifactVersion||!t.bundle||!/^[a-f0-9]{64}$/.test(t.contentHash))throw new Error("Bundled Taskset Authoring artifact is invalid.");let{contentHash:r,...a}=t;if(h("sha256").update(JSON.stringify(a)).digest("hex")!==r)throw new Error("Bundled Taskset Authoring artifact hash does not match.");for(let l of t.files)if(h("sha256").update(l.contents).digest("hex")!==l.sha256)throw new Error(`Bundled Taskset Authoring file hash does not match: ${l.path}`);return t}n(p,"loadTasksetAuthoringSkillArtifact");async function S(e=process.cwd()){let s=await k(e),t=await p(e),r=t.bundle,a=d.find(c=>c.name===i);if(!a)throw new Error("Taskset Authoring skill metadata is missing.");return{...a,path:o.join(s,"SKILL.md"),sourcePath:s,charCount:r.length,sourceHash:t.contentHash,validationMessages:[...a.validationMessages],resourceFiles:[...a.resourceFiles]}}n(S,"loadTasksetAuthoringProfileSkill");async function O(e=process.cwd()){let s=await S(e),t=await P(e);return{name:s.name,description:s.description,body:t,path:s.path,sourceHash:s.sourceHash,charCount:s.charCount,packagePath:s.sourcePath,resourceFiles:s.resourceFiles}}n(O,"readTasksetAuthoringProfileSkill");async function k(e=process.cwd(),s=process.execPath){let t=[process.env.OPENPOND_TASKSET_AUTHORING_SKILL_ROOT,o.resolve(e,"apps","cli","skills",i),o.resolve(e,"dist","skills",i),o.resolve(o.dirname(s),"skills",i),o.resolve(u,"skills",i),o.resolve(u,"..","skills",i)].filter(r=>!!r);for(let r of t)if(await m(o.join(r,f)).then(()=>!0,()=>!1))return r;throw new Error(`Bundled Taskset Authoring skill was not found. Checked: ${t.join(", ")}`)}n(k,"resolveTasksetAuthoringSkillRoot");export{p as a,S as b,O as c};
2
+ import{F as d}from"./chunk-FCC24XUI.js";import{a as n}from"./chunk-FTQLQJQV.js";import{access as m,readFile as g}from"node:fs/promises";import{createHash as h}from"node:crypto";import o from"node:path";import{fileURLToPath as w}from"node:url";var i="openpond-taskset-authoring",f="artifact.json",u=o.dirname(w(import.meta.url));async function P(e=process.cwd()){return(await p(e)).bundle}n(P,"loadTasksetAuthoringSkillBundle");async function p(e=process.cwd()){let s=await k(e),t=JSON.parse(await g(o.join(s,f),"utf8"));if(t.schemaVersion!==1||t.skillName!==i||!t.artifactVersion||!t.bundle||!/^[a-f0-9]{64}$/.test(t.contentHash))throw new Error("Bundled Taskset Authoring artifact is invalid.");let{contentHash:r,...a}=t;if(h("sha256").update(JSON.stringify(a)).digest("hex")!==r)throw new Error("Bundled Taskset Authoring artifact hash does not match.");for(let l of t.files)if(h("sha256").update(l.contents).digest("hex")!==l.sha256)throw new Error(`Bundled Taskset Authoring file hash does not match: ${l.path}`);return t}n(p,"loadTasksetAuthoringSkillArtifact");async function S(e=process.cwd()){let s=await k(e),t=await p(e),r=t.bundle,a=d.find(c=>c.name===i);if(!a)throw new Error("Taskset Authoring skill metadata is missing.");return{...a,path:o.join(s,"SKILL.md"),sourcePath:s,charCount:r.length,sourceHash:t.contentHash,validationMessages:[...a.validationMessages],resourceFiles:[...a.resourceFiles]}}n(S,"loadTasksetAuthoringProfileSkill");async function O(e=process.cwd()){let s=await S(e),t=await P(e);return{name:s.name,description:s.description,body:t,path:s.path,sourceHash:s.sourceHash,charCount:s.charCount,packagePath:s.sourcePath,resourceFiles:s.resourceFiles}}n(O,"readTasksetAuthoringProfileSkill");async function k(e=process.cwd(),s=process.execPath){let t=[process.env.OPENPOND_TASKSET_AUTHORING_SKILL_ROOT,o.resolve(e,"apps","cli","skills",i),o.resolve(e,"dist","skills",i),o.resolve(o.dirname(s),"skills",i),o.resolve(u,"skills",i),o.resolve(u,"..","skills",i)].filter(r=>!!r);for(let r of t)if(await m(o.join(r,f)).then(()=>!0,()=>!1))return r;throw new Error(`Bundled Taskset Authoring skill was not found. Checked: ${t.join(", ")}`)}n(k,"resolveTasksetAuthoringSkillRoot");export{p as a,S as b,O as c};
@@ -1,5 +1,5 @@
1
1
  import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
2
- import{a as Ne,d as qe,e as De}from"./chunk-T6ML5SCD.js";import{a as te}from"./chunk-OIIE5GUK.js";import{b as Ee,c as ke,h as Ue}from"./chunk-PKJHN666.js";import{b as ee}from"./chunk-PYNW5OFA.js";import{Z as b,ba as Me}from"./chunk-6I5AUTVO.js";import{j as Ae,p as Oe,r as _e,s as He}from"./chunk-2ACX7IW5.js";import{e as Ce}from"./chunk-L5L3H6CI.js";import{Mb as H,Qb as W,Rb as xe,a as $,w as F,x as N}from"./chunk-2THZ6GZY.js";import{h as _,i as Pe}from"./chunk-6ESBAHWK.js";import{a as Q,b as Te}from"./chunk-AITV76GO.js";import{v as Ie}from"./chunk-OTDDXEQ6.js";import{X as he,Y as ve,_ as Z,b as le,ba as we,c as ue,ea as be,fa as V,ja as Se,la as ye,ma as Re,p as ce,r as pe,s as de,t as me,u as ge,w as fe}from"./chunk-SV7ZBEK2.js";import{z as M}from"./chunk-2MEOUS24.js";import{c as ie,d as B,f as ae,h as U}from"./chunk-UGOK7VTC.js";import{A as o}from"./chunk-X2J2P5ZT.js";import{a as l}from"./chunk-FTQLQJQV.js";import{promises as ne}from"node:fs";import mt from"node:os";import gt from"node:path";import{createServer as ft}from"node:http";import{randomBytes as ht}from"node:crypto";var it=o.discriminatedUnion("op",[o.strictObject({op:o.literal("set"),path:o.array(o.string().min(1)).min(1),value:o.unknown()}),o.strictObject({op:o.literal("unset"),path:o.array(o.string().min(1)).min(1)})]),at=o.discriminatedUnion("action",[o.strictObject({action:o.literal("patch"),expectedRevision:o.string(),operations:o.array(it).max(100)}),o.strictObject({action:o.literal("replace"),expectedRevision:o.string(),text:o.string().max(1048576)}),o.strictObject({action:o.literal("validate"),text:o.string().max(1048576)}),o.strictObject({action:o.literal("restore"),expectedRevision:o.string(),revision:o.string()}),o.strictObject({action:o.literal("trust"),root:o.string(),accountId:o.string(),trusted:o.boolean()}),o.strictObject({action:o.literal("client-state"),owner:o.string(),patch:Se,importOnly:o.boolean().optional()})]);function Be(n,e){let t=null;async function r(i,a){let c=U(n).config,p=null,u=null,m=null;try{p=await ue(c),m=await V(n,{projectRoot:i,accountId:a}),i||(t=m)}catch(I){u=B(I,c)}let w=m??(i?null:t);return{path:c,text:p,rawRevision:le(p),issue:u,effective:w,usingLastValid:!m&&!!w,applies:"next_turn",recoverableRevisions:await pe(n),clientState:u?null:await ye(n)}}l(r,"status");async function s(i){let a=at.parse(i);if(a.action==="validate")return{valid:!0,document:ce(a.text,U(n).config)};if(a.action==="client-state")return Re(n,a.owner,a.patch,a.importOnly);let c=l(async()=>{a.action==="patch"&&await fe(n,a.expectedRevision,a.operations),a.action==="replace"&&await de(n,a.expectedRevision,a.text),a.action==="restore"&&await me(n,a.revision,a.expectedRevision),a.action==="trust"&&await be(n,a.root,a.accountId,a.trusted)},"mutation");return e?await e(c):await c(),r()}return l(s,"mutate"),{status:r,mutate:s,schema:ge}}l(Be,"createConfigurationPayloads");import{Buffer as Fe}from"node:buffer";var G={"Access-Control-Allow-Headers":"authorization, content-type, x-openpond-team-id, idempotency-key","Access-Control-Allow-Methods":"GET, POST, PUT, PATCH, DELETE, OPTIONS"},lt=25*1024*1024,j=class extends Error{constructor(t,r,s){super(s);this.status=t;this.code=r;this.name="HttpBodyError"}status;code;static{l(this,"HttpBodyError")}};function Le(n,e,t={}){for(let[s,i]of Object.entries(G))e.setHeader(s,i);let r=$e(n.headers.origin);return r?(e.setHeader("Vary",dt(e.getHeader("Vary"))),ut(r,t)?(e.setHeader("Access-Control-Allow-Origin",r),{allowed:!0,origin:r}):{allowed:!1,origin:r}):{allowed:!0,origin:null}}l(Le,"applyCorsHeaders");function ut(n,e={}){if(n==="null")return!0;let t=je(n);return t?pt(t)?!0:new Set((e.allowedOrigins??[]).map(s=>s?je(s):null).filter(s=>!!s)).has(t):!1}l(ut,"isAllowedCorsOrigin");function x(n,e,t){n.writeHead(e,{"Content-Type":"application/json",...G}),n.end(JSON.stringify(t))}l(x,"sendJson");function Yt(n,e,t){n.writeHead(e,{"Content-Type":"text/plain; charset=utf-8",...G}),n.end(t)}l(Yt,"sendText");function Xt(n,e,t,r){n.writeHead(e,{"Content-Type":r,"Content-Length":String(t.byteLength),"Cache-Control":"no-store","X-Content-Type-Options":"nosniff",...G}),n.end(t)}l(Xt,"sendBinary");async function re(n,e={}){let t=e.maxBytes??lt,r=$e(n.headers["content-type"]),s=[],i=0;for await(let c of n){let p=Fe.from(c);if(i+=p.byteLength,i>t)throw new j(413,"request_body_too_large",`JSON request body exceeds ${t} bytes.`);s.push(p)}let a=Fe.concat(s).toString("utf8").trim();if(!a)return{};if(!ct(r))throw new j(415,"unsupported_media_type","JSON request body requires Content-Type: application/json.");try{return JSON.parse(a)}catch{throw new j(400,"invalid_json","Request body is not valid JSON.")}}l(re,"readJson");function Ve(n,e,t){let r=n.headers.authorization;return(typeof r=="string"&&r.startsWith("Bearer ")?r.slice(7):null)===t}l(Ve,"hasAuth");function $e(n){return Array.isArray(n)?n[0]??null:n??null}l($e,"headerValue");function ct(n){if(!n)return!1;let e=n.split(";")[0]?.trim().toLowerCase();return e==="application/json"||!!e?.endsWith("+json")}l(ct,"isJsonContentType");function je(n){try{let e=new URL(n);return e.protocol!=="http:"&&e.protocol!=="https:"?null:e.origin}catch{return null}}l(je,"normalizeOrigin");function pt(n){let e=new URL(n);return e.hostname==="localhost"||e.hostname==="127.0.0.1"||e.hostname==="::1"||e.hostname==="[::1]"}l(pt,"isLoopbackOrigin");function dt(n){let t=(Array.isArray(n)?n.join(", "):n?String(n):"").split(",").map(r=>r.trim()).filter(Boolean);return t.some(r=>r.toLowerCase()==="origin")||t.push("Origin"),t.join(", ")}l(dt,"appendVaryOrigin");function We(n){return`<!doctype html><html lang="en"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>OpenPond recovery</title>
2
+ import{a as Ne,d as qe,e as De}from"./chunk-E5HDJCKK.js";import{a as te}from"./chunk-OIIE5GUK.js";import{b as Ee,c as ke,h as Ue}from"./chunk-PKJHN666.js";import{b as ee}from"./chunk-PYNW5OFA.js";import{Z as b,ba as Me}from"./chunk-6I5AUTVO.js";import{j as Ae,p as Oe,r as _e,s as He}from"./chunk-2ACX7IW5.js";import{e as Ce}from"./chunk-FDYWGE2Y.js";import{Mb as H,Qb as W,Rb as xe,a as $,w as F,x as N}from"./chunk-FCC24XUI.js";import{h as _,i as Pe}from"./chunk-6ESBAHWK.js";import{a as Q,b as Te}from"./chunk-F64TR23C.js";import{v as Ie}from"./chunk-OTDDXEQ6.js";import{X as he,Y as ve,_ as Z,b as le,ba as we,c as ue,ea as be,fa as V,ja as Se,la as ye,ma as Re,p as ce,r as pe,s as de,t as me,u as ge,w as fe}from"./chunk-SV7ZBEK2.js";import{z as M}from"./chunk-2MEOUS24.js";import{c as ie,d as B,f as ae,h as U}from"./chunk-UGOK7VTC.js";import{A as o}from"./chunk-X2J2P5ZT.js";import{a as l}from"./chunk-FTQLQJQV.js";import{promises as ne}from"node:fs";import mt from"node:os";import gt from"node:path";import{createServer as ft}from"node:http";import{randomBytes as ht}from"node:crypto";var it=o.discriminatedUnion("op",[o.strictObject({op:o.literal("set"),path:o.array(o.string().min(1)).min(1),value:o.unknown()}),o.strictObject({op:o.literal("unset"),path:o.array(o.string().min(1)).min(1)})]),at=o.discriminatedUnion("action",[o.strictObject({action:o.literal("patch"),expectedRevision:o.string(),operations:o.array(it).max(100)}),o.strictObject({action:o.literal("replace"),expectedRevision:o.string(),text:o.string().max(1048576)}),o.strictObject({action:o.literal("validate"),text:o.string().max(1048576)}),o.strictObject({action:o.literal("restore"),expectedRevision:o.string(),revision:o.string()}),o.strictObject({action:o.literal("trust"),root:o.string(),accountId:o.string(),trusted:o.boolean()}),o.strictObject({action:o.literal("client-state"),owner:o.string(),patch:Se,importOnly:o.boolean().optional()})]);function Be(n,e){let t=null;async function r(i,a){let c=U(n).config,p=null,u=null,m=null;try{p=await ue(c),m=await V(n,{projectRoot:i,accountId:a}),i||(t=m)}catch(I){u=B(I,c)}let w=m??(i?null:t);return{path:c,text:p,rawRevision:le(p),issue:u,effective:w,usingLastValid:!m&&!!w,applies:"next_turn",recoverableRevisions:await pe(n),clientState:u?null:await ye(n)}}l(r,"status");async function s(i){let a=at.parse(i);if(a.action==="validate")return{valid:!0,document:ce(a.text,U(n).config)};if(a.action==="client-state")return Re(n,a.owner,a.patch,a.importOnly);let c=l(async()=>{a.action==="patch"&&await fe(n,a.expectedRevision,a.operations),a.action==="replace"&&await de(n,a.expectedRevision,a.text),a.action==="restore"&&await me(n,a.revision,a.expectedRevision),a.action==="trust"&&await be(n,a.root,a.accountId,a.trusted)},"mutation");return e?await e(c):await c(),r()}return l(s,"mutate"),{status:r,mutate:s,schema:ge}}l(Be,"createConfigurationPayloads");import{Buffer as Fe}from"node:buffer";var G={"Access-Control-Allow-Headers":"authorization, content-type, x-openpond-team-id, idempotency-key","Access-Control-Allow-Methods":"GET, POST, PUT, PATCH, DELETE, OPTIONS"},lt=25*1024*1024,j=class extends Error{constructor(t,r,s){super(s);this.status=t;this.code=r;this.name="HttpBodyError"}status;code;static{l(this,"HttpBodyError")}};function Le(n,e,t={}){for(let[s,i]of Object.entries(G))e.setHeader(s,i);let r=$e(n.headers.origin);return r?(e.setHeader("Vary",dt(e.getHeader("Vary"))),ut(r,t)?(e.setHeader("Access-Control-Allow-Origin",r),{allowed:!0,origin:r}):{allowed:!1,origin:r}):{allowed:!0,origin:null}}l(Le,"applyCorsHeaders");function ut(n,e={}){if(n==="null")return!0;let t=je(n);return t?pt(t)?!0:new Set((e.allowedOrigins??[]).map(s=>s?je(s):null).filter(s=>!!s)).has(t):!1}l(ut,"isAllowedCorsOrigin");function x(n,e,t){n.writeHead(e,{"Content-Type":"application/json",...G}),n.end(JSON.stringify(t))}l(x,"sendJson");function Yt(n,e,t){n.writeHead(e,{"Content-Type":"text/plain; charset=utf-8",...G}),n.end(t)}l(Yt,"sendText");function Xt(n,e,t,r){n.writeHead(e,{"Content-Type":r,"Content-Length":String(t.byteLength),"Cache-Control":"no-store","X-Content-Type-Options":"nosniff",...G}),n.end(t)}l(Xt,"sendBinary");async function re(n,e={}){let t=e.maxBytes??lt,r=$e(n.headers["content-type"]),s=[],i=0;for await(let c of n){let p=Fe.from(c);if(i+=p.byteLength,i>t)throw new j(413,"request_body_too_large",`JSON request body exceeds ${t} bytes.`);s.push(p)}let a=Fe.concat(s).toString("utf8").trim();if(!a)return{};if(!ct(r))throw new j(415,"unsupported_media_type","JSON request body requires Content-Type: application/json.");try{return JSON.parse(a)}catch{throw new j(400,"invalid_json","Request body is not valid JSON.")}}l(re,"readJson");function Ve(n,e,t){let r=n.headers.authorization;return(typeof r=="string"&&r.startsWith("Bearer ")?r.slice(7):null)===t}l(Ve,"hasAuth");function $e(n){return Array.isArray(n)?n[0]??null:n??null}l($e,"headerValue");function ct(n){if(!n)return!1;let e=n.split(";")[0]?.trim().toLowerCase();return e==="application/json"||!!e?.endsWith("+json")}l(ct,"isJsonContentType");function je(n){try{let e=new URL(n);return e.protocol!=="http:"&&e.protocol!=="https:"?null:e.origin}catch{return null}}l(je,"normalizeOrigin");function pt(n){let e=new URL(n);return e.hostname==="localhost"||e.hostname==="127.0.0.1"||e.hostname==="::1"||e.hostname==="[::1]"}l(pt,"isLoopbackOrigin");function dt(n){let t=(Array.isArray(n)?n.join(", "):n?String(n):"").split(",").map(r=>r.trim()).filter(Boolean);return t.some(r=>r.toLowerCase()==="origin")||t.push("Origin"),t.join(", ")}l(dt,"appendVaryOrigin");function We(n){return`<!doctype html><html lang="en"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>OpenPond recovery</title>
3
3
  <style nonce="${n}">body{font:16px system-ui;background:#171819;color:#eee;max-width:850px;margin:6vh auto;padding:24px}textarea{box-sizing:border-box;width:100%;min-height:280px;background:#222;color:#eee;padding:14px;border:1px solid #777;border-radius:8px;font:14px monospace}button,input,select{font:inherit;margin:6px;padding:8px}pre{white-space:pre-wrap}code{overflow-wrap:anywhere}button{cursor:pointer}p{line-height:1.5}</style>
4
4
  <h1>OpenPond needs a storage repair</h1><p id="issue" role="alert">Loading recovery details\u2026</p><p><code id="file"></code></p>
5
5
  <p id="action"></p><p>Migration backups and the source installation remain available. Execution services are stopped while recovery is open.</p>
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
2
- import{Ei as f,Ie as c,Ih as u,Lh as m,Mh as E,Nh as g,Ni as A,Th as w,fe as h}from"./chunk-AWD72O3G.js";import{c as n,f as d,h as l}from"./chunk-3M53YXEI.js";import{a as p}from"./chunk-FTQLQJQV.js";var M=new Set(["hosted-alphaedit-capability","hosted-compile-alphaedit","hosted-prepare-alphaedit","hosted-start-alphaedit","hosted-cancel-alphaedit","hosted-alphaedit-execution","hosted-alphaedit-executions","hosted-save-alphaedit-model","hosted-control-alphaedit-serving","hosted-alphaedit-serving"]);async function k(S){let{action:t,target:s,teamId:i,options:o,client:a,readInput:x}=S;if(t==="hosted-alphaedit-execution"){if(!s)throw new Error("Supply the original AlphaEdit execution ID.");return a.getAlphaEditExecution(i,s)}if(t==="hosted-alphaedit-executions"){if(s)throw new Error("List AlphaEdit executions using filters.");let e=w.parse(Object.fromEntries(Object.entries({id:n(o,"id")||void 0,projectId:n(o,"projectId")||void 0,phase:n(o,"phase")||void 0,cursor:n(o,"cursor")||void 0,limit:l(o.limit,"--limit")}).filter(([,y])=>y!==void 0)));return a.listAlphaEditExecutions(i,e)}let r=await x();if(t==="hosted-alphaedit-serving"){let e=f.parse(r);return a.alphaEditModelServing(e.modelProjectId,{teamId:i,versionHash:e.versionHash})}if(t==="hosted-control-alphaedit-serving"){let e=A.parse(r);if(e.request.teamId!==i)throw new Error("Use the Model's original workspace.");if(e.request.action==="activate"&&!d(o.yes))throw new Error("Activating billed serving capacity requires --yes.");return a.controlAlphaEditModelServing(e.modelProjectId,e.request)}if(t==="hosted-alphaedit-capability"){let e=h.parse(r);if(e.teamId!==i)throw new Error("Use this input's original workspace.");return a.alphaEditExecutionCapability(e)}if(t==="hosted-compile-alphaedit"){let e=u.parse(r);if(e.teamId!==i)throw new Error("Use this input's original workspace.");return a.compileAlphaEditExecution(e)}if(t==="hosted-prepare-alphaedit"){let e=m.parse(r);if(e.teamId!==i)throw new Error("Use this input's original workspace.");return a.prepareAlphaEditExecution(e)}if(t==="hosted-start-alphaedit"){let e=E.parse(r);if(e.teamId!==i)throw new Error("Use this execution's original workspace.");if(!d(o.yes))throw new Error("Starting paid AlphaEdit execution requires --yes.");return a.startAlphaEditExecution(e)}if(t==="hosted-cancel-alphaedit"){let e=g.parse(r);if(e.teamId!==i)throw new Error("Use this execution's original workspace.");return a.cancelAlphaEditExecution(e)}if(t==="hosted-save-alphaedit-model"){let e=c.parse(r);if(e.teamId!==i)throw new Error("Use this result's original workspace.");return a.saveAlphaEditResultModel(e)}throw new Error("Unsupported AlphaEdit command.")}p(k,"runHostedAlphaEditCommand");export{M as a,k as b};
2
+ import{Ei as f,Ie as c,Ih as u,Lh as m,Mh as E,Nh as g,Ni as A,Th as w,fe as h}from"./chunk-5AV2EWFX.js";import{c as n,f as d,h as l}from"./chunk-3M53YXEI.js";import{a as p}from"./chunk-FTQLQJQV.js";var M=new Set(["hosted-alphaedit-capability","hosted-compile-alphaedit","hosted-prepare-alphaedit","hosted-start-alphaedit","hosted-cancel-alphaedit","hosted-alphaedit-execution","hosted-alphaedit-executions","hosted-save-alphaedit-model","hosted-control-alphaedit-serving","hosted-alphaedit-serving"]);async function k(S){let{action:t,target:s,teamId:i,options:o,client:a,readInput:x}=S;if(t==="hosted-alphaedit-execution"){if(!s)throw new Error("Supply the original AlphaEdit execution ID.");return a.getAlphaEditExecution(i,s)}if(t==="hosted-alphaedit-executions"){if(s)throw new Error("List AlphaEdit executions using filters.");let e=w.parse(Object.fromEntries(Object.entries({id:n(o,"id")||void 0,projectId:n(o,"projectId")||void 0,phase:n(o,"phase")||void 0,cursor:n(o,"cursor")||void 0,limit:l(o.limit,"--limit")}).filter(([,y])=>y!==void 0)));return a.listAlphaEditExecutions(i,e)}let r=await x();if(t==="hosted-alphaedit-serving"){let e=f.parse(r);return a.alphaEditModelServing(e.modelProjectId,{teamId:i,versionHash:e.versionHash})}if(t==="hosted-control-alphaedit-serving"){let e=A.parse(r);if(e.request.teamId!==i)throw new Error("Use the Model's original workspace.");if(e.request.action==="activate"&&!d(o.yes))throw new Error("Activating billed serving capacity requires --yes.");return a.controlAlphaEditModelServing(e.modelProjectId,e.request)}if(t==="hosted-alphaedit-capability"){let e=h.parse(r);if(e.teamId!==i)throw new Error("Use this input's original workspace.");return a.alphaEditExecutionCapability(e)}if(t==="hosted-compile-alphaedit"){let e=u.parse(r);if(e.teamId!==i)throw new Error("Use this input's original workspace.");return a.compileAlphaEditExecution(e)}if(t==="hosted-prepare-alphaedit"){let e=m.parse(r);if(e.teamId!==i)throw new Error("Use this input's original workspace.");return a.prepareAlphaEditExecution(e)}if(t==="hosted-start-alphaedit"){let e=E.parse(r);if(e.teamId!==i)throw new Error("Use this execution's original workspace.");if(!d(o.yes))throw new Error("Starting paid AlphaEdit execution requires --yes.");return a.startAlphaEditExecution(e)}if(t==="hosted-cancel-alphaedit"){let e=g.parse(r);if(e.teamId!==i)throw new Error("Use this execution's original workspace.");return a.cancelAlphaEditExecution(e)}if(t==="hosted-save-alphaedit-model"){let e=c.parse(r);if(e.teamId!==i)throw new Error("Use this result's original workspace.");return a.saveAlphaEditResultModel(e)}throw new Error("Unsupported AlphaEdit command.")}p(k,"runHostedAlphaEditCommand");export{M as a,k as b};
@@ -1,4 +1,4 @@
1
1
  import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
2
- import{a as q}from"./chunk-FEAKTSRS.js";import{a as J,b as S}from"./chunk-5TTQCT3G.js";import{$ as j,Z as $}from"./chunk-6I5AUTVO.js";import{aa as _,ja as H}from"./chunk-BYVE4TMU.js";import{D as N}from"./chunk-D6L6UNUQ.js";import{v as I}from"./chunk-ZY32SZ2P.js";import{n as k}from"./chunk-RCT3O3HQ.js";import{A as g}from"./chunk-X2J2P5ZT.js";import{a as o}from"./chunk-FTQLQJQV.js";import{randomUUID as O,createHash as W}from"node:crypto";import{mkdtemp as F,mkdir as G,writeFile as A,rm as U}from"node:fs/promises";import D from"node:os";import h from"node:path";var w=g.object({score:g.number().finite().min(0).max(1).nullable(),passed:g.boolean(),feedback:g.string().max(2e4),evidenceRefs:g.array(g.string().max(240)).max(1e3).default([])}).strict().refine(e=>e.score!==null||!e.passed,{message:"Unscorable verifiers cannot pass.",path:["passed"]});function L(e){if(e==="sandbox_process")throw new Error("verifier_sandbox_process_required")}o(L,"assertIsolatedVerifierRuntime");var ue=o(async e=>{let r=H(e.packageValue);if(e.grader.runtime!=="sandbox_process")throw new Error("Select the sandbox process runtime for a local file grader.");if(!r.taskset.graders.some(s=>k(s)===k(e.grader)))throw new Error("The private grader differs from its package.");if(!r.taskset.tasks.some(s=>k(s)===k(e.task)))throw new Error("The private case differs from its package.");await e.authorize(),e.signal?.throwIfAborted();let t=await F(h.join(D.tmpdir(),"profile-private-grade-")),c=O();try{let s=new Map;for(let a of r.files.filter(f=>f.asset.visibility!=="policy")){let f=a.asset.path;if(h.isAbsolute(f)||f.split(/[\\/]/).some(n=>!n||n==="."||n===".."))throw new Error("Private grader asset path invalid.");let l=s.get(f);if(l){if(l.contentHash!==a.asset.contentHash||l.sizeBytes!==a.asset.sizeBytes)throw new Error("Private grader assets declare conflicting bytes at the same path.");continue}s.set(f,{contentHash:a.asset.contentHash,sizeBytes:a.asset.sizeBytes});let x=h.join(t,"package",f);await G(h.dirname(x),{recursive:!0,mode:448}),await A(x,_(a),{mode:256})}await A(h.join(t,"request.json"),JSON.stringify({task:e.task,attempt:e.evidence,input:e.task.input,output:e.evidence.output,artifacts:"artifacts"in e.evidence?e.evidence.artifacts:[],expectedOutput:e.task.expectedOutput}),{mode:256});let i=`import fs from 'node:fs/promises'; const module=await import(${JSON.stringify("./package/"+e.grader.verifierRef.path)}); const result=await module[${JSON.stringify(e.grader.exportName??"verify")}](JSON.parse(await fs.readFile('request.json','utf8'))); console.log(JSON.stringify(result));`;await A(h.join(t,"runner.mjs"),i,{mode:256});let m=await q({authorize:o(async()=>(await e.authorize(),e.signal?.throwIfAborted(),{candidateId:c,candidateRevision:1,ownerId:c,sessionId:c,turnId:c,sourceRoot:t,writablePaths:[]}),"authorize")})({candidateId:c,sessionId:c,turnId:c,expectedRevision:1,command:"/runtime/node --max-old-space-size=512 runner.mjs",timeoutMs:e.grader.timeoutMs,maxOutputBytes:7e4,signal:e.signal});if(await e.authorize(),e.signal?.throwIfAborted(),m.code!==0||m.timedOut||m.stdoutTruncated||m.stderrTruncated)throw new Error("Private grading sandbox did not complete.");return w.parse(JSON.parse(m.stdout))}finally{await U(t,{recursive:!0,force:!0})}},"executeLocalProfileVerifier");function pe(e){return async r=>{if(!r.manifest)throw new Error("The hosted grader requires its admitted manifest.");await r.authorize(),r.signal?.throwIfAborted();let t="artifacts"in r.evidence&&Array.isArray(r.evidence.artifacts)?r.evidence.artifacts.map(({reference:a,title:f,contentType:l})=>({reference:a,title:f,contentType:l})):[],c="caseOwner"in r.evidence?r.evidence.caseOwner:null;if(!c?.sessionId||!c.turnId)throw new Error("The private grader has no sealed case owner.");let s=Buffer.from(JSON.stringify({manifest:r.manifest,packageValue:r.packageValue,graderId:r.grader.id,taskId:r.task.id,evidence:{...r.evidence,artifacts:t}}));if(s.length>2e7)throw new Error("The private grading package exceeds its transport limit.");let i={callId:O(),sessionId:c.sessionId,turnId:c.turnId,sha256:W("sha256").update(s).digest("hex"),sizeBytes:s.length,timeoutMs:r.grader.timeoutMs},d=o((a,f=12e4)=>e.request(j.parse({contractVersion:$,requestId:O(),operation:"profile-evaluations/grade",params:a}),f),"request");for(let a=0;a<s.length;a+=98304)await r.authorize(),r.signal?.throwIfAborted(),await d({...i,action:"upload",offset:a,contentsBase64:s.subarray(a,a+98304).toString("base64")});let m=await d({...i,action:"execute"},r.grader.timeoutMs+12e4);return await r.authorize(),r.signal?.throwIfAborted(),w.parse(m)}}o(pe,"createHostedProfileVerifier");import{Worker as K}from"node:worker_threads";async function b(e){e.signal?.throwIfAborted(),S(e);let{javascriptVerifierWorkerSource:r}=await import("./javascript-verifier-worker-source-LGRP74W4.js");e.signal?.throwIfAborted();let t=e.signal,c={source:e.source,exportName:e.exportName,value:e.value,timeoutMs:e.timeoutMs,maxResultBytes:e.maxResultBytes,deterministic:e.deterministic===!0,errorPrefix:e.errorPrefix},s=o(i=>new Error(`${e.errorPrefix}_${i}`),"error");return new Promise((i,d)=>{let m=new K(r,{eval:!0,workerData:c,execArgv:[],env:{},resourceLimits:{maxOldGenerationSizeMb:64,maxYoungGenerationSizeMb:16,stackSizeMb:4}}),a=!1,f=o(n=>{a||(a=!0,clearTimeout(x),t?.removeEventListener("abort",l),m.terminate().then(()=>{"error"in n?d(n.error):i(n.result)},d))},"finish"),l=o(()=>f({error:t?.reason instanceof Error?t.reason:s("cancelled")}),"cancel"),x=setTimeout(()=>f({error:s("timeout")}),e.timeoutMs);t?.addEventListener("abort",l,{once:!0}),m.once("error",n=>f({error:n})),m.once("exit",()=>{a||f({error:s("worker_exited_without_result")})}),m.once("message",n=>{try{if(!n||typeof n!="object"||!("ok"in n))throw s("worker_invalid_response");if(n.ok!==!0)throw new Error("error"in n&&typeof n.error=="string"?n.error:`${e.errorPrefix}_execution_failed`);if(!("result"in n))throw s("worker_invalid_response");I(n.result,e.maxResultBytes),f({result:n.result})}catch(y){f({error:y instanceof Error?y:s("worker_invalid_response")})}}),t?.aborted&&l()})}o(b,"executeJavaScriptIsolateInWorker");import{spawn as Y}from"node:child_process";var B=class extends Error{static{o(this,"JavaScriptVerifierHostTimeoutError")}timeoutMs;elapsedMs;constructor(r,t){super("verifier_timeout"),this.timeoutMs=r,this.elapsedMs=t,this.name="JavaScriptVerifierHostTimeoutError"}};async function be(e){e.signal?.throwIfAborted(),S(e);let{javascriptIsolateProcessSource:r}=await import("./javascript-isolate-process-source-YAT3GPW4.js");e.signal?.throwIfAborted();let{signal:t,stripTypeScript:c,...s}=e,i=o(m=>new Error(`${e.errorPrefix}_${m}`),"error"),d=`globalThis.__openpondIsolateInput = JSON.parse(${JSON.stringify(JSON.stringify(s))});
2
+ import{a as q}from"./chunk-FEAKTSRS.js";import{a as J,b as S}from"./chunk-U73T66FP.js";import{$ as j,Z as $}from"./chunk-6I5AUTVO.js";import{aa as _,ja as H}from"./chunk-BYVE4TMU.js";import{D as N}from"./chunk-D6L6UNUQ.js";import{v as I}from"./chunk-ZY32SZ2P.js";import{n as k}from"./chunk-RCT3O3HQ.js";import{A as g}from"./chunk-X2J2P5ZT.js";import{a as o}from"./chunk-FTQLQJQV.js";import{randomUUID as O,createHash as W}from"node:crypto";import{mkdtemp as F,mkdir as G,writeFile as A,rm as U}from"node:fs/promises";import D from"node:os";import h from"node:path";var w=g.object({score:g.number().finite().min(0).max(1).nullable(),passed:g.boolean(),feedback:g.string().max(2e4),evidenceRefs:g.array(g.string().max(240)).max(1e3).default([])}).strict().refine(e=>e.score!==null||!e.passed,{message:"Unscorable verifiers cannot pass.",path:["passed"]});function L(e){if(e==="sandbox_process")throw new Error("verifier_sandbox_process_required")}o(L,"assertIsolatedVerifierRuntime");var ue=o(async e=>{let r=H(e.packageValue);if(e.grader.runtime!=="sandbox_process")throw new Error("Select the sandbox process runtime for a local file grader.");if(!r.taskset.graders.some(s=>k(s)===k(e.grader)))throw new Error("The private grader differs from its package.");if(!r.taskset.tasks.some(s=>k(s)===k(e.task)))throw new Error("The private case differs from its package.");await e.authorize(),e.signal?.throwIfAborted();let t=await F(h.join(D.tmpdir(),"profile-private-grade-")),c=O();try{let s=new Map;for(let a of r.files.filter(f=>f.asset.visibility!=="policy")){let f=a.asset.path;if(h.isAbsolute(f)||f.split(/[\\/]/).some(n=>!n||n==="."||n===".."))throw new Error("Private grader asset path invalid.");let l=s.get(f);if(l){if(l.contentHash!==a.asset.contentHash||l.sizeBytes!==a.asset.sizeBytes)throw new Error("Private grader assets declare conflicting bytes at the same path.");continue}s.set(f,{contentHash:a.asset.contentHash,sizeBytes:a.asset.sizeBytes});let x=h.join(t,"package",f);await G(h.dirname(x),{recursive:!0,mode:448}),await A(x,_(a),{mode:256})}await A(h.join(t,"request.json"),JSON.stringify({task:e.task,attempt:e.evidence,input:e.task.input,output:e.evidence.output,artifacts:"artifacts"in e.evidence?e.evidence.artifacts:[],expectedOutput:e.task.expectedOutput}),{mode:256});let i=`import fs from 'node:fs/promises'; const module=await import(${JSON.stringify("./package/"+e.grader.verifierRef.path)}); const result=await module[${JSON.stringify(e.grader.exportName??"verify")}](JSON.parse(await fs.readFile('request.json','utf8'))); console.log(JSON.stringify(result));`;await A(h.join(t,"runner.mjs"),i,{mode:256});let m=await q({authorize:o(async()=>(await e.authorize(),e.signal?.throwIfAborted(),{candidateId:c,candidateRevision:1,ownerId:c,sessionId:c,turnId:c,sourceRoot:t,writablePaths:[]}),"authorize")})({candidateId:c,sessionId:c,turnId:c,expectedRevision:1,command:"/runtime/node --max-old-space-size=512 runner.mjs",timeoutMs:e.grader.timeoutMs,maxOutputBytes:7e4,signal:e.signal});if(await e.authorize(),e.signal?.throwIfAborted(),m.code!==0||m.timedOut||m.stdoutTruncated||m.stderrTruncated)throw new Error("Private grading sandbox did not complete.");return w.parse(JSON.parse(m.stdout))}finally{await U(t,{recursive:!0,force:!0})}},"executeLocalProfileVerifier");function pe(e){return async r=>{if(!r.manifest)throw new Error("The hosted grader requires its admitted manifest.");await r.authorize(),r.signal?.throwIfAborted();let t="artifacts"in r.evidence&&Array.isArray(r.evidence.artifacts)?r.evidence.artifacts.map(({reference:a,title:f,contentType:l})=>({reference:a,title:f,contentType:l})):[],c="caseOwner"in r.evidence?r.evidence.caseOwner:null;if(!c?.sessionId||!c.turnId)throw new Error("The private grader has no sealed case owner.");let s=Buffer.from(JSON.stringify({manifest:r.manifest,packageValue:r.packageValue,graderId:r.grader.id,taskId:r.task.id,evidence:{...r.evidence,artifacts:t}}));if(s.length>2e7)throw new Error("The private grading package exceeds its transport limit.");let i={callId:O(),sessionId:c.sessionId,turnId:c.turnId,sha256:W("sha256").update(s).digest("hex"),sizeBytes:s.length,timeoutMs:r.grader.timeoutMs},d=o((a,f=12e4)=>e.request(j.parse({contractVersion:$,requestId:O(),operation:"profile-evaluations/grade",params:a}),f),"request");for(let a=0;a<s.length;a+=98304)await r.authorize(),r.signal?.throwIfAborted(),await d({...i,action:"upload",offset:a,contentsBase64:s.subarray(a,a+98304).toString("base64")});let m=await d({...i,action:"execute"},r.grader.timeoutMs+12e4);return await r.authorize(),r.signal?.throwIfAborted(),w.parse(m)}}o(pe,"createHostedProfileVerifier");import{Worker as K}from"node:worker_threads";async function b(e){e.signal?.throwIfAborted(),S(e);let{javascriptVerifierWorkerSource:r}=await import("./javascript-verifier-worker-source-LGRP74W4.js");e.signal?.throwIfAborted();let t=e.signal,c={source:e.source,exportName:e.exportName,value:e.value,timeoutMs:e.timeoutMs,maxResultBytes:e.maxResultBytes,deterministic:e.deterministic===!0,errorPrefix:e.errorPrefix},s=o(i=>new Error(`${e.errorPrefix}_${i}`),"error");return new Promise((i,d)=>{let m=new K(r,{eval:!0,workerData:c,execArgv:[],env:{},resourceLimits:{maxOldGenerationSizeMb:64,maxYoungGenerationSizeMb:16,stackSizeMb:4}}),a=!1,f=o(n=>{a||(a=!0,clearTimeout(x),t?.removeEventListener("abort",l),m.terminate().then(()=>{"error"in n?d(n.error):i(n.result)},d))},"finish"),l=o(()=>f({error:t?.reason instanceof Error?t.reason:s("cancelled")}),"cancel"),x=setTimeout(()=>f({error:s("timeout")}),e.timeoutMs);t?.addEventListener("abort",l,{once:!0}),m.once("error",n=>f({error:n})),m.once("exit",()=>{a||f({error:s("worker_exited_without_result")})}),m.once("message",n=>{try{if(!n||typeof n!="object"||!("ok"in n))throw s("worker_invalid_response");if(n.ok!==!0)throw new Error("error"in n&&typeof n.error=="string"?n.error:`${e.errorPrefix}_execution_failed`);if(!("result"in n))throw s("worker_invalid_response");I(n.result,e.maxResultBytes),f({result:n.result})}catch(y){f({error:y instanceof Error?y:s("worker_invalid_response")})}}),t?.aborted&&l()})}o(b,"executeJavaScriptIsolateInWorker");import{spawn as Y}from"node:child_process";var B=class extends Error{static{o(this,"JavaScriptVerifierHostTimeoutError")}timeoutMs;elapsedMs;constructor(r,t){super("verifier_timeout"),this.timeoutMs=r,this.elapsedMs=t,this.name="JavaScriptVerifierHostTimeoutError"}};async function be(e){e.signal?.throwIfAborted(),S(e);let{javascriptIsolateProcessSource:r}=await import("./javascript-isolate-process-source-YAT3GPW4.js");e.signal?.throwIfAborted();let{signal:t,stripTypeScript:c,...s}=e,i=o(m=>new Error(`${e.errorPrefix}_${m}`),"error"),d=`globalThis.__openpondIsolateInput = JSON.parse(${JSON.stringify(JSON.stringify(s))});
3
3
  ${c?`globalThis.__openpondIsolateInput.source = require("node:module").stripTypeScriptTypes(globalThis.__openpondIsolateInput.source, { mode: "strip" });
4
4
  `:""}${r}`;return new Promise((m,a)=>{let f=performance.now(),l=Y("node",["--max-old-space-size=64","--input-type=commonjs","-"],{stdio:["pipe","pipe","pipe","ipc"],env:{PATH:process.env.PATH},windowsHide:!0}),x,n="",y=0,M=0,v=o(u=>{x??=u,l.kill("SIGKILL")},"stop"),T=o(()=>v(t?.reason instanceof Error?t.reason:i("cancelled")),"cancel"),P=e.errorPrefix==="verifier",R=!P,V=o(()=>v(e.errorPrefix==="candidate"?new J("candidate_timeout"):e.errorPrefix==="verifier"?new B(e.timeoutMs,performance.now()-f):i("timeout")),"timedOut"),E=setTimeout(V,P?3e4:e.timeoutMs);l.on("message",u=>{if(!P||R||!u||typeof u!="object"||!("type"in u)||u.type!=="execution_ready"){v(i("process_invalid_startup_message"));return}R=!0,clearTimeout(E),E=setTimeout(V,e.timeoutMs)}),t?.addEventListener("abort",T,{once:!0}),l.stdout.setEncoding("utf8"),l.stdout.on("data",u=>{y+=Buffer.byteLength(u),y>e.maxResultBytes+65536?v(i("process_response_too_large")):n+=u}),l.stderr.on("data",u=>{M+=u.byteLength,M>65536&&v(i("process_stderr_too_large"))}),l.once("error",u=>{x??=u}),l.stdin.on("error",u=>v(u)),l.once("close",u=>{if(clearTimeout(E),t?.removeEventListener("abort",T),x){a(x);return}try{if(u!==0)throw i("process_exited_without_result");if(!R)throw i("process_exited_before_ready");let p=JSON.parse(n);if(!p||typeof p!="object"||!("ok"in p))throw i("process_invalid_response");if(p.ok!==!0){let z="error"in p&&typeof p.error=="string"?p.error:`${e.errorPrefix}_execution_failed`;throw"executionError"in p&&p.executionError===!0?new J(z):new Error(z)}if(!("result"in p))throw i("process_invalid_response");I(p.result,e.maxResultBytes),m(p.result)}catch(p){a(p instanceof Error?p:i("process_invalid_response"))}}),l.stdin.end(d),t?.aborted&&T()})}o(be,"executeJavaScriptIsolateInProcess");async function Je(e){return L(e.runtime),w.parse(await b({...e,exportName:e.exportName??"verify",maxResultBytes:65536,errorPrefix:"verifier"}))}o(Je,"executeJavaScriptVerifierInWorker");function Ne(e){return N(e,C)}o(Ne,"aggregateTasksetEvaluationInWorker");var C=o(async({source:e,module:r,exportName:t,scores:c,timeoutMs:s,signal:i})=>{let d=/\.[cm]?ts$/.test(r)?(await import("node:module")).stripTypeScriptTypes(e,{mode:"strip"}):e;return b({source:d,exportName:t,value:c,timeoutMs:s,signal:i,maxResultBytes:1024,deterministic:!0,errorPrefix:"metric"})},"executeMetric");var He=C;import Q from"node:path";function We(e,r){let t=g.array(g.string().min(1).max(240)).max(16).parse(r.metadata.artifactAssetIds??[]);if(new Set(t).size!==t.length)throw new Error("An artifact fixture contains duplicate assets.");let c=0;return t.map(s=>{let i=e.files.filter(a=>a.asset.id===s),d=i[0];if(i.length!==1||!d||d.asset.visibility!=="host_private")throw new Error("Artifact fixtures require a unique private package asset.");let m=_(d);if((c+=m.length)>2e7)throw new Error("Artifact fixtures exceed their aggregate byte limit.");return{reference:{id:`fixture/${r.id}/${d.asset.path}`,contentHash:d.asset.contentHash,mediaType:d.asset.mediaType,sizeBytes:d.asset.sizeBytes},title:Q.posix.basename(d.asset.path),contentType:d.asset.mediaType,base64:Buffer.from(m).toString("base64")}})}o(We,"localGraderFixtureArtifacts");export{ue as a,pe as b,b as c,be as d,Je as e,We as f,Ne as g,He as h};