openpond 0.2.54 → 0.2.55

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/dist/app-server.d.ts +1513 -99
  2. package/dist/app-server.js +1 -1
  3. package/dist/chunks/actions-command-WTFZA7LF.js +2 -0
  4. package/dist/chunks/{app-layer-I7MZYVLL.js → app-layer-Y2UERCPY.js} +1 -1
  5. package/dist/chunks/app-server-runtime-2RM3N4I6.js +2 -0
  6. package/dist/chunks/apps-KDNWYO3G.js +2 -0
  7. package/dist/chunks/chunk-2DFR7PJ4.js +2460 -0
  8. package/dist/chunks/chunk-4CRM2ADK.js +2 -0
  9. package/dist/chunks/{chunk-7ZG3IT7C.js → chunk-4WEUCGJ3.js} +6 -6
  10. package/dist/chunks/chunk-55G6B54U.js +6 -0
  11. package/dist/chunks/chunk-73G5UYBB.js +12 -0
  12. package/dist/chunks/{chunk-DALJMSJG.js → chunk-ARQEJOEK.js} +24 -24
  13. package/dist/chunks/chunk-B7QDZPNX.js +2 -0
  14. package/dist/chunks/chunk-BFKYRQMA.js +2 -0
  15. package/dist/chunks/{chunk-AH22RHPS.js → chunk-BQAF5P7K.js} +2 -2
  16. package/dist/chunks/{chunk-YJ4PNAST.js → chunk-BTI4N7YO.js} +1 -1
  17. package/dist/chunks/chunk-C6D4WAYN.js +6 -0
  18. package/dist/chunks/chunk-CGBI2VYJ.js +2 -0
  19. package/dist/chunks/chunk-DLVPSCTB.js +2 -0
  20. package/dist/chunks/{chunk-UJ5EFSEC.js → chunk-G6JMQGX7.js} +1 -1
  21. package/dist/chunks/chunk-GGIG3XU7.js +3 -0
  22. package/dist/chunks/chunk-IODUCRBA.js +58 -0
  23. package/dist/chunks/chunk-JIMU3KDA.js +24 -0
  24. package/dist/chunks/chunk-JUJSA7KI.js +22 -0
  25. package/dist/chunks/chunk-K5SBVO3B.js +195 -0
  26. package/dist/chunks/chunk-KD3QVRIJ.js +21 -0
  27. package/dist/chunks/chunk-KGNCKIFP.js +3 -0
  28. package/dist/chunks/chunk-L4235TRQ.js +140 -0
  29. package/dist/chunks/{chunk-N5QNXMIS.js → chunk-MH3LHSGX.js} +1 -1
  30. package/dist/chunks/chunk-MVF3F5QS.js +2 -0
  31. package/dist/chunks/{chunk-N3DEA6PG.js → chunk-NNIRIUSY.js} +1 -1
  32. package/dist/chunks/{chunk-WITSXYEW.js → chunk-NOTXPD2T.js} +1 -1
  33. package/dist/chunks/{chunk-T5LE6R5S.js → chunk-OSIO7PLX.js} +1 -1
  34. package/dist/chunks/chunk-OULAKUIN.js +2 -0
  35. package/dist/chunks/chunk-OWNLDB2O.js +2 -0
  36. package/dist/chunks/{chunk-NAZ26IZL.js → chunk-Q7AXHFZV.js} +1 -1
  37. package/dist/chunks/chunk-QDHMP5FS.js +2 -0
  38. package/dist/chunks/chunk-QKD5OMDI.js +2 -0
  39. package/dist/chunks/{chunk-YD55Z5H3.js → chunk-QRAKXZOC.js} +10 -10
  40. package/dist/chunks/{chunk-JDLAHVAJ.js → chunk-R27YGT77.js} +1 -1
  41. package/dist/chunks/chunk-R2BSIRYL.js +3 -0
  42. package/dist/chunks/chunk-SHQOIROR.js +42 -0
  43. package/dist/chunks/chunk-STDMBJOQ.js +9 -0
  44. package/dist/chunks/chunk-T4QGDQHP.js +4 -0
  45. package/dist/chunks/{chunk-R3XFY7VL.js → chunk-TERVLCRG.js} +1 -1
  46. package/dist/chunks/{chunk-PA7XP42P.js → chunk-U2YMBCX7.js} +1 -1
  47. package/dist/chunks/{chunk-GXSTZBM6.js → chunk-UA5DA5I2.js} +1 -1
  48. package/dist/chunks/chunk-VJEZPDBS.js +5 -0
  49. package/dist/chunks/chunk-WDFLCNRC.js +8 -0
  50. package/dist/chunks/chunk-WZYRAR7X.js +16 -0
  51. package/dist/chunks/chunk-YDT7L3VZ.js +24 -0
  52. package/dist/chunks/chunk-YR5ID2SS.js +2 -0
  53. package/dist/chunks/chunk-YUPBAWBJ.js +554 -0
  54. package/dist/chunks/cli-465VC2WP.js +2 -0
  55. package/dist/chunks/{configuration-command-MATM4XR5.js → configuration-command-LAAP2EXT.js} +1 -1
  56. package/dist/chunks/connected-evidence-XM626247.js +2 -0
  57. package/dist/chunks/{continual-PKK2BOTB.js → continual-TTGJ6YTR.js} +1 -1
  58. package/dist/chunks/core-commands-W7EK552V.js +2 -0
  59. package/dist/chunks/datasets-QJWYTTQL.js +2 -0
  60. package/dist/chunks/desktop-test-3B2D34NF.js +3 -0
  61. package/dist/chunks/dist-FAJX2UBW.js +2 -0
  62. package/dist/chunks/{dist-4HV2W6V4.js → dist-HUAE2KFZ.js} +1 -1
  63. package/dist/chunks/{chunk-6VF3Q6QJ.js → dist-SKYG5LZO.js} +2 -4
  64. package/dist/chunks/evaluation-coordination-2MONR4AX.js +2 -0
  65. package/dist/chunks/experiment-improvements-WVQ5FK46.js +2 -0
  66. package/dist/chunks/experiments-S5UQ32QB.js +2 -0
  67. package/dist/chunks/extension-DWMY6D2R.js +4 -0
  68. package/dist/chunks/{help-WLKSACLZ.js → help-A72QDRNG.js} +1 -1
  69. package/dist/chunks/hosted-experiment-improvement-2OWOQLHC.js +3 -0
  70. package/dist/chunks/hosted-harness-runtime-TGFMAV7W.js +2 -0
  71. package/dist/chunks/hosted-profile-candidate-WQSI6HZO.js +3 -0
  72. package/dist/chunks/hosted-profile-compiler-Z2A4TEA6.js +2 -0
  73. package/dist/chunks/hosted-profile-evaluation-control-FKGARUEE.js +2 -0
  74. package/dist/chunks/hosted-profile-evaluation-inspection-QOY2JKV4.js +3 -0
  75. package/dist/chunks/hosted-profile-evaluation-preparation-WVP6CALP.js +3 -0
  76. package/dist/chunks/human-review-TGHQKXFZ.js +2 -0
  77. package/dist/chunks/{import-V3HUGRHR.js → import-4UE5XNSG.js} +1 -1
  78. package/dist/chunks/javascript-isolate-process-source-ZPQKKLR4.js +2 -0
  79. package/dist/chunks/javascript-verifier-worker-source-F3LSGPOY.js +2 -0
  80. package/dist/chunks/learning-R2XBMMEM.js +2 -0
  81. package/dist/chunks/opchat-WULL6CUP.js +3 -0
  82. package/dist/chunks/organizations-I37HISVX.js +2 -0
  83. package/dist/chunks/profile-NOZ6TVXL.js +3 -0
  84. package/dist/chunks/project-agent-T6XKC54C.js +2 -0
  85. package/dist/chunks/sandbox-command-STB47FRY.js +2 -0
  86. package/dist/chunks/{sandbox-template-BBGGPJMI.js → sandbox-template-LKGBDVJ4.js} +1 -1
  87. package/dist/chunks/sql-execution-process-source-B4HQM6ZV.js +2 -0
  88. package/dist/chunks/src-T3KWWCAH.js +322 -0
  89. package/dist/chunks/{src-CR6UZYTX.js → src-ZWJ5IO7A.js} +1 -1
  90. package/dist/chunks/{taskset-LUG3ZU6J.js → taskset-RNYDR4GS.js} +1 -1
  91. package/dist/chunks/{teams-bot-7I4BAUVO.js → teams-bot-H7XT23XB.js} +1 -1
  92. package/dist/chunks/{training-XHE6FVII.js → training-M6FAPRSJ.js} +1 -1
  93. package/dist/cli.js +1 -1
  94. package/dist/index.js +1 -1
  95. package/dist/web/assets/App-CLFfy_Av.js +154 -0
  96. package/dist/web/assets/App-CTlAPuCY.css +1 -0
  97. package/dist/web/assets/{AppDialog-BdusXgU0.js → AppDialog-CPHTPqrx.js} +1 -1
  98. package/dist/web/assets/{AppTerminalPanel-C4uRpnBz.js → AppTerminalPanel-BVj5Tj93.js} +2 -2
  99. package/dist/web/assets/AppsView-O69zEBY3.js +1 -0
  100. package/dist/web/assets/{BrowserSidebar-Bl7V6YO2.js → BrowserSidebar-Pr_Kpe8p.js} +1 -1
  101. package/dist/web/assets/{CartesianChart-BstFbsdn.js → CartesianChart-JPqo6YOf.js} +1 -1
  102. package/dist/web/assets/{CollaborationTabs-B8YAf0c1.js → CollaborationTabs-CAJcQFn2.js} +1 -1
  103. package/dist/web/assets/{CommandMenu-DZct7zUJ.js → CommandMenu-B-w53n9A.js} +1 -1
  104. package/dist/web/assets/{CommunityView-CR0-W-uG.js → CommunityView-DbZKK8_P.js} +1 -1
  105. package/dist/web/assets/{ComposerCreateImproveStrip-DR-Qo7b4.js → ComposerCreateImproveStrip-3_083PF4.js} +1 -1
  106. package/dist/web/assets/{GetStartedView-xqQoMMei.js → GetStartedView-D7JGm_6c.js} +1 -1
  107. package/dist/web/assets/HostedModelLearningReview-DwgMfZ7_.js +1 -0
  108. package/dist/web/assets/{HostedModelLearningSettings-De3i9wF4.js → HostedModelLearningSettings-JRfQadRl.js} +1 -1
  109. package/dist/web/assets/{LabModelVersionDetailPage-DAY1MmqP.js → LabModelVersionDetailPage-BUYflJY_.js} +1 -1
  110. package/dist/web/assets/{LabSkillSidebar-DLnIgnry.js → LabSkillSidebar-BBiqk7Rf.js} +1 -1
  111. package/dist/web/assets/LabsRoute-Ci6vUnSd.js +99 -0
  112. package/dist/web/assets/MainChatThread-BQK3oI2N.js +2 -0
  113. package/dist/web/assets/MainPane-D3ojiN-p.js +18 -0
  114. package/dist/web/assets/{MarkdownText-gJMuefaJ.js → MarkdownText-DOdOVFXL.js} +25 -25
  115. package/dist/web/assets/{NativeSkillSidebar-Dlxb8iOC.js → NativeSkillSidebar-CRI_ri8z.js} +1 -1
  116. package/dist/web/assets/{NewExperienceSwitcher-DM-cqJ-K.js → NewExperienceSwitcher-DhYtfE68.js} +1 -1
  117. package/dist/web/assets/{NewProjectDialog-Cu1q75gq.js → NewProjectDialog-D8sy1gOz.js} +1 -1
  118. package/dist/web/assets/{OutputsPage-DiXMkasl.js → OutputsPage-CbWgrhXA.js} +1 -1
  119. package/dist/web/assets/{ProjectsPage-DqiBHiCB.js → ProjectsPage-DLB67lyA.js} +1 -1
  120. package/dist/web/assets/RightChatPanelStack-ozSKnDyX.js +1 -0
  121. package/dist/web/assets/{RightSidebarHomePanel-CeSFJM5s.js → RightSidebarHomePanel-CKs3OwhD.js} +1 -1
  122. package/dist/web/assets/ScheduledWorkPage-Cafv_QnR.js +1 -0
  123. package/dist/web/assets/SettingsView-T1vYDPjh.js +5 -0
  124. package/dist/web/assets/{TeamChatView-DM0adMtj.js → TeamChatView-vIrmXOY_.js} +2 -2
  125. package/dist/web/assets/{TerminalOverlay-CFlH51DD.js → TerminalOverlay-CAmF__Dq.js} +1 -1
  126. package/dist/web/assets/{TrainingCreationPanel-CgIBVGha.js → TrainingCreationPanel-D75K0yk5.js} +1 -1
  127. package/dist/web/assets/{TrainingDraftPanel-Bbo3RRie.js → TrainingDraftPanel-D7XZePAk.js} +1 -1
  128. package/dist/web/assets/{UsageSettingsSection-CSRjJUSa.js → UsageSettingsSection-CYTmp7PG.js} +1 -1
  129. package/dist/web/assets/WorkSidebarPanel-CODMjVHY.js +1 -0
  130. package/dist/web/assets/WorkspaceDiffPanel-DQGoIjH9.js +14 -0
  131. package/dist/web/assets/WorkspaceEnvironmentMenu-c1pHDskn.js +63 -0
  132. package/dist/web/assets/{WorkspaceGitDialogs-Dgmg-6XG.js → WorkspaceGitDialogs-DrVtapQQ.js} +1 -1
  133. package/dist/web/assets/{WorkspaceMonacoEditor-BR4qxMgU.js → WorkspaceMonacoEditor-BCKzvSj2.js} +3 -3
  134. package/dist/web/assets/arrow-up-right-CP4hZdrJ.js +1 -0
  135. package/dist/web/assets/chunk-NOJECMB7-Bhcms-w5.js +1 -0
  136. package/dist/web/assets/{clipboard-BZzZ82Bk.js → clipboard-BgrXorn-.js} +1 -1
  137. package/dist/web/assets/{cloud-upload-CJPYPVl8.js → cloud-upload-B_zYztb6.js} +1 -1
  138. package/dist/web/assets/{cssMode-WC4Rg1l-.js → cssMode-DanjGgA8.js} +1 -1
  139. package/dist/web/assets/{folder-open-sLZJxLQy.js → folder-open-CdVKbtGq.js} +1 -1
  140. package/dist/web/assets/folder-plus-Cc5KElB6.js +1 -0
  141. package/dist/web/assets/{git-commit-horizontal-Cotm7KEC.js → git-commit-horizontal-CjGIIgRi.js} +1 -1
  142. package/dist/web/assets/{htmlMode-C6oZGeaB.js → htmlMode-DRGDF_UL.js} +1 -1
  143. package/dist/web/assets/index-B5re-RJy.css +1 -0
  144. package/dist/web/assets/{index-BxWTVKtn.js → index-BE-wXZ5R.js} +2 -2
  145. package/dist/web/assets/info-BLj0RvhA.js +1 -0
  146. package/dist/web/assets/{jsonMode-BET4LQIn.js → jsonMode-CCu0j2GD.js} +1 -1
  147. package/dist/web/assets/{lspLanguageFeatures-BPxA_-Kg.js → lspLanguageFeatures-s_Lhm7P6.js} +1 -1
  148. package/dist/web/assets/minimize-2-Cyg_zD9z.js +1 -0
  149. package/dist/web/assets/{monaco.contribution-DXzyQfVi.js → monaco.contribution-CAzXvYkn.js} +2 -2
  150. package/dist/web/assets/{monaco.contribution-DFzEyaHi.js → monaco.contribution-CY7mRgOB.js} +2 -2
  151. package/dist/web/assets/{monaco.contribution-7AUuf2NS.js → monaco.contribution-aUeLcBEg.js} +2 -2
  152. package/dist/web/assets/{monaco.contribution-BH6kkO4b.js → monaco.contribution-mUPNK9ra.js} +2 -2
  153. package/dist/web/assets/monitor-DZvOs_wC.js +1 -0
  154. package/dist/web/assets/play-BJPzemuY.js +1 -0
  155. package/dist/web/assets/{python-PzBkTjWx.js → python-B_qnnVaG.js} +1 -1
  156. package/dist/web/assets/{save-DpezrtH2.js → save-BDy9tA3E.js} +1 -1
  157. package/dist/web/assets/square-Cb2c5td4.js +1 -0
  158. package/dist/web/assets/{toggleHighContrast-Cto-fOXm.js → toggleHighContrast-MhO1JLyR.js} +1 -1
  159. package/dist/web/assets/{tsMode-BYA4LNc6.js → tsMode-DfBXJb9V.js} +1 -1
  160. package/dist/web/assets/{upload-C5YFNgtS.js → upload-D56kThRh.js} +1 -1
  161. package/dist/web/assets/{useLocalAgentSchedules-CnyTsqlf.js → useLocalAgentSchedules-DMnGfswi.js} +1 -1
  162. package/dist/web/assets/useProviderSettings-Bv5B9eNk.js +5 -0
  163. package/dist/web/assets/{useSessionTurnCache-DICuJSJW.js → useSessionTurnCache-ClAY8gze.js} +1 -1
  164. package/dist/web/assets/{wifi-off-nzHj7JXp.js → wifi-off-C9lWJmVm.js} +1 -1
  165. package/dist/web/assets/{workers-Dboaw6f_.js → workers-BYzrH8by.js} +1 -1
  166. package/dist/web/assets/{yaml-uuY5JmO8.js → yaml-D3T8UkT3.js} +1 -1
  167. package/dist/web/index.html +2 -2
  168. package/package.json +3 -3
  169. package/dist/chunks/actions-command-DSO6YOEE.js +0 -2
  170. package/dist/chunks/app-server-runtime-7AXV6JZI.js +0 -2
  171. package/dist/chunks/apps-TM74FFQB.js +0 -2
  172. package/dist/chunks/chunk-2JO2KWT3.js +0 -5
  173. package/dist/chunks/chunk-2SPZYBDN.js +0 -16
  174. package/dist/chunks/chunk-37DXASQL.js +0 -191
  175. package/dist/chunks/chunk-4EEH7MEC.js +0 -2
  176. package/dist/chunks/chunk-4SHKI3BH.js +0 -2
  177. package/dist/chunks/chunk-4TZHH5FC.js +0 -2409
  178. package/dist/chunks/chunk-5TNDPNS3.js +0 -2
  179. package/dist/chunks/chunk-6JAN4RMN.js +0 -42
  180. package/dist/chunks/chunk-7QEE4PBI.js +0 -8
  181. package/dist/chunks/chunk-BX4J2VDU.js +0 -2
  182. package/dist/chunks/chunk-EMKZVP7Z.js +0 -2
  183. package/dist/chunks/chunk-FPUUZQUP.js +0 -6
  184. package/dist/chunks/chunk-GCOUYYHG.js +0 -5
  185. package/dist/chunks/chunk-GS2NKNKG.js +0 -4
  186. package/dist/chunks/chunk-H2VT22JK.js +0 -2
  187. package/dist/chunks/chunk-HA7EFTPF.js +0 -23
  188. package/dist/chunks/chunk-IKWDL3RB.js +0 -17
  189. package/dist/chunks/chunk-L3KS6MOV.js +0 -2
  190. package/dist/chunks/chunk-NHFGEVVH.js +0 -518
  191. package/dist/chunks/chunk-NNF6KCHD.js +0 -3
  192. package/dist/chunks/chunk-PJM2G7SG.js +0 -21
  193. package/dist/chunks/chunk-PQHTZ5CP.js +0 -2
  194. package/dist/chunks/chunk-PYABBF53.js +0 -53
  195. package/dist/chunks/chunk-QRWPEW3Z.js +0 -24
  196. package/dist/chunks/chunk-QXVIIM4T.js +0 -2
  197. package/dist/chunks/chunk-SDEDAHV6.js +0 -160
  198. package/dist/chunks/chunk-TGIB24K4.js +0 -22
  199. package/dist/chunks/chunk-UE3DMPGM.js +0 -3
  200. package/dist/chunks/chunk-USKE34VR.js +0 -9
  201. package/dist/chunks/chunk-WV2APYWG.js +0 -2
  202. package/dist/chunks/chunk-XM26DGML.js +0 -3
  203. package/dist/chunks/chunk-YIB3J4RC.js +0 -2
  204. package/dist/chunks/chunk-YL6VFJ4P.js +0 -2
  205. package/dist/chunks/chunk-Z3D4C7BG.js +0 -12
  206. package/dist/chunks/cli-JVB345H2.js +0 -2
  207. package/dist/chunks/connected-evidence-YDPGNHLP.js +0 -2
  208. package/dist/chunks/core-commands-MTV4EKXY.js +0 -2
  209. package/dist/chunks/datasets-CP3IT47T.js +0 -2
  210. package/dist/chunks/desktop-test-IAZC5MAH.js +0 -3
  211. package/dist/chunks/dist-SAABJU5F.js +0 -2
  212. package/dist/chunks/evaluation-coordination-EPHLZXYM.js +0 -2
  213. package/dist/chunks/experiment-improvements-6JTOPA74.js +0 -2
  214. package/dist/chunks/experiments-XHPFGECH.js +0 -2
  215. package/dist/chunks/extension-GX7DLW2X.js +0 -4
  216. package/dist/chunks/hosted-experiment-improvement-HAB3UE6A.js +0 -3
  217. package/dist/chunks/hosted-harness-runtime-YM23QNDK.js +0 -2
  218. package/dist/chunks/hosted-profile-candidate-EOBGKQAS.js +0 -3
  219. package/dist/chunks/hosted-profile-compiler-SCVJI2CP.js +0 -2
  220. package/dist/chunks/hosted-profile-evaluation-control-RJ6XJZCS.js +0 -2
  221. package/dist/chunks/hosted-profile-evaluation-inspection-OC4XNGL2.js +0 -3
  222. package/dist/chunks/hosted-profile-evaluation-preparation-ZD4FM3FD.js +0 -3
  223. package/dist/chunks/human-review-AAVMISBF.js +0 -2
  224. package/dist/chunks/learning-FNBEIAY6.js +0 -2
  225. package/dist/chunks/opchat-QK43DXTY.js +0 -3
  226. package/dist/chunks/organizations-SRPAWKC7.js +0 -2
  227. package/dist/chunks/profile-C6CQNVYE.js +0 -3
  228. package/dist/chunks/project-agent-GZV5HNYI.js +0 -2
  229. package/dist/chunks/sandbox-command-4TJXQTKT.js +0 -2
  230. package/dist/chunks/src-NE6R4XC6.js +0 -329
  231. package/dist/web/assets/App-CO2F717V.css +0 -1
  232. package/dist/web/assets/App-CuhaCsfb.js +0 -235
  233. package/dist/web/assets/AppsView-BS1czXUP.js +0 -1
  234. package/dist/web/assets/HostedModelLearningReview-CHxxf_Lu.js +0 -1
  235. package/dist/web/assets/LabsRoute-CXJRJMhr.js +0 -99
  236. package/dist/web/assets/MainChatThread-BwAla81W.js +0 -2
  237. package/dist/web/assets/MainPane-CakOBCHw.js +0 -19
  238. package/dist/web/assets/RightChatPanelStack-VaOOmxwd.js +0 -1
  239. package/dist/web/assets/ScheduledWorkPage-D1jRQxFs.js +0 -1
  240. package/dist/web/assets/SettingsView-RA9OXgcu.js +0 -5
  241. package/dist/web/assets/WorkSidebarPanel-DwlEMEoG.js +0 -1
  242. package/dist/web/assets/WorkspaceDiffPanel-pGVezNMw.js +0 -14
  243. package/dist/web/assets/WorkspaceEnvironmentMenu-Byjngd9V.js +0 -32
  244. package/dist/web/assets/arrow-up-right-H0pvnH2s.js +0 -1
  245. package/dist/web/assets/chunk-UHVJOMWN-BqXRe639.js +0 -1
  246. package/dist/web/assets/folder-plus-C84wrpt_.js +0 -1
  247. package/dist/web/assets/index-dSmk3FLJ.css +0 -1
  248. package/dist/web/assets/info-Dc81lEfw.js +0 -1
  249. package/dist/web/assets/minimize-2-Bs7MVN3C.js +0 -1
  250. package/dist/web/assets/monitor-DXL019Wf.js +0 -1
  251. package/dist/web/assets/play-CXkxUZeU.js +0 -1
  252. package/dist/web/assets/square-oy7f5Ce6.js +0 -1
  253. package/dist/web/assets/useProviderSettings-B_KeQjE5.js +0 -5
  254. /package/dist/chunks/{chunk-OGPHXXCD.js → chunk-BT5YNE5U.js} +0 -0
@@ -14639,6 +14639,170 @@ type TaskAttemptArtifact = z.infer<typeof TaskAttemptArtifactSchema>;
14639
14639
  type GradeResult = z.infer<typeof GradeResultSchema>;
14640
14640
  type GraderAuditReport = z.infer<typeof GraderAuditReportSchema>;
14641
14641
  type TaskCreationSnapshot = z.infer<typeof TaskCreationSnapshotSchema>;
14642
+ declare const PonderDesktopAttachmentSchema: z.ZodObject<{
14643
+ scope: z.ZodObject<{
14644
+ installationId: z.ZodString;
14645
+ profileId: z.ZodString;
14646
+ ownerUserId: z.ZodString;
14647
+ teamId: z.ZodString;
14648
+ bindingId: z.ZodString;
14649
+ bindingRevision: z.ZodNumber;
14650
+ }, z.core.$strict>;
14651
+ publicKey: z.ZodString;
14652
+ runtimeId: z.ZodString;
14653
+ epoch: z.ZodString;
14654
+ authorizationRevision: z.ZodNumber;
14655
+ reauthorizationGeneration: z.ZodDefault<z.ZodNumber>;
14656
+ state: z.ZodEnum<{
14657
+ revoked: "revoked";
14658
+ attached: "attached";
14659
+ }>;
14660
+ leaseExpiresAt: z.ZodString;
14661
+ catalog: z.ZodNullable<z.ZodObject<{
14662
+ revision: z.ZodString;
14663
+ capturedAt: z.ZodString;
14664
+ targetCount: z.ZodNumber;
14665
+ pageCount: z.ZodNumber;
14666
+ }, z.core.$strict>>;
14667
+ }, z.core.$strict>;
14668
+ type PonderDesktopAttachment = z.infer<typeof PonderDesktopAttachmentSchema>;
14669
+ declare const PonderDesktopOperationSchema: z.ZodObject<{
14670
+ id: z.ZodString;
14671
+ origin: z.ZodObject<{
14672
+ scope: z.ZodObject<{
14673
+ installationId: z.ZodString;
14674
+ profileId: z.ZodString;
14675
+ ownerUserId: z.ZodString;
14676
+ teamId: z.ZodString;
14677
+ bindingId: z.ZodString;
14678
+ bindingRevision: z.ZodNumber;
14679
+ }, z.core.$strict>;
14680
+ epoch: z.ZodString;
14681
+ originChatTurnId: z.ZodString;
14682
+ originToolCallId: z.ZodString;
14683
+ humanControlId: z.ZodOptional<z.ZodString>;
14684
+ authorizationRevision: z.ZodNumber;
14685
+ }, z.core.$strict>;
14686
+ payloadHash: z.ZodString;
14687
+ intent: z.ZodDiscriminatedUnion<[
14688
+ z.ZodObject<{
14689
+ action: z.ZodLiteral<"create">;
14690
+ prompt: z.ZodString;
14691
+ title: z.ZodString;
14692
+ targetId: z.ZodString;
14693
+ targetRevision: z.ZodString;
14694
+ }, z.core.$strict>,
14695
+ z.ZodObject<{
14696
+ action: z.ZodLiteral<"message">;
14697
+ prompt: z.ZodString;
14698
+ targetId: z.ZodString;
14699
+ targetRevision: z.ZodString;
14700
+ }, z.core.$strict>,
14701
+ z.ZodObject<{
14702
+ action: z.ZodLiteral<"steer">;
14703
+ prompt: z.ZodString;
14704
+ expectedTurnId: z.ZodString;
14705
+ targetId: z.ZodString;
14706
+ targetRevision: z.ZodString;
14707
+ }, z.core.$strict>,
14708
+ z.ZodObject<{
14709
+ action: z.ZodLiteral<"stop">;
14710
+ expectedTurnId: z.ZodString;
14711
+ targetId: z.ZodString;
14712
+ targetRevision: z.ZodString;
14713
+ }, z.core.$strict>,
14714
+ z.ZodObject<{
14715
+ action: z.ZodLiteral<"observe">;
14716
+ expectedTurnId: z.ZodString;
14717
+ targetId: z.ZodString;
14718
+ targetRevision: z.ZodString;
14719
+ }, z.core.$strict>,
14720
+ z.ZodObject<{
14721
+ action: z.ZodLiteral<"inspect">;
14722
+ expectedTurnId: z.ZodString;
14723
+ targetId: z.ZodString;
14724
+ targetRevision: z.ZodString;
14725
+ }, z.core.$strict>
14726
+ ], "action">;
14727
+ target: z.ZodObject<{
14728
+ id: z.ZodString;
14729
+ kind: z.ZodEnum<{
14730
+ starter: "starter";
14731
+ session: "session";
14732
+ }>;
14733
+ title: z.ZodString;
14734
+ providerId: z.ZodString;
14735
+ modelId: z.ZodNullable<z.ZodString>;
14736
+ experience: z.ZodEnum<{
14737
+ work: "work";
14738
+ chat: "chat";
14739
+ }>;
14740
+ workspaceId: z.ZodString;
14741
+ workspaceLabel: z.ZodString;
14742
+ profileSelectionId: z.ZodNullable<z.ZodString>;
14743
+ revision: z.ZodString;
14744
+ available: z.ZodBoolean;
14745
+ unavailableReason: z.ZodNullable<z.ZodString>;
14746
+ canMessage: z.ZodBoolean;
14747
+ canSteer: z.ZodBoolean;
14748
+ canStop: z.ZodBoolean;
14749
+ activeTurnId: z.ZodNullable<z.ZodString>;
14750
+ }, z.core.$strict>;
14751
+ state: z.ZodEnum<{
14752
+ completed: "completed";
14753
+ cancelled: "cancelled";
14754
+ failed: "failed";
14755
+ ready: "ready";
14756
+ dispatching: "dispatching";
14757
+ admitted: "admitted";
14758
+ expired: "expired";
14759
+ attention: "attention";
14760
+ }>;
14761
+ claimId: z.ZodNullable<z.ZodString>;
14762
+ claimedEpoch: z.ZodNullable<z.ZodString>;
14763
+ expiresAt: z.ZodString;
14764
+ admittedAt: z.ZodNullable<z.ZodString>;
14765
+ createdAt: z.ZodString;
14766
+ updatedAt: z.ZodString;
14767
+ receipt: z.ZodNullable<z.ZodObject<{
14768
+ sessionId: z.ZodString;
14769
+ sessionTitle: z.ZodString;
14770
+ inputId: z.ZodNullable<z.ZodString>;
14771
+ turnId: z.ZodNullable<z.ZodString>;
14772
+ state: z.ZodString;
14773
+ }, z.core.$strict>>;
14774
+ error: z.ZodNullable<z.ZodString>;
14775
+ }, z.core.$strict>;
14776
+ type PonderDesktopOperation = z.infer<typeof PonderDesktopOperationSchema>;
14777
+ declare const PonderDesktopResultSchema: z.ZodObject<{
14778
+ operationId: z.ZodString;
14779
+ payloadHash: z.ZodString;
14780
+ sessionId: z.ZodString;
14781
+ sessionTitle: z.ZodString;
14782
+ inputId: z.ZodNullable<z.ZodString>;
14783
+ turnId: z.ZodString;
14784
+ completedAt: z.ZodString;
14785
+ outcome: z.ZodEnum<{
14786
+ completed: "completed";
14787
+ cancelled: "cancelled";
14788
+ failed: "failed";
14789
+ }>;
14790
+ body: z.ZodString;
14791
+ bodyTruncated: z.ZodBoolean;
14792
+ assistantEventIds: z.ZodArray<z.ZodString>;
14793
+ providerId: z.ZodString;
14794
+ modelId: z.ZodNullable<z.ZodString>;
14795
+ workspaceId: z.ZodString;
14796
+ outputs: z.ZodArray<z.ZodObject<{
14797
+ id: z.ZodString;
14798
+ title: z.ZodString;
14799
+ contentType: z.ZodString;
14800
+ sizeBytes: z.ZodNumber;
14801
+ sha256: z.ZodString;
14802
+ }, z.core.$strict>>;
14803
+ error: z.ZodNullable<z.ZodString>;
14804
+ }, z.core.$strict>;
14805
+ type PonderDesktopResult = z.infer<typeof PonderDesktopResultSchema>;
14642
14806
  declare const DatasetImportJobSchema: z.ZodObject<{
14643
14807
  schemaVersion: z.ZodLiteral<"openpond.datasetImportJob.v1">;
14644
14808
  id: z.ZodString;
@@ -19538,6 +19702,7 @@ declare const TaskInputSchema: z.ZodObject<{
19538
19702
  runtime: "runtime";
19539
19703
  user: "user";
19540
19704
  task: "task";
19705
+ ponder: "ponder";
19541
19706
  }>;
19542
19707
  kind: z.ZodEnum<{
19543
19708
  message: "message";
@@ -19625,6 +19790,7 @@ declare const TaskInboxSnapshotSchema: z.ZodObject<{
19625
19790
  runtime: "runtime";
19626
19791
  user: "user";
19627
19792
  task: "task";
19793
+ ponder: "ponder";
19628
19794
  }>;
19629
19795
  kind: z.ZodEnum<{
19630
19796
  message: "message";
@@ -20724,7 +20890,7 @@ interface TaskInboxRepository {
20724
20890
  taskWorkAreas(sessionId: string): Promise<string[]>;
20725
20891
  admitTaskInput(input: TaskInputAdmission): Promise<TaskInput>;
20726
20892
  admitTaskInputs(inputs: TaskInputAdmission[]): Promise<TaskInput[]>;
20727
- rejectTaskInput(id: string, error: string): Promise<void>;
20893
+ rejectTaskInput(id: string, error: string, executionTurnId?: string): Promise<void>;
20728
20894
  getTaskInput(id: string): Promise<TaskInput | null>;
20729
20895
  taskInputsForSession(sessionId: string, query?: {
20730
20896
  afterSequence?: number;
@@ -25414,6 +25580,15 @@ type ThreadDetailProjection = {
25414
25580
  pendingApprovalCount: number;
25415
25581
  updatedAt: string;
25416
25582
  };
25583
+ declare const PonderLocalOwnerSchema: z.ZodObject<{
25584
+ version: z.ZodLiteral<1>;
25585
+ installationId: z.ZodString;
25586
+ profileId: z.ZodString;
25587
+ ownerUserId: z.ZodString;
25588
+ teamId: z.ZodNullable<z.ZodString>;
25589
+ audience: z.ZodString;
25590
+ }, z.core.$strict>;
25591
+ type PonderLocalOwner = z.infer<typeof PonderLocalOwnerSchema>;
25417
25592
  interface OpenPondSqliteConnection {
25418
25593
  exec(sql: string): void;
25419
25594
  run(sql: string, params?: readonly unknown[]): void;
@@ -25421,6 +25596,41 @@ interface OpenPondSqliteConnection {
25421
25596
  get<T>(sql: string, params?: readonly unknown[]): T | null;
25422
25597
  close(): void;
25423
25598
  }
25599
+ declare const PonderProjectSharingInputSchema: z.ZodObject<{
25600
+ updatedAt: z.ZodString;
25601
+ project: z.ZodObject<{
25602
+ projectId: z.ZodString;
25603
+ name: z.ZodString;
25604
+ cwd: z.ZodString;
25605
+ sourceFolders: z.ZodArray<z.ZodObject<{
25606
+ path: z.ZodString;
25607
+ realpath: z.ZodString;
25608
+ }, z.core.$strict>>;
25609
+ configurationHash: z.ZodString;
25610
+ revision: z.ZodString;
25611
+ }, z.core.$strict>;
25612
+ owner: z.ZodObject<{
25613
+ version: z.ZodLiteral<1>;
25614
+ installationId: z.ZodString;
25615
+ profileId: z.ZodString;
25616
+ ownerUserId: z.ZodString;
25617
+ teamId: z.ZodNullable<z.ZodString>;
25618
+ audience: z.ZodString;
25619
+ }, z.core.$strict>;
25620
+ authority: z.ZodObject<{
25621
+ scope: z.ZodObject<{
25622
+ installationId: z.ZodString;
25623
+ profileId: z.ZodString;
25624
+ ownerUserId: z.ZodString;
25625
+ teamId: z.ZodString;
25626
+ bindingId: z.ZodString;
25627
+ bindingRevision: z.ZodNumber;
25628
+ }, z.core.$strict>;
25629
+ authorizationRevision: z.ZodNumber;
25630
+ }, z.core.$strict>;
25631
+ shared: z.ZodBoolean;
25632
+ }, z.core.$strict>;
25633
+ type PonderProjectSharingInput = z.infer<typeof PonderProjectSharingInputSchema>;
25424
25634
  type HumanLocalPublicationRef = {
25425
25635
  id: string;
25426
25636
  revision: number;
@@ -41912,105 +42122,1309 @@ declare class SqliteHumanReviewStore extends SqliteLocalExperimentStore {
41912
42122
  cases: LocalCaseRecord[];
41913
42123
  };
41914
42124
  }
41915
- declare class SqliteTaskInboxStore extends SqliteHumanReviewStore {
41916
- private inboxWrite;
41917
- recoverTaskInboxOwners(ownerId: string): Promise<Array<{
41918
- sessionId: string;
41919
- turnId: string;
41920
- }>>;
41921
- hasTaskCompletion(turnId: string): Promise<boolean>;
41922
- taskInboxSnapshot(sessionId: string): Promise<TaskInboxSnapshot>;
41923
- declareTaskWork(sessionId: string, turnId: string, ownerId: string, areas: string[]): Promise<void>;
41924
- taskWorkAreas(sessionId: string): Promise<string[]>;
41925
- admitTaskInput(input: TaskInputAdmission): Promise<TaskInput>;
41926
- admitTaskInputs(inputs: TaskInputAdmission[]): Promise<TaskInput[]>;
41927
- rejectTaskInput(id: string, error: string): Promise<void>;
41928
- getTaskInput(id: string): Promise<TaskInput | null>;
41929
- taskInputsForSession(sessionId: string, query?: {
41930
- afterSequence?: number;
41931
- pendingOnly?: boolean;
41932
- limit?: number;
41933
- }): Promise<TaskInput[]>;
41934
- mutateTaskInput(sessionId: string, inputId: string, change: TaskInputMutation): Promise<TaskInput>;
41935
- openTaskInboxTurn(sessionId: string, turnId: string, ownerId: string): Promise<void>;
41936
- renewTaskInboxTurn(sessionId: string, turnId: string, ownerId: string): Promise<void>;
41937
- pendingTaskInputs(sessionId: string, turnId: string): Promise<TaskInput[]>;
41938
- taskAssignmentInputs(turnId: string): Promise<TaskInput[]>;
41939
- pauseTaskInboxTurn(sessionId: string, turnId: string, ownerId: string): Promise<void>;
41940
- /** Manifest and inclusion receipts commit before provider dispatch. */
41941
- includeTaskInputs(sessionId: string, turnId: string, ownerId: string, requestId: string): Promise<TaskInput[]>;
41942
- settleTaskInputRequest(requestId: string, outcome: "resolved" | "failed" | "replaced"): Promise<void>;
41943
- /** Serializes the last empty-inbox check with admission. A stale steer cannot slip past it. */
41944
- sealTaskInboxTurn(sessionId: string, turnId: string, ownerId: string): Promise<boolean>;
41945
- sealNativeTaskInboxTurn(sessionId: string, turnId: string, ownerId: string): Promise<TaskInput[]>;
41946
- closeTaskInboxTurn(sessionId: string, turnId: string, ownerId: string, outcome: "completed" | "failed" | "interrupted"): Promise<void>;
41947
- taskInboxPaused(sessionId: string): Promise<boolean>;
41948
- /** Assign a queued input to a known turn before starting; retries cannot start it twice. */
41949
- reserveTaskFollowup(sessionId: string, turnId: string, ownerId: string): Promise<TaskInput | null>;
41950
- taskInboxWakeTargets(): Promise<string[]>;
41951
- createTaskWait(value: TaskWait): Promise<TaskWait>;
41952
- settleTaskWait(id: string, state: TaskWait["state"]): Promise<TaskWait>;
41953
- taskWaitsForSession(sessionId: string): Promise<TaskWait[]>;
41954
- /** Final child outcome and notification intent cannot be separated by a crash. */
41955
- commitSubagentCompletion(value: SubagentRun, turnId: string): Promise<void>;
41956
- pendingTaskCompletions(afterTurnId?: string): Promise<Array<{
41957
- turnId: string;
41958
- run: SubagentRun;
41959
- }>>;
41960
- settleTaskCompletion(turnId: string, inputId: string): Promise<void>;
41961
- }
41962
- type TurnHistoryPage = {
41963
- turns: Turn[];
41964
- nextBeforeSortIndex: number | null;
41965
- };
41966
- type RuntimeEventHistoryPage = {
41967
- entries: Array<{
41968
- sequence: number;
41969
- event: RuntimeEvent;
41970
- }>;
41971
- totalMatchingEvents: number;
41972
- remainingMatchingEvents: number;
41973
- };
41974
- interface RuntimeHistoryStorage {
41975
- getSession(sessionId: string): Promise<Session | null>;
41976
- turnPageForSession(input: {
41977
- sessionId: string;
41978
- beforeSortIndex?: number | null;
41979
- limit?: number;
41980
- }): Promise<TurnHistoryPage>;
41981
- runtimeEventPageRows(input: {
41982
- sessionId: string | null;
41983
- afterSequence: number;
41984
- beforeSequence: number | null;
41985
- limit: number;
41986
- }): Promise<RuntimeEventHistoryPage>;
41987
- }
41988
- type RuntimeEventPageQuery = {
41989
- sessionId: string | null;
41990
- afterSequence: number;
41991
- beforeSequence: number | null;
41992
- limit: number;
41993
- };
41994
- type RuntimeEventPageRows = {
41995
- entries: Array<{
41996
- sequence: number;
41997
- event: RuntimeEvent;
41998
- }>;
41999
- totalMatchingEvents: number;
42000
- remainingMatchingEvents: number;
42125
+ declare function commitPonderDesktopResult(db: OpenPondSqliteConnection, value: PonderDesktopResult): {
42126
+ operationId: string;
42127
+ payloadHash: string;
42128
+ sessionId: string;
42129
+ sessionTitle: string;
42130
+ inputId: string | null;
42131
+ turnId: string;
42132
+ completedAt: string;
42133
+ outcome: "completed" | "cancelled" | "failed";
42134
+ body: string;
42135
+ bodyTruncated: boolean;
42136
+ assistantEventIds: string[];
42137
+ providerId: string;
42138
+ modelId: string | null;
42139
+ workspaceId: string;
42140
+ outputs: {
42141
+ id: string;
42142
+ title: string;
42143
+ contentType: string;
42144
+ sizeBytes: number;
42145
+ sha256: string;
42146
+ }[];
42147
+ error: string | null;
42001
42148
  };
42002
- type RuntimeEventRecentWindow = {
42003
- entries: Array<{
42004
- sequence: number;
42005
- event: RuntimeEvent;
42149
+ declare class SqliteTaskInboxStore extends SqliteHumanReviewStore {
42150
+ admitPonderDesktopInspection(operation: PonderDesktopOperation): Promise<{
42151
+ operation: {
42152
+ id: string;
42153
+ origin: {
42154
+ scope: {
42155
+ installationId: string;
42156
+ profileId: string;
42157
+ ownerUserId: string;
42158
+ teamId: string;
42159
+ bindingId: string;
42160
+ bindingRevision: number;
42161
+ };
42162
+ epoch: string;
42163
+ originChatTurnId: string;
42164
+ originToolCallId: string;
42165
+ authorizationRevision: number;
42166
+ humanControlId?: string | undefined;
42167
+ };
42168
+ payloadHash: string;
42169
+ intent: {
42170
+ action: "create";
42171
+ prompt: string;
42172
+ title: string;
42173
+ targetId: string;
42174
+ targetRevision: string;
42175
+ } | {
42176
+ action: "message";
42177
+ prompt: string;
42178
+ targetId: string;
42179
+ targetRevision: string;
42180
+ } | {
42181
+ action: "steer";
42182
+ prompt: string;
42183
+ expectedTurnId: string;
42184
+ targetId: string;
42185
+ targetRevision: string;
42186
+ } | {
42187
+ action: "stop";
42188
+ expectedTurnId: string;
42189
+ targetId: string;
42190
+ targetRevision: string;
42191
+ } | {
42192
+ action: "observe";
42193
+ expectedTurnId: string;
42194
+ targetId: string;
42195
+ targetRevision: string;
42196
+ } | {
42197
+ action: "inspect";
42198
+ expectedTurnId: string;
42199
+ targetId: string;
42200
+ targetRevision: string;
42201
+ };
42202
+ target: {
42203
+ id: string;
42204
+ kind: "starter" | "session";
42205
+ title: string;
42206
+ providerId: string;
42207
+ modelId: string | null;
42208
+ experience: "work" | "chat";
42209
+ workspaceId: string;
42210
+ workspaceLabel: string;
42211
+ profileSelectionId: string | null;
42212
+ revision: string;
42213
+ available: boolean;
42214
+ unavailableReason: string | null;
42215
+ canMessage: boolean;
42216
+ canSteer: boolean;
42217
+ canStop: boolean;
42218
+ activeTurnId: string | null;
42219
+ };
42220
+ state: "completed" | "cancelled" | "failed" | "ready" | "dispatching" | "admitted" | "expired" | "attention";
42221
+ claimId: string | null;
42222
+ claimedEpoch: string | null;
42223
+ expiresAt: string;
42224
+ admittedAt: string | null;
42225
+ createdAt: string;
42226
+ updatedAt: string;
42227
+ receipt: {
42228
+ sessionId: string;
42229
+ sessionTitle: string;
42230
+ inputId: string | null;
42231
+ turnId: string | null;
42232
+ state: string;
42233
+ } | null;
42234
+ error: string | null;
42235
+ };
42236
+ receipt: {
42237
+ sessionId: string;
42238
+ sessionTitle: string;
42239
+ inputId: string | null;
42240
+ turnId: string | null;
42241
+ state: string;
42242
+ };
42243
+ inspection: {
42244
+ operationId: string;
42245
+ payloadHash: string;
42246
+ sessionId: string;
42247
+ sessionTitle: string;
42248
+ turnId: string;
42249
+ workspaceId: string;
42250
+ providerId: string;
42251
+ modelId: string | null;
42252
+ capturedAt: string;
42253
+ taskStatus: "completed" | "failed" | "in_progress" | "interrupted";
42254
+ taskCompletedAt: string | null;
42255
+ error: string | null;
42256
+ events: {
42257
+ id: string;
42258
+ sequence: number;
42259
+ timestamp: string;
42260
+ kind: "assistant.delta" | "tool.started" | "tool.completed";
42261
+ text: string;
42262
+ action: string | null;
42263
+ status: "completed" | "pending" | "failed" | "started" | null;
42264
+ messageId: string | null;
42265
+ messageSnapshot: boolean;
42266
+ }[];
42267
+ coverage: {
42268
+ olderEventsOmitted: boolean;
42269
+ textTruncated: boolean;
42270
+ textLimit: 16000;
42271
+ eventLimit: 100;
42272
+ };
42273
+ };
42274
+ }>;
42275
+ getPonderDesktopInspection(id: string): Promise<{
42276
+ operation: {
42277
+ id: string;
42278
+ origin: {
42279
+ scope: {
42280
+ installationId: string;
42281
+ profileId: string;
42282
+ ownerUserId: string;
42283
+ teamId: string;
42284
+ bindingId: string;
42285
+ bindingRevision: number;
42286
+ };
42287
+ epoch: string;
42288
+ originChatTurnId: string;
42289
+ originToolCallId: string;
42290
+ authorizationRevision: number;
42291
+ humanControlId?: string | undefined;
42292
+ };
42293
+ payloadHash: string;
42294
+ intent: {
42295
+ action: "create";
42296
+ prompt: string;
42297
+ title: string;
42298
+ targetId: string;
42299
+ targetRevision: string;
42300
+ } | {
42301
+ action: "message";
42302
+ prompt: string;
42303
+ targetId: string;
42304
+ targetRevision: string;
42305
+ } | {
42306
+ action: "steer";
42307
+ prompt: string;
42308
+ expectedTurnId: string;
42309
+ targetId: string;
42310
+ targetRevision: string;
42311
+ } | {
42312
+ action: "stop";
42313
+ expectedTurnId: string;
42314
+ targetId: string;
42315
+ targetRevision: string;
42316
+ } | {
42317
+ action: "observe";
42318
+ expectedTurnId: string;
42319
+ targetId: string;
42320
+ targetRevision: string;
42321
+ } | {
42322
+ action: "inspect";
42323
+ expectedTurnId: string;
42324
+ targetId: string;
42325
+ targetRevision: string;
42326
+ };
42327
+ target: {
42328
+ id: string;
42329
+ kind: "starter" | "session";
42330
+ title: string;
42331
+ providerId: string;
42332
+ modelId: string | null;
42333
+ experience: "work" | "chat";
42334
+ workspaceId: string;
42335
+ workspaceLabel: string;
42336
+ profileSelectionId: string | null;
42337
+ revision: string;
42338
+ available: boolean;
42339
+ unavailableReason: string | null;
42340
+ canMessage: boolean;
42341
+ canSteer: boolean;
42342
+ canStop: boolean;
42343
+ activeTurnId: string | null;
42344
+ };
42345
+ state: "completed" | "cancelled" | "failed" | "ready" | "dispatching" | "admitted" | "expired" | "attention";
42346
+ claimId: string | null;
42347
+ claimedEpoch: string | null;
42348
+ expiresAt: string;
42349
+ admittedAt: string | null;
42350
+ createdAt: string;
42351
+ updatedAt: string;
42352
+ receipt: {
42353
+ sessionId: string;
42354
+ sessionTitle: string;
42355
+ inputId: string | null;
42356
+ turnId: string | null;
42357
+ state: string;
42358
+ } | null;
42359
+ error: string | null;
42360
+ };
42361
+ receipt: {
42362
+ sessionId: string;
42363
+ sessionTitle: string;
42364
+ inputId: string | null;
42365
+ turnId: string | null;
42366
+ state: string;
42367
+ };
42368
+ inspection: {
42369
+ operationId: string;
42370
+ payloadHash: string;
42371
+ sessionId: string;
42372
+ sessionTitle: string;
42373
+ turnId: string;
42374
+ workspaceId: string;
42375
+ providerId: string;
42376
+ modelId: string | null;
42377
+ capturedAt: string;
42378
+ taskStatus: "completed" | "failed" | "in_progress" | "interrupted";
42379
+ taskCompletedAt: string | null;
42380
+ error: string | null;
42381
+ events: {
42382
+ id: string;
42383
+ sequence: number;
42384
+ timestamp: string;
42385
+ kind: "assistant.delta" | "tool.started" | "tool.completed";
42386
+ text: string;
42387
+ action: string | null;
42388
+ status: "completed" | "pending" | "failed" | "started" | null;
42389
+ messageId: string | null;
42390
+ messageSnapshot: boolean;
42391
+ }[];
42392
+ coverage: {
42393
+ olderEventsOmitted: boolean;
42394
+ textTruncated: boolean;
42395
+ textLimit: 16000;
42396
+ eventLimit: 100;
42397
+ };
42398
+ };
42399
+ } | null>;
42400
+ setPonderProjectSharing(sharing: PonderProjectSharingInput): Promise<{
42401
+ revision: number;
42402
+ owner: {
42403
+ version: 1;
42404
+ installationId: string;
42405
+ profileId: string;
42406
+ ownerUserId: string;
42407
+ teamId: string | null;
42408
+ audience: string;
42409
+ };
42410
+ authority: {
42411
+ scope: {
42412
+ installationId: string;
42413
+ profileId: string;
42414
+ ownerUserId: string;
42415
+ teamId: string;
42416
+ bindingId: string;
42417
+ bindingRevision: number;
42418
+ };
42419
+ authorizationRevision: number;
42420
+ };
42421
+ project: {
42422
+ projectId: string;
42423
+ name: string;
42424
+ cwd: string;
42425
+ sourceFolders: {
42426
+ path: string;
42427
+ realpath: string;
42428
+ }[];
42429
+ configurationHash: string;
42430
+ revision: string;
42431
+ };
42432
+ shared: boolean;
42433
+ updatedAt: string;
42434
+ }>;
42435
+ readPonderProjectSharing(owner: PonderLocalOwner): Promise<{
42436
+ revision: number;
42437
+ owner: {
42438
+ version: 1;
42439
+ installationId: string;
42440
+ profileId: string;
42441
+ ownerUserId: string;
42442
+ teamId: string | null;
42443
+ audience: string;
42444
+ };
42445
+ authority: {
42446
+ scope: {
42447
+ installationId: string;
42448
+ profileId: string;
42449
+ ownerUserId: string;
42450
+ teamId: string;
42451
+ bindingId: string;
42452
+ bindingRevision: number;
42453
+ };
42454
+ authorizationRevision: number;
42455
+ };
42456
+ project: {
42457
+ projectId: string;
42458
+ name: string;
42459
+ cwd: string;
42460
+ sourceFolders: {
42461
+ path: string;
42462
+ realpath: string;
42463
+ }[];
42464
+ configurationHash: string;
42465
+ revision: string;
42466
+ };
42467
+ shared: boolean;
42468
+ updatedAt: string;
42469
+ }[]>;
42470
+ getPonderDesktopReservationResume(operation: PonderDesktopOperation, owner: PonderLocalOwner): Promise<{
42471
+ sessionId: string;
42472
+ creationHash: string;
42473
+ sessionRevision: string;
42474
+ executionRevision: string;
42475
+ } | null>;
42476
+ admitPonderDesktopObservation(operation: PonderDesktopOperation): Promise<{
42477
+ operation: {
42478
+ id: string;
42479
+ origin: {
42480
+ scope: {
42481
+ installationId: string;
42482
+ profileId: string;
42483
+ ownerUserId: string;
42484
+ teamId: string;
42485
+ bindingId: string;
42486
+ bindingRevision: number;
42487
+ };
42488
+ epoch: string;
42489
+ originChatTurnId: string;
42490
+ originToolCallId: string;
42491
+ authorizationRevision: number;
42492
+ humanControlId?: string | undefined;
42493
+ };
42494
+ payloadHash: string;
42495
+ intent: {
42496
+ action: "create";
42497
+ prompt: string;
42498
+ title: string;
42499
+ targetId: string;
42500
+ targetRevision: string;
42501
+ } | {
42502
+ action: "message";
42503
+ prompt: string;
42504
+ targetId: string;
42505
+ targetRevision: string;
42506
+ } | {
42507
+ action: "steer";
42508
+ prompt: string;
42509
+ expectedTurnId: string;
42510
+ targetId: string;
42511
+ targetRevision: string;
42512
+ } | {
42513
+ action: "stop";
42514
+ expectedTurnId: string;
42515
+ targetId: string;
42516
+ targetRevision: string;
42517
+ } | {
42518
+ action: "observe";
42519
+ expectedTurnId: string;
42520
+ targetId: string;
42521
+ targetRevision: string;
42522
+ } | {
42523
+ action: "inspect";
42524
+ expectedTurnId: string;
42525
+ targetId: string;
42526
+ targetRevision: string;
42527
+ };
42528
+ target: {
42529
+ id: string;
42530
+ kind: "starter" | "session";
42531
+ title: string;
42532
+ providerId: string;
42533
+ modelId: string | null;
42534
+ experience: "work" | "chat";
42535
+ workspaceId: string;
42536
+ workspaceLabel: string;
42537
+ profileSelectionId: string | null;
42538
+ revision: string;
42539
+ available: boolean;
42540
+ unavailableReason: string | null;
42541
+ canMessage: boolean;
42542
+ canSteer: boolean;
42543
+ canStop: boolean;
42544
+ activeTurnId: string | null;
42545
+ };
42546
+ state: "completed" | "cancelled" | "failed" | "ready" | "dispatching" | "admitted" | "expired" | "attention";
42547
+ claimId: string | null;
42548
+ claimedEpoch: string | null;
42549
+ expiresAt: string;
42550
+ admittedAt: string | null;
42551
+ createdAt: string;
42552
+ updatedAt: string;
42553
+ receipt: {
42554
+ sessionId: string;
42555
+ sessionTitle: string;
42556
+ inputId: string | null;
42557
+ turnId: string | null;
42558
+ state: string;
42559
+ } | null;
42560
+ error: string | null;
42561
+ };
42562
+ receipt: {
42563
+ sessionId: string;
42564
+ sessionTitle: string;
42565
+ inputId: string | null;
42566
+ turnId: string | null;
42567
+ state: string;
42568
+ };
42569
+ }>;
42570
+ getPonderDesktopObservation(id: string): Promise<{
42571
+ operation: {
42572
+ id: string;
42573
+ origin: {
42574
+ scope: {
42575
+ installationId: string;
42576
+ profileId: string;
42577
+ ownerUserId: string;
42578
+ teamId: string;
42579
+ bindingId: string;
42580
+ bindingRevision: number;
42581
+ };
42582
+ epoch: string;
42583
+ originChatTurnId: string;
42584
+ originToolCallId: string;
42585
+ authorizationRevision: number;
42586
+ humanControlId?: string | undefined;
42587
+ };
42588
+ payloadHash: string;
42589
+ intent: {
42590
+ action: "create";
42591
+ prompt: string;
42592
+ title: string;
42593
+ targetId: string;
42594
+ targetRevision: string;
42595
+ } | {
42596
+ action: "message";
42597
+ prompt: string;
42598
+ targetId: string;
42599
+ targetRevision: string;
42600
+ } | {
42601
+ action: "steer";
42602
+ prompt: string;
42603
+ expectedTurnId: string;
42604
+ targetId: string;
42605
+ targetRevision: string;
42606
+ } | {
42607
+ action: "stop";
42608
+ expectedTurnId: string;
42609
+ targetId: string;
42610
+ targetRevision: string;
42611
+ } | {
42612
+ action: "observe";
42613
+ expectedTurnId: string;
42614
+ targetId: string;
42615
+ targetRevision: string;
42616
+ } | {
42617
+ action: "inspect";
42618
+ expectedTurnId: string;
42619
+ targetId: string;
42620
+ targetRevision: string;
42621
+ };
42622
+ target: {
42623
+ id: string;
42624
+ kind: "starter" | "session";
42625
+ title: string;
42626
+ providerId: string;
42627
+ modelId: string | null;
42628
+ experience: "work" | "chat";
42629
+ workspaceId: string;
42630
+ workspaceLabel: string;
42631
+ profileSelectionId: string | null;
42632
+ revision: string;
42633
+ available: boolean;
42634
+ unavailableReason: string | null;
42635
+ canMessage: boolean;
42636
+ canSteer: boolean;
42637
+ canStop: boolean;
42638
+ activeTurnId: string | null;
42639
+ };
42640
+ state: "completed" | "cancelled" | "failed" | "ready" | "dispatching" | "admitted" | "expired" | "attention";
42641
+ claimId: string | null;
42642
+ claimedEpoch: string | null;
42643
+ expiresAt: string;
42644
+ admittedAt: string | null;
42645
+ createdAt: string;
42646
+ updatedAt: string;
42647
+ receipt: {
42648
+ sessionId: string;
42649
+ sessionTitle: string;
42650
+ inputId: string | null;
42651
+ turnId: string | null;
42652
+ state: string;
42653
+ } | null;
42654
+ error: string | null;
42655
+ };
42656
+ receipt: {
42657
+ sessionId: string;
42658
+ sessionTitle: string;
42659
+ inputId: string | null;
42660
+ turnId: string | null;
42661
+ state: string;
42662
+ };
42663
+ } | null>;
42664
+ getPonderDesktopResult(operationId: string, turnId: string): Promise<{
42665
+ operationId: string;
42666
+ payloadHash: string;
42667
+ sessionId: string;
42668
+ sessionTitle: string;
42669
+ inputId: string | null;
42670
+ turnId: string;
42671
+ completedAt: string;
42672
+ outcome: "completed" | "cancelled" | "failed";
42673
+ body: string;
42674
+ bodyTruncated: boolean;
42675
+ assistantEventIds: string[];
42676
+ providerId: string;
42677
+ modelId: string | null;
42678
+ workspaceId: string;
42679
+ outputs: {
42680
+ id: string;
42681
+ title: string;
42682
+ contentType: string;
42683
+ sizeBytes: number;
42684
+ sha256: string;
42685
+ }[];
42686
+ error: string | null;
42687
+ } | null>;
42688
+ commitPonderDesktopResult(value: Parameters<typeof commitPonderDesktopResult>[1]): Promise<{
42689
+ operationId: string;
42690
+ payloadHash: string;
42691
+ sessionId: string;
42692
+ sessionTitle: string;
42693
+ inputId: string | null;
42694
+ turnId: string;
42695
+ completedAt: string;
42696
+ outcome: "completed" | "cancelled" | "failed";
42697
+ body: string;
42698
+ bodyTruncated: boolean;
42699
+ assistantEventIds: string[];
42700
+ providerId: string;
42701
+ modelId: string | null;
42702
+ workspaceId: string;
42703
+ outputs: {
42704
+ id: string;
42705
+ title: string;
42706
+ contentType: string;
42707
+ sizeBytes: number;
42708
+ sha256: string;
42709
+ }[];
42710
+ error: string | null;
42711
+ }>;
42712
+ protected inboxWrite<T>(operation: (db: OpenPondSqliteConnection) => T): Promise<T>;
42713
+ /** Internal runtime lease. Clearing it serializes logout/unlink with input admission. */
42714
+ setPonderDesktopAuthority(value: PonderDesktopAttachment): Promise<void>;
42715
+ clearPonderDesktopAuthority(runtimeId?: string): Promise<void>;
42716
+ admitPonderDesktopStop(operation: PonderDesktopOperation): Promise<{
42717
+ operation: {
42718
+ id: string;
42719
+ origin: {
42720
+ scope: {
42721
+ installationId: string;
42722
+ profileId: string;
42723
+ ownerUserId: string;
42724
+ teamId: string;
42725
+ bindingId: string;
42726
+ bindingRevision: number;
42727
+ };
42728
+ epoch: string;
42729
+ originChatTurnId: string;
42730
+ originToolCallId: string;
42731
+ authorizationRevision: number;
42732
+ humanControlId?: string | undefined;
42733
+ };
42734
+ payloadHash: string;
42735
+ intent: {
42736
+ action: "create";
42737
+ prompt: string;
42738
+ title: string;
42739
+ targetId: string;
42740
+ targetRevision: string;
42741
+ } | {
42742
+ action: "message";
42743
+ prompt: string;
42744
+ targetId: string;
42745
+ targetRevision: string;
42746
+ } | {
42747
+ action: "steer";
42748
+ prompt: string;
42749
+ expectedTurnId: string;
42750
+ targetId: string;
42751
+ targetRevision: string;
42752
+ } | {
42753
+ action: "stop";
42754
+ expectedTurnId: string;
42755
+ targetId: string;
42756
+ targetRevision: string;
42757
+ } | {
42758
+ action: "observe";
42759
+ expectedTurnId: string;
42760
+ targetId: string;
42761
+ targetRevision: string;
42762
+ } | {
42763
+ action: "inspect";
42764
+ expectedTurnId: string;
42765
+ targetId: string;
42766
+ targetRevision: string;
42767
+ };
42768
+ target: {
42769
+ id: string;
42770
+ kind: "starter" | "session";
42771
+ title: string;
42772
+ providerId: string;
42773
+ modelId: string | null;
42774
+ experience: "work" | "chat";
42775
+ workspaceId: string;
42776
+ workspaceLabel: string;
42777
+ profileSelectionId: string | null;
42778
+ revision: string;
42779
+ available: boolean;
42780
+ unavailableReason: string | null;
42781
+ canMessage: boolean;
42782
+ canSteer: boolean;
42783
+ canStop: boolean;
42784
+ activeTurnId: string | null;
42785
+ };
42786
+ state: "completed" | "cancelled" | "failed" | "ready" | "dispatching" | "admitted" | "expired" | "attention";
42787
+ claimId: string | null;
42788
+ claimedEpoch: string | null;
42789
+ expiresAt: string;
42790
+ admittedAt: string | null;
42791
+ createdAt: string;
42792
+ updatedAt: string;
42793
+ receipt: {
42794
+ sessionId: string;
42795
+ sessionTitle: string;
42796
+ inputId: string | null;
42797
+ turnId: string | null;
42798
+ state: string;
42799
+ } | null;
42800
+ error: string | null;
42801
+ };
42802
+ receipt: {
42803
+ sessionId: string;
42804
+ sessionTitle: string;
42805
+ inputId: string | null;
42806
+ turnId: string | null;
42807
+ state: string;
42808
+ };
42809
+ }>;
42810
+ getPonderDesktopStop(id: string): Promise<{
42811
+ operation: {
42812
+ id: string;
42813
+ origin: {
42814
+ scope: {
42815
+ installationId: string;
42816
+ profileId: string;
42817
+ ownerUserId: string;
42818
+ teamId: string;
42819
+ bindingId: string;
42820
+ bindingRevision: number;
42821
+ };
42822
+ epoch: string;
42823
+ originChatTurnId: string;
42824
+ originToolCallId: string;
42825
+ authorizationRevision: number;
42826
+ humanControlId?: string | undefined;
42827
+ };
42828
+ payloadHash: string;
42829
+ intent: {
42830
+ action: "create";
42831
+ prompt: string;
42832
+ title: string;
42833
+ targetId: string;
42834
+ targetRevision: string;
42835
+ } | {
42836
+ action: "message";
42837
+ prompt: string;
42838
+ targetId: string;
42839
+ targetRevision: string;
42840
+ } | {
42841
+ action: "steer";
42842
+ prompt: string;
42843
+ expectedTurnId: string;
42844
+ targetId: string;
42845
+ targetRevision: string;
42846
+ } | {
42847
+ action: "stop";
42848
+ expectedTurnId: string;
42849
+ targetId: string;
42850
+ targetRevision: string;
42851
+ } | {
42852
+ action: "observe";
42853
+ expectedTurnId: string;
42854
+ targetId: string;
42855
+ targetRevision: string;
42856
+ } | {
42857
+ action: "inspect";
42858
+ expectedTurnId: string;
42859
+ targetId: string;
42860
+ targetRevision: string;
42861
+ };
42862
+ target: {
42863
+ id: string;
42864
+ kind: "starter" | "session";
42865
+ title: string;
42866
+ providerId: string;
42867
+ modelId: string | null;
42868
+ experience: "work" | "chat";
42869
+ workspaceId: string;
42870
+ workspaceLabel: string;
42871
+ profileSelectionId: string | null;
42872
+ revision: string;
42873
+ available: boolean;
42874
+ unavailableReason: string | null;
42875
+ canMessage: boolean;
42876
+ canSteer: boolean;
42877
+ canStop: boolean;
42878
+ activeTurnId: string | null;
42879
+ };
42880
+ state: "completed" | "cancelled" | "failed" | "ready" | "dispatching" | "admitted" | "expired" | "attention";
42881
+ claimId: string | null;
42882
+ claimedEpoch: string | null;
42883
+ expiresAt: string;
42884
+ admittedAt: string | null;
42885
+ createdAt: string;
42886
+ updatedAt: string;
42887
+ receipt: {
42888
+ sessionId: string;
42889
+ sessionTitle: string;
42890
+ inputId: string | null;
42891
+ turnId: string | null;
42892
+ state: string;
42893
+ } | null;
42894
+ error: string | null;
42895
+ };
42896
+ receipt: {
42897
+ sessionId: string;
42898
+ sessionTitle: string;
42899
+ inputId: string | null;
42900
+ turnId: string | null;
42901
+ state: string;
42902
+ };
42903
+ } | null>;
42904
+ settlePonderDesktopStop(id: string, state: "interrupted" | "already_finished"): Promise<{
42905
+ operation: {
42906
+ id: string;
42907
+ origin: {
42908
+ scope: {
42909
+ installationId: string;
42910
+ profileId: string;
42911
+ ownerUserId: string;
42912
+ teamId: string;
42913
+ bindingId: string;
42914
+ bindingRevision: number;
42915
+ };
42916
+ epoch: string;
42917
+ originChatTurnId: string;
42918
+ originToolCallId: string;
42919
+ authorizationRevision: number;
42920
+ humanControlId?: string | undefined;
42921
+ };
42922
+ payloadHash: string;
42923
+ intent: {
42924
+ action: "create";
42925
+ prompt: string;
42926
+ title: string;
42927
+ targetId: string;
42928
+ targetRevision: string;
42929
+ } | {
42930
+ action: "message";
42931
+ prompt: string;
42932
+ targetId: string;
42933
+ targetRevision: string;
42934
+ } | {
42935
+ action: "steer";
42936
+ prompt: string;
42937
+ expectedTurnId: string;
42938
+ targetId: string;
42939
+ targetRevision: string;
42940
+ } | {
42941
+ action: "stop";
42942
+ expectedTurnId: string;
42943
+ targetId: string;
42944
+ targetRevision: string;
42945
+ } | {
42946
+ action: "observe";
42947
+ expectedTurnId: string;
42948
+ targetId: string;
42949
+ targetRevision: string;
42950
+ } | {
42951
+ action: "inspect";
42952
+ expectedTurnId: string;
42953
+ targetId: string;
42954
+ targetRevision: string;
42955
+ };
42956
+ target: {
42957
+ id: string;
42958
+ kind: "starter" | "session";
42959
+ title: string;
42960
+ providerId: string;
42961
+ modelId: string | null;
42962
+ experience: "work" | "chat";
42963
+ workspaceId: string;
42964
+ workspaceLabel: string;
42965
+ profileSelectionId: string | null;
42966
+ revision: string;
42967
+ available: boolean;
42968
+ unavailableReason: string | null;
42969
+ canMessage: boolean;
42970
+ canSteer: boolean;
42971
+ canStop: boolean;
42972
+ activeTurnId: string | null;
42973
+ };
42974
+ state: "completed" | "cancelled" | "failed" | "ready" | "dispatching" | "admitted" | "expired" | "attention";
42975
+ claimId: string | null;
42976
+ claimedEpoch: string | null;
42977
+ expiresAt: string;
42978
+ admittedAt: string | null;
42979
+ createdAt: string;
42980
+ updatedAt: string;
42981
+ receipt: {
42982
+ sessionId: string;
42983
+ sessionTitle: string;
42984
+ inputId: string | null;
42985
+ turnId: string | null;
42986
+ state: string;
42987
+ } | null;
42988
+ error: string | null;
42989
+ };
42990
+ receipt: {
42991
+ sessionId: string;
42992
+ sessionTitle: string;
42993
+ inputId: string | null;
42994
+ turnId: string | null;
42995
+ state: string;
42996
+ };
42997
+ }>;
42998
+ recoverTaskInboxOwners(ownerId: string): Promise<Array<{
42999
+ sessionId: string;
43000
+ turnId: string;
43001
+ }>>;
43002
+ hasTaskCompletion(turnId: string): Promise<boolean>;
43003
+ taskInboxSnapshot(sessionId: string): Promise<TaskInboxSnapshot>;
43004
+ declareTaskWork(sessionId: string, turnId: string, ownerId: string, areas: string[]): Promise<void>;
43005
+ taskWorkAreas(sessionId: string): Promise<string[]>;
43006
+ admitTaskInput(input: TaskInputAdmission): Promise<TaskInput>;
43007
+ admitTaskInputs(inputs: TaskInputAdmission[]): Promise<TaskInput[]>;
43008
+ rejectTaskInput(id: string, error: string, executionTurnId?: string): Promise<void>;
43009
+ getTaskInput(id: string): Promise<TaskInput | null>;
43010
+ taskInputsForSession(sessionId: string, query?: {
43011
+ afterSequence?: number;
43012
+ pendingOnly?: boolean;
43013
+ limit?: number;
43014
+ }): Promise<TaskInput[]>;
43015
+ mutateTaskInput(sessionId: string, inputId: string, change: TaskInputMutation): Promise<TaskInput>;
43016
+ openTaskInboxTurn(sessionId: string, turnId: string, ownerId: string): Promise<void>;
43017
+ renewTaskInboxTurn(sessionId: string, turnId: string, ownerId: string): Promise<void>;
43018
+ pendingTaskInputs(sessionId: string, turnId: string): Promise<TaskInput[]>;
43019
+ taskAssignmentInputs(turnId: string): Promise<TaskInput[]>;
43020
+ pauseTaskInboxTurn(sessionId: string, turnId: string, ownerId: string): Promise<void>;
43021
+ /** Manifest and inclusion receipts commit before provider dispatch. */
43022
+ includeTaskInputs(sessionId: string, turnId: string, ownerId: string, requestId: string): Promise<TaskInput[]>;
43023
+ settleTaskInputRequest(requestId: string, outcome: "resolved" | "failed" | "replaced"): Promise<void>;
43024
+ /** Serializes the last empty-inbox check with admission. A stale steer cannot slip past it. */
43025
+ sealTaskInboxTurn(sessionId: string, turnId: string, ownerId: string): Promise<boolean>;
43026
+ sealNativeTaskInboxTurn(sessionId: string, turnId: string, ownerId: string): Promise<TaskInput[]>;
43027
+ closeTaskInboxTurn(sessionId: string, turnId: string, ownerId: string, outcome: "completed" | "failed" | "interrupted"): Promise<void>;
43028
+ taskInboxPaused(sessionId: string): Promise<boolean>;
43029
+ /** Assign a queued input to a known turn before starting; retries cannot start it twice. */
43030
+ reserveTaskFollowup(sessionId: string, turnId: string, ownerId: string): Promise<TaskInput | null>;
43031
+ taskInboxWakeTargets(): Promise<string[]>;
43032
+ createTaskWait(value: TaskWait): Promise<TaskWait>;
43033
+ settleTaskWait(id: string, state: TaskWait["state"]): Promise<TaskWait>;
43034
+ taskWaitsForSession(sessionId: string): Promise<TaskWait[]>;
43035
+ /** Final child outcome and notification intent cannot be separated by a crash. */
43036
+ commitSubagentCompletion(value: SubagentRun, turnId: string): Promise<void>;
43037
+ pendingTaskCompletions(afterTurnId?: string): Promise<Array<{
43038
+ turnId: string;
43039
+ run: SubagentRun;
43040
+ }>>;
43041
+ settleTaskCompletion(turnId: string, inputId: string): Promise<void>;
43042
+ }
43043
+ declare function attachPonderSessionOwner(db: OpenPondSqliteConnection, input: {
43044
+ sessionId: string;
43045
+ expectedRevision: string;
43046
+ owner: PonderLocalOwner;
43047
+ assertCurrent?: () => void;
43048
+ }): {
43049
+ id: string;
43050
+ experience: "work" | "chat" | "development";
43051
+ provider: "claude-code" | "custom-openai-compatible" | "openpond" | "codex" | "opencode" | "grok-build" | "anthropic" | "openai" | "xai" | "google" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq";
43052
+ openPondCommandAccessMode: "disabled" | "ask" | "full-access";
43053
+ title: string;
43054
+ appId: string | null;
43055
+ appName: string | null;
43056
+ cwd: string | null;
43057
+ codexThreadId: string | null;
43058
+ createdAt: string;
43059
+ updatedAt: string;
43060
+ status: "failed" | "idle" | "active" | "closed";
43061
+ pinned: boolean;
43062
+ archived: boolean;
43063
+ order: number;
43064
+ modelRef?: {
43065
+ providerId: "claude-code" | "custom-openai-compatible" | "openpond" | "codex" | "opencode" | "grok-build" | "anthropic" | "openai" | "xai" | "google" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq";
43066
+ modelId: string;
43067
+ } | null | undefined;
43068
+ systemKind?: "openpond.lab" | null | undefined;
43069
+ hiddenFromDefaultSidebar?: boolean | undefined;
43070
+ parentSessionId?: string | null | undefined;
43071
+ parentTurnId?: string | null | undefined;
43072
+ subagentRunId?: string | null | undefined;
43073
+ subagentRoleId?: string | null | undefined;
43074
+ subagentDelegationMode?: "balanced" | "manual" | "proactive" | null | undefined;
43075
+ workspaceKind?: "sandbox" | "sandbox_app" | "local_project" | "sandbox_template" | undefined;
43076
+ workspaceId?: string | null | undefined;
43077
+ workspaceName?: string | null | undefined;
43078
+ localProjectId?: string | null | undefined;
43079
+ cloudProjectId?: string | null | undefined;
43080
+ cloudTeamId?: string | null | undefined;
43081
+ currentProfile?: {
43082
+ source: "local" | "github" | "openpond_git";
43083
+ repositoryId: string;
43084
+ profileId: string;
43085
+ } | null | undefined;
43086
+ profileWorkflowBinding?: {
43087
+ schemaVersion: "openpond.profileWorkflowBinding.v1";
43088
+ profileId: string;
43089
+ sourceRevision: string;
43090
+ harnessRelease: {
43091
+ id: string;
43092
+ contentHash: string;
43093
+ };
43094
+ catalogHash: string;
43095
+ workflowId: string;
43096
+ } | null | undefined;
43097
+ profileComponentBinding?: {
43098
+ schemaVersion: "openpond.profileComponentBinding.v1";
43099
+ profileId: string;
43100
+ sourceRevision: string;
43101
+ harnessRelease: {
43102
+ id: string;
43103
+ contentHash: string;
43104
+ };
43105
+ target: {
43106
+ kind: "profile";
43107
+ } | {
43108
+ kind: "skill";
43109
+ skillPath: string;
43110
+ } | {
43111
+ kind: "agent_action";
43112
+ actionId: string;
43113
+ };
43114
+ } | null | undefined;
43115
+ metadata?: Record<string, unknown> | undefined;
43116
+ nativeAgent?: {
43117
+ provider: "claude-code" | "opencode" | "grok-build";
43118
+ instanceId: string;
43119
+ sessionId: string;
43120
+ cwd: string;
43121
+ } | null | undefined;
43122
+ runtimeSeconds?: number | undefined;
43123
+ runtimeRunningSince?: string | null | undefined;
43124
+ savedForLater?: boolean | undefined;
43125
+ } | {
43126
+ updatedAt: string;
43127
+ metadata: {
43128
+ ponderLocalOwner: {
43129
+ version: 1;
43130
+ installationId: string;
43131
+ profileId: string;
43132
+ ownerUserId: string;
43133
+ teamId: string | null;
43134
+ audience: string;
43135
+ };
43136
+ };
43137
+ id: string;
43138
+ experience: "work" | "chat" | "development";
43139
+ provider: "claude-code" | "custom-openai-compatible" | "openpond" | "codex" | "opencode" | "grok-build" | "anthropic" | "openai" | "xai" | "google" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq";
43140
+ openPondCommandAccessMode: "disabled" | "ask" | "full-access";
43141
+ title: string;
43142
+ appId: string | null;
43143
+ appName: string | null;
43144
+ cwd: string | null;
43145
+ codexThreadId: string | null;
43146
+ createdAt: string;
43147
+ status: "failed" | "idle" | "active" | "closed";
43148
+ pinned: boolean;
43149
+ archived: boolean;
43150
+ order: number;
43151
+ modelRef?: {
43152
+ providerId: "claude-code" | "custom-openai-compatible" | "openpond" | "codex" | "opencode" | "grok-build" | "anthropic" | "openai" | "xai" | "google" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq";
43153
+ modelId: string;
43154
+ } | null | undefined;
43155
+ systemKind?: "openpond.lab" | null | undefined;
43156
+ hiddenFromDefaultSidebar?: boolean | undefined;
43157
+ parentSessionId?: string | null | undefined;
43158
+ parentTurnId?: string | null | undefined;
43159
+ subagentRunId?: string | null | undefined;
43160
+ subagentRoleId?: string | null | undefined;
43161
+ subagentDelegationMode?: "balanced" | "manual" | "proactive" | null | undefined;
43162
+ workspaceKind?: "sandbox" | "sandbox_app" | "local_project" | "sandbox_template" | undefined;
43163
+ workspaceId?: string | null | undefined;
43164
+ workspaceName?: string | null | undefined;
43165
+ localProjectId?: string | null | undefined;
43166
+ cloudProjectId?: string | null | undefined;
43167
+ cloudTeamId?: string | null | undefined;
43168
+ currentProfile?: {
43169
+ source: "local" | "github" | "openpond_git";
43170
+ repositoryId: string;
43171
+ profileId: string;
43172
+ } | null | undefined;
43173
+ profileWorkflowBinding?: {
43174
+ schemaVersion: "openpond.profileWorkflowBinding.v1";
43175
+ profileId: string;
43176
+ sourceRevision: string;
43177
+ harnessRelease: {
43178
+ id: string;
43179
+ contentHash: string;
43180
+ };
43181
+ catalogHash: string;
43182
+ workflowId: string;
43183
+ } | null | undefined;
43184
+ profileComponentBinding?: {
43185
+ schemaVersion: "openpond.profileComponentBinding.v1";
43186
+ profileId: string;
43187
+ sourceRevision: string;
43188
+ harnessRelease: {
43189
+ id: string;
43190
+ contentHash: string;
43191
+ };
43192
+ target: {
43193
+ kind: "profile";
43194
+ } | {
43195
+ kind: "skill";
43196
+ skillPath: string;
43197
+ } | {
43198
+ kind: "agent_action";
43199
+ actionId: string;
43200
+ };
43201
+ } | null | undefined;
43202
+ nativeAgent?: {
43203
+ provider: "claude-code" | "opencode" | "grok-build";
43204
+ instanceId: string;
43205
+ sessionId: string;
43206
+ cwd: string;
43207
+ } | null | undefined;
43208
+ runtimeSeconds?: number | undefined;
43209
+ runtimeRunningSince?: string | null | undefined;
43210
+ savedForLater?: boolean | undefined;
43211
+ };
43212
+ type TurnHistoryPage = {
43213
+ turns: Turn[];
43214
+ nextBeforeSortIndex: number | null;
43215
+ };
43216
+ type RuntimeEventHistoryPage = {
43217
+ entries: Array<{
43218
+ sequence: number;
43219
+ event: RuntimeEvent;
43220
+ }>;
43221
+ totalMatchingEvents: number;
43222
+ remainingMatchingEvents: number;
43223
+ };
43224
+ interface RuntimeHistoryStorage {
43225
+ getSession(sessionId: string): Promise<Session | null>;
43226
+ turnPageForSession(input: {
43227
+ sessionId: string;
43228
+ beforeSortIndex?: number | null;
43229
+ limit?: number;
43230
+ }): Promise<TurnHistoryPage>;
43231
+ runtimeEventPageRows(input: {
43232
+ sessionId: string | null;
43233
+ afterSequence: number;
43234
+ beforeSequence: number | null;
43235
+ limit: number;
43236
+ }): Promise<RuntimeEventHistoryPage>;
43237
+ }
43238
+ type RuntimeEventPageQuery = {
43239
+ sessionId: string | null;
43240
+ afterSequence: number;
43241
+ beforeSequence: number | null;
43242
+ limit: number;
43243
+ };
43244
+ type RuntimeEventPageRows = {
43245
+ entries: Array<{
43246
+ sequence: number;
43247
+ event: RuntimeEvent;
43248
+ }>;
43249
+ totalMatchingEvents: number;
43250
+ remainingMatchingEvents: number;
43251
+ };
43252
+ type RuntimeEventRecentWindow = {
43253
+ entries: Array<{
43254
+ sequence: number;
43255
+ event: RuntimeEvent;
43256
+ }>;
43257
+ latestSequence: number;
43258
+ oldestSequence: number;
43259
+ totalEvents: number;
43260
+ hasMoreBefore: boolean;
43261
+ limit: number;
43262
+ };
43263
+ declare class SqliteStore extends SqliteTaskInboxStore implements RuntimeHistoryStorage {
43264
+ attachPonderSessionOwner(input: Parameters<typeof attachPonderSessionOwner>[1]): Promise<{
43265
+ id: string;
43266
+ experience: "work" | "chat" | "development";
43267
+ provider: "claude-code" | "custom-openai-compatible" | "openpond" | "codex" | "opencode" | "grok-build" | "anthropic" | "openai" | "xai" | "google" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq";
43268
+ openPondCommandAccessMode: "disabled" | "ask" | "full-access";
43269
+ title: string;
43270
+ appId: string | null;
43271
+ appName: string | null;
43272
+ cwd: string | null;
43273
+ codexThreadId: string | null;
43274
+ createdAt: string;
43275
+ updatedAt: string;
43276
+ status: "failed" | "idle" | "active" | "closed";
43277
+ pinned: boolean;
43278
+ archived: boolean;
43279
+ order: number;
43280
+ modelRef?: {
43281
+ providerId: "claude-code" | "custom-openai-compatible" | "openpond" | "codex" | "opencode" | "grok-build" | "anthropic" | "openai" | "xai" | "google" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq";
43282
+ modelId: string;
43283
+ } | null | undefined;
43284
+ systemKind?: "openpond.lab" | null | undefined;
43285
+ hiddenFromDefaultSidebar?: boolean | undefined;
43286
+ parentSessionId?: string | null | undefined;
43287
+ parentTurnId?: string | null | undefined;
43288
+ subagentRunId?: string | null | undefined;
43289
+ subagentRoleId?: string | null | undefined;
43290
+ subagentDelegationMode?: "balanced" | "manual" | "proactive" | null | undefined;
43291
+ workspaceKind?: "sandbox" | "sandbox_app" | "local_project" | "sandbox_template" | undefined;
43292
+ workspaceId?: string | null | undefined;
43293
+ workspaceName?: string | null | undefined;
43294
+ localProjectId?: string | null | undefined;
43295
+ cloudProjectId?: string | null | undefined;
43296
+ cloudTeamId?: string | null | undefined;
43297
+ currentProfile?: {
43298
+ source: "local" | "github" | "openpond_git";
43299
+ repositoryId: string;
43300
+ profileId: string;
43301
+ } | null | undefined;
43302
+ profileWorkflowBinding?: {
43303
+ schemaVersion: "openpond.profileWorkflowBinding.v1";
43304
+ profileId: string;
43305
+ sourceRevision: string;
43306
+ harnessRelease: {
43307
+ id: string;
43308
+ contentHash: string;
43309
+ };
43310
+ catalogHash: string;
43311
+ workflowId: string;
43312
+ } | null | undefined;
43313
+ profileComponentBinding?: {
43314
+ schemaVersion: "openpond.profileComponentBinding.v1";
43315
+ profileId: string;
43316
+ sourceRevision: string;
43317
+ harnessRelease: {
43318
+ id: string;
43319
+ contentHash: string;
43320
+ };
43321
+ target: {
43322
+ kind: "profile";
43323
+ } | {
43324
+ kind: "skill";
43325
+ skillPath: string;
43326
+ } | {
43327
+ kind: "agent_action";
43328
+ actionId: string;
43329
+ };
43330
+ } | null | undefined;
43331
+ metadata?: Record<string, unknown> | undefined;
43332
+ nativeAgent?: {
43333
+ provider: "claude-code" | "opencode" | "grok-build";
43334
+ instanceId: string;
43335
+ sessionId: string;
43336
+ cwd: string;
43337
+ } | null | undefined;
43338
+ runtimeSeconds?: number | undefined;
43339
+ runtimeRunningSince?: string | null | undefined;
43340
+ savedForLater?: boolean | undefined;
43341
+ } | {
43342
+ updatedAt: string;
43343
+ metadata: {
43344
+ ponderLocalOwner: {
43345
+ version: 1;
43346
+ installationId: string;
43347
+ profileId: string;
43348
+ ownerUserId: string;
43349
+ teamId: string | null;
43350
+ audience: string;
43351
+ };
43352
+ };
43353
+ id: string;
43354
+ experience: "work" | "chat" | "development";
43355
+ provider: "claude-code" | "custom-openai-compatible" | "openpond" | "codex" | "opencode" | "grok-build" | "anthropic" | "openai" | "xai" | "google" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq";
43356
+ openPondCommandAccessMode: "disabled" | "ask" | "full-access";
43357
+ title: string;
43358
+ appId: string | null;
43359
+ appName: string | null;
43360
+ cwd: string | null;
43361
+ codexThreadId: string | null;
43362
+ createdAt: string;
43363
+ status: "failed" | "idle" | "active" | "closed";
43364
+ pinned: boolean;
43365
+ archived: boolean;
43366
+ order: number;
43367
+ modelRef?: {
43368
+ providerId: "claude-code" | "custom-openai-compatible" | "openpond" | "codex" | "opencode" | "grok-build" | "anthropic" | "openai" | "xai" | "google" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq";
43369
+ modelId: string;
43370
+ } | null | undefined;
43371
+ systemKind?: "openpond.lab" | null | undefined;
43372
+ hiddenFromDefaultSidebar?: boolean | undefined;
43373
+ parentSessionId?: string | null | undefined;
43374
+ parentTurnId?: string | null | undefined;
43375
+ subagentRunId?: string | null | undefined;
43376
+ subagentRoleId?: string | null | undefined;
43377
+ subagentDelegationMode?: "balanced" | "manual" | "proactive" | null | undefined;
43378
+ workspaceKind?: "sandbox" | "sandbox_app" | "local_project" | "sandbox_template" | undefined;
43379
+ workspaceId?: string | null | undefined;
43380
+ workspaceName?: string | null | undefined;
43381
+ localProjectId?: string | null | undefined;
43382
+ cloudProjectId?: string | null | undefined;
43383
+ cloudTeamId?: string | null | undefined;
43384
+ currentProfile?: {
43385
+ source: "local" | "github" | "openpond_git";
43386
+ repositoryId: string;
43387
+ profileId: string;
43388
+ } | null | undefined;
43389
+ profileWorkflowBinding?: {
43390
+ schemaVersion: "openpond.profileWorkflowBinding.v1";
43391
+ profileId: string;
43392
+ sourceRevision: string;
43393
+ harnessRelease: {
43394
+ id: string;
43395
+ contentHash: string;
43396
+ };
43397
+ catalogHash: string;
43398
+ workflowId: string;
43399
+ } | null | undefined;
43400
+ profileComponentBinding?: {
43401
+ schemaVersion: "openpond.profileComponentBinding.v1";
43402
+ profileId: string;
43403
+ sourceRevision: string;
43404
+ harnessRelease: {
43405
+ id: string;
43406
+ contentHash: string;
43407
+ };
43408
+ target: {
43409
+ kind: "profile";
43410
+ } | {
43411
+ kind: "skill";
43412
+ skillPath: string;
43413
+ } | {
43414
+ kind: "agent_action";
43415
+ actionId: string;
43416
+ };
43417
+ } | null | undefined;
43418
+ nativeAgent?: {
43419
+ provider: "claude-code" | "opencode" | "grok-build";
43420
+ instanceId: string;
43421
+ sessionId: string;
43422
+ cwd: string;
43423
+ } | null | undefined;
43424
+ runtimeSeconds?: number | undefined;
43425
+ runtimeRunningSince?: string | null | undefined;
43426
+ savedForLater?: boolean | undefined;
42006
43427
  }>;
42007
- latestSequence: number;
42008
- oldestSequence: number;
42009
- totalEvents: number;
42010
- hasMoreBefore: boolean;
42011
- limit: number;
42012
- };
42013
- declare class SqliteStore extends SqliteTaskInboxStore implements RuntimeHistoryStorage {
42014
43428
  readonly harnessStoragePlacement: "local";
42015
43429
  snapshot(): Promise<StoreData>;
42016
43430
  sessionShells(): Promise<Session[]>;
@@ -42127,7 +43541,7 @@ declare class SqliteStore extends SqliteTaskInboxStore implements RuntimeHistory
42127
43541
  limit?: number;
42128
43542
  }): Promise<SubagentMessage[]>;
42129
43543
  sessionCount(): Promise<number>;
42130
- insertSessionAtFront(session: Session): Promise<void>;
43544
+ insertSessionAtFront(session: Session, desktopOperation?: PonderDesktopOperation): Promise<void>;
42131
43545
  updateSession(sessionId: string, updater: (session: Session) => Session): Promise<Session | null>;
42132
43546
  updateSessionsWhere(predicate: (session: Session) => boolean, updater: (session: Session) => Session): Promise<Session[]>;
42133
43547
  getTurn(turnId: string): Promise<Turn | null>;