freestyle-sandboxes 0.0.95 → 0.0.97
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 +7 -3
- package/dist/ai/inde.d.mts +7 -3
- package/dist/ai/index.d.cts +7 -3
- package/dist/ai/index.d.mts +7 -3
- package/dist/inde.d.cts +6 -6
- package/dist/inde.d.mts +6 -6
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +6 -6
- package/dist/index.d.mts +6 -6
- package/dist/index.mjs +4 -4
- 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-CJa21P0C.d.ts +1902 -0
- 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 +3 -3
- package/openapi/types.gen.ts +9 -7
- package/openapi.json +1 -1
- package/package.json +1 -1
- package/src/index.ts +7 -8
package/dist/utils/inde.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DeploymentSource } from '../types.gen-
|
|
1
|
+
import { D as DeploymentSource } from '../types.gen-CJa21P0C.js';
|
|
2
2
|
|
|
3
3
|
declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
|
|
4
4
|
declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
|
package/dist/utils/inde.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DeploymentSource } from '../types.gen-
|
|
1
|
+
import { D as DeploymentSource } from '../types.gen-CJa21P0C.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.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DeploymentSource } from '../types.gen-
|
|
1
|
+
import { D as DeploymentSource } from '../types.gen-CJa21P0C.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-CJa21P0C.js';
|
|
2
2
|
|
|
3
3
|
declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
|
|
4
4
|
declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
|
package/openapi/sdk.gen.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
3
|
import { createClient, createConfig, type OptionsLegacyParser } from '@hey-api/client-fetch';
|
|
4
|
-
import type { HandleDeployCloudstateData, HandleDeployCloudstateError, HandleDeployCloudstateResponse, HandleBackupCloudstateData, HandleBackupCloudstateError, HandleBackupCloudstateResponse, HandleListRecordsData, HandleListRecordsError, HandleListRecordsResponse, HandleCreateRecordData, HandleCreateRecordError, HandleCreateRecordResponse, HandleDeleteRecordData, HandleDeleteRecordError, HandleDeleteRecordResponse, HandleVerifyWildcardData, HandleVerifyWildcardError, HandleVerifyWildcardResponse, HandleListDomainsData, HandleListDomainsError, HandleListDomainsResponse, HandleListDomainMappingsData, HandleListDomainMappingsError, HandleListDomainMappingsResponse, HandleInsertDomainMappingData, HandleInsertDomainMappingError, HandleInsertDomainMappingResponse, HandleDeleteDomainMappingData,
|
|
4
|
+
import type { HandleDeployCloudstateData, HandleDeployCloudstateError, HandleDeployCloudstateResponse, HandleBackupCloudstateData, HandleBackupCloudstateError, HandleBackupCloudstateResponse, HandleListRecordsData, HandleListRecordsError, HandleListRecordsResponse, HandleCreateRecordData, HandleCreateRecordError, HandleCreateRecordResponse, HandleDeleteRecordData, HandleDeleteRecordError, HandleDeleteRecordResponse, HandleVerifyWildcardData, HandleVerifyWildcardError, HandleVerifyWildcardResponse, HandleListDomainsData, HandleListDomainsError, HandleListDomainsResponse, HandleListDomainMappingsData, HandleListDomainMappingsError, HandleListDomainMappingsResponse, HandleInsertDomainMappingData, HandleInsertDomainMappingError, HandleInsertDomainMappingResponse, HandleDeleteDomainMappingData, HandleListDomainVerificationRequestsError, HandleListDomainVerificationRequestsResponse, HandleVerifyDomainData, HandleVerifyDomainError, HandleVerifyDomainResponse, HandleCreateDomainVerificationData, HandleCreateDomainVerificationError, HandleCreateDomainVerificationResponse, HandleDeleteDomainVerificationData, HandleDeleteDomainVerificationError, HandleDeleteDomainVerificationResponse, HandleEphemeralDevServerData, HandleEphemeralDevServerError, HandleEphemeralDevServerResponse, HandleExecOnEphemeralDevServerData, HandleExecOnEphemeralDevServerError, HandleExecOnEphemeralDevServerResponse, HandleWriteFileFromEphemeralDevServerData, HandleWriteFileFromEphemeralDevServerError, HandleWriteFileFromEphemeralDevServerResponse, HandleReadFileFromEphemeralDevServerData, HandleReadFileFromEphemeralDevServerError, HandleReadFileFromEphemeralDevServerResponse, HandleGitCommitPushData, HandleGitCommitPushError, HandleGitCommitPushResponse, HandleDevServerLogsData, HandleDevServerLogsError, HandleDevServerLogsResponse, HandleDevServerRestartData, HandleDevServerRestartError, HandleDevServerRestartResponse, HandleShutdownDevServerData, HandleShutdownDevServerError, HandleShutdownDevServerResponse, HandleDevServerStatusData, HandleDevServerStatusError, HandleDevServerStatusResponse, HandleWatchDevServerFilesData, HandleWatchDevServerFilesError, HandleWatchDevServerFilesResponse, HandleListExecuteRunsData, HandleListExecuteRunsError, HandleListExecuteRunsResponse, HandleGetExecuteRunData, HandleGetExecuteRunError, HandleGetExecuteRunResponse, HandleExecuteScriptData, HandleExecuteScriptError, HandleExecuteScriptResponse, HandleListIdentitiesData, HandleListIdentitiesError, HandleListIdentitiesResponse, HandleCreateIdentityError, HandleCreateIdentityResponse, HandleDeleteIdentityData, HandleDeleteIdentityError, HandleDeleteIdentityResponse, HandleListPermissionsData, HandleListPermissionsError, HandleListPermissionsResponse, HandleDescribePermissionData, HandleDescribePermissionError, HandleDescribePermissionResponse, HandleGrantPermissionData, HandleGrantPermissionError, HandleGrantPermissionResponse, HandleRevokePermissionData, HandleRevokePermissionError, HandleRevokePermissionResponse, HandleUpdatePermissionData, HandleUpdatePermissionError, HandleUpdatePermissionResponse, HandleListGitTokensData, HandleListGitTokensError, HandleListGitTokensResponse, HandleCreateGitTokenData, HandleCreateGitTokenError, HandleCreateGitTokenResponse, HandleRevokeGitTokenData, HandleRevokeGitTokenError, HandleRevokeGitTokenResponse, HandleListRepositoriesData, HandleListRepositoriesError, HandleListRepositoriesResponse, HandleCreateRepoData, HandleCreateRepoError, HandleCreateRepoResponse, HandleGetDefaultBranchData, HandleGetDefaultBranchError, HandleGetDefaultBranchResponse, HandleSetDefaultBranchData, HandleSetDefaultBranchError, HandleSetDefaultBranchResponse, GetDevServerConfigurationData, GetDevServerConfigurationError, GetDevServerConfigurationResponse, UpdateDevServerConfigurationData, UpdateDevServerConfigurationError, UpdateDevServerConfigurationResponse, DeleteDevServerConfigurationData, DeleteDevServerConfigurationError, DeleteDevServerConfigurationResponse, GetGithubSyncData, GetGithubSyncError, GetGithubSyncResponse, ConfigureGithubSyncData, ConfigureGithubSyncError, ConfigureGithubSyncResponse, RemoveGithubSyncData, RemoveGithubSyncError, RemoveGithubSyncResponse, HandleGetRepoInfoData, HandleGetRepoInfoError, HandleGetRepoInfoResponse, HandleDeleteRepoData, HandleDeleteRepoError, HandleDeleteRepoResponse, HandleGetContentsData, HandleGetContentsError, HandleGetContentsResponse, HandleGetBlobData, HandleGetBlobError, HandleGetBlobResponse, HandleListCommitsData, HandleListCommitsError, HandleListCommitsResponse, HandleGetCommitData, HandleGetCommitError, HandleGetCommitResponse, HandleGetRefBranchData, HandleGetRefBranchError, HandleGetRefBranchResponse, HandleGetRefTagData, HandleGetRefTagError, HandleGetRefTagResponse, HandleGetTagData, HandleGetTagError, HandleGetTagResponse, HandleGetTreeData, HandleGetTreeError, HandleGetTreeResponse, HandleDownloadTarballData, HandleDownloadTarballError, HandleDownloadTarballResponse, HandleListGitTriggersData, HandleListGitTriggersError, HandleListGitTriggersResponse, HandleCreateGitTriggerData, HandleCreateGitTriggerError, HandleCreateGitTriggerResponse, HandleDeleteGitTriggerData, HandleDeleteGitTriggerError, HandleDeleteGitTriggerResponse, HandleDownloadZipData, HandleDownloadZipError, HandleDownloadZipResponse, HandleGetLogsData, HandleGetLogsError, HandleGetLogsResponse, CreateVmData, ResizeVmData, GetVmData, DeleteVmData, WaitVmData, ExecAwaitData, GetFileData, PutFileData, ForkVmData, OptimizeVmData, StartVmData, StopVmData, SuspendVmData, ListTerminalsData, GetTerminalLogsData, GetTerminalXtermData, WatchFilesData, HandleDeployWebData, HandleDeployWebError, HandleDeployWebResponse, HandleDeployWebV2Data, HandleDeployWebV2Error, HandleDeployWebV2Response, HandleListWebDeploysData, HandleListWebDeploysError, HandleListWebDeploysResponse, HandleGetWebDeployDetailsData } from './types.gen';
|
|
5
5
|
|
|
6
6
|
export const client = createClient(createConfig());
|
|
7
7
|
|
|
@@ -110,7 +110,7 @@ export const handleInsertDomainMapping = <ThrowOnError extends boolean = false>(
|
|
|
110
110
|
* Remove Domain Mapping
|
|
111
111
|
*/
|
|
112
112
|
export const handleDeleteDomainMapping = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleDeleteDomainMappingData, ThrowOnError>) => {
|
|
113
|
-
return (options?.client ?? client).delete<
|
|
113
|
+
return (options?.client ?? client).delete<void, unknown, ThrowOnError>({
|
|
114
114
|
...options,
|
|
115
115
|
url: '/domains/v1/mappings/{domain}'
|
|
116
116
|
});
|
|
@@ -924,6 +924,6 @@ export const handleListWebDeploys = <ThrowOnError extends boolean = false>(optio
|
|
|
924
924
|
export const handleGetWebDeployDetails = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleGetWebDeployDetailsData, ThrowOnError>) => {
|
|
925
925
|
return (options?.client ?? client).get<void, unknown, ThrowOnError>({
|
|
926
926
|
...options,
|
|
927
|
-
url: '/web/v1/deployments/
|
|
927
|
+
url: '/web/v1/deployments/{deployment_id}'
|
|
928
928
|
});
|
|
929
929
|
};
|
package/openapi/types.gen.ts
CHANGED
|
@@ -533,6 +533,10 @@ export type FreestyleDeployWebConfiguration = {
|
|
|
533
533
|
* Timeout for the deployment in seconds. If not provided, the default is 10 seconds.
|
|
534
534
|
*/
|
|
535
535
|
timeout?: (number) | null;
|
|
536
|
+
/**
|
|
537
|
+
* Whether to wait for the deployment to finish before returning. Defaults to true.
|
|
538
|
+
*/
|
|
539
|
+
await?: (boolean) | null;
|
|
536
540
|
};
|
|
537
541
|
|
|
538
542
|
export type FreestyleDeployWebErrorResponse = {
|
|
@@ -572,6 +576,8 @@ export type FreestyleDeployWebSuccessResponseV2 = {
|
|
|
572
576
|
* The entrypoint file for the website. If not specified we try to automatically detect it.
|
|
573
577
|
*/
|
|
574
578
|
entrypoint: string;
|
|
579
|
+
} | {
|
|
580
|
+
deploymentId: string;
|
|
575
581
|
};
|
|
576
582
|
|
|
577
583
|
export type FreestyleDomainVerificationRequest = {
|
|
@@ -1138,12 +1144,6 @@ export type HandleDeleteDomainMappingData = {
|
|
|
1138
1144
|
};
|
|
1139
1145
|
};
|
|
1140
1146
|
|
|
1141
|
-
export type HandleDeleteDomainMappingResponse = (unknown);
|
|
1142
|
-
|
|
1143
|
-
export type HandleDeleteDomainMappingError = ({
|
|
1144
|
-
message: string;
|
|
1145
|
-
});
|
|
1146
|
-
|
|
1147
1147
|
export type HandleListDomainVerificationRequestsResponse = (Array<{
|
|
1148
1148
|
verificationCode: string;
|
|
1149
1149
|
domain: string;
|
|
@@ -2200,7 +2200,9 @@ export type HandleDeployWebV2Data = {
|
|
|
2200
2200
|
|
|
2201
2201
|
export type HandleDeployWebV2Response = (FreestyleDeployWebSuccessResponseV2);
|
|
2202
2202
|
|
|
2203
|
-
export type HandleDeployWebV2Error = (
|
|
2203
|
+
export type HandleDeployWebV2Error = (unknown | {
|
|
2204
|
+
domain: string;
|
|
2205
|
+
} | FreestyleDeployWebErrorResponse);
|
|
2204
2206
|
|
|
2205
2207
|
export type HandleListWebDeploysData = {
|
|
2206
2208
|
query: {
|