@qwen-code/web-shell 0.26.1 → 0.26.2-preview.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 +2 -0
- package/dist/{PierreFilePreview-BSn2Dh41.js → PierreFilePreview-Cf76KkJc.js} +1 -1
- package/dist/{SpreadsheetPreview-Cs6SPlHq.js → SpreadsheetPreview-BXxrs6FZ.js} +2 -2
- package/dist/{WorkspaceFileBrowser-Du2JJJeH.js → WorkspaceFileBrowser-Cfi_Fx8Q.js} +2 -2
- package/dist/{agents-route-Dk7VmGeH.js → agents-route-Dc73Pt04.js} +2 -2
- package/dist/daemon-react-sdk.js +1 -1
- package/dist/{index-C7o_tVb8.js → index-DjRVj9L_.js} +54762 -53059
- package/dist/index.js +3 -3
- package/dist/sw.js +1 -1
- package/dist/transcript.js +9120 -8920
- package/dist/types/components/ChatEditor.d.ts +5 -1
- package/dist/types/components/MessageItem.d.ts +1 -0
- package/dist/types/components/dialogs/AddWorkspaceDialog.d.ts +32 -1
- package/dist/types/components/extensions/ExtensionsManagerPage.d.ts +7 -1
- package/dist/types/components/managed/ManagedExtensionsManagerPage.d.ts +8 -0
- package/dist/types/components/managed/ManagedPermissionRulesDialog.d.ts +9 -0
- package/dist/types/components/managed/ManagedSessionActions.d.ts +2 -1
- package/dist/types/components/managed/ManagedSessionsPage.d.ts +1 -2
- package/dist/types/components/managed/ManagedUserMessageQueue.d.ts +5 -0
- package/dist/types/components/managed/WorkspaceBindingCreator.d.ts +1 -2
- package/dist/types/components/managed/generated/managed-agent-api.d.ts +961 -85
- package/dist/types/components/managed/java-managed-agent-client.d.ts +64 -1
- package/dist/types/components/managed/managed-agent-provider.d.ts +42 -10
- package/dist/types/components/managed/managed-extension-messages.d.ts +36 -0
- package/dist/types/components/managed/managed-extension-types.d.ts +10 -0
- package/dist/types/components/managed/use-managed-approval-change.d.ts +3 -1
- package/dist/types/components/managed/use-managed-file-references.d.ts +7 -0
- package/dist/types/components/managed/use-managed-file-upload.d.ts +23 -0
- package/dist/types/components/managed/use-managed-session-rename.d.ts +2 -2
- package/dist/types/components/managed/use-managed-user-messages.d.ts +13 -0
- package/dist/types/components/messages/AssistantMessage.d.ts +1 -0
- package/dist/types/components/messages/SettingsMessage.d.ts +13 -1
- package/dist/types/components/plugins/PluginManagerPage.d.ts +3 -1
- package/dist/types/components/ui/badge.d.ts +1 -1
- package/dist/types/components/ui/button.d.ts +1 -1
- package/dist/types/components/ui/tooltip.d.ts +3 -1
- package/dist/types/components/workspaces/WorkspaceDirectoriesSection.d.ts +11 -0
- package/dist/types/daemon/workspace/types.d.ts +12 -1
- package/dist/types/settings.d.ts +2 -1
- package/dist/types/utils/selectionClipboard.d.ts +1 -0
- package/dist/types/utils/selectionClipboard.transcript-stub.d.ts +1 -0
- package/dist/types/utils/todos.d.ts +8 -0
- package/dist/types/utils/turnDuration.d.ts +1 -0
- package/dist/{useDaemonMidTurnInjected-DGp6d4J1.js → useDaemonMidTurnInjected-DY7azBbC.js} +2480 -2255
- package/package.json +1 -1
- package/dist/types/components/managed/ManagedSessionCwdControl.d.ts +0 -9
- package/dist/types/components/managed/use-managed-cwd-change.d.ts +0 -21
|
@@ -150,23 +150,6 @@ export interface paths {
|
|
|
150
150
|
patch?: never;
|
|
151
151
|
trace?: never;
|
|
152
152
|
};
|
|
153
|
-
"/api/agent/web-shell/v1/sessions/cwd/change": {
|
|
154
|
-
parameters: {
|
|
155
|
-
query?: never;
|
|
156
|
-
header?: never;
|
|
157
|
-
path?: never;
|
|
158
|
-
cookie?: never;
|
|
159
|
-
};
|
|
160
|
-
get?: never;
|
|
161
|
-
put?: never;
|
|
162
|
-
/** @description W2, implemented: the camelCase twin of the public changeSessionCwd with the matched refusal order: 400 invalid_request for a missing or malformed field; 401 actor_required without a trusted actor; 400 invalid_idempotency_key for a malformed idempotencyKey — with two documented divergences: a key over 128 characters is refused during request validation with 400 invalid_request before the service's check, and a blank idempotencyKey is refused there too, while the public header answers 400 invalid_idempotency_key for both shapes; 400 invalid_cwd for a lexical violation and 400 invalid_request for an expectedContextRevision below 1; 404 session_not_found for an unknown Session id; 400 unsupported_feature for an unbound Session; 404 session_not_found for an unreadable Session; 409 idempotency_conflict when one key carries different content, and a completed change under the same key always replays instead, before the role refusal; 403 session_operation_forbidden when a readable actor's Workspace role is below OPERATOR; 409 workspace_unavailable when execution is disabled; 404 session_not_found for a deleted Session; then 409 session_state_conflict, 409 workspace_unavailable from moved Registry facts (the recorded create-command actor's grant included, and the settlement re-checks the V56-persisted initiator the same way, so demoting either actor fails the operation, exactly like the public surface), 409 context_revision_conflict and 409 session_context_busy. Poll the operation or await session.context.changed; do not treat 202 as activation. */
|
|
163
|
-
post: operations["webShellChangeCwd"];
|
|
164
|
-
delete?: never;
|
|
165
|
-
options?: never;
|
|
166
|
-
head?: never;
|
|
167
|
-
patch?: never;
|
|
168
|
-
trace?: never;
|
|
169
|
-
};
|
|
170
153
|
"/api/agent/web-shell/v1/operations/query": {
|
|
171
154
|
parameters: {
|
|
172
155
|
query?: never;
|
|
@@ -525,7 +508,7 @@ export interface paths {
|
|
|
525
508
|
};
|
|
526
509
|
get?: never;
|
|
527
510
|
put?: never;
|
|
528
|
-
/** @description Change the execution approval policy of an eligible Workspace Session: built-in qwen-code or a stored AgentDefinition on exactly hosted-workspace-files/1, hosted-workspace-files/3 or hosted-workspace-shell/1. With liveSupported, execution policy changes affect subsequent current-Turn permission checks and permit eligible pending ordinary tool approvals. Otherwise the Session must be idle. Plan changes remain idle-only. Requires its recorded owner, current OPERATOR or OWNER access and Session-specific Harness feature support. Changes are revision-checked and actor/session-scoped idempotent. Definition creation policy and pins remain immutable. */
|
|
511
|
+
/** @description Change the execution approval policy of an eligible Workspace Session: built-in qwen-code or a stored AgentDefinition on exactly hosted-workspace-files/1, hosted-workspace-files/3 or hosted-workspace-shell/1. With liveSupported, execution policy changes affect subsequent current-Turn permission checks and permit eligible pending ordinary tool approvals. Otherwise the Session must be idle. Plan changes remain idle-only. Requires its recorded owner, current OPERATOR or OWNER access and Session-specific Harness feature support. Changes are revision-checked and actor/session-scoped idempotent. Definition creation policy and pins remain immutable. Classifier auto requires auto-approval/1. Optional permissionRules requires permission-rules/1 and an idle Session. Omitted rules preserve the current selection; three empty arrays clear it. Mode, Plan and rules share one approval revision and receipt. Persisted rules are also snapshotted at Turn admission; replay preserves the original policy. Empty rules are omitted from responses and Harness payloads. */
|
|
529
512
|
post: operations["changeWebShellSessionApproval"];
|
|
530
513
|
delete?: never;
|
|
531
514
|
options?: never;
|
|
@@ -830,6 +813,250 @@ export interface paths {
|
|
|
830
813
|
patch?: never;
|
|
831
814
|
trace?: never;
|
|
832
815
|
};
|
|
816
|
+
"/api/agent/web-shell/v1/user-messages/query": {
|
|
817
|
+
parameters: {
|
|
818
|
+
query?: never;
|
|
819
|
+
header?: never;
|
|
820
|
+
path?: never;
|
|
821
|
+
cookie?: never;
|
|
822
|
+
};
|
|
823
|
+
get?: never;
|
|
824
|
+
put?: never;
|
|
825
|
+
/** Query or mutate the durable Session user message queue */
|
|
826
|
+
post: operations["webShellQueryUserMessages"];
|
|
827
|
+
delete?: never;
|
|
828
|
+
options?: never;
|
|
829
|
+
head?: never;
|
|
830
|
+
patch?: never;
|
|
831
|
+
trace?: never;
|
|
832
|
+
};
|
|
833
|
+
"/api/agent/web-shell/v1/user-messages/command": {
|
|
834
|
+
parameters: {
|
|
835
|
+
query?: never;
|
|
836
|
+
header?: never;
|
|
837
|
+
path?: never;
|
|
838
|
+
cookie?: never;
|
|
839
|
+
};
|
|
840
|
+
get?: never;
|
|
841
|
+
put?: never;
|
|
842
|
+
/** Query or mutate the durable Session user message queue */
|
|
843
|
+
post: operations["webShellCommandUserMessages"];
|
|
844
|
+
delete?: never;
|
|
845
|
+
options?: never;
|
|
846
|
+
head?: never;
|
|
847
|
+
patch?: never;
|
|
848
|
+
trace?: never;
|
|
849
|
+
};
|
|
850
|
+
"/api/agent/web-shell/v1/workspace-extensions/query": {
|
|
851
|
+
parameters: {
|
|
852
|
+
query?: never;
|
|
853
|
+
header?: never;
|
|
854
|
+
path?: never;
|
|
855
|
+
cookie?: never;
|
|
856
|
+
};
|
|
857
|
+
get?: never;
|
|
858
|
+
put?: never;
|
|
859
|
+
/** @description Requires an authenticated actor with a read grant on the persisted Workspace. Reads durable metadata only; never creates a Runtime, loads a Harness Session, or retries an original operation. */
|
|
860
|
+
post: operations["queryWorkspaceExtensionPackages"];
|
|
861
|
+
delete?: never;
|
|
862
|
+
options?: never;
|
|
863
|
+
head?: never;
|
|
864
|
+
patch?: never;
|
|
865
|
+
trace?: never;
|
|
866
|
+
};
|
|
867
|
+
"/api/agent/web-shell/v1/workspace-extensions/packages/query": {
|
|
868
|
+
parameters: {
|
|
869
|
+
query?: never;
|
|
870
|
+
header?: never;
|
|
871
|
+
path?: never;
|
|
872
|
+
cookie?: never;
|
|
873
|
+
};
|
|
874
|
+
get?: never;
|
|
875
|
+
put?: never;
|
|
876
|
+
/** @description Requires an authenticated actor with a read grant on the persisted Workspace. Reads durable metadata only; never creates a Runtime, loads a Harness Session, or retries an original operation. */
|
|
877
|
+
post: operations["queryWorkspaceExtensionPackage"];
|
|
878
|
+
delete?: never;
|
|
879
|
+
options?: never;
|
|
880
|
+
head?: never;
|
|
881
|
+
patch?: never;
|
|
882
|
+
trace?: never;
|
|
883
|
+
};
|
|
884
|
+
"/api/agent/web-shell/v1/workspace-extensions/settings/query": {
|
|
885
|
+
parameters: {
|
|
886
|
+
query?: never;
|
|
887
|
+
header?: never;
|
|
888
|
+
path?: never;
|
|
889
|
+
cookie?: never;
|
|
890
|
+
};
|
|
891
|
+
get?: never;
|
|
892
|
+
put?: never;
|
|
893
|
+
/** @description Requires an authenticated actor with a read grant on the persisted Workspace. Reads durable metadata only; never creates a Runtime, loads a Harness Session, or retries an original operation. */
|
|
894
|
+
post: operations["queryWorkspaceExtensionPackageSettings"];
|
|
895
|
+
delete?: never;
|
|
896
|
+
options?: never;
|
|
897
|
+
head?: never;
|
|
898
|
+
patch?: never;
|
|
899
|
+
trace?: never;
|
|
900
|
+
};
|
|
901
|
+
"/api/agent/web-shell/v1/workspace-extensions/settings/submit": {
|
|
902
|
+
parameters: {
|
|
903
|
+
query?: never;
|
|
904
|
+
header?: never;
|
|
905
|
+
path?: never;
|
|
906
|
+
cookie?: never;
|
|
907
|
+
};
|
|
908
|
+
get?: never;
|
|
909
|
+
put?: never;
|
|
910
|
+
/** @description Requires the same Workspace operator and deployment permission as publication. Writes a complete encrypted settings revision with optimistic concurrency; old pinned revisions remain available. No values are returned. */
|
|
911
|
+
post: operations["submitWorkspaceExtensionPackageSettings"];
|
|
912
|
+
delete?: never;
|
|
913
|
+
options?: never;
|
|
914
|
+
head?: never;
|
|
915
|
+
patch?: never;
|
|
916
|
+
trace?: never;
|
|
917
|
+
};
|
|
918
|
+
"/api/agent/web-shell/v1/workspace-extensions/operations/query": {
|
|
919
|
+
parameters: {
|
|
920
|
+
query?: never;
|
|
921
|
+
header?: never;
|
|
922
|
+
path?: never;
|
|
923
|
+
cookie?: never;
|
|
924
|
+
};
|
|
925
|
+
get?: never;
|
|
926
|
+
put?: never;
|
|
927
|
+
/** @description Requires an authenticated actor with a read grant on the persisted Workspace. Reads durable metadata only; never creates a Runtime, loads a Harness Session, or retries an original operation. The querying actor must own the original publication or settings operation. */
|
|
928
|
+
post: operations["queryWorkspaceExtensionPackageOperation"];
|
|
929
|
+
delete?: never;
|
|
930
|
+
options?: never;
|
|
931
|
+
head?: never;
|
|
932
|
+
patch?: never;
|
|
933
|
+
trace?: never;
|
|
934
|
+
};
|
|
935
|
+
"/api/agent/web-shell/v1/workspace-extensions/publish": {
|
|
936
|
+
parameters: {
|
|
937
|
+
query?: never;
|
|
938
|
+
header?: never;
|
|
939
|
+
path?: never;
|
|
940
|
+
cookie?: never;
|
|
941
|
+
};
|
|
942
|
+
get?: never;
|
|
943
|
+
put?: never;
|
|
944
|
+
/** @description Requires an ACTIVE Workspace, an authenticated operator and the deployment extension allowlist. The Idempotency-Key binds an actor-scoped durable operation. Publication retains immutable tar.gz bytes under a server-assigned stable extension identity; it does not activate a Session. The manifest query is base64url JSON and is covered by the existing request signature. Archive contents and Runtime compatibility are validated by the target compiler before activation. */
|
|
945
|
+
post: operations["publishWebShellWorkspaceExtensionPackage"];
|
|
946
|
+
delete?: never;
|
|
947
|
+
options?: never;
|
|
948
|
+
head?: never;
|
|
949
|
+
patch?: never;
|
|
950
|
+
trace?: never;
|
|
951
|
+
};
|
|
952
|
+
"/api/agent/web-shell/v1/session-extensions/query": {
|
|
953
|
+
parameters: {
|
|
954
|
+
query?: never;
|
|
955
|
+
header?: never;
|
|
956
|
+
path?: never;
|
|
957
|
+
cookie?: never;
|
|
958
|
+
};
|
|
959
|
+
get?: never;
|
|
960
|
+
put?: never;
|
|
961
|
+
/** @description Requires a Workspace reader for status and OPERATOR for changes. Status reads durable configuration and never loads a Harness or retries an operation. Apply requires an idle Session and the original Runtime with the package execution contract; a committed unknown outcome fences new execution until the original operation is reconciled. Explicit recovery compiles previous content into a new revision. */
|
|
962
|
+
post: operations["webShellSessionExtensionsQuery"];
|
|
963
|
+
delete?: never;
|
|
964
|
+
options?: never;
|
|
965
|
+
head?: never;
|
|
966
|
+
patch?: never;
|
|
967
|
+
trace?: never;
|
|
968
|
+
};
|
|
969
|
+
"/api/agent/web-shell/v1/session-extensions/submit": {
|
|
970
|
+
parameters: {
|
|
971
|
+
query?: never;
|
|
972
|
+
header?: never;
|
|
973
|
+
path?: never;
|
|
974
|
+
cookie?: never;
|
|
975
|
+
};
|
|
976
|
+
get?: never;
|
|
977
|
+
put?: never;
|
|
978
|
+
/** @description Requires a Workspace reader for status and OPERATOR for changes. Status reads durable configuration and never loads a Harness or retries an operation. Apply requires an idle Session and the original Runtime with the package execution contract; a committed unknown outcome fences new execution until the original operation is reconciled. Explicit recovery compiles previous content into a new revision. */
|
|
979
|
+
post: operations["webShellSessionExtensionsSubmit"];
|
|
980
|
+
delete?: never;
|
|
981
|
+
options?: never;
|
|
982
|
+
head?: never;
|
|
983
|
+
patch?: never;
|
|
984
|
+
trace?: never;
|
|
985
|
+
};
|
|
986
|
+
"/api/agent/web-shell/v1/session-extensions/continue": {
|
|
987
|
+
parameters: {
|
|
988
|
+
query?: never;
|
|
989
|
+
header?: never;
|
|
990
|
+
path?: never;
|
|
991
|
+
cookie?: never;
|
|
992
|
+
};
|
|
993
|
+
get?: never;
|
|
994
|
+
put?: never;
|
|
995
|
+
/** @description Requires a Workspace reader for status and OPERATOR for changes. Status reads durable configuration and never loads a Harness or retries an operation. Apply requires an idle Session and the original Runtime with the package execution contract; a committed unknown outcome fences new execution until the original operation is reconciled. Explicit recovery compiles previous content into a new revision. */
|
|
996
|
+
post: operations["webShellSessionExtensionsContinue"];
|
|
997
|
+
delete?: never;
|
|
998
|
+
options?: never;
|
|
999
|
+
head?: never;
|
|
1000
|
+
patch?: never;
|
|
1001
|
+
trace?: never;
|
|
1002
|
+
};
|
|
1003
|
+
"/api/agent/web-shell/v1/session-extensions/recover-previous": {
|
|
1004
|
+
parameters: {
|
|
1005
|
+
query?: never;
|
|
1006
|
+
header?: never;
|
|
1007
|
+
path?: never;
|
|
1008
|
+
cookie?: never;
|
|
1009
|
+
};
|
|
1010
|
+
get?: never;
|
|
1011
|
+
put?: never;
|
|
1012
|
+
/** @description Requires a Workspace reader for status and OPERATOR for changes. Status reads durable configuration and never loads a Harness or retries an operation. Apply requires an idle Session and the original Runtime with the package execution contract; a committed unknown outcome fences new execution until the original operation is reconciled. Explicit recovery compiles previous content into a new revision. */
|
|
1013
|
+
post: operations["webShellSessionExtensionsRecoverPrevious"];
|
|
1014
|
+
delete?: never;
|
|
1015
|
+
options?: never;
|
|
1016
|
+
head?: never;
|
|
1017
|
+
patch?: never;
|
|
1018
|
+
trace?: never;
|
|
1019
|
+
};
|
|
1020
|
+
"/api/agent/web-shell/v1/workspaces/files/upload": {
|
|
1021
|
+
parameters: {
|
|
1022
|
+
query?: never;
|
|
1023
|
+
header?: never;
|
|
1024
|
+
path?: never;
|
|
1025
|
+
cookie?: never;
|
|
1026
|
+
};
|
|
1027
|
+
get?: never;
|
|
1028
|
+
put?: never;
|
|
1029
|
+
/**
|
|
1030
|
+
* Upload one binary file to a persisted Workspace
|
|
1031
|
+
* @description Requires a trusted actor with OPERATOR or OWNER access, enabled Workspace files, verified LOCAL or SSH_LOCAL storage and an updated CLI. Uploads are limited to 8 MiB, require an existing parent directory and never overwrite an occupied path. A durable physical storage hold excludes tool execution and retirement until the original upload has a definite terminal result. Repeating the same upload ID reconciles its original command without replaying mutation; changed requests conflict. CSI is unsupported and never falls back to a primary Workspace. An uncertain result returns 503 workspace_upload_pending and must be queried by the original upload ID.
|
|
1032
|
+
*/
|
|
1033
|
+
post: operations["webShellWorkspaceFilesUpload"];
|
|
1034
|
+
delete?: never;
|
|
1035
|
+
options?: never;
|
|
1036
|
+
head?: never;
|
|
1037
|
+
patch?: never;
|
|
1038
|
+
trace?: never;
|
|
1039
|
+
};
|
|
1040
|
+
"/api/agent/web-shell/v1/workspaces/files/uploads/query": {
|
|
1041
|
+
parameters: {
|
|
1042
|
+
query?: never;
|
|
1043
|
+
header?: never;
|
|
1044
|
+
path?: never;
|
|
1045
|
+
cookie?: never;
|
|
1046
|
+
};
|
|
1047
|
+
get?: never;
|
|
1048
|
+
put?: never;
|
|
1049
|
+
/**
|
|
1050
|
+
* Reconcile the original Workspace upload
|
|
1051
|
+
* @description Only the admitting actor with a current Workspace operator grant can query the upload. Status checks use the frozen original storage target and never execute an upload or select a replacement Runtime. Reconciliation remains available through storage fencing; pending commands retain their durable hold. The server also reconciles pending uploads after client cancellation or restart.
|
|
1052
|
+
*/
|
|
1053
|
+
post: operations["webShellWorkspaceFilesUploadQuery"];
|
|
1054
|
+
delete?: never;
|
|
1055
|
+
options?: never;
|
|
1056
|
+
head?: never;
|
|
1057
|
+
patch?: never;
|
|
1058
|
+
trace?: never;
|
|
1059
|
+
};
|
|
833
1060
|
}
|
|
834
1061
|
export type webhooks = Record<string, never>;
|
|
835
1062
|
export interface components {
|
|
@@ -959,6 +1186,8 @@ export interface components {
|
|
|
959
1186
|
planMode?: boolean;
|
|
960
1187
|
/** @description Optional static Skills imported from the enabled management catalog or added explicitly to the pinned AgentDefinition catalog. The merged catalog has unique names, at most 256 entries, 512 KiB per body and 2 MiB compact JSON. Requires session-skills/2; persisted immutably and included in creation idempotency. */
|
|
961
1188
|
skills?: components["schemas"]["SessionCreationSkill"][];
|
|
1189
|
+
/** @description Optional immutable initial extension selection. Omission keeps the legacy configuration path; an explicit empty array starts the unified configuration format. Included in creation idempotency and applied before the first model request. Requires session-extension-packages/1 and an extension-capable original Runtime. */
|
|
1190
|
+
extensionPins?: components["schemas"]["ManagedExtensionPackagePin"][];
|
|
962
1191
|
};
|
|
963
1192
|
WebShellSubmitRequest: {
|
|
964
1193
|
/** @description Trace correlation only. */
|
|
@@ -1036,7 +1265,7 @@ export interface components {
|
|
|
1036
1265
|
* @description Current effective approval policy; initialApprovalMode retains the immutable creation policy.
|
|
1037
1266
|
* @enum {string}
|
|
1038
1267
|
*/
|
|
1039
|
-
approvalMode?: "default" | "auto-edit" | "yolo";
|
|
1268
|
+
approvalMode?: "default" | "auto" | "auto-edit" | "yolo";
|
|
1040
1269
|
modelContext?: components["schemas"]["WebShellModelContext"];
|
|
1041
1270
|
modelSelection?: components["schemas"]["WebShellModelSelection"];
|
|
1042
1271
|
/** Format: int64 */
|
|
@@ -1064,7 +1293,8 @@ export interface components {
|
|
|
1064
1293
|
};
|
|
1065
1294
|
WebShellSessionCapabilities: {
|
|
1066
1295
|
/**
|
|
1067
|
-
* @
|
|
1296
|
+
* @deprecated
|
|
1297
|
+
* @description Retired: Session directory-change submission has been removed; always false.
|
|
1068
1298
|
* @default false
|
|
1069
1299
|
*/
|
|
1070
1300
|
cwdChange?: boolean;
|
|
@@ -1278,15 +1508,6 @@ export interface components {
|
|
|
1278
1508
|
canCreateSession?: true;
|
|
1279
1509
|
}) | null;
|
|
1280
1510
|
};
|
|
1281
|
-
WebShellChangeCwdRequest: {
|
|
1282
|
-
/** Format: uuid */
|
|
1283
|
-
sessionId: string;
|
|
1284
|
-
idempotencyKey: string;
|
|
1285
|
-
cwdRelative: components["schemas"]["WorkspaceRelativePath"];
|
|
1286
|
-
/** Format: int64 */
|
|
1287
|
-
expectedContextRevision: number;
|
|
1288
|
-
requestId?: string | null;
|
|
1289
|
-
};
|
|
1290
1511
|
WebShellOperationRequest: {
|
|
1291
1512
|
/** Format: uuid */
|
|
1292
1513
|
sessionId: string;
|
|
@@ -1746,15 +1967,19 @@ export interface components {
|
|
|
1746
1967
|
/** @description Execution approval can change during a Turn when true. Missing means idle-only; Plan changes remain idle-only. */
|
|
1747
1968
|
liveSupported?: boolean;
|
|
1748
1969
|
/** @enum {string} */
|
|
1749
|
-
approvalMode: "default" | "auto-edit" | "yolo";
|
|
1970
|
+
approvalMode: "default" | "auto" | "auto-edit" | "yolo";
|
|
1750
1971
|
/** Format: int64 */
|
|
1751
1972
|
approvalRevision: number;
|
|
1752
|
-
availableApprovalModes: ("default" | "auto-edit" | "yolo")[];
|
|
1973
|
+
availableApprovalModes: ("default" | "auto" | "auto-edit" | "yolo")[];
|
|
1753
1974
|
supported: boolean;
|
|
1754
1975
|
/** @description Persisted public Plan overlay, independent of execution permission. Omission on a change preserves the selected state. */
|
|
1755
1976
|
planMode?: boolean;
|
|
1756
1977
|
/** @description Optional deployment capability; missing means false. */
|
|
1757
1978
|
planModeSupported?: boolean;
|
|
1979
|
+
/** @description Persisted rules, including when execution capability is unavailable. Omitted when empty. */
|
|
1980
|
+
permissionRules?: components["schemas"]["ManagedPermissionRules"];
|
|
1981
|
+
/** @description Owner-authorized Session rule editing is available only with Harness permission-rules/1 support. Missing means false. Rule changes require an idle Session. */
|
|
1982
|
+
permissionRulesSupported?: boolean;
|
|
1758
1983
|
};
|
|
1759
1984
|
WebShellChangeApprovalRequest: {
|
|
1760
1985
|
sessionId: string;
|
|
@@ -1763,19 +1988,23 @@ export interface components {
|
|
|
1763
1988
|
idempotencyKey: string;
|
|
1764
1989
|
requestId?: string;
|
|
1765
1990
|
/** @enum {string} */
|
|
1766
|
-
approvalMode: "default" | "auto-edit" | "yolo";
|
|
1991
|
+
approvalMode: "default" | "auto" | "auto-edit" | "yolo";
|
|
1767
1992
|
/** @description Persisted public Plan overlay, independent of execution permission. Omission on a change preserves the selected state. */
|
|
1768
1993
|
planMode?: boolean;
|
|
1994
|
+
/** @description Omission preserves the persisted rules. Supplying three empty arrays clears them. Rule edits require an idle Session, and share the approval revision and idempotency receipt with mode changes. */
|
|
1995
|
+
permissionRules?: components["schemas"]["ManagedPermissionRules"];
|
|
1769
1996
|
};
|
|
1770
1997
|
WebShellApprovalChangeResult: {
|
|
1771
1998
|
sessionId: string;
|
|
1772
1999
|
/** @enum {string} */
|
|
1773
|
-
approvalMode: "default" | "auto-edit" | "yolo";
|
|
2000
|
+
approvalMode: "default" | "auto" | "auto-edit" | "yolo";
|
|
1774
2001
|
/** Format: int64 */
|
|
1775
2002
|
approvalRevision: number;
|
|
1776
2003
|
replayed: boolean;
|
|
1777
2004
|
/** @description Persisted public Plan overlay, independent of execution permission. Omission on a change preserves the selected state. */
|
|
1778
2005
|
planMode?: boolean;
|
|
2006
|
+
/** @description Committed rules; omitted when empty. Replayed requests return their original policy receipt. */
|
|
2007
|
+
permissionRules?: components["schemas"]["ManagedPermissionRules"];
|
|
1779
2008
|
};
|
|
1780
2009
|
WebShellRuntimeNode: {
|
|
1781
2010
|
nodeId: string;
|
|
@@ -1890,6 +2119,8 @@ export interface components {
|
|
|
1890
2119
|
directory: string;
|
|
1891
2120
|
entries: components["schemas"]["WebShellWorkspaceFileEntry"][];
|
|
1892
2121
|
truncated: boolean;
|
|
2122
|
+
/** @description Present only when the selected CLI supports durable Workspace uploads. */
|
|
2123
|
+
maxUploadBytes?: number;
|
|
1893
2124
|
};
|
|
1894
2125
|
WebShellWorkspaceFileSnapshot: {
|
|
1895
2126
|
scopeRevision: string;
|
|
@@ -2107,29 +2338,213 @@ export interface components {
|
|
|
2107
2338
|
*/
|
|
2108
2339
|
deliveryState: "pending" | "leased" | "confirmed" | "blocked";
|
|
2109
2340
|
};
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
[name: string]: unknown;
|
|
2116
|
-
};
|
|
2117
|
-
content: {
|
|
2118
|
-
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
2119
|
-
};
|
|
2341
|
+
/** @description Session-scoped portable permission-rules/1. Each rule must be trimmed, nonempty, free of control characters, and at most 512 UTF-8 bytes. At most 32 unique strings per list, 64 across all lists and 8192 UTF-8 bytes of compact JSON. Tool names and aliases match whole tools; MCP names may end with a wildcard. Bash/Shell/run_shell_command/monitor command globs and WebFetch/web_fetch(domain:host) are supported; file-path specifiers and arbitrary tool predicates are rejected. Deny takes precedence over ask, then allow, in every mode. Rules do not provide filesystem or process isolation. */
|
|
2342
|
+
ManagedPermissionRules: {
|
|
2343
|
+
allow: string[];
|
|
2344
|
+
ask: string[];
|
|
2345
|
+
deny: string[];
|
|
2120
2346
|
};
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
}
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2347
|
+
UserMessage: {
|
|
2348
|
+
id: string;
|
|
2349
|
+
sequence: number;
|
|
2350
|
+
revision: number;
|
|
2351
|
+
/** @enum {string} */
|
|
2352
|
+
state: "queued" | "claimed" | "recovery_blocked";
|
|
2353
|
+
input: {
|
|
2354
|
+
type: string;
|
|
2355
|
+
text?: string;
|
|
2356
|
+
resource?: {
|
|
2357
|
+
uri: string;
|
|
2358
|
+
text: string;
|
|
2359
|
+
mimeType: string;
|
|
2360
|
+
};
|
|
2361
|
+
}[];
|
|
2362
|
+
turnId?: string | null;
|
|
2129
2363
|
};
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2364
|
+
UserMessageSnapshot: {
|
|
2365
|
+
paused: boolean;
|
|
2366
|
+
messages: components["schemas"]["UserMessage"][];
|
|
2367
|
+
};
|
|
2368
|
+
/** @description submit queues input; edit only changes queued input. withdraw removes queued input or explicitly discards recovery_blocked input without replaying it. Unknown delivery may already have reached the original Turn: discarding does not undo it, preserves late durable receipts and keeps the queue paused until resume. In-flight claimed input remains immutable. Commands replay the actor-scoped recorded result before checking new-work availability. */
|
|
2369
|
+
UserMessageCommand: {
|
|
2370
|
+
/** @enum {string} */
|
|
2371
|
+
action: "submit" | "edit" | "withdraw" | "resume";
|
|
2372
|
+
messageId?: string;
|
|
2373
|
+
expectedRevision?: number;
|
|
2374
|
+
input?: components["schemas"]["InputBlock"][];
|
|
2375
|
+
};
|
|
2376
|
+
WebShellUserMessageQuery: {
|
|
2377
|
+
sessionId: string;
|
|
2378
|
+
};
|
|
2379
|
+
WebShellUserMessageCommand: {
|
|
2380
|
+
sessionId: string;
|
|
2381
|
+
idempotencyKey: string;
|
|
2382
|
+
command: components["schemas"]["UserMessageCommand"];
|
|
2383
|
+
};
|
|
2384
|
+
ManagedExtensionPackagePin: {
|
|
2385
|
+
extensionId: string;
|
|
2386
|
+
/** Format: int64 */
|
|
2387
|
+
packageRevision: number;
|
|
2388
|
+
packageDigest: string;
|
|
2389
|
+
/** Format: int64 */
|
|
2390
|
+
settingsRevision?: number;
|
|
2391
|
+
};
|
|
2392
|
+
ManagedExtensionPackageManifest: {
|
|
2393
|
+
/** @enum {integer} */
|
|
2394
|
+
schemaVersion: 1;
|
|
2395
|
+
/** @enum {integer} */
|
|
2396
|
+
compilerVersion: 1;
|
|
2397
|
+
name: string;
|
|
2398
|
+
version: string;
|
|
2399
|
+
target: {
|
|
2400
|
+
/** @enum {string} */
|
|
2401
|
+
platform: "linux" | "darwin";
|
|
2402
|
+
/** @enum {string} */
|
|
2403
|
+
arch: "x64" | "arm64" | "any";
|
|
2404
|
+
};
|
|
2405
|
+
components: ("skills" | "commands" | "agents" | "context" | "mcp" | "hooks" | "settings")[];
|
|
2406
|
+
/** @enum {string} */
|
|
2407
|
+
sourceType?: "git" | "github-release" | "npm" | "directory" | "archive" | "archive-url" | "link" | "snapshot";
|
|
2408
|
+
/** @description Exact source commit, resolved npm version, or imported content revision. Supplied together with sourceType. */
|
|
2409
|
+
sourceRevision?: string;
|
|
2410
|
+
};
|
|
2411
|
+
ManagedExtensionPackage: {
|
|
2412
|
+
pin: components["schemas"]["ManagedExtensionPackagePin"];
|
|
2413
|
+
manifest: components["schemas"]["ManagedExtensionPackageManifest"];
|
|
2414
|
+
/** Format: int64 */
|
|
2415
|
+
byteLength: number;
|
|
2416
|
+
};
|
|
2417
|
+
ManagedExtensionPackageCatalog: {
|
|
2418
|
+
supported: boolean;
|
|
2419
|
+
extensions: components["schemas"]["ManagedExtensionPackage"][];
|
|
2420
|
+
};
|
|
2421
|
+
ManagedExtensionPackageSettings: {
|
|
2422
|
+
/** Format: int64 */
|
|
2423
|
+
settingsRevision: number;
|
|
2424
|
+
configuredKeys: string[];
|
|
2425
|
+
};
|
|
2426
|
+
ManagedExtensionPackageOperation: {
|
|
2427
|
+
operationId: string;
|
|
2428
|
+
extensionId: string;
|
|
2429
|
+
/** @enum {string} */
|
|
2430
|
+
kind: "publish" | "settings";
|
|
2431
|
+
/** @enum {string} */
|
|
2432
|
+
state: "pending" | "settled";
|
|
2433
|
+
/** Format: int64 */
|
|
2434
|
+
revision: number;
|
|
2435
|
+
packageDigest: string | null;
|
|
2436
|
+
};
|
|
2437
|
+
WebShellExtensionWorkspaceQuery: {
|
|
2438
|
+
workspaceId: string;
|
|
2439
|
+
};
|
|
2440
|
+
WebShellExtensionQuery: {
|
|
2441
|
+
workspaceId: string;
|
|
2442
|
+
extensionId: string;
|
|
2443
|
+
};
|
|
2444
|
+
WebShellExtensionOperationQuery: {
|
|
2445
|
+
workspaceId: string;
|
|
2446
|
+
operationId: string;
|
|
2447
|
+
};
|
|
2448
|
+
WebShellExtensionPackageQuery: {
|
|
2449
|
+
workspaceId: string;
|
|
2450
|
+
pin: components["schemas"]["ManagedExtensionPackagePin"];
|
|
2451
|
+
};
|
|
2452
|
+
WebShellExtensionSettingsSubmit: {
|
|
2453
|
+
workspaceId: string;
|
|
2454
|
+
extensionId: string;
|
|
2455
|
+
idempotencyKey: string;
|
|
2456
|
+
/** Format: int64 */
|
|
2457
|
+
expectedRevision: number;
|
|
2458
|
+
/** @description Complete settings revision, bounded to 8 KiB UTF-8 JSON. Values are encrypted at rest and never returned by metadata or operation queries. */
|
|
2459
|
+
values: {
|
|
2460
|
+
[key: string]: string;
|
|
2461
|
+
};
|
|
2462
|
+
};
|
|
2463
|
+
ManagedExtensionApplySelection: {
|
|
2464
|
+
expectedConfigRevision: number;
|
|
2465
|
+
extensions: components["schemas"]["ManagedExtensionPackagePin"][];
|
|
2466
|
+
};
|
|
2467
|
+
ManagedExtensionApplyOperation: {
|
|
2468
|
+
/** Format: uuid */
|
|
2469
|
+
operationId: string;
|
|
2470
|
+
/** @enum {string} */
|
|
2471
|
+
state: "preparing" | "prepared" | "committed" | "active" | "recovery_required" | "failed";
|
|
2472
|
+
/** @enum {string} */
|
|
2473
|
+
mode: "apply" | "recoverPrevious";
|
|
2474
|
+
revision: number;
|
|
2475
|
+
error?: {
|
|
2476
|
+
code: string;
|
|
2477
|
+
};
|
|
2478
|
+
};
|
|
2479
|
+
ManagedExtensionManagementSnapshot: {
|
|
2480
|
+
sessionId: string;
|
|
2481
|
+
supported: boolean;
|
|
2482
|
+
revision: number;
|
|
2483
|
+
extensions: components["schemas"]["ManagedExtensionPackagePin"][];
|
|
2484
|
+
requestedExtensions: components["schemas"]["ManagedExtensionPackagePin"][];
|
|
2485
|
+
operation?: components["schemas"]["ManagedExtensionApplyOperation"];
|
|
2486
|
+
};
|
|
2487
|
+
WebShellExtensionSessionQuery: {
|
|
2488
|
+
sessionId: string;
|
|
2489
|
+
/** Format: uuid */
|
|
2490
|
+
operationId?: string;
|
|
2491
|
+
};
|
|
2492
|
+
WebShellExtensionSessionOperation: {
|
|
2493
|
+
sessionId: string;
|
|
2494
|
+
/** Format: uuid */
|
|
2495
|
+
operationId: string;
|
|
2496
|
+
};
|
|
2497
|
+
WebShellExtensionSessionSubmit: {
|
|
2498
|
+
sessionId: string;
|
|
2499
|
+
idempotencyKey: string;
|
|
2500
|
+
command: components["schemas"]["ManagedExtensionApplySelection"];
|
|
2501
|
+
};
|
|
2502
|
+
WebShellWorkspaceFileUploadResult: {
|
|
2503
|
+
scopeRevision: string;
|
|
2504
|
+
/** Format: uuid */
|
|
2505
|
+
uploadId: string;
|
|
2506
|
+
path: string;
|
|
2507
|
+
sizeBytes: number;
|
|
2508
|
+
sha256: string;
|
|
2509
|
+
};
|
|
2510
|
+
WebShellWorkspaceFileUploadStatus: {
|
|
2511
|
+
scopeRevision: string;
|
|
2512
|
+
/** Format: uuid */
|
|
2513
|
+
uploadId: string;
|
|
2514
|
+
path: string;
|
|
2515
|
+
sizeBytes: number;
|
|
2516
|
+
sha256: string;
|
|
2517
|
+
/** @enum {string} */
|
|
2518
|
+
state: "completed" | "failed" | "pending";
|
|
2519
|
+
code?: string;
|
|
2520
|
+
};
|
|
2521
|
+
WebShellWorkspaceFileUploadQueryRequest: {
|
|
2522
|
+
/** Format: uuid */
|
|
2523
|
+
uploadId: string;
|
|
2524
|
+
};
|
|
2525
|
+
};
|
|
2526
|
+
responses: {
|
|
2527
|
+
/** @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. */
|
|
2528
|
+
Forbidden: {
|
|
2529
|
+
headers: {
|
|
2530
|
+
[name: string]: unknown;
|
|
2531
|
+
};
|
|
2532
|
+
content: {
|
|
2533
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
2534
|
+
};
|
|
2535
|
+
};
|
|
2536
|
+
/** @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. */
|
|
2537
|
+
Unauthorized: {
|
|
2538
|
+
headers: {
|
|
2539
|
+
[name: string]: unknown;
|
|
2540
|
+
};
|
|
2541
|
+
content: {
|
|
2542
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
2543
|
+
};
|
|
2544
|
+
};
|
|
2545
|
+
/** @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. */
|
|
2546
|
+
PayloadTooLarge: {
|
|
2547
|
+
headers: {
|
|
2133
2548
|
[name: string]: unknown;
|
|
2134
2549
|
};
|
|
2135
2550
|
content: {
|
|
@@ -2191,7 +2606,9 @@ export interface components {
|
|
|
2191
2606
|
};
|
|
2192
2607
|
};
|
|
2193
2608
|
};
|
|
2194
|
-
parameters:
|
|
2609
|
+
parameters: {
|
|
2610
|
+
IdempotencyKey: string;
|
|
2611
|
+
};
|
|
2195
2612
|
requestBodies: never;
|
|
2196
2613
|
headers: {
|
|
2197
2614
|
/** @description True when an accepted command or operation was replayed for the same idempotency key and digest without repeating its mutation. Session mutation responses represent the recorded outcome on the Session as last visible — a rename or unarchive replay after delete answers with the Session's pre-delete status rather than 404, while a create replay after delete answers 404 on the public create route, which re-reads the Session before responding, and answers the recorded 202 admission carrying the tombstoned sessionId on the WebShell create route, which does not re-read it; operation responses represent the original operation at its current state. */
|
|
@@ -2474,36 +2891,6 @@ export interface operations {
|
|
|
2474
2891
|
413: components["responses"]["PayloadTooLarge"];
|
|
2475
2892
|
};
|
|
2476
2893
|
};
|
|
2477
|
-
webShellChangeCwd: {
|
|
2478
|
-
parameters: {
|
|
2479
|
-
query?: never;
|
|
2480
|
-
header?: never;
|
|
2481
|
-
path?: never;
|
|
2482
|
-
cookie?: never;
|
|
2483
|
-
};
|
|
2484
|
-
requestBody: {
|
|
2485
|
-
content: {
|
|
2486
|
-
"application/json": components["schemas"]["WebShellChangeCwdRequest"];
|
|
2487
|
-
};
|
|
2488
|
-
};
|
|
2489
|
-
responses: {
|
|
2490
|
-
/** @description Durable cwd operation; acceptance does not mean the new cwd is active. */
|
|
2491
|
-
202: {
|
|
2492
|
-
headers: {
|
|
2493
|
-
[name: string]: unknown;
|
|
2494
|
-
};
|
|
2495
|
-
content: {
|
|
2496
|
-
"application/json": components["schemas"]["WebShellCwdOperation"];
|
|
2497
|
-
};
|
|
2498
|
-
};
|
|
2499
|
-
400: components["responses"]["BadRequest"];
|
|
2500
|
-
401: components["responses"]["Unauthorized"];
|
|
2501
|
-
403: components["responses"]["Forbidden"];
|
|
2502
|
-
404: components["responses"]["NotFound"];
|
|
2503
|
-
409: components["responses"]["Conflict"];
|
|
2504
|
-
413: components["responses"]["PayloadTooLarge"];
|
|
2505
|
-
};
|
|
2506
|
-
};
|
|
2507
2894
|
webShellQueryCwdOperation: {
|
|
2508
2895
|
parameters: {
|
|
2509
2896
|
query?: never;
|
|
@@ -3848,4 +4235,493 @@ export interface operations {
|
|
|
3848
4235
|
413: components["responses"]["PayloadTooLarge"];
|
|
3849
4236
|
};
|
|
3850
4237
|
};
|
|
4238
|
+
webShellQueryUserMessages: {
|
|
4239
|
+
parameters: {
|
|
4240
|
+
query?: never;
|
|
4241
|
+
header?: never;
|
|
4242
|
+
path?: never;
|
|
4243
|
+
cookie?: never;
|
|
4244
|
+
};
|
|
4245
|
+
requestBody: {
|
|
4246
|
+
content: {
|
|
4247
|
+
"application/json": components["schemas"]["WebShellUserMessageQuery"];
|
|
4248
|
+
};
|
|
4249
|
+
};
|
|
4250
|
+
responses: {
|
|
4251
|
+
/** @description Authoritative queue snapshot */
|
|
4252
|
+
200: {
|
|
4253
|
+
headers: {
|
|
4254
|
+
[name: string]: unknown;
|
|
4255
|
+
};
|
|
4256
|
+
content: {
|
|
4257
|
+
"application/json": components["schemas"]["UserMessageSnapshot"];
|
|
4258
|
+
};
|
|
4259
|
+
};
|
|
4260
|
+
400: components["responses"]["BadRequest"];
|
|
4261
|
+
401: components["responses"]["Unauthorized"];
|
|
4262
|
+
403: components["responses"]["Forbidden"];
|
|
4263
|
+
404: components["responses"]["NotFound"];
|
|
4264
|
+
409: components["responses"]["Conflict"];
|
|
4265
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
4266
|
+
503: components["responses"]["Unavailable"];
|
|
4267
|
+
};
|
|
4268
|
+
};
|
|
4269
|
+
webShellCommandUserMessages: {
|
|
4270
|
+
parameters: {
|
|
4271
|
+
query?: never;
|
|
4272
|
+
header?: never;
|
|
4273
|
+
path?: never;
|
|
4274
|
+
cookie?: never;
|
|
4275
|
+
};
|
|
4276
|
+
requestBody: {
|
|
4277
|
+
content: {
|
|
4278
|
+
"application/json": components["schemas"]["WebShellUserMessageCommand"];
|
|
4279
|
+
};
|
|
4280
|
+
};
|
|
4281
|
+
responses: {
|
|
4282
|
+
/** @description Authoritative queue snapshot */
|
|
4283
|
+
200: {
|
|
4284
|
+
headers: {
|
|
4285
|
+
[name: string]: unknown;
|
|
4286
|
+
};
|
|
4287
|
+
content: {
|
|
4288
|
+
"application/json": components["schemas"]["UserMessageSnapshot"];
|
|
4289
|
+
};
|
|
4290
|
+
};
|
|
4291
|
+
400: components["responses"]["BadRequest"];
|
|
4292
|
+
401: components["responses"]["Unauthorized"];
|
|
4293
|
+
403: components["responses"]["Forbidden"];
|
|
4294
|
+
404: components["responses"]["NotFound"];
|
|
4295
|
+
409: components["responses"]["Conflict"];
|
|
4296
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
4297
|
+
503: components["responses"]["Unavailable"];
|
|
4298
|
+
};
|
|
4299
|
+
};
|
|
4300
|
+
queryWorkspaceExtensionPackages: {
|
|
4301
|
+
parameters: {
|
|
4302
|
+
query?: never;
|
|
4303
|
+
header?: never;
|
|
4304
|
+
path?: never;
|
|
4305
|
+
cookie?: never;
|
|
4306
|
+
};
|
|
4307
|
+
requestBody: {
|
|
4308
|
+
content: {
|
|
4309
|
+
"application/json": components["schemas"]["WebShellExtensionWorkspaceQuery"];
|
|
4310
|
+
};
|
|
4311
|
+
};
|
|
4312
|
+
responses: {
|
|
4313
|
+
/** @description Persisted Workspace extension resource. Contains no settings values or executable recipes. */
|
|
4314
|
+
200: {
|
|
4315
|
+
headers: {
|
|
4316
|
+
[name: string]: unknown;
|
|
4317
|
+
};
|
|
4318
|
+
content: {
|
|
4319
|
+
"application/json": components["schemas"]["ManagedExtensionPackageCatalog"];
|
|
4320
|
+
};
|
|
4321
|
+
};
|
|
4322
|
+
400: components["responses"]["BadRequest"];
|
|
4323
|
+
401: components["responses"]["Unauthorized"];
|
|
4324
|
+
403: components["responses"]["Forbidden"];
|
|
4325
|
+
404: components["responses"]["NotFound"];
|
|
4326
|
+
409: components["responses"]["Conflict"];
|
|
4327
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
4328
|
+
};
|
|
4329
|
+
};
|
|
4330
|
+
queryWorkspaceExtensionPackage: {
|
|
4331
|
+
parameters: {
|
|
4332
|
+
query?: never;
|
|
4333
|
+
header?: never;
|
|
4334
|
+
path?: never;
|
|
4335
|
+
cookie?: never;
|
|
4336
|
+
};
|
|
4337
|
+
requestBody: {
|
|
4338
|
+
content: {
|
|
4339
|
+
"application/json": components["schemas"]["WebShellExtensionPackageQuery"];
|
|
4340
|
+
};
|
|
4341
|
+
};
|
|
4342
|
+
responses: {
|
|
4343
|
+
/** @description Persisted Workspace extension resource. Contains no settings values or executable recipes. */
|
|
4344
|
+
200: {
|
|
4345
|
+
headers: {
|
|
4346
|
+
[name: string]: unknown;
|
|
4347
|
+
};
|
|
4348
|
+
content: {
|
|
4349
|
+
"application/json": components["schemas"]["ManagedExtensionPackage"];
|
|
4350
|
+
};
|
|
4351
|
+
};
|
|
4352
|
+
400: components["responses"]["BadRequest"];
|
|
4353
|
+
401: components["responses"]["Unauthorized"];
|
|
4354
|
+
403: components["responses"]["Forbidden"];
|
|
4355
|
+
404: components["responses"]["NotFound"];
|
|
4356
|
+
409: components["responses"]["Conflict"];
|
|
4357
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
4358
|
+
};
|
|
4359
|
+
};
|
|
4360
|
+
queryWorkspaceExtensionPackageSettings: {
|
|
4361
|
+
parameters: {
|
|
4362
|
+
query?: never;
|
|
4363
|
+
header?: never;
|
|
4364
|
+
path?: never;
|
|
4365
|
+
cookie?: never;
|
|
4366
|
+
};
|
|
4367
|
+
requestBody: {
|
|
4368
|
+
content: {
|
|
4369
|
+
"application/json": components["schemas"]["WebShellExtensionQuery"];
|
|
4370
|
+
};
|
|
4371
|
+
};
|
|
4372
|
+
responses: {
|
|
4373
|
+
/** @description Persisted Workspace extension resource. Contains no settings values or executable recipes. */
|
|
4374
|
+
200: {
|
|
4375
|
+
headers: {
|
|
4376
|
+
[name: string]: unknown;
|
|
4377
|
+
};
|
|
4378
|
+
content: {
|
|
4379
|
+
"application/json": components["schemas"]["ManagedExtensionPackageSettings"];
|
|
4380
|
+
};
|
|
4381
|
+
};
|
|
4382
|
+
400: components["responses"]["BadRequest"];
|
|
4383
|
+
401: components["responses"]["Unauthorized"];
|
|
4384
|
+
403: components["responses"]["Forbidden"];
|
|
4385
|
+
404: components["responses"]["NotFound"];
|
|
4386
|
+
409: components["responses"]["Conflict"];
|
|
4387
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
4388
|
+
};
|
|
4389
|
+
};
|
|
4390
|
+
submitWorkspaceExtensionPackageSettings: {
|
|
4391
|
+
parameters: {
|
|
4392
|
+
query?: never;
|
|
4393
|
+
header?: never;
|
|
4394
|
+
path?: never;
|
|
4395
|
+
cookie?: never;
|
|
4396
|
+
};
|
|
4397
|
+
requestBody: {
|
|
4398
|
+
content: {
|
|
4399
|
+
"application/json": components["schemas"]["WebShellExtensionSettingsSubmit"];
|
|
4400
|
+
};
|
|
4401
|
+
};
|
|
4402
|
+
responses: {
|
|
4403
|
+
/** @description Persisted Workspace extension resource. Contains no settings values or executable recipes. */
|
|
4404
|
+
200: {
|
|
4405
|
+
headers: {
|
|
4406
|
+
[name: string]: unknown;
|
|
4407
|
+
};
|
|
4408
|
+
content: {
|
|
4409
|
+
"application/json": components["schemas"]["ManagedExtensionPackageOperation"];
|
|
4410
|
+
};
|
|
4411
|
+
};
|
|
4412
|
+
400: components["responses"]["BadRequest"];
|
|
4413
|
+
401: components["responses"]["Unauthorized"];
|
|
4414
|
+
403: components["responses"]["Forbidden"];
|
|
4415
|
+
404: components["responses"]["NotFound"];
|
|
4416
|
+
409: components["responses"]["Conflict"];
|
|
4417
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
4418
|
+
};
|
|
4419
|
+
};
|
|
4420
|
+
queryWorkspaceExtensionPackageOperation: {
|
|
4421
|
+
parameters: {
|
|
4422
|
+
query?: never;
|
|
4423
|
+
header?: never;
|
|
4424
|
+
path?: never;
|
|
4425
|
+
cookie?: never;
|
|
4426
|
+
};
|
|
4427
|
+
requestBody: {
|
|
4428
|
+
content: {
|
|
4429
|
+
"application/json": components["schemas"]["WebShellExtensionOperationQuery"];
|
|
4430
|
+
};
|
|
4431
|
+
};
|
|
4432
|
+
responses: {
|
|
4433
|
+
/** @description Persisted Workspace extension resource. Contains no settings values or executable recipes. */
|
|
4434
|
+
200: {
|
|
4435
|
+
headers: {
|
|
4436
|
+
[name: string]: unknown;
|
|
4437
|
+
};
|
|
4438
|
+
content: {
|
|
4439
|
+
"application/json": components["schemas"]["ManagedExtensionPackageOperation"];
|
|
4440
|
+
};
|
|
4441
|
+
};
|
|
4442
|
+
400: components["responses"]["BadRequest"];
|
|
4443
|
+
401: components["responses"]["Unauthorized"];
|
|
4444
|
+
403: components["responses"]["Forbidden"];
|
|
4445
|
+
404: components["responses"]["NotFound"];
|
|
4446
|
+
409: components["responses"]["Conflict"];
|
|
4447
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
4448
|
+
};
|
|
4449
|
+
};
|
|
4450
|
+
publishWebShellWorkspaceExtensionPackage: {
|
|
4451
|
+
parameters: {
|
|
4452
|
+
query: {
|
|
4453
|
+
workspaceId: string;
|
|
4454
|
+
extensionId?: string;
|
|
4455
|
+
packageDigest: string;
|
|
4456
|
+
manifest: string;
|
|
4457
|
+
};
|
|
4458
|
+
header: {
|
|
4459
|
+
"Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
4460
|
+
};
|
|
4461
|
+
path?: never;
|
|
4462
|
+
cookie?: never;
|
|
4463
|
+
};
|
|
4464
|
+
requestBody: {
|
|
4465
|
+
content: {
|
|
4466
|
+
"application/octet-stream": string;
|
|
4467
|
+
};
|
|
4468
|
+
};
|
|
4469
|
+
responses: {
|
|
4470
|
+
/** @description Persisted Workspace extension resource. Contains no settings values or executable recipes. */
|
|
4471
|
+
200: {
|
|
4472
|
+
headers: {
|
|
4473
|
+
[name: string]: unknown;
|
|
4474
|
+
};
|
|
4475
|
+
content: {
|
|
4476
|
+
"application/json": components["schemas"]["ManagedExtensionPackageOperation"];
|
|
4477
|
+
};
|
|
4478
|
+
};
|
|
4479
|
+
400: components["responses"]["BadRequest"];
|
|
4480
|
+
401: components["responses"]["Unauthorized"];
|
|
4481
|
+
403: components["responses"]["Forbidden"];
|
|
4482
|
+
404: components["responses"]["NotFound"];
|
|
4483
|
+
409: components["responses"]["Conflict"];
|
|
4484
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
4485
|
+
};
|
|
4486
|
+
};
|
|
4487
|
+
webShellSessionExtensionsQuery: {
|
|
4488
|
+
parameters: {
|
|
4489
|
+
query?: never;
|
|
4490
|
+
header?: never;
|
|
4491
|
+
path?: never;
|
|
4492
|
+
cookie?: never;
|
|
4493
|
+
};
|
|
4494
|
+
requestBody: {
|
|
4495
|
+
content: {
|
|
4496
|
+
"application/json": components["schemas"]["WebShellExtensionSessionQuery"];
|
|
4497
|
+
};
|
|
4498
|
+
};
|
|
4499
|
+
responses: {
|
|
4500
|
+
/** @description Persisted or reconciled Session configuration; contains no settings values or private executable recipes. */
|
|
4501
|
+
200: {
|
|
4502
|
+
headers: {
|
|
4503
|
+
[name: string]: unknown;
|
|
4504
|
+
};
|
|
4505
|
+
content: {
|
|
4506
|
+
"application/json": components["schemas"]["ManagedExtensionManagementSnapshot"];
|
|
4507
|
+
};
|
|
4508
|
+
};
|
|
4509
|
+
400: components["responses"]["BadRequest"];
|
|
4510
|
+
401: components["responses"]["Unauthorized"];
|
|
4511
|
+
403: components["responses"]["Forbidden"];
|
|
4512
|
+
404: components["responses"]["NotFound"];
|
|
4513
|
+
409: components["responses"]["Conflict"];
|
|
4514
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
4515
|
+
/** @description The original MCP Runtime or management operation cannot be confirmed. Retry the same operation identity. */
|
|
4516
|
+
503: {
|
|
4517
|
+
headers: {
|
|
4518
|
+
[name: string]: unknown;
|
|
4519
|
+
};
|
|
4520
|
+
content: {
|
|
4521
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
4522
|
+
};
|
|
4523
|
+
};
|
|
4524
|
+
};
|
|
4525
|
+
};
|
|
4526
|
+
webShellSessionExtensionsSubmit: {
|
|
4527
|
+
parameters: {
|
|
4528
|
+
query?: never;
|
|
4529
|
+
header?: never;
|
|
4530
|
+
path?: never;
|
|
4531
|
+
cookie?: never;
|
|
4532
|
+
};
|
|
4533
|
+
requestBody: {
|
|
4534
|
+
content: {
|
|
4535
|
+
"application/json": components["schemas"]["WebShellExtensionSessionSubmit"];
|
|
4536
|
+
};
|
|
4537
|
+
};
|
|
4538
|
+
responses: {
|
|
4539
|
+
/** @description Persisted or reconciled Session configuration; contains no settings values or private executable recipes. */
|
|
4540
|
+
200: {
|
|
4541
|
+
headers: {
|
|
4542
|
+
[name: string]: unknown;
|
|
4543
|
+
};
|
|
4544
|
+
content: {
|
|
4545
|
+
"application/json": components["schemas"]["ManagedExtensionManagementSnapshot"];
|
|
4546
|
+
};
|
|
4547
|
+
};
|
|
4548
|
+
400: components["responses"]["BadRequest"];
|
|
4549
|
+
401: components["responses"]["Unauthorized"];
|
|
4550
|
+
403: components["responses"]["Forbidden"];
|
|
4551
|
+
404: components["responses"]["NotFound"];
|
|
4552
|
+
409: components["responses"]["Conflict"];
|
|
4553
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
4554
|
+
/** @description The original MCP Runtime or management operation cannot be confirmed. Retry the same operation identity. */
|
|
4555
|
+
503: {
|
|
4556
|
+
headers: {
|
|
4557
|
+
[name: string]: unknown;
|
|
4558
|
+
};
|
|
4559
|
+
content: {
|
|
4560
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
4561
|
+
};
|
|
4562
|
+
};
|
|
4563
|
+
};
|
|
4564
|
+
};
|
|
4565
|
+
webShellSessionExtensionsContinue: {
|
|
4566
|
+
parameters: {
|
|
4567
|
+
query?: never;
|
|
4568
|
+
header?: never;
|
|
4569
|
+
path?: never;
|
|
4570
|
+
cookie?: never;
|
|
4571
|
+
};
|
|
4572
|
+
requestBody: {
|
|
4573
|
+
content: {
|
|
4574
|
+
"application/json": components["schemas"]["WebShellExtensionSessionOperation"];
|
|
4575
|
+
};
|
|
4576
|
+
};
|
|
4577
|
+
responses: {
|
|
4578
|
+
/** @description Persisted or reconciled Session configuration; contains no settings values or private executable recipes. */
|
|
4579
|
+
200: {
|
|
4580
|
+
headers: {
|
|
4581
|
+
[name: string]: unknown;
|
|
4582
|
+
};
|
|
4583
|
+
content: {
|
|
4584
|
+
"application/json": components["schemas"]["ManagedExtensionManagementSnapshot"];
|
|
4585
|
+
};
|
|
4586
|
+
};
|
|
4587
|
+
400: components["responses"]["BadRequest"];
|
|
4588
|
+
401: components["responses"]["Unauthorized"];
|
|
4589
|
+
403: components["responses"]["Forbidden"];
|
|
4590
|
+
404: components["responses"]["NotFound"];
|
|
4591
|
+
409: components["responses"]["Conflict"];
|
|
4592
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
4593
|
+
/** @description The original MCP Runtime or management operation cannot be confirmed. Retry the same operation identity. */
|
|
4594
|
+
503: {
|
|
4595
|
+
headers: {
|
|
4596
|
+
[name: string]: unknown;
|
|
4597
|
+
};
|
|
4598
|
+
content: {
|
|
4599
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
4600
|
+
};
|
|
4601
|
+
};
|
|
4602
|
+
};
|
|
4603
|
+
};
|
|
4604
|
+
webShellSessionExtensionsRecoverPrevious: {
|
|
4605
|
+
parameters: {
|
|
4606
|
+
query?: never;
|
|
4607
|
+
header?: never;
|
|
4608
|
+
path?: never;
|
|
4609
|
+
cookie?: never;
|
|
4610
|
+
};
|
|
4611
|
+
requestBody: {
|
|
4612
|
+
content: {
|
|
4613
|
+
"application/json": components["schemas"]["WebShellExtensionSessionOperation"];
|
|
4614
|
+
};
|
|
4615
|
+
};
|
|
4616
|
+
responses: {
|
|
4617
|
+
/** @description Persisted or reconciled Session configuration; contains no settings values or private executable recipes. */
|
|
4618
|
+
200: {
|
|
4619
|
+
headers: {
|
|
4620
|
+
[name: string]: unknown;
|
|
4621
|
+
};
|
|
4622
|
+
content: {
|
|
4623
|
+
"application/json": components["schemas"]["ManagedExtensionManagementSnapshot"];
|
|
4624
|
+
};
|
|
4625
|
+
};
|
|
4626
|
+
400: components["responses"]["BadRequest"];
|
|
4627
|
+
401: components["responses"]["Unauthorized"];
|
|
4628
|
+
403: components["responses"]["Forbidden"];
|
|
4629
|
+
404: components["responses"]["NotFound"];
|
|
4630
|
+
409: components["responses"]["Conflict"];
|
|
4631
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
4632
|
+
/** @description The original MCP Runtime or management operation cannot be confirmed. Retry the same operation identity. */
|
|
4633
|
+
503: {
|
|
4634
|
+
headers: {
|
|
4635
|
+
[name: string]: unknown;
|
|
4636
|
+
};
|
|
4637
|
+
content: {
|
|
4638
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
4639
|
+
};
|
|
4640
|
+
};
|
|
4641
|
+
};
|
|
4642
|
+
};
|
|
4643
|
+
webShellWorkspaceFilesUpload: {
|
|
4644
|
+
parameters: {
|
|
4645
|
+
query: {
|
|
4646
|
+
workspaceId: string;
|
|
4647
|
+
cwdRelative: string;
|
|
4648
|
+
path: string;
|
|
4649
|
+
expectedScopeRevision: string;
|
|
4650
|
+
uploadId: string;
|
|
4651
|
+
};
|
|
4652
|
+
header?: never;
|
|
4653
|
+
path?: never;
|
|
4654
|
+
cookie?: never;
|
|
4655
|
+
};
|
|
4656
|
+
requestBody: {
|
|
4657
|
+
content: {
|
|
4658
|
+
"application/octet-stream": string;
|
|
4659
|
+
};
|
|
4660
|
+
};
|
|
4661
|
+
responses: {
|
|
4662
|
+
/** @description Workspace upload result. */
|
|
4663
|
+
200: {
|
|
4664
|
+
headers: {
|
|
4665
|
+
[name: string]: unknown;
|
|
4666
|
+
};
|
|
4667
|
+
content: {
|
|
4668
|
+
"application/json": components["schemas"]["WebShellWorkspaceFileUploadResult"];
|
|
4669
|
+
};
|
|
4670
|
+
};
|
|
4671
|
+
400: components["responses"]["BadRequest"];
|
|
4672
|
+
401: components["responses"]["Unauthorized"];
|
|
4673
|
+
403: components["responses"]["Forbidden"];
|
|
4674
|
+
404: components["responses"]["NotFound"];
|
|
4675
|
+
409: components["responses"]["Conflict"];
|
|
4676
|
+
/** @description The upload exceeds the 8 MiB binary limit. */
|
|
4677
|
+
413: {
|
|
4678
|
+
headers: {
|
|
4679
|
+
[name: string]: unknown;
|
|
4680
|
+
};
|
|
4681
|
+
content: {
|
|
4682
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
4683
|
+
};
|
|
4684
|
+
};
|
|
4685
|
+
/** @description Uploads require unencoded application/octet-stream bytes. */
|
|
4686
|
+
415: {
|
|
4687
|
+
headers: {
|
|
4688
|
+
[name: string]: unknown;
|
|
4689
|
+
};
|
|
4690
|
+
content: {
|
|
4691
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
4692
|
+
};
|
|
4693
|
+
};
|
|
4694
|
+
503: components["responses"]["Unavailable"];
|
|
4695
|
+
};
|
|
4696
|
+
};
|
|
4697
|
+
webShellWorkspaceFilesUploadQuery: {
|
|
4698
|
+
parameters: {
|
|
4699
|
+
query?: never;
|
|
4700
|
+
header?: never;
|
|
4701
|
+
path?: never;
|
|
4702
|
+
cookie?: never;
|
|
4703
|
+
};
|
|
4704
|
+
requestBody: {
|
|
4705
|
+
content: {
|
|
4706
|
+
"application/json": components["schemas"]["WebShellWorkspaceFileUploadQueryRequest"];
|
|
4707
|
+
};
|
|
4708
|
+
};
|
|
4709
|
+
responses: {
|
|
4710
|
+
/** @description Workspace upload result. */
|
|
4711
|
+
200: {
|
|
4712
|
+
headers: {
|
|
4713
|
+
[name: string]: unknown;
|
|
4714
|
+
};
|
|
4715
|
+
content: {
|
|
4716
|
+
"application/json": components["schemas"]["WebShellWorkspaceFileUploadStatus"];
|
|
4717
|
+
};
|
|
4718
|
+
};
|
|
4719
|
+
400: components["responses"]["BadRequest"];
|
|
4720
|
+
401: components["responses"]["Unauthorized"];
|
|
4721
|
+
403: components["responses"]["Forbidden"];
|
|
4722
|
+
404: components["responses"]["NotFound"];
|
|
4723
|
+
409: components["responses"]["Conflict"];
|
|
4724
|
+
503: components["responses"]["Unavailable"];
|
|
4725
|
+
};
|
|
4726
|
+
};
|
|
3851
4727
|
}
|