freestyle-sandboxes 0.0.83 → 0.0.85

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.
Files changed (53) hide show
  1. package/dist/ai/inde.d.cts +1 -1
  2. package/dist/ai/inde.d.mts +1 -1
  3. package/dist/ai/index.d.cts +1 -1
  4. package/dist/ai/index.d.mts +1 -1
  5. package/dist/inde.d.cts +45 -4
  6. package/dist/inde.d.mts +45 -4
  7. package/dist/{index-CGc0kRd_.cjs → index-BBXyg0JQ.cjs} +5 -9
  8. package/dist/index-BQHqnjZK.mjs +3231 -0
  9. package/dist/index-CEEa9WHp.cjs +3238 -0
  10. package/dist/{index-jh-93svX.mjs → index-DCF70Xbq.mjs} +5 -9
  11. package/dist/index.cjs +172 -9
  12. package/dist/index.d.cts +45 -4
  13. package/dist/index.d.mts +45 -4
  14. package/dist/index.mjs +172 -9
  15. package/dist/langgraph/inde.d.cts +1 -1
  16. package/dist/langgraph/inde.d.mts +1 -1
  17. package/dist/langgraph/index.d.cts +1 -1
  18. package/dist/langgraph/index.d.mts +1 -1
  19. package/dist/mastra/inde.d.cts +1 -1
  20. package/dist/mastra/inde.d.mts +1 -1
  21. package/dist/mastra/index.d.cts +1 -1
  22. package/dist/mastra/index.d.mts +1 -1
  23. package/dist/types.gen-1sd31qLV.d.ts +172 -0
  24. package/dist/types.gen-627pxroW.d.ts +830 -0
  25. package/dist/types.gen-BCdfx7yt.d.ts +760 -0
  26. package/dist/{types.gen-0bQ5Wn0o.d.ts → types.gen-BVXmFV7d.d.ts} +17 -18
  27. package/dist/types.gen-BWwhCgTX.d.ts +1462 -0
  28. package/dist/types.gen-BaMKzqxQ.d.ts +233 -0
  29. package/dist/types.gen-BbekD8Sd.d.ts +1119 -0
  30. package/dist/types.gen-BqN1t03N.d.ts +842 -0
  31. package/dist/types.gen-BtK6PMQy.d.ts +195 -0
  32. package/dist/types.gen-C03gaIPq.d.ts +297 -0
  33. package/dist/{types.gen-BJArgpto.d.ts → types.gen-CIf3ciN7.d.ts} +5 -2
  34. package/dist/types.gen-CMuCas4r.d.ts +183 -0
  35. package/dist/{types.gen-DxZanGNF.d.ts → types.gen-CZUnqmzP.d.ts} +6 -9
  36. package/dist/types.gen-CnEkmbco.d.ts +314 -0
  37. package/dist/types.gen-DDYpuDzZ.d.ts +764 -0
  38. package/dist/types.gen-DHmdEOOa.d.ts +172 -0
  39. package/dist/{types.gen-CfrGF-JI.d.ts → types.gen-DLYohMJT.d.ts} +1 -1
  40. package/dist/types.gen-DbTb_SrD.d.ts +156 -0
  41. package/dist/types.gen-DkQ-Dbs1.d.ts +764 -0
  42. package/dist/types.gen-DyY7Deri.d.ts +138 -0
  43. package/dist/types.gen-MBZCvIhE.d.ts +311 -0
  44. package/dist/types.gen-YhJAHBw8.d.ts +233 -0
  45. package/dist/types.gen-cCnnhnB6.d.ts +182 -0
  46. package/dist/types.gen-mg_JNXrq.d.ts +830 -0
  47. package/dist/types.gen-uDTr6v-7.d.ts +731 -0
  48. package/dist/utils/inde.d.cts +1 -1
  49. package/dist/utils/inde.d.mts +1 -1
  50. package/dist/utils/index.d.cts +1 -1
  51. package/dist/utils/index.d.mts +1 -1
  52. package/package.json +1 -1
  53. package/src/index.ts +44 -44
@@ -1,4 +1,4 @@
1
- import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, bQ as HandleExecuteScriptError, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2 } from '../types.gen-DkFlXKTr.js';
1
+ import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, b$ as HandleExecuteScriptError, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2 } from '../types.gen-BWwhCgTX.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';
@@ -1,4 +1,4 @@
1
- import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, bQ as HandleExecuteScriptError, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2 } from '../types.gen-DkFlXKTr.js';
1
+ import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, b$ as HandleExecuteScriptError, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2 } from '../types.gen-BWwhCgTX.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';
@@ -1,4 +1,4 @@
1
- import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, bQ as HandleExecuteScriptError, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2 } from '../types.gen-DkFlXKTr.js';
1
+ import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, b$ as HandleExecuteScriptError, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2 } from '../types.gen-BWwhCgTX.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';
@@ -1,4 +1,4 @@
1
- import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, bQ as HandleExecuteScriptError, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2 } from '../types.gen-DkFlXKTr.js';
1
+ import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, b$ as HandleExecuteScriptError, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2 } from '../types.gen-BWwhCgTX.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';
package/dist/inde.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, D as DeploymentSource, b as FreestyleDeployWebConfiguration, 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 CreateRepoSource, q as CreateRepoImport, r as CreateRepositoryResponseSuccess, s as HandleListRepositoriesResponse, t as HandleDeleteRepoResponse, G as GitIdentity, u as HandleDeleteIdentityResponse, A as AccessLevel, v as HandleGrantPermissionResponse, L as ListPermissionResponseSuccess, w as DescribePermissionResponseSuccess, x as CreatedToken, y as ListGitTokensResponseSuccess, z as HandleListGitTriggersResponse, B as GitTrigger, E as GitTriggerAction, I as HandleCreateGitTriggerResponse } from './types.gen-DkFlXKTr.js';
2
- export { M as AccessTokenInfo, K as AccessibleRepository, N as Behavior, O as BlobEncoding, P as BlobObject, Q as CommitObject, R as CommitParent, S as CommitTree, T as CreateDomainMappingRequest, U as CreateRecordParams, W as CreateRepoRequest, X as CreateRepositoryRequest, Z as CustomBuildOptions, J as DeploymentBuildOptions, _ as DeploymentLogEntry, a0 as DeploymentState, a1 as DevServer, a3 as DevServerRequest, a4 as DevServerStatusRequest, a5 as DevServerWatchFilesRequest, a6 as DnsRecord, a7 as DnsRecordData, a8 as DnsRecordKind, a9 as DomainVerificationRequest, aa as ExecRequest, ab as ExecuteLogEntry, ac as ExecuteRunInfo, ad as ExecuteRunState, ae as FileReadContent, ag as FreestyleCloudstateDeployConfiguration, ah as FreestyleCloudstateDeployErrorResponse, ai as FreestyleDeleteDomainVerificationRequest, aj as FreestyleDeployWebErrorResponse, ak as FreestyleDeployWebPayload, al as FreestyleDeployWebPayloadV2, am as FreestyleDomainVerificationRequest, an as FreestyleExecuteScriptParams, ao as FreestyleFile, ap as FreestyleGetLogsResponse, aq as FreestyleJavaScriptLog, ar as FreestyleLogResponseObject, as as FreestyleNetworkPermission, au as FreestyleVerifyDomainRequest, av as GitCommitPushRequest, aw as GitContents, ay as GitContentsDirEntryItem, az as GitReference, aA as GitRepositoryTrigger, aD as GrantPermissionRequest, aY as HandleBackupCloudstateData, aZ as HandleBackupCloudstateError, bi as HandleCreateDomainVerificationData, bj as HandleCreateDomainVerificationError, cd as HandleCreateGitTokenData, cf as HandleCreateGitTokenError, ce as HandleCreateGitTokenResponse, cQ as HandleCreateGitTriggerData, cR as HandleCreateGitTriggerError, bV as HandleCreateIdentityError, bU as HandleCreateIdentityResponse, b1 as HandleCreateRecordData, b3 as HandleCreateRecordError, b2 as HandleCreateRecordResponse, cl as HandleCreateRepoData, cn as HandleCreateRepoError, cm as HandleCreateRepoResponse, bd as HandleDeleteDomainMappingData, bf as HandleDeleteDomainMappingError, be as HandleDeleteDomainMappingResponse, bk as HandleDeleteDomainVerificationData, bl as HandleDeleteDomainVerificationError, cS as HandleDeleteGitTriggerData, cU as HandleDeleteGitTriggerError, cT as HandleDeleteGitTriggerResponse, bW as HandleDeleteIdentityData, bX as HandleDeleteIdentityError, b4 as HandleDeleteRecordData, b6 as HandleDeleteRecordError, b5 as HandleDeleteRecordResponse, co as HandleDeleteRepoData, cp as HandleDeleteRepoError, aV as HandleDeployCloudstateData, aX as HandleDeployCloudstateError, aW as HandleDeployCloudstateResponse, c_ as HandleDeployWebData, d0 as HandleDeployWebError, c$ as HandleDeployWebResponse, d1 as HandleDeployWebV2Data, d3 as HandleDeployWebV2Error, d2 as HandleDeployWebV2Response, b$ as HandleDescribePermissionData, c1 as HandleDescribePermissionError, c0 as HandleDescribePermissionResponse, bE as HandleDevServerStatusData, bG as HandleDevServerStatusError, bF as HandleDevServerStatusResponse, cL as HandleDownloadTarballData, cN as HandleDownloadTarballError, cM as HandleDownloadTarballResponse, cV as HandleDownloadZipData, cX as HandleDownloadZipError, cW as HandleDownloadZipResponse, bm as HandleEphemeralDevServerData, bo as HandleEphemeralDevServerError, bn as HandleEphemeralDevServerResponse, bp as HandleExecOnEphemeralDevServerData, br as HandleExecOnEphemeralDevServerError, bq as HandleExecOnEphemeralDevServerResponse, bO as HandleExecuteScriptData, bQ as HandleExecuteScriptError, bP as HandleExecuteScriptResponse, ct as HandleGetBlobData, cv as HandleGetBlobError, cu as HandleGetBlobResponse, cw as HandleGetCommitData, cy as HandleGetCommitError, cx as HandleGetCommitResponse, cq as HandleGetContentsData, cs as HandleGetContentsError, cr as HandleGetContentsResponse, bM as HandleGetExecuteRunData, bN as HandleGetExecuteRunError, cY as HandleGetLogsData, cZ as HandleGetLogsError, cz as HandleGetRefBranchData, cB as HandleGetRefBranchError, cA as HandleGetRefBranchResponse, cC as HandleGetRefTagData, cE as HandleGetRefTagError, cD as HandleGetRefTagResponse, cF as HandleGetTagData, cH as HandleGetTagError, cG as HandleGetTagResponse, cI as HandleGetTreeData, cK as HandleGetTreeError, cJ as HandleGetTreeResponse, d6 as HandleGetWebDeployDetailsData, by as HandleGitCommitPushData, bA as HandleGitCommitPushError, bz as HandleGitCommitPushResponse, c2 as HandleGrantPermissionData, c3 as HandleGrantPermissionError, ba as HandleInsertDomainMappingData, bc as HandleInsertDomainMappingError, bb as HandleInsertDomainMappingResponse, bg as HandleListDomainVerificationRequestsError, b9 as HandleListDomainsError, bK as HandleListExecuteRunsData, bL as HandleListExecuteRunsError, ca as HandleListGitTokensData, cc as HandleListGitTokensError, cb as HandleListGitTokensResponse, cO as HandleListGitTriggersData, cP as HandleListGitTriggersError, bR as HandleListIdentitiesData, bT as HandleListIdentitiesError, bS as HandleListIdentitiesResponse, bY as HandleListPermissionsData, b_ as HandleListPermissionsError, bZ as HandleListPermissionsResponse, a_ as HandleListRecordsData, b0 as HandleListRecordsError, a$ as HandleListRecordsResponse, cj as HandleListRepositoriesData, ck as HandleListRepositoriesError, d4 as HandleListWebDeploysData, d5 as HandleListWebDeploysError, bv as HandleReadFileFromEphemeralDevServerData, bx as HandleReadFileFromEphemeralDevServerError, bw as HandleReadFileFromEphemeralDevServerResponse, cg as HandleRevokeGitTokenData, ci as HandleRevokeGitTokenError, ch as HandleRevokeGitTokenResponse, c4 as HandleRevokePermissionData, c6 as HandleRevokePermissionError, c5 as HandleRevokePermissionResponse, bB as HandleShutdownDevServerData, bD as HandleShutdownDevServerError, bC as HandleShutdownDevServerResponse, c7 as HandleUpdatePermissionData, c9 as HandleUpdatePermissionError, c8 as HandleUpdatePermissionResponse, bh as HandleVerifyDomainData, b7 as HandleVerifyWildcardData, b8 as HandleVerifyWildcardError, bH as HandleWatchDevServerFilesData, bJ as HandleWatchDevServerFilesError, bI as HandleWatchDevServerFilesResponse, bs as HandleWriteFileFromEphemeralDevServerData, bu as HandleWriteFileFromEphemeralDevServerError, bt as HandleWriteFileFromEphemeralDevServerResponse, aE as InternalServerError, aF as ListRecordsResponse, aG as NetworkPermissionData, aH as ReadFileEphemeralDevServerResponses, aI as ReadFileRequest, aJ as RepositoryInfo, aK as RevokeGitTokenRequest, aL as ShutdownDevServerRequest, aM as Signature, aN as TagObject, aO as TagTarget, aP as TreeEntry, aR as TreeObject, aS as UpdatePermissionRequest, aT as Visibility, aU as WriteFileRequest, at as action, aC as action2, aB as event, $ as kind, a2 as kind2, af as kind3, V as type, Y as type2, ax as type3, aQ as type4 } from './types.gen-DkFlXKTr.js';
1
+ import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, D as DeploymentSource, b as FreestyleDeployWebConfiguration, 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 CreateRepoSource, q as CreateRepoImport, r as CreateRepositoryResponseSuccess, s as HandleListRepositoriesResponse, t as HandleDeleteRepoResponse, G as GitIdentity, u as HandleDeleteIdentityResponse, A as AccessLevel, v as HandleGrantPermissionResponse, L as ListPermissionResponseSuccess, w as DescribePermissionResponseSuccess, x as CreatedToken, y as ListGitTokensResponseSuccess, z as HandleListGitTriggersResponse, B as GitTrigger, E as GitTriggerAction, I as HandleCreateGitTriggerResponse, S as SetDefaultBranchRequest, J as HandleGetContentsResponse, K as GetGithubSyncResponse } from './types.gen-BWwhCgTX.js';
2
+ export { O as AccessTokenInfo, N as AccessibleRepository, P as Behavior, Q as BlobEncoding, R as BlobObject, T as BranchDetails, U as CommitObject, V as CommitParent, W as CommitTree, cH as ConfigureGithubSyncData, cJ as ConfigureGithubSyncError, X as ConfigureGithubSyncRequest, cI as ConfigureGithubSyncResponse, Y as CreateDomainMappingRequest, Z as CreateRecordParams, $ as CreateRepoRequest, a0 as CreateRepositoryRequest, a2 as CustomBuildOptions, M as DeploymentBuildOptions, a3 as DeploymentLogEntry, a5 as DeploymentState, a6 as DevServer, a8 as DevServerRequest, a9 as DevServerStatusRequest, aa as DevServerWatchFilesRequest, ab as DnsRecord, ac as DnsRecordData, ad as DnsRecordKind, ae as DomainVerificationRequest, af as ExecRequest, ag as ExecuteLogEntry, ah as ExecuteRunInfo, ai as ExecuteRunState, aj as FileReadContent, al as FreestyleCloudstateDeployConfiguration, am as FreestyleCloudstateDeployErrorResponse, an as FreestyleDeleteDomainVerificationRequest, ao as FreestyleDeployWebErrorResponse, ap as FreestyleDeployWebPayload, aq as FreestyleDeployWebPayloadV2, ar as FreestyleDomainVerificationRequest, as as FreestyleExecuteScriptParams, at as FreestyleFile, au as FreestyleGetLogsResponse, av as FreestyleJavaScriptLog, aw as FreestyleLogResponseObject, ax as FreestyleNetworkPermission, az as FreestyleVerifyDomainRequest, aA as GetDefaultBranchResponse, cF as GetGithubSyncData, cG as GetGithubSyncError, aB as GitCommitPushRequest, aC as GitContents, aE as GitContentsDirEntryItem, aH as GitReference, aI as GitRepositoryTrigger, aF as GithubRepoSyncConfig, aG as GithubSyncConfigResponse, aL as GrantPermissionRequest, b7 as HandleBackupCloudstateData, b8 as HandleBackupCloudstateError, bt as HandleCreateDomainVerificationData, bu as HandleCreateDomainVerificationError, co as HandleCreateGitTokenData, cq as HandleCreateGitTokenError, cp as HandleCreateGitTokenResponse, dc as HandleCreateGitTriggerData, dd as HandleCreateGitTriggerError, c4 as HandleCreateIdentityError, c3 as HandleCreateIdentityResponse, bc as HandleCreateRecordData, be as HandleCreateRecordError, bd as HandleCreateRecordResponse, cw as HandleCreateRepoData, cy as HandleCreateRepoError, cx as HandleCreateRepoResponse, bo as HandleDeleteDomainMappingData, bq as HandleDeleteDomainMappingError, bp as HandleDeleteDomainMappingResponse, bv as HandleDeleteDomainVerificationData, bw as HandleDeleteDomainVerificationError, de as HandleDeleteGitTriggerData, dg as HandleDeleteGitTriggerError, df as HandleDeleteGitTriggerResponse, c5 as HandleDeleteIdentityData, c6 as HandleDeleteIdentityError, bf as HandleDeleteRecordData, bh as HandleDeleteRecordError, bg as HandleDeleteRecordResponse, cN as HandleDeleteRepoData, cO as HandleDeleteRepoError, b4 as HandleDeployCloudstateData, b6 as HandleDeployCloudstateError, b5 as HandleDeployCloudstateResponse, dm as HandleDeployWebData, dp as HandleDeployWebError, dn as HandleDeployWebResponse, dq as HandleDeployWebV2Data, ds as HandleDeployWebV2Error, dr as HandleDeployWebV2Response, ca as HandleDescribePermissionData, cc as HandleDescribePermissionError, cb as HandleDescribePermissionResponse, bP as HandleDevServerStatusData, bR as HandleDevServerStatusError, bQ as HandleDevServerStatusResponse, d7 as HandleDownloadTarballData, d9 as HandleDownloadTarballError, d8 as HandleDownloadTarballResponse, dh as HandleDownloadZipData, dj as HandleDownloadZipError, di as HandleDownloadZipResponse, bx as HandleEphemeralDevServerData, bz as HandleEphemeralDevServerError, by as HandleEphemeralDevServerResponse, bA as HandleExecOnEphemeralDevServerData, bC as HandleExecOnEphemeralDevServerError, bB as HandleExecOnEphemeralDevServerResponse, bZ as HandleExecuteScriptData, b$ as HandleExecuteScriptError, b_ as HandleExecuteScriptResponse, cR as HandleGetBlobData, cT as HandleGetBlobError, cS as HandleGetBlobResponse, cU as HandleGetCommitData, cW as HandleGetCommitError, cV as HandleGetCommitResponse, cP as HandleGetContentsData, cQ as HandleGetContentsError, cz as HandleGetDefaultBranchData, cB as HandleGetDefaultBranchError, cA as HandleGetDefaultBranchResponse, bX as HandleGetExecuteRunData, bY as HandleGetExecuteRunError, dk as HandleGetLogsData, dl as HandleGetLogsError, cX as HandleGetRefBranchData, cZ as HandleGetRefBranchError, cY as HandleGetRefBranchResponse, c_ as HandleGetRefTagData, d0 as HandleGetRefTagError, c$ as HandleGetRefTagResponse, d1 as HandleGetTagData, d3 as HandleGetTagError, d2 as HandleGetTagResponse, d4 as HandleGetTreeData, d6 as HandleGetTreeError, d5 as HandleGetTreeResponse, dv as HandleGetWebDeployDetailsData, bJ as HandleGitCommitPushData, bL as HandleGitCommitPushError, bK as HandleGitCommitPushResponse, cd as HandleGrantPermissionData, ce as HandleGrantPermissionError, bl as HandleInsertDomainMappingData, bn as HandleInsertDomainMappingError, bm as HandleInsertDomainMappingResponse, br as HandleListDomainVerificationRequestsError, bk as HandleListDomainsError, bV as HandleListExecuteRunsData, bW as HandleListExecuteRunsError, cl as HandleListGitTokensData, cn as HandleListGitTokensError, cm as HandleListGitTokensResponse, da as HandleListGitTriggersData, db as HandleListGitTriggersError, c0 as HandleListIdentitiesData, c2 as HandleListIdentitiesError, c1 as HandleListIdentitiesResponse, c7 as HandleListPermissionsData, c9 as HandleListPermissionsError, c8 as HandleListPermissionsResponse, b9 as HandleListRecordsData, bb as HandleListRecordsError, ba as HandleListRecordsResponse, cu as HandleListRepositoriesData, cv as HandleListRepositoriesError, dt as HandleListWebDeploysData, du as HandleListWebDeploysError, bG as HandleReadFileFromEphemeralDevServerData, bI as HandleReadFileFromEphemeralDevServerError, bH as HandleReadFileFromEphemeralDevServerResponse, cr as HandleRevokeGitTokenData, ct as HandleRevokeGitTokenError, cs as HandleRevokeGitTokenResponse, cf as HandleRevokePermissionData, ch as HandleRevokePermissionError, cg as HandleRevokePermissionResponse, cC as HandleSetDefaultBranchData, cE as HandleSetDefaultBranchError, cD as HandleSetDefaultBranchResponse, bM as HandleShutdownDevServerData, bO as HandleShutdownDevServerError, bN as HandleShutdownDevServerResponse, ci as HandleUpdatePermissionData, ck as HandleUpdatePermissionError, cj as HandleUpdatePermissionResponse, bs as HandleVerifyDomainData, bi as HandleVerifyWildcardData, bj as HandleVerifyWildcardError, bS as HandleWatchDevServerFilesData, bU as HandleWatchDevServerFilesError, bT as HandleWatchDevServerFilesResponse, bD as HandleWriteFileFromEphemeralDevServerData, bF as HandleWriteFileFromEphemeralDevServerError, bE as HandleWriteFileFromEphemeralDevServerResponse, aM as InternalServerError, aN as ListRecordsResponse, aO as NetworkPermissionData, aP as ReadFileEphemeralDevServerResponses, aQ as ReadFileRequest, cK as RemoveGithubSyncData, cM as RemoveGithubSyncError, cL as RemoveGithubSyncResponse, aR as RepositoryInfo, aS as RepositoryMetadata, aT as RevokeGitTokenRequest, aU as SetDefaultBranchResponse, aV as ShutdownDevServerRequest, aW as Signature, aX as TagDetails, aY as TagObject, aZ as TagTarget, a_ as TreeEntry, b0 as TreeObject, b1 as UpdatePermissionRequest, b2 as Visibility, b3 as WriteFileRequest, ay as action, aK as action2, aJ as event, a4 as kind, a7 as kind2, ak as kind3, _ as type, a1 as type2, aD as type3, a$ as type4 } from './types.gen-BWwhCgTX.js';
3
3
 
4
4
  interface FreestyleDevServer {
5
5
  /**
@@ -155,6 +155,7 @@ declare class FreestyleSandboxes {
155
155
  * @returns The domain verification token.
156
156
  */
157
157
  createDomainVerificationRequest(domain: string): Promise<HandleCreateDomainVerificationResponse>;
158
+ verifyDomainVerificationRequest(id: string): Promise<HandleVerifyDomainResponse>;
158
159
  /**
159
160
  * Verify a domain. Note, this requires the domain verification token to be already set up.
160
161
  * @param domain The domain to verify.
@@ -172,9 +173,10 @@ declare class FreestyleSandboxes {
172
173
  /**
173
174
  * Create a new git repository.
174
175
  */
175
- createGitRepository({ name, public: pub, source, import: _import, }: {
176
+ createGitRepository({ name, public: pub, source, import: _import, defaultBranch, }: {
176
177
  name?: string;
177
178
  public?: boolean;
179
+ defaultBranch?: string;
178
180
  } & (CreateGitRepositorySource | CreateGitRepositoryImport)): Promise<CreateRepositoryResponseSuccess>;
179
181
  /**
180
182
  * List git repositories.
@@ -274,6 +276,45 @@ declare class FreestyleSandboxes {
274
276
  deleteGitTrigger({ triggerId }: {
275
277
  triggerId: string;
276
278
  }): Promise<void>;
279
+ /**
280
+ * Set the default branch for a git repository.
281
+ */
282
+ setGitRepoDefaultBranch({ repoId, defaultBranch, }: SetDefaultBranchRequest & {
283
+ repoId: string;
284
+ }): Promise<void>;
285
+ /**
286
+ * Get the default branch for a git repository.
287
+ */
288
+ getGitRepoDefaultBranch({ repoId, }: {
289
+ repoId: string;
290
+ }): Promise<string>;
291
+ /**
292
+ * Get the contents of a git repository at the given path.
293
+ */
294
+ getGitRepoContents({ repoId, path, ref, }: {
295
+ repoId: string;
296
+ path?: string;
297
+ ref?: string;
298
+ }): Promise<HandleGetContentsResponse>;
299
+ /**
300
+ * Configure a git repository to sync with GitHub.
301
+ */
302
+ configureGitRepoGitHubSync({ repoId, githubRepoName, }: {
303
+ repoId: string;
304
+ githubRepoName: string;
305
+ }): Promise<void>;
306
+ /**
307
+ * Remove the GitHub sync configuration for a git repository.
308
+ */
309
+ removeGitRepoGitHubSync({ repoId }: {
310
+ repoId: string;
311
+ }): Promise<void>;
312
+ /**
313
+ * Get the GitHub sync configuration for a git repository.
314
+ */
315
+ getGitRepoGitHubSyncConfig({ repoId, }: {
316
+ repoId: any;
317
+ }): Promise<GetGithubSyncResponse | null>;
277
318
  /**
278
319
  * Request a dev server for a repository. If a dev server is already running
279
320
  * for that repository, it will return a url to that server. Dev servers are
@@ -300,4 +341,4 @@ declare class FreestyleSandboxes {
300
341
  fetch(path: string, init?: RequestInit): Promise<Response>;
301
342
  }
302
343
 
303
- export { AccessLevel, CreateRepoImport, CreateRepoSource, CreateRepositoryResponseSuccess, CreatedToken, DeploymentSource, DescribePermissionResponseSuccess, FreestyleCloudstateDeployRequest, FreestyleCloudstateDeploySuccessResponse, FreestyleDeployWebConfiguration, FreestyleDeployWebSuccessResponseV2, type FreestyleDevServer, type FreestyleDevServerFilesystem, FreestyleExecuteScriptParamsConfiguration, FreestyleExecuteScriptResultSuccess, FreestyleSandboxes, GitIdentity, GitTrigger, GitTriggerAction, HandleBackupCloudstateResponse, HandleCreateDomainVerificationResponse, HandleCreateGitTriggerResponse, HandleDeleteDomainVerificationResponse, HandleDeleteIdentityResponse, HandleDeleteRepoResponse, HandleGetExecuteRunResponse, HandleGetLogsResponse, HandleGrantPermissionResponse, HandleListDomainVerificationRequestsResponse, HandleListDomainsResponse, HandleListExecuteRunsResponse, HandleListGitTriggersResponse, HandleListRepositoriesResponse, HandleListWebDeploysResponse, HandleVerifyDomainError, HandleVerifyDomainResponse, HandleVerifyWildcardResponse, ListGitTokensResponseSuccess, ListPermissionResponseSuccess };
344
+ export { AccessLevel, CreateRepoImport, CreateRepoSource, CreateRepositoryResponseSuccess, CreatedToken, DeploymentSource, DescribePermissionResponseSuccess, FreestyleCloudstateDeployRequest, FreestyleCloudstateDeploySuccessResponse, FreestyleDeployWebConfiguration, FreestyleDeployWebSuccessResponseV2, type FreestyleDevServer, type FreestyleDevServerFilesystem, FreestyleExecuteScriptParamsConfiguration, FreestyleExecuteScriptResultSuccess, FreestyleSandboxes, GetGithubSyncResponse, GitIdentity, GitTrigger, GitTriggerAction, HandleBackupCloudstateResponse, HandleCreateDomainVerificationResponse, HandleCreateGitTriggerResponse, HandleDeleteDomainVerificationResponse, HandleDeleteIdentityResponse, HandleDeleteRepoResponse, HandleGetContentsResponse, HandleGetExecuteRunResponse, HandleGetLogsResponse, HandleGrantPermissionResponse, HandleListDomainVerificationRequestsResponse, HandleListDomainsResponse, HandleListExecuteRunsResponse, HandleListGitTriggersResponse, HandleListRepositoriesResponse, HandleListWebDeploysResponse, HandleVerifyDomainError, HandleVerifyDomainResponse, HandleVerifyWildcardResponse, ListGitTokensResponseSuccess, ListPermissionResponseSuccess, SetDefaultBranchRequest };
package/dist/inde.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, D as DeploymentSource, b as FreestyleDeployWebConfiguration, 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 CreateRepoSource, q as CreateRepoImport, r as CreateRepositoryResponseSuccess, s as HandleListRepositoriesResponse, t as HandleDeleteRepoResponse, G as GitIdentity, u as HandleDeleteIdentityResponse, A as AccessLevel, v as HandleGrantPermissionResponse, L as ListPermissionResponseSuccess, w as DescribePermissionResponseSuccess, x as CreatedToken, y as ListGitTokensResponseSuccess, z as HandleListGitTriggersResponse, B as GitTrigger, E as GitTriggerAction, I as HandleCreateGitTriggerResponse } from './types.gen-DkFlXKTr.js';
2
- export { M as AccessTokenInfo, K as AccessibleRepository, N as Behavior, O as BlobEncoding, P as BlobObject, Q as CommitObject, R as CommitParent, S as CommitTree, T as CreateDomainMappingRequest, U as CreateRecordParams, W as CreateRepoRequest, X as CreateRepositoryRequest, Z as CustomBuildOptions, J as DeploymentBuildOptions, _ as DeploymentLogEntry, a0 as DeploymentState, a1 as DevServer, a3 as DevServerRequest, a4 as DevServerStatusRequest, a5 as DevServerWatchFilesRequest, a6 as DnsRecord, a7 as DnsRecordData, a8 as DnsRecordKind, a9 as DomainVerificationRequest, aa as ExecRequest, ab as ExecuteLogEntry, ac as ExecuteRunInfo, ad as ExecuteRunState, ae as FileReadContent, ag as FreestyleCloudstateDeployConfiguration, ah as FreestyleCloudstateDeployErrorResponse, ai as FreestyleDeleteDomainVerificationRequest, aj as FreestyleDeployWebErrorResponse, ak as FreestyleDeployWebPayload, al as FreestyleDeployWebPayloadV2, am as FreestyleDomainVerificationRequest, an as FreestyleExecuteScriptParams, ao as FreestyleFile, ap as FreestyleGetLogsResponse, aq as FreestyleJavaScriptLog, ar as FreestyleLogResponseObject, as as FreestyleNetworkPermission, au as FreestyleVerifyDomainRequest, av as GitCommitPushRequest, aw as GitContents, ay as GitContentsDirEntryItem, az as GitReference, aA as GitRepositoryTrigger, aD as GrantPermissionRequest, aY as HandleBackupCloudstateData, aZ as HandleBackupCloudstateError, bi as HandleCreateDomainVerificationData, bj as HandleCreateDomainVerificationError, cd as HandleCreateGitTokenData, cf as HandleCreateGitTokenError, ce as HandleCreateGitTokenResponse, cQ as HandleCreateGitTriggerData, cR as HandleCreateGitTriggerError, bV as HandleCreateIdentityError, bU as HandleCreateIdentityResponse, b1 as HandleCreateRecordData, b3 as HandleCreateRecordError, b2 as HandleCreateRecordResponse, cl as HandleCreateRepoData, cn as HandleCreateRepoError, cm as HandleCreateRepoResponse, bd as HandleDeleteDomainMappingData, bf as HandleDeleteDomainMappingError, be as HandleDeleteDomainMappingResponse, bk as HandleDeleteDomainVerificationData, bl as HandleDeleteDomainVerificationError, cS as HandleDeleteGitTriggerData, cU as HandleDeleteGitTriggerError, cT as HandleDeleteGitTriggerResponse, bW as HandleDeleteIdentityData, bX as HandleDeleteIdentityError, b4 as HandleDeleteRecordData, b6 as HandleDeleteRecordError, b5 as HandleDeleteRecordResponse, co as HandleDeleteRepoData, cp as HandleDeleteRepoError, aV as HandleDeployCloudstateData, aX as HandleDeployCloudstateError, aW as HandleDeployCloudstateResponse, c_ as HandleDeployWebData, d0 as HandleDeployWebError, c$ as HandleDeployWebResponse, d1 as HandleDeployWebV2Data, d3 as HandleDeployWebV2Error, d2 as HandleDeployWebV2Response, b$ as HandleDescribePermissionData, c1 as HandleDescribePermissionError, c0 as HandleDescribePermissionResponse, bE as HandleDevServerStatusData, bG as HandleDevServerStatusError, bF as HandleDevServerStatusResponse, cL as HandleDownloadTarballData, cN as HandleDownloadTarballError, cM as HandleDownloadTarballResponse, cV as HandleDownloadZipData, cX as HandleDownloadZipError, cW as HandleDownloadZipResponse, bm as HandleEphemeralDevServerData, bo as HandleEphemeralDevServerError, bn as HandleEphemeralDevServerResponse, bp as HandleExecOnEphemeralDevServerData, br as HandleExecOnEphemeralDevServerError, bq as HandleExecOnEphemeralDevServerResponse, bO as HandleExecuteScriptData, bQ as HandleExecuteScriptError, bP as HandleExecuteScriptResponse, ct as HandleGetBlobData, cv as HandleGetBlobError, cu as HandleGetBlobResponse, cw as HandleGetCommitData, cy as HandleGetCommitError, cx as HandleGetCommitResponse, cq as HandleGetContentsData, cs as HandleGetContentsError, cr as HandleGetContentsResponse, bM as HandleGetExecuteRunData, bN as HandleGetExecuteRunError, cY as HandleGetLogsData, cZ as HandleGetLogsError, cz as HandleGetRefBranchData, cB as HandleGetRefBranchError, cA as HandleGetRefBranchResponse, cC as HandleGetRefTagData, cE as HandleGetRefTagError, cD as HandleGetRefTagResponse, cF as HandleGetTagData, cH as HandleGetTagError, cG as HandleGetTagResponse, cI as HandleGetTreeData, cK as HandleGetTreeError, cJ as HandleGetTreeResponse, d6 as HandleGetWebDeployDetailsData, by as HandleGitCommitPushData, bA as HandleGitCommitPushError, bz as HandleGitCommitPushResponse, c2 as HandleGrantPermissionData, c3 as HandleGrantPermissionError, ba as HandleInsertDomainMappingData, bc as HandleInsertDomainMappingError, bb as HandleInsertDomainMappingResponse, bg as HandleListDomainVerificationRequestsError, b9 as HandleListDomainsError, bK as HandleListExecuteRunsData, bL as HandleListExecuteRunsError, ca as HandleListGitTokensData, cc as HandleListGitTokensError, cb as HandleListGitTokensResponse, cO as HandleListGitTriggersData, cP as HandleListGitTriggersError, bR as HandleListIdentitiesData, bT as HandleListIdentitiesError, bS as HandleListIdentitiesResponse, bY as HandleListPermissionsData, b_ as HandleListPermissionsError, bZ as HandleListPermissionsResponse, a_ as HandleListRecordsData, b0 as HandleListRecordsError, a$ as HandleListRecordsResponse, cj as HandleListRepositoriesData, ck as HandleListRepositoriesError, d4 as HandleListWebDeploysData, d5 as HandleListWebDeploysError, bv as HandleReadFileFromEphemeralDevServerData, bx as HandleReadFileFromEphemeralDevServerError, bw as HandleReadFileFromEphemeralDevServerResponse, cg as HandleRevokeGitTokenData, ci as HandleRevokeGitTokenError, ch as HandleRevokeGitTokenResponse, c4 as HandleRevokePermissionData, c6 as HandleRevokePermissionError, c5 as HandleRevokePermissionResponse, bB as HandleShutdownDevServerData, bD as HandleShutdownDevServerError, bC as HandleShutdownDevServerResponse, c7 as HandleUpdatePermissionData, c9 as HandleUpdatePermissionError, c8 as HandleUpdatePermissionResponse, bh as HandleVerifyDomainData, b7 as HandleVerifyWildcardData, b8 as HandleVerifyWildcardError, bH as HandleWatchDevServerFilesData, bJ as HandleWatchDevServerFilesError, bI as HandleWatchDevServerFilesResponse, bs as HandleWriteFileFromEphemeralDevServerData, bu as HandleWriteFileFromEphemeralDevServerError, bt as HandleWriteFileFromEphemeralDevServerResponse, aE as InternalServerError, aF as ListRecordsResponse, aG as NetworkPermissionData, aH as ReadFileEphemeralDevServerResponses, aI as ReadFileRequest, aJ as RepositoryInfo, aK as RevokeGitTokenRequest, aL as ShutdownDevServerRequest, aM as Signature, aN as TagObject, aO as TagTarget, aP as TreeEntry, aR as TreeObject, aS as UpdatePermissionRequest, aT as Visibility, aU as WriteFileRequest, at as action, aC as action2, aB as event, $ as kind, a2 as kind2, af as kind3, V as type, Y as type2, ax as type3, aQ as type4 } from './types.gen-DkFlXKTr.js';
1
+ import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, D as DeploymentSource, b as FreestyleDeployWebConfiguration, 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 CreateRepoSource, q as CreateRepoImport, r as CreateRepositoryResponseSuccess, s as HandleListRepositoriesResponse, t as HandleDeleteRepoResponse, G as GitIdentity, u as HandleDeleteIdentityResponse, A as AccessLevel, v as HandleGrantPermissionResponse, L as ListPermissionResponseSuccess, w as DescribePermissionResponseSuccess, x as CreatedToken, y as ListGitTokensResponseSuccess, z as HandleListGitTriggersResponse, B as GitTrigger, E as GitTriggerAction, I as HandleCreateGitTriggerResponse, S as SetDefaultBranchRequest, J as HandleGetContentsResponse, K as GetGithubSyncResponse } from './types.gen-BWwhCgTX.js';
2
+ export { O as AccessTokenInfo, N as AccessibleRepository, P as Behavior, Q as BlobEncoding, R as BlobObject, T as BranchDetails, U as CommitObject, V as CommitParent, W as CommitTree, cH as ConfigureGithubSyncData, cJ as ConfigureGithubSyncError, X as ConfigureGithubSyncRequest, cI as ConfigureGithubSyncResponse, Y as CreateDomainMappingRequest, Z as CreateRecordParams, $ as CreateRepoRequest, a0 as CreateRepositoryRequest, a2 as CustomBuildOptions, M as DeploymentBuildOptions, a3 as DeploymentLogEntry, a5 as DeploymentState, a6 as DevServer, a8 as DevServerRequest, a9 as DevServerStatusRequest, aa as DevServerWatchFilesRequest, ab as DnsRecord, ac as DnsRecordData, ad as DnsRecordKind, ae as DomainVerificationRequest, af as ExecRequest, ag as ExecuteLogEntry, ah as ExecuteRunInfo, ai as ExecuteRunState, aj as FileReadContent, al as FreestyleCloudstateDeployConfiguration, am as FreestyleCloudstateDeployErrorResponse, an as FreestyleDeleteDomainVerificationRequest, ao as FreestyleDeployWebErrorResponse, ap as FreestyleDeployWebPayload, aq as FreestyleDeployWebPayloadV2, ar as FreestyleDomainVerificationRequest, as as FreestyleExecuteScriptParams, at as FreestyleFile, au as FreestyleGetLogsResponse, av as FreestyleJavaScriptLog, aw as FreestyleLogResponseObject, ax as FreestyleNetworkPermission, az as FreestyleVerifyDomainRequest, aA as GetDefaultBranchResponse, cF as GetGithubSyncData, cG as GetGithubSyncError, aB as GitCommitPushRequest, aC as GitContents, aE as GitContentsDirEntryItem, aH as GitReference, aI as GitRepositoryTrigger, aF as GithubRepoSyncConfig, aG as GithubSyncConfigResponse, aL as GrantPermissionRequest, b7 as HandleBackupCloudstateData, b8 as HandleBackupCloudstateError, bt as HandleCreateDomainVerificationData, bu as HandleCreateDomainVerificationError, co as HandleCreateGitTokenData, cq as HandleCreateGitTokenError, cp as HandleCreateGitTokenResponse, dc as HandleCreateGitTriggerData, dd as HandleCreateGitTriggerError, c4 as HandleCreateIdentityError, c3 as HandleCreateIdentityResponse, bc as HandleCreateRecordData, be as HandleCreateRecordError, bd as HandleCreateRecordResponse, cw as HandleCreateRepoData, cy as HandleCreateRepoError, cx as HandleCreateRepoResponse, bo as HandleDeleteDomainMappingData, bq as HandleDeleteDomainMappingError, bp as HandleDeleteDomainMappingResponse, bv as HandleDeleteDomainVerificationData, bw as HandleDeleteDomainVerificationError, de as HandleDeleteGitTriggerData, dg as HandleDeleteGitTriggerError, df as HandleDeleteGitTriggerResponse, c5 as HandleDeleteIdentityData, c6 as HandleDeleteIdentityError, bf as HandleDeleteRecordData, bh as HandleDeleteRecordError, bg as HandleDeleteRecordResponse, cN as HandleDeleteRepoData, cO as HandleDeleteRepoError, b4 as HandleDeployCloudstateData, b6 as HandleDeployCloudstateError, b5 as HandleDeployCloudstateResponse, dm as HandleDeployWebData, dp as HandleDeployWebError, dn as HandleDeployWebResponse, dq as HandleDeployWebV2Data, ds as HandleDeployWebV2Error, dr as HandleDeployWebV2Response, ca as HandleDescribePermissionData, cc as HandleDescribePermissionError, cb as HandleDescribePermissionResponse, bP as HandleDevServerStatusData, bR as HandleDevServerStatusError, bQ as HandleDevServerStatusResponse, d7 as HandleDownloadTarballData, d9 as HandleDownloadTarballError, d8 as HandleDownloadTarballResponse, dh as HandleDownloadZipData, dj as HandleDownloadZipError, di as HandleDownloadZipResponse, bx as HandleEphemeralDevServerData, bz as HandleEphemeralDevServerError, by as HandleEphemeralDevServerResponse, bA as HandleExecOnEphemeralDevServerData, bC as HandleExecOnEphemeralDevServerError, bB as HandleExecOnEphemeralDevServerResponse, bZ as HandleExecuteScriptData, b$ as HandleExecuteScriptError, b_ as HandleExecuteScriptResponse, cR as HandleGetBlobData, cT as HandleGetBlobError, cS as HandleGetBlobResponse, cU as HandleGetCommitData, cW as HandleGetCommitError, cV as HandleGetCommitResponse, cP as HandleGetContentsData, cQ as HandleGetContentsError, cz as HandleGetDefaultBranchData, cB as HandleGetDefaultBranchError, cA as HandleGetDefaultBranchResponse, bX as HandleGetExecuteRunData, bY as HandleGetExecuteRunError, dk as HandleGetLogsData, dl as HandleGetLogsError, cX as HandleGetRefBranchData, cZ as HandleGetRefBranchError, cY as HandleGetRefBranchResponse, c_ as HandleGetRefTagData, d0 as HandleGetRefTagError, c$ as HandleGetRefTagResponse, d1 as HandleGetTagData, d3 as HandleGetTagError, d2 as HandleGetTagResponse, d4 as HandleGetTreeData, d6 as HandleGetTreeError, d5 as HandleGetTreeResponse, dv as HandleGetWebDeployDetailsData, bJ as HandleGitCommitPushData, bL as HandleGitCommitPushError, bK as HandleGitCommitPushResponse, cd as HandleGrantPermissionData, ce as HandleGrantPermissionError, bl as HandleInsertDomainMappingData, bn as HandleInsertDomainMappingError, bm as HandleInsertDomainMappingResponse, br as HandleListDomainVerificationRequestsError, bk as HandleListDomainsError, bV as HandleListExecuteRunsData, bW as HandleListExecuteRunsError, cl as HandleListGitTokensData, cn as HandleListGitTokensError, cm as HandleListGitTokensResponse, da as HandleListGitTriggersData, db as HandleListGitTriggersError, c0 as HandleListIdentitiesData, c2 as HandleListIdentitiesError, c1 as HandleListIdentitiesResponse, c7 as HandleListPermissionsData, c9 as HandleListPermissionsError, c8 as HandleListPermissionsResponse, b9 as HandleListRecordsData, bb as HandleListRecordsError, ba as HandleListRecordsResponse, cu as HandleListRepositoriesData, cv as HandleListRepositoriesError, dt as HandleListWebDeploysData, du as HandleListWebDeploysError, bG as HandleReadFileFromEphemeralDevServerData, bI as HandleReadFileFromEphemeralDevServerError, bH as HandleReadFileFromEphemeralDevServerResponse, cr as HandleRevokeGitTokenData, ct as HandleRevokeGitTokenError, cs as HandleRevokeGitTokenResponse, cf as HandleRevokePermissionData, ch as HandleRevokePermissionError, cg as HandleRevokePermissionResponse, cC as HandleSetDefaultBranchData, cE as HandleSetDefaultBranchError, cD as HandleSetDefaultBranchResponse, bM as HandleShutdownDevServerData, bO as HandleShutdownDevServerError, bN as HandleShutdownDevServerResponse, ci as HandleUpdatePermissionData, ck as HandleUpdatePermissionError, cj as HandleUpdatePermissionResponse, bs as HandleVerifyDomainData, bi as HandleVerifyWildcardData, bj as HandleVerifyWildcardError, bS as HandleWatchDevServerFilesData, bU as HandleWatchDevServerFilesError, bT as HandleWatchDevServerFilesResponse, bD as HandleWriteFileFromEphemeralDevServerData, bF as HandleWriteFileFromEphemeralDevServerError, bE as HandleWriteFileFromEphemeralDevServerResponse, aM as InternalServerError, aN as ListRecordsResponse, aO as NetworkPermissionData, aP as ReadFileEphemeralDevServerResponses, aQ as ReadFileRequest, cK as RemoveGithubSyncData, cM as RemoveGithubSyncError, cL as RemoveGithubSyncResponse, aR as RepositoryInfo, aS as RepositoryMetadata, aT as RevokeGitTokenRequest, aU as SetDefaultBranchResponse, aV as ShutdownDevServerRequest, aW as Signature, aX as TagDetails, aY as TagObject, aZ as TagTarget, a_ as TreeEntry, b0 as TreeObject, b1 as UpdatePermissionRequest, b2 as Visibility, b3 as WriteFileRequest, ay as action, aK as action2, aJ as event, a4 as kind, a7 as kind2, ak as kind3, _ as type, a1 as type2, aD as type3, a$ as type4 } from './types.gen-BWwhCgTX.js';
3
3
 
4
4
  interface FreestyleDevServer {
5
5
  /**
@@ -155,6 +155,7 @@ declare class FreestyleSandboxes {
155
155
  * @returns The domain verification token.
156
156
  */
157
157
  createDomainVerificationRequest(domain: string): Promise<HandleCreateDomainVerificationResponse>;
158
+ verifyDomainVerificationRequest(id: string): Promise<HandleVerifyDomainResponse>;
158
159
  /**
159
160
  * Verify a domain. Note, this requires the domain verification token to be already set up.
160
161
  * @param domain The domain to verify.
@@ -172,9 +173,10 @@ declare class FreestyleSandboxes {
172
173
  /**
173
174
  * Create a new git repository.
174
175
  */
175
- createGitRepository({ name, public: pub, source, import: _import, }: {
176
+ createGitRepository({ name, public: pub, source, import: _import, defaultBranch, }: {
176
177
  name?: string;
177
178
  public?: boolean;
179
+ defaultBranch?: string;
178
180
  } & (CreateGitRepositorySource | CreateGitRepositoryImport)): Promise<CreateRepositoryResponseSuccess>;
179
181
  /**
180
182
  * List git repositories.
@@ -274,6 +276,45 @@ declare class FreestyleSandboxes {
274
276
  deleteGitTrigger({ triggerId }: {
275
277
  triggerId: string;
276
278
  }): Promise<void>;
279
+ /**
280
+ * Set the default branch for a git repository.
281
+ */
282
+ setGitRepoDefaultBranch({ repoId, defaultBranch, }: SetDefaultBranchRequest & {
283
+ repoId: string;
284
+ }): Promise<void>;
285
+ /**
286
+ * Get the default branch for a git repository.
287
+ */
288
+ getGitRepoDefaultBranch({ repoId, }: {
289
+ repoId: string;
290
+ }): Promise<string>;
291
+ /**
292
+ * Get the contents of a git repository at the given path.
293
+ */
294
+ getGitRepoContents({ repoId, path, ref, }: {
295
+ repoId: string;
296
+ path?: string;
297
+ ref?: string;
298
+ }): Promise<HandleGetContentsResponse>;
299
+ /**
300
+ * Configure a git repository to sync with GitHub.
301
+ */
302
+ configureGitRepoGitHubSync({ repoId, githubRepoName, }: {
303
+ repoId: string;
304
+ githubRepoName: string;
305
+ }): Promise<void>;
306
+ /**
307
+ * Remove the GitHub sync configuration for a git repository.
308
+ */
309
+ removeGitRepoGitHubSync({ repoId }: {
310
+ repoId: string;
311
+ }): Promise<void>;
312
+ /**
313
+ * Get the GitHub sync configuration for a git repository.
314
+ */
315
+ getGitRepoGitHubSyncConfig({ repoId, }: {
316
+ repoId: any;
317
+ }): Promise<GetGithubSyncResponse | null>;
277
318
  /**
278
319
  * Request a dev server for a repository. If a dev server is already running
279
320
  * for that repository, it will return a url to that server. Dev servers are
@@ -300,4 +341,4 @@ declare class FreestyleSandboxes {
300
341
  fetch(path: string, init?: RequestInit): Promise<Response>;
301
342
  }
302
343
 
303
- export { AccessLevel, CreateRepoImport, CreateRepoSource, CreateRepositoryResponseSuccess, CreatedToken, DeploymentSource, DescribePermissionResponseSuccess, FreestyleCloudstateDeployRequest, FreestyleCloudstateDeploySuccessResponse, FreestyleDeployWebConfiguration, FreestyleDeployWebSuccessResponseV2, type FreestyleDevServer, type FreestyleDevServerFilesystem, FreestyleExecuteScriptParamsConfiguration, FreestyleExecuteScriptResultSuccess, FreestyleSandboxes, GitIdentity, GitTrigger, GitTriggerAction, HandleBackupCloudstateResponse, HandleCreateDomainVerificationResponse, HandleCreateGitTriggerResponse, HandleDeleteDomainVerificationResponse, HandleDeleteIdentityResponse, HandleDeleteRepoResponse, HandleGetExecuteRunResponse, HandleGetLogsResponse, HandleGrantPermissionResponse, HandleListDomainVerificationRequestsResponse, HandleListDomainsResponse, HandleListExecuteRunsResponse, HandleListGitTriggersResponse, HandleListRepositoriesResponse, HandleListWebDeploysResponse, HandleVerifyDomainError, HandleVerifyDomainResponse, HandleVerifyWildcardResponse, ListGitTokensResponseSuccess, ListPermissionResponseSuccess };
344
+ export { AccessLevel, CreateRepoImport, CreateRepoSource, CreateRepositoryResponseSuccess, CreatedToken, DeploymentSource, DescribePermissionResponseSuccess, FreestyleCloudstateDeployRequest, FreestyleCloudstateDeploySuccessResponse, FreestyleDeployWebConfiguration, FreestyleDeployWebSuccessResponseV2, type FreestyleDevServer, type FreestyleDevServerFilesystem, FreestyleExecuteScriptParamsConfiguration, FreestyleExecuteScriptResultSuccess, FreestyleSandboxes, GetGithubSyncResponse, GitIdentity, GitTrigger, GitTriggerAction, HandleBackupCloudstateResponse, HandleCreateDomainVerificationResponse, HandleCreateGitTriggerResponse, HandleDeleteDomainVerificationResponse, HandleDeleteIdentityResponse, HandleDeleteRepoResponse, HandleGetContentsResponse, HandleGetExecuteRunResponse, HandleGetLogsResponse, HandleGrantPermissionResponse, HandleListDomainVerificationRequestsResponse, HandleListDomainsResponse, HandleListExecuteRunsResponse, HandleListGitTriggersResponse, HandleListRepositoriesResponse, HandleListWebDeploysResponse, HandleVerifyDomainError, HandleVerifyDomainResponse, HandleVerifyWildcardResponse, ListGitTokensResponseSuccess, ListPermissionResponseSuccess, SetDefaultBranchRequest };
@@ -3169,12 +3169,11 @@ const executeTool = (config) => {
3169
3169
  return tool({
3170
3170
  description: executeCodeDescription(envVars, nodeModules),
3171
3171
  parameters: executeCodeSchema,
3172
- execute: async ({ script, ...otherParams }, { toolCallId }) => {
3172
+ execute: async ({ script, ...otherParams }) => {
3173
3173
  try {
3174
3174
  const res = await api.executeScript(script, config);
3175
3175
  if (config.onResult) {
3176
3176
  await config.onResult({
3177
- toolCallId,
3178
3177
  result: res,
3179
3178
  input: {
3180
3179
  script,
@@ -3217,13 +3216,10 @@ ${nodeModules.length > 0 ? `You can use the following node modules: ${nodeModule
3217
3216
  `)
3218
3217
  }),
3219
3218
  execute: async ({ files }) => {
3220
- const new_files = Object.keys(files).reduce(
3221
- (acc, key) => {
3222
- acc[key] = { content: files[key] };
3223
- return acc;
3224
- },
3225
- {}
3226
- );
3219
+ const new_files = Object.keys(files).reduce((acc, key) => {
3220
+ acc[key] = { content: files[key] };
3221
+ return acc;
3222
+ }, {});
3227
3223
  try {
3228
3224
  const res = await api.deployWeb(
3229
3225
  {