openpond 0.2.35 → 0.2.37

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 (150) hide show
  1. package/dist/app-server.d.ts +197 -4
  2. package/dist/app-server.js +1 -1
  3. package/dist/chunks/actions-command-GNQREIDD.js +2 -0
  4. package/dist/chunks/{app-layer-HK2GTSRX.js → app-layer-BDAKS3DG.js} +1 -1
  5. package/dist/chunks/app-server-runtime-D74FFS27.js +2 -0
  6. package/dist/chunks/apps-2SUP5JZE.js +2 -0
  7. package/dist/chunks/chunk-2O5UZOYL.js +13 -0
  8. package/dist/chunks/{chunk-BRJKTOMI.js → chunk-3I5BMVJI.js} +1 -1
  9. package/dist/chunks/{chunk-E4U7LXSW.js → chunk-3LG4G5JR.js} +2 -2
  10. package/dist/chunks/{chunk-4QX2I2DX.js → chunk-3N4GQL6I.js} +1 -1
  11. package/dist/chunks/{chunk-DR3XPQRZ.js → chunk-3YA2CD22.js} +1 -1
  12. package/dist/chunks/{chunk-EFTLCT7C.js → chunk-4R4KM6LL.js} +1 -1
  13. package/dist/chunks/{chunk-MXLB6MEW.js → chunk-5YUITAUN.js} +1 -1
  14. package/dist/chunks/{chunk-QPZNN5Q3.js → chunk-6EAQL7YX.js} +1 -1
  15. package/dist/chunks/{chunk-77BXXOHW.js → chunk-BLXEK5F7.js} +1 -1
  16. package/dist/chunks/{chunk-QWENRTVW.js → chunk-DAOLQUAK.js} +1 -1
  17. package/dist/chunks/{chunk-JFSDNQHW.js → chunk-DG4DIFF4.js} +3 -3
  18. package/dist/chunks/{chunk-SRQVXHSM.js → chunk-DXOOJFFU.js} +1 -1
  19. package/dist/chunks/chunk-EIB7GHIQ.js +4 -0
  20. package/dist/chunks/{chunk-XCTFXXVY.js → chunk-FFEI7IRU.js} +1 -1
  21. package/dist/chunks/chunk-FOW3LI6G.js +2 -0
  22. package/dist/chunks/{chunk-JLWAK5PS.js → chunk-FQOVC2GR.js} +78 -78
  23. package/dist/chunks/chunk-HZP5U2AA.js +3 -0
  24. package/dist/chunks/chunk-I6DQSOSF.js +12 -0
  25. package/dist/chunks/chunk-IYROEHYB.js +2 -0
  26. package/dist/chunks/{chunk-BOQBDCVU.js → chunk-KCFVJDIV.js} +1 -1
  27. package/dist/chunks/chunk-L6NNQUAT.js +53 -0
  28. package/dist/chunks/chunk-OO7JG7KM.js +42 -0
  29. package/dist/chunks/chunk-PKBU37CH.js +5 -0
  30. package/dist/chunks/chunk-QUNRWDVO.js +155 -0
  31. package/dist/chunks/{chunk-34URWDE7.js → chunk-S4RSY6CR.js} +1 -1
  32. package/dist/chunks/{chunk-VL553I5E.js → chunk-SL7XLTIT.js} +199 -199
  33. package/dist/chunks/{chunk-BAKCGJ5D.js → chunk-TZ6N7WFI.js} +1 -1
  34. package/dist/chunks/{chunk-Z6F6PYF4.js → chunk-UJLZRM2M.js} +1 -1
  35. package/dist/chunks/chunk-XISNUB62.js +2 -0
  36. package/dist/chunks/{chunk-PZ2ZILPN.js → chunk-XLVFY2BA.js} +1 -1
  37. package/dist/chunks/{chunk-K6EGNB2A.js → chunk-YQPECTJ2.js} +1 -1
  38. package/dist/chunks/{chunk-PMXE4CAA.js → chunk-Z3RBK6LN.js} +1 -1
  39. package/dist/chunks/cli-A2P56J7R.js +2 -0
  40. package/dist/chunks/configuration-command-URDRLDNY.js +2 -0
  41. package/dist/chunks/core-commands-CMAAUKPQ.js +2 -0
  42. package/dist/chunks/desktop-test-5PKGG6H6.js +3 -0
  43. package/dist/chunks/dist-CEKBK32A.js +2 -0
  44. package/dist/chunks/dist-GKCGK44T.js +2 -0
  45. package/dist/chunks/{extension-RMJAXEKN.js → extension-DG2XISC6.js} +1 -1
  46. package/dist/chunks/{help-QDMTLEIL.js → help-ZLJV3ZVW.js} +1 -1
  47. package/dist/chunks/hosted-harness-runtime-ABEMAABI.js +2 -0
  48. package/dist/chunks/hosted-profile-compiler-CSLJT75T.js +3 -0
  49. package/dist/chunks/{opchat-MHH4C5YQ.js → opchat-IMGIFM4W.js} +1 -1
  50. package/dist/chunks/organizations-G3UOHURO.js +2 -0
  51. package/dist/chunks/{profile-KVDJTM4D.js → profile-LMRN5QMQ.js} +1 -1
  52. package/dist/chunks/project-agent-DTAVYEB6.js +2 -0
  53. package/dist/chunks/sandbox-command-YO6RR5SD.js +2 -0
  54. package/dist/chunks/{sandbox-template-Q6K5JXA3.js → sandbox-template-LN5OQ55F.js} +1 -1
  55. package/dist/chunks/{src-42VXY5DZ.js → src-A5KEQW52.js} +1 -1
  56. package/dist/chunks/{src-ZGGKHNNF.js → src-LRJO4THC.js} +3 -3
  57. package/dist/chunks/{teams-bot-7TPB34DR.js → teams-bot-RY5M6AOW.js} +1 -1
  58. package/dist/chunks/{workspaces-XFUQZH5T.js → workspaces-KZ6ZJXXY.js} +1 -1
  59. package/dist/cli.js +1 -1
  60. package/dist/index.js +1 -1
  61. package/dist/web/assets/{App-BKY1b22z.js → App-BRZg56AC.js} +32 -32
  62. package/dist/web/assets/{AppDialog-C64bP66E.js → AppDialog-BR9UjEFe.js} +1 -1
  63. package/dist/web/assets/{AppTerminalPanel-fVkWSvWK.js → AppTerminalPanel-DNXVV6S_.js} +2 -2
  64. package/dist/web/assets/{AppsView-DHnab11q.js → AppsView-DhaB7uT7.js} +1 -1
  65. package/dist/web/assets/{BrowserSidebar-C7YeQ9KS.js → BrowserSidebar-zecj1P2T.js} +1 -1
  66. package/dist/web/assets/{CartesianChart-CYX3IXBM.js → CartesianChart-DRhWC0XA.js} +1 -1
  67. package/dist/web/assets/{CollaborationTabs-j2oBkesr.js → CollaborationTabs-BzNNwOcD.js} +1 -1
  68. package/dist/web/assets/{CommandMenu-BN1a4dTn.js → CommandMenu-C7HuXmgN.js} +1 -1
  69. package/dist/web/assets/{CommunityView-CNoxP71Z.js → CommunityView-C4HfU5ky.js} +1 -1
  70. package/dist/web/assets/{ComposerCreateImproveStrip-IoK3lqK8.js → ComposerCreateImproveStrip-CG8YZxWB.js} +1 -1
  71. package/dist/web/assets/{GetStartedView-QPabIxZC.js → GetStartedView-ZxtcgU5X.js} +1 -1
  72. package/dist/web/assets/HostedModelLearningReview-BhGIhvoc.js +1 -0
  73. package/dist/web/assets/{HostedModelLearningSettings-TkSSxw8x.js → HostedModelLearningSettings-BKM_1-LZ.js} +1 -1
  74. package/dist/web/assets/{LabModelVersionDetailPage-CRFw6V7e.js → LabModelVersionDetailPage-CklKwV_e.js} +1 -1
  75. package/dist/web/assets/{LabSkillSidebar-Dl8KWUe0.js → LabSkillSidebar-Cq_axOXr.js} +1 -1
  76. package/dist/web/assets/{LabsRoute-BzdL7mUM.js → LabsRoute-BPGkQnKq.js} +6 -6
  77. package/dist/web/assets/{MainChatThread-C3IdxbN3.js → MainChatThread-DvllW6Ej.js} +2 -2
  78. package/dist/web/assets/{MainPane-BdR1K59_.js → MainPane-BaUIvio6.js} +4 -4
  79. package/dist/web/assets/{MarkdownText-CkLxqh2M.js → MarkdownText-DP7Hjp4L.js} +1 -1
  80. package/dist/web/assets/{NativeSkillSidebar-VkWpZX6S.js → NativeSkillSidebar-BSSKKH-y.js} +1 -1
  81. package/dist/web/assets/{NewExperienceSwitcher-D_K16Ho-.js → NewExperienceSwitcher-cWw4m_pU.js} +1 -1
  82. package/dist/web/assets/{NewProjectDialog-B6E1wWOM.js → NewProjectDialog-BMzXEHsC.js} +1 -1
  83. package/dist/web/assets/{OutputsPage-27MuutGA.js → OutputsPage-CGWtgJ_j.js} +1 -1
  84. package/dist/web/assets/{ProjectsPage-CokpZHgx.js → ProjectsPage-C00Wt3oR.js} +1 -1
  85. package/dist/web/assets/{RightChatPanelStack-B6JhJdlc.js → RightChatPanelStack-0D_jpeAm.js} +1 -1
  86. package/dist/web/assets/{RightSidebarHomePanel-nn0dqUF0.js → RightSidebarHomePanel-BgHpI97K.js} +1 -1
  87. package/dist/web/assets/{ScheduledWorkPage-idJ8AO15.js → ScheduledWorkPage-C-P_Jv04.js} +1 -1
  88. package/dist/web/assets/{SettingsView-ZH2gDC6E.js → SettingsView-BJDvzvtZ.js} +3 -3
  89. package/dist/web/assets/{TeamChatView-B5cG9M6w.js → TeamChatView-BdUQNXvx.js} +2 -2
  90. package/dist/web/assets/{TerminalOverlay-9SPRce9W.js → TerminalOverlay-85H1eqcg.js} +1 -1
  91. package/dist/web/assets/{TrainingCreationPanel-2dkxe7py.js → TrainingCreationPanel-Bdx2BJzb.js} +1 -1
  92. package/dist/web/assets/{TrainingDraftPanel-oYbOFapi.js → TrainingDraftPanel-TcvqZfYS.js} +1 -1
  93. package/dist/web/assets/{UsageSettingsSection-zWs4Z_9b.js → UsageSettingsSection-Dm8bsNIT.js} +1 -1
  94. package/dist/web/assets/{WorkSidebarPanel-CiBQztz6.js → WorkSidebarPanel-C9bKi4NH.js} +1 -1
  95. package/dist/web/assets/{WorkspaceDiffPanel-BPt29A2a.js → WorkspaceDiffPanel-CFzHklbv.js} +3 -3
  96. package/dist/web/assets/{WorkspaceEnvironmentMenu-pb6fs4-2.js → WorkspaceEnvironmentMenu-_e6IkhGw.js} +1 -1
  97. package/dist/web/assets/{WorkspaceGitDialogs-DHD-L4Vs.js → WorkspaceGitDialogs-BglcR8S9.js} +1 -1
  98. package/dist/web/assets/{WorkspaceMonacoEditor-BxtCNaRo.js → WorkspaceMonacoEditor-BuipCT-i.js} +3 -3
  99. package/dist/web/assets/{arrow-up-right-DcP3EZaY.js → arrow-up-right-jN0p0koy.js} +1 -1
  100. package/dist/web/assets/{clipboard-BXulVWTJ.js → clipboard-Bat4as9H.js} +1 -1
  101. package/dist/web/assets/{cloud-upload-B3hP6o0H.js → cloud-upload-CFs0F_2n.js} +1 -1
  102. package/dist/web/assets/{cssMode-c85YG3Pd.js → cssMode-Cg4Jey3B.js} +1 -1
  103. package/dist/web/assets/{folder-open-CtOXE4jL.js → folder-open-BqInWH_9.js} +1 -1
  104. package/dist/web/assets/{folder-plus-KO96VZiR.js → folder-plus-BSA6I7ld.js} +1 -1
  105. package/dist/web/assets/{git-commit-horizontal-Bhtev2bN.js → git-commit-horizontal-CLDqrpDQ.js} +1 -1
  106. package/dist/web/assets/{htmlMode-BbCawv2y.js → htmlMode-DHHN3vwk.js} +1 -1
  107. package/dist/web/assets/{index-Hynq87d2.js → index-VtbQYCWA.js} +2 -2
  108. package/dist/web/assets/{info-Dqf1UVHA.js → info-BSebzpyp.js} +1 -1
  109. package/dist/web/assets/{jsonMode-CFycP8DE.js → jsonMode-mvqMGlEK.js} +1 -1
  110. package/dist/web/assets/{lspLanguageFeatures-CYX4VXe2.js → lspLanguageFeatures-Bw_QMGcP.js} +1 -1
  111. package/dist/web/assets/{minimize-2-BCmNskf_.js → minimize-2-CaHjbHpF.js} +1 -1
  112. package/dist/web/assets/{monaco.contribution-CJYgsAyM.js → monaco.contribution-CBkwYqsg.js} +2 -2
  113. package/dist/web/assets/{monaco.contribution-CPkt_0fd.js → monaco.contribution-CiXEi4Ka.js} +2 -2
  114. package/dist/web/assets/{monaco.contribution-3ZJbmsu3.js → monaco.contribution-DubQum0F.js} +2 -2
  115. package/dist/web/assets/{monaco.contribution-DR_TcZx7.js → monaco.contribution-KrPDFXc4.js} +2 -2
  116. package/dist/web/assets/{monitor-DWlfguJj.js → monitor-DwOfVMY6.js} +1 -1
  117. package/dist/web/assets/{python-rAXzgbqp.js → python-BPnA89YS.js} +1 -1
  118. package/dist/web/assets/{refresh-cw-BUPgzu5R.js → refresh-cw-DO-hUyTn.js} +1 -1
  119. package/dist/web/assets/{save-Mb-ECgFZ.js → save-C7WFI7Mn.js} +1 -1
  120. package/dist/web/assets/{square-CxNbsHso.js → square-DiLQ59tw.js} +1 -1
  121. package/dist/web/assets/{toggleHighContrast-DUvtEJ40.js → toggleHighContrast-BWFPIQBM.js} +1 -1
  122. package/dist/web/assets/{tsMode-IPAavolh.js → tsMode-CWxqU0x6.js} +1 -1
  123. package/dist/web/assets/{upload-Bn6_UQEa.js → upload-vUnuWYGk.js} +1 -1
  124. package/dist/web/assets/{useLocalAgentSchedules-DAHspLJg.js → useLocalAgentSchedules-BFbGmflA.js} +1 -1
  125. package/dist/web/assets/{useSessionTurnCache-CUiJuUjd.js → useSessionTurnCache-C0zgYrCB.js} +1 -1
  126. package/dist/web/assets/{wifi-off-Bsy0Wjm8.js → wifi-off-DbNO6u3Z.js} +1 -1
  127. package/dist/web/assets/{workers-35o3qFXU.js → workers-4I09fePv.js} +1 -1
  128. package/dist/web/assets/{yaml-Ba5fmKgb.js → yaml-DpHYonDY.js} +1 -1
  129. package/dist/web/index.html +1 -1
  130. package/package.json +1 -1
  131. package/dist/chunks/actions-command-6LFZFTLA.js +0 -2
  132. package/dist/chunks/app-server-runtime-CAWXM33C.js +0 -2
  133. package/dist/chunks/apps-YJRRLX2N.js +0 -2
  134. package/dist/chunks/chunk-5BFWDFPX.js +0 -166
  135. package/dist/chunks/chunk-B5LKUQGM.js +0 -2
  136. package/dist/chunks/chunk-CWW2EK77.js +0 -4
  137. package/dist/chunks/chunk-IFP6W4OW.js +0 -54
  138. package/dist/chunks/chunk-OYJ73BSC.js +0 -42
  139. package/dist/chunks/chunk-TBX3Z7TX.js +0 -2
  140. package/dist/chunks/chunk-XR6ZLKVW.js +0 -15
  141. package/dist/chunks/cli-YI6G22CQ.js +0 -2
  142. package/dist/chunks/configuration-command-CYUWO6CD.js +0 -2
  143. package/dist/chunks/core-commands-Z5C7S6OH.js +0 -2
  144. package/dist/chunks/desktop-test-JBZCCTSN.js +0 -3
  145. package/dist/chunks/dist-XCT2G25K.js +0 -2
  146. package/dist/chunks/hosted-profile-compiler-7SGXUZB4.js +0 -3
  147. package/dist/chunks/organizations-5KM2JD32.js +0 -2
  148. package/dist/chunks/project-agent-SXUMNJLZ.js +0 -2
  149. package/dist/chunks/sandbox-command-FQGX5MSS.js +0 -2
  150. package/dist/web/assets/HostedModelLearningReview-CNd3-FrC.js +0 -1
@@ -8686,6 +8686,7 @@ declare const learningResourceSchemas: {
8686
8686
  fields: z.ZodObject<{
8687
8687
  name: z.ZodString;
8688
8688
  description: z.ZodString;
8689
+ feedbackKey: z.ZodOptional<z.ZodString>;
8689
8690
  kind: z.ZodEnum<{
8690
8691
  content: "content";
8691
8692
  schema: "schema";
@@ -9094,6 +9095,7 @@ declare const learningResourceSchemas: {
9094
9095
  revision: z.ZodNumber;
9095
9096
  name: z.ZodString;
9096
9097
  description: z.ZodString;
9098
+ feedbackKey: z.ZodOptional<z.ZodString>;
9097
9099
  implementation: z.ZodUnion<readonly [
9098
9100
  z.ZodObject<{
9099
9101
  kind: z.ZodEnum<{
@@ -10061,8 +10063,8 @@ declare const learningResourceSchemas: {
10061
10063
  failed: "failed";
10062
10064
  cancelled: "cancelled";
10063
10065
  rejected: "rejected";
10064
- accepted: "accepted";
10065
10066
  training: "training";
10067
+ accepted: "accepted";
10066
10068
  waiting_for_data: "waiting_for_data";
10067
10069
  waiting_for_review: "waiting_for_review";
10068
10070
  ready: "ready";
@@ -16180,11 +16182,11 @@ declare const HostStorageRequestSchema: z.ZodDiscriminatedUnion<[
16180
16182
  turnId: z.ZodString;
16181
16183
  output: z.ZodObject<{
16182
16184
  id: z.ZodString;
16185
+ createdAt: z.ZodString;
16183
16186
  sourceTaskId: z.ZodString;
16184
16187
  sourceTurnId: z.ZodString;
16185
16188
  title: z.ZodString;
16186
16189
  revision: z.ZodNumber;
16187
- createdAt: z.ZodString;
16188
16190
  validation: z.ZodArray<z.ZodObject<{
16189
16191
  kind: z.ZodEnum<{
16190
16192
  structural: "structural";
@@ -16309,6 +16311,53 @@ declare const HostStorageRequestSchema: z.ZodDiscriminatedUnion<[
16309
16311
  limit: z.ZodNumber;
16310
16312
  }, z.core.$strict>;
16311
16313
  }, z.core.$strict>,
16314
+ z.ZodObject<{
16315
+ contractVersion: z.ZodLiteral<1>;
16316
+ requestId: z.ZodString;
16317
+ operation: z.ZodLiteral<"profile-evaluations/execute">;
16318
+ params: z.ZodDiscriminatedUnion<[
16319
+ z.ZodObject<{
16320
+ action: z.ZodLiteral<"get">;
16321
+ kind: z.ZodEnum<{
16322
+ grade: "grade";
16323
+ receipt: "receipt";
16324
+ run: "run";
16325
+ comparison: "comparison";
16326
+ suite: "suite";
16327
+ }>;
16328
+ id: z.ZodString;
16329
+ }, z.core.$strict>,
16330
+ z.ZodObject<{
16331
+ action: z.ZodLiteral<"page">;
16332
+ kind: z.ZodEnum<{
16333
+ grade: "grade";
16334
+ receipt: "receipt";
16335
+ run: "run";
16336
+ comparison: "comparison";
16337
+ suite: "suite";
16338
+ }>;
16339
+ profileKey: z.ZodString;
16340
+ before: z.ZodNullable<z.ZodObject<{
16341
+ createdAt: z.ZodString;
16342
+ id: z.ZodString;
16343
+ }, z.core.$strict>>;
16344
+ limit: z.ZodNumber;
16345
+ }, z.core.$strict>,
16346
+ z.ZodObject<{
16347
+ action: z.ZodLiteral<"put">;
16348
+ kind: z.ZodEnum<{
16349
+ grade: "grade";
16350
+ receipt: "receipt";
16351
+ run: "run";
16352
+ comparison: "comparison";
16353
+ suite: "suite";
16354
+ }>;
16355
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16356
+ profileKey: z.ZodNullable<z.ZodString>;
16357
+ createdAt: z.ZodString;
16358
+ }, z.core.$strict>
16359
+ ], "action">;
16360
+ }, z.core.$strict>,
16312
16361
  z.ZodObject<{
16313
16362
  contractVersion: z.ZodLiteral<1>;
16314
16363
  requestId: z.ZodString;
@@ -16653,22 +16702,160 @@ declare const HostStorageRequestSchema: z.ZodDiscriminatedUnion<[
16653
16702
  }, z.core.$strict>
16654
16703
  ], "action">;
16655
16704
  }, z.core.$strict>,
16705
+ z.ZodObject<{
16706
+ contractVersion: z.ZodLiteral<1>;
16707
+ requestId: z.ZodString;
16708
+ operation: z.ZodLiteral<"harness/review/execute">;
16709
+ params: z.ZodDiscriminatedUnion<[
16710
+ z.ZodObject<{
16711
+ action: z.ZodLiteral<"artifact_put">;
16712
+ workspaceId: z.ZodString;
16713
+ kind: z.ZodEnum<{
16714
+ run_overlay: "run_overlay";
16715
+ observation: "observation";
16716
+ trigger_decision: "trigger_decision";
16717
+ route_decision: "route_decision";
16718
+ proposal: "proposal";
16719
+ targeted_validation: "targeted_validation";
16720
+ apply_receipt: "apply_receipt";
16721
+ refiner_outcome: "refiner_outcome";
16722
+ }>;
16723
+ artifact: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16724
+ }, z.core.$strict>,
16725
+ z.ZodObject<{
16726
+ action: z.ZodLiteral<"artifact_page">;
16727
+ workspaceId: z.ZodString;
16728
+ kind: z.ZodEnum<{
16729
+ run_overlay: "run_overlay";
16730
+ observation: "observation";
16731
+ trigger_decision: "trigger_decision";
16732
+ route_decision: "route_decision";
16733
+ proposal: "proposal";
16734
+ targeted_validation: "targeted_validation";
16735
+ apply_receipt: "apply_receipt";
16736
+ refiner_outcome: "refiner_outcome";
16737
+ }>;
16738
+ before: z.ZodNullable<z.ZodObject<{
16739
+ createdAt: z.ZodString;
16740
+ id: z.ZodString;
16741
+ }, z.core.$strict>>;
16742
+ limit: z.ZodNumber;
16743
+ }, z.core.$strict>,
16744
+ z.ZodObject<{
16745
+ action: z.ZodLiteral<"pending_page">;
16746
+ workspaceId: z.ZodString;
16747
+ before: z.ZodNullable<z.ZodObject<{
16748
+ createdAt: z.ZodString;
16749
+ id: z.ZodString;
16750
+ }, z.core.$strict>>;
16751
+ limit: z.ZodNumber;
16752
+ }, z.core.$strict>,
16753
+ z.ZodObject<{
16754
+ action: z.ZodLiteral<"workspace_get">;
16755
+ workspaceId: z.ZodString;
16756
+ }, z.core.$strict>,
16757
+ z.ZodObject<{
16758
+ action: z.ZodLiteral<"background_get">;
16759
+ workspaceId: z.ZodString;
16760
+ }, z.core.$strict>,
16761
+ z.ZodObject<{
16762
+ action: z.ZodLiteral<"overlay_get">;
16763
+ runId: z.ZodString;
16764
+ }, z.core.$strict>,
16765
+ z.ZodObject<{
16766
+ action: z.ZodLiteral<"overlay_freeze">;
16767
+ runId: z.ZodString;
16768
+ expectedRevision: z.ZodNumber;
16769
+ overlay: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16770
+ proposal: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16771
+ }, z.core.$strict>,
16772
+ z.ZodObject<{
16773
+ action: z.ZodLiteral<"memory_get">;
16774
+ workspaceId: z.ZodString;
16775
+ sessionId: z.ZodString;
16776
+ key: z.ZodString;
16777
+ }, z.core.$strict>,
16778
+ z.ZodObject<{
16779
+ action: z.ZodLiteral<"memory_page">;
16780
+ workspaceId: z.ZodString;
16781
+ sessionId: z.ZodString;
16782
+ before: z.ZodNullable<z.ZodObject<{
16783
+ updatedAt: z.ZodString;
16784
+ key: z.ZodString;
16785
+ }, z.core.$strict>>;
16786
+ limit: z.ZodNumber;
16787
+ includeDeleted: z.ZodBoolean;
16788
+ }, z.core.$strict>,
16789
+ z.ZodObject<{
16790
+ action: z.ZodLiteral<"memory_write">;
16791
+ sessionId: z.ZodString;
16792
+ input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16793
+ }, z.core.$strict>,
16794
+ z.ZodObject<{
16795
+ action: z.ZodLiteral<"release_get">;
16796
+ contentHash: z.ZodString;
16797
+ }, z.core.$strict>,
16798
+ z.ZodObject<{
16799
+ action: z.ZodLiteral<"release_put">;
16800
+ record: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16801
+ }, z.core.$strict>,
16802
+ z.ZodObject<{
16803
+ action: z.ZodLiteral<"session_get">;
16804
+ sessionId: z.ZodString;
16805
+ }, z.core.$strict>,
16806
+ z.ZodObject<{
16807
+ action: z.ZodLiteral<"turn_get">;
16808
+ turnId: z.ZodString;
16809
+ }, z.core.$strict>,
16810
+ z.ZodObject<{
16811
+ action: z.ZodLiteral<"turn_page">;
16812
+ sessionId: z.ZodString;
16813
+ before: z.ZodNullable<z.ZodNumber>;
16814
+ limit: z.ZodNumber;
16815
+ }, z.core.$strict>,
16816
+ z.ZodObject<{
16817
+ action: z.ZodLiteral<"event_page">;
16818
+ turnId: z.ZodString;
16819
+ afterSequence: z.ZodNumber;
16820
+ names: z.ZodArray<z.ZodString>;
16821
+ limit: z.ZodNumber;
16822
+ }, z.core.$strict>,
16823
+ z.ZodObject<{
16824
+ action: z.ZodLiteral<"event_append">;
16825
+ event: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16826
+ }, z.core.$strict>,
16827
+ z.ZodObject<{
16828
+ action: z.ZodLiteral<"usage_put">;
16829
+ record: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16830
+ }, z.core.$strict>,
16831
+ z.ZodObject<{
16832
+ action: z.ZodLiteral<"snapshot_restore">;
16833
+ turnId: z.ZodString;
16834
+ expectedHash: z.ZodString;
16835
+ snapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16836
+ }, z.core.$strict>
16837
+ ], "action">;
16838
+ }, z.core.$strict>,
16656
16839
  z.ZodObject<{
16657
16840
  contractVersion: z.ZodLiteral<1>;
16658
16841
  requestId: z.ZodString;
16659
16842
  operation: z.ZodLiteral<"refiner/execute">;
16660
16843
  params: z.ZodObject<{
16661
16844
  action: z.ZodDiscriminatedUnion<[
16845
+ z.ZodObject<{
16846
+ action: z.ZodLiteral<"active_release">;
16847
+ workspaceId: z.ZodString;
16848
+ }, z.core.$strict>,
16662
16849
  z.ZodObject<{
16663
16850
  action: z.ZodLiteral<"put_artifact">;
16664
16851
  workspaceId: z.ZodString;
16665
16852
  kind: z.ZodEnum<{
16666
16853
  trigger_decision: "trigger_decision";
16667
16854
  route_decision: "route_decision";
16668
- refiner_outcome: "refiner_outcome";
16669
16855
  proposal: "proposal";
16670
16856
  targeted_validation: "targeted_validation";
16671
16857
  apply_receipt: "apply_receipt";
16858
+ refiner_outcome: "refiner_outcome";
16672
16859
  }>;
16673
16860
  artifact: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16674
16861
  }, z.core.$strict>,
@@ -16678,10 +16865,10 @@ declare const HostStorageRequestSchema: z.ZodDiscriminatedUnion<[
16678
16865
  kind: z.ZodEnum<{
16679
16866
  trigger_decision: "trigger_decision";
16680
16867
  route_decision: "route_decision";
16681
- refiner_outcome: "refiner_outcome";
16682
16868
  proposal: "proposal";
16683
16869
  targeted_validation: "targeted_validation";
16684
16870
  apply_receipt: "apply_receipt";
16871
+ refiner_outcome: "refiner_outcome";
16685
16872
  }>;
16686
16873
  before: z.ZodNullable<z.ZodObject<{
16687
16874
  createdAt: z.ZodString;
@@ -19027,6 +19214,7 @@ declare const TasksetPackageSchema: z.ZodObject<{
19027
19214
  revision: z.ZodNumber;
19028
19215
  name: z.ZodString;
19029
19216
  description: z.ZodString;
19217
+ feedbackKey: z.ZodOptional<z.ZodString>;
19030
19218
  implementation: z.ZodUnion<readonly [
19031
19219
  z.ZodObject<{
19032
19220
  kind: z.ZodEnum<{
@@ -20623,6 +20811,7 @@ declare function prepareImportedTasksetPackage(input: {
20623
20811
  visibility: "policy" | "verifier" | "host_private";
20624
20812
  }[];
20625
20813
  contentHash: string;
20814
+ feedbackKey?: string | undefined;
20626
20815
  fixtureSetRef?: {
20627
20816
  id: string;
20628
20817
  path: string;
@@ -23628,6 +23817,7 @@ declare const ModelTasksetPackageSchema: z.ZodObject<{
23628
23817
  revision: z.ZodNumber;
23629
23818
  name: z.ZodString;
23630
23819
  description: z.ZodString;
23820
+ feedbackKey: z.ZodOptional<z.ZodString>;
23631
23821
  implementation: z.ZodUnion<readonly [
23632
23822
  z.ZodObject<{
23633
23823
  kind: z.ZodEnum<{
@@ -25728,6 +25918,7 @@ declare function prepareModelStarterTaskset(input: {
25728
25918
  visibility: "policy" | "verifier" | "host_private";
25729
25919
  }[];
25730
25920
  contentHash: string;
25921
+ feedbackKey?: string | undefined;
25731
25922
  fixtureSetRef?: {
25732
25923
  id: string;
25733
25924
  path: string;
@@ -28391,6 +28582,7 @@ declare class SqliteModelConfigurationStore extends SqliteModelBatchReviewStore
28391
28582
  visibility: "policy" | "verifier" | "host_private";
28392
28583
  }[];
28393
28584
  contentHash: string;
28585
+ feedbackKey?: string | undefined;
28394
28586
  fixtureSetRef?: {
28395
28587
  id: string;
28396
28588
  path: string;
@@ -29834,6 +30026,7 @@ type RuntimeEventRecentWindow = {
29834
30026
  limit: number;
29835
30027
  };
29836
30028
  declare class SqliteStore extends SqliteTaskInboxStore implements RuntimeHistoryStorage {
30029
+ readonly harnessStoragePlacement: "local";
29837
30030
  snapshot(): Promise<StoreData>;
29838
30031
  sessionShells(): Promise<Session[]>;
29839
30032
  getSession(sessionId: string): Promise<Session | null>;
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
2
- import{Hc as r}from"./chunks/chunk-VL553I5E.js";import"./chunks/chunk-BRJKTOMI.js";import{I as p,j as e}from"./chunks/chunk-XR6ZLKVW.js";import"./chunks/chunk-JLWAK5PS.js";import"./chunks/chunk-PMXE4CAA.js";import"./chunks/chunk-SRQVXHSM.js";import"./chunks/chunk-77BXXOHW.js";import"./chunks/chunk-TBX3Z7TX.js";import"./chunks/chunk-L3KS6MOV.js";import"./chunks/chunk-XEOEKFG6.js";import"./chunks/chunk-QWENRTVW.js";import"./chunks/chunk-6MI4KKWF.js";import"./chunks/chunk-JFSDNQHW.js";import"./chunks/chunk-SDO4FC4Q.js";import"./chunks/chunk-IR3YJWPW.js";import"./chunks/chunk-B5LKUQGM.js";import"./chunks/chunk-MJC26GOX.js";import"./chunks/chunk-5BFWDFPX.js";import"./chunks/chunk-6FA3GG5B.js";import"./chunks/chunk-IFP6W4OW.js";import"./chunks/chunk-ES2ISFJC.js";import"./chunks/chunk-H7IWJN7L.js";import"./chunks/chunk-FTQLQJQV.js";export{e as AGENT_PROTOCOL_VERSION,r as createOpenPondAppServer,p as runAppServerJsonl};
2
+ import{Hc as r}from"./chunks/chunk-SL7XLTIT.js";import"./chunks/chunk-3I5BMVJI.js";import{e as p}from"./chunks/chunk-XISNUB62.js";import"./chunks/chunk-DXOOJFFU.js";import"./chunks/chunk-I6DQSOSF.js";import"./chunks/chunk-FQOVC2GR.js";import{i as e}from"./chunks/chunk-PKBU37CH.js";import"./chunks/chunk-Z3RBK6LN.js";import"./chunks/chunk-BLXEK5F7.js";import"./chunks/chunk-FOW3LI6G.js";import"./chunks/chunk-L3KS6MOV.js";import"./chunks/chunk-XEOEKFG6.js";import"./chunks/chunk-DAOLQUAK.js";import"./chunks/chunk-6MI4KKWF.js";import"./chunks/chunk-DG4DIFF4.js";import"./chunks/chunk-SDO4FC4Q.js";import"./chunks/chunk-IR3YJWPW.js";import"./chunks/chunk-IYROEHYB.js";import"./chunks/chunk-MJC26GOX.js";import"./chunks/chunk-2O5UZOYL.js";import"./chunks/chunk-QUNRWDVO.js";import"./chunks/chunk-6FA3GG5B.js";import"./chunks/chunk-L6NNQUAT.js";import"./chunks/chunk-HZP5U2AA.js";import"./chunks/chunk-ES2ISFJC.js";import"./chunks/chunk-H7IWJN7L.js";import"./chunks/chunk-FTQLQJQV.js";export{e as AGENT_PROTOCOL_VERSION,r as createOpenPondAppServer,p as runAppServerJsonl};
@@ -0,0 +1,2 @@
1
+ import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
2
+ import{a as v}from"./chunk-FFEI7IRU.js";import"./chunk-XWPC3AN4.js";import{b as R,c as p,d as m}from"./chunk-XEOEKFG6.js";import{a as O}from"./chunk-TZ6N7WFI.js";import{d as P}from"./chunk-6EAQL7YX.js";import"./chunk-GLUWATL5.js";import"./chunk-IYROEHYB.js";import"./chunk-MJC26GOX.js";import"./chunk-2O5UZOYL.js";import"./chunk-QUNRWDVO.js";import"./chunk-L6NNQUAT.js";import"./chunk-HZP5U2AA.js";import"./chunk-ES2ISFJC.js";import"./chunk-H7IWJN7L.js";import{f as b}from"./chunk-3M53YXEI.js";import{a as c}from"./chunk-FTQLQJQV.js";import{promises as $,watch as C}from"node:fs";import y from"node:path";import{execFile as J}from"node:child_process";import{promisify as k}from"node:util";var K=k(J);async function G(t,n){let e=n[0]??"check",o=y.resolve(i(t,"cwd")??process.cwd()),l=i(t,"sourceDirectory"),u=i(t,"outputDirectory"),d=b(t.json);if(e==="check"||e==="build"){let r=await p({projectRoot:o,sourceDirectory:l,outputDirectory:u});if(d){console.log(JSON.stringify({status:"passed",actionCount:r.registry.actions.length,registry:r.registry,manifest:r.manifest,outputDirectory:r.outputDirectory},null,2));return}console.log(`${e==="check"?"Validated":"Built"} ${r.registry.actions.length} Project Action${r.registry.actions.length===1?"":"s"}.`),console.log(`Registry: ${r.registryPath}`),console.log(`Bundle: ${r.bundlePath}`);return}if(e==="run"){let r=n[1];if(!r)throw new Error("usage: openpond actions run <action-id> [--input JSON|--input-file PATH]");let a=await m({projectRoot:o,sourceDirectory:l,outputDirectory:u,build:"always"}).run({actionId:r,input:await I(t,o),timeoutMs:A(t,"timeoutMs")});console.log(JSON.stringify(a,null,2));return}if(e==="dev"){let r=n[1]??null;await _({projectRoot:o,sourceDirectory:l,outputDirectory:u,actionId:r,options:t,json:d});return}if(e==="publish"){let r=j(t,"projectId"),s=j(t,"teamId"),a=i(t,"apiKey"),w=process.env.OPENPOND_API_KEY?.trim()||null,g=a||w?null:await P({account:i(t,"account")}),h=a??w??(g?v(g):null);if(!h)throw new Error("OpenPond API key is required. Select a saved OpenPond account, set OPENPOND_API_KEY, or pass --api-key.");let N=await p({projectRoot:o,sourceDirectory:l,outputDirectory:u}),E=i(t,"sourceCommitSha")??await D(o,["rev-parse","HEAD"]),S=i(t,"sourceRef")??await D(o,["rev-parse","--abbrev-ref","HEAD"]),f=await O({apiKey:h,baseUrl:i(t,"baseUrl")??(process.env.OPENPOND_API_URL?.trim()||g?.apiBaseUrl)}).actions.publish({projectId:r,teamId:s,sourceRef:S,sourceCommitSha:E,build:N});console.log(d?JSON.stringify({release:f},null,2):`Published Project Actions release ${f.id} from ${f.sourceCommitSha}.`);return}throw new Error("usage: openpond actions <check|build|run|dev|publish> [action-id]")}c(G,"runProjectActionsCommand");async function _(t){let n=!1,e=!1,o=c(async()=>{if(n){e=!0;return}n=!0;try{let r=m({projectRoot:t.projectRoot,sourceDirectory:t.sourceDirectory,outputDirectory:t.outputDirectory,build:"always"});if(t.actionId){let s=await r.run({actionId:t.actionId,input:await I(t.options,t.projectRoot),timeoutMs:A(t.options,"timeoutMs")});console.log(JSON.stringify(s,null,2))}else{let s=await r.build(),a={status:"ready",actionCount:s.registry.actions.length,bundleHash:s.manifest.bundleHash};console.log(t.json?JSON.stringify(a):`Ready with ${a.actionCount} Project Action${a.actionCount===1?"":"s"}.`)}}catch(r){console.error(r instanceof Error?r.message:String(r))}finally{n=!1,e&&(e=!1,await o())}},"execute");await o();let l=await R(t.projectRoot),u=y.resolve(t.projectRoot,t.sourceDirectory??l.sourceDirectory??"openpond/actions");console.log(`Watching ${u}`);let d=C(u,{recursive:!0},()=>{setTimeout(()=>{o()},50)});await new Promise(r=>{let s=c(()=>{d.close(),r()},"stop");process.once("SIGINT",s),process.once("SIGTERM",s)})}c(_,"runDev");async function I(t,n){let e=i(t,"input"),o=i(t,"inputFile");if(e&&o)throw new Error("Use either --input or --input-file, not both.");return e?JSON.parse(e):o?JSON.parse(await $.readFile(y.resolve(n,o),"utf8")):{}}c(I,"actionInput");function i(t,n){let e=t[n];return typeof e=="string"&&e.trim()?e.trim():void 0}c(i,"stringOption");function j(t,n){let e=i(t,n);if(!e)throw new Error(`--${n.replace(/[A-Z]/g,o=>`-${o.toLowerCase()}`)} is required.`);return e}c(j,"requiredOption");async function D(t,n){let{stdout:e}=await K("git",n,{cwd:t}),o=e.trim();if(!o)throw new Error(`git ${n.join(" ")} returned no value.`);return o}c(D,"gitValue");function A(t,n){let e=i(t,n);if(e===void 0)return;let o=Number(e);if(!Number.isInteger(o)||o<=0)throw new Error(`--${n} must be a positive integer.`);return o}c(A,"integerOption");export{G as runProjectActionsCommand};
@@ -1,3 +1,3 @@
1
1
  import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
2
- import{u as m}from"./chunk-MXLB6MEW.js";import"./chunk-XCTFXXVY.js";import"./chunk-BSHAIAXY.js";import"./chunk-XWPC3AN4.js";import"./chunk-OGPHXXCD.js";import"./chunk-BAKCGJ5D.js";import"./chunk-Z6F6PYF4.js";import"./chunk-QPZNN5Q3.js";import"./chunk-GLUWATL5.js";import"./chunk-B5LKUQGM.js";import"./chunk-MJC26GOX.js";import"./chunk-5BFWDFPX.js";import{a as l}from"./chunk-PZ2ZILPN.js";import"./chunk-IFP6W4OW.js";import"./chunk-ES2ISFJC.js";import"./chunk-H7IWJN7L.js";import"./chunk-E4U7LXSW.js";import"./chunk-3M53YXEI.js";import{a as i}from"./chunk-FTQLQJQV.js";import{existsSync as c}from"node:fs";import{createRequire as v}from"node:module";import s from"node:path";import{fileURLToPath as E}from"node:url";var p="24.18.0";function N(e=process.versions.node){let r=/^(\d+)\.(\d+)\.(\d+)/.exec(e),n=r?Number(r[1]):Number.NaN,o=r?Number(r[2]):Number.NaN;return n===24&&o>=18?null:[`OpenPond TUI requires Node.js ${p} or newer in the Node 24 release line; detected Node.js ${e}.`,`Switch Node versions and retry (with nvm: \`nvm install ${p} && nvm use ${p}\`).`].join(`
2
+ import{u as m}from"./chunk-5YUITAUN.js";import"./chunk-FFEI7IRU.js";import"./chunk-BSHAIAXY.js";import"./chunk-XWPC3AN4.js";import"./chunk-OGPHXXCD.js";import"./chunk-TZ6N7WFI.js";import"./chunk-UJLZRM2M.js";import"./chunk-6EAQL7YX.js";import"./chunk-GLUWATL5.js";import"./chunk-IYROEHYB.js";import"./chunk-MJC26GOX.js";import"./chunk-2O5UZOYL.js";import"./chunk-QUNRWDVO.js";import{a as l}from"./chunk-XLVFY2BA.js";import"./chunk-L6NNQUAT.js";import"./chunk-HZP5U2AA.js";import"./chunk-ES2ISFJC.js";import"./chunk-H7IWJN7L.js";import"./chunk-3LG4G5JR.js";import"./chunk-3M53YXEI.js";import{a as i}from"./chunk-FTQLQJQV.js";import{existsSync as c}from"node:fs";import{createRequire as v}from"node:module";import s from"node:path";import{fileURLToPath as E}from"node:url";var p="24.18.0";function N(e=process.versions.node){let r=/^(\d+)\.(\d+)\.(\d+)/.exec(e),n=r?Number(r[1]):Number.NaN,o=r?Number(r[2]):Number.NaN;return n===24&&o>=18?null:[`OpenPond TUI requires Node.js ${p} or newer in the Node 24 release line; detected Node.js ${e}.`,`Switch Node versions and retry (with nvm: \`nvm install ${p} && nvm use ${p}\`).`].join(`
3
3
  `)}i(N,"openPondTuiNodeRuntimeMessage");var u=s.dirname(E(import.meta.url)),O=class extends Error{constructor(n,o){super(n);this.exitCode=o;this.name="OpenPondChildProcessExitError"}exitCode;static{i(this,"OpenPondChildProcessExitError")}};async function F(e,r,n){let o=f(e==="app-server"?"app-server":"server"),t=[...o.args,e,...P(r),...n];e==="web"&&t.push(r.noOpen===!0||r.noOpen==="true"?"--print-access-url":"--open-browser");let a=e==="web"&&typeof r.webRoot!="string"?C():null;a&&t.push("--web-root",a),await w(o.runner,t,e==="app-server"?process.cwd():o.cwd)}i(F,"runOpenPondServerCommand");async function q(e,r){b(e);let n=N();if(n)throw new l(n);let o=f("terminal"),t=f("server"),a=[...o.args,"chat",...P(R(e)),...r];await w(o.runner,a,process.cwd(),{OPENPOND_SERVER_RUNNER:t.runner,OPENPOND_SERVER_ARGS:JSON.stringify(t.args),OPENPOND_SERVER_CWD:t.cwd})}i(q,"runOpenPondTerminalCommand");function h(){if(process.env.OPENPOND_FORCE_EMBEDDED_COMPANIONS==="1")return null;let e=[s.resolve(u,"../../../.."),s.resolve(u,"../../.."),process.cwd()];for(let r of e)if(c(s.join(r,"apps","server"))&&c(s.join(r,"apps","terminal")))return r;return null}i(h,"findWorkspaceRoot");function f(e){let r=h();if(r){let t=e==="app-server"?s.join(r,"apps","server","src","app-server-entry.ts"):s.join(r,"apps",e,"src","index.ts");if(c(t)){let d=v(s.join(r,"package.json"));return{runner:process.execPath,args:[d.resolve("tsx/cli"),t],cwd:r}}let a=e==="app-server"?s.join(r,"apps","server","dist","app-server-entry.js"):s.join(r,"apps",e,"dist","index.js");if(c(a))return{runner:process.execPath,args:[a],cwd:r}}let n=_(),o=e==="app-server"?"__app-server":e==="server"?"__server":"__terminal";if(n)return{runner:process.execPath,args:[n,o],cwd:s.dirname(s.dirname(n))};if(D())return{runner:process.execPath,args:[o],cwd:process.cwd()};throw new Error(`Could not find the installed OpenPond ${e} companion.`)}i(f,"resolveAppEntrypoint");function _(){for(let e of[s.resolve(u,"../cli.js"),s.resolve(u,"../../dist/cli.js")])if(c(e))return e;return null}i(_,"installedCliEntrypoint");function C(){if(!1){let n=s.join(s.dirname(process.execPath),"web");return c(s.join(n,"index.html"))?n:null}let e=_();if(!e)return null;let r=s.join(s.dirname(e),"web");return c(s.join(r,"index.html"))?r:null}i(C,"packagedWebRoot");function D(){if(!1)return!0;let e=process.argv[1];return!!(e&&s.resolve(e)===s.resolve(process.execPath))}i(D,"isCompiledExecutable");function P(e){let r=new Set(["account","handle","baseUrl","noOpen","tui","home"]),n=[];for(let[o,t]of Object.entries(e)){if(r.has(o))continue;let a=`--${o.replace(/[A-Z]/g,d=>`-${d.toLowerCase()}`)}`;if(t===!0||t==="true")n.push(a);else{if(t===!1||t==="false")continue;n.push(a,t)}}return n}i(P,"forwardedOptions");function R(e){let r=process.cwd(),n={...e};return typeof e.cwd=="string"&&e.cwd.trim().length>0&&(n.cwd=s.resolve(r,e.cwd)),typeof e.messageFile=="string"&&e.messageFile.trim().length>0&&(n.messageFile=s.resolve(r,e.messageFile)),n}i(R,"normalizeTerminalPaths");function b(e){if(typeof e.approvalPolicy=="string"&&!["on-request","never","on-failure","untrusted"].includes(e.approvalPolicy))throw new l("approval-policy must be on-request, never, on-failure, or untrusted");if(typeof e.sandbox=="string"&&!["read-only","workspace-write","danger-full-access"].includes(e.sandbox))throw new l("sandbox must be read-only, workspace-write, or danger-full-access")}i(b,"validateTerminalForwardingOptions");async function w(e,r,n,o){let t=await m(e,r,{cwd:n,detached:!1,env:o,inherit:!0,timeoutMs:0});if(t.code!==0||t.signal){let a=t.signal?`signal ${t.signal}`:`code ${t.code??"unknown"}`;throw new O(`${s.basename(e)} exited with ${a}`,t.code??1)}}i(w,"runChild");export{O as OpenPondChildProcessExitError,F as runOpenPondServerCommand,q as runOpenPondTerminalCommand};
@@ -0,0 +1,2 @@
1
+ import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
2
+ import{Gc as c,Hc as d}from"./chunk-SL7XLTIT.js";import"./chunk-3I5BMVJI.js";import{e as b}from"./chunk-XISNUB62.js";import"./chunk-DXOOJFFU.js";import"./chunk-I6DQSOSF.js";import"./chunk-FQOVC2GR.js";import{i as a}from"./chunk-PKBU37CH.js";import"./chunk-Z3RBK6LN.js";import"./chunk-BLXEK5F7.js";import"./chunk-FOW3LI6G.js";import"./chunk-L3KS6MOV.js";import"./chunk-XEOEKFG6.js";import"./chunk-DAOLQUAK.js";import"./chunk-6MI4KKWF.js";import"./chunk-DG4DIFF4.js";import"./chunk-SDO4FC4Q.js";import"./chunk-IR3YJWPW.js";import"./chunk-IYROEHYB.js";import"./chunk-MJC26GOX.js";import"./chunk-2O5UZOYL.js";import"./chunk-QUNRWDVO.js";import"./chunk-6FA3GG5B.js";import"./chunk-L6NNQUAT.js";import"./chunk-HZP5U2AA.js";import"./chunk-ES2ISFJC.js";import"./chunk-H7IWJN7L.js";import"./chunk-FTQLQJQV.js";export{a as AGENT_PROTOCOL_VERSION,c as APP_SERVER_COMPOSITION,d as createOpenPondAppServer,b as runAppServerJsonl};
@@ -0,0 +1,2 @@
1
+ import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
2
+ import{f as $,g as J,h as L,i as v,j as q}from"./chunk-5YUITAUN.js";import{c as g}from"./chunk-FFEI7IRU.js";import{f as m,h as y}from"./chunk-BSHAIAXY.js";import"./chunk-XWPC3AN4.js";import{b as H,c as Q}from"./chunk-22UARBPW.js";import"./chunk-OGPHXXCD.js";import"./chunk-TZ6N7WFI.js";import{J as C,K as G,L as k,O as W,Q as M,S as z,T as F,c as D,m as K,r as V,s as _}from"./chunk-UJLZRM2M.js";import{d as f}from"./chunk-6EAQL7YX.js";import"./chunk-GLUWATL5.js";import"./chunk-IYROEHYB.js";import"./chunk-MJC26GOX.js";import"./chunk-2O5UZOYL.js";import"./chunk-QUNRWDVO.js";import"./chunk-XLVFY2BA.js";import"./chunk-L6NNQUAT.js";import"./chunk-HZP5U2AA.js";import"./chunk-ES2ISFJC.js";import"./chunk-H7IWJN7L.js";import"./chunk-3LG4G5JR.js";import{a as S,f as w,j as T,k as j}from"./chunk-3M53YXEI.js";import{a as p}from"./chunk-FTQLQJQV.js";async function ie(){let e=await f(),s=m(e),t=await g(e,s),n=y(e),r=await L({apiBase:n,apiKey:t});console.log(JSON.stringify(r,null,2))}p(ie,"runAppsTools");async function se(e){let s=await f(),t=m(s),n=y(s),r=await g(s,t),i=typeof e.handle=="string"?String(e.handle):void 0,o=i?$(i):null,c=e.refresh!==void 0?w(e.refresh):void 0,l=await J({apiBase:n,apiKey:r,forceRefresh:c}),u=o?l.filter(a=>$(a.handle||a.gitOwner)===o):l;if(u.length===0){console.log("no apps found");return}if(w(e.json)){console.log(JSON.stringify({apps:u},null,2));return}for(let a of u){let d=a.handle||a.gitOwner||"unknown",h=a.repo||a.gitRepo||a.id,B=a.latestDeployment?.status||"no-deploy",R=a.latestDeployment?.gitBranch||a.defaultBranch||"-",I=a.codeVisibility||"unknown",E=a.sandbox?"yes":"no";console.log(`${d}/${h} ${B} ${R} code=${I} sandbox=${E} ${a.id}`)}}p(se,"runAppsList");async function oe(e,s){let t=typeof e.visibility=="string"?e.visibility.trim():typeof e.codeVisibility=="string"?e.codeVisibility.trim():"";if(t!=="public"&&t!=="private")throw new Error("usage: apps code-visibility <handle>/<repo> --visibility public|private");let n=await f(),r=m(n),i=y(n),o=await g(n,r),{app:c,handle:l,repo:u}=await v(i,o,s),a=await K(i,o,c.id,t);console.log(`${l}/${u} code_visibility=${a.app?.codeVisibility??t} app_id=${c.id}`)}p(oe,"runAppsCodeVisibility");async function ae(e){let s=await f(),t=m(s),n=await g(s,t),r=y(s),i=typeof e.appId=="string"?String(e.appId):void 0,o=await G(r,n,{appId:i});console.log(JSON.stringify(o,null,2))}p(ae,"runAppsPerformance");async function ce(e,s){let t=await f(),n=m(t),r=y(t),i=await g(t,n),{app:o}=await v(r,i,s),c=await k(r,i,o.id);console.log(JSON.stringify(c,null,2))}p(ce,"runAppsSummary");async function le(e,s,t,n){let r=(typeof e.prompt=="string"?e.prompt:null)||n.join(" ");if(!r.trim())throw new Error("usage: apps assistant <plan|performance> <handle>/<repo> --prompt <text>");let i=await f(),o=m(i),c=y(i),l=await g(i,o),{app:u}=await v(c,l,t),a=await W(c,l,{appId:u.id,mode:s,prompt:r.trim()});console.log(JSON.stringify(a,null,2))}p(le,"runAppsAssistant");async function de(e,s){let t=await f(),n=m(t),r=await g(t,n),i=y(t),o=(typeof e.prompt=="string"?e.prompt:null)||s.join(" ");if(!o.trim())throw new Error("usage: apps agent create --prompt <text> [--team-id <id>]");let c=typeof e.templateRepoUrl=="string"?e.templateRepoUrl:void 0,l=typeof e.templateBranch=="string"?e.templateBranch:void 0,u=typeof e.templateLocalPath=="string"?e.templateLocalPath:void 0,a=typeof e.teamId=="string"&&e.teamId.trim()?e.teamId.trim():void 0;if(u&&String(u).trim().length>0)throw new Error("templateLocalPath is not supported; use templateRepoUrl");let d=typeof e.env=="string"?S(e.env,"env"):void 0;if(d){if(typeof d!="object"||Array.isArray(d))throw new Error("env must be a JSON object");for(let[b,A]of Object.entries(d))if(typeof A!="string")throw new Error(`env value for ${b} must be a string`)}let h=c||l||d?{templateRepoUrl:c,templateBranch:l,envVars:d}:void 0,B=typeof e.deployEnvironment=="string"?e.deployEnvironment==="preview"?"preview":"production":void 0,R=e.deployDisabled!==void 0?w(e.deployDisabled):void 0,I=e.streamDeployLogs!==void 0?w(e.streamDeployLogs):!0,E=await C(i,r,{prompt:o.trim(),...a?{teamId:a}:{},...h?{template:h}:{},...B?{deployEnvironment:B}:{},...R!==void 0?{deployDisabled:R}:{},streamDeployLogs:I});if(!E.ok){let b=await E.text().catch(()=>"");throw new Error(`agent create failed: ${E.status} ${b}`)}let N=null,O=null,P=null;await H(E,{onConversationId:p(b=>{N=b},"onConversationId"),onItems:p(b=>{for(let A of b){let U=Q(A);U&&console.log(U);let x=A;!O&&typeof x.appId=="string"&&(O=x.appId),!P&&typeof x.deploymentId=="string"&&(P=x.deploymentId)}},"onItems")}),N&&console.log(`conversation_id: ${N}`),O&&console.log(`app_id: ${O}`),P&&console.log(`deployment_id: ${P}`);try{await J({apiBase:i,apiKey:r,forceRefresh:!0}),await L({apiBase:i,apiKey:r,forceRefresh:!0})}catch(b){console.warn("cache refresh failed",b)}}p(de,"runAppsAgentCreate");async function pe(e,s,t,n){let r=await f(),i=m(r),o=await g(r,i),c=y(r),l=typeof e.method=="string"?String(e.method).toUpperCase():void 0,u=l&&["GET","POST","PUT","DELETE"].includes(l)?l:void 0;if(l&&!u)throw new Error("method must be GET, POST, PUT, or DELETE");let a=typeof e.body=="string"?S(String(e.body),"body"):void 0,d=typeof e.headers=="string"?S(String(e.headers),"headers"):void 0,h=typeof e.scheduleId=="string"?String(e.scheduleId):void 0,B=w(e.notifyEmail),R=w(e.summary)||w(e.withSummary),I=await M(c,o,{appId:s,deploymentId:t,toolName:n,scheduleId:h,method:u,body:a,headers:d,notifyEmail:B||void 0});if(console.log(JSON.stringify(I,null,2)),R&&I.ok){let E=await k(c,o,s);console.log(JSON.stringify({summary:E},null,2))}}p(pe,"runAppsToolsExecute");async function ue(e,s){let t=typeof e.env=="string"?e.env:typeof e.vars=="string"?e.vars:typeof e.envVars=="string"?e.envVars:null;if(!t)throw new Error("usage: apps env set <handle>/<repo> --env <json>");let n=S(t,"env");if(!n||typeof n!="object"||Array.isArray(n))throw new Error("env must be a JSON object");let r={};for(let[d,h]of Object.entries(n)){if(typeof h!="string")throw new Error(`env value for ${d} must be a string`);if(!d.startsWith("OPENTOOL_PUBLIC_"))throw new Error("only OPENTOOL_PUBLIC_ env vars can be set");r[d]=h}let i=await f(),o=m(i),c=y(i),l=await g(i,o),{app:u}=await v(c,l,s),a=await V(c,l,u.id,{envVars:r});console.log(JSON.stringify(a,null,2))}p(ue,"runAppsEnvSet");async function fe(e,s){let t=await f(),n=m(t),r=y(t),i=await g(t,n),{app:o}=await v(r,i,s),c=await _(r,i,o.id);console.log(JSON.stringify(c,null,2))}p(fe,"runAppsEnvGet");async function ge(e,s){let t=await f(),n=m(t),r=y(t),i=await g(t,n),{app:o,handle:c,repo:l}=await v(r,i,s),u=typeof e.env=="string"?e.env:typeof e.environment=="string"?e.environment:void 0,a=j(u),d=await D(r,i,o.id,{environment:a});console.log(JSON.stringify(d,null,2)),(w(e.watch)||w(e.wait)||w(e.follow))&&await q({baseUrl:r,apiKey:i,deploymentId:d.deploymentId,prefix:`[${c}/${l}] `,intervalMs:e.interval?Number(e.interval):void 0,timeoutMs:e.timeout?Number(e.timeout):void 0})}p(ge,"runAppsDeploy");function X(e){let s={};if(typeof e.params=="string"){let n=S(String(e.params),"params");if(!n||typeof n!="object"||Array.isArray(n))throw new Error("params must be a JSON object");for(let[r,i]of Object.entries(n))i!==void 0&&(s[r]=typeof i=="string"?i:JSON.stringify(i))}let t=p((n,r)=>{r===void 0||r===""||(s[n]=r)},"addParam");if(t("source",typeof e.source=="string"?e.source.trim():void 0),t("symbol",typeof e.symbol=="string"?e.symbol.trim():void 0),t("cursor",typeof e.cursor=="string"?e.cursor.trim():void 0),t("status",typeof e.status=="string"?e.status.trim():void 0),t("backtestRunId",typeof e.runId=="string"?e.runId.trim():typeof e.backtestRunId=="string"?e.backtestRunId.trim():void 0),t("since",T(e.since,"since")),t("until",T(e.until,"until")),typeof e.limit=="string"&&e.limit.trim().length>0){let n=Number.parseInt(e.limit,10);if(!Number.isFinite(n))throw new Error("limit must be a number");t("limit",String(n))}return Object.keys(s).length?s:void 0}p(X,"resolveBacktestEventsParams");async function me(e,s){let t=await f(),n=m(t),r=await g(t,n),i=y(t),{app:o}=await v(i,r,s),c={...X(e)??{},appId:o.id},l=await z(i,r,{method:"GET",query:c});console.log(JSON.stringify(l,null,2))}p(me,"runBacktestEvents");async function ye(e,s){let t=typeof e.runId=="string"?e.runId.trim():typeof e.backtestRunId=="string"?e.backtestRunId.trim():"";if(!t)throw new Error("usage: backtest get <handle>/<repo> --run-id <id>");let n=await f(),r=m(n),i=await g(n,r),o=y(n),{app:c}=await v(o,i,s),l=await F(o,i,{appId:c.id,runId:t});console.log(JSON.stringify(l,null,2))}p(ye,"runBacktestGet");export{X as resolveBacktestEventsParams,de as runAppsAgentCreate,le as runAppsAssistant,oe as runAppsCodeVisibility,ge as runAppsDeploy,fe as runAppsEnvGet,ue as runAppsEnvSet,se as runAppsList,ae as runAppsPerformance,ce as runAppsSummary,ie as runAppsTools,pe as runAppsToolsExecute,me as runBacktestEvents,ye as runBacktestGet};