freestyle-sandboxes 0.0.43 → 0.0.45
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 +2 -2
- package/dist/ai/index.d.mts +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- 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-CZUnqmzP.d.ts +789 -0
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/openapi/sdk.gen.ts +8 -1
- package/openapi/types.gen.ts +36 -4
- package/openapi.json +1 -1
- package/package.json +1 -1
- package/src/ai/index.ts +2 -1
- package/src/index.ts +1 -1
package/dist/ai/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess,
|
|
1
|
+
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, aY as HandleExecuteScriptError, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2 } from '../types.gen-CZUnqmzP.js';
|
|
2
2
|
import { T as Tool, a as ToolExecutionOptions } from '../index.d-9H_wnIbz.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import 'node:http';
|
|
@@ -54,7 +54,7 @@ declare const executeTool: (config: FreestyleExecuteScriptParamsConfiguration &
|
|
|
54
54
|
* @param config - Configuration for the tool
|
|
55
55
|
* @param config.apiKey - The API key to use
|
|
56
56
|
*/
|
|
57
|
-
declare const deployWebTool: (config:
|
|
57
|
+
declare const deployWebTool: (config: FreestyleDeployWebConfiguration & {
|
|
58
58
|
apiKey: string;
|
|
59
59
|
}) => Tool<z.ZodObject<{
|
|
60
60
|
files: z.ZodRecord<z.ZodString, z.ZodString>;
|
package/dist/ai/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess,
|
|
1
|
+
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, aY as HandleExecuteScriptError, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2 } from '../types.gen-CZUnqmzP.js';
|
|
2
2
|
import { T as Tool, a as ToolExecutionOptions } from '../index.d-9H_wnIbz.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import 'node:http';
|
|
@@ -54,7 +54,7 @@ declare const executeTool: (config: FreestyleExecuteScriptParamsConfiguration &
|
|
|
54
54
|
* @param config - Configuration for the tool
|
|
55
55
|
* @param config.apiKey - The API key to use
|
|
56
56
|
*/
|
|
57
|
-
declare const deployWebTool: (config:
|
|
57
|
+
declare const deployWebTool: (config: FreestyleDeployWebConfiguration & {
|
|
58
58
|
apiKey: string;
|
|
59
59
|
}) => Tool<z.ZodObject<{
|
|
60
60
|
files: z.ZodRecord<z.ZodString, z.ZodString>;
|
package/dist/index.cjs
CHANGED
|
@@ -220,7 +220,7 @@ ${JSON.stringify(
|
|
|
220
220
|
* Deploy a Web project to a sandbox.
|
|
221
221
|
*/
|
|
222
222
|
async deployWeb(source, config) {
|
|
223
|
-
if (Array.isArray(config.build
|
|
223
|
+
if (Array.isArray(config.build?.command)) {
|
|
224
224
|
config.build.command = config.build.command.join(" && ");
|
|
225
225
|
}
|
|
226
226
|
const response = await handleDeployWebV2({
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, D as DeploymentSource, b as FreestyleDeployWebConfiguration, B as BuildOptions, c as FreestyleDeployWebSuccessResponseV2, d as FreestyleCloudstateDeployRequest, e as FreestyleCloudstateDeploySuccessResponse, H as HandleBackupCloudstateResponse, f as HandleGetLogsResponse, g as HandleCreateDomainVerificationResponse, h as HandleVerifyDomainResponse, i as HandleVerifyDomainError, j as HandleListDomainsResponse, k as HandleListDomainVerificationRequestsResponse, l as HandleDeleteDomainVerificationResponse, m as HandleListWebDeploysResponse, n as HandleListExecuteRunsResponse, o as HandleGetExecuteRunResponse, p as HandleVerifyWildcardResponse, C as CreateRepositoryResponseSuccess, q as HandleListRepositoriesResponse, r as HandleDeleteRepoResponse, G as GitIdentity, s as HandleDeleteIdentityResponse, A as AccessLevel, t as HandleGrantPermissionResponse, L as ListPermissionResponseSuccess, u as DescribePermissionResponseSuccess, v as CreatedToken, w as ListGitTokensResponseSuccess } from './types.gen-
|
|
2
|
-
export { y as AccessTokenInfo, x as AccessibleRepository, z as Behavior, E as CreateDomainMappingRequest, I as
|
|
1
|
+
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, D as DeploymentSource, b as FreestyleDeployWebConfiguration, B as BuildOptions, c as FreestyleDeployWebSuccessResponseV2, d as FreestyleCloudstateDeployRequest, e as FreestyleCloudstateDeploySuccessResponse, H as HandleBackupCloudstateResponse, f as HandleGetLogsResponse, g as HandleCreateDomainVerificationResponse, h as HandleVerifyDomainResponse, i as HandleVerifyDomainError, j as HandleListDomainsResponse, k as HandleListDomainVerificationRequestsResponse, l as HandleDeleteDomainVerificationResponse, m as HandleListWebDeploysResponse, n as HandleListExecuteRunsResponse, o as HandleGetExecuteRunResponse, p as HandleVerifyWildcardResponse, C as CreateRepositoryResponseSuccess, q as HandleListRepositoriesResponse, r as HandleDeleteRepoResponse, G as GitIdentity, s as HandleDeleteIdentityResponse, A as AccessLevel, t as HandleGrantPermissionResponse, L as ListPermissionResponseSuccess, u as DescribePermissionResponseSuccess, v as CreatedToken, w as ListGitTokensResponseSuccess } from './types.gen-CZUnqmzP.js';
|
|
2
|
+
export { y as AccessTokenInfo, x as AccessibleRepository, z as Behavior, E as CreateDomainMappingRequest, I as CreateRecordParams, J as CreateRepositoryRequest, K as DeploymentLogEntry, N as DeploymentState, O as DevServer, P as DnsRecord, Q as DnsRecordData, R as DnsRecordKind, S as DomainVerificationRequest, T as ExecuteLogEntry, U as ExecuteRunInfo, V as ExecuteRunState, W as FreestyleCloudstateDeployConfiguration, X as FreestyleCloudstateDeployErrorResponse, Y as FreestyleDeleteDomainVerificationRequest, Z as FreestyleDeployWebErrorResponse, _ as FreestyleDeployWebPayload, $ as FreestyleDeployWebPayloadV2, a0 as FreestyleDomainVerificationRequest, a1 as FreestyleExecuteScriptParams, a2 as FreestyleFile, a3 as FreestyleGetLogsResponse, a4 as FreestyleJavaScriptLog, a5 as FreestyleLogResponseObject, a6 as FreestyleNetworkPermission, a8 as FreestyleVerifyDomainRequest, a9 as GitRepositoryTrigger, ac as GitTrigger, ad as GitTriggerAction, ae as GrantPermissionRequest, ap as HandleBackupCloudstateData, aq as HandleBackupCloudstateError, aL as HandleCreateDomainVerificationData, aM as HandleCreateDomainVerificationError, bi as HandleCreateGitTokenData, bk as HandleCreateGitTokenError, bj as HandleCreateGitTokenResponse, by as HandleCreateGitTriggerData, bA as HandleCreateGitTriggerError, bz as HandleCreateGitTriggerResponse, a_ as HandleCreateIdentityError, aZ as HandleCreateIdentityResponse, au as HandleCreateRecordData, aw as HandleCreateRecordError, av as HandleCreateRecordResponse, bq as HandleCreateRepoData, bs as HandleCreateRepoError, br as HandleCreateRepoResponse, aG as HandleDeleteDomainMappingData, aI as HandleDeleteDomainMappingError, aH as HandleDeleteDomainMappingResponse, aN as HandleDeleteDomainVerificationData, aO as HandleDeleteDomainVerificationError, bB as HandleDeleteGitTriggerData, bD as HandleDeleteGitTriggerError, bC as HandleDeleteGitTriggerResponse, a$ as HandleDeleteIdentityData, b0 as HandleDeleteIdentityError, ax as HandleDeleteRecordData, az as HandleDeleteRecordError, ay as HandleDeleteRecordResponse, bt as HandleDeleteRepoData, bu as HandleDeleteRepoError, am as HandleDeployCloudstateData, ao as HandleDeployCloudstateError, an as HandleDeployCloudstateResponse, bG as HandleDeployWebData, bI as HandleDeployWebError, bH as HandleDeployWebResponse, bJ as HandleDeployWebV2Data, bL as HandleDeployWebV2Error, bK as HandleDeployWebV2Response, b4 as HandleDescribePermissionData, b6 as HandleDescribePermissionError, b5 as HandleDescribePermissionResponse, aP as HandleEphemeralDevServerData, aR as HandleEphemeralDevServerError, aQ as HandleEphemeralDevServerResponse, aW as HandleExecuteScriptData, aY as HandleExecuteScriptError, aX as HandleExecuteScriptResponse, aU as HandleGetExecuteRunData, aV as HandleGetExecuteRunError, bE as HandleGetLogsData, bF as HandleGetLogsError, bO as HandleGetWebDeployDetailsData, b7 as HandleGrantPermissionData, b8 as HandleGrantPermissionError, aD as HandleInsertDomainMappingData, aF as HandleInsertDomainMappingError, aE as HandleInsertDomainMappingResponse, aJ as HandleListDomainVerificationRequestsError, aC as HandleListDomainsError, aS as HandleListExecuteRunsData, aT as HandleListExecuteRunsError, bf as HandleListGitTokensData, bh as HandleListGitTokensError, bg as HandleListGitTokensResponse, bv as HandleListGitTriggersData, bx as HandleListGitTriggersError, bw as HandleListGitTriggersResponse, b1 as HandleListPermissionsData, b3 as HandleListPermissionsError, b2 as HandleListPermissionsResponse, ar as HandleListRecordsData, at as HandleListRecordsError, as as HandleListRecordsResponse, bo as HandleListRepositoriesData, bp as HandleListRepositoriesError, bM as HandleListWebDeploysData, bN as HandleListWebDeploysError, bl as HandleRevokeGitTokenData, bn as HandleRevokeGitTokenError, bm as HandleRevokeGitTokenResponse, b9 as HandleRevokePermissionData, bb as HandleRevokePermissionError, ba as HandleRevokePermissionResponse, bc as HandleUpdatePermissionData, be as HandleUpdatePermissionError, bd as HandleUpdatePermissionResponse, aK as HandleVerifyDomainData, aA as HandleVerifyWildcardData, aB as HandleVerifyWildcardError, af as InternalServerError, ag as ListRecordsResponse, ah as NetworkPermissionData, ai as RepositoryInfo, aj as RevokeGitTokenRequest, ak as UpdatePermissionRequest, al as Visibility, a7 as action, ab as action2, aa as event, M as kind } from './types.gen-CZUnqmzP.js';
|
|
3
3
|
|
|
4
4
|
declare class FreestyleSandboxes {
|
|
5
5
|
private client;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, D as DeploymentSource, b as FreestyleDeployWebConfiguration, B as BuildOptions, c as FreestyleDeployWebSuccessResponseV2, d as FreestyleCloudstateDeployRequest, e as FreestyleCloudstateDeploySuccessResponse, H as HandleBackupCloudstateResponse, f as HandleGetLogsResponse, g as HandleCreateDomainVerificationResponse, h as HandleVerifyDomainResponse, i as HandleVerifyDomainError, j as HandleListDomainsResponse, k as HandleListDomainVerificationRequestsResponse, l as HandleDeleteDomainVerificationResponse, m as HandleListWebDeploysResponse, n as HandleListExecuteRunsResponse, o as HandleGetExecuteRunResponse, p as HandleVerifyWildcardResponse, C as CreateRepositoryResponseSuccess, q as HandleListRepositoriesResponse, r as HandleDeleteRepoResponse, G as GitIdentity, s as HandleDeleteIdentityResponse, A as AccessLevel, t as HandleGrantPermissionResponse, L as ListPermissionResponseSuccess, u as DescribePermissionResponseSuccess, v as CreatedToken, w as ListGitTokensResponseSuccess } from './types.gen-
|
|
2
|
-
export { y as AccessTokenInfo, x as AccessibleRepository, z as Behavior, E as CreateDomainMappingRequest, I as
|
|
1
|
+
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, D as DeploymentSource, b as FreestyleDeployWebConfiguration, B as BuildOptions, c as FreestyleDeployWebSuccessResponseV2, d as FreestyleCloudstateDeployRequest, e as FreestyleCloudstateDeploySuccessResponse, H as HandleBackupCloudstateResponse, f as HandleGetLogsResponse, g as HandleCreateDomainVerificationResponse, h as HandleVerifyDomainResponse, i as HandleVerifyDomainError, j as HandleListDomainsResponse, k as HandleListDomainVerificationRequestsResponse, l as HandleDeleteDomainVerificationResponse, m as HandleListWebDeploysResponse, n as HandleListExecuteRunsResponse, o as HandleGetExecuteRunResponse, p as HandleVerifyWildcardResponse, C as CreateRepositoryResponseSuccess, q as HandleListRepositoriesResponse, r as HandleDeleteRepoResponse, G as GitIdentity, s as HandleDeleteIdentityResponse, A as AccessLevel, t as HandleGrantPermissionResponse, L as ListPermissionResponseSuccess, u as DescribePermissionResponseSuccess, v as CreatedToken, w as ListGitTokensResponseSuccess } from './types.gen-CZUnqmzP.js';
|
|
2
|
+
export { y as AccessTokenInfo, x as AccessibleRepository, z as Behavior, E as CreateDomainMappingRequest, I as CreateRecordParams, J as CreateRepositoryRequest, K as DeploymentLogEntry, N as DeploymentState, O as DevServer, P as DnsRecord, Q as DnsRecordData, R as DnsRecordKind, S as DomainVerificationRequest, T as ExecuteLogEntry, U as ExecuteRunInfo, V as ExecuteRunState, W as FreestyleCloudstateDeployConfiguration, X as FreestyleCloudstateDeployErrorResponse, Y as FreestyleDeleteDomainVerificationRequest, Z as FreestyleDeployWebErrorResponse, _ as FreestyleDeployWebPayload, $ as FreestyleDeployWebPayloadV2, a0 as FreestyleDomainVerificationRequest, a1 as FreestyleExecuteScriptParams, a2 as FreestyleFile, a3 as FreestyleGetLogsResponse, a4 as FreestyleJavaScriptLog, a5 as FreestyleLogResponseObject, a6 as FreestyleNetworkPermission, a8 as FreestyleVerifyDomainRequest, a9 as GitRepositoryTrigger, ac as GitTrigger, ad as GitTriggerAction, ae as GrantPermissionRequest, ap as HandleBackupCloudstateData, aq as HandleBackupCloudstateError, aL as HandleCreateDomainVerificationData, aM as HandleCreateDomainVerificationError, bi as HandleCreateGitTokenData, bk as HandleCreateGitTokenError, bj as HandleCreateGitTokenResponse, by as HandleCreateGitTriggerData, bA as HandleCreateGitTriggerError, bz as HandleCreateGitTriggerResponse, a_ as HandleCreateIdentityError, aZ as HandleCreateIdentityResponse, au as HandleCreateRecordData, aw as HandleCreateRecordError, av as HandleCreateRecordResponse, bq as HandleCreateRepoData, bs as HandleCreateRepoError, br as HandleCreateRepoResponse, aG as HandleDeleteDomainMappingData, aI as HandleDeleteDomainMappingError, aH as HandleDeleteDomainMappingResponse, aN as HandleDeleteDomainVerificationData, aO as HandleDeleteDomainVerificationError, bB as HandleDeleteGitTriggerData, bD as HandleDeleteGitTriggerError, bC as HandleDeleteGitTriggerResponse, a$ as HandleDeleteIdentityData, b0 as HandleDeleteIdentityError, ax as HandleDeleteRecordData, az as HandleDeleteRecordError, ay as HandleDeleteRecordResponse, bt as HandleDeleteRepoData, bu as HandleDeleteRepoError, am as HandleDeployCloudstateData, ao as HandleDeployCloudstateError, an as HandleDeployCloudstateResponse, bG as HandleDeployWebData, bI as HandleDeployWebError, bH as HandleDeployWebResponse, bJ as HandleDeployWebV2Data, bL as HandleDeployWebV2Error, bK as HandleDeployWebV2Response, b4 as HandleDescribePermissionData, b6 as HandleDescribePermissionError, b5 as HandleDescribePermissionResponse, aP as HandleEphemeralDevServerData, aR as HandleEphemeralDevServerError, aQ as HandleEphemeralDevServerResponse, aW as HandleExecuteScriptData, aY as HandleExecuteScriptError, aX as HandleExecuteScriptResponse, aU as HandleGetExecuteRunData, aV as HandleGetExecuteRunError, bE as HandleGetLogsData, bF as HandleGetLogsError, bO as HandleGetWebDeployDetailsData, b7 as HandleGrantPermissionData, b8 as HandleGrantPermissionError, aD as HandleInsertDomainMappingData, aF as HandleInsertDomainMappingError, aE as HandleInsertDomainMappingResponse, aJ as HandleListDomainVerificationRequestsError, aC as HandleListDomainsError, aS as HandleListExecuteRunsData, aT as HandleListExecuteRunsError, bf as HandleListGitTokensData, bh as HandleListGitTokensError, bg as HandleListGitTokensResponse, bv as HandleListGitTriggersData, bx as HandleListGitTriggersError, bw as HandleListGitTriggersResponse, b1 as HandleListPermissionsData, b3 as HandleListPermissionsError, b2 as HandleListPermissionsResponse, ar as HandleListRecordsData, at as HandleListRecordsError, as as HandleListRecordsResponse, bo as HandleListRepositoriesData, bp as HandleListRepositoriesError, bM as HandleListWebDeploysData, bN as HandleListWebDeploysError, bl as HandleRevokeGitTokenData, bn as HandleRevokeGitTokenError, bm as HandleRevokeGitTokenResponse, b9 as HandleRevokePermissionData, bb as HandleRevokePermissionError, ba as HandleRevokePermissionResponse, bc as HandleUpdatePermissionData, be as HandleUpdatePermissionError, bd as HandleUpdatePermissionResponse, aK as HandleVerifyDomainData, aA as HandleVerifyWildcardData, aB as HandleVerifyWildcardError, af as InternalServerError, ag as ListRecordsResponse, ah as NetworkPermissionData, ai as RepositoryInfo, aj as RevokeGitTokenRequest, ak as UpdatePermissionRequest, al as Visibility, a7 as action, ab as action2, aa as event, M as kind } from './types.gen-CZUnqmzP.js';
|
|
3
3
|
|
|
4
4
|
declare class FreestyleSandboxes {
|
|
5
5
|
private client;
|
package/dist/index.mjs
CHANGED
|
@@ -218,7 +218,7 @@ ${JSON.stringify(
|
|
|
218
218
|
* Deploy a Web project to a sandbox.
|
|
219
219
|
*/
|
|
220
220
|
async deployWeb(source, config) {
|
|
221
|
-
if (Array.isArray(config.build
|
|
221
|
+
if (Array.isArray(config.build?.command)) {
|
|
222
222
|
config.build.command = config.build.command.join(" && ");
|
|
223
223
|
}
|
|
224
224
|
const response = await handleDeployWebV2({
|
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-CZUnqmzP.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-CZUnqmzP.js';
|
|
9
9
|
import 'node:http';
|
|
10
10
|
|
|
11
11
|
// Type definitions for pino-std-serializers 2.4
|