freestyle-sandboxes 0.0.45 → 0.0.47
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 +71 -0
- package/dist/ai/inde.d.mts +71 -0
- package/dist/ai/index.d.cts +1 -1
- package/dist/ai/index.d.mts +1 -1
- package/dist/expo/inde.d.cts +6 -0
- package/dist/expo/inde.d.mts +6 -0
- package/dist/inde.d.cts +192 -0
- package/dist/inde.d.mts +192 -0
- package/dist/index.cjs +160 -49
- package/dist/index.d.cts +83 -47
- package/dist/index.d.mts +83 -47
- package/dist/index.mjs +160 -49
- package/dist/langgraph/inde.d.cts +2162 -0
- package/dist/langgraph/inde.d.mts +2162 -0
- package/dist/langgraph/index.d.cts +1 -1
- package/dist/langgraph/index.d.mts +1 -1
- package/dist/mastra/inde.d.cts +2623 -0
- package/dist/mastra/inde.d.mts +2623 -0
- package/dist/mastra/index.d.cts +1 -1
- package/dist/mastra/index.d.mts +1 -1
- package/dist/react/dev-server/index..d.cts +28 -0
- package/dist/react/dev-server/index..d.mts +28 -0
- package/dist/react/dev-server/index.cjs +83 -0
- package/dist/react/dev-server/index.d.cts +28 -0
- package/dist/react/dev-server/index.d.mts +28 -0
- package/dist/react/dev-server/index.mjs +80 -0
- package/dist/types.gen-CIf3ciN7.d.ts +807 -0
- package/dist/utils/inde.d.cts +10 -0
- package/dist/utils/inde.d.mts +10 -0
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/openapi/types.gen.ts +27 -6
- package/openapi.json +4649 -1
- package/package.json +14 -2
- package/src/index.ts +222 -105
- package/src/react/dev-server/index.tsx +111 -0
- package/src/react/dev-server/types.ts +5 -0
- package/tsconfig.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { D as DeploymentSource } from '../types.gen-CIf3ciN7.js';
|
|
2
|
+
|
|
3
|
+
declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
|
|
4
|
+
declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
|
|
5
|
+
/**
|
|
6
|
+
* This is in beta, and may not work as expected. **SUBJECT TO CHANGE.**
|
|
7
|
+
*/
|
|
8
|
+
declare const prepareNextJsForDeployment: (directory: string) => Promise<DeploymentSource>;
|
|
9
|
+
|
|
10
|
+
export { prepareDirForDeployment, prepareDirForDeploymentSync, prepareNextJsForDeployment };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { D as DeploymentSource } from '../types.gen-CIf3ciN7.js';
|
|
2
|
+
|
|
3
|
+
declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
|
|
4
|
+
declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
|
|
5
|
+
/**
|
|
6
|
+
* This is in beta, and may not work as expected. **SUBJECT TO CHANGE.**
|
|
7
|
+
*/
|
|
8
|
+
declare const prepareNextJsForDeployment: (directory: string) => Promise<DeploymentSource>;
|
|
9
|
+
|
|
10
|
+
export { prepareDirForDeployment, prepareDirForDeploymentSync, prepareNextJsForDeployment };
|
package/dist/utils/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DeploymentSource } from '../types.gen-
|
|
1
|
+
import { D as DeploymentSource } from '../types.gen-CIf3ciN7.js';
|
|
2
2
|
|
|
3
3
|
declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
|
|
4
4
|
declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
|
package/dist/utils/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DeploymentSource } from '../types.gen-
|
|
1
|
+
import { D as DeploymentSource } from '../types.gen-CIf3ciN7.js';
|
|
2
2
|
|
|
3
3
|
declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
|
|
4
4
|
declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
|
package/openapi/types.gen.ts
CHANGED
|
@@ -37,6 +37,10 @@ export type CreateRecordParams = {
|
|
|
37
37
|
record: DnsRecordData;
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
+
export type CreateRepoRequest = {
|
|
41
|
+
source?: (null | CreateRepoSource);
|
|
42
|
+
};
|
|
43
|
+
|
|
40
44
|
export type CreateRepositoryRequest = {
|
|
41
45
|
/**
|
|
42
46
|
* This name is not visible to users, and is only accessible to you via API and in the
|
|
@@ -44,12 +48,22 @@ export type CreateRepositoryRequest = {
|
|
|
44
48
|
*/
|
|
45
49
|
name?: (string) | null;
|
|
46
50
|
public?: boolean;
|
|
51
|
+
source?: CreateRepoSource;
|
|
47
52
|
};
|
|
48
53
|
|
|
49
54
|
export type CreateRepositoryResponseSuccess = {
|
|
50
55
|
repoId: string;
|
|
51
56
|
};
|
|
52
57
|
|
|
58
|
+
export type CreateRepoSource = {
|
|
59
|
+
url: string;
|
|
60
|
+
branch?: (string) | null;
|
|
61
|
+
depth?: (number) | null;
|
|
62
|
+
type: 'git';
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
export type type = 'git';
|
|
66
|
+
|
|
53
67
|
export type DeploymentLogEntry = {
|
|
54
68
|
deploymentId: string;
|
|
55
69
|
accountId: string;
|
|
@@ -84,8 +98,9 @@ export type DescribePermissionResponseSuccess = {
|
|
|
84
98
|
};
|
|
85
99
|
|
|
86
100
|
export type DevServer = {
|
|
87
|
-
domain?: (string) | null;
|
|
88
101
|
command?: (string) | null;
|
|
102
|
+
repo?: (string) | null;
|
|
103
|
+
domain?: (string) | null;
|
|
89
104
|
};
|
|
90
105
|
|
|
91
106
|
export type DnsRecord = {
|
|
@@ -587,6 +602,8 @@ export type HandleEphemeralDevServerData = {
|
|
|
587
602
|
export type HandleEphemeralDevServerResponse = ({
|
|
588
603
|
url: string;
|
|
589
604
|
isNew: boolean;
|
|
605
|
+
devCommandRunning: boolean;
|
|
606
|
+
installCommandRunning: boolean;
|
|
590
607
|
});
|
|
591
608
|
|
|
592
609
|
export type HandleEphemeralDevServerError = (InternalServerError);
|
|
@@ -804,7 +821,15 @@ export type HandleListRepositoriesError = ({
|
|
|
804
821
|
});
|
|
805
822
|
|
|
806
823
|
export type HandleCreateRepoData = {
|
|
807
|
-
body:
|
|
824
|
+
body: {
|
|
825
|
+
/**
|
|
826
|
+
* This name is not visible to users, and is only accessible to you via API and in the
|
|
827
|
+
* dashboard. Mostly useful for observability.
|
|
828
|
+
*/
|
|
829
|
+
name?: (string) | null;
|
|
830
|
+
public?: boolean;
|
|
831
|
+
source?: CreateRepoSource;
|
|
832
|
+
};
|
|
808
833
|
};
|
|
809
834
|
|
|
810
835
|
export type HandleCreateRepoResponse = (CreateRepositoryResponseSuccess);
|
|
@@ -879,10 +904,6 @@ export type HandleCreateGitTriggerError = ({
|
|
|
879
904
|
|
|
880
905
|
export type HandleDeleteGitTriggerData = {
|
|
881
906
|
path: {
|
|
882
|
-
/**
|
|
883
|
-
* The repository id
|
|
884
|
-
*/
|
|
885
|
-
repo: string;
|
|
886
907
|
/**
|
|
887
908
|
* The trigger id
|
|
888
909
|
*/
|