freestyle-sandboxes 0.0.74 → 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.
- 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 +4 -2
- package/dist/inde.d.mts +4 -2
- package/dist/{index-BBXyg0JQ.cjs → index-CGc0kRd_.cjs} +9 -5
- package/dist/{index-DCF70Xbq.mjs → index-jh-93svX.mjs} +9 -5
- package/dist/index.d.cts +4 -2
- package/dist/index.d.mts +4 -2
- 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-BVXmFV7d.d.ts → types.gen-0bQ5Wn0o.d.ts} +18 -17
- package/dist/{types.gen-CIf3ciN7.d.ts → types.gen-BJArgpto.d.ts} +2 -5
- package/dist/{types.gen-DLYohMJT.d.ts → types.gen-CfrGF-JI.d.ts} +1 -1
- package/dist/{types.gen-CZUnqmzP.d.ts → types.gen-DxZanGNF.d.ts} +9 -6
- 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 +12 -12
- package/openapi/types.gen.ts +20 -19
- package/openapi.json +1 -1
- package/package.json +1 -1
- package/src/dev-server.ts +3 -0
- package/src/index.ts +39 -39
- package/dist/index-BQHqnjZK.mjs +0 -3231
- package/dist/index-CEEa9WHp.cjs +0 -3238
- 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-BaMKzqxQ.d.ts +0 -233
- package/dist/types.gen-BbekD8Sd.d.ts +0 -1119
- package/dist/types.gen-BqN1t03N.d.ts +0 -842
- package/dist/types.gen-BtK6PMQy.d.ts +0 -195
- package/dist/types.gen-C03gaIPq.d.ts +0 -297
- package/dist/types.gen-CMuCas4r.d.ts +0 -183
- 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-DbTb_SrD.d.ts +0 -156
- 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/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-0bQ5Wn0o.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-0bQ5Wn0o.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-0bQ5Wn0o.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-0bQ5Wn0o.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, HandleListDomainsError, HandleListDomainsResponse, HandleInsertDomainMappingData, HandleInsertDomainMappingError, HandleInsertDomainMappingResponse, HandleDeleteDomainMappingData, HandleDeleteDomainMappingError, HandleDeleteDomainMappingResponse, 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, 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, HandleDeleteRepoData, HandleDeleteRepoError, HandleDeleteRepoResponse, HandleGetContentsData, HandleGetContentsError, HandleGetContentsResponse, HandleGetBlobData, HandleGetBlobError, HandleGetBlobResponse, HandleGetCommitData, HandleGetCommitError, HandleGetCommitResponse, HandleGetRefBranchData, HandleGetRefBranchError, HandleGetRefBranchResponse, HandleGetTagData, HandleGetTagError, HandleGetTagResponse, HandleGetTreeData, HandleGetTreeError, HandleGetTreeResponse, HandleDownloadTarballData, HandleDownloadTarballError, HandleDownloadTarballResponse, HandleListGitTriggersData, HandleListGitTriggersError, HandleListGitTriggersResponse, HandleCreateGitTriggerData, HandleCreateGitTriggerError, HandleCreateGitTriggerResponse, HandleDeleteGitTriggerData, HandleDeleteGitTriggerError, HandleDeleteGitTriggerResponse, HandleGetLogsData, HandleGetLogsError, HandleGetLogsResponse,
|
|
4
|
+
import type { HandleDeployCloudstateData, HandleDeployCloudstateError, HandleDeployCloudstateResponse, HandleBackupCloudstateData, HandleBackupCloudstateError, HandleBackupCloudstateResponse, HandleListRecordsData, HandleListRecordsError, HandleListRecordsResponse, HandleCreateRecordData, HandleCreateRecordError, HandleCreateRecordResponse, HandleDeleteRecordData, HandleDeleteRecordError, HandleDeleteRecordResponse, HandleVerifyWildcardData, HandleVerifyWildcardError, HandleVerifyWildcardResponse, HandleListDomainsError, HandleListDomainsResponse, HandleInsertDomainMappingData, HandleInsertDomainMappingError, HandleInsertDomainMappingResponse, HandleDeleteDomainMappingData, HandleDeleteDomainMappingError, HandleDeleteDomainMappingResponse, 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, 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, HandleDeleteRepoData, HandleDeleteRepoError, HandleDeleteRepoResponse, HandleGetContentsData, HandleGetContentsError, HandleGetContentsResponse, HandleGetBlobData, HandleGetBlobError, HandleGetBlobResponse, 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, HandleGetLogsData, HandleGetLogsError, HandleGetLogsResponse, HandleDeployWebData, HandleDeployWebError, HandleDeployWebResponse, HandleDeployWebV2Data, HandleDeployWebV2Error, HandleDeployWebV2Response, HandleListWebDeploysData, HandleListWebDeploysError, HandleListWebDeploysResponse, HandleGetWebDeployDetailsData } from './types.gen';
|
|
5
5
|
|
|
6
6
|
export const client = createClient(createConfig());
|
|
7
7
|
|
|
@@ -463,6 +463,17 @@ export const handleGetRefBranch = <ThrowOnError extends boolean = false>(options
|
|
|
463
463
|
});
|
|
464
464
|
};
|
|
465
465
|
|
|
466
|
+
/**
|
|
467
|
+
* Get a tag reference
|
|
468
|
+
* Get a reference to a tag in the Git repository. Returns the ref name and SHA of the tag.
|
|
469
|
+
*/
|
|
470
|
+
export const handleGetRefTag = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleGetRefTagData, ThrowOnError>) => {
|
|
471
|
+
return (options?.client ?? client).get<HandleGetRefTagResponse, HandleGetRefTagError, ThrowOnError>({
|
|
472
|
+
...options,
|
|
473
|
+
url: '/git/v1/repo/{repo}/git/refs/tags/{*tag}'
|
|
474
|
+
});
|
|
475
|
+
};
|
|
476
|
+
|
|
466
477
|
/**
|
|
467
478
|
* Get a tag object
|
|
468
479
|
* Get a tag from the Git database.
|
|
@@ -540,17 +551,6 @@ export const handleGetLogs = <ThrowOnError extends boolean = false>(options?: Op
|
|
|
540
551
|
});
|
|
541
552
|
};
|
|
542
553
|
|
|
543
|
-
/**
|
|
544
|
-
* Get a tag reference
|
|
545
|
-
* Get a reference to a tag in the Git repository. Returns the ref name and SHA of the tag.
|
|
546
|
-
*/
|
|
547
|
-
export const handleGetRefTag = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleGetRefTagData, ThrowOnError>) => {
|
|
548
|
-
return (options?.client ?? client).get<HandleGetRefTagResponse, HandleGetRefTagError, ThrowOnError>({
|
|
549
|
-
...options,
|
|
550
|
-
url: '/repos/{repo}/git/refs/tags/{*tag}'
|
|
551
|
-
});
|
|
552
|
-
};
|
|
553
|
-
|
|
554
554
|
/**
|
|
555
555
|
* @deprecated
|
|
556
556
|
* Deploy a Website (v1)
|
package/openapi/types.gen.ts
CHANGED
|
@@ -161,6 +161,7 @@ export type DeploymentSource = {
|
|
|
161
161
|
} | {
|
|
162
162
|
url: string;
|
|
163
163
|
branch?: (string) | null;
|
|
164
|
+
dir?: (string) | null;
|
|
164
165
|
kind: 'git';
|
|
165
166
|
};
|
|
166
167
|
|
|
@@ -1347,6 +1348,25 @@ export type HandleGetRefBranchError = (unknown | {
|
|
|
1347
1348
|
message: string;
|
|
1348
1349
|
});
|
|
1349
1350
|
|
|
1351
|
+
export type HandleGetRefTagData = {
|
|
1352
|
+
path: {
|
|
1353
|
+
/**
|
|
1354
|
+
* The repository id
|
|
1355
|
+
*/
|
|
1356
|
+
repo: string;
|
|
1357
|
+
/**
|
|
1358
|
+
* The tag's name
|
|
1359
|
+
*/
|
|
1360
|
+
tag: string;
|
|
1361
|
+
};
|
|
1362
|
+
};
|
|
1363
|
+
|
|
1364
|
+
export type HandleGetRefTagResponse = (GitReference);
|
|
1365
|
+
|
|
1366
|
+
export type HandleGetRefTagError = (unknown | {
|
|
1367
|
+
message: string;
|
|
1368
|
+
});
|
|
1369
|
+
|
|
1350
1370
|
export type HandleGetTagData = {
|
|
1351
1371
|
path: {
|
|
1352
1372
|
/**
|
|
@@ -1481,25 +1501,6 @@ export type HandleGetLogsResponse = (FreestyleGetLogsResponse);
|
|
|
1481
1501
|
|
|
1482
1502
|
export type HandleGetLogsError = unknown;
|
|
1483
1503
|
|
|
1484
|
-
export type HandleGetRefTagData = {
|
|
1485
|
-
path: {
|
|
1486
|
-
/**
|
|
1487
|
-
* The repository id
|
|
1488
|
-
*/
|
|
1489
|
-
repo: string;
|
|
1490
|
-
/**
|
|
1491
|
-
* The tag's name
|
|
1492
|
-
*/
|
|
1493
|
-
tag: string;
|
|
1494
|
-
};
|
|
1495
|
-
};
|
|
1496
|
-
|
|
1497
|
-
export type HandleGetRefTagResponse = (GitReference);
|
|
1498
|
-
|
|
1499
|
-
export type HandleGetRefTagError = (unknown | {
|
|
1500
|
-
message: string;
|
|
1501
|
-
});
|
|
1502
|
-
|
|
1503
1504
|
export type HandleDeployWebData = {
|
|
1504
1505
|
body: FreestyleDeployWebPayload;
|
|
1505
1506
|
};
|