unfazed 0.1.0 → 0.3.0

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.
@@ -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;AAkDtC,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,2IAA2I,EAAE,KAAK,CAAC,0BAA0B;IAC7K,ySAAyS,EAAE,KAAK,CAAC,wBAAwB;IACzU,sVAAsV,EAAE,KAAK,CAAC,0BAA0B;IACxX,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,yQAAyQ,EAAE,KAAK,CAAC,2BAA2B;IAC5S,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;CACzQ,CAAC;AAwIF,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($workspaceID: ID!) {\\n deleteWorkspace(input: { workspaceID: $workspaceID }) {\\n ok\\n }\\n }\\n\": typeof types.SdkDeleteWorkspaceDocument,\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 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 createdAt\\n }\\n }\\n\": typeof types.SdkDeploymentEventsDocument,\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};\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($workspaceID: ID!) {\\n deleteWorkspace(input: { workspaceID: $workspaceID }) {\\n ok\\n }\\n }\\n\": types.SdkDeleteWorkspaceDocument,\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 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 createdAt\\n }\\n }\\n\": types.SdkDeploymentEventsDocument,\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\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($workspaceID: ID!) {\\n deleteWorkspace(input: { workspaceID: $workspaceID }) {\\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 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 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 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 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\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;AA6DtC,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,yMAAyM,EAAE,KAAK,CAAC,0BAA0B;IAC3O,ySAAyS,EAAE,KAAK,CAAC,wBAAwB;IACzU,sVAAsV,EAAE,KAAK,CAAC,0BAA0B;IACxX,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,yQAAyQ,EAAE,KAAK,CAAC,2BAA2B;IAC5S,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,mgBAAmgB,EAAE,KAAK,CAAC,oBAAoB;IAC/hB,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;CAC/J,CAAC;AAoLF,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($workspaceID: ID!, $withDeployments: Boolean) {\\n deleteWorkspace(input: { workspaceID: $workspaceID, withDeployments: $withDeployments }) {\\n ok\\n }\\n }\\n\": typeof types.SdkDeleteWorkspaceDocument,\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 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 createdAt\\n }\\n }\\n\": typeof types.SdkDeploymentEventsDocument,\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 approval\\n mode\\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 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};\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($workspaceID: ID!, $withDeployments: Boolean) {\\n deleteWorkspace(input: { workspaceID: $workspaceID, withDeployments: $withDeployments }) {\\n ok\\n }\\n }\\n\": types.SdkDeleteWorkspaceDocument,\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 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 createdAt\\n }\\n }\\n\": types.SdkDeploymentEventsDocument,\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 approval\\n mode\\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 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\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($workspaceID: ID!, $withDeployments: Boolean) {\\n deleteWorkspace(input: { workspaceID: $workspaceID, withDeployments: $withDeployments }) {\\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 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 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 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 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 approval\\n mode\\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 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\nexport function graphql(source: string) {\n return (documents as any)[source] ?? {};\n}\n"]}
@@ -57,6 +57,26 @@ export type CreateDeploymentInput = {
57
57
  spaMode?: boolean | null | undefined;
58
58
  workspaceID: string | number;
59
59
  };
60
+ export type CreateRunInput = {
61
+ /** "human" routes the harness's permission prompts to you (the run BLOCKS until you answer); empty keeps the harness's own defaults. */
62
+ approval?: string | null | undefined;
63
+ command?: string | null | undefined;
64
+ harness?: string | null | undefined;
65
+ includeFiles?: boolean | null | undefined;
66
+ maxSeconds?: number | null | undefined;
67
+ memoryMiB?: number | null | undefined;
68
+ metadata?: unknown;
69
+ /** "plan" asks the harness to write a plan without acting; empty does the task. */
70
+ mode?: string | null | undefined;
71
+ /** The run this one continues; usually set through followUpRun. */
72
+ parentRunID?: string | number | null | undefined;
73
+ prompt?: string | null | undefined;
74
+ /** Shell commands run in /work before the harness; the first failure fails the run. */
75
+ setup?: Array<string> | null | undefined;
76
+ /** Skills fetched into .claude/skills before the harness, as owner/repo:path. */
77
+ skills?: Array<string> | null | undefined;
78
+ workspaceID: string | number;
79
+ };
60
80
  export type CurrentActorKind =
61
81
  /** An automated caller using a self-registered bearer token. Subject to free-tier usage/resource limits; a user can claim it to link it to their account. */
62
82
  'AGENT'
@@ -79,6 +99,14 @@ export type DeploymentKind =
79
99
  /** A persistent always-on Linux VM with a per-workspace data disk (docs/agent-box.md). */
80
100
  'BOX' | 'SERVICE' | 'STATIC';
81
101
  export type DeploymentStatus = 'BUILDING' | 'FAILED' | 'READY';
102
+ export type FollowUpRunInput = {
103
+ approval?: string | null | undefined;
104
+ maxSeconds?: number | null | undefined;
105
+ metadata?: unknown;
106
+ mode?: string | null | undefined;
107
+ prompt: string;
108
+ runID: string | number;
109
+ };
82
110
  export type ListDeploymentsInput = {
83
111
  alias?: string | null | undefined;
84
112
  kind?: DeploymentKind | null | undefined;
@@ -87,6 +115,12 @@ export type ListDeploymentsInput = {
87
115
  order?: string | null | undefined;
88
116
  workspaceID?: string | number | null | undefined;
89
117
  };
118
+ export type ListRunsInput = {
119
+ limit?: number | null | undefined;
120
+ offset?: number | null | undefined;
121
+ status?: RunStatus | null | undefined;
122
+ workspaceID?: string | number | null | undefined;
123
+ };
90
124
  export type ListWorkspaceFilesInput = {
91
125
  limit?: number | null | undefined;
92
126
  offset?: number | null | undefined;
@@ -99,6 +133,9 @@ export type ReadWorkspaceFileInput = {
99
133
  path: string;
100
134
  workspaceID: string | number;
101
135
  };
136
+ export type RunStatus =
137
+ /** Waiting for a human's answer (see Run.question); the VM stays up and the wall clock keeps running. */
138
+ 'BLOCKED' | 'CANCELLED' | 'FAILED' | 'QUEUED' | 'RUNNING' | 'SUCCEEDED';
102
139
  export type ServiceMode =
103
140
  /** Keeps a supervised VM running 24/7 (resource-expensive). Reserve for services that must stay warm (low first-request latency), do background work between requests, or run a frequent cron. */
104
141
  'ALWAYS_ON'
@@ -191,6 +228,7 @@ export type SdkListWorkspacesQuery = {
191
228
  };
192
229
  export type SdkDeleteWorkspaceMutationVariables = Exact<{
193
230
  workspaceID: string | number;
231
+ withDeployments?: boolean | null | undefined;
194
232
  }>;
195
233
  export type SdkDeleteWorkspaceMutation = {
196
234
  deleteWorkspace: {
@@ -731,6 +769,353 @@ export type SdkListAppEnvQuery = {
731
769
  updatedAt: string;
732
770
  }>;
733
771
  };
772
+ export type RunFieldsFragment = {
773
+ id: string;
774
+ workspaceID: string;
775
+ ownerId: string;
776
+ status: RunStatus;
777
+ rawStatus: string;
778
+ command: string | null;
779
+ harness: string | null;
780
+ prompt: string | null;
781
+ setup: Array<string>;
782
+ skills: Array<string>;
783
+ approval: string;
784
+ mode: string;
785
+ parentRunID: string | null;
786
+ depth: number;
787
+ memoryMiB: number;
788
+ maxSeconds: number;
789
+ metadata: unknown;
790
+ error: string | null;
791
+ exitCode: number | null;
792
+ vmID: string | null;
793
+ transcriptAvailable: boolean;
794
+ createdAt: string;
795
+ startedAt: string | null;
796
+ settledAt: string | null;
797
+ question: {
798
+ id: string;
799
+ text: string;
800
+ options: Array<string>;
801
+ askedAt: string;
802
+ } | null;
803
+ usage: {
804
+ vmSeconds: number;
805
+ memoryMiB: number;
806
+ mibSeconds: number;
807
+ };
808
+ };
809
+ export type SdkCreateRunMutationVariables = Exact<{
810
+ input: CreateRunInput;
811
+ }>;
812
+ export type SdkCreateRunMutation = {
813
+ createRun: {
814
+ id: string;
815
+ workspaceID: string;
816
+ ownerId: string;
817
+ status: RunStatus;
818
+ rawStatus: string;
819
+ command: string | null;
820
+ harness: string | null;
821
+ prompt: string | null;
822
+ setup: Array<string>;
823
+ skills: Array<string>;
824
+ approval: string;
825
+ mode: string;
826
+ parentRunID: string | null;
827
+ depth: number;
828
+ memoryMiB: number;
829
+ maxSeconds: number;
830
+ metadata: unknown;
831
+ error: string | null;
832
+ exitCode: number | null;
833
+ vmID: string | null;
834
+ transcriptAvailable: boolean;
835
+ createdAt: string;
836
+ startedAt: string | null;
837
+ settledAt: string | null;
838
+ question: {
839
+ id: string;
840
+ text: string;
841
+ options: Array<string>;
842
+ askedAt: string;
843
+ } | null;
844
+ usage: {
845
+ vmSeconds: number;
846
+ memoryMiB: number;
847
+ mibSeconds: number;
848
+ };
849
+ };
850
+ };
851
+ export type SdkGetRunQueryVariables = Exact<{
852
+ id: string | number;
853
+ }>;
854
+ export type SdkGetRunQuery = {
855
+ run: {
856
+ id: string;
857
+ workspaceID: string;
858
+ ownerId: string;
859
+ status: RunStatus;
860
+ rawStatus: string;
861
+ command: string | null;
862
+ harness: string | null;
863
+ prompt: string | null;
864
+ setup: Array<string>;
865
+ skills: Array<string>;
866
+ approval: string;
867
+ mode: string;
868
+ parentRunID: string | null;
869
+ depth: number;
870
+ memoryMiB: number;
871
+ maxSeconds: number;
872
+ metadata: unknown;
873
+ error: string | null;
874
+ exitCode: number | null;
875
+ vmID: string | null;
876
+ transcriptAvailable: boolean;
877
+ createdAt: string;
878
+ startedAt: string | null;
879
+ settledAt: string | null;
880
+ question: {
881
+ id: string;
882
+ text: string;
883
+ options: Array<string>;
884
+ askedAt: string;
885
+ } | null;
886
+ usage: {
887
+ vmSeconds: number;
888
+ memoryMiB: number;
889
+ mibSeconds: number;
890
+ };
891
+ };
892
+ };
893
+ export type SdkPollRunQueryVariables = Exact<{
894
+ id: string | number;
895
+ }>;
896
+ export type SdkPollRunQuery = {
897
+ run: {
898
+ id: string;
899
+ status: RunStatus;
900
+ error: string | null;
901
+ exitCode: number | null;
902
+ };
903
+ };
904
+ export type SdkListRunsQueryVariables = Exact<{
905
+ input?: ListRunsInput | null | undefined;
906
+ }>;
907
+ export type SdkListRunsQuery = {
908
+ runs: {
909
+ total: number;
910
+ limit: number;
911
+ offset: number;
912
+ hasMore: boolean;
913
+ nextOffset: number | null;
914
+ items: Array<{
915
+ id: string;
916
+ workspaceID: string;
917
+ ownerId: string;
918
+ status: RunStatus;
919
+ rawStatus: string;
920
+ command: string | null;
921
+ harness: string | null;
922
+ prompt: string | null;
923
+ setup: Array<string>;
924
+ skills: Array<string>;
925
+ approval: string;
926
+ mode: string;
927
+ parentRunID: string | null;
928
+ depth: number;
929
+ memoryMiB: number;
930
+ maxSeconds: number;
931
+ metadata: unknown;
932
+ error: string | null;
933
+ exitCode: number | null;
934
+ vmID: string | null;
935
+ transcriptAvailable: boolean;
936
+ createdAt: string;
937
+ startedAt: string | null;
938
+ settledAt: string | null;
939
+ question: {
940
+ id: string;
941
+ text: string;
942
+ options: Array<string>;
943
+ askedAt: string;
944
+ } | null;
945
+ usage: {
946
+ vmSeconds: number;
947
+ memoryMiB: number;
948
+ mibSeconds: number;
949
+ };
950
+ }>;
951
+ };
952
+ };
953
+ export type SdkCancelRunMutationVariables = Exact<{
954
+ id: string | number;
955
+ }>;
956
+ export type SdkCancelRunMutation = {
957
+ cancelRun: {
958
+ id: string;
959
+ workspaceID: string;
960
+ ownerId: string;
961
+ status: RunStatus;
962
+ rawStatus: string;
963
+ command: string | null;
964
+ harness: string | null;
965
+ prompt: string | null;
966
+ setup: Array<string>;
967
+ skills: Array<string>;
968
+ approval: string;
969
+ mode: string;
970
+ parentRunID: string | null;
971
+ depth: number;
972
+ memoryMiB: number;
973
+ maxSeconds: number;
974
+ metadata: unknown;
975
+ error: string | null;
976
+ exitCode: number | null;
977
+ vmID: string | null;
978
+ transcriptAvailable: boolean;
979
+ createdAt: string;
980
+ startedAt: string | null;
981
+ settledAt: string | null;
982
+ question: {
983
+ id: string;
984
+ text: string;
985
+ options: Array<string>;
986
+ askedAt: string;
987
+ } | null;
988
+ usage: {
989
+ vmSeconds: number;
990
+ memoryMiB: number;
991
+ mibSeconds: number;
992
+ };
993
+ };
994
+ };
995
+ export type SdkRunEventsQueryVariables = Exact<{
996
+ runID: string | number;
997
+ limit?: number | null | undefined;
998
+ }>;
999
+ export type SdkRunEventsQuery = {
1000
+ runEvents: Array<{
1001
+ id: string;
1002
+ runID: string;
1003
+ type: string;
1004
+ severity: DeploymentEventSeverity;
1005
+ message: string;
1006
+ metadata: unknown;
1007
+ createdAt: string;
1008
+ }>;
1009
+ };
1010
+ export type SdkRunConsoleQueryVariables = Exact<{
1011
+ id: string | number;
1012
+ tailBytes?: number | null | undefined;
1013
+ }>;
1014
+ export type SdkRunConsoleQuery = {
1015
+ runConsole: {
1016
+ runID: string;
1017
+ running: boolean;
1018
+ text: string;
1019
+ };
1020
+ };
1021
+ export type SdkRunTranscriptQueryVariables = Exact<{
1022
+ id: string | number;
1023
+ tailBytes?: number | null | undefined;
1024
+ }>;
1025
+ export type SdkRunTranscriptQuery = {
1026
+ runTranscript: {
1027
+ runID: string;
1028
+ available: boolean;
1029
+ text: string;
1030
+ totalBytes: number;
1031
+ truncated: boolean;
1032
+ };
1033
+ };
1034
+ export type SdkAnswerRunMutationVariables = Exact<{
1035
+ id: string | number;
1036
+ answer: string;
1037
+ }>;
1038
+ export type SdkAnswerRunMutation = {
1039
+ answerRun: {
1040
+ id: string;
1041
+ workspaceID: string;
1042
+ ownerId: string;
1043
+ status: RunStatus;
1044
+ rawStatus: string;
1045
+ command: string | null;
1046
+ harness: string | null;
1047
+ prompt: string | null;
1048
+ setup: Array<string>;
1049
+ skills: Array<string>;
1050
+ approval: string;
1051
+ mode: string;
1052
+ parentRunID: string | null;
1053
+ depth: number;
1054
+ memoryMiB: number;
1055
+ maxSeconds: number;
1056
+ metadata: unknown;
1057
+ error: string | null;
1058
+ exitCode: number | null;
1059
+ vmID: string | null;
1060
+ transcriptAvailable: boolean;
1061
+ createdAt: string;
1062
+ startedAt: string | null;
1063
+ settledAt: string | null;
1064
+ question: {
1065
+ id: string;
1066
+ text: string;
1067
+ options: Array<string>;
1068
+ askedAt: string;
1069
+ } | null;
1070
+ usage: {
1071
+ vmSeconds: number;
1072
+ memoryMiB: number;
1073
+ mibSeconds: number;
1074
+ };
1075
+ };
1076
+ };
1077
+ export type SdkFollowUpRunMutationVariables = Exact<{
1078
+ input: FollowUpRunInput;
1079
+ }>;
1080
+ export type SdkFollowUpRunMutation = {
1081
+ followUpRun: {
1082
+ id: string;
1083
+ workspaceID: string;
1084
+ ownerId: string;
1085
+ status: RunStatus;
1086
+ rawStatus: string;
1087
+ command: string | null;
1088
+ harness: string | null;
1089
+ prompt: string | null;
1090
+ setup: Array<string>;
1091
+ skills: Array<string>;
1092
+ approval: string;
1093
+ mode: string;
1094
+ parentRunID: string | null;
1095
+ depth: number;
1096
+ memoryMiB: number;
1097
+ maxSeconds: number;
1098
+ metadata: unknown;
1099
+ error: string | null;
1100
+ exitCode: number | null;
1101
+ vmID: string | null;
1102
+ transcriptAvailable: boolean;
1103
+ createdAt: string;
1104
+ startedAt: string | null;
1105
+ settledAt: string | null;
1106
+ question: {
1107
+ id: string;
1108
+ text: string;
1109
+ options: Array<string>;
1110
+ askedAt: string;
1111
+ } | null;
1112
+ usage: {
1113
+ vmSeconds: number;
1114
+ memoryMiB: number;
1115
+ mibSeconds: number;
1116
+ };
1117
+ };
1118
+ };
734
1119
  export declare class TypedDocumentString<TResult, TVariables> extends String implements DocumentTypeDecoration<TResult, TVariables> {
735
1120
  __apiType?: NonNullable<DocumentTypeDecoration<TResult, TVariables>['__apiType']>;
736
1121
  private value;
@@ -739,6 +1124,7 @@ export declare class TypedDocumentString<TResult, TVariables> extends String imp
739
1124
  toString(): string & DocumentTypeDecoration<TResult, TVariables>;
740
1125
  }
741
1126
  export declare const DeploymentFieldsFragmentDoc: TypedDocumentString<DeploymentFieldsFragment, unknown>;
1127
+ export declare const RunFieldsFragmentDoc: TypedDocumentString<RunFieldsFragment, unknown>;
742
1128
  export declare const SdkWhoamiDocument: TypedDocumentString<SdkWhoamiQuery, SdkWhoamiQueryVariables>;
743
1129
  export declare const SdkCreateWorkspaceDocument: TypedDocumentString<SdkCreateWorkspaceMutation, SdkCreateWorkspaceMutationVariables>;
744
1130
  export declare const SdkListWorkspacesDocument: TypedDocumentString<SdkListWorkspacesQuery, SdkListWorkspacesQueryVariables>;
@@ -771,4 +1157,14 @@ export declare const SdkSetAppSecretDocument: TypedDocumentString<SdkSetAppSecre
771
1157
  export declare const SdkRemoveAppEnvDocument: TypedDocumentString<SdkRemoveAppEnvMutation, SdkRemoveAppEnvMutationVariables>;
772
1158
  export declare const SdkInheritAppEnvDocument: TypedDocumentString<SdkInheritAppEnvMutation, SdkInheritAppEnvMutationVariables>;
773
1159
  export declare const SdkListAppEnvDocument: TypedDocumentString<SdkListAppEnvQuery, SdkListAppEnvQueryVariables>;
1160
+ export declare const SdkCreateRunDocument: TypedDocumentString<SdkCreateRunMutation, SdkCreateRunMutationVariables>;
1161
+ export declare const SdkGetRunDocument: TypedDocumentString<SdkGetRunQuery, SdkGetRunQueryVariables>;
1162
+ export declare const SdkPollRunDocument: TypedDocumentString<SdkPollRunQuery, SdkPollRunQueryVariables>;
1163
+ export declare const SdkListRunsDocument: TypedDocumentString<SdkListRunsQuery, SdkListRunsQueryVariables>;
1164
+ export declare const SdkCancelRunDocument: TypedDocumentString<SdkCancelRunMutation, SdkCancelRunMutationVariables>;
1165
+ export declare const SdkRunEventsDocument: TypedDocumentString<SdkRunEventsQuery, SdkRunEventsQueryVariables>;
1166
+ export declare const SdkRunConsoleDocument: TypedDocumentString<SdkRunConsoleQuery, SdkRunConsoleQueryVariables>;
1167
+ export declare const SdkRunTranscriptDocument: TypedDocumentString<SdkRunTranscriptQuery, SdkRunTranscriptQueryVariables>;
1168
+ export declare const SdkAnswerRunDocument: TypedDocumentString<SdkAnswerRunMutation, SdkAnswerRunMutationVariables>;
1169
+ export declare const SdkFollowUpRunDocument: TypedDocumentString<SdkFollowUpRunMutation, SdkFollowUpRunMutationVariables>;
774
1170
  export {};