unfazed 0.8.0 → 0.8.1
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/CHANGELOG.md +36 -0
- package/README.md +3 -3
- package/REFERENCE.md +25 -11
- package/dist/cli/login.d.ts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/dist/client.js.map +1 -1
- package/dist/generated/gql.d.ts +14 -2
- package/dist/generated/gql.js +5 -2
- package/dist/generated/gql.js.map +1 -1
- package/dist/generated/graphql.d.ts +82 -1
- package/dist/generated/graphql.js +87 -1
- package/dist/generated/graphql.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/operations.d.ts +29 -1
- package/dist/operations.js +70 -1
- package/dist/operations.js.map +1 -1
- package/dist/reference.generated.js +1 -1
- package/dist/reference.generated.js.map +1 -1
- package/dist/unfazed.d.ts +71 -17
- package/dist/unfazed.js +204 -50
- package/dist/unfazed.js.map +1 -1
- package/package.json +1 -1
- package/schema/SOURCE.json +3 -3
- package/schema/schema.graphqls +81 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gql.js","sourceRoot":"","sources":["../../src/generated/gql.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAiFtC,MAAM,SAAS,GAAc;IACzB,qXAAqX,EAAE,KAAK,CAAC,2BAA2B;IACxZ,gXAAgX,EAAE,KAAK,CAAC,iBAAiB;IACzY,gPAAgP,EAAE,KAAK,CAAC,0BAA0B;IAClR,uJAAuJ,EAAE,KAAK,CAAC,yBAAyB;IACxL,sUAAsU,EAAE,KAAK,CAAC,0BAA0B;IACxW,+KAA+K,EAAE,KAAK,CAAC,4BAA4B;IACnN,sQAAsQ,EAAE,KAAK,CAAC,oBAAoB;IAClS,ySAAyS,EAAE,KAAK,CAAC,wBAAwB;IACzU,sVAAsV,EAAE,KAAK,CAAC,0BAA0B;IACxX,4LAA4L,EAAE,KAAK,CAAC,2BAA2B;IAC/N,2jBAA2jB,EAAE,KAAK,CAAC,qBAAqB;IACxlB,2fAA2f,EAAE,KAAK,CAAC,qBAAqB;IACxhB,8LAA8L,EAAE,KAAK,CAAC,4BAA4B;IAClO,2RAA2R,EAAE,KAAK,CAAC,6BAA6B;IAChU,qZAAqZ,EAAE,KAAK,CAAC,oBAAoB;IACjb,sZAAsZ,EAAE,KAAK,CAAC,yBAAyB;IACvb,qVAAqV,EAAE,KAAK,CAAC,8BAA8B;IAC3X,8XAA8X,EAAE,KAAK,CAAC,oBAAoB;IAC1Z,imBAAimB,EAAE,KAAK,CAAC,wBAAwB;IACjoB,yJAAyJ,EAAE,KAAK,CAAC,4BAA4B;IAC7L,mJAAmJ,EAAE,KAAK,CAAC,yBAAyB;IACpL,uJAAuJ,EAAE,KAAK,CAAC,2BAA2B;IAC1L,0JAA0J,EAAE,KAAK,CAAC,qBAAqB;IACvL,gRAAgR,EAAE,KAAK,CAAC,qBAAqB;IAC7S,6UAA6U,EAAE,KAAK,CAAC,wBAAwB;IAC7W,sSAAsS,EAAE,KAAK,CAAC,oBAAoB;IAClU,qTAAqT,EAAE,KAAK,CAAC,mBAAmB;IAChV,uKAAuK,EAAE,KAAK,CAAC,qBAAqB;IACpM,mLAAmL,EAAE,KAAK,CAAC,2BAA2B;IACtN,gLAAgL,EAAE,KAAK,CAAC,0BAA0B;IAClN,4GAA4G,EAAE,KAAK,CAAC,wBAAwB;IAC5I,qKAAqK,EAAE,KAAK,CAAC,yBAAyB;IACtM,uIAAuI,EAAE,KAAK,CAAC,+BAA+B;IAC9K,gPAAgP,EAAE,KAAK,CAAC,0BAA0B;IAClR,gIAAgI,EAAE,KAAK,CAAC,uBAAuB;IAC/J,8ZAA8Z,EAAE,KAAK,CAAC,mBAAmB;IACzb,8VAA8V,EAAE,KAAK,CAAC,wBAAwB;IAC9X,8QAA8Q,EAAE,KAAK,CAAC,sBAAsB;IAC5S,yRAAyR,EAAE,KAAK,CAAC,2BAA2B;IAC5T,8PAA8P,EAAE,KAAK,CAAC,4BAA4B;IAClS,oOAAoO,EAAE,KAAK,CAAC,yBAAyB;IACrQ,8NAA8N,EAAE,KAAK,CAAC,sBAAsB;IAC5P,gJAAgJ,EAAE,KAAK,CAAC,2BAA2B;IACnL,sUAAsU,EAAE,KAAK,CAAC,0BAA0B;IACxW,4UAA4U,EAAE,KAAK,CAAC,6BAA6B;IACjX,8KAA8K,EAAE,KAAK,CAAC,6BAA6B;IACnN,qNAAqN,EAAE,KAAK,CAAC,2BAA2B;IACxP,0VAA0V,EAAE,KAAK,CAAC,oBAAoB;IACtX,gWAAgW,EAAE,KAAK,CAAC,uBAAuB;IAC/X,kMAAkM,EAAE,KAAK,CAAC,uBAAuB;IACjO,oMAAoM,EAAE,KAAK,CAAC,wBAAwB;IACpO,yOAAyO,EAAE,KAAK,CAAC,qBAAqB;IACtQ,wxBAAwxB,EAAE,KAAK,CAAC,oBAAoB;IACpzB,wHAAwH,EAAE,KAAK,CAAC,oBAAoB;IACpJ,uFAAuF,EAAE,KAAK,CAAC,iBAAiB;IAChH,yHAAyH,EAAE,KAAK,CAAC,kBAAkB;IACnJ,gNAAgN,EAAE,KAAK,CAAC,mBAAmB;IAC3O,mGAAmG,EAAE,KAAK,CAAC,oBAAoB;IAC/H,oNAAoN,EAAE,KAAK,CAAC,oBAAoB;IAChP,8JAA8J,EAAE,KAAK,CAAC,qBAAqB;IAC3L,yMAAyM,EAAE,KAAK,CAAC,wBAAwB;IACzO,sIAAsI,EAAE,KAAK,CAAC,oBAAoB;IAClK,8HAA8H,EAAE,KAAK,CAAC,sBAAsB;IAC5J,uHAAuH,EAAE,KAAK,CAAC,uBAAuB;CACzJ,CAAC;AAoQF,MAAM,UAAU,OAAO,CAAC,MAAc;IACpC,OAAQ,SAAiB,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;AAC1C,CAAC","sourcesContent":["/* eslint-disable */\nimport * as types from './graphql.js';\n\n\n\n/**\n * Map of all GraphQL operations in the project.\n *\n * This map has several performance disadvantages:\n * 1. It is not tree-shakeable, so it will include all operations in the project.\n * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.\n * 3. It does not support dead code elimination, so it will add unused operations.\n *\n * Therefore it is highly recommended to use the babel or swc plugin for production.\n * Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size\n */\ntype Documents = {\n \"\\n fragment DeploymentFields on Deployment {\\n id\\n workspaceID\\n kind\\n runtime\\n alias\\n serviceMode\\n healthPath\\n cronSchedule\\n cronPath\\n url\\n previewUrl\\n sshCommand\\n aliasHeld\\n aliasRevision\\n status\\n error\\n filesCount\\n sizeBytes\\n size\\n spaMode\\n gitRepo\\n gitCommit\\n createdAt\\n }\\n\": typeof types.DeploymentFieldsFragmentDoc,\n \"\\n query SdkWhoami {\\n whoami {\\n kind\\n userID\\n name\\n agentID\\n agentName\\n claimed\\n claimedBy\\n scopes\\n expiresAt\\n usage {\\n month\\n requests\\n limit\\n }\\n resources {\\n workspaces\\n workspaceLimit\\n services\\n serviceLimit\\n }\\n }\\n }\\n\": typeof types.SdkWhoamiDocument,\n \"\\n mutation SdkCreateWorkspace($name: String!) {\\n createWorkspace(input: { name: $name }) {\\n workspace {\\n id\\n name\\n ownerId\\n projectId\\n createdAt\\n updatedAt\\n }\\n }\\n }\\n\": typeof types.SdkCreateWorkspaceDocument,\n \"\\n query SdkListWorkspaces {\\n workspaces {\\n id\\n name\\n ownerId\\n projectId\\n createdAt\\n updatedAt\\n }\\n }\\n\": typeof types.SdkListWorkspacesDocument,\n \"\\n mutation SdkDeleteWorkspace(\\n $workspaceID: ID!\\n $withDeployments: Boolean\\n $confirmAliases: [String!]\\n ) {\\n deleteWorkspace(\\n input: {\\n workspaceID: $workspaceID\\n withDeployments: $withDeployments\\n confirmAliases: $confirmAliases\\n }\\n ) {\\n ok\\n }\\n }\\n\": typeof types.SdkDeleteWorkspaceDocument,\n \"\\n query SdkWorkspaceLiveApps($id: ID!) {\\n workspace(id: $id) {\\n id\\n liveApps {\\n alias\\n deploymentID\\n domains\\n }\\n }\\n }\\n\": typeof types.SdkWorkspaceLiveAppsDocument,\n \"\\n mutation SdkDeleteApp($workspaceID: ID!, $alias: String!) {\\n deleteApp(input: { workspaceID: $workspaceID, alias: $alias }) {\\n ok\\n alias\\n deployments\\n domains\\n envEntries\\n skippedOnSync\\n otherApps\\n }\\n }\\n\": typeof types.SdkDeleteAppDocument,\n \"\\n mutation SdkWriteTextFile($workspaceID: ID!, $path: String!, $text: String!) {\\n writeWorkspaceTextFile(input: { workspaceID: $workspaceID, path: $path, text: $text }) {\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n }\\n\": typeof types.SdkWriteTextFileDocument,\n \"\\n mutation SdkWriteBase64File($workspaceID: ID!, $path: String!, $contentBase64: String!) {\\n writeWorkspaceBase64File(\\n input: { workspaceID: $workspaceID, path: $path, contentBase64: $contentBase64 }\\n ) {\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n }\\n\": typeof types.SdkWriteBase64FileDocument,\n \"\\n fragment FileCommitFields on FileCommit {\\n sha\\n branch\\n message\\n committed\\n waiting\\n waitingCount\\n deploys\\n conflicts\\n writeSHA\\n paused\\n }\\n\": typeof types.FileCommitFieldsFragmentDoc,\n \"\\n mutation SdkWriteFiles(\\n $workspaceID: ID!\\n $files: [WorkspaceFileWriteInput!]!\\n $commitMessage: String\\n ) {\\n writeWorkspaceFiles(\\n input: { workspaceID: $workspaceID, files: $files, commitMessage: $commitMessage }\\n ) {\\n workspaceID\\n written\\n failed\\n totalBytes\\n files {\\n path\\n ok\\n error\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n commit {\\n ...FileCommitFields\\n }\\n }\\n }\\n\": typeof types.SdkWriteFilesDocument,\n \"\\n query SdkAppCommits($workspaceID: ID!, $limit: Int, $before: String) {\\n appCommits(workspaceID: $workspaceID, limit: $limit, before: $before) {\\n branch\\n head\\n nextBefore\\n autoDeploy\\n waitingCommits\\n waitingSince\\n commits {\\n sha\\n message\\n authorName\\n authorEmail\\n authoredAt\\n filesChanged\\n deployedTo\\n }\\n deployed {\\n alias\\n sha\\n deploymentID\\n }\\n }\\n }\\n\": typeof types.SdkAppCommitsDocument,\n \"\\n query SdkAppCommitsWaiting($workspaceID: ID!) {\\n appCommits(workspaceID: $workspaceID, limit: 1) {\\n branch\\n head\\n waitingCommits\\n waitingSince\\n }\\n }\\n\": typeof types.SdkAppCommitsWaitingDocument,\n \"\\n query SdkWorkspaceGitSource($id: ID!) {\\n workspace(id: $id) {\\n id\\n gitSource {\\n branch\\n autoDeploy\\n deployAlias\\n lastImportedCommit\\n lastImportedAt\\n lastImportStatus\\n lastImportError\\n }\\n }\\n }\\n\": typeof types.SdkWorkspaceGitSourceDocument,\n \"\\n query SdkAppCommit($workspaceID: ID!, $sha: String!) {\\n appCommit(workspaceID: $workspaceID, sha: $sha) {\\n commit {\\n sha\\n message\\n authorName\\n authorEmail\\n authoredAt\\n filesChanged\\n deployedTo\\n }\\n files {\\n path\\n status\\n }\\n patch\\n truncated\\n additions\\n deletions\\n }\\n }\\n\": typeof types.SdkAppCommitDocument,\n \"\\n mutation SdkRestoreVersion(\\n $workspaceID: ID!\\n $sha: String!\\n $expectedHead: String\\n $message: String\\n ) {\\n restoreAppVersion(\\n input: { workspaceID: $workspaceID, sha: $sha, expectedHead: $expectedHead, message: $message }\\n ) {\\n sha\\n committed\\n deploys\\n message\\n branch\\n deployAlias\\n restoredFrom\\n parent\\n }\\n }\\n\": typeof types.SdkRestoreVersionDocument,\n \"\\n fragment AppErrorGroupFields on AppErrorGroup {\\n id\\n title\\n type\\n culprit\\n level\\n status\\n count\\n storedEvents\\n firstSeen\\n lastSeen\\n firstDeploymentID\\n firstGitCommit\\n lastDeploymentID\\n lastGitCommit\\n resolvedInDeploymentID\\n resolvedAt\\n mutedAt\\n regressedAt\\n }\\n\": typeof types.AppErrorGroupFieldsFragmentDoc,\n \"\\n query SdkAppErrors(\\n $workspaceID: ID!\\n $alias: String!\\n $status: String\\n $limit: Int\\n $cursor: String\\n ) {\\n appErrors(\\n workspaceID: $workspaceID\\n alias: $alias\\n status: $status\\n limit: $limit\\n cursor: $cursor\\n ) {\\n groups {\\n ...AppErrorGroupFields\\n }\\n nextCursor\\n note\\n }\\n }\\n\": typeof types.SdkAppErrorsDocument,\n \"\\n query SdkAppErrorGroup($workspaceID: ID!, $alias: String!, $groupID: ID!) {\\n appErrorGroup(workspaceID: $workspaceID, alias: $alias, groupID: $groupID) {\\n group {\\n ...AppErrorGroupFields\\n }\\n latestEvent\\n firstEvent {\\n eventID\\n at\\n deploymentID\\n level\\n }\\n recentEvents {\\n eventID\\n at\\n deploymentID\\n level\\n }\\n deployments {\\n deploymentID\\n gitCommit\\n current\\n count\\n firstSeen\\n lastSeen\\n }\\n fatal\\n vmID\\n }\\n }\\n\": typeof types.SdkAppErrorGroupDocument,\n \"\\n mutation SdkResolveErrorGroup($input: AppErrorGroupInput!) {\\n resolveAppErrorGroup(input: $input) {\\n ...AppErrorGroupFields\\n }\\n }\\n\": typeof types.SdkResolveErrorGroupDocument,\n \"\\n mutation SdkMuteErrorGroup($input: AppErrorGroupInput!) {\\n muteAppErrorGroup(input: $input) {\\n ...AppErrorGroupFields\\n }\\n }\\n\": typeof types.SdkMuteErrorGroupDocument,\n \"\\n mutation SdkReopenErrorGroup($input: AppErrorGroupInput!) {\\n reopenAppErrorGroup(input: $input) {\\n ...AppErrorGroupFields\\n }\\n }\\n\": typeof types.SdkReopenErrorGroupDocument,\n \"\\n query SdkEventTypes {\\n platformEventTypes {\\n name\\n description\\n delivery\\n inputSchema\\n payloadSchema\\n }\\n }\\n\": typeof types.SdkEventTypesDocument,\n \"\\n query SdkPollEvents($input: PlatformEventsInput) {\\n pollEvents(input: $input) {\\n cursor\\n truncated\\n hasMore\\n nextPollMs\\n timedOut\\n events {\\n eventID\\n name\\n timestamp\\n data\\n }\\n }\\n }\\n\": typeof types.SdkPollEventsDocument,\n \"\\n query SdkWaitForEvents($input: PlatformEventsInput, $timeoutSeconds: Int) {\\n waitForEvents(input: $input, timeoutSeconds: $timeoutSeconds) {\\n cursor\\n truncated\\n hasMore\\n nextPollMs\\n timedOut\\n events {\\n eventID\\n name\\n timestamp\\n data\\n }\\n }\\n }\\n\": typeof types.SdkWaitForEventsDocument,\n \"\\n query SdkListFiles($input: ListWorkspaceFilesInput!) {\\n workspaceFilesPage(input: $input) {\\n items {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n total\\n limit\\n offset\\n hasMore\\n nextOffset\\n }\\n }\\n\": typeof types.SdkListFilesDocument,\n \"\\n query SdkReadFile($input: ReadWorkspaceFileInput!) {\\n readWorkspaceFile(input: $input) {\\n text\\n offset\\n limit\\n totalBytes\\n truncated\\n nextOffset\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n }\\n\": typeof types.SdkReadFileDocument,\n \"\\n mutation SdkDeleteFile($workspaceID: ID!, $path: String!) {\\n deleteWorkspaceFile(input: { workspaceID: $workspaceID, path: $path }) {\\n ok\\n }\\n }\\n\": typeof types.SdkDeleteFileDocument,\n \"\\n mutation SdkCreateDeployment($input: CreateDeploymentInput!) {\\n createDeployment(input: $input) {\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\": typeof types.SdkCreateDeploymentDocument,\n \"\\n mutation SdkDeployWorkspace($input: DeployWorkspaceInput!) {\\n deployWorkspace(input: $input) {\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\": typeof types.SdkDeployWorkspaceDocument,\n \"\\n query SdkGetDeployment($id: ID!) {\\n deployment(id: $id) {\\n ...DeploymentFields\\n }\\n }\\n\": typeof types.SdkGetDeploymentDocument,\n \"\\n query SdkPollDeployment($id: ID!) {\\n deployment(id: $id) {\\n id\\n status\\n error\\n aliasHeld\\n url\\n previewUrl\\n }\\n }\\n\": typeof types.SdkPollDeploymentDocument,\n \"\\n query SdkGetDeploymentByAlias($alias: String!) {\\n deploymentByAlias(alias: $alias) {\\n ...DeploymentFields\\n }\\n }\\n\": typeof types.SdkGetDeploymentByAliasDocument,\n \"\\n query SdkListDeployments($input: ListDeploymentsInput) {\\n deploymentsPage(input: $input) {\\n items {\\n ...DeploymentFields\\n }\\n total\\n limit\\n offset\\n hasMore\\n nextOffset\\n }\\n }\\n\": typeof types.SdkListDeploymentsDocument,\n \"\\n query SdkListReleases($alias: String!) {\\n deploymentReleases(alias: $alias) {\\n ...DeploymentFields\\n }\\n }\\n\": typeof types.SdkListReleasesDocument,\n \"\\n mutation SdkRollback(\\n $deploymentID: ID!\\n $expectedCurrentDeploymentID: ID!\\n $expectedCurrentAliasRevision: String!\\n ) {\\n rollbackDeployment(\\n input: {\\n deploymentID: $deploymentID\\n expectedCurrentDeploymentID: $expectedCurrentDeploymentID\\n expectedCurrentAliasRevision: $expectedCurrentAliasRevision\\n }\\n ) {\\n ...DeploymentFields\\n }\\n }\\n\": typeof types.SdkRollbackDocument,\n \"\\n query SdkServiceStatus($deploymentID: ID!) {\\n serviceStatus(deploymentID: $deploymentID) {\\n deploymentID\\n alias\\n serviceMode\\n running\\n health\\n vmID\\n inFlight\\n alwaysOn\\n memSizeMiB\\n startedAt\\n lastUsedAt\\n lastStoppedAt\\n restartCount\\n lastError\\n }\\n }\\n\": typeof types.SdkServiceStatusDocument,\n \"\\n query SdkServiceLogs($deploymentID: ID!, $tailBytes: Int) {\\n serviceLogs(deploymentID: $deploymentID, tailBytes: $tailBytes) {\\n deploymentID\\n stdout\\n stderr\\n truncated\\n stdoutBytes\\n stderrBytes\\n tailBytes\\n }\\n }\\n\": typeof types.SdkServiceLogsDocument,\n \"\\n query SdkDeploymentEvents($deploymentID: ID!, $limit: Int) {\\n deploymentEvents(deploymentID: $deploymentID, limit: $limit) {\\n id\\n deploymentID\\n type\\n rawType\\n severity\\n message\\n vmID\\n metadata\\n createdAt\\n }\\n }\\n\": typeof types.SdkDeploymentEventsDocument,\n \"\\n query SdkWaitForDeployment($id: ID!, $timeoutSeconds: Int) {\\n waitForDeployment(id: $id, timeoutSeconds: $timeoutSeconds) {\\n timedOut\\n waitedMs\\n placement\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\": typeof types.SdkWaitForDeploymentDocument,\n \"\\n mutation SdkRestartService($deploymentID: ID!) {\\n restartService(input: { deploymentID: $deploymentID }) {\\n deploymentID\\n running\\n health\\n vmID\\n restartCount\\n lastError\\n }\\n }\\n\": typeof types.SdkRestartServiceDocument,\n \"\\n mutation SdkStopService($deploymentID: ID!) {\\n stopService(input: { deploymentID: $deploymentID }) {\\n deploymentID\\n running\\n health\\n vmID\\n restartCount\\n lastError\\n }\\n }\\n\": typeof types.SdkStopServiceDocument,\n \"\\n mutation SdkDeleteDeployment($deploymentID: ID!) {\\n deleteDeployment(input: { deploymentID: $deploymentID }) {\\n ok\\n }\\n }\\n\": typeof types.SdkDeleteDeploymentDocument,\n \"\\n mutation SdkSetWorkspaceEnv($workspaceID: ID!, $name: String!, $value: String!) {\\n setWorkspaceEnv(input: { workspaceID: $workspaceID, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\": typeof types.SdkSetWorkspaceEnvDocument,\n \"\\n mutation SdkSetWorkspaceSecret($workspaceID: ID!, $name: String!, $value: String!) {\\n setWorkspaceSecret(input: { workspaceID: $workspaceID, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\": typeof types.SdkSetWorkspaceSecretDocument,\n \"\\n mutation SdkDeleteWorkspaceEnv($workspaceID: ID!, $name: String!) {\\n deleteWorkspaceEnv(input: { workspaceID: $workspaceID, name: $name }) {\\n ok\\n }\\n }\\n\": typeof types.SdkDeleteWorkspaceEnvDocument,\n \"\\n query SdkListWorkspaceEnv($workspaceID: ID!) {\\n workspaceEnv(workspaceID: $workspaceID) {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n\": typeof types.SdkListWorkspaceEnvDocument,\n \"\\n mutation SdkSetAppEnv($workspaceID: ID!, $alias: String!, $name: String!, $value: String!) {\\n setAppEnv(input: { workspaceID: $workspaceID, alias: $alias, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\": typeof types.SdkSetAppEnvDocument,\n \"\\n mutation SdkSetAppSecret($workspaceID: ID!, $alias: String!, $name: String!, $value: String!) {\\n setAppSecret(input: { workspaceID: $workspaceID, alias: $alias, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\": typeof types.SdkSetAppSecretDocument,\n \"\\n mutation SdkRemoveAppEnv($workspaceID: ID!, $alias: String!, $name: String!) {\\n removeAppEnv(input: { workspaceID: $workspaceID, alias: $alias, name: $name }) {\\n ok\\n }\\n }\\n\": typeof types.SdkRemoveAppEnvDocument,\n \"\\n mutation SdkInheritAppEnv($workspaceID: ID!, $alias: String!, $name: String!) {\\n inheritAppEnv(input: { workspaceID: $workspaceID, alias: $alias, name: $name }) {\\n ok\\n }\\n }\\n\": typeof types.SdkInheritAppEnvDocument,\n \"\\n query SdkListAppEnv($workspaceID: ID!, $alias: String!) {\\n appEnv(workspaceID: $workspaceID, alias: $alias) {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n\": typeof types.SdkListAppEnvDocument,\n \"\\n fragment RunFields on Run {\\n id\\n workspaceID\\n ownerId\\n status\\n rawStatus\\n command\\n harness\\n prompt\\n setup\\n skills\\n verify\\n approval\\n mode\\n access\\n alias\\n integrations {\\n kind\\n bindingID\\n env\\n skills\\n mcpServers {\\n name\\n transport\\n readOnly\\n }\\n }\\n parentRunID\\n depth\\n question {\\n id\\n text\\n options\\n askedAt\\n }\\n memoryMiB\\n maxSeconds\\n metadata\\n error\\n exitCode\\n result {\\n status\\n detail\\n text\\n }\\n verifyExitCode\\n vmID\\n transcriptAvailable\\n usage {\\n vmSeconds\\n memoryMiB\\n mibSeconds\\n }\\n createdAt\\n startedAt\\n settledAt\\n }\\n\": typeof types.RunFieldsFragmentDoc,\n \"\\n mutation SdkCreateRun($input: CreateRunInput!) {\\n createRun(input: $input) {\\n ...RunFields\\n }\\n }\\n\": typeof types.SdkCreateRunDocument,\n \"\\n query SdkGetRun($id: ID!) {\\n run(id: $id) {\\n ...RunFields\\n }\\n }\\n\": typeof types.SdkGetRunDocument,\n \"\\n query SdkPollRun($id: ID!) {\\n run(id: $id) {\\n id\\n status\\n error\\n exitCode\\n }\\n }\\n\": typeof types.SdkPollRunDocument,\n \"\\n query SdkListRuns($input: ListRunsInput) {\\n runs(input: $input) {\\n items {\\n ...RunFields\\n }\\n total\\n limit\\n offset\\n hasMore\\n nextOffset\\n }\\n }\\n\": typeof types.SdkListRunsDocument,\n \"\\n mutation SdkCancelRun($id: ID!) {\\n cancelRun(id: $id) {\\n ...RunFields\\n }\\n }\\n\": typeof types.SdkCancelRunDocument,\n \"\\n query SdkRunEvents($runID: ID!, $limit: Int) {\\n runEvents(runID: $runID, limit: $limit) {\\n id\\n runID\\n type\\n severity\\n message\\n metadata\\n createdAt\\n }\\n }\\n\": typeof types.SdkRunEventsDocument,\n \"\\n query SdkRunConsole($id: ID!, $tailBytes: Int) {\\n runConsole(id: $id, tailBytes: $tailBytes) {\\n runID\\n running\\n text\\n }\\n }\\n\": typeof types.SdkRunConsoleDocument,\n \"\\n query SdkRunTranscript($id: ID!, $tailBytes: Int) {\\n runTranscript(id: $id, tailBytes: $tailBytes) {\\n runID\\n available\\n text\\n totalBytes\\n truncated\\n }\\n }\\n\": typeof types.SdkRunTranscriptDocument,\n \"\\n mutation SdkAnswerRun($id: ID!, $answer: String!) {\\n answerRun(id: $id, answer: $answer) {\\n ...RunFields\\n }\\n }\\n\": typeof types.SdkAnswerRunDocument,\n \"\\n mutation SdkFollowUpRun($input: FollowUpRunInput!) {\\n followUpRun(input: $input) {\\n ...RunFields\\n }\\n }\\n\": typeof types.SdkFollowUpRunDocument,\n \"\\n query SdkRunHarnesses {\\n runHarnesses {\\n name\\n title\\n summary\\n requires\\n }\\n }\\n\": typeof types.SdkRunHarnessesDocument,\n};\nconst documents: Documents = {\n \"\\n fragment DeploymentFields on Deployment {\\n id\\n workspaceID\\n kind\\n runtime\\n alias\\n serviceMode\\n healthPath\\n cronSchedule\\n cronPath\\n url\\n previewUrl\\n sshCommand\\n aliasHeld\\n aliasRevision\\n status\\n error\\n filesCount\\n sizeBytes\\n size\\n spaMode\\n gitRepo\\n gitCommit\\n createdAt\\n }\\n\": types.DeploymentFieldsFragmentDoc,\n \"\\n query SdkWhoami {\\n whoami {\\n kind\\n userID\\n name\\n agentID\\n agentName\\n claimed\\n claimedBy\\n scopes\\n expiresAt\\n usage {\\n month\\n requests\\n limit\\n }\\n resources {\\n workspaces\\n workspaceLimit\\n services\\n serviceLimit\\n }\\n }\\n }\\n\": types.SdkWhoamiDocument,\n \"\\n mutation SdkCreateWorkspace($name: String!) {\\n createWorkspace(input: { name: $name }) {\\n workspace {\\n id\\n name\\n ownerId\\n projectId\\n createdAt\\n updatedAt\\n }\\n }\\n }\\n\": types.SdkCreateWorkspaceDocument,\n \"\\n query SdkListWorkspaces {\\n workspaces {\\n id\\n name\\n ownerId\\n projectId\\n createdAt\\n updatedAt\\n }\\n }\\n\": types.SdkListWorkspacesDocument,\n \"\\n mutation SdkDeleteWorkspace(\\n $workspaceID: ID!\\n $withDeployments: Boolean\\n $confirmAliases: [String!]\\n ) {\\n deleteWorkspace(\\n input: {\\n workspaceID: $workspaceID\\n withDeployments: $withDeployments\\n confirmAliases: $confirmAliases\\n }\\n ) {\\n ok\\n }\\n }\\n\": types.SdkDeleteWorkspaceDocument,\n \"\\n query SdkWorkspaceLiveApps($id: ID!) {\\n workspace(id: $id) {\\n id\\n liveApps {\\n alias\\n deploymentID\\n domains\\n }\\n }\\n }\\n\": types.SdkWorkspaceLiveAppsDocument,\n \"\\n mutation SdkDeleteApp($workspaceID: ID!, $alias: String!) {\\n deleteApp(input: { workspaceID: $workspaceID, alias: $alias }) {\\n ok\\n alias\\n deployments\\n domains\\n envEntries\\n skippedOnSync\\n otherApps\\n }\\n }\\n\": types.SdkDeleteAppDocument,\n \"\\n mutation SdkWriteTextFile($workspaceID: ID!, $path: String!, $text: String!) {\\n writeWorkspaceTextFile(input: { workspaceID: $workspaceID, path: $path, text: $text }) {\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n }\\n\": types.SdkWriteTextFileDocument,\n \"\\n mutation SdkWriteBase64File($workspaceID: ID!, $path: String!, $contentBase64: String!) {\\n writeWorkspaceBase64File(\\n input: { workspaceID: $workspaceID, path: $path, contentBase64: $contentBase64 }\\n ) {\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n }\\n\": types.SdkWriteBase64FileDocument,\n \"\\n fragment FileCommitFields on FileCommit {\\n sha\\n branch\\n message\\n committed\\n waiting\\n waitingCount\\n deploys\\n conflicts\\n writeSHA\\n paused\\n }\\n\": types.FileCommitFieldsFragmentDoc,\n \"\\n mutation SdkWriteFiles(\\n $workspaceID: ID!\\n $files: [WorkspaceFileWriteInput!]!\\n $commitMessage: String\\n ) {\\n writeWorkspaceFiles(\\n input: { workspaceID: $workspaceID, files: $files, commitMessage: $commitMessage }\\n ) {\\n workspaceID\\n written\\n failed\\n totalBytes\\n files {\\n path\\n ok\\n error\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n commit {\\n ...FileCommitFields\\n }\\n }\\n }\\n\": types.SdkWriteFilesDocument,\n \"\\n query SdkAppCommits($workspaceID: ID!, $limit: Int, $before: String) {\\n appCommits(workspaceID: $workspaceID, limit: $limit, before: $before) {\\n branch\\n head\\n nextBefore\\n autoDeploy\\n waitingCommits\\n waitingSince\\n commits {\\n sha\\n message\\n authorName\\n authorEmail\\n authoredAt\\n filesChanged\\n deployedTo\\n }\\n deployed {\\n alias\\n sha\\n deploymentID\\n }\\n }\\n }\\n\": types.SdkAppCommitsDocument,\n \"\\n query SdkAppCommitsWaiting($workspaceID: ID!) {\\n appCommits(workspaceID: $workspaceID, limit: 1) {\\n branch\\n head\\n waitingCommits\\n waitingSince\\n }\\n }\\n\": types.SdkAppCommitsWaitingDocument,\n \"\\n query SdkWorkspaceGitSource($id: ID!) {\\n workspace(id: $id) {\\n id\\n gitSource {\\n branch\\n autoDeploy\\n deployAlias\\n lastImportedCommit\\n lastImportedAt\\n lastImportStatus\\n lastImportError\\n }\\n }\\n }\\n\": types.SdkWorkspaceGitSourceDocument,\n \"\\n query SdkAppCommit($workspaceID: ID!, $sha: String!) {\\n appCommit(workspaceID: $workspaceID, sha: $sha) {\\n commit {\\n sha\\n message\\n authorName\\n authorEmail\\n authoredAt\\n filesChanged\\n deployedTo\\n }\\n files {\\n path\\n status\\n }\\n patch\\n truncated\\n additions\\n deletions\\n }\\n }\\n\": types.SdkAppCommitDocument,\n \"\\n mutation SdkRestoreVersion(\\n $workspaceID: ID!\\n $sha: String!\\n $expectedHead: String\\n $message: String\\n ) {\\n restoreAppVersion(\\n input: { workspaceID: $workspaceID, sha: $sha, expectedHead: $expectedHead, message: $message }\\n ) {\\n sha\\n committed\\n deploys\\n message\\n branch\\n deployAlias\\n restoredFrom\\n parent\\n }\\n }\\n\": types.SdkRestoreVersionDocument,\n \"\\n fragment AppErrorGroupFields on AppErrorGroup {\\n id\\n title\\n type\\n culprit\\n level\\n status\\n count\\n storedEvents\\n firstSeen\\n lastSeen\\n firstDeploymentID\\n firstGitCommit\\n lastDeploymentID\\n lastGitCommit\\n resolvedInDeploymentID\\n resolvedAt\\n mutedAt\\n regressedAt\\n }\\n\": types.AppErrorGroupFieldsFragmentDoc,\n \"\\n query SdkAppErrors(\\n $workspaceID: ID!\\n $alias: String!\\n $status: String\\n $limit: Int\\n $cursor: String\\n ) {\\n appErrors(\\n workspaceID: $workspaceID\\n alias: $alias\\n status: $status\\n limit: $limit\\n cursor: $cursor\\n ) {\\n groups {\\n ...AppErrorGroupFields\\n }\\n nextCursor\\n note\\n }\\n }\\n\": types.SdkAppErrorsDocument,\n \"\\n query SdkAppErrorGroup($workspaceID: ID!, $alias: String!, $groupID: ID!) {\\n appErrorGroup(workspaceID: $workspaceID, alias: $alias, groupID: $groupID) {\\n group {\\n ...AppErrorGroupFields\\n }\\n latestEvent\\n firstEvent {\\n eventID\\n at\\n deploymentID\\n level\\n }\\n recentEvents {\\n eventID\\n at\\n deploymentID\\n level\\n }\\n deployments {\\n deploymentID\\n gitCommit\\n current\\n count\\n firstSeen\\n lastSeen\\n }\\n fatal\\n vmID\\n }\\n }\\n\": types.SdkAppErrorGroupDocument,\n \"\\n mutation SdkResolveErrorGroup($input: AppErrorGroupInput!) {\\n resolveAppErrorGroup(input: $input) {\\n ...AppErrorGroupFields\\n }\\n }\\n\": types.SdkResolveErrorGroupDocument,\n \"\\n mutation SdkMuteErrorGroup($input: AppErrorGroupInput!) {\\n muteAppErrorGroup(input: $input) {\\n ...AppErrorGroupFields\\n }\\n }\\n\": types.SdkMuteErrorGroupDocument,\n \"\\n mutation SdkReopenErrorGroup($input: AppErrorGroupInput!) {\\n reopenAppErrorGroup(input: $input) {\\n ...AppErrorGroupFields\\n }\\n }\\n\": types.SdkReopenErrorGroupDocument,\n \"\\n query SdkEventTypes {\\n platformEventTypes {\\n name\\n description\\n delivery\\n inputSchema\\n payloadSchema\\n }\\n }\\n\": types.SdkEventTypesDocument,\n \"\\n query SdkPollEvents($input: PlatformEventsInput) {\\n pollEvents(input: $input) {\\n cursor\\n truncated\\n hasMore\\n nextPollMs\\n timedOut\\n events {\\n eventID\\n name\\n timestamp\\n data\\n }\\n }\\n }\\n\": types.SdkPollEventsDocument,\n \"\\n query SdkWaitForEvents($input: PlatformEventsInput, $timeoutSeconds: Int) {\\n waitForEvents(input: $input, timeoutSeconds: $timeoutSeconds) {\\n cursor\\n truncated\\n hasMore\\n nextPollMs\\n timedOut\\n events {\\n eventID\\n name\\n timestamp\\n data\\n }\\n }\\n }\\n\": types.SdkWaitForEventsDocument,\n \"\\n query SdkListFiles($input: ListWorkspaceFilesInput!) {\\n workspaceFilesPage(input: $input) {\\n items {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n total\\n limit\\n offset\\n hasMore\\n nextOffset\\n }\\n }\\n\": types.SdkListFilesDocument,\n \"\\n query SdkReadFile($input: ReadWorkspaceFileInput!) {\\n readWorkspaceFile(input: $input) {\\n text\\n offset\\n limit\\n totalBytes\\n truncated\\n nextOffset\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n }\\n\": types.SdkReadFileDocument,\n \"\\n mutation SdkDeleteFile($workspaceID: ID!, $path: String!) {\\n deleteWorkspaceFile(input: { workspaceID: $workspaceID, path: $path }) {\\n ok\\n }\\n }\\n\": types.SdkDeleteFileDocument,\n \"\\n mutation SdkCreateDeployment($input: CreateDeploymentInput!) {\\n createDeployment(input: $input) {\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\": types.SdkCreateDeploymentDocument,\n \"\\n mutation SdkDeployWorkspace($input: DeployWorkspaceInput!) {\\n deployWorkspace(input: $input) {\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\": types.SdkDeployWorkspaceDocument,\n \"\\n query SdkGetDeployment($id: ID!) {\\n deployment(id: $id) {\\n ...DeploymentFields\\n }\\n }\\n\": types.SdkGetDeploymentDocument,\n \"\\n query SdkPollDeployment($id: ID!) {\\n deployment(id: $id) {\\n id\\n status\\n error\\n aliasHeld\\n url\\n previewUrl\\n }\\n }\\n\": types.SdkPollDeploymentDocument,\n \"\\n query SdkGetDeploymentByAlias($alias: String!) {\\n deploymentByAlias(alias: $alias) {\\n ...DeploymentFields\\n }\\n }\\n\": types.SdkGetDeploymentByAliasDocument,\n \"\\n query SdkListDeployments($input: ListDeploymentsInput) {\\n deploymentsPage(input: $input) {\\n items {\\n ...DeploymentFields\\n }\\n total\\n limit\\n offset\\n hasMore\\n nextOffset\\n }\\n }\\n\": types.SdkListDeploymentsDocument,\n \"\\n query SdkListReleases($alias: String!) {\\n deploymentReleases(alias: $alias) {\\n ...DeploymentFields\\n }\\n }\\n\": types.SdkListReleasesDocument,\n \"\\n mutation SdkRollback(\\n $deploymentID: ID!\\n $expectedCurrentDeploymentID: ID!\\n $expectedCurrentAliasRevision: String!\\n ) {\\n rollbackDeployment(\\n input: {\\n deploymentID: $deploymentID\\n expectedCurrentDeploymentID: $expectedCurrentDeploymentID\\n expectedCurrentAliasRevision: $expectedCurrentAliasRevision\\n }\\n ) {\\n ...DeploymentFields\\n }\\n }\\n\": types.SdkRollbackDocument,\n \"\\n query SdkServiceStatus($deploymentID: ID!) {\\n serviceStatus(deploymentID: $deploymentID) {\\n deploymentID\\n alias\\n serviceMode\\n running\\n health\\n vmID\\n inFlight\\n alwaysOn\\n memSizeMiB\\n startedAt\\n lastUsedAt\\n lastStoppedAt\\n restartCount\\n lastError\\n }\\n }\\n\": types.SdkServiceStatusDocument,\n \"\\n query SdkServiceLogs($deploymentID: ID!, $tailBytes: Int) {\\n serviceLogs(deploymentID: $deploymentID, tailBytes: $tailBytes) {\\n deploymentID\\n stdout\\n stderr\\n truncated\\n stdoutBytes\\n stderrBytes\\n tailBytes\\n }\\n }\\n\": types.SdkServiceLogsDocument,\n \"\\n query SdkDeploymentEvents($deploymentID: ID!, $limit: Int) {\\n deploymentEvents(deploymentID: $deploymentID, limit: $limit) {\\n id\\n deploymentID\\n type\\n rawType\\n severity\\n message\\n vmID\\n metadata\\n createdAt\\n }\\n }\\n\": types.SdkDeploymentEventsDocument,\n \"\\n query SdkWaitForDeployment($id: ID!, $timeoutSeconds: Int) {\\n waitForDeployment(id: $id, timeoutSeconds: $timeoutSeconds) {\\n timedOut\\n waitedMs\\n placement\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\": types.SdkWaitForDeploymentDocument,\n \"\\n mutation SdkRestartService($deploymentID: ID!) {\\n restartService(input: { deploymentID: $deploymentID }) {\\n deploymentID\\n running\\n health\\n vmID\\n restartCount\\n lastError\\n }\\n }\\n\": types.SdkRestartServiceDocument,\n \"\\n mutation SdkStopService($deploymentID: ID!) {\\n stopService(input: { deploymentID: $deploymentID }) {\\n deploymentID\\n running\\n health\\n vmID\\n restartCount\\n lastError\\n }\\n }\\n\": types.SdkStopServiceDocument,\n \"\\n mutation SdkDeleteDeployment($deploymentID: ID!) {\\n deleteDeployment(input: { deploymentID: $deploymentID }) {\\n ok\\n }\\n }\\n\": types.SdkDeleteDeploymentDocument,\n \"\\n mutation SdkSetWorkspaceEnv($workspaceID: ID!, $name: String!, $value: String!) {\\n setWorkspaceEnv(input: { workspaceID: $workspaceID, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\": types.SdkSetWorkspaceEnvDocument,\n \"\\n mutation SdkSetWorkspaceSecret($workspaceID: ID!, $name: String!, $value: String!) {\\n setWorkspaceSecret(input: { workspaceID: $workspaceID, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\": types.SdkSetWorkspaceSecretDocument,\n \"\\n mutation SdkDeleteWorkspaceEnv($workspaceID: ID!, $name: String!) {\\n deleteWorkspaceEnv(input: { workspaceID: $workspaceID, name: $name }) {\\n ok\\n }\\n }\\n\": types.SdkDeleteWorkspaceEnvDocument,\n \"\\n query SdkListWorkspaceEnv($workspaceID: ID!) {\\n workspaceEnv(workspaceID: $workspaceID) {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n\": types.SdkListWorkspaceEnvDocument,\n \"\\n mutation SdkSetAppEnv($workspaceID: ID!, $alias: String!, $name: String!, $value: String!) {\\n setAppEnv(input: { workspaceID: $workspaceID, alias: $alias, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\": types.SdkSetAppEnvDocument,\n \"\\n mutation SdkSetAppSecret($workspaceID: ID!, $alias: String!, $name: String!, $value: String!) {\\n setAppSecret(input: { workspaceID: $workspaceID, alias: $alias, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\": types.SdkSetAppSecretDocument,\n \"\\n mutation SdkRemoveAppEnv($workspaceID: ID!, $alias: String!, $name: String!) {\\n removeAppEnv(input: { workspaceID: $workspaceID, alias: $alias, name: $name }) {\\n ok\\n }\\n }\\n\": types.SdkRemoveAppEnvDocument,\n \"\\n mutation SdkInheritAppEnv($workspaceID: ID!, $alias: String!, $name: String!) {\\n inheritAppEnv(input: { workspaceID: $workspaceID, alias: $alias, name: $name }) {\\n ok\\n }\\n }\\n\": types.SdkInheritAppEnvDocument,\n \"\\n query SdkListAppEnv($workspaceID: ID!, $alias: String!) {\\n appEnv(workspaceID: $workspaceID, alias: $alias) {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n\": types.SdkListAppEnvDocument,\n \"\\n fragment RunFields on Run {\\n id\\n workspaceID\\n ownerId\\n status\\n rawStatus\\n command\\n harness\\n prompt\\n setup\\n skills\\n verify\\n approval\\n mode\\n access\\n alias\\n integrations {\\n kind\\n bindingID\\n env\\n skills\\n mcpServers {\\n name\\n transport\\n readOnly\\n }\\n }\\n parentRunID\\n depth\\n question {\\n id\\n text\\n options\\n askedAt\\n }\\n memoryMiB\\n maxSeconds\\n metadata\\n error\\n exitCode\\n result {\\n status\\n detail\\n text\\n }\\n verifyExitCode\\n vmID\\n transcriptAvailable\\n usage {\\n vmSeconds\\n memoryMiB\\n mibSeconds\\n }\\n createdAt\\n startedAt\\n settledAt\\n }\\n\": types.RunFieldsFragmentDoc,\n \"\\n mutation SdkCreateRun($input: CreateRunInput!) {\\n createRun(input: $input) {\\n ...RunFields\\n }\\n }\\n\": types.SdkCreateRunDocument,\n \"\\n query SdkGetRun($id: ID!) {\\n run(id: $id) {\\n ...RunFields\\n }\\n }\\n\": types.SdkGetRunDocument,\n \"\\n query SdkPollRun($id: ID!) {\\n run(id: $id) {\\n id\\n status\\n error\\n exitCode\\n }\\n }\\n\": types.SdkPollRunDocument,\n \"\\n query SdkListRuns($input: ListRunsInput) {\\n runs(input: $input) {\\n items {\\n ...RunFields\\n }\\n total\\n limit\\n offset\\n hasMore\\n nextOffset\\n }\\n }\\n\": types.SdkListRunsDocument,\n \"\\n mutation SdkCancelRun($id: ID!) {\\n cancelRun(id: $id) {\\n ...RunFields\\n }\\n }\\n\": types.SdkCancelRunDocument,\n \"\\n query SdkRunEvents($runID: ID!, $limit: Int) {\\n runEvents(runID: $runID, limit: $limit) {\\n id\\n runID\\n type\\n severity\\n message\\n metadata\\n createdAt\\n }\\n }\\n\": types.SdkRunEventsDocument,\n \"\\n query SdkRunConsole($id: ID!, $tailBytes: Int) {\\n runConsole(id: $id, tailBytes: $tailBytes) {\\n runID\\n running\\n text\\n }\\n }\\n\": types.SdkRunConsoleDocument,\n \"\\n query SdkRunTranscript($id: ID!, $tailBytes: Int) {\\n runTranscript(id: $id, tailBytes: $tailBytes) {\\n runID\\n available\\n text\\n totalBytes\\n truncated\\n }\\n }\\n\": types.SdkRunTranscriptDocument,\n \"\\n mutation SdkAnswerRun($id: ID!, $answer: String!) {\\n answerRun(id: $id, answer: $answer) {\\n ...RunFields\\n }\\n }\\n\": types.SdkAnswerRunDocument,\n \"\\n mutation SdkFollowUpRun($input: FollowUpRunInput!) {\\n followUpRun(input: $input) {\\n ...RunFields\\n }\\n }\\n\": types.SdkFollowUpRunDocument,\n \"\\n query SdkRunHarnesses {\\n runHarnesses {\\n name\\n title\\n summary\\n requires\\n }\\n }\\n\": types.SdkRunHarnessesDocument,\n};\n\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n fragment DeploymentFields on Deployment {\\n id\\n workspaceID\\n kind\\n runtime\\n alias\\n serviceMode\\n healthPath\\n cronSchedule\\n cronPath\\n url\\n previewUrl\\n sshCommand\\n aliasHeld\\n aliasRevision\\n status\\n error\\n filesCount\\n sizeBytes\\n size\\n spaMode\\n gitRepo\\n gitCommit\\n createdAt\\n }\\n\"): typeof import('./graphql.js').DeploymentFieldsFragmentDoc;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkWhoami {\\n whoami {\\n kind\\n userID\\n name\\n agentID\\n agentName\\n claimed\\n claimedBy\\n scopes\\n expiresAt\\n usage {\\n month\\n requests\\n limit\\n }\\n resources {\\n workspaces\\n workspaceLimit\\n services\\n serviceLimit\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkWhoamiDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkCreateWorkspace($name: String!) {\\n createWorkspace(input: { name: $name }) {\\n workspace {\\n id\\n name\\n ownerId\\n projectId\\n createdAt\\n updatedAt\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkCreateWorkspaceDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkListWorkspaces {\\n workspaces {\\n id\\n name\\n ownerId\\n projectId\\n createdAt\\n updatedAt\\n }\\n }\\n\"): typeof import('./graphql.js').SdkListWorkspacesDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkDeleteWorkspace(\\n $workspaceID: ID!\\n $withDeployments: Boolean\\n $confirmAliases: [String!]\\n ) {\\n deleteWorkspace(\\n input: {\\n workspaceID: $workspaceID\\n withDeployments: $withDeployments\\n confirmAliases: $confirmAliases\\n }\\n ) {\\n ok\\n }\\n }\\n\"): typeof import('./graphql.js').SdkDeleteWorkspaceDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkWorkspaceLiveApps($id: ID!) {\\n workspace(id: $id) {\\n id\\n liveApps {\\n alias\\n deploymentID\\n domains\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkWorkspaceLiveAppsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkDeleteApp($workspaceID: ID!, $alias: String!) {\\n deleteApp(input: { workspaceID: $workspaceID, alias: $alias }) {\\n ok\\n alias\\n deployments\\n domains\\n envEntries\\n skippedOnSync\\n otherApps\\n }\\n }\\n\"): typeof import('./graphql.js').SdkDeleteAppDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkWriteTextFile($workspaceID: ID!, $path: String!, $text: String!) {\\n writeWorkspaceTextFile(input: { workspaceID: $workspaceID, path: $path, text: $text }) {\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkWriteTextFileDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkWriteBase64File($workspaceID: ID!, $path: String!, $contentBase64: String!) {\\n writeWorkspaceBase64File(\\n input: { workspaceID: $workspaceID, path: $path, contentBase64: $contentBase64 }\\n ) {\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkWriteBase64FileDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n fragment FileCommitFields on FileCommit {\\n sha\\n branch\\n message\\n committed\\n waiting\\n waitingCount\\n deploys\\n conflicts\\n writeSHA\\n paused\\n }\\n\"): typeof import('./graphql.js').FileCommitFieldsFragmentDoc;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkWriteFiles(\\n $workspaceID: ID!\\n $files: [WorkspaceFileWriteInput!]!\\n $commitMessage: String\\n ) {\\n writeWorkspaceFiles(\\n input: { workspaceID: $workspaceID, files: $files, commitMessage: $commitMessage }\\n ) {\\n workspaceID\\n written\\n failed\\n totalBytes\\n files {\\n path\\n ok\\n error\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n commit {\\n ...FileCommitFields\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkWriteFilesDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkAppCommits($workspaceID: ID!, $limit: Int, $before: String) {\\n appCommits(workspaceID: $workspaceID, limit: $limit, before: $before) {\\n branch\\n head\\n nextBefore\\n autoDeploy\\n waitingCommits\\n waitingSince\\n commits {\\n sha\\n message\\n authorName\\n authorEmail\\n authoredAt\\n filesChanged\\n deployedTo\\n }\\n deployed {\\n alias\\n sha\\n deploymentID\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkAppCommitsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkAppCommitsWaiting($workspaceID: ID!) {\\n appCommits(workspaceID: $workspaceID, limit: 1) {\\n branch\\n head\\n waitingCommits\\n waitingSince\\n }\\n }\\n\"): typeof import('./graphql.js').SdkAppCommitsWaitingDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkWorkspaceGitSource($id: ID!) {\\n workspace(id: $id) {\\n id\\n gitSource {\\n branch\\n autoDeploy\\n deployAlias\\n lastImportedCommit\\n lastImportedAt\\n lastImportStatus\\n lastImportError\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkWorkspaceGitSourceDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkAppCommit($workspaceID: ID!, $sha: String!) {\\n appCommit(workspaceID: $workspaceID, sha: $sha) {\\n commit {\\n sha\\n message\\n authorName\\n authorEmail\\n authoredAt\\n filesChanged\\n deployedTo\\n }\\n files {\\n path\\n status\\n }\\n patch\\n truncated\\n additions\\n deletions\\n }\\n }\\n\"): typeof import('./graphql.js').SdkAppCommitDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkRestoreVersion(\\n $workspaceID: ID!\\n $sha: String!\\n $expectedHead: String\\n $message: String\\n ) {\\n restoreAppVersion(\\n input: { workspaceID: $workspaceID, sha: $sha, expectedHead: $expectedHead, message: $message }\\n ) {\\n sha\\n committed\\n deploys\\n message\\n branch\\n deployAlias\\n restoredFrom\\n parent\\n }\\n }\\n\"): typeof import('./graphql.js').SdkRestoreVersionDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n fragment AppErrorGroupFields on AppErrorGroup {\\n id\\n title\\n type\\n culprit\\n level\\n status\\n count\\n storedEvents\\n firstSeen\\n lastSeen\\n firstDeploymentID\\n firstGitCommit\\n lastDeploymentID\\n lastGitCommit\\n resolvedInDeploymentID\\n resolvedAt\\n mutedAt\\n regressedAt\\n }\\n\"): typeof import('./graphql.js').AppErrorGroupFieldsFragmentDoc;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkAppErrors(\\n $workspaceID: ID!\\n $alias: String!\\n $status: String\\n $limit: Int\\n $cursor: String\\n ) {\\n appErrors(\\n workspaceID: $workspaceID\\n alias: $alias\\n status: $status\\n limit: $limit\\n cursor: $cursor\\n ) {\\n groups {\\n ...AppErrorGroupFields\\n }\\n nextCursor\\n note\\n }\\n }\\n\"): typeof import('./graphql.js').SdkAppErrorsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkAppErrorGroup($workspaceID: ID!, $alias: String!, $groupID: ID!) {\\n appErrorGroup(workspaceID: $workspaceID, alias: $alias, groupID: $groupID) {\\n group {\\n ...AppErrorGroupFields\\n }\\n latestEvent\\n firstEvent {\\n eventID\\n at\\n deploymentID\\n level\\n }\\n recentEvents {\\n eventID\\n at\\n deploymentID\\n level\\n }\\n deployments {\\n deploymentID\\n gitCommit\\n current\\n count\\n firstSeen\\n lastSeen\\n }\\n fatal\\n vmID\\n }\\n }\\n\"): typeof import('./graphql.js').SdkAppErrorGroupDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkResolveErrorGroup($input: AppErrorGroupInput!) {\\n resolveAppErrorGroup(input: $input) {\\n ...AppErrorGroupFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkResolveErrorGroupDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkMuteErrorGroup($input: AppErrorGroupInput!) {\\n muteAppErrorGroup(input: $input) {\\n ...AppErrorGroupFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkMuteErrorGroupDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkReopenErrorGroup($input: AppErrorGroupInput!) {\\n reopenAppErrorGroup(input: $input) {\\n ...AppErrorGroupFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkReopenErrorGroupDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkEventTypes {\\n platformEventTypes {\\n name\\n description\\n delivery\\n inputSchema\\n payloadSchema\\n }\\n }\\n\"): typeof import('./graphql.js').SdkEventTypesDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkPollEvents($input: PlatformEventsInput) {\\n pollEvents(input: $input) {\\n cursor\\n truncated\\n hasMore\\n nextPollMs\\n timedOut\\n events {\\n eventID\\n name\\n timestamp\\n data\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkPollEventsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkWaitForEvents($input: PlatformEventsInput, $timeoutSeconds: Int) {\\n waitForEvents(input: $input, timeoutSeconds: $timeoutSeconds) {\\n cursor\\n truncated\\n hasMore\\n nextPollMs\\n timedOut\\n events {\\n eventID\\n name\\n timestamp\\n data\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkWaitForEventsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkListFiles($input: ListWorkspaceFilesInput!) {\\n workspaceFilesPage(input: $input) {\\n items {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n total\\n limit\\n offset\\n hasMore\\n nextOffset\\n }\\n }\\n\"): typeof import('./graphql.js').SdkListFilesDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkReadFile($input: ReadWorkspaceFileInput!) {\\n readWorkspaceFile(input: $input) {\\n text\\n offset\\n limit\\n totalBytes\\n truncated\\n nextOffset\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkReadFileDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkDeleteFile($workspaceID: ID!, $path: String!) {\\n deleteWorkspaceFile(input: { workspaceID: $workspaceID, path: $path }) {\\n ok\\n }\\n }\\n\"): typeof import('./graphql.js').SdkDeleteFileDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkCreateDeployment($input: CreateDeploymentInput!) {\\n createDeployment(input: $input) {\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkCreateDeploymentDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkDeployWorkspace($input: DeployWorkspaceInput!) {\\n deployWorkspace(input: $input) {\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkDeployWorkspaceDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkGetDeployment($id: ID!) {\\n deployment(id: $id) {\\n ...DeploymentFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkGetDeploymentDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkPollDeployment($id: ID!) {\\n deployment(id: $id) {\\n id\\n status\\n error\\n aliasHeld\\n url\\n previewUrl\\n }\\n }\\n\"): typeof import('./graphql.js').SdkPollDeploymentDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkGetDeploymentByAlias($alias: String!) {\\n deploymentByAlias(alias: $alias) {\\n ...DeploymentFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkGetDeploymentByAliasDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkListDeployments($input: ListDeploymentsInput) {\\n deploymentsPage(input: $input) {\\n items {\\n ...DeploymentFields\\n }\\n total\\n limit\\n offset\\n hasMore\\n nextOffset\\n }\\n }\\n\"): typeof import('./graphql.js').SdkListDeploymentsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkListReleases($alias: String!) {\\n deploymentReleases(alias: $alias) {\\n ...DeploymentFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkListReleasesDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkRollback(\\n $deploymentID: ID!\\n $expectedCurrentDeploymentID: ID!\\n $expectedCurrentAliasRevision: String!\\n ) {\\n rollbackDeployment(\\n input: {\\n deploymentID: $deploymentID\\n expectedCurrentDeploymentID: $expectedCurrentDeploymentID\\n expectedCurrentAliasRevision: $expectedCurrentAliasRevision\\n }\\n ) {\\n ...DeploymentFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkRollbackDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkServiceStatus($deploymentID: ID!) {\\n serviceStatus(deploymentID: $deploymentID) {\\n deploymentID\\n alias\\n serviceMode\\n running\\n health\\n vmID\\n inFlight\\n alwaysOn\\n memSizeMiB\\n startedAt\\n lastUsedAt\\n lastStoppedAt\\n restartCount\\n lastError\\n }\\n }\\n\"): typeof import('./graphql.js').SdkServiceStatusDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkServiceLogs($deploymentID: ID!, $tailBytes: Int) {\\n serviceLogs(deploymentID: $deploymentID, tailBytes: $tailBytes) {\\n deploymentID\\n stdout\\n stderr\\n truncated\\n stdoutBytes\\n stderrBytes\\n tailBytes\\n }\\n }\\n\"): typeof import('./graphql.js').SdkServiceLogsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkDeploymentEvents($deploymentID: ID!, $limit: Int) {\\n deploymentEvents(deploymentID: $deploymentID, limit: $limit) {\\n id\\n deploymentID\\n type\\n rawType\\n severity\\n message\\n vmID\\n metadata\\n createdAt\\n }\\n }\\n\"): typeof import('./graphql.js').SdkDeploymentEventsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkWaitForDeployment($id: ID!, $timeoutSeconds: Int) {\\n waitForDeployment(id: $id, timeoutSeconds: $timeoutSeconds) {\\n timedOut\\n waitedMs\\n placement\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkWaitForDeploymentDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkRestartService($deploymentID: ID!) {\\n restartService(input: { deploymentID: $deploymentID }) {\\n deploymentID\\n running\\n health\\n vmID\\n restartCount\\n lastError\\n }\\n }\\n\"): typeof import('./graphql.js').SdkRestartServiceDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkStopService($deploymentID: ID!) {\\n stopService(input: { deploymentID: $deploymentID }) {\\n deploymentID\\n running\\n health\\n vmID\\n restartCount\\n lastError\\n }\\n }\\n\"): typeof import('./graphql.js').SdkStopServiceDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkDeleteDeployment($deploymentID: ID!) {\\n deleteDeployment(input: { deploymentID: $deploymentID }) {\\n ok\\n }\\n }\\n\"): typeof import('./graphql.js').SdkDeleteDeploymentDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkSetWorkspaceEnv($workspaceID: ID!, $name: String!, $value: String!) {\\n setWorkspaceEnv(input: { workspaceID: $workspaceID, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkSetWorkspaceEnvDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkSetWorkspaceSecret($workspaceID: ID!, $name: String!, $value: String!) {\\n setWorkspaceSecret(input: { workspaceID: $workspaceID, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkSetWorkspaceSecretDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkDeleteWorkspaceEnv($workspaceID: ID!, $name: String!) {\\n deleteWorkspaceEnv(input: { workspaceID: $workspaceID, name: $name }) {\\n ok\\n }\\n }\\n\"): typeof import('./graphql.js').SdkDeleteWorkspaceEnvDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkListWorkspaceEnv($workspaceID: ID!) {\\n workspaceEnv(workspaceID: $workspaceID) {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n\"): typeof import('./graphql.js').SdkListWorkspaceEnvDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkSetAppEnv($workspaceID: ID!, $alias: String!, $name: String!, $value: String!) {\\n setAppEnv(input: { workspaceID: $workspaceID, alias: $alias, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkSetAppEnvDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkSetAppSecret($workspaceID: ID!, $alias: String!, $name: String!, $value: String!) {\\n setAppSecret(input: { workspaceID: $workspaceID, alias: $alias, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkSetAppSecretDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkRemoveAppEnv($workspaceID: ID!, $alias: String!, $name: String!) {\\n removeAppEnv(input: { workspaceID: $workspaceID, alias: $alias, name: $name }) {\\n ok\\n }\\n }\\n\"): typeof import('./graphql.js').SdkRemoveAppEnvDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkInheritAppEnv($workspaceID: ID!, $alias: String!, $name: String!) {\\n inheritAppEnv(input: { workspaceID: $workspaceID, alias: $alias, name: $name }) {\\n ok\\n }\\n }\\n\"): typeof import('./graphql.js').SdkInheritAppEnvDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkListAppEnv($workspaceID: ID!, $alias: String!) {\\n appEnv(workspaceID: $workspaceID, alias: $alias) {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n\"): typeof import('./graphql.js').SdkListAppEnvDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n fragment RunFields on Run {\\n id\\n workspaceID\\n ownerId\\n status\\n rawStatus\\n command\\n harness\\n prompt\\n setup\\n skills\\n verify\\n approval\\n mode\\n access\\n alias\\n integrations {\\n kind\\n bindingID\\n env\\n skills\\n mcpServers {\\n name\\n transport\\n readOnly\\n }\\n }\\n parentRunID\\n depth\\n question {\\n id\\n text\\n options\\n askedAt\\n }\\n memoryMiB\\n maxSeconds\\n metadata\\n error\\n exitCode\\n result {\\n status\\n detail\\n text\\n }\\n verifyExitCode\\n vmID\\n transcriptAvailable\\n usage {\\n vmSeconds\\n memoryMiB\\n mibSeconds\\n }\\n createdAt\\n startedAt\\n settledAt\\n }\\n\"): typeof import('./graphql.js').RunFieldsFragmentDoc;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkCreateRun($input: CreateRunInput!) {\\n createRun(input: $input) {\\n ...RunFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkCreateRunDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkGetRun($id: ID!) {\\n run(id: $id) {\\n ...RunFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkGetRunDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkPollRun($id: ID!) {\\n run(id: $id) {\\n id\\n status\\n error\\n exitCode\\n }\\n }\\n\"): typeof import('./graphql.js').SdkPollRunDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkListRuns($input: ListRunsInput) {\\n runs(input: $input) {\\n items {\\n ...RunFields\\n }\\n total\\n limit\\n offset\\n hasMore\\n nextOffset\\n }\\n }\\n\"): typeof import('./graphql.js').SdkListRunsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkCancelRun($id: ID!) {\\n cancelRun(id: $id) {\\n ...RunFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkCancelRunDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkRunEvents($runID: ID!, $limit: Int) {\\n runEvents(runID: $runID, limit: $limit) {\\n id\\n runID\\n type\\n severity\\n message\\n metadata\\n createdAt\\n }\\n }\\n\"): typeof import('./graphql.js').SdkRunEventsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkRunConsole($id: ID!, $tailBytes: Int) {\\n runConsole(id: $id, tailBytes: $tailBytes) {\\n runID\\n running\\n text\\n }\\n }\\n\"): typeof import('./graphql.js').SdkRunConsoleDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkRunTranscript($id: ID!, $tailBytes: Int) {\\n runTranscript(id: $id, tailBytes: $tailBytes) {\\n runID\\n available\\n text\\n totalBytes\\n truncated\\n }\\n }\\n\"): typeof import('./graphql.js').SdkRunTranscriptDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkAnswerRun($id: ID!, $answer: String!) {\\n answerRun(id: $id, answer: $answer) {\\n ...RunFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkAnswerRunDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkFollowUpRun($input: FollowUpRunInput!) {\\n followUpRun(input: $input) {\\n ...RunFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkFollowUpRunDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkRunHarnesses {\\n runHarnesses {\\n name\\n title\\n summary\\n requires\\n }\\n }\\n\"): typeof import('./graphql.js').SdkRunHarnessesDocument;\n\n\nexport function graphql(source: string) {\n return (documents as any)[source] ?? {};\n}\n"]}
|
|
1
|
+
{"version":3,"file":"gql.js","sourceRoot":"","sources":["../../src/generated/gql.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAoFtC,MAAM,SAAS,GAAc;IACzB,qXAAqX,EAAE,KAAK,CAAC,2BAA2B;IACxZ,gXAAgX,EAAE,KAAK,CAAC,iBAAiB;IACzY,gPAAgP,EAAE,KAAK,CAAC,0BAA0B;IAClR,uJAAuJ,EAAE,KAAK,CAAC,yBAAyB;IACxL,sUAAsU,EAAE,KAAK,CAAC,0BAA0B;IACxW,+KAA+K,EAAE,KAAK,CAAC,4BAA4B;IACnN,sQAAsQ,EAAE,KAAK,CAAC,oBAAoB;IAClS,ySAAyS,EAAE,KAAK,CAAC,wBAAwB;IACzU,sVAAsV,EAAE,KAAK,CAAC,0BAA0B;IACxX,4LAA4L,EAAE,KAAK,CAAC,2BAA2B;IAC/N,2jBAA2jB,EAAE,KAAK,CAAC,qBAAqB;IACxlB,2fAA2f,EAAE,KAAK,CAAC,qBAAqB;IACxhB,8LAA8L,EAAE,KAAK,CAAC,4BAA4B;IAClO,2RAA2R,EAAE,KAAK,CAAC,6BAA6B;IAChU,qZAAqZ,EAAE,KAAK,CAAC,oBAAoB;IACjb,0bAA0b,EAAE,KAAK,CAAC,yBAAyB;IAC3d,qVAAqV,EAAE,KAAK,CAAC,8BAA8B;IAC3X,8XAA8X,EAAE,KAAK,CAAC,oBAAoB;IAC1Z,imBAAimB,EAAE,KAAK,CAAC,wBAAwB;IACjoB,yJAAyJ,EAAE,KAAK,CAAC,4BAA4B;IAC7L,mJAAmJ,EAAE,KAAK,CAAC,yBAAyB;IACpL,uJAAuJ,EAAE,KAAK,CAAC,2BAA2B;IAC1L,0JAA0J,EAAE,KAAK,CAAC,qBAAqB;IACvL,gRAAgR,EAAE,KAAK,CAAC,qBAAqB;IAC7S,6UAA6U,EAAE,KAAK,CAAC,wBAAwB;IAC7W,sSAAsS,EAAE,KAAK,CAAC,oBAAoB;IAClU,qTAAqT,EAAE,KAAK,CAAC,mBAAmB;IAChV,uKAAuK,EAAE,KAAK,CAAC,qBAAqB;IACpM,mLAAmL,EAAE,KAAK,CAAC,2BAA2B;IACtN,gLAAgL,EAAE,KAAK,CAAC,0BAA0B;IAClN,4GAA4G,EAAE,KAAK,CAAC,wBAAwB;IAC5I,qKAAqK,EAAE,KAAK,CAAC,yBAAyB;IACtM,uIAAuI,EAAE,KAAK,CAAC,+BAA+B;IAC9K,gPAAgP,EAAE,KAAK,CAAC,0BAA0B;IAClR,gIAAgI,EAAE,KAAK,CAAC,uBAAuB;IAC/J,8ZAA8Z,EAAE,KAAK,CAAC,mBAAmB;IACzb,8VAA8V,EAAE,KAAK,CAAC,wBAAwB;IAC9X,8QAA8Q,EAAE,KAAK,CAAC,sBAAsB;IAC5S,mLAAmL,EAAE,KAAK,CAAC,kCAAkC;IAC7N,uVAAuV,EAAE,KAAK,CAAC,2BAA2B;IAC1X,6JAA6J,EAAE,KAAK,CAAC,4BAA4B;IACjM,8PAA8P,EAAE,KAAK,CAAC,4BAA4B;IAClS,0eAA0e,EAAE,KAAK,CAAC,kCAAkC;IACphB,oOAAoO,EAAE,KAAK,CAAC,yBAAyB;IACrQ,8NAA8N,EAAE,KAAK,CAAC,sBAAsB;IAC5P,gJAAgJ,EAAE,KAAK,CAAC,2BAA2B;IACnL,sUAAsU,EAAE,KAAK,CAAC,0BAA0B;IACxW,4UAA4U,EAAE,KAAK,CAAC,6BAA6B;IACjX,8KAA8K,EAAE,KAAK,CAAC,6BAA6B;IACnN,qNAAqN,EAAE,KAAK,CAAC,2BAA2B;IACxP,0VAA0V,EAAE,KAAK,CAAC,oBAAoB;IACtX,gWAAgW,EAAE,KAAK,CAAC,uBAAuB;IAC/X,kMAAkM,EAAE,KAAK,CAAC,uBAAuB;IACjO,oMAAoM,EAAE,KAAK,CAAC,wBAAwB;IACpO,yOAAyO,EAAE,KAAK,CAAC,qBAAqB;IACtQ,wxBAAwxB,EAAE,KAAK,CAAC,oBAAoB;IACpzB,wHAAwH,EAAE,KAAK,CAAC,oBAAoB;IACpJ,uFAAuF,EAAE,KAAK,CAAC,iBAAiB;IAChH,yHAAyH,EAAE,KAAK,CAAC,kBAAkB;IACnJ,gNAAgN,EAAE,KAAK,CAAC,mBAAmB;IAC3O,mGAAmG,EAAE,KAAK,CAAC,oBAAoB;IAC/H,oNAAoN,EAAE,KAAK,CAAC,oBAAoB;IAChP,8JAA8J,EAAE,KAAK,CAAC,qBAAqB;IAC3L,yMAAyM,EAAE,KAAK,CAAC,wBAAwB;IACzO,sIAAsI,EAAE,KAAK,CAAC,oBAAoB;IAClK,8HAA8H,EAAE,KAAK,CAAC,sBAAsB;IAC5J,uHAAuH,EAAE,KAAK,CAAC,uBAAuB;CACzJ,CAAC;AAgRF,MAAM,UAAU,OAAO,CAAC,MAAc;IACpC,OAAQ,SAAiB,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;AAC1C,CAAC","sourcesContent":["/* eslint-disable */\nimport * as types from './graphql.js';\n\n\n\n/**\n * Map of all GraphQL operations in the project.\n *\n * This map has several performance disadvantages:\n * 1. It is not tree-shakeable, so it will include all operations in the project.\n * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.\n * 3. It does not support dead code elimination, so it will add unused operations.\n *\n * Therefore it is highly recommended to use the babel or swc plugin for production.\n * Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size\n */\ntype Documents = {\n \"\\n fragment DeploymentFields on Deployment {\\n id\\n workspaceID\\n kind\\n runtime\\n alias\\n serviceMode\\n healthPath\\n cronSchedule\\n cronPath\\n url\\n previewUrl\\n sshCommand\\n aliasHeld\\n aliasRevision\\n status\\n error\\n filesCount\\n sizeBytes\\n size\\n spaMode\\n gitRepo\\n gitCommit\\n createdAt\\n }\\n\": typeof types.DeploymentFieldsFragmentDoc,\n \"\\n query SdkWhoami {\\n whoami {\\n kind\\n userID\\n name\\n agentID\\n agentName\\n claimed\\n claimedBy\\n scopes\\n expiresAt\\n usage {\\n month\\n requests\\n limit\\n }\\n resources {\\n workspaces\\n workspaceLimit\\n services\\n serviceLimit\\n }\\n }\\n }\\n\": typeof types.SdkWhoamiDocument,\n \"\\n mutation SdkCreateWorkspace($name: String!) {\\n createWorkspace(input: { name: $name }) {\\n workspace {\\n id\\n name\\n ownerId\\n projectId\\n createdAt\\n updatedAt\\n }\\n }\\n }\\n\": typeof types.SdkCreateWorkspaceDocument,\n \"\\n query SdkListWorkspaces {\\n workspaces {\\n id\\n name\\n ownerId\\n projectId\\n createdAt\\n updatedAt\\n }\\n }\\n\": typeof types.SdkListWorkspacesDocument,\n \"\\n mutation SdkDeleteWorkspace(\\n $workspaceID: ID!\\n $withDeployments: Boolean\\n $confirmAliases: [String!]\\n ) {\\n deleteWorkspace(\\n input: {\\n workspaceID: $workspaceID\\n withDeployments: $withDeployments\\n confirmAliases: $confirmAliases\\n }\\n ) {\\n ok\\n }\\n }\\n\": typeof types.SdkDeleteWorkspaceDocument,\n \"\\n query SdkWorkspaceLiveApps($id: ID!) {\\n workspace(id: $id) {\\n id\\n liveApps {\\n alias\\n deploymentID\\n domains\\n }\\n }\\n }\\n\": typeof types.SdkWorkspaceLiveAppsDocument,\n \"\\n mutation SdkDeleteApp($workspaceID: ID!, $alias: String!) {\\n deleteApp(input: { workspaceID: $workspaceID, alias: $alias }) {\\n ok\\n alias\\n deployments\\n domains\\n envEntries\\n skippedOnSync\\n otherApps\\n }\\n }\\n\": typeof types.SdkDeleteAppDocument,\n \"\\n mutation SdkWriteTextFile($workspaceID: ID!, $path: String!, $text: String!) {\\n writeWorkspaceTextFile(input: { workspaceID: $workspaceID, path: $path, text: $text }) {\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n }\\n\": typeof types.SdkWriteTextFileDocument,\n \"\\n mutation SdkWriteBase64File($workspaceID: ID!, $path: String!, $contentBase64: String!) {\\n writeWorkspaceBase64File(\\n input: { workspaceID: $workspaceID, path: $path, contentBase64: $contentBase64 }\\n ) {\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n }\\n\": typeof types.SdkWriteBase64FileDocument,\n \"\\n fragment FileCommitFields on FileCommit {\\n sha\\n branch\\n message\\n committed\\n waiting\\n waitingCount\\n deploys\\n conflicts\\n writeSHA\\n paused\\n }\\n\": typeof types.FileCommitFieldsFragmentDoc,\n \"\\n mutation SdkWriteFiles(\\n $workspaceID: ID!\\n $files: [WorkspaceFileWriteInput!]!\\n $commitMessage: String\\n ) {\\n writeWorkspaceFiles(\\n input: { workspaceID: $workspaceID, files: $files, commitMessage: $commitMessage }\\n ) {\\n workspaceID\\n written\\n failed\\n totalBytes\\n files {\\n path\\n ok\\n error\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n commit {\\n ...FileCommitFields\\n }\\n }\\n }\\n\": typeof types.SdkWriteFilesDocument,\n \"\\n query SdkAppCommits($workspaceID: ID!, $limit: Int, $before: String) {\\n appCommits(workspaceID: $workspaceID, limit: $limit, before: $before) {\\n branch\\n head\\n nextBefore\\n autoDeploy\\n waitingCommits\\n waitingSince\\n commits {\\n sha\\n message\\n authorName\\n authorEmail\\n authoredAt\\n filesChanged\\n deployedTo\\n }\\n deployed {\\n alias\\n sha\\n deploymentID\\n }\\n }\\n }\\n\": typeof types.SdkAppCommitsDocument,\n \"\\n query SdkAppCommitsWaiting($workspaceID: ID!) {\\n appCommits(workspaceID: $workspaceID, limit: 1) {\\n branch\\n head\\n waitingCommits\\n waitingSince\\n }\\n }\\n\": typeof types.SdkAppCommitsWaitingDocument,\n \"\\n query SdkWorkspaceGitSource($id: ID!) {\\n workspace(id: $id) {\\n id\\n gitSource {\\n branch\\n autoDeploy\\n deployAlias\\n lastImportedCommit\\n lastImportedAt\\n lastImportStatus\\n lastImportError\\n }\\n }\\n }\\n\": typeof types.SdkWorkspaceGitSourceDocument,\n \"\\n query SdkAppCommit($workspaceID: ID!, $sha: String!) {\\n appCommit(workspaceID: $workspaceID, sha: $sha) {\\n commit {\\n sha\\n message\\n authorName\\n authorEmail\\n authoredAt\\n filesChanged\\n deployedTo\\n }\\n files {\\n path\\n status\\n }\\n patch\\n truncated\\n additions\\n deletions\\n }\\n }\\n\": typeof types.SdkAppCommitDocument,\n \"\\n mutation SdkRestoreVersion(\\n $workspaceID: ID!\\n $sha: String!\\n $expectedHead: String\\n $message: String\\n ) {\\n restoreAppVersion(\\n input: { workspaceID: $workspaceID, sha: $sha, expectedHead: $expectedHead, message: $message }\\n ) {\\n sha\\n committed\\n deploys\\n message\\n workspaceID\\n branch\\n deployAlias\\n restoredFrom\\n parent\\n waitAfter\\n }\\n }\\n\": typeof types.SdkRestoreVersionDocument,\n \"\\n fragment AppErrorGroupFields on AppErrorGroup {\\n id\\n title\\n type\\n culprit\\n level\\n status\\n count\\n storedEvents\\n firstSeen\\n lastSeen\\n firstDeploymentID\\n firstGitCommit\\n lastDeploymentID\\n lastGitCommit\\n resolvedInDeploymentID\\n resolvedAt\\n mutedAt\\n regressedAt\\n }\\n\": typeof types.AppErrorGroupFieldsFragmentDoc,\n \"\\n query SdkAppErrors(\\n $workspaceID: ID!\\n $alias: String!\\n $status: String\\n $limit: Int\\n $cursor: String\\n ) {\\n appErrors(\\n workspaceID: $workspaceID\\n alias: $alias\\n status: $status\\n limit: $limit\\n cursor: $cursor\\n ) {\\n groups {\\n ...AppErrorGroupFields\\n }\\n nextCursor\\n note\\n }\\n }\\n\": typeof types.SdkAppErrorsDocument,\n \"\\n query SdkAppErrorGroup($workspaceID: ID!, $alias: String!, $groupID: ID!) {\\n appErrorGroup(workspaceID: $workspaceID, alias: $alias, groupID: $groupID) {\\n group {\\n ...AppErrorGroupFields\\n }\\n latestEvent\\n firstEvent {\\n eventID\\n at\\n deploymentID\\n level\\n }\\n recentEvents {\\n eventID\\n at\\n deploymentID\\n level\\n }\\n deployments {\\n deploymentID\\n gitCommit\\n current\\n count\\n firstSeen\\n lastSeen\\n }\\n fatal\\n vmID\\n }\\n }\\n\": typeof types.SdkAppErrorGroupDocument,\n \"\\n mutation SdkResolveErrorGroup($input: AppErrorGroupInput!) {\\n resolveAppErrorGroup(input: $input) {\\n ...AppErrorGroupFields\\n }\\n }\\n\": typeof types.SdkResolveErrorGroupDocument,\n \"\\n mutation SdkMuteErrorGroup($input: AppErrorGroupInput!) {\\n muteAppErrorGroup(input: $input) {\\n ...AppErrorGroupFields\\n }\\n }\\n\": typeof types.SdkMuteErrorGroupDocument,\n \"\\n mutation SdkReopenErrorGroup($input: AppErrorGroupInput!) {\\n reopenAppErrorGroup(input: $input) {\\n ...AppErrorGroupFields\\n }\\n }\\n\": typeof types.SdkReopenErrorGroupDocument,\n \"\\n query SdkEventTypes {\\n platformEventTypes {\\n name\\n description\\n delivery\\n inputSchema\\n payloadSchema\\n }\\n }\\n\": typeof types.SdkEventTypesDocument,\n \"\\n query SdkPollEvents($input: PlatformEventsInput) {\\n pollEvents(input: $input) {\\n cursor\\n truncated\\n hasMore\\n nextPollMs\\n timedOut\\n events {\\n eventID\\n name\\n timestamp\\n data\\n }\\n }\\n }\\n\": typeof types.SdkPollEventsDocument,\n \"\\n query SdkWaitForEvents($input: PlatformEventsInput, $timeoutSeconds: Int) {\\n waitForEvents(input: $input, timeoutSeconds: $timeoutSeconds) {\\n cursor\\n truncated\\n hasMore\\n nextPollMs\\n timedOut\\n events {\\n eventID\\n name\\n timestamp\\n data\\n }\\n }\\n }\\n\": typeof types.SdkWaitForEventsDocument,\n \"\\n query SdkListFiles($input: ListWorkspaceFilesInput!) {\\n workspaceFilesPage(input: $input) {\\n items {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n total\\n limit\\n offset\\n hasMore\\n nextOffset\\n }\\n }\\n\": typeof types.SdkListFilesDocument,\n \"\\n query SdkReadFile($input: ReadWorkspaceFileInput!) {\\n readWorkspaceFile(input: $input) {\\n text\\n offset\\n limit\\n totalBytes\\n truncated\\n nextOffset\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n }\\n\": typeof types.SdkReadFileDocument,\n \"\\n mutation SdkDeleteFile($workspaceID: ID!, $path: String!) {\\n deleteWorkspaceFile(input: { workspaceID: $workspaceID, path: $path }) {\\n ok\\n }\\n }\\n\": typeof types.SdkDeleteFileDocument,\n \"\\n mutation SdkCreateDeployment($input: CreateDeploymentInput!) {\\n createDeployment(input: $input) {\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\": typeof types.SdkCreateDeploymentDocument,\n \"\\n mutation SdkDeployWorkspace($input: DeployWorkspaceInput!) {\\n deployWorkspace(input: $input) {\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\": typeof types.SdkDeployWorkspaceDocument,\n \"\\n query SdkGetDeployment($id: ID!) {\\n deployment(id: $id) {\\n ...DeploymentFields\\n }\\n }\\n\": typeof types.SdkGetDeploymentDocument,\n \"\\n query SdkPollDeployment($id: ID!) {\\n deployment(id: $id) {\\n id\\n status\\n error\\n aliasHeld\\n url\\n previewUrl\\n }\\n }\\n\": typeof types.SdkPollDeploymentDocument,\n \"\\n query SdkGetDeploymentByAlias($alias: String!) {\\n deploymentByAlias(alias: $alias) {\\n ...DeploymentFields\\n }\\n }\\n\": typeof types.SdkGetDeploymentByAliasDocument,\n \"\\n query SdkListDeployments($input: ListDeploymentsInput) {\\n deploymentsPage(input: $input) {\\n items {\\n ...DeploymentFields\\n }\\n total\\n limit\\n offset\\n hasMore\\n nextOffset\\n }\\n }\\n\": typeof types.SdkListDeploymentsDocument,\n \"\\n query SdkListReleases($alias: String!) {\\n deploymentReleases(alias: $alias) {\\n ...DeploymentFields\\n }\\n }\\n\": typeof types.SdkListReleasesDocument,\n \"\\n mutation SdkRollback(\\n $deploymentID: ID!\\n $expectedCurrentDeploymentID: ID!\\n $expectedCurrentAliasRevision: String!\\n ) {\\n rollbackDeployment(\\n input: {\\n deploymentID: $deploymentID\\n expectedCurrentDeploymentID: $expectedCurrentDeploymentID\\n expectedCurrentAliasRevision: $expectedCurrentAliasRevision\\n }\\n ) {\\n ...DeploymentFields\\n }\\n }\\n\": typeof types.SdkRollbackDocument,\n \"\\n query SdkServiceStatus($deploymentID: ID!) {\\n serviceStatus(deploymentID: $deploymentID) {\\n deploymentID\\n alias\\n serviceMode\\n running\\n health\\n vmID\\n inFlight\\n alwaysOn\\n memSizeMiB\\n startedAt\\n lastUsedAt\\n lastStoppedAt\\n restartCount\\n lastError\\n }\\n }\\n\": typeof types.SdkServiceStatusDocument,\n \"\\n query SdkServiceLogs($deploymentID: ID!, $tailBytes: Int) {\\n serviceLogs(deploymentID: $deploymentID, tailBytes: $tailBytes) {\\n deploymentID\\n stdout\\n stderr\\n truncated\\n stdoutBytes\\n stderrBytes\\n tailBytes\\n }\\n }\\n\": typeof types.SdkServiceLogsDocument,\n \"\\n fragment DeploymentTimingsFields on DeploymentTimings {\\n totalMs\\n buildMs\\n promoteMs\\n phases\\n buildMode\\n artifactTransport\\n buildMemoryMiB\\n }\\n\": typeof types.DeploymentTimingsFieldsFragmentDoc,\n \"\\n query SdkDeploymentEvents($deploymentID: ID!, $limit: Int) {\\n deploymentEvents(deploymentID: $deploymentID, limit: $limit) {\\n id\\n deploymentID\\n type\\n rawType\\n severity\\n message\\n vmID\\n metadata\\n timings {\\n ...DeploymentTimingsFields\\n }\\n createdAt\\n }\\n }\\n\": typeof types.SdkDeploymentEventsDocument,\n \"\\n query SdkDeploymentTimings($id: ID!) {\\n deployment(id: $id) {\\n id\\n timings {\\n ...DeploymentTimingsFields\\n }\\n }\\n }\\n\": typeof types.SdkDeploymentTimingsDocument,\n \"\\n query SdkWaitForDeployment($id: ID!, $timeoutSeconds: Int) {\\n waitForDeployment(id: $id, timeoutSeconds: $timeoutSeconds) {\\n timedOut\\n waitedMs\\n placement\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\": typeof types.SdkWaitForDeploymentDocument,\n \"\\n query SdkWaitForCommitDeployment(\\n $workspaceID: ID!\\n $gitCommit: String!\\n $alias: String\\n $after: Int\\n $timeoutSeconds: Int\\n ) {\\n waitForDeployment(\\n workspaceID: $workspaceID\\n gitCommit: $gitCommit\\n alias: $alias\\n after: $after\\n timeoutSeconds: $timeoutSeconds\\n ) {\\n status\\n importStatus\\n importError\\n timedOut\\n waitedMs\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\": typeof types.SdkWaitForCommitDeploymentDocument,\n \"\\n mutation SdkRestartService($deploymentID: ID!) {\\n restartService(input: { deploymentID: $deploymentID }) {\\n deploymentID\\n running\\n health\\n vmID\\n restartCount\\n lastError\\n }\\n }\\n\": typeof types.SdkRestartServiceDocument,\n \"\\n mutation SdkStopService($deploymentID: ID!) {\\n stopService(input: { deploymentID: $deploymentID }) {\\n deploymentID\\n running\\n health\\n vmID\\n restartCount\\n lastError\\n }\\n }\\n\": typeof types.SdkStopServiceDocument,\n \"\\n mutation SdkDeleteDeployment($deploymentID: ID!) {\\n deleteDeployment(input: { deploymentID: $deploymentID }) {\\n ok\\n }\\n }\\n\": typeof types.SdkDeleteDeploymentDocument,\n \"\\n mutation SdkSetWorkspaceEnv($workspaceID: ID!, $name: String!, $value: String!) {\\n setWorkspaceEnv(input: { workspaceID: $workspaceID, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\": typeof types.SdkSetWorkspaceEnvDocument,\n \"\\n mutation SdkSetWorkspaceSecret($workspaceID: ID!, $name: String!, $value: String!) {\\n setWorkspaceSecret(input: { workspaceID: $workspaceID, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\": typeof types.SdkSetWorkspaceSecretDocument,\n \"\\n mutation SdkDeleteWorkspaceEnv($workspaceID: ID!, $name: String!) {\\n deleteWorkspaceEnv(input: { workspaceID: $workspaceID, name: $name }) {\\n ok\\n }\\n }\\n\": typeof types.SdkDeleteWorkspaceEnvDocument,\n \"\\n query SdkListWorkspaceEnv($workspaceID: ID!) {\\n workspaceEnv(workspaceID: $workspaceID) {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n\": typeof types.SdkListWorkspaceEnvDocument,\n \"\\n mutation SdkSetAppEnv($workspaceID: ID!, $alias: String!, $name: String!, $value: String!) {\\n setAppEnv(input: { workspaceID: $workspaceID, alias: $alias, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\": typeof types.SdkSetAppEnvDocument,\n \"\\n mutation SdkSetAppSecret($workspaceID: ID!, $alias: String!, $name: String!, $value: String!) {\\n setAppSecret(input: { workspaceID: $workspaceID, alias: $alias, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\": typeof types.SdkSetAppSecretDocument,\n \"\\n mutation SdkRemoveAppEnv($workspaceID: ID!, $alias: String!, $name: String!) {\\n removeAppEnv(input: { workspaceID: $workspaceID, alias: $alias, name: $name }) {\\n ok\\n }\\n }\\n\": typeof types.SdkRemoveAppEnvDocument,\n \"\\n mutation SdkInheritAppEnv($workspaceID: ID!, $alias: String!, $name: String!) {\\n inheritAppEnv(input: { workspaceID: $workspaceID, alias: $alias, name: $name }) {\\n ok\\n }\\n }\\n\": typeof types.SdkInheritAppEnvDocument,\n \"\\n query SdkListAppEnv($workspaceID: ID!, $alias: String!) {\\n appEnv(workspaceID: $workspaceID, alias: $alias) {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n\": typeof types.SdkListAppEnvDocument,\n \"\\n fragment RunFields on Run {\\n id\\n workspaceID\\n ownerId\\n status\\n rawStatus\\n command\\n harness\\n prompt\\n setup\\n skills\\n verify\\n approval\\n mode\\n access\\n alias\\n integrations {\\n kind\\n bindingID\\n env\\n skills\\n mcpServers {\\n name\\n transport\\n readOnly\\n }\\n }\\n parentRunID\\n depth\\n question {\\n id\\n text\\n options\\n askedAt\\n }\\n memoryMiB\\n maxSeconds\\n metadata\\n error\\n exitCode\\n result {\\n status\\n detail\\n text\\n }\\n verifyExitCode\\n vmID\\n transcriptAvailable\\n usage {\\n vmSeconds\\n memoryMiB\\n mibSeconds\\n }\\n createdAt\\n startedAt\\n settledAt\\n }\\n\": typeof types.RunFieldsFragmentDoc,\n \"\\n mutation SdkCreateRun($input: CreateRunInput!) {\\n createRun(input: $input) {\\n ...RunFields\\n }\\n }\\n\": typeof types.SdkCreateRunDocument,\n \"\\n query SdkGetRun($id: ID!) {\\n run(id: $id) {\\n ...RunFields\\n }\\n }\\n\": typeof types.SdkGetRunDocument,\n \"\\n query SdkPollRun($id: ID!) {\\n run(id: $id) {\\n id\\n status\\n error\\n exitCode\\n }\\n }\\n\": typeof types.SdkPollRunDocument,\n \"\\n query SdkListRuns($input: ListRunsInput) {\\n runs(input: $input) {\\n items {\\n ...RunFields\\n }\\n total\\n limit\\n offset\\n hasMore\\n nextOffset\\n }\\n }\\n\": typeof types.SdkListRunsDocument,\n \"\\n mutation SdkCancelRun($id: ID!) {\\n cancelRun(id: $id) {\\n ...RunFields\\n }\\n }\\n\": typeof types.SdkCancelRunDocument,\n \"\\n query SdkRunEvents($runID: ID!, $limit: Int) {\\n runEvents(runID: $runID, limit: $limit) {\\n id\\n runID\\n type\\n severity\\n message\\n metadata\\n createdAt\\n }\\n }\\n\": typeof types.SdkRunEventsDocument,\n \"\\n query SdkRunConsole($id: ID!, $tailBytes: Int) {\\n runConsole(id: $id, tailBytes: $tailBytes) {\\n runID\\n running\\n text\\n }\\n }\\n\": typeof types.SdkRunConsoleDocument,\n \"\\n query SdkRunTranscript($id: ID!, $tailBytes: Int) {\\n runTranscript(id: $id, tailBytes: $tailBytes) {\\n runID\\n available\\n text\\n totalBytes\\n truncated\\n }\\n }\\n\": typeof types.SdkRunTranscriptDocument,\n \"\\n mutation SdkAnswerRun($id: ID!, $answer: String!) {\\n answerRun(id: $id, answer: $answer) {\\n ...RunFields\\n }\\n }\\n\": typeof types.SdkAnswerRunDocument,\n \"\\n mutation SdkFollowUpRun($input: FollowUpRunInput!) {\\n followUpRun(input: $input) {\\n ...RunFields\\n }\\n }\\n\": typeof types.SdkFollowUpRunDocument,\n \"\\n query SdkRunHarnesses {\\n runHarnesses {\\n name\\n title\\n summary\\n requires\\n }\\n }\\n\": typeof types.SdkRunHarnessesDocument,\n};\nconst documents: Documents = {\n \"\\n fragment DeploymentFields on Deployment {\\n id\\n workspaceID\\n kind\\n runtime\\n alias\\n serviceMode\\n healthPath\\n cronSchedule\\n cronPath\\n url\\n previewUrl\\n sshCommand\\n aliasHeld\\n aliasRevision\\n status\\n error\\n filesCount\\n sizeBytes\\n size\\n spaMode\\n gitRepo\\n gitCommit\\n createdAt\\n }\\n\": types.DeploymentFieldsFragmentDoc,\n \"\\n query SdkWhoami {\\n whoami {\\n kind\\n userID\\n name\\n agentID\\n agentName\\n claimed\\n claimedBy\\n scopes\\n expiresAt\\n usage {\\n month\\n requests\\n limit\\n }\\n resources {\\n workspaces\\n workspaceLimit\\n services\\n serviceLimit\\n }\\n }\\n }\\n\": types.SdkWhoamiDocument,\n \"\\n mutation SdkCreateWorkspace($name: String!) {\\n createWorkspace(input: { name: $name }) {\\n workspace {\\n id\\n name\\n ownerId\\n projectId\\n createdAt\\n updatedAt\\n }\\n }\\n }\\n\": types.SdkCreateWorkspaceDocument,\n \"\\n query SdkListWorkspaces {\\n workspaces {\\n id\\n name\\n ownerId\\n projectId\\n createdAt\\n updatedAt\\n }\\n }\\n\": types.SdkListWorkspacesDocument,\n \"\\n mutation SdkDeleteWorkspace(\\n $workspaceID: ID!\\n $withDeployments: Boolean\\n $confirmAliases: [String!]\\n ) {\\n deleteWorkspace(\\n input: {\\n workspaceID: $workspaceID\\n withDeployments: $withDeployments\\n confirmAliases: $confirmAliases\\n }\\n ) {\\n ok\\n }\\n }\\n\": types.SdkDeleteWorkspaceDocument,\n \"\\n query SdkWorkspaceLiveApps($id: ID!) {\\n workspace(id: $id) {\\n id\\n liveApps {\\n alias\\n deploymentID\\n domains\\n }\\n }\\n }\\n\": types.SdkWorkspaceLiveAppsDocument,\n \"\\n mutation SdkDeleteApp($workspaceID: ID!, $alias: String!) {\\n deleteApp(input: { workspaceID: $workspaceID, alias: $alias }) {\\n ok\\n alias\\n deployments\\n domains\\n envEntries\\n skippedOnSync\\n otherApps\\n }\\n }\\n\": types.SdkDeleteAppDocument,\n \"\\n mutation SdkWriteTextFile($workspaceID: ID!, $path: String!, $text: String!) {\\n writeWorkspaceTextFile(input: { workspaceID: $workspaceID, path: $path, text: $text }) {\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n }\\n\": types.SdkWriteTextFileDocument,\n \"\\n mutation SdkWriteBase64File($workspaceID: ID!, $path: String!, $contentBase64: String!) {\\n writeWorkspaceBase64File(\\n input: { workspaceID: $workspaceID, path: $path, contentBase64: $contentBase64 }\\n ) {\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n }\\n\": types.SdkWriteBase64FileDocument,\n \"\\n fragment FileCommitFields on FileCommit {\\n sha\\n branch\\n message\\n committed\\n waiting\\n waitingCount\\n deploys\\n conflicts\\n writeSHA\\n paused\\n }\\n\": types.FileCommitFieldsFragmentDoc,\n \"\\n mutation SdkWriteFiles(\\n $workspaceID: ID!\\n $files: [WorkspaceFileWriteInput!]!\\n $commitMessage: String\\n ) {\\n writeWorkspaceFiles(\\n input: { workspaceID: $workspaceID, files: $files, commitMessage: $commitMessage }\\n ) {\\n workspaceID\\n written\\n failed\\n totalBytes\\n files {\\n path\\n ok\\n error\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n commit {\\n ...FileCommitFields\\n }\\n }\\n }\\n\": types.SdkWriteFilesDocument,\n \"\\n query SdkAppCommits($workspaceID: ID!, $limit: Int, $before: String) {\\n appCommits(workspaceID: $workspaceID, limit: $limit, before: $before) {\\n branch\\n head\\n nextBefore\\n autoDeploy\\n waitingCommits\\n waitingSince\\n commits {\\n sha\\n message\\n authorName\\n authorEmail\\n authoredAt\\n filesChanged\\n deployedTo\\n }\\n deployed {\\n alias\\n sha\\n deploymentID\\n }\\n }\\n }\\n\": types.SdkAppCommitsDocument,\n \"\\n query SdkAppCommitsWaiting($workspaceID: ID!) {\\n appCommits(workspaceID: $workspaceID, limit: 1) {\\n branch\\n head\\n waitingCommits\\n waitingSince\\n }\\n }\\n\": types.SdkAppCommitsWaitingDocument,\n \"\\n query SdkWorkspaceGitSource($id: ID!) {\\n workspace(id: $id) {\\n id\\n gitSource {\\n branch\\n autoDeploy\\n deployAlias\\n lastImportedCommit\\n lastImportedAt\\n lastImportStatus\\n lastImportError\\n }\\n }\\n }\\n\": types.SdkWorkspaceGitSourceDocument,\n \"\\n query SdkAppCommit($workspaceID: ID!, $sha: String!) {\\n appCommit(workspaceID: $workspaceID, sha: $sha) {\\n commit {\\n sha\\n message\\n authorName\\n authorEmail\\n authoredAt\\n filesChanged\\n deployedTo\\n }\\n files {\\n path\\n status\\n }\\n patch\\n truncated\\n additions\\n deletions\\n }\\n }\\n\": types.SdkAppCommitDocument,\n \"\\n mutation SdkRestoreVersion(\\n $workspaceID: ID!\\n $sha: String!\\n $expectedHead: String\\n $message: String\\n ) {\\n restoreAppVersion(\\n input: { workspaceID: $workspaceID, sha: $sha, expectedHead: $expectedHead, message: $message }\\n ) {\\n sha\\n committed\\n deploys\\n message\\n workspaceID\\n branch\\n deployAlias\\n restoredFrom\\n parent\\n waitAfter\\n }\\n }\\n\": types.SdkRestoreVersionDocument,\n \"\\n fragment AppErrorGroupFields on AppErrorGroup {\\n id\\n title\\n type\\n culprit\\n level\\n status\\n count\\n storedEvents\\n firstSeen\\n lastSeen\\n firstDeploymentID\\n firstGitCommit\\n lastDeploymentID\\n lastGitCommit\\n resolvedInDeploymentID\\n resolvedAt\\n mutedAt\\n regressedAt\\n }\\n\": types.AppErrorGroupFieldsFragmentDoc,\n \"\\n query SdkAppErrors(\\n $workspaceID: ID!\\n $alias: String!\\n $status: String\\n $limit: Int\\n $cursor: String\\n ) {\\n appErrors(\\n workspaceID: $workspaceID\\n alias: $alias\\n status: $status\\n limit: $limit\\n cursor: $cursor\\n ) {\\n groups {\\n ...AppErrorGroupFields\\n }\\n nextCursor\\n note\\n }\\n }\\n\": types.SdkAppErrorsDocument,\n \"\\n query SdkAppErrorGroup($workspaceID: ID!, $alias: String!, $groupID: ID!) {\\n appErrorGroup(workspaceID: $workspaceID, alias: $alias, groupID: $groupID) {\\n group {\\n ...AppErrorGroupFields\\n }\\n latestEvent\\n firstEvent {\\n eventID\\n at\\n deploymentID\\n level\\n }\\n recentEvents {\\n eventID\\n at\\n deploymentID\\n level\\n }\\n deployments {\\n deploymentID\\n gitCommit\\n current\\n count\\n firstSeen\\n lastSeen\\n }\\n fatal\\n vmID\\n }\\n }\\n\": types.SdkAppErrorGroupDocument,\n \"\\n mutation SdkResolveErrorGroup($input: AppErrorGroupInput!) {\\n resolveAppErrorGroup(input: $input) {\\n ...AppErrorGroupFields\\n }\\n }\\n\": types.SdkResolveErrorGroupDocument,\n \"\\n mutation SdkMuteErrorGroup($input: AppErrorGroupInput!) {\\n muteAppErrorGroup(input: $input) {\\n ...AppErrorGroupFields\\n }\\n }\\n\": types.SdkMuteErrorGroupDocument,\n \"\\n mutation SdkReopenErrorGroup($input: AppErrorGroupInput!) {\\n reopenAppErrorGroup(input: $input) {\\n ...AppErrorGroupFields\\n }\\n }\\n\": types.SdkReopenErrorGroupDocument,\n \"\\n query SdkEventTypes {\\n platformEventTypes {\\n name\\n description\\n delivery\\n inputSchema\\n payloadSchema\\n }\\n }\\n\": types.SdkEventTypesDocument,\n \"\\n query SdkPollEvents($input: PlatformEventsInput) {\\n pollEvents(input: $input) {\\n cursor\\n truncated\\n hasMore\\n nextPollMs\\n timedOut\\n events {\\n eventID\\n name\\n timestamp\\n data\\n }\\n }\\n }\\n\": types.SdkPollEventsDocument,\n \"\\n query SdkWaitForEvents($input: PlatformEventsInput, $timeoutSeconds: Int) {\\n waitForEvents(input: $input, timeoutSeconds: $timeoutSeconds) {\\n cursor\\n truncated\\n hasMore\\n nextPollMs\\n timedOut\\n events {\\n eventID\\n name\\n timestamp\\n data\\n }\\n }\\n }\\n\": types.SdkWaitForEventsDocument,\n \"\\n query SdkListFiles($input: ListWorkspaceFilesInput!) {\\n workspaceFilesPage(input: $input) {\\n items {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n total\\n limit\\n offset\\n hasMore\\n nextOffset\\n }\\n }\\n\": types.SdkListFilesDocument,\n \"\\n query SdkReadFile($input: ReadWorkspaceFileInput!) {\\n readWorkspaceFile(input: $input) {\\n text\\n offset\\n limit\\n totalBytes\\n truncated\\n nextOffset\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n }\\n\": types.SdkReadFileDocument,\n \"\\n mutation SdkDeleteFile($workspaceID: ID!, $path: String!) {\\n deleteWorkspaceFile(input: { workspaceID: $workspaceID, path: $path }) {\\n ok\\n }\\n }\\n\": types.SdkDeleteFileDocument,\n \"\\n mutation SdkCreateDeployment($input: CreateDeploymentInput!) {\\n createDeployment(input: $input) {\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\": types.SdkCreateDeploymentDocument,\n \"\\n mutation SdkDeployWorkspace($input: DeployWorkspaceInput!) {\\n deployWorkspace(input: $input) {\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\": types.SdkDeployWorkspaceDocument,\n \"\\n query SdkGetDeployment($id: ID!) {\\n deployment(id: $id) {\\n ...DeploymentFields\\n }\\n }\\n\": types.SdkGetDeploymentDocument,\n \"\\n query SdkPollDeployment($id: ID!) {\\n deployment(id: $id) {\\n id\\n status\\n error\\n aliasHeld\\n url\\n previewUrl\\n }\\n }\\n\": types.SdkPollDeploymentDocument,\n \"\\n query SdkGetDeploymentByAlias($alias: String!) {\\n deploymentByAlias(alias: $alias) {\\n ...DeploymentFields\\n }\\n }\\n\": types.SdkGetDeploymentByAliasDocument,\n \"\\n query SdkListDeployments($input: ListDeploymentsInput) {\\n deploymentsPage(input: $input) {\\n items {\\n ...DeploymentFields\\n }\\n total\\n limit\\n offset\\n hasMore\\n nextOffset\\n }\\n }\\n\": types.SdkListDeploymentsDocument,\n \"\\n query SdkListReleases($alias: String!) {\\n deploymentReleases(alias: $alias) {\\n ...DeploymentFields\\n }\\n }\\n\": types.SdkListReleasesDocument,\n \"\\n mutation SdkRollback(\\n $deploymentID: ID!\\n $expectedCurrentDeploymentID: ID!\\n $expectedCurrentAliasRevision: String!\\n ) {\\n rollbackDeployment(\\n input: {\\n deploymentID: $deploymentID\\n expectedCurrentDeploymentID: $expectedCurrentDeploymentID\\n expectedCurrentAliasRevision: $expectedCurrentAliasRevision\\n }\\n ) {\\n ...DeploymentFields\\n }\\n }\\n\": types.SdkRollbackDocument,\n \"\\n query SdkServiceStatus($deploymentID: ID!) {\\n serviceStatus(deploymentID: $deploymentID) {\\n deploymentID\\n alias\\n serviceMode\\n running\\n health\\n vmID\\n inFlight\\n alwaysOn\\n memSizeMiB\\n startedAt\\n lastUsedAt\\n lastStoppedAt\\n restartCount\\n lastError\\n }\\n }\\n\": types.SdkServiceStatusDocument,\n \"\\n query SdkServiceLogs($deploymentID: ID!, $tailBytes: Int) {\\n serviceLogs(deploymentID: $deploymentID, tailBytes: $tailBytes) {\\n deploymentID\\n stdout\\n stderr\\n truncated\\n stdoutBytes\\n stderrBytes\\n tailBytes\\n }\\n }\\n\": types.SdkServiceLogsDocument,\n \"\\n fragment DeploymentTimingsFields on DeploymentTimings {\\n totalMs\\n buildMs\\n promoteMs\\n phases\\n buildMode\\n artifactTransport\\n buildMemoryMiB\\n }\\n\": types.DeploymentTimingsFieldsFragmentDoc,\n \"\\n query SdkDeploymentEvents($deploymentID: ID!, $limit: Int) {\\n deploymentEvents(deploymentID: $deploymentID, limit: $limit) {\\n id\\n deploymentID\\n type\\n rawType\\n severity\\n message\\n vmID\\n metadata\\n timings {\\n ...DeploymentTimingsFields\\n }\\n createdAt\\n }\\n }\\n\": types.SdkDeploymentEventsDocument,\n \"\\n query SdkDeploymentTimings($id: ID!) {\\n deployment(id: $id) {\\n id\\n timings {\\n ...DeploymentTimingsFields\\n }\\n }\\n }\\n\": types.SdkDeploymentTimingsDocument,\n \"\\n query SdkWaitForDeployment($id: ID!, $timeoutSeconds: Int) {\\n waitForDeployment(id: $id, timeoutSeconds: $timeoutSeconds) {\\n timedOut\\n waitedMs\\n placement\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\": types.SdkWaitForDeploymentDocument,\n \"\\n query SdkWaitForCommitDeployment(\\n $workspaceID: ID!\\n $gitCommit: String!\\n $alias: String\\n $after: Int\\n $timeoutSeconds: Int\\n ) {\\n waitForDeployment(\\n workspaceID: $workspaceID\\n gitCommit: $gitCommit\\n alias: $alias\\n after: $after\\n timeoutSeconds: $timeoutSeconds\\n ) {\\n status\\n importStatus\\n importError\\n timedOut\\n waitedMs\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\": types.SdkWaitForCommitDeploymentDocument,\n \"\\n mutation SdkRestartService($deploymentID: ID!) {\\n restartService(input: { deploymentID: $deploymentID }) {\\n deploymentID\\n running\\n health\\n vmID\\n restartCount\\n lastError\\n }\\n }\\n\": types.SdkRestartServiceDocument,\n \"\\n mutation SdkStopService($deploymentID: ID!) {\\n stopService(input: { deploymentID: $deploymentID }) {\\n deploymentID\\n running\\n health\\n vmID\\n restartCount\\n lastError\\n }\\n }\\n\": types.SdkStopServiceDocument,\n \"\\n mutation SdkDeleteDeployment($deploymentID: ID!) {\\n deleteDeployment(input: { deploymentID: $deploymentID }) {\\n ok\\n }\\n }\\n\": types.SdkDeleteDeploymentDocument,\n \"\\n mutation SdkSetWorkspaceEnv($workspaceID: ID!, $name: String!, $value: String!) {\\n setWorkspaceEnv(input: { workspaceID: $workspaceID, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\": types.SdkSetWorkspaceEnvDocument,\n \"\\n mutation SdkSetWorkspaceSecret($workspaceID: ID!, $name: String!, $value: String!) {\\n setWorkspaceSecret(input: { workspaceID: $workspaceID, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\": types.SdkSetWorkspaceSecretDocument,\n \"\\n mutation SdkDeleteWorkspaceEnv($workspaceID: ID!, $name: String!) {\\n deleteWorkspaceEnv(input: { workspaceID: $workspaceID, name: $name }) {\\n ok\\n }\\n }\\n\": types.SdkDeleteWorkspaceEnvDocument,\n \"\\n query SdkListWorkspaceEnv($workspaceID: ID!) {\\n workspaceEnv(workspaceID: $workspaceID) {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n\": types.SdkListWorkspaceEnvDocument,\n \"\\n mutation SdkSetAppEnv($workspaceID: ID!, $alias: String!, $name: String!, $value: String!) {\\n setAppEnv(input: { workspaceID: $workspaceID, alias: $alias, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\": types.SdkSetAppEnvDocument,\n \"\\n mutation SdkSetAppSecret($workspaceID: ID!, $alias: String!, $name: String!, $value: String!) {\\n setAppSecret(input: { workspaceID: $workspaceID, alias: $alias, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\": types.SdkSetAppSecretDocument,\n \"\\n mutation SdkRemoveAppEnv($workspaceID: ID!, $alias: String!, $name: String!) {\\n removeAppEnv(input: { workspaceID: $workspaceID, alias: $alias, name: $name }) {\\n ok\\n }\\n }\\n\": types.SdkRemoveAppEnvDocument,\n \"\\n mutation SdkInheritAppEnv($workspaceID: ID!, $alias: String!, $name: String!) {\\n inheritAppEnv(input: { workspaceID: $workspaceID, alias: $alias, name: $name }) {\\n ok\\n }\\n }\\n\": types.SdkInheritAppEnvDocument,\n \"\\n query SdkListAppEnv($workspaceID: ID!, $alias: String!) {\\n appEnv(workspaceID: $workspaceID, alias: $alias) {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n\": types.SdkListAppEnvDocument,\n \"\\n fragment RunFields on Run {\\n id\\n workspaceID\\n ownerId\\n status\\n rawStatus\\n command\\n harness\\n prompt\\n setup\\n skills\\n verify\\n approval\\n mode\\n access\\n alias\\n integrations {\\n kind\\n bindingID\\n env\\n skills\\n mcpServers {\\n name\\n transport\\n readOnly\\n }\\n }\\n parentRunID\\n depth\\n question {\\n id\\n text\\n options\\n askedAt\\n }\\n memoryMiB\\n maxSeconds\\n metadata\\n error\\n exitCode\\n result {\\n status\\n detail\\n text\\n }\\n verifyExitCode\\n vmID\\n transcriptAvailable\\n usage {\\n vmSeconds\\n memoryMiB\\n mibSeconds\\n }\\n createdAt\\n startedAt\\n settledAt\\n }\\n\": types.RunFieldsFragmentDoc,\n \"\\n mutation SdkCreateRun($input: CreateRunInput!) {\\n createRun(input: $input) {\\n ...RunFields\\n }\\n }\\n\": types.SdkCreateRunDocument,\n \"\\n query SdkGetRun($id: ID!) {\\n run(id: $id) {\\n ...RunFields\\n }\\n }\\n\": types.SdkGetRunDocument,\n \"\\n query SdkPollRun($id: ID!) {\\n run(id: $id) {\\n id\\n status\\n error\\n exitCode\\n }\\n }\\n\": types.SdkPollRunDocument,\n \"\\n query SdkListRuns($input: ListRunsInput) {\\n runs(input: $input) {\\n items {\\n ...RunFields\\n }\\n total\\n limit\\n offset\\n hasMore\\n nextOffset\\n }\\n }\\n\": types.SdkListRunsDocument,\n \"\\n mutation SdkCancelRun($id: ID!) {\\n cancelRun(id: $id) {\\n ...RunFields\\n }\\n }\\n\": types.SdkCancelRunDocument,\n \"\\n query SdkRunEvents($runID: ID!, $limit: Int) {\\n runEvents(runID: $runID, limit: $limit) {\\n id\\n runID\\n type\\n severity\\n message\\n metadata\\n createdAt\\n }\\n }\\n\": types.SdkRunEventsDocument,\n \"\\n query SdkRunConsole($id: ID!, $tailBytes: Int) {\\n runConsole(id: $id, tailBytes: $tailBytes) {\\n runID\\n running\\n text\\n }\\n }\\n\": types.SdkRunConsoleDocument,\n \"\\n query SdkRunTranscript($id: ID!, $tailBytes: Int) {\\n runTranscript(id: $id, tailBytes: $tailBytes) {\\n runID\\n available\\n text\\n totalBytes\\n truncated\\n }\\n }\\n\": types.SdkRunTranscriptDocument,\n \"\\n mutation SdkAnswerRun($id: ID!, $answer: String!) {\\n answerRun(id: $id, answer: $answer) {\\n ...RunFields\\n }\\n }\\n\": types.SdkAnswerRunDocument,\n \"\\n mutation SdkFollowUpRun($input: FollowUpRunInput!) {\\n followUpRun(input: $input) {\\n ...RunFields\\n }\\n }\\n\": types.SdkFollowUpRunDocument,\n \"\\n query SdkRunHarnesses {\\n runHarnesses {\\n name\\n title\\n summary\\n requires\\n }\\n }\\n\": types.SdkRunHarnessesDocument,\n};\n\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n fragment DeploymentFields on Deployment {\\n id\\n workspaceID\\n kind\\n runtime\\n alias\\n serviceMode\\n healthPath\\n cronSchedule\\n cronPath\\n url\\n previewUrl\\n sshCommand\\n aliasHeld\\n aliasRevision\\n status\\n error\\n filesCount\\n sizeBytes\\n size\\n spaMode\\n gitRepo\\n gitCommit\\n createdAt\\n }\\n\"): typeof import('./graphql.js').DeploymentFieldsFragmentDoc;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkWhoami {\\n whoami {\\n kind\\n userID\\n name\\n agentID\\n agentName\\n claimed\\n claimedBy\\n scopes\\n expiresAt\\n usage {\\n month\\n requests\\n limit\\n }\\n resources {\\n workspaces\\n workspaceLimit\\n services\\n serviceLimit\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkWhoamiDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkCreateWorkspace($name: String!) {\\n createWorkspace(input: { name: $name }) {\\n workspace {\\n id\\n name\\n ownerId\\n projectId\\n createdAt\\n updatedAt\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkCreateWorkspaceDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkListWorkspaces {\\n workspaces {\\n id\\n name\\n ownerId\\n projectId\\n createdAt\\n updatedAt\\n }\\n }\\n\"): typeof import('./graphql.js').SdkListWorkspacesDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkDeleteWorkspace(\\n $workspaceID: ID!\\n $withDeployments: Boolean\\n $confirmAliases: [String!]\\n ) {\\n deleteWorkspace(\\n input: {\\n workspaceID: $workspaceID\\n withDeployments: $withDeployments\\n confirmAliases: $confirmAliases\\n }\\n ) {\\n ok\\n }\\n }\\n\"): typeof import('./graphql.js').SdkDeleteWorkspaceDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkWorkspaceLiveApps($id: ID!) {\\n workspace(id: $id) {\\n id\\n liveApps {\\n alias\\n deploymentID\\n domains\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkWorkspaceLiveAppsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkDeleteApp($workspaceID: ID!, $alias: String!) {\\n deleteApp(input: { workspaceID: $workspaceID, alias: $alias }) {\\n ok\\n alias\\n deployments\\n domains\\n envEntries\\n skippedOnSync\\n otherApps\\n }\\n }\\n\"): typeof import('./graphql.js').SdkDeleteAppDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkWriteTextFile($workspaceID: ID!, $path: String!, $text: String!) {\\n writeWorkspaceTextFile(input: { workspaceID: $workspaceID, path: $path, text: $text }) {\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkWriteTextFileDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkWriteBase64File($workspaceID: ID!, $path: String!, $contentBase64: String!) {\\n writeWorkspaceBase64File(\\n input: { workspaceID: $workspaceID, path: $path, contentBase64: $contentBase64 }\\n ) {\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkWriteBase64FileDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n fragment FileCommitFields on FileCommit {\\n sha\\n branch\\n message\\n committed\\n waiting\\n waitingCount\\n deploys\\n conflicts\\n writeSHA\\n paused\\n }\\n\"): typeof import('./graphql.js').FileCommitFieldsFragmentDoc;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkWriteFiles(\\n $workspaceID: ID!\\n $files: [WorkspaceFileWriteInput!]!\\n $commitMessage: String\\n ) {\\n writeWorkspaceFiles(\\n input: { workspaceID: $workspaceID, files: $files, commitMessage: $commitMessage }\\n ) {\\n workspaceID\\n written\\n failed\\n totalBytes\\n files {\\n path\\n ok\\n error\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n commit {\\n ...FileCommitFields\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkWriteFilesDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkAppCommits($workspaceID: ID!, $limit: Int, $before: String) {\\n appCommits(workspaceID: $workspaceID, limit: $limit, before: $before) {\\n branch\\n head\\n nextBefore\\n autoDeploy\\n waitingCommits\\n waitingSince\\n commits {\\n sha\\n message\\n authorName\\n authorEmail\\n authoredAt\\n filesChanged\\n deployedTo\\n }\\n deployed {\\n alias\\n sha\\n deploymentID\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkAppCommitsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkAppCommitsWaiting($workspaceID: ID!) {\\n appCommits(workspaceID: $workspaceID, limit: 1) {\\n branch\\n head\\n waitingCommits\\n waitingSince\\n }\\n }\\n\"): typeof import('./graphql.js').SdkAppCommitsWaitingDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkWorkspaceGitSource($id: ID!) {\\n workspace(id: $id) {\\n id\\n gitSource {\\n branch\\n autoDeploy\\n deployAlias\\n lastImportedCommit\\n lastImportedAt\\n lastImportStatus\\n lastImportError\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkWorkspaceGitSourceDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkAppCommit($workspaceID: ID!, $sha: String!) {\\n appCommit(workspaceID: $workspaceID, sha: $sha) {\\n commit {\\n sha\\n message\\n authorName\\n authorEmail\\n authoredAt\\n filesChanged\\n deployedTo\\n }\\n files {\\n path\\n status\\n }\\n patch\\n truncated\\n additions\\n deletions\\n }\\n }\\n\"): typeof import('./graphql.js').SdkAppCommitDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkRestoreVersion(\\n $workspaceID: ID!\\n $sha: String!\\n $expectedHead: String\\n $message: String\\n ) {\\n restoreAppVersion(\\n input: { workspaceID: $workspaceID, sha: $sha, expectedHead: $expectedHead, message: $message }\\n ) {\\n sha\\n committed\\n deploys\\n message\\n workspaceID\\n branch\\n deployAlias\\n restoredFrom\\n parent\\n waitAfter\\n }\\n }\\n\"): typeof import('./graphql.js').SdkRestoreVersionDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n fragment AppErrorGroupFields on AppErrorGroup {\\n id\\n title\\n type\\n culprit\\n level\\n status\\n count\\n storedEvents\\n firstSeen\\n lastSeen\\n firstDeploymentID\\n firstGitCommit\\n lastDeploymentID\\n lastGitCommit\\n resolvedInDeploymentID\\n resolvedAt\\n mutedAt\\n regressedAt\\n }\\n\"): typeof import('./graphql.js').AppErrorGroupFieldsFragmentDoc;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkAppErrors(\\n $workspaceID: ID!\\n $alias: String!\\n $status: String\\n $limit: Int\\n $cursor: String\\n ) {\\n appErrors(\\n workspaceID: $workspaceID\\n alias: $alias\\n status: $status\\n limit: $limit\\n cursor: $cursor\\n ) {\\n groups {\\n ...AppErrorGroupFields\\n }\\n nextCursor\\n note\\n }\\n }\\n\"): typeof import('./graphql.js').SdkAppErrorsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkAppErrorGroup($workspaceID: ID!, $alias: String!, $groupID: ID!) {\\n appErrorGroup(workspaceID: $workspaceID, alias: $alias, groupID: $groupID) {\\n group {\\n ...AppErrorGroupFields\\n }\\n latestEvent\\n firstEvent {\\n eventID\\n at\\n deploymentID\\n level\\n }\\n recentEvents {\\n eventID\\n at\\n deploymentID\\n level\\n }\\n deployments {\\n deploymentID\\n gitCommit\\n current\\n count\\n firstSeen\\n lastSeen\\n }\\n fatal\\n vmID\\n }\\n }\\n\"): typeof import('./graphql.js').SdkAppErrorGroupDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkResolveErrorGroup($input: AppErrorGroupInput!) {\\n resolveAppErrorGroup(input: $input) {\\n ...AppErrorGroupFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkResolveErrorGroupDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkMuteErrorGroup($input: AppErrorGroupInput!) {\\n muteAppErrorGroup(input: $input) {\\n ...AppErrorGroupFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkMuteErrorGroupDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkReopenErrorGroup($input: AppErrorGroupInput!) {\\n reopenAppErrorGroup(input: $input) {\\n ...AppErrorGroupFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkReopenErrorGroupDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkEventTypes {\\n platformEventTypes {\\n name\\n description\\n delivery\\n inputSchema\\n payloadSchema\\n }\\n }\\n\"): typeof import('./graphql.js').SdkEventTypesDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkPollEvents($input: PlatformEventsInput) {\\n pollEvents(input: $input) {\\n cursor\\n truncated\\n hasMore\\n nextPollMs\\n timedOut\\n events {\\n eventID\\n name\\n timestamp\\n data\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkPollEventsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkWaitForEvents($input: PlatformEventsInput, $timeoutSeconds: Int) {\\n waitForEvents(input: $input, timeoutSeconds: $timeoutSeconds) {\\n cursor\\n truncated\\n hasMore\\n nextPollMs\\n timedOut\\n events {\\n eventID\\n name\\n timestamp\\n data\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkWaitForEventsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkListFiles($input: ListWorkspaceFilesInput!) {\\n workspaceFilesPage(input: $input) {\\n items {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n total\\n limit\\n offset\\n hasMore\\n nextOffset\\n }\\n }\\n\"): typeof import('./graphql.js').SdkListFilesDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkReadFile($input: ReadWorkspaceFileInput!) {\\n readWorkspaceFile(input: $input) {\\n text\\n offset\\n limit\\n totalBytes\\n truncated\\n nextOffset\\n file {\\n path\\n sizeBytes\\n size\\n sha256\\n updatedAt\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkReadFileDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkDeleteFile($workspaceID: ID!, $path: String!) {\\n deleteWorkspaceFile(input: { workspaceID: $workspaceID, path: $path }) {\\n ok\\n }\\n }\\n\"): typeof import('./graphql.js').SdkDeleteFileDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkCreateDeployment($input: CreateDeploymentInput!) {\\n createDeployment(input: $input) {\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkCreateDeploymentDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkDeployWorkspace($input: DeployWorkspaceInput!) {\\n deployWorkspace(input: $input) {\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkDeployWorkspaceDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkGetDeployment($id: ID!) {\\n deployment(id: $id) {\\n ...DeploymentFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkGetDeploymentDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkPollDeployment($id: ID!) {\\n deployment(id: $id) {\\n id\\n status\\n error\\n aliasHeld\\n url\\n previewUrl\\n }\\n }\\n\"): typeof import('./graphql.js').SdkPollDeploymentDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkGetDeploymentByAlias($alias: String!) {\\n deploymentByAlias(alias: $alias) {\\n ...DeploymentFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkGetDeploymentByAliasDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkListDeployments($input: ListDeploymentsInput) {\\n deploymentsPage(input: $input) {\\n items {\\n ...DeploymentFields\\n }\\n total\\n limit\\n offset\\n hasMore\\n nextOffset\\n }\\n }\\n\"): typeof import('./graphql.js').SdkListDeploymentsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkListReleases($alias: String!) {\\n deploymentReleases(alias: $alias) {\\n ...DeploymentFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkListReleasesDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkRollback(\\n $deploymentID: ID!\\n $expectedCurrentDeploymentID: ID!\\n $expectedCurrentAliasRevision: String!\\n ) {\\n rollbackDeployment(\\n input: {\\n deploymentID: $deploymentID\\n expectedCurrentDeploymentID: $expectedCurrentDeploymentID\\n expectedCurrentAliasRevision: $expectedCurrentAliasRevision\\n }\\n ) {\\n ...DeploymentFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkRollbackDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkServiceStatus($deploymentID: ID!) {\\n serviceStatus(deploymentID: $deploymentID) {\\n deploymentID\\n alias\\n serviceMode\\n running\\n health\\n vmID\\n inFlight\\n alwaysOn\\n memSizeMiB\\n startedAt\\n lastUsedAt\\n lastStoppedAt\\n restartCount\\n lastError\\n }\\n }\\n\"): typeof import('./graphql.js').SdkServiceStatusDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkServiceLogs($deploymentID: ID!, $tailBytes: Int) {\\n serviceLogs(deploymentID: $deploymentID, tailBytes: $tailBytes) {\\n deploymentID\\n stdout\\n stderr\\n truncated\\n stdoutBytes\\n stderrBytes\\n tailBytes\\n }\\n }\\n\"): typeof import('./graphql.js').SdkServiceLogsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n fragment DeploymentTimingsFields on DeploymentTimings {\\n totalMs\\n buildMs\\n promoteMs\\n phases\\n buildMode\\n artifactTransport\\n buildMemoryMiB\\n }\\n\"): typeof import('./graphql.js').DeploymentTimingsFieldsFragmentDoc;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkDeploymentEvents($deploymentID: ID!, $limit: Int) {\\n deploymentEvents(deploymentID: $deploymentID, limit: $limit) {\\n id\\n deploymentID\\n type\\n rawType\\n severity\\n message\\n vmID\\n metadata\\n timings {\\n ...DeploymentTimingsFields\\n }\\n createdAt\\n }\\n }\\n\"): typeof import('./graphql.js').SdkDeploymentEventsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkDeploymentTimings($id: ID!) {\\n deployment(id: $id) {\\n id\\n timings {\\n ...DeploymentTimingsFields\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkDeploymentTimingsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkWaitForDeployment($id: ID!, $timeoutSeconds: Int) {\\n waitForDeployment(id: $id, timeoutSeconds: $timeoutSeconds) {\\n timedOut\\n waitedMs\\n placement\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkWaitForDeploymentDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkWaitForCommitDeployment(\\n $workspaceID: ID!\\n $gitCommit: String!\\n $alias: String\\n $after: Int\\n $timeoutSeconds: Int\\n ) {\\n waitForDeployment(\\n workspaceID: $workspaceID\\n gitCommit: $gitCommit\\n alias: $alias\\n after: $after\\n timeoutSeconds: $timeoutSeconds\\n ) {\\n status\\n importStatus\\n importError\\n timedOut\\n waitedMs\\n deployment {\\n ...DeploymentFields\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkWaitForCommitDeploymentDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkRestartService($deploymentID: ID!) {\\n restartService(input: { deploymentID: $deploymentID }) {\\n deploymentID\\n running\\n health\\n vmID\\n restartCount\\n lastError\\n }\\n }\\n\"): typeof import('./graphql.js').SdkRestartServiceDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkStopService($deploymentID: ID!) {\\n stopService(input: { deploymentID: $deploymentID }) {\\n deploymentID\\n running\\n health\\n vmID\\n restartCount\\n lastError\\n }\\n }\\n\"): typeof import('./graphql.js').SdkStopServiceDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkDeleteDeployment($deploymentID: ID!) {\\n deleteDeployment(input: { deploymentID: $deploymentID }) {\\n ok\\n }\\n }\\n\"): typeof import('./graphql.js').SdkDeleteDeploymentDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkSetWorkspaceEnv($workspaceID: ID!, $name: String!, $value: String!) {\\n setWorkspaceEnv(input: { workspaceID: $workspaceID, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkSetWorkspaceEnvDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkSetWorkspaceSecret($workspaceID: ID!, $name: String!, $value: String!) {\\n setWorkspaceSecret(input: { workspaceID: $workspaceID, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkSetWorkspaceSecretDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkDeleteWorkspaceEnv($workspaceID: ID!, $name: String!) {\\n deleteWorkspaceEnv(input: { workspaceID: $workspaceID, name: $name }) {\\n ok\\n }\\n }\\n\"): typeof import('./graphql.js').SdkDeleteWorkspaceEnvDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkListWorkspaceEnv($workspaceID: ID!) {\\n workspaceEnv(workspaceID: $workspaceID) {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n\"): typeof import('./graphql.js').SdkListWorkspaceEnvDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkSetAppEnv($workspaceID: ID!, $alias: String!, $name: String!, $value: String!) {\\n setAppEnv(input: { workspaceID: $workspaceID, alias: $alias, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkSetAppEnvDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkSetAppSecret($workspaceID: ID!, $alias: String!, $name: String!, $value: String!) {\\n setAppSecret(input: { workspaceID: $workspaceID, alias: $alias, name: $name, value: $value }) {\\n env {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n }\\n\"): typeof import('./graphql.js').SdkSetAppSecretDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkRemoveAppEnv($workspaceID: ID!, $alias: String!, $name: String!) {\\n removeAppEnv(input: { workspaceID: $workspaceID, alias: $alias, name: $name }) {\\n ok\\n }\\n }\\n\"): typeof import('./graphql.js').SdkRemoveAppEnvDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkInheritAppEnv($workspaceID: ID!, $alias: String!, $name: String!) {\\n inheritAppEnv(input: { workspaceID: $workspaceID, alias: $alias, name: $name }) {\\n ok\\n }\\n }\\n\"): typeof import('./graphql.js').SdkInheritAppEnvDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkListAppEnv($workspaceID: ID!, $alias: String!) {\\n appEnv(workspaceID: $workspaceID, alias: $alias) {\\n name\\n value\\n secret\\n alias\\n inherited\\n masked\\n updatedAt\\n }\\n }\\n\"): typeof import('./graphql.js').SdkListAppEnvDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n fragment RunFields on Run {\\n id\\n workspaceID\\n ownerId\\n status\\n rawStatus\\n command\\n harness\\n prompt\\n setup\\n skills\\n verify\\n approval\\n mode\\n access\\n alias\\n integrations {\\n kind\\n bindingID\\n env\\n skills\\n mcpServers {\\n name\\n transport\\n readOnly\\n }\\n }\\n parentRunID\\n depth\\n question {\\n id\\n text\\n options\\n askedAt\\n }\\n memoryMiB\\n maxSeconds\\n metadata\\n error\\n exitCode\\n result {\\n status\\n detail\\n text\\n }\\n verifyExitCode\\n vmID\\n transcriptAvailable\\n usage {\\n vmSeconds\\n memoryMiB\\n mibSeconds\\n }\\n createdAt\\n startedAt\\n settledAt\\n }\\n\"): typeof import('./graphql.js').RunFieldsFragmentDoc;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkCreateRun($input: CreateRunInput!) {\\n createRun(input: $input) {\\n ...RunFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkCreateRunDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkGetRun($id: ID!) {\\n run(id: $id) {\\n ...RunFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkGetRunDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkPollRun($id: ID!) {\\n run(id: $id) {\\n id\\n status\\n error\\n exitCode\\n }\\n }\\n\"): typeof import('./graphql.js').SdkPollRunDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkListRuns($input: ListRunsInput) {\\n runs(input: $input) {\\n items {\\n ...RunFields\\n }\\n total\\n limit\\n offset\\n hasMore\\n nextOffset\\n }\\n }\\n\"): typeof import('./graphql.js').SdkListRunsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkCancelRun($id: ID!) {\\n cancelRun(id: $id) {\\n ...RunFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkCancelRunDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkRunEvents($runID: ID!, $limit: Int) {\\n runEvents(runID: $runID, limit: $limit) {\\n id\\n runID\\n type\\n severity\\n message\\n metadata\\n createdAt\\n }\\n }\\n\"): typeof import('./graphql.js').SdkRunEventsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkRunConsole($id: ID!, $tailBytes: Int) {\\n runConsole(id: $id, tailBytes: $tailBytes) {\\n runID\\n running\\n text\\n }\\n }\\n\"): typeof import('./graphql.js').SdkRunConsoleDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkRunTranscript($id: ID!, $tailBytes: Int) {\\n runTranscript(id: $id, tailBytes: $tailBytes) {\\n runID\\n available\\n text\\n totalBytes\\n truncated\\n }\\n }\\n\"): typeof import('./graphql.js').SdkRunTranscriptDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkAnswerRun($id: ID!, $answer: String!) {\\n answerRun(id: $id, answer: $answer) {\\n ...RunFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkAnswerRunDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n mutation SdkFollowUpRun($input: FollowUpRunInput!) {\\n followUpRun(input: $input) {\\n ...RunFields\\n }\\n }\\n\"): typeof import('./graphql.js').SdkFollowUpRunDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n query SdkRunHarnesses {\\n runHarnesses {\\n name\\n title\\n summary\\n requires\\n }\\n }\\n\"): typeof import('./graphql.js').SdkRunHarnessesDocument;\n\n\nexport function graphql(source: string) {\n return (documents as any)[source] ?? {};\n}\n"]}
|
|
@@ -481,10 +481,12 @@ export type SdkRestoreVersionMutation = {
|
|
|
481
481
|
committed: boolean;
|
|
482
482
|
deploys: boolean;
|
|
483
483
|
message: string;
|
|
484
|
+
workspaceID: string;
|
|
484
485
|
branch: string;
|
|
485
486
|
deployAlias: string | null;
|
|
486
487
|
restoredFrom: string;
|
|
487
488
|
parent: string | null;
|
|
489
|
+
waitAfter: number;
|
|
488
490
|
};
|
|
489
491
|
};
|
|
490
492
|
export type AppErrorGroupFieldsFragment = {
|
|
@@ -1036,6 +1038,15 @@ export type SdkServiceLogsQuery = {
|
|
|
1036
1038
|
tailBytes: number;
|
|
1037
1039
|
};
|
|
1038
1040
|
};
|
|
1041
|
+
export type DeploymentTimingsFieldsFragment = {
|
|
1042
|
+
totalMs: number | null;
|
|
1043
|
+
buildMs: number | null;
|
|
1044
|
+
promoteMs: number | null;
|
|
1045
|
+
phases: unknown;
|
|
1046
|
+
buildMode: string | null;
|
|
1047
|
+
artifactTransport: string | null;
|
|
1048
|
+
buildMemoryMiB: number | null;
|
|
1049
|
+
};
|
|
1039
1050
|
export type SdkDeploymentEventsQueryVariables = Exact<{
|
|
1040
1051
|
deploymentID: string | number;
|
|
1041
1052
|
limit?: number | null | undefined;
|
|
@@ -1051,8 +1062,34 @@ export type SdkDeploymentEventsQuery = {
|
|
|
1051
1062
|
vmID: string | null;
|
|
1052
1063
|
metadata: unknown;
|
|
1053
1064
|
createdAt: string;
|
|
1065
|
+
timings: {
|
|
1066
|
+
totalMs: number | null;
|
|
1067
|
+
buildMs: number | null;
|
|
1068
|
+
promoteMs: number | null;
|
|
1069
|
+
phases: unknown;
|
|
1070
|
+
buildMode: string | null;
|
|
1071
|
+
artifactTransport: string | null;
|
|
1072
|
+
buildMemoryMiB: number | null;
|
|
1073
|
+
} | null;
|
|
1054
1074
|
}>;
|
|
1055
1075
|
};
|
|
1076
|
+
export type SdkDeploymentTimingsQueryVariables = Exact<{
|
|
1077
|
+
id: string | number;
|
|
1078
|
+
}>;
|
|
1079
|
+
export type SdkDeploymentTimingsQuery = {
|
|
1080
|
+
deployment: {
|
|
1081
|
+
id: string;
|
|
1082
|
+
timings: {
|
|
1083
|
+
totalMs: number | null;
|
|
1084
|
+
buildMs: number | null;
|
|
1085
|
+
promoteMs: number | null;
|
|
1086
|
+
phases: unknown;
|
|
1087
|
+
buildMode: string | null;
|
|
1088
|
+
artifactTransport: string | null;
|
|
1089
|
+
buildMemoryMiB: number | null;
|
|
1090
|
+
} | null;
|
|
1091
|
+
} | null;
|
|
1092
|
+
};
|
|
1056
1093
|
export type SdkWaitForDeploymentQueryVariables = Exact<{
|
|
1057
1094
|
id: string | number;
|
|
1058
1095
|
timeoutSeconds?: number | null | undefined;
|
|
@@ -1086,7 +1123,48 @@ export type SdkWaitForDeploymentQuery = {
|
|
|
1086
1123
|
gitRepo: string | null;
|
|
1087
1124
|
gitCommit: string | null;
|
|
1088
1125
|
createdAt: string;
|
|
1089
|
-
};
|
|
1126
|
+
} | null;
|
|
1127
|
+
};
|
|
1128
|
+
};
|
|
1129
|
+
export type SdkWaitForCommitDeploymentQueryVariables = Exact<{
|
|
1130
|
+
workspaceID: string | number;
|
|
1131
|
+
gitCommit: string;
|
|
1132
|
+
alias?: string | null | undefined;
|
|
1133
|
+
after?: number | null | undefined;
|
|
1134
|
+
timeoutSeconds?: number | null | undefined;
|
|
1135
|
+
}>;
|
|
1136
|
+
export type SdkWaitForCommitDeploymentQuery = {
|
|
1137
|
+
waitForDeployment: {
|
|
1138
|
+
status: string;
|
|
1139
|
+
importStatus: string | null;
|
|
1140
|
+
importError: string | null;
|
|
1141
|
+
timedOut: boolean;
|
|
1142
|
+
waitedMs: number;
|
|
1143
|
+
deployment: {
|
|
1144
|
+
id: string;
|
|
1145
|
+
workspaceID: string;
|
|
1146
|
+
kind: DeploymentKind;
|
|
1147
|
+
runtime: ServiceRuntime | null;
|
|
1148
|
+
alias: string | null;
|
|
1149
|
+
serviceMode: ServiceMode;
|
|
1150
|
+
healthPath: string | null;
|
|
1151
|
+
cronSchedule: string | null;
|
|
1152
|
+
cronPath: string | null;
|
|
1153
|
+
url: string;
|
|
1154
|
+
previewUrl: string;
|
|
1155
|
+
sshCommand: string | null;
|
|
1156
|
+
aliasHeld: boolean;
|
|
1157
|
+
aliasRevision: string;
|
|
1158
|
+
status: DeploymentStatus;
|
|
1159
|
+
error: string | null;
|
|
1160
|
+
filesCount: number;
|
|
1161
|
+
sizeBytes: number;
|
|
1162
|
+
size: string;
|
|
1163
|
+
spaMode: boolean;
|
|
1164
|
+
gitRepo: string | null;
|
|
1165
|
+
gitCommit: string | null;
|
|
1166
|
+
createdAt: string;
|
|
1167
|
+
} | null;
|
|
1090
1168
|
};
|
|
1091
1169
|
};
|
|
1092
1170
|
export type SdkRestartServiceMutationVariables = Exact<{
|
|
@@ -1763,6 +1841,7 @@ export declare class TypedDocumentString<TResult, TVariables> extends String imp
|
|
|
1763
1841
|
export declare const DeploymentFieldsFragmentDoc: TypedDocumentString<DeploymentFieldsFragment, unknown>;
|
|
1764
1842
|
export declare const FileCommitFieldsFragmentDoc: TypedDocumentString<FileCommitFieldsFragment, unknown>;
|
|
1765
1843
|
export declare const AppErrorGroupFieldsFragmentDoc: TypedDocumentString<AppErrorGroupFieldsFragment, unknown>;
|
|
1844
|
+
export declare const DeploymentTimingsFieldsFragmentDoc: TypedDocumentString<DeploymentTimingsFieldsFragment, unknown>;
|
|
1766
1845
|
export declare const RunFieldsFragmentDoc: TypedDocumentString<RunFieldsFragment, unknown>;
|
|
1767
1846
|
export declare const SdkWhoamiDocument: TypedDocumentString<SdkWhoamiQuery, SdkWhoamiQueryVariables>;
|
|
1768
1847
|
export declare const SdkCreateWorkspaceDocument: TypedDocumentString<SdkCreateWorkspaceMutation, SdkCreateWorkspaceMutationVariables>;
|
|
@@ -1800,7 +1879,9 @@ export declare const SdkRollbackDocument: TypedDocumentString<SdkRollbackMutatio
|
|
|
1800
1879
|
export declare const SdkServiceStatusDocument: TypedDocumentString<SdkServiceStatusQuery, SdkServiceStatusQueryVariables>;
|
|
1801
1880
|
export declare const SdkServiceLogsDocument: TypedDocumentString<SdkServiceLogsQuery, SdkServiceLogsQueryVariables>;
|
|
1802
1881
|
export declare const SdkDeploymentEventsDocument: TypedDocumentString<SdkDeploymentEventsQuery, SdkDeploymentEventsQueryVariables>;
|
|
1882
|
+
export declare const SdkDeploymentTimingsDocument: TypedDocumentString<SdkDeploymentTimingsQuery, SdkDeploymentTimingsQueryVariables>;
|
|
1803
1883
|
export declare const SdkWaitForDeploymentDocument: TypedDocumentString<SdkWaitForDeploymentQuery, SdkWaitForDeploymentQueryVariables>;
|
|
1884
|
+
export declare const SdkWaitForCommitDeploymentDocument: TypedDocumentString<SdkWaitForCommitDeploymentQuery, SdkWaitForCommitDeploymentQueryVariables>;
|
|
1804
1885
|
export declare const SdkRestartServiceDocument: TypedDocumentString<SdkRestartServiceMutation, SdkRestartServiceMutationVariables>;
|
|
1805
1886
|
export declare const SdkStopServiceDocument: TypedDocumentString<SdkStopServiceMutation, SdkStopServiceMutationVariables>;
|
|
1806
1887
|
export declare const SdkDeleteDeploymentDocument: TypedDocumentString<SdkDeleteDeploymentMutation, SdkDeleteDeploymentMutationVariables>;
|
|
@@ -74,6 +74,17 @@ export const AppErrorGroupFieldsFragmentDoc = new TypedDocumentString(`
|
|
|
74
74
|
regressedAt
|
|
75
75
|
}
|
|
76
76
|
`, { "fragmentName": "AppErrorGroupFields" });
|
|
77
|
+
export const DeploymentTimingsFieldsFragmentDoc = new TypedDocumentString(`
|
|
78
|
+
fragment DeploymentTimingsFields on DeploymentTimings {
|
|
79
|
+
totalMs
|
|
80
|
+
buildMs
|
|
81
|
+
promoteMs
|
|
82
|
+
phases
|
|
83
|
+
buildMode
|
|
84
|
+
artifactTransport
|
|
85
|
+
buildMemoryMiB
|
|
86
|
+
}
|
|
87
|
+
`, { "fragmentName": "DeploymentTimingsFields" });
|
|
77
88
|
export const RunFieldsFragmentDoc = new TypedDocumentString(`
|
|
78
89
|
fragment RunFields on Run {
|
|
79
90
|
id
|
|
@@ -371,10 +382,12 @@ export const SdkRestoreVersionDocument = new TypedDocumentString(`
|
|
|
371
382
|
committed
|
|
372
383
|
deploys
|
|
373
384
|
message
|
|
385
|
+
workspaceID
|
|
374
386
|
branch
|
|
375
387
|
deployAlias
|
|
376
388
|
restoredFrom
|
|
377
389
|
parent
|
|
390
|
+
waitAfter
|
|
378
391
|
}
|
|
379
392
|
}
|
|
380
393
|
`);
|
|
@@ -918,10 +931,39 @@ export const SdkDeploymentEventsDocument = new TypedDocumentString(`
|
|
|
918
931
|
message
|
|
919
932
|
vmID
|
|
920
933
|
metadata
|
|
934
|
+
timings {
|
|
935
|
+
...DeploymentTimingsFields
|
|
936
|
+
}
|
|
921
937
|
createdAt
|
|
922
938
|
}
|
|
923
939
|
}
|
|
924
|
-
|
|
940
|
+
fragment DeploymentTimingsFields on DeploymentTimings {
|
|
941
|
+
totalMs
|
|
942
|
+
buildMs
|
|
943
|
+
promoteMs
|
|
944
|
+
phases
|
|
945
|
+
buildMode
|
|
946
|
+
artifactTransport
|
|
947
|
+
buildMemoryMiB
|
|
948
|
+
}`);
|
|
949
|
+
export const SdkDeploymentTimingsDocument = new TypedDocumentString(`
|
|
950
|
+
query SdkDeploymentTimings($id: ID!) {
|
|
951
|
+
deployment(id: $id) {
|
|
952
|
+
id
|
|
953
|
+
timings {
|
|
954
|
+
...DeploymentTimingsFields
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
fragment DeploymentTimingsFields on DeploymentTimings {
|
|
959
|
+
totalMs
|
|
960
|
+
buildMs
|
|
961
|
+
promoteMs
|
|
962
|
+
phases
|
|
963
|
+
buildMode
|
|
964
|
+
artifactTransport
|
|
965
|
+
buildMemoryMiB
|
|
966
|
+
}`);
|
|
925
967
|
export const SdkWaitForDeploymentDocument = new TypedDocumentString(`
|
|
926
968
|
query SdkWaitForDeployment($id: ID!, $timeoutSeconds: Int) {
|
|
927
969
|
waitForDeployment(id: $id, timeoutSeconds: $timeoutSeconds) {
|
|
@@ -958,6 +1000,50 @@ export const SdkWaitForDeploymentDocument = new TypedDocumentString(`
|
|
|
958
1000
|
gitCommit
|
|
959
1001
|
createdAt
|
|
960
1002
|
}`);
|
|
1003
|
+
export const SdkWaitForCommitDeploymentDocument = new TypedDocumentString(`
|
|
1004
|
+
query SdkWaitForCommitDeployment($workspaceID: ID!, $gitCommit: String!, $alias: String, $after: Int, $timeoutSeconds: Int) {
|
|
1005
|
+
waitForDeployment(
|
|
1006
|
+
workspaceID: $workspaceID
|
|
1007
|
+
gitCommit: $gitCommit
|
|
1008
|
+
alias: $alias
|
|
1009
|
+
after: $after
|
|
1010
|
+
timeoutSeconds: $timeoutSeconds
|
|
1011
|
+
) {
|
|
1012
|
+
status
|
|
1013
|
+
importStatus
|
|
1014
|
+
importError
|
|
1015
|
+
timedOut
|
|
1016
|
+
waitedMs
|
|
1017
|
+
deployment {
|
|
1018
|
+
...DeploymentFields
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
fragment DeploymentFields on Deployment {
|
|
1023
|
+
id
|
|
1024
|
+
workspaceID
|
|
1025
|
+
kind
|
|
1026
|
+
runtime
|
|
1027
|
+
alias
|
|
1028
|
+
serviceMode
|
|
1029
|
+
healthPath
|
|
1030
|
+
cronSchedule
|
|
1031
|
+
cronPath
|
|
1032
|
+
url
|
|
1033
|
+
previewUrl
|
|
1034
|
+
sshCommand
|
|
1035
|
+
aliasHeld
|
|
1036
|
+
aliasRevision
|
|
1037
|
+
status
|
|
1038
|
+
error
|
|
1039
|
+
filesCount
|
|
1040
|
+
sizeBytes
|
|
1041
|
+
size
|
|
1042
|
+
spaMode
|
|
1043
|
+
gitRepo
|
|
1044
|
+
gitCommit
|
|
1045
|
+
createdAt
|
|
1046
|
+
}`);
|
|
961
1047
|
export const SdkRestartServiceDocument = new TypedDocumentString(`
|
|
962
1048
|
mutation SdkRestartService($deploymentID: ID!) {
|
|
963
1049
|
restartService(input: {deploymentID: $deploymentID}) {
|