@pstdio/sdk 0.42.0 → 0.43.0-nightly.20261011212112

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api/index.js CHANGED
@@ -6255,6 +6255,15 @@ var listActivityResponseSchema = object({
6255
6255
  events: array(activityEventSchema),
6256
6256
  next_cursor: string2().nullable()
6257
6257
  });
6258
+ // ../pstdio-api-contracts/src/harness.ts
6259
+ var AGENT_CAPABILITIES = [
6260
+ "SessionFork",
6261
+ "ContextUsage",
6262
+ "Approvals",
6263
+ "SessionReattach",
6264
+ "Attachments"
6265
+ ];
6266
+
6258
6267
  // ../pstdio-api-contracts/src/agents.ts
6259
6268
  var agentAvailabilityTypeSchema = _enum(["INSTALLED", "NOT_FOUND"]);
6260
6269
  var agentSkillsLayoutSchema = object({
@@ -6289,7 +6298,9 @@ var agentInfoSchema = object({
6289
6298
  reason: string2().optional()
6290
6299
  }),
6291
6300
  skills: agentSkillsLayoutSchema.optional(),
6292
- params: harnessParamsSchema.optional()
6301
+ params: harnessParamsSchema.optional(),
6302
+ capabilities: array(_enum(AGENT_CAPABILITIES)),
6303
+ supportsModels: boolean2()
6293
6304
  });
6294
6305
  var agentModelSchema = object({
6295
6306
  id: string2(),
@@ -6418,7 +6429,8 @@ var extensionArtifactMountSchema = object({
6418
6429
  extensionId: string2(),
6419
6430
  relativePath: string2(),
6420
6431
  fullPath: string2(),
6421
- label: localizableStringSchema
6432
+ label: localizableStringSchema,
6433
+ watch: boolean2()
6422
6434
  });
6423
6435
  // ../pstdio-api-contracts/src/extension-kernel/workbench-targets.ts
6424
6436
  var workbenchMenuTargets = ["workbench.nav.actions", "workbench.nav.overflow"];
@@ -6779,6 +6791,11 @@ var base = { id: string2(), name: string2(), description: string2().optional(),
6779
6791
  var numeric = { min: number2().optional(), max: number2().optional(), step: number2().optional() };
6780
6792
  var vector = strictObject({ x: number2(), y: number2() });
6781
6793
  var range = tuple([number2(), number2()]);
6794
+ var harness = strictObject({
6795
+ harnessId: string2().min(1),
6796
+ model: string2().optional(),
6797
+ params: record(string2(), union([string2(), boolean2()])).optional()
6798
+ });
6782
6799
  var selectionValue = union([string2(), array(string2())]);
6783
6800
  var selectionOption = strictObject({
6784
6801
  id: string2(),
@@ -6803,9 +6820,10 @@ var readOnlyContent = union([
6803
6820
  image.extend({ type: literal("image") }),
6804
6821
  strictObject({ type: literal("image-gallery"), images: array(image) })
6805
6822
  ]);
6806
- var controlValueSchema = union([primitive, array(string2()), range, vector]);
6823
+ var controlValueSchema = union([primitive, array(string2()), range, vector, harness]);
6807
6824
  var controlValuesSchema = record(string2(), controlValueSchema);
6808
6825
  var controlParamSchema = discriminatedUnion("type", [
6826
+ strictObject({ ...base, type: literal("harness"), defaultValue: harness }),
6809
6827
  strictObject({ ...base, ...numeric, type: literal("number"), defaultValue: number2() }),
6810
6828
  strictObject({ ...base, type: literal("boolean"), defaultValue: boolean2() }),
6811
6829
  strictObject({ ...base, type: literal("text"), defaultValue: string2(), singleLine: boolean2().optional() }),
@@ -8244,7 +8262,7 @@ var packageAsset = (path, baseUrl) => ({
8244
8262
  baseUrl
8245
8263
  });
8246
8264
  // ../pstdio-api-contracts/src/extension-kernel/types/extension.ts
8247
- var EXTENSION_API_VERSION = "0.1.2";
8265
+ var EXTENSION_API_VERSION = "0.1.3";
8248
8266
  // ../pstdio-api-contracts/src/extension-kernel/types/webview-capabilities.ts
8249
8267
  var WEBVIEW_HOST_CAPABILITY_VERSION = 1;
8250
8268
  var WEBVIEW_DECLARABLE_CAPABILITIES = [
@@ -8842,6 +8860,12 @@ var sessionStatusSchema = _enum([
8842
8860
  "cancelled",
8843
8861
  "disconnected"
8844
8862
  ]);
8863
+ var sessionUsageSchema = object({
8864
+ input_tokens: number2(),
8865
+ output_tokens: number2(),
8866
+ cache_read_tokens: number2(),
8867
+ cache_write_tokens: number2()
8868
+ });
8845
8869
  var sessionSchema = object({
8846
8870
  id: string2(),
8847
8871
  project_id: string2().nullable(),
@@ -8857,6 +8881,8 @@ var sessionSchema = object({
8857
8881
  original_session_id: string2().nullable(),
8858
8882
  cwd: string2().nullable(),
8859
8883
  params_json: harnessParamsInputSchema.nullable(),
8884
+ usage_json: sessionUsageSchema.nullable().optional(),
8885
+ workspace_id: string2().nullable().optional(),
8860
8886
  anchors_json: array(extensionResourceRefSchema),
8861
8887
  created_at: string2(),
8862
8888
  updated_at: string2()
@@ -8877,7 +8903,7 @@ var sessionAttachmentSchema = object({
8877
8903
  var createSessionInputSchema = object({
8878
8904
  project_id: string2().min(1),
8879
8905
  title: string2().min(1),
8880
- prompt: string2().min(1).optional(),
8906
+ prompt: string2().optional(),
8881
8907
  operation: harnessOperationSchema.optional(),
8882
8908
  agent: string2().min(1).optional(),
8883
8909
  workspace_id: string2().optional(),
package/dist/api.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { $ as WorkbenchExtensionAutomationRecord, A as InstallExtensionRequest, B as UpgradeProjectExtensionResponse, Bd as ListNotificationsResponse, C as ExtensionSettingsPanelRecord, Cd as BoardViewUpdate, D as ExtensionCommandPaletteResourceRecord, E as ExtensionKeybindingRecord, G as ExtensionConnectionRecord, Gd as NotificationOrigin, H as CommandExecuteResponse, Hd as NotificationAction, I as InstallMarketplaceExtensionResponse, J as ExtensionRecord, Jd as UpdateNotificationInput, K as ListExtensionConnectionsResponse, Kd as NotificationPriority, L as ListProjectExtensionsResponse, Ld as UpdateSkillInput, M as InstalledExtensionSource, N as AddLocalExtensionFolderResponse, O as WorkbenchExtensionCommandPaletteResourceRecord, Q as ExtensionMenuContribution, Qu as FollowUpInput, R as MarketplaceExtension, Rd as CreateNotificationInput, S as ExtensionSettingValueRecord, Sd as BoardViewCreate, T as UpdateExtensionSettingRequest, Ud as NotificationActorType, V as CommandExecuteRequest, Vd as Notification, W as ConfigureExtensionConnectionInput, Wd as NotificationKind, X as ExtensionCommandPaletteContribution, Xu as CreateSessionInput, Y as LocalizableString, Yu as ApprovalInput, Z as ExtensionCommandRecord, _ as CreateProjectInput, _d as UpdateQueuedFollowUpInput, _f as TerminalSessionOperation, _t as ListAutomationTokensResponse, a as RemoveWorktreeResponse$1, ad as SessionAttachment, af as ResourceRef, at as WorkbenchExtensionMetadata, bd as BoardSummary, c as WorkspaceFileContent$1, cd as SessionConversationSources, ct as AutomationRun, dd as CombineQueuedFollowUpsInput, dt as AutomationRunStatus, et as findViewFilterProblem, f as WorkspaceProviderDescriptor, fd as PendingQueuedFollowUpsResponse, ff as TerminalHostEvent, ft as AutomationTokenRecord, g as sessionAttachmentMimeTypesByExtension, gd as SteerQueuedFollowUpInput, gt as ListAutomationRunEventsResponse, h as UpdateSettingsInput, hd as QueuedSteeringResult, hf as TerminalSessionExit, ht as IssueAutomationTokenResponse, i as ListWorkspaceFilesInput$1, it as WorkbenchExtensionHarnessRecord, j as InstallExtensionResponse, k as ExtensionDiagnosticsResponse, l as WorkspaceFileEntry$1, ld as SessionQueuedMessagesResponse, lt as AutomationRunError, m as Settings, md as QueuedFollowUpUpdateResponse, mf as TerminalSessionError, mt as IssueAutomationTokenInput, nd as ResolveSessionIdInput, nt as ListExtensionAppearanceResponse, o as RenameWorkspaceInput$1, od as SessionAttachmentRef, ot as WorkbenchExtensionViewBody, p as WriteWorkspaceFileInput$1, pd as QueuedFollowUpRequest, pf as TerminalSessionAdapter, pt as CreateAutomationRunInput, q as ExtensionDiagnostic, qd as NotificationStatus, rd as ResolveSessionIdResponse, rt as ListExtensionCommandsResponse, sd as SessionConversationResponse, st as WorkbenchExtensionViewRecord, t as CreateWorkspaceInput$1, tt as viewFilterValueKind, u as WorkspaceFilesResponse$1, uf as TerminalBridge, ut as AutomationRunEvent, vf as TerminalSessionRequest, w as ListExtensionSettingsResponse, wd as BoardViews, x as ExtensionSettingDefinitionRecord, xd as BoardView, y as UpdateProjectInput, yd as BoardField, yf as TerminalSessionResult, z as ProjectExtensionInstance, zd as ListNotificationsQuery } from "./index-DKb6w-4h.js";
2
- import "./sessions-D3MhZWKe.js";
3
- import "./skills-D3MhZWKe.js";
1
+ import { $ as WorkbenchExtensionAutomationRecord, $d as NotificationOrigin, A as InstallExtensionRequest, Ad as BoardViewUpdate, B as UpgradeProjectExtensionResponse, C as ExtensionSettingsPanelRecord, Cd as SteerQueuedFollowUpInput, Cf as TerminalSessionExit, D as ExtensionCommandPaletteResourceRecord, Dd as BoardSummary, Df as TerminalSessionResult, E as ExtensionKeybindingRecord, Ed as BoardField, Ef as TerminalSessionRequest, G as ExtensionConnectionRecord, Gd as UpdateSkillInput, H as CommandExecuteResponse, I as InstallMarketplaceExtensionResponse, J as ExtensionRecord, Jd as ListNotificationsResponse, K as ListExtensionConnectionsResponse, Kd as CreateNotificationInput, L as ListProjectExtensionsResponse, M as InstalledExtensionSource, N as AddLocalExtensionFolderResponse, O as WorkbenchExtensionCommandPaletteResourceRecord, Od as BoardView, Q as ExtensionMenuContribution, Qd as NotificationKind, R as MarketplaceExtension, S as ExtensionSettingValueRecord, Sd as QueuedSteeringResult, Sf as TerminalSessionError, T as UpdateExtensionSettingRequest, Tf as TerminalSessionOperation, V as CommandExecuteRequest, W as ConfigureExtensionConnectionInput, X as ExtensionCommandPaletteContribution, Xd as NotificationAction, Y as LocalizableString, Yd as Notification, Z as ExtensionCommandRecord, Zd as NotificationActorType, _ as CreateProjectInput, _t as ListAutomationTokensResponse, a as RemoveWorktreeResponse$1, ad as FollowUpInput, at as WorkbenchExtensionMetadata, bd as QueuedFollowUpRequest, bf as TerminalHostEvent, c as WorkspaceFileContent$1, ct as AutomationRun, dt as AutomationRunStatus, ef as NotificationPriority, et as findViewFilterProblem, f as WorkspaceProviderDescriptor, fd as SessionAttachment, ft as AutomationTokenRecord, g as sessionAttachmentMimeTypesByExtension, gd as SessionQueuedMessagesResponse, gt as ListAutomationRunEventsResponse, h as UpdateSettingsInput, hd as SessionConversationSources, ht as IssueAutomationTokenResponse, i as ListWorkspaceFilesInput$1, it as WorkbenchExtensionHarnessRecord, j as InstallExtensionResponse, jd as BoardViews, k as ExtensionDiagnosticsResponse, kd as BoardViewCreate, l as WorkspaceFileEntry$1, ld as ResolveSessionIdInput, lt as AutomationRunError, m as Settings, md as SessionConversationResponse, mt as IssueAutomationTokenInput, nd as ApprovalInput, nf as UpdateNotificationInput, nt as ListExtensionAppearanceResponse, o as RenameWorkspaceInput$1, ot as WorkbenchExtensionViewBody, p as WriteWorkspaceFileInput$1, pd as SessionAttachmentRef, pf as ResourceRef, pt as CreateAutomationRunInput, q as ExtensionDiagnostic, qd as ListNotificationsQuery, rd as CreateSessionInput, rt as ListExtensionCommandsResponse, st as WorkbenchExtensionViewRecord, t as CreateWorkspaceInput$1, tf as NotificationStatus, tt as viewFilterValueKind, u as WorkspaceFilesResponse$1, ud as ResolveSessionIdResponse, ut as AutomationRunEvent, vd as CombineQueuedFollowUpsInput, vf as TerminalBridge, w as ListExtensionSettingsResponse, wd as UpdateQueuedFollowUpInput, x as ExtensionSettingDefinitionRecord, xd as QueuedFollowUpUpdateResponse, xf as TerminalSessionAdapter, y as UpdateProjectInput, yd as PendingQueuedFollowUpsResponse, z as ProjectExtensionInstance } from "./index-O1fonn3r.js";
2
+ import "./sessions-JpOJxxrL.js";
3
+ import "./skills-JpOJxxrL.js";
4
4
  //#region src/api/workspaces.d.ts
5
5
  type CreateWorkspaceInput = CreateWorkspaceInput$1;
6
6
  type RemoveWorktreeResponse = RemoveWorktreeResponse$1;
@@ -563,6 +563,16 @@ var buildSessionsQuery = (projectId, input = {}) => {
563
563
  params.append("workspace_id", input.workspaceId);
564
564
  if (input.archived)
565
565
  params.append("archived", "true");
566
+ if (input.createdFrom)
567
+ params.append("created_from", input.createdFrom);
568
+ if (input.createdTo)
569
+ params.append("created_to", input.createdTo);
570
+ if (input.updatedFrom)
571
+ params.append("updated_from", input.updatedFrom);
572
+ if (input.anchorType)
573
+ params.append("anchor_type", input.anchorType);
574
+ if (input.anchorId)
575
+ params.append("anchor_id", input.anchorId);
566
576
  return params.toString();
567
577
  };
568
578
  var dispatchSessionStreamEvent = (event, data, handlers) => {
package/dist/client.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { A as AgentClient, C as NotificationsClient, D as CommandStreamClientEvent, E as ExtensionClient, F as RequestOptions, I as createRequest, M as PstdioApiError, N as PstdioConnectionError, O as BoardViewsClient, P as RequestFn, S as ProjectClient, T as FilesystemClient, _ as SessionStreamHandlers, a as SyncClient, b as createRuntimeClient, c as SyncWriter, d as parseSyncDeleteEvent, f as SkillClient, g as SessionStreamConnection, h as SessionClient, i as StartSyncInput, j as ClientOptions, k as AutomationClient, l as SyncWriterProvider, m as ListSessionsInput, n as createClient, o as SyncConnection, p as SettingsClient, r as WorkspaceClient, s as SyncRow, t as PstdioClient, u as applySyncEvent, v as SseEvent, w as DirectoryEntry, x as ResourceAnchorsClient, y as RuntimeClient } from "./index-COPyc9eO.js";
1
+ import { A as AgentClient, C as NotificationsClient, D as CommandStreamClientEvent, E as ExtensionClient, F as RequestOptions, I as createRequest, M as PstdioApiError, N as PstdioConnectionError, O as BoardViewsClient, P as RequestFn, S as ProjectClient, T as FilesystemClient, _ as SessionStreamHandlers, a as SyncClient, b as createRuntimeClient, c as SyncWriter, d as parseSyncDeleteEvent, f as SkillClient, g as SessionStreamConnection, h as SessionClient, i as StartSyncInput, j as ClientOptions, k as AutomationClient, l as SyncWriterProvider, m as ListSessionsInput, n as createClient, o as SyncConnection, p as SettingsClient, r as WorkspaceClient, s as SyncRow, t as PstdioClient, u as applySyncEvent, v as SseEvent, w as DirectoryEntry, x as ResourceAnchorsClient, y as RuntimeClient } from "./index-to2cZb2i.js";
2
2
  export { type AgentClient, type AutomationClient, type BoardViewsClient, type ClientOptions, type CommandStreamClientEvent, type DirectoryEntry, type ExtensionClient, type FilesystemClient, type ListSessionsInput, type NotificationsClient, type ProjectClient, PstdioApiError, type PstdioClient, PstdioConnectionError, type RequestFn, type RequestOptions, type ResourceAnchorsClient, type RuntimeClient, type SessionClient, type SessionStreamConnection, type SessionStreamHandlers, type SettingsClient, type SkillClient, type SseEvent, type StartSyncInput, type SyncClient, type SyncConnection, type SyncRow, type SyncWriter, type SyncWriterProvider, type WorkspaceClient, applySyncEvent, createClient, createRequest, createRuntimeClient, parseSyncDeleteEvent };
3
3
  export {};
package/dist/data.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ki as ArtifactMount } from "./index-DKb6w-4h.js";
1
+ import { Ai as ArtifactMount } from "./index-O1fonn3r.js";
2
2
  //#region src/data/draft-layout.d.ts
3
3
  export declare const assertSafePathSegment: (value: string) => void;
4
4
  export declare const requireRepoFiles: (projectFiles: ArtifactMount | undefined) => ArtifactMount;
@@ -354,7 +354,7 @@ var DEFAULT_DATA_TABLE_SETTINGS = {
354
354
  columnOrder: []
355
355
  };
356
356
  // ../pstdio-api-contracts/src/extension-kernel/types/extension.ts
357
- var EXTENSION_API_VERSION = "0.1.2";
357
+ var EXTENSION_API_VERSION = "0.1.3";
358
358
  // ../pstdio-api-contracts/src/extension-kernel/types/webview-capabilities.ts
359
359
  var WEBVIEW_HOST_CAPABILITY_VERSION = 1;
360
360
  var WEBVIEW_DECLARABLE_CAPABILITIES = [
@@ -608,7 +608,7 @@ var reconcileMessageHistory = (input, projection = {}) => {
608
608
  }
609
609
  };
610
610
  // package.json
611
- var version = "0.42.0";
611
+ var version = "0.43.0-nightly.20261011212112";
612
612
 
613
613
  // src/version.ts
614
614
  var SDK_VERSION = version;
@@ -758,6 +758,9 @@ var resolveEventReferenceId = (ref, ownerExtensionId) => {
758
758
  const lifecycle = /^(command\.(?:requested|started|completed|rejected|failed):)(.+)$/.exec(ref.id);
759
759
  if (lifecycle)
760
760
  return `${lifecycle[1]}${extensionId}.command.${lifecycle[2]}`;
761
+ const artifact = /^artifact\.changed:(.+)$/.exec(ref.id);
762
+ if (artifact)
763
+ return `artifact.changed:${extensionId}.artifact.${artifact[1]}`;
761
764
  return `${extensionId}.event.${ref.id}`;
762
765
  };
763
766
  // src/extensions/page-resource-codec.ts
@@ -1001,6 +1004,11 @@ var commandEvent = (command, phase) => ({
1001
1004
  kind: "event",
1002
1005
  id: `command.${phase}:${command.id}`
1003
1006
  });
1007
+ var artifactChanged = (mount) => ({
1008
+ ...mount.extensionId ? { extensionId: mount.extensionId } : {},
1009
+ kind: "event",
1010
+ id: `artifact.changed:${mount.id}`
1011
+ });
1004
1012
  // src/extensions/resource-key.ts
1005
1013
  function resourceKey(resource) {
1006
1014
  return resource && JSON.stringify([resource.extensionId ?? "", resource.projectId ?? "", resource.type, resource.id]);
@@ -1300,6 +1308,7 @@ export {
1300
1308
  WEBVIEW_HOST_CAPABILITIES,
1301
1309
  WEBVIEW_HOST_CAPABILITY_VERSION,
1302
1310
  WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES,
1311
+ artifactChanged,
1303
1312
  artifactMountId,
1304
1313
  artifactsRead,
1305
1314
  commandEvent,
@@ -1,3 +1,3 @@
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 };
1
+ import { $a as PageSlotCardinality, $c as CommandPaletteResourceQueryParams, $d as NotificationOrigin, $f as VIEW_FILTER_CONDITIONS, $i as ExtensionStorageCollectionApi, $l as WebviewCommandsExecuteParams, $n as mergeOrderedHistory, $o as DataTableRendererSavedView, $r as CommandLifecyclePhase, $s as HarnessCommandContext, $t as ExtensionViewModule, $u as ExtensionSessionSummary, Aa as UiContributions, Ac as QuestionResponse, Ad as BoardViewUpdate, Af as JsonValue, Ai as ArtifactMount, Al as KanbanRendererEnumOption, An as defineView, Ao as TreeNodeRowVariant, Ar as workbenchModes, As as ReadOnlyControl, At as WebviewEventsClient, Au as MultiSelectParam, Ba as StatusActionDefinition, Bc as StepFinishPart, Bd as ExtensionLoggerApi, Bf as PlacementRef, Bi as ExtensionBlobRef, Bl as KanbanRendererSortDirection, Bn as CommandResponse, Bo as TreeSectionEmptyState, Br as RegionSize, Bs as VectorControl, Bt as commandEvent, Bu as ResourceParam, Ca as HookDefinition, Cc as HarnessRecoveryResult, Cf as TerminalSessionExit, Ci as FileRendererLoadParams, Cl as KanbanRendererAttributeDescriptor, Cn as defineSettingsSection, Co as TreeViewBody, Cr as worktreeEvents, Cs as HarnessControlValue, Ct as WebviewCommandsClient, Cu as BooleanParam, Da as ProviderContributions, Dc as HarnessSteeringInput, Di as FileRendererSectionAnchor, Dl as KanbanRendererColumnAction, Dn as defineTemplate, Do as WebviewViewBody, Dr as localContributionIdGrammar, Ds as ParamEditorReadOnlyImage, Dt as CommandStreamOptions, Du as ListParam, Ea as PackageManifest, Ec as HarnessStartInput, Ef as TerminalSessionRequest, Ei as FileRendererSaveParams, El as KanbanRendererBoardColumnConfig, En as defineStatuses, Eo as ViewMenuContribution, Er as isValidLocalContributionId, Es as ParamEditorReadOnlyContent, Et as CommandStream, Eu as JsonParam, Fa as WorkspaceProviderRef, Fc as PatchPart, Fd as ExtensionConnectionMethod, Ff as ContributionInput, Fi as CommandStreamWriter, Fl as KanbanRendererRow, Fn as defineHook, Fo as TreeRendererContribution, Fr as workbenchResourceKindDefinitions, Fs as SegmentedOption, Ft as TerminalSessionAdapter, Fu as ParamOptionSource, Ga as PageContribution, Gc as ToolPartActionType, Gf as StatusRef, Gi as ExtensionNetApi, Gl as WEBVIEW_DECLARABLE_CAPABILITIES, Gn as HistoryRecoveryInput, Go as DataTableRendererColumnStat, Gr as extensionPanelRegions, Gs as HarnessDetectionResult, Gt as PageUrlDefinition, Gu as SlotInvocationContext, Ha as StatusContribution, Hc as TextPart, Hf as SettingsSectionRef, Hi as ExtensionContextBase, Hl as KanbanRendererViewSettings, Hn as SDK_VERSION, Ho as DEFAULT_DATA_TABLE_SETTINGS, Hr as ResourceKindDefinition, Hs as ResourceBinding, Ht as qualifyRef, Hu as TemplateParam, Ia as WorkspaceProviderResolveInput, Ic as ReasoningPart, Id as ExtensionConnectionRequest, If as ContributionKind, Ii as EventContext, Il as KanbanRendererRowAction, In as defineMiddleware, Io as TreeRendererMoveParams, Ir as workbenchResourceKinds, Is as SelectionControl, It as TerminalSessionBridge, Iu as ParamType, Ja as PageMain, Jc as ArtifactMountContribution, Jd as ListNotificationsResponse, Jf as Localizable, Ji as ExtensionProcessApi, Jl as WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES, Jn as historyValueKey, Jo as DataTableRendererQueryResult, Jr as CommandDiagnostic, Js as HarnessProvider, Jt as parsePageUrl, Ju as UiSlotKind, Ka as PageDocumentDeclaration, Kc as ToolPartStatus, Kd as CreateNotificationInput, Kf as ThemeRef, Ki as ExtensionNotifyApi, Kl as WEBVIEW_HOST_CAPABILITIES, Kn as HistoryRecoveryResult, Ko as DataTableRendererContribution, Kr as CommandCompletedEvent, Ks as HarnessParamDescriptor, Kt as ParsedWorkbenchPageUrl, Ku as SlotOptions, La as WorkspaceProviderResult, Lc as SessionMessage, Ld as ExtensionConnectionResponse, Lf as ContributionRef, Li as ExtensionActivityApi, Ll as KanbanRendererRowActivationHandler, Ln as streamOf, Lo as TreeRendererQueryParams, Lr as workbenchSlots, Ls as SelectionGroup, Lt as createTerminalSessionBridge, Lu as ParamValue, Ma as WorkspaceExecutionTarget, Mc as ErrorPart, Md as ArtifactChangedPayload, Mf as Struct, Mi as CommandMiddlewareContext, Ml as KanbanRendererQueryParams, Mn as defineWorkspaceType, Mo as TreeRendererActionParams, Mr as workbenchPages, Ms as ResourceOption, Mt as ArtifactMountKey, Mu as ParamDescriptor, Na as WorkspaceProviderCreateInput, Nc as FilePart, Nd as EventDeliveryResult, Nf as ConnectionRef, Ni as CommandMiddlewareHandler, Nl as KanbanRendererQueryResult, Nn as resourceMenuSlotRef, No as TreeRendererChildrenParams, Nr as workbenchPanelDefinitions, Ns as ResourceRefValue, Nt as artifactMountId, Nu as ParamObjectSchema, Oa as ScheduleContribution, Oc as HarnessSteeringResult, Od as BoardView, Of as JsonObject, Oi as FileRendererSectionTarget, Ol as KanbanRendererContribution, On as defineTemplateType, Oo as TreeAction, Or as localContributionIdPattern, Os as RangeControl, Ot as WebviewStreamsClient, Ou as LongTextParam, Pa as WorkspaceProviderMutationInput, Pc as LoadingPart, Pd as EventRef, Pf as ContributionDefinition, Pi as CommandRunHandler, Pl as KanbanRendererResourceRef, Pn as defineCommand, Po as TreeRendererCommandResult, Pr as workbenchPanels, Ps as SegmentedControl, Pt as artifactsRead, Pu as ParamOption, Qa as PageSlot, Qc as CommandPaletteResourceItem, Qd as NotificationKind, Qf as normalizeBooleanViewRule, Qi as ExtensionStorageApi, Ql as WebviewCommandStreamEvent, Qn as submittedPrompt, Qo as DataTableRendererRowActivationHandler, Qr as CommandLifecycleEventPayload, Qt as resolveEventReferenceId, Qu as ExtensionSessionResource, Ra as WorkspaceProviderState, Rc as SessionMessagePart, Rd as ExtensionConnectionStreamEvent, Rf as ModeRef, Ri as ExtensionArtifactApi, Rl as KanbanRendererSavedView, Rn as commandRefId, Ro as TreeRendererResourceRef, Rr as DockedWorkbenchRegion, Rs as SelectionOption, Rt as resourceKey, Ru as ParamValueRef, Sa as ExtensionSourceKind, Sc as HarnessRecoveryInput, Si as FileRendererContribution, Sl as CollectionBadgeItem, Sn as defineSettingsPanel, So as PlacementTabSnapshot, Sr as workspaceSlots, Ss as HarnessControl, St as WebviewClientOptions, Su as RendererEventReference, Ta as MiddlewareDefinition, Tc as HarnessSession, Td as ExtensionViewsApi, Ti as FileRendererResourceRef, Tl as KanbanRendererAttributeType, Tn as defineStatusBarItem, To as ViewContribution, Tr as resolveDataTableFieldKind, Ts as NumberControl, Tt as createWebviewClient, Tu as HarnessParam, Ua as WorkflowStatus, Uc as TokenUsagePart, Uf as SettingsSlotRef, Ui as ExtensionEventsApi, Ul as ViewToolbarAction, Un as HistoryConflict, Uo as DataTableRendererColumn, Ur as ResourceMenuSlotDefinition, Us as ResourceConstraint, Ut as params, Uu as TextParam, Va as StatusBarItemContribution, Vc as StepStartPart, Vd as ExtensionAutomationApi, Vf as ResourceKindRef, Vi as ExtensionBlobsApi, Vl as KanbanRendererViewMode, Vn as unwrapCommandOutcome, Vo as TreeViewSection, Vr as ResourceHierarchyProvider, Vs as VectorValue, Vt as QualifiedRef, Vu as SelectParam, Wa as FileSourcePosition, Wc as ToolPart, Wf as StatusBarSlotRef, Wi as ExtensionFilesApi, Wl as ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES, Wn as HistoryProjection, Wo as DataTableRendererColumnRenderer, Wr as dockedWorkbenchRegions, Ws as HarnessContext, Wt as defaultPageResourceCodec, Wu as WorkspaceParam, Xa as PageMainView, Xc as CommandPaletteContribution, Xd as NotificationAction, Xf as isLocalizedString, Xi as ExtensionSettingsApi, Xl as WebviewArtifactsReadParams, Xn as reconcileMessageHistory, Xo as DataTableRendererRow, Xr as CommandHelpersApi, Xs as HarnessStateApi, Xt as serializePageUrl, Xu as ExtensionSessionPage, Ya as PageMainPanels, Yc as CliContribution, Yd as Notification, Yf as LocalizedString, Yi as ExtensionProjectContext, Yl as WebviewArtifactFile, Yn as mergeHistoryMetadata, Yo as DataTableRendererResourceRef, Yr as CommandFailedEvent, Ys as HarnessSkillsLayout, Yt as parseWorkbenchPageUrl, Yu as ExtensionHarnessInput, Za as PageOpenIntent, Zc as CommandPaletteResourceContribution, Zd as NotificationActorType, Zf as l10n, Zi as ExtensionSkillsApi, Zl as WebviewCapabilityDeclaration, Zn as splitHistoryTurns, Zo as DataTableRendererRowAction, Zr as CommandInvocation, Zs as RetryableHarnessReattachError, Zt as serializeWorkbenchPageUrl, Zu as ExtensionSessionQuery, _a as CommandStreamDeclaration, _c as HarnessQuestionChannel, _f as ViewHierarchyParent, _i as NavigationTargetCompound, _l as TemplateTypeContribution, _n as definePage, _o as PlacementPresence, _r as projectSlots, _s as ControlGroup, _u as WebviewNotificationShowParams, aa as SetupContext, ac as AgentCapability, af as RendererContext, ai as CommandReject, al as ExtensionSettingValueType, an as GuestHost, ao as PlacementOwner, ap as ViewSortDirection, ar as isNavigationTarget, as as ControlsQueryResult, au as WebviewFilesDeleteParams, ba as ExtensionDefinition, bc as HarnessQuestionRequest, bi as NavigationTargetPage, bl as WebviewContribution, bn as defineResourceKind, bo as PlacementTabMenuRow, br as viewDataEvents, bs as ControlValueMap, bt as WebviewArtifactsClient, bu as WebviewScopedDeclarableCapability, ca as WorkspaceSyncFile, cc as HarnessApprovalChannel, cf as ResourceAnchorChangeEvent, ci as CommandReplaceParams, cl as KeybindingChord, cn as defineArtifactMount, co as FileViewBody, cr as ConflictPayload, cs as ControlsResourceRef, ct as AutomationRun, cu as WebviewHostCapability, da as ExtensionWorkspace, dc as HarnessExit, df as ResourceAnchorValidationInput, di as CommandStartedEvent, dl as ModeContribution, dn as defineFileIconTheme, do as NavigationOwnerRef, dr as SessionLifecyclePayload, ds as ActionsControl, dt as AutomationRunStatus, du as WebviewHostCapabilityResults, ea as ExtensionTerminalApi, ec as HarnessCommandDiscoveryContext, ed as ExtensionSessionUsage, ef as NotificationPriority, ei as CommandMiddlewareResult, el as CommandPaletteResourceQueryResult, en as ExtensionViewRender, eo as PageSlotRef, ep as ViewFieldKind, er as isFileSourcePosition, es as DataTableRendererSelectionAction, eu as WebviewCommandsStreamParams, fa as ExtensionWorkspaceProvider, fc as HarnessExitStatus, ff as ResourceAnchorValidationResult, fi as CommandTarget, fl as ModeRegionSettings, fn as defineHarness, fo as NavigationTreeContribution, fr as WorkspaceProvisionPayload, fs as AnchorGridControl, fu as WebviewKeyboardEventParams, ga as CommandDefinition, gc as HarnessQuestion, gf as ResourceRole, gi as NavigationTargetCommand, gl as TemplateContribution, gn as defineNavigationTree, go as PlacementMountStrategy, gr as projectEvents, gs as ColorControl, gu as WebviewNotificationResolveParams, ha as BehaviourContributions, hc as HarnessParams, hf as ResourceResolution, hi as NavigationTarget, hl as SkillContribution, hn as defineNavigationItem, ho as PlacementItem, hr as gitEvents, hs as BooleanControl, hu as WebviewNotificationDismissParams, ia as RendererCallback, ic as PreparedHarnessOperation, if as PackageAssetDescriptor, ii as CommandRef, il as ExtensionSettingValueForType, in as defineExtensionView, io as PlacementIdentity, ip as ViewSort, ir as packageAsset, is as ControlsQueryParams, iu as WebviewFileScope, ja as WorkspaceCapabilities, jc as TimeoutStrategy, jd as BoardViews, jf as MaybePromise, ji as CommandContext, jl as KanbanRendererFilterState, jn as defineViewMenu, jo as TreeNodeTarget, jr as workbenchPageDefinitions, js as ResourceControl, jt as WebviewExtensionEvent, ju as NumberParam, ka as ScheduleExpression, kc as JsonPatch, kd as BoardViewCreate, kf as JsonPrimitive, ki as ArtifactFile, kl as KanbanRendererCreateRowContribution, kn as defineTheme, ko as TreeNode, kr as workbenchModeDefinitions, ks as RangeValue, kt as EXTENSION_EVENTS_SCOPE, ku as MarkdownParam, la as CreateExtensionWorkspaceInput, lc as HarnessAttachment, lf as ResourceAnchorPage, li as CommandRequestedEvent, ll as KeybindingContribution, ln as defineCommandPaletteResource, lo as KanbanViewBody, lr as MergePayload, ls as ControlsUpdateValueInput, lu as WebviewHostCapabilityParams, ma as AssetContributions, mc as HarnessParamValue, mf as ResourceRemovedEvent, mi as WorkbenchAttachmentInvocationContext, ml as SettingsSectionContribution, mn as defineMode, mo as PlacementContribution, mr as WorktreeRemovedPayload, ms as BaseControl, mu as WebviewNotificationActionParams, na as ProcessRunInput, nc as HarnessOperation, nf as UpdateNotificationInput, ni as CommandOutcome, nl as ExtensionSettingProperty, nn as PropsStore, no as PageSlotRole, np as ViewFilterGroup, nr as commandRef, ns as DataTableRendererThemeColor, nu as WebviewExtensionSettingKeyParams, oa as StorageScope, oc as ApprovalRequest, of as RendererInvocationContext, oi as CommandRejectedEvent, ol as ExtensionSettingsContribution, on as defineExtension, oo as ControlsViewBody, op as parseExtensionApiDeclaration, or as qualifyNavigationTarget, os as ControlsRendererContribution, ou as WebviewFilesListParams, pa as ExtensionWorkspacesApi, pc as HarnessMessagesInput, pf as ResourceRef, pi as SerializedError, pl as SettingsPanelContribution, pn as defineKeybinding, po as NavigationTreeSlot, pr as WorkspaceType, ps as AnchorGridValue, pu as WebviewNavigationOpenParams, qa as PageLocation, qc as ActivityItemContribution, qd as ListNotificationsQuery, qf as ViewRef, qi as ExtensionPackageFilesApi, ql as WEBVIEW_HOST_CAPABILITY_VERSION, qn as historyMessageKey, qo as DataTableRendererQueryParams, qr as CommandContinue, qs as HarnessParamsSchema, qt as isWorkbenchProjectUrl, qu as SlotRef, ra as ProcessRunResult, rc as HarnessOperationResult, rf as ExtensionResourcesApi, ri as CommandPatchParams, rl as ExtensionSettingScope, rn as WebviewFilesClient, ro as PanelRef, rp as ViewFilterRule, rr as eventRef, rs as ControlsApplyInput, ru as WebviewExtensionSettingSetParams, sa as WorkspaceFilesMount, sc as ApprovalResponse, sf as ResourceAnchor, si as CommandReplaceInvocation, sl as FileIconThemeContribution, sn as defineActivityItem, so as DataTableViewBody, sp as supportsExtensionApiVersion, sr as CommitPayload, ss as ControlsResetInput, su as WebviewFilesUploadParams, ta as MigrationContext, tc as HarnessCommandState, td as ExtensionSessionsApi, tf as NotificationStatus, ti as CommandNotice, tl as CommandPaletteResourceTarget, tn as ExtensionViewRenderContext, to as PageSlotRegion, tp as ViewFilterCondition, tr as defineSlot, ts as DataTableRendererSettings, tu as WebviewDeclarableCapability, ua as CreateWorkspaceCommandParams, uc as HarnessEventSink, uf as ResourceAnchorQuery, ui as CommandSource, ul as MenuContribution, un as defineConnection, uo as NavigationItemContribution, up as AgentModel, ur as RebasePayload, us as ActionOption, uu as WebviewHostCapabilityResult, va as EXTENSION_API_VERSION, vc as HarnessQuestionOption, vi as NavigationTargetHref, vl as ThemeContribution, vn as definePlacement, vo as PlacementPresentation, vr as sessionEvents, vs as ControlParam, vt as projectPrefix, vu as WebviewPreferencesGetParams, wa as LocalExtensionSource, wc as HarnessResumeInput, wf as TerminalSessionHandle, wi as FileRendererLoadResult, wl as KanbanRendererAttributeDisplay, wn as defineSkill, wo as ViewBody, wr as resolveDataTableComparableValue, ws as MarkdownControl, wt as WebviewSettingsClient, wu as FilesParam, xa as ExtensionLoadScope, xc as HarnessReattachInput, xi as NavigationTargetPanel, xl as WhenExpression, xn as defineSchedule, xo as PlacementTabPresentation, xr as workspaceEvents, xs as DateControl, xt as WebviewClient, xu as RendererContributionBase, ya as ExtensionConnectionContribution, yc as HarnessQuestionReplyError, yf as TerminalEvent, yi as NavigationTargetItem, yl as ThemeMode, yn as defineResourceHierarchyProvider, yo as PlacementTabMenuGroup, yr as sessionSlots, ys as ControlValue, yt as matchesResourceWhen, yu as WebviewPreferencesSetParams, za as WorkspaceTypeProvider, zc as SessionMessageRole, zd as ExtensionConnectionsApi, zf as PageRef, zi as ExtensionBlobInput, zl as KanbanRendererSettings, zn as contributionRefId, zo as TreeRendererState, zr as ExtensionPanelRegion, zs as TextControl, zt as artifactChanged, zu as ParamsOf } from "./index-O1fonn3r.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 ArtifactChangedPayload, 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 ExtensionSessionPage, type ExtensionSessionQuery, type ExtensionSessionResource, type ExtensionSessionSummary, type ExtensionSessionUsage, 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 HarnessControl, type HarnessControlValue, 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, artifactChanged, 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 { 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";
1
+ import { ad as FollowUpInput, dd as Session } from "./index-O1fonn3r.js";
2
+ import "./sessions-JpOJxxrL.js";
3
+ import { t as Workspace } from "./index-Ccv53OmE.js";
4
+ import { t as PstdioClient } from "./index-to2cZb2i.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-DKb6w-4h.js";
1
+ import { d as WorkspaceListItem$1, s as Workspace$1 } from "./index-O1fonn3r.js";
2
2
  //#region src/resources/workspace.d.ts
3
3
  type Workspace = Workspace$1;
4
4
  type WorkspaceListItem = WorkspaceListItem$1;
@@ -95,6 +95,14 @@ declare const agentInfoSchema: z.ZodObject<{
95
95
  type: z.ZodLiteral<"boolean">;
96
96
  defaultValue: z.ZodOptional<z.ZodBoolean>;
97
97
  }, z.core.$strip>]>>>;
98
+ capabilities: z.ZodArray<z.ZodEnum<{
99
+ SessionFork: "SessionFork";
100
+ ContextUsage: "ContextUsage";
101
+ Approvals: "Approvals";
102
+ SessionReattach: "SessionReattach";
103
+ Attachments: "Attachments";
104
+ }>>;
105
+ supportsModels: z.ZodBoolean;
98
106
  }, z.core.$strip>;
99
107
  declare const agentModelSchema: z.ZodObject<{
100
108
  id: z.ZodString;
@@ -238,6 +246,7 @@ interface SettingsSlotRef {
238
246
  interface StatusBarSlotRef {
239
247
  readonly id: string;
240
248
  }
249
+ /** @deprecated Use enum attributes with options returned in `KanbanRendererQueryResult.attributes`. */
241
250
  type StatusRef = ContributionRef<"status">;
242
251
  type ViewRef = ContributionRef<"view">;
243
252
  //#endregion
@@ -682,6 +691,17 @@ interface EventDeliveryResult {
682
691
  delivered: number;
683
692
  diagnostics?: CommandDiagnostic[];
684
693
  }
694
+ /** Payload of the host's `artifactChanged(mount)` event for a watched artifact mount. */
695
+ interface ArtifactChangedPayload {
696
+ projectId: string;
697
+ /** Local mount id, the same key `ctx.artifacts.mount(key)` takes. */
698
+ mount: string;
699
+ /**
700
+ * Changed files and folders relative to the mount root, sorted, without duplicates.
701
+ * Empty means "unknown or too many": reload everything from the mount.
702
+ */
703
+ paths: string[];
704
+ }
685
705
  //#endregion
686
706
  //#region ../pstdio-api-contracts/src/board-views.d.ts
687
707
  declare const boardFieldSchema: z.ZodObject<{
@@ -1303,6 +1323,13 @@ declare const sessionSchema: z.ZodObject<{
1303
1323
  original_session_id: z.ZodNullable<z.ZodString>;
1304
1324
  cwd: z.ZodNullable<z.ZodString>;
1305
1325
  params_json: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
1326
+ usage_json: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1327
+ input_tokens: z.ZodNumber;
1328
+ output_tokens: z.ZodNumber;
1329
+ cache_read_tokens: z.ZodNumber;
1330
+ cache_write_tokens: z.ZodNumber;
1331
+ }, z.core.$strip>>>;
1332
+ workspace_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1306
1333
  anchors_json: z.ZodArray<z.ZodObject<{
1307
1334
  shorthand: z.ZodOptional<z.ZodString>;
1308
1335
  type: z.ZodString;
@@ -1339,6 +1366,13 @@ declare const createSessionResponseSchema: z.ZodObject<{
1339
1366
  original_session_id: z.ZodNullable<z.ZodString>;
1340
1367
  cwd: z.ZodNullable<z.ZodString>;
1341
1368
  params_json: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
1369
+ usage_json: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1370
+ input_tokens: z.ZodNumber;
1371
+ output_tokens: z.ZodNumber;
1372
+ cache_read_tokens: z.ZodNumber;
1373
+ cache_write_tokens: z.ZodNumber;
1374
+ }, z.core.$strip>>>;
1375
+ workspace_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1342
1376
  anchors_json: z.ZodArray<z.ZodObject<{
1343
1377
  shorthand: z.ZodOptional<z.ZodString>;
1344
1378
  type: z.ZodString;
@@ -1454,6 +1488,13 @@ declare const followUpResponseSchema: z.ZodObject<{
1454
1488
  original_session_id: z.ZodNullable<z.ZodString>;
1455
1489
  cwd: z.ZodNullable<z.ZodString>;
1456
1490
  params_json: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
1491
+ usage_json: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1492
+ input_tokens: z.ZodNumber;
1493
+ output_tokens: z.ZodNumber;
1494
+ cache_read_tokens: z.ZodNumber;
1495
+ cache_write_tokens: z.ZodNumber;
1496
+ }, z.core.$strip>>>;
1497
+ workspace_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1457
1498
  anchors_json: z.ZodArray<z.ZodObject<{
1458
1499
  shorthand: z.ZodOptional<z.ZodString>;
1459
1500
  type: z.ZodString;
@@ -1801,6 +1842,13 @@ declare const sessionConversationResponseSchema: z.ZodObject<{
1801
1842
  original_session_id: z.ZodNullable<z.ZodString>;
1802
1843
  cwd: z.ZodNullable<z.ZodString>;
1803
1844
  params_json: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
1845
+ usage_json: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1846
+ input_tokens: z.ZodNumber;
1847
+ output_tokens: z.ZodNumber;
1848
+ cache_read_tokens: z.ZodNumber;
1849
+ cache_write_tokens: z.ZodNumber;
1850
+ }, z.core.$strip>>>;
1851
+ workspace_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1804
1852
  anchors_json: z.ZodArray<z.ZodObject<{
1805
1853
  shorthand: z.ZodOptional<z.ZodString>;
1806
1854
  type: z.ZodString;
@@ -1964,11 +2012,55 @@ type ListSessionActivityResponse = z.infer<typeof listSessionActivityResponseSch
1964
2012
  type FollowUpResponse = z.infer<typeof followUpResponseSchema>;
1965
2013
  //#endregion
1966
2014
  //#region ../pstdio-api-contracts/src/extension-kernel/types/sessions.d.ts
2015
+ interface ExtensionSessionUsage {
2016
+ input_tokens: number;
2017
+ output_tokens: number;
2018
+ cache_read_tokens: number;
2019
+ cache_write_tokens: number;
2020
+ }
2021
+ interface ExtensionSessionSummary {
2022
+ id: string;
2023
+ title: string;
2024
+ status: SessionStatus;
2025
+ archived: boolean;
2026
+ agent: string | null;
2027
+ last_selected_model: string | null;
2028
+ workspace_id: string | null;
2029
+ original_session_id: string | null;
2030
+ created_at: string;
2031
+ updated_at: string;
2032
+ /** Start and end of the latest run only. */
2033
+ last_request_started: string | null;
2034
+ last_request_ended: string | null;
2035
+ anchors_json: ResourceAnchor[];
2036
+ /** Totals at the last conversation save. Null when no usage was recorded. */
2037
+ usage: ExtensionSessionUsage | null;
2038
+ }
2039
+ interface ExtensionSessionQuery {
2040
+ status?: SessionStatus[];
2041
+ agent?: string;
2042
+ workspaceId?: string;
2043
+ anchor?: Pick<ResourceRef, "type" | "id">;
2044
+ /** Inclusive ISO timestamp bounds. */
2045
+ createdFrom?: string;
2046
+ createdTo?: string;
2047
+ updatedFrom?: string;
2048
+ includeArchived?: boolean;
2049
+ /** Default 50. Clamped to 1..200. */
2050
+ limit?: number;
2051
+ cursor?: string;
2052
+ }
2053
+ interface ExtensionSessionPage {
2054
+ /** Newest first: created_at descending, then id descending. */
2055
+ items: ExtensionSessionSummary[];
2056
+ nextCursor: string | null;
2057
+ }
1967
2058
  interface ExtensionSessionResource {
1968
2059
  type: "session";
1969
2060
  id: string;
1970
2061
  title: string;
1971
2062
  status: SessionStatus;
2063
+ agent?: string | null;
1972
2064
  }
1973
2065
  interface ExtensionSessionsApi {
1974
2066
  getQueuedFollowUps(sessionId: string): Promise<PendingQueuedFollowUpsResponse>;
@@ -1983,21 +2075,33 @@ interface ExtensionSessionsApi {
1983
2075
  cwd?: string | null;
1984
2076
  updated_at?: string | null;
1985
2077
  anchors_json?: ResourceAnchor[];
2078
+ archived?: boolean;
2079
+ agent?: string | null;
2080
+ last_selected_model?: string | null;
2081
+ workspace_id?: string | null;
2082
+ created_at?: string | null;
2083
+ last_request_started?: string | null;
2084
+ last_request_ended?: string | null;
2085
+ usage?: ExtensionSessionUsage | null;
1986
2086
  } | null>;
2087
+ query(input?: ExtensionSessionQuery): Promise<ExtensionSessionPage>;
2088
+ /** @deprecated Use query() for filters, paging and session details. */
1987
2089
  list(): Promise<Array<{
1988
2090
  id: string;
1989
2091
  title: string;
1990
2092
  status: SessionStatus;
2093
+ agent?: string | null;
1991
2094
  last_request_started?: string | null;
1992
2095
  last_request_ended?: string | null;
1993
2096
  updated_at?: string | null;
1994
2097
  anchors_json?: ResourceAnchor[];
1995
2098
  }>>;
1996
- /** Sessions linked to a workspace (via the workspace-session join), oldest first. */
2099
+ /** @deprecated Use query({ workspaceId }). query() orders newest first. */
1997
2100
  listByWorkspace(workspaceId: string): Promise<Array<{
1998
2101
  id: string;
1999
2102
  title: string;
2000
2103
  status: SessionStatus;
2104
+ agent?: string | null;
2001
2105
  created_at?: string | null;
2002
2106
  updated_at?: string | null;
2003
2107
  anchors_json?: ResourceAnchor[];
@@ -2381,7 +2485,9 @@ type KanbanRendererAttributeType = {
2381
2485
  } | {
2382
2486
  kind: "enum-multi";
2383
2487
  options: KanbanRendererEnumOption[];
2384
- } | {
2488
+ } |
2489
+ /** @deprecated Use `kind: "enum"` with options returned in query `attributes`. */
2490
+ {
2385
2491
  kind: "status";
2386
2492
  statuses: StatusRef;
2387
2493
  } |
@@ -2678,9 +2784,14 @@ interface ExtensionSettingsContribution<TProperties extends Record<string, Exten
2678
2784
  properties: TProperties;
2679
2785
  }
2680
2786
  interface ArtifactMountContribution extends ContributionDefinition<"artifact-mount"> {
2681
- /** Relative path under .pstdio/<extension.name>/. */
2787
+ /** Relative path under .pstdio/extension-storage/<extension.name>/. */
2682
2788
  path: string;
2683
2789
  label: Localizable<string>;
2790
+ /**
2791
+ * Watch this mount in the project's default workspace. The host emits
2792
+ * `artifactChanged(mount)` when a file changes outside the mount API.
2793
+ */
2794
+ watch?: boolean;
2684
2795
  }
2685
2796
  interface TemplateTypeContribution extends ContributionDefinition<"template-type"> {
2686
2797
  label: Localizable<string>;
@@ -2830,7 +2941,9 @@ type JsonPatch = {
2830
2941
  path: string;
2831
2942
  value?: unknown;
2832
2943
  };
2833
- type AgentCapability = "SessionFork" | "ContextUsage" | "Approvals" | "SessionReattach";
2944
+ /** Features a harness opts into. `Attachments` means the harness accepts `attachments` on start, resume and steering. */
2945
+ declare const AGENT_CAPABILITIES: readonly ["SessionFork", "ContextUsage", "Approvals", "SessionReattach", "Attachments"];
2946
+ type AgentCapability = (typeof AGENT_CAPABILITIES)[number];
2834
2947
  type QuestionResponse = {
2835
2948
  /**
2836
2949
  * One list of chosen labels per question, in the order the questions were asked. A label the
@@ -3182,6 +3295,12 @@ interface ResourceBinding extends ResourceConstraint {
3182
3295
  }
3183
3296
  //#endregion
3184
3297
  //#region ../pstdio-api-contracts/src/extension-kernel/types/control-declarations.d.ts
3298
+ type HarnessControlValue = Pick<ExtensionHarnessInput, keyof ExtensionHarnessInput>;
3299
+ /** The host supplies the same harness, model and option picker used by command forms. */
3300
+ interface HarnessControl extends BaseControl {
3301
+ type: "harness";
3302
+ defaultValue: HarnessControlValue;
3303
+ }
3185
3304
  interface BaseControl {
3186
3305
  id: string;
3187
3306
  name: string;
@@ -3364,7 +3483,7 @@ interface VectorControl extends BaseControl {
3364
3483
  max?: number;
3365
3484
  step?: number;
3366
3485
  }
3367
- type ControlParam = NumberControl | BooleanControl | TextControl | MarkdownControl | SelectionControl | DateControl | ColorControl | ReadOnlyControl | ResourceControl | RangeControl | SegmentedControl | ActionsControl | AnchorGridControl | VectorControl;
3486
+ type ControlParam = HarnessControl | NumberControl | BooleanControl | TextControl | MarkdownControl | SelectionControl | DateControl | ColorControl | ReadOnlyControl | ResourceControl | RangeControl | SegmentedControl | ActionsControl | AnchorGridControl | VectorControl;
3368
3487
  interface ControlGroup {
3369
3488
  id: string;
3370
3489
  title: string;
@@ -3373,7 +3492,7 @@ interface ControlGroup {
3373
3492
  collapsible?: boolean;
3374
3493
  defaultCollapsed?: boolean;
3375
3494
  }
3376
- type ControlValue = number | string | boolean | null | string[] | RangeValue | VectorValue;
3495
+ type ControlValue = number | string | boolean | null | string[] | RangeValue | VectorValue | HarnessControlValue;
3377
3496
  type ControlValueMap = Record<string, ControlValue>;
3378
3497
  //#endregion
3379
3498
  //#region ../pstdio-api-contracts/src/extension-kernel/types/controls.d.ts
@@ -3805,6 +3924,7 @@ interface PageLocation {
3805
3924
  }
3806
3925
  //#endregion
3807
3926
  //#region ../pstdio-api-contracts/src/extension-kernel/types/statuses.d.ts
3927
+ /** @deprecated Use extension-owned domain records and `KanbanRendererEnumOption` for collection rendering. */
3808
3928
  interface WorkflowStatus {
3809
3929
  readonly id: string;
3810
3930
  readonly label: string;
@@ -3814,11 +3934,13 @@ interface WorkflowStatus {
3814
3934
  readonly isDefault?: boolean;
3815
3935
  readonly actions?: readonly string[];
3816
3936
  }
3937
+ /** @deprecated Use `KanbanRendererColumnAction` in query-owned `boardColumnConfigs` and extension-owned editor choices. */
3817
3938
  interface StatusActionDefinition {
3818
3939
  readonly id: string;
3819
3940
  readonly label: Localizable<string>;
3820
3941
  readonly icon?: string;
3821
3942
  }
3943
+ /** @deprecated Use extension-owned values and commands, a settings panel, and query-returned enum attributes. */
3822
3944
  interface StatusContribution extends ContributionDefinition<"status"> {
3823
3945
  readonly title: Localizable<string>;
3824
3946
  readonly actions?: readonly StatusActionDefinition[];
@@ -3840,7 +3962,7 @@ interface StatusBarItemContribution extends ContributionDefinition<"status-bar-i
3840
3962
  //#endregion
3841
3963
  //#region ../pstdio-api-contracts/src/extension-kernel/types/extension.d.ts
3842
3964
  /** Current host extension API version. `engines.pstdio` declares caret ranges, such as `^0.1.0`. */
3843
- declare const EXTENSION_API_VERSION = "0.1.2";
3965
+ declare const EXTENSION_API_VERSION = "0.1.3";
3844
3966
  type SchemaParams<TSchema extends ParamObjectSchema | undefined> = TSchema extends ParamObjectSchema ? ParamsOf<TSchema> : Record<string, never>;
3845
3967
  interface WorkspaceProviderRef {
3846
3968
  version: number;
@@ -4022,6 +4144,7 @@ interface UiContributions {
4022
4144
  navigationItems?: readonly NavigationItemContribution[];
4023
4145
  navigationTrees?: readonly NavigationTreeContribution[];
4024
4146
  statusBarItems?: readonly StatusBarItemContribution[];
4147
+ /** @deprecated Use extension-owned values and commands, a settings panel, and query-returned enum attributes. */
4025
4148
  statuses?: readonly StatusContribution[];
4026
4149
  modes?: readonly ModeContribution[];
4027
4150
  pages?: readonly PageContribution[];
@@ -5191,6 +5314,7 @@ declare const definePage: <const Definition extends PageDefinition>(definition:
5191
5314
  readonly panels: PagePanelRefs<Definition["slots"]>;
5192
5315
  };
5193
5316
  declare const defineStatusBarItem: <Definition extends Omit<StatusBarItemContribution, "ref">>(definition: Definition) => Definition & ContributionDefinition<"status-bar-item">;
5317
+ /** @deprecated Use extension-owned values and commands, a settings panel, and query-returned enum attributes. */
5194
5318
  declare const defineStatuses: <Definition extends Omit<StatusContribution, "ref">>(definition: Definition) => Definition & ContributionDefinition<"status">;
5195
5319
  declare const defineSettingsPanel: <Definition extends Omit<SettingsPanelContribution, "ref">>(definition: Definition) => Definition & ContributionDefinition<"settings-panel">;
5196
5320
  declare const defineActivityItem: <Definition extends Omit<ActivityItemContribution, "ref">>(definition: Definition) => Definition & ContributionDefinition<"activity-item">;
@@ -5406,6 +5530,15 @@ declare function qualifyRef<Ref extends QualifiableRef>(owner: string, ref: Ref)
5406
5530
  * the correct shape.
5407
5531
  */
5408
5532
  declare const commandEvent: <TPhase extends CommandLifecyclePhase, TParams extends Struct = Struct, TResult = unknown>(command: CommandRef<TParams, TResult>, phase: TPhase) => EventRef<CommandLifecycleEventPayload<TPhase, TParams, TResult>>;
5533
+ /**
5534
+ * Build the `EventRef` the host emits when files in a watched artifact mount change outside the
5535
+ * mount API. Pass the value returned by `defineArtifactMount`, or `{ id, extensionId }` for
5536
+ * another extension's mount.
5537
+ */
5538
+ declare const artifactChanged: (mount: {
5539
+ id: string;
5540
+ extensionId?: string;
5541
+ }) => EventRef<ArtifactChangedPayload>;
5409
5542
  //#endregion
5410
5543
  //#region src/extensions/resource-key.d.ts
5411
5544
  /** Stable identity for selection and reuse; labels and metadata do not change identity. */
@@ -5776,6 +5909,10 @@ declare const workbenchExtensionViewBodySchema: z.ZodDiscriminatedUnion<[z.ZodOb
5776
5909
  defaultValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodString>, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
5777
5910
  x: z.ZodNumber;
5778
5911
  y: z.ZodNumber;
5912
+ }, z.core.$strict>, z.ZodObject<{
5913
+ harnessId: z.ZodString;
5914
+ model: z.ZodOptional<z.ZodString>;
5915
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
5779
5916
  }, z.core.$strict>]>>>;
5780
5917
  kind: z.ZodLiteral<"controls">;
5781
5918
  }, z.core.$strip>, z.ZodObject<{
@@ -6480,6 +6617,10 @@ declare const workbenchExtensionViewRecordSchema: z.ZodObject<{
6480
6617
  defaultValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodString>, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
6481
6618
  x: z.ZodNumber;
6482
6619
  y: z.ZodNumber;
6620
+ }, z.core.$strict>, z.ZodObject<{
6621
+ harnessId: z.ZodString;
6622
+ model: z.ZodOptional<z.ZodString>;
6623
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
6483
6624
  }, z.core.$strict>]>>>;
6484
6625
  kind: z.ZodLiteral<"controls">;
6485
6626
  }, z.core.$strip>, z.ZodObject<{
@@ -7536,6 +7677,10 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
7536
7677
  defaultValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodString>, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
7537
7678
  x: z.ZodNumber;
7538
7679
  y: z.ZodNumber;
7680
+ }, z.core.$strict>, z.ZodObject<{
7681
+ harnessId: z.ZodString;
7682
+ model: z.ZodOptional<z.ZodString>;
7683
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
7539
7684
  }, z.core.$strict>]>>>;
7540
7685
  kind: z.ZodLiteral<"controls">;
7541
7686
  }, z.core.$strip>, z.ZodObject<{
@@ -9692,6 +9837,10 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
9692
9837
  defaultValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodString>, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
9693
9838
  x: z.ZodNumber;
9694
9839
  y: z.ZodNumber;
9840
+ }, z.core.$strict>, z.ZodObject<{
9841
+ harnessId: z.ZodString;
9842
+ model: z.ZodOptional<z.ZodString>;
9843
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
9695
9844
  }, z.core.$strict>]>>>;
9696
9845
  kind: z.ZodLiteral<"controls">;
9697
9846
  }, z.core.$strip>, z.ZodObject<{
@@ -11348,6 +11497,7 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
11348
11497
  $l10n: z.ZodString;
11349
11498
  default: z.ZodOptional<z.ZodString>;
11350
11499
  }, z.core.$strip>]>;
11500
+ watch: z.ZodBoolean;
11351
11501
  }, z.core.$strip>>;
11352
11502
  themes: z.ZodArray<z.ZodObject<{
11353
11503
  id: z.ZodString;
@@ -11558,6 +11708,10 @@ declare const installExtensionResponseSchema: z.ZodObject<{
11558
11708
  defaultValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodString>, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
11559
11709
  x: z.ZodNumber;
11560
11710
  y: z.ZodNumber;
11711
+ }, z.core.$strict>, z.ZodObject<{
11712
+ harnessId: z.ZodString;
11713
+ model: z.ZodOptional<z.ZodString>;
11714
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
11561
11715
  }, z.core.$strict>]>>>;
11562
11716
  kind: z.ZodLiteral<"controls">;
11563
11717
  }, z.core.$strip>, z.ZodObject<{
@@ -13214,6 +13368,7 @@ declare const installExtensionResponseSchema: z.ZodObject<{
13214
13368
  $l10n: z.ZodString;
13215
13369
  default: z.ZodOptional<z.ZodString>;
13216
13370
  }, z.core.$strip>]>;
13371
+ watch: z.ZodBoolean;
13217
13372
  }, z.core.$strip>>;
13218
13373
  themes: z.ZodArray<z.ZodObject<{
13219
13374
  id: z.ZodString;
@@ -13459,6 +13614,10 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
13459
13614
  defaultValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodString>, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
13460
13615
  x: z.ZodNumber;
13461
13616
  y: z.ZodNumber;
13617
+ }, z.core.$strict>, z.ZodObject<{
13618
+ harnessId: z.ZodString;
13619
+ model: z.ZodOptional<z.ZodString>;
13620
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
13462
13621
  }, z.core.$strict>]>>>;
13463
13622
  kind: z.ZodLiteral<"controls">;
13464
13623
  }, z.core.$strip>, z.ZodObject<{
@@ -15115,6 +15274,7 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
15115
15274
  $l10n: z.ZodString;
15116
15275
  default: z.ZodOptional<z.ZodString>;
15117
15276
  }, z.core.$strip>]>;
15277
+ watch: z.ZodBoolean;
15118
15278
  }, z.core.$strip>>;
15119
15279
  themes: z.ZodArray<z.ZodObject<{
15120
15280
  id: z.ZodString;
@@ -15861,5 +16021,5 @@ declare const workspaceProviderDescriptorSchema: z.ZodObject<{
15861
16021
  }, z.core.$strip>;
15862
16022
  type WorkspaceProviderDescriptor = z.infer<typeof workspaceProviderDescriptorSchema>;
15863
16023
  //#endregion
15864
- export { WorkbenchExtensionAutomationRecord as $, PageSlotRef as $a, ExtensionSettingProperty as $c, ResourceAnchor as $d, supportsExtensionApiVersion as $f, ExtensionTerminalApi as $i, WebviewExtensionSettingKeyParams as $l, isFileSourcePosition as $n, DataTableRendererSelectionAction as $o, CommandMiddlewareResult as $r, HarnessOperation as $s, ExtensionViewRender as $t, FollowUpResponse as $u, InstallExtensionRequest as A, WorkspaceCapabilities as Aa, FilePart as Ac, ExtensionConnectionStreamEvent as Ad, ModeRef as Af, CommandContext as Ai, KanbanRendererQueryResult as Al, defineViewMenu as An, TreeNodeTarget as Ao, workbenchPageDefinitions as Ar, ResourceRefValue as As, WebviewEventsClient as At, ParamObjectSchema as Au, UpgradeProjectExtensionResponse as B, StatusBarItemContribution as Ba, TokenUsagePart as Bc, ListNotificationsResponse as Bd, Localizable as Bf, ExtensionBlobsApi as Bi, ViewToolbarAction as Bl, unwrapCommandOutcome as Bn, TreeViewSection as Bo, ResourceHierarchyProvider as Br, ResourceConstraint as Bs, QualifiedRef as Bt, TextParam as Bu, ExtensionSettingsPanelRecord as C, LocalExtensionSource as Ca, HarnessStartInput as Cc, BoardViewUpdate as Cd, MaybePromise as Cf, FileRendererLoadResult as Ci, KanbanRendererBoardColumnConfig as Cl, defineSkill as Cn, ViewBody as Co, resolveDataTableComparableValue as Cr, ParamEditorReadOnlyContent as Cs, WebviewCommandsClient as Ct, JsonParam as Cu, ExtensionCommandPaletteResourceRecord as D, ScheduleContribution as Da, QuestionResponse as Dc, ExtensionConnectionMethod as Dd, ContributionInput as Df, FileRendererSectionTarget as Di, KanbanRendererEnumOption as Dl, defineTemplateType as Dn, TreeAction as Do, localContributionIdPattern as Dr, ReadOnlyControl as Ds, CommandStreamOptions as Dt, MultiSelectParam as Du, ExtensionKeybindingRecord as E, ProviderContributions as Ea, JsonPatch as Ec, EventRef as Ed, ContributionDefinition as Ef, FileRendererSectionAnchor as Ei, KanbanRendererCreateRowContribution as El, defineTemplate as En, WebviewViewBody as Eo, localContributionIdGrammar as Er, RangeValue as Es, CommandStream as Et, MarkdownParam as Eu, EnableInstalledExtensionResponse as F, WorkspaceProviderResolveInput as Fa, SessionMessagePart as Fc, SkillFile as Fd, SettingsSlotRef as Ff, EventContext as Fi, KanbanRendererSavedView as Fl, defineMiddleware as Fn, TreeRendererMoveParams as Fo, workbenchResourceKinds as Fr, SelectionOption as Fs, TerminalSessionAdapter as Ft, ParamValueRef as Fu, ExtensionConnectionRecord as G, PageDocumentDeclaration as Ga, ArtifactMountContribution as Gc, NotificationOrigin as Gd, VIEW_FILTER_CONDITIONS as Gf, ExtensionNotifyApi as Gi, WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES as Gl, HistoryRecoveryResult as Gn, DataTableRendererContribution as Go, CommandCompletedEvent as Gr, HarnessProvider as Gs, ParsedWorkbenchPageUrl as Gt, UiSlotKind as Gu, CommandExecuteResponse as H, WorkflowStatus as Ha, ToolPartActionType as Hc, NotificationAction as Hd, isLocalizedString as Hf, ExtensionEventsApi as Hi, WEBVIEW_DECLARABLE_CAPABILITIES as Hl, HistoryConflict as Hn, DataTableRendererColumn as Ho, ResourceMenuSlotDefinition as Hr, HarnessDetectionResult as Hs, params as Ht, SlotInvocationContext as Hu, InstallMarketplaceExtensionResponse as I, WorkspaceProviderResult as Ia, SessionMessageRole as Ic, SkillWithContent as Id, StatusBarSlotRef as If, ExtensionActivityApi as Ii, KanbanRendererSettings as Il, streamOf as In, TreeRendererQueryParams as Io, workbenchSlots as Ir, TextControl as Is, TerminalSessionBridge as It, ParamsOf as Iu, ExtensionRecord as J, PageMainPanels as Ja, CommandPaletteResourceContribution as Jc, UpdateNotificationInput as Jd, ViewFilterGroup as Jf, ExtensionProjectContext as Ji, WebviewCapabilityDeclaration as Jl, mergeHistoryMetadata as Jn, DataTableRendererResourceRef as Jo, CommandFailedEvent as Jr, RetryableHarnessReattachError as Js, parseWorkbenchPageUrl as Jt, ExtensionSessionsApi as Ju, ListExtensionConnectionsResponse as K, PageLocation as Ka, CliContribution as Kc, NotificationPriority as Kd, ViewFieldKind as Kf, ExtensionPackageFilesApi as Ki, WebviewArtifactFile as Kl, historyMessageKey as Kn, DataTableRendererQueryParams as Ko, CommandContinue as Kr, HarnessSkillsLayout as Ks, isWorkbenchProjectUrl as Kt, ExtensionHarnessInput as Ku, ListProjectExtensionsResponse as L, WorkspaceProviderState as La, StepFinishPart as Lc, UpdateSkillInput as Ld, StatusRef as Lf, ExtensionArtifactApi as Li, KanbanRendererSortDirection as Ll, commandRefId as Ln, TreeRendererResourceRef as Lo, DockedWorkbenchRegion as Lr, VectorControl as Ls, createTerminalSessionBridge as Lt, ResourceParam as Lu, InstalledExtensionSource as M, WorkspaceProviderCreateInput as Ma, PatchPart as Mc, ExtensionLoggerApi as Md, PlacementRef as Mf, CommandMiddlewareHandler as Mi, KanbanRendererRow as Ml, resourceMenuSlotRef as Mn, TreeRendererChildrenParams as Mo, workbenchPanelDefinitions as Mr, SegmentedOption as Ms, ArtifactMountKey as Mt, ParamOptionSource as Mu, AddLocalExtensionFolderResponse as N, WorkspaceProviderMutationInput as Na, ReasoningPart as Nc, ExtensionAutomationApi as Nd, ResourceKindRef as Nf, CommandRunHandler as Ni, KanbanRendererRowAction as Nl, defineCommand as Nn, TreeRendererCommandResult as No, workbenchPanels as Nr, SelectionControl as Ns, artifactMountId as Nt, ParamType as Nu, WorkbenchExtensionCommandPaletteResourceRecord as O, ScheduleExpression as Oa, TimeoutStrategy as Oc, ExtensionConnectionRequest as Od, ContributionKind as Of, ArtifactFile as Oi, KanbanRendererFilterState as Ol, defineTheme as On, TreeNode as Oo, workbenchModeDefinitions as Or, ResourceControl as Os, WebviewStreamsClient as Ot, NumberParam as Ou, EnableInstalledExtensionRequest as P, WorkspaceProviderRef as Pa, SessionMessage as Pc, Skill as Pd, SettingsSectionRef as Pf, CommandStreamWriter as Pi, KanbanRendererRowActivationHandler as Pl, defineHook as Pn, TreeRendererContribution as Po, workbenchResourceKindDefinitions as Pr, SelectionGroup as Ps, artifactsRead as Pt, ParamValue as Pu, ExtensionMenuContribution as Q, PageSlotCardinality as Qa, CommandPaletteResourceTarget as Qc, RendererInvocationContext as Qd, parseExtensionApiDeclaration as Qf, ExtensionStorageCollectionApi as Qi, WebviewDeclarableCapability as Ql, mergeOrderedHistory as Qn, DataTableRendererSavedView as Qo, CommandLifecyclePhase as Qr, HarnessCommandState as Qs, ExtensionViewModule as Qt, FollowUpInput as Qu, MarketplaceExtension as R, WorkspaceTypeProvider as Ra, StepStartPart as Rc, CreateNotificationInput as Rd, ThemeRef as Rf, ExtensionBlobInput as Ri, KanbanRendererViewMode as Rl, contributionRefId as Rn, TreeRendererState as Ro, ExtensionPanelRegion as Rr, VectorValue as Rs, resourceKey as Rt, SelectParam as Ru, ExtensionSettingValueRecord as S, HookDefinition as Sa, HarnessSession as Sc, BoardViewCreate as Sd, JsonValue as Sf, FileRendererLoadParams as Si, KanbanRendererAttributeType as Sl, defineSettingsSection as Sn, TreeViewBody as So, worktreeEvents as Sr, NumberControl as Ss, WebviewClientOptions as St, HarnessParam as Su, UpdateExtensionSettingRequest as T, PackageManifest as Ta, HarnessSteeringResult as Tc, EventDeliveryResult as Td, ConnectionRef as Tf, FileRendererSaveParams as Ti, KanbanRendererContribution as Tl, defineStatuses as Tn, ViewMenuContribution as To, isValidLocalContributionId as Tr, RangeControl as Ts, createWebviewClient as Tt, LongTextParam as Tu, DispatchExtensionEventInput as U, FileSourcePosition as Ua, ToolPartStatus as Uc, NotificationActorType as Ud, l10n as Uf, ExtensionFilesApi as Ui, WEBVIEW_HOST_CAPABILITIES as Ul, HistoryProjection as Un, DataTableRendererColumnRenderer as Uo, dockedWorkbenchRegions as Ur, HarnessParamDescriptor as Us, defaultPageResourceCodec as Ut, SlotOptions as Uu, CommandExecuteRequest as V, StatusContribution as Va, ToolPart as Vc, Notification as Vd, LocalizedString as Vf, ExtensionContextBase as Vi, ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES as Vl, SDK_VERSION as Vn, DEFAULT_DATA_TABLE_SETTINGS as Vo, ResourceKindDefinition as Vr, HarnessContext as Vs, qualifyRef as Vt, WorkspaceParam as Vu, ConfigureExtensionConnectionInput as W, PageContribution as Wa, ActivityItemContribution as Wc, NotificationKind as Wd, normalizeBooleanViewRule as Wf, ExtensionNetApi as Wi, WEBVIEW_HOST_CAPABILITY_VERSION as Wl, HistoryRecoveryInput as Wn, DataTableRendererColumnStat as Wo, extensionPanelRegions as Wr, HarnessParamsSchema as Ws, PageUrlDefinition as Wt, SlotRef as Wu, ExtensionCommandPaletteContribution as X, PageOpenIntent as Xa, CommandPaletteResourceQueryParams as Xc, PackageAssetDescriptor as Xd, ViewSort as Xf, ExtensionSkillsApi as Xi, WebviewCommandsExecuteParams as Xl, splitHistoryTurns as Xn, DataTableRendererRowAction as Xo, CommandInvocation as Xr, HarnessCommandContext as Xs, serializeWorkbenchPageUrl as Xt, CreateSessionInput as Xu, LocalizableString as Y, PageMainView as Ya, CommandPaletteResourceItem as Yc, ExtensionResourcesApi as Yd, ViewFilterRule as Yf, ExtensionSettingsApi as Yi, WebviewCommandStreamEvent as Yl, reconcileMessageHistory as Yn, DataTableRendererRow as Yo, CommandHelpersApi as Yr, DraftHarnessCommandInput as Ys, serializePageUrl as Yt, ApprovalInput as Yu, ExtensionCommandRecord as Z, PageSlot as Za, CommandPaletteResourceQueryResult as Zc, RendererContext as Zd, ViewSortDirection as Zf, ExtensionStorageApi as Zi, WebviewCommandsStreamParams as Zl, submittedPrompt as Zn, DataTableRendererRowActivationHandler as Zo, CommandLifecycleEventPayload as Zr, HarnessCommandDiscoveryContext as Zs, resolveEventReferenceId as Zt, CreateSessionResponse as Zu, CreateProjectInput as _, EXTENSION_API_VERSION as _a, HarnessQuestionRequest as _c, UpdateQueuedFollowUpInput as _d, TerminalSessionOperation as _f, NavigationTargetHref as _i, WebviewContribution as _l, definePlacement as _n, PlacementPresentation as _o, sessionEvents as _r, ControlParam as _s, ListAutomationTokensResponse as _t, WebviewScopedDeclarableCapability as _u, RemoveWorktreeResponse as a, StorageScope as aa, HarnessApprovalChannel as ac, SessionAttachment as ad, ResourceRef as af, CommandRejectedEvent as ai, KeybindingChord as al, defineExtension as an, ControlsViewBody as ao, ListActivityResponse as ap, qualifyNavigationTarget as ar, ControlsRendererContribution as as, WorkbenchExtensionMetadata as at, WebviewHostCapability as au, FileRecord as b, ExtensionLoadScope as ba, HarnessRecoveryResult as bc, BoardSummary as bd, JsonObject as bf, NavigationTargetPanel as bi, KanbanRendererAttributeDescriptor as bl, defineSchedule as bn, PlacementTabPresentation as bo, workspaceEvents as br, DateControl as bs, WebviewArtifactsClient as bt, BooleanParam as bu, WorkspaceFileContent as c, CreateExtensionWorkspaceInput as ca, HarnessExit as cc, SessionConversationSources as cd, ResourceRole as cf, CommandRequestedEvent as ci, ModeContribution as cl, defineCommandPaletteResource as cn, KanbanViewBody as co, MergePayload as cr, ControlsUpdateValueInput as cs, AutomationRun as ct, WebviewHostCapabilityResults as cu, WorkspaceListItem as d, ExtensionWorkspaceProvider as da, HarnessParamValue as dc, CombineQueuedFollowUpsInput as dd, TerminalEvent as df, CommandTarget as di, SettingsSectionContribution as dl, defineHarness as dn, NavigationTreeContribution as do, WorkspaceProvisionPayload as dr, AnchorGridControl as ds, AutomationRunStatus as dt, WebviewNotificationActionParams as du, MigrationContext as ea, HarnessOperationResult as ec, ListSessionActivityInput as ed, ResourceAnchorChangeEvent as ef, CommandNotice as ei, ExtensionSettingScope as el, ExtensionViewRenderContext as en, PageSlotRegion as eo, AgentAvailabilityType as ep, defineSlot as er, DataTableRendererSettings as es, findViewFilterProblem as et, WebviewExtensionSettingSetParams as eu, WorkspaceProviderDescriptor as f, ExtensionWorkspacesApi as fa, HarnessParams as fc, PendingQueuedFollowUpsResponse as fd, TerminalHostEvent as ff, SerializedError as fi, SkillContribution as fl, defineKeybinding as fn, NavigationTreeSlot as fo, WorkspaceType as fr, AnchorGridValue as fs, AutomationTokenRecord as ft, WebviewNotificationDismissParams as fu, sessionAttachmentMimeTypesByExtension as g, CommandStreamDeclaration as ga, HarnessQuestionReplyError as gc, SteerQueuedFollowUpInput as gd, TerminalSessionHandle as gf, NavigationTargetCompound as gi, ThemeMode as gl, definePage as gn, PlacementPresence as go, projectSlots as gr, ControlGroup as gs, ListAutomationRunEventsResponse as gt, WebviewPreferencesSetParams as gu, UpdateSettingsInput as h, CommandDefinition as ha, HarnessQuestionOption as hc, QueuedSteeringResult as hd, TerminalSessionExit as hf, NavigationTargetCommand as hi, ThemeContribution as hl, defineNavigationTree as hn, PlacementMountStrategy as ho, projectEvents as hr, ColorControl as hs, IssueAutomationTokenResponse as ht, WebviewPreferencesGetParams as hu, ListWorkspaceFilesInput as i, SetupContext as ia, ApprovalResponse as ic, Session as id, ResourceAnchorValidationResult as if, CommandReject as ii, FileIconThemeContribution as il, GuestHost as in, PlacementOwner as io, harnessLocalId as ip, isNavigationTarget as ir, ControlsQueryResult as is, WorkbenchExtensionHarnessRecord as it, WebviewFilesUploadParams as iu, InstallExtensionResponse as j, WorkspaceExecutionTarget as ja, LoadingPart as jc, ExtensionConnectionsApi as jd, PageRef as jf, CommandMiddlewareContext as ji, KanbanRendererResourceRef as jl, defineWorkspaceType as jn, TreeRendererActionParams as jo, workbenchPages as jr, SegmentedControl as js, WebviewExtensionEvent as jt, ParamOption as ju, ExtensionDiagnosticsResponse as k, UiContributions as ka, ErrorPart as kc, ExtensionConnectionResponse as kd, ContributionRef as kf, ArtifactMount as ki, KanbanRendererQueryParams as kl, defineView as kn, TreeNodeRowVariant as ko, workbenchModes as kr, ResourceOption as ks, EXTENSION_EVENTS_SCOPE as kt, ParamDescriptor as ku, WorkspaceFileEntry as l, CreateWorkspaceCommandParams as la, HarnessExitStatus as lc, SessionQueuedMessagesResponse as ld, ViewHierarchyParent as lf, CommandSource as li, ModeRegionSettings as ll, defineConnection as ln, NavigationItemContribution as lo, RebasePayload as lr, ActionOption as ls, AutomationRunError as lt, WebviewKeyboardEventParams as lu, Settings as m, BehaviourContributions as ma, HarnessQuestionChannel as mc, QueuedFollowUpUpdateResponse as md, TerminalSessionError as mf, NavigationTarget as mi, TemplateTypeContribution as ml, defineNavigationItem as mn, PlacementItem as mo, gitEvents as mr, BooleanControl as ms, IssueAutomationTokenInput as mt, WebviewNotificationShowParams as mu, ListWorkspaceActivityInput as n, ProcessRunResult as na, AgentCapability as nc, ResolveSessionIdInput as nd, ResourceAnchorQuery as nf, CommandPatchParams as ni, ExtensionSettingValueType as nl, WebviewFilesClient as nn, PanelRef as no, AgentModel as np, eventRef as nr, ControlsApplyInput as ns, ListExtensionAppearanceResponse as nt, WebviewFilesDeleteParams as nu, RenameWorkspaceInput as o, WorkspaceFilesMount as oa, HarnessAttachment as oc, SessionAttachmentRef as od, ResourceRemovedEvent as of, CommandReplaceInvocation as oi, KeybindingContribution as ol, defineActivityItem as on, DataTableViewBody as oo, ListProjectActivityInput as op, CommitPayload as or, ControlsResetInput as os, WorkbenchExtensionViewBody as ot, WebviewHostCapabilityParams as ou, WriteWorkspaceFileInput as p, AssetContributions as pa, HarnessQuestion as pc, QueuedFollowUpRequest as pd, TerminalSessionAdapter$1 as pf, WorkbenchAttachmentInvocationContext as pi, TemplateContribution as pl, defineMode as pn, PlacementContribution as po, WorktreeRemovedPayload as pr, BaseControl as ps, CreateAutomationRunInput as pt, WebviewNotificationResolveParams as pu, ExtensionDiagnostic as q, PageMain as qa, CommandPaletteContribution as qc, NotificationStatus as qd, ViewFilterCondition as qf, ExtensionProcessApi as qi, WebviewArtifactsReadParams as ql, historyValueKey as qn, DataTableRendererQueryResult as qo, CommandDiagnostic as qr, HarnessStateApi as qs, parsePageUrl as qt, ExtensionSessionResource as qu, ListWorkspaceActivityResponse as r, RendererCallback as ra, ApprovalRequest as rc, ResolveSessionIdResponse as rd, ResourceAnchorValidationInput as rf, CommandRef as ri, ExtensionSettingsContribution as rl, defineExtensionView as rn, PlacementIdentity as ro, AgentSkillsLayout as rp, packageAsset as rr, ControlsQueryParams as rs, ListExtensionCommandsResponse as rt, WebviewFilesListParams as ru, Workspace as s, WorkspaceSyncFile as sa, HarnessEventSink as sc, SessionConversationResponse as sd, ResourceResolution as sf, CommandReplaceParams as si, MenuContribution as sl, defineArtifactMount as sn, FileViewBody as so, ConflictPayload as sr, ControlsResourceRef as ss, WorkbenchExtensionViewRecord as st, WebviewHostCapabilityResult as su, CreateWorkspaceInput as t, ProcessRunInput as ta, PreparedHarnessOperation as tc, ListSessionActivityResponse as td, ResourceAnchorPage as tf, CommandOutcome as ti, ExtensionSettingValueForType as tl, PropsStore as tn, PageSlotRole as to, AgentInfo as tp, commandRef as tr, DataTableRendererThemeColor as ts, viewFilterValueKind as tt, WebviewFileScope as tu, WorkspaceFilesResponse as u, ExtensionWorkspace as ua, HarnessMessagesInput as uc, SessionStatus as ud, TerminalBridge as uf, CommandStartedEvent as ui, SettingsPanelContribution as ul, defineFileIconTheme as un, NavigationOwnerRef as uo, SessionLifecyclePayload as ur, ActionsControl as us, AutomationRunEvent as ut, WebviewNavigationOpenParams as uu, Project as v, ExtensionConnectionContribution as va, HarnessReattachInput as vc, ExtensionViewsApi as vd, TerminalSessionRequest as vf, NavigationTargetItem as vi, WhenExpression as vl, defineResourceHierarchyProvider as vn, PlacementTabMenuGroup as vo, sessionSlots as vr, ControlValue as vs, projectPrefix as vt, RendererContributionBase as vu, ListExtensionSettingsResponse as w, MiddlewareDefinition as wa, HarnessSteeringInput as wc, BoardViews as wd, Struct as wf, FileRendererResourceRef as wi, KanbanRendererColumnAction as wl, defineStatusBarItem as wn, ViewContribution as wo, resolveDataTableFieldKind as wr, ParamEditorReadOnlyImage as ws, WebviewSettingsClient as wt, ListParam as wu, ExtensionSettingDefinitionRecord as x, ExtensionSourceKind as xa, HarnessResumeInput as xc, BoardView as xd, JsonPrimitive as xf, FileRendererContribution as xi, KanbanRendererAttributeDisplay as xl, defineSettingsPanel as xn, PlacementTabSnapshot as xo, workspaceSlots as xr, MarkdownControl as xs, WebviewClient as xt, FilesParam as xu, UpdateProjectInput as y, ExtensionDefinition as ya, HarnessRecoveryInput as yc, BoardField as yd, TerminalSessionResult as yf, NavigationTargetPage as yi, CollectionBadgeItem as yl, defineResourceKind as yn, PlacementTabMenuRow as yo, viewDataEvents as yr, ControlValueMap as ys, matchesResourceWhen as yt, RendererEventReference as yu, ProjectExtensionInstance as z, StatusActionDefinition as za, TextPart as zc, ListNotificationsQuery as zd, ViewRef as zf, ExtensionBlobRef as zi, KanbanRendererViewSettings as zl, CommandResponse as zn, TreeSectionEmptyState as zo, RegionSize as zr, ResourceBinding as zs, commandEvent as zt, TemplateParam as zu };
16024
+ export { WorkbenchExtensionAutomationRecord as $, PageSlotCardinality as $a, CommandPaletteResourceQueryParams as $c, NotificationOrigin as $d, VIEW_FILTER_CONDITIONS as $f, ExtensionStorageCollectionApi as $i, WebviewCommandsExecuteParams as $l, mergeOrderedHistory as $n, DataTableRendererSavedView as $o, CommandLifecyclePhase as $r, HarnessCommandContext as $s, ExtensionViewModule as $t, ExtensionSessionSummary as $u, InstallExtensionRequest as A, UiContributions as Aa, QuestionResponse as Ac, BoardViewUpdate as Ad, JsonValue as Af, ArtifactMount as Ai, KanbanRendererEnumOption as Al, defineView as An, TreeNodeRowVariant as Ao, workbenchModes as Ar, ReadOnlyControl as As, WebviewEventsClient as At, MultiSelectParam as Au, UpgradeProjectExtensionResponse as B, StatusActionDefinition as Ba, StepFinishPart as Bc, ExtensionLoggerApi as Bd, PlacementRef as Bf, ExtensionBlobRef as Bi, KanbanRendererSortDirection as Bl, CommandResponse as Bn, TreeSectionEmptyState as Bo, RegionSize as Br, VectorControl as Bs, commandEvent as Bt, ResourceParam as Bu, ExtensionSettingsPanelRecord as C, HookDefinition as Ca, HarnessRecoveryResult as Cc, SteerQueuedFollowUpInput as Cd, TerminalSessionExit as Cf, FileRendererLoadParams as Ci, KanbanRendererAttributeDescriptor as Cl, defineSettingsSection as Cn, TreeViewBody as Co, worktreeEvents as Cr, HarnessControlValue as Cs, WebviewCommandsClient as Ct, BooleanParam as Cu, ExtensionCommandPaletteResourceRecord as D, ProviderContributions as Da, HarnessSteeringInput as Dc, BoardSummary as Dd, TerminalSessionResult as Df, FileRendererSectionAnchor as Di, KanbanRendererColumnAction as Dl, defineTemplate as Dn, WebviewViewBody as Do, localContributionIdGrammar as Dr, ParamEditorReadOnlyImage as Ds, CommandStreamOptions as Dt, ListParam as Du, ExtensionKeybindingRecord as E, PackageManifest as Ea, HarnessStartInput as Ec, BoardField as Ed, TerminalSessionRequest as Ef, FileRendererSaveParams as Ei, KanbanRendererBoardColumnConfig as El, defineStatuses as En, ViewMenuContribution as Eo, isValidLocalContributionId as Er, ParamEditorReadOnlyContent as Es, CommandStream as Et, JsonParam as Eu, EnableInstalledExtensionResponse as F, WorkspaceProviderRef as Fa, PatchPart as Fc, ExtensionConnectionMethod as Fd, ContributionInput as Ff, CommandStreamWriter as Fi, KanbanRendererRow as Fl, defineHook as Fn, TreeRendererContribution as Fo, workbenchResourceKindDefinitions as Fr, SegmentedOption as Fs, TerminalSessionAdapter as Ft, ParamOptionSource as Fu, ExtensionConnectionRecord as G, PageContribution as Ga, ToolPartActionType as Gc, UpdateSkillInput as Gd, StatusRef as Gf, ExtensionNetApi as Gi, WEBVIEW_DECLARABLE_CAPABILITIES as Gl, HistoryRecoveryInput as Gn, DataTableRendererColumnStat as Go, extensionPanelRegions as Gr, HarnessDetectionResult as Gs, PageUrlDefinition as Gt, SlotInvocationContext as Gu, CommandExecuteResponse as H, StatusContribution as Ha, TextPart as Hc, Skill as Hd, SettingsSectionRef as Hf, ExtensionContextBase as Hi, KanbanRendererViewSettings as Hl, SDK_VERSION as Hn, DEFAULT_DATA_TABLE_SETTINGS as Ho, ResourceKindDefinition as Hr, ResourceBinding as Hs, qualifyRef as Ht, TemplateParam as Hu, InstallMarketplaceExtensionResponse as I, WorkspaceProviderResolveInput as Ia, ReasoningPart as Ic, ExtensionConnectionRequest as Id, ContributionKind as If, EventContext as Ii, KanbanRendererRowAction as Il, defineMiddleware as In, TreeRendererMoveParams as Io, workbenchResourceKinds as Ir, SelectionControl as Is, TerminalSessionBridge as It, ParamType as Iu, ExtensionRecord as J, PageMain as Ja, ArtifactMountContribution as Jc, ListNotificationsResponse as Jd, Localizable as Jf, ExtensionProcessApi as Ji, WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES as Jl, historyValueKey as Jn, DataTableRendererQueryResult as Jo, CommandDiagnostic as Jr, HarnessProvider as Js, parsePageUrl as Jt, UiSlotKind as Ju, ListExtensionConnectionsResponse as K, PageDocumentDeclaration as Ka, ToolPartStatus as Kc, CreateNotificationInput as Kd, ThemeRef as Kf, ExtensionNotifyApi as Ki, WEBVIEW_HOST_CAPABILITIES as Kl, HistoryRecoveryResult as Kn, DataTableRendererContribution as Ko, CommandCompletedEvent as Kr, HarnessParamDescriptor as Ks, ParsedWorkbenchPageUrl as Kt, SlotOptions as Ku, ListProjectExtensionsResponse as L, WorkspaceProviderResult as La, SessionMessage as Lc, ExtensionConnectionResponse as Ld, ContributionRef as Lf, ExtensionActivityApi as Li, KanbanRendererRowActivationHandler as Ll, streamOf as Ln, TreeRendererQueryParams as Lo, workbenchSlots as Lr, SelectionGroup as Ls, createTerminalSessionBridge as Lt, ParamValue as Lu, InstalledExtensionSource as M, WorkspaceExecutionTarget as Ma, ErrorPart as Mc, ArtifactChangedPayload as Md, Struct as Mf, CommandMiddlewareContext as Mi, KanbanRendererQueryParams as Ml, defineWorkspaceType as Mn, TreeRendererActionParams as Mo, workbenchPages as Mr, ResourceOption as Ms, ArtifactMountKey as Mt, ParamDescriptor as Mu, AddLocalExtensionFolderResponse as N, WorkspaceProviderCreateInput as Na, FilePart as Nc, EventDeliveryResult as Nd, ConnectionRef as Nf, CommandMiddlewareHandler as Ni, KanbanRendererQueryResult as Nl, resourceMenuSlotRef as Nn, TreeRendererChildrenParams as No, workbenchPanelDefinitions as Nr, ResourceRefValue as Ns, artifactMountId as Nt, ParamObjectSchema as Nu, WorkbenchExtensionCommandPaletteResourceRecord as O, ScheduleContribution as Oa, HarnessSteeringResult as Oc, BoardView as Od, JsonObject as Of, FileRendererSectionTarget as Oi, KanbanRendererContribution as Ol, defineTemplateType as On, TreeAction as Oo, localContributionIdPattern as Or, RangeControl as Os, WebviewStreamsClient as Ot, LongTextParam as Ou, EnableInstalledExtensionRequest as P, WorkspaceProviderMutationInput as Pa, LoadingPart as Pc, EventRef as Pd, ContributionDefinition as Pf, CommandRunHandler as Pi, KanbanRendererResourceRef as Pl, defineCommand as Pn, TreeRendererCommandResult as Po, workbenchPanels as Pr, SegmentedControl as Ps, artifactsRead as Pt, ParamOption as Pu, ExtensionMenuContribution as Q, PageSlot as Qa, CommandPaletteResourceItem as Qc, NotificationKind as Qd, normalizeBooleanViewRule as Qf, ExtensionStorageApi as Qi, WebviewCommandStreamEvent as Ql, submittedPrompt as Qn, DataTableRendererRowActivationHandler as Qo, CommandLifecycleEventPayload as Qr, DraftHarnessCommandInput as Qs, resolveEventReferenceId as Qt, ExtensionSessionResource as Qu, MarketplaceExtension as R, WorkspaceProviderState as Ra, SessionMessagePart as Rc, ExtensionConnectionStreamEvent as Rd, ModeRef as Rf, ExtensionArtifactApi as Ri, KanbanRendererSavedView as Rl, commandRefId as Rn, TreeRendererResourceRef as Ro, DockedWorkbenchRegion as Rr, SelectionOption as Rs, resourceKey as Rt, ParamValueRef as Ru, ExtensionSettingValueRecord as S, ExtensionSourceKind as Sa, HarnessRecoveryInput as Sc, QueuedSteeringResult as Sd, TerminalSessionError as Sf, FileRendererContribution as Si, CollectionBadgeItem as Sl, defineSettingsPanel as Sn, PlacementTabSnapshot as So, workspaceSlots as Sr, HarnessControl as Ss, WebviewClientOptions as St, RendererEventReference as Su, UpdateExtensionSettingRequest as T, MiddlewareDefinition as Ta, HarnessSession as Tc, ExtensionViewsApi as Td, TerminalSessionOperation as Tf, FileRendererResourceRef as Ti, KanbanRendererAttributeType as Tl, defineStatusBarItem as Tn, ViewContribution as To, resolveDataTableFieldKind as Tr, NumberControl as Ts, createWebviewClient as Tt, HarnessParam as Tu, DispatchExtensionEventInput as U, WorkflowStatus as Ua, TokenUsagePart as Uc, SkillFile as Ud, SettingsSlotRef as Uf, ExtensionEventsApi as Ui, ViewToolbarAction as Ul, HistoryConflict as Un, DataTableRendererColumn as Uo, ResourceMenuSlotDefinition as Ur, ResourceConstraint as Us, params as Ut, TextParam as Uu, CommandExecuteRequest as V, StatusBarItemContribution as Va, StepStartPart as Vc, ExtensionAutomationApi as Vd, ResourceKindRef as Vf, ExtensionBlobsApi as Vi, KanbanRendererViewMode as Vl, unwrapCommandOutcome as Vn, TreeViewSection as Vo, ResourceHierarchyProvider as Vr, VectorValue as Vs, QualifiedRef as Vt, SelectParam as Vu, ConfigureExtensionConnectionInput as W, FileSourcePosition as Wa, ToolPart as Wc, SkillWithContent as Wd, StatusBarSlotRef as Wf, ExtensionFilesApi as Wi, ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES as Wl, HistoryProjection as Wn, DataTableRendererColumnRenderer as Wo, dockedWorkbenchRegions as Wr, HarnessContext as Ws, defaultPageResourceCodec as Wt, WorkspaceParam as Wu, ExtensionCommandPaletteContribution as X, PageMainView as Xa, CommandPaletteContribution as Xc, NotificationAction as Xd, isLocalizedString as Xf, ExtensionSettingsApi as Xi, WebviewArtifactsReadParams as Xl, reconcileMessageHistory as Xn, DataTableRendererRow as Xo, CommandHelpersApi as Xr, HarnessStateApi as Xs, serializePageUrl as Xt, ExtensionSessionPage as Xu, LocalizableString as Y, PageMainPanels as Ya, CliContribution as Yc, Notification as Yd, LocalizedString as Yf, ExtensionProjectContext as Yi, WebviewArtifactFile as Yl, mergeHistoryMetadata as Yn, DataTableRendererResourceRef as Yo, CommandFailedEvent as Yr, HarnessSkillsLayout as Ys, parseWorkbenchPageUrl as Yt, ExtensionHarnessInput as Yu, ExtensionCommandRecord as Z, PageOpenIntent as Za, CommandPaletteResourceContribution as Zc, NotificationActorType as Zd, l10n as Zf, ExtensionSkillsApi as Zi, WebviewCapabilityDeclaration as Zl, splitHistoryTurns as Zn, DataTableRendererRowAction as Zo, CommandInvocation as Zr, RetryableHarnessReattachError as Zs, serializeWorkbenchPageUrl as Zt, ExtensionSessionQuery as Zu, CreateProjectInput as _, CommandStreamDeclaration as _a, HarnessQuestionChannel as _c, SessionStatus as _d, ViewHierarchyParent as _f, NavigationTargetCompound as _i, TemplateTypeContribution as _l, definePage as _n, PlacementPresence as _o, projectSlots as _r, ControlGroup as _s, ListAutomationTokensResponse as _t, WebviewNotificationShowParams as _u, RemoveWorktreeResponse as a, SetupContext as aa, AgentCapability as ac, FollowUpInput as ad, RendererContext as af, CommandReject as ai, ExtensionSettingValueType as al, GuestHost as an, PlacementOwner as ao, ViewSortDirection as ap, isNavigationTarget as ar, ControlsQueryResult as as, WorkbenchExtensionMetadata as at, WebviewFilesDeleteParams as au, FileRecord as b, ExtensionDefinition as ba, HarnessQuestionRequest as bc, QueuedFollowUpRequest as bd, TerminalHostEvent as bf, NavigationTargetPage as bi, WebviewContribution as bl, defineResourceKind as bn, PlacementTabMenuRow as bo, viewDataEvents as br, ControlValueMap as bs, WebviewArtifactsClient as bt, WebviewScopedDeclarableCapability as bu, WorkspaceFileContent as c, WorkspaceSyncFile as ca, HarnessApprovalChannel as cc, ListSessionActivityResponse as cd, ResourceAnchorChangeEvent as cf, CommandReplaceParams as ci, KeybindingChord as cl, defineArtifactMount as cn, FileViewBody as co, AgentAvailabilityType as cp, ConflictPayload as cr, ControlsResourceRef as cs, AutomationRun as ct, WebviewHostCapability as cu, WorkspaceListItem as d, ExtensionWorkspace as da, HarnessExit as dc, Session as dd, ResourceAnchorValidationInput as df, CommandStartedEvent as di, ModeContribution as dl, defineFileIconTheme as dn, NavigationOwnerRef as do, AgentSkillsLayout as dp, SessionLifecyclePayload as dr, ActionsControl as ds, AutomationRunStatus as dt, WebviewHostCapabilityResults as du, ExtensionTerminalApi as ea, HarnessCommandDiscoveryContext as ec, ExtensionSessionUsage as ed, NotificationPriority as ef, CommandMiddlewareResult as ei, CommandPaletteResourceQueryResult as el, ExtensionViewRender as en, PageSlotRef as eo, ViewFieldKind as ep, isFileSourcePosition as er, DataTableRendererSelectionAction as es, findViewFilterProblem as et, WebviewCommandsStreamParams as eu, WorkspaceProviderDescriptor as f, ExtensionWorkspaceProvider as fa, HarnessExitStatus as fc, SessionAttachment as fd, ResourceAnchorValidationResult as ff, CommandTarget as fi, ModeRegionSettings as fl, defineHarness as fn, NavigationTreeContribution as fo, harnessLocalId as fp, WorkspaceProvisionPayload as fr, AnchorGridControl as fs, AutomationTokenRecord as ft, WebviewKeyboardEventParams as fu, sessionAttachmentMimeTypesByExtension as g, CommandDefinition as ga, HarnessQuestion as gc, SessionQueuedMessagesResponse as gd, ResourceRole as gf, NavigationTargetCommand as gi, TemplateContribution as gl, defineNavigationTree as gn, PlacementMountStrategy as go, projectEvents as gr, ColorControl as gs, ListAutomationRunEventsResponse as gt, WebviewNotificationResolveParams as gu, UpdateSettingsInput as h, BehaviourContributions as ha, HarnessParams as hc, SessionConversationSources as hd, ResourceResolution as hf, NavigationTarget as hi, SkillContribution as hl, defineNavigationItem as hn, PlacementItem as ho, gitEvents as hr, BooleanControl as hs, IssueAutomationTokenResponse as ht, WebviewNotificationDismissParams as hu, ListWorkspaceFilesInput as i, RendererCallback as ia, PreparedHarnessOperation as ic, CreateSessionResponse as id, PackageAssetDescriptor as if, CommandRef as ii, ExtensionSettingValueForType as il, defineExtensionView as in, PlacementIdentity as io, ViewSort as ip, packageAsset as ir, ControlsQueryParams as is, WorkbenchExtensionHarnessRecord as it, WebviewFileScope as iu, InstallExtensionResponse as j, WorkspaceCapabilities as ja, TimeoutStrategy as jc, BoardViews as jd, MaybePromise as jf, CommandContext as ji, KanbanRendererFilterState as jl, defineViewMenu as jn, TreeNodeTarget as jo, workbenchPageDefinitions as jr, ResourceControl as js, WebviewExtensionEvent as jt, NumberParam as ju, ExtensionDiagnosticsResponse as k, ScheduleExpression as ka, JsonPatch as kc, BoardViewCreate as kd, JsonPrimitive as kf, ArtifactFile as ki, KanbanRendererCreateRowContribution as kl, defineTheme as kn, TreeNode as ko, workbenchModeDefinitions as kr, RangeValue as ks, EXTENSION_EVENTS_SCOPE as kt, MarkdownParam as ku, WorkspaceFileEntry as l, CreateExtensionWorkspaceInput as la, HarnessAttachment as lc, ResolveSessionIdInput as ld, ResourceAnchorPage as lf, CommandRequestedEvent as li, KeybindingContribution as ll, defineCommandPaletteResource as ln, KanbanViewBody as lo, AgentInfo as lp, MergePayload as lr, ControlsUpdateValueInput as ls, AutomationRunError as lt, WebviewHostCapabilityParams as lu, Settings as m, AssetContributions as ma, HarnessParamValue as mc, SessionConversationResponse as md, ResourceRemovedEvent as mf, WorkbenchAttachmentInvocationContext as mi, SettingsSectionContribution as ml, defineMode as mn, PlacementContribution as mo, ListProjectActivityInput as mp, WorktreeRemovedPayload as mr, BaseControl as ms, IssueAutomationTokenInput as mt, WebviewNotificationActionParams as mu, ListWorkspaceActivityInput as n, ProcessRunInput as na, HarnessOperation as nc, ApprovalInput as nd, UpdateNotificationInput as nf, CommandOutcome as ni, ExtensionSettingProperty as nl, PropsStore as nn, PageSlotRole as no, ViewFilterGroup as np, commandRef as nr, DataTableRendererThemeColor as ns, ListExtensionAppearanceResponse as nt, WebviewExtensionSettingKeyParams as nu, RenameWorkspaceInput as o, StorageScope as oa, ApprovalRequest as oc, FollowUpResponse as od, RendererInvocationContext as of, CommandRejectedEvent as oi, ExtensionSettingsContribution as ol, defineExtension as on, ControlsViewBody as oo, parseExtensionApiDeclaration as op, qualifyNavigationTarget as or, ControlsRendererContribution as os, WorkbenchExtensionViewBody as ot, WebviewFilesListParams as ou, WriteWorkspaceFileInput as p, ExtensionWorkspacesApi as pa, HarnessMessagesInput as pc, SessionAttachmentRef as pd, ResourceRef as pf, SerializedError as pi, SettingsPanelContribution as pl, defineKeybinding as pn, NavigationTreeSlot as po, ListActivityResponse as pp, WorkspaceType as pr, AnchorGridValue as ps, CreateAutomationRunInput as pt, WebviewNavigationOpenParams as pu, ExtensionDiagnostic as q, PageLocation as qa, ActivityItemContribution as qc, ListNotificationsQuery as qd, ViewRef as qf, ExtensionPackageFilesApi as qi, WEBVIEW_HOST_CAPABILITY_VERSION as ql, historyMessageKey as qn, DataTableRendererQueryParams as qo, CommandContinue as qr, HarnessParamsSchema as qs, isWorkbenchProjectUrl as qt, SlotRef as qu, ListWorkspaceActivityResponse as r, ProcessRunResult as ra, HarnessOperationResult as rc, CreateSessionInput as rd, ExtensionResourcesApi as rf, CommandPatchParams as ri, ExtensionSettingScope as rl, WebviewFilesClient as rn, PanelRef as ro, ViewFilterRule as rp, eventRef as rr, ControlsApplyInput as rs, ListExtensionCommandsResponse as rt, WebviewExtensionSettingSetParams as ru, Workspace as s, WorkspaceFilesMount as sa, ApprovalResponse as sc, ListSessionActivityInput as sd, ResourceAnchor as sf, CommandReplaceInvocation as si, FileIconThemeContribution as sl, defineActivityItem as sn, DataTableViewBody as so, supportsExtensionApiVersion as sp, CommitPayload as sr, ControlsResetInput as ss, WorkbenchExtensionViewRecord as st, WebviewFilesUploadParams as su, CreateWorkspaceInput as t, MigrationContext as ta, HarnessCommandState as tc, ExtensionSessionsApi as td, NotificationStatus as tf, CommandNotice as ti, CommandPaletteResourceTarget as tl, ExtensionViewRenderContext as tn, PageSlotRegion as to, ViewFilterCondition as tp, defineSlot as tr, DataTableRendererSettings as ts, viewFilterValueKind as tt, WebviewDeclarableCapability as tu, WorkspaceFilesResponse as u, CreateWorkspaceCommandParams as ua, HarnessEventSink as uc, ResolveSessionIdResponse as ud, ResourceAnchorQuery as uf, CommandSource as ui, MenuContribution as ul, defineConnection as un, NavigationItemContribution as uo, AgentModel as up, RebasePayload as ur, ActionOption as us, AutomationRunEvent as ut, WebviewHostCapabilityResult as uu, Project as v, EXTENSION_API_VERSION as va, HarnessQuestionOption as vc, CombineQueuedFollowUpsInput as vd, TerminalBridge as vf, NavigationTargetHref as vi, ThemeContribution as vl, definePlacement as vn, PlacementPresentation as vo, sessionEvents as vr, ControlParam as vs, projectPrefix as vt, WebviewPreferencesGetParams as vu, ListExtensionSettingsResponse as w, LocalExtensionSource as wa, HarnessResumeInput as wc, UpdateQueuedFollowUpInput as wd, TerminalSessionHandle as wf, FileRendererLoadResult as wi, KanbanRendererAttributeDisplay as wl, defineSkill as wn, ViewBody as wo, resolveDataTableComparableValue as wr, MarkdownControl as ws, WebviewSettingsClient as wt, FilesParam as wu, ExtensionSettingDefinitionRecord as x, ExtensionLoadScope as xa, HarnessReattachInput as xc, QueuedFollowUpUpdateResponse as xd, TerminalSessionAdapter$1 as xf, NavigationTargetPanel as xi, WhenExpression as xl, defineSchedule as xn, PlacementTabPresentation as xo, workspaceEvents as xr, DateControl as xs, WebviewClient as xt, RendererContributionBase as xu, UpdateProjectInput as y, ExtensionConnectionContribution as ya, HarnessQuestionReplyError as yc, PendingQueuedFollowUpsResponse as yd, TerminalEvent as yf, NavigationTargetItem as yi, ThemeMode as yl, defineResourceHierarchyProvider as yn, PlacementTabMenuGroup as yo, sessionSlots as yr, ControlValue as ys, matchesResourceWhen as yt, WebviewPreferencesSetParams as yu, ProjectExtensionInstance as z, WorkspaceTypeProvider as za, SessionMessageRole as zc, ExtensionConnectionsApi as zd, PageRef as zf, ExtensionBlobInput as zi, KanbanRendererSettings as zl, contributionRefId as zn, TreeRendererState as zo, ExtensionPanelRegion as zr, TextControl as zs, artifactChanged as zt, ParamsOf as zu };
15865
16025
  export {};
@@ -1,6 +1,6 @@
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";
1
+ import { A as InstallExtensionRequest, Ad as BoardViewUpdate, Af as JsonValue, B as UpgradeProjectExtensionResponse, Cd as SteerQueuedFollowUpInput, F as EnableInstalledExtensionResponse, G as ExtensionConnectionRecord, Gd as UpdateSkillInput, H as CommandExecuteResponse, Hd as Skill, Jd as ListNotificationsResponse, K as ListExtensionConnectionsResponse, Kd as CreateNotificationInput, L as ListProjectExtensionsResponse, P as EnableInstalledExtensionRequest, Qs as DraftHarnessCommandInput, Sd as QueuedSteeringResult, U as DispatchExtensionEventInput, V as CommandExecuteRequest, W as ConfigureExtensionConnectionInput, Wd as SkillWithContent, Yd as Notification, _ as CreateProjectInput, _t as ListAutomationTokensResponse, a as RemoveWorktreeResponse, ad as FollowUpInput, c as WorkspaceFileContent, cd as ListSessionActivityResponse, ct as AutomationRun, dd as Session, f as WorkspaceProviderDescriptor, fd as SessionAttachment, gd as SessionQueuedMessagesResponse, gt as ListAutomationRunEventsResponse, h as UpdateSettingsInput, hd as SessionConversationSources, ht as IssueAutomationTokenResponse, i as ListWorkspaceFilesInput, id as CreateSessionResponse, j as InstallExtensionResponse, k as ExtensionDiagnosticsResponse, kd as BoardViewCreate, l as WorkspaceFileEntry, ld as ResolveSessionIdInput, lf as ResourceAnchorPage, lp as AgentInfo, m as Settings, md as SessionConversationResponse, mp as ListProjectActivityInput, mt as IssueAutomationTokenInput, n as ListWorkspaceActivityInput, nc as HarnessOperation, nd as ApprovalInput, nf as UpdateNotificationInput, nt as ListExtensionAppearanceResponse, o as RenameWorkspaceInput, od as FollowUpResponse, p as WriteWorkspaceFileInput, pf as ResourceRef, pp as ListActivityResponse, pt as CreateAutomationRunInput, qd as ListNotificationsQuery, r as ListWorkspaceActivityResponse, rd as CreateSessionInput, rt as ListExtensionCommandsResponse, sd as ListSessionActivityInput, sf as ResourceAnchor, t as CreateWorkspaceInput, tc as HarnessCommandState, tf as NotificationStatus, u as WorkspaceFilesResponse, ud as ResolveSessionIdResponse, uf as ResourceAnchorQuery, up as AgentModel, v as Project, vd as CombineQueuedFollowUpsInput, wd as UpdateQueuedFollowUpInput, xd as QueuedFollowUpUpdateResponse, y as UpdateProjectInput, yd as PendingQueuedFollowUpsResponse } from "./index-O1fonn3r.js";
2
+ import "./skills-JpOJxxrL.js";
3
+ import { n as WorkspaceListItem, t as Workspace } from "./index-Ccv53OmE.js";
4
4
  //#region src/client/request.d.ts
5
5
  type ClientOptions = {
6
6
  baseUrl?: string;
@@ -493,6 +493,11 @@ type ListSessionsInput = {
493
493
  agent?: string;
494
494
  workspaceId?: string;
495
495
  archived?: boolean;
496
+ createdFrom?: string;
497
+ createdTo?: string;
498
+ updatedFrom?: string;
499
+ anchorType?: string;
500
+ anchorId?: string;
496
501
  };
497
502
  type SessionClient = {
498
503
  getDraftHarnessCommands(input: DraftHarnessCommandInput, signal?: AbortSignal): Promise<HarnessCommandState & {
@@ -6255,6 +6255,15 @@ var listActivityResponseSchema = object({
6255
6255
  events: array(activityEventSchema),
6256
6256
  next_cursor: string2().nullable()
6257
6257
  });
6258
+ // ../pstdio-api-contracts/src/harness.ts
6259
+ var AGENT_CAPABILITIES = [
6260
+ "SessionFork",
6261
+ "ContextUsage",
6262
+ "Approvals",
6263
+ "SessionReattach",
6264
+ "Attachments"
6265
+ ];
6266
+
6258
6267
  // ../pstdio-api-contracts/src/agents.ts
6259
6268
  var agentAvailabilityTypeSchema = _enum(["INSTALLED", "NOT_FOUND"]);
6260
6269
  var agentSkillsLayoutSchema = object({
@@ -6289,7 +6298,9 @@ var agentInfoSchema = object({
6289
6298
  reason: string2().optional()
6290
6299
  }),
6291
6300
  skills: agentSkillsLayoutSchema.optional(),
6292
- params: harnessParamsSchema.optional()
6301
+ params: harnessParamsSchema.optional(),
6302
+ capabilities: array(_enum(AGENT_CAPABILITIES)),
6303
+ supportsModels: boolean2()
6293
6304
  });
6294
6305
  var agentModelSchema = object({
6295
6306
  id: string2(),
@@ -6418,7 +6429,8 @@ var extensionArtifactMountSchema = object({
6418
6429
  extensionId: string2(),
6419
6430
  relativePath: string2(),
6420
6431
  fullPath: string2(),
6421
- label: localizableStringSchema
6432
+ label: localizableStringSchema,
6433
+ watch: boolean2()
6422
6434
  });
6423
6435
  // ../pstdio-api-contracts/src/extension-kernel/workbench-targets.ts
6424
6436
  var workbenchMenuTargets = ["workbench.nav.actions", "workbench.nav.overflow"];
@@ -6779,6 +6791,11 @@ var base = { id: string2(), name: string2(), description: string2().optional(),
6779
6791
  var numeric = { min: number2().optional(), max: number2().optional(), step: number2().optional() };
6780
6792
  var vector = strictObject({ x: number2(), y: number2() });
6781
6793
  var range = tuple([number2(), number2()]);
6794
+ var harness = strictObject({
6795
+ harnessId: string2().min(1),
6796
+ model: string2().optional(),
6797
+ params: record(string2(), union([string2(), boolean2()])).optional()
6798
+ });
6782
6799
  var selectionValue = union([string2(), array(string2())]);
6783
6800
  var selectionOption = strictObject({
6784
6801
  id: string2(),
@@ -6803,9 +6820,10 @@ var readOnlyContent = union([
6803
6820
  image.extend({ type: literal("image") }),
6804
6821
  strictObject({ type: literal("image-gallery"), images: array(image) })
6805
6822
  ]);
6806
- var controlValueSchema = union([primitive, array(string2()), range, vector]);
6823
+ var controlValueSchema = union([primitive, array(string2()), range, vector, harness]);
6807
6824
  var controlValuesSchema = record(string2(), controlValueSchema);
6808
6825
  var controlParamSchema = discriminatedUnion("type", [
6826
+ strictObject({ ...base, type: literal("harness"), defaultValue: harness }),
6809
6827
  strictObject({ ...base, ...numeric, type: literal("number"), defaultValue: number2() }),
6810
6828
  strictObject({ ...base, type: literal("boolean"), defaultValue: boolean2() }),
6811
6829
  strictObject({ ...base, type: literal("text"), defaultValue: string2(), singleLine: boolean2().optional() }),
@@ -8244,7 +8262,7 @@ var packageAsset = (path, baseUrl) => ({
8244
8262
  baseUrl
8245
8263
  });
8246
8264
  // ../pstdio-api-contracts/src/extension-kernel/types/extension.ts
8247
- var EXTENSION_API_VERSION = "0.1.2";
8265
+ var EXTENSION_API_VERSION = "0.1.3";
8248
8266
  // ../pstdio-api-contracts/src/extension-kernel/types/webview-capabilities.ts
8249
8267
  var WEBVIEW_HOST_CAPABILITY_VERSION = 1;
8250
8268
  var WEBVIEW_DECLARABLE_CAPABILITIES = [
@@ -8842,6 +8860,12 @@ var sessionStatusSchema = _enum([
8842
8860
  "cancelled",
8843
8861
  "disconnected"
8844
8862
  ]);
8863
+ var sessionUsageSchema = object({
8864
+ input_tokens: number2(),
8865
+ output_tokens: number2(),
8866
+ cache_read_tokens: number2(),
8867
+ cache_write_tokens: number2()
8868
+ });
8845
8869
  var sessionSchema = object({
8846
8870
  id: string2(),
8847
8871
  project_id: string2().nullable(),
@@ -8857,6 +8881,8 @@ var sessionSchema = object({
8857
8881
  original_session_id: string2().nullable(),
8858
8882
  cwd: string2().nullable(),
8859
8883
  params_json: harnessParamsInputSchema.nullable(),
8884
+ usage_json: sessionUsageSchema.nullable().optional(),
8885
+ workspace_id: string2().nullable().optional(),
8860
8886
  anchors_json: array(extensionResourceRefSchema),
8861
8887
  created_at: string2(),
8862
8888
  updated_at: string2()
@@ -8877,7 +8903,7 @@ var sessionAttachmentSchema = object({
8877
8903
  var createSessionInputSchema = object({
8878
8904
  project_id: string2().min(1),
8879
8905
  title: string2().min(1),
8880
- prompt: string2().min(1).optional(),
8906
+ prompt: string2().optional(),
8881
8907
  operation: harnessOperationSchema.optional(),
8882
8908
  agent: string2().min(1).optional(),
8883
8909
  workspace_id: string2().optional(),
@@ -1,4 +1,4 @@
1
- import { Fd as SkillFile, Id as SkillWithContent, Pd as Skill, b as FileRecord, ep as AgentAvailabilityType, id as Session, ip as harnessLocalId, m as Settings, np as AgentModel, rp as AgentSkillsLayout, tp as AgentInfo, ud as SessionStatus, v as Project } from "./index-DKb6w-4h.js";
2
- import { n as WorkspaceListItem, t as Workspace } from "./index-CBZam0c-.js";
1
+ import { Hd as Skill, Ud as SkillFile, Wd as SkillWithContent, _d as SessionStatus, b as FileRecord, cp as AgentAvailabilityType, dd as Session, dp as AgentSkillsLayout, fp as harnessLocalId, lp as AgentInfo, m as Settings, up as AgentModel, v as Project } from "./index-O1fonn3r.js";
2
+ import { n as WorkspaceListItem, t as Workspace } from "./index-Ccv53OmE.js";
3
3
  export { type AgentAvailabilityType, type AgentInfo, type AgentModel, type AgentSkillsLayout, type FileRecord, type Project, type Session, type SessionStatus, type Settings, type Skill, type SkillFile, type SkillWithContent, type Workspace, type WorkspaceListItem, harnessLocalId };
4
4
  export {};
@@ -0,0 +1,2 @@
1
+ import "./index-O1fonn3r.js";
2
+ export {};
@@ -0,0 +1,2 @@
1
+ import "./index-O1fonn3r.js";
2
+ export {};
@@ -100,6 +100,7 @@ var makeCommandContext = (input) => {
100
100
  getByShorthand: async () => null
101
101
  },
102
102
  sessions: {
103
+ query: async () => ({ items: [], nextCursor: null }),
103
104
  list: async () => [],
104
105
  listByWorkspace: async () => [],
105
106
  addAnchors: async () => {},
package/dist/testing.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { $d as ResourceAnchor, Ai as CommandContext, Sf as JsonValue, Yd as ExtensionResourcesApi, Zi as ExtensionStorageApi, af as ResourceRef, ki as ArtifactMount, nf as ResourceAnchorQuery } from "./index-DKb6w-4h.js";
1
+ import { Af as JsonValue, Ai as ArtifactMount, Qi as ExtensionStorageApi, ji as CommandContext, pf as ResourceRef, rf as ExtensionResourcesApi, sf as ResourceAnchor, uf as ResourceAnchorQuery } from "./index-O1fonn3r.js";
2
2
  //#region src/testing/command-context.d.ts
3
3
  type CommandContextOverrides = { [K in keyof CommandContext]?: Partial<CommandContext[K]>; };
4
4
  interface CommandContextInput<TParams extends Record<string, unknown>> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pstdio/sdk",
3
- "version": "0.42.0",
3
+ "version": "0.43.0-nightly.20261011212112",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/pufflyai/prompt-studio"
@@ -1,2 +0,0 @@
1
- import "./index-DKb6w-4h.js";
2
- export {};
@@ -1,2 +0,0 @@
1
- import "./index-DKb6w-4h.js";
2
- export {};