freestyle-sandboxes 0.0.93 → 0.0.95
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/dist/ai/inde.d.cts +1 -1
- package/dist/ai/inde.d.mts +1 -1
- package/dist/ai/index.d.cts +1 -1
- package/dist/ai/index.d.mts +1 -1
- package/dist/inde.d.cts +16 -6
- package/dist/inde.d.mts +16 -6
- package/dist/index.cjs +19 -8
- package/dist/index.d.cts +16 -6
- package/dist/index.d.mts +16 -6
- package/dist/index.mjs +19 -8
- package/dist/langgraph/inde.d.cts +1 -1
- package/dist/langgraph/inde.d.mts +1 -1
- package/dist/langgraph/index.d.cts +1 -1
- package/dist/langgraph/index.d.mts +1 -1
- package/dist/mastra/inde.d.cts +1 -1
- package/dist/mastra/inde.d.mts +1 -1
- package/dist/mastra/index.d.cts +1 -1
- package/dist/mastra/index.d.mts +1 -1
- package/dist/{types.gen-CG8tIO9M.d.ts → types.gen-DKjMRuu5.d.ts} +448 -43
- package/dist/utils/inde.d.cts +1 -1
- package/dist/utils/inde.d.mts +1 -1
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/openapi/sdk.gen.ts +234 -1
- package/openapi/types.gen.ts +389 -19
- package/openapi.json +1 -1
- package/package.json +1 -1
- package/src/index.ts +22 -1
- package/dist/index-BBXyg0JQ.cjs +0 -3253
- package/dist/index-BQHqnjZK.mjs +0 -3231
- package/dist/index-CEEa9WHp.cjs +0 -3238
- package/dist/index-D1ulQeJR.mjs +0 -3247
- package/dist/index-DCF70Xbq.mjs +0 -3246
- package/dist/index-H7UNEAjs.cjs +0 -3254
- package/dist/index.d-CXx1AdyW.d.ts +0 -4210
- package/dist/types.gen-1sd31qLV.d.ts +0 -172
- package/dist/types.gen-627pxroW.d.ts +0 -830
- package/dist/types.gen-BCdfx7yt.d.ts +0 -760
- package/dist/types.gen-BVXmFV7d.d.ts +0 -1299
- package/dist/types.gen-BWwhCgTX.d.ts +0 -1462
- package/dist/types.gen-BaMKzqxQ.d.ts +0 -233
- package/dist/types.gen-BbekD8Sd.d.ts +0 -1119
- package/dist/types.gen-BpWMzgc3.d.ts +0 -1493
- package/dist/types.gen-BqN1t03N.d.ts +0 -842
- package/dist/types.gen-BtK6PMQy.d.ts +0 -195
- package/dist/types.gen-BuhQ5LpB.d.ts +0 -764
- package/dist/types.gen-BzRtj_TA.d.ts +0 -725
- package/dist/types.gen-C03gaIPq.d.ts +0 -297
- package/dist/types.gen-CIf3ciN7.d.ts +0 -807
- package/dist/types.gen-CMuCas4r.d.ts +0 -183
- package/dist/types.gen-CWa4Mw0J.d.ts +0 -1493
- package/dist/types.gen-CZUnqmzP.d.ts +0 -789
- package/dist/types.gen-CnEkmbco.d.ts +0 -314
- package/dist/types.gen-DDYpuDzZ.d.ts +0 -764
- package/dist/types.gen-DHmdEOOa.d.ts +0 -172
- package/dist/types.gen-DLYohMJT.d.ts +0 -382
- package/dist/types.gen-DbTb_SrD.d.ts +0 -156
- package/dist/types.gen-DkFlXKTr.d.ts +0 -1354
- package/dist/types.gen-DkQ-Dbs1.d.ts +0 -764
- package/dist/types.gen-DyY7Deri.d.ts +0 -138
- package/dist/types.gen-MBZCvIhE.d.ts +0 -311
- package/dist/types.gen-YhJAHBw8.d.ts +0 -233
- package/dist/types.gen-cCnnhnB6.d.ts +0 -182
- package/dist/types.gen-mg_JNXrq.d.ts +0 -830
- package/dist/types.gen-uDTr6v-7.d.ts +0 -731
package/dist/index.mjs
CHANGED
|
@@ -82,13 +82,13 @@ const handleExecOnEphemeralDevServer = (options) => {
|
|
|
82
82
|
const handleWriteFileFromEphemeralDevServer = (options) => {
|
|
83
83
|
return (options?.client ?? client).put({
|
|
84
84
|
...options,
|
|
85
|
-
url: "/ephemeral/v1/dev-servers/files/{
|
|
85
|
+
url: "/ephemeral/v1/dev-servers/files/{filepath}"
|
|
86
86
|
});
|
|
87
87
|
};
|
|
88
88
|
const handleReadFileFromEphemeralDevServer = (options) => {
|
|
89
89
|
return (options?.client ?? client).post({
|
|
90
90
|
...options,
|
|
91
|
-
url: "/ephemeral/v1/dev-servers/files/{
|
|
91
|
+
url: "/ephemeral/v1/dev-servers/files/{filepath}"
|
|
92
92
|
});
|
|
93
93
|
};
|
|
94
94
|
const handleGitCommitPush = (options) => {
|
|
@@ -238,7 +238,7 @@ const handleDeleteRepo = (options) => {
|
|
|
238
238
|
const handleGetContents = (options) => {
|
|
239
239
|
return (options?.client ?? client).get({
|
|
240
240
|
...options,
|
|
241
|
-
url: "/git/v1/repo/{repo}/contents/{
|
|
241
|
+
url: "/git/v1/repo/{repo}/contents/{path}"
|
|
242
242
|
});
|
|
243
243
|
};
|
|
244
244
|
const handleListGitTriggers = (options) => {
|
|
@@ -627,7 +627,8 @@ ${response.error.message}`);
|
|
|
627
627
|
public: pub = false,
|
|
628
628
|
source,
|
|
629
629
|
import: _import,
|
|
630
|
-
defaultBranch
|
|
630
|
+
defaultBranch,
|
|
631
|
+
devServers
|
|
631
632
|
}) {
|
|
632
633
|
const response = await handleCreateRepo({
|
|
633
634
|
client: this.client,
|
|
@@ -636,7 +637,8 @@ ${response.error.message}`);
|
|
|
636
637
|
public: pub,
|
|
637
638
|
source,
|
|
638
639
|
import: _import,
|
|
639
|
-
defaultBranch
|
|
640
|
+
defaultBranch,
|
|
641
|
+
devServers
|
|
640
642
|
}
|
|
641
643
|
});
|
|
642
644
|
if (response.data) {
|
|
@@ -932,11 +934,15 @@ ${response.error.message}`);
|
|
|
932
934
|
/**
|
|
933
935
|
* Delete a git trigger.
|
|
934
936
|
*/
|
|
935
|
-
async deleteGitTrigger({
|
|
937
|
+
async deleteGitTrigger({
|
|
938
|
+
triggerId,
|
|
939
|
+
repo
|
|
940
|
+
}) {
|
|
936
941
|
const response = await handleDeleteGitTrigger({
|
|
937
942
|
client: this.client,
|
|
938
943
|
path: {
|
|
939
|
-
trigger: triggerId
|
|
944
|
+
trigger: triggerId,
|
|
945
|
+
repo
|
|
940
946
|
}
|
|
941
947
|
});
|
|
942
948
|
if (response.data) {
|
|
@@ -995,6 +1001,7 @@ ${response.error.message}`);
|
|
|
995
1001
|
client: this.client,
|
|
996
1002
|
path: {
|
|
997
1003
|
repo: repoId,
|
|
1004
|
+
path: path ?? "",
|
|
998
1005
|
"*path": path ?? null
|
|
999
1006
|
},
|
|
1000
1007
|
query: {
|
|
@@ -1109,7 +1116,8 @@ ${response.error.message}`);
|
|
|
1109
1116
|
const data = response.data;
|
|
1110
1117
|
const devServerInstance = {
|
|
1111
1118
|
repoId: options.repoId || options.repo || "",
|
|
1112
|
-
kind: "repo"
|
|
1119
|
+
kind: "repo",
|
|
1120
|
+
gitRef: options.gitRef
|
|
1113
1121
|
};
|
|
1114
1122
|
const client = this.client;
|
|
1115
1123
|
const that = this;
|
|
@@ -1166,6 +1174,7 @@ ${response.error.message}`);
|
|
|
1166
1174
|
const response2 = await handleReadFileFromEphemeralDevServer({
|
|
1167
1175
|
client,
|
|
1168
1176
|
path: {
|
|
1177
|
+
filepath: path,
|
|
1169
1178
|
"*filepath": path
|
|
1170
1179
|
},
|
|
1171
1180
|
body: {
|
|
@@ -1229,6 +1238,7 @@ ${response.error.message}`);
|
|
|
1229
1238
|
const response2 = await handleReadFileFromEphemeralDevServer({
|
|
1230
1239
|
client,
|
|
1231
1240
|
path: {
|
|
1241
|
+
filepath: path,
|
|
1232
1242
|
"*filepath": path
|
|
1233
1243
|
},
|
|
1234
1244
|
body: {
|
|
@@ -1249,6 +1259,7 @@ ${response.error.message}`);
|
|
|
1249
1259
|
const response2 = await handleWriteFileFromEphemeralDevServer({
|
|
1250
1260
|
client,
|
|
1251
1261
|
path: {
|
|
1262
|
+
filepath: path,
|
|
1252
1263
|
"*filepath": path
|
|
1253
1264
|
},
|
|
1254
1265
|
body: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-
|
|
1
|
+
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-DKjMRuu5.js';
|
|
2
2
|
import * as z3 from 'zod/v3';
|
|
3
3
|
import { z } from 'zod/v3';
|
|
4
4
|
import * as z4 from 'zod/v4/core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-
|
|
1
|
+
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-DKjMRuu5.js';
|
|
2
2
|
import * as z3 from 'zod/v3';
|
|
3
3
|
import { z } from 'zod/v3';
|
|
4
4
|
import * as z4 from 'zod/v4/core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-
|
|
1
|
+
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-DKjMRuu5.js';
|
|
2
2
|
import * as z3 from 'zod/v3';
|
|
3
3
|
import { z } from 'zod/v3';
|
|
4
4
|
import * as z4 from 'zod/v4/core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-
|
|
1
|
+
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-DKjMRuu5.js';
|
|
2
2
|
import * as z3 from 'zod/v3';
|
|
3
3
|
import { z } from 'zod/v3';
|
|
4
4
|
import * as z4 from 'zod/v4/core';
|
package/dist/mastra/inde.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ import { Transform } from 'stream';
|
|
|
5
5
|
import { EventEmitter } from 'events';
|
|
6
6
|
import { ServerResponse, IncomingMessage } from 'http';
|
|
7
7
|
import { WorkerOptions } from 'worker_threads';
|
|
8
|
-
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-
|
|
8
|
+
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-DKjMRuu5.js';
|
|
9
9
|
import 'node:http';
|
|
10
10
|
|
|
11
11
|
// Type definitions for pino-std-serializers 2.4
|
package/dist/mastra/inde.d.mts
CHANGED
|
@@ -5,7 +5,7 @@ import { Transform } from 'stream';
|
|
|
5
5
|
import { EventEmitter } from 'events';
|
|
6
6
|
import { ServerResponse, IncomingMessage } from 'http';
|
|
7
7
|
import { WorkerOptions } from 'worker_threads';
|
|
8
|
-
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-
|
|
8
|
+
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-DKjMRuu5.js';
|
|
9
9
|
import 'node:http';
|
|
10
10
|
|
|
11
11
|
// Type definitions for pino-std-serializers 2.4
|
package/dist/mastra/index.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ import { Transform } from 'stream';
|
|
|
5
5
|
import { EventEmitter } from 'events';
|
|
6
6
|
import { ServerResponse, IncomingMessage } from 'http';
|
|
7
7
|
import { WorkerOptions } from 'worker_threads';
|
|
8
|
-
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-
|
|
8
|
+
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-DKjMRuu5.js';
|
|
9
9
|
import 'node:http';
|
|
10
10
|
|
|
11
11
|
// Type definitions for pino-std-serializers 2.4
|
package/dist/mastra/index.d.mts
CHANGED
|
@@ -5,7 +5,7 @@ import { Transform } from 'stream';
|
|
|
5
5
|
import { EventEmitter } from 'events';
|
|
6
6
|
import { ServerResponse, IncomingMessage } from 'http';
|
|
7
7
|
import { WorkerOptions } from 'worker_threads';
|
|
8
|
-
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-
|
|
8
|
+
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-DKjMRuu5.js';
|
|
9
9
|
import 'node:http';
|
|
10
10
|
|
|
11
11
|
// Type definitions for pino-std-serializers 2.4
|