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.
- package/CHANGELOG.md +128 -0
- package/LICENSE +21 -0
- package/README.md +162 -0
- package/RELEASE.md +20 -0
- package/dist/api/core.d.ts +22 -0
- package/dist/api/deployments.d.ts +30 -0
- package/dist/api/types.d.ts +624 -0
- package/dist/api.d.ts +90 -0
- package/dist/cache.d.ts +22 -0
- package/dist/chunks/app-layer-YKXEQGOW.js +163 -0
- package/dist/chunks/apps-GGSIN2ZF.js +539 -0
- package/dist/chunks/chunk-3CC6MH35.js +1663 -0
- package/dist/chunks/chunk-3Y4EL3P6.js +1090 -0
- package/dist/chunks/chunk-4HYJG2JE.js +3875 -0
- package/dist/chunks/chunk-5G4E547X.js +294 -0
- package/dist/chunks/chunk-74O6FGVN.js +598 -0
- package/dist/chunks/chunk-AUJLPKGI.js +632 -0
- package/dist/chunks/chunk-BYAPLT37.js +744 -0
- package/dist/chunks/chunk-FUP7EGT7.js +1845 -0
- package/dist/chunks/chunk-I6HN3ZGW.js +88 -0
- package/dist/chunks/chunk-KRKGHVMQ.js +294 -0
- package/dist/chunks/chunk-LHYK6QO2.js +1300 -0
- package/dist/chunks/chunk-NLBKZZEK.js +224 -0
- package/dist/chunks/chunk-OG75GMVO.js +1 -0
- package/dist/chunks/chunk-Q57SVPEH.js +11663 -0
- package/dist/chunks/chunk-UACZUFIA.js +47 -0
- package/dist/chunks/chunk-VQX33YAG.js +5135 -0
- package/dist/chunks/chunk-W5GKHH77.js +168 -0
- package/dist/chunks/chunk-WYDVQOBL.js +17581 -0
- package/dist/chunks/chunk-XSAXENQD.js +4167 -0
- package/dist/chunks/chunk-Y6G6WRTG.js +210 -0
- package/dist/chunks/cli-NVKNE4AZ.js +11 -0
- package/dist/chunks/cli-X3HPLSOV.js +19 -0
- package/dist/chunks/core-commands-IM2UKLU4.js +41 -0
- package/dist/chunks/extend-YXCBULPO.js +84 -0
- package/dist/chunks/harness-GMK6IY2U.js +140 -0
- package/dist/chunks/help-LMH5FGT2.js +65 -0
- package/dist/chunks/opchat-BWXZ32GX.js +169 -0
- package/dist/chunks/organizations-4ISQRGMQ.js +738 -0
- package/dist/chunks/profile-NLDZDT3L.js +1110 -0
- package/dist/chunks/project-agent-ZPVO25HA.js +892 -0
- package/dist/chunks/sandbox-command-5GFJ2U3V.js +1652 -0
- package/dist/chunks/sandbox-template-LZN4F55Z.js +1646 -0
- package/dist/chunks/src-3RBI4DNN.js +3595 -0
- package/dist/chunks/src-EYXQS6XD.js +73427 -0
- package/dist/chunks/teams-bot-WP3FHKGA.js +137 -0
- package/dist/cli.js +77 -0
- package/dist/client-types.d.ts +222 -0
- package/dist/client.d.ts +19 -0
- package/dist/config.d.ts +184 -0
- package/dist/hosted-chat.d.ts +162 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +25481 -0
- package/dist/indicators.d.ts +38 -0
- package/dist/opchat-smoke.d.ts +47 -0
- package/dist/private-json-file.d.ts +3 -0
- package/dist/profile/local-profile-types.d.ts +160 -0
- package/dist/profile/local-profile.d.ts +69 -0
- package/dist/profile/profile-catalog.d.ts +14 -0
- package/dist/profile/profile-git.d.ts +17 -0
- package/dist/profile/profile-promotion.d.ts +21 -0
- package/dist/profile/profile-setup-gate.d.ts +22 -0
- package/dist/profile/profile-skills.d.ts +30 -0
- package/dist/profile/profile-source-upload.d.ts +29 -0
- package/dist/profile/source-upload-cache.d.ts +29 -0
- package/dist/sandbox/async-request-options.d.ts +2 -0
- package/dist/sandbox/client-handles.d.ts +113 -0
- package/dist/sandbox/client.d.ts +348 -0
- package/dist/sandbox/runtime-handle.d.ts +36 -0
- package/dist/sandbox/sandbox-instance-client.d.ts +72 -0
- package/dist/sandbox/smoke.d.ts +3 -0
- package/dist/sandbox/stream.d.ts +7 -0
- package/dist/sandbox/types/billing.d.ts +176 -0
- package/dist/sandbox/types/client.d.ts +103 -0
- package/dist/sandbox/types/core.d.ts +140 -0
- package/dist/sandbox/types/index.d.ts +14 -0
- package/dist/sandbox/types/io.d.ts +240 -0
- package/dist/sandbox/types/microsoft-teams-bot.d.ts +51 -0
- package/dist/sandbox/types/org-project-agent.d.ts +610 -0
- package/dist/sandbox/types/record.d.ts +53 -0
- package/dist/sandbox/types/responses.d.ts +295 -0
- package/dist/sandbox/types/runtime-profiles.d.ts +15 -0
- package/dist/sandbox/types/runtime.d.ts +152 -0
- package/dist/sandbox/types/schedules.d.ts +141 -0
- package/dist/sandbox/types/snapshots.d.ts +205 -0
- package/dist/sandbox/types/workflow-modes.d.ts +1 -0
- package/dist/sandbox/types/workload-sources.d.ts +20 -0
- package/dist/sandbox/url.d.ts +2 -0
- package/dist/sandbox-template/manifest.d.ts +304 -0
- package/dist/sandbox-template/manifest.js +18381 -0
- package/dist/skills/openpond-cli/SKILL.md +49 -0
- package/dist/skills/openpond-desktop-harness/SKILL.md +113 -0
- package/dist/skills/openpond-desktop-harness/agents/openai.yaml +4 -0
- package/dist/skills/openpond-taskset-authoring/SKILL.md +38 -0
- package/dist/skills/openpond-taskset-authoring/references/graders-and-rewards.md +11 -0
- package/dist/skills/openpond-taskset-authoring/references/method-selection.md +12 -0
- package/dist/skills/openpond-taskset-authoring/references/privacy-and-provenance.md +8 -0
- package/dist/skills/openpond-taskset-authoring/references/task-design.md +13 -0
- package/dist/stream.d.ts +20 -0
- package/dist/types.d.ts +57 -0
- package/dist/urls.d.ts +4 -0
- package/dist/web/assets/AppsView-Bu-Nc3Ew.js +1 -0
- package/dist/web/assets/AppsView-DIhprTIC.css +1 -0
- package/dist/web/assets/BrowserSidebar-CCguQ-DR.js +1 -0
- package/dist/web/assets/BrowserSidebar-D9i7gQzw.css +1 -0
- package/dist/web/assets/CloudWorkView-DNoPIlMj.css +1 -0
- package/dist/web/assets/CloudWorkView-Dr3xqLE5.js +1 -0
- package/dist/web/assets/CommandMenu-CnodJFHD.js +1 -0
- package/dist/web/assets/CommandMenu-hNQCm8mw.css +1 -0
- package/dist/web/assets/CommunityView-CIbjNUZr.js +1 -0
- package/dist/web/assets/CommunityView-DSik4sd2.css +1 -0
- package/dist/web/assets/GetStartedView-C3ZrnEz5.css +1 -0
- package/dist/web/assets/GetStartedView-C8nyH_PT.js +1 -0
- package/dist/web/assets/LabsExtensions-GtJzxDnK.js +1 -0
- package/dist/web/assets/LabsProfile-DG7rWYur.js +1 -0
- package/dist/web/assets/LabsRoute-D6MDHBzq.js +2 -0
- package/dist/web/assets/LabsRoute-TEt9j1vB.css +1 -0
- package/dist/web/assets/LabsSignals-BfsDN86w.js +1 -0
- package/dist/web/assets/LabsSignals-D6iA6Ryl.css +1 -0
- package/dist/web/assets/NewProjectDialog-CaKiCoVS.js +1 -0
- package/dist/web/assets/ProfileSettingsSection-DTQS2DVL.css +1 -0
- package/dist/web/assets/ProfileSettingsSection-DxEzoF3K.js +1 -0
- package/dist/web/assets/ProfileView-CEscW7Ru.js +1 -0
- package/dist/web/assets/SettingsView-DwbGu8Kj.css +1 -0
- package/dist/web/assets/SettingsView-JIRR_FO4.js +63 -0
- package/dist/web/assets/TeamChatView-B5M1ThhJ.js +3 -0
- package/dist/web/assets/TeamChatView-Bx44q3WV.css +1 -0
- package/dist/web/assets/TerminalOverlay-C1iP4OS1.js +19 -0
- package/dist/web/assets/TerminalOverlay-DwBiZLwk.css +1 -0
- package/dist/web/assets/TrainingSettingsSection-BDYvI2te.js +1 -0
- package/dist/web/assets/TrainingView-CoCFK6W3.js +5 -0
- package/dist/web/assets/WorkspaceDiffPanel-CMxKQeo7.js +14 -0
- package/dist/web/assets/WorkspaceEnvironmentMenu-B8JJbwIz.js +32 -0
- package/dist/web/assets/WorkspaceEnvironmentMenu-DGIFdG3o.css +1 -0
- package/dist/web/assets/WorkspaceGitDialogs-B4sp9BGn.js +1 -0
- package/dist/web/assets/WorkspaceMonacoEditor-BBqimG5X.js +845 -0
- package/dist/web/assets/WorkspaceMonacoEditor-BwKcXIZw.css +1 -0
- package/dist/web/assets/boxes-DAaDUabq.js +1 -0
- package/dist/web/assets/codicon-ngg6Pgfi.ttf +0 -0
- package/dist/web/assets/css.worker-DBVD8oXr.js +93 -0
- package/dist/web/assets/cssMode-CBF1mieJ.js +1 -0
- package/dist/web/assets/dockerfile-BG73LgW2.js +1 -0
- package/dist/web/assets/editor.worker-CdQrwHl8.js +26 -0
- package/dist/web/assets/git-commit-horizontal-CAickXpN.js +1 -0
- package/dist/web/assets/git-dialogs-BZDqS1eT.css +1 -0
- package/dist/web/assets/html.worker-CwpTb9lJ.js +470 -0
- package/dist/web/assets/htmlMode-2u8OHtWO.js +1 -0
- package/dist/web/assets/index-BdY6A-YN.css +1 -0
- package/dist/web/assets/index-CU2qhUYV.js +195 -0
- package/dist/web/assets/index-Dz2B3-4C.js +1 -0
- package/dist/web/assets/info-CQNTh78o.js +1 -0
- package/dist/web/assets/json.worker-BoL8UZqY.js +58 -0
- package/dist/web/assets/jsonMode-C4CWXViX.js +7 -0
- package/dist/web/assets/lspLanguageFeatures-CBs_BOlB.js +4 -0
- package/dist/web/assets/markdown-BFxVWTOG.js +1 -0
- package/dist/web/assets/monaco.contribution-C1LUxAKf.js +2 -0
- package/dist/web/assets/monaco.contribution-Cpf6dWsh.js +2 -0
- package/dist/web/assets/monaco.contribution-lOXpG2xQ.js +2 -0
- package/dist/web/assets/monaco.contribution-sd3cFkcN.js +2 -0
- package/dist/web/assets/monitor-DsIswrMV.js +1 -0
- package/dist/web/assets/play-CeRw21NV.js +1 -0
- package/dist/web/assets/python-CXYq3BUl.js +1 -0
- package/dist/web/assets/refresh-cw-N5b_6AP5.js +1 -0
- package/dist/web/assets/reply-BSKjZrJg.js +1 -0
- package/dist/web/assets/save-D0oHH1a3.js +1 -0
- package/dist/web/assets/settings-lists-BEg6LMcy.css +1 -0
- package/dist/web/assets/shell-DiJ1NA_G.js +1 -0
- package/dist/web/assets/toggleHighContrast-B7NOMXDY.css +1 -0
- package/dist/web/assets/toggleHighContrast-DRjlcwes.js +62 -0
- package/dist/web/assets/training-model-data-BPrc68VG.js +1 -0
- package/dist/web/assets/ts.worker-BH9nVgjN.js +67718 -0
- package/dist/web/assets/tsMode-x-1A7ZcB.js +11 -0
- package/dist/web/assets/wifi-off-Dt52ofzh.js +1 -0
- package/dist/web/assets/workers-Ciff6Dzi.js +1 -0
- package/dist/web/assets/yaml-CB67Kxnz.js +1 -0
- package/dist/web/connected-apps/github.svg +3 -0
- package/dist/web/connected-apps/google.svg +6 -0
- package/dist/web/connected-apps/linear.svg +3 -0
- package/dist/web/connected-apps/microsoft.svg +6 -0
- package/dist/web/connected-apps/notion.svg +3 -0
- package/dist/web/connected-apps/openpond-mcp.svg +4 -0
- package/dist/web/connected-apps/slack.svg +6 -0
- package/dist/web/connected-apps/x.svg +3 -0
- package/dist/web/favicon-16x16.png +0 -0
- package/dist/web/favicon-32x32.png +0 -0
- package/dist/web/index.html +16 -0
- package/dist/web/openpond-icon.png +0 -0
- package/dist/web/openpond-wordlogo-white.png +0 -0
- package/dist/web/tokens/eth.svg +1 -0
- package/dist/web/tokens/usdc.svg +1 -0
- package/docs/agent-edit-check-status-json.md +132 -0
- package/docs/command-reference.md +695 -0
- package/package.json +84 -0
|
@@ -0,0 +1,624 @@
|
|
|
1
|
+
export type ToolManifest = {
|
|
2
|
+
version?: string;
|
|
3
|
+
tools: Array<{
|
|
4
|
+
type: "function";
|
|
5
|
+
function: {
|
|
6
|
+
name: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
parameters?: unknown;
|
|
9
|
+
};
|
|
10
|
+
}>;
|
|
11
|
+
};
|
|
12
|
+
export type CreateLocalProjectInput = {
|
|
13
|
+
name: string;
|
|
14
|
+
teamId?: string;
|
|
15
|
+
templateRepoUrl?: string;
|
|
16
|
+
templateBranch?: string;
|
|
17
|
+
envVars?: Record<string, string>;
|
|
18
|
+
};
|
|
19
|
+
export type CreateRepoRequest = {
|
|
20
|
+
name: string;
|
|
21
|
+
teamId?: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
repoInit?: "opentool" | "empty";
|
|
24
|
+
sandbox?: boolean;
|
|
25
|
+
templateRepoUrl?: string;
|
|
26
|
+
templateBranch?: string;
|
|
27
|
+
envVars?: Record<string, string>;
|
|
28
|
+
deployOnPush?: boolean;
|
|
29
|
+
autoScheduleMigration?: boolean;
|
|
30
|
+
};
|
|
31
|
+
export type CreateRepoResponse = {
|
|
32
|
+
appId: string;
|
|
33
|
+
gitOwner?: string | null;
|
|
34
|
+
gitRepo?: string | null;
|
|
35
|
+
gitHost?: string | null;
|
|
36
|
+
repoUrl?: string | null;
|
|
37
|
+
defaultBranch?: string;
|
|
38
|
+
};
|
|
39
|
+
export type HeadlessAppRequest = {
|
|
40
|
+
teamId?: string;
|
|
41
|
+
name?: string;
|
|
42
|
+
description?: string;
|
|
43
|
+
templateRepoUrl?: string;
|
|
44
|
+
templateBranch?: string;
|
|
45
|
+
templateName?: string;
|
|
46
|
+
envVars?: Record<string, string>;
|
|
47
|
+
visibility?: "private" | "public";
|
|
48
|
+
};
|
|
49
|
+
export type HeadlessAppResponse = {
|
|
50
|
+
status: "ok" | "error";
|
|
51
|
+
appId?: string;
|
|
52
|
+
deploymentId?: string;
|
|
53
|
+
conversationId?: string;
|
|
54
|
+
error?: string;
|
|
55
|
+
};
|
|
56
|
+
export type HeadlessAppsResponse = {
|
|
57
|
+
items: HeadlessAppResponse[];
|
|
58
|
+
};
|
|
59
|
+
export type TemplateStatusResponse = {
|
|
60
|
+
templateRepoUrl: string;
|
|
61
|
+
templateBranch: string;
|
|
62
|
+
remoteSha: string;
|
|
63
|
+
lastAppliedSha: string | null;
|
|
64
|
+
updateAvailable: boolean;
|
|
65
|
+
};
|
|
66
|
+
export type TemplateBranchesResponse = {
|
|
67
|
+
templateRepoUrl: string;
|
|
68
|
+
templateBranch: string;
|
|
69
|
+
defaultBranch: string;
|
|
70
|
+
branches: string[];
|
|
71
|
+
};
|
|
72
|
+
export type TemplateDeployLatestRequest = {
|
|
73
|
+
environment: "preview" | "production";
|
|
74
|
+
};
|
|
75
|
+
export type TemplateDeployLatestResponse = {
|
|
76
|
+
deploymentId: string;
|
|
77
|
+
version: number;
|
|
78
|
+
templateCommitSha: string;
|
|
79
|
+
};
|
|
80
|
+
export type AppEnvironmentUpdateRequest = {
|
|
81
|
+
envVars: Record<string, string>;
|
|
82
|
+
};
|
|
83
|
+
export type AppEnvironmentUpdateResponse = {
|
|
84
|
+
environment: Record<string, string>;
|
|
85
|
+
};
|
|
86
|
+
export type AppEnvironmentGetResponse = {
|
|
87
|
+
environment: Record<string, string>;
|
|
88
|
+
};
|
|
89
|
+
export type AppScheduleSummary = {
|
|
90
|
+
total: number;
|
|
91
|
+
active: number;
|
|
92
|
+
paused: number;
|
|
93
|
+
enabled?: number;
|
|
94
|
+
disabled?: number;
|
|
95
|
+
nextRunAt?: string | null;
|
|
96
|
+
lastRunAt?: string | null;
|
|
97
|
+
schedules: AppSchedule[];
|
|
98
|
+
truncated?: boolean;
|
|
99
|
+
[key: string]: unknown;
|
|
100
|
+
};
|
|
101
|
+
export type AppListItem = {
|
|
102
|
+
id: string;
|
|
103
|
+
name: string;
|
|
104
|
+
description: string | null;
|
|
105
|
+
appType: string | null;
|
|
106
|
+
visibility: "public" | "private";
|
|
107
|
+
codeVisibility?: "public" | "private";
|
|
108
|
+
gitOwner: string | null;
|
|
109
|
+
gitRepo: string | null;
|
|
110
|
+
gitProvider: string | null;
|
|
111
|
+
gitHost: string | null;
|
|
112
|
+
defaultBranch: string | null;
|
|
113
|
+
sandbox: boolean;
|
|
114
|
+
createdAt: string;
|
|
115
|
+
updatedAt: string;
|
|
116
|
+
teamId: string | null;
|
|
117
|
+
teamName: string | null;
|
|
118
|
+
handle: string | null;
|
|
119
|
+
repo: string | null;
|
|
120
|
+
latestDeployment: {
|
|
121
|
+
id: string;
|
|
122
|
+
status: string;
|
|
123
|
+
deploymentDomain: string | null;
|
|
124
|
+
internalUrl: string | null;
|
|
125
|
+
createdAt: string;
|
|
126
|
+
isProduction: boolean | null;
|
|
127
|
+
gitBranch: string | null;
|
|
128
|
+
} | null;
|
|
129
|
+
scheduleSummary?: AppScheduleSummary | null;
|
|
130
|
+
};
|
|
131
|
+
export type AppCodeVisibilityUpdateResponse = {
|
|
132
|
+
success: boolean;
|
|
133
|
+
app: {
|
|
134
|
+
id: string;
|
|
135
|
+
gitOwner: string | null;
|
|
136
|
+
gitRepo: string | null;
|
|
137
|
+
codeVisibility: "public" | "private";
|
|
138
|
+
updatedAt: string;
|
|
139
|
+
} | null;
|
|
140
|
+
};
|
|
141
|
+
export type AppRuntimeSummary = {
|
|
142
|
+
app: {
|
|
143
|
+
appId: string;
|
|
144
|
+
name: string;
|
|
145
|
+
description: string | null;
|
|
146
|
+
teamId: string;
|
|
147
|
+
templateRepoUrl: string | null;
|
|
148
|
+
templateBranch: string | null;
|
|
149
|
+
initialPromptSnapshot: string | null;
|
|
150
|
+
};
|
|
151
|
+
runtime: {
|
|
152
|
+
latestDeployment: {
|
|
153
|
+
id: string;
|
|
154
|
+
status: string;
|
|
155
|
+
isProduction: boolean | null;
|
|
156
|
+
createdAt: string;
|
|
157
|
+
} | null;
|
|
158
|
+
schedules: {
|
|
159
|
+
total: number;
|
|
160
|
+
enabled: number;
|
|
161
|
+
disabled: number;
|
|
162
|
+
};
|
|
163
|
+
notifications: {
|
|
164
|
+
scheduleEmailsEnabled: boolean;
|
|
165
|
+
scheduleTweetsEnabled: boolean;
|
|
166
|
+
};
|
|
167
|
+
toolNotifyEmail: {
|
|
168
|
+
notifyEmailEnabledCount: number;
|
|
169
|
+
toolsConfiguredCount: number;
|
|
170
|
+
};
|
|
171
|
+
lastScheduleRun: {
|
|
172
|
+
id: string;
|
|
173
|
+
status: string;
|
|
174
|
+
executionTime: string;
|
|
175
|
+
scheduleName: string;
|
|
176
|
+
errorMessage: string | null;
|
|
177
|
+
} | null;
|
|
178
|
+
lastToolRun: {
|
|
179
|
+
id: string;
|
|
180
|
+
status: string;
|
|
181
|
+
endpoint: string;
|
|
182
|
+
toolName: string | null;
|
|
183
|
+
method: string | null;
|
|
184
|
+
createdAt: string;
|
|
185
|
+
executionTime: number | null;
|
|
186
|
+
error: string | null;
|
|
187
|
+
} | null;
|
|
188
|
+
};
|
|
189
|
+
wallet: {
|
|
190
|
+
personalWalletAddress: string | null;
|
|
191
|
+
operatingWalletAddress: string | null;
|
|
192
|
+
arbitrum: {
|
|
193
|
+
eth: {
|
|
194
|
+
raw: string;
|
|
195
|
+
formatted: string;
|
|
196
|
+
} | null;
|
|
197
|
+
usdc: {
|
|
198
|
+
raw: string;
|
|
199
|
+
formatted: string;
|
|
200
|
+
} | null;
|
|
201
|
+
};
|
|
202
|
+
hyperliquid: {
|
|
203
|
+
mainnet: {
|
|
204
|
+
accountValue: number | null;
|
|
205
|
+
withdrawable: number | null;
|
|
206
|
+
totalMarginUsed: number | null;
|
|
207
|
+
error?: string;
|
|
208
|
+
};
|
|
209
|
+
testnet: {
|
|
210
|
+
accountValue: number | null;
|
|
211
|
+
withdrawable: number | null;
|
|
212
|
+
totalMarginUsed: number | null;
|
|
213
|
+
error?: string;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
asOf: string;
|
|
218
|
+
};
|
|
219
|
+
export type ScheduleExecutionStatus = "success" | "failed" | "timeout" | string;
|
|
220
|
+
export type AppSchedule = {
|
|
221
|
+
id: string;
|
|
222
|
+
name: string;
|
|
223
|
+
description: string | null;
|
|
224
|
+
scheduleType: "rate" | "cron" | "once" | string;
|
|
225
|
+
scheduleExpression: string;
|
|
226
|
+
enabled: boolean;
|
|
227
|
+
rawEnabled?: boolean;
|
|
228
|
+
syncStatus: string | null;
|
|
229
|
+
syncError?: string | null;
|
|
230
|
+
startAt: string | null;
|
|
231
|
+
endAt: string | null;
|
|
232
|
+
maxRuns: number | null;
|
|
233
|
+
executionCount: number | null;
|
|
234
|
+
lifecycleStatus: string | null;
|
|
235
|
+
lifecycleReason: string | null;
|
|
236
|
+
lastExecutionAt?: string | null;
|
|
237
|
+
lastExecutionStatus?: ScheduleExecutionStatus | null;
|
|
238
|
+
lastRunNowAt?: string | null;
|
|
239
|
+
lastRunNowStatus?: ScheduleExecutionStatus | string | null;
|
|
240
|
+
updatedAt: string;
|
|
241
|
+
deploymentId: string;
|
|
242
|
+
isProduction?: boolean;
|
|
243
|
+
payload?: unknown;
|
|
244
|
+
[key: string]: unknown;
|
|
245
|
+
};
|
|
246
|
+
export type AppSchedulesResponse = {
|
|
247
|
+
schedules: AppSchedule[];
|
|
248
|
+
};
|
|
249
|
+
export type OpenToolRecipeDomain = "core" | "ai" | "market" | "orders" | "news" | "backtesting" | "config" | "scheduling" | "deploy" | "debug";
|
|
250
|
+
export type OpenToolRecipeSummary = {
|
|
251
|
+
id: string;
|
|
252
|
+
title: string;
|
|
253
|
+
summary: string;
|
|
254
|
+
domain: OpenToolRecipeDomain | string;
|
|
255
|
+
tags: string[];
|
|
256
|
+
supportLevel: "stable" | "beta" | "experimental" | string;
|
|
257
|
+
requiredPackages: string[];
|
|
258
|
+
requiredEnv: string[];
|
|
259
|
+
updatedAt: string;
|
|
260
|
+
};
|
|
261
|
+
export type OpenToolRecipeListRequest = {
|
|
262
|
+
domain?: OpenToolRecipeDomain | string;
|
|
263
|
+
tags?: string[];
|
|
264
|
+
opentoolVersion?: string;
|
|
265
|
+
limit?: number;
|
|
266
|
+
};
|
|
267
|
+
export type OpenToolRecipeListResponse = {
|
|
268
|
+
recipes: OpenToolRecipeSummary[];
|
|
269
|
+
};
|
|
270
|
+
export type OpenToolRecipeSearchRequest = {
|
|
271
|
+
query: string;
|
|
272
|
+
currentFiles?: Array<{
|
|
273
|
+
path: string;
|
|
274
|
+
summary?: string;
|
|
275
|
+
}>;
|
|
276
|
+
validationError?: string;
|
|
277
|
+
buildError?: string;
|
|
278
|
+
domains?: Array<OpenToolRecipeDomain | string>;
|
|
279
|
+
limit?: number;
|
|
280
|
+
};
|
|
281
|
+
export type OpenToolRecipeSearchResponse = {
|
|
282
|
+
matches: Array<{
|
|
283
|
+
id: string;
|
|
284
|
+
title: string;
|
|
285
|
+
score: number;
|
|
286
|
+
reason: string;
|
|
287
|
+
snippetsAvailable: string[];
|
|
288
|
+
warnings: string[];
|
|
289
|
+
}>;
|
|
290
|
+
};
|
|
291
|
+
export type OpenToolRecipeGetRequest = {
|
|
292
|
+
id: string;
|
|
293
|
+
includeExamples?: boolean;
|
|
294
|
+
includeTests?: boolean;
|
|
295
|
+
opentoolVersion?: string;
|
|
296
|
+
};
|
|
297
|
+
export type OpenToolRecipe = OpenToolRecipeSummary & {
|
|
298
|
+
goal: string;
|
|
299
|
+
rules: string[];
|
|
300
|
+
files: Array<{
|
|
301
|
+
pathHint: string;
|
|
302
|
+
purpose: string;
|
|
303
|
+
code: string;
|
|
304
|
+
}>;
|
|
305
|
+
tests: Array<{
|
|
306
|
+
name: string;
|
|
307
|
+
command?: string;
|
|
308
|
+
assertion: string;
|
|
309
|
+
}>;
|
|
310
|
+
validationChecklist: string[];
|
|
311
|
+
dependencies: string[];
|
|
312
|
+
env: Array<{
|
|
313
|
+
name: string;
|
|
314
|
+
required: boolean;
|
|
315
|
+
description: string;
|
|
316
|
+
}>;
|
|
317
|
+
failureModes: Array<{
|
|
318
|
+
symptom: string;
|
|
319
|
+
fix: string;
|
|
320
|
+
}>;
|
|
321
|
+
sources: Array<{
|
|
322
|
+
title: string;
|
|
323
|
+
url?: string;
|
|
324
|
+
path?: string;
|
|
325
|
+
}>;
|
|
326
|
+
};
|
|
327
|
+
export type OpenToolRulesGetRequest = {
|
|
328
|
+
topic: "tool-shape" | "zod-schema" | "handler-exports" | "template-config" | "orders" | "news" | "backtesting" | "opentool-ai" | "scheduling" | "build-validate" | "deployment" | string;
|
|
329
|
+
errorText?: string;
|
|
330
|
+
filePath?: string;
|
|
331
|
+
codeExcerpt?: string;
|
|
332
|
+
opentoolVersion?: string;
|
|
333
|
+
};
|
|
334
|
+
export type OpenToolRulesGetResponse = {
|
|
335
|
+
topic: string;
|
|
336
|
+
rules: string[];
|
|
337
|
+
commonMistakes: string[];
|
|
338
|
+
diagnostics: Array<{
|
|
339
|
+
check: string;
|
|
340
|
+
passCondition: string;
|
|
341
|
+
fix: string;
|
|
342
|
+
}>;
|
|
343
|
+
examples: Array<{
|
|
344
|
+
label: string;
|
|
345
|
+
code: string;
|
|
346
|
+
}>;
|
|
347
|
+
nextActions: string[];
|
|
348
|
+
};
|
|
349
|
+
export type ScheduleToggleRequest = {
|
|
350
|
+
preferredScheduleId?: string | null;
|
|
351
|
+
scheduleId?: string | null;
|
|
352
|
+
startAt?: string | Date | null;
|
|
353
|
+
endAt?: string | Date | null;
|
|
354
|
+
};
|
|
355
|
+
export type ScheduleToggleResult = {
|
|
356
|
+
enabled: boolean;
|
|
357
|
+
status: "started" | "stopped" | "already_stopped" | string;
|
|
358
|
+
updatedScheduleIds: string[];
|
|
359
|
+
primaryScheduleId?: string;
|
|
360
|
+
schedules: AppSchedule[];
|
|
361
|
+
};
|
|
362
|
+
export type ScheduleRunNowRequest = {
|
|
363
|
+
scheduleId: string;
|
|
364
|
+
};
|
|
365
|
+
export type ScheduleRunNowResponse = {
|
|
366
|
+
ok: boolean;
|
|
367
|
+
scheduleId: string;
|
|
368
|
+
deploymentId?: string;
|
|
369
|
+
statusCode?: number | null;
|
|
370
|
+
requestId?: string | null;
|
|
371
|
+
};
|
|
372
|
+
export type ScheduleDeleteResponse = {
|
|
373
|
+
ok?: boolean;
|
|
374
|
+
success?: boolean;
|
|
375
|
+
scheduleId?: string;
|
|
376
|
+
status?: string;
|
|
377
|
+
message?: string;
|
|
378
|
+
[key: string]: unknown;
|
|
379
|
+
};
|
|
380
|
+
export type PromotePreviewToProductionRequest = {
|
|
381
|
+
previewDeploymentId?: string;
|
|
382
|
+
baseBranch: string;
|
|
383
|
+
headBranch: string;
|
|
384
|
+
chatRunId?: string;
|
|
385
|
+
};
|
|
386
|
+
export type PromotePreviewToProductionResponse = {
|
|
387
|
+
deploymentId: string;
|
|
388
|
+
previewDeploymentId?: string;
|
|
389
|
+
baseBranch?: string;
|
|
390
|
+
headBranch?: string;
|
|
391
|
+
[key: string]: unknown;
|
|
392
|
+
};
|
|
393
|
+
export type StartAppLifecycleRequest = {
|
|
394
|
+
previewDeploymentId?: string;
|
|
395
|
+
deploymentId?: string;
|
|
396
|
+
baseBranch?: string;
|
|
397
|
+
headBranch?: string;
|
|
398
|
+
chatRunId?: string;
|
|
399
|
+
scheduleId?: string | null;
|
|
400
|
+
preferredScheduleId?: string | null;
|
|
401
|
+
startAt?: string | Date | null;
|
|
402
|
+
endAt?: string | Date | null;
|
|
403
|
+
promotePreview?: boolean;
|
|
404
|
+
deployToProduction?: boolean;
|
|
405
|
+
runOnceImmediately?: boolean;
|
|
406
|
+
runImmediately?: boolean;
|
|
407
|
+
};
|
|
408
|
+
export type StartAppLifecycleResponse = {
|
|
409
|
+
ok: boolean;
|
|
410
|
+
action: "start_app" | string;
|
|
411
|
+
appId: string;
|
|
412
|
+
promotedPreview?: boolean;
|
|
413
|
+
deploymentId?: string | null;
|
|
414
|
+
scheduleId?: string | null;
|
|
415
|
+
promotion?: PromotePreviewToProductionResponse | null;
|
|
416
|
+
scheduleStart?: ScheduleToggleResult | null;
|
|
417
|
+
scheduleStatus?: "started" | "no_schedules" | string;
|
|
418
|
+
immediateRun?: ScheduleRunNowResponse | null;
|
|
419
|
+
summary?: string;
|
|
420
|
+
[key: string]: unknown;
|
|
421
|
+
};
|
|
422
|
+
export type ScheduleExecutionLog = {
|
|
423
|
+
id: string;
|
|
424
|
+
scheduleId: string;
|
|
425
|
+
deploymentId: string;
|
|
426
|
+
executionTime: string;
|
|
427
|
+
status: ScheduleExecutionStatus;
|
|
428
|
+
duration: number | null;
|
|
429
|
+
requestId: string | null;
|
|
430
|
+
logStreamName: string | null;
|
|
431
|
+
errorMessage: string | null;
|
|
432
|
+
errorType: string | null;
|
|
433
|
+
responsePayload: unknown;
|
|
434
|
+
createdAt: string;
|
|
435
|
+
scheduleName?: string | null;
|
|
436
|
+
scheduleExpression?: string | null;
|
|
437
|
+
[key: string]: unknown;
|
|
438
|
+
};
|
|
439
|
+
export type ScheduleExecutionLogsResponse = {
|
|
440
|
+
logs: ScheduleExecutionLog[];
|
|
441
|
+
};
|
|
442
|
+
export type AppExecutionDeployment = {
|
|
443
|
+
id: string;
|
|
444
|
+
status: string | null;
|
|
445
|
+
versionNumber?: number | null;
|
|
446
|
+
isProduction?: boolean | null;
|
|
447
|
+
createdAt: string;
|
|
448
|
+
[key: string]: unknown;
|
|
449
|
+
};
|
|
450
|
+
export type AppExecutionToolRun = {
|
|
451
|
+
id: string;
|
|
452
|
+
deploymentId: string | null;
|
|
453
|
+
toolName: string | null;
|
|
454
|
+
endpoint: string | null;
|
|
455
|
+
method: string | null;
|
|
456
|
+
status: string | null;
|
|
457
|
+
response?: unknown;
|
|
458
|
+
statusCode?: number | null;
|
|
459
|
+
executionTime: number | null;
|
|
460
|
+
error: string | null;
|
|
461
|
+
parameters?: unknown;
|
|
462
|
+
createdAt: string;
|
|
463
|
+
[key: string]: unknown;
|
|
464
|
+
};
|
|
465
|
+
export type AppExecutionTimelineResponse = {
|
|
466
|
+
app: unknown;
|
|
467
|
+
latestDeployment: AppExecutionDeployment | null;
|
|
468
|
+
deployments: AppExecutionDeployment[];
|
|
469
|
+
toolRuns: AppExecutionToolRun[];
|
|
470
|
+
scheduleRuns: ScheduleExecutionLog[];
|
|
471
|
+
};
|
|
472
|
+
export type OpenPondAccountProduct = {
|
|
473
|
+
id: string;
|
|
474
|
+
userProductId: string;
|
|
475
|
+
openPondProductId: string | null;
|
|
476
|
+
name: string;
|
|
477
|
+
description: string[] | null;
|
|
478
|
+
type: "subscription" | "credit_pack" | string;
|
|
479
|
+
status: "active" | "expired" | "cancelled" | string;
|
|
480
|
+
startDate: string | null;
|
|
481
|
+
endDate: string | null;
|
|
482
|
+
dailyInputTokens: number | null;
|
|
483
|
+
dailyOutputTokens: number | null;
|
|
484
|
+
dailyMessageLimit: number | null;
|
|
485
|
+
monthlyInputTokens: number | null;
|
|
486
|
+
monthlyOutputTokens: number | null;
|
|
487
|
+
monthlyCost: string | null;
|
|
488
|
+
credits: string | null;
|
|
489
|
+
price: string | null;
|
|
490
|
+
currency: string;
|
|
491
|
+
duration: number | null;
|
|
492
|
+
restrictedModels: string[] | null;
|
|
493
|
+
gatewayEntitlements: unknown | null;
|
|
494
|
+
duckHoldings: number | null;
|
|
495
|
+
isActive: boolean | null;
|
|
496
|
+
};
|
|
497
|
+
export type OpenPondAccount = {
|
|
498
|
+
id: string;
|
|
499
|
+
email: string | null;
|
|
500
|
+
name: string | null;
|
|
501
|
+
handle: string | null;
|
|
502
|
+
image: string | null;
|
|
503
|
+
timezone: string | null;
|
|
504
|
+
turnkeyWalletAddress: string | null;
|
|
505
|
+
turnkeyOperatingWalletAddress: string | null;
|
|
506
|
+
isAdmin: boolean;
|
|
507
|
+
isVerified: boolean;
|
|
508
|
+
dailyAgentAppId: string | null;
|
|
509
|
+
dailyAgentDeploymentId: string | null;
|
|
510
|
+
credits: string;
|
|
511
|
+
};
|
|
512
|
+
export type OpenPondAccountResponse = {
|
|
513
|
+
account: OpenPondAccount;
|
|
514
|
+
products: OpenPondAccountProduct[];
|
|
515
|
+
asOf: string;
|
|
516
|
+
};
|
|
517
|
+
export type OpenPondAccountBalanceBreakdownItem = {
|
|
518
|
+
wallet: "operating" | "personal" | string;
|
|
519
|
+
chain: string;
|
|
520
|
+
chainId: number | null;
|
|
521
|
+
asset: string;
|
|
522
|
+
amount: string | null;
|
|
523
|
+
usdValue: string | null;
|
|
524
|
+
};
|
|
525
|
+
export type OpenPondAccountBalanceResponse = {
|
|
526
|
+
balanceKind: "openpond_funding" | string;
|
|
527
|
+
balanceUsd: string | null;
|
|
528
|
+
balanceUsdCents: number | null;
|
|
529
|
+
balanceLabel: string;
|
|
530
|
+
currency: "USD" | string;
|
|
531
|
+
asOf: string;
|
|
532
|
+
stale?: boolean;
|
|
533
|
+
credits?: string | null;
|
|
534
|
+
breakdown: OpenPondAccountBalanceBreakdownItem[];
|
|
535
|
+
};
|
|
536
|
+
export type OpenPondApiHealthResponse = {
|
|
537
|
+
status: string;
|
|
538
|
+
service?: string;
|
|
539
|
+
timestamp?: string;
|
|
540
|
+
version?: string | null;
|
|
541
|
+
};
|
|
542
|
+
export type OpenPondApiHealth = {
|
|
543
|
+
reachable: boolean;
|
|
544
|
+
authenticated: boolean | null;
|
|
545
|
+
apiBase: string;
|
|
546
|
+
latencyMs: number;
|
|
547
|
+
status: number | null;
|
|
548
|
+
service: string | null;
|
|
549
|
+
checkedAt: string;
|
|
550
|
+
account?: OpenPondAccount | null;
|
|
551
|
+
error?: string;
|
|
552
|
+
};
|
|
553
|
+
export type AssistantMode = "plan" | "performance";
|
|
554
|
+
export type AssistantRunRequest = {
|
|
555
|
+
appId: string;
|
|
556
|
+
mode: AssistantMode;
|
|
557
|
+
prompt: string;
|
|
558
|
+
};
|
|
559
|
+
export type AssistantRunResponse = {
|
|
560
|
+
ok: boolean;
|
|
561
|
+
mode: AssistantMode;
|
|
562
|
+
conversationId: string;
|
|
563
|
+
response: string;
|
|
564
|
+
};
|
|
565
|
+
export type AgentCreateRequest = {
|
|
566
|
+
prompt: string;
|
|
567
|
+
teamId?: string;
|
|
568
|
+
template?: {
|
|
569
|
+
name?: string;
|
|
570
|
+
description?: string;
|
|
571
|
+
templateRepoUrl?: string;
|
|
572
|
+
templateBranch?: string;
|
|
573
|
+
envVars?: Record<string, string>;
|
|
574
|
+
};
|
|
575
|
+
deployEnvironment?: "preview" | "production";
|
|
576
|
+
deployDisabled?: boolean;
|
|
577
|
+
autoDeployOnFinish?: boolean;
|
|
578
|
+
streamDeployLogs?: boolean;
|
|
579
|
+
};
|
|
580
|
+
export type BacktestRunRequest = {
|
|
581
|
+
appId: string;
|
|
582
|
+
deploymentId: string;
|
|
583
|
+
toolName?: string;
|
|
584
|
+
method?: "GET" | "POST" | "PUT" | "DELETE";
|
|
585
|
+
symbol?: string;
|
|
586
|
+
timeframeStart?: string;
|
|
587
|
+
timeframeEnd?: string;
|
|
588
|
+
lookbackDays?: number;
|
|
589
|
+
initialEquityUsd?: number;
|
|
590
|
+
source?: string;
|
|
591
|
+
fillModel?: string;
|
|
592
|
+
feeModel?: string;
|
|
593
|
+
slippageBps?: number;
|
|
594
|
+
headers?: Record<string, string>;
|
|
595
|
+
};
|
|
596
|
+
export type DeploymentLogEntry = {
|
|
597
|
+
id: string;
|
|
598
|
+
type?: string;
|
|
599
|
+
message: string;
|
|
600
|
+
createdAt: string;
|
|
601
|
+
};
|
|
602
|
+
export type DeploymentDetail = {
|
|
603
|
+
id: string;
|
|
604
|
+
appId: string;
|
|
605
|
+
status: string;
|
|
606
|
+
createdAt: string;
|
|
607
|
+
gitBranch: string | null;
|
|
608
|
+
toolsJson?: unknown;
|
|
609
|
+
metadataJson?: unknown;
|
|
610
|
+
};
|
|
611
|
+
export type ToolExecuteRequest = {
|
|
612
|
+
appId: string;
|
|
613
|
+
deploymentId: string;
|
|
614
|
+
toolName: string;
|
|
615
|
+
method?: "GET" | "POST" | "PUT" | "DELETE";
|
|
616
|
+
body?: unknown;
|
|
617
|
+
headers?: Record<string, string>;
|
|
618
|
+
};
|
|
619
|
+
export type ToolExecuteResponse = {
|
|
620
|
+
ok: boolean;
|
|
621
|
+
status: number;
|
|
622
|
+
data?: unknown;
|
|
623
|
+
error?: string;
|
|
624
|
+
};
|