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,103 @@
1
+ import type { SandboxExecInput, SandboxExecResponse, SandboxFileDeleteResponse, SandboxFileDownloadInput, SandboxFileDownloadResponse, SandboxFileListInput, SandboxFileListResponse, SandboxFileMkdirInput, SandboxFileMkdirResponse, SandboxFileMoveInput, SandboxFileMoveResponse, SandboxFileSearchInput, SandboxFileSearchResponse, SandboxFileStatResponse, SandboxFileUploadResponse, SandboxOpenPortInput, SandboxOpenPortResponse, SandboxRecord, SandboxReservation, SandboxRuntime, SandboxRuntimeCheckpointInput, SandboxRuntimeDriver, SandboxRuntimeEventInput, SandboxRuntimeEventResponse, SandboxRuntimeEventsResponse, SandboxRuntimePromoteInput, SandboxRuntimePromoteResponse, SandboxRuntimeSourcePreserveInput, SandboxRuntimeSourcePreserveResponse, SandboxRuntimeSandboxCreateInput, SandboxRuntimeSandboxResponse, SandboxRuntimeTransitionInput, SandboxState, SandboxAsyncRequestOptions } from "./index.js";
2
+ export type SandboxSmokeOptions = {
3
+ repo?: string;
4
+ budgetUsd?: string;
5
+ cpu?: number;
6
+ memoryGb?: number;
7
+ diskGb?: number;
8
+ keep?: boolean;
9
+ preview?: boolean;
10
+ snapshot?: boolean;
11
+ fork?: boolean;
12
+ expectedRuntimeDriver?: SandboxRuntimeDriver;
13
+ expectedMppMode?: NonNullable<SandboxReservation["mpp"]>["mode"];
14
+ };
15
+ export type SandboxSmokeSummary = {
16
+ deleted: boolean;
17
+ execOutput: string;
18
+ fileRoundtrip: boolean;
19
+ forkSandboxId: string | null;
20
+ previewStatus: number | null;
21
+ receiptRefs: Array<string | null>;
22
+ reservationRef: string | null;
23
+ runId: string;
24
+ sandboxId: string;
25
+ snapshotId: string | null;
26
+ state: SandboxState;
27
+ };
28
+ export type OpenPondSandboxClientOptions = {
29
+ baseUrl?: string;
30
+ sandboxApiUrl?: string;
31
+ apiKey: string;
32
+ };
33
+ export type OpenPondSandboxMcpServerConfig = {
34
+ name: "openpond-sandboxes";
35
+ transport: "streamable-http";
36
+ url: string;
37
+ headers: Record<string, string>;
38
+ };
39
+ export type OpenPondRuntimeFilesHandle = {
40
+ write(path: string, contents: string): Promise<SandboxFileUploadResponse>;
41
+ read(path: string): Promise<string>;
42
+ readResponse(input: string | SandboxFileDownloadInput): Promise<SandboxFileDownloadResponse>;
43
+ list(input?: SandboxFileListInput): Promise<SandboxFileListResponse>;
44
+ delete(path: string, input?: {
45
+ recursive?: boolean;
46
+ }): Promise<SandboxFileDeleteResponse>;
47
+ search(input: SandboxFileSearchInput): Promise<SandboxFileSearchResponse>;
48
+ stat(path: string): Promise<SandboxFileStatResponse>;
49
+ mkdir(input: string | SandboxFileMkdirInput): Promise<SandboxFileMkdirResponse>;
50
+ move(input: SandboxFileMoveInput): Promise<SandboxFileMoveResponse>;
51
+ };
52
+ export type OpenPondRuntimeCommandsHandle = {
53
+ run(command: string | SandboxExecInput): Promise<SandboxExecResponse>;
54
+ };
55
+ export type OpenPondRuntimePortsHandle = {
56
+ expose(port: number | SandboxOpenPortInput): Promise<SandboxOpenPortResponse>;
57
+ };
58
+ export type RuntimeWorkflowCheckpointHintInput = {
59
+ reason?: string;
60
+ summary?: string | null;
61
+ payload?: Record<string, unknown>;
62
+ artifactRefs?: string[];
63
+ };
64
+ export type RuntimeWorkflowWaitForUserInput = {
65
+ reason?: string;
66
+ summary?: string | null;
67
+ payload?: Record<string, unknown>;
68
+ };
69
+ export type RuntimeWorkflowKeepAliveInput = {
70
+ reason?: string;
71
+ summary?: string | null;
72
+ payload?: Record<string, unknown>;
73
+ until?: string | Date;
74
+ seconds?: number;
75
+ };
76
+ export type OpenPondSandboxRuntimeHandle = {
77
+ id: string;
78
+ initial: SandboxRuntime | null;
79
+ get(): Promise<SandboxRuntime>;
80
+ sandbox(input?: SandboxRuntimeSandboxCreateInput, options?: SandboxAsyncRequestOptions): Promise<SandboxRecord>;
81
+ resume(input?: SandboxRuntimeSandboxCreateInput, options?: SandboxAsyncRequestOptions): Promise<SandboxRecord>;
82
+ createSandbox(input?: SandboxRuntimeSandboxCreateInput, options?: SandboxAsyncRequestOptions): Promise<SandboxRuntimeSandboxResponse>;
83
+ status(input: SandboxRuntimeTransitionInput | SandboxRuntime["status"]): Promise<SandboxRuntime>;
84
+ events(): Promise<SandboxRuntimeEventsResponse>;
85
+ event(input: SandboxRuntimeEventInput): Promise<SandboxRuntimeEventResponse>;
86
+ recordCommit(commitSha: string, input?: Omit<SandboxRuntimeEventInput, "commitSha" | "type"> & {
87
+ type?: string;
88
+ }): Promise<SandboxRuntimeEventResponse>;
89
+ checkpointHint(input?: RuntimeWorkflowCheckpointHintInput): Promise<SandboxRuntimeEventResponse>;
90
+ waitForUser(input?: RuntimeWorkflowWaitForUserInput): Promise<SandboxRuntime>;
91
+ keepAlive(input?: RuntimeWorkflowKeepAliveInput): Promise<SandboxRuntimeEventResponse>;
92
+ checkpoint(input: SandboxRuntimeCheckpointInput): Promise<SandboxRuntime>;
93
+ files: OpenPondRuntimeFilesHandle;
94
+ commands: OpenPondRuntimeCommandsHandle;
95
+ ports: OpenPondRuntimePortsHandle;
96
+ promote(input: SandboxRuntimePromoteInput, options?: {
97
+ teamId?: string;
98
+ }): Promise<SandboxRuntimePromoteResponse>;
99
+ preserveSource(input?: SandboxRuntimeSourcePreserveInput, options?: {
100
+ teamId?: string;
101
+ }): Promise<SandboxRuntimeSourcePreserveResponse>;
102
+ archive(expectedVersion?: number): Promise<SandboxRuntime>;
103
+ };
@@ -0,0 +1,140 @@
1
+ export type SandboxState = "creating" | "running" | "stopped" | "archived" | "deleted" | "error";
2
+ export type SandboxRuntimeDriver = "simulated-firecracker" | "remote-firecracker";
3
+ export type SandboxResources = {
4
+ cpu: number;
5
+ memoryGb: number;
6
+ diskGb: number;
7
+ };
8
+ export type SandboxBudget = {
9
+ maxUsd: string;
10
+ };
11
+ export type SandboxEnvVarInput = {
12
+ name: string;
13
+ value?: string;
14
+ secretRef?: string;
15
+ };
16
+ export type SandboxQuotaPolicy = {
17
+ maxDurationSeconds: number;
18
+ idleTimeoutSeconds: number;
19
+ maxCommands: number;
20
+ maxOpenPorts: number;
21
+ maxSnapshots: number;
22
+ maxSpendUsd: string;
23
+ };
24
+ export type SandboxVolumeProvisionInput = {
25
+ name?: string;
26
+ mountPath?: string;
27
+ storageGb?: number;
28
+ deleteOnSandboxDelete?: boolean;
29
+ };
30
+ export type SandboxIntegrationProvider = "google" | "github" | "x";
31
+ export type SandboxIntegrationConnectionStatus = "active" | "revoked" | "error";
32
+ export type SandboxIntegrationConnectionStatusFilter = SandboxIntegrationConnectionStatus | "all";
33
+ export type SandboxIntegrationConnection = {
34
+ id: string;
35
+ provider: SandboxIntegrationProvider;
36
+ ownerUserId: string;
37
+ teamId: string;
38
+ providerAccountId: string;
39
+ providerAccountName: string | null;
40
+ providerWorkspaceId: string | null;
41
+ providerWorkspaceName: string | null;
42
+ scopes: string[];
43
+ status: SandboxIntegrationConnectionStatus;
44
+ connectedAt: string;
45
+ lastRefreshedAt: string | null;
46
+ revokedAt: string | null;
47
+ createdAt: string;
48
+ updatedAt: string;
49
+ };
50
+ export type SandboxIntegrationLeaseInput = {
51
+ leaseId: string;
52
+ provider: SandboxIntegrationProvider;
53
+ scopes?: string[];
54
+ capabilities?: string[];
55
+ resourcePolicy?: Record<string, unknown>;
56
+ expiresAt?: string;
57
+ proxyUrl?: string;
58
+ required?: boolean;
59
+ };
60
+ export type SandboxIntegrationConnectionLeaseInput = {
61
+ connectionId: string;
62
+ scopes?: string[];
63
+ capabilities: string[];
64
+ resourcePolicy?: Record<string, unknown>;
65
+ expiresAt?: string;
66
+ ttlSeconds?: number;
67
+ required?: boolean;
68
+ };
69
+ export type SandboxIntegrationLeaseRef = {
70
+ leaseId: string;
71
+ provider: SandboxIntegrationProvider;
72
+ scopes: string[];
73
+ capabilities: string[];
74
+ resourcePolicy: Record<string, unknown>;
75
+ expiresAt: string | null;
76
+ proxyUrl: string | null;
77
+ required: boolean;
78
+ };
79
+ export type SandboxRuntimeImageSourceInput = {
80
+ ref: string;
81
+ digest?: string;
82
+ registrySecretRef?: string;
83
+ platform?: "linux/amd64";
84
+ workspaceRoot?: string;
85
+ };
86
+ export type SandboxRuntimeDockerfileSourceInput = {
87
+ context?: string;
88
+ path?: string;
89
+ target?: string;
90
+ buildArgs?: Record<string, string>;
91
+ registrySecretRefs?: string[];
92
+ platform?: "linux/amd64";
93
+ workspaceRoot?: string;
94
+ };
95
+ export type SandboxRuntimeSourceInput = {
96
+ image?: SandboxRuntimeImageSourceInput;
97
+ dockerfile?: SandboxRuntimeDockerfileSourceInput;
98
+ };
99
+ export type SandboxSourceArchiveEntry = {
100
+ path: string;
101
+ type: "directory" | "file";
102
+ contentsBase64?: string;
103
+ };
104
+ export type SandboxCreateSourceArchive = {
105
+ source?: "internal_project" | "template_repo" | "client_upload";
106
+ ref?: string;
107
+ commitSha?: string | null;
108
+ archive: {
109
+ version: 1;
110
+ createdAt: string;
111
+ entries: SandboxSourceArchiveEntry[];
112
+ tarBase64?: string;
113
+ };
114
+ };
115
+ export type SandboxCreateInput = {
116
+ repo?: string;
117
+ teamId?: string;
118
+ projectId?: string;
119
+ agentId?: string;
120
+ runtimeProfileId?: import("./runtime-profiles.js").SandboxRuntimeProfileId;
121
+ command?: 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
+ integrationConnectionLeases?: SandboxIntegrationConnectionLeaseInput[];
131
+ workloadSource?: SandboxRuntimeSourceInput;
132
+ sourceArchive?: SandboxCreateSourceArchive;
133
+ metadata?: Record<string, unknown>;
134
+ };
135
+ export type SandboxAsyncRequestOptions = {
136
+ async?: boolean;
137
+ respondAsync?: boolean;
138
+ failOnUnpreservedChanges?: boolean;
139
+ };
140
+ export type SandboxCreateOptions = SandboxAsyncRequestOptions;
@@ -0,0 +1,14 @@
1
+ export * from "./core.js";
2
+ export * from "./schedules.js";
3
+ export * from "./io.js";
4
+ export * from "./billing.js";
5
+ export * from "./snapshots.js";
6
+ export * from "./org-project-agent.js";
7
+ export * from "./microsoft-teams-bot.js";
8
+ export * from "./record.js";
9
+ export * from "./runtime-profiles.js";
10
+ export * from "./workflow-modes.js";
11
+ export * from "./workload-sources.js";
12
+ export * from "./runtime.js";
13
+ export * from "./responses.js";
14
+ export * from "./client.js";
@@ -0,0 +1,240 @@
1
+ export type SandboxSecretScope = "team" | "project" | "template";
2
+ export type SandboxSecretStatus = "active" | "revoked" | "deleted";
3
+ export type SandboxSecretAttachmentTarget = "sandbox" | "template" | "project" | "agent" | "replay";
4
+ export type SandboxSecretAttachmentMetadata = {
5
+ envName: string;
6
+ targetType: SandboxSecretAttachmentTarget;
7
+ targetId: string;
8
+ attachedAt: string;
9
+ detachedAt: string | null;
10
+ };
11
+ export type SandboxSecretMetadata = {
12
+ id: string;
13
+ teamId: string;
14
+ ownerUserId: string;
15
+ name: string;
16
+ description: string | null;
17
+ scope: SandboxSecretScope;
18
+ status: SandboxSecretStatus;
19
+ secretRef: string;
20
+ currentVersion: number | null;
21
+ createdAt: string;
22
+ updatedAt: string;
23
+ lastUsedAt: string | null;
24
+ deletedAt: string | null;
25
+ attachments?: SandboxSecretAttachmentMetadata[];
26
+ };
27
+ export type SandboxSecretCreateInput = {
28
+ teamId?: string;
29
+ name: string;
30
+ value: string;
31
+ description?: string;
32
+ scope?: SandboxSecretScope;
33
+ };
34
+ export type SandboxSecretRotateInput = {
35
+ teamId?: string;
36
+ value: string;
37
+ };
38
+ export type SandboxSecretAttachInput = {
39
+ teamId?: string;
40
+ envName: string;
41
+ targetType: SandboxSecretAttachmentTarget;
42
+ targetId: string;
43
+ };
44
+ export type SandboxSecretListResponse = {
45
+ secrets: SandboxSecretMetadata[];
46
+ };
47
+ export type SandboxSecretResponse = {
48
+ secret: SandboxSecretMetadata;
49
+ };
50
+ export type SandboxExecInput = {
51
+ command: string;
52
+ timeoutSeconds?: number;
53
+ };
54
+ export type SandboxProcessStartInput = {
55
+ command: string;
56
+ timeoutSeconds?: number;
57
+ };
58
+ export type SandboxProcessStatus = "running" | "succeeded" | "failed" | "timed_out" | "stopped";
59
+ export type SandboxProcess = {
60
+ id: string;
61
+ command: string;
62
+ status: SandboxProcessStatus;
63
+ output: string;
64
+ exitCode: number | null;
65
+ startedAt: string;
66
+ completedAt: string | null;
67
+ durationMs: number | null;
68
+ outputBytes: number;
69
+ truncated?: boolean;
70
+ };
71
+ export type SandboxPreviewAccess = "private" | "public";
72
+ export type SandboxPreviewCorsPolicy = {
73
+ allowOrigins?: string[];
74
+ allowMethods?: string[];
75
+ allowHeaders?: string[];
76
+ exposeHeaders?: string[];
77
+ allowCredentials?: boolean;
78
+ maxAgeSeconds?: number;
79
+ };
80
+ export type SandboxPreviewHeaderPolicy = {
81
+ responseHeaders?: Record<string, string>;
82
+ };
83
+ export type SandboxPreviewAuthPolicyInput = {
84
+ mode: "bearer";
85
+ token: string;
86
+ } | {
87
+ mode: "header";
88
+ headerName: string;
89
+ headerValue: string;
90
+ };
91
+ export type SandboxPreviewAuthPolicy = {
92
+ mode: "bearer";
93
+ tokenSha256: string;
94
+ } | {
95
+ mode: "header";
96
+ headerName: string;
97
+ headerValueSha256: string;
98
+ };
99
+ export type SandboxPtyStartInput = {
100
+ command?: string;
101
+ timeoutSeconds?: number;
102
+ rows?: number;
103
+ cols?: number;
104
+ };
105
+ export type SandboxPtyInput = {
106
+ dataBase64: string;
107
+ };
108
+ export type SandboxPtyStatus = "running" | "exited" | "failed" | "timed_out" | "stopped";
109
+ export type SandboxPtySession = {
110
+ id: string;
111
+ command: string;
112
+ status: SandboxPtyStatus;
113
+ output: string;
114
+ exitCode: number | null;
115
+ startedAt: string;
116
+ completedAt: string | null;
117
+ durationMs: number | null;
118
+ outputBytes: number;
119
+ rows: number;
120
+ cols: number;
121
+ truncated?: boolean;
122
+ };
123
+ export type SandboxOpenPortInput = {
124
+ port: number;
125
+ label?: string;
126
+ access?: SandboxPreviewAccess;
127
+ autoStart?: boolean;
128
+ customDomain?: string;
129
+ cors?: SandboxPreviewCorsPolicy;
130
+ headerPolicy?: SandboxPreviewHeaderPolicy;
131
+ authPolicy?: SandboxPreviewAuthPolicyInput;
132
+ };
133
+ export type SandboxGitStatus = {
134
+ isRepo: boolean;
135
+ branch: string | null;
136
+ upstream: string | null;
137
+ ahead: number;
138
+ behind: number;
139
+ clean: boolean;
140
+ porcelain: string;
141
+ };
142
+ export type SandboxGitDiffInput = {
143
+ baseRef?: string;
144
+ };
145
+ export type SandboxGitDiff = {
146
+ isRepo: boolean;
147
+ baseRef: string | null;
148
+ diff: string;
149
+ };
150
+ export type SandboxGitPatchExportInput = SandboxGitDiffInput;
151
+ export type SandboxGitPatchExport = {
152
+ isRepo: boolean;
153
+ baseRef: string | null;
154
+ patch: string;
155
+ filename: string;
156
+ sha256: string;
157
+ bytes: number;
158
+ lineCount: number;
159
+ empty: boolean;
160
+ };
161
+ export type SandboxGitBranchInput = {
162
+ branch: string;
163
+ create?: boolean;
164
+ startPoint?: string;
165
+ };
166
+ export type SandboxGitBranch = {
167
+ isRepo: boolean;
168
+ branch: string | null;
169
+ output: string;
170
+ status: SandboxGitStatus;
171
+ };
172
+ export type SandboxGitCommitInput = {
173
+ message: string;
174
+ paths?: string[];
175
+ all?: boolean;
176
+ };
177
+ export type SandboxGitCommit = {
178
+ isRepo: boolean;
179
+ commitHash: string | null;
180
+ output: string;
181
+ status: SandboxGitStatus;
182
+ };
183
+ export type SandboxGitPullInput = {
184
+ remote?: string;
185
+ branch?: string;
186
+ rebase?: boolean;
187
+ ffOnly?: boolean;
188
+ };
189
+ export type SandboxGitPushInput = {
190
+ remote?: string;
191
+ branch?: string;
192
+ setUpstream?: boolean;
193
+ forceWithLease?: boolean;
194
+ };
195
+ export type SandboxGitRemoteOperation = {
196
+ isRepo: boolean;
197
+ remote: string | null;
198
+ branch: string | null;
199
+ output: string;
200
+ status: SandboxGitStatus;
201
+ };
202
+ export type SandboxFileRef = {
203
+ path: string;
204
+ sizeBytes: number;
205
+ updatedAt: string;
206
+ isBinary?: boolean | null;
207
+ previewable?: boolean;
208
+ };
209
+ export type SandboxFileEntry = SandboxFileRef & {
210
+ type: "file" | "directory";
211
+ };
212
+ export type SandboxFileDownloadInput = {
213
+ path: string;
214
+ offsetBytes?: number;
215
+ maxBytes?: number;
216
+ };
217
+ export type SandboxFileListInput = {
218
+ path?: string;
219
+ recursive?: boolean;
220
+ maxEntries?: number;
221
+ };
222
+ export type SandboxFileMkdirInput = {
223
+ path: string;
224
+ recursive?: boolean;
225
+ };
226
+ export type SandboxFileMoveInput = {
227
+ fromPath: string;
228
+ toPath: string;
229
+ overwrite?: boolean;
230
+ };
231
+ export type SandboxFileSearchInput = {
232
+ query: string;
233
+ path?: string;
234
+ maxResults?: number;
235
+ };
236
+ export type SandboxFileSearchMatch = {
237
+ path: string;
238
+ line: number;
239
+ preview: string;
240
+ };
@@ -0,0 +1,51 @@
1
+ export type MicrosoftTeamsBotBinding = {
2
+ id: string;
3
+ installationId: string;
4
+ tenantId: string;
5
+ teamsTeamId: string | null;
6
+ teamsChannelId: string | null;
7
+ conversationId: string;
8
+ threadRootActivityId: string | null;
9
+ openpondTeamId: string;
10
+ sandboxId: string | null;
11
+ projectId: string | null;
12
+ agentId: string | null;
13
+ defaultRoute: string;
14
+ createdByUserId: string | null;
15
+ status: string;
16
+ metadata: Record<string, unknown>;
17
+ createdAt: string;
18
+ updatedAt: string;
19
+ };
20
+ export type MicrosoftTeamsBotOverview = {
21
+ teamsBotTablesReady: boolean;
22
+ teamId: string;
23
+ role: string;
24
+ canManage: boolean;
25
+ bindings: MicrosoftTeamsBotBinding[];
26
+ installations: Array<Record<string, unknown>>;
27
+ auditEvents: Array<Record<string, unknown>>;
28
+ entitlement: Record<string, unknown>;
29
+ config: Record<string, unknown>;
30
+ };
31
+ export type MicrosoftTeamsBotBindingTargetInput = {
32
+ teamId: string;
33
+ sandboxId?: string | null;
34
+ projectId?: string | null;
35
+ agentId?: string | null;
36
+ microsoftConnectionId?: string | null;
37
+ };
38
+ export type MicrosoftTeamsBotBindingResponse = {
39
+ binding: MicrosoftTeamsBotBinding;
40
+ };
41
+ export type MicrosoftTeamsBotDiagnosticRunInput = {
42
+ teamId: string;
43
+ bindingId: string;
44
+ prompt: string;
45
+ attachments?: Array<Record<string, unknown>>;
46
+ actionInput?: Record<string, unknown>;
47
+ };
48
+ export type MicrosoftTeamsBotDiagnosticRunResponse = MicrosoftTeamsBotBindingResponse & {
49
+ diagnosticRunStatus: string;
50
+ route: Record<string, unknown>;
51
+ };