|
8 | 8 | - Pinned tag: `local-snapshot` |
9 | 9 | - Schema: `docs/graphql/console.graphql` |
10 | 10 | - Expose queries: `accessibleAgentList`, `agent`, `agentChannelBindingList`, `agentCostCard`, `agentEditorState`, `agentManifest`, `agentSessionDiagnostics`, `agentSessionList`, `agentSessionRetrieve`, `appCostCard`, `appDeploymentStatus`, `appEnvironmentList`, `appInfo`, `appList`, `appOverview`, `appSkillList`, `availableAgentModels`, `controlPlaneOverview`, `environment`, `exportAgentPackage`, `fileList`, `listSessionResources`, `mcpOAuthFlowStatus`, `mcpRegistry`, `organizationBillingCostCard`, `session`, `sessionList`, `sessionMessages`, `sessionProcessEvents`, `skillDetail`, `threadAgentSessionList`, `threadAgentSessionRetrieve`, `threadSessionMessages`, `threadSessionProcessEvents`, `vendorCredentialList`, `viewer` |
11 | | -- Expose mutations: `addSessionResource`, `archiveAgentSession`, `autoTitleSession`, `connectMcpBearer`, `createAgent`, `createAgentFork`, `createAgentSession`, `createApp`, `createAppMcpServer`, `createDiscordAgentChannelBinding`, `createEnvironmentFork`, `createLarkAgentChannelBinding`, `createSkillFork`, `createSlackAgentChannelBinding`, `createTelegramAgentChannelBinding`, `createVendorCredential`, `deleteAgent`, `deleteAgentChannelBinding`, `deleteAgentSession`, `deleteAppDeployment`, `deleteEnvironment`, `deleteMcpServer`, `deleteOwnedSkill`, `deleteVendorCredential`, `deployApp`, `importAgentPackage`, `onboardingBootstrap`, `pollLarkAgentChannelRegistration`, `pollWeChatAgentChannelPairing`, `prewarmAgentSession`, `publishAgent`, `recreateSandbox`, `removeSessionResource`, `renameApp`, `renameSession`, `resetAgentState`, `restartDriver`, `revokeMcpCredential`, `setAppDefaultEnvironment`, `setDefaultVendorCredential`, `setEnvironmentVariableValue`, `setMcpServerEnabled`, `setSystemAgentModel`, `startAgentRun`, `startLarkAgentChannelRegistration`, `startMcpOAuth`, `startWeChatAgentChannelPairing`, `testVendorCredential`, `unarchiveAgentSession`, `unpublishAgent`, `updateAgentConfig`, `updateProfile`, `updateVendorCredential` |
| 11 | +- Expose mutations: `addSessionResource`, `archiveAgentSession`, `autoTitleSession`, `connectMcpBearer`, `createAgent`, `createAgentFork`, `createAgentSession`, `createApp`, `createAppMcpServer`, `createDiscordAgentChannelBinding`, `createEnvironment`, `createEnvironmentFork`, `createLarkAgentChannelBinding`, `createSkillFork`, `createSlackAgentChannelBinding`, `createTelegramAgentChannelBinding`, `createVendorCredential`, `deleteAgent`, `deleteAgentChannelBinding`, `deleteAgentSession`, `deleteAppDeployment`, `deleteEnvironment`, `deleteMcpServer`, `deleteOwnedSkill`, `deleteVendorCredential`, `deployApp`, `importAgentPackage`, `onboardingBootstrap`, `pollLarkAgentChannelRegistration`, `pollWeChatAgentChannelPairing`, `prewarmAgentSession`, `publishAgent`, `recreateSandbox`, `removeSessionResource`, `renameApp`, `renameSession`, `resetAgentState`, `restartDriver`, `revokeMcpCredential`, `setAppDefaultEnvironment`, `setDefaultVendorCredential`, `setEnvironmentVariableValue`, `setMcpServerEnabled`, `setSystemAgentModel`, `startAgentRun`, `startLarkAgentChannelRegistration`, `startMcpOAuth`, `startWeChatAgentChannelPairing`, `testVendorCredential`, `unarchiveAgentSession`, `unpublishAgent`, `updateAgentConfig`, `updateEnvironment`, `updateProfile`, `updateVendorCredential` |
12 | 12 | - Group policies: `13` |
13 | 13 | - Selection policy: max depth `5` |
14 | 14 | - Resolved SHA: `local-snapshot` |
|
733 | 733 | - Known errors: |
734 | 734 | - HTTP 401: Missing, invalid, or revoked personal access token. |
735 | 735 |
|
| 736 | +### `mosoo console environments create-environment` |
| 737 | + |
| 738 | +- Summary: Create an environment |
| 739 | +- HTTP: `POST /graphql` |
| 740 | +- Auth: required |
| 741 | +- Body: required; templated body, set inputs under `variables` with --set/--set-str/--file |
| 742 | +- Flags: |
| 743 | + - `--input-allow-mcp-servers` (variable, required): input.allowMcpServers |
| 744 | + - `--input-allow-package-managers` (variable, required): input.allowPackageManagers |
| 745 | + - `--input-allowed-hosts` (variable, required): input.allowedHosts |
| 746 | + - `--input-description` (variable): input.description |
| 747 | + - `--input-name` (variable, required): input.name |
| 748 | + - `--input-network-policy` (variable, required, one of: full|limited): input.networkPolicy |
| 749 | + - `--input-app-id` (variable, required): input.appId |
| 750 | + - `--input-setup-script` (variable, required): input.setupScript |
| 751 | +- Notes: |
| 752 | + - Uses POST /graphql on the console default hostname (/api). |
| 753 | +- Known errors: |
| 754 | + - HTTP 401: Missing, invalid, or revoked personal access token. |
| 755 | + |
736 | 756 | ### `mosoo console environments create-environment-fork` |
737 | 757 |
|
738 | 758 | - Summary: Create an environment fork |
|
805 | 825 | - Known errors: |
806 | 826 | - HTTP 401: Missing, invalid, or revoked personal access token. |
807 | 827 |
|
| 828 | +### `mosoo console environments update-environment` |
| 829 | + |
| 830 | +- Summary: Update an environment |
| 831 | +- HTTP: `POST /graphql` |
| 832 | +- Auth: required |
| 833 | +- Body: required; templated body, set inputs under `variables` with --set/--set-str/--file |
| 834 | +- Flags: |
| 835 | + - `--input-allow-mcp-servers` (variable, required): input.allowMcpServers |
| 836 | + - `--input-allow-package-managers` (variable, required): input.allowPackageManagers |
| 837 | + - `--input-allowed-hosts` (variable, required): input.allowedHosts |
| 838 | + - `--input-description` (variable): input.description |
| 839 | + - `--input-environment-id` (variable, required): input.environmentId |
| 840 | + - `--input-name` (variable, required): input.name |
| 841 | + - `--input-network-policy` (variable, required, one of: full|limited): input.networkPolicy |
| 842 | + - `--input-app-id` (variable, required): input.appId |
| 843 | + - `--input-setup-script` (variable, required): input.setupScript |
| 844 | +- Notes: |
| 845 | + - Uses POST /graphql on the console default hostname (/api). |
| 846 | +- Known errors: |
| 847 | + - HTTP 401: Missing, invalid, or revoked personal access token. |
| 848 | + |
808 | 849 | ## Files |
809 | 850 |
|
810 | 851 | ### `mosoo console files file-list` |
|
0 commit comments