openpond 0.2.45 → 0.2.47

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 (254) hide show
  1. package/RELEASE.md +16 -13
  2. package/dist/app-server.d.ts +10584 -10105
  3. package/dist/app-server.js +1 -1
  4. package/dist/chunks/actions-command-DSO6YOEE.js +2 -0
  5. package/dist/chunks/{app-layer-MDJFV3HZ.js → app-layer-RRFI27N4.js} +1 -1
  6. package/dist/chunks/app-server-runtime-3KFJJUJH.js +2 -0
  7. package/dist/chunks/apps-NELJL377.js +2 -0
  8. package/dist/chunks/chunk-2SPZYBDN.js +16 -0
  9. package/dist/chunks/{chunk-U6SFIFDM.js → chunk-36YNUUZL.js} +136 -136
  10. package/dist/chunks/chunk-3HBCQNRN.js +2 -0
  11. package/dist/chunks/chunk-4UTBLHFC.js +2 -0
  12. package/dist/chunks/chunk-526PVA3V.js +2678 -0
  13. package/dist/chunks/{chunk-B6LYKEMU.js → chunk-6MH55NGW.js} +1 -1
  14. package/dist/chunks/chunk-7QEE4PBI.js +8 -0
  15. package/dist/chunks/{chunk-GEDEVI4Y.js → chunk-7YR6CBNU.js} +1 -1
  16. package/dist/chunks/{chunk-25GCTLAZ.js → chunk-A2GVVXFV.js} +1 -1
  17. package/dist/chunks/chunk-BM7TU6NX.js +190 -0
  18. package/dist/chunks/{chunk-XPB6NY7L.js → chunk-CNTGL5IX.js} +3 -3
  19. package/dist/chunks/{chunk-VVV5I22A.js → chunk-D7DA5G2U.js} +2 -2
  20. package/dist/chunks/chunk-DALJMSJG.js +33 -0
  21. package/dist/chunks/{chunk-4EGDKOYP.js → chunk-DLZP22WV.js} +1 -1
  22. package/dist/chunks/chunk-EMKZVP7Z.js +2 -0
  23. package/dist/chunks/{chunk-CXS3WXL3.js → chunk-F7RCOLZD.js} +1 -1
  24. package/dist/chunks/{chunk-FXIUKYUR.js → chunk-HA7EFTPF.js} +3 -3
  25. package/dist/chunks/chunk-IKWDL3RB.js +17 -0
  26. package/dist/chunks/{chunk-V62BHD5G.js → chunk-JDLAHVAJ.js} +1 -1
  27. package/dist/chunks/chunk-K6S4TY5W.js +9 -0
  28. package/dist/chunks/{chunk-IYRHG54Q.js → chunk-MASJQWA2.js} +1 -1
  29. package/dist/chunks/{chunk-B3O2GAQH.js → chunk-N3DEA6PG.js} +1 -1
  30. package/dist/chunks/{chunk-CR6CDOKS.js → chunk-N5QNXMIS.js} +2 -2
  31. package/dist/chunks/{chunk-OJVIH7J6.js → chunk-NAZ26IZL.js} +1 -1
  32. package/dist/chunks/chunk-NNF6KCHD.js +3 -0
  33. package/dist/chunks/chunk-PA7XP42P.js +2 -0
  34. package/dist/chunks/chunk-PJM2G7SG.js +21 -0
  35. package/dist/chunks/chunk-PYABBF53.js +53 -0
  36. package/dist/chunks/chunk-Q4H3NUVW.js +3 -0
  37. package/dist/chunks/chunk-QRWPEW3Z.js +24 -0
  38. package/dist/chunks/{chunk-Z2BYC6TP.js → chunk-QXVIIM4T.js} +1 -1
  39. package/dist/chunks/{chunk-DXAZUJPA.js → chunk-R3XFY7VL.js} +1 -1
  40. package/dist/chunks/{chunk-EG55BFQ4.js → chunk-RLZPX4YP.js} +1 -1
  41. package/dist/chunks/{chunk-5ZFEQLRI.js → chunk-SDEDAHV6.js} +72 -67
  42. package/dist/chunks/{chunk-VESOG2SS.js → chunk-T5LE6R5S.js} +1 -1
  43. package/dist/chunks/chunk-TGIB24K4.js +22 -0
  44. package/dist/chunks/chunk-TT46OISU.js +2 -0
  45. package/dist/chunks/{chunk-TVQE3JMI.js → chunk-UJ5EFSEC.js} +1 -1
  46. package/dist/chunks/{chunk-KPDWQCF6.js → chunk-WITSXYEW.js} +1 -1
  47. package/dist/chunks/chunk-WV2APYWG.js +2 -0
  48. package/dist/chunks/chunk-XBCIBAXD.js +4 -0
  49. package/dist/chunks/chunk-XDMUD4FW.js +5 -0
  50. package/dist/chunks/chunk-XM26DGML.js +3 -0
  51. package/dist/chunks/{chunk-J65BMG5Q.js → chunk-XON44M6V.js} +1 -1
  52. package/dist/chunks/{chunk-DWGB536R.js → chunk-YBVIFIXN.js} +7 -7
  53. package/dist/chunks/{chunk-YWX7FKLM.js → chunk-YIB3J4RC.js} +1 -1
  54. package/dist/chunks/chunk-YL6VFJ4P.js +2 -0
  55. package/dist/chunks/cli-WPAYXAJX.js +2 -0
  56. package/dist/chunks/{configuration-command-75ZCMZ6X.js → configuration-command-SA56RV5B.js} +1 -1
  57. package/dist/chunks/connected-evidence-IVSQZYIB.js +2 -0
  58. package/dist/chunks/{continual-WWPXK2LO.js → continual-PKK2BOTB.js} +3 -3
  59. package/dist/chunks/core-commands-W5IGIITV.js +2 -0
  60. package/dist/chunks/datasets-KSO2UG6R.js +2 -0
  61. package/dist/chunks/desktop-test-6HXFM7PO.js +3 -0
  62. package/dist/chunks/{dist-ELWB75PL.js → dist-4HV2W6V4.js} +1 -1
  63. package/dist/chunks/dist-VDVI7KIO.js +2 -0
  64. package/dist/chunks/evaluation-coordination-MOFBXRXN.js +2 -0
  65. package/dist/chunks/experiment-improvements-TDHM6NEA.js +2 -0
  66. package/dist/chunks/experiments-HFPDFD4I.js +2 -0
  67. package/dist/chunks/{extension-3M2CSWZB.js → extension-R373LYIB.js} +1 -1
  68. package/dist/chunks/{help-RLRU33WN.js → help-PEFQDDTA.js} +1 -1
  69. package/dist/chunks/hosted-experiment-improvement-T6Q7ASMI.js +3 -0
  70. package/dist/chunks/hosted-harness-runtime-2R5QRZCG.js +2 -0
  71. package/dist/chunks/hosted-profile-candidate-TKOY3M4S.js +3 -0
  72. package/dist/chunks/hosted-profile-compiler-VLBFIEWK.js +2 -0
  73. package/dist/chunks/hosted-profile-evaluation-control-7B3RAZU2.js +2 -0
  74. package/dist/chunks/hosted-profile-evaluation-inspection-3MB6MWO6.js +3 -0
  75. package/dist/chunks/hosted-profile-evaluation-preparation-C7WEABZ5.js +3 -0
  76. package/dist/chunks/human-review-HRGGACEM.js +2 -0
  77. package/dist/chunks/import-RSAQ44GG.js +4 -0
  78. package/dist/chunks/learning-FNBEIAY6.js +2 -0
  79. package/dist/chunks/opchat-I7ZWJ5XK.js +3 -0
  80. package/dist/chunks/organizations-LFCZIH7E.js +2 -0
  81. package/dist/chunks/{profile-DC4UEVVG.js → profile-EPIX5QVK.js} +1 -1
  82. package/dist/chunks/project-agent-DGOPMECP.js +2 -0
  83. package/dist/chunks/sandbox-command-Q5F6VUOS.js +2 -0
  84. package/dist/chunks/{sandbox-template-DFHWHCIQ.js → sandbox-template-7GICPIKJ.js} +1 -1
  85. package/dist/chunks/{src-CREVQF7M.js → src-DH5AQ4Z7.js} +5 -5
  86. package/dist/chunks/src-R4TSYNTK.js +329 -0
  87. package/dist/chunks/{taskset-TB2ICAZU.js → taskset-LUG3ZU6J.js} +1 -1
  88. package/dist/chunks/{teams-bot-BNBL57S5.js → teams-bot-Z6RJGHME.js} +1 -1
  89. package/dist/chunks/{training-FW5FOGR3.js → training-XHE6FVII.js} +1 -1
  90. package/dist/cli.js +1 -1
  91. package/dist/index.js +1 -1
  92. package/dist/web/agent-sources/SOURCES.md +11 -0
  93. package/dist/web/agent-sources/claude-code.svg +1 -0
  94. package/dist/web/agent-sources/codex.svg +1 -0
  95. package/dist/web/agent-sources/grok-build.svg +3 -0
  96. package/dist/web/agent-sources/hermes.png +0 -0
  97. package/dist/web/agent-sources/oh-my-pi.svg +11 -0
  98. package/dist/web/agent-sources/openclaw.svg +54 -0
  99. package/dist/web/agent-sources/opencode.svg +4 -0
  100. package/dist/web/agent-sources/pi.svg +6 -0
  101. package/dist/web/assets/App-BI-uOpnP.js +234 -0
  102. package/dist/web/assets/App-DkH8CeoI.css +1 -0
  103. package/dist/web/assets/{AppDialog-Cgn_fTGR.js → AppDialog-1iGodoot.js} +1 -1
  104. package/dist/web/assets/{AppTerminalPanel-cNYkSvM2.js → AppTerminalPanel-udtBdWFn.js} +2 -2
  105. package/dist/web/assets/AppsView-BonAGiS8.css +1 -0
  106. package/dist/web/assets/AppsView-DhKsU4yi.js +1 -0
  107. package/dist/web/assets/BrowserSidebar-BnOyqIQT.js +1 -0
  108. package/dist/web/assets/{CartesianChart-Bg3Lm5mZ.js → CartesianChart-C24DAywn.js} +1 -1
  109. package/dist/web/assets/{CollaborationTabs-BIfgIy5X.js → CollaborationTabs-DgmOF5Fe.js} +1 -1
  110. package/dist/web/assets/{CommandMenu-D9BimyPx.js → CommandMenu-CUNGtHwS.js} +1 -1
  111. package/dist/web/assets/CommunityView-CE7qeJnr.js +1 -0
  112. package/dist/web/assets/ComposerCreateImproveStrip-BixNsg2a.js +1 -0
  113. package/dist/web/assets/GetStartedView-B8gCwmBX.js +1 -0
  114. package/dist/web/assets/HostedModelLearningReview-CitgUNfC.js +1 -0
  115. package/dist/web/assets/HostedModelLearningSettings-WUaqzNsa.js +1 -0
  116. package/dist/web/assets/LabModelVersionDetailPage-Cx0kL69J.js +1 -0
  117. package/dist/web/assets/LabSkillSidebar-DRggqZ1j.js +1 -0
  118. package/dist/web/assets/LabsRoute-BujTZhqC.js +99 -0
  119. package/dist/web/assets/MainChatThread-CyA_644R.js +2 -0
  120. package/dist/web/assets/MainPane-DOWsSew1.css +1 -0
  121. package/dist/web/assets/MainPane-LaEtxydD.js +19 -0
  122. package/dist/web/assets/{MarkdownText-De0WzrEw.js → MarkdownText-DJI5LwT0.js} +19 -19
  123. package/dist/web/assets/{NativeSkillSidebar-B4jtf5RO.js → NativeSkillSidebar-CkFpWxjd.js} +1 -1
  124. package/dist/web/assets/{NewExperienceSwitcher-Bg1DVr96.js → NewExperienceSwitcher-DXcRHHsu.js} +1 -1
  125. package/dist/web/assets/{NewProjectDialog-i_wvIBw-.js → NewProjectDialog-gDzX_ZIJ.js} +1 -1
  126. package/dist/web/assets/OutputsPage-J_k-_N82.js +1 -0
  127. package/dist/web/assets/{ProjectsPage-BD0eml0M.js → ProjectsPage-BsyZmvlg.js} +1 -1
  128. package/dist/web/assets/RightChatPanelStack-Bz8puMUB.js +1 -0
  129. package/dist/web/assets/{RightSidebarHomePanel-BTpU5wGh.js → RightSidebarHomePanel-DmorYb6p.js} +1 -1
  130. package/dist/web/assets/ScheduledWorkPage-BFDzQUyL.js +1 -0
  131. package/dist/web/assets/SettingsView-BB7wCdbr.js +5 -0
  132. package/dist/web/assets/SettingsView-BnANbPLS.css +1 -0
  133. package/dist/web/assets/{TeamChatView-5LjuRNd6.js → TeamChatView-CZ3b7rq2.js} +2 -2
  134. package/dist/web/assets/{TerminalOverlay-BCWBSotQ.js → TerminalOverlay-Ck43Qri3.js} +12 -12
  135. package/dist/web/assets/{TrainingCreationPanel-hvOHRVJx.js → TrainingCreationPanel-ejqPZm3g.js} +1 -1
  136. package/dist/web/assets/{TrainingDraftPanel-CGEHGljE.js → TrainingDraftPanel-Cy2AQxxL.js} +1 -1
  137. package/dist/web/assets/{UsageSettingsSection-B8nbqhag.js → UsageSettingsSection-B7nyMItm.js} +1 -1
  138. package/dist/web/assets/WorkSidebarPanel-BfjAc097.js +1 -0
  139. package/dist/web/assets/WorkspaceDiffPanel-D9hAV8l7.js +14 -0
  140. package/dist/web/assets/WorkspaceEnvironmentMenu-B-K9XgFB.js +32 -0
  141. package/dist/web/assets/{WorkspaceGitDialogs-Dyx4Rbiy.js → WorkspaceGitDialogs-BJVFx_L3.js} +1 -1
  142. package/dist/web/assets/{WorkspaceMonacoEditor-B1dKexHo.js → WorkspaceMonacoEditor-p-FWMXoZ.js} +3 -3
  143. package/dist/web/assets/{arrow-up-right-CCj7SOGp.js → arrow-up-right-CFGI2YSt.js} +1 -1
  144. package/dist/web/assets/chunk-UHVJOMWN-BAlur2vw.js +1 -0
  145. package/dist/web/assets/{clipboard-BY6ELc9Z.js → clipboard-DIIxBort.js} +1 -1
  146. package/dist/web/assets/{cloud-upload-BOka5EKK.js → cloud-upload-BaQFNCTp.js} +1 -1
  147. package/dist/web/assets/{cssMode-C34j8ti5.js → cssMode-6LOkSggB.js} +1 -1
  148. package/dist/web/assets/{folder-open-CX2jidFj.js → folder-open-DZSxfPtr.js} +1 -1
  149. package/dist/web/assets/{folder-plus-Dh2Q9LP3.js → folder-plus-21v4D_Vx.js} +1 -1
  150. package/dist/web/assets/{git-commit-horizontal-CfevriuT.js → git-commit-horizontal-CgGixL64.js} +1 -1
  151. package/dist/web/assets/{htmlMode-BORwVkZg.js → htmlMode-B5uRraNd.js} +1 -1
  152. package/dist/web/assets/index-DJcUXSsN.css +1 -0
  153. package/dist/web/assets/{index-BBjRfC--.js → index-DOMrqhcz.js} +2 -2
  154. package/dist/web/assets/{info-Bv3dbs3G.js → info-BGTcmow7.js} +1 -1
  155. package/dist/web/assets/{jsonMode-BYWtZ6AK.js → jsonMode-D3m8N4Gi.js} +1 -1
  156. package/dist/web/assets/{lspLanguageFeatures-CEAdFSpU.js → lspLanguageFeatures-DoyipLsB.js} +1 -1
  157. package/dist/web/assets/{minimize-2-MhorZwY5.js → minimize-2-B01qSko4.js} +1 -1
  158. package/dist/web/assets/{monaco.contribution-ZUUVx_3M.js → monaco.contribution--U8v3jpa.js} +2 -2
  159. package/dist/web/assets/{monaco.contribution-CN7AWJNd.js → monaco.contribution-BJyfaGX2.js} +2 -2
  160. package/dist/web/assets/{monaco.contribution-CDhPpbIo.js → monaco.contribution-Bc22foTx.js} +2 -2
  161. package/dist/web/assets/{monaco.contribution-DHA7FuJX.js → monaco.contribution-DuRhJ6zU.js} +2 -2
  162. package/dist/web/assets/{monitor-DLcrkfM5.js → monitor-eZP8ZTHe.js} +1 -1
  163. package/dist/web/assets/play-CGsWFR_B.js +1 -0
  164. package/dist/web/assets/{python-CXwvPmc4.js → python-BNrLZWud.js} +1 -1
  165. package/dist/web/assets/{save-DaN65kMq.js → save-BLgjrccP.js} +1 -1
  166. package/dist/web/assets/{square-zRgIUdSv.js → square-CI1qNtvE.js} +1 -1
  167. package/dist/web/assets/{toggleHighContrast-DWeRZFzr.js → toggleHighContrast-B_GcTCnw.js} +1 -1
  168. package/dist/web/assets/{tsMode-nLBhKngY.js → tsMode-CmruH_ys.js} +1 -1
  169. package/dist/web/assets/{upload-BfUu4Eu1.js → upload-DnlgGS2x.js} +1 -1
  170. package/dist/web/assets/useLocalAgentSchedules-BBhGUfK-.js +1 -0
  171. package/dist/web/assets/useProviderSettings-Bw-csWbH.css +1 -0
  172. package/dist/web/assets/useProviderSettings-DfhdkKdC.js +5 -0
  173. package/dist/web/assets/{useSessionTurnCache-BQMWfV8u.js → useSessionTurnCache-BwscKl5i.js} +1 -1
  174. package/dist/web/assets/{wifi-off-bdka5es5.js → wifi-off-Dz-4EDCc.js} +1 -1
  175. package/dist/web/assets/{workers-z7XHFFNs.js → workers-Bi9u46cp.js} +1 -1
  176. package/dist/web/assets/{yaml-BTr4i4DD.js → yaml-DVTkiRnh.js} +1 -1
  177. package/dist/web/index.html +2 -2
  178. package/docs/command-reference.md +22 -0
  179. package/package.json +1 -2
  180. package/dist/chunks/actions-command-CRDLSPFA.js +0 -2
  181. package/dist/chunks/app-server-runtime-PJONTCCO.js +0 -2
  182. package/dist/chunks/apps-MD2DKEDW.js +0 -2
  183. package/dist/chunks/chunk-3BJ4P5LI.js +0 -520
  184. package/dist/chunks/chunk-3SRIPOJQ.js +0 -2
  185. package/dist/chunks/chunk-65BW2QXY.js +0 -2
  186. package/dist/chunks/chunk-6BL2ZIAP.js +0 -184
  187. package/dist/chunks/chunk-6QUICEQA.js +0 -5
  188. package/dist/chunks/chunk-7D2WMUWK.js +0 -3
  189. package/dist/chunks/chunk-7KIBRK3A.js +0 -4
  190. package/dist/chunks/chunk-ALZRXBEC.js +0 -33
  191. package/dist/chunks/chunk-ELNJUG64.js +0 -17
  192. package/dist/chunks/chunk-H3C4ZYEA.js +0 -16
  193. package/dist/chunks/chunk-HUBI3RUK.js +0 -2
  194. package/dist/chunks/chunk-HZP5U2AA.js +0 -3
  195. package/dist/chunks/chunk-KOR2AZVB.js +0 -24
  196. package/dist/chunks/chunk-M2YXYBSP.js +0 -2
  197. package/dist/chunks/chunk-MTJNKRXL.js +0 -22
  198. package/dist/chunks/chunk-NXUCGKY2.js +0 -5
  199. package/dist/chunks/chunk-PDIT2QS7.js +0 -8
  200. package/dist/chunks/chunk-QVRNOGAU.js +0 -21
  201. package/dist/chunks/chunk-TNXILYI6.js +0 -2
  202. package/dist/chunks/chunk-V6WBSW5Q.js +0 -3
  203. package/dist/chunks/chunk-VFTUP5NQ.js +0 -2
  204. package/dist/chunks/chunk-XWLI7WJH.js +0 -2160
  205. package/dist/chunks/cli-BKBH6FZY.js +0 -2
  206. package/dist/chunks/connected-evidence-UPUVVQ6P.js +0 -2
  207. package/dist/chunks/core-commands-SS2GV7WU.js +0 -2
  208. package/dist/chunks/datasets-TCLXV34N.js +0 -2
  209. package/dist/chunks/desktop-test-7ZHZHUB6.js +0 -3
  210. package/dist/chunks/dist-VDN6E54A.js +0 -2
  211. package/dist/chunks/evaluation-coordination-ZX5GLMRC.js +0 -2
  212. package/dist/chunks/experiment-improvements-O6DCQXCX.js +0 -2
  213. package/dist/chunks/experiments-JOQOBQXY.js +0 -2
  214. package/dist/chunks/hosted-experiment-improvement-IKO677PI.js +0 -3
  215. package/dist/chunks/hosted-harness-runtime-H2Q2SNZT.js +0 -2
  216. package/dist/chunks/hosted-profile-candidate-FHHSLJNO.js +0 -3
  217. package/dist/chunks/hosted-profile-compiler-5B256VV3.js +0 -2
  218. package/dist/chunks/hosted-profile-evaluation-control-Z25TZOW4.js +0 -2
  219. package/dist/chunks/hosted-profile-evaluation-inspection-MFYPLTZQ.js +0 -3
  220. package/dist/chunks/hosted-profile-evaluation-preparation-MAB2PSCC.js +0 -3
  221. package/dist/chunks/human-review-6H3BW7OZ.js +0 -2
  222. package/dist/chunks/learning-Y6WNDVQW.js +0 -2
  223. package/dist/chunks/opchat-3E4FH3DC.js +0 -3
  224. package/dist/chunks/organizations-PRVCUPMN.js +0 -2
  225. package/dist/chunks/project-agent-ZX3CELKI.js +0 -2
  226. package/dist/chunks/sandbox-command-HHQMZK3G.js +0 -2
  227. package/dist/chunks/src-MAZ7OBVY.js +0 -327
  228. package/dist/web/assets/App-BgeSqoRS.css +0 -1
  229. package/dist/web/assets/App-C6EWFrLP.js +0 -227
  230. package/dist/web/assets/AppsView-9zpKBSLv.js +0 -1
  231. package/dist/web/assets/AppsView-CzbB5pXp.css +0 -1
  232. package/dist/web/assets/BrowserSidebar-Xo21N1ej.js +0 -1
  233. package/dist/web/assets/CommunityView-BoW-yLju.js +0 -1
  234. package/dist/web/assets/ComposerCreateImproveStrip-BIKVEgr1.js +0 -1
  235. package/dist/web/assets/GetStartedView-B99v4-hh.js +0 -1
  236. package/dist/web/assets/HostedModelLearningReview-DEScpX2Z.js +0 -1
  237. package/dist/web/assets/HostedModelLearningSettings-4HT5eEiL.js +0 -1
  238. package/dist/web/assets/LabModelVersionDetailPage-DkYdI7gr.js +0 -1
  239. package/dist/web/assets/LabSkillSidebar-Bp5XYipm.js +0 -1
  240. package/dist/web/assets/LabsRoute-VopO7n34.js +0 -105
  241. package/dist/web/assets/MainChatThread-3Gg0oDZT.js +0 -2
  242. package/dist/web/assets/MainPane-CUqMVG9-.js +0 -19
  243. package/dist/web/assets/OutputsPage-CZiPxLyN.js +0 -1
  244. package/dist/web/assets/RightChatPanelStack-CEBFPHKP.js +0 -1
  245. package/dist/web/assets/ScheduledWorkPage-Y6XGoh-X.js +0 -1
  246. package/dist/web/assets/SettingsView-C7av3zwv.css +0 -1
  247. package/dist/web/assets/SettingsView-Kh14f463.js +0 -9
  248. package/dist/web/assets/WorkSidebarPanel-B6hlPEIs.js +0 -1
  249. package/dist/web/assets/WorkspaceDiffPanel-q8A15-0x.js +0 -14
  250. package/dist/web/assets/WorkspaceEnvironmentMenu-BiFTPWtC.js +0 -32
  251. package/dist/web/assets/chunk-DJWHN7NU-1eQoMoKO.js +0 -1
  252. package/dist/web/assets/index-B9VSiz_z.css +0 -1
  253. package/dist/web/assets/refresh-cw-BTfIxHb3.js +0 -1
  254. package/dist/web/assets/useLocalAgentSchedules-BCITWhg2.js +0 -1
@@ -0,0 +1,2 @@
1
+ import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
2
+ import{k as H,na as R}from"./chunk-36YNUUZL.js";import{J as I,N as C}from"./chunk-HA7EFTPF.js";import{l as k,m as b}from"./chunk-NNF6KCHD.js";import{a as h}from"./chunk-FTQLQJQV.js";import{promises as s}from"node:fs";import n from"node:path";import{execFile as O}from"node:child_process";import{promisify as A}from"node:util";var T=A(O);async function v(e,i,a={}){return(await T("git",["-C",e,...i],{encoding:"utf8",timeout:3e4,maxBuffer:8388608,env:{...process.env,...a}})).stdout.trim()}h(v,"candidateGit");async function j(e,i=I,a=!1){if(e.profileRef.source!=="local"&&!a)throw new Error("This Git adapter requires the actual installed local Profile owner; hosted adoption needs its published-source owner.");let r=await i(e.profileRef);if(r.error||r.mode!=="local"||r.activeProfile!==e.profileRef.profileId||!r.repoPath||!r.sourcePath)throw new Error("The original Profile owner is unavailable.");let l=await s.realpath(r.repoPath),p=await s.realpath(r.sourcePath),f=n.relative(l,p);if(f.startsWith("..")||n.isAbsolute(f))throw new Error("Profile source escapes its actual Git owner.");return{profile:r,repo:l,source:p,sourceRelative:f}}h(j,"originalCandidateProfile");async function Pe(e,i,a=!0){if(!/^[a-f0-9]{40}$/.test(i)||await v(e,["rev-parse","HEAD"])!==i)throw new Error("The original Profile Git revision changed.");if(a&&await v(e,["status","--porcelain","--untracked-files=all"]))throw new Error("Commit or reconcile changes in the original Profile before this operation.")}h(Pe,"assertCandidateGitHead");async function ye(e,i){let a=await j(e.state,e.loadProfile,e.allowRemoteSnapshot),r=n.join(e.storeDir,"library","harnesses","profile-candidate-staging");await s.mkdir(r,{recursive:!0,mode:448});let l=await s.mkdtemp(n.join(r,"source-"));await s.rmdir(l),await v(a.repo,["worktree","add","--detach",l,e.commit]);try{let p=await C({repoPath:l,profileId:e.state.profileRef.profileId});if(p.error||!p.sourcePath)throw new Error("The staged original Profile cannot be loaded.");return await i({root:l,profile:p,repo:a.repo,source:p.sourcePath})}finally{await v(a.repo,["worktree","remove","--force",l]).catch(()=>{}),await s.rm(l,{recursive:!0,force:!0})}}h(ye,"withCandidateProfileWorktree");function y(e){if(!e||n.isAbsolute(e)||e.includes("\\")||e.split("/").some(i=>!i||i==="."||i===".."))throw new Error("Original Profile patch path is not contained.");return e}h(y,"portable");async function ve(e){let i=e.base.manifest.metadata.profileSourceBindings;if(!Array.isArray(i))throw new Error("The original release needs compiler source bindings before candidate adoption.");let a=e.state.component.path,r=e.state.component,l=new Map(i.map(t=>{if(!t||typeof t!="object"||typeof t.releasedPath!="string"||typeof t.profileRelativePath!="string")throw new Error("Original Profile source binding is invalid.");return[y(t.releasedPath),y(t.profileRelativePath)]})),p=r.kind==="instruction"&&a==="instructions/system.md"&&e.base.manifest.metadata.profileInstructionSourcePath==="instructions/system.md"&&!l.has(a),f=l.get(a)??(p?"instructions/system.md":void 0),S=r.kind==="workflow"?`workflows/${r.workflowId}/`:r.kind==="agent"?a.split("/").slice(0,2).join("/")+"/":n.posix.dirname(a)+"/",w=f?n.posix.dirname(f)+"/":null;if(r.kind==="workflow"&&!f&&(w=S),r.kind==="agent"){let t=e.profile.agents.find(o=>a.startsWith(`agents/${o.id}/`));if(!t)throw new Error("The selected Agent original source is unavailable.");let c=y(t.path);w=((await s.lstat(n.join(e.source,c))).isDirectory()?c:n.posix.dirname(c))+"/"}let E=new Map(e.base.sourceFiles.map(t=>[t.path,t])),x=new Map(e.candidate.sourceFiles.map(t=>[t.path,t])),g=new Map;for(let t of new Set([...E.keys(),...x.keys()])){let c=E.get(t),m=x.get(t);if(c?.asset.contentHash===m?.asset.contentHash)continue;if(c&&c.asset.visibility!=="policy"||m&&m.asset.visibility!=="policy")throw new Error("A candidate cannot change protected Profile source.");let o=l.get(t)??(p&&t===a?f:void 0);if(!o&&t.startsWith(S)&&w&&(o=w+t.slice(S.length)),!o&&t==="workflows/catalog.json"&&[...l.keys()].some(P=>/^workflows\/[^/]+\/(PROMPT\.md|ACTION\.json)$/.test(P))||!o&&t==="dependency-lock/profile-import.json")continue;if(!o)throw new Error(`The selected component has no original Profile source mapping: ${t}`);if(o=y(o),o!==f&&!(r.kind!=="instruction"&&w&&o.startsWith(w)))throw new Error("Candidate patch changes a different original Profile component.");if(H(o))throw new Error("Candidate patch crosses the protected Profile evaluation closure.");let u=g.get(o),d=m?.bytes??null;if(u&&(u.before!==(c?.asset.contentHash??null)||b(u.bytes===null?null:Array.from(u.bytes))!==b(d===null?null:Array.from(d))))throw new Error("Public component aliases disagree on the original source edit.");g.set(o,{before:p&&t===a?null:c?.asset.contentHash??null,bytes:d})}for(let[t,c]of g){let m=n.join(e.source,...t.split("/")),o=n.dirname(m);for(;!await s.stat(o).catch(()=>null);)o=n.dirname(o);let u=n.relative(await s.realpath(e.source),await s.realpath(o));if(u.startsWith("..")||n.isAbsolute(u))throw new Error("Candidate patch escapes the staged Profile source.");let d=await s.lstat(m).catch(()=>null);if(d?.isSymbolicLink()||d&&!d.isFile())throw new Error("Original source patch needs a regular file.");let P=d?await s.readFile(m):null;if((P?k(P):null)!==c.before)throw new Error("Original source bytes differ from the exact candidate baseline.");c.bytes===null?await s.rm(m):(await s.mkdir(n.dirname(m),{recursive:!0}),await s.writeFile(m,c.bytes,{mode:d?.mode??384}))}return[...g.keys()]}h(ve,"applyCandidateProfileSource");function Se(e){let i=e.base.manifest.metadata.profileRepositoryId;return R({storeDir:e.storeDir,workspaceId:e.state.ownerWorkspaceId,name:e.base.manifest.name,profile:e.profile,sourceRevision:e.sourceRevision,...typeof i=="string"?{repositoryId:i}:{}})}h(Se,"compileOriginalCandidateProfile");export{v as a,j as b,Pe as c,ye as d,ve as e,Se as f};
@@ -0,0 +1,2 @@
1
+ import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
2
+ import{n as b,o as E,r as x,u as T,w as C,x as _}from"./chunk-WV2APYWG.js";import{Y as M,h as S,i as A}from"./chunk-PJM2G7SG.js";import{i as k,m,n as y}from"./chunk-NNF6KCHD.js";import{b as p}from"./chunk-ES2ISFJC.js";import{a as g}from"./chunk-FTQLQJQV.js";var w=p.object({sessionId:p.string().trim().min(1).max(500),turnId:p.string().trim().min(1).max(500)}).strict();async function $(e){T(e.manifest,e.taskset,e.catalog),_(e.taskset,e.metricSource);let o=e.manifest.profileEvaluation,t=e.catalog.definitions.find(r=>r.id===o.definitionId),d=new Map(e.taskset.tasks.map(r=>[r.id,r])),u=[],s=[];for(let r of e.manifest.population){e.signal?.throwIfAborted();let l=d.get(r.taskId),a=await e.loadCompletedMember?.(r)??null;if(a){let{receipt:f,grade:I}=a,{contentHash:P,...U}=S.parse(I);if(!E(f)||P!==m(U)||f.id!==r.receiptId||f.runManifest.id!==e.manifest.id||f.runManifest.contentHash!==e.manifest.contentHash||f.taskId!==r.taskId||f.seed!==r.seed||f.graderEvidenceRefs.length!==1||f.graderEvidenceRefs[0]?.contentHash!==P||I.taskHash!==m(l)||I.graderSetHash!==m(e.taskset.graders)||f.metadata.score!==I.score||f.metadata.passed!==I.passed)throw new Error(`Retained Profile evaluation member ${r.receiptId} differs from its admitted evidence.`);s.push(I),u.push(f);continue}let i=await e.execute({task:M(l),seed:r.seed,source:o,...e.signal?{signal:e.signal}:{}});e.signal?.throwIfAborted();let c=await A({task:l,evidence:i.evidence,graders:e.taskset.graders,...e.modelJudge?{modelJudge:e.modelJudge}:{},...e.customVerifier?{customVerifier:e.customVerifier}:{},...e.signal?{signal:e.signal}:{}}),v=k.parse(await e.saveGrade(c));if(v.contentHash!==c.contentHash)throw new Error("Stored Profile evaluation grade differs from its graded evidence.");let H=i.failureClass??c.failureClass,R=b({schemaVersion:"openpond.attemptReceipt.v1",id:r.receiptId,runManifest:{id:e.manifest.id,contentHash:e.manifest.contentHash},taskId:r.taskId,seed:r.seed,terminal:i.terminal,failureClass:H,outputHash:i.evidence.infrastructureError?null:m(i.evidence.output),traceHash:i.traceHash,artifactRefs:i.artifactRefs,graderEvidenceRefs:[v],startedAt:i.startedAt,completedAt:i.completedAt,latencyMs:i.latencyMs,costUsd:i.costUsd,metadata:{gradingRole:"evaluation",score:c.score,passed:c.passed,rewardEligible:c.rewardEligible,sourceRevision:o.sourceRevision,definitionHash:o.definitionHash,environmentHash:o.environmentHash,...i.retainedEvidenceRef?{retainedEvidenceRef:w.parse(i.retainedEvidenceRef)}:{}}});await e.saveReceipt(R),s.push(c),u.push(R)}let n=await C({manifest:e.manifest,taskset:e.taskset,receipts:u,...e.metricSource!==void 0?{source:e.metricSource}:{},...e.signal?{signal:e.signal}:{}},e.metricExecutor),h=s.filter(r=>r.passed).length/s.length;return{receipts:u,grades:s,metric:n,passRate:h,passed:h>=t.criterion.minimumPassRate&&(!t.criterion.requireComplete||u.every(r=>r.terminal))}}g($,"executeProfileEvaluationRun");function V(e,o){if(o==="agent_action"){let t=e.find(d=>d.name==="workspace_action_result"&&d.action==="profile_workflow_action")?.output;if(typeof t!="string")throw new Error("Profile Agent action evaluation did not produce a released action result.");return t}return e.filter(t=>t.name==="assistant.delta"&&typeof t.output=="string").map(t=>t.output??"").join("")}g(V,"profileEvaluationOutput");async function L(e){let{store:o,manifest:t,receipt:d}=e;if(!d.metadata.retainedEvidenceRef)return null;let u=w.parse(d.metadata.retainedEvidenceRef),[s,n]=await Promise.all([o.getSession(u.sessionId),o.getTurn(u.turnId)]),h=s?.metadata?.profileEvaluationRun,r=t.profileEvaluation;if(!s||!n||n.sessionId!==s.id||!r||!s.currentProfile||m(s.currentProfile)!==m(e.profileRef)||m(h)!==m({id:t.id,contentHash:t.contentHash})||s.metadata?.taskId!==d.taskId||s.metadata?.seed!==d.seed||!n.completedAt||n.completedAt!==d.completedAt||n.startedAt!==d.startedAt||!n.harnessSnapshot||n.harnessSnapshot.harnessRelease.id!==r.harnessRelease.id||n.harnessSnapshot.harnessRelease.contentHash!==r.harnessRelease.contentHash||t.policy.kind!=="model"||!n.modelRef||n.modelRef.providerId!==t.policy.model.provider||n.modelRef.modelId!==t.policy.model.model)throw new Error("Retained Profile policy turn differs from its admitted case.");let l=await o.runtimeEventsForTurn(n.id);if(l.some(f=>f.turnId!==n.id)||m(l)!==d.traceHash)throw new Error("Retained Profile policy trace differs from its immutable receipt.");let a=V(l,r.target.kind);if(d.outputHash!==null&&m({text:a})!==d.outputHash)throw new Error("Retained Profile output differs from its immutable receipt.");let i=await o.listModelUsageRecords({sessionId:s.id,turnId:n.id,limit:1e4}),c=e.eventAfterId?l.findIndex(f=>f.id===e.eventAfterId):-1;if(e.eventAfterId&&c<0)throw new Error("Profile trace cursor is unavailable in this case.");let v=c+1,H=Math.max(1,Math.min(250,e.eventLimit??100)),R=l.slice(v,v+H);return{ref:u,prompt:n.prompt,output:d.outputHash===null?null:{text:a},partialOutput:d.outputHash===null&&a?{text:a}:null,error:n.error,events:R,eventCount:l.length,nextEventCursor:v+R.length<l.length?R.at(-1).id:null,usage:i,usageCoverage:i.length===1e4?"partial":"complete"}}g(L,"readProfileEvaluationPolicyEvidence");var te=p.object({runId:p.string().trim().min(1).max(240),receiptId:p.string().trim().min(1).max(500).optional(),eventAfterId:p.string().trim().min(1).max(500).optional(),eventLimit:p.number().int().min(1).max(250).optional(),manifest:x.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 re(e){let o=await e.store.getProfileEvaluationRun(e.runId);if(o&&m(o.profileRef)!==m(e.profileRef))throw new Error("Profile evaluation run is unavailable in the selected Profile.");let t=o?.manifest??e.manifest;if(!t||!o&&!e.receiptId)throw new Error("Profile evaluation run is unavailable in the selected Profile.");if(o){if(e.manifest&&e.manifest.contentHash!==o.manifest.contentHash)throw new Error("Profile evaluation run differs from its pinned manifest.")}else if(y(t,"Interrupted Profile evaluation manifest"),t.id!==e.runId||t.profileEvaluation?.profileId!==e.profileRef.profileId||e.profileRef.source==="openpond_git"&&t.metadata.profileRepositoryId!==e.profileRef.repositoryId)throw new Error("Profile evaluation run is unavailable in the selected Profile.");let d=t.population.map((s,n)=>({member:s,index:n})).filter(({member:s})=>!e.receiptId||s.receiptId===e.receiptId);if(e.receiptId&&d.length!==1)throw new Error("Profile evaluation case is unavailable in the selected run.");let u=await Promise.all(d.map(async({member:s,index:n})=>{let h=o?null:await e.store.getProfileEvaluationReceipt(s.receiptId),r=o?.receiptRefs[n]??(h?{id:h.id,contentHash:h.contentHash}:null),l=o?.gradeRefs[n]??h?.graderEvidenceRefs[0];if(!r||!l)throw new Error("Profile evaluation run has incomplete case evidence.");let[a,i]=await Promise.all([e.store.getProfileEvaluationReceipt(r.id),e.store.getProfileEvaluationGrade(l.contentHash)]);if(!a||!o&&!E(a)||a.contentHash!==r.contentHash||a.id!==s.receiptId||a.taskId!==s.taskId||a.seed!==s.seed||a.runManifest.id!==t.id||a.runManifest.contentHash!==t.contentHash||!i||i.contentHash!==l.contentHash||!a.graderEvidenceRefs.some(c=>c.id===l.id&&c.contentHash===l.contentHash))throw new Error("Profile evaluation case evidence differs from its retained run.");return{taskId:s.taskId,seed:s.seed,receiptId:a.id,receiptHash:a.contentHash,traceHash:a.traceHash,outputHash:a.outputHash,score:i.score,passed:i.passed,gradingStatus:i.gradingStatus,failureClass:i.failureClass,artifactCount:a.artifactRefs.length,latencyMs:a.latencyMs,costUsd:a.costUsd,terminal:a.terminal,feedback:i.components.map(c=>({graderId:c.graderId,graderVersion:c.graderVersion,score:c.score,passed:c.passed,feedback:c.feedback})),...e.receiptId?{receipt:a,evidence:await L({store:e.store,profileRef:e.profileRef,manifest:t,receipt:a,eventAfterId:e.eventAfterId,eventLimit:e.eventLimit})}:{}}}));return{runId:t.id,sourceRevision:t.profileEvaluation?.sourceRevision??null,cases:u}}g(re,"inspectProfileEvaluationRun");export{$ as a,V as b,te as c,re as d};