|
4 | 4 |
|
5 | 5 | - Backend: `graphql` |
6 | 6 | - Default hostname: `http://127.0.0.1:8787/api` |
7 | | -- Repository: file:///Users/xiaoke/new_mosoo/mosoo-cli-go/.cache/mosoo |
| 7 | +- Repository: file:///Users/x/git/lg/mosoo-cli/.cache/mosoo |
8 | 8 | - Pinned tag: `local-snapshot` |
9 | 9 | - Schema: `docs/graphql/console.graphql` |
10 | | -- Expose queries: `accessibleAgentList`, `agent`, `agentChannelBindingList`, `agentCostCard`, `agentEditorState`, `agentManifest`, `agentSessionDiagnostics`, `agentSessionList`, `agentSessionRetrieve`, `appCostCard`, `appEnvironmentList`, `appInfo`, `appList`, `appSkillList`, `availableAgentModels`, `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`, `deleteEnvironment`, `deleteMcpServer`, `deleteOwnedSkill`, `deleteVendorCredential`, `importAgentPackage`, `onboardingBootstrap`, `pollLarkAgentChannelRegistration`, `pollWeChatAgentChannelPairing`, `prewarmAgentSession`, `publishAgent`, `recreateSandbox`, `removeSessionResource`, `renameApp`, `renameSession`, `resetAgentState`, `restartDriver`, `revokeMcpCredential`, `setAppDefaultEnvironment`, `setDefaultVendorCredential`, `setEnvironmentVariableValue`, `setMcpServerEnabled`, `setSystemAgentModel`, `startLarkAgentChannelRegistration`, `startMcpOAuth`, `startWeChatAgentChannelPairing`, `testVendorCredential`, `unarchiveAgentSession`, `unpublishAgent`, `updateAgentConfig`, `updateProfile`, `updateVendorCredential` |
| 10 | +- Expose queries: `accessibleAgentList`, `agent`, `agentChannelBindingList`, `agentCostCard`, `agentEditorState`, `agentManifest`, `agentSessionDiagnostics`, `agentSessionList`, `agentSessionRetrieve`, `appCostCard`, `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`, `deleteEnvironment`, `deleteMcpServer`, `deleteOwnedSkill`, `deleteVendorCredential`, `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` |
12 | 12 | - Group policies: `13` |
13 | 13 | - Selection policy: max depth `3` |
14 | 14 | - Resolved SHA: `local-snapshot` |
@@ -282,6 +282,36 @@ mosoo console apps app-list \ |
282 | 282 | --organization-id <value> |
283 | 283 | ``` |
284 | 284 |
|
| 285 | +### `mosoo console apps app-overview` |
| 286 | + |
| 287 | +- Summary: App overview |
| 288 | +- HTTP: `POST /graphql` |
| 289 | +- Auth: required |
| 290 | +- Body: required; templated body, set inputs under `variables` with --set/--set-str/--file |
| 291 | +- Flags: |
| 292 | + - `--app-id` (variable, required): appId |
| 293 | + - `--agent-limit` (variable): agentLimit |
| 294 | + - `--credential-limit` (variable): credentialLimit |
| 295 | +- Notes: |
| 296 | + - Uses POST /graphql on the console default hostname (/api). |
| 297 | +- Known errors: |
| 298 | + - HTTP 401: Missing, invalid, or revoked personal access token. |
| 299 | + |
| 300 | +### `mosoo console apps control-plane-overview` |
| 301 | + |
| 302 | +- Summary: Control plane overview |
| 303 | +- HTTP: `POST /graphql` |
| 304 | +- Auth: required |
| 305 | +- Body: required; templated body, set inputs under `variables` with --set/--set-str/--file |
| 306 | +- Flags: |
| 307 | + - `--app-limit` (variable): appLimit |
| 308 | + - `--agent-limit` (variable): agentLimit |
| 309 | + - `--credential-limit` (variable): credentialLimit |
| 310 | +- Notes: |
| 311 | + - Uses POST /graphql on the console default hostname (/api). |
| 312 | +- Known errors: |
| 313 | + - HTTP 401: Missing, invalid, or revoked personal access token. |
| 314 | + |
285 | 315 | ### `mosoo console apps create-app` |
286 | 316 |
|
287 | 317 | - Summary: Create an app |
@@ -749,7 +779,7 @@ mosoo console apps create-app \ |
749 | 779 | - Flags: |
750 | 780 | - `--input-app-id` (variable, required): input.appId |
751 | 781 | - `--input-scope-id` (variable): input.scopeId |
752 | | - - `--input-scope-kind` (variable, one of: agent_package|app_draft|library|session): input.scopeKind |
| 782 | + - `--input-scope-kind` (variable, one of: account|agent_package|app_draft|library|session): input.scopeKind |
753 | 783 | - `--input-session-id` (variable): input.sessionId |
754 | 784 | - `--input-session-kind` (variable, one of: artifact|attachment): input.sessionKind |
755 | 785 | - Notes: |
@@ -1131,6 +1161,25 @@ mosoo console apps create-app \ |
1131 | 1161 | - Known errors: |
1132 | 1162 | - HTTP 401: Missing, invalid, or revoked personal access token. |
1133 | 1163 |
|
| 1164 | +### `mosoo console sessions start-agent-run` |
| 1165 | + |
| 1166 | +- Summary: Start agent run |
| 1167 | +- HTTP: `POST /graphql` |
| 1168 | +- Auth: required |
| 1169 | +- Body: required; templated body, set inputs under `variables` with --set/--set-str/--file |
| 1170 | +- Flags: |
| 1171 | + - `--input-agent-id` (variable): input.agentId |
| 1172 | + - `--input-app-id` (variable, required): input.appId |
| 1173 | + - `--input-client-request-id` (variable): input.clientRequestId |
| 1174 | + - `--input-prompt` (variable, required): input.prompt |
| 1175 | + - `--input-session-id` (variable): input.sessionId |
| 1176 | + - `--input-type` (variable, one of: api_channel|preview|ui): input.type |
| 1177 | + - `--input-wait-for-runtime-ready` (variable): input.waitForRuntimeReady |
| 1178 | +- Notes: |
| 1179 | + - Uses POST /graphql on the console default hostname (/api). |
| 1180 | +- Known errors: |
| 1181 | + - HTTP 401: Missing, invalid, or revoked personal access token. |
| 1182 | + |
1134 | 1183 | ### `mosoo console sessions thread-agent-session-list` |
1135 | 1184 |
|
1136 | 1185 | - Summary: List thread agent sessions |
|
0 commit comments