@pstdio/sdk 0.41.0 → 0.42.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.
@@ -173,6 +173,8 @@ var projectEvents = {
173
173
  opened: hostEventRef("project.opened")
174
174
  };
175
175
  var viewDataEvents = {
176
+ boardViewsChanged: hostEventRef("view.board-views.changed"),
177
+ resourceAnchorsChanged: hostEventRef("view.resource-anchors.changed"),
176
178
  sessionsChanged: hostEventRef("view.sessions.changed"),
177
179
  workspacesChanged: hostEventRef("view.workspaces.changed"),
178
180
  repositoriesChanged: hostEventRef("view.repositories.changed")
@@ -358,6 +360,7 @@ var WEBVIEW_HOST_CAPABILITY_VERSION = 1;
358
360
  var WEBVIEW_DECLARABLE_CAPABILITIES = [
359
361
  "clipboard.write",
360
362
  "commands.execute",
363
+ "commands.stream",
361
364
  "navigation.open",
362
365
  "placement.close",
363
366
  "notification.show",
@@ -605,7 +608,7 @@ var reconcileMessageHistory = (input, projection = {}) => {
605
608
  }
606
609
  };
607
610
  // package.json
608
- var version = "0.41.0";
611
+ var version = "0.42.0";
609
612
 
610
613
  // src/version.ts
611
614
  var SDK_VERSION = version;
@@ -638,6 +641,7 @@ var defineHook = (definition) => ({
638
641
  ...definition,
639
642
  ref: { kind: "hook", id: definition.id }
640
643
  });
644
+ var streamOf = () => ({ kind: "stream" });
641
645
  // src/extensions/define-contribution.ts
642
646
  var defineContribution = (_kind) => (definition) => ({
643
647
  ...definition,
@@ -1094,6 +1098,143 @@ var createWebviewEventsClient = (host, extensionId) => ({
1094
1098
  }
1095
1099
  });
1096
1100
 
1101
+ // src/internal/stream-buffer.ts
1102
+ var createStreamBuffer = (input) => {
1103
+ const queue = [];
1104
+ let bytes = 0;
1105
+ let ended = false;
1106
+ let error;
1107
+ let wake = () => {};
1108
+ let consumed = false;
1109
+ const finish = (reason) => {
1110
+ ended = true;
1111
+ error = reason;
1112
+ if (reason) {
1113
+ queue.length = 0;
1114
+ bytes = 0;
1115
+ }
1116
+ wake();
1117
+ };
1118
+ return {
1119
+ push(value) {
1120
+ if (ended)
1121
+ return true;
1122
+ const size = input.size(value);
1123
+ if (bytes + size > input.limit)
1124
+ return false;
1125
+ queue.push({ value, bytes: size });
1126
+ bytes += size;
1127
+ wake();
1128
+ return true;
1129
+ },
1130
+ finish,
1131
+ clear() {
1132
+ queue.length = 0;
1133
+ bytes = 0;
1134
+ finish();
1135
+ },
1136
+ iterable: {
1137
+ [Symbol.asyncIterator]() {
1138
+ if (consumed)
1139
+ throw new Error("Command streams support one consumer");
1140
+ consumed = true;
1141
+ return {
1142
+ async next() {
1143
+ while (!queue.length && !ended)
1144
+ await new Promise((resolve) => {
1145
+ wake = resolve;
1146
+ });
1147
+ const item = queue.shift();
1148
+ if (item) {
1149
+ bytes -= item.bytes;
1150
+ input.onConsume?.(item.bytes);
1151
+ return { done: false, value: item.value };
1152
+ }
1153
+ if (error)
1154
+ throw error;
1155
+ return { done: true, value: undefined };
1156
+ },
1157
+ async return() {
1158
+ queue.length = 0;
1159
+ bytes = 0;
1160
+ await input.onCancel();
1161
+ finish();
1162
+ return { done: true, value: undefined };
1163
+ }
1164
+ };
1165
+ }
1166
+ }
1167
+ };
1168
+ };
1169
+ var streamError = (code, message = code) => Object.assign(new Error(message), { code });
1170
+ var jsonBytes = (value) => new TextEncoder().encode(JSON.stringify(value)).byteLength;
1171
+
1172
+ // src/extensions/webview-streams.ts
1173
+ var createWebviewCommandStream = (host, params, options) => {
1174
+ const streamId = crypto.randomUUID();
1175
+ const result = Promise.withResolvers();
1176
+ result.promise.catch(() => {});
1177
+ let ended = false;
1178
+ let unsubscribe = () => {};
1179
+ const cleanup = () => {
1180
+ unsubscribe();
1181
+ options?.signal?.removeEventListener("abort", abort);
1182
+ };
1183
+ const stop = async (code) => {
1184
+ if (ended)
1185
+ return;
1186
+ ended = true;
1187
+ cleanup();
1188
+ buffer.clear();
1189
+ result.reject(streamError(code));
1190
+ await host.call("commands.stream", { operation: "cancel", streamId }).catch(() => {});
1191
+ };
1192
+ const abort = () => {
1193
+ stop("command_stream_cancelled");
1194
+ };
1195
+ const buffer = createStreamBuffer({
1196
+ size: jsonBytes,
1197
+ limit: 8 * 1024 * 1024,
1198
+ onCancel: () => stop("command_stream_cancelled"),
1199
+ onConsume: (bytes) => {
1200
+ if (!ended)
1201
+ host.call("commands.stream", { operation: "ack", streamId, bytes }).catch(() => stop("command_stream_disconnected"));
1202
+ }
1203
+ });
1204
+ unsubscribe = host.onEvent("commands.stream", (payload) => {
1205
+ const event = payload;
1206
+ if (event.streamId !== streamId || ended)
1207
+ return;
1208
+ if (event.type === "data") {
1209
+ if (!buffer.push(event.data))
1210
+ stop("command_stream_overflow");
1211
+ return;
1212
+ }
1213
+ ended = true;
1214
+ cleanup();
1215
+ buffer.finish();
1216
+ try {
1217
+ result.resolve(unwrapCommandOutcome({ outcome: event.outcome }));
1218
+ } catch (error) {
1219
+ result.reject(Object.assign(error, { code: event.outcome.ok ? undefined : event.outcome.code }));
1220
+ }
1221
+ });
1222
+ if (options?.signal?.aborted)
1223
+ abort();
1224
+ else {
1225
+ options?.signal?.addEventListener("abort", abort, { once: true });
1226
+ host.call("commands.stream", { ...params, operation: "start", streamId }).catch((error) => {
1227
+ if (ended)
1228
+ return;
1229
+ ended = true;
1230
+ cleanup();
1231
+ buffer.finish();
1232
+ result.reject(error);
1233
+ });
1234
+ }
1235
+ return { ...buffer.iterable, result: result.promise, cancel: () => stop("command_stream_cancelled") };
1236
+ };
1237
+
1097
1238
  // src/extensions/webview-client.ts
1098
1239
  var createWebviewClient = (host, options) => {
1099
1240
  const extensionId = options?.extensionId ?? host.extensionId;
@@ -1115,6 +1256,9 @@ var createWebviewClient = (host, options) => {
1115
1256
  return (params) => runCommand(commandKey, params);
1116
1257
  }
1117
1258
  });
1259
+ const streams = new Proxy({}, {
1260
+ get: (_target, key) => typeof key !== "string" ? undefined : (params, streamOptions) => createWebviewCommandStream(host, { commandId: `${extensionId}.command.${key}`, params, workspaceId: options?.workspaceId }, streamOptions)
1261
+ });
1118
1262
  const settings = {
1119
1263
  all: async () => await host.call("extension.settings.all", {}) ?? {},
1120
1264
  get: (key) => host.call("extension.settings.get", { key }),
@@ -1132,7 +1276,7 @@ var createWebviewClient = (host, options) => {
1132
1276
  imageUrl: (mount, path) => host.call("artifacts.read", { op: "imageUrl", mount: artifactMountId(mount), path })
1133
1277
  };
1134
1278
  const events = createWebviewEventsClient(host, extensionId);
1135
- return { artifacts, commands, events, settings };
1279
+ return { artifacts, commands, streams, events, settings };
1136
1280
  };
1137
1281
  // src/extensions/when.ts
1138
1282
  var matchesResourceWhen = (when, resourceType) => {
@@ -1235,6 +1379,7 @@ export {
1235
1379
  sessionEvents,
1236
1380
  sessionSlots,
1237
1381
  splitHistoryTurns,
1382
+ streamOf,
1238
1383
  submittedPrompt,
1239
1384
  unwrapCommandOutcome,
1240
1385
  viewDataEvents,
@@ -1,3 +1,3 @@
1
- import { $a as PageSlotRegion, $c as ExtensionSettingsContribution, $d as MaybePromise, $i as ExtensionTerminalApi, $l as WebviewHostCapability, $n as commandRef, $o as DataTableRendererThemeColor, $r as CommandOutcome, $s as PreparedHarnessOperation, $t as ExtensionViewRenderContext, Aa as WorkspaceExecutionTarget, Ac as SessionMessage, Ad as ResourceAnchor, Ai as CommandMiddlewareHandler, Al as KanbanRendererRowActivationHandler, An as defineWorkspaceType, Ao as TreeRendererActionParams, Ar as workbenchPanelDefinitions, As as SegmentedOption, At as WebviewExtensionEvent, Au as ParamsOf, Ba as StatusContribution, Bc as ActivityItemContribution, Bi as ExtensionFilesApi, Bl as WEBVIEW_HOST_CAPABILITY_VERSION, Bn as HistoryConflict, Bo as DataTableRendererColumn, Br as ResourceMenuSlotDefinition, Bs as HarnessDetectionResult, Bt as qualifyRef, Bu as EventDeliveryResult, Ca as MiddlewareDefinition, Cc as QuestionResponse, Cd as NotificationPriority, Cf as ViewFilterCondition, Ci as FileRendererSaveParams, Cl as KanbanRendererEnumOption, Cn as defineStatusBarItem, Co as ViewContribution, Cr as isValidLocalContributionId, Cs as RangeControl, Ct as WebviewClient, Cu as ParamDescriptor, Da as ScheduleExpression, Dc as LoadingPart, Dd as PackageAssetDescriptor, Df as ViewSortDirection, Di as ArtifactMount, Dl as KanbanRendererResourceRef, Dn as defineTheme, Do as TreeNode, Dr as workbenchModes, Ds as ResourceOption, Dt as createWebviewClient, Du as ParamType, Ea as ScheduleContribution, Ec as FilePart, Ed as ExtensionResourcesApi, Ef as ViewSort, Ei as ArtifactFile, El as KanbanRendererQueryResult, En as defineTemplateType, Eo as TreeAction, Er as workbenchModeDefinitions, Es as ResourceControl, Et as WebviewSettingsClient, Eu as ParamOptionSource, Fa as WorkspaceProviderResult, Fc as TextPart, Fd as ResourceAnchorValidationResult, Fi as ExtensionBlobInput, Fl as KanbanRendererViewSettings, Fn as commandRefId, Fo as TreeRendererResourceRef, Fr as DockedWorkbenchRegion, Fs as VectorControl, Ft as TerminalSessionBridge, Fu as WorkspaceParam, Ga as PageLocation, Gc as CommandPaletteResourceItem, Gd as TerminalSessionExit, Gi as ExtensionProcessApi, Gl as WebviewCommandsExecuteParams, Gn as historyValueKey, Go as DataTableRendererQueryResult, Gr as CommandDiagnostic, Gs as HarnessStateApi, Gt as isWorkbenchProjectUrl, Gu as ExtensionConnectionStreamEvent, Ha as FileSourcePosition, Hc as CliContribution, Hi as ExtensionNetApi, Hl as WebviewArtifactFile, Hn as HistoryRecoveryInput, Ho as DataTableRendererColumnStat, Hr as extensionPanelRegions, Hs as HarnessParamsSchema, Ht as defaultPageResourceCodec, Hu as ExtensionConnectionMethod, Ia as WorkspaceProviderState, Ic as TokenUsagePart, Id as ResourceRef, Ii as ExtensionBlobRef, Il as ViewToolbarAction, In as contributionRefId, Io as TreeRendererState, Ir as ExtensionPanelRegion, Is as VectorValue, It as createTerminalSessionBridge, Iu as SlotInvocationContext, Ja as PageMainView, Jc as CommandPaletteResourceTarget, Jd as TerminalSessionRequest, Ji as ExtensionSessionsApi, Jl as WebviewExtensionSettingSetParams, Jn as splitHistoryTurns, Jo as DataTableRendererRowAction, Jr as CommandInvocation, Js as HarnessCommandContext, Jt as serializePageUrl, Ju as ExtensionAutomationApi, Ka as PageMain, Kc as CommandPaletteResourceQueryParams, Kd as TerminalSessionHandle, Ki as ExtensionProjectContext, Kl as WebviewDeclarableCapability, Kn as mergeHistoryMetadata, Ko as DataTableRendererResourceRef, Kr as CommandFailedEvent, Ks as RetryableHarnessReattachError, Kt as parsePageUrl, Ku as ExtensionConnectionsApi, La as WorkspaceTypeProvider, Lc as ToolPart, Ld as ResourceRemovedEvent, Li as ExtensionBlobsApi, Ll as ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES, Ln as CommandResponse, Lo as TreeSectionEmptyState, Lr as RegionSize, Ls as ResourceBinding, Lt as resourceKey, Lu as SlotOptions, Ma as WorkspaceProviderMutationInput, Mc as SessionMessageRole, Md as ResourceAnchorPage, Mf as AgentModel, Mi as EventContext, Ml as KanbanRendererSettings, Mn as defineCommand, Mo as TreeRendererCommandResult, Mr as workbenchResourceKindDefinitions, Ms as SelectionGroup, Mt as artifactMountId, Mu as SelectParam, Na as WorkspaceProviderRef, Nc as StepFinishPart, Nd as ResourceAnchorQuery, Ni as ExtensionActivityApi, Nl as KanbanRendererSortDirection, Nn as defineHook, No as TreeRendererContribution, Nr as workbenchResourceKinds, Ns as SelectionOption, Nt as artifactsRead, Nu as TemplateParam, Oa as UiContributions, Oc as PatchPart, Od as RendererContext, Of as parseExtensionApiDeclaration, Oi as CommandContext, Ol as KanbanRendererRow, On as defineView, Oo as TreeNodeRowVariant, Or as workbenchPageDefinitions, Os as ResourceRefValue, Ot as EXTENSION_EVENTS_SCOPE, Ou as ParamValue, Pa as WorkspaceProviderResolveInput, Pc as StepStartPart, Pd as ResourceAnchorValidationInput, Pi as ExtensionArtifactApi, Pl as KanbanRendererViewMode, Pn as defineMiddleware, Po as TreeRendererQueryParams, Pr as workbenchSlots, Ps as TextControl, Pt as TerminalSessionAdapter, Pu as TextParam, Qa as PageSlotRef, Qc as ExtensionSettingValueType, Qd as JsonValue, Qi as ExtensionStorageCollectionApi, Ql as WebviewFilesUploadParams, Qn as defineSlot, Qo as DataTableRendererSettings, Qr as CommandNotice, Qs as HarnessOperationResult, Qt as ExtensionViewRender, Ra as StatusActionDefinition, Rc as ToolPartActionType, Rd as ResourceRole, Ri as ExtensionContextBase, Rl as WEBVIEW_DECLARABLE_CAPABILITIES, Rn as unwrapCommandOutcome, Ro as TreeViewSection, Rr as ResourceHierarchyProvider, Rs as ResourceConstraint, Rt as commandEvent, Ru as SlotRef, Sa as LocalExtensionSource, Sc as JsonPatch, Sd as NotificationOrigin, Sf as ViewFieldKind, Si as FileRendererResourceRef, Sl as KanbanRendererCreateRowContribution, Sn as defineSkill, So as ViewBody, Sr as resolveDataTableFieldKind, Ss as ParamEditorReadOnlyImage, St as WebviewArtifactsClient, Su as NumberParam, Ta as ProviderContributions, Tc as ErrorPart, Td as UpdateNotificationInput, Tf as ViewFilterRule, Ti as FileRendererSectionTarget, Tl as KanbanRendererQueryParams, Tn as defineTemplate, To as WebviewViewBody, Tr as localContributionIdPattern, Ts as ReadOnlyControl, Tt as WebviewCommandsClient, Tu as ParamOption, Ua as PageContribution, Uc as CommandPaletteContribution, Ui as ExtensionNotifyApi, Ul as WebviewArtifactsReadParams, Un as HistoryRecoveryResult, Uo as DataTableRendererContribution, Ur as CommandCompletedEvent, Us as HarnessProvider, Ut as PageUrlDefinition, Uu as ExtensionConnectionRequest, Va as WorkflowStatus, Vc as ArtifactMountContribution, Vd as TerminalEvent, Vi as ExtensionHarnessInput, Vl as WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES, Vn as HistoryProjection, Vo as DataTableRendererColumnRenderer, Vr as dockedWorkbenchRegions, Vs as HarnessParamDescriptor, Vt as params, Vu as EventRef, Wa as PageDocumentDeclaration, Wc as CommandPaletteResourceContribution, Wi as ExtensionPackageFilesApi, Wl as WebviewCapabilityDeclaration, Wn as historyMessageKey, Wo as DataTableRendererQueryParams, Wr as CommandContinue, Ws as HarnessSkillsLayout, Wt as ParsedWorkbenchPageUrl, Wu as ExtensionConnectionResponse, Xa as PageSlot, Xc as ExtensionSettingScope, Xd as JsonObject, Xi as ExtensionSkillsApi, Xl as WebviewFilesDeleteParams, Xn as mergeOrderedHistory, Xo as DataTableRendererSavedView, Xr as CommandLifecyclePhase, Xs as HarnessCommandState, Xt as resolveEventReferenceId, Ya as PageOpenIntent, Yc as ExtensionSettingProperty, Yi as ExtensionSettingsApi, Yl as WebviewFileScope, Yn as submittedPrompt, Yo as DataTableRendererRowActivationHandler, Yr as CommandLifecycleEventPayload, Ys as HarnessCommandDiscoveryContext, Yt as serializeWorkbenchPageUrl, Za as PageSlotCardinality, Zc as ExtensionSettingValueForType, Zd as JsonPrimitive, Zi as ExtensionStorageApi, Zl as WebviewFilesListParams, Zn as isFileSourcePosition, Zo as DataTableRendererSelectionAction, Zr as CommandMiddlewareResult, Zs as HarnessOperation, Zt as ExtensionViewModule, _a as ExtensionConnectionContribution, _c as HarnessRecoveryInput, _d as ListNotificationsResponse, _f as LocalizedString, _i as NavigationTargetPage, _l as KanbanRendererAttributeDisplay, _n as defineResourceHierarchyProvider, _o as PlacementTabMenuGroup, _r as viewDataEvents, _s as ControlValueMap, _u as JsonParam, aa as StorageScope, ac as HarnessEventSink, af as ContributionRef, ai as CommandReplaceParams, al as ModeRegionSettings, an as defineActivityItem, ao as DataTableViewBody, ar as ConflictPayload, as as ControlsResourceRef, au as WebviewNotificationActionParams, ba as ExtensionSourceKind, bc as HarnessSession, bd as NotificationActorType, bf as normalizeBooleanViewRule, bi as FileRendererLoadParams, bl as KanbanRendererColumnAction, bn as defineSettingsPanel, bo as PlacementTabSnapshot, br as worktreeEvents, bs as NumberControl, bt as projectPrefix, bu as MarkdownParam, ca as CreateExtensionWorkspaceInput, cc as HarnessMessagesInput, cf as PlacementRef, ci as CommandStartedEvent, cl as SkillContribution, cn as defineConnection, co as NavigationItemContribution, cr as SessionLifecyclePayload, cs as ActionsControl, cu as WebviewNotificationShowParams, da as ExtensionWorkspaceProvider, dc as HarnessQuestion, df as SettingsSlotRef, di as WorkbenchAttachmentInvocationContext, dl as ThemeContribution, dn as defineKeybinding, do as NavigationTreeSlot, dr as WorktreeRemovedPayload, ds as BaseControl, du as WebviewScopedDeclarableCapability, ea as MigrationContext, ec as AgentCapability, ef as Struct, ei as CommandPatchParams, el as FileIconThemeContribution, en as PropsStore, eo as PageSlotRole, er as eventRef, es as ControlsApplyInput, eu as WebviewHostCapabilityParams, fa as ExtensionWorkspacesApi, fc as HarnessQuestionChannel, ff as StatusBarSlotRef, fi as NavigationTarget, fl as ThemeMode, fn as defineMode, fo as PlacementContribution, fr as gitEvents, fs as BooleanControl, fu as RendererContributionBase, ga as EXTENSION_API_VERSION, gc as HarnessReattachInput, gd as ListNotificationsQuery, gf as Localizable, gi as NavigationTargetItem, gl as KanbanRendererAttributeDescriptor, gn as definePlacement, go as PlacementPresentation, gr as sessionSlots, gs as ControlValue, gu as HarnessParam, ha as CommandDefinition, hc as HarnessQuestionRequest, hd as CreateNotificationInput, hf as ViewRef, hi as NavigationTargetHref, hl as CollectionBadgeItem, hn as definePage, ho as PlacementPresence, hr as sessionEvents, hs as ControlParam, hu as FilesParam, ia as SetupContext, ic as HarnessAttachment, if as ContributionKind, ii as CommandReplaceInvocation, il as ModeContribution, in as defineExtension, io as ControlsViewBody, ir as CommitPayload, is as ControlsResetInput, iu as WebviewNavigationOpenParams, ja as WorkspaceProviderCreateInput, jc as SessionMessagePart, jd as ResourceAnchorChangeEvent, ji as CommandRunHandler, jl as KanbanRendererSavedView, jn as resourceMenuSlotRef, jo as TreeRendererChildrenParams, jr as workbenchPanels, js as SelectionControl, jt as ArtifactMountKey, ju as ResourceParam, ka as WorkspaceCapabilities, kc as ReasoningPart, kd as RendererInvocationContext, kf as supportsExtensionApiVersion, ki as CommandMiddlewareContext, kl as KanbanRendererRowAction, kn as defineViewMenu, ko as TreeNodeTarget, kr as workbenchPages, ks as SegmentedControl, kt as WebviewEventsClient, ku as ParamValueRef, la as CreateWorkspaceCommandParams, lc as HarnessParamValue, lf as ResourceKindRef, li as CommandTarget, ll as TemplateContribution, ln as defineFileIconTheme, lo as NavigationOwnerRef, lr as WorkspaceProvisionPayload, ls as AnchorGridControl, lu as WebviewPreferencesGetParams, ma as BehaviourContributions, mc as HarnessQuestionReplyError, mf as ThemeRef, mi as NavigationTargetCompound, ml as WhenExpression, mn as defineNavigationTree, mo as PlacementMountStrategy, mr as projectSlots, ms as ControlGroup, mu as BooleanParam, na as ProcessRunResult, nc as ApprovalResponse, nf as ContributionDefinition, ni as CommandReject, nl as KeybindingContribution, nn as defineExtensionView, no as PlacementIdentity, nr as isNavigationTarget, ns as ControlsQueryResult, nu as WebviewHostCapabilityResults, oa as WorkspaceFilesMount, oc as HarnessExit, of as ModeRef, oi as CommandRequestedEvent, ol as SettingsPanelContribution, on as defineArtifactMount, oo as FileViewBody, or as MergePayload, os as ControlsUpdateValueInput, ou as WebviewNotificationDismissParams, pa as AssetContributions, pc as HarnessQuestionOption, pf as StatusRef, pi as NavigationTargetCommand, pl as WebviewContribution, pn as defineNavigationItem, po as PlacementItem, pr as projectEvents, ps as ColorControl, pt as AutomationRunStatus, pu as RendererEventReference, qa as PageMainPanels, qc as CommandPaletteResourceQueryResult, qi as ExtensionSessionResource, ql as WebviewExtensionSettingKeyParams, qn as reconcileMessageHistory, qo as DataTableRendererRow, qr as CommandHelpersApi, qt as parseWorkbenchPageUrl, qu as ExtensionLoggerApi, ra as RendererCallback, rc as HarnessApprovalChannel, rf as ContributionInput, ri as CommandRejectedEvent, rl as MenuContribution, rn as GuestHost, ro as PlacementOwner, rr as qualifyNavigationTarget, rs as ControlsRendererContribution, ru as WebviewKeyboardEventParams, sa as WorkspaceSyncFile, sc as HarnessExitStatus, sf as PageRef, si as CommandSource, sl as SettingsSectionContribution, sn as defineCommandPaletteResource, so as KanbanViewBody, sr as RebasePayload, ss as ActionOption, su as WebviewNotificationResolveParams, ta as ProcessRunInput, tc as ApprovalRequest, tf as ConnectionRef, ti as CommandRef, tl as KeybindingChord, tn as WebviewFilesClient, to as PanelRef, tr as packageAsset, ts as ControlsQueryParams, tu as WebviewHostCapabilityResult, ua as ExtensionWorkspace, uc as HarnessParams, uf as SettingsSectionRef, ui as SerializedError, ul as TemplateTypeContribution, un as defineHarness, uo as NavigationTreeContribution, ur as WorkspaceType, us as AnchorGridValue, ut as AutomationRun, uu as WebviewPreferencesSetParams, va as ExtensionDefinition, vc as HarnessRecoveryResult, vd as Notification, vf as isLocalizedString, vi as NavigationTargetPanel, vl as KanbanRendererAttributeType, vn as defineResourceKind, vo as PlacementTabMenuRow, vr as workspaceEvents, vs as DateControl, vu as ListParam, wa as PackageManifest, wc as TimeoutStrategy, wd as NotificationStatus, wf as ViewFilterGroup, wi as FileRendererSectionAnchor, wl as KanbanRendererFilterState, wn as defineStatuses, wo as ViewMenuContribution, wr as localContributionIdGrammar, ws as RangeValue, wt as WebviewClientOptions, wu as ParamObjectSchema, xa as HookDefinition, xc as HarnessStartInput, xd as NotificationKind, xf as VIEW_FILTER_CONDITIONS, xi as FileRendererLoadResult, xl as KanbanRendererContribution, xn as defineSettingsSection, xo as TreeViewBody, xr as resolveDataTableComparableValue, xs as ParamEditorReadOnlyContent, xt as matchesResourceWhen, xu as MultiSelectParam, ya as ExtensionLoadScope, yc as HarnessResumeInput, yd as NotificationAction, yf as l10n, yi as FileRendererContribution, yl as KanbanRendererBoardColumnConfig, yn as defineSchedule, yo as PlacementTabPresentation, yr as workspaceSlots, ys as MarkdownControl, yu as LongTextParam, za as StatusBarItemContribution, zc as ToolPartStatus, zd as ViewHierarchyParent, zi as ExtensionEventsApi, zl as WEBVIEW_HOST_CAPABILITIES, zn as SDK_VERSION, zo as DEFAULT_DATA_TABLE_SETTINGS, zr as ResourceKindDefinition, zs as HarnessContext, zt as QualifiedRef, zu as UiSlotKind } from "./index-BvsVU-eX.js";
2
- export { ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES, type ActionOption, type ActionsControl, type ActivityItemContribution, type AgentCapability, type AgentModel, type AnchorGridControl, type AnchorGridValue, type ApprovalRequest, type ApprovalResponse, type ArtifactFile, type ArtifactMount, type ArtifactMountContribution, type ArtifactMountKey, type AssetContributions, type AutomationRun, type AutomationRunStatus, type BaseControl, type BehaviourContributions, type BooleanControl, type BooleanParam, type CliContribution, type CollectionBadgeItem, type ColorControl, type CommandCompletedEvent, type CommandContext, type CommandContinue, type CommandDefinition, type CommandDiagnostic, type CommandFailedEvent, type CommandHelpersApi, type CommandInvocation, type CommandLifecycleEventPayload, type CommandLifecyclePhase, type CommandMiddlewareContext, type CommandMiddlewareHandler, type CommandMiddlewareResult, type CommandNotice, type CommandOutcome, type CommandPaletteContribution, type CommandPaletteResourceContribution, type CommandPaletteResourceItem, type CommandPaletteResourceQueryParams, type CommandPaletteResourceQueryResult, type CommandPaletteResourceTarget, type CommandPatchParams, type CommandRef, type CommandReject, type CommandRejectedEvent, type CommandReplaceInvocation, type CommandReplaceParams, type CommandRequestedEvent, type CommandResponse, type CommandRunHandler, type CommandSource, type CommandStartedEvent, type CommandTarget, type CommitPayload, type ConflictPayload, type ConnectionRef, type ContributionDefinition, type ContributionInput, type ContributionKind, type ContributionRef, type ControlGroup, type ControlParam, type ControlValue, type ControlValueMap, type ControlsApplyInput, type ControlsQueryParams, type ControlsQueryResult, type ControlsRendererContribution, type ControlsResetInput, type ControlsResourceRef, type ControlsUpdateValueInput, type ControlsViewBody, type CreateExtensionWorkspaceInput, type CreateNotificationInput, type CreateWorkspaceCommandParams, DEFAULT_DATA_TABLE_SETTINGS, type DataTableRendererColumn, type DataTableRendererColumnRenderer, type DataTableRendererColumnStat, type DataTableRendererContribution, type DataTableRendererQueryParams, type DataTableRendererQueryResult, type DataTableRendererResourceRef, type DataTableRendererRow, type DataTableRendererRowAction, type DataTableRendererRowActivationHandler, type DataTableRendererSavedView, type DataTableRendererSelectionAction, type DataTableRendererSettings, type DataTableRendererThemeColor, type DataTableViewBody, type DateControl, type DockedWorkbenchRegion, EXTENSION_API_VERSION, EXTENSION_EVENTS_SCOPE, type ErrorPart, type EventContext, type EventDeliveryResult, type EventRef, type ExtensionActivityApi, type ExtensionArtifactApi, type ExtensionAutomationApi, type ExtensionBlobInput, type ExtensionBlobRef, type ExtensionBlobsApi, type ExtensionConnectionContribution, type ExtensionConnectionMethod, type ExtensionConnectionRequest, type ExtensionConnectionResponse, type ExtensionConnectionStreamEvent, type ExtensionConnectionsApi, type ExtensionContextBase, type ExtensionDefinition, type ExtensionEventsApi, type ExtensionFilesApi, type ExtensionHarnessInput, type ExtensionLoadScope, type ExtensionLoggerApi, type ExtensionNetApi, type ExtensionNotifyApi, type ExtensionPackageFilesApi, type ExtensionPanelRegion, type ExtensionProcessApi, type ExtensionProjectContext, type ExtensionResourcesApi, type ExtensionSessionResource, type ExtensionSessionsApi, type ExtensionSettingProperty, type ExtensionSettingScope, type ExtensionSettingValueForType, type ExtensionSettingValueType, type ExtensionSettingsApi, type ExtensionSettingsContribution, type ExtensionSkillsApi, type ExtensionSourceKind, type ExtensionStorageApi, type ExtensionStorageCollectionApi, type ExtensionTerminalApi, type ExtensionViewModule, type ExtensionViewRender, type ExtensionViewRenderContext, type ExtensionWorkspace, type ExtensionWorkspaceProvider, type ExtensionWorkspacesApi, type FileIconThemeContribution, type FilePart, type FileRendererContribution, type FileRendererLoadParams, type FileRendererLoadResult, type FileRendererResourceRef, type FileRendererSaveParams, type FileRendererSectionAnchor, type FileRendererSectionTarget, type FileSourcePosition, type FileViewBody, type FilesParam, type GuestHost, type HarnessApprovalChannel, type HarnessAttachment, type HarnessCommandContext, type HarnessCommandDiscoveryContext, type HarnessCommandState, type HarnessContext, type HarnessDetectionResult, type HarnessEventSink, type HarnessExit, type HarnessExitStatus, type HarnessMessagesInput, type HarnessOperation, type HarnessOperationResult, type HarnessParam, type HarnessParamDescriptor, type HarnessParamValue, type HarnessParams, type HarnessParamsSchema, type HarnessProvider, type HarnessQuestion, type HarnessQuestionChannel, type HarnessQuestionOption, type HarnessQuestionReplyError, type HarnessQuestionRequest, type HarnessReattachInput, type HarnessRecoveryInput, type HarnessRecoveryResult, type HarnessResumeInput, type HarnessSession, type HarnessSkillsLayout, type HarnessStartInput, type HarnessStateApi, HistoryConflict, type HistoryProjection, type HistoryRecoveryInput, type HistoryRecoveryResult, type HookDefinition, type JsonObject, type JsonParam, type JsonPatch, type JsonPrimitive, type JsonValue, type KanbanRendererAttributeDescriptor, type KanbanRendererAttributeDisplay, type KanbanRendererAttributeType, type KanbanRendererBoardColumnConfig, type KanbanRendererColumnAction, type KanbanRendererContribution, type KanbanRendererCreateRowContribution, type KanbanRendererEnumOption, type KanbanRendererFilterState, type KanbanRendererQueryParams, type KanbanRendererQueryResult, type KanbanRendererResourceRef, type KanbanRendererRow, type KanbanRendererRowAction, type KanbanRendererRowActivationHandler, type KanbanRendererSavedView, type KanbanRendererSettings, type KanbanRendererSortDirection, type KanbanRendererViewMode, type KanbanRendererViewSettings, type KanbanViewBody, type KeybindingChord, type KeybindingContribution, type ListNotificationsQuery, type ListNotificationsResponse, type ListParam, type LoadingPart, type LocalExtensionSource, type Localizable, type LocalizedString, type LongTextParam, type MarkdownControl, type MarkdownParam, type MaybePromise, type MenuContribution, type MergePayload, type MiddlewareDefinition, type MigrationContext, type ModeContribution, type ModeRef, type ModeRegionSettings, type MultiSelectParam, type NavigationItemContribution, type NavigationOwnerRef, type NavigationTarget, type NavigationTargetCommand, type NavigationTargetCompound, type NavigationTargetHref, type NavigationTargetItem, type NavigationTargetPage, type NavigationTargetPanel, type NavigationTreeContribution, type NavigationTreeSlot, type Notification, type NotificationAction, type NotificationActorType, type NotificationKind, type NotificationOrigin, type NotificationPriority, type NotificationStatus, type NumberControl, type NumberParam, type PackageAssetDescriptor, type PackageManifest, type PageContribution, type PageDocumentDeclaration, type PageLocation, type PageMain, type PageMainPanels, type PageMainView, type PageOpenIntent, type PageRef, type PageSlot, type PageSlotCardinality, type PageSlotRef, type PageSlotRegion, type PageSlotRole, type PageUrlDefinition, type PanelRef, type ParamDescriptor, type ParamEditorReadOnlyContent, type ParamEditorReadOnlyImage, type ParamObjectSchema, type ParamOption, type ParamOptionSource, type ParamType, type ParamValue, type ParamValueRef, type ParamsOf, type ParsedWorkbenchPageUrl, type PatchPart, type PlacementContribution, type PlacementIdentity, type PlacementItem, type PlacementMountStrategy, type PlacementOwner, type PlacementPresence, type PlacementPresentation, type PlacementRef, type PlacementTabMenuGroup, type PlacementTabMenuRow, type PlacementTabPresentation, type PlacementTabSnapshot, type PreparedHarnessOperation, type ProcessRunInput, type ProcessRunResult, type PropsStore, type ProviderContributions, type QualifiedRef, type QuestionResponse, type RangeControl, type RangeValue, type ReadOnlyControl, type ReasoningPart, type RebasePayload, type RegionSize, type RendererCallback, type RendererContext, type RendererContributionBase, type RendererEventReference, type RendererInvocationContext, type ResourceAnchor, type ResourceAnchorChangeEvent, type ResourceAnchorPage, type ResourceAnchorQuery, type ResourceAnchorValidationInput, type ResourceAnchorValidationResult, type ResourceBinding, type ResourceConstraint, type ResourceControl, type ResourceHierarchyProvider, type ResourceKindDefinition, type ResourceKindRef, type ResourceMenuSlotDefinition, type ResourceOption, type ResourceParam, type ResourceRef, type ResourceRefValue, type ResourceRemovedEvent, type ResourceRole, type RetryableHarnessReattachError, SDK_VERSION, type ScheduleContribution, type ScheduleExpression, type SegmentedControl, type SegmentedOption, type SelectParam, type SelectionControl, type SelectionGroup, type SelectionOption, type SerializedError, type SessionLifecyclePayload, type SessionMessage, type SessionMessagePart, type SessionMessageRole, type SettingsPanelContribution, type SettingsSectionContribution, type SettingsSectionRef, type SettingsSlotRef, type SetupContext, type SkillContribution, type SlotInvocationContext, type SlotOptions, type SlotRef, type StatusActionDefinition, type StatusBarItemContribution, type StatusBarSlotRef, type StatusContribution, type StatusRef, type StepFinishPart, type StepStartPart, type StorageScope, type Struct, type TemplateContribution, type TemplateParam, type TemplateTypeContribution, type TerminalEvent, type TerminalSessionAdapter, type TerminalSessionBridge, type TerminalSessionExit, type TerminalSessionHandle, type TerminalSessionRequest, type TextControl, type TextParam, type TextPart, type ThemeContribution, type ThemeMode, type ThemeRef, type TimeoutStrategy, type TokenUsagePart, type ToolPart, type ToolPartActionType, type ToolPartStatus, type TreeAction, type TreeNode, type TreeNodeRowVariant, type TreeNodeTarget, type TreeRendererActionParams, type TreeRendererChildrenParams, type TreeRendererCommandResult, type TreeRendererContribution, type TreeRendererQueryParams, type TreeRendererResourceRef, type TreeRendererState, type TreeSectionEmptyState, type TreeViewBody, type TreeViewSection, type UiContributions, type UiSlotKind, type UpdateNotificationInput, VIEW_FILTER_CONDITIONS, type VectorControl, type VectorValue, type ViewBody, type ViewContribution, type ViewFieldKind, type ViewFilterCondition, type ViewFilterGroup, type ViewFilterRule, type ViewHierarchyParent, type ViewMenuContribution, type ViewRef, type ViewSort, type ViewSortDirection, type ViewToolbarAction, WEBVIEW_DECLARABLE_CAPABILITIES, WEBVIEW_HOST_CAPABILITIES, WEBVIEW_HOST_CAPABILITY_VERSION, WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES, type WebviewArtifactFile, type WebviewArtifactsClient, type WebviewArtifactsReadParams, type WebviewCapabilityDeclaration, type WebviewClient, type WebviewClientOptions, type WebviewCommandsClient, type WebviewCommandsExecuteParams, type WebviewContribution, type WebviewDeclarableCapability, type WebviewEventsClient, type WebviewExtensionEvent, type WebviewExtensionSettingKeyParams, type WebviewExtensionSettingSetParams, type WebviewFileScope, type WebviewFilesClient, type WebviewFilesDeleteParams, type WebviewFilesListParams, type WebviewFilesUploadParams, type WebviewHostCapability, type WebviewHostCapabilityParams, type WebviewHostCapabilityResult, type WebviewHostCapabilityResults, type WebviewKeyboardEventParams, type WebviewNavigationOpenParams, type WebviewNotificationActionParams, type WebviewNotificationDismissParams, type WebviewNotificationResolveParams, type WebviewNotificationShowParams, type WebviewPreferencesGetParams, type WebviewPreferencesSetParams, type WebviewScopedDeclarableCapability, type WebviewSettingsClient, type WebviewViewBody, type WhenExpression, type WorkbenchAttachmentInvocationContext, type WorkflowStatus, type WorkspaceCapabilities, type WorkspaceExecutionTarget, type WorkspaceFilesMount, type WorkspaceParam, type WorkspaceProviderCreateInput, type WorkspaceProviderMutationInput, type WorkspaceProviderRef, type WorkspaceProviderResolveInput, type WorkspaceProviderResult, type WorkspaceProviderState, type WorkspaceProvisionPayload, type WorkspaceSyncFile, type WorkspaceType, type WorkspaceTypeProvider, type WorktreeRemovedPayload, artifactMountId, artifactsRead, commandEvent, commandRef, commandRefId, contributionRefId, createTerminalSessionBridge, createWebviewClient, defaultPageResourceCodec, defineActivityItem, defineArtifactMount, defineCommand, defineCommandPaletteResource, defineConnection, defineExtension, defineExtensionView, defineFileIconTheme, defineHarness, defineHook, defineKeybinding, defineMiddleware, defineMode, defineNavigationItem, defineNavigationTree, definePage, definePlacement, defineResourceHierarchyProvider, defineResourceKind, defineSchedule, defineSettingsPanel, defineSettingsSection, defineSkill, defineSlot, defineStatusBarItem, defineStatuses, defineTemplate, defineTemplateType, defineTheme, defineView, defineViewMenu, defineWorkspaceType, dockedWorkbenchRegions, eventRef, extensionPanelRegions, gitEvents, historyMessageKey, historyValueKey, isFileSourcePosition, isLocalizedString, isNavigationTarget, isValidLocalContributionId, isWorkbenchProjectUrl, l10n, localContributionIdGrammar, localContributionIdPattern, matchesResourceWhen, mergeHistoryMetadata, mergeOrderedHistory, normalizeBooleanViewRule, packageAsset, params, type parseExtensionApiDeclaration, parsePageUrl, parseWorkbenchPageUrl, projectEvents, projectPrefix, projectSlots, qualifyNavigationTarget, qualifyRef, reconcileMessageHistory, resolveDataTableComparableValue, resolveDataTableFieldKind, resolveEventReferenceId, resourceKey, resourceMenuSlotRef, serializePageUrl, serializeWorkbenchPageUrl, sessionEvents, sessionSlots, splitHistoryTurns, submittedPrompt, type supportsExtensionApiVersion, unwrapCommandOutcome, viewDataEvents, workbenchModeDefinitions, workbenchModes, workbenchPageDefinitions, workbenchPages, workbenchPanelDefinitions, workbenchPanels, workbenchResourceKindDefinitions, workbenchResourceKinds, workbenchSlots, workspaceEvents, workspaceSlots, worktreeEvents };
1
+ import { $a as PageSlotRef, $c as ExtensionSettingProperty, $d as ResourceAnchor, $f as supportsExtensionApiVersion, $i as ExtensionTerminalApi, $l as WebviewExtensionSettingKeyParams, $n as isFileSourcePosition, $o as DataTableRendererSelectionAction, $r as CommandMiddlewareResult, $s as HarnessOperation, $t as ExtensionViewRender, Aa as WorkspaceCapabilities, Ac as FilePart, Ad as ExtensionConnectionStreamEvent, Af as ModeRef, Ai as CommandContext, Al as KanbanRendererQueryResult, An as defineViewMenu, Ao as TreeNodeTarget, Ar as workbenchPageDefinitions, As as ResourceRefValue, At as WebviewEventsClient, Au as ParamObjectSchema, Ba as StatusBarItemContribution, Bc as TokenUsagePart, Bd as ListNotificationsResponse, Bf as Localizable, Bi as ExtensionBlobsApi, Bl as ViewToolbarAction, Bn as unwrapCommandOutcome, Bo as TreeViewSection, Br as ResourceHierarchyProvider, Bs as ResourceConstraint, Bt as QualifiedRef, Bu as TextParam, Ca as LocalExtensionSource, Cc as HarnessStartInput, Cd as BoardViewUpdate, Cf as MaybePromise, Ci as FileRendererLoadResult, Cl as KanbanRendererBoardColumnConfig, Cn as defineSkill, Co as ViewBody, Cr as resolveDataTableComparableValue, Cs as ParamEditorReadOnlyContent, Ct as WebviewCommandsClient, Cu as JsonParam, Da as ScheduleContribution, Dc as QuestionResponse, Dd as ExtensionConnectionMethod, Df as ContributionInput, Di as FileRendererSectionTarget, Dl as KanbanRendererEnumOption, Dn as defineTemplateType, Do as TreeAction, Dr as localContributionIdPattern, Ds as ReadOnlyControl, Dt as CommandStreamOptions, Du as MultiSelectParam, Ea as ProviderContributions, Ec as JsonPatch, Ed as EventRef, Ef as ContributionDefinition, Ei as FileRendererSectionAnchor, El as KanbanRendererCreateRowContribution, En as defineTemplate, Eo as WebviewViewBody, Er as localContributionIdGrammar, Es as RangeValue, Et as CommandStream, Eu as MarkdownParam, Fa as WorkspaceProviderResolveInput, Fc as SessionMessagePart, Ff as SettingsSlotRef, Fi as EventContext, Fl as KanbanRendererSavedView, Fn as defineMiddleware, Fo as TreeRendererMoveParams, Fr as workbenchResourceKinds, Fs as SelectionOption, Ft as TerminalSessionAdapter, Fu as ParamValueRef, Ga as PageDocumentDeclaration, Gc as ArtifactMountContribution, Gd as NotificationOrigin, Gf as VIEW_FILTER_CONDITIONS, Gi as ExtensionNotifyApi, Gl as WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES, Gn as HistoryRecoveryResult, Go as DataTableRendererContribution, Gr as CommandCompletedEvent, Gs as HarnessProvider, Gt as ParsedWorkbenchPageUrl, Gu as UiSlotKind, Ha as WorkflowStatus, Hc as ToolPartActionType, Hd as NotificationAction, Hf as isLocalizedString, Hi as ExtensionEventsApi, Hl as WEBVIEW_DECLARABLE_CAPABILITIES, Hn as HistoryConflict, Ho as DataTableRendererColumn, Hr as ResourceMenuSlotDefinition, Hs as HarnessDetectionResult, Ht as params, Hu as SlotInvocationContext, Ia as WorkspaceProviderResult, Ic as SessionMessageRole, If as StatusBarSlotRef, Ii as ExtensionActivityApi, Il as KanbanRendererSettings, In as streamOf, Io as TreeRendererQueryParams, Ir as workbenchSlots, Is as TextControl, It as TerminalSessionBridge, Iu as ParamsOf, Ja as PageMainPanels, Jc as CommandPaletteResourceContribution, Jd as UpdateNotificationInput, Jf as ViewFilterGroup, Ji as ExtensionProjectContext, Jl as WebviewCapabilityDeclaration, Jn as mergeHistoryMetadata, Jo as DataTableRendererResourceRef, Jr as CommandFailedEvent, Js as RetryableHarnessReattachError, Jt as parseWorkbenchPageUrl, Ju as ExtensionSessionsApi, Ka as PageLocation, Kc as CliContribution, Kd as NotificationPriority, Kf as ViewFieldKind, Ki as ExtensionPackageFilesApi, Kl as WebviewArtifactFile, Kn as historyMessageKey, Ko as DataTableRendererQueryParams, Kr as CommandContinue, Ks as HarnessSkillsLayout, Kt as isWorkbenchProjectUrl, Ku as ExtensionHarnessInput, La as WorkspaceProviderState, Lc as StepFinishPart, Lf as StatusRef, Li as ExtensionArtifactApi, Ll as KanbanRendererSortDirection, Ln as commandRefId, Lo as TreeRendererResourceRef, Lr as DockedWorkbenchRegion, Ls as VectorControl, Lt as createTerminalSessionBridge, Lu as ResourceParam, Ma as WorkspaceProviderCreateInput, Mc as PatchPart, Md as ExtensionLoggerApi, Mf as PlacementRef, Mi as CommandMiddlewareHandler, Ml as KanbanRendererRow, Mn as resourceMenuSlotRef, Mo as TreeRendererChildrenParams, Mr as workbenchPanelDefinitions, Ms as SegmentedOption, Mt as ArtifactMountKey, Mu as ParamOptionSource, Na as WorkspaceProviderMutationInput, Nc as ReasoningPart, Nd as ExtensionAutomationApi, Nf as ResourceKindRef, Ni as CommandRunHandler, Nl as KanbanRendererRowAction, Nn as defineCommand, No as TreeRendererCommandResult, Nr as workbenchPanels, Ns as SelectionControl, Nt as artifactMountId, Nu as ParamType, Oa as ScheduleExpression, Oc as TimeoutStrategy, Od as ExtensionConnectionRequest, Of as ContributionKind, Oi as ArtifactFile, Ol as KanbanRendererFilterState, On as defineTheme, Oo as TreeNode, Or as workbenchModeDefinitions, Os as ResourceControl, Ot as WebviewStreamsClient, Ou as NumberParam, Pa as WorkspaceProviderRef, Pc as SessionMessage, Pf as SettingsSectionRef, Pi as CommandStreamWriter, Pl as KanbanRendererRowActivationHandler, Pn as defineHook, Po as TreeRendererContribution, Pr as workbenchResourceKindDefinitions, Ps as SelectionGroup, Pt as artifactsRead, Pu as ParamValue, Qa as PageSlotCardinality, Qc as CommandPaletteResourceTarget, Qd as RendererInvocationContext, Qf as parseExtensionApiDeclaration, Qi as ExtensionStorageCollectionApi, Ql as WebviewDeclarableCapability, Qn as mergeOrderedHistory, Qo as DataTableRendererSavedView, Qr as CommandLifecyclePhase, Qs as HarnessCommandState, Qt as ExtensionViewModule, Ra as WorkspaceTypeProvider, Rc as StepStartPart, Rd as CreateNotificationInput, Rf as ThemeRef, Ri as ExtensionBlobInput, Rl as KanbanRendererViewMode, Rn as contributionRefId, Ro as TreeRendererState, Rr as ExtensionPanelRegion, Rs as VectorValue, Rt as resourceKey, Ru as SelectParam, Sa as HookDefinition, Sc as HarnessSession, Sd as BoardViewCreate, Sf as JsonValue, Si as FileRendererLoadParams, Sl as KanbanRendererAttributeType, Sn as defineSettingsSection, So as TreeViewBody, Sr as worktreeEvents, Ss as NumberControl, St as WebviewClientOptions, Su as HarnessParam, Ta as PackageManifest, Tc as HarnessSteeringResult, Td as EventDeliveryResult, Tf as ConnectionRef, Ti as FileRendererSaveParams, Tl as KanbanRendererContribution, Tn as defineStatuses, To as ViewMenuContribution, Tr as isValidLocalContributionId, Ts as RangeControl, Tt as createWebviewClient, Tu as LongTextParam, Ua as FileSourcePosition, Uc as ToolPartStatus, Ud as NotificationActorType, Uf as l10n, Ui as ExtensionFilesApi, Ul as WEBVIEW_HOST_CAPABILITIES, Un as HistoryProjection, Uo as DataTableRendererColumnRenderer, Ur as dockedWorkbenchRegions, Us as HarnessParamDescriptor, Ut as defaultPageResourceCodec, Uu as SlotOptions, Va as StatusContribution, Vc as ToolPart, Vd as Notification, Vf as LocalizedString, Vi as ExtensionContextBase, Vl as ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES, Vn as SDK_VERSION, Vo as DEFAULT_DATA_TABLE_SETTINGS, Vr as ResourceKindDefinition, Vs as HarnessContext, Vt as qualifyRef, Vu as WorkspaceParam, Wa as PageContribution, Wc as ActivityItemContribution, Wd as NotificationKind, Wf as normalizeBooleanViewRule, Wi as ExtensionNetApi, Wl as WEBVIEW_HOST_CAPABILITY_VERSION, Wn as HistoryRecoveryInput, Wo as DataTableRendererColumnStat, Wr as extensionPanelRegions, Ws as HarnessParamsSchema, Wt as PageUrlDefinition, Wu as SlotRef, Xa as PageOpenIntent, Xc as CommandPaletteResourceQueryParams, Xd as PackageAssetDescriptor, Xf as ViewSort, Xi as ExtensionSkillsApi, Xl as WebviewCommandsExecuteParams, Xn as splitHistoryTurns, Xo as DataTableRendererRowAction, Xr as CommandInvocation, Xs as HarnessCommandContext, Xt as serializeWorkbenchPageUrl, Ya as PageMainView, Yc as CommandPaletteResourceItem, Yd as ExtensionResourcesApi, Yf as ViewFilterRule, Yi as ExtensionSettingsApi, Yl as WebviewCommandStreamEvent, Yn as reconcileMessageHistory, Yo as DataTableRendererRow, Yr as CommandHelpersApi, Yt as serializePageUrl, Za as PageSlot, Zc as CommandPaletteResourceQueryResult, Zd as RendererContext, Zf as ViewSortDirection, Zi as ExtensionStorageApi, Zl as WebviewCommandsStreamParams, Zn as submittedPrompt, Zo as DataTableRendererRowActivationHandler, Zr as CommandLifecycleEventPayload, Zs as HarnessCommandDiscoveryContext, Zt as resolveEventReferenceId, _a as EXTENSION_API_VERSION, _c as HarnessQuestionRequest, _i as NavigationTargetHref, _l as WebviewContribution, _n as definePlacement, _o as PlacementPresentation, _r as sessionEvents, _s as ControlParam, _u as WebviewScopedDeclarableCapability, aa as StorageScope, ac as HarnessApprovalChannel, af as ResourceRef, ai as CommandRejectedEvent, al as KeybindingChord, an as defineExtension, ao as ControlsViewBody, ar as qualifyNavigationTarget, as as ControlsRendererContribution, au as WebviewHostCapability, ba as ExtensionLoadScope, bc as HarnessRecoveryResult, bf as JsonObject, bi as NavigationTargetPanel, bl as KanbanRendererAttributeDescriptor, bn as defineSchedule, bo as PlacementTabPresentation, br as workspaceEvents, bs as DateControl, bt as WebviewArtifactsClient, bu as BooleanParam, ca as CreateExtensionWorkspaceInput, cc as HarnessExit, cf as ResourceRole, ci as CommandRequestedEvent, cl as ModeContribution, cn as defineCommandPaletteResource, co as KanbanViewBody, cr as MergePayload, cs as ControlsUpdateValueInput, ct as AutomationRun, cu as WebviewHostCapabilityResults, da as ExtensionWorkspaceProvider, dc as HarnessParamValue, df as TerminalEvent, di as CommandTarget, dl as SettingsSectionContribution, dn as defineHarness, do as NavigationTreeContribution, dr as WorkspaceProvisionPayload, ds as AnchorGridControl, dt as AutomationRunStatus, du as WebviewNotificationActionParams, ea as MigrationContext, ec as HarnessOperationResult, ef as ResourceAnchorChangeEvent, ei as CommandNotice, el as ExtensionSettingScope, en as ExtensionViewRenderContext, eo as PageSlotRegion, er as defineSlot, es as DataTableRendererSettings, eu as WebviewExtensionSettingSetParams, fa as ExtensionWorkspacesApi, fc as HarnessParams, fi as SerializedError, fl as SkillContribution, fn as defineKeybinding, fo as NavigationTreeSlot, fr as WorkspaceType, fs as AnchorGridValue, fu as WebviewNotificationDismissParams, ga as CommandStreamDeclaration, gc as HarnessQuestionReplyError, gf as TerminalSessionHandle, gi as NavigationTargetCompound, gl as ThemeMode, gn as definePage, go as PlacementPresence, gr as projectSlots, gs as ControlGroup, gu as WebviewPreferencesSetParams, ha as CommandDefinition, hc as HarnessQuestionOption, hf as TerminalSessionExit, hi as NavigationTargetCommand, hl as ThemeContribution, hn as defineNavigationTree, ho as PlacementMountStrategy, hr as projectEvents, hs as ColorControl, hu as WebviewPreferencesGetParams, ia as SetupContext, ic as ApprovalResponse, if as ResourceAnchorValidationResult, ii as CommandReject, il as FileIconThemeContribution, in as GuestHost, io as PlacementOwner, ir as isNavigationTarget, is as ControlsQueryResult, iu as WebviewFilesUploadParams, ja as WorkspaceExecutionTarget, jc as LoadingPart, jd as ExtensionConnectionsApi, jf as PageRef, ji as CommandMiddlewareContext, jl as KanbanRendererResourceRef, jn as defineWorkspaceType, jo as TreeRendererActionParams, jr as workbenchPages, js as SegmentedControl, jt as WebviewExtensionEvent, ju as ParamOption, ka as UiContributions, kc as ErrorPart, kd as ExtensionConnectionResponse, kf as ContributionRef, ki as ArtifactMount, kl as KanbanRendererQueryParams, kn as defineView, ko as TreeNodeRowVariant, kr as workbenchModes, ks as ResourceOption, kt as EXTENSION_EVENTS_SCOPE, ku as ParamDescriptor, la as CreateWorkspaceCommandParams, lc as HarnessExitStatus, lf as ViewHierarchyParent, li as CommandSource, ll as ModeRegionSettings, ln as defineConnection, lo as NavigationItemContribution, lr as RebasePayload, ls as ActionOption, lu as WebviewKeyboardEventParams, ma as BehaviourContributions, mc as HarnessQuestionChannel, mi as NavigationTarget, ml as TemplateTypeContribution, mn as defineNavigationItem, mo as PlacementItem, mr as gitEvents, ms as BooleanControl, mu as WebviewNotificationShowParams, na as ProcessRunResult, nc as AgentCapability, nf as ResourceAnchorQuery, ni as CommandPatchParams, nl as ExtensionSettingValueType, nn as WebviewFilesClient, no as PanelRef, np as AgentModel, nr as eventRef, ns as ControlsApplyInput, nu as WebviewFilesDeleteParams, oa as WorkspaceFilesMount, oc as HarnessAttachment, of as ResourceRemovedEvent, oi as CommandReplaceInvocation, ol as KeybindingContribution, on as defineActivityItem, oo as DataTableViewBody, or as CommitPayload, os as ControlsResetInput, ou as WebviewHostCapabilityParams, pa as AssetContributions, pc as HarnessQuestion, pi as WorkbenchAttachmentInvocationContext, pl as TemplateContribution, pn as defineMode, po as PlacementContribution, pr as WorktreeRemovedPayload, ps as BaseControl, pu as WebviewNotificationResolveParams, qa as PageMain, qc as CommandPaletteContribution, qd as NotificationStatus, qf as ViewFilterCondition, qi as ExtensionProcessApi, ql as WebviewArtifactsReadParams, qn as historyValueKey, qo as DataTableRendererQueryResult, qr as CommandDiagnostic, qs as HarnessStateApi, qt as parsePageUrl, qu as ExtensionSessionResource, ra as RendererCallback, rc as ApprovalRequest, rf as ResourceAnchorValidationInput, ri as CommandRef, rl as ExtensionSettingsContribution, rn as defineExtensionView, ro as PlacementIdentity, rr as packageAsset, rs as ControlsQueryParams, ru as WebviewFilesListParams, sa as WorkspaceSyncFile, sc as HarnessEventSink, sf as ResourceResolution, si as CommandReplaceParams, sl as MenuContribution, sn as defineArtifactMount, so as FileViewBody, sr as ConflictPayload, ss as ControlsResourceRef, su as WebviewHostCapabilityResult, ta as ProcessRunInput, tc as PreparedHarnessOperation, tf as ResourceAnchorPage, ti as CommandOutcome, tl as ExtensionSettingValueForType, tn as PropsStore, to as PageSlotRole, tr as commandRef, ts as DataTableRendererThemeColor, tu as WebviewFileScope, ua as ExtensionWorkspace, uc as HarnessMessagesInput, ui as CommandStartedEvent, ul as SettingsPanelContribution, un as defineFileIconTheme, uo as NavigationOwnerRef, ur as SessionLifecyclePayload, us as ActionsControl, uu as WebviewNavigationOpenParams, va as ExtensionConnectionContribution, vc as HarnessReattachInput, vd as ExtensionViewsApi, vf as TerminalSessionRequest, vi as NavigationTargetItem, vl as WhenExpression, vn as defineResourceHierarchyProvider, vo as PlacementTabMenuGroup, vr as sessionSlots, vs as ControlValue, vt as projectPrefix, vu as RendererContributionBase, wa as MiddlewareDefinition, wc as HarnessSteeringInput, wd as BoardViews, wf as Struct, wi as FileRendererResourceRef, wl as KanbanRendererColumnAction, wn as defineStatusBarItem, wo as ViewContribution, wr as resolveDataTableFieldKind, ws as ParamEditorReadOnlyImage, wt as WebviewSettingsClient, wu as ListParam, xa as ExtensionSourceKind, xc as HarnessResumeInput, xd as BoardView, xf as JsonPrimitive, xi as FileRendererContribution, xl as KanbanRendererAttributeDisplay, xn as defineSettingsPanel, xo as PlacementTabSnapshot, xr as workspaceSlots, xs as MarkdownControl, xt as WebviewClient, xu as FilesParam, ya as ExtensionDefinition, yc as HarnessRecoveryInput, yi as NavigationTargetPage, yl as CollectionBadgeItem, yn as defineResourceKind, yo as PlacementTabMenuRow, yr as viewDataEvents, ys as ControlValueMap, yt as matchesResourceWhen, yu as RendererEventReference, za as StatusActionDefinition, zc as TextPart, zd as ListNotificationsQuery, zf as ViewRef, zi as ExtensionBlobRef, zl as KanbanRendererViewSettings, zn as CommandResponse, zo as TreeSectionEmptyState, zr as RegionSize, zs as ResourceBinding, zt as commandEvent, zu as TemplateParam } from "./index-DKb6w-4h.js";
2
+ export { ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES, type ActionOption, type ActionsControl, type ActivityItemContribution, type AgentCapability, type AgentModel, type AnchorGridControl, type AnchorGridValue, type ApprovalRequest, type ApprovalResponse, type ArtifactFile, type ArtifactMount, type ArtifactMountContribution, type ArtifactMountKey, type AssetContributions, type AutomationRun, type AutomationRunStatus, type BaseControl, type BehaviourContributions, type BoardView, type BoardViewCreate, type BoardViewUpdate, type BoardViews, type BooleanControl, type BooleanParam, type CliContribution, type CollectionBadgeItem, type ColorControl, type CommandCompletedEvent, type CommandContext, type CommandContinue, type CommandDefinition, type CommandDiagnostic, type CommandFailedEvent, type CommandHelpersApi, type CommandInvocation, type CommandLifecycleEventPayload, type CommandLifecyclePhase, type CommandMiddlewareContext, type CommandMiddlewareHandler, type CommandMiddlewareResult, type CommandNotice, type CommandOutcome, type CommandPaletteContribution, type CommandPaletteResourceContribution, type CommandPaletteResourceItem, type CommandPaletteResourceQueryParams, type CommandPaletteResourceQueryResult, type CommandPaletteResourceTarget, type CommandPatchParams, type CommandRef, type CommandReject, type CommandRejectedEvent, type CommandReplaceInvocation, type CommandReplaceParams, type CommandRequestedEvent, type CommandResponse, type CommandRunHandler, type CommandSource, type CommandStartedEvent, type CommandStream, type CommandStreamDeclaration, type CommandStreamOptions, type CommandStreamWriter, type CommandTarget, type CommitPayload, type ConflictPayload, type ConnectionRef, type ContributionDefinition, type ContributionInput, type ContributionKind, type ContributionRef, type ControlGroup, type ControlParam, type ControlValue, type ControlValueMap, type ControlsApplyInput, type ControlsQueryParams, type ControlsQueryResult, type ControlsRendererContribution, type ControlsResetInput, type ControlsResourceRef, type ControlsUpdateValueInput, type ControlsViewBody, type CreateExtensionWorkspaceInput, type CreateNotificationInput, type CreateWorkspaceCommandParams, DEFAULT_DATA_TABLE_SETTINGS, type DataTableRendererColumn, type DataTableRendererColumnRenderer, type DataTableRendererColumnStat, type DataTableRendererContribution, type DataTableRendererQueryParams, type DataTableRendererQueryResult, type DataTableRendererResourceRef, type DataTableRendererRow, type DataTableRendererRowAction, type DataTableRendererRowActivationHandler, type DataTableRendererSavedView, type DataTableRendererSelectionAction, type DataTableRendererSettings, type DataTableRendererThemeColor, type DataTableViewBody, type DateControl, type DockedWorkbenchRegion, EXTENSION_API_VERSION, EXTENSION_EVENTS_SCOPE, type ErrorPart, type EventContext, type EventDeliveryResult, type EventRef, type ExtensionActivityApi, type ExtensionArtifactApi, type ExtensionAutomationApi, type ExtensionBlobInput, type ExtensionBlobRef, type ExtensionBlobsApi, type ExtensionConnectionContribution, type ExtensionConnectionMethod, type ExtensionConnectionRequest, type ExtensionConnectionResponse, type ExtensionConnectionStreamEvent, type ExtensionConnectionsApi, type ExtensionContextBase, type ExtensionDefinition, type ExtensionEventsApi, type ExtensionFilesApi, type ExtensionHarnessInput, type ExtensionLoadScope, type ExtensionLoggerApi, type ExtensionNetApi, type ExtensionNotifyApi, type ExtensionPackageFilesApi, type ExtensionPanelRegion, type ExtensionProcessApi, type ExtensionProjectContext, type ExtensionResourcesApi, type ExtensionSessionResource, type ExtensionSessionsApi, type ExtensionSettingProperty, type ExtensionSettingScope, type ExtensionSettingValueForType, type ExtensionSettingValueType, type ExtensionSettingsApi, type ExtensionSettingsContribution, type ExtensionSkillsApi, type ExtensionSourceKind, type ExtensionStorageApi, type ExtensionStorageCollectionApi, type ExtensionTerminalApi, type ExtensionViewModule, type ExtensionViewRender, type ExtensionViewRenderContext, type ExtensionViewsApi, type ExtensionWorkspace, type ExtensionWorkspaceProvider, type ExtensionWorkspacesApi, type FileIconThemeContribution, type FilePart, type FileRendererContribution, type FileRendererLoadParams, type FileRendererLoadResult, type FileRendererResourceRef, type FileRendererSaveParams, type FileRendererSectionAnchor, type FileRendererSectionTarget, type FileSourcePosition, type FileViewBody, type FilesParam, type GuestHost, type HarnessApprovalChannel, type HarnessAttachment, type HarnessCommandContext, type HarnessCommandDiscoveryContext, type HarnessCommandState, type HarnessContext, type HarnessDetectionResult, type HarnessEventSink, type HarnessExit, type HarnessExitStatus, type HarnessMessagesInput, type HarnessOperation, type HarnessOperationResult, type HarnessParam, type HarnessParamDescriptor, type HarnessParamValue, type HarnessParams, type HarnessParamsSchema, type HarnessProvider, type HarnessQuestion, type HarnessQuestionChannel, type HarnessQuestionOption, type HarnessQuestionReplyError, type HarnessQuestionRequest, type HarnessReattachInput, type HarnessRecoveryInput, type HarnessRecoveryResult, type HarnessResumeInput, type HarnessSession, type HarnessSkillsLayout, type HarnessStartInput, type HarnessStateApi, type HarnessSteeringInput, type HarnessSteeringResult, HistoryConflict, type HistoryProjection, type HistoryRecoveryInput, type HistoryRecoveryResult, type HookDefinition, type JsonObject, type JsonParam, type JsonPatch, type JsonPrimitive, type JsonValue, type KanbanRendererAttributeDescriptor, type KanbanRendererAttributeDisplay, type KanbanRendererAttributeType, type KanbanRendererBoardColumnConfig, type KanbanRendererColumnAction, type KanbanRendererContribution, type KanbanRendererCreateRowContribution, type KanbanRendererEnumOption, type KanbanRendererFilterState, type KanbanRendererQueryParams, type KanbanRendererQueryResult, type KanbanRendererResourceRef, type KanbanRendererRow, type KanbanRendererRowAction, type KanbanRendererRowActivationHandler, type KanbanRendererSavedView, type KanbanRendererSettings, type KanbanRendererSortDirection, type KanbanRendererViewMode, type KanbanRendererViewSettings, type KanbanViewBody, type KeybindingChord, type KeybindingContribution, type ListNotificationsQuery, type ListNotificationsResponse, type ListParam, type LoadingPart, type LocalExtensionSource, type Localizable, type LocalizedString, type LongTextParam, type MarkdownControl, type MarkdownParam, type MaybePromise, type MenuContribution, type MergePayload, type MiddlewareDefinition, type MigrationContext, type ModeContribution, type ModeRef, type ModeRegionSettings, type MultiSelectParam, type NavigationItemContribution, type NavigationOwnerRef, type NavigationTarget, type NavigationTargetCommand, type NavigationTargetCompound, type NavigationTargetHref, type NavigationTargetItem, type NavigationTargetPage, type NavigationTargetPanel, type NavigationTreeContribution, type NavigationTreeSlot, type Notification, type NotificationAction, type NotificationActorType, type NotificationKind, type NotificationOrigin, type NotificationPriority, type NotificationStatus, type NumberControl, type NumberParam, type PackageAssetDescriptor, type PackageManifest, type PageContribution, type PageDocumentDeclaration, type PageLocation, type PageMain, type PageMainPanels, type PageMainView, type PageOpenIntent, type PageRef, type PageSlot, type PageSlotCardinality, type PageSlotRef, type PageSlotRegion, type PageSlotRole, type PageUrlDefinition, type PanelRef, type ParamDescriptor, type ParamEditorReadOnlyContent, type ParamEditorReadOnlyImage, type ParamObjectSchema, type ParamOption, type ParamOptionSource, type ParamType, type ParamValue, type ParamValueRef, type ParamsOf, type ParsedWorkbenchPageUrl, type PatchPart, type PlacementContribution, type PlacementIdentity, type PlacementItem, type PlacementMountStrategy, type PlacementOwner, type PlacementPresence, type PlacementPresentation, type PlacementRef, type PlacementTabMenuGroup, type PlacementTabMenuRow, type PlacementTabPresentation, type PlacementTabSnapshot, type PreparedHarnessOperation, type ProcessRunInput, type ProcessRunResult, type PropsStore, type ProviderContributions, type QualifiedRef, type QuestionResponse, type RangeControl, type RangeValue, type ReadOnlyControl, type ReasoningPart, type RebasePayload, type RegionSize, type RendererCallback, type RendererContext, type RendererContributionBase, type RendererEventReference, type RendererInvocationContext, type ResourceAnchor, type ResourceAnchorChangeEvent, type ResourceAnchorPage, type ResourceAnchorQuery, type ResourceAnchorValidationInput, type ResourceAnchorValidationResult, type ResourceBinding, type ResourceConstraint, type ResourceControl, type ResourceHierarchyProvider, type ResourceKindDefinition, type ResourceKindRef, type ResourceMenuSlotDefinition, type ResourceOption, type ResourceParam, type ResourceRef, type ResourceRefValue, type ResourceRemovedEvent, type ResourceResolution, type ResourceRole, type RetryableHarnessReattachError, SDK_VERSION, type ScheduleContribution, type ScheduleExpression, type SegmentedControl, type SegmentedOption, type SelectParam, type SelectionControl, type SelectionGroup, type SelectionOption, type SerializedError, type SessionLifecyclePayload, type SessionMessage, type SessionMessagePart, type SessionMessageRole, type SettingsPanelContribution, type SettingsSectionContribution, type SettingsSectionRef, type SettingsSlotRef, type SetupContext, type SkillContribution, type SlotInvocationContext, type SlotOptions, type SlotRef, type StatusActionDefinition, type StatusBarItemContribution, type StatusBarSlotRef, type StatusContribution, type StatusRef, type StepFinishPart, type StepStartPart, type StorageScope, type Struct, type TemplateContribution, type TemplateParam, type TemplateTypeContribution, type TerminalEvent, type TerminalSessionAdapter, type TerminalSessionBridge, type TerminalSessionExit, type TerminalSessionHandle, type TerminalSessionRequest, type TextControl, type TextParam, type TextPart, type ThemeContribution, type ThemeMode, type ThemeRef, type TimeoutStrategy, type TokenUsagePart, type ToolPart, type ToolPartActionType, type ToolPartStatus, type TreeAction, type TreeNode, type TreeNodeRowVariant, type TreeNodeTarget, type TreeRendererActionParams, type TreeRendererChildrenParams, type TreeRendererCommandResult, type TreeRendererContribution, type TreeRendererMoveParams, type TreeRendererQueryParams, type TreeRendererResourceRef, type TreeRendererState, type TreeSectionEmptyState, type TreeViewBody, type TreeViewSection, type UiContributions, type UiSlotKind, type UpdateNotificationInput, VIEW_FILTER_CONDITIONS, type VectorControl, type VectorValue, type ViewBody, type ViewContribution, type ViewFieldKind, type ViewFilterCondition, type ViewFilterGroup, type ViewFilterRule, type ViewHierarchyParent, type ViewMenuContribution, type ViewRef, type ViewSort, type ViewSortDirection, type ViewToolbarAction, WEBVIEW_DECLARABLE_CAPABILITIES, WEBVIEW_HOST_CAPABILITIES, WEBVIEW_HOST_CAPABILITY_VERSION, WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES, type WebviewArtifactFile, type WebviewArtifactsClient, type WebviewArtifactsReadParams, type WebviewCapabilityDeclaration, type WebviewClient, type WebviewClientOptions, type WebviewCommandStreamEvent, type WebviewCommandsClient, type WebviewCommandsExecuteParams, type WebviewCommandsStreamParams, type WebviewContribution, type WebviewDeclarableCapability, type WebviewEventsClient, type WebviewExtensionEvent, type WebviewExtensionSettingKeyParams, type WebviewExtensionSettingSetParams, type WebviewFileScope, type WebviewFilesClient, type WebviewFilesDeleteParams, type WebviewFilesListParams, type WebviewFilesUploadParams, type WebviewHostCapability, type WebviewHostCapabilityParams, type WebviewHostCapabilityResult, type WebviewHostCapabilityResults, type WebviewKeyboardEventParams, type WebviewNavigationOpenParams, type WebviewNotificationActionParams, type WebviewNotificationDismissParams, type WebviewNotificationResolveParams, type WebviewNotificationShowParams, type WebviewPreferencesGetParams, type WebviewPreferencesSetParams, type WebviewScopedDeclarableCapability, type WebviewSettingsClient, type WebviewStreamsClient, type WebviewViewBody, type WhenExpression, type WorkbenchAttachmentInvocationContext, type WorkflowStatus, type WorkspaceCapabilities, type WorkspaceExecutionTarget, type WorkspaceFilesMount, type WorkspaceParam, type WorkspaceProviderCreateInput, type WorkspaceProviderMutationInput, type WorkspaceProviderRef, type WorkspaceProviderResolveInput, type WorkspaceProviderResult, type WorkspaceProviderState, type WorkspaceProvisionPayload, type WorkspaceSyncFile, type WorkspaceType, type WorkspaceTypeProvider, type WorktreeRemovedPayload, artifactMountId, artifactsRead, commandEvent, commandRef, commandRefId, contributionRefId, createTerminalSessionBridge, createWebviewClient, defaultPageResourceCodec, defineActivityItem, defineArtifactMount, defineCommand, defineCommandPaletteResource, defineConnection, defineExtension, defineExtensionView, defineFileIconTheme, defineHarness, defineHook, defineKeybinding, defineMiddleware, defineMode, defineNavigationItem, defineNavigationTree, definePage, definePlacement, defineResourceHierarchyProvider, defineResourceKind, defineSchedule, defineSettingsPanel, defineSettingsSection, defineSkill, defineSlot, defineStatusBarItem, defineStatuses, defineTemplate, defineTemplateType, defineTheme, defineView, defineViewMenu, defineWorkspaceType, dockedWorkbenchRegions, eventRef, extensionPanelRegions, gitEvents, historyMessageKey, historyValueKey, isFileSourcePosition, isLocalizedString, isNavigationTarget, isValidLocalContributionId, isWorkbenchProjectUrl, l10n, localContributionIdGrammar, localContributionIdPattern, matchesResourceWhen, mergeHistoryMetadata, mergeOrderedHistory, normalizeBooleanViewRule, packageAsset, params, type parseExtensionApiDeclaration, parsePageUrl, parseWorkbenchPageUrl, projectEvents, projectPrefix, projectSlots, qualifyNavigationTarget, qualifyRef, reconcileMessageHistory, resolveDataTableComparableValue, resolveDataTableFieldKind, resolveEventReferenceId, resourceKey, resourceMenuSlotRef, serializePageUrl, serializeWorkbenchPageUrl, sessionEvents, sessionSlots, splitHistoryTurns, streamOf, submittedPrompt, type supportsExtensionApiVersion, unwrapCommandOutcome, viewDataEvents, workbenchModeDefinitions, workbenchModes, workbenchPageDefinitions, workbenchPages, workbenchPanelDefinitions, workbenchPanels, workbenchResourceKindDefinitions, workbenchResourceKinds, workbenchSlots, workspaceEvents, workspaceSlots, worktreeEvents };
3
3
  export {};
package/dist/hooks.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { cd as Session, nd as FollowUpInput } from "./index-BvsVU-eX.js";
2
- import "./sessions-BtOnRpZy.js";
3
- import { t as Workspace } from "./index-CJNVNXEP.js";
4
- import { t as PstdioClient } from "./index-B8kqMxoR.js";
1
+ import { Qu as FollowUpInput, id as Session } from "./index-DKb6w-4h.js";
2
+ import "./sessions-D3MhZWKe.js";
3
+ import { t as Workspace } from "./index-CBZam0c-.js";
4
+ import { t as PstdioClient } from "./index-COPyc9eO.js";
5
5
  //#region src/hooks/base.d.ts
6
6
  type SessionFollowupInput = Omit<FollowUpInput, "template" | "vars">;
7
7
  type HookSessionClient = {
@@ -1,4 +1,4 @@
1
- import { d as WorkspaceListItem$1, s as Workspace$1 } from "./index-BvsVU-eX.js";
1
+ import { d as WorkspaceListItem$1, s as Workspace$1 } from "./index-DKb6w-4h.js";
2
2
  //#region src/resources/workspace.d.ts
3
3
  type Workspace = Workspace$1;
4
4
  type WorkspaceListItem = WorkspaceListItem$1;
@@ -1,6 +1,6 @@
1
- import { $ as ListExtensionCommandsResponse, $u as ApprovalInput, A as EnableInstalledExtensionRequest, Ad as ResourceAnchor, B as ConfigureExtensionConnectionInput, Ff as ListActivityResponse, H as ListExtensionConnectionsResponse, I as UpgradeProjectExtensionResponse, Id as ResourceRef, If as ListProjectActivityInput, L as CommandExecuteRequest, Md as ResourceAnchorPage, Mf as AgentModel, N as ListProjectExtensionsResponse, Nd as ResourceAnchorQuery, Q as ListExtensionAppearanceResponse, Qu as UpdateSkillInput, R as CommandExecuteResponse, Td as UpdateNotificationInput, V as ExtensionConnectionRecord, Xs as HarnessCommandState, Yu as Skill, Zs as HarnessOperation, Zu as SkillWithContent, _ as CreateProjectInput, _d as ListNotificationsResponse, _t as IssueAutomationTokenResponse, a as RemoveWorktreeResponse, ad as ListSessionActivityResponse, c as WorkspaceFileContent, cd as Session, ct as BoardViewUpdate, dd as SessionConversationResponse, ed as CreateSessionInput, f as WorkspaceProviderDescriptor, fd as SessionConversationSources, gd as ListNotificationsQuery, gt as IssueAutomationTokenInput, h as UpdateSettingsInput, hd as CreateNotificationInput, ht as CreateAutomationRunInput, i as ListWorkspaceFilesInput, id as ListSessionActivityInput, j as EnableInstalledExtensionResponse, jf as AgentInfo, l as WorkspaceFileEntry, ld as SessionAttachment, m as Settings, n as ListWorkspaceActivityInput, nd as FollowUpInput, o as RenameWorkspaceInput, od as ResolveSessionIdInput, p as WriteWorkspaceFileInput, pd as SessionQueuedMessagesResponse, qs as DraftHarnessCommandInput, r as ListWorkspaceActivityResponse, rd as FollowUpResponse, sd as ResolveSessionIdResponse, st as BoardViewCreate, t as CreateWorkspaceInput, td as CreateSessionResponse, u as WorkspaceFilesResponse, ut as AutomationRun, v as Project, vd as Notification, vt as ListAutomationRunEventsResponse, wd as NotificationStatus, y as UpdateProjectInput, yt as ListAutomationTokensResponse, z as DispatchExtensionEventInput } from "./index-BvsVU-eX.js";
2
- import "./skills-BtOnRpZy.js";
3
- import { n as WorkspaceListItem, t as Workspace } from "./index-CJNVNXEP.js";
1
+ import { $d as ResourceAnchor, $s as HarnessOperation, $u as FollowUpResponse, A as InstallExtensionRequest, B as UpgradeProjectExtensionResponse, Bd as ListNotificationsResponse, Cd as BoardViewUpdate, F as EnableInstalledExtensionResponse, G as ExtensionConnectionRecord, H as CommandExecuteResponse, Id as SkillWithContent, Jd as UpdateNotificationInput, K as ListExtensionConnectionsResponse, L as ListProjectExtensionsResponse, Ld as UpdateSkillInput, P as EnableInstalledExtensionRequest, Pd as Skill, Qs as HarnessCommandState, Qu as FollowUpInput, Rd as CreateNotificationInput, Sd as BoardViewCreate, Sf as JsonValue, U as DispatchExtensionEventInput, V as CommandExecuteRequest, Vd as Notification, W as ConfigureExtensionConnectionInput, Xu as CreateSessionInput, Ys as DraftHarnessCommandInput, Yu as ApprovalInput, Zu as CreateSessionResponse, _ as CreateProjectInput, _d as UpdateQueuedFollowUpInput, _t as ListAutomationTokensResponse, a as RemoveWorktreeResponse, ad as SessionAttachment, af as ResourceRef, ap as ListActivityResponse, c as WorkspaceFileContent, cd as SessionConversationSources, ct as AutomationRun, dd as CombineQueuedFollowUpsInput, ed as ListSessionActivityInput, f as WorkspaceProviderDescriptor, fd as PendingQueuedFollowUpsResponse, gd as SteerQueuedFollowUpInput, gt as ListAutomationRunEventsResponse, h as UpdateSettingsInput, hd as QueuedSteeringResult, ht as IssueAutomationTokenResponse, i as ListWorkspaceFilesInput, id as Session, j as InstallExtensionResponse, k as ExtensionDiagnosticsResponse, l as WorkspaceFileEntry, ld as SessionQueuedMessagesResponse, m as Settings, md as QueuedFollowUpUpdateResponse, mt as IssueAutomationTokenInput, n as ListWorkspaceActivityInput, nd as ResolveSessionIdInput, nf as ResourceAnchorQuery, np as AgentModel, nt as ListExtensionAppearanceResponse, o as RenameWorkspaceInput, op as ListProjectActivityInput, p as WriteWorkspaceFileInput, pt as CreateAutomationRunInput, qd as NotificationStatus, r as ListWorkspaceActivityResponse, rd as ResolveSessionIdResponse, rt as ListExtensionCommandsResponse, sd as SessionConversationResponse, t as CreateWorkspaceInput, td as ListSessionActivityResponse, tf as ResourceAnchorPage, tp as AgentInfo, u as WorkspaceFilesResponse, v as Project, y as UpdateProjectInput, zd as ListNotificationsQuery } from "./index-DKb6w-4h.js";
2
+ import "./skills-D3MhZWKe.js";
3
+ import { n as WorkspaceListItem, t as Workspace } from "./index-CBZam0c-.js";
4
4
  //#region src/client/request.d.ts
5
5
  type ClientOptions = {
6
6
  baseUrl?: string;
@@ -8,8 +8,9 @@ type ClientOptions = {
8
8
  fetch?: typeof fetch;
9
9
  };
10
10
  declare class PstdioApiError extends Error {
11
+ readonly code?: string | undefined;
11
12
  status: number;
12
- constructor(message: string, status: number);
13
+ constructor(message: string, status: number, code?: string | undefined);
13
14
  }
14
15
  declare class PstdioConnectionError extends Error {
15
16
  constructor(cause: unknown);
@@ -375,8 +376,28 @@ declare const createBoardViewsClient: (request: RequestFn) => {
375
376
  };
376
377
  type BoardViewsClient = ReturnType<typeof createBoardViewsClient>;
377
378
  //#endregion
379
+ //#region src/client/extension-stream.d.ts
380
+ type CommandStreamClientEvent = {
381
+ type: "data";
382
+ data: JsonValue;
383
+ } | {
384
+ type: "end";
385
+ response: CommandExecuteResponse;
386
+ };
387
+ //#endregion
378
388
  //#region src/client/extensions.d.ts
379
389
  type ExtensionClient = {
390
+ install(projectId: string, input: InstallExtensionRequest | {
391
+ upload: FormData;
392
+ }, options?: {
393
+ signal?: AbortSignal;
394
+ }): Promise<InstallExtensionResponse>;
395
+ diagnostics(projectId: string, options?: {
396
+ scope?: "user" | "repo";
397
+ }): Promise<ExtensionDiagnosticsResponse>;
398
+ stream(commandId: string, input: CommandExecuteRequest, options?: {
399
+ signal?: AbortSignal;
400
+ }): AsyncIterable<CommandStreamClientEvent>;
380
401
  enableInstalled(projectId: string, installName: string, request: EnableInstalledExtensionRequest): Promise<EnableInstalledExtensionResponse>;
381
402
  listAppearance(projectId: string): Promise<ListExtensionAppearanceResponse>;
382
403
  listCommands(projectId: string): Promise<ListExtensionCommandsResponse>;
@@ -501,6 +522,10 @@ type SessionClient = {
501
522
  getQueuedMessages(sessionId: string, options?: {
502
523
  signal?: AbortSignal;
503
524
  }): Promise<SessionQueuedMessagesResponse>;
525
+ steerQueuedFollowUp(sessionId: string, queuePosition: number, input: SteerQueuedFollowUpInput): Promise<QueuedSteeringResult>;
526
+ getQueuedFollowUps(sessionId: string): Promise<PendingQueuedFollowUpsResponse>;
527
+ updateQueuedFollowUp(sessionId: string, queuePosition: number, input: UpdateQueuedFollowUpInput): Promise<QueuedFollowUpUpdateResponse>;
528
+ combineQueuedFollowUps(sessionId: string, queuePosition: number, input: CombineQueuedFollowUpsInput): Promise<QueuedFollowUpUpdateResponse>;
504
529
  resolveSessionId(input: ResolveSessionIdInput): Promise<ResolveSessionIdResponse>;
505
530
  updateStatus(sessionId: string, status: string): Promise<Session>;
506
531
  rename(sessionId: string, title: string): Promise<Session>;
@@ -615,5 +640,5 @@ type PstdioClient = {
615
640
  };
616
641
  declare const createClient: (options?: ClientOptions) => PstdioClient;
617
642
  //#endregion
618
- export { ClientOptions as A, NotificationsClient as C, BoardViewsClient as D, ExtensionClient as E, createRequest as F, PstdioConnectionError as M, RequestFn as N, AutomationClient as O, RequestOptions as P, ProjectClient as S, FilesystemClient as T, SessionStreamHandlers as _, SyncClient as a, createRuntimeClient as b, SyncWriter as c, parseSyncDeleteEvent as d, SkillClient as f, SessionStreamConnection as g, SessionClient as h, StartSyncInput as i, PstdioApiError as j, AgentClient as k, SyncWriterProvider as l, ListSessionsInput as m, createClient as n, SyncConnection as o, SettingsClient as p, WorkspaceClient as r, SyncRow as s, PstdioClient as t, applySyncEvent as u, SseEvent as v, DirectoryEntry as w, ResourceAnchorsClient as x, RuntimeClient as y };
643
+ export { AgentClient as A, NotificationsClient as C, CommandStreamClientEvent as D, ExtensionClient as E, RequestOptions as F, createRequest as I, PstdioApiError as M, PstdioConnectionError as N, BoardViewsClient as O, RequestFn as P, ProjectClient as S, FilesystemClient as T, SessionStreamHandlers as _, SyncClient as a, createRuntimeClient as b, SyncWriter as c, parseSyncDeleteEvent as d, SkillClient as f, SessionStreamConnection as g, SessionClient as h, StartSyncInput as i, ClientOptions as j, AutomationClient as k, SyncWriterProvider as l, ListSessionsInput as m, createClient as n, SyncConnection as o, SettingsClient as p, WorkspaceClient as r, SyncRow as s, PstdioClient as t, applySyncEvent as u, SseEvent as v, DirectoryEntry as w, ResourceAnchorsClient as x, RuntimeClient as y };
619
644
  export {};