@qwen-code/web-shell 0.25.3-preview.0 → 0.25.4-preview.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICES.txt +1240 -0
- package/README.md +73 -27
- package/dist/{PierreFilePreview-DAD1C1oX.js → PierreFilePreview-vbxsbBX2.js} +1 -1
- package/dist/{SpreadsheetPreview-DShn9rcb.js → SpreadsheetPreview-yFPFfgME.js} +2 -2
- package/dist/{WorkspaceFileBrowser-zWgE76sn.js → WorkspaceFileBrowser-DGQbVeSD.js} +656 -656
- package/dist/{agents-route-CYSCpPDR.js → agents-route-D6wGe0cs.js} +2 -2
- package/dist/daemon-react-sdk.js +1 -1
- package/dist/docx-preview-BucJeYCm.js +5570 -0
- package/dist/{index-CWxIoEi_.js → index-ChD_Ub2E.js} +59450 -56243
- package/dist/index.js +3 -3
- package/dist/sw.js +1 -1
- package/dist/transcript.js +11721 -11050
- package/dist/types/App.d.ts +7 -2
- package/dist/types/adapters/messageTypes.d.ts +3 -0
- package/dist/types/adapters/transcriptToMessages.d.ts +3 -1
- package/dist/types/components/ChatEditor.d.ts +5 -0
- package/dist/types/components/MessageDeletionToolbar.d.ts +4 -0
- package/dist/types/components/MessageItem.d.ts +2 -0
- package/dist/types/components/MessageList.d.ts +2 -0
- package/dist/types/components/MessageTimestamp.d.ts +5 -2
- package/dist/types/components/ModelRefreshControl.d.ts +5 -0
- package/dist/types/components/artifacts/CodeReviewArtifactDetail.d.ts +5 -0
- package/dist/types/components/artifacts/DocxPreview.d.ts +8 -0
- package/dist/types/components/artifacts/TrajectoryExecutions.d.ts +9 -1
- package/dist/types/components/artifacts/TrajectoryInspector.d.ts +2 -1
- package/dist/types/components/artifacts/artifactUtils.d.ts +7 -0
- package/dist/types/components/artifacts/token-usage-messages.d.ts +9 -0
- package/dist/types/components/artifacts/token-usage-messages.transcript-stub.d.ts +7 -0
- package/dist/types/components/channels/channel-platform.d.ts +1 -1
- package/dist/types/components/dialogs/AddWorkspaceDialog.d.ts +3 -1
- package/dist/types/components/dialogs/ApprovalModeDialog.d.ts +3 -1
- package/dist/types/components/dialogs/ModelDialog.d.ts +3 -1
- package/dist/types/components/managed/RemoteWorkspaceRegistration.d.ts +9 -0
- package/dist/types/components/managed/generated/managed-agent-api.d.ts +692 -19
- package/dist/types/components/managed/java-managed-agent-client.d.ts +42 -0
- package/dist/types/components/managed/managed-agent-provider.d.ts +44 -0
- package/dist/types/components/managed/managed-input.d.ts +7 -0
- package/dist/types/components/managed/managed-pending-storage.d.ts +2 -0
- package/dist/types/components/managed/managed-session-messages.d.ts +1 -0
- package/dist/types/components/managed/managed-workspace-messages.d.ts +7 -0
- package/dist/types/components/managed/managed-workspace-messages.transcript-stub.d.ts +7 -0
- package/dist/types/components/managed/use-managed-approval-change.d.ts +2 -1
- package/dist/types/components/managed/use-managed-file-references.d.ts +19 -0
- package/dist/types/components/managed/use-managed-skills.d.ts +12 -0
- package/dist/types/components/managed/use-managed-tasks.d.ts +1 -0
- package/dist/types/components/message-deletion-messages.d.ts +7 -0
- package/dist/types/components/message-deletion-messages.transcript-stub.d.ts +7 -0
- package/dist/types/components/messages/TasksStatusMessage.d.ts +6 -0
- package/dist/types/components/messages/toolFormatting.d.ts +1 -0
- package/dist/types/components/messages/tools/ToolDetailsContext.d.ts +13 -0
- package/dist/types/customization.d.ts +4 -1
- package/dist/types/daemon/session/actions.d.ts +10 -2
- package/dist/types/daemon/session/types.d.ts +6 -1
- package/dist/types/hooks/useApprovalModes.d.ts +2 -0
- package/dist/types/hooks/useAtMentionSources.d.ts +5 -0
- package/dist/types/hooks/useComposerCore.d.ts +2 -0
- package/dist/types/hooks/useInputHistory.d.ts +0 -4
- package/dist/types/hooks/useMessageDeletion.d.ts +33 -0
- package/dist/types/hooks/useModelRefresh.d.ts +6 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/types/transcript.d.ts +2 -2
- package/dist/types/utils/composerTag.d.ts +1 -0
- package/dist/types/utils/dom.d.ts +1 -0
- package/dist/types/utils/message-deletion.d.ts +20 -0
- package/dist/types/utils/planMode.d.ts +4 -0
- package/dist/types/utils/plural.d.ts +7 -0
- package/dist/types/voice/voice-workspace-target.d.ts +2 -0
- package/dist/{useDaemonMidTurnInjected-Cf5L3VKm.js → useDaemonMidTurnInjected-CfhBFIym.js} +5788 -5298
- package/package.json +3 -1
|
@@ -421,7 +421,7 @@ export interface paths {
|
|
|
421
421
|
};
|
|
422
422
|
get?: never;
|
|
423
423
|
put?: never;
|
|
424
|
-
/** @description Create an
|
|
424
|
+
/** @description Create an empty Workspace under the operator-controlled root, or supply sourceWorkspaceId and cwdRelative together to select an existing directory under an ACTIVE ROOT Workspace owned by the actor. Existing-directory creation shares its verified storage, config and policy and persists a default working directory. The actor-scoped idempotency key pins the normalized request and source generation. Completed replay checks current access and never restores grants. */
|
|
425
425
|
post: operations["webShellCreateWorkspace"];
|
|
426
426
|
delete?: never;
|
|
427
427
|
options?: never;
|
|
@@ -506,7 +506,7 @@ export interface paths {
|
|
|
506
506
|
};
|
|
507
507
|
get?: never;
|
|
508
508
|
put?: never;
|
|
509
|
-
/** @description Change the next-Turn policy of an idle built-in
|
|
509
|
+
/** @description Change the next-user-Turn policy of an idle eligible Workspace Session: built-in qwen-code or a stored AgentDefinition on exactly hosted-workspace-files/1 or hosted-workspace-shell/1,/2. 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. */
|
|
510
510
|
post: operations["changeWebShellSessionApproval"];
|
|
511
511
|
delete?: never;
|
|
512
512
|
options?: never;
|
|
@@ -514,15 +514,169 @@ export interface paths {
|
|
|
514
514
|
patch?: never;
|
|
515
515
|
trace?: never;
|
|
516
516
|
};
|
|
517
|
+
"/api/agent/web-shell/v1/runtime-nodes/query": {
|
|
518
|
+
parameters: {
|
|
519
|
+
query?: never;
|
|
520
|
+
header?: never;
|
|
521
|
+
path?: never;
|
|
522
|
+
cookie?: never;
|
|
523
|
+
};
|
|
524
|
+
get?: never;
|
|
525
|
+
put?: never;
|
|
526
|
+
/** @description Lists only administrator-configured SSH nodes authorized for the current tenant and actor. Requires a trusted actor. Registration is disabled by default and answers 200 with supported=false and an empty data array; an enabled deployment may answer supported=true with no authorized nodes. Node credentials, SSH aliases and server paths are not exposed. This read starts no worker. */
|
|
527
|
+
post: operations["webShellQueryRuntimeNodes"];
|
|
528
|
+
delete?: never;
|
|
529
|
+
options?: never;
|
|
530
|
+
head?: never;
|
|
531
|
+
patch?: never;
|
|
532
|
+
trace?: never;
|
|
533
|
+
};
|
|
534
|
+
"/api/agent/web-shell/v1/workspaces/check-directory": {
|
|
535
|
+
parameters: {
|
|
536
|
+
query?: never;
|
|
537
|
+
header?: never;
|
|
538
|
+
path?: never;
|
|
539
|
+
cookie?: never;
|
|
540
|
+
};
|
|
541
|
+
get?: never;
|
|
542
|
+
put?: never;
|
|
543
|
+
/** @description Checks the configured Node.js and pinned qwen-code versions, allowed directory range, existing canonical directory and access permissions over SSH. Requires an enabled deployment and an exact tenant/actor node grant; disabled registration answers 404 ssh_runtime_disabled and an unknown or unauthorized node answers 403 runtime_node_forbidden. This is a preview: registration revalidates the directory and never creates a directory, clones a repository or starts a worker. */
|
|
544
|
+
post: operations["webShellCheckWorkspaceDirectory"];
|
|
545
|
+
delete?: never;
|
|
546
|
+
options?: never;
|
|
547
|
+
head?: never;
|
|
548
|
+
patch?: never;
|
|
549
|
+
trace?: never;
|
|
550
|
+
};
|
|
551
|
+
"/api/agent/web-shell/v1/workspaces/operations/get": {
|
|
552
|
+
parameters: {
|
|
553
|
+
query?: never;
|
|
554
|
+
header?: never;
|
|
555
|
+
path?: never;
|
|
556
|
+
cookie?: never;
|
|
557
|
+
};
|
|
558
|
+
get?: never;
|
|
559
|
+
put?: never;
|
|
560
|
+
/** @description Reads only a Workspace registration owned by the current tenant and actor; an unknown operation or another actor's operation answers 404 operation_not_found. Queries and accepted registration settlement remain available when new registration is disabled. Pending or running operations may resume their original registration attempt. A registration refused before it reserved its directory fails. One that may have reached its node is recovery_blocked and keeps the directory reserved while Java reads the node again, never registering anything: the registration's marker completes it, and a root without the marker, or holding another directory, fails it and releases the directory. Querying never unlocks it or starts a Runtime worker. */
|
|
561
|
+
post: operations["webShellGetWorkspaceOperation"];
|
|
562
|
+
delete?: never;
|
|
563
|
+
options?: never;
|
|
564
|
+
head?: never;
|
|
565
|
+
patch?: never;
|
|
566
|
+
trace?: never;
|
|
567
|
+
};
|
|
568
|
+
"/api/agent/web-shell/v1/workspaces/register": {
|
|
569
|
+
parameters: {
|
|
570
|
+
query?: never;
|
|
571
|
+
header?: never;
|
|
572
|
+
path?: never;
|
|
573
|
+
cookie?: never;
|
|
574
|
+
};
|
|
575
|
+
get?: never;
|
|
576
|
+
put?: never;
|
|
577
|
+
/** @description Admits actor-scoped, idempotent registration of an existing remote directory. The request body carries idempotencyKey; a retry with the same nodeId, path and displayName returns the original operation and its latest durable state, even after new registration is disabled or node admission is revoked. Reusing the key for different content answers 409 idempotency_conflict. Fresh admission requires an enabled deployment and an authorized node (404 ssh_runtime_disabled or 403 runtime_node_forbidden). A completed operation atomically creates the Workspace and creator OWNER grant. 202 does not mean registration is complete; query the operation, then read the Workspace and its canCreateSession hint. This operation creates no Session and starts no Runtime worker. requestId is trace-only and excluded from the request digest. */
|
|
578
|
+
post: operations["webShellRegisterWorkspace"];
|
|
579
|
+
delete?: never;
|
|
580
|
+
options?: never;
|
|
581
|
+
head?: never;
|
|
582
|
+
patch?: never;
|
|
583
|
+
trace?: never;
|
|
584
|
+
};
|
|
585
|
+
"/api/agent/web-shell/v1/workspaces/directories/query": {
|
|
586
|
+
parameters: {
|
|
587
|
+
query?: never;
|
|
588
|
+
header?: never;
|
|
589
|
+
path?: never;
|
|
590
|
+
cookie?: never;
|
|
591
|
+
};
|
|
592
|
+
get?: never;
|
|
593
|
+
put?: never;
|
|
594
|
+
/** @description List bounded immediate real directories on the selected Workspace storage host. Requires an authenticated OWNER of the ACTIVE ROOT Workspace and verified LOCAL storage. Refuses traversal, symlinks and reserved maintenance directories; never uses the ordinary daemon filesystem. Root paths are disclosed only within this authorized scope. */
|
|
595
|
+
post: operations["queryWebShellWorkspaceDirectories"];
|
|
596
|
+
delete?: never;
|
|
597
|
+
options?: never;
|
|
598
|
+
head?: never;
|
|
599
|
+
patch?: never;
|
|
600
|
+
trace?: never;
|
|
601
|
+
};
|
|
602
|
+
"/api/agent/web-shell/v1/session-skills/query": {
|
|
603
|
+
parameters: {
|
|
604
|
+
query?: never;
|
|
605
|
+
header?: never;
|
|
606
|
+
path?: never;
|
|
607
|
+
cookie?: never;
|
|
608
|
+
};
|
|
609
|
+
get?: never;
|
|
610
|
+
put?: never;
|
|
611
|
+
/** @description Read only names and descriptions from the Session's pinned static Skill catalog. Requires a trusted actor and Workspace read access. Never resolves the latest AgentDefinition or discovers host Skills. */
|
|
612
|
+
post: operations["queryWebShellSessionSkills"];
|
|
613
|
+
delete?: never;
|
|
614
|
+
options?: never;
|
|
615
|
+
head?: never;
|
|
616
|
+
patch?: never;
|
|
617
|
+
trace?: never;
|
|
618
|
+
};
|
|
619
|
+
"/api/agent/web-shell/v1/workspaces/files/query": {
|
|
620
|
+
parameters: {
|
|
621
|
+
query?: never;
|
|
622
|
+
header?: never;
|
|
623
|
+
path?: never;
|
|
624
|
+
cookie?: never;
|
|
625
|
+
};
|
|
626
|
+
get?: never;
|
|
627
|
+
put?: never;
|
|
628
|
+
/**
|
|
629
|
+
* Read-only Workspace file query
|
|
630
|
+
* @description Browse directories or search file names within the persisted Workspace working directory. Requires a trusted actor with current OPERATOR or OWNER access to an ACTIVE Workspace, the deployment Workspace-files opt-in, and verified LOCAL or SSH_LOCAL storage. Authorization and binding are rechecked after I/O. Paths are relative to the working directory; host paths and Runtime credentials are never returned. Unsupported storage never falls back to the local daemon, and no Session, worker or model request is created.
|
|
631
|
+
*/
|
|
632
|
+
post: operations["webShellWorkspaceFilesQuery"];
|
|
633
|
+
delete?: never;
|
|
634
|
+
options?: never;
|
|
635
|
+
head?: never;
|
|
636
|
+
patch?: never;
|
|
637
|
+
trace?: never;
|
|
638
|
+
};
|
|
639
|
+
"/api/agent/web-shell/v1/workspaces/files/read": {
|
|
640
|
+
parameters: {
|
|
641
|
+
query?: never;
|
|
642
|
+
header?: never;
|
|
643
|
+
path?: never;
|
|
644
|
+
cookie?: never;
|
|
645
|
+
};
|
|
646
|
+
get?: never;
|
|
647
|
+
put?: never;
|
|
648
|
+
/**
|
|
649
|
+
* Read-only Workspace file read
|
|
650
|
+
* @description Read one selection-time snapshot of a nonempty, NUL-free UTF-8 file, at most 24 KiB, using the scope revision returned by query. Requires a trusted actor with current OPERATOR or OWNER access to an ACTIVE Workspace, the deployment Workspace-files opt-in, and verified LOCAL or SSH_LOCAL storage. Authorization and binding are rechecked after I/O. Paths are relative to the working directory; host paths and Runtime credentials are never returned. Unsupported storage never falls back to the local daemon, and no Session, worker or model request is created.
|
|
651
|
+
*/
|
|
652
|
+
post: operations["webShellWorkspaceFilesRead"];
|
|
653
|
+
delete?: never;
|
|
654
|
+
options?: never;
|
|
655
|
+
head?: never;
|
|
656
|
+
patch?: never;
|
|
657
|
+
trace?: never;
|
|
658
|
+
};
|
|
659
|
+
"/api/agent/web-shell/v1/tool-details/get": {
|
|
660
|
+
parameters: {
|
|
661
|
+
query?: never;
|
|
662
|
+
header?: never;
|
|
663
|
+
path?: never;
|
|
664
|
+
cookie?: never;
|
|
665
|
+
};
|
|
666
|
+
get?: never;
|
|
667
|
+
put?: never;
|
|
668
|
+
post: operations["getWebShellToolDetails"];
|
|
669
|
+
delete?: never;
|
|
670
|
+
options?: never;
|
|
671
|
+
head?: never;
|
|
672
|
+
patch?: never;
|
|
673
|
+
trace?: never;
|
|
674
|
+
};
|
|
517
675
|
}
|
|
518
676
|
export type webhooks = Record<string, never>;
|
|
519
677
|
export interface components {
|
|
520
678
|
schemas: {
|
|
521
|
-
InputBlock:
|
|
522
|
-
/** @enum {string} */
|
|
523
|
-
type: "input_text";
|
|
524
|
-
text: string;
|
|
525
|
-
};
|
|
679
|
+
InputBlock: components["schemas"]["InputTextBlock"] | components["schemas"]["InputFileBlock"] | components["schemas"]["InputImageBlock"];
|
|
526
680
|
PublicArtifact: {
|
|
527
681
|
/** @constant */
|
|
528
682
|
object: "agent.artifact";
|
|
@@ -578,15 +732,17 @@ export interface components {
|
|
|
578
732
|
environmentId?: string | null;
|
|
579
733
|
/** @description The server enforces the bound in UTF-16 code units (Java String.length()), so an astral character counts as two: a title this schema's code-point maxLength accepts can still exceed the server's 256-unit bound and answer 400 invalid_title. */
|
|
580
734
|
title?: string | null;
|
|
581
|
-
/** @description
|
|
735
|
+
/** @description Text has a 4,000,000-character aggregate budget and per-block 1,000,000-character cap, counted in code points. Hosted also enforces its 64 KiB durable-record limit for text-only inputs and a 32 MiB prepared-snapshot ceiling. A complete canonical input containing file/image attachments must fit within 8 MiB and requires input-attachments/1. */
|
|
582
736
|
input?: components["schemas"]["InputBlock"][];
|
|
583
737
|
metadata?: components["schemas"]["WebShellMetadata"];
|
|
584
738
|
workspace?: components["schemas"]["WebShellWorkspaceSelection"];
|
|
585
739
|
/**
|
|
586
|
-
* @description Optional policy for Workspace
|
|
740
|
+
* @description Optional initial execution policy for Workspace creation, validated against the resolved Agent and profile. Omission preserves its default and idempotency digest. Independent of planMode.
|
|
587
741
|
* @enum {string}
|
|
588
742
|
*/
|
|
589
743
|
approvalMode?: "default" | "auto-edit" | "yolo";
|
|
744
|
+
/** @description Persisted public Plan overlay, independent of execution permission. Omission on a change preserves the selected state. */
|
|
745
|
+
planMode?: boolean;
|
|
590
746
|
};
|
|
591
747
|
WebShellSubmitRequest: {
|
|
592
748
|
/** @description Trace correlation only. */
|
|
@@ -594,9 +750,15 @@ export interface components {
|
|
|
594
750
|
idempotencyKey: string;
|
|
595
751
|
/** Format: uuid */
|
|
596
752
|
sessionId: string;
|
|
597
|
-
/** @description
|
|
753
|
+
/** @description Text has a 4,000,000-character aggregate budget and per-block 1,000,000-character cap, counted in code points. Hosted also enforces its 64 KiB durable-record limit for text-only inputs and a 32 MiB prepared-snapshot ceiling. A complete canonical input containing file/image attachments must fit within 8 MiB and requires input-attachments/1. */
|
|
598
754
|
input?: components["schemas"]["InputBlock"][];
|
|
599
755
|
metadata?: components["schemas"]["WebShellMetadata"];
|
|
756
|
+
/**
|
|
757
|
+
* @description D7-3. java_durable asks for the java_durable admission view: the 202 then names the command's operation (operationId, admissionStage, deliveryState), so a lost response resolves through that operation. Only a deployment whose Sessions advertise durableOperations admits it; elsewhere it answers 400 unsupported_feature before anything is read or written. Absent or harness_confirmed keeps today's response. harness_confirmed is the pinned reference design's qwen_confirmed. The request digest leaves this field out, so a retry under the same idempotencyKey replays the same command in either view.
|
|
758
|
+
* @default harness_confirmed
|
|
759
|
+
* @enum {string}
|
|
760
|
+
*/
|
|
761
|
+
admissionProfile?: "harness_confirmed" | "java_durable";
|
|
600
762
|
};
|
|
601
763
|
WebShellCancelRequest: {
|
|
602
764
|
/** @description Trace correlation only. */
|
|
@@ -605,18 +767,29 @@ export interface components {
|
|
|
605
767
|
/** Format: uuid */
|
|
606
768
|
sessionId: string;
|
|
607
769
|
turnId: string;
|
|
770
|
+
/**
|
|
771
|
+
* @description D7-3. java_durable asks for the java_durable admission view: the 202 then names the command's operation (operationId, admissionStage, deliveryState), so a lost response resolves through that operation. Only a deployment whose Sessions advertise durableOperations admits it; elsewhere it answers 400 unsupported_feature before anything is read or written. Absent or harness_confirmed keeps today's response. harness_confirmed is the pinned reference design's qwen_confirmed. The request digest leaves this field out, so a retry under the same idempotencyKey replays the same command in either view.
|
|
772
|
+
* @default harness_confirmed
|
|
773
|
+
* @enum {string}
|
|
774
|
+
*/
|
|
775
|
+
admissionProfile?: "harness_confirmed" | "java_durable";
|
|
608
776
|
};
|
|
609
777
|
/** @description Arbitrary caller metadata, as a JSON object (or null). Accepted and ignored in Phase 1: nothing from it is persisted. On WebShellCreateRequest the Session title travels in that request's own `title` field; WebShellSubmitRequest has no title surface. Any keys are valid. */
|
|
610
778
|
WebShellMetadata: {
|
|
611
779
|
[key: string]: unknown;
|
|
612
780
|
} | null;
|
|
613
|
-
/** @description
|
|
781
|
+
/** @description accepted means Java durable delivery responsibility, not model execution. The three operation fields come together, and only on a Turn input or cancel admission that asked for admissionProfile java_durable on a deployment advertising durableOperations (D7-3): operationId names the command's original submit_input or cancel operation, readable through the operation query, and admissionStage and deliveryState are that operation's latest durable values. A fresh input reads java_durable and pending; a cancel of a Turn that already ended reads its settled values. A retry under the same key answers the same operation with replayed true. Missing fields keep the legacy harness_confirmed response semantics, also for Session creation and for a replayed command recorded before v1.58. */
|
|
614
782
|
WebShellAdmission: {
|
|
615
783
|
/** Format: uuid */
|
|
616
784
|
sessionId: string;
|
|
617
785
|
turnId?: string | null;
|
|
618
786
|
status: string;
|
|
619
787
|
replayed: boolean;
|
|
788
|
+
operationId?: string;
|
|
789
|
+
/** @enum {string} */
|
|
790
|
+
admissionStage?: "java_durable" | "harness_confirmed";
|
|
791
|
+
/** @enum {string} */
|
|
792
|
+
deliveryState?: "pending" | "leased" | "confirmed" | "blocked";
|
|
620
793
|
};
|
|
621
794
|
WebShellTurn: {
|
|
622
795
|
turnId: string;
|
|
@@ -661,6 +834,10 @@ export interface components {
|
|
|
661
834
|
* @enum {string}
|
|
662
835
|
*/
|
|
663
836
|
initialApprovalMode?: "default" | "auto-edit" | "yolo";
|
|
837
|
+
/** @description Persisted public Plan overlay, independent of execution permission. Omission on a change preserves the selected state. */
|
|
838
|
+
planMode?: boolean;
|
|
839
|
+
/** @description Optional deployment capability; missing means false. */
|
|
840
|
+
planModeSupported?: boolean;
|
|
664
841
|
};
|
|
665
842
|
WebShellSessionCapabilities: {
|
|
666
843
|
/**
|
|
@@ -668,6 +845,11 @@ export interface components {
|
|
|
668
845
|
* @default false
|
|
669
846
|
*/
|
|
670
847
|
cwdChange?: boolean;
|
|
848
|
+
/**
|
|
849
|
+
* @description D7-3. Present only on a deployment that enables the java_durable admission profile, where it is true while the Session is readable: a Turn input or cancel may then ask for admissionProfile java_durable. Omitted elsewhere, where asking for it answers 400 unsupported_feature.
|
|
850
|
+
* @default false
|
|
851
|
+
*/
|
|
852
|
+
durableOperations?: boolean;
|
|
671
853
|
/** @default false */
|
|
672
854
|
actions: boolean;
|
|
673
855
|
/**
|
|
@@ -701,8 +883,10 @@ export interface components {
|
|
|
701
883
|
foregroundShell?: boolean;
|
|
702
884
|
/** @description The caller may request an idle Session model change using the server model catalog. Missing means unsupported; authorization and revision admission still apply. */
|
|
703
885
|
modelChange?: boolean;
|
|
704
|
-
/** @description The caller owns this
|
|
886
|
+
/** @description The caller owns this eligible Workspace Session with current OPERATOR or OWNER access. Built-in qwen-code requires approval-selection/1; stored AgentDefinitions on exactly hosted-workspace-files/1 or hosted-workspace-shell/1,/2 also require agent-definition-approval-selection/1. Idle-state admission is checked separately. Missing means false. */
|
|
705
887
|
approvalModeChange?: boolean;
|
|
888
|
+
/** @description Optional deployment capability; missing means false. */
|
|
889
|
+
inputAttachments?: boolean;
|
|
706
890
|
};
|
|
707
891
|
WebShellSessionPage: {
|
|
708
892
|
data: components["schemas"]["WebShellSession"][];
|
|
@@ -827,6 +1011,10 @@ export interface components {
|
|
|
827
1011
|
canCreateSession: boolean;
|
|
828
1012
|
/** @enum {string} */
|
|
829
1013
|
state: "active" | "draining" | "removed";
|
|
1014
|
+
/** @description Persisted default working directory for new WebShell Sessions; absent means dot. */
|
|
1015
|
+
defaultCwdRelative?: string;
|
|
1016
|
+
/** @description Current actor owns this active root Workspace; directory discovery rechecks authorization and native storage. */
|
|
1017
|
+
canSelectDirectory?: boolean;
|
|
830
1018
|
};
|
|
831
1019
|
WebShellWorkspacePage: {
|
|
832
1020
|
data: components["schemas"]["WebShellWorkspace"][];
|
|
@@ -844,6 +1032,8 @@ export interface components {
|
|
|
844
1032
|
workspaceCreation?: boolean;
|
|
845
1033
|
/** @description Supports effective Session policy options and explicit Workspace-bound creation policy. Missing or false means unsupported. */
|
|
846
1034
|
approvalModeSelection?: boolean;
|
|
1035
|
+
/** @description Supports browsing and selecting existing directories on authorized Linux storage; absent means unsupported. */
|
|
1036
|
+
workspaceDirectorySelection?: boolean;
|
|
847
1037
|
};
|
|
848
1038
|
/** @description Same authorized explicit default as default_workspace, including when outside this page; null if absent or not creatable. A non-null default is active and has canCreateSession=true. */
|
|
849
1039
|
defaultWorkspace: (components["schemas"]["WebShellWorkspace"] & {
|
|
@@ -907,7 +1097,7 @@ export interface components {
|
|
|
907
1097
|
allowText: boolean;
|
|
908
1098
|
options: components["schemas"]["WebShellActionOption"][];
|
|
909
1099
|
};
|
|
910
|
-
/** @description Receipt IDs are opaque authorized product handles, not private journal or storage refs. Input
|
|
1100
|
+
/** @description Receipt IDs are opaque authorized product handles, not private journal or storage refs. Input completion means a Harness admitted its Turn, not that the Turn completed; an input whose Turn failed after a submission no Harness answered is recovery_blocked until the Session journal proves whether a Harness admitted it. For submit_input and task cancel, recovery_blocked means acceptance is unknown: the operation is never delivered again and settles only from its own durable evidence. For close and delete it is a published wait that delivery re-drives. Cancel completion means its Turn reached cancelled; a cancel fails with turn_already_settled when its Turn ended otherwise, except one that already existed when its Turn failed with managed_runtime_recovery_blocked after a Harness admitted it or a submission was attempted, which parks recovery_blocked with cancel_unconfirmed. A cancel submitted after the Turn ended still fails turn_already_settled. Action completion may only record one vote. Lifecycle completion requires its cleanup facts; archive may remain java_durable because Java is its authority. Task cancel 202 is Java durable admission; completion means the authority durably recorded cancellation and returned a receipt, not that the task stopped. Task cancel failed proves non-acceptance and no further delivery, with a failure code; recovery_blocked means acceptance is unknown and needs reconciliation before re-execution. Its status is never cancelled. Physical settlement and an unknown physical outcome belong to the task, independently of operation acceptance. A completed task cancel carries admission stage harness_confirmed and delivery state confirmed with the authority's receipt; failed and recovery_blocked carry java_durable and blocked, so they are never delivered again without reconciliation. A cancel parked as recovery_blocked/cancel_unconfirmed by unobserved-Turn recovery reconciles only from the original prompt's retained durable terminal event: cancelled completes it, completed or error fails it with turn_already_settled, and missing or unreadable evidence stays parked. A recorded stop request alone does not prove cancellation completed. */
|
|
911
1101
|
WebShellCommandOperation: {
|
|
912
1102
|
operationId: string;
|
|
913
1103
|
/** Format: uuid */
|
|
@@ -924,7 +1114,7 @@ export interface components {
|
|
|
924
1114
|
deliveryState: "pending" | "leased" | "confirmed" | "blocked";
|
|
925
1115
|
receiptId?: string;
|
|
926
1116
|
actionResolution?: components["schemas"]["WebShellActionResolution"];
|
|
927
|
-
/** @description Reason a durable response or task cancellation failed. Action response failures come from the original committed Action, or a definitive invalid response. Task cancel failures are task_already_settled (the run ended before the stop request was recorded), task_action_unavailable and task_not_found; a recovery_blocked task cancel reports task_cancel_unconfirmed.
|
|
1117
|
+
/** @description Reason a durable response or task cancellation failed. Action response failures come from the original committed Action, or a definitive invalid response. Task cancel failures are task_already_settled (the run ended before the stop request was recorded), task_action_unavailable and task_not_found; a recovery_blocked task cancel reports task_cancel_unconfirmed. A lifecycle operation that exhausted its retry budget fails with the settle's failure: session_lifecycle_delivery_failed, managed_capability_mismatch or hosted_harness_protocol_error when the Hosted Harness refused to negotiate, a workspace close or lifecycle refusal (a workspace_close_* or workspace_lifecycle_* code, or runtime_admission_closed; a Runtime Broker runtime_broker_recovery_blocked refusal is reported as workspace_close_identity_unverified), or another Runtime Broker refusal code; one whose settle reached the Harness but stayed unsettled past the larger settled budget fails with session_close_completion_unsettled. A lifecycle recovery_blocked operation reports the refusal it waits on, original resource identity or unsettled execution for a Workspace close, session_close_writer_live while a Harness holds the journal writer or while that check itself fails, or hosted_harness_generation_mismatch while this replica's view of the Harness boot is stale, or hosted_lifecycle_recovery_required while the daemon settles a previous prompt, or hosted_turn_active while a turn, MCP call or hook is still draining; the Session remains closing. A submit_input failure carries its Turn's error code, and a recovery_blocked submit_input reports submit_input_unconfirmed; a cancel fails with turn_already_settled when its Turn completed or failed without being cancelled, except one that already existed when its Turn failed with managed_runtime_recovery_blocked after a Harness admitted it or a submission was attempted: it parks recovery_blocked with cancel_unconfirmed. A cancel submitted after the Turn ended still fails turn_already_settled. A cancel parked as recovery_blocked/cancel_unconfirmed by unobserved-Turn recovery reconciles only from the original prompt's retained durable terminal event: cancelled completes it, completed or error fails it with turn_already_settled, and missing or unreadable evidence stays parked. A recorded stop request alone does not prove cancellation completed. */
|
|
928
1118
|
failureCode?: string;
|
|
929
1119
|
replayed: boolean;
|
|
930
1120
|
} & (unknown & unknown & unknown & unknown & unknown);
|
|
@@ -1039,7 +1229,7 @@ export interface components {
|
|
|
1039
1229
|
workspaceId: string;
|
|
1040
1230
|
};
|
|
1041
1231
|
/** @enum {string} */
|
|
1042
|
-
TaskKind: "child_agent" | "workflow" | "background_shell" | "monitor" | "automation_run";
|
|
1232
|
+
TaskKind: "child_agent" | "workflow" | "background_shell" | "monitor" | "automation_run" | "channel_delivery";
|
|
1043
1233
|
/**
|
|
1044
1234
|
* @description Logical run state. completed is terminal and is set when the run's own line ends settled, with or without a physical execution; failed and cancelled are terminal too, and they also cover a run that ended before its execution started (cancelled before dispatch, or failed with no provable start), when no physical execution ever settled. degraded means that the task still runs with reduced guarantees, such as a Monitor that lost its observation source. recovery_blocked means that recovery cannot prove the physical outcome: it is not settled, is never reported as success and is never re-run automatically.
|
|
1045
1235
|
* @enum {string}
|
|
@@ -1051,7 +1241,7 @@ export interface components {
|
|
|
1051
1241
|
*/
|
|
1052
1242
|
TaskRuntimeState: "unbound" | "provisioning" | "ready" | "draining" | "lost";
|
|
1053
1243
|
/**
|
|
1054
|
-
* @description Actions the task supports now, the same for every caller. cancel: the cancel route accepts a new command for this task (since 1.40 for child_agent and 1.
|
|
1244
|
+
* @description Actions the task supports now, the same for every caller. cancel: the cancel route accepts a new command for this task (since 1.40 for child_agent, 1.46 for workflow and 1.54 for background_shell and monitor, tasks of those kinds in pending, running, waiting or degraded, and since 1.57 for channel_delivery, a delivery still pending because no adapter has claimed it, each in an active Session, and since 1.65 for automation_run in pending, running, waiting or degraded in an active Session; only that occurrence is cancelled and its schedule is preserved); whether a caller may use it is an authorization check (403 on the cancel route). send_input: reserved for a later capability route. read_output: the task events route returns output events for this task to any caller that can read it. read_output does not change during the task's life, and a task without it produces no output events: its output goes only to Artifacts, so the events route never filters out events that exist.
|
|
1055
1245
|
* @enum {string}
|
|
1056
1246
|
*/
|
|
1057
1247
|
TaskActionCapability: "cancel" | "send_input" | "read_output";
|
|
@@ -1060,6 +1250,11 @@ export interface components {
|
|
|
1060
1250
|
taskId: string;
|
|
1061
1251
|
/** Format: uuid */
|
|
1062
1252
|
sessionId: string;
|
|
1253
|
+
/**
|
|
1254
|
+
* Format: uuid
|
|
1255
|
+
* @description The child Session that runs this task: present for a child_agent or workflow task once the run's committed record names it (the child's attach, or a terminal verdict that names a minted child), and absent for every other kind and before then. The child is a Session in the same Workspace, readable by exactly the callers that can read this task, so its Turns, items and events are the task's own output; reading them needs no other grant.
|
|
1256
|
+
*/
|
|
1257
|
+
childSessionId?: string;
|
|
1063
1258
|
kind: components["schemas"]["TaskKind"];
|
|
1064
1259
|
state: components["schemas"]["TaskState"];
|
|
1065
1260
|
/**
|
|
@@ -1088,7 +1283,7 @@ export interface components {
|
|
|
1088
1283
|
/** @description The newest Artifacts that hold durable task output, at most 100, oldest first. Entries must not rotate out until older Artifacts can be enumerated and attributed to the task: an evicted Artifact stays readable by id through the Session artifact routes but is no longer discoverable from the task. */
|
|
1089
1284
|
artifactRefs: string[];
|
|
1090
1285
|
actionCapabilities: components["schemas"]["TaskActionCapability"][];
|
|
1091
|
-
} & (unknown & unknown & unknown & unknown);
|
|
1286
|
+
} & (unknown & unknown & unknown & unknown & unknown);
|
|
1092
1287
|
WebShellTaskPage: {
|
|
1093
1288
|
data: components["schemas"]["WebShellTask"][];
|
|
1094
1289
|
hasMore: boolean;
|
|
@@ -1216,7 +1411,7 @@ export interface components {
|
|
|
1216
1411
|
};
|
|
1217
1412
|
/** @description Optional preview for requested native read_file, write_file, edit or run_shell_command approvals. Missing or invalid input, and internal MCP inputs, omit the preview. No general secret redaction is performed; visibility follows Session read permissions. Deploy the version 2 Java reader before a Harness producer starts writing version 2 options. */
|
|
1218
1413
|
WebShellActionInputPreview: {
|
|
1219
|
-
/** @description Exact prefix of
|
|
1414
|
+
/** @description Exact UTF-8 prefix of payloadJson ({toolName,input}). Ordinary tools retain the 8192-byte preview. exit_plan_mode includes its complete input within the 64 KiB resource ceiling so a plan can be reviewed after refresh. Truncated ordinary previews may not be valid JSON. */
|
|
1220
1415
|
text: string;
|
|
1221
1416
|
/** @description True when text is shorter than the complete UTF-8 input. */
|
|
1222
1417
|
truncated: boolean;
|
|
@@ -1230,6 +1425,8 @@ export interface components {
|
|
|
1230
1425
|
/** @description Trimmed display name, without control characters. The server validates the normalized name. */
|
|
1231
1426
|
displayName: string;
|
|
1232
1427
|
idempotencyKey: string;
|
|
1428
|
+
sourceWorkspaceId?: string;
|
|
1429
|
+
cwdRelative?: string;
|
|
1233
1430
|
};
|
|
1234
1431
|
WebShellSessionOptionsRequest: {
|
|
1235
1432
|
agentId: string;
|
|
@@ -1237,8 +1434,12 @@ export interface components {
|
|
|
1237
1434
|
WebShellSessionOptions: {
|
|
1238
1435
|
/** @enum {string} */
|
|
1239
1436
|
approvalMode: "default" | "auto-edit" | "yolo";
|
|
1240
|
-
/** @description
|
|
1437
|
+
/** @description Execution policies available at creation. Stored definitions retain their initial policy; existing eligible Sessions may select a policy separately. Plan is an independent overlay. */
|
|
1241
1438
|
availableApprovalModes: ("default" | "auto-edit" | "yolo")[];
|
|
1439
|
+
/** @description Optional deployment capability; missing means false. */
|
|
1440
|
+
planModeSupported?: boolean;
|
|
1441
|
+
/** @description Optional deployment capability; missing means false. */
|
|
1442
|
+
inputAttachments?: boolean;
|
|
1242
1443
|
};
|
|
1243
1444
|
/** @description Safe allowlisted observation for a Workspace-bound Session. Unknown counts are omitted, never estimated. */
|
|
1244
1445
|
WebShellModelContext: {
|
|
@@ -1291,6 +1492,10 @@ export interface components {
|
|
|
1291
1492
|
approvalRevision: number;
|
|
1292
1493
|
availableApprovalModes: ("default" | "auto-edit" | "yolo")[];
|
|
1293
1494
|
supported: boolean;
|
|
1495
|
+
/** @description Persisted public Plan overlay, independent of execution permission. Omission on a change preserves the selected state. */
|
|
1496
|
+
planMode?: boolean;
|
|
1497
|
+
/** @description Optional deployment capability; missing means false. */
|
|
1498
|
+
planModeSupported?: boolean;
|
|
1294
1499
|
};
|
|
1295
1500
|
WebShellChangeApprovalRequest: {
|
|
1296
1501
|
sessionId: string;
|
|
@@ -1300,6 +1505,8 @@ export interface components {
|
|
|
1300
1505
|
requestId?: string;
|
|
1301
1506
|
/** @enum {string} */
|
|
1302
1507
|
approvalMode: "default" | "auto-edit" | "yolo";
|
|
1508
|
+
/** @description Persisted public Plan overlay, independent of execution permission. Omission on a change preserves the selected state. */
|
|
1509
|
+
planMode?: boolean;
|
|
1303
1510
|
};
|
|
1304
1511
|
WebShellApprovalChangeResult: {
|
|
1305
1512
|
sessionId: string;
|
|
@@ -1308,6 +1515,158 @@ export interface components {
|
|
|
1308
1515
|
/** Format: int64 */
|
|
1309
1516
|
approvalRevision: number;
|
|
1310
1517
|
replayed: boolean;
|
|
1518
|
+
/** @description Persisted public Plan overlay, independent of execution permission. Omission on a change preserves the selected state. */
|
|
1519
|
+
planMode?: boolean;
|
|
1520
|
+
};
|
|
1521
|
+
WebShellRuntimeNode: {
|
|
1522
|
+
nodeId: string;
|
|
1523
|
+
displayName: string;
|
|
1524
|
+
};
|
|
1525
|
+
/** @description Disabled registration returns supported=false and no nodes. This capability controls fresh registration only; existing operation queries remain available. */
|
|
1526
|
+
WebShellRuntimeNodePage: {
|
|
1527
|
+
/** @default false */
|
|
1528
|
+
supported: boolean;
|
|
1529
|
+
data: components["schemas"]["WebShellRuntimeNode"][];
|
|
1530
|
+
} & unknown;
|
|
1531
|
+
WebShellWorkspaceDirectoryRequest: {
|
|
1532
|
+
nodeId: string;
|
|
1533
|
+
/** @description Existing absolute directory on the selected node; no directory or repository is created. */
|
|
1534
|
+
path: string;
|
|
1535
|
+
};
|
|
1536
|
+
WebShellWorkspaceDirectory: {
|
|
1537
|
+
nodeId: string;
|
|
1538
|
+
/** @description Canonical absolute path after remote directory validation. */
|
|
1539
|
+
canonicalPath: string;
|
|
1540
|
+
/** @enum {string} */
|
|
1541
|
+
platform: "linux" | "darwin";
|
|
1542
|
+
};
|
|
1543
|
+
WebShellWorkspaceOperationRequest: {
|
|
1544
|
+
operationId: string;
|
|
1545
|
+
};
|
|
1546
|
+
/** @description workspaceId is returned only after completed registration. recovery_blocked means the registration may have reached its node: it keeps the original ownership until Java reads the node and completes it, or fails it and releases the directory. A node that cannot be read, no longer admits the actor or holds another registration's marker leaves it for administrator review, and a new browser draft does not release it. failed releases the directory if the registration reserved it. replayed=true identifies an existing operation returned by a repeated key or a query. */
|
|
1547
|
+
WebShellWorkspaceCreateOperation: {
|
|
1548
|
+
operationId: string;
|
|
1549
|
+
/** @constant */
|
|
1550
|
+
type: "workspace_create";
|
|
1551
|
+
/** @enum {string} */
|
|
1552
|
+
status: "pending" | "running" | "completed" | "failed" | "cancelled" | "recovery_blocked";
|
|
1553
|
+
workspaceId?: string | null;
|
|
1554
|
+
failureCode?: string | null;
|
|
1555
|
+
replayed: boolean;
|
|
1556
|
+
};
|
|
1557
|
+
WebShellWorkspaceRegisterRequest: {
|
|
1558
|
+
nodeId: string;
|
|
1559
|
+
path: string;
|
|
1560
|
+
displayName: string;
|
|
1561
|
+
/** @description Actor-scoped registration key. Reuse this key and the same semantic fields until the operation identity is known. */
|
|
1562
|
+
idempotencyKey: string;
|
|
1563
|
+
/** @description Trace correlation only; excluded from the request digest, so a retry with another requestId still replays. A header-safe value (1 to 128 visible ASCII characters) is echoed as X-Request-Id; any other value is replaced by a server-chosen id. */
|
|
1564
|
+
requestId?: string | null;
|
|
1565
|
+
};
|
|
1566
|
+
WebShellWorkspaceDirectoryPage: {
|
|
1567
|
+
root: string;
|
|
1568
|
+
cwdRelative: string;
|
|
1569
|
+
truncated: boolean;
|
|
1570
|
+
directories: {
|
|
1571
|
+
name: string;
|
|
1572
|
+
cwdRelative: string;
|
|
1573
|
+
}[];
|
|
1574
|
+
};
|
|
1575
|
+
WebShellWorkspaceDirectoryQueryRequest: {
|
|
1576
|
+
workspaceId: string;
|
|
1577
|
+
cwdRelative: string;
|
|
1578
|
+
};
|
|
1579
|
+
InputTextBlock: {
|
|
1580
|
+
/** @enum {string} */
|
|
1581
|
+
type: "input_text" | "text";
|
|
1582
|
+
text: string;
|
|
1583
|
+
};
|
|
1584
|
+
/** @description Inline UTF-8 text file. No host paths, URLs, binary or NUL. Conservative text MIME/extension validation; the complete canonical input containing attachments is limited to 8 MiB. */
|
|
1585
|
+
InputFileBlock: {
|
|
1586
|
+
/** @enum {string} */
|
|
1587
|
+
type: "input_file";
|
|
1588
|
+
name: string;
|
|
1589
|
+
mime_type: string;
|
|
1590
|
+
text: string;
|
|
1591
|
+
};
|
|
1592
|
+
/** @description Canonical base64 PNG, JPEG, GIF or WebP image with a matching signature. The image/jpg alias is normalized to image/jpeg. The complete canonical input containing attachments is limited to 8 MiB. */
|
|
1593
|
+
InputImageBlock: {
|
|
1594
|
+
/** @enum {string} */
|
|
1595
|
+
type: "input_image";
|
|
1596
|
+
/** @enum {string} */
|
|
1597
|
+
mime_type: "image/png" | "image/jpeg" | "image/jpg" | "image/gif" | "image/webp";
|
|
1598
|
+
data: string;
|
|
1599
|
+
};
|
|
1600
|
+
WebShellSkill: {
|
|
1601
|
+
name: string;
|
|
1602
|
+
description: string;
|
|
1603
|
+
};
|
|
1604
|
+
WebShellSessionSkills: {
|
|
1605
|
+
skills: components["schemas"]["WebShellSkill"][];
|
|
1606
|
+
};
|
|
1607
|
+
WebShellWorkspaceFileQueryRequest: {
|
|
1608
|
+
workspaceId: string;
|
|
1609
|
+
cwdRelative: string;
|
|
1610
|
+
directory: string;
|
|
1611
|
+
query?: string;
|
|
1612
|
+
expectedScopeRevision?: string;
|
|
1613
|
+
};
|
|
1614
|
+
WebShellWorkspaceFileReadRequest: {
|
|
1615
|
+
workspaceId: string;
|
|
1616
|
+
cwdRelative: string;
|
|
1617
|
+
path: string;
|
|
1618
|
+
expectedScopeRevision: string;
|
|
1619
|
+
};
|
|
1620
|
+
WebShellWorkspaceFileEntry: {
|
|
1621
|
+
path: string;
|
|
1622
|
+
name: string;
|
|
1623
|
+
/** @enum {string} */
|
|
1624
|
+
kind: "file" | "directory";
|
|
1625
|
+
};
|
|
1626
|
+
WebShellWorkspaceFilePage: {
|
|
1627
|
+
scopeRevision: string;
|
|
1628
|
+
directory: string;
|
|
1629
|
+
entries: components["schemas"]["WebShellWorkspaceFileEntry"][];
|
|
1630
|
+
truncated: boolean;
|
|
1631
|
+
};
|
|
1632
|
+
WebShellWorkspaceFileSnapshot: {
|
|
1633
|
+
scopeRevision: string;
|
|
1634
|
+
path: string;
|
|
1635
|
+
name: string;
|
|
1636
|
+
/** @enum {string} */
|
|
1637
|
+
mimeType: "text/plain";
|
|
1638
|
+
text: string;
|
|
1639
|
+
byteLength: number;
|
|
1640
|
+
sha256: string;
|
|
1641
|
+
};
|
|
1642
|
+
WebShellToolDetails: {
|
|
1643
|
+
/** @description Allowlisted display arguments, or null when unavailable or larger than 4 KiB. */
|
|
1644
|
+
input: {
|
|
1645
|
+
[key: string]: unknown;
|
|
1646
|
+
} | null;
|
|
1647
|
+
/** @description Recorded text or error, bounded to 8 KiB and 200 lines; null means unavailable, an empty string means recorded empty output. */
|
|
1648
|
+
output: string | null;
|
|
1649
|
+
truncated: boolean;
|
|
1650
|
+
/** @description Validated saved Shell display, when available. Text fields share an 8 KiB/200-line budget; directory and output-file paths share an 8 KiB UTF-8 budget. Legacy text remains in output. */
|
|
1651
|
+
shellResult?: components["schemas"]["WebShellShellResult"];
|
|
1652
|
+
};
|
|
1653
|
+
WebShellShellResult: {
|
|
1654
|
+
/** @constant */
|
|
1655
|
+
type: "shell_result";
|
|
1656
|
+
/** @constant */
|
|
1657
|
+
version: 1;
|
|
1658
|
+
text: string;
|
|
1659
|
+
output: string;
|
|
1660
|
+
directory: string;
|
|
1661
|
+
exitCode: number | null;
|
|
1662
|
+
signal: number | null;
|
|
1663
|
+
pid: number | null;
|
|
1664
|
+
error: string | null;
|
|
1665
|
+
/** @enum {string} */
|
|
1666
|
+
outcome: "completed" | "failed" | "cancelled" | "timed_out";
|
|
1667
|
+
notices: string[];
|
|
1668
|
+
truncated: boolean;
|
|
1669
|
+
outputFiles: string[];
|
|
1311
1670
|
};
|
|
1312
1671
|
};
|
|
1313
1672
|
responses: {
|
|
@@ -2426,4 +2785,318 @@ export interface operations {
|
|
|
2426
2785
|
413: components["responses"]["PayloadTooLarge"];
|
|
2427
2786
|
};
|
|
2428
2787
|
};
|
|
2788
|
+
webShellQueryRuntimeNodes: {
|
|
2789
|
+
parameters: {
|
|
2790
|
+
query?: never;
|
|
2791
|
+
header?: never;
|
|
2792
|
+
path?: never;
|
|
2793
|
+
cookie?: never;
|
|
2794
|
+
};
|
|
2795
|
+
requestBody?: never;
|
|
2796
|
+
responses: {
|
|
2797
|
+
/** @description SSH registration capability and authorized machine display names. */
|
|
2798
|
+
200: {
|
|
2799
|
+
headers: {
|
|
2800
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2801
|
+
"Cache-Control"?: "no-store";
|
|
2802
|
+
[name: string]: unknown;
|
|
2803
|
+
};
|
|
2804
|
+
content: {
|
|
2805
|
+
"application/json": components["schemas"]["WebShellRuntimeNodePage"];
|
|
2806
|
+
};
|
|
2807
|
+
};
|
|
2808
|
+
400: components["responses"]["BadRequest"];
|
|
2809
|
+
401: components["responses"]["Unauthorized"];
|
|
2810
|
+
403: components["responses"]["Forbidden"];
|
|
2811
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
2812
|
+
};
|
|
2813
|
+
};
|
|
2814
|
+
webShellCheckWorkspaceDirectory: {
|
|
2815
|
+
parameters: {
|
|
2816
|
+
query?: never;
|
|
2817
|
+
header?: never;
|
|
2818
|
+
path?: never;
|
|
2819
|
+
cookie?: never;
|
|
2820
|
+
};
|
|
2821
|
+
requestBody: {
|
|
2822
|
+
content: {
|
|
2823
|
+
"application/json": components["schemas"]["WebShellWorkspaceDirectoryRequest"];
|
|
2824
|
+
};
|
|
2825
|
+
};
|
|
2826
|
+
responses: {
|
|
2827
|
+
/** @description Validated canonical directory on the selected Linux or macOS node. */
|
|
2828
|
+
200: {
|
|
2829
|
+
headers: {
|
|
2830
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2831
|
+
"Cache-Control"?: "no-store";
|
|
2832
|
+
[name: string]: unknown;
|
|
2833
|
+
};
|
|
2834
|
+
content: {
|
|
2835
|
+
"application/json": components["schemas"]["WebShellWorkspaceDirectory"];
|
|
2836
|
+
};
|
|
2837
|
+
};
|
|
2838
|
+
400: components["responses"]["BadRequest"];
|
|
2839
|
+
401: components["responses"]["Unauthorized"];
|
|
2840
|
+
403: components["responses"]["Forbidden"];
|
|
2841
|
+
404: components["responses"]["NotFound"];
|
|
2842
|
+
409: components["responses"]["Conflict"];
|
|
2843
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
2844
|
+
/** @description The SSH bootstrap response is invalid. */
|
|
2845
|
+
502: {
|
|
2846
|
+
headers: {
|
|
2847
|
+
[name: string]: unknown;
|
|
2848
|
+
};
|
|
2849
|
+
content: {
|
|
2850
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
2851
|
+
};
|
|
2852
|
+
};
|
|
2853
|
+
503: components["responses"]["Unavailable"];
|
|
2854
|
+
};
|
|
2855
|
+
};
|
|
2856
|
+
webShellGetWorkspaceOperation: {
|
|
2857
|
+
parameters: {
|
|
2858
|
+
query?: never;
|
|
2859
|
+
header?: never;
|
|
2860
|
+
path?: never;
|
|
2861
|
+
cookie?: never;
|
|
2862
|
+
};
|
|
2863
|
+
requestBody: {
|
|
2864
|
+
content: {
|
|
2865
|
+
"application/json": components["schemas"]["WebShellWorkspaceOperationRequest"];
|
|
2866
|
+
};
|
|
2867
|
+
};
|
|
2868
|
+
responses: {
|
|
2869
|
+
/** @description Latest durable state of the original actor-owned registration. */
|
|
2870
|
+
200: {
|
|
2871
|
+
headers: {
|
|
2872
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2873
|
+
"Cache-Control"?: "no-store";
|
|
2874
|
+
[name: string]: unknown;
|
|
2875
|
+
};
|
|
2876
|
+
content: {
|
|
2877
|
+
"application/json": components["schemas"]["WebShellWorkspaceCreateOperation"];
|
|
2878
|
+
};
|
|
2879
|
+
};
|
|
2880
|
+
400: components["responses"]["BadRequest"];
|
|
2881
|
+
401: components["responses"]["Unauthorized"];
|
|
2882
|
+
403: components["responses"]["Forbidden"];
|
|
2883
|
+
404: components["responses"]["NotFound"];
|
|
2884
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
2885
|
+
};
|
|
2886
|
+
};
|
|
2887
|
+
webShellRegisterWorkspace: {
|
|
2888
|
+
parameters: {
|
|
2889
|
+
query?: never;
|
|
2890
|
+
header?: never;
|
|
2891
|
+
path?: never;
|
|
2892
|
+
cookie?: never;
|
|
2893
|
+
};
|
|
2894
|
+
requestBody: {
|
|
2895
|
+
content: {
|
|
2896
|
+
"application/json": components["schemas"]["WebShellWorkspaceRegisterRequest"];
|
|
2897
|
+
};
|
|
2898
|
+
};
|
|
2899
|
+
responses: {
|
|
2900
|
+
/** @description Durable registration operation; repeated requests retain the original identity. */
|
|
2901
|
+
202: {
|
|
2902
|
+
headers: {
|
|
2903
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2904
|
+
"Cache-Control"?: "no-store";
|
|
2905
|
+
[name: string]: unknown;
|
|
2906
|
+
};
|
|
2907
|
+
content: {
|
|
2908
|
+
"application/json": components["schemas"]["WebShellWorkspaceCreateOperation"];
|
|
2909
|
+
};
|
|
2910
|
+
};
|
|
2911
|
+
400: components["responses"]["BadRequest"];
|
|
2912
|
+
401: components["responses"]["Unauthorized"];
|
|
2913
|
+
403: components["responses"]["Forbidden"];
|
|
2914
|
+
404: components["responses"]["NotFound"];
|
|
2915
|
+
409: components["responses"]["Conflict"];
|
|
2916
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
2917
|
+
};
|
|
2918
|
+
};
|
|
2919
|
+
queryWebShellWorkspaceDirectories: {
|
|
2920
|
+
parameters: {
|
|
2921
|
+
query?: never;
|
|
2922
|
+
header?: never;
|
|
2923
|
+
path?: never;
|
|
2924
|
+
cookie?: never;
|
|
2925
|
+
};
|
|
2926
|
+
requestBody: {
|
|
2927
|
+
content: {
|
|
2928
|
+
"application/json": components["schemas"]["WebShellWorkspaceDirectoryQueryRequest"];
|
|
2929
|
+
};
|
|
2930
|
+
};
|
|
2931
|
+
responses: {
|
|
2932
|
+
/** @description Authorized existing directories. */
|
|
2933
|
+
200: {
|
|
2934
|
+
headers: {
|
|
2935
|
+
[name: string]: unknown;
|
|
2936
|
+
};
|
|
2937
|
+
content: {
|
|
2938
|
+
"application/json": components["schemas"]["WebShellWorkspaceDirectoryPage"];
|
|
2939
|
+
};
|
|
2940
|
+
};
|
|
2941
|
+
400: components["responses"]["BadRequest"];
|
|
2942
|
+
401: components["responses"]["Unauthorized"];
|
|
2943
|
+
403: components["responses"]["Forbidden"];
|
|
2944
|
+
404: components["responses"]["NotFound"];
|
|
2945
|
+
409: components["responses"]["Conflict"];
|
|
2946
|
+
};
|
|
2947
|
+
};
|
|
2948
|
+
queryWebShellSessionSkills: {
|
|
2949
|
+
parameters: {
|
|
2950
|
+
query?: never;
|
|
2951
|
+
header?: never;
|
|
2952
|
+
path?: never;
|
|
2953
|
+
cookie?: never;
|
|
2954
|
+
};
|
|
2955
|
+
requestBody: {
|
|
2956
|
+
content: {
|
|
2957
|
+
"application/json": components["schemas"]["WebShellSessionRequest"];
|
|
2958
|
+
};
|
|
2959
|
+
};
|
|
2960
|
+
responses: {
|
|
2961
|
+
/** @description Session static Skill metadata. */
|
|
2962
|
+
200: {
|
|
2963
|
+
headers: {
|
|
2964
|
+
[name: string]: unknown;
|
|
2965
|
+
};
|
|
2966
|
+
content: {
|
|
2967
|
+
"application/json": components["schemas"]["WebShellSessionSkills"];
|
|
2968
|
+
};
|
|
2969
|
+
};
|
|
2970
|
+
400: components["responses"]["BadRequest"];
|
|
2971
|
+
401: components["responses"]["Unauthorized"];
|
|
2972
|
+
403: components["responses"]["Forbidden"];
|
|
2973
|
+
404: components["responses"]["NotFound"];
|
|
2974
|
+
409: components["responses"]["Conflict"];
|
|
2975
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
2976
|
+
};
|
|
2977
|
+
};
|
|
2978
|
+
webShellWorkspaceFilesQuery: {
|
|
2979
|
+
parameters: {
|
|
2980
|
+
query?: never;
|
|
2981
|
+
header?: never;
|
|
2982
|
+
path?: never;
|
|
2983
|
+
cookie?: never;
|
|
2984
|
+
};
|
|
2985
|
+
requestBody: {
|
|
2986
|
+
content: {
|
|
2987
|
+
"application/json": components["schemas"]["WebShellWorkspaceFileQueryRequest"];
|
|
2988
|
+
};
|
|
2989
|
+
};
|
|
2990
|
+
responses: {
|
|
2991
|
+
/** @description Authorized Workspace file result. */
|
|
2992
|
+
200: {
|
|
2993
|
+
headers: {
|
|
2994
|
+
[name: string]: unknown;
|
|
2995
|
+
};
|
|
2996
|
+
content: {
|
|
2997
|
+
"application/json": components["schemas"]["WebShellWorkspaceFilePage"];
|
|
2998
|
+
};
|
|
2999
|
+
};
|
|
3000
|
+
400: components["responses"]["BadRequest"];
|
|
3001
|
+
401: components["responses"]["Unauthorized"];
|
|
3002
|
+
403: components["responses"]["Forbidden"];
|
|
3003
|
+
404: components["responses"]["NotFound"];
|
|
3004
|
+
409: components["responses"]["Conflict"];
|
|
3005
|
+
503: components["responses"]["Unavailable"];
|
|
3006
|
+
};
|
|
3007
|
+
};
|
|
3008
|
+
webShellWorkspaceFilesRead: {
|
|
3009
|
+
parameters: {
|
|
3010
|
+
query?: never;
|
|
3011
|
+
header?: never;
|
|
3012
|
+
path?: never;
|
|
3013
|
+
cookie?: never;
|
|
3014
|
+
};
|
|
3015
|
+
requestBody: {
|
|
3016
|
+
content: {
|
|
3017
|
+
"application/json": components["schemas"]["WebShellWorkspaceFileReadRequest"];
|
|
3018
|
+
};
|
|
3019
|
+
};
|
|
3020
|
+
responses: {
|
|
3021
|
+
/** @description Authorized Workspace file result. */
|
|
3022
|
+
200: {
|
|
3023
|
+
headers: {
|
|
3024
|
+
[name: string]: unknown;
|
|
3025
|
+
};
|
|
3026
|
+
content: {
|
|
3027
|
+
"application/json": components["schemas"]["WebShellWorkspaceFileSnapshot"];
|
|
3028
|
+
};
|
|
3029
|
+
};
|
|
3030
|
+
400: components["responses"]["BadRequest"];
|
|
3031
|
+
401: components["responses"]["Unauthorized"];
|
|
3032
|
+
403: components["responses"]["Forbidden"];
|
|
3033
|
+
404: components["responses"]["NotFound"];
|
|
3034
|
+
409: components["responses"]["Conflict"];
|
|
3035
|
+
503: components["responses"]["Unavailable"];
|
|
3036
|
+
};
|
|
3037
|
+
};
|
|
3038
|
+
getWebShellToolDetails: {
|
|
3039
|
+
parameters: {
|
|
3040
|
+
query?: never;
|
|
3041
|
+
header?: never;
|
|
3042
|
+
path?: never;
|
|
3043
|
+
cookie?: never;
|
|
3044
|
+
};
|
|
3045
|
+
requestBody: {
|
|
3046
|
+
content: {
|
|
3047
|
+
"application/json": components["schemas"]["WebShellToolResultRequest"];
|
|
3048
|
+
};
|
|
3049
|
+
};
|
|
3050
|
+
responses: {
|
|
3051
|
+
/** @description Bounded saved ReadFile/Shell input and text output, read on demand; requires a trusted actor and current Session/Workspace read access. Available to authorized readers without a feature switch. */
|
|
3052
|
+
200: {
|
|
3053
|
+
headers: {
|
|
3054
|
+
"Cache-Control"?: "private, no-store";
|
|
3055
|
+
[name: string]: unknown;
|
|
3056
|
+
};
|
|
3057
|
+
content: {
|
|
3058
|
+
"application/json": components["schemas"]["WebShellToolDetails"];
|
|
3059
|
+
};
|
|
3060
|
+
};
|
|
3061
|
+
/** @description Invalid request. */
|
|
3062
|
+
400: {
|
|
3063
|
+
headers: {
|
|
3064
|
+
[name: string]: unknown;
|
|
3065
|
+
};
|
|
3066
|
+
content: {
|
|
3067
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
3068
|
+
};
|
|
3069
|
+
};
|
|
3070
|
+
/** @description Trusted actor required. */
|
|
3071
|
+
401: {
|
|
3072
|
+
headers: {
|
|
3073
|
+
[name: string]: unknown;
|
|
3074
|
+
};
|
|
3075
|
+
content: {
|
|
3076
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
3077
|
+
};
|
|
3078
|
+
};
|
|
3079
|
+
403: components["responses"]["Forbidden"];
|
|
3080
|
+
/** @description Unknown or unreadable resource. */
|
|
3081
|
+
404: {
|
|
3082
|
+
headers: {
|
|
3083
|
+
[name: string]: unknown;
|
|
3084
|
+
};
|
|
3085
|
+
content: {
|
|
3086
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
3087
|
+
};
|
|
3088
|
+
};
|
|
3089
|
+
409: components["responses"]["Conflict"];
|
|
3090
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
3091
|
+
/** @description Resource temporarily unavailable. */
|
|
3092
|
+
503: {
|
|
3093
|
+
headers: {
|
|
3094
|
+
[name: string]: unknown;
|
|
3095
|
+
};
|
|
3096
|
+
content: {
|
|
3097
|
+
"application/json": components["schemas"]["ErrorEnvelope"];
|
|
3098
|
+
};
|
|
3099
|
+
};
|
|
3100
|
+
};
|
|
3101
|
+
};
|
|
2429
3102
|
}
|