@qwen-code/web-shell 0.26.9 → 0.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -6
- package/dist/{PierreFilePreview-BWMV28K1.js → PierreFilePreview-BT_JRIvF.js} +1 -1
- package/dist/{SpreadsheetPreview-CpnnnQKn.js → SpreadsheetPreview-d5XL70Ho.js} +2 -2
- package/dist/{WorkspaceFileBrowser-CwWFGqIW.js → WorkspaceFileBrowser-G1yA2eBf.js} +2 -2
- package/dist/{agents-route-BmgI-UF0.js → agents-route-bkxyBAkN.js} +2 -2
- package/dist/daemon-react-sdk.js +1 -1
- package/dist/{index-DrPRgTJc.js → index-B6wNHUaX.js} +68664 -62370
- package/dist/index.js +3 -3
- package/dist/sw.js +1 -1
- package/dist/transcript.js +8958 -8544
- package/dist/types/App.d.ts +9 -1
- package/dist/types/ManagedAgentWebShell.d.ts +15 -2
- package/dist/types/browser-notifications/messages.d.ts +9 -0
- package/dist/types/browser-notifications/messages.transcript-stub.d.ts +7 -0
- package/dist/types/completions/slashCompletion.d.ts +1 -0
- package/dist/types/components/ChatPane.d.ts +2 -1
- package/dist/types/components/MessageList.d.ts +2 -4
- package/dist/types/components/SessionLimitBanner.d.ts +4 -0
- package/dist/types/components/SessionOverviewPanel.d.ts +2 -1
- package/dist/types/components/SplitView.d.ts +3 -1
- package/dist/types/components/StreamingStatus.d.ts +4 -1
- package/dist/types/components/WaitingMinigame.d.ts +24 -0
- package/dist/types/components/artifacts/ArtifactPanel.d.ts +1 -0
- package/dist/types/components/artifacts/TokenUsageTrend.d.ts +20 -3
- package/dist/types/components/artifacts/TurnOutputs.d.ts +1 -0
- package/dist/types/components/artifacts/tool-call-content.d.ts +2 -1
- package/dist/types/components/artifacts/useWorkspaceFileChanges.d.ts +4 -0
- package/dist/types/components/artifacts/workspace-file-changes.d.ts +7 -0
- package/dist/types/components/channels/channel-editor-state.d.ts +28 -1
- package/dist/types/components/dialogs/ScheduledTaskDeliveryFields.d.ts +18 -0
- package/dist/types/components/dialogs/ScheduledTasksDialog.d.ts +6 -2
- package/dist/types/components/local-control-api.d.ts +14 -0
- package/dist/types/components/managed/ManagedActivityView.d.ts +10 -0
- package/dist/types/components/managed/ManagedDiagnosticsPanel.d.ts +11 -0
- package/dist/types/components/managed/ManagedExtensionInstaller.d.ts +31 -0
- package/dist/types/components/managed/ManagedExtensionsManagerPage.d.ts +2 -1
- package/dist/types/components/managed/ManagedInvocationTree.d.ts +13 -0
- package/dist/types/components/managed/ManagedMcpManagerPage.d.ts +1 -0
- package/dist/types/components/managed/ManagedQuestionForm.d.ts +8 -1
- package/dist/types/components/managed/ManagedSessionsPage.d.ts +5 -1
- package/dist/types/components/managed/generated/managed-agent-api.d.ts +1164 -54
- package/dist/types/components/managed/java-managed-agent-client.d.ts +206 -1
- package/dist/types/components/managed/managed-activity.test-fixtures.d.ts +6 -0
- package/dist/types/components/managed/managed-agent-provider.d.ts +31 -1
- package/dist/types/components/managed/managed-diagnostics-messages.d.ts +157 -0
- package/dist/types/components/managed/managed-diagnostics.test-fixtures.d.ts +5 -0
- package/dist/types/components/managed/managed-extension-install.d.ts +68 -0
- package/dist/types/components/managed/managed-extension-messages.d.ts +48 -0
- package/dist/types/components/managed/managed-extension-types.d.ts +3 -0
- package/dist/types/components/managed/use-managed-actions.d.ts +8 -2
- package/dist/types/components/managed/use-managed-diagnostics.d.ts +32 -0
- package/dist/types/components/messages/AskUserQuestion.d.ts +7 -1
- package/dist/types/components/messages/AuthMessage.d.ts +2 -1
- package/dist/types/components/messages/toolFormatting.d.ts +23 -0
- package/dist/types/components/plugins/PluginManagerPage.d.ts +1 -1
- package/dist/types/components/sidebar/RecentSessions.d.ts +3 -2
- package/dist/types/components/sidebar/SessionSortMenu.d.ts +8 -0
- package/dist/types/components/sidebar/StandaloneRecents.d.ts +2 -1
- package/dist/types/components/sidebar/WebShellSidebar.d.ts +2 -1
- package/dist/types/components/sidebar/WorkspaceSection.d.ts +8 -2
- package/dist/types/components/sidebar/useWorkspaceOrder.d.ts +12 -0
- package/dist/types/components/sidebar/workspaceOrder.d.ts +1 -0
- package/dist/types/components/ui/alert.d.ts +1 -1
- package/dist/types/components/ui/badge.d.ts +1 -1
- package/dist/types/components/ui/button.d.ts +2 -2
- package/dist/types/components/workflow-mode-control-state.d.ts +1 -1
- package/dist/types/components/workspace-agents/useAgentChatEntry.d.ts +6 -0
- package/dist/types/config/host-fanout.d.ts +2 -0
- package/dist/types/customization.d.ts +33 -0
- package/dist/types/daemon/index.d.ts +1 -1
- package/dist/types/daemon/session/actions.d.ts +1 -1
- package/dist/types/daemon/session/httpErrors.d.ts +1 -0
- package/dist/types/daemon/session/session-context.d.ts +3 -1
- package/dist/types/daemon/session/types.d.ts +34 -1
- package/dist/types/daemon/workspace/index.d.ts +1 -1
- package/dist/types/daemon/workspace/types.d.ts +21 -1
- package/dist/types/daemon-react-sdk.d.ts +1 -1
- package/dist/types/hooks/useQueuedPrompts.d.ts +4 -1
- package/dist/types/hooks/useScopedSessions.d.ts +4 -0
- package/dist/types/session-catalog/session-catalog-hooks.d.ts +2 -0
- package/dist/types/settings.d.ts +1 -0
- package/dist/types/utils/askUserPermission.d.ts +7 -0
- package/dist/types/utils/planMode.d.ts +1 -1
- package/dist/types/utils/sessionPreparation.d.ts +19 -3
- package/dist/types/utils/waitingActivity.d.ts +55 -0
- package/dist/types/utils/waitingGamesConfig.d.ts +7 -0
- package/dist/types/utils/waitingMinigame.d.ts +53 -0
- package/dist/types/utils/waitingSnake.d.ts +40 -0
- package/dist/{useDaemonMidTurnInjected-4PDPakvk.js → useDaemonMidTurnInjected-tBzI77Ar.js} +5795 -5380
- package/package.json +2 -1
|
@@ -1145,6 +1145,193 @@ export interface paths {
|
|
|
1145
1145
|
patch?: never;
|
|
1146
1146
|
trace?: never;
|
|
1147
1147
|
};
|
|
1148
|
+
"/api/agent/web-shell/v1/session-context-usage/query": {
|
|
1149
|
+
parameters: {
|
|
1150
|
+
query?: never;
|
|
1151
|
+
header?: never;
|
|
1152
|
+
path?: never;
|
|
1153
|
+
cookie?: never;
|
|
1154
|
+
};
|
|
1155
|
+
get?: never;
|
|
1156
|
+
put?: never;
|
|
1157
|
+
/** @description The last durably committed main-model request. Category counts are estimates; provider totals and freshness are independent. Passive persisted Session read; never starts a Runtime, Harness or MCP discovery. Requires an authenticated actor and current Session read access. */
|
|
1158
|
+
post: operations["querySessionDiagnosticContextUsage"];
|
|
1159
|
+
delete?: never;
|
|
1160
|
+
options?: never;
|
|
1161
|
+
head?: never;
|
|
1162
|
+
patch?: never;
|
|
1163
|
+
trace?: never;
|
|
1164
|
+
};
|
|
1165
|
+
"/api/agent/web-shell/v1/session-stats/query": {
|
|
1166
|
+
parameters: {
|
|
1167
|
+
query?: never;
|
|
1168
|
+
header?: never;
|
|
1169
|
+
path?: never;
|
|
1170
|
+
cookie?: never;
|
|
1171
|
+
};
|
|
1172
|
+
get?: never;
|
|
1173
|
+
put?: never;
|
|
1174
|
+
/** @description Durable model statistics owned by this Session, including Hook and compression calls. Child Session totals are separate. Coverage gaps are retained. Passive persisted Session read; never starts a Runtime, Harness or MCP discovery. Requires an authenticated actor and current Session read access. */
|
|
1175
|
+
post: operations["querySessionDiagnosticModelStatistics"];
|
|
1176
|
+
delete?: never;
|
|
1177
|
+
options?: never;
|
|
1178
|
+
head?: never;
|
|
1179
|
+
patch?: never;
|
|
1180
|
+
trace?: never;
|
|
1181
|
+
};
|
|
1182
|
+
"/api/agent/web-shell/v1/session-resources/query": {
|
|
1183
|
+
parameters: {
|
|
1184
|
+
query?: never;
|
|
1185
|
+
header?: never;
|
|
1186
|
+
path?: never;
|
|
1187
|
+
cookie?: never;
|
|
1188
|
+
};
|
|
1189
|
+
get?: never;
|
|
1190
|
+
put?: never;
|
|
1191
|
+
/** @description Persisted Skills and MCP selection and bounded discovery history. This does not probe live connectivity; partial history remains explicit. Passive persisted Session read; never starts a Runtime, Harness or MCP discovery. Requires an authenticated actor and current Session read access. */
|
|
1192
|
+
post: operations["querySessionDiagnosticResources"];
|
|
1193
|
+
delete?: never;
|
|
1194
|
+
options?: never;
|
|
1195
|
+
head?: never;
|
|
1196
|
+
patch?: never;
|
|
1197
|
+
trace?: never;
|
|
1198
|
+
};
|
|
1199
|
+
"/api/agent/web-shell/v1/session-agent-trace/query": {
|
|
1200
|
+
parameters: {
|
|
1201
|
+
query?: never;
|
|
1202
|
+
header?: never;
|
|
1203
|
+
path?: never;
|
|
1204
|
+
cookie?: never;
|
|
1205
|
+
};
|
|
1206
|
+
get?: never;
|
|
1207
|
+
put?: never;
|
|
1208
|
+
/** @description Direct child-agent invocations, filtered before pagination. A child link is returned only after verifying the relationship and child read access. Passive persisted Session read; never starts a Runtime, Harness or MCP discovery. Requires an authenticated actor and current Session read access. */
|
|
1209
|
+
post: operations["querySessionDiagnosticAgentTrace"];
|
|
1210
|
+
delete?: never;
|
|
1211
|
+
options?: never;
|
|
1212
|
+
head?: never;
|
|
1213
|
+
patch?: never;
|
|
1214
|
+
trace?: never;
|
|
1215
|
+
};
|
|
1216
|
+
"/api/agent/web-shell/v1/session-activity-stats/query": {
|
|
1217
|
+
parameters: {
|
|
1218
|
+
query?: never;
|
|
1219
|
+
header?: never;
|
|
1220
|
+
path?: never;
|
|
1221
|
+
cookie?: never;
|
|
1222
|
+
};
|
|
1223
|
+
get?: never;
|
|
1224
|
+
put?: never;
|
|
1225
|
+
/** @description Persisted execution diagnostics since the recorded collection start. Self scope; no Runtime acquisition or discovery. Requires an authenticated actor and current Session/Workspace read access. */
|
|
1226
|
+
post: operations["querySessionActivityStatistics"];
|
|
1227
|
+
delete?: never;
|
|
1228
|
+
options?: never;
|
|
1229
|
+
head?: never;
|
|
1230
|
+
patch?: never;
|
|
1231
|
+
trace?: never;
|
|
1232
|
+
};
|
|
1233
|
+
"/api/agent/web-shell/v1/session-activity/query": {
|
|
1234
|
+
parameters: {
|
|
1235
|
+
query?: never;
|
|
1236
|
+
header?: never;
|
|
1237
|
+
path?: never;
|
|
1238
|
+
cookie?: never;
|
|
1239
|
+
};
|
|
1240
|
+
get?: never;
|
|
1241
|
+
put?: never;
|
|
1242
|
+
/** @description Persisted execution diagnostics since the recorded collection start. Self scope; no Runtime acquisition or discovery. Requires an authenticated actor and current Session/Workspace read access. */
|
|
1243
|
+
post: operations["querySessionActivity"];
|
|
1244
|
+
delete?: never;
|
|
1245
|
+
options?: never;
|
|
1246
|
+
head?: never;
|
|
1247
|
+
patch?: never;
|
|
1248
|
+
trace?: never;
|
|
1249
|
+
};
|
|
1250
|
+
"/api/agent/web-shell/v1/workspace-extensions/imports": {
|
|
1251
|
+
parameters: {
|
|
1252
|
+
query?: never;
|
|
1253
|
+
header?: never;
|
|
1254
|
+
path?: never;
|
|
1255
|
+
cookie?: never;
|
|
1256
|
+
};
|
|
1257
|
+
get?: never;
|
|
1258
|
+
put?: never;
|
|
1259
|
+
/** @description Requires Workspace operator and deployment publishing permission before consuming bounded input. Prepares without a Session, publishes immutable bytes and does not activate content. Retry the same input/version/target and key, or query the actor-scoped operation. */
|
|
1260
|
+
post: operations["importWebShellExtensionPackage"];
|
|
1261
|
+
delete?: never;
|
|
1262
|
+
options?: never;
|
|
1263
|
+
head?: never;
|
|
1264
|
+
patch?: never;
|
|
1265
|
+
trace?: never;
|
|
1266
|
+
};
|
|
1267
|
+
"/api/agent/web-shell/v1/workspace-extensions/inspection/query": {
|
|
1268
|
+
parameters: {
|
|
1269
|
+
query?: never;
|
|
1270
|
+
header?: never;
|
|
1271
|
+
path?: never;
|
|
1272
|
+
cookie?: never;
|
|
1273
|
+
};
|
|
1274
|
+
get?: never;
|
|
1275
|
+
put?: never;
|
|
1276
|
+
/** @description Requires publishing permission. Inspects exact published canonical bytes without hydrating settings, starting a Runtime or executing components. Literal credential fields are redacted; redaction markers must not be republished. */
|
|
1277
|
+
post: operations["inspectWebShellExtensionPackage"];
|
|
1278
|
+
delete?: never;
|
|
1279
|
+
options?: never;
|
|
1280
|
+
head?: never;
|
|
1281
|
+
patch?: never;
|
|
1282
|
+
trace?: never;
|
|
1283
|
+
};
|
|
1284
|
+
"/api/agent/web-shell/v1/workspace-extensions/operations/lookup": {
|
|
1285
|
+
parameters: {
|
|
1286
|
+
query?: never;
|
|
1287
|
+
header?: never;
|
|
1288
|
+
path?: never;
|
|
1289
|
+
cookie?: never;
|
|
1290
|
+
};
|
|
1291
|
+
get?: never;
|
|
1292
|
+
put?: never;
|
|
1293
|
+
/** @description Read-only actor-scoped lookup by the original idempotency key. Does not resubmit or acquire Runtime ownership. */
|
|
1294
|
+
post: operations["lookupWebShellExtensionOperation"];
|
|
1295
|
+
delete?: never;
|
|
1296
|
+
options?: never;
|
|
1297
|
+
head?: never;
|
|
1298
|
+
patch?: never;
|
|
1299
|
+
trace?: never;
|
|
1300
|
+
};
|
|
1301
|
+
"/api/agent/web-shell/v1/session-extensions/operations/lookup": {
|
|
1302
|
+
parameters: {
|
|
1303
|
+
query?: never;
|
|
1304
|
+
header?: never;
|
|
1305
|
+
path?: never;
|
|
1306
|
+
cookie?: never;
|
|
1307
|
+
};
|
|
1308
|
+
get?: never;
|
|
1309
|
+
put?: never;
|
|
1310
|
+
/** @description Read-only actor-scoped lookup by the original idempotency key. Does not resubmit or acquire Runtime ownership. */
|
|
1311
|
+
post: operations["lookupWebShellSessionExtensionOperation"];
|
|
1312
|
+
delete?: never;
|
|
1313
|
+
options?: never;
|
|
1314
|
+
head?: never;
|
|
1315
|
+
patch?: never;
|
|
1316
|
+
trace?: never;
|
|
1317
|
+
};
|
|
1318
|
+
"/api/agent/web-shell/v1/workspace-extensions/imports/preview": {
|
|
1319
|
+
parameters: {
|
|
1320
|
+
query?: never;
|
|
1321
|
+
header?: never;
|
|
1322
|
+
path?: never;
|
|
1323
|
+
cookie?: never;
|
|
1324
|
+
};
|
|
1325
|
+
get?: never;
|
|
1326
|
+
put?: never;
|
|
1327
|
+
/** @description Requires publishing permission. Previews validated normalized input without publishing a catalog revision or activating a Session. Retain exact input bytes, target, compiler version and source digest for the later explicit import. */
|
|
1328
|
+
post: operations["previewWebShellExtensionImport"];
|
|
1329
|
+
delete?: never;
|
|
1330
|
+
options?: never;
|
|
1331
|
+
head?: never;
|
|
1332
|
+
patch?: never;
|
|
1333
|
+
trace?: never;
|
|
1334
|
+
};
|
|
1148
1335
|
}
|
|
1149
1336
|
export type webhooks = Record<string, never>;
|
|
1150
1337
|
export interface components {
|
|
@@ -1299,6 +1486,8 @@ export interface components {
|
|
|
1299
1486
|
worktree?: {
|
|
1300
1487
|
baseRef?: string;
|
|
1301
1488
|
};
|
|
1489
|
+
/** @description Optional immutable binding to the authenticated user's personal MemoryStore. Omission disables long-term memory. Bound Sessions require owner access as well as existing Workspace grants; creation idempotency includes this field. */
|
|
1490
|
+
memoryStoreId?: string;
|
|
1302
1491
|
};
|
|
1303
1492
|
WebShellSubmitRequest: {
|
|
1304
1493
|
/** @description Trace correlation only. */
|
|
@@ -1462,6 +1651,11 @@ export interface components {
|
|
|
1462
1651
|
* @default false
|
|
1463
1652
|
*/
|
|
1464
1653
|
childAgents?: boolean;
|
|
1654
|
+
/**
|
|
1655
|
+
* @description Passive persisted context, model statistics, resource inventory and direct child invocation queries are available. Each response declares its observation coverage independently of Runtime readiness or fresh Turn admission.
|
|
1656
|
+
* @default false
|
|
1657
|
+
*/
|
|
1658
|
+
diagnostics?: boolean;
|
|
1465
1659
|
};
|
|
1466
1660
|
WebShellSessionPage: {
|
|
1467
1661
|
data: components["schemas"]["WebShellSession"][];
|
|
@@ -2548,6 +2742,10 @@ export interface components {
|
|
|
2548
2742
|
ManagedExtensionPackageCatalog: {
|
|
2549
2743
|
supported: boolean;
|
|
2550
2744
|
extensions: components["schemas"]["ManagedExtensionPackage"][];
|
|
2745
|
+
selfService?: {
|
|
2746
|
+
supported: boolean;
|
|
2747
|
+
canPublish: boolean;
|
|
2748
|
+
};
|
|
2551
2749
|
};
|
|
2552
2750
|
ManagedExtensionPackageSettings: {
|
|
2553
2751
|
/** Format: int64 */
|
|
@@ -2614,6 +2812,10 @@ export interface components {
|
|
|
2614
2812
|
extensions: components["schemas"]["ManagedExtensionPackagePin"][];
|
|
2615
2813
|
requestedExtensions: components["schemas"]["ManagedExtensionPackagePin"][];
|
|
2616
2814
|
operation?: components["schemas"]["ManagedExtensionApplyOperation"];
|
|
2815
|
+
selfService?: {
|
|
2816
|
+
supported: boolean;
|
|
2817
|
+
canApply: boolean;
|
|
2818
|
+
};
|
|
2617
2819
|
};
|
|
2618
2820
|
WebShellExtensionSessionQuery: {
|
|
2619
2821
|
sessionId: string;
|
|
@@ -2699,67 +2901,598 @@ export interface components {
|
|
|
2699
2901
|
worktreeId: string;
|
|
2700
2902
|
idempotencyKey: string;
|
|
2701
2903
|
};
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2904
|
+
ManagedModelStatisticsBucket: {
|
|
2905
|
+
requests: {
|
|
2906
|
+
total: number;
|
|
2907
|
+
success: number;
|
|
2908
|
+
error: number;
|
|
2909
|
+
cancelled: number;
|
|
2910
|
+
interrupted: number;
|
|
2911
|
+
};
|
|
2912
|
+
tokens: {
|
|
2913
|
+
prompt: number;
|
|
2914
|
+
candidates: number;
|
|
2915
|
+
total: number;
|
|
2916
|
+
cached: number;
|
|
2917
|
+
thoughts: number;
|
|
2918
|
+
};
|
|
2919
|
+
usageKnown: {
|
|
2920
|
+
prompt: number;
|
|
2921
|
+
candidates: number;
|
|
2922
|
+
total: number;
|
|
2923
|
+
cached: number;
|
|
2924
|
+
thoughts: number;
|
|
2925
|
+
};
|
|
2926
|
+
latencyMs: number;
|
|
2927
|
+
timing: {
|
|
2928
|
+
ttftCount: number;
|
|
2929
|
+
totalTtftMs: number;
|
|
2930
|
+
generationCount: number;
|
|
2931
|
+
totalGenerationMs: number;
|
|
2932
|
+
throughputOutputTokens: number;
|
|
2933
|
+
};
|
|
2934
|
+
failures: {
|
|
2935
|
+
http: number;
|
|
2936
|
+
transport: number;
|
|
2937
|
+
timeout: number;
|
|
2938
|
+
other: number;
|
|
2939
|
+
};
|
|
2940
|
+
backoffRetries: number;
|
|
2941
|
+
};
|
|
2942
|
+
ManagedModelStatisticsSnapshot: {
|
|
2943
|
+
/** @constant */
|
|
2944
|
+
version: 1;
|
|
2945
|
+
snapshotRevision: number;
|
|
2946
|
+
observedAt: number;
|
|
2947
|
+
coverage: {
|
|
2948
|
+
gaps: string[];
|
|
2949
|
+
};
|
|
2950
|
+
totals: components["schemas"]["ManagedModelStatisticsBucket"];
|
|
2951
|
+
sources: {
|
|
2952
|
+
main: components["schemas"]["ManagedModelStatisticsBucket"];
|
|
2953
|
+
hook: components["schemas"]["ManagedModelStatisticsBucket"];
|
|
2954
|
+
compression: components["schemas"]["ManagedModelStatisticsBucket"];
|
|
2955
|
+
};
|
|
2956
|
+
models: {
|
|
2957
|
+
key: string;
|
|
2958
|
+
name: string | null;
|
|
2959
|
+
nameTruncated: boolean;
|
|
2960
|
+
metrics: components["schemas"]["ManagedModelStatisticsBucket"];
|
|
2961
|
+
}[];
|
|
2962
|
+
overflow: components["schemas"]["ManagedModelStatisticsBucket"];
|
|
2963
|
+
recent: {
|
|
2964
|
+
executionId: string;
|
|
2965
|
+
/** @enum {string} */
|
|
2966
|
+
source: "main" | "hook" | "compression";
|
|
2967
|
+
modelKey: string;
|
|
2968
|
+
at: number;
|
|
2969
|
+
/** @enum {string} */
|
|
2970
|
+
outcome: "success" | "error" | "cancelled" | "interrupted";
|
|
2971
|
+
durationMs: number;
|
|
2972
|
+
ttftMs: number | null;
|
|
2973
|
+
generationMs: number | null;
|
|
2974
|
+
outputTokens: number | null;
|
|
2975
|
+
failureKind: ("http" | "transport" | "timeout" | "other") | null;
|
|
2976
|
+
statusCode: number | null;
|
|
2977
|
+
backoffRetryOrdinal: number;
|
|
2978
|
+
}[];
|
|
2979
|
+
modelBreakdownOmitted: boolean;
|
|
2980
|
+
samplesTruncated: boolean;
|
|
2712
2981
|
};
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2982
|
+
ManagedContextUsageSnapshot: {
|
|
2983
|
+
/** @constant */
|
|
2984
|
+
version: 1;
|
|
2985
|
+
attemptId: string;
|
|
2986
|
+
turnId: string;
|
|
2987
|
+
model: string;
|
|
2988
|
+
observedAt: number;
|
|
2989
|
+
inputTokens: number | null;
|
|
2990
|
+
cachedTokens: number | null;
|
|
2991
|
+
contextWindowSize: number | null;
|
|
2992
|
+
breakdown: {
|
|
2993
|
+
systemPrompt: number;
|
|
2994
|
+
builtinTools: number;
|
|
2995
|
+
mcpTools: number;
|
|
2996
|
+
instructionFiles: number;
|
|
2997
|
+
memoryFiles: number;
|
|
2998
|
+
skills: number;
|
|
2999
|
+
startupContext: number;
|
|
3000
|
+
messages: number;
|
|
3001
|
+
};
|
|
3002
|
+
thresholds: {
|
|
3003
|
+
warn: number;
|
|
3004
|
+
auto: number;
|
|
3005
|
+
hard: number;
|
|
3006
|
+
} | null;
|
|
3007
|
+
details: {
|
|
3008
|
+
/** @enum {string} */
|
|
3009
|
+
category: "systemPrompt" | "builtinTools" | "mcpTools" | "instructionFiles" | "memoryFiles" | "skills" | "startupContext" | "messages";
|
|
3010
|
+
name: string;
|
|
3011
|
+
tokens: number;
|
|
3012
|
+
}[];
|
|
3013
|
+
attributionComplete: boolean;
|
|
3014
|
+
detailsTruncated: boolean;
|
|
2721
3015
|
};
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
3016
|
+
ManagedDiagnosticContextUsage: {
|
|
3017
|
+
/** @constant */
|
|
3018
|
+
schemaVersion: 1;
|
|
3019
|
+
sessionId: string;
|
|
3020
|
+
readRevision: string | null;
|
|
3021
|
+
/** @enum {string} */
|
|
3022
|
+
availability: "available" | "partial" | "not_recorded" | "unsupported";
|
|
3023
|
+
coverageReasons: string[];
|
|
3024
|
+
sourceSequence: string | null;
|
|
3025
|
+
stale: boolean;
|
|
3026
|
+
staleReasons: string[];
|
|
3027
|
+
/** @constant */
|
|
3028
|
+
estimated: true;
|
|
3029
|
+
context: components["schemas"]["ManagedContextUsageSnapshot"] | null;
|
|
2730
3030
|
};
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
3031
|
+
ManagedDiagnosticStats: {
|
|
3032
|
+
/** @constant */
|
|
3033
|
+
schemaVersion: 1;
|
|
3034
|
+
sessionId: string;
|
|
3035
|
+
readRevision: string | null;
|
|
3036
|
+
/** @enum {string} */
|
|
3037
|
+
availability: "available" | "partial" | "not_recorded" | "unsupported";
|
|
3038
|
+
coverageReasons: string[];
|
|
3039
|
+
sourceSequence: string | null;
|
|
3040
|
+
statistics: components["schemas"]["ManagedModelStatisticsSnapshot"] | null;
|
|
2739
3041
|
};
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
3042
|
+
ManagedDiagnosticSkill: {
|
|
3043
|
+
name: string;
|
|
3044
|
+
description: string;
|
|
3045
|
+
/** @enum {string} */
|
|
3046
|
+
kind: "skill" | "command";
|
|
3047
|
+
/** @enum {string} */
|
|
3048
|
+
origin: "base" | "extension";
|
|
3049
|
+
extensionId: string | null;
|
|
3050
|
+
modelInvocable: boolean;
|
|
3051
|
+
userInvocable: boolean;
|
|
2748
3052
|
};
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
3053
|
+
ManagedDiagnosticMcpServer: {
|
|
3054
|
+
serverId: string;
|
|
3055
|
+
serverRevision: number;
|
|
3056
|
+
/** @enum {string} */
|
|
3057
|
+
origin: "base" | "extension" | "independent";
|
|
3058
|
+
extensionId: string | null;
|
|
3059
|
+
/** @enum {string} */
|
|
3060
|
+
selectionState: "enabled" | "disabled" | "removed" | "unknown";
|
|
3061
|
+
/** @constant */
|
|
3062
|
+
liveState: "unknown";
|
|
3063
|
+
catalogRevision: number | null;
|
|
3064
|
+
catalogServerRevision: number | null;
|
|
3065
|
+
attemptRevision: number | null;
|
|
3066
|
+
attemptServerRevision: number | null;
|
|
3067
|
+
/** @description Last persisted configuration attempt state, distinct from physical execution evidence. */
|
|
3068
|
+
lastAttemptState: string | null;
|
|
3069
|
+
lastExecutionState: string | null;
|
|
3070
|
+
releaseState: string | null;
|
|
3071
|
+
historical: boolean;
|
|
3072
|
+
discovery: {
|
|
3073
|
+
/** @enum {string} */
|
|
3074
|
+
tools: "complete" | "partial" | "failed" | "stale" | "unknown";
|
|
3075
|
+
/** @enum {string} */
|
|
3076
|
+
resources: "complete" | "partial" | "failed" | "stale" | "unknown";
|
|
3077
|
+
/** @enum {string} */
|
|
3078
|
+
prompts: "complete" | "partial" | "failed" | "stale" | "unknown";
|
|
2756
3079
|
};
|
|
3080
|
+
tools: {
|
|
3081
|
+
name: string;
|
|
3082
|
+
description?: string;
|
|
3083
|
+
uri?: string;
|
|
3084
|
+
mimeType?: string;
|
|
3085
|
+
}[];
|
|
3086
|
+
resources: {
|
|
3087
|
+
name: string;
|
|
3088
|
+
description?: string;
|
|
3089
|
+
uri?: string;
|
|
3090
|
+
mimeType?: string;
|
|
3091
|
+
}[];
|
|
3092
|
+
prompts: {
|
|
3093
|
+
name: string;
|
|
3094
|
+
description?: string;
|
|
3095
|
+
uri?: string;
|
|
3096
|
+
mimeType?: string;
|
|
3097
|
+
}[];
|
|
2757
3098
|
};
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
3099
|
+
ManagedDiagnosticResources: {
|
|
3100
|
+
/** @constant */
|
|
3101
|
+
schemaVersion: 1;
|
|
3102
|
+
sessionId: string;
|
|
3103
|
+
readRevision: string | null;
|
|
3104
|
+
/** @enum {string} */
|
|
3105
|
+
availability: "available" | "partial" | "not_recorded" | "unsupported";
|
|
3106
|
+
coverageReasons: string[];
|
|
3107
|
+
/** @enum {string} */
|
|
3108
|
+
configCoverage: "complete" | "partial";
|
|
3109
|
+
/** @enum {string} */
|
|
3110
|
+
historyCoverage: "complete" | "partial";
|
|
3111
|
+
activeConfigRevision: number | null;
|
|
3112
|
+
activeOperationPhase: string | null;
|
|
3113
|
+
outputTruncated: boolean;
|
|
3114
|
+
skills: components["schemas"]["ManagedDiagnosticSkill"][];
|
|
3115
|
+
servers: components["schemas"]["ManagedDiagnosticMcpServer"][];
|
|
3116
|
+
};
|
|
3117
|
+
ManagedDiagnosticAgentInvocation: {
|
|
3118
|
+
taskId: string;
|
|
3119
|
+
parentSessionId: string;
|
|
3120
|
+
childSessionId: string | null;
|
|
3121
|
+
description: string | null;
|
|
3122
|
+
state: string;
|
|
3123
|
+
runtimeState: string | null;
|
|
3124
|
+
createdAt: number;
|
|
3125
|
+
startedAt: number | null;
|
|
3126
|
+
settledAt: number | null;
|
|
3127
|
+
predecessorTaskId?: string | null;
|
|
3128
|
+
};
|
|
3129
|
+
ManagedDiagnosticAgentTrace: {
|
|
3130
|
+
/** @constant */
|
|
3131
|
+
schemaVersion: 1;
|
|
3132
|
+
sessionId: string;
|
|
3133
|
+
readRevision: string | null;
|
|
3134
|
+
/** @enum {string} */
|
|
3135
|
+
availability: "available" | "partial" | "not_recorded" | "unsupported";
|
|
3136
|
+
coverageReasons: string[];
|
|
3137
|
+
/** @constant */
|
|
3138
|
+
scope: "direct-invocations";
|
|
3139
|
+
items: components["schemas"]["ManagedDiagnosticAgentInvocation"][];
|
|
3140
|
+
nextCursor: string | null;
|
|
3141
|
+
hasMore: boolean;
|
|
3142
|
+
};
|
|
3143
|
+
WebShellDiagnosticTraceRequest: {
|
|
3144
|
+
/** Format: uuid */
|
|
3145
|
+
sessionId: string;
|
|
3146
|
+
cursor?: string | null;
|
|
3147
|
+
limit?: number | null;
|
|
3148
|
+
};
|
|
3149
|
+
ManagedActivityMetrics: {
|
|
3150
|
+
requested: number;
|
|
3151
|
+
admission: {
|
|
3152
|
+
allowed: number;
|
|
3153
|
+
denied: number;
|
|
3154
|
+
invalid: number;
|
|
3155
|
+
unknown: number;
|
|
3156
|
+
};
|
|
3157
|
+
execution: {
|
|
3158
|
+
not_started: number;
|
|
3159
|
+
running: number;
|
|
3160
|
+
success: number;
|
|
3161
|
+
error: number;
|
|
3162
|
+
cancelled: number;
|
|
3163
|
+
unknown: number;
|
|
3164
|
+
};
|
|
3165
|
+
delivery: {
|
|
3166
|
+
pending: number;
|
|
3167
|
+
complete: number;
|
|
3168
|
+
partial: number;
|
|
3169
|
+
unavailable: number;
|
|
3170
|
+
unknown: number;
|
|
3171
|
+
};
|
|
3172
|
+
};
|
|
3173
|
+
ManagedActivityFile: {
|
|
3174
|
+
/** @enum {string} */
|
|
3175
|
+
operation: "read" | "write" | "edit";
|
|
3176
|
+
path: string | null;
|
|
3177
|
+
cwdRelative: string | null;
|
|
3178
|
+
};
|
|
3179
|
+
ManagedActivitySkill: {
|
|
3180
|
+
/** @enum {string} */
|
|
3181
|
+
resourceKind: "skill" | "extension_command";
|
|
3182
|
+
name: string;
|
|
3183
|
+
pin: string;
|
|
3184
|
+
/** @enum {string} */
|
|
3185
|
+
origin: "user" | "model" | "unknown";
|
|
3186
|
+
/** @enum {string} */
|
|
3187
|
+
delivery: "complete" | "partial" | "unknown";
|
|
3188
|
+
};
|
|
3189
|
+
ManagedActivityInvocation: {
|
|
3190
|
+
invocationId: string;
|
|
3191
|
+
assistantMessageId: string;
|
|
3192
|
+
ordinal: number;
|
|
3193
|
+
toolName: string;
|
|
3194
|
+
functionCallId: string | null;
|
|
3195
|
+
providerCallId: string | null;
|
|
3196
|
+
executionCallId: string | null;
|
|
3197
|
+
taskId: string | null;
|
|
3198
|
+
/** @enum {string} */
|
|
3199
|
+
toolKind: "builtin" | "mcp" | "hosted" | "unknown";
|
|
3200
|
+
serverId: string | null;
|
|
3201
|
+
/** @enum {string} */
|
|
3202
|
+
admission: "allowed" | "denied" | "invalid" | "unknown";
|
|
3203
|
+
/** @enum {string} */
|
|
3204
|
+
execution: "not_started" | "running" | "success" | "error" | "cancelled" | "unknown";
|
|
3205
|
+
/** @enum {string} */
|
|
3206
|
+
delivery: "pending" | "complete" | "partial" | "unavailable" | "unknown";
|
|
3207
|
+
/** @enum {string} */
|
|
3208
|
+
capture: "complete" | "partial" | "unavailable" | "unknown";
|
|
3209
|
+
file: components["schemas"]["ManagedActivityFile"] | null;
|
|
3210
|
+
skill: components["schemas"]["ManagedActivitySkill"] | null;
|
|
3211
|
+
requestSequence: string;
|
|
3212
|
+
requestedAt: number;
|
|
3213
|
+
conflictingEvidence?: boolean;
|
|
3214
|
+
taskState?: string;
|
|
3215
|
+
taskRuntimeState?: string | null;
|
|
3216
|
+
};
|
|
3217
|
+
ManagedActivityStatistics: {
|
|
3218
|
+
tools: components["schemas"]["ManagedActivityMetrics"];
|
|
3219
|
+
files: components["schemas"]["ManagedActivityMetrics"];
|
|
3220
|
+
skills: components["schemas"]["ManagedActivityMetrics"];
|
|
3221
|
+
otherTools: components["schemas"]["ManagedActivityMetrics"];
|
|
3222
|
+
otherSkills: components["schemas"]["ManagedActivityMetrics"];
|
|
3223
|
+
toolBuckets: {
|
|
3224
|
+
key: string;
|
|
3225
|
+
name: string;
|
|
3226
|
+
metrics: components["schemas"]["ManagedActivityMetrics"];
|
|
3227
|
+
resource?: {
|
|
3228
|
+
/** @enum {string} */
|
|
3229
|
+
resourceKind: "skill" | "extension_command";
|
|
3230
|
+
name: string;
|
|
3231
|
+
pin: string;
|
|
3232
|
+
};
|
|
3233
|
+
}[];
|
|
3234
|
+
skillBuckets: {
|
|
3235
|
+
key: string;
|
|
3236
|
+
name: string;
|
|
3237
|
+
metrics: components["schemas"]["ManagedActivityMetrics"];
|
|
3238
|
+
resource?: {
|
|
3239
|
+
/** @enum {string} */
|
|
3240
|
+
resourceKind: "skill" | "extension_command";
|
|
3241
|
+
name: string;
|
|
3242
|
+
pin: string;
|
|
3243
|
+
};
|
|
3244
|
+
}[];
|
|
3245
|
+
skillLoads: components["schemas"]["ManagedActivityMetrics"];
|
|
3246
|
+
extensionCommands: components["schemas"]["ManagedActivityMetrics"];
|
|
3247
|
+
fileOperations: {
|
|
3248
|
+
read: components["schemas"]["ManagedActivityMetrics"];
|
|
3249
|
+
write: components["schemas"]["ManagedActivityMetrics"];
|
|
3250
|
+
edit: components["schemas"]["ManagedActivityMetrics"];
|
|
3251
|
+
};
|
|
3252
|
+
};
|
|
3253
|
+
ManagedDiagnosticActivityStats: {
|
|
3254
|
+
/** @constant */
|
|
3255
|
+
schemaVersion: 1;
|
|
3256
|
+
sessionId: string;
|
|
3257
|
+
/** @constant */
|
|
3258
|
+
scope: "self";
|
|
3259
|
+
readRevision: string | null;
|
|
3260
|
+
coverageStartSequence: string | null;
|
|
3261
|
+
coveredThroughSequence: string | null;
|
|
3262
|
+
startedAt: number | null;
|
|
3263
|
+
/** @enum {string} */
|
|
3264
|
+
availability: "available" | "partial" | "not_recorded" | "unsupported";
|
|
3265
|
+
coverageReasons: string[];
|
|
3266
|
+
statistics: components["schemas"]["ManagedActivityStatistics"] | null;
|
|
3267
|
+
};
|
|
3268
|
+
ManagedActivityToolsPage: {
|
|
3269
|
+
/** @constant */
|
|
3270
|
+
schemaVersion: 1;
|
|
3271
|
+
sessionId: string;
|
|
3272
|
+
/** @constant */
|
|
3273
|
+
scope: "self";
|
|
3274
|
+
readRevision: string | null;
|
|
3275
|
+
coverageStartSequence: string | null;
|
|
3276
|
+
coveredThroughSequence: string | null;
|
|
3277
|
+
startedAt: number | null;
|
|
3278
|
+
/** @enum {string} */
|
|
3279
|
+
availability: "available" | "partial" | "not_recorded" | "unsupported";
|
|
3280
|
+
coverageReasons: string[];
|
|
3281
|
+
/** @constant */
|
|
3282
|
+
kind: "tools";
|
|
3283
|
+
items: components["schemas"]["ManagedActivityInvocation"][];
|
|
3284
|
+
hasMore: boolean;
|
|
3285
|
+
nextCursor: string | null;
|
|
3286
|
+
};
|
|
3287
|
+
ManagedActivityFilesPage: {
|
|
3288
|
+
/** @constant */
|
|
3289
|
+
schemaVersion: 1;
|
|
3290
|
+
sessionId: string;
|
|
3291
|
+
/** @constant */
|
|
3292
|
+
scope: "self";
|
|
3293
|
+
readRevision: string | null;
|
|
3294
|
+
coverageStartSequence: string | null;
|
|
3295
|
+
coveredThroughSequence: string | null;
|
|
3296
|
+
startedAt: number | null;
|
|
3297
|
+
/** @enum {string} */
|
|
3298
|
+
availability: "available" | "partial" | "not_recorded" | "unsupported";
|
|
3299
|
+
coverageReasons: string[];
|
|
3300
|
+
/** @constant */
|
|
3301
|
+
kind: "files";
|
|
3302
|
+
items: {
|
|
3303
|
+
invocationId: string;
|
|
3304
|
+
assistantMessageId: string;
|
|
3305
|
+
ordinal: number;
|
|
3306
|
+
toolName: string;
|
|
3307
|
+
functionCallId: string | null;
|
|
3308
|
+
providerCallId: string | null;
|
|
3309
|
+
executionCallId: string | null;
|
|
3310
|
+
taskId: string | null;
|
|
3311
|
+
/** @enum {string} */
|
|
3312
|
+
toolKind: "builtin" | "mcp" | "hosted" | "unknown";
|
|
3313
|
+
serverId: string | null;
|
|
3314
|
+
/** @enum {string} */
|
|
3315
|
+
admission: "allowed" | "denied" | "invalid" | "unknown";
|
|
3316
|
+
/** @enum {string} */
|
|
3317
|
+
execution: "not_started" | "running" | "success" | "error" | "cancelled" | "unknown";
|
|
3318
|
+
/** @enum {string} */
|
|
3319
|
+
delivery: "pending" | "complete" | "partial" | "unavailable" | "unknown";
|
|
3320
|
+
/** @enum {string} */
|
|
3321
|
+
capture: "complete" | "partial" | "unavailable" | "unknown";
|
|
3322
|
+
file: components["schemas"]["ManagedActivityFile"];
|
|
3323
|
+
skill: components["schemas"]["ManagedActivitySkill"] | null;
|
|
3324
|
+
requestSequence: string;
|
|
3325
|
+
requestedAt: number;
|
|
3326
|
+
conflictingEvidence?: boolean;
|
|
3327
|
+
taskState?: string;
|
|
3328
|
+
taskRuntimeState?: string | null;
|
|
3329
|
+
}[];
|
|
3330
|
+
hasMore: boolean;
|
|
3331
|
+
nextCursor: string | null;
|
|
3332
|
+
};
|
|
3333
|
+
ManagedActivitySkillsPage: {
|
|
3334
|
+
/** @constant */
|
|
3335
|
+
schemaVersion: 1;
|
|
3336
|
+
sessionId: string;
|
|
3337
|
+
/** @constant */
|
|
3338
|
+
scope: "self";
|
|
3339
|
+
readRevision: string | null;
|
|
3340
|
+
coverageStartSequence: string | null;
|
|
3341
|
+
coveredThroughSequence: string | null;
|
|
3342
|
+
startedAt: number | null;
|
|
3343
|
+
/** @enum {string} */
|
|
3344
|
+
availability: "available" | "partial" | "not_recorded" | "unsupported";
|
|
3345
|
+
coverageReasons: string[];
|
|
3346
|
+
/** @constant */
|
|
3347
|
+
kind: "skills";
|
|
3348
|
+
items: {
|
|
3349
|
+
invocationId: string;
|
|
3350
|
+
assistantMessageId: string;
|
|
3351
|
+
ordinal: number;
|
|
3352
|
+
toolName: string;
|
|
3353
|
+
functionCallId: string | null;
|
|
3354
|
+
providerCallId: string | null;
|
|
3355
|
+
executionCallId: string | null;
|
|
3356
|
+
taskId: string | null;
|
|
3357
|
+
/** @enum {string} */
|
|
3358
|
+
toolKind: "builtin" | "mcp" | "hosted" | "unknown";
|
|
3359
|
+
serverId: string | null;
|
|
3360
|
+
/** @enum {string} */
|
|
3361
|
+
admission: "allowed" | "denied" | "invalid" | "unknown";
|
|
3362
|
+
/** @enum {string} */
|
|
3363
|
+
execution: "not_started" | "running" | "success" | "error" | "cancelled" | "unknown";
|
|
3364
|
+
/** @enum {string} */
|
|
3365
|
+
delivery: "pending" | "complete" | "partial" | "unavailable" | "unknown";
|
|
3366
|
+
/** @enum {string} */
|
|
3367
|
+
capture: "complete" | "partial" | "unavailable" | "unknown";
|
|
3368
|
+
file: components["schemas"]["ManagedActivityFile"] | null;
|
|
3369
|
+
skill: components["schemas"]["ManagedActivitySkill"];
|
|
3370
|
+
requestSequence: string;
|
|
3371
|
+
requestedAt: number;
|
|
3372
|
+
conflictingEvidence?: boolean;
|
|
3373
|
+
taskState?: string;
|
|
3374
|
+
taskRuntimeState?: string | null;
|
|
3375
|
+
}[];
|
|
3376
|
+
hasMore: boolean;
|
|
3377
|
+
nextCursor: string | null;
|
|
3378
|
+
};
|
|
3379
|
+
WebShellActivityQueryRequest: {
|
|
3380
|
+
/** Format: uuid */
|
|
3381
|
+
sessionId: string;
|
|
3382
|
+
/** @enum {string} */
|
|
3383
|
+
kind: "tools" | "files" | "skills";
|
|
3384
|
+
cursor?: string;
|
|
3385
|
+
/** @default 50 */
|
|
3386
|
+
limit?: number;
|
|
3387
|
+
};
|
|
3388
|
+
ManagedDiagnosticActivityPage: components["schemas"]["ManagedActivityToolsPage"] | components["schemas"]["ManagedActivityFilesPage"] | components["schemas"]["ManagedActivitySkillsPage"];
|
|
3389
|
+
ManagedExtensionImportMetadata: {
|
|
3390
|
+
/** @enum {string} */
|
|
3391
|
+
sourceKind: "skill" | "extension" | "mcp";
|
|
3392
|
+
target: {
|
|
3393
|
+
/** @enum {string} */
|
|
3394
|
+
platform: "linux" | "darwin";
|
|
3395
|
+
/** @enum {string} */
|
|
3396
|
+
arch: "x64" | "arm64" | "any";
|
|
3397
|
+
};
|
|
3398
|
+
sourceDigest: string;
|
|
3399
|
+
/** @enum {integer} */
|
|
3400
|
+
compilerVersion: 1;
|
|
3401
|
+
packageName?: string;
|
|
3402
|
+
};
|
|
3403
|
+
ManagedExtensionPackageInspection: {
|
|
3404
|
+
manifest: components["schemas"]["ManagedExtensionPackageManifest"];
|
|
3405
|
+
fileCount: number;
|
|
3406
|
+
files: string[];
|
|
3407
|
+
truncated: boolean;
|
|
3408
|
+
skills: {
|
|
3409
|
+
name: string;
|
|
3410
|
+
description: string;
|
|
3411
|
+
}[];
|
|
3412
|
+
mcpServers: {
|
|
3413
|
+
name: string;
|
|
3414
|
+
recipe: {
|
|
3415
|
+
[key: string]: unknown;
|
|
3416
|
+
};
|
|
3417
|
+
redacted: boolean;
|
|
3418
|
+
}[];
|
|
3419
|
+
settings: {
|
|
3420
|
+
name: string;
|
|
3421
|
+
envVar: string;
|
|
3422
|
+
sensitive?: boolean;
|
|
3423
|
+
}[];
|
|
3424
|
+
};
|
|
3425
|
+
WebShellExtensionOperationLookup: {
|
|
3426
|
+
workspaceId: string;
|
|
3427
|
+
/** @enum {string} */
|
|
3428
|
+
kind: "publish" | "settings";
|
|
3429
|
+
idempotencyKey: string;
|
|
3430
|
+
};
|
|
3431
|
+
WebShellExtensionApplyLookup: {
|
|
3432
|
+
sessionId: string;
|
|
3433
|
+
idempotencyKey: string;
|
|
3434
|
+
};
|
|
3435
|
+
};
|
|
3436
|
+
responses: {
|
|
3437
|
+
/** @description The authenticated actor belongs to another tenant than X-Qwen-Tenant-Id or has an invalid ID (actor_scope_mismatch, which the tenant filter answers on every /v1/agents/ and WebShell route), or the resource is readable but the actor lacks this operation or the original Action responder permission. Artifact content reads may also return artifact_content_forbidden when the actor cannot read the original bytes. */
|
|
3438
|
+
Forbidden: {
|
|
3439
|
+
headers: {
|
|
3440
|
+
[name: string]: unknown;
|
|
3441
|
+
};
|
|
3442
|
+
content: {
|
|
3443
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
3444
|
+
};
|
|
3445
|
+
};
|
|
3446
|
+
/** @description A trusted actor is required for this request but none was supplied (actor_required). In signed authentication mode (qwenSignature) every covered public and WebShell route additionally answers 401 authentication_required when the signature, timestamp or actor headers are missing, and 401 invalid_signature when the signature is wrong or stale. */
|
|
3447
|
+
Unauthorized: {
|
|
3448
|
+
headers: {
|
|
3449
|
+
[name: string]: unknown;
|
|
3450
|
+
};
|
|
3451
|
+
content: {
|
|
3452
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
3453
|
+
};
|
|
3454
|
+
};
|
|
3455
|
+
/** @description In signed authentication mode (qwenSignature) a request body beyond the configured signed-body limit (qwen.managed-agent.auth.max-signed-body-bytes, default 10 MiB) answers 413 payload_too_large before the signature is compared. */
|
|
3456
|
+
PayloadTooLarge: {
|
|
3457
|
+
headers: {
|
|
3458
|
+
[name: string]: unknown;
|
|
3459
|
+
};
|
|
3460
|
+
content: {
|
|
3461
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
3462
|
+
};
|
|
3463
|
+
};
|
|
3464
|
+
/** @description Invalid request. */
|
|
3465
|
+
BadRequest: {
|
|
3466
|
+
headers: {
|
|
3467
|
+
[name: string]: unknown;
|
|
3468
|
+
};
|
|
3469
|
+
content: {
|
|
3470
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
3471
|
+
};
|
|
3472
|
+
};
|
|
3473
|
+
/** @description State, idempotency, or recovery conflict. New Workspace-scoped admissions return workspace_unavailable with retryable=false while an offline Workspace migration holds the storage fence; authorized durable replays retain their existing behavior. */
|
|
3474
|
+
Conflict: {
|
|
3475
|
+
headers: {
|
|
3476
|
+
[name: string]: unknown;
|
|
3477
|
+
};
|
|
3478
|
+
content: {
|
|
3479
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
3480
|
+
};
|
|
3481
|
+
};
|
|
3482
|
+
/** @description Resource absent or outside the caller tenant scope. */
|
|
3483
|
+
NotFound: {
|
|
3484
|
+
headers: {
|
|
3485
|
+
[name: string]: unknown;
|
|
3486
|
+
};
|
|
3487
|
+
content: {
|
|
3488
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
3489
|
+
};
|
|
3490
|
+
};
|
|
3491
|
+
/** @description Task event cursor is strictly below the task's durable retention floor, which survives an empty retained set; equality is valid. The envelope's replay_floor_sequence and snapshot_through_sequence stay absent because task cursors are opaque. */
|
|
3492
|
+
TaskCursorExpired: {
|
|
3493
|
+
headers: {
|
|
3494
|
+
[name: string]: unknown;
|
|
3495
|
+
};
|
|
2763
3496
|
content: {
|
|
2764
3497
|
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
2765
3498
|
};
|
|
@@ -5080,4 +5813,381 @@ export interface operations {
|
|
|
5080
5813
|
503: components["responses"]["MessageProjectionPending"];
|
|
5081
5814
|
};
|
|
5082
5815
|
};
|
|
5816
|
+
querySessionDiagnosticContextUsage: {
|
|
5817
|
+
parameters: {
|
|
5818
|
+
query?: never;
|
|
5819
|
+
header?: never;
|
|
5820
|
+
path?: never;
|
|
5821
|
+
cookie?: never;
|
|
5822
|
+
};
|
|
5823
|
+
requestBody: {
|
|
5824
|
+
content: {
|
|
5825
|
+
"application/json": components["schemas"]["WebShellSessionRequest"];
|
|
5826
|
+
};
|
|
5827
|
+
};
|
|
5828
|
+
responses: {
|
|
5829
|
+
/** @description The last durably committed main-model request. Category counts are estimates; provider totals and freshness are independent. */
|
|
5830
|
+
200: {
|
|
5831
|
+
headers: {
|
|
5832
|
+
/** @description private, no-store */
|
|
5833
|
+
"Cache-Control"?: string;
|
|
5834
|
+
[name: string]: unknown;
|
|
5835
|
+
};
|
|
5836
|
+
content: {
|
|
5837
|
+
"application/json": components["schemas"]["ManagedDiagnosticContextUsage"];
|
|
5838
|
+
};
|
|
5839
|
+
};
|
|
5840
|
+
400: components["responses"]["BadRequest"];
|
|
5841
|
+
401: components["responses"]["Unauthorized"];
|
|
5842
|
+
403: components["responses"]["Forbidden"];
|
|
5843
|
+
404: components["responses"]["NotFound"];
|
|
5844
|
+
409: components["responses"]["Conflict"];
|
|
5845
|
+
};
|
|
5846
|
+
};
|
|
5847
|
+
querySessionDiagnosticModelStatistics: {
|
|
5848
|
+
parameters: {
|
|
5849
|
+
query?: never;
|
|
5850
|
+
header?: never;
|
|
5851
|
+
path?: never;
|
|
5852
|
+
cookie?: never;
|
|
5853
|
+
};
|
|
5854
|
+
requestBody: {
|
|
5855
|
+
content: {
|
|
5856
|
+
"application/json": components["schemas"]["WebShellSessionRequest"];
|
|
5857
|
+
};
|
|
5858
|
+
};
|
|
5859
|
+
responses: {
|
|
5860
|
+
/** @description Durable model statistics owned by this Session, including Hook and compression calls. Child Session totals are separate. Coverage gaps are retained. */
|
|
5861
|
+
200: {
|
|
5862
|
+
headers: {
|
|
5863
|
+
/** @description private, no-store */
|
|
5864
|
+
"Cache-Control"?: string;
|
|
5865
|
+
[name: string]: unknown;
|
|
5866
|
+
};
|
|
5867
|
+
content: {
|
|
5868
|
+
"application/json": components["schemas"]["ManagedDiagnosticStats"];
|
|
5869
|
+
};
|
|
5870
|
+
};
|
|
5871
|
+
400: components["responses"]["BadRequest"];
|
|
5872
|
+
401: components["responses"]["Unauthorized"];
|
|
5873
|
+
403: components["responses"]["Forbidden"];
|
|
5874
|
+
404: components["responses"]["NotFound"];
|
|
5875
|
+
409: components["responses"]["Conflict"];
|
|
5876
|
+
};
|
|
5877
|
+
};
|
|
5878
|
+
querySessionDiagnosticResources: {
|
|
5879
|
+
parameters: {
|
|
5880
|
+
query?: never;
|
|
5881
|
+
header?: never;
|
|
5882
|
+
path?: never;
|
|
5883
|
+
cookie?: never;
|
|
5884
|
+
};
|
|
5885
|
+
requestBody: {
|
|
5886
|
+
content: {
|
|
5887
|
+
"application/json": components["schemas"]["WebShellSessionRequest"];
|
|
5888
|
+
};
|
|
5889
|
+
};
|
|
5890
|
+
responses: {
|
|
5891
|
+
/** @description Persisted Skills and MCP selection and bounded discovery history. This does not probe live connectivity; partial history remains explicit. */
|
|
5892
|
+
200: {
|
|
5893
|
+
headers: {
|
|
5894
|
+
/** @description private, no-store */
|
|
5895
|
+
"Cache-Control"?: string;
|
|
5896
|
+
[name: string]: unknown;
|
|
5897
|
+
};
|
|
5898
|
+
content: {
|
|
5899
|
+
"application/json": components["schemas"]["ManagedDiagnosticResources"];
|
|
5900
|
+
};
|
|
5901
|
+
};
|
|
5902
|
+
400: components["responses"]["BadRequest"];
|
|
5903
|
+
401: components["responses"]["Unauthorized"];
|
|
5904
|
+
403: components["responses"]["Forbidden"];
|
|
5905
|
+
404: components["responses"]["NotFound"];
|
|
5906
|
+
409: components["responses"]["Conflict"];
|
|
5907
|
+
};
|
|
5908
|
+
};
|
|
5909
|
+
querySessionDiagnosticAgentTrace: {
|
|
5910
|
+
parameters: {
|
|
5911
|
+
query?: never;
|
|
5912
|
+
header?: never;
|
|
5913
|
+
path?: never;
|
|
5914
|
+
cookie?: never;
|
|
5915
|
+
};
|
|
5916
|
+
requestBody: {
|
|
5917
|
+
content: {
|
|
5918
|
+
"application/json": components["schemas"]["WebShellDiagnosticTraceRequest"];
|
|
5919
|
+
};
|
|
5920
|
+
};
|
|
5921
|
+
responses: {
|
|
5922
|
+
/** @description Direct child-agent invocations, filtered before pagination. A child link is returned only after verifying the relationship and child read access. */
|
|
5923
|
+
200: {
|
|
5924
|
+
headers: {
|
|
5925
|
+
/** @description private, no-store */
|
|
5926
|
+
"Cache-Control"?: string;
|
|
5927
|
+
[name: string]: unknown;
|
|
5928
|
+
};
|
|
5929
|
+
content: {
|
|
5930
|
+
"application/json": components["schemas"]["ManagedDiagnosticAgentTrace"];
|
|
5931
|
+
};
|
|
5932
|
+
};
|
|
5933
|
+
400: components["responses"]["BadRequest"];
|
|
5934
|
+
401: components["responses"]["Unauthorized"];
|
|
5935
|
+
403: components["responses"]["Forbidden"];
|
|
5936
|
+
404: components["responses"]["NotFound"];
|
|
5937
|
+
409: components["responses"]["Conflict"];
|
|
5938
|
+
};
|
|
5939
|
+
};
|
|
5940
|
+
querySessionActivityStatistics: {
|
|
5941
|
+
parameters: {
|
|
5942
|
+
query?: never;
|
|
5943
|
+
header?: never;
|
|
5944
|
+
path?: never;
|
|
5945
|
+
cookie?: never;
|
|
5946
|
+
};
|
|
5947
|
+
requestBody: {
|
|
5948
|
+
content: {
|
|
5949
|
+
"application/json": components["schemas"]["WebShellSessionRequest"];
|
|
5950
|
+
};
|
|
5951
|
+
};
|
|
5952
|
+
responses: {
|
|
5953
|
+
/** @description Bounded Session execution diagnostics with explicit coverage. */
|
|
5954
|
+
200: {
|
|
5955
|
+
headers: {
|
|
5956
|
+
/** @description private, no-store */
|
|
5957
|
+
"Cache-Control"?: string;
|
|
5958
|
+
[name: string]: unknown;
|
|
5959
|
+
};
|
|
5960
|
+
content: {
|
|
5961
|
+
"application/json": components["schemas"]["ManagedDiagnosticActivityStats"];
|
|
5962
|
+
};
|
|
5963
|
+
};
|
|
5964
|
+
400: components["responses"]["BadRequest"];
|
|
5965
|
+
401: components["responses"]["Unauthorized"];
|
|
5966
|
+
403: components["responses"]["Forbidden"];
|
|
5967
|
+
404: components["responses"]["NotFound"];
|
|
5968
|
+
409: components["responses"]["Conflict"];
|
|
5969
|
+
};
|
|
5970
|
+
};
|
|
5971
|
+
querySessionActivity: {
|
|
5972
|
+
parameters: {
|
|
5973
|
+
query?: never;
|
|
5974
|
+
header?: never;
|
|
5975
|
+
path?: never;
|
|
5976
|
+
cookie?: never;
|
|
5977
|
+
};
|
|
5978
|
+
requestBody: {
|
|
5979
|
+
content: {
|
|
5980
|
+
"application/json": components["schemas"]["WebShellActivityQueryRequest"];
|
|
5981
|
+
};
|
|
5982
|
+
};
|
|
5983
|
+
responses: {
|
|
5984
|
+
/** @description Bounded Session execution diagnostics with explicit coverage. */
|
|
5985
|
+
200: {
|
|
5986
|
+
headers: {
|
|
5987
|
+
/** @description private, no-store */
|
|
5988
|
+
"Cache-Control"?: string;
|
|
5989
|
+
[name: string]: unknown;
|
|
5990
|
+
};
|
|
5991
|
+
content: {
|
|
5992
|
+
"application/json": components["schemas"]["ManagedDiagnosticActivityPage"];
|
|
5993
|
+
};
|
|
5994
|
+
};
|
|
5995
|
+
400: components["responses"]["BadRequest"];
|
|
5996
|
+
401: components["responses"]["Unauthorized"];
|
|
5997
|
+
403: components["responses"]["Forbidden"];
|
|
5998
|
+
404: components["responses"]["NotFound"];
|
|
5999
|
+
409: components["responses"]["Conflict"];
|
|
6000
|
+
};
|
|
6001
|
+
};
|
|
6002
|
+
importWebShellExtensionPackage: {
|
|
6003
|
+
parameters: {
|
|
6004
|
+
query: {
|
|
6005
|
+
/** @description URL-encoded JSON ManagedExtensionImportMetadata, at most16KiB. Raw input digest is verified by the Hosted compiler. */
|
|
6006
|
+
metadata: string;
|
|
6007
|
+
extensionId?: string;
|
|
6008
|
+
workspaceId: string;
|
|
6009
|
+
};
|
|
6010
|
+
header: {
|
|
6011
|
+
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
6012
|
+
};
|
|
6013
|
+
path?: never;
|
|
6014
|
+
cookie?: never;
|
|
6015
|
+
};
|
|
6016
|
+
requestBody: {
|
|
6017
|
+
content: {
|
|
6018
|
+
"application/octet-stream": string;
|
|
6019
|
+
};
|
|
6020
|
+
};
|
|
6021
|
+
responses: {
|
|
6022
|
+
/** @description Verified result. */
|
|
6023
|
+
200: {
|
|
6024
|
+
headers: {
|
|
6025
|
+
[name: string]: unknown;
|
|
6026
|
+
};
|
|
6027
|
+
content: {
|
|
6028
|
+
"application/json": components["schemas"]["ManagedExtensionPackageOperation"];
|
|
6029
|
+
};
|
|
6030
|
+
};
|
|
6031
|
+
400: components["responses"]["BadRequest"];
|
|
6032
|
+
401: components["responses"]["Unauthorized"];
|
|
6033
|
+
403: components["responses"]["Forbidden"];
|
|
6034
|
+
404: components["responses"]["NotFound"];
|
|
6035
|
+
409: components["responses"]["Conflict"];
|
|
6036
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
6037
|
+
/** @description Package imports require unencoded application/octet-stream bytes. */
|
|
6038
|
+
415: {
|
|
6039
|
+
headers: {
|
|
6040
|
+
[name: string]: unknown;
|
|
6041
|
+
};
|
|
6042
|
+
content: {
|
|
6043
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
6044
|
+
};
|
|
6045
|
+
};
|
|
6046
|
+
503: components["responses"]["Unavailable"];
|
|
6047
|
+
};
|
|
6048
|
+
};
|
|
6049
|
+
inspectWebShellExtensionPackage: {
|
|
6050
|
+
parameters: {
|
|
6051
|
+
query?: never;
|
|
6052
|
+
header?: never;
|
|
6053
|
+
path?: never;
|
|
6054
|
+
cookie?: never;
|
|
6055
|
+
};
|
|
6056
|
+
requestBody: {
|
|
6057
|
+
content: {
|
|
6058
|
+
"application/json": components["schemas"]["WebShellExtensionPackageQuery"];
|
|
6059
|
+
};
|
|
6060
|
+
};
|
|
6061
|
+
responses: {
|
|
6062
|
+
/** @description Verified result. */
|
|
6063
|
+
200: {
|
|
6064
|
+
headers: {
|
|
6065
|
+
[name: string]: unknown;
|
|
6066
|
+
};
|
|
6067
|
+
content: {
|
|
6068
|
+
"application/json": components["schemas"]["ManagedExtensionPackageInspection"];
|
|
6069
|
+
};
|
|
6070
|
+
};
|
|
6071
|
+
400: components["responses"]["BadRequest"];
|
|
6072
|
+
401: components["responses"]["Unauthorized"];
|
|
6073
|
+
403: components["responses"]["Forbidden"];
|
|
6074
|
+
404: components["responses"]["NotFound"];
|
|
6075
|
+
409: components["responses"]["Conflict"];
|
|
6076
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
6077
|
+
/** @description Inspection queries require application/json. */
|
|
6078
|
+
415: {
|
|
6079
|
+
headers: {
|
|
6080
|
+
[name: string]: unknown;
|
|
6081
|
+
};
|
|
6082
|
+
content: {
|
|
6083
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
6084
|
+
};
|
|
6085
|
+
};
|
|
6086
|
+
503: components["responses"]["Unavailable"];
|
|
6087
|
+
};
|
|
6088
|
+
};
|
|
6089
|
+
lookupWebShellExtensionOperation: {
|
|
6090
|
+
parameters: {
|
|
6091
|
+
query?: never;
|
|
6092
|
+
header?: never;
|
|
6093
|
+
path?: never;
|
|
6094
|
+
cookie?: never;
|
|
6095
|
+
};
|
|
6096
|
+
requestBody: {
|
|
6097
|
+
content: {
|
|
6098
|
+
"application/json": components["schemas"]["WebShellExtensionOperationLookup"];
|
|
6099
|
+
};
|
|
6100
|
+
};
|
|
6101
|
+
responses: {
|
|
6102
|
+
/** @description Verified result. */
|
|
6103
|
+
200: {
|
|
6104
|
+
headers: {
|
|
6105
|
+
[name: string]: unknown;
|
|
6106
|
+
};
|
|
6107
|
+
content: {
|
|
6108
|
+
"application/json": components["schemas"]["ManagedExtensionPackageOperation"];
|
|
6109
|
+
};
|
|
6110
|
+
};
|
|
6111
|
+
400: components["responses"]["BadRequest"];
|
|
6112
|
+
401: components["responses"]["Unauthorized"];
|
|
6113
|
+
403: components["responses"]["Forbidden"];
|
|
6114
|
+
404: components["responses"]["NotFound"];
|
|
6115
|
+
409: components["responses"]["Conflict"];
|
|
6116
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
6117
|
+
};
|
|
6118
|
+
};
|
|
6119
|
+
lookupWebShellSessionExtensionOperation: {
|
|
6120
|
+
parameters: {
|
|
6121
|
+
query?: never;
|
|
6122
|
+
header?: never;
|
|
6123
|
+
path?: never;
|
|
6124
|
+
cookie?: never;
|
|
6125
|
+
};
|
|
6126
|
+
requestBody: {
|
|
6127
|
+
content: {
|
|
6128
|
+
"application/json": components["schemas"]["WebShellExtensionApplyLookup"];
|
|
6129
|
+
};
|
|
6130
|
+
};
|
|
6131
|
+
responses: {
|
|
6132
|
+
/** @description Verified result. */
|
|
6133
|
+
200: {
|
|
6134
|
+
headers: {
|
|
6135
|
+
[name: string]: unknown;
|
|
6136
|
+
};
|
|
6137
|
+
content: {
|
|
6138
|
+
"application/json": components["schemas"]["ManagedExtensionManagementSnapshot"];
|
|
6139
|
+
};
|
|
6140
|
+
};
|
|
6141
|
+
400: components["responses"]["BadRequest"];
|
|
6142
|
+
401: components["responses"]["Unauthorized"];
|
|
6143
|
+
403: components["responses"]["Forbidden"];
|
|
6144
|
+
404: components["responses"]["NotFound"];
|
|
6145
|
+
409: components["responses"]["Conflict"];
|
|
6146
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
6147
|
+
};
|
|
6148
|
+
};
|
|
6149
|
+
previewWebShellExtensionImport: {
|
|
6150
|
+
parameters: {
|
|
6151
|
+
query: {
|
|
6152
|
+
/** @description URL-encoded JSON ManagedExtensionImportMetadata, at most16KiB. Raw input digest is verified by the Hosted compiler. */
|
|
6153
|
+
metadata: string;
|
|
6154
|
+
workspaceId: string;
|
|
6155
|
+
};
|
|
6156
|
+
header?: never;
|
|
6157
|
+
path?: never;
|
|
6158
|
+
cookie?: never;
|
|
6159
|
+
};
|
|
6160
|
+
requestBody: {
|
|
6161
|
+
content: {
|
|
6162
|
+
"application/octet-stream": string;
|
|
6163
|
+
};
|
|
6164
|
+
};
|
|
6165
|
+
responses: {
|
|
6166
|
+
/** @description Verified result. */
|
|
6167
|
+
200: {
|
|
6168
|
+
headers: {
|
|
6169
|
+
[name: string]: unknown;
|
|
6170
|
+
};
|
|
6171
|
+
content: {
|
|
6172
|
+
"application/json": components["schemas"]["ManagedExtensionPackageInspection"];
|
|
6173
|
+
};
|
|
6174
|
+
};
|
|
6175
|
+
400: components["responses"]["BadRequest"];
|
|
6176
|
+
401: components["responses"]["Unauthorized"];
|
|
6177
|
+
403: components["responses"]["Forbidden"];
|
|
6178
|
+
404: components["responses"]["NotFound"];
|
|
6179
|
+
409: components["responses"]["Conflict"];
|
|
6180
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
6181
|
+
/** @description Package imports require unencoded application/octet-stream bytes. */
|
|
6182
|
+
415: {
|
|
6183
|
+
headers: {
|
|
6184
|
+
[name: string]: unknown;
|
|
6185
|
+
};
|
|
6186
|
+
content: {
|
|
6187
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
6188
|
+
};
|
|
6189
|
+
};
|
|
6190
|
+
503: components["responses"]["Unavailable"];
|
|
6191
|
+
};
|
|
6192
|
+
};
|
|
5083
6193
|
}
|