openpond 0.0.30-bootstrap.0

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 (193) hide show
  1. package/CHANGELOG.md +128 -0
  2. package/LICENSE +21 -0
  3. package/README.md +162 -0
  4. package/RELEASE.md +20 -0
  5. package/dist/api/core.d.ts +22 -0
  6. package/dist/api/deployments.d.ts +30 -0
  7. package/dist/api/types.d.ts +624 -0
  8. package/dist/api.d.ts +90 -0
  9. package/dist/cache.d.ts +22 -0
  10. package/dist/chunks/app-layer-YKXEQGOW.js +163 -0
  11. package/dist/chunks/apps-GGSIN2ZF.js +539 -0
  12. package/dist/chunks/chunk-3CC6MH35.js +1663 -0
  13. package/dist/chunks/chunk-3Y4EL3P6.js +1090 -0
  14. package/dist/chunks/chunk-4HYJG2JE.js +3875 -0
  15. package/dist/chunks/chunk-5G4E547X.js +294 -0
  16. package/dist/chunks/chunk-74O6FGVN.js +598 -0
  17. package/dist/chunks/chunk-AUJLPKGI.js +632 -0
  18. package/dist/chunks/chunk-BYAPLT37.js +744 -0
  19. package/dist/chunks/chunk-FUP7EGT7.js +1845 -0
  20. package/dist/chunks/chunk-I6HN3ZGW.js +88 -0
  21. package/dist/chunks/chunk-KRKGHVMQ.js +294 -0
  22. package/dist/chunks/chunk-LHYK6QO2.js +1300 -0
  23. package/dist/chunks/chunk-NLBKZZEK.js +224 -0
  24. package/dist/chunks/chunk-OG75GMVO.js +1 -0
  25. package/dist/chunks/chunk-Q57SVPEH.js +11663 -0
  26. package/dist/chunks/chunk-UACZUFIA.js +47 -0
  27. package/dist/chunks/chunk-VQX33YAG.js +5135 -0
  28. package/dist/chunks/chunk-W5GKHH77.js +168 -0
  29. package/dist/chunks/chunk-WYDVQOBL.js +17581 -0
  30. package/dist/chunks/chunk-XSAXENQD.js +4167 -0
  31. package/dist/chunks/chunk-Y6G6WRTG.js +210 -0
  32. package/dist/chunks/cli-NVKNE4AZ.js +11 -0
  33. package/dist/chunks/cli-X3HPLSOV.js +19 -0
  34. package/dist/chunks/core-commands-IM2UKLU4.js +41 -0
  35. package/dist/chunks/extend-YXCBULPO.js +84 -0
  36. package/dist/chunks/harness-GMK6IY2U.js +140 -0
  37. package/dist/chunks/help-LMH5FGT2.js +65 -0
  38. package/dist/chunks/opchat-BWXZ32GX.js +169 -0
  39. package/dist/chunks/organizations-4ISQRGMQ.js +738 -0
  40. package/dist/chunks/profile-NLDZDT3L.js +1110 -0
  41. package/dist/chunks/project-agent-ZPVO25HA.js +892 -0
  42. package/dist/chunks/sandbox-command-5GFJ2U3V.js +1652 -0
  43. package/dist/chunks/sandbox-template-LZN4F55Z.js +1646 -0
  44. package/dist/chunks/src-3RBI4DNN.js +3595 -0
  45. package/dist/chunks/src-EYXQS6XD.js +73427 -0
  46. package/dist/chunks/teams-bot-WP3FHKGA.js +137 -0
  47. package/dist/cli.js +77 -0
  48. package/dist/client-types.d.ts +222 -0
  49. package/dist/client.d.ts +19 -0
  50. package/dist/config.d.ts +184 -0
  51. package/dist/hosted-chat.d.ts +162 -0
  52. package/dist/index.d.ts +5 -0
  53. package/dist/index.js +25481 -0
  54. package/dist/indicators.d.ts +38 -0
  55. package/dist/opchat-smoke.d.ts +47 -0
  56. package/dist/private-json-file.d.ts +3 -0
  57. package/dist/profile/local-profile-types.d.ts +160 -0
  58. package/dist/profile/local-profile.d.ts +69 -0
  59. package/dist/profile/profile-catalog.d.ts +14 -0
  60. package/dist/profile/profile-git.d.ts +17 -0
  61. package/dist/profile/profile-promotion.d.ts +21 -0
  62. package/dist/profile/profile-setup-gate.d.ts +22 -0
  63. package/dist/profile/profile-skills.d.ts +30 -0
  64. package/dist/profile/profile-source-upload.d.ts +29 -0
  65. package/dist/profile/source-upload-cache.d.ts +29 -0
  66. package/dist/sandbox/async-request-options.d.ts +2 -0
  67. package/dist/sandbox/client-handles.d.ts +113 -0
  68. package/dist/sandbox/client.d.ts +348 -0
  69. package/dist/sandbox/runtime-handle.d.ts +36 -0
  70. package/dist/sandbox/sandbox-instance-client.d.ts +72 -0
  71. package/dist/sandbox/smoke.d.ts +3 -0
  72. package/dist/sandbox/stream.d.ts +7 -0
  73. package/dist/sandbox/types/billing.d.ts +176 -0
  74. package/dist/sandbox/types/client.d.ts +103 -0
  75. package/dist/sandbox/types/core.d.ts +140 -0
  76. package/dist/sandbox/types/index.d.ts +14 -0
  77. package/dist/sandbox/types/io.d.ts +240 -0
  78. package/dist/sandbox/types/microsoft-teams-bot.d.ts +51 -0
  79. package/dist/sandbox/types/org-project-agent.d.ts +610 -0
  80. package/dist/sandbox/types/record.d.ts +53 -0
  81. package/dist/sandbox/types/responses.d.ts +295 -0
  82. package/dist/sandbox/types/runtime-profiles.d.ts +15 -0
  83. package/dist/sandbox/types/runtime.d.ts +152 -0
  84. package/dist/sandbox/types/schedules.d.ts +141 -0
  85. package/dist/sandbox/types/snapshots.d.ts +205 -0
  86. package/dist/sandbox/types/workflow-modes.d.ts +1 -0
  87. package/dist/sandbox/types/workload-sources.d.ts +20 -0
  88. package/dist/sandbox/url.d.ts +2 -0
  89. package/dist/sandbox-template/manifest.d.ts +304 -0
  90. package/dist/sandbox-template/manifest.js +18381 -0
  91. package/dist/skills/openpond-cli/SKILL.md +49 -0
  92. package/dist/skills/openpond-desktop-harness/SKILL.md +113 -0
  93. package/dist/skills/openpond-desktop-harness/agents/openai.yaml +4 -0
  94. package/dist/skills/openpond-taskset-authoring/SKILL.md +38 -0
  95. package/dist/skills/openpond-taskset-authoring/references/graders-and-rewards.md +11 -0
  96. package/dist/skills/openpond-taskset-authoring/references/method-selection.md +12 -0
  97. package/dist/skills/openpond-taskset-authoring/references/privacy-and-provenance.md +8 -0
  98. package/dist/skills/openpond-taskset-authoring/references/task-design.md +13 -0
  99. package/dist/stream.d.ts +20 -0
  100. package/dist/types.d.ts +57 -0
  101. package/dist/urls.d.ts +4 -0
  102. package/dist/web/assets/AppsView-Bu-Nc3Ew.js +1 -0
  103. package/dist/web/assets/AppsView-DIhprTIC.css +1 -0
  104. package/dist/web/assets/BrowserSidebar-CCguQ-DR.js +1 -0
  105. package/dist/web/assets/BrowserSidebar-D9i7gQzw.css +1 -0
  106. package/dist/web/assets/CloudWorkView-DNoPIlMj.css +1 -0
  107. package/dist/web/assets/CloudWorkView-Dr3xqLE5.js +1 -0
  108. package/dist/web/assets/CommandMenu-CnodJFHD.js +1 -0
  109. package/dist/web/assets/CommandMenu-hNQCm8mw.css +1 -0
  110. package/dist/web/assets/CommunityView-CIbjNUZr.js +1 -0
  111. package/dist/web/assets/CommunityView-DSik4sd2.css +1 -0
  112. package/dist/web/assets/GetStartedView-C3ZrnEz5.css +1 -0
  113. package/dist/web/assets/GetStartedView-C8nyH_PT.js +1 -0
  114. package/dist/web/assets/LabsExtensions-GtJzxDnK.js +1 -0
  115. package/dist/web/assets/LabsProfile-DG7rWYur.js +1 -0
  116. package/dist/web/assets/LabsRoute-D6MDHBzq.js +2 -0
  117. package/dist/web/assets/LabsRoute-TEt9j1vB.css +1 -0
  118. package/dist/web/assets/LabsSignals-BfsDN86w.js +1 -0
  119. package/dist/web/assets/LabsSignals-D6iA6Ryl.css +1 -0
  120. package/dist/web/assets/NewProjectDialog-CaKiCoVS.js +1 -0
  121. package/dist/web/assets/ProfileSettingsSection-DTQS2DVL.css +1 -0
  122. package/dist/web/assets/ProfileSettingsSection-DxEzoF3K.js +1 -0
  123. package/dist/web/assets/ProfileView-CEscW7Ru.js +1 -0
  124. package/dist/web/assets/SettingsView-DwbGu8Kj.css +1 -0
  125. package/dist/web/assets/SettingsView-JIRR_FO4.js +63 -0
  126. package/dist/web/assets/TeamChatView-B5M1ThhJ.js +3 -0
  127. package/dist/web/assets/TeamChatView-Bx44q3WV.css +1 -0
  128. package/dist/web/assets/TerminalOverlay-C1iP4OS1.js +19 -0
  129. package/dist/web/assets/TerminalOverlay-DwBiZLwk.css +1 -0
  130. package/dist/web/assets/TrainingSettingsSection-BDYvI2te.js +1 -0
  131. package/dist/web/assets/TrainingView-CoCFK6W3.js +5 -0
  132. package/dist/web/assets/WorkspaceDiffPanel-CMxKQeo7.js +14 -0
  133. package/dist/web/assets/WorkspaceEnvironmentMenu-B8JJbwIz.js +32 -0
  134. package/dist/web/assets/WorkspaceEnvironmentMenu-DGIFdG3o.css +1 -0
  135. package/dist/web/assets/WorkspaceGitDialogs-B4sp9BGn.js +1 -0
  136. package/dist/web/assets/WorkspaceMonacoEditor-BBqimG5X.js +845 -0
  137. package/dist/web/assets/WorkspaceMonacoEditor-BwKcXIZw.css +1 -0
  138. package/dist/web/assets/boxes-DAaDUabq.js +1 -0
  139. package/dist/web/assets/codicon-ngg6Pgfi.ttf +0 -0
  140. package/dist/web/assets/css.worker-DBVD8oXr.js +93 -0
  141. package/dist/web/assets/cssMode-CBF1mieJ.js +1 -0
  142. package/dist/web/assets/dockerfile-BG73LgW2.js +1 -0
  143. package/dist/web/assets/editor.worker-CdQrwHl8.js +26 -0
  144. package/dist/web/assets/git-commit-horizontal-CAickXpN.js +1 -0
  145. package/dist/web/assets/git-dialogs-BZDqS1eT.css +1 -0
  146. package/dist/web/assets/html.worker-CwpTb9lJ.js +470 -0
  147. package/dist/web/assets/htmlMode-2u8OHtWO.js +1 -0
  148. package/dist/web/assets/index-BdY6A-YN.css +1 -0
  149. package/dist/web/assets/index-CU2qhUYV.js +195 -0
  150. package/dist/web/assets/index-Dz2B3-4C.js +1 -0
  151. package/dist/web/assets/info-CQNTh78o.js +1 -0
  152. package/dist/web/assets/json.worker-BoL8UZqY.js +58 -0
  153. package/dist/web/assets/jsonMode-C4CWXViX.js +7 -0
  154. package/dist/web/assets/lspLanguageFeatures-CBs_BOlB.js +4 -0
  155. package/dist/web/assets/markdown-BFxVWTOG.js +1 -0
  156. package/dist/web/assets/monaco.contribution-C1LUxAKf.js +2 -0
  157. package/dist/web/assets/monaco.contribution-Cpf6dWsh.js +2 -0
  158. package/dist/web/assets/monaco.contribution-lOXpG2xQ.js +2 -0
  159. package/dist/web/assets/monaco.contribution-sd3cFkcN.js +2 -0
  160. package/dist/web/assets/monitor-DsIswrMV.js +1 -0
  161. package/dist/web/assets/play-CeRw21NV.js +1 -0
  162. package/dist/web/assets/python-CXYq3BUl.js +1 -0
  163. package/dist/web/assets/refresh-cw-N5b_6AP5.js +1 -0
  164. package/dist/web/assets/reply-BSKjZrJg.js +1 -0
  165. package/dist/web/assets/save-D0oHH1a3.js +1 -0
  166. package/dist/web/assets/settings-lists-BEg6LMcy.css +1 -0
  167. package/dist/web/assets/shell-DiJ1NA_G.js +1 -0
  168. package/dist/web/assets/toggleHighContrast-B7NOMXDY.css +1 -0
  169. package/dist/web/assets/toggleHighContrast-DRjlcwes.js +62 -0
  170. package/dist/web/assets/training-model-data-BPrc68VG.js +1 -0
  171. package/dist/web/assets/ts.worker-BH9nVgjN.js +67718 -0
  172. package/dist/web/assets/tsMode-x-1A7ZcB.js +11 -0
  173. package/dist/web/assets/wifi-off-Dt52ofzh.js +1 -0
  174. package/dist/web/assets/workers-Ciff6Dzi.js +1 -0
  175. package/dist/web/assets/yaml-CB67Kxnz.js +1 -0
  176. package/dist/web/connected-apps/github.svg +3 -0
  177. package/dist/web/connected-apps/google.svg +6 -0
  178. package/dist/web/connected-apps/linear.svg +3 -0
  179. package/dist/web/connected-apps/microsoft.svg +6 -0
  180. package/dist/web/connected-apps/notion.svg +3 -0
  181. package/dist/web/connected-apps/openpond-mcp.svg +4 -0
  182. package/dist/web/connected-apps/slack.svg +6 -0
  183. package/dist/web/connected-apps/x.svg +3 -0
  184. package/dist/web/favicon-16x16.png +0 -0
  185. package/dist/web/favicon-32x32.png +0 -0
  186. package/dist/web/index.html +16 -0
  187. package/dist/web/openpond-icon.png +0 -0
  188. package/dist/web/openpond-wordlogo-white.png +0 -0
  189. package/dist/web/tokens/eth.svg +1 -0
  190. package/dist/web/tokens/usdc.svg +1 -0
  191. package/docs/agent-edit-check-status-json.md +132 -0
  192. package/docs/command-reference.md +695 -0
  193. package/package.json +84 -0
@@ -0,0 +1,295 @@
1
+ import type { OpenPondOrganization, OpenPondOrganizationMcpServer, OpenPondOrganizationMember, SandboxBillingStatus, SandboxBudget, SandboxCommand, SandboxCostSummary, SandboxFileEntry, SandboxFileRef, SandboxFileSearchMatch, SandboxGitBranch, SandboxGitCommit, SandboxGitDiff, SandboxGitPatchExport, SandboxGitRemoteOperation, SandboxGitStatus, SandboxIntegrationConnection, SandboxIntegrationLeaseInput, SandboxIntegrationLeaseRef, SandboxPreviewPort, SandboxPricingRateCard, SandboxProcess, SandboxPtySession, SandboxReceipt, SandboxRecord, SandboxScheduleRecord, SandboxScheduleRun, SandboxSnapshot, SandboxSnapshotValidationResult, SandboxTemplateBuildRecord, SandboxTemplateCatalogEntry } from "./index.js";
2
+ export type SandboxIntegrationConnectionsResponse = {
3
+ teamId: string;
4
+ connections: SandboxIntegrationConnection[];
5
+ };
6
+ export type SandboxIntegrationLeasesResponse = {
7
+ sandbox: SandboxRecord;
8
+ integrationLeases: SandboxIntegrationLeaseRef[];
9
+ };
10
+ export type SandboxExecResponse = {
11
+ sandbox: SandboxRecord;
12
+ command: SandboxCommand;
13
+ };
14
+ export type SandboxProcessStartResponse = {
15
+ sandbox: SandboxRecord;
16
+ process: SandboxProcess;
17
+ };
18
+ export type SandboxProcessListResponse = {
19
+ sandbox: SandboxRecord;
20
+ processes: SandboxProcess[];
21
+ };
22
+ export type SandboxProcessStatusResponse = {
23
+ sandbox: SandboxRecord;
24
+ process: SandboxProcess;
25
+ output?: string;
26
+ cursor?: number;
27
+ completed?: boolean;
28
+ };
29
+ export type SandboxProcessStopResponse = {
30
+ sandbox: SandboxRecord;
31
+ process: SandboxProcess;
32
+ };
33
+ export type SandboxPtyStartResponse = {
34
+ sandbox: SandboxRecord;
35
+ pty: SandboxPtySession;
36
+ };
37
+ export type SandboxPtyListResponse = {
38
+ sandbox: SandboxRecord;
39
+ ptys: SandboxPtySession[];
40
+ };
41
+ export type SandboxPtyStatusResponse = {
42
+ sandbox: SandboxRecord;
43
+ pty: SandboxPtySession;
44
+ output?: string;
45
+ cursor?: number;
46
+ completed?: boolean;
47
+ };
48
+ export type SandboxPtyInputResponse = {
49
+ sandbox: SandboxRecord;
50
+ pty: SandboxPtySession;
51
+ };
52
+ export type SandboxPtyStopResponse = {
53
+ sandbox: SandboxRecord;
54
+ pty: SandboxPtySession;
55
+ };
56
+ export type SandboxOpenPortResponse = {
57
+ sandbox: SandboxRecord;
58
+ preview: SandboxPreviewPort;
59
+ };
60
+ export type SandboxSnapshotResponse = {
61
+ sandbox: SandboxRecord;
62
+ snapshot: SandboxSnapshot;
63
+ };
64
+ export type SandboxSnapshotValidationResponse = {
65
+ sandbox: SandboxRecord;
66
+ snapshot: SandboxSnapshot;
67
+ validation: SandboxSnapshotValidationResult;
68
+ };
69
+ export type SandboxForkResponse = {
70
+ sandbox: SandboxRecord;
71
+ sourceSandbox: SandboxRecord;
72
+ snapshot: SandboxSnapshot | null;
73
+ };
74
+ export type SandboxTemplateLaunchResponse = SandboxForkResponse & {
75
+ template: SandboxTemplateCatalogEntry;
76
+ schedules?: SandboxScheduleRecord[];
77
+ };
78
+ export type SandboxPublishedSnapshotLaunchResponse = SandboxTemplateLaunchResponse & {
79
+ publishedSnapshot: SandboxTemplateCatalogEntry;
80
+ };
81
+ export type SandboxScheduleListResponse = {
82
+ schedules: SandboxScheduleRecord[];
83
+ };
84
+ export type SandboxScheduleResponse = {
85
+ schedule: SandboxScheduleRecord;
86
+ };
87
+ export type SandboxScheduleRunListResponse = {
88
+ runs: SandboxScheduleRun[];
89
+ };
90
+ export type SandboxScheduleRunResponse = {
91
+ schedule: SandboxScheduleRecord;
92
+ run: SandboxScheduleRun;
93
+ };
94
+ export type SandboxReplayInput = {
95
+ snapshotId: string;
96
+ sourceSandboxId?: string;
97
+ entrypoint?: string;
98
+ params?: Record<string, unknown>;
99
+ budget?: Partial<SandboxBudget>;
100
+ maxDurationSeconds?: number;
101
+ idleTimeoutSeconds?: number;
102
+ cleanup?: "stop" | "delete" | "archive";
103
+ artifactPaths?: string[];
104
+ integrationLeases?: SandboxIntegrationLeaseInput[];
105
+ idempotencyKey?: string;
106
+ };
107
+ export type SandboxReplayState = "queued" | "running" | "succeeded" | "failed" | "canceled";
108
+ export type SandboxReplayArtifact = {
109
+ path: string;
110
+ status: "captured" | "missing" | "failed";
111
+ sizeBytes: number | null;
112
+ contentsBase64?: string;
113
+ error: string | null;
114
+ };
115
+ export type SandboxReplayRecord = {
116
+ id: string;
117
+ teamId: string;
118
+ ownerUserId: string;
119
+ sourceSandboxId: string;
120
+ snapshotId: string;
121
+ sandboxId: string | null;
122
+ state: SandboxReplayState;
123
+ entrypoint: {
124
+ name: string | null;
125
+ command: string;
126
+ cwd: string | null;
127
+ };
128
+ params: Record<string, unknown>;
129
+ budget: SandboxBudget;
130
+ maxDurationSeconds: number | null;
131
+ idleTimeoutSeconds: number | null;
132
+ integrationLeases: SandboxIntegrationLeaseInput[];
133
+ artifactPaths: string[];
134
+ artifacts: SandboxReplayArtifact[];
135
+ logs: string[];
136
+ receipts: SandboxReceipt[];
137
+ commandId: string | null;
138
+ exitCode: number | null;
139
+ error: string | null;
140
+ cleanup: {
141
+ action: "stop" | "delete" | "archive";
142
+ status: "pending" | "succeeded" | "failed" | "skipped";
143
+ error: string | null;
144
+ };
145
+ idempotencyKey: string | null;
146
+ createdAt: string;
147
+ startedAt: string | null;
148
+ finishedAt: string | null;
149
+ updatedAt: string;
150
+ };
151
+ export type SandboxReplayResponse = {
152
+ replay: SandboxReplayRecord;
153
+ };
154
+ export type SandboxReplayListResponse = {
155
+ replays: SandboxReplayRecord[];
156
+ };
157
+ export type SandboxReplayLogsResponse = {
158
+ replayId: string;
159
+ logs: string[];
160
+ };
161
+ export type SandboxReplayArtifactsResponse = {
162
+ replayId: string;
163
+ artifacts: SandboxReplayArtifact[];
164
+ };
165
+ export type SandboxTemplateBuildResponse = {
166
+ build: SandboxTemplateBuildRecord;
167
+ };
168
+ export type SandboxPublishedSnapshotBuildResponse = SandboxTemplateBuildResponse;
169
+ export type SandboxTemplateBuildListResponse = {
170
+ builds: SandboxTemplateBuildRecord[];
171
+ };
172
+ export type SandboxPublishedSnapshotBuildListResponse = SandboxTemplateBuildListResponse;
173
+ export type SandboxTemplateBuildLogsResponse = {
174
+ buildId: string;
175
+ logs: string[];
176
+ };
177
+ export type SandboxPublishedSnapshotBuildLogsResponse = SandboxTemplateBuildLogsResponse;
178
+ export type OpenPondOrganizationsResponse = {
179
+ organizations: OpenPondOrganization[];
180
+ };
181
+ export type OpenPondOrganizationResponse = {
182
+ organization: OpenPondOrganization;
183
+ };
184
+ export type OpenPondOrganizationMembersResponse = {
185
+ members: OpenPondOrganizationMember[];
186
+ };
187
+ export type OpenPondOrganizationMemberResponse = {
188
+ member: OpenPondOrganizationMember;
189
+ };
190
+ export type OpenPondOrganizationMcpServerResponse = {
191
+ mcpServer: OpenPondOrganizationMcpServer | null;
192
+ };
193
+ export type SandboxReceiptResponse = {
194
+ sandbox: SandboxRecord;
195
+ receipt: SandboxReceipt;
196
+ };
197
+ export type SandboxLifecycleAcceptedResponse = {
198
+ accepted: true;
199
+ operation: "archive" | "delete" | "stop";
200
+ sandbox: SandboxRecord;
201
+ };
202
+ export type SandboxStartResponse = {
203
+ sandbox: SandboxRecord;
204
+ };
205
+ export type SandboxRestoreResponse = {
206
+ sandbox: SandboxRecord;
207
+ };
208
+ export type SandboxReceiptsResponse = {
209
+ receipts: SandboxReceipt[];
210
+ };
211
+ export type SandboxLogsResponse = {
212
+ logs: string[];
213
+ };
214
+ export type SandboxGitStatusResponse = {
215
+ sandbox: SandboxRecord;
216
+ status: SandboxGitStatus;
217
+ };
218
+ export type SandboxGitDiffResponse = {
219
+ sandbox: SandboxRecord;
220
+ diff: SandboxGitDiff;
221
+ };
222
+ export type SandboxGitPatchExportResponse = {
223
+ sandbox: SandboxRecord;
224
+ patch: SandboxGitPatchExport;
225
+ };
226
+ export type SandboxGitBranchResponse = {
227
+ sandbox: SandboxRecord;
228
+ branch: SandboxGitBranch;
229
+ };
230
+ export type SandboxGitCommitResponse = {
231
+ sandbox: SandboxRecord;
232
+ commit: SandboxGitCommit;
233
+ };
234
+ export type SandboxGitPullResponse = {
235
+ sandbox: SandboxRecord;
236
+ pull: SandboxGitRemoteOperation;
237
+ };
238
+ export type SandboxGitPushResponse = {
239
+ sandbox: SandboxRecord;
240
+ push: SandboxGitRemoteOperation;
241
+ };
242
+ export type SandboxFileUploadResponse = {
243
+ sandbox: SandboxRecord;
244
+ file: SandboxFileRef;
245
+ };
246
+ export type SandboxFileDownloadResponse = {
247
+ sandbox: SandboxRecord;
248
+ file: SandboxFileRef & {
249
+ contentsBase64: string;
250
+ offsetBytes: number;
251
+ returnedBytes: number;
252
+ totalSizeBytes: number;
253
+ truncated: boolean;
254
+ };
255
+ };
256
+ export type SandboxFileListResponse = {
257
+ sandbox: SandboxRecord;
258
+ files: SandboxFileEntry[];
259
+ };
260
+ export type SandboxFileDeleteResponse = {
261
+ sandbox: SandboxRecord;
262
+ deleted: {
263
+ path: string;
264
+ };
265
+ };
266
+ export type SandboxFileMkdirResponse = {
267
+ sandbox: SandboxRecord;
268
+ directory: SandboxFileEntry;
269
+ };
270
+ export type SandboxFileMoveResponse = {
271
+ sandbox: SandboxRecord;
272
+ moved: {
273
+ fromPath: string;
274
+ toPath: string;
275
+ };
276
+ file: SandboxFileEntry;
277
+ };
278
+ export type SandboxFileStatResponse = {
279
+ sandbox: SandboxRecord;
280
+ file: SandboxFileEntry;
281
+ };
282
+ export type SandboxFileSearchResponse = {
283
+ sandbox: SandboxRecord;
284
+ matches: SandboxFileSearchMatch[];
285
+ };
286
+ export type SandboxBillingStatusResponse = {
287
+ sandbox: SandboxRecord;
288
+ billing: SandboxBillingStatus;
289
+ };
290
+ export type SandboxPricingResponse = {
291
+ pricing: SandboxPricingRateCard;
292
+ };
293
+ export type SandboxCostSummaryResponse = {
294
+ costs: SandboxCostSummary;
295
+ };
@@ -0,0 +1,15 @@
1
+ export declare const SANDBOX_RUNTIME_PROFILE_IDS: readonly ["openpond-coding-core-v1"];
2
+ export type SandboxRuntimeProfileId = (typeof SANDBOX_RUNTIME_PROFILE_IDS)[number];
3
+ export type SandboxRuntimeProfileCapability = "files" | "exec" | "processes" | "pty" | "ports" | "preview" | "git";
4
+ export type SandboxRuntimeProfile = {
5
+ id: SandboxRuntimeProfileId;
6
+ label: string;
7
+ description: string;
8
+ version: number;
9
+ workspaceRoot: string;
10
+ defaultExecutionProfileId: string;
11
+ requiredTools: string[];
12
+ excludedToolchains: string[];
13
+ capabilities: SandboxRuntimeProfileCapability[];
14
+ };
15
+ export type SandboxRuntimeProfileSummary = Omit<SandboxRuntimeProfile, "description">;
@@ -0,0 +1,152 @@
1
+ import type { SandboxCreateInput, SandboxCreateResponse, SandboxGitPatchExport, SandboxRuntimeProfileId, SandboxRuntimeProfileSummary, SandboxWorkflowMode, SandboxWorkloadSourceInput } from "./index.js";
2
+ export type SandboxRuntimeStatus = "created" | "materializing" | "running" | "waiting_for_user" | "paused" | "checkpointed" | "ready_for_review" | "promoting" | "promoted" | "archived" | "failed" | "expired";
3
+ export type SandboxRuntimePromotionPolicy = "none" | "manual" | "auto_after_checks";
4
+ export type SandboxRuntimeActorType = "agent" | "user" | "service" | "schedule";
5
+ export type SandboxRuntimePermissions = {
6
+ git: {
7
+ read: boolean;
8
+ writeSourceRef: boolean;
9
+ promote: boolean;
10
+ };
11
+ snapshots: {
12
+ create: boolean;
13
+ restore: boolean;
14
+ checkpoint: boolean;
15
+ };
16
+ artifacts: {
17
+ read: boolean;
18
+ write: boolean;
19
+ };
20
+ sandbox: {
21
+ exec: boolean;
22
+ lifecycle: boolean;
23
+ };
24
+ };
25
+ export type SandboxRuntime = {
26
+ id: string;
27
+ teamId: string;
28
+ ownerUserId: string;
29
+ createdByUserId: string;
30
+ projectId: string | null;
31
+ agentId: string | null;
32
+ workflowMode: SandboxWorkflowMode;
33
+ status: SandboxRuntimeStatus;
34
+ repoId: string | null;
35
+ baseBranch: string;
36
+ baseSha: string | null;
37
+ sourceRef: string | null;
38
+ currentSha: string | null;
39
+ sandboxId: string | null;
40
+ rootfsSnapshotId: string | null;
41
+ dependencySnapshotId: string | null;
42
+ checkpointSnapshotIds: string[];
43
+ artifactRefs: string[];
44
+ promotionPolicy: SandboxRuntimePromotionPolicy;
45
+ permissions: SandboxRuntimePermissions;
46
+ runtimeProfileId: SandboxRuntimeProfileId;
47
+ workspaceRoot: string;
48
+ runtimeProfile: SandboxRuntimeProfileSummary;
49
+ executionProfileId?: string | null;
50
+ version: number;
51
+ metadata: Record<string, unknown>;
52
+ createdAt: string;
53
+ updatedAt: string;
54
+ expiresAt: string | null;
55
+ archivedAt: string | null;
56
+ };
57
+ export type SandboxRuntimeEvent = {
58
+ id: string;
59
+ runtimeId: string;
60
+ teamId: string;
61
+ sequence: number;
62
+ actorType: SandboxRuntimeActorType;
63
+ actorId: string;
64
+ type: string;
65
+ summary: string | null;
66
+ payload: Record<string, unknown>;
67
+ payloadHash: string;
68
+ payloadStorageKey: string | null;
69
+ prevEventHash: string | null;
70
+ eventHash: string;
71
+ stateHash: string | null;
72
+ commitSha: string | null;
73
+ snapshotId: string | null;
74
+ logRef: string | null;
75
+ artifactRefs: string[];
76
+ createdAt: string;
77
+ };
78
+ export type SandboxRuntimeCreateInput = {
79
+ teamId?: string;
80
+ projectId?: string;
81
+ agentId?: string;
82
+ workflowMode?: SandboxWorkflowMode;
83
+ baseBranch?: string;
84
+ baseSha?: string;
85
+ sandboxId?: string;
86
+ rootfsSnapshotId?: string;
87
+ dependencySnapshotId?: string;
88
+ runtimeProfileId?: SandboxRuntimeProfileId;
89
+ workloadSource?: SandboxWorkloadSourceInput;
90
+ promotionPolicy?: SandboxRuntimePromotionPolicy;
91
+ metadata?: Record<string, unknown>;
92
+ };
93
+ export type SandboxRuntimeSandboxCreateInput = SandboxCreateInput;
94
+ export type SandboxRuntimeEventInput = {
95
+ type: string;
96
+ summary?: string | null;
97
+ payload?: Record<string, unknown>;
98
+ lifecycleHint?: Record<string, unknown>;
99
+ commitSha?: string | null;
100
+ snapshotId?: string | null;
101
+ logRef?: string | null;
102
+ artifactRefs?: string[];
103
+ };
104
+ export type SandboxRuntimeCheckpointInput = {
105
+ name?: string;
106
+ rootfsSnapshotId?: string;
107
+ dependencySnapshotId?: string;
108
+ artifactRefs?: string[];
109
+ metadata?: Record<string, unknown>;
110
+ };
111
+ export type SandboxRuntimePromoteInput = {
112
+ expectedTargetSha: string;
113
+ validationState?: "pending" | "passed";
114
+ summary?: string;
115
+ };
116
+ export type SandboxRuntimeSourcePreserveInput = {
117
+ sandboxId?: string;
118
+ message?: string;
119
+ };
120
+ export type SandboxRuntimeTransitionInput = {
121
+ status: SandboxRuntimeStatus;
122
+ expectedVersion: number;
123
+ summary?: string;
124
+ metadata?: Record<string, unknown>;
125
+ };
126
+ export type SandboxRuntimeListResponse = {
127
+ runtimes: SandboxRuntime[];
128
+ };
129
+ export type SandboxRuntimeResponse = {
130
+ runtime: SandboxRuntime;
131
+ };
132
+ export type SandboxRuntimeSandboxResponse = SandboxCreateResponse & {
133
+ runtime: SandboxRuntime;
134
+ };
135
+ export type SandboxRuntimeEventResponse = {
136
+ runtime: SandboxRuntime;
137
+ event: SandboxRuntimeEvent;
138
+ };
139
+ export type SandboxRuntimeEventsResponse = {
140
+ runtimeId: string;
141
+ events: SandboxRuntimeEvent[];
142
+ };
143
+ export type SandboxRuntimePromoteResponse = {
144
+ runtime: SandboxRuntime;
145
+ promotedSha: string;
146
+ };
147
+ export type SandboxRuntimeSourcePreserveResponse = {
148
+ runtime: SandboxRuntime;
149
+ preservedSha: string | null;
150
+ preserved: boolean;
151
+ patch: SandboxGitPatchExport;
152
+ };
@@ -0,0 +1,141 @@
1
+ import type { SandboxBudget, SandboxEnvVarInput, SandboxIntegrationLeaseInput, SandboxQuotaPolicy, SandboxResources, SandboxVolumeProvisionInput } from "./index.js";
2
+ export type SandboxScheduleType = "rate" | "cron" | "once";
3
+ export type SandboxScheduleRuntimePolicy = "run_and_stop" | "run_and_archive" | "run_and_delete" | "use_existing_running";
4
+ export type SandboxScheduleTargetKind = "action" | "command";
5
+ export type SandboxScheduleLifecycleStatus = "active" | "completed" | "expired" | "max_runs_reached" | "stopped" | "failed" | "deleted";
6
+ export type SandboxScheduleSyncStatus = "pending" | "syncing" | "synced" | "failed";
7
+ export type SandboxScheduleRunStatus = "queued" | "running" | "succeeded" | "failed" | "timed_out" | "cancelled";
8
+ export type SandboxScheduleRunCleanupStatus = "pending" | "succeeded" | "failed" | "skipped";
9
+ export type SandboxScheduleManagementSource = "api" | "ui" | "openpond.yaml";
10
+ export type SandboxScheduleTarget = {
11
+ kind: SandboxScheduleTargetKind;
12
+ actionName: string | null;
13
+ command: string | null;
14
+ requiresStart: boolean;
15
+ };
16
+ export type SandboxScheduleCreateInput = {
17
+ teamId?: string;
18
+ projectId?: string;
19
+ agentId?: string;
20
+ sourceSandboxId?: string;
21
+ snapshotId?: string;
22
+ templateId?: string;
23
+ name: string;
24
+ description?: string;
25
+ scheduleType: SandboxScheduleType;
26
+ scheduleExpression: string;
27
+ timezone?: string;
28
+ enabled?: boolean;
29
+ startAt?: string | Date | null;
30
+ endAt?: string | Date | null;
31
+ maxRuns?: number | null;
32
+ runtimePolicy?: SandboxScheduleRuntimePolicy;
33
+ target?: Partial<SandboxScheduleTarget>;
34
+ actionName?: string;
35
+ command?: string;
36
+ requiresStart?: boolean;
37
+ budget?: Partial<SandboxBudget>;
38
+ resources?: Partial<SandboxResources>;
39
+ quotas?: Partial<SandboxQuotaPolicy>;
40
+ lifecycle?: Record<string, unknown>;
41
+ retentionPolicy?: Record<string, unknown>;
42
+ env?: SandboxEnvVarInput[];
43
+ integrationLeases?: SandboxIntegrationLeaseInput[];
44
+ metadata?: Record<string, unknown>;
45
+ managementSource?: SandboxScheduleManagementSource;
46
+ manifestPath?: string;
47
+ };
48
+ export type SandboxScheduleUpdateInput = Partial<Omit<SandboxScheduleCreateInput, "teamId" | "sourceSandboxId" | "snapshotId" | "templateId">> & {
49
+ description?: string | null;
50
+ };
51
+ export type SandboxScheduleRecord = {
52
+ id: string;
53
+ teamId: string;
54
+ ownerUserId: string;
55
+ createdByUserId: string;
56
+ name: string;
57
+ description: string | null;
58
+ scheduleType: SandboxScheduleType;
59
+ scheduleExpression: string;
60
+ enabled: boolean;
61
+ timezone: string | null;
62
+ startAt: string | null;
63
+ endAt: string | null;
64
+ maxRuns: number | null;
65
+ executionCount: number;
66
+ lifecycleStatus: SandboxScheduleLifecycleStatus;
67
+ lifecycleReason: string | null;
68
+ runtimePolicy: SandboxScheduleRuntimePolicy;
69
+ sourceSandboxId: string | null;
70
+ snapshotId: string | null;
71
+ templateId: string | null;
72
+ target: SandboxScheduleTarget;
73
+ budget: SandboxBudget | null;
74
+ resources: SandboxResources | null;
75
+ quotas: Partial<SandboxQuotaPolicy> | null;
76
+ lifecycle: Record<string, unknown> | null;
77
+ retentionPolicy: Record<string, unknown> | null;
78
+ env: SandboxEnvVarInput[];
79
+ integrationLeases: SandboxIntegrationLeaseInput[];
80
+ metadata: Record<string, unknown>;
81
+ managementSource: SandboxScheduleManagementSource;
82
+ manifestPath: string | null;
83
+ awsScheduleProvider: "eventbridge_scheduler" | null;
84
+ awsScheduleName: string | null;
85
+ awsScheduleArn: string | null;
86
+ syncStatus: SandboxScheduleSyncStatus;
87
+ syncError: string | null;
88
+ syncRequestedAt: string | null;
89
+ lastSyncedAt: string | null;
90
+ lastRunAt: string | null;
91
+ lastRunStatus: SandboxScheduleRunStatus | null;
92
+ createdAt: string;
93
+ updatedAt: string;
94
+ };
95
+ export type SandboxScheduleRun = {
96
+ id: string;
97
+ scheduleId: string;
98
+ sandboxId: string | null;
99
+ teamId: string;
100
+ ownerUserId: string;
101
+ idempotencyKey: string;
102
+ status: SandboxScheduleRunStatus;
103
+ startedAt: string | null;
104
+ finishedAt: string | null;
105
+ exitCode: number | null;
106
+ durationSeconds: number | null;
107
+ totalUsd: string | null;
108
+ receiptId: string | null;
109
+ logRef: string | null;
110
+ artifactRefs: string[];
111
+ failureReason: string | null;
112
+ cleanupStatus: SandboxScheduleRunCleanupStatus;
113
+ stopPolicyApplied: SandboxScheduleRuntimePolicy | null;
114
+ logs: string[];
115
+ output: string | null;
116
+ metadata: Record<string, unknown>;
117
+ createdAt: string;
118
+ updatedAt: string;
119
+ };
120
+ export type SandboxForkInput = {
121
+ snapshotId?: string;
122
+ visibility?: "private" | "team";
123
+ resources?: Partial<SandboxResources>;
124
+ budget?: Partial<SandboxBudget>;
125
+ env?: SandboxEnvVarInput[];
126
+ networkPolicy?: Record<string, unknown>;
127
+ quotas?: Partial<SandboxQuotaPolicy>;
128
+ volumes?: SandboxVolumeProvisionInput[];
129
+ integrationLeases?: SandboxIntegrationLeaseInput[];
130
+ metadata?: Record<string, unknown>;
131
+ };
132
+ export type SandboxForkOptions = {
133
+ async?: boolean;
134
+ };
135
+ export type SandboxTemplateLaunchInput = Omit<SandboxForkInput, "snapshotId"> & {
136
+ snapshotId?: string;
137
+ templateName?: string;
138
+ version?: string;
139
+ useCase?: string;
140
+ schedules?: SandboxScheduleCreateInput[];
141
+ };