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,610 @@
1
+ import type { SandboxRecord, SandboxWorkflowMode, SandboxRuntimePromotionPolicy } from "./index.js";
2
+ export type OpenPondOrganizationRole = "owner" | "admin" | "member";
3
+ export type OpenPondOrganizationStatus = "active" | "disabled" | "archived";
4
+ export type OpenPondOrganization = {
5
+ teamId: string;
6
+ slug: string;
7
+ name: string;
8
+ displayName: string;
9
+ role: OpenPondOrganizationRole;
10
+ status: OpenPondOrganizationStatus;
11
+ primaryContactEmail: string | null;
12
+ customDomain: string | null;
13
+ createdAt: string;
14
+ updatedAt: string;
15
+ };
16
+ export type OpenPondOrganizationCreateInput = {
17
+ displayName: string;
18
+ slug?: string | null;
19
+ primaryContactEmail?: string | null;
20
+ customDomain?: string | null;
21
+ };
22
+ export type OpenPondOrganizationUpdateInput = Partial<OpenPondOrganizationCreateInput & {
23
+ status: OpenPondOrganizationStatus;
24
+ }>;
25
+ export type OpenPondOrganizationMember = {
26
+ id: string;
27
+ userId: string;
28
+ email: string | null;
29
+ name: string | null;
30
+ role: OpenPondOrganizationRole;
31
+ createdAt: string;
32
+ };
33
+ export type OpenPondOrganizationMemberUpsertInput = {
34
+ email: string;
35
+ role: OpenPondOrganizationRole;
36
+ };
37
+ export type OpenPondOrganizationMcpServerStatus = "active" | "disabled" | "rotating";
38
+ export type OpenPondOrganizationMcpServer = {
39
+ id: string;
40
+ teamId: string;
41
+ slug: string;
42
+ displayName: string;
43
+ resourceUrl: string;
44
+ transportUrl: string;
45
+ toolset: string[];
46
+ status: OpenPondOrganizationMcpServerStatus;
47
+ generatedByUserId: string;
48
+ lastUsedAt: string | null;
49
+ createdAt: string;
50
+ updatedAt: string;
51
+ };
52
+ export type OpenPondOrganizationMcpGenerateInput = {
53
+ origin?: string | null;
54
+ toolset?: string[] | null;
55
+ };
56
+ export type SandboxProjectStatus = "active" | "disabled" | "archived";
57
+ export type SandboxProjectRole = "standard" | "profile";
58
+ export type SandboxProjectSourceVisibility = "private" | "public";
59
+ export type SandboxProjectSourceType = "github_repo" | "internal_repo" | "template" | "manual";
60
+ export type SandboxAgentStatus = "active" | "disabled" | "archived";
61
+ export type SandboxAgentWorkflowIntent = "one_off" | "scheduled" | "code_change" | "evaluation" | "integration_task";
62
+ export type SandboxAgentTriggerType = "manual" | "schedule" | "endpoint" | "background";
63
+ export type SandboxAgentEntrypointScope = "entire_manifest" | "start" | "action" | "service" | "schedule";
64
+ export type SandboxAgentRunStatus = "queued" | "runtime_created" | "running" | "succeeded" | "failed" | "cancelled";
65
+ export type SandboxAgentSourceCheckKind = "validate" | "eval" | "publish_review" | "all";
66
+ export type SandboxAgentSourceCheckDispatchMode = "request_only" | "coding_core";
67
+ export type SandboxAgentSourceProjectionStatus = "missing_manifest" | "manifest_error" | "stale" | "needs_validation" | "ready";
68
+ export type SandboxAgentSourceProjectionReason = "project_manifest_missing" | "project_manifest_hash_missing" | "project_action_registry_missing" | "project_manifest_error" | "source_ref_missing" | "source_commit_sha_missing" | "manifest_synced_at_missing" | "build_status_missing" | "build_status_not_passing" | "validation_status_missing" | "validation_status_not_passing" | "active_manifest_source_sha_mismatch" | "active_manifest_hash_mismatch";
69
+ export type SandboxAgentRuntimeSourceMode = "latest_source" | "published_snapshot" | "auto";
70
+ export type SandboxAgentRuntimeSourcePolicySource = "manual" | "schedule" | "endpoint" | "background" | "microsoft_teams" | "diagnostic";
71
+ export type SandboxAgentRuntimeSourceConfig = {
72
+ mode: SandboxAgentRuntimeSourceMode;
73
+ sourceRef: string | null;
74
+ sourceCommitSha: string | null;
75
+ publishedSnapshotId: string | null;
76
+ publishedSnapshotName: string | null;
77
+ publishedSnapshotVersion: string | null;
78
+ buildStatus: string | null;
79
+ validationStatus: string | null;
80
+ validatedAt: string | null;
81
+ };
82
+ export type SandboxAgentResolvedRuntimeSource = SandboxAgentRuntimeSourceConfig & {
83
+ resolvedMode: "latest_source" | "published_snapshot";
84
+ policySource: SandboxAgentRuntimeSourcePolicySource;
85
+ reason: string;
86
+ resolvedAt: string;
87
+ };
88
+ export type SandboxAgentRuntimeSourcePolicy = {
89
+ requirePublishedSnapshot?: boolean;
90
+ allowLatestSource?: boolean;
91
+ source?: SandboxAgentRuntimeSourcePolicySource;
92
+ };
93
+ export type SandboxAgentSelectedEntrypoint = {
94
+ scope: SandboxAgentEntrypointScope;
95
+ name: string | null;
96
+ };
97
+ export type SandboxProject = {
98
+ id: string;
99
+ teamId: string;
100
+ createdByUserId: string;
101
+ name: string;
102
+ slug: string;
103
+ description: string | null;
104
+ status: SandboxProjectStatus;
105
+ role?: SandboxProjectRole;
106
+ sourceVisibility?: SandboxProjectSourceVisibility;
107
+ sourceType: SandboxProjectSourceType;
108
+ sourceConfig: Record<string, unknown>;
109
+ normalizedSourceIdentity: string;
110
+ externalId: string | null;
111
+ gitProvider: string | null;
112
+ gitHost: string | null;
113
+ gitOwner: string | null;
114
+ gitRepo: string | null;
115
+ gitBranch: string | null;
116
+ defaultBranch: string | null;
117
+ internalRepoPath: string | null;
118
+ templateSourceProjectId: string | null;
119
+ templateRepoUrl: string | null;
120
+ templateBranch: string | null;
121
+ templateRemoteSha: string | null;
122
+ sandboxManifest: Record<string, unknown> | null;
123
+ sandboxActionRegistry: Record<string, unknown> | null;
124
+ sandboxManifestHash: string | null;
125
+ sandboxManifestPath: string | null;
126
+ sandboxManifestSyncedAt: string | null;
127
+ sandboxManifestError: string | null;
128
+ metadata: Record<string, unknown>;
129
+ createdAt: string;
130
+ updatedAt: string;
131
+ archivedAt: string | null;
132
+ };
133
+ export type SandboxAgent = {
134
+ id: string;
135
+ teamId: string;
136
+ createdByUserId: string;
137
+ name: string;
138
+ slug: string;
139
+ description: string | null;
140
+ status: SandboxAgentStatus;
141
+ projectId: string;
142
+ workflowIntent: SandboxAgentWorkflowIntent | null;
143
+ selectedEntrypoint: SandboxAgentSelectedEntrypoint;
144
+ triggerType: SandboxAgentTriggerType;
145
+ endpointPolicy: Record<string, unknown>;
146
+ backgroundTaskPolicy: Record<string, unknown>;
147
+ defaultWorkflowMode: SandboxWorkflowMode;
148
+ defaultBranch: string | null;
149
+ sourceRefOverride: string | null;
150
+ defaultPromotionPolicy: SandboxRuntimePromotionPolicy;
151
+ defaultResourcePolicy: Record<string, unknown>;
152
+ defaultLifecyclePolicy: Record<string, unknown>;
153
+ defaultCheckpointPolicy: Record<string, unknown>;
154
+ runtimeSource: SandboxAgentRuntimeSourceConfig;
155
+ requiredIntegrationRefs: string[];
156
+ requiredEnvironmentVariableRefs: string[];
157
+ schedulePolicy: Record<string, unknown>;
158
+ externalId: string | null;
159
+ metadata: Record<string, unknown>;
160
+ createdAt: string;
161
+ updatedAt: string;
162
+ archivedAt: string | null;
163
+ };
164
+ export type SandboxAgentRun = {
165
+ id: string;
166
+ teamId: string;
167
+ projectId: string;
168
+ agentId: string;
169
+ requestedByUserId: string;
170
+ conversationId: string | null;
171
+ idempotencyKey: string | null;
172
+ triggerType: SandboxAgentTriggerType;
173
+ status: SandboxAgentRunStatus;
174
+ runtimeId: string | null;
175
+ sandboxId: string | null;
176
+ selectedEntrypoint: SandboxAgentSelectedEntrypoint;
177
+ runtimeSource: SandboxAgentResolvedRuntimeSource | null;
178
+ input: Record<string, unknown>;
179
+ metadata: Record<string, unknown>;
180
+ createdAt: string;
181
+ updatedAt: string;
182
+ completedAt: string | null;
183
+ };
184
+ export type SandboxAgentManifestSnapshotProjection = {
185
+ id: string | null;
186
+ source: "agent_metadata" | "project_manifest";
187
+ sourceRef: string | null;
188
+ sourceCommitSha: string | null;
189
+ manifestHash: string | null;
190
+ manifestPath: string | null;
191
+ manifestSyncedAt: string | null;
192
+ buildStatus: string | null;
193
+ validationStatus: string | null;
194
+ evalStatus: string | null;
195
+ publishedAt: string | null;
196
+ };
197
+ export type SandboxAgentManifestSnapshot = {
198
+ id: string;
199
+ teamId: string;
200
+ projectId: string;
201
+ agentId: string;
202
+ sourceRef: string | null;
203
+ sourceCommitSha: string | null;
204
+ manifestHash: string;
205
+ manifestPath: string | null;
206
+ manifestSyncedAt: string | null;
207
+ manifestJson: Record<string, unknown>;
208
+ actionRegistryJson: Record<string, unknown> | null;
209
+ inspectJson: Record<string, unknown> | null;
210
+ buildStatus: string | null;
211
+ validationStatus: string | null;
212
+ evalStatus: string | null;
213
+ workItemId: string | null;
214
+ taskRunId: string | null;
215
+ traceArtifactRef: string | null;
216
+ evalResultArtifactRef: string | null;
217
+ publishedAt: string | null;
218
+ metadata: Record<string, unknown>;
219
+ createdAt: string;
220
+ };
221
+ export type SandboxAgentSourceActionProjection = {
222
+ name: string;
223
+ command: string | null;
224
+ description: string | null;
225
+ visibility: string | null;
226
+ timeoutSeconds: number | null;
227
+ artifactPaths: string[];
228
+ };
229
+ export type SandboxAgentSourceChannelProjection = {
230
+ id: string;
231
+ targetAction: string | null;
232
+ requiredConnections: string[];
233
+ capabilities: string[];
234
+ enabledByDefault: boolean;
235
+ };
236
+ export type SandboxAgentSourceIntegrationProjection = {
237
+ provider: string;
238
+ required: boolean;
239
+ capabilities: string[];
240
+ scopes: string[];
241
+ models: string[];
242
+ };
243
+ export type SandboxAgentSourceVolumeProjection = {
244
+ name: string;
245
+ mountPath: string | null;
246
+ storageGb: number | null;
247
+ required: boolean;
248
+ provisioningMode: string | null;
249
+ stateEngine: string | null;
250
+ uiLabel: string | null;
251
+ uiDescription: string | null;
252
+ allowUpload: boolean;
253
+ };
254
+ export type SandboxAgentSourceScheduleProjection = {
255
+ name: string;
256
+ action: string | null;
257
+ cron: string | null;
258
+ timezone: string | null;
259
+ enabled: boolean;
260
+ enabledByDefault: boolean;
261
+ };
262
+ export type SandboxAgentSourceEditableProjection = {
263
+ enabled: boolean;
264
+ requiredChecks: string[];
265
+ defaultResultMode: string | null;
266
+ supportedResultModes: string[];
267
+ };
268
+ export type SandboxAgentSourceDeployPlanSource = {
269
+ sourceRef: string | null;
270
+ sourceCommitSha: string | null;
271
+ manifestHash: string | null;
272
+ manifestPath: string | null;
273
+ manifestSyncedAt: string | null;
274
+ activeSnapshotId: string | null;
275
+ activeSnapshotSourceSha: string | null;
276
+ };
277
+ export type SandboxAgentSourceDeployPlanChecks = {
278
+ setupCommands: string[];
279
+ validationCommands: string[];
280
+ requiredChecks: string[];
281
+ evalNames: string[];
282
+ };
283
+ export type SandboxAgentSourceDeployPlan = {
284
+ projectId: string;
285
+ agentId: string;
286
+ status: SandboxAgentSourceProjectionStatus;
287
+ canRun: boolean;
288
+ canDeploy: boolean;
289
+ blockedReasons: SandboxAgentSourceProjectionReason[];
290
+ staleReasons: SandboxAgentSourceProjectionReason[];
291
+ source: SandboxAgentSourceDeployPlanSource;
292
+ defaultEntrypoint: SandboxAgentSelectedEntrypoint;
293
+ checks: SandboxAgentSourceDeployPlanChecks;
294
+ actions: SandboxAgentSourceActionProjection[];
295
+ channels: SandboxAgentSourceChannelProjection[];
296
+ requiredIntegrations: SandboxAgentSourceIntegrationProjection[];
297
+ optionalIntegrations: SandboxAgentSourceIntegrationProjection[];
298
+ envRefs: string[];
299
+ requiredVolumes: SandboxAgentSourceVolumeProjection[];
300
+ optionalVolumes: SandboxAgentSourceVolumeProjection[];
301
+ schedules: SandboxAgentSourceScheduleProjection[];
302
+ artifactPaths: string[];
303
+ editable: SandboxAgentSourceEditableProjection | null;
304
+ };
305
+ export type SandboxAgentSourceChecksRequestInput = {
306
+ teamId: string;
307
+ sourceRef?: string | null;
308
+ baseSha?: string | null;
309
+ checkKind?: SandboxAgentSourceCheckKind;
310
+ dispatch?: SandboxAgentSourceCheckDispatchMode;
311
+ metadata?: Record<string, unknown>;
312
+ };
313
+ export type SandboxCodingWorkItem = Record<string, unknown> & {
314
+ id: string;
315
+ };
316
+ export type SandboxCodingWorkItemActivity = Record<string, unknown> & {
317
+ id: string;
318
+ };
319
+ export type SandboxCodingWorkItemMessage = Record<string, unknown> & {
320
+ id: string;
321
+ };
322
+ export type SandboxCodingWorkItemArtifact = Record<string, unknown> & {
323
+ id: string;
324
+ ref?: string | null;
325
+ kind?: string | null;
326
+ };
327
+ export type SandboxAgentEditWorkItemOpenInput = {
328
+ teamId: string;
329
+ projectId: string;
330
+ initialMessage?: string | null;
331
+ sourceRef?: string | null;
332
+ baseSha?: string | null;
333
+ createPipelineRequest?: Record<string, unknown> | null;
334
+ createPipeline?: Record<string, unknown> | null;
335
+ };
336
+ export type SandboxAgentEditWorkItemOpenResult = {
337
+ workItem: SandboxCodingWorkItem;
338
+ created: boolean;
339
+ detail?: Record<string, unknown>;
340
+ };
341
+ export type SandboxCodingWorkItemChatInput = {
342
+ teamId: string;
343
+ message: string;
344
+ mode?: "sync_cloud" | "queue_cloud";
345
+ sourceRef?: string | null;
346
+ baseSha?: string | null;
347
+ payload?: Record<string, unknown>;
348
+ };
349
+ export type SandboxCodingWorkItemChatResult = Record<string, unknown> & {
350
+ userMessage?: SandboxCodingWorkItemMessage;
351
+ assistantMessage?: SandboxCodingWorkItemMessage;
352
+ activity?: SandboxCodingWorkItemActivity;
353
+ };
354
+ export type SandboxCodingWorkItemBackgroundInput = {
355
+ teamId: string;
356
+ prompt?: string | null;
357
+ sourceRef?: string | null;
358
+ baseSha?: string | null;
359
+ sourceRuntimeId?: string | null;
360
+ sourceSandboxId?: string | null;
361
+ agentId?: string | null;
362
+ agentEdit?: Record<string, unknown> | null;
363
+ setup?: {
364
+ commands: string[];
365
+ } | null;
366
+ validation?: {
367
+ commands: string[];
368
+ } | null;
369
+ branchPolicy?: Record<string, unknown> | null;
370
+ payload?: Record<string, unknown>;
371
+ };
372
+ export type SandboxCodingWorkItemBackgroundResult = Record<string, unknown> & {
373
+ workItem?: SandboxCodingWorkItem;
374
+ activity?: SandboxCodingWorkItemActivity;
375
+ };
376
+ export type SandboxCodingWorkItemSourceCheckStatus = Record<string, unknown> & {
377
+ workItemId: string;
378
+ workItemStatus?: string | null;
379
+ latestTaskRunId?: string | null;
380
+ latestRuntimeId?: string | null;
381
+ latestSandboxId?: string | null;
382
+ sourceMaterialization?: Record<string, unknown> | null;
383
+ setup?: Record<string, unknown> | null;
384
+ policyDiscovery?: Record<string, unknown> | null;
385
+ discoveredRequiredChecks?: string[];
386
+ checkRuns?: Array<Record<string, unknown>>;
387
+ validation?: Record<string, unknown> | null;
388
+ eval?: Record<string, unknown> | null;
389
+ requestedCheckKind?: string | null;
390
+ deployPlan?: Record<string, unknown> | null;
391
+ traceArtifactRefs?: string[];
392
+ evalResultArtifactRefs?: string[];
393
+ validatorArtifactRefs?: string[];
394
+ patchArtifactRef?: string | null;
395
+ draftSourceRef?: string | null;
396
+ finalResultState?: string | null;
397
+ publishBlockers?: string[];
398
+ };
399
+ export type SandboxCodingWorkItemStatusResult = {
400
+ workItem: SandboxCodingWorkItem;
401
+ activity: SandboxCodingWorkItemActivity[];
402
+ sourceCheckStatus: SandboxCodingWorkItemSourceCheckStatus;
403
+ };
404
+ export type SandboxCodingWorkItemPromotionInput = {
405
+ teamId: string;
406
+ ref: string;
407
+ metadata?: Record<string, unknown>;
408
+ };
409
+ export type SandboxCodingWorkItemActivityListInput = {
410
+ teamId: string;
411
+ limit?: number;
412
+ };
413
+ export type SandboxCodingWorkItemGetInput = {
414
+ teamId: string;
415
+ includeArchived?: boolean;
416
+ };
417
+ export type SandboxAgentSourceChecksRequestResult = {
418
+ workItem: SandboxCodingWorkItem;
419
+ createdEditWorkItem: boolean;
420
+ activity: SandboxCodingWorkItemActivity;
421
+ deployPlan: SandboxAgentSourceDeployPlan | null;
422
+ dispatchResult?: {
423
+ status: "not_requested" | "completed" | "failed";
424
+ taskRun: Record<string, unknown> | null;
425
+ error: string | null;
426
+ };
427
+ };
428
+ export type SandboxAgentSourcePublishInput = {
429
+ teamId: string;
430
+ expectedManifestHash?: string | null;
431
+ expectedSourceCommitSha?: string | null;
432
+ evalStatus?: string | null;
433
+ workItemId?: string | null;
434
+ taskRunId?: string | null;
435
+ traceArtifactRef?: string | null;
436
+ evalResultArtifactRef?: string | null;
437
+ };
438
+ export type SandboxAgentSourcePublishResult = {
439
+ agent: SandboxAgent;
440
+ projection: Record<string, unknown>;
441
+ activeManifestSnapshot: SandboxAgentManifestSnapshotProjection;
442
+ publishedAt: string;
443
+ };
444
+ export type SandboxProjectUpsertInput = {
445
+ teamId: string;
446
+ name: string;
447
+ slug?: string | null;
448
+ description?: string | null;
449
+ status?: SandboxProjectStatus;
450
+ role?: SandboxProjectRole;
451
+ sourceVisibility?: SandboxProjectSourceVisibility;
452
+ sourceType: SandboxProjectSourceType;
453
+ sourceConfig?: Record<string, unknown>;
454
+ normalizedSourceIdentity?: string | null;
455
+ externalId?: string | null;
456
+ gitProvider?: string | null;
457
+ gitHost?: string | null;
458
+ gitOwner?: string | null;
459
+ gitRepo?: string | null;
460
+ gitBranch?: string | null;
461
+ defaultBranch?: string | null;
462
+ internalRepoPath?: string | null;
463
+ templateSourceProjectId?: string | null;
464
+ templateRepoUrl?: string | null;
465
+ templateBranch?: string | null;
466
+ templateRemoteSha?: string | null;
467
+ metadata?: Record<string, unknown>;
468
+ };
469
+ export type SandboxProjectUpdateInput = {
470
+ teamId: string;
471
+ } & Partial<Omit<SandboxProjectUpsertInput, "teamId">>;
472
+ export type SandboxProjectSourceUploadEntry = {
473
+ path: string;
474
+ type: "file" | "directory";
475
+ contentsBase64?: string;
476
+ };
477
+ export type SandboxProjectSourceUploadInput = {
478
+ teamId: string;
479
+ entries: SandboxProjectSourceUploadEntry[];
480
+ branch?: string | null;
481
+ commitMessage?: string | null;
482
+ };
483
+ export type SandboxProjectGitRemote = {
484
+ repoUrl: string;
485
+ uiUrl: string;
486
+ teamSlug: string;
487
+ projectSlug: string;
488
+ defaultBranch: string;
489
+ };
490
+ export type SandboxProjectGitRemoteResponse = {
491
+ project: SandboxProject;
492
+ repo: SandboxProjectGitRemote;
493
+ };
494
+ export type SandboxAgentUpsertInput = {
495
+ teamId: string;
496
+ projectId: string;
497
+ name: string;
498
+ slug?: string | null;
499
+ description?: string | null;
500
+ status?: SandboxAgentStatus;
501
+ workflowIntent?: SandboxAgentWorkflowIntent | null;
502
+ selectedEntrypoint?: Partial<SandboxAgentSelectedEntrypoint> | null;
503
+ triggerType?: SandboxAgentTriggerType;
504
+ endpointPolicy?: Record<string, unknown>;
505
+ backgroundTaskPolicy?: Record<string, unknown>;
506
+ defaultWorkflowMode?: SandboxWorkflowMode;
507
+ defaultBranch?: string | null;
508
+ sourceRefOverride?: string | null;
509
+ defaultPromotionPolicy?: SandboxRuntimePromotionPolicy;
510
+ defaultResourcePolicy?: Record<string, unknown>;
511
+ defaultLifecyclePolicy?: Record<string, unknown>;
512
+ defaultCheckpointPolicy?: Record<string, unknown>;
513
+ runtimeSource?: Partial<SandboxAgentRuntimeSourceConfig> | null;
514
+ requiredIntegrationRefs?: string[];
515
+ requiredEnvironmentVariableRefs?: string[];
516
+ schedulePolicy?: Record<string, unknown>;
517
+ externalId?: string | null;
518
+ metadata?: Record<string, unknown>;
519
+ };
520
+ export type SandboxAgentUpdateInput = {
521
+ teamId: string;
522
+ } & Partial<Omit<SandboxAgentUpsertInput, "teamId">>;
523
+ export type SandboxAgentRunInput = {
524
+ teamId: string;
525
+ conversationId?: string | null;
526
+ idempotencyKey?: string | null;
527
+ targetProjectId?: string | null;
528
+ targetProject?: {
529
+ id: string;
530
+ } | null;
531
+ triggerType?: SandboxAgentTriggerType;
532
+ input?: Record<string, unknown>;
533
+ metadata?: Record<string, unknown>;
534
+ workflowMode?: SandboxWorkflowMode;
535
+ runtimeSourcePolicy?: SandboxAgentRuntimeSourcePolicy;
536
+ };
537
+ export type SandboxProjectListResponse = {
538
+ projects: SandboxProject[];
539
+ };
540
+ export type SandboxProjectResponse = {
541
+ project: SandboxProject;
542
+ };
543
+ export type OpenPondHostedProfileAgent = {
544
+ id: string;
545
+ path: string;
546
+ enabled: boolean;
547
+ };
548
+ export type OpenPondHostedProfileManifest = {
549
+ schema: "openpond.profileRepo.v1";
550
+ defaultProfile: string;
551
+ profiles: Record<string, {
552
+ path: string;
553
+ defaultAgent: string;
554
+ enabledAgents: string[];
555
+ }>;
556
+ };
557
+ export type OpenPondHostedProfileSourceUpload = {
558
+ sourceRef: string | null;
559
+ sourceCommitSha: string | null;
560
+ manifestHash: string | null;
561
+ manifestPath: string | null;
562
+ manifestSyncedAt: string | null;
563
+ };
564
+ export type OpenPondHostedProfilePushInput = {
565
+ teamId: string;
566
+ entries: SandboxProjectSourceUploadEntry[];
567
+ branch?: string | null;
568
+ commitMessage?: string | null;
569
+ expectedSourceCommitSha?: string | null;
570
+ localHeadSha?: string | null;
571
+ manifest: OpenPondHostedProfileManifest;
572
+ sourcePath: string;
573
+ agents: OpenPondHostedProfileAgent[];
574
+ };
575
+ export type OpenPondHostedProfileSummary = {
576
+ project: SandboxProject;
577
+ manifest: OpenPondHostedProfileManifest;
578
+ defaultProfile: string;
579
+ sourcePath: string;
580
+ agents: OpenPondHostedProfileAgent[];
581
+ sourceUpload: OpenPondHostedProfileSourceUpload | null;
582
+ seededAt: string | null;
583
+ seedStatus: "pending_seed" | "seeded";
584
+ };
585
+ export type OpenPondHostedProfileResponse = {
586
+ profile: OpenPondHostedProfileSummary | null;
587
+ };
588
+ export type OpenPondHostedProfilePushResponse = {
589
+ profile: OpenPondHostedProfileSummary;
590
+ sourceUpload: OpenPondHostedProfileSourceUpload;
591
+ previousSourceCommitSha: string | null;
592
+ localHeadSha: string | null;
593
+ };
594
+ export type SandboxAgentListResponse = {
595
+ agents: SandboxAgent[];
596
+ };
597
+ export type SandboxAgentResponse = {
598
+ agent: SandboxAgent;
599
+ };
600
+ export type SandboxAgentRunResponse = {
601
+ agent: SandboxAgent;
602
+ run: SandboxAgentRun;
603
+ sandbox?: SandboxRecord | null;
604
+ };
605
+ export type SandboxAgentSourceDeployPlanResponse = {
606
+ deployPlan: SandboxAgentSourceDeployPlan;
607
+ };
608
+ export type SandboxAgentManifestSnapshotsResponse = {
609
+ manifestSnapshots: SandboxAgentManifestSnapshot[];
610
+ };
@@ -0,0 +1,53 @@
1
+ import type { SandboxArchiveRef, SandboxBudget, SandboxCommand, SandboxIntegrationLeaseRef, SandboxPreviewPort, SandboxProcess, SandboxPtySession, SandboxQuotaPolicy, SandboxReceipt, SandboxReservation, SandboxResources, SandboxRuntimeDriver, SandboxRuntimeProfileId, SandboxRuntimeProfileSummary, SandboxSnapshot, SandboxSnapshotCatalogEntry, SandboxSnapshotJob, SandboxState, SandboxTemplateCatalogEntry } from "./index.js";
2
+ export type SandboxRecord = {
3
+ id: string;
4
+ state: SandboxState;
5
+ runtimeDriver: SandboxRuntimeDriver;
6
+ repo: string | null;
7
+ repoRef?: string | null;
8
+ sourceCommitSha?: string | null;
9
+ teamId: string;
10
+ projectId: string | null;
11
+ agentId: string | null;
12
+ runtimeId?: string | null;
13
+ runtimeProfileId?: SandboxRuntimeProfileId | null;
14
+ workspaceRoot?: string | null;
15
+ runtimeProfile?: SandboxRuntimeProfileSummary | null;
16
+ executionProfileId?: string | null;
17
+ visibility: "private" | "team";
18
+ ownerUserId: string;
19
+ billingAccountId: string;
20
+ resources: SandboxResources;
21
+ budget: SandboxBudget;
22
+ quotas?: SandboxQuotaPolicy;
23
+ reservation: SandboxReservation;
24
+ commands: SandboxCommand[];
25
+ processes?: SandboxProcess[];
26
+ ptySessions?: SandboxPtySession[];
27
+ integrationLeases?: SandboxIntegrationLeaseRef[];
28
+ previewPorts: SandboxPreviewPort[];
29
+ snapshots?: SandboxSnapshot[];
30
+ snapshotJobs?: SandboxSnapshotJob[];
31
+ archive?: SandboxArchiveRef | null;
32
+ receipts: SandboxReceipt[];
33
+ logs: string[];
34
+ metadata: Record<string, unknown>;
35
+ createdAt: string;
36
+ updatedAt: string;
37
+ startedAt: string | null;
38
+ stoppedAt: string | null;
39
+ archivedAt?: string | null;
40
+ deletedAt: string | null;
41
+ };
42
+ export type SandboxCreateResponse = {
43
+ sandbox: SandboxRecord;
44
+ };
45
+ export type SandboxSnapshotCatalogResponse = {
46
+ snapshots: SandboxSnapshotCatalogEntry[];
47
+ };
48
+ export type SandboxTemplateCatalogResponse = {
49
+ templates: SandboxTemplateCatalogEntry[];
50
+ };
51
+ export type SandboxPublishedSnapshotCatalogResponse = SandboxTemplateCatalogResponse & {
52
+ publishedSnapshots: SandboxTemplateCatalogEntry[];
53
+ };