openpond 0.2.42 → 0.2.44

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 (181) hide show
  1. package/dist/app-server.d.ts +4473 -653
  2. package/dist/app-server.js +1 -1
  3. package/dist/chunks/actions-command-5IEZEP6W.js +2 -0
  4. package/dist/chunks/{app-layer-ETI5QXQ3.js → app-layer-7SPLENWD.js} +1 -1
  5. package/dist/chunks/app-server-runtime-NQ2BYPGK.js +2 -0
  6. package/dist/chunks/apps-XQ7PHJTD.js +2 -0
  7. package/dist/chunks/{chunk-NT2UKDF7.js → chunk-2CXJK2M3.js} +1 -1
  8. package/dist/chunks/{chunk-MOMDY22U.js → chunk-36RCXSEJ.js} +1 -1
  9. package/dist/chunks/chunk-3QC2DDQ5.js +2 -0
  10. package/dist/chunks/chunk-3XDFNA7W.js +2 -0
  11. package/dist/chunks/chunk-4S4WH65X.js +3 -0
  12. package/dist/chunks/chunk-4TMC5F2P.js +5 -0
  13. package/dist/chunks/{chunk-Z7VAZVC5.js → chunk-65QCNUGE.js} +283 -202
  14. package/dist/chunks/{chunk-JYM3O4G7.js → chunk-ANVOHBUV.js} +1 -1
  15. package/dist/chunks/chunk-ARJUNUH6.js +5 -0
  16. package/dist/chunks/{chunk-LRGLV6JX.js → chunk-B3O2GAQH.js} +1 -1
  17. package/dist/chunks/{chunk-BJSXEGWG.js → chunk-CEEZ7Y2J.js} +1 -1
  18. package/dist/chunks/{chunk-ZG7QX66E.js → chunk-CR6CDOKS.js} +8 -8
  19. package/dist/chunks/{chunk-AANEPCEZ.js → chunk-DZVVGU6K.js} +1 -1
  20. package/dist/chunks/chunk-HY2Q7EDK.js +4 -0
  21. package/dist/chunks/chunk-IT4AT6LB.js +42 -0
  22. package/dist/chunks/{chunk-VQG25QBJ.js → chunk-KPDWQCF6.js} +1 -1
  23. package/dist/chunks/chunk-KRC2S5QF.js +5 -0
  24. package/dist/chunks/{chunk-AT6XYNQ5.js → chunk-L6HCBIAU.js} +1 -1
  25. package/dist/chunks/chunk-LNEOLOK2.js +13 -0
  26. package/dist/chunks/chunk-NM2GYDPA.js +19 -0
  27. package/dist/chunks/{chunk-QZ4KTU65.js → chunk-OI2N2636.js} +1 -1
  28. package/dist/chunks/{chunk-6UGTLC7Z.js → chunk-OJVIH7J6.js} +1 -1
  29. package/dist/chunks/{chunk-TPMXLA5Y.js → chunk-OMM4ZO7E.js} +7 -7
  30. package/dist/chunks/{chunk-S2MLTFZF.js → chunk-OQPFFKU6.js} +1 -1
  31. package/dist/chunks/{chunk-VTWY3U4M.js → chunk-PEYA2Q7Q.js} +1 -1
  32. package/dist/chunks/{chunk-2VTXKZNK.js → chunk-QID62K65.js} +5 -5
  33. package/dist/chunks/{chunk-76YP4FDQ.js → chunk-RAWEO7SJ.js} +2 -2
  34. package/dist/chunks/{chunk-BAQ3DWH2.js → chunk-W5NQ2DI7.js} +12 -12
  35. package/dist/chunks/{chunk-ZLQQUZH7.js → chunk-X2B4MN6W.js} +1 -1
  36. package/dist/chunks/{chunk-EEJ3HL6O.js → chunk-YF6IDYTS.js} +1 -1
  37. package/dist/chunks/{chunk-R6YJY7F2.js → chunk-YOOPTMQK.js} +1 -1
  38. package/dist/chunks/{chunk-MJC26GOX.js → chunk-Z3D4C7BG.js} +6 -6
  39. package/dist/chunks/{chunk-QUNRWDVO.js → chunk-Z6ZR5O3J.js} +3 -3
  40. package/dist/chunks/{chunk-SUAT5DR4.js → chunk-ZEVARU6J.js} +5 -5
  41. package/dist/chunks/cli-OJU6NQSA.js +2 -0
  42. package/dist/chunks/{configuration-command-N2FD7DWB.js → configuration-command-LDPUCHVH.js} +1 -1
  43. package/dist/chunks/core-commands-UZL5RF2M.js +2 -0
  44. package/dist/chunks/datasets-42AZHVSV.js +13 -0
  45. package/dist/chunks/desktop-test-DI76HKS7.js +3 -0
  46. package/dist/chunks/dist-6YP37XI5.js +2 -0
  47. package/dist/chunks/experiments-Z3S35BYN.js +2 -0
  48. package/dist/chunks/{extension-7GYFAHRP.js → extension-JEUZZJ5X.js} +1 -1
  49. package/dist/chunks/{help-MD7Z72QS.js → help-4F4QGL4C.js} +1 -1
  50. package/dist/chunks/hosted-harness-runtime-VZNYNQ6T.js +2 -0
  51. package/dist/chunks/hosted-profile-compiler-JXLPR7SX.js +2 -0
  52. package/dist/chunks/{hosted-profile-evaluation-control-VV2NXFBE.js → hosted-profile-evaluation-control-Q54YXXIM.js} +1 -1
  53. package/dist/chunks/{hosted-profile-evaluation-inspection-XMPRKON6.js → hosted-profile-evaluation-inspection-7WESM3ZH.js} +1 -1
  54. package/dist/chunks/hosted-profile-evaluation-preparation-QP24PYBL.js +3 -0
  55. package/dist/chunks/opchat-UFWWVJL6.js +3 -0
  56. package/dist/chunks/organizations-SBBIOF6O.js +2 -0
  57. package/dist/chunks/{profile-BZDCYKGL.js → profile-ESULTWDN.js} +1 -1
  58. package/dist/chunks/project-agent-IBHUQ3JX.js +2 -0
  59. package/dist/chunks/sandbox-command-PAJAIMWM.js +2 -0
  60. package/dist/chunks/{sandbox-template-ZYXK4QCI.js → sandbox-template-7WHGNVM6.js} +1 -1
  61. package/dist/chunks/src-5MJSO3UD.js +326 -0
  62. package/dist/chunks/{src-5Z35O6L7.js → src-A3OVZOSV.js} +1 -1
  63. package/dist/chunks/{teams-bot-WXGP3PA6.js → teams-bot-YMCDLBGT.js} +1 -1
  64. package/dist/chunks/{workspaces-7WY3ZVQW.js → workspaces-ZZ7R5BUL.js} +1 -1
  65. package/dist/cli.js +1 -1
  66. package/dist/index.js +1 -1
  67. package/dist/profile/local-profile.d.ts +2 -0
  68. package/dist/web/assets/App-6AQXN2SM.js +226 -0
  69. package/dist/web/assets/{AppDialog-DMymIOcU.js → AppDialog-CV3ddujB.js} +1 -1
  70. package/dist/web/assets/AppTerminalPanel-dhbGOO_K.js +2 -0
  71. package/dist/web/assets/{AppsView-CUrRKOiz.js → AppsView-Bxa-9BF2.js} +1 -1
  72. package/dist/web/assets/{BrowserSidebar-C5psWtoF.js → BrowserSidebar-BLwL2FOG.js} +1 -1
  73. package/dist/web/assets/{CartesianChart-DVGs4fGn.js → CartesianChart-BOxN-Su1.js} +1 -1
  74. package/dist/web/assets/{CollaborationTabs-D6eqNw88.js → CollaborationTabs-DTmJvNJx.js} +1 -1
  75. package/dist/web/assets/{CommandMenu--GRjuf3j.js → CommandMenu-DggN2ygj.js} +1 -1
  76. package/dist/web/assets/{CommunityView-CHGceVA_.js → CommunityView-CuDrYOIf.js} +1 -1
  77. package/dist/web/assets/{ComposerCreateImproveStrip-D08PAaxI.js → ComposerCreateImproveStrip-BrduENlL.js} +1 -1
  78. package/dist/web/assets/{GetStartedView-BPZcWzsG.js → GetStartedView-Db1IEWzv.js} +1 -1
  79. package/dist/web/assets/HostedModelLearningReview-kofNdPAe.js +1 -0
  80. package/dist/web/assets/{HostedModelLearningSettings-BmEMKcoy.js → HostedModelLearningSettings-6ij3nwWD.js} +1 -1
  81. package/dist/web/assets/{LabModelVersionDetailPage-CX5pOLl2.js → LabModelVersionDetailPage-C7Maqcit.js} +1 -1
  82. package/dist/web/assets/{LabSkillSidebar-C4vAz_0b.js → LabSkillSidebar-Bz0U-Nmw.js} +1 -1
  83. package/dist/web/assets/LabsRoute-Ch1N-e2S.js +52 -0
  84. package/dist/web/assets/LabsRoute-Dw6-12kt.css +1 -0
  85. package/dist/web/assets/MainChatThread-BJbhZOvs.js +2 -0
  86. package/dist/web/assets/{MainPane-EwtIf5_E.js → MainPane-Cs2Kng_k.js} +4 -4
  87. package/dist/web/assets/{MarkdownText-Bj9uRWtM.js → MarkdownText-BhzHRq1J.js} +1 -1
  88. package/dist/web/assets/{NativeSkillSidebar-U7PHw5DO.js → NativeSkillSidebar-LU-PhEhW.js} +1 -1
  89. package/dist/web/assets/{NewExperienceSwitcher-DneuamYK.js → NewExperienceSwitcher-Bi_gpHLG.js} +1 -1
  90. package/dist/web/assets/{NewProjectDialog-CrpXYCYV.js → NewProjectDialog-B8pWvSkq.js} +1 -1
  91. package/dist/web/assets/{OutputsPage-C1SPqz45.js → OutputsPage-BkGI0kHp.js} +1 -1
  92. package/dist/web/assets/{ProjectsPage-CCW3mGQb.js → ProjectsPage-Ca8_iEWu.js} +1 -1
  93. package/dist/web/assets/{RightChatPanelStack-D7ECzLfp.js → RightChatPanelStack-DjEdxsq8.js} +1 -1
  94. package/dist/web/assets/{RightSidebarHomePanel-B-4r-yLc.js → RightSidebarHomePanel-6pygznxX.js} +1 -1
  95. package/dist/web/assets/{ScheduledWorkPage-XjmcT64Z.js → ScheduledWorkPage-BSiOxxAH.js} +1 -1
  96. package/dist/web/assets/{SettingsView-BEBpD7W0.js → SettingsView-1XN7KLBl.js} +3 -3
  97. package/dist/web/assets/{TeamChatView-n9GnPY4F.js → TeamChatView-BGLCPTen.js} +2 -2
  98. package/dist/web/assets/{TerminalOverlay-CNaaMo7W.js → TerminalOverlay-DHkS2cVJ.js} +1 -1
  99. package/dist/web/assets/{TrainingCreationPanel-CEEXMmC5.js → TrainingCreationPanel-Dneamjzh.js} +1 -1
  100. package/dist/web/assets/{TrainingDraftPanel-CwyoL_Dy.js → TrainingDraftPanel-Cfh59jLZ.js} +1 -1
  101. package/dist/web/assets/{UsageSettingsSection-BNjgosYd.js → UsageSettingsSection-C9l1KY-O.js} +1 -1
  102. package/dist/web/assets/{WorkSidebarPanel-BatJltaq.js → WorkSidebarPanel-CEnO-Txp.js} +1 -1
  103. package/dist/web/assets/{WorkspaceDiffPanel-Cbr7qcqm.js → WorkspaceDiffPanel-BiuQBflC.js} +3 -3
  104. package/dist/web/assets/{WorkspaceEnvironmentMenu-DYu-PXRv.js → WorkspaceEnvironmentMenu-Dr-E0c1j.js} +1 -1
  105. package/dist/web/assets/{WorkspaceGitDialogs-BoamHtgk.js → WorkspaceGitDialogs-mE3Og6Zo.js} +1 -1
  106. package/dist/web/assets/{WorkspaceMonacoEditor-yg83VXk5.js → WorkspaceMonacoEditor-DPZ0n0G9.js} +60 -60
  107. package/dist/web/assets/{arrow-up-right-CN9lcbsD.js → arrow-up-right-DU2KsZD-.js} +1 -1
  108. package/dist/web/assets/{clipboard-DfLDGpSz.js → clipboard-g2b4_k81.js} +1 -1
  109. package/dist/web/assets/{cloud-upload-hk4EBTu-.js → cloud-upload-P2bDOPsQ.js} +1 -1
  110. package/dist/web/assets/cssMode-CPbPVAUt.js +1 -0
  111. package/dist/web/assets/{folder-open-BmhusYOx.js → folder-open-BmsONNsr.js} +1 -1
  112. package/dist/web/assets/{folder-plus-Bedc_RqV.js → folder-plus-B18NgUxy.js} +1 -1
  113. package/dist/web/assets/{git-commit-horizontal-D2Zvz4i7.js → git-commit-horizontal-enxGCV_e.js} +1 -1
  114. package/dist/web/assets/htmlMode-DiV88uQv.js +1 -0
  115. package/dist/web/assets/index-B9VSiz_z.css +1 -0
  116. package/dist/web/assets/{index-CpTHPmvd.js → index-vfpCN9zy.js} +6 -6
  117. package/dist/web/assets/{info-CayXQYUk.js → info-DmuSBIYe.js} +1 -1
  118. package/dist/web/assets/{jsonMode-_Ywm0ZC4.js → jsonMode-BaeOjuKU.js} +4 -4
  119. package/dist/web/assets/{lspLanguageFeatures-Caw_TPYu.js → lspLanguageFeatures-D8To0CQA.js} +1 -1
  120. package/dist/web/assets/{minimize-2-sPQtjkx8.js → minimize-2-C2xnEzCe.js} +1 -1
  121. package/dist/web/assets/monaco.contribution-DbrACt99.js +2 -0
  122. package/dist/web/assets/{monaco.contribution-CngZuH1Z.js → monaco.contribution-DgTFvG2Q.js} +2 -2
  123. package/dist/web/assets/{monaco.contribution-DmEqb8O2.js → monaco.contribution-JW3MxX6k.js} +2 -2
  124. package/dist/web/assets/{monaco.contribution-Bqi-s2-g.js → monaco.contribution-bytkwn0O.js} +2 -2
  125. package/dist/web/assets/{monitor-BuaCDSIZ.js → monitor-mtHVW7gU.js} +1 -1
  126. package/dist/web/assets/{python-D6SoZF70.js → python-DAPe0Urm.js} +1 -1
  127. package/dist/web/assets/{refresh-cw-DmpWkVF6.js → refresh-cw-Dvm_Pq3U.js} +1 -1
  128. package/dist/web/assets/{save-Di43Sc13.js → save-B2eVAjW6.js} +1 -1
  129. package/dist/web/assets/{square-Cui64whj.js → square-16bX2k2i.js} +1 -1
  130. package/dist/web/assets/toggleHighContrast-BgpFWRpS.css +1 -0
  131. package/dist/web/assets/{toggleHighContrast-e8XiQRTr.js → toggleHighContrast-Ce0YhEQg.js} +1 -1
  132. package/dist/web/assets/{tsMode-Cvh0MpFm.js → tsMode-CnvMmHz6.js} +1 -1
  133. package/dist/web/assets/{upload-Dphgk6dy.js → upload-COPbAaD-.js} +1 -1
  134. package/dist/web/assets/{useLocalAgentSchedules-CDN8WQld.js → useLocalAgentSchedules-C-Wjm5HK.js} +1 -1
  135. package/dist/web/assets/{useSessionTurnCache-Bvcc_al6.js → useSessionTurnCache-BfVbncMB.js} +1 -1
  136. package/dist/web/assets/{wifi-off-CIWXrn3o.js → wifi-off-C9iLbCC-.js} +1 -1
  137. package/dist/web/assets/{workers-XU4YZxHD.js → workers-BXh_u8Fr.js} +1 -1
  138. package/dist/web/assets/{yaml-BZ0UGaZH.js → yaml-CRSr9x6_.js} +1 -1
  139. package/dist/web/index.html +5 -5
  140. package/docs/command-reference.md +8 -1
  141. package/package.json +4 -2
  142. package/dist/chunks/actions-command-6EMO4BIK.js +0 -2
  143. package/dist/chunks/app-server-runtime-CJ7SJTTF.js +0 -2
  144. package/dist/chunks/apps-LH5AJCUI.js +0 -2
  145. package/dist/chunks/chunk-2Z6H32OC.js +0 -2
  146. package/dist/chunks/chunk-3CKJETWW.js +0 -2
  147. package/dist/chunks/chunk-4F2Q4CFS.js +0 -4
  148. package/dist/chunks/chunk-ANCZVBMI.js +0 -42
  149. package/dist/chunks/chunk-AUOMUBLE.js +0 -3
  150. package/dist/chunks/chunk-GC4OCTP6.js +0 -2
  151. package/dist/chunks/chunk-KCENW4ME.js +0 -2
  152. package/dist/chunks/chunk-OUN6VQDO.js +0 -5
  153. package/dist/chunks/chunk-TPOW52DO.js +0 -13
  154. package/dist/chunks/chunk-VI3ZF54E.js +0 -5
  155. package/dist/chunks/chunk-XJAK6DDB.js +0 -5
  156. package/dist/chunks/chunk-ZQWXPDCB.js +0 -19
  157. package/dist/chunks/cli-FM3DESGO.js +0 -2
  158. package/dist/chunks/core-commands-D2MJ7QFZ.js +0 -2
  159. package/dist/chunks/datasets-UYIZCMNZ.js +0 -13
  160. package/dist/chunks/desktop-test-IWDHFDSZ.js +0 -3
  161. package/dist/chunks/dist-JPRXSUXC.js +0 -2
  162. package/dist/chunks/experiments-Q6TAHJV3.js +0 -2
  163. package/dist/chunks/hosted-harness-runtime-LMYM7PYZ.js +0 -2
  164. package/dist/chunks/hosted-profile-compiler-H2J5HFT3.js +0 -2
  165. package/dist/chunks/hosted-profile-evaluation-preparation-ZZ3MZJDR.js +0 -3
  166. package/dist/chunks/opchat-URWW53CK.js +0 -3
  167. package/dist/chunks/organizations-BPBJV7LZ.js +0 -2
  168. package/dist/chunks/project-agent-U6YNYPHS.js +0 -2
  169. package/dist/chunks/sandbox-command-TTLFWUXV.js +0 -2
  170. package/dist/chunks/src-NABQMSR3.js +0 -325
  171. package/dist/web/assets/App-BpYDvJ6x.js +0 -226
  172. package/dist/web/assets/AppTerminalPanel-CFsUD-di.js +0 -2
  173. package/dist/web/assets/HostedModelLearningReview-DiS-n3XW.js +0 -1
  174. package/dist/web/assets/LabsRoute-BL04wKhE.js +0 -52
  175. package/dist/web/assets/LabsRoute-Cq9XLVDP.css +0 -1
  176. package/dist/web/assets/MainChatThread-BSwHDALr.js +0 -2
  177. package/dist/web/assets/cssMode-DkhTpCaH.js +0 -1
  178. package/dist/web/assets/htmlMode-Bf3_KJ2b.js +0 -1
  179. package/dist/web/assets/index-DUIWDN8o.css +0 -1
  180. package/dist/web/assets/monaco.contribution-DKY5M77J.js +0 -2
  181. package/dist/web/assets/toggleHighContrast-B7NOMXDY.css +0 -1
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
3
- import{p as vt,q as St}from"./chunk-VTWY3U4M.js";import"./chunk-BAQ3DWH2.js";import{O as gt}from"./chunk-VI3ZF54E.js";import"./chunk-L3KS6MOV.js";import{E as pe,F as dt,H as me}from"./chunk-ZQWXPDCB.js";import"./chunk-6MI4KKWF.js";import"./chunk-TPMXLA5Y.js";import"./chunk-MJC26GOX.js";import"./chunk-TPOW52DO.js";import"./chunk-QUNRWDVO.js";import"./chunk-6FA3GG5B.js";import"./chunk-SDO4FC4Q.js";import"./chunk-IR3YJWPW.js";import"./chunk-ALZRXBEC.js";import{C as He,D as ee,F as ct,H as pt,K as mt,N as ft}from"./chunk-MTJNKRXL.js";import"./chunk-HZP5U2AA.js";import"./chunk-ES2ISFJC.js";import{f as ht,h as yt}from"./chunk-H7IWJN7L.js";import{a as i}from"./chunk-FTQLQJQV.js";import{createInterface as oo}from"node:readline/promises";import{stdin as Fe,stdout as k}from"node:process";import{pathToFileURL as io}from"node:url";function ge(){return{text:"",cursor:0,history:[],historyIndex:null}}i(ge,"createComposer");function wt(e,t){let r=e.text.slice(0,e.cursor),n=e.text.slice(e.cursor);return{...e,text:`${r}${t}${n}`,cursor:e.cursor+t.length,historyIndex:null}}i(wt,"insertText");function fe(e,t){return{...e,text:t,cursor:t.length}}i(fe,"replaceComposerText");function Rr(e){let t=e.text.trim();return t?{state:{text:"",cursor:0,history:[...e.history.filter(r=>r!==t),t].slice(-100),historyIndex:null},action:{type:"submit",text:t}}:{state:{...e,text:"",cursor:0,historyIndex:null},action:{type:"none"}}}i(Rr,"submitComposer");function Tt(e,t){if(t==="ctrl+c")return{state:e,action:{type:"cancel-or-exit"}};if(t==="ctrl+d")return{state:e,action:e.text?{type:"none"}:{type:"exit"}};if(t==="ctrl+l")return{state:e,action:{type:"rerender"}};if(t==="enter")return Rr(e);if(t==="alt+enter")return{state:wt(e,`
3
+ import{p as vt,q as St}from"./chunk-PEYA2Q7Q.js";import"./chunk-W5NQ2DI7.js";import{O as gt}from"./chunk-4TMC5F2P.js";import{E as pe,F as dt,H as me}from"./chunk-NM2GYDPA.js";import"./chunk-6MI4KKWF.js";import"./chunk-L3KS6MOV.js";import"./chunk-OMM4ZO7E.js";import"./chunk-Z3D4C7BG.js";import"./chunk-LNEOLOK2.js";import"./chunk-Z6ZR5O3J.js";import"./chunk-6FA3GG5B.js";import"./chunk-SDO4FC4Q.js";import"./chunk-IR3YJWPW.js";import"./chunk-ALZRXBEC.js";import{C as He,D as ee,F as ct,H as pt,K as mt,N as ft}from"./chunk-MTJNKRXL.js";import"./chunk-HZP5U2AA.js";import"./chunk-ES2ISFJC.js";import{f as ht,h as yt}from"./chunk-H7IWJN7L.js";import{a as i}from"./chunk-FTQLQJQV.js";import{createInterface as oo}from"node:readline/promises";import{stdin as Fe,stdout as k}from"node:process";import{pathToFileURL as io}from"node:url";function ge(){return{text:"",cursor:0,history:[],historyIndex:null}}i(ge,"createComposer");function wt(e,t){let r=e.text.slice(0,e.cursor),n=e.text.slice(e.cursor);return{...e,text:`${r}${t}${n}`,cursor:e.cursor+t.length,historyIndex:null}}i(wt,"insertText");function fe(e,t){return{...e,text:t,cursor:t.length}}i(fe,"replaceComposerText");function Rr(e){let t=e.text.trim();return t?{state:{text:"",cursor:0,history:[...e.history.filter(r=>r!==t),t].slice(-100),historyIndex:null},action:{type:"submit",text:t}}:{state:{...e,text:"",cursor:0,historyIndex:null},action:{type:"none"}}}i(Rr,"submitComposer");function Tt(e,t){if(t==="ctrl+c")return{state:e,action:{type:"cancel-or-exit"}};if(t==="ctrl+d")return{state:e,action:e.text?{type:"none"}:{type:"exit"}};if(t==="ctrl+l")return{state:e,action:{type:"rerender"}};if(t==="enter")return Rr(e);if(t==="alt+enter")return{state:wt(e,`
4
4
  `),action:{type:"none"}};if(t==="backspace")return e.cursor<=0?{state:e,action:{type:"none"}}:{state:{...e,text:`${e.text.slice(0,e.cursor-1)}${e.text.slice(e.cursor)}`,cursor:e.cursor-1},action:{type:"none"}};if(t==="delete")return e.cursor>=e.text.length?{state:e,action:{type:"none"}}:{state:{...e,text:`${e.text.slice(0,e.cursor)}${e.text.slice(e.cursor+1)}`},action:{type:"none"}};if(t==="left")return{state:{...e,cursor:Math.max(0,e.cursor-1)},action:{type:"none"}};if(t==="right")return{state:{...e,cursor:Math.min(e.text.length,e.cursor+1)},action:{type:"none"}};if(t==="home"||t==="ctrl+a")return{state:{...e,cursor:0},action:{type:"none"}};if(t==="end"||t==="ctrl+e")return{state:{...e,cursor:e.text.length},action:{type:"none"}};if(t==="ctrl+u")return{state:{...e,text:e.text.slice(e.cursor),cursor:0},action:{type:"none"}};if(t==="ctrl+k")return{state:{...e,text:e.text.slice(0,e.cursor)},action:{type:"none"}};if(t==="up"){if(e.history.length===0)return{state:e,action:{type:"none"}};let r=e.historyIndex===null?e.history.length-1:Math.max(0,e.historyIndex-1);return{state:fe({...e,historyIndex:r},e.history[r]??""),action:{type:"none"}}}if(t==="down"){if(e.historyIndex===null)return{state:e,action:{type:"none"}};let r=e.historyIndex+1;return r>=e.history.length?{state:{...e,text:"",cursor:0,historyIndex:null},action:{type:"none"}}:{state:fe({...e,historyIndex:r},e.history[r]??""),action:{type:"none"}}}return t.length>0?{state:wt(e,t),action:{type:"none"}}:{state:e,action:{type:"none"}}}i(Tt,"handleComposerKey");var bt="A turn is already running. Wait for it to finish before sending another line.";function Mr(){let e=!1;return{isRunning(){return e},tryStartSubmission(){return e?!1:(e=!0,!0)},failSubmission(){e=!1},applyRuntimeEvent(t){t.name==="turn.started"&&(e=!0),(t.name==="turn.completed"||t.name==="turn.failed"||t.name==="turn.interrupted")&&(e=!1)}}}i(Mr,"createTerminalTurnSubmissionGuard");function Pt(){return Mr()}i(Pt,"createLineModeTurnGuard");var he=[{name:"help",usage:"/help",description:"show this help"},{name:"providers",usage:"/providers",description:"list providers"},{name:"provider",usage:"/provider [id]",description:"switch provider",requiresArgument:!0},{name:"model",usage:"/model [id]",description:"list or switch model"},{name:"apps",usage:"/apps",description:"list connectable apps"},{name:"install",usage:"/install <app>",description:"open app details",requiresArgument:!0},{name:"projects",usage:"/projects",description:"list projects"},{name:"project",usage:"/project <id>",description:"switch project",requiresArgument:!0},{name:"permissions",usage:"/permissions [ask|full-access]",description:"show or change command access"},{name:"profile",usage:"/profile [status|diff|catalog|check|push]",description:"show or sync profile"},{name:"agents",usage:"/agents",description:"list agents"},{name:"agent",usage:"/agent <id>",description:"select agent",requiresArgument:!0},{name:"run",usage:"/run <action> [json]",description:"run profile action",requiresArgument:!0},{name:"settings",usage:"/settings",description:"show settings"},{name:"logs",usage:"/logs",description:"show recent events"},{name:"compact",usage:"/compact",description:"compact current session"},{name:"clear",usage:"/clear",description:"clear terminal transcript"},{name:"exit",usage:"/exit",description:"exit"},{name:"hooks",usage:"/hooks",description:"show hook status"},{name:"start",usage:"/start",description:"start a new session"}];function ze(e){if(!e.startsWith("/"))return null;let[t="",...r]=e.slice(1).trim().split(/\s+/),n=t.toLowerCase();if(!n)return null;if(n==="exit"||n==="quit")return{type:"exit"};if(n==="help")return{type:"help"};if(n==="clear")return{type:"clear"};if(n==="agents")return{type:"agents"};if(n==="apps")return{type:"apps"};if(n==="agent")return{type:"agent",id:r.join(" ").trim()};if(n==="install")return{type:"install",id:r.join(" ").trim()};if(n==="projects")return{type:"projects"};if(n==="project")return{type:"project",id:r.join(" ").trim()};if(n==="model")return{type:"model",id:r.join(" ").trim()||null};if(n==="permissions")return{type:"permissions",args:r};if(n==="profile")return{type:"profile",args:r};if(n==="logs")return{type:"logs"};if(n==="providers")return{type:"providers"};if(n==="provider")return{type:"provider",id:r.join(" ").trim()||null};if(n==="compact")return{type:"compact"};if(n==="hooks")return{type:"hooks"};if(n==="start")return{type:"start"};if(n==="run"){let o=r[0]??"",s=r.slice(1).join(" ").trim();return s?{type:"run",action:o,input:JSON.parse(s)}:{type:"run",action:o,input:void 0}}return n==="settings"?{type:"settings",args:r}:{type:"unknown",command:n}}i(ze,"parseSlashCommand");function xt(e){let t=e.trim();if(!t.startsWith("!"))return null;let r=t.slice(1).trim();return r?{command:r}:null}i(xt,"parseDirectCommandPrompt");function Ct(){let e=Math.max(...he.map(t=>t.usage.length));return["Commands:",...he.map(t=>`${t.usage.padEnd(e+2)}${t.description}`)].join(`
5
5
  `)}i(Ct,"helpText");var ye=class{static{i(this,"RawInput")}input;onKey;previousRawMode=!1;dataHandler=null;constructor(t,r){this.input=t,this.onKey=r}start(){this.previousRawMode=this.input.isRaw??!1,this.input.setRawMode(!0),this.input.resume(),this.dataHandler=t=>{for(let r of Or(t))this.onKey(r)},this.input.on("data",this.dataHandler)}stop(){this.dataHandler&&this.input.off("data",this.dataHandler),this.dataHandler=null,this.input.setRawMode(this.previousRawMode),this.input.pause()}};function Or(e){let t=e.toString("utf8"),r=[];for(let n=0;n<t.length;n+=1){let o=t[n],s=t[n+1];if(o==="\x1B"){let a=jr(t,n);r.push(a.key),n=a.end;continue}o===""?r.push("ctrl+c"):o===""?r.push("ctrl+d"):o==="\f"?r.push("ctrl+l"):o===""?r.push("ctrl+a"):o===""?r.push("ctrl+e"):o==="\v"?r.push("ctrl+k"):o===""?r.push("ctrl+u"):o==="\x7F"||o==="\b"?r.push("backspace"):o==="\r"||o===`
6
6
  `?r.push("enter"):(o>=" "||o&&s)&&r.push(o)}return r}i(Or,"decodeKeys");function jr(e,t){let r=e.slice(t);return r.startsWith("\x1B\r")||r.startsWith(`\x1B
@@ -1,3 +1,3 @@
1
1
  import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
2
- import{m as f}from"./chunk-LRGLV6JX.js";import"./chunk-65BW2QXY.js";import"./chunk-BSHAIAXY.js";import"./chunk-QZ4KTU65.js";import"./chunk-AUOMUBLE.js";import"./chunk-XWPC3AN4.js";import{a as g,c as a,d}from"./chunk-3M53YXEI.js";import"./chunk-OGPHXXCD.js";import"./chunk-XJAK6DDB.js";import"./chunk-Z2BYC6TP.js";import"./chunk-DXAZUJPA.js";import"./chunk-GLUWATL5.js";import"./chunk-KCENW4ME.js";import"./chunk-2Z6H32OC.js";import"./chunk-MJC26GOX.js";import"./chunk-TPOW52DO.js";import"./chunk-QUNRWDVO.js";import"./chunk-ALZRXBEC.js";import"./chunk-MTJNKRXL.js";import"./chunk-HZP5U2AA.js";import"./chunk-ES2ISFJC.js";import"./chunk-H7IWJN7L.js";import{a as s}from"./chunk-FTQLQJQV.js";function c(){return["usage: teams-bot <overview|bind|rebind|diagnostics|diagnostic-run>"," teams-bot overview --team-id <id>"," teams-bot bind --team-id <id> --token <token> [--project-id <id>] [--agent-id <id>] [--microsoft-connection-id <id>]"," teams-bot rebind <bindingId> --team-id <id> [--project-id <id>] [--agent-id <id>] [--microsoft-connection-id <id>]"," teams-bot diagnostics <bindingId> --team-id <id>"," teams-bot diagnostic-run <bindingId> --team-id <id> --prompt <text> [--attachments-json <json-array>] [--action-input-json <json-object>]"].join(`
2
+ import{m as f}from"./chunk-B3O2GAQH.js";import"./chunk-65BW2QXY.js";import"./chunk-BSHAIAXY.js";import"./chunk-OI2N2636.js";import"./chunk-4S4WH65X.js";import"./chunk-XWPC3AN4.js";import{a as g,c as a,d}from"./chunk-3M53YXEI.js";import"./chunk-OGPHXXCD.js";import"./chunk-Z2BYC6TP.js";import"./chunk-ARJUNUH6.js";import"./chunk-DXAZUJPA.js";import"./chunk-GLUWATL5.js";import"./chunk-3QC2DDQ5.js";import"./chunk-Z3D4C7BG.js";import"./chunk-LNEOLOK2.js";import"./chunk-Z6ZR5O3J.js";import"./chunk-ALZRXBEC.js";import"./chunk-MTJNKRXL.js";import"./chunk-HZP5U2AA.js";import"./chunk-ES2ISFJC.js";import"./chunk-H7IWJN7L.js";import{a as s}from"./chunk-FTQLQJQV.js";function c(){return["usage: teams-bot <overview|bind|rebind|diagnostics|diagnostic-run>"," teams-bot overview --team-id <id>"," teams-bot bind --team-id <id> --token <token> [--project-id <id>] [--agent-id <id>] [--microsoft-connection-id <id>]"," teams-bot rebind <bindingId> --team-id <id> [--project-id <id>] [--agent-id <id>] [--microsoft-connection-id <id>]"," teams-bot diagnostics <bindingId> --team-id <id>"," teams-bot diagnostic-run <bindingId> --team-id <id> --prompt <text> [--attachments-json <json-array>] [--action-input-json <json-object>]"].join(`
3
3
  `)}s(c,"usage");function u(n,o){if(!(o in n))return;let t=a(n,o);return!t||t==="null"||t==="none"?null:t}s(u,"nullableOption");function b(n){let o=d(n,"usage: teams-bot rebind <bindingId>"),t=u(n,"sandboxId"),r=u(n,"projectId"),i=u(n,"agentId"),e=u(n,"microsoftConnectionId");return{teamId:o,...t!==void 0?{sandboxId:t}:{},...r!==void 0?{projectId:r}:{},...i!==void 0?{agentId:i}:{},...e!==void 0?{microsoftConnectionId:e}:{}}}s(b,"bindingTargetInput");function l(n){let o=a(n,"attachmentsJson");if(!o)return;let t=g(o,"attachments-json");if(!Array.isArray(t))throw new Error("attachments-json must be a JSON array");for(let r of t)if(!r||typeof r!="object"||Array.isArray(r))throw new Error("attachments-json entries must be JSON objects");return t}s(l,"attachmentsInput");function w(n){let o=a(n,"actionInputJson");if(!o)return;let t=g(o,"action-input-json");if(!t||typeof t!="object"||Array.isArray(t))throw new Error("action-input-json must be a JSON object");return t}s(w,"actionInput");async function j(n,o){let t=o[0]||"overview",r=await f(n);if(t==="overview"){let i=d(n,"usage: teams-bot overview");console.log(JSON.stringify(await r.getMicrosoftTeamsBotOverview({teamId:i}),null,2));return}if(t==="bind"){let i=a(n,"token");if(!i)throw new Error(c());let e=await r.bindMicrosoftTeamsBotConversation({...b(n),token:i});console.log(JSON.stringify(e,null,2));return}if(t==="rebind"){let i=o[1]?.trim();if(!i)throw new Error(c());let e=await r.rebindMicrosoftTeamsBotConversation(i,b(n));console.log(JSON.stringify(e,null,2));return}if(t==="diagnostics"){let i=o[1]?.trim(),e=d(n,"usage: teams-bot diagnostics <bindingId>");if(!i)throw new Error(c());console.log(JSON.stringify(await r.sendMicrosoftTeamsBotDiagnostic({teamId:e,bindingId:i}),null,2));return}if(t==="diagnostic-run"){let i=o[1]?.trim(),e=d(n,"usage: teams-bot diagnostic-run <bindingId>"),m=a(n,"prompt");if(!i||!m)throw new Error(c());console.log(JSON.stringify(await r.sendMicrosoftTeamsBotDiagnosticRun({teamId:e,bindingId:i,prompt:m,attachments:l(n),actionInput:w(n)}),null,2));return}throw new Error(c())}s(j,"runTeamsBotCommand");export{j as runTeamsBotCommand};
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
2
- import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"./chunk-NT2UKDF7.js";import"./chunk-EEJ3HL6O.js";import"./chunk-FTQLQJQV.js";export{a as MACOS_GIT_MISSING_DEVELOPER_TOOLS_ERROR,C as appWorkspacePaths,B as assertSafeBranchName,d as checkWorkspaceGitAvailability,J as checkoutBranch,K as checkoutBranchAtPath,M as clearWorkspaceDiffCacheForTests,D as cloneWorkspace,H as createAndCheckoutBranch,I as createAndCheckoutBranchAtPath,A as expectedRemoteUrl,t as isGeneratedWorkspacePath,i as isGitRepo,c as isMacOSGitDeveloperToolsMissing,u as isVisibleGitWorkspaceFile,r as isWorkspaceDirectory,E as lastFetchAt,z as listPlainWorkspaceFiles,P as loadGitCommitDiffAtPath,N as loadWorkspaceDiff,O as loadWorkspaceDiffAtPath,Q as loadWorkspaceFile,T as loadWorkspaceFileAtPath,R as loadWorkspaceImageFile,S as loadWorkspaceImageFileAtPath,F as loadWorkspaceState,G as loadWorkspaceStateAtPath,n as localVideoContentType,L as mapWorkspaceDiffEntriesWithConcurrency,s as normalizeWorkspaceFilePath,w as parseBranchStatusLine,x as parseNumstat,v as parseStatusLine,h as pathExists,p as readLocalImageFile,q as readLocalVideoFile,l as readWorkspaceDocumentPreview,k as readWorkspaceFile,o as readWorkspaceImageFile,g as redactRemoteUrl,b as runWorkspaceCommand,f as sourceFromRemote,e as startMacOSCommandLineToolsInstall,j as truncatePatch,y as uniqueSortedPaths,m as workspaceImageContentType};
2
+ import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"./chunk-2CXJK2M3.js";import"./chunk-YF6IDYTS.js";import"./chunk-FTQLQJQV.js";export{a as MACOS_GIT_MISSING_DEVELOPER_TOOLS_ERROR,C as appWorkspacePaths,B as assertSafeBranchName,d as checkWorkspaceGitAvailability,J as checkoutBranch,K as checkoutBranchAtPath,M as clearWorkspaceDiffCacheForTests,D as cloneWorkspace,H as createAndCheckoutBranch,I as createAndCheckoutBranchAtPath,A as expectedRemoteUrl,t as isGeneratedWorkspacePath,i as isGitRepo,c as isMacOSGitDeveloperToolsMissing,u as isVisibleGitWorkspaceFile,r as isWorkspaceDirectory,E as lastFetchAt,z as listPlainWorkspaceFiles,P as loadGitCommitDiffAtPath,N as loadWorkspaceDiff,O as loadWorkspaceDiffAtPath,Q as loadWorkspaceFile,T as loadWorkspaceFileAtPath,R as loadWorkspaceImageFile,S as loadWorkspaceImageFileAtPath,F as loadWorkspaceState,G as loadWorkspaceStateAtPath,n as localVideoContentType,L as mapWorkspaceDiffEntriesWithConcurrency,s as normalizeWorkspaceFilePath,w as parseBranchStatusLine,x as parseNumstat,v as parseStatusLine,h as pathExists,p as readLocalImageFile,q as readLocalVideoFile,l as readWorkspaceDocumentPreview,k as readWorkspaceFile,o as readWorkspaceImageFile,g as redactRemoteUrl,b as runWorkspaceCommand,f as sourceFromRemote,e as startMacOSCommandLineToolsInstall,j as truncatePatch,y as uniqueSortedPaths,m as workspaceImageContentType};
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
3
- import{a as m,b as l}from"./chunks/chunk-BSHAIAXY.js";import{b as u}from"./chunks/chunk-QZ4KTU65.js";import{a as c,j as d}from"./chunks/chunk-AUOMUBLE.js";import"./chunks/chunk-XWPC3AN4.js";import{f as s}from"./chunks/chunk-3M53YXEI.js";import"./chunks/chunk-GLUWATL5.js";import{a as n}from"./chunks/chunk-FTQLQJQV.js";function f(e){return!e.command&&s(e.options.version)?"version":s(e.options.checkUpdate)?"check-update":!e.command&&s(e.options.help)?"help":!e.command&&s(e.options.tui)?"tui":e.command?"command":"ui"}n(f,"resolveCliTopLevelAction");async function C(e=process.argv.slice(2)){if(await w(e))return;let{command:t,options:o,rest:r}=u(e);typeof o.home=="string"&&(process.env.OPENPOND_HOME=(await import("./chunks/dist-ELWB75PL.js")).resolveOpenPondHome({home:o.home}));let i=f({command:t,options:o});if(i==="version"){console.log(c());return}if(i==="check-update"){await(await import("./chunks/core-commands-D2MJ7QFZ.js")).runCheckUpdate();return}if(i==="help"){(await import("./chunks/help-MD7Z72QS.js")).printHelp();return}let a=m(o),p=l(o);if(a&&(process.env.OPENPOND_ACCOUNT=a),p&&(process.env.OPENPOND_BASE_URL=p),i==="tui"){await(await import("./chunks/app-layer-ETI5QXQ3.js")).runOpenPondTerminalCommand(o,r);return}if(i==="ui"){await(await import("./chunks/app-layer-ETI5QXQ3.js")).runOpenPondServerCommand("web",o,r);return}await d({command:t,options:o,rest:r})||((await import("./chunks/help-MD7Z72QS.js")).printHelp(),process.exit(1))}n(C,"runOpenPondCli");async function w(e){if(e[0]==="__inspect-hosted-profile-evaluation")return await(await import("./chunks/hosted-profile-compiler-H2J5HFT3.js")).runHostedProfileInspectionCli(e.slice(1)),!0;if(e[0]==="__prepare-hosted-profile-evaluation")return await(await import("./chunks/hosted-profile-compiler-H2J5HFT3.js")).runHostedProfileEvaluationCli(e.slice(1)),!0;if(e[0]==="__compile-hosted-profile")return await(await import("./chunks/hosted-profile-compiler-H2J5HFT3.js")).runHostedProfileCompilerCli(e.slice(1)),!0;if(e[0]==="__app-server"){process.argv=[process.execPath,"openpond-app-server",...e.slice(1)];let[{createOpenPondAppServer:t},{runOpenPondAppServerCli:o}]=await Promise.all([import("./chunks/app-server-runtime-CJ7SJTTF.js"),import("./chunks/cli-FM3DESGO.js")]);return await o(t),!0}if(e[0]==="__server"){process.argv=[process.execPath,"openpond-server",...e.slice(1)];let[{createOpenPondServer:t},{runOpenPondServerCli:o}]=await Promise.all([import("./chunks/src-NABQMSR3.js"),import("./chunks/cli-FM3DESGO.js")]),{createOpenPondAppServer:r}=await import("./chunks/app-server-runtime-CJ7SJTTF.js");return await o({createOpenPondServer:t,createOpenPondAppServer:r}),!0}return e[0]==="__terminal"?(await(await import("./chunks/src-5Z35O6L7.js")).runOpenPondTerminalCli(e.slice(1)),!0):!1}n(w,"runEmbeddedCompanion");C().catch(e=>{let t=e instanceof Error?e.message:String(e),o=e.issue;if(process.argv.includes("--json")&&!(e instanceof Error&&e.name==="OpenPondChildProcessExitError"))console.log(JSON.stringify({error:o??{code:"CLI_ERROR",message:t}}));else if(o&&typeof o=="object"){let i=o;console.error(`${i.code}: ${i.message}
3
+ import{a as m,b as l}from"./chunks/chunk-BSHAIAXY.js";import{b as u}from"./chunks/chunk-OI2N2636.js";import{a as c,j as d}from"./chunks/chunk-4S4WH65X.js";import"./chunks/chunk-XWPC3AN4.js";import{f as s}from"./chunks/chunk-3M53YXEI.js";import"./chunks/chunk-GLUWATL5.js";import{a as n}from"./chunks/chunk-FTQLQJQV.js";function f(e){return!e.command&&s(e.options.version)?"version":s(e.options.checkUpdate)?"check-update":!e.command&&s(e.options.help)?"help":!e.command&&s(e.options.tui)?"tui":e.command?"command":"ui"}n(f,"resolveCliTopLevelAction");async function C(e=process.argv.slice(2)){if(await w(e))return;let{command:t,options:o,rest:r}=u(e);typeof o.home=="string"&&(process.env.OPENPOND_HOME=(await import("./chunks/dist-ELWB75PL.js")).resolveOpenPondHome({home:o.home}));let i=f({command:t,options:o});if(i==="version"){console.log(c());return}if(i==="check-update"){await(await import("./chunks/core-commands-UZL5RF2M.js")).runCheckUpdate();return}if(i==="help"){(await import("./chunks/help-4F4QGL4C.js")).printHelp();return}let a=m(o),p=l(o);if(a&&(process.env.OPENPOND_ACCOUNT=a),p&&(process.env.OPENPOND_BASE_URL=p),i==="tui"){await(await import("./chunks/app-layer-7SPLENWD.js")).runOpenPondTerminalCommand(o,r);return}if(i==="ui"){await(await import("./chunks/app-layer-7SPLENWD.js")).runOpenPondServerCommand("web",o,r);return}await d({command:t,options:o,rest:r})||((await import("./chunks/help-4F4QGL4C.js")).printHelp(),process.exit(1))}n(C,"runOpenPondCli");async function w(e){if(e[0]==="__inspect-hosted-profile-evaluation")return await(await import("./chunks/hosted-profile-compiler-JXLPR7SX.js")).runHostedProfileInspectionCli(e.slice(1)),!0;if(e[0]==="__prepare-hosted-profile-evaluation")return await(await import("./chunks/hosted-profile-compiler-JXLPR7SX.js")).runHostedProfileEvaluationCli(e.slice(1)),!0;if(e[0]==="__compile-hosted-profile")return await(await import("./chunks/hosted-profile-compiler-JXLPR7SX.js")).runHostedProfileCompilerCli(e.slice(1)),!0;if(e[0]==="__app-server"){process.argv=[process.execPath,"openpond-app-server",...e.slice(1)];let[{createOpenPondAppServer:t},{runOpenPondAppServerCli:o}]=await Promise.all([import("./chunks/app-server-runtime-NQ2BYPGK.js"),import("./chunks/cli-OJU6NQSA.js")]);return await o(t),!0}if(e[0]==="__server"){process.argv=[process.execPath,"openpond-server",...e.slice(1)];let[{createOpenPondServer:t},{runOpenPondServerCli:o}]=await Promise.all([import("./chunks/src-5MJSO3UD.js"),import("./chunks/cli-OJU6NQSA.js")]),{createOpenPondAppServer:r}=await import("./chunks/app-server-runtime-NQ2BYPGK.js");return await o({createOpenPondServer:t,createOpenPondAppServer:r}),!0}return e[0]==="__terminal"?(await(await import("./chunks/src-A3OVZOSV.js")).runOpenPondTerminalCli(e.slice(1)),!0):!1}n(w,"runEmbeddedCompanion");C().catch(e=>{let t=e instanceof Error?e.message:String(e),o=e.issue;if(process.argv.includes("--json")&&!(e instanceof Error&&e.name==="OpenPondChildProcessExitError"))console.log(JSON.stringify({error:o??{code:"CLI_ERROR",message:t}}));else if(o&&typeof o=="object"){let i=o;console.error(`${i.code}: ${i.message}
4
4
  ${i.path}
5
5
  ${i.action}`)}else console.error(t);let r=typeof e.exitCode=="number"?e.exitCode:1;process.exit(r)});export{C as runOpenPondCli};
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
2
- import"./chunks/chunk-X37KMV27.js";import"./chunks/chunk-OGPHXXCD.js";import"./chunks/chunk-XJAK6DDB.js";import{a as Er,b as Fr,c as Gr,d as Hr,e as Ir,f as Jr,g as Kr,h as Lr,i as Mr,j as Nr,k as Or,l as Pr}from"./chunks/chunk-KIGN4FI6.js";import{a as qr,b as sr,c as ur,d as vr,e as wr,f as yr,g as zr,h as Ar,i as Br,j as Cr,k as Dr}from"./chunks/chunk-JEVA7YQL.js";import{a as kr,b as lr,c as nr}from"./chunks/chunk-22UARBPW.js";import{A as Mo,B as No,C as Oo,D as Po,E as Qo,F as Ro,G as So,H as To,I as Uo,J as Vo,K as Wo,b as ho,c as io,d as jo,e as ko,f as lo,g as no,h as qo,i as so,j as uo,k as vo,l as wo,m as yo,n as zo,o as Ao,p as Bo,q as Co,r as Do,s as Eo,t as Fo,u as Go,v as Ho,w as Io,x as Jo,y as Ko,z as Lo}from"./chunks/chunk-ZG7QX66E.js";import"./chunks/chunk-V62BHD5G.js";import{$ as go,A as M,B as N,C as O,D as P,E as Q,F as R,G as S,H as T,I as U,J as V,K as W,L as X,M as Y,N as Z,O as _,P as $,Q as oo,U as ro,V as eo,W as fo,X as mo,Y as po,Z as to,_ as xo,a as h,b as i,c as j,d as k,e as l,f as n,g as q,h as s,i as u,j as v,k as w,l as y,n as z,o as A,p as B,q as C,r as D,s as E,t as F,u as G,v as H,w as I,x as J,y as K,z as L}from"./chunks/chunk-Z2BYC6TP.js";import{a as o,b as r,c as e,d as f,e as m,f as p,g as t,h as x,i as a}from"./chunks/chunk-DXAZUJPA.js";import{a as b,b as c,c as d,d as g}from"./chunks/chunk-GLUWATL5.js";import"./chunks/chunk-KCENW4ME.js";import"./chunks/chunk-2Z6H32OC.js";import{f as ao,g as bo,h as co}from"./chunks/chunk-MJC26GOX.js";import"./chunks/chunk-TPOW52DO.js";import"./chunks/chunk-QUNRWDVO.js";import"./chunks/chunk-3A7HZJNE.js";import{a as Xo,b as Yo,c as Zo,d as _o,e as $o,f as or,g as rr,h as er,i as fr,j as mr,k as pr,l as tr,m as xr,n as ar,o as br,p as cr,q as dr,r as gr,s as hr,t as ir,u as jr}from"./chunks/chunk-EAPFMACH.js";import"./chunks/chunk-6FA3GG5B.js";import"./chunks/chunk-ALZRXBEC.js";import"./chunks/chunk-MTJNKRXL.js";import"./chunks/chunk-HZP5U2AA.js";import"./chunks/chunk-ES2ISFJC.js";import"./chunks/chunk-H7IWJN7L.js";import"./chunks/chunk-FTQLQJQV.js";export{fo as DEFAULT_CACHE_TTL_MS,yo as DEFAULT_LOCAL_PROFILE,c as DEFAULT_OPENPOND_API_BASE_URL,g as DEFAULT_OPENPOND_CHAT_API_BASE_URL,d as DEFAULT_OPENPOND_OPCHAT_API_BASE_URL,b as DEFAULT_OPENPOND_WEB_BASE_URL,zo as DEFAULT_PROFILE_AGENT,Zo as OPENPOND_MANIFEST_FILE_NAME,ho as OpenPondProfileSetupRequiredError,bo as OpenPondSandboxClient,wo as PROFILE_MANIFEST,vo as PROFILE_REPO_MANIFEST,go as SANDBOX_RUNTIME_PROFILE_IDS,_o as SANDBOX_TEMPLATE_BUILD_PLAN_FILE_NAME,$o as SANDBOX_TEMPLATE_BUILD_PLAN_KIND,Yo as SANDBOX_TEMPLATE_PREVIEW_PORT_MAX,Xo as SANDBOX_TEMPLATE_PREVIEW_PORT_MIN,or as SandboxTemplateManifestSchema,rr as SandboxTemplateValidationDiagnosticSchema,h as apiFetch,jo as assertOpenPondProfileActionReady,io as buildOpenPondProfileSetupGate,Z as checkOpenPondApiHealth,lo as collectProfileSourceUploadEntries,Uo as commitActiveProfileChanges,i as commitFiles,Nr as computeAtr,Lr as computeBollinger,Ir as computeEma,Hr as computeEmaSeries,Kr as computeMaCross,Jr as computeMacd,Mr as computePriceChange,Er as computeRsi,Gr as computeSma,Fr as computeSmaSeries,Or as consumeAgentCreateStream,lr as consumeStream,V as createAgentFromPrompt,Pr as createClient,z as createHeadlessApps,w as createLocalProject,co as createOpenPondSandboxClient,y as createRepo,Co as defaultLocalProfileRepoPath,tr as defineSandboxTemplate,Q as deleteOrArchiveSchedule,j as deployApp,C as deployLatestTemplate,Do as emptyProfileState,eo as executeHostedTool,oo as executeUserTool,F as fetchToolManifest,ko as formatOpenPondProfileSetupRequirement,pr as formatSandboxTemplateDiagnostics,nr as formatStreamItem,E as getAppEnvironment,U as getAppExecutionTimeline,X as getAppRuntimeSummary,mo as getCachedApps,to as getCachedTools,o as getConfigPath,u as getDeploymentDetail,n as getDeploymentLogs,q as getDeploymentStatus,s as getLatestDeploymentForApp,vr as getOpChatModel,zr as getOpChatProvider,Y as getOpenPondAccount,K as getOpenToolRecipe,L as getOpenToolRules,T as getScheduleExecutionLog,A as getTemplateStatus,W as getUserPerformance,qo as hostedPublishStatusFromPayload,uo as hostedRunStatusFromRunSummary,so as hostedRunSummaryFromPayload,no as hostedSourceCheckStatusFromPayload,Eo as initLocalProfileRepo,Io as installAgentPackageIntoActiveProfile,H as listAppSchedules,v as listApps,m as listConfiguredProfiles,S as listDeploymentScheduleExecutionLogs,wr as listHostedModels,Ar as listHostedProviders,ur as listOpChatModels,yr as listOpChatProviders,I as listOpenToolRecipes,R as listScheduleExecutionLogs,B as listTemplateBranches,G as listUserTools,f as loadConfig,e as loadGlobalConfig,Fo as loadLocalProfileRepo,Lo as loadOpenPondProfileLibrary,Jo as loadOpenPondProfileState,Mo as loadOpenPondProfileStateForRef,Po as loadOpenPondProfileStateFromSource,Bo as mergeActiveLocalProfileConfig,Ao as mergeProfileRepoManifestEntry,kr as normalizeDataFrames,ao as normalizeSandboxApiUrl,Ko as openPondProfileRef,mr as parseSandboxTemplateYaml,$ as postAgentDigest,Wo as prepareAgentSdkRuntimePackage,k as promotePreviewToProduction,Go as registerLocalProfileRepo,Oo as removeOpenPondProfile,Ho as renameActiveProfileAgent,Qo as requireActiveLocalProfile,sr as resolveHostedChatApiBaseUrl,qr as resolveOpChatApiBaseUrl,ro as resolveWorkerBaseUrl,So as runAgentSdkProjectCommand,_ as runAssistantMode,Dr as runOpChatSmoke,To as runProfileCheck,Ro as runProfileSdkCommand,P as runScheduleNow,gr as sandboxTemplateBuildMetadata,hr as sandboxTemplateBuildPlan,ar as sandboxTemplateDurableVolume,dr as sandboxTemplateExecutableEntries,cr as sandboxTemplateFileInput,jr as sandboxTemplateJsonSchema,br as sandboxTemplatePreviewPort,xr as sandboxTemplateResources,ir as sandboxTemplateScaffoldFiles,x as saveConfig,a as saveGlobalConfig,t as saveProfileApiKey,Vo as saveProfilePushStatus,J as searchOpenToolRecipes,No as selectOpenPondProfile,Br as sendHostedChatTurn,p as setActiveProfile,po as setCachedApps,xo as setCachedTools,l as startAppLifecycle,M as startAppSchedules,N as stopAppSchedules,O as stopCurrentAppSchedules,Cr as streamHostedChatTurn,D as updateAppEnvironment,r as updateGlobalConfig,fr as validateSandboxTemplateManifest,er as validateSandboxTemplateYaml};
2
+ import{a as Fr,b as Gr,c as Hr,d as Ir,e as Jr,f as Kr,g as Lr,h as Mr,i as Nr,j as Or,k as Pr,l as Qr}from"./chunks/chunk-KIGN4FI6.js";import{a as sr,b as ur,c as vr,d as wr,e as yr,f as zr,g as Ar,h as Br,i as Cr,j as Dr,k as Er}from"./chunks/chunk-JEVA7YQL.js";import{a as lr,b as nr,c as qr}from"./chunks/chunk-22UARBPW.js";import"./chunks/chunk-X37KMV27.js";import{A as Mo,B as No,C as Oo,D as Po,E as Qo,F as Ro,G as So,H as To,I as Uo,J as Vo,K as Wo,L as Xo,b as ho,c as io,d as jo,e as ko,f as lo,g as no,h as qo,i as so,j as uo,k as vo,l as wo,m as yo,n as zo,o as Ao,p as Bo,q as Co,r as Do,s as Eo,t as Fo,u as Go,v as Ho,w as Io,x as Jo,y as Ko,z as Lo}from"./chunks/chunk-CR6CDOKS.js";import"./chunks/chunk-V62BHD5G.js";import"./chunks/chunk-OGPHXXCD.js";import{$ as go,A as M,B as N,C as O,D as P,E as Q,F as R,G as S,H as T,I as U,J as V,K as W,L as X,M as Y,N as Z,O as _,P as $,Q as oo,U as ro,V as eo,W as fo,X as mo,Y as po,Z as to,_ as xo,a as h,b as i,c as j,d as k,e as l,f as n,g as q,h as s,i as u,j as v,k as w,l as y,n as z,o as A,p as B,q as C,r as D,s as E,t as F,u as G,v as H,w as I,x as J,y as K,z as L}from"./chunks/chunk-Z2BYC6TP.js";import"./chunks/chunk-ARJUNUH6.js";import{a as o,b as r,c as e,d as f,e as m,f as p,g as t,h as x,i as a}from"./chunks/chunk-DXAZUJPA.js";import{a as b,b as c,c as d,d as g}from"./chunks/chunk-GLUWATL5.js";import"./chunks/chunk-3QC2DDQ5.js";import{f as ao,g as bo,h as co}from"./chunks/chunk-Z3D4C7BG.js";import"./chunks/chunk-LNEOLOK2.js";import"./chunks/chunk-Z6ZR5O3J.js";import"./chunks/chunk-3A7HZJNE.js";import{a as Yo,b as Zo,c as _o,d as $o,e as or,f as rr,g as er,h as fr,i as mr,j as pr,k as tr,l as xr,m as ar,n as br,o as cr,p as dr,q as gr,r as hr,s as ir,t as jr,u as kr}from"./chunks/chunk-EAPFMACH.js";import"./chunks/chunk-6FA3GG5B.js";import"./chunks/chunk-ALZRXBEC.js";import"./chunks/chunk-MTJNKRXL.js";import"./chunks/chunk-HZP5U2AA.js";import"./chunks/chunk-ES2ISFJC.js";import"./chunks/chunk-H7IWJN7L.js";import"./chunks/chunk-FTQLQJQV.js";export{fo as DEFAULT_CACHE_TTL_MS,yo as DEFAULT_LOCAL_PROFILE,c as DEFAULT_OPENPOND_API_BASE_URL,g as DEFAULT_OPENPOND_CHAT_API_BASE_URL,d as DEFAULT_OPENPOND_OPCHAT_API_BASE_URL,b as DEFAULT_OPENPOND_WEB_BASE_URL,zo as DEFAULT_PROFILE_AGENT,_o as OPENPOND_MANIFEST_FILE_NAME,ho as OpenPondProfileSetupRequiredError,bo as OpenPondSandboxClient,wo as PROFILE_MANIFEST,vo as PROFILE_REPO_MANIFEST,go as SANDBOX_RUNTIME_PROFILE_IDS,$o as SANDBOX_TEMPLATE_BUILD_PLAN_FILE_NAME,or as SANDBOX_TEMPLATE_BUILD_PLAN_KIND,Zo as SANDBOX_TEMPLATE_PREVIEW_PORT_MAX,Yo as SANDBOX_TEMPLATE_PREVIEW_PORT_MIN,rr as SandboxTemplateManifestSchema,er as SandboxTemplateValidationDiagnosticSchema,h as apiFetch,jo as assertOpenPondProfileActionReady,io as buildOpenPondProfileSetupGate,Z as checkOpenPondApiHealth,lo as collectProfileSourceUploadEntries,Vo as commitActiveProfileChanges,i as commitFiles,Or as computeAtr,Mr as computeBollinger,Jr as computeEma,Ir as computeEmaSeries,Lr as computeMaCross,Kr as computeMacd,Nr as computePriceChange,Fr as computeRsi,Hr as computeSma,Gr as computeSmaSeries,Pr as consumeAgentCreateStream,nr as consumeStream,V as createAgentFromPrompt,Qr as createClient,z as createHeadlessApps,w as createLocalProject,co as createOpenPondSandboxClient,y as createRepo,Co as defaultLocalProfileRepoPath,xr as defineSandboxTemplate,Q as deleteOrArchiveSchedule,j as deployApp,C as deployLatestTemplate,Do as emptyProfileState,eo as executeHostedTool,oo as executeUserTool,F as fetchToolManifest,ko as formatOpenPondProfileSetupRequirement,tr as formatSandboxTemplateDiagnostics,qr as formatStreamItem,E as getAppEnvironment,U as getAppExecutionTimeline,X as getAppRuntimeSummary,mo as getCachedApps,to as getCachedTools,o as getConfigPath,u as getDeploymentDetail,n as getDeploymentLogs,q as getDeploymentStatus,s as getLatestDeploymentForApp,wr as getOpChatModel,Ar as getOpChatProvider,Y as getOpenPondAccount,K as getOpenToolRecipe,L as getOpenToolRules,T as getScheduleExecutionLog,A as getTemplateStatus,W as getUserPerformance,qo as hostedPublishStatusFromPayload,uo as hostedRunStatusFromRunSummary,so as hostedRunSummaryFromPayload,no as hostedSourceCheckStatusFromPayload,Eo as initLocalProfileRepo,Po as inspectOpenPondProfileSource,Io as installAgentPackageIntoActiveProfile,H as listAppSchedules,v as listApps,m as listConfiguredProfiles,S as listDeploymentScheduleExecutionLogs,yr as listHostedModels,Br as listHostedProviders,vr as listOpChatModels,zr as listOpChatProviders,I as listOpenToolRecipes,R as listScheduleExecutionLogs,B as listTemplateBranches,G as listUserTools,f as loadConfig,e as loadGlobalConfig,Fo as loadLocalProfileRepo,Lo as loadOpenPondProfileLibrary,Jo as loadOpenPondProfileState,Mo as loadOpenPondProfileStateForRef,Qo as loadOpenPondProfileStateFromSource,Bo as mergeActiveLocalProfileConfig,Ao as mergeProfileRepoManifestEntry,lr as normalizeDataFrames,ao as normalizeSandboxApiUrl,Ko as openPondProfileRef,pr as parseSandboxTemplateYaml,$ as postAgentDigest,Xo as prepareAgentSdkRuntimePackage,k as promotePreviewToProduction,Go as registerLocalProfileRepo,Oo as removeOpenPondProfile,Ho as renameActiveProfileAgent,Ro as requireActiveLocalProfile,ur as resolveHostedChatApiBaseUrl,sr as resolveOpChatApiBaseUrl,ro as resolveWorkerBaseUrl,To as runAgentSdkProjectCommand,_ as runAssistantMode,Er as runOpChatSmoke,Uo as runProfileCheck,So as runProfileSdkCommand,P as runScheduleNow,hr as sandboxTemplateBuildMetadata,ir as sandboxTemplateBuildPlan,br as sandboxTemplateDurableVolume,gr as sandboxTemplateExecutableEntries,dr as sandboxTemplateFileInput,kr as sandboxTemplateJsonSchema,cr as sandboxTemplatePreviewPort,ar as sandboxTemplateResources,jr as sandboxTemplateScaffoldFiles,x as saveConfig,a as saveGlobalConfig,t as saveProfileApiKey,Wo as saveProfilePushStatus,J as searchOpenToolRecipes,No as selectOpenPondProfile,Cr as sendHostedChatTurn,p as setActiveProfile,po as setCachedApps,xo as setCachedTools,l as startAppLifecycle,M as startAppSchedules,N as stopAppSchedules,O as stopCurrentAppSchedules,Dr as streamHostedChatTurn,D as updateAppEnvironment,r as updateGlobalConfig,mr as validateSandboxTemplateManifest,fr as validateSandboxTemplateYaml};
@@ -87,6 +87,8 @@ export declare function loadOpenPondProfileLibrary(): Promise<OpenPondProfileLib
87
87
  export declare function loadOpenPondProfileStateForRef(ref: OpenPondProfileRef | null | undefined): Promise<OpenPondProfileState>;
88
88
  export declare function selectOpenPondProfile(ref: OpenPondProfileRef): Promise<OpenPondProfileState>;
89
89
  export declare function removeOpenPondProfile(ref: OpenPondProfileRef): Promise<OpenPondProfileLibrary>;
90
+ /** Inspect an explicit server-owned source tree without selecting or registering it. */
91
+ export declare function inspectOpenPondProfileSource(repoPath: string, profile: string): Promise<OpenPondProfileState>;
90
92
  /** Inspect an explicitly authorized source checkout without changing the
91
93
  * device's selected Profile or its personal configuration. */
92
94
  export declare function loadOpenPondProfileStateFromSource(input: {