freestyle-sandboxes 0.0.32 → 0.0.34
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/index.d.cts +1 -1
- package/dist/ai/index.d.mts +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/langgraph/index.d.cts +1 -1
- package/dist/langgraph/index.d.mts +1 -1
- package/dist/mastra/index.d.cts +1 -1
- package/dist/mastra/index.d.mts +1 -1
- package/dist/types.gen-BuhQ5LpB.d.ts +764 -0
- package/dist/utils/index.cjs +8 -2
- package/dist/utils/index.d.cts +4 -6
- package/dist/utils/index.d.mts +4 -6
- package/dist/utils/index.mjs +8 -2
- package/openapi/types.gen.ts +4 -0
- package/openapi.json +4453 -1
- package/package.json +1 -1
- package/src/utils/index.ts +13 -5
package/dist/utils/index.cjs
CHANGED
|
@@ -46,7 +46,10 @@ const prepareDirForDeployment = async (directory) => {
|
|
|
46
46
|
console.error(`Error reading file ${relativePath}:`, error);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
return
|
|
49
|
+
return {
|
|
50
|
+
kind: "files",
|
|
51
|
+
files
|
|
52
|
+
};
|
|
50
53
|
};
|
|
51
54
|
const prepareDirForDeploymentSync = (directory) => {
|
|
52
55
|
const files = {};
|
|
@@ -68,7 +71,10 @@ const prepareDirForDeploymentSync = (directory) => {
|
|
|
68
71
|
console.error(`Error reading file ${relativePath}:`, error);
|
|
69
72
|
}
|
|
70
73
|
}
|
|
71
|
-
return
|
|
74
|
+
return {
|
|
75
|
+
kind: "files",
|
|
76
|
+
files
|
|
77
|
+
};
|
|
72
78
|
};
|
|
73
79
|
const prepareNextJsForDeployment = async (directory) => {
|
|
74
80
|
const publicDir = path__namespace.join(directory, "public");
|
package/dist/utils/index.d.cts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as DeploymentSource } from '../types.gen-BuhQ5LpB.js';
|
|
2
2
|
|
|
3
|
-
declare const prepareDirForDeployment: (directory: string) => Promise<
|
|
4
|
-
declare const prepareDirForDeploymentSync: (directory: string) =>
|
|
5
|
-
[key: string]: FreestyleFile;
|
|
6
|
-
};
|
|
3
|
+
declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
|
|
4
|
+
declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
|
|
7
5
|
/**
|
|
8
6
|
* This is in beta, and may not work as expected. **SUBJECT TO CHANGE.**
|
|
9
7
|
*/
|
|
10
|
-
declare const prepareNextJsForDeployment: (directory: string) => Promise<
|
|
8
|
+
declare const prepareNextJsForDeployment: (directory: string) => Promise<DeploymentSource>;
|
|
11
9
|
|
|
12
10
|
export { prepareDirForDeployment, prepareDirForDeploymentSync, prepareNextJsForDeployment };
|
package/dist/utils/index.d.mts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as DeploymentSource } from '../types.gen-BuhQ5LpB.js';
|
|
2
2
|
|
|
3
|
-
declare const prepareDirForDeployment: (directory: string) => Promise<
|
|
4
|
-
declare const prepareDirForDeploymentSync: (directory: string) =>
|
|
5
|
-
[key: string]: FreestyleFile;
|
|
6
|
-
};
|
|
3
|
+
declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
|
|
4
|
+
declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
|
|
7
5
|
/**
|
|
8
6
|
* This is in beta, and may not work as expected. **SUBJECT TO CHANGE.**
|
|
9
7
|
*/
|
|
10
|
-
declare const prepareNextJsForDeployment: (directory: string) => Promise<
|
|
8
|
+
declare const prepareNextJsForDeployment: (directory: string) => Promise<DeploymentSource>;
|
|
11
9
|
|
|
12
10
|
export { prepareDirForDeployment, prepareDirForDeploymentSync, prepareNextJsForDeployment };
|
package/dist/utils/index.mjs
CHANGED
|
@@ -23,7 +23,10 @@ const prepareDirForDeployment = async (directory) => {
|
|
|
23
23
|
console.error(`Error reading file ${relativePath}:`, error);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
return
|
|
26
|
+
return {
|
|
27
|
+
kind: "files",
|
|
28
|
+
files
|
|
29
|
+
};
|
|
27
30
|
};
|
|
28
31
|
const prepareDirForDeploymentSync = (directory) => {
|
|
29
32
|
const files = {};
|
|
@@ -45,7 +48,10 @@ const prepareDirForDeploymentSync = (directory) => {
|
|
|
45
48
|
console.error(`Error reading file ${relativePath}:`, error);
|
|
46
49
|
}
|
|
47
50
|
}
|
|
48
|
-
return
|
|
51
|
+
return {
|
|
52
|
+
kind: "files",
|
|
53
|
+
files
|
|
54
|
+
};
|
|
49
55
|
};
|
|
50
56
|
const prepareNextJsForDeployment = async (directory) => {
|
|
51
57
|
const publicDir = path.join(directory, "public");
|
package/openapi/types.gen.ts
CHANGED
|
@@ -271,6 +271,10 @@ export type FreestyleExecuteScriptParamsConfiguration = {
|
|
|
271
271
|
customHeaders?: {
|
|
272
272
|
[key: string]: (string);
|
|
273
273
|
};
|
|
274
|
+
/**
|
|
275
|
+
* Proxy all outgoing requests through this URL
|
|
276
|
+
*/
|
|
277
|
+
proxy?: (string) | null;
|
|
274
278
|
};
|
|
275
279
|
|
|
276
280
|
export type FreestyleExecuteScriptResultSuccess = {
|