freestyle-sandboxes 0.0.75-1 → 0.0.75

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 (56) hide show
  1. package/dist/ai/inde.d.cts +1 -1
  2. package/dist/ai/inde.d.mts +1 -1
  3. package/dist/ai/index.d.cts +1 -1
  4. package/dist/ai/index.d.mts +1 -1
  5. package/dist/inde.d.cts +4 -2
  6. package/dist/inde.d.mts +4 -2
  7. package/dist/{index-BBXyg0JQ.cjs → index-CGc0kRd_.cjs} +9 -5
  8. package/dist/{index-DCF70Xbq.mjs → index-jh-93svX.mjs} +9 -5
  9. package/dist/index.cjs +13 -6
  10. package/dist/index.d.cts +4 -2
  11. package/dist/index.d.mts +4 -2
  12. package/dist/index.mjs +13 -6
  13. package/dist/langgraph/inde.d.cts +1 -1
  14. package/dist/langgraph/inde.d.mts +1 -1
  15. package/dist/langgraph/index.d.cts +1 -1
  16. package/dist/langgraph/index.d.mts +1 -1
  17. package/dist/mastra/inde.d.cts +1 -1
  18. package/dist/mastra/inde.d.mts +1 -1
  19. package/dist/mastra/index.d.cts +1 -1
  20. package/dist/mastra/index.d.mts +1 -1
  21. package/dist/{types.gen-BVXmFV7d.d.ts → types.gen-0bQ5Wn0o.d.ts} +18 -17
  22. package/dist/{types.gen-CIf3ciN7.d.ts → types.gen-BJArgpto.d.ts} +2 -5
  23. package/dist/{types.gen-DLYohMJT.d.ts → types.gen-CfrGF-JI.d.ts} +1 -1
  24. package/dist/{types.gen-CZUnqmzP.d.ts → types.gen-DxZanGNF.d.ts} +9 -6
  25. package/dist/utils/inde.d.cts +1 -1
  26. package/dist/utils/inde.d.mts +1 -1
  27. package/dist/utils/index.d.cts +1 -1
  28. package/dist/utils/index.d.mts +1 -1
  29. package/openapi/sdk.gen.ts +12 -12
  30. package/openapi/types.gen.ts +20 -19
  31. package/openapi.json +1 -1
  32. package/package.json +1 -1
  33. package/src/dev-server.ts +3 -0
  34. package/src/index.ts +45 -58
  35. package/dist/index-BQHqnjZK.mjs +0 -3231
  36. package/dist/index-CEEa9WHp.cjs +0 -3238
  37. package/dist/types.gen-1sd31qLV.d.ts +0 -172
  38. package/dist/types.gen-627pxroW.d.ts +0 -830
  39. package/dist/types.gen-BCdfx7yt.d.ts +0 -760
  40. package/dist/types.gen-BaMKzqxQ.d.ts +0 -233
  41. package/dist/types.gen-BbekD8Sd.d.ts +0 -1119
  42. package/dist/types.gen-BqN1t03N.d.ts +0 -842
  43. package/dist/types.gen-BtK6PMQy.d.ts +0 -195
  44. package/dist/types.gen-C03gaIPq.d.ts +0 -297
  45. package/dist/types.gen-CMuCas4r.d.ts +0 -183
  46. package/dist/types.gen-CnEkmbco.d.ts +0 -314
  47. package/dist/types.gen-DDYpuDzZ.d.ts +0 -764
  48. package/dist/types.gen-DHmdEOOa.d.ts +0 -172
  49. package/dist/types.gen-DbTb_SrD.d.ts +0 -156
  50. package/dist/types.gen-DkQ-Dbs1.d.ts +0 -764
  51. package/dist/types.gen-DyY7Deri.d.ts +0 -138
  52. package/dist/types.gen-MBZCvIhE.d.ts +0 -311
  53. package/dist/types.gen-YhJAHBw8.d.ts +0 -233
  54. package/dist/types.gen-cCnnhnB6.d.ts +0 -182
  55. package/dist/types.gen-mg_JNXrq.d.ts +0 -830
  56. package/dist/types.gen-uDTr6v-7.d.ts +0 -731
@@ -1,314 +0,0 @@
1
- type DeploymentLogEntry = {
2
- deploymentId: string;
3
- accountId: string;
4
- provisionedAt: string;
5
- timeout: string;
6
- state: DeploymentState;
7
- deployedAt?: (string) | null;
8
- domains: Array<(string)>;
9
- envVars: {
10
- [key: string]: (string);
11
- };
12
- };
13
- type DeploymentState = 'provisioning' | 'deployed' | 'failed';
14
- type ExecuteLogEntry = {
15
- deployment: string;
16
- accountId: string;
17
- provisionedAt: string;
18
- startedAt?: (string) | null;
19
- duration?: (string) | null;
20
- state: ExecuteRunState;
21
- envVars: {
22
- [key: string]: (string);
23
- };
24
- };
25
- type ExecuteRunInfo = {
26
- code: string;
27
- nodeModules: {
28
- [key: string]: (string);
29
- };
30
- };
31
- type ExecuteRunState = 'starting' | 'running' | 'complete';
32
- type FreestyleCloudstateDeployConfiguration = {
33
- /**
34
- * ID of the project to deploy, if not provided will create a new project
35
- */
36
- domains?: Array<(string)> | null;
37
- /**
38
- * The environment variables that the cloudstate deploy can access
39
- */
40
- envVars?: {
41
- [key: string]: (string);
42
- };
43
- cloudstateDatabaseId?: (string) | null;
44
- };
45
- type FreestyleCloudstateDeployErrorResponse = {
46
- message: string;
47
- };
48
- type FreestyleCloudstateDeployRequest = {
49
- classes: string;
50
- config?: FreestyleCloudstateDeployConfiguration;
51
- };
52
- type FreestyleCloudstateDeploySuccessResponse = {
53
- deploymentId: string;
54
- cloudstateDatabaseId: string;
55
- };
56
- type FreestyleDeleteDomainVerificationRequest = {
57
- /**
58
- * The domain to create a verification code for
59
- */
60
- domain: string;
61
- /**
62
- * The verification code
63
- */
64
- verificationCode: string;
65
- };
66
- type FreestyleDeployWebConfiguration = {
67
- /**
68
- * The entrypoint file for the website
69
- */
70
- entrypoint?: (string) | null;
71
- /**
72
- * The custom domains for the website, eg. [\"subdomain.yourwebsite.com\"]. You may include a single *.style.dev domain here.
73
- */
74
- domains?: Array<(string)> | null;
75
- /**
76
- * Project ID was our original way of tracking deployments together, it is now deprecated and will be removed in the future. Please use the domains field to specify the domains for your project.
77
- * @deprecated
78
- */
79
- projectId?: (string) | null;
80
- /**
81
- * Node Modules to install for the website, a map of package names to versions, e.g. { \"express\": \"4.17.1\" }. If this and a package-lock.json are provided, the package-lock.json, bun.lockb, pnpm-lock.yaml, or yarn.lock is also provided, the versions here will override the versions in those lock files.
82
- */
83
- nodeModules?: {
84
- [key: string]: (string);
85
- } | null;
86
- /**
87
- * The environment variables that the website can access
88
- * e.g. { \"RESEND_API_KEY\": \"re_123456789\" }
89
- */
90
- envVars?: {
91
- [key: string]: (string);
92
- } | null;
93
- serverStartCheck?: boolean;
94
- };
95
- type FreestyleDeployWebErrorResponse = {
96
- message: string;
97
- };
98
- type FreestyleDeployWebPayload = {
99
- /**
100
- * The files to deploy, a map of file paths to file contents, e.g. { \"index.js\": {\"content\": \"your main\", \"encoding\": \"utf-8\"}, \"file2.js\": {\"content\": \"your helper\" } }
101
- *
102
- * **Do not include node modules in this bundle, they will not work**. Instead, includes a package-lock.json, bun.lockb, pnpm-lock.yaml, or yarn.lock, the node modules for the project will be installed from that lock file, or use the node_modules field in the configuration to specify the node modules to install.
103
- */
104
- files: {
105
- [key: string]: FreestyleFile;
106
- };
107
- config?: FreestyleDeployWebConfiguration;
108
- };
109
- type FreestyleDeployWebSuccessResponse = {
110
- deploymentId: string;
111
- domains?: Array<(string)> | null;
112
- /**
113
- * @deprecated
114
- */
115
- projectId?: (string) | null;
116
- };
117
- type FreestyleDomainVerificationRequest = {
118
- /**
119
- * The domain to create a verification code for
120
- */
121
- domain: string;
122
- };
123
- type FreestyleExecuteScriptParams = {
124
- /**
125
- * The JavaScript or TypeScript script to execute
126
- */
127
- script: string;
128
- config?: FreestyleExecuteScriptParamsConfiguration;
129
- };
130
- type FreestyleExecuteScriptParamsConfiguration = {
131
- /**
132
- * The environment variables to set for the script
133
- */
134
- envVars?: {
135
- [key: string]: (string);
136
- };
137
- /**
138
- * The node modules to install for the script
139
- */
140
- nodeModules?: {
141
- [key: string]: (string);
142
- };
143
- /**
144
- * Tags for you to organize your scripts, useful for tracking what you're running
145
- */
146
- tags?: Array<(string)>;
147
- /**
148
- * The script timeout
149
- */
150
- timeout?: (string) | null;
151
- /**
152
- * If false, we'll not resolve peer dependencies for the packages given, this can speed up execute performance, but will break packages with peers unless the peers are manually specified.
153
- */
154
- peerDependencyResolution?: boolean;
155
- };
156
- type FreestyleExecuteScriptResultSuccess = {
157
- result: unknown;
158
- logs: Array<FreestyleJavaScriptLog>;
159
- };
160
- type FreestyleFile = {
161
- /**
162
- * The content of the file
163
- */
164
- content: string;
165
- /**
166
- * The encoding of the file. Either **utf-8** or **base64**
167
- */
168
- encoding?: string;
169
- };
170
- type FreestyleGetLogsResponse = {
171
- logs: Array<FreestyleLogResponseObject>;
172
- };
173
- type FreestyleJavaScriptLog = {
174
- /**
175
- * The log message
176
- */
177
- message: string;
178
- /**
179
- * The log level
180
- */
181
- type: string;
182
- };
183
- type FreestyleLogResponseObject = {
184
- message: string;
185
- timestamp: string;
186
- };
187
- type FreestyleVerifyDomainRequest = {
188
- domain: string;
189
- };
190
- type HandleDeployCloudstateData = {
191
- body: FreestyleCloudstateDeployRequest;
192
- };
193
- type HandleDeployCloudstateResponse = (FreestyleCloudstateDeploySuccessResponse);
194
- type HandleDeployCloudstateError = (FreestyleCloudstateDeployErrorResponse);
195
- type HandleBackupCloudstateData = {
196
- path: {
197
- id: string;
198
- };
199
- };
200
- type HandleBackupCloudstateResponse = (Array<(number)>);
201
- type HandleBackupCloudstateError = (unknown);
202
- type HandleVerifyWildcardResponse = ({
203
- domain: string;
204
- });
205
- type HandleVerifyWildcardError = ({
206
- message: string;
207
- });
208
- type HandleListDomainsResponse = (Array<{
209
- domain: string;
210
- createdAt: number;
211
- }>);
212
- type HandleListDomainsError = ({
213
- message: string;
214
- });
215
- type HandleListDomainVerificationRequestsResponse = (Array<{
216
- verificationCode: string;
217
- domain: string;
218
- createdAt: number;
219
- }>);
220
- type HandleListDomainVerificationRequestsError = ({
221
- message: string;
222
- });
223
- type HandleVerifyDomainData = {
224
- body: FreestyleVerifyDomainRequest;
225
- };
226
- type HandleVerifyDomainResponse = ({
227
- domain: string;
228
- });
229
- type HandleVerifyDomainError = ({
230
- message: string;
231
- });
232
- type HandleCreateDomainVerificationData = {
233
- body: FreestyleDomainVerificationRequest;
234
- };
235
- type HandleCreateDomainVerificationResponse = ({
236
- verificationCode: string;
237
- domain: string;
238
- });
239
- type HandleCreateDomainVerificationError = ({
240
- message: string;
241
- });
242
- type HandleDeleteDomainVerificationData = {
243
- body: FreestyleDeleteDomainVerificationRequest;
244
- };
245
- type HandleDeleteDomainVerificationResponse = ({
246
- verificationCode: string;
247
- domain: string;
248
- });
249
- type HandleDeleteDomainVerificationError = ({
250
- message: string;
251
- });
252
- type HandleListExecuteRunsData = {
253
- query?: {
254
- limit?: (number) | null;
255
- offset?: (number) | null;
256
- };
257
- };
258
- type HandleListExecuteRunsResponse = ({
259
- entries: Array<ExecuteLogEntry>;
260
- total: number;
261
- offset: number;
262
- });
263
- type HandleListExecuteRunsError = ({
264
- message: string;
265
- });
266
- type HandleGetExecuteRunData = {
267
- path: {
268
- deployment: string;
269
- };
270
- };
271
- type HandleGetExecuteRunResponse = ({
272
- metadata: ExecuteLogEntry;
273
- code: ExecuteRunInfo;
274
- });
275
- type HandleGetExecuteRunError = ({
276
- message: string;
277
- });
278
- type HandleExecuteScriptData = {
279
- body: FreestyleExecuteScriptParams;
280
- };
281
- type HandleExecuteScriptResponse = ({
282
- result: unknown;
283
- logs: Array<FreestyleJavaScriptLog>;
284
- });
285
- type HandleExecuteScriptError = ({
286
- error: string;
287
- });
288
- type HandleGetLogsData = {
289
- query: {
290
- deploymentId: string;
291
- };
292
- };
293
- type HandleGetLogsResponse = (FreestyleGetLogsResponse);
294
- type HandleGetLogsError = unknown;
295
- type HandleDeployWebData = {
296
- body: FreestyleDeployWebPayload;
297
- };
298
- type HandleDeployWebResponse = (FreestyleDeployWebSuccessResponse);
299
- type HandleDeployWebError = (FreestyleDeployWebErrorResponse);
300
- type HandleListWebDeploysResponse = ({
301
- entries: Array<DeploymentLogEntry>;
302
- total: number;
303
- offset: number;
304
- });
305
- type HandleListWebDeploysError = ({
306
- message: string;
307
- });
308
- type HandleGetWebDeployDetailsData = {
309
- path: {
310
- deployment_id: string;
311
- };
312
- };
313
-
314
- export type { HandleExecuteScriptResponse as $, FreestyleFile as A, FreestyleGetLogsResponse as B, FreestyleJavaScriptLog as C, DeploymentLogEntry as D, ExecuteLogEntry as E, FreestyleExecuteScriptParamsConfiguration as F, FreestyleLogResponseObject as G, HandleBackupCloudstateResponse as H, FreestyleVerifyDomainRequest as I, HandleDeployCloudstateData as J, HandleDeployCloudstateResponse as K, HandleDeployCloudstateError as L, HandleBackupCloudstateData as M, HandleBackupCloudstateError as N, HandleVerifyWildcardError as O, HandleListDomainsError as P, HandleListDomainVerificationRequestsError as Q, HandleVerifyDomainData as R, HandleCreateDomainVerificationData as S, HandleCreateDomainVerificationError as T, HandleDeleteDomainVerificationData as U, HandleDeleteDomainVerificationError as V, HandleListExecuteRunsData as W, HandleListExecuteRunsError as X, HandleGetExecuteRunData as Y, HandleGetExecuteRunError as Z, HandleExecuteScriptData as _, FreestyleExecuteScriptResultSuccess as a, HandleExecuteScriptError as a0, HandleGetLogsData as a1, HandleGetLogsError as a2, HandleDeployWebData as a3, HandleDeployWebResponse as a4, HandleDeployWebError as a5, HandleListWebDeploysError as a6, HandleGetWebDeployDetailsData as a7, FreestyleDeployWebConfiguration as b, FreestyleDeployWebSuccessResponse as c, FreestyleCloudstateDeployRequest as d, FreestyleCloudstateDeploySuccessResponse as e, HandleGetLogsResponse as f, HandleCreateDomainVerificationResponse as g, HandleVerifyDomainResponse as h, HandleVerifyDomainError as i, HandleListDomainsResponse as j, HandleListDomainVerificationRequestsResponse as k, HandleDeleteDomainVerificationResponse as l, HandleListWebDeploysResponse as m, HandleListExecuteRunsResponse as n, HandleGetExecuteRunResponse as o, HandleVerifyWildcardResponse as p, DeploymentState as q, ExecuteRunInfo as r, ExecuteRunState as s, FreestyleCloudstateDeployConfiguration as t, FreestyleCloudstateDeployErrorResponse as u, FreestyleDeleteDomainVerificationRequest as v, FreestyleDeployWebErrorResponse as w, FreestyleDeployWebPayload as x, FreestyleDomainVerificationRequest as y, FreestyleExecuteScriptParams as z };