@qwen-code/web-shell 0.25.3-nightly.20261019.5dcf7c7cb1 → 0.25.3

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.
Files changed (30) hide show
  1. package/README.md +9 -14
  2. package/dist/{PierreFilePreview-CsF32JVG.js → PierreFilePreview-CDwdShQj.js} +1 -1
  3. package/dist/{SpreadsheetPreview-uDzDLu9O.js → SpreadsheetPreview-DrhBxOLb.js} +2 -2
  4. package/dist/{WorkspaceFileBrowser-2YqZ92IA.js → WorkspaceFileBrowser-Cj-IkaDU.js} +2 -2
  5. package/dist/{agents-route-BmGvUI5C.js → agents-route-CNZAhyBJ.js} +2 -2
  6. package/dist/daemon-react-sdk.js +1 -1
  7. package/dist/{index-D32mpgOf.js → index-D0B7Fiw9.js} +49222 -49933
  8. package/dist/index.js +3 -3
  9. package/dist/sw.js +1 -1
  10. package/dist/transcript.js +5098 -5174
  11. package/dist/types/adapters/messageTypes.d.ts +0 -1
  12. package/dist/types/components/ChatEditor.d.ts +0 -3
  13. package/dist/types/components/artifacts/CodeReviewArtifactDetail.d.ts +0 -5
  14. package/dist/types/components/artifacts/TrajectoryInspector.d.ts +1 -2
  15. package/dist/types/components/managed/generated/managed-agent-api.d.ts +6 -250
  16. package/dist/types/components/managed/java-managed-agent-client.d.ts +0 -10
  17. package/dist/types/components/managed/managed-agent-provider.d.ts +0 -7
  18. package/dist/types/components/managed/managed-session-messages.d.ts +0 -1
  19. package/dist/types/components/messages/toolFormatting.d.ts +0 -1
  20. package/dist/types/daemon/session/actions.d.ts +0 -7
  21. package/dist/types/hooks/useAtMentionSources.d.ts +0 -5
  22. package/dist/types/hooks/useComposerCore.d.ts +0 -2
  23. package/dist/types/transcript.d.ts +2 -2
  24. package/dist/types/utils/composerTag.d.ts +0 -1
  25. package/dist/types/utils/dom.d.ts +0 -1
  26. package/dist/{useDaemonMidTurnInjected-QD_WdS9-.js → useDaemonMidTurnInjected-BDFSY1Yl.js} +1013 -1038
  27. package/package.json +1 -1
  28. package/dist/types/components/managed/managed-pending-storage.d.ts +0 -2
  29. package/dist/types/components/managed/use-managed-file-references.d.ts +0 -19
  30. package/dist/types/components/messages/tools/ToolDetailsContext.d.ts +0 -13
@@ -46,7 +46,6 @@ export interface DaemonMessageToolCall {
46
46
  content?: readonly DaemonMessageToolCallContent[];
47
47
  rawOutput?: unknown;
48
48
  toolResult?: components['schemas']['PublicToolResult'];
49
- toolDetailsRevision?: number;
50
49
  locations?: DaemonMessageToolCallLocation[];
51
50
  kind?: DaemonMessageToolKind;
52
51
  startTime?: number;
@@ -1,5 +1,4 @@
1
1
  import type { CommandInfo } from '../adapters/types';
2
- import type { AtMentionWorkspaceActions } from '../hooks/useAtMentionSources';
3
2
  import type { AttachmentPreviewRequest } from '../adapters/messageTypes';
4
3
  import type { UseDaemonFollowupSuggestionReturn } from '@qwen-code/web-shell/daemon-react-sdk';
5
4
  import type { DaemonSessionGroupPresetColor, DaemonWorkspaceGitStatus, ReasoningSelection } from '@qwen-code/sdk/daemon';
@@ -127,8 +126,6 @@ interface ChatEditorProps {
127
126
  disableLegacyHistoryFallback?: boolean;
128
127
  shellModeEnabled?: boolean;
129
128
  workspaceFeaturesEnabled?: boolean;
130
- fileReferenceActions?: AtMentionWorkspaceActions;
131
- persistFileReferences?: boolean;
132
129
  attachmentsEnabled?: boolean;
133
130
  onChatWidthModeChange?: (mode: '1000' | 'wide') => void;
134
131
  onFocusFooter?: () => boolean;
@@ -23,11 +23,6 @@ interface ReviewFinding {
23
23
  /** The executed evidence that settled the verdict, or its `not run` line. */
24
24
  witness?: string;
25
25
  suggestedFix?: string;
26
- /**
27
- * The acceptance criterion the suggested fix owes: the test that must go
28
- * red if the fix is removed.
29
- */
30
- fixWitness?: string;
31
26
  category?: string;
32
27
  locations: FindingLocation[];
33
28
  /** Local evidence paths; rendered as workspace images where possible. */
@@ -6,7 +6,7 @@
6
6
  import type { TrajectoryLifecycleEntry } from '../../trajectory/project-trajectory-lifecycle';
7
7
  import type { TrajectoryExecutionRow } from '../../trajectory/project-trajectory-executions';
8
8
  import type { TrajectoryRow } from '../../trajectory/types';
9
- export declare function TrajectoryInspector({ row, lifecycle, execution, onLocateExecution, title, stale, turnSelected, hiddenByRange, hiddenByCollapse, hiddenByFilter, onClearFilter, onReveal, onClearRange, onClose, onFocusedUnmount, }: {
9
+ export declare function TrajectoryInspector({ row, lifecycle, execution, onLocateExecution, title, stale, turnSelected, hiddenByRange, hiddenByCollapse, hiddenByFilter, onClearFilter, onReveal, onClearRange, onClose, }: {
10
10
  row?: TrajectoryRow;
11
11
  lifecycle?: TrajectoryLifecycleEntry;
12
12
  execution?: TrajectoryExecutionRow;
@@ -21,5 +21,4 @@ export declare function TrajectoryInspector({ row, lifecycle, execution, onLocat
21
21
  onReveal: () => void;
22
22
  onClearRange: () => void;
23
23
  onClose: () => void;
24
- onFocusedUnmount?: () => void;
25
24
  }): import("react/jsx-runtime").JSX.Element;
@@ -616,62 +616,6 @@ export interface paths {
616
616
  patch?: never;
617
617
  trace?: never;
618
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
- };
675
619
  }
676
620
  export type webhooks = Record<string, never>;
677
621
  export interface components {
@@ -732,7 +676,7 @@ export interface components {
732
676
  environmentId?: string | null;
733
677
  /** @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. */
734
678
  title?: string | null;
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. */
679
+ /** @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 and prepared-snapshot ceiling. A complete canonical input containing file/image attachments must fit within 48 KiB and requires input-attachments/1. */
736
680
  input?: components["schemas"]["InputBlock"][];
737
681
  metadata?: components["schemas"]["WebShellMetadata"];
738
682
  workspace?: components["schemas"]["WebShellWorkspaceSelection"];
@@ -750,7 +694,7 @@ export interface components {
750
694
  idempotencyKey: string;
751
695
  /** Format: uuid */
752
696
  sessionId: string;
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. */
697
+ /** @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 and prepared-snapshot ceiling. A complete canonical input containing file/image attachments must fit within 48 KiB and requires input-attachments/1. */
754
698
  input?: components["schemas"]["InputBlock"][];
755
699
  metadata?: components["schemas"]["WebShellMetadata"];
756
700
  /**
@@ -1114,7 +1058,7 @@ export interface components {
1114
1058
  deliveryState: "pending" | "leased" | "confirmed" | "blocked";
1115
1059
  receiptId?: string;
1116
1060
  actionResolution?: components["schemas"]["WebShellActionResolution"];
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; 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. */
1061
+ /** @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; 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. */
1118
1062
  failureCode?: string;
1119
1063
  replayed: boolean;
1120
1064
  } & (unknown & unknown & unknown & unknown & unknown);
@@ -1581,7 +1525,7 @@ export interface components {
1581
1525
  type: "input_text" | "text";
1582
1526
  text: string;
1583
1527
  };
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. */
1528
+ /** @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 48 KiB. */
1585
1529
  InputFileBlock: {
1586
1530
  /** @enum {string} */
1587
1531
  type: "input_file";
@@ -1589,12 +1533,12 @@ export interface components {
1589
1533
  mime_type: string;
1590
1534
  text: string;
1591
1535
  };
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. */
1536
+ /** @description Canonical base64 image with a matching signature. The complete canonical input containing attachments is limited to 48 KiB. */
1593
1537
  InputImageBlock: {
1594
1538
  /** @enum {string} */
1595
1539
  type: "input_image";
1596
1540
  /** @enum {string} */
1597
- mime_type: "image/png" | "image/jpeg" | "image/jpg" | "image/gif" | "image/webp";
1541
+ mime_type: "image/png" | "image/jpeg" | "image/webp";
1598
1542
  data: string;
1599
1543
  };
1600
1544
  WebShellSkill: {
@@ -1604,70 +1548,6 @@ export interface components {
1604
1548
  WebShellSessionSkills: {
1605
1549
  skills: components["schemas"]["WebShellSkill"][];
1606
1550
  };
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[];
1670
- };
1671
1551
  };
1672
1552
  responses: {
1673
1553
  /** @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. */
@@ -2975,128 +2855,4 @@ export interface operations {
2975
2855
  413: components["responses"]["PayloadTooLarge"];
2976
2856
  };
2977
2857
  };
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
- };
3102
2858
  }
@@ -80,8 +80,6 @@ export declare class JavaManagedAgentClient {
80
80
  replayed: boolean;
81
81
  }>;
82
82
  createWorkspace(request: Schemas['WebShellWorkspaceCreateRequest'], signal?: AbortSignal): Promise<JavaAgentWorkspace>;
83
- queryWorkspaceFiles(request: Schemas['WebShellWorkspaceFileQueryRequest'], signal?: AbortSignal): Promise<Schemas['WebShellWorkspaceFilePage']>;
84
- readWorkspaceFile(request: Schemas['WebShellWorkspaceFileReadRequest'], signal?: AbortSignal): Promise<Schemas['WebShellWorkspaceFileSnapshot']>;
85
83
  workspaceDirectories(request: Schemas['WebShellWorkspaceDirectoryQueryRequest'], signal?: AbortSignal): Promise<Schemas['WebShellWorkspaceDirectoryPage']>;
86
84
  getSessionApproval(sessionId: string, signal?: AbortSignal): Promise<Schemas['WebShellSessionApproval']>;
87
85
  changeApproval(request: Schemas['WebShellChangeApprovalRequest'], signal?: AbortSignal): Promise<Schemas['WebShellApprovalChangeResult']>;
@@ -146,14 +144,6 @@ export declare class JavaManagedAgentClient {
146
144
  modelSelection: components["schemas"]["WebShellModelSelection"];
147
145
  replayed: boolean;
148
146
  }>;
149
- getToolDetails(sessionId: string, itemId: string, signal?: AbortSignal): Promise<{
150
- input: {
151
- [key: string]: unknown;
152
- } | null;
153
- output: string | null;
154
- truncated: boolean;
155
- shellResult?: components["schemas"]["WebShellShellResult"];
156
- }>;
157
147
  getToolResult(sessionId: string, itemId: string, signal?: AbortSignal): Promise<{
158
148
  result: components["schemas"]["PublicToolResult"];
159
149
  access: components["schemas"]["ArtifactAccess"];
@@ -169,9 +169,6 @@ export interface ManagedAgentProvider {
169
169
  respond(action: ManagedAgentPendingAction, optionId: string, options: ManagedAgentCommandOptions): Promise<void>;
170
170
  };
171
171
  readonly toolResults?: ManagedToolResultReader;
172
- readonly toolDetails?: {
173
- get(sessionId: string, itemId: string, options: ManagedAgentRequestOptions): Promise<components['schemas']['WebShellToolDetails']>;
174
- };
175
172
  readonly tasks?: {
176
173
  list(sessionId: string, options: ManagedAgentRequestOptions & {
177
174
  cursor?: string;
@@ -211,10 +208,6 @@ export interface ManagedAgentProvider {
211
208
  expectedRevision: number;
212
209
  }, options: ManagedAgentCommandOptions): Promise<ManagedModelChangeResult>;
213
210
  };
214
- readonly workspaceFiles?: {
215
- query(request: components['schemas']['WebShellWorkspaceFileQueryRequest'], options: ManagedAgentRequestOptions): Promise<components['schemas']['WebShellWorkspaceFilePage']>;
216
- read(request: components['schemas']['WebShellWorkspaceFileReadRequest'], options: ManagedAgentRequestOptions): Promise<components['schemas']['WebShellWorkspaceFileSnapshot']>;
217
- };
218
211
  readonly workspaceBinding?: {
219
212
  readonly agentId: string;
220
213
  readonly registration?: ManagedWorkspaceRegistration;
@@ -2,4 +2,3 @@ import type { Message } from '../../adapters/types';
2
2
  import type { ManagedAgentSessionEvent } from './managed-agent-provider';
3
3
  export declare function mergeManagedEvents(current: readonly ManagedAgentSessionEvent[], incoming: readonly ManagedAgentSessionEvent[]): ManagedAgentSessionEvent[];
4
4
  export declare function managedEventsToMessages(events: readonly ManagedAgentSessionEvent[], truncatedLabel: string): Message[];
5
- export declare function createManagedMessageProjector(): (events: readonly ManagedAgentSessionEvent[], truncatedLabel: string) => Message[];
@@ -34,7 +34,6 @@ export declare function getToolDescription(tool: ACPToolCall, workspaceCwd?: str
34
34
  export declare function getToolSummaryDescription(tool: ACPToolCall, workspaceCwd?: string): string;
35
35
  export declare function getShellToolSemanticDescription(tool: ACPToolCall): string;
36
36
  export declare function extractText(tool: ACPToolCall): string | null;
37
- export declare function hasRecordedOutput(tool: ACPToolCall): boolean;
38
37
  export declare function getAdvisorDisplayText(tool: ACPToolCall): string | null;
39
38
  export declare function getToolResultSummary(tool: ACPToolCall): string;
40
39
  export declare function getEmptyMcpToolTitleDescription(toolName: string | undefined, title: string | undefined, input: Record<string, unknown> | undefined): string | undefined;
@@ -14,13 +14,6 @@ export declare function resolveSessionRestoreTimeouts(capabilities: DaemonCapabi
14
14
  requestTimeoutMs: number;
15
15
  watchdogTimeoutMs: number | undefined;
16
16
  };
17
- /**
18
- * Limit for a workspace create, which waits for the capability preflight and
19
- * then for the create request. The SDK sizes that request from the same
20
- * advertised session budget as a restore, so an action limit below the sum of
21
- * the two reports a timeout on a spawn the daemon is still finishing.
22
- */
23
- export declare function resolveCreateWatchdogTimeoutMs(capabilities: DaemonCapabilities | undefined): number;
24
17
  export interface CreateDaemonSessionActionsArgs {
25
18
  store: DaemonTranscriptStore;
26
19
  sessionRef: RefBox<DaemonSessionClient | undefined>;
@@ -66,11 +66,6 @@ export declare function createBuiltinProviderCache(): BuiltinProviderCache;
66
66
  export declare function getCached<K, V>(cache: Map<K, Promise<V>>, key: K, load: () => Promise<V>): Promise<V>;
67
67
  export interface AtMentionWorkspaceActions {
68
68
  globWorkspace?: GlobWorkspaceFn;
69
- searchWorkspaceFiles?: (query: string, signal: AbortSignal) => Promise<string[]>;
70
- prepareFileReference?: (tag: WebShellComposerTag) => Promise<WebShellComposerTag>;
71
- onFileReferenceDiscarded?: () => void;
72
- scopeKey?: string;
73
- filesOnly?: boolean;
74
69
  loadExtensionsStatus?: LoadExtensionsStatusFn;
75
70
  listDirectory?: ListDirectoryFn;
76
71
  loadMcpStatus?: LoadMcpStatusFn;
@@ -101,8 +101,6 @@ export interface UseComposerCoreOptions {
101
101
  shellModeEnabled?: boolean;
102
102
  attachmentsEnabled?: boolean;
103
103
  workspaceFeaturesEnabled?: boolean;
104
- fileReferenceActions?: AtMentionWorkspaceActions;
105
- persistFileReferences?: boolean;
106
104
  composerTagIcons?: WebShellComposerTagIconMap;
107
105
  parseUserMessageContent?: UserMessageContentParser;
108
106
  renderComposerTag?: ComposerTagRenderer;
@@ -16,8 +16,8 @@
16
16
  * renders `McpStatusMessage`, `TasksStatusMessage` and the artifact turn
17
17
  * outputs, and those call the strict `useDaemonActions` / `useDaemonWorkspace`
18
18
  * hooks, so their provider guards are in `dist/transcript.js`. Decoupling them
19
- * is #11100. Artifact tests enforce specific package boundaries rather than
20
- * asserting that the daemon runtime is absent.
19
+ * is #11100. `client/build-artifact.test.ts` therefore bounds this entry's size
20
+ * rather than asserting a symbol is absent.
21
21
  *
22
22
  * Do not rely on importing the package root or incidental tree shaking to
23
23
  * keep this payload small; see
@@ -30,7 +30,6 @@ export declare function isPreviewableFileComposerTag(tag: WebShellComposerTag):
30
30
  kind: 'file';
31
31
  value: string;
32
32
  };
33
- export declare function isValidComposerTag(tag: unknown): tag is WebShellComposerTag;
34
33
  export interface ParseUserMessageContentOptions {
35
34
  requireSourcePreservation?: boolean;
36
35
  }
@@ -1,3 +1,2 @@
1
1
  export declare function isEditableTarget(target: EventTarget | null): boolean;
2
2
  export declare function getShadowAwareActiveElement(element: Element | null | undefined): Element | null;
3
- export declare function isFocusUnclaimed(root: Node): boolean;