@pstdio/sdk 0.43.1 → 0.44.0-nightly.20261016075735

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
@@ -6539,7 +6539,9 @@ var extensionMenuContributionSchema = object({
6539
6539
  icon: string2().optional(),
6540
6540
  presentation: _enum(["menu-item", "button", "icon-button"]).optional(),
6541
6541
  params: jsonObjectSchema.optional(),
6542
- when: extensionWhenExpressionSchema.optional()
6542
+ when: extensionWhenExpressionSchema.optional(),
6543
+ disabledWhen: extensionWhenExpressionSchema.optional(),
6544
+ disabledReason: localizableStringSchema.optional()
6543
6545
  });
6544
6546
  var extensionCommandPaletteContributionSchema = object({
6545
6547
  id: string2(),
@@ -6640,6 +6642,120 @@ var isFileSourcePosition = (value) => {
6640
6642
  return true;
6641
6643
  };
6642
6644
 
6645
+ // ../pstdio-api-contracts/src/extension-kernel/page-params.ts
6646
+ var reserved = new Set(["resource", "section", "document", "line", "column", "endLine", "endColumn"]);
6647
+ var invalid = (name) => new Error(`page_param_invalid: ${name}`);
6648
+ var equal = (left, right) => JSON.stringify(left) === JSON.stringify(right);
6649
+ var isPageParamValue = (definition, value) => {
6650
+ if (definition.type === "string[]")
6651
+ return Array.isArray(value) && value.every((item) => typeof item === "string");
6652
+ if (definition.type === "string")
6653
+ return typeof value === "string" && (!definition.values || definition.values.includes(value));
6654
+ if (definition.type === "number")
6655
+ return typeof value === "number" && Number.isFinite(value);
6656
+ return typeof value === "boolean";
6657
+ };
6658
+ var validatePageParamDefinitions = (definitions = {}) => {
6659
+ if (Object.keys(definitions).length > 32)
6660
+ throw invalid("at most 32 params");
6661
+ for (const [name, definition] of Object.entries(definitions)) {
6662
+ if (name.length > 64 || !/^[a-z][a-z0-9-]*$/.test(name) || reserved.has(name))
6663
+ throw new Error(`page_param_reserved: ${name}`);
6664
+ if (definition.default !== undefined && !isPageParamValue(definition, definition.default))
6665
+ throw invalid(name);
6666
+ }
6667
+ };
6668
+ var validateNames = (definitions, values) => {
6669
+ for (const name of Object.keys(values))
6670
+ if (!Object.hasOwn(definitions, name))
6671
+ throw invalid(name);
6672
+ };
6673
+ var normalizePageParams = (definitions = {}, values = {}, strict = true) => {
6674
+ const result = {};
6675
+ if (strict)
6676
+ validateNames(definitions, values);
6677
+ for (const name of Object.keys(definitions)) {
6678
+ if (!Object.hasOwn(values, name))
6679
+ continue;
6680
+ const value = values[name];
6681
+ const definition = definitions[name];
6682
+ if (!isPageParamValue(definition, value)) {
6683
+ if (strict)
6684
+ throw invalid(name);
6685
+ continue;
6686
+ }
6687
+ if (equal(value, definition.default) || Array.isArray(value) && !value.length)
6688
+ continue;
6689
+ result[name] = Array.isArray(value) ? Object.freeze([...value]) : value;
6690
+ }
6691
+ const params = Object.keys(result).length ? Object.freeze(result) : undefined;
6692
+ if (pageParamsQuery(definitions, params).toString().length > 2048) {
6693
+ if (strict)
6694
+ throw invalid("query exceeds 2048 characters");
6695
+ return;
6696
+ }
6697
+ return params;
6698
+ };
6699
+ var resolvePageParams = (definitions = {}, params) => {
6700
+ const result = {};
6701
+ for (const [name, definition] of Object.entries(definitions)) {
6702
+ if (definition.default !== undefined)
6703
+ result[name] = Array.isArray(definition.default) ? Object.freeze([...definition.default]) : definition.default;
6704
+ }
6705
+ return Object.freeze({ ...result, ...params });
6706
+ };
6707
+ var pageParamsQuery = (definitions = {}, params) => {
6708
+ const query = new URLSearchParams;
6709
+ for (const name of Object.keys(definitions)) {
6710
+ const value = params?.[name];
6711
+ if (value === undefined)
6712
+ continue;
6713
+ for (const item of Array.isArray(value) ? value : [value])
6714
+ query.append(name, String(item));
6715
+ }
6716
+ return query;
6717
+ };
6718
+ var parsePageParams = (definitions = {}, query) => {
6719
+ const values = {};
6720
+ for (const [name, definition] of Object.entries(definitions)) {
6721
+ const items = query.getAll(name);
6722
+ if (!items.length || definition.type !== "string[]" && items.length !== 1)
6723
+ continue;
6724
+ const raw = items[0];
6725
+ if (definition.type === "string[]")
6726
+ values[name] = items;
6727
+ else if (definition.type === "number") {
6728
+ if (String(Number(raw)) === raw)
6729
+ values[name] = Number(raw);
6730
+ } else if (definition.type === "boolean") {
6731
+ if (raw === "true" || raw === "false")
6732
+ values[name] = raw === "true";
6733
+ } else
6734
+ values[name] = raw;
6735
+ }
6736
+ const params = normalizePageParams(definitions, values, false);
6737
+ return pageParamsQuery(definitions, params).toString().length <= 2048 ? params : undefined;
6738
+ };
6739
+
6740
+ // ../pstdio-api-contracts/src/extensions/page-params-schema.ts
6741
+ var pageParamValueSchema = union([string2(), number2(), boolean2(), array(string2())]);
6742
+ var pageParamDefinitionsSchema = record(string2(), discriminatedUnion("type", [
6743
+ object({
6744
+ type: literal("string"),
6745
+ default: string2().optional(),
6746
+ values: array(string2()).readonly().optional()
6747
+ }).strict(),
6748
+ object({ type: literal("number"), default: number2().optional() }).strict(),
6749
+ object({ type: literal("boolean"), default: boolean2().optional() }).strict(),
6750
+ object({ type: literal("string[]"), default: array(string2()).readonly().optional() }).strict()
6751
+ ])).superRefine((value, ctx) => {
6752
+ try {
6753
+ validatePageParamDefinitions(value);
6754
+ } catch (error) {
6755
+ ctx.addIssue({ code: "custom", message: String(error) });
6756
+ }
6757
+ });
6758
+
6643
6759
  // ../pstdio-api-contracts/src/extensions/resource-ref.ts
6644
6760
  var extensionResourceRefSchema = object({
6645
6761
  shorthand: string2().optional(),
@@ -6687,6 +6803,7 @@ var pageTargetSchema = lazy(() => object({
6687
6803
  open: _enum(["preview", "pin"]).optional(),
6688
6804
  section: sectionSchema.optional(),
6689
6805
  position: sourcePositionSchema.optional(),
6806
+ params: record(string2(), pageParamValueSchema).optional(),
6690
6807
  parent: pageTargetSchema.optional()
6691
6808
  }).refine((value) => !(value.position && value.section), "Choose a source position or a heading section")).meta({ id: "WorkbenchMetadataPageTarget" });
6692
6809
  var navigationOperationSchema = union([
@@ -6719,6 +6836,7 @@ var extensionAttachmentInvocationSchema = object({
6719
6836
  });
6720
6837
  var extensionRendererContextSchema = object({
6721
6838
  rendererId: string2(),
6839
+ pageParams: record(string2(), pageParamValueSchema).optional(),
6722
6840
  projectId: string2().optional(),
6723
6841
  modeId: string2().optional(),
6724
6842
  resource: extensionResourceRefSchema.optional(),
@@ -7370,6 +7488,7 @@ var workbenchExtensionPageRecordSchema = object({
7370
7488
  title: localizableStringSchema,
7371
7489
  icon: string2().optional(),
7372
7490
  path: string2(),
7491
+ params: pageParamDefinitionsSchema.optional(),
7373
7492
  document: object({ metadataKey: string2().refine((key) => key.trim().length > 0) }).optional(),
7374
7493
  mode: modeRefSchema,
7375
7494
  parent: pageRefSchema.optional(),
@@ -8265,7 +8384,7 @@ var packageAsset = (path, baseUrl) => ({
8265
8384
  baseUrl
8266
8385
  });
8267
8386
  // ../pstdio-api-contracts/src/extension-kernel/types/extension.ts
8268
- var EXTENSION_API_VERSION = "0.1.6";
8387
+ var EXTENSION_API_VERSION = "0.2.0";
8269
8388
  // ../pstdio-api-contracts/src/extension-kernel/types/webview-capabilities.ts
8270
8389
  var WEBVIEW_HOST_CAPABILITY_VERSION = 1;
8271
8390
  var WEBVIEW_DECLARABLE_CAPABILITIES = [
@@ -8273,6 +8392,7 @@ var WEBVIEW_DECLARABLE_CAPABILITIES = [
8273
8392
  "commands.execute",
8274
8393
  "commands.stream",
8275
8394
  "navigation.open",
8395
+ "page.params.update",
8276
8396
  "placement.close",
8277
8397
  "notification.show",
8278
8398
  "notification.action",
package/dist/api.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { $ as WorkbenchExtensionAutomationRecord, $d as Notification, A as InstallExtensionRequest, Ad as BoardField, Af as TerminalSessionRequest, B as UpgradeProjectExtensionResponse, C as ExtensionSettingsPanelRecord, Cd as PendingQueuedFollowUpsResponse, D as ExtensionCommandPaletteResourceRecord, Dd as SteerQueuedFollowUpInput, Df as TerminalSessionExit, E as ExtensionKeybindingRecord, Ed as QueuedSteeringResult, Ef as TerminalSessionError, Fd as BoardViews, G as ExtensionConnectionRecord, H as CommandExecuteResponse, I as InstallMarketplaceExtensionResponse, J as ExtensionRecord, K as ListExtensionConnectionsResponse, L as ListProjectExtensionsResponse, M as InstalledExtensionSource, Md as BoardView, N as AddLocalExtensionFolderResponse, Nd as BoardViewCreate, O as WorkbenchExtensionCommandPaletteResourceRecord, Od as UpdateQueuedFollowUpInput, Pd as BoardViewUpdate, Q as ExtensionMenuContribution, Qd as ListNotificationsResponse, R as MarketplaceExtension, S as ExtensionSettingValueRecord, Sd as CombineQueuedFollowUpsInput, Sf as TerminalBridge, T as UpdateExtensionSettingRequest, Td as QueuedFollowUpUpdateResponse, Tf as TerminalSessionAdapter, V as CommandExecuteRequest, W as ConfigureExtensionConnectionInput, X as ExtensionCommandPaletteContribution, Xd as CreateNotificationInput, Y as LocalizableString, Yd as UpdateSkillInput, Z as ExtensionCommandRecord, Zd as ListNotificationsQuery, _ as CreateProjectInput, _d as SessionAttachmentRef, _f as ResourceRef, _t as ListAutomationTokensResponse, a as RemoveWorktreeResponse$1, af as NotificationStatus, at as WorkbenchExtensionMetadata, bd as SessionQueuedMessagesResponse, c as WorkspaceFileContent$1, ct as AutomationRun, dt as AutomationRunStatus, ef as NotificationAction, et as findViewFilterProblem, f as WorkspaceProviderDescriptor, ft as AutomationTokenRecord, g as sessionAttachmentMimeTypesByExtension, gd as SessionAttachment, gt as ListAutomationRunEventsResponse, h as UpdateSettingsInput, ht as IssueAutomationTokenResponse, i as ListWorkspaceFilesInput$1, if as NotificationPriority, it as WorkbenchExtensionHarnessRecord, j as InstallExtensionResponse, jd as BoardSummary, jf as TerminalSessionResult, k as ExtensionDiagnosticsResponse, kf as TerminalSessionOperation, l as WorkspaceFileEntry$1, ld as FollowUpInput, lt as AutomationRunError, m as Settings, md as ResolveSessionIdResponse, mt as IssueAutomationTokenInput, nf as NotificationKind, nt as ListExtensionAppearanceResponse, o as RenameWorkspaceInput$1, od as ApprovalInput, of as UpdateNotificationInput, ot as WorkbenchExtensionViewBody, p as WriteWorkspaceFileInput$1, pd as ResolveSessionIdInput, pt as CreateAutomationRunInput, q as ExtensionDiagnostic, rf as NotificationOrigin, rt as ListExtensionCommandsResponse, sd as CreateSessionInput, st as WorkbenchExtensionViewRecord, t as CreateWorkspaceInput$1, tf as NotificationActorType, tt as viewFilterValueKind, u as WorkspaceFilesResponse$1, ut as AutomationRunEvent, vd as SessionConversationResponse, w as ListExtensionSettingsResponse, wd as QueuedFollowUpRequest, wf as TerminalHostEvent, x as ExtensionSettingDefinitionRecord, y as UpdateProjectInput, yd as SessionConversationSources, z as ProjectExtensionInstance } from "./index-DkdFWvBu.js";
2
- import "./sessions-BxSoBBsc.js";
3
- import "./skills-BxSoBBsc.js";
1
+ import { $ as WorkbenchExtensionAutomationRecord, A as InstallExtensionRequest, B as UpgradeProjectExtensionResponse, Bf as TerminalSessionRequest, C as ExtensionSettingsPanelRecord, Cs as NotificationKind, D as ExtensionCommandPaletteResourceRecord, Ds as UpdateNotificationInput, E as ExtensionKeybindingRecord, Es as NotificationStatus, Ff as TerminalSessionAdapter, G as ExtensionConnectionRecord, H as CommandExecuteResponse, I as InstallMarketplaceExtensionResponse, If as TerminalSessionError, J as ExtensionRecord, K as ListExtensionConnectionsResponse, L as ListProjectExtensionsResponse, Lf as TerminalSessionExit, M as InstalledExtensionSource, Mf as TerminalBridge, N as AddLocalExtensionFolderResponse, O as WorkbenchExtensionCommandPaletteResourceRecord, Pf as TerminalHostEvent, Q as ExtensionMenuContribution, R as MarketplaceExtension, Rs as ResourceRef, S as ExtensionSettingValueRecord, Ss as NotificationActorType, Su as UpdateQueuedFollowUpInput, T as UpdateExtensionSettingRequest, Ts as NotificationPriority, V as CommandExecuteRequest, Vf as TerminalSessionResult, W as ConfigureExtensionConnectionInput, X as ExtensionCommandPaletteContribution, Y as LocalizableString, Z as ExtensionCommandRecord, _ as CreateProjectInput, _s as CreateNotificationInput, _t as ListAutomationTokensResponse, _u as PendingQueuedFollowUpsResponse, a as RemoveWorktreeResponse$1, as as BoardViews, at as WorkbenchExtensionMetadata, bs as Notification, bu as QueuedSteeringResult, c as WorkspaceFileContent$1, ct as AutomationRun, cu as ResolveSessionIdResponse, dt as AutomationRunStatus, du as SessionAttachmentRef, es as BoardField, et as findViewFilterProblem, eu as ApprovalInput, f as WorkspaceProviderDescriptor, ft as AutomationTokenRecord, fu as SessionConversationResponse, g as sessionAttachmentMimeTypesByExtension, gs as UpdateSkillInput, gt as ListAutomationRunEventsResponse, gu as CombineQueuedFollowUpsInput, h as UpdateSettingsInput, ht as IssueAutomationTokenResponse, i as ListWorkspaceFilesInput$1, is as BoardViewUpdate, it as WorkbenchExtensionHarnessRecord, j as InstallExtensionResponse, k as ExtensionDiagnosticsResponse, l as WorkspaceFileEntry$1, lt as AutomationRunError, m as Settings, mt as IssueAutomationTokenInput, mu as SessionQueuedMessagesResponse, ns as BoardView, nt as ListExtensionAppearanceResponse, o as RenameWorkspaceInput$1, ot as WorkbenchExtensionViewBody, p as WriteWorkspaceFileInput$1, pt as CreateAutomationRunInput, pu as SessionConversationSources, q as ExtensionDiagnostic, rs as BoardViewCreate, rt as ListExtensionCommandsResponse, ru as FollowUpInput, st as WorkbenchExtensionViewRecord, su as ResolveSessionIdInput, t as CreateWorkspaceInput$1, ts as BoardSummary, tt as viewFilterValueKind, tu as CreateSessionInput, u as WorkspaceFilesResponse$1, ut as AutomationRunEvent, uu as SessionAttachment, vs as ListNotificationsQuery, vu as QueuedFollowUpRequest, w as ListExtensionSettingsResponse, ws as NotificationOrigin, x as ExtensionSettingDefinitionRecord, xs as NotificationAction, xu as SteerQueuedFollowUpInput, y as UpdateProjectInput, ys as ListNotificationsResponse, yu as QueuedFollowUpUpdateResponse, z as ProjectExtensionInstance, zf as TerminalSessionOperation } from "./index-COGwWDWo.js";
2
+ import "./sessions-CIy86sx7.js";
3
+ import "./skills-CIy86sx7.js";
4
4
  //#region src/api/workspaces.d.ts
5
5
  type CreateWorkspaceInput = CreateWorkspaceInput$1;
6
6
  type RemoveWorktreeResponse = RemoveWorktreeResponse$1;
@@ -631,6 +631,7 @@ var createSessionClient = (request, clientOptions, streams = createSessionStream
631
631
  }),
632
632
  create: (input) => request("/v1/sessions", { method: "POST", body: input }),
633
633
  archive: (sessionId) => request(`/v1/sessions/${sessionId}/archive`, { method: "POST" }),
634
+ delete: (sessionId) => request(`/v1/sessions/${encodeURIComponent(sessionId)}`, { method: "DELETE" }),
634
635
  followUp: (sessionId, input) => request(`/v1/sessions/${sessionId}/follow-up`, { method: "POST", body: input }),
635
636
  approve: (sessionId, input) => request(`/v1/sessions/${sessionId}/approve`, { method: "POST", body: input }),
636
637
  getConversation: (sessionId, signal) => request(`/v1/sessions/${sessionId}/conversation`, { signal }),
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-ByLqNUdX.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-CWJstQMY.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 { Ai as ArtifactMount } from "./index-DkdFWvBu.js";
1
+ import { Ii as ArtifactMount } from "./index-COGwWDWo.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;
@@ -333,6 +333,100 @@ var packageAsset = (path, baseUrl) => ({
333
333
  path,
334
334
  baseUrl
335
335
  });
336
+ // ../pstdio-api-contracts/src/extension-kernel/page-params.ts
337
+ var reserved = new Set(["resource", "section", "document", "line", "column", "endLine", "endColumn"]);
338
+ var invalid = (name) => new Error(`page_param_invalid: ${name}`);
339
+ var equal = (left, right) => JSON.stringify(left) === JSON.stringify(right);
340
+ var isPageParamValue = (definition, value) => {
341
+ if (definition.type === "string[]")
342
+ return Array.isArray(value) && value.every((item) => typeof item === "string");
343
+ if (definition.type === "string")
344
+ return typeof value === "string" && (!definition.values || definition.values.includes(value));
345
+ if (definition.type === "number")
346
+ return typeof value === "number" && Number.isFinite(value);
347
+ return typeof value === "boolean";
348
+ };
349
+ var validatePageParamDefinitions = (definitions = {}) => {
350
+ if (Object.keys(definitions).length > 32)
351
+ throw invalid("at most 32 params");
352
+ for (const [name, definition] of Object.entries(definitions)) {
353
+ if (name.length > 64 || !/^[a-z][a-z0-9-]*$/.test(name) || reserved.has(name))
354
+ throw new Error(`page_param_reserved: ${name}`);
355
+ if (definition.default !== undefined && !isPageParamValue(definition, definition.default))
356
+ throw invalid(name);
357
+ }
358
+ };
359
+ var validateNames = (definitions, values) => {
360
+ for (const name of Object.keys(values))
361
+ if (!Object.hasOwn(definitions, name))
362
+ throw invalid(name);
363
+ };
364
+ var normalizePageParams = (definitions = {}, values = {}, strict = true) => {
365
+ const result = {};
366
+ if (strict)
367
+ validateNames(definitions, values);
368
+ for (const name of Object.keys(definitions)) {
369
+ if (!Object.hasOwn(values, name))
370
+ continue;
371
+ const value = values[name];
372
+ const definition = definitions[name];
373
+ if (!isPageParamValue(definition, value)) {
374
+ if (strict)
375
+ throw invalid(name);
376
+ continue;
377
+ }
378
+ if (equal(value, definition.default) || Array.isArray(value) && !value.length)
379
+ continue;
380
+ result[name] = Array.isArray(value) ? Object.freeze([...value]) : value;
381
+ }
382
+ const params = Object.keys(result).length ? Object.freeze(result) : undefined;
383
+ if (pageParamsQuery(definitions, params).toString().length > 2048) {
384
+ if (strict)
385
+ throw invalid("query exceeds 2048 characters");
386
+ return;
387
+ }
388
+ return params;
389
+ };
390
+ var resolvePageParams = (definitions = {}, params) => {
391
+ const result = {};
392
+ for (const [name, definition] of Object.entries(definitions)) {
393
+ if (definition.default !== undefined)
394
+ result[name] = Array.isArray(definition.default) ? Object.freeze([...definition.default]) : definition.default;
395
+ }
396
+ return Object.freeze({ ...result, ...params });
397
+ };
398
+ var pageParamsQuery = (definitions = {}, params) => {
399
+ const query = new URLSearchParams;
400
+ for (const name of Object.keys(definitions)) {
401
+ const value = params?.[name];
402
+ if (value === undefined)
403
+ continue;
404
+ for (const item of Array.isArray(value) ? value : [value])
405
+ query.append(name, String(item));
406
+ }
407
+ return query;
408
+ };
409
+ var parsePageParams = (definitions = {}, query) => {
410
+ const values = {};
411
+ for (const [name, definition] of Object.entries(definitions)) {
412
+ const items = query.getAll(name);
413
+ if (!items.length || definition.type !== "string[]" && items.length !== 1)
414
+ continue;
415
+ const raw = items[0];
416
+ if (definition.type === "string[]")
417
+ values[name] = items;
418
+ else if (definition.type === "number") {
419
+ if (String(Number(raw)) === raw)
420
+ values[name] = Number(raw);
421
+ } else if (definition.type === "boolean") {
422
+ if (raw === "true" || raw === "false")
423
+ values[name] = raw === "true";
424
+ } else
425
+ values[name] = raw;
426
+ }
427
+ const params = normalizePageParams(definitions, values, false);
428
+ return pageParamsQuery(definitions, params).toString().length <= 2048 ? params : undefined;
429
+ };
336
430
  // ../pstdio-api-contracts/src/extension-kernel/types/collection-view.ts
337
431
  var optionConditions = ["is-any-of", "is-none-of", "is-empty", "is-not-empty"];
338
432
  var VIEW_FILTER_CONDITIONS = {
@@ -355,7 +449,7 @@ var DEFAULT_DATA_TABLE_SETTINGS = {
355
449
  columnOrder: []
356
450
  };
357
451
  // ../pstdio-api-contracts/src/extension-kernel/types/extension.ts
358
- var EXTENSION_API_VERSION = "0.1.6";
452
+ var EXTENSION_API_VERSION = "0.2.0";
359
453
  // ../pstdio-api-contracts/src/extension-kernel/types/webview-capabilities.ts
360
454
  var WEBVIEW_HOST_CAPABILITY_VERSION = 1;
361
455
  var WEBVIEW_DECLARABLE_CAPABILITIES = [
@@ -363,6 +457,7 @@ var WEBVIEW_DECLARABLE_CAPABILITIES = [
363
457
  "commands.execute",
364
458
  "commands.stream",
365
459
  "navigation.open",
460
+ "page.params.update",
366
461
  "placement.close",
367
462
  "notification.show",
368
463
  "notification.action",
@@ -609,7 +704,7 @@ var reconcileMessageHistory = (input, projection = {}) => {
609
704
  }
610
705
  };
611
706
  // package.json
612
- var version = "0.43.1";
707
+ var version = "0.44.0-nightly.20261016075735";
613
708
 
614
709
  // src/version.ts
615
710
  var SDK_VERSION = version;
@@ -657,6 +752,7 @@ var defineNavigationItem = defineContribution("navigation-item");
657
752
  var defineNavigationTree = defineContribution("navigation-tree");
658
753
  var defineMode = defineContribution("mode");
659
754
  var createPage = (definition) => {
755
+ validatePageParamDefinitions(definition.params);
660
756
  const ref = { kind: "page", id: definition.id };
661
757
  const panels = Object.fromEntries(definition.slots.map((slot) => [slot.id, { kind: "page-slot", page: ref, id: slot.id }]));
662
758
  return { ...definition, ref, panels };
@@ -685,6 +781,17 @@ var defineResourceHierarchyProvider = (definition) => ({
685
781
  });
686
782
  // src/extensions/define-extension.ts
687
783
  var defineExtension = (extension) => extension;
784
+ // src/extensions/webview-page-client.ts
785
+ var createWebviewPageClient = (host, propsStore) => {
786
+ const props = () => propsStore.get();
787
+ return {
788
+ location: () => props()?.pageLocation,
789
+ params: () => props()?.pageParams ?? {},
790
+ subscribe: (listener) => propsStore.subscribe(() => listener(props()?.pageLocation)),
791
+ updateParams: async (params) => (await host.call("page.params.update", { params })).location
792
+ };
793
+ };
794
+
688
795
  // src/extensions/define-extension-view.ts
689
796
  var pickFiles = (opts = {}) => new Promise((resolve, reject) => {
690
797
  const input = document.createElement("input");
@@ -740,6 +847,7 @@ var defineExtensionView = (definition) => ({
740
847
  mount,
741
848
  host,
742
849
  files: createFilesClient(host),
850
+ page: createWebviewPageClient(host, propsStore),
743
851
  propsStore,
744
852
  get locale() {
745
853
  return translations.locale();
@@ -868,6 +976,9 @@ var serializeWorkbenchPageUrl = (input) => {
868
976
  }
869
977
  if (input.location.section)
870
978
  query.set("section", serializeSection(input.location.section));
979
+ const params = normalizePageParams(page.params, input.location.params);
980
+ for (const [name, value] of pageParamsQuery(page.params, params))
981
+ query.append(name, value);
871
982
  const encoded = query.toString();
872
983
  const path = routePath(input.projectId, page);
873
984
  return encoded ? `${path}?${encoded}` : path;
@@ -954,8 +1065,10 @@ var parseWorkbenchPageUrl = (input) => {
954
1065
  const position = parseSourcePosition(url, page, document2, section);
955
1066
  if (position === false)
956
1067
  return;
1068
+ const params = parsePageParams(page.params, url.searchParams);
957
1069
  return {
958
1070
  pageId: page.id,
1071
+ ...params ? { params } : {},
959
1072
  ...resource ? { resource } : {},
960
1073
  ...section ? { section } : {},
961
1074
  ...position ? { position } : {}
@@ -963,7 +1076,7 @@ var parseWorkbenchPageUrl = (input) => {
963
1076
  };
964
1077
  var serializePageUrl = (input) => serializeWorkbenchPageUrl({
965
1078
  projectId: input.projectId,
966
- location: { page: input.page.ref, resource: input.resource, position: input.position },
1079
+ location: { page: input.page.ref, resource: input.resource, position: input.position, params: input.params },
967
1080
  pages: [input.page],
968
1081
  resources: defaultPageResourceCodec
969
1082
  });
@@ -1369,6 +1482,7 @@ export {
1369
1482
  mergeHistoryMetadata,
1370
1483
  mergeOrderedHistory,
1371
1484
  normalizeBooleanViewRule,
1485
+ normalizePageParams,
1372
1486
  packageAsset,
1373
1487
  params,
1374
1488
  parsePageUrl,
@@ -1382,6 +1496,7 @@ export {
1382
1496
  resolveDataTableComparableValue,
1383
1497
  resolveDataTableFieldKind,
1384
1498
  resolveEventReferenceId,
1499
+ resolvePageParams,
1385
1500
  resourceKey,
1386
1501
  resourceMenuSlotRef2 as resourceMenuSlotRef,
1387
1502
  serializePageUrl,
@@ -1392,6 +1507,7 @@ export {
1392
1507
  streamOf,
1393
1508
  submittedPrompt,
1394
1509
  unwrapCommandOutcome,
1510
+ validatePageParamDefinitions,
1395
1511
  viewDataEvents,
1396
1512
  workbenchModeDefinitions,
1397
1513
  workbenchModes,
@@ -1,3 +1,3 @@
1
- import { $a as PageSlotCardinality, $c as CommandPaletteResourceQueryParams, $d as Notification, $f as LocalizedString, $i as ExtensionStorageCollectionApi, $l as WebviewCommandStreamEvent, $n as mergeOrderedHistory, $o as DataTableRendererSavedView, $r as CommandLifecyclePhase, $s as HarnessCommandContext, $t as ExtensionViewModule, $u as ExtensionSessionResource, Aa as UiContributions, Ac as QuestionResponse, Af as TerminalSessionRequest, Ai as ArtifactMount, Al as KanbanRendererEnumOption, An as defineView, Ao as TreeNodeRowVariant, Ar as workbenchModes, As as ReadOnlyControl, At as WebviewEventsClient, Au as MarkdownParam, Ba as StatusActionDefinition, Bc as StepFinishPart, Bd as ExtensionConnectionRequest, Bf as ContributionKind, Bi as ExtensionBlobRef, Bl as KanbanRendererSettings, Bn as CommandResponse, Bo as TreeSectionEmptyState, Br as RegionSize, Bs as VectorControl, Bt as commandEvent, Bu as ParamsOf, Ca as HookDefinition, Cc as HarnessRecoveryResult, Cf as TerminalEvent, Ci as FileRendererLoadParams, Cl as KanbanRendererAttributeDescriptor, Cn as defineSettingsSection, Co as TreeViewBody, Cr as worktreeEvents, Cs as HarnessControlValue, Ct as WebviewCommandsClient, Cu as RendererEventReference, Da as ProviderContributions, Dc as HarnessSteeringInput, Df as TerminalSessionExit, Di as FileRendererSectionAnchor, Dl as KanbanRendererColumnAction, Dn as defineTemplate, Do as WebviewViewBody, Dr as localContributionIdGrammar, Ds as ParamEditorReadOnlyImage, Dt as CommandStreamOptions, Du as JsonParam, Ea as PackageManifest, Ec as HarnessStartInput, Ei as FileRendererSaveParams, El as KanbanRendererBoardColumnConfig, En as defineStatuses, Eo as ViewMenuContribution, Er as isValidLocalContributionId, Es as ParamEditorReadOnlyContent, Et as CommandStream, Eu as HarnessParam, Fa as WorkspaceProviderRef, Fc as PatchPart, Fd as BoardViews, Ff as MaybePromise, Fi as CommandStreamWriter, Fl as KanbanRendererResourceRef, Fn as defineHook, Fo as TreeRendererContribution, Fr as workbenchResourceKindDefinitions, Fs as SegmentedOption, Ft as TerminalSessionAdapter, Fu as ParamOption, Ga as PageContribution, Gc as ToolPartActionType, Gd as ExtensionAutomationApi, Gf as ResourceKindRef, Gi as ExtensionNetApi, Gl as ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES, Gn as HistoryRecoveryInput, Go as DataTableRendererColumnStat, Gr as extensionPanelRegions, Gs as HarnessDetectionResult, Gt as PageUrlDefinition, Gu as WorkspaceParam, Ha as StatusContribution, Hc as TextPart, Hd as ExtensionConnectionStreamEvent, Hf as ModeRef, Hi as ExtensionContextBase, Hl as KanbanRendererViewMode, Hn as SDK_VERSION, Ho as DEFAULT_DATA_TABLE_SETTINGS, Hr as ResourceKindDefinition, Hs as ResourceBinding, Ht as qualifyRef, Hu as SelectParam, Ia as WorkspaceProviderResolveInput, Ic as ReasoningPart, Id as ArtifactChangedPayload, If as Struct, Ii as EventContext, Il as KanbanRendererRow, In as defineMiddleware, Io as TreeRendererMoveParams, Ir as workbenchResourceKinds, Is as SelectionControl, It as TerminalSessionBridge, Iu as ParamOptionSource, Ja as PageMain, Jc as ArtifactMountContribution, Jf as StatusBarSlotRef, Ji as ExtensionProcessApi, Jl as WEBVIEW_HOST_CAPABILITY_VERSION, Jn as historyValueKey, Jo as DataTableRendererQueryResult, Jr as CommandDiagnostic, Js as HarnessProvider, Jt as parsePageUrl, Ju as SlotRef, Ka as PageDocumentDeclaration, Kc as ToolPartStatus, Kf as SettingsSectionRef, Ki as ExtensionNotifyApi, Kl as WEBVIEW_DECLARABLE_CAPABILITIES, Kn as HistoryRecoveryResult, Ko as DataTableRendererContribution, Kr as CommandCompletedEvent, Ks as HarnessParamDescriptor, Kt as ParsedWorkbenchPageUrl, Ku as SlotInvocationContext, La as WorkspaceProviderResult, Lc as SessionMessage, Ld as EventDeliveryResult, Lf as ConnectionRef, Li as ExtensionActivityApi, Ll as KanbanRendererRowAction, Ln as streamOf, Lo as TreeRendererQueryParams, Lr as workbenchSlots, Ls as SelectionGroup, Lt as createTerminalSessionBridge, Lu as ParamType, Ma as WorkspaceExecutionTarget, Mc as ErrorPart, Md as BoardView, Mf as JsonObject, Mi as CommandMiddlewareContext, Ml as KanbanRendererMove, Mn as defineWorkspaceType, Mo as TreeRendererActionParams, Mr as workbenchPages, Ms as ResourceOption, Mt as ArtifactMountKey, Mu as NumberParam, Na as WorkspaceProviderCreateInput, Nc as FilePart, Nd as BoardViewCreate, Nf as JsonPrimitive, Ni as CommandMiddlewareHandler, Nl as KanbanRendererQueryParams, Nn as resourceMenuSlotRef, No as TreeRendererChildrenParams, Nr as workbenchPanelDefinitions, Ns as ResourceRefValue, Nt as artifactMountId, Nu as ParamDescriptor, Oa as ScheduleContribution, Oc as HarnessSteeringResult, Of as TerminalSessionHandle, Oi as FileRendererSectionTarget, Ol as KanbanRendererContribution, On as defineTemplateType, Oo as TreeAction, Or as localContributionIdPattern, Os as RangeControl, Ot as WebviewStreamsClient, Ou as ListParam, Pa as WorkspaceProviderMutationInput, Pc as LoadingPart, Pd as BoardViewUpdate, Pf as JsonValue, Pi as CommandRunHandler, Pl as KanbanRendererQueryResult, Pn as defineCommand, Po as TreeRendererCommandResult, Pr as workbenchPanels, Ps as SegmentedControl, Pt as artifactsRead, Pu as ParamObjectSchema, Qa as PageSlot, Qc as CommandPaletteResourceItem, Qd as ListNotificationsResponse, Qf as Localizable, Qi as ExtensionStorageApi, Ql as WebviewCapabilityDeclaration, Qn as submittedPrompt, Qo as DataTableRendererRowActivationHandler, Qr as CommandLifecycleEventPayload, Qt as resolveEventReferenceId, Qu as ExtensionSessionQuery, Ra as WorkspaceProviderState, Rc as SessionMessagePart, Rd as EventRef, Rf as ContributionDefinition, Ri as ExtensionArtifactApi, Rl as KanbanRendererRowActivationHandler, Rn as commandRefId, Ro as TreeRendererResourceRef, Rr as DockedWorkbenchRegion, Rs as SelectionOption, Rt as resourceKey, Ru as ParamValue, 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 RendererContributionBase, Ta as MiddlewareDefinition, Tc as HarnessSession, Ti as FileRendererResourceRef, Tl as KanbanRendererAttributeType, Tn as defineStatusBarItem, To as ViewContribution, Tr as resolveDataTableFieldKind, Ts as NumberControl, Tt as createWebviewClient, Tu as FilesParam, Ua as WorkflowStatus, Uc as TokenUsagePart, Ud as ExtensionConnectionsApi, Uf as PageRef, Ui as ExtensionEventsApi, Ul as KanbanRendererViewSettings, Un as HistoryConflict, Uo as DataTableRendererColumn, Ur as ResourceMenuSlotDefinition, Us as ResourceConstraint, Ut as params, Uu as TemplateParam, Va as StatusBarItemContribution, Vc as StepStartPart, Vd as ExtensionConnectionResponse, Vf as ContributionRef, Vi as ExtensionBlobsApi, Vl as KanbanRendererSortDirection, Vn as unwrapCommandOutcome, Vo as TreeViewSection, Vr as ResourceHierarchyProvider, Vs as VectorValue, Vt as QualifiedRef, Vu as ResourceParam, Wa as FileSourcePosition, Wc as ToolPart, Wd as ExtensionLoggerApi, Wf as PlacementRef, Wi as ExtensionFilesApi, Wl as ViewToolbarAction, Wn as HistoryProjection, Wo as DataTableRendererColumnRenderer, Wr as dockedWorkbenchRegions, Ws as HarnessContext, Wt as defaultPageResourceCodec, Wu as TextParam, Xa as PageMainView, Xc as CommandPaletteContribution, Xd as CreateNotificationInput, Xf as ThemeRef, Xi as ExtensionSettingsApi, Xl as WebviewArtifactFile, Xn as reconcileMessageHistory, Xo as DataTableRendererRow, Xr as CommandHelpersApi, Xs as HarnessStateApi, Xt as serializePageUrl, Xu as ExtensionHarnessInput, Ya as PageMainPanels, Yc as CliContribution, Yf as StatusRef, Yi as ExtensionProjectContext, Yl as WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES, Yn as mergeHistoryMetadata, Yo as DataTableRendererResourceRef, Yr as CommandFailedEvent, Ys as HarnessSkillsLayout, Yt as parseWorkbenchPageUrl, Yu as UiSlotKind, Za as PageOpenIntent, Zc as CommandPaletteResourceContribution, Zd as ListNotificationsQuery, Zf as ViewRef, Zi as ExtensionSkillsApi, Zl as WebviewArtifactsReadParams, Zn as splitHistoryTurns, Zo as DataTableRendererRowAction, Zr as CommandInvocation, Zs as RetryableHarnessReattachError, Zt as serializeWorkbenchPageUrl, Zu as ExtensionSessionPage, _a as CommandStreamDeclaration, _c as HarnessQuestionChannel, _f as ResourceRef, _i as NavigationTargetCompound, _l as TemplateTypeContribution, _n as definePage, _o as PlacementPresence, _r as projectSlots, _s as ControlGroup, _u as WebviewNotificationResolveParams, aa as SetupContext, ac as AgentCapability, ad as SessionRunSnapshot, af as NotificationStatus, ai as CommandReject, al as ExtensionSettingValueType, an as GuestHost, ao as PlacementOwner, ap as ViewFilterCondition, ar as isNavigationTarget, as as ControlsQueryResult, au as WebviewFileScope, ba as ExtensionDefinition, bc as HarnessQuestionRequest, bf as ResourceRole, bi as NavigationTargetPage, bl as WebviewContribution, bn as defineResourceKind, bo as PlacementTabMenuRow, br as viewDataEvents, bs as ControlValueMap, bt as WebviewArtifactsClient, bu as WebviewPreferencesSetParams, ca as WorkspaceSyncFile, cc as HarnessApprovalChannel, cf as PackageAssetDescriptor, ci as CommandReplaceParams, cl as KeybindingChord, cn as defineArtifactMount, co as FileViewBody, cp as ViewSort, cr as ConflictPayload, cs as ControlsResourceRef, ct as AutomationRun, cu as WebviewFilesUploadParams, da as ExtensionWorkspace, dc as HarnessExit, df as ResourceAnchor, di as CommandStartedEvent, dl as ModeContribution, dn as defineFileIconTheme, do as NavigationOwnerRef, dp as supportsExtensionApiVersion, dr as SessionLifecyclePayload, ds as ActionsControl, dt as AutomationRunStatus, du as WebviewHostCapabilityResult, ea as ExtensionTerminalApi, ec as HarnessCommandDiscoveryContext, ed as ExtensionSessionSummary, ef as NotificationAction, ei as CommandMiddlewareResult, el as CommandPaletteResourceQueryResult, en as ExtensionViewRender, eo as PageSlotRef, ep as isLocalizedString, er as isFileSourcePosition, es as DataTableRendererSelectionAction, eu as WebviewCommandsExecuteParams, fa as ExtensionWorkspaceProvider, fc as HarnessExitStatus, ff as ResourceAnchorChangeEvent, fi as CommandTarget, fl as ModeRegionSettings, fn as defineHarness, fo as NavigationTreeContribution, fr as WorkspaceProvisionPayload, fs as AnchorGridControl, fu as WebviewHostCapabilityResults, ga as CommandDefinition, gc as HarnessQuestion, gf as ResourceAnchorValidationResult, gi as NavigationTargetCommand, gl as TemplateContribution, gn as defineNavigationTree, go as PlacementMountStrategy, gr as projectEvents, gs as ColorControl, gu as WebviewNotificationDismissParams, ha as BehaviourContributions, hc as HarnessParams, hf as ResourceAnchorValidationInput, hi as NavigationTarget, hl as SkillContribution, hn as defineNavigationItem, ho as PlacementItem, hr as gitEvents, hs as BooleanControl, hu as WebviewNotificationActionParams, ia as RendererCallback, ic as PreparedHarnessOperation, id as SessionExitCause, if as NotificationPriority, ii as CommandRef, il as ExtensionSettingValueForType, in as defineExtensionView, io as PlacementIdentity, ip as ViewFieldKind, ir as packageAsset, is as ControlsQueryParams, iu as WebviewExtensionSettingSetParams, ja as WorkspaceCapabilities, jc as TimeoutStrategy, ji as CommandContext, jl as KanbanRendererFilterState, jn as defineViewMenu, jo as TreeNodeTarget, jr as workbenchPageDefinitions, js as ResourceControl, jt as WebviewExtensionEvent, ju as MultiSelectParam, ka as ScheduleExpression, kc as JsonPatch, kd as ExtensionViewsApi, 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 LongTextParam, la as CreateExtensionWorkspaceInput, lc as HarnessAttachment, lf as RendererContext, li as CommandRequestedEvent, ll as KeybindingContribution, ln as defineCommandPaletteResource, lo as KanbanViewBody, lp as ViewSortDirection, lr as MergePayload, ls as ControlsUpdateValueInput, lu as WebviewHostCapability, ma as AssetContributions, mc as HarnessParamValue, mf as ResourceAnchorQuery, mi as WorkbenchAttachmentInvocationContext, ml as SettingsSectionContribution, mn as defineMode, mo as PlacementContribution, mp as AgentModel, mr as WorktreeRemovedPayload, ms as BaseControl, mu as WebviewNavigationOpenParams, na as ProcessRunInput, nc as HarnessOperation, nd as ExtensionSessionsApi, nf as NotificationKind, ni as CommandOutcome, nl as ExtensionSettingProperty, nn as PropsStore, no as PageSlotRole, np as normalizeBooleanViewRule, nr as commandRef, ns as DataTableRendererThemeColor, nu as WebviewDeclarableCapability, oa as StorageScope, oc as ApprovalRequest, of as UpdateNotificationInput, oi as CommandRejectedEvent, ol as ExtensionSettingsContribution, on as defineExtension, oo as ControlsViewBody, op as ViewFilterGroup, or as qualifyNavigationTarget, os as ControlsRendererContribution, ou as WebviewFilesDeleteParams, pa as ExtensionWorkspacesApi, pc as HarnessMessagesInput, pf as ResourceAnchorPage, pi as SerializedError, pl as SettingsPanelContribution, pn as defineKeybinding, po as NavigationTreeSlot, pr as WorkspaceType, ps as AnchorGridValue, pu as WebviewKeyboardEventParams, qa as PageLocation, qc as ActivityItemContribution, qf as SettingsSlotRef, qi as ExtensionPackageFilesApi, ql as WEBVIEW_HOST_CAPABILITIES, qn as historyMessageKey, qo as DataTableRendererQueryParams, qr as CommandContinue, qs as HarnessParamsSchema, qt as isWorkbenchProjectUrl, qu as SlotOptions, ra as ProcessRunResult, rc as HarnessOperationResult, rd as SessionExit, rf as NotificationOrigin, ri as CommandPatchParams, rl as ExtensionSettingScope, rn as WebviewFilesClient, ro as PanelRef, rp as VIEW_FILTER_CONDITIONS, rr as eventRef, rs as ControlsApplyInput, ru as WebviewExtensionSettingKeyParams, sa as WorkspaceFilesMount, sc as ApprovalResponse, sf as ExtensionResourcesApi, si as CommandReplaceInvocation, sl as FileIconThemeContribution, sn as defineActivityItem, so as DataTableViewBody, sp as ViewFilterRule, sr as CommitPayload, ss as ControlsResetInput, su as WebviewFilesListParams, ta as MigrationContext, tc as HarnessCommandState, td as ExtensionSessionUsage, tf as NotificationActorType, ti as CommandNotice, tl as CommandPaletteResourceTarget, tn as ExtensionViewRenderContext, to as PageSlotRegion, tp as l10n, tr as defineSlot, ts as DataTableRendererSettings, tu as WebviewCommandsStreamParams, ua as CreateWorkspaceCommandParams, uc as HarnessEventSink, uf as RendererInvocationContext, ui as CommandSource, ul as MenuContribution, un as defineConnection, uo as NavigationItemContribution, up as parseExtensionApiDeclaration, ur as RebasePayload, us as ActionOption, uu as WebviewHostCapabilityParams, va as EXTENSION_API_VERSION, vc as HarnessQuestionOption, vf as ResourceRemovedEvent, vi as NavigationTargetHref, vl as ThemeContribution, vn as definePlacement, vo as PlacementPresentation, vr as sessionEvents, vs as ControlParam, vt as projectPrefix, vu as WebviewNotificationShowParams, wa as LocalExtensionSource, wc as HarnessResumeInput, wi as FileRendererLoadResult, wl as KanbanRendererAttributeDisplay, wn as defineSkill, wo as ViewBody, wr as resolveDataTableComparableValue, ws as MarkdownControl, wt as WebviewSettingsClient, wu as BooleanParam, xa as ExtensionLoadScope, xc as HarnessReattachInput, xf as ViewHierarchyParent, xi as NavigationTargetPanel, xl as WhenExpression, xn as defineSchedule, xo as PlacementTabPresentation, xr as workspaceEvents, xs as DateControl, xt as WebviewClient, xu as WebviewScopedDeclarableCapability, ya as ExtensionConnectionContribution, yc as HarnessQuestionReplyError, yf as ResourceResolution, yi as NavigationTargetItem, yl as ThemeMode, yn as defineResourceHierarchyProvider, yo as PlacementTabMenuGroup, yr as sessionSlots, ys as ControlValue, yt as matchesResourceWhen, yu as WebviewPreferencesGetParams, za as WorkspaceTypeProvider, zc as SessionMessageRole, zd as ExtensionConnectionMethod, zf as ContributionInput, zi as ExtensionBlobInput, zl as KanbanRendererSavedView, zn as contributionRefId, zo as TreeRendererState, zr as ExtensionPanelRegion, zs as TextControl, zt as artifactChanged, zu as ParamValueRef } from "./index-DkdFWvBu.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 KanbanRendererMove, 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 SessionExit, type SessionExitCause, type SessionLifecyclePayload, type SessionMessage, type SessionMessagePart, type SessionMessageRole, type SessionRunSnapshot, 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 };
1
+ import { $a as HarnessParamsSchema, $c as DataTableRendererRowAction, $d as SlotInvocationContext, $f as PageRef, $i as ExtensionPackageFilesApi, $l as SessionRunSnapshot, $n as submittedPrompt, $o as ExtensionViewsApi, $r as CommandContinue, $s as PageParams, $t as ExtensionViewModule, $u as KanbanRendererAttributeDescriptor, Aa as LocalExtensionSource, Ac as TreeAction, Ad as WebviewCommandsExecuteParams, Af as ResourceBinding, Ai as FileRendererLoadResult, Al as RangeControl, An as defineTheme, Ao as HarnessResumeInput, Ar as resolveDataTableComparableValue, As as RendererContext, At as WebviewEventsClient, Au as CommandPaletteResourceQueryResult, Ba as WorkspaceProviderMutationInput, Bc as TreeRendererResourceRef, Bd as WebviewHostCapabilityParams, Bf as TerminalSessionRequest, Bi as CommandRunHandler, Bl as SelectionOption, Bn as contributionRefId, Bo as LoadingPart, Br as workbenchPanels, Bs as ResourceResolution, Bt as commandEvent, Bu as MenuContribution, Ca as CommandStreamDeclaration, Cc as PlacementTabPresentation, Cd as WEBVIEW_HOST_CAPABILITIES, Cf as ParamValueRef, Ci as NavigationTargetCompound, Cl as DateControl, Cn as defineSettingsPanel, Co as HarnessQuestionChannel, Cr as projectSlots, Cs as NotificationKind, Ct as WebviewCommandsClient, Cu as ActivityItemContribution, Da as ExtensionLoadScope, Dc as ViewContribution, Dd as WebviewArtifactsReadParams, Df as TemplateParam, Di as NavigationTargetPanel, Dl as NumberControl, Dn as defineStatuses, Do as HarnessReattachInput, Dr as workspaceEvents, Ds as UpdateNotificationInput, Dt as CommandStreamOptions, Du as CommandPaletteResourceContribution, Ea as ExtensionDefinition, Ec as ViewBody, Ed as WebviewArtifactFile, Ef as SelectParam, Ei as NavigationTargetPage, El as MarkdownControl, En as defineStatusBarItem, Eo as HarnessQuestionRequest, Er as viewDataEvents, Es as NotificationStatus, Et as CommandStream, Eu as CommandPaletteContribution, Fa as ScheduleExpression, Fc as TreeRendererChildrenParams, Fd as WebviewFileScope, Fi as ArtifactFile, Fl as ResourceRefValue, Fn as defineCommand, Fo as JsonPatch, Fr as workbenchModeDefinitions, Fs as ResourceAnchorQuery, Ft as TerminalSessionAdapter, Fu as ExtensionSettingValueType, Ga as WorkspaceTypeProvider, Gc as DataTableRendererColumn, Gd as WebviewNotificationActionParams, Gf as MaybePromise, Gi as ExtensionBlobInput, Gl as ExtensionSessionPage, Gn as HistoryProjection, Go as SessionMessageRole, Gr as ExtensionPanelRegion, Gs as PageDocumentDeclaration, Gt as PageUrlDefinition, Gu as SkillContribution, Ha as WorkspaceProviderResolveInput, Hc as TreeSectionEmptyState, Hd as WebviewHostCapabilityResults, Hf as JsonObject, Hi as EventContext, Hl as VectorControl, Hn as unwrapCommandOutcome, Ho as ReasoningPart, Hr as workbenchResourceKinds, Hs as ViewHierarchyParent, Ht as qualifyRef, Hu as ModeRegionSettings, Ia as UiContributions, Ic as TreeRendererCommandResult, Id as WebviewFilesDeleteParams, Ii as ArtifactMount, Il as SegmentedControl, In as defineHook, Io as QuestionResponse, Ir as workbenchModes, Is as ResourceAnchorValidationInput, It as TerminalSessionBridge, Iu as ExtensionSettingsContribution, Ja as StatusContribution, Jc as DataTableRendererContribution, Jd as WebviewNotificationShowParams, Jf as ContributionDefinition, Ji as ExtensionContextBase, Jl as ExtensionSessionSummary, Jn as historyMessageKey, Jo as TextPart, Jr as ResourceKindDefinition, Js as PageMainPanels, Jt as parsePageUrl, Ju as ThemeContribution, Ka as StatusActionDefinition, Kc as DataTableRendererColumnRenderer, Kd as WebviewNotificationDismissParams, Kf as Struct, Ki as ExtensionBlobRef, Kl as ExtensionSessionQuery, Kn as HistoryRecoveryInput, Ko as StepFinishPart, Kr as RegionSize, Ks as PageLocation, Kt as ParsedWorkbenchPageUrl, Ku as TemplateContribution, La as WorkspaceCapabilities, Lc as TreeRendererContribution, Ld as WebviewFilesListParams, Lf as TerminalSessionExit, Li as CommandContext, Ll as SegmentedOption, Ln as defineMiddleware, Lo as TimeoutStrategy, Lr as workbenchPageDefinitions, Ls as ResourceAnchorValidationResult, Lt as createTerminalSessionBridge, Lu as FileIconThemeContribution, Ma as PackageManifest, Mc as TreeNodeRowVariant, Md as WebviewDeclarableCapability, Mi as FileRendererSaveParams, Ml as ReadOnlyControl, Mn as defineViewMenu, Mo as HarnessStartInput, Mr as isValidLocalContributionId, Ms as ResourceAnchor, Mt as ArtifactMountKey, Mu as ExtensionSettingProperty, Na as ProviderContributions, Nc as TreeNodeTarget, Nd as WebviewExtensionSettingKeyParams, Nf as TerminalEvent, Ni as FileRendererSectionAnchor, Nl as ResourceControl, Nn as defineWorkspaceType, No as HarnessSteeringInput, Nr as localContributionIdGrammar, Ns as ResourceAnchorChangeEvent, Nt as artifactMountId, Nu as ExtensionSettingScope, Oa as ExtensionSourceKind, Oc as ViewMenuContribution, Od as WebviewCapabilityDeclaration, Of as TextParam, Oi as FileRendererContribution, Ol as ParamEditorReadOnlyContent, On as defineTemplate, Oo as HarnessRecoveryInput, Or as workspaceSlots, Os as ExtensionResourcesApi, Ot as WebviewStreamsClient, Ou as CommandPaletteResourceItem, Pa as ScheduleContribution, Pc as TreeRendererActionParams, Pd as WebviewExtensionSettingSetParams, Pi as FileRendererSectionTarget, Pl as ResourceOption, Pn as resourceMenuSlotRef, Po as HarnessSteeringResult, Pr as localContributionIdPattern, Ps as ResourceAnchorPage, Pt as artifactsRead, Pu as ExtensionSettingValueForType, Qa as HarnessParamDescriptor, Qc as DataTableRendererRow, Qd as WebviewScopedDeclarableCapability, Qf as ModeRef, Qi as ExtensionNotifyApi, Ql as SessionExitCause, Qn as splitHistoryTurns, Qo as ToolPartStatus, Qr as CommandCompletedEvent, Qs as PageParamValue, Qt as resolveEventReferenceId, Qu as CollectionBadgeItem, Ra as WorkspaceExecutionTarget, Rc as TreeRendererMoveParams, Rd as WebviewFilesUploadParams, Rf as TerminalSessionHandle, Ri as CommandMiddlewareContext, Rl as SelectionControl, Rn as streamOf, Ro as ErrorPart, Rr as workbenchPages, Rs as ResourceRef, Rt as resourceKey, Ru as KeybindingChord, Sa as CommandDefinition, Sc as PlacementTabMenuRow, Sd as WEBVIEW_DECLARABLE_CAPABILITIES, Sf as ParamValue, Si as NavigationTargetCommand, Sl as ControlValueMap, Sn as defineSchedule, So as HarnessQuestion, Sr as projectEvents, Ss as NotificationActorType, St as WebviewClientOptions, Ta as ExtensionConnectionContribution, Tc as TreeViewBody, Td as WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES, Tf as ResourceParam, Ti as NavigationTargetItem, Tl as HarnessControlValue, Tn as defineSkill, To as HarnessQuestionReplyError, Tr as sessionSlots, Ts as NotificationPriority, Tt as createWebviewClient, Tu as CliContribution, Ua as WorkspaceProviderResult, Uc as TreeViewSection, Ud as WebviewKeyboardEventParams, Uf as JsonPrimitive, Ui as ExtensionActivityApi, Ul as VectorValue, Un as SDK_VERSION, Uo as SessionMessage, Ur as workbenchSlots, Us as FileSourcePosition, Ut as params, Uu as SettingsPanelContribution, Va as WorkspaceProviderRef, Vc as TreeRendererState, Vd as WebviewHostCapabilityResult, Vi as CommandStreamWriter, Vl as TextControl, Vn as CommandResponse, Vo as PatchPart, Vr as workbenchResourceKindDefinitions, Vs as ResourceRole, Vt as QualifiedRef, Vu as ModeContribution, Wa as WorkspaceProviderState, Wc as DEFAULT_DATA_TABLE_SETTINGS, Wd as WebviewNavigationOpenParams, Wf as JsonValue, Wi as ExtensionArtifactApi, Wl as ExtensionHarnessInput, Wn as HistoryConflict, Wo as SessionMessagePart, Wr as DockedWorkbenchRegion, Ws as PageContribution, Wt as defaultPageResourceCodec, Wu as SettingsSectionContribution, Xa as HarnessContext, Xc as DataTableRendererQueryResult, Xd as WebviewPreferencesGetParams, Xf as ContributionKind, Xi as ExtensionFilesApi, Xl as ExtensionSessionsApi, Xn as mergeHistoryMetadata, Xo as ToolPart, Xr as dockedWorkbenchRegions, Xs as PageOpenIntent, Xt as serializePageUrl, Xu as WebviewContribution, Ya as WorkflowStatus, Yc as DataTableRendererQueryParams, Yd as WebviewPageParamsUpdateParams, Yf as ContributionInput, Yi as ExtensionEventsApi, Yl as ExtensionSessionUsage, Yn as historyValueKey, Yo as TokenUsagePart, Yr as ResourceMenuSlotDefinition, Ys as PageMainView, Yt as parseWorkbenchPageUrl, Yu as ThemeMode, Za as HarnessDetectionResult, Zc as DataTableRendererResourceRef, Zd as WebviewPreferencesSetParams, Zf as ContributionRef, Zi as ExtensionNetApi, Zl as SessionExit, Zn as reconcileMessageHistory, Zo as ToolPartActionType, Zr as extensionPanelRegions, Zs as PageParamDefinition, Zt as serializeWorkbenchPageUrl, Zu as WhenExpression, _a as ExtensionWorkspace, _c as PlacementItem, _d as KanbanRendererSortDirection, _f as ParamDescriptor, _i as CommandStartedEvent, _l as BooleanControl, _n as defineNavigationTree, _o as HarnessExit, _p as ViewFilterRule, _r as SessionLifecyclePayload, _s as CreateNotificationInput, aa as ExtensionStorageCollectionApi, ac as PanelRef, ad as KanbanRendererCreateRowContribution, af as ArtifactChangedPayload, ai as CommandLifecyclePhase, al as ControlsApplyInput, an as WebviewPageClient, ao as HarnessCommandContext, ap as StatusRef, ar as normalizePageParams, as as BoardViews, ba as AssetContributions, bc as PlacementPresentation, bd as ViewToolbarAction, bf as ParamOptionSource, bi as WorkbenchAttachmentInvocationContext, bl as ControlParam, bn as defineResourceHierarchyProvider, bo as HarnessParamValue, bp as parseExtensionApiDeclaration, br as WorktreeRemovedPayload, bs as Notification, bt as WebviewArtifactsClient, ca as ProcessRunInput, cc as ControlsViewBody, cd as KanbanRendererMove, cf as BooleanParam, ci as CommandOutcome, cl as ControlsRendererContribution, cn as defineActivityItem, co as HarnessOperation, cp as Localizable, cr as resolvePageParams, cs as ExtensionConnectionResponse, ct as AutomationRun, da as SetupContext, dc as KanbanViewBody, dd as KanbanRendererResourceRef, df as JsonParam, di as CommandReject, dl as ControlsUpdateValueInput, dn as defineConnection, do as AgentCapability, dp as l10n, dr as isNavigationTarget, ds as ExtensionLoggerApi, dt as AutomationRunStatus, ea as ExtensionProcessApi, ec as PageSlot, ed as KanbanRendererAttributeDisplay, ef as SlotOptions, ei as CommandDiagnostic, el as DataTableRendererRowActivationHandler, en as ExtensionViewRender, eo as HarnessProvider, ep as PlacementRef, er as mergeOrderedHistory, fa as StorageScope, fc as NavigationItemContribution, fd as KanbanRendererRow, ff as ListParam, fi as CommandRejectedEvent, fl as ActionOption, fn as defineFileIconTheme, fo as ApprovalRequest, fp as normalizeBooleanViewRule, fr as qualifyNavigationTarget, fs as ExtensionAutomationApi, ga as CreateWorkspaceCommandParams, gc as PlacementContribution, gd as KanbanRendererSettings, gf as NumberParam, gi as CommandSource, gl as BaseControl, gn as defineNavigationItem, go as HarnessEventSink, gp as ViewFilterGroup, gr as RebasePayload, ha as CreateExtensionWorkspaceInput, hc as NavigationTreeSlot, hd as KanbanRendererSavedView, hf as MultiSelectParam, hi as CommandRequestedEvent, hl as AnchorGridValue, hn as defineMode, ho as HarnessAttachment, hp as ViewFilterCondition, hr as MergePayload, ia as ExtensionStorageApi, ic as PageSlotRole, id as KanbanRendererContribution, if as RendererEventReference, ii as CommandLifecycleEventPayload, il as DataTableRendererThemeColor, in as defineExtensionView, ip as StatusBarSlotRef, ir as eventRef, is as BoardViewUpdate, ja as MiddlewareDefinition, jc as TreeNode, jd as WebviewCommandsStreamParams, jf as ResourceConstraint, ji as FileRendererResourceRef, jl as RangeValue, jn as defineView, jo as HarnessSession, jr as resolveDataTableFieldKind, js as RendererInvocationContext, jt as WebviewExtensionEvent, ju as CommandPaletteResourceTarget, ka as HookDefinition, kc as WebviewViewBody, kd as WebviewCommandStreamEvent, kf as WorkspaceParam, ki as FileRendererLoadParams, kl as ParamEditorReadOnlyImage, kn as defineTemplateType, ko as HarnessRecoveryResult, kr as worktreeEvents, ks as PackageAssetDescriptor, kt as EXTENSION_EVENTS_SCOPE, ku as CommandPaletteResourceQueryParams, la as ProcessRunResult, lc as DataTableViewBody, ld as KanbanRendererQueryParams, lf as FilesParam, li as CommandPatchParams, ll as ControlsResetInput, ln as defineArtifactMount, lo as HarnessOperationResult, lp as LocalizedString, lr as validatePageParamDefinitions, ls as ExtensionConnectionStreamEvent, ma as WorkspaceSyncFile, mc as NavigationTreeContribution, md as KanbanRendererRowActivationHandler, mf as MarkdownParam, mi as CommandReplaceParams, ml as AnchorGridControl, mn as defineKeybinding, mo as HarnessApprovalChannel, mp as ViewFieldKind, mr as ConflictPayload, na as ExtensionSettingsApi, nc as PageSlotRef, nd as KanbanRendererBoardColumnConfig, nf as UiSlotKind, ni as CommandHelpersApi, nl as DataTableRendererSelectionAction, nn as PropsStore, no as HarnessStateApi, np as SettingsSectionRef, nr as defineSlot, ns as BoardView, oa as ExtensionTerminalApi, oc as PlacementIdentity, od as KanbanRendererEnumOption, of as EventDeliveryResult, oi as CommandMiddlewareResult, ol as ControlsQueryParams, on as GuestHost, oo as HarnessCommandDiscoveryContext, op as ThemeRef, or as pageParamsQuery, os as ExtensionConnectionMethod, pa as WorkspaceFilesMount, pc as NavigationOwnerRef, pd as KanbanRendererRowAction, pf as LongTextParam, pi as CommandReplaceInvocation, pl as ActionsControl, pn as defineHarness, po as ApprovalResponse, pp as VIEW_FILTER_CONDITIONS, pr as CommitPayload, qa as StatusBarItemContribution, qc as DataTableRendererColumnStat, qd as WebviewNotificationResolveParams, qf as ConnectionRef, qi as ExtensionBlobsApi, ql as ExtensionSessionResource, qn as HistoryRecoveryResult, qo as StepStartPart, qr as ResourceHierarchyProvider, qs as PageMain, qt as isWorkbenchProjectUrl, qu as TemplateTypeContribution, ra as ExtensionSkillsApi, rc as PageSlotRegion, rd as KanbanRendererColumnAction, rf as RendererContributionBase, ri as CommandInvocation, rl as DataTableRendererSettings, rn as WebviewFilesClient, ro as RetryableHarnessReattachError, rp as SettingsSlotRef, rr as commandRef, rs as BoardViewCreate, sa as MigrationContext, sc as PlacementOwner, sd as KanbanRendererFilterState, sf as EventRef, si as CommandNotice, sl as ControlsQueryResult, sn as defineExtension, so as HarnessCommandState, sp as ViewRef, sr as parsePageParams, ss as ExtensionConnectionRequest, ta as ExtensionProjectContext, tc as PageSlotCardinality, td as KanbanRendererAttributeType, tf as SlotRef, ti as CommandFailedEvent, tl as DataTableRendererSavedView, tn as ExtensionViewRenderContext, to as HarnessSkillsLayout, tp as ResourceKindRef, tr as isFileSourcePosition, ua as RendererCallback, uc as FileViewBody, ud as KanbanRendererQueryResult, uf as HarnessParam, ui as CommandRef, ul as ControlsResourceRef, un as defineCommandPaletteResource, uo as PreparedHarnessOperation, up as isLocalizedString, ur as packageAsset, us as ExtensionConnectionsApi, va as ExtensionWorkspaceProvider, vc as PlacementMountStrategy, vd as KanbanRendererViewMode, vf as ParamObjectSchema, vi as CommandTarget, vl as ColorControl, vn as definePage, vo as HarnessExitStatus, vp as ViewSort, vr as WorkspaceProvisionPayload, vs as ListNotificationsQuery, vt as projectPrefix, wa as EXTENSION_API_VERSION, wc as PlacementTabSnapshot, wd as WEBVIEW_HOST_CAPABILITY_VERSION, wf as ParamsOf, wi as NavigationTargetHref, wl as HarnessControl, wn as defineSettingsSection, wo as HarnessQuestionOption, wp as AgentModel, wr as sessionEvents, ws as NotificationOrigin, wt as WebviewSettingsClient, wu as ArtifactMountContribution, xa as BehaviourContributions, xc as PlacementTabMenuGroup, xd as ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES, xf as ParamType, xi as NavigationTarget, xl as ControlValue, xn as defineResourceKind, xo as HarnessParams, xp as supportsExtensionApiVersion, xr as gitEvents, xs as NotificationAction, xt as WebviewClient, ya as ExtensionWorkspacesApi, yc as PlacementPresence, yd as KanbanRendererViewSettings, yf as ParamOption, yi as SerializedError, yl as ControlGroup, yn as definePlacement, yo as HarnessMessagesInput, yp as ViewSortDirection, yr as WorkspaceType, ys as ListNotificationsResponse, yt as matchesResourceWhen, za as WorkspaceProviderCreateInput, zc as TreeRendererQueryParams, zd as WebviewHostCapability, zi as CommandMiddlewareHandler, zl as SelectionGroup, zn as commandRefId, zo as FilePart, zr as workbenchPanelDefinitions, zs as ResourceRemovedEvent, zt as artifactChanged, zu as KeybindingContribution } from "./index-COGwWDWo.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 KanbanRendererMove, 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 PageParamDefinition, type PageParamValue, type PageParams, 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 SessionExit, type SessionExitCause, type SessionLifecyclePayload, type SessionMessage, type SessionMessagePart, type SessionMessageRole, type SessionRunSnapshot, 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 WebviewPageClient, type WebviewPageParamsUpdateParams, 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, normalizePageParams, packageAsset, type pageParamsQuery, params, type parseExtensionApiDeclaration, type parsePageParams, parsePageUrl, parseWorkbenchPageUrl, projectEvents, projectPrefix, projectSlots, qualifyNavigationTarget, qualifyRef, reconcileMessageHistory, resolveDataTableComparableValue, resolveDataTableFieldKind, resolveEventReferenceId, resolvePageParams, resourceKey, resourceMenuSlotRef, serializePageUrl, serializeWorkbenchPageUrl, sessionEvents, sessionSlots, splitHistoryTurns, streamOf, submittedPrompt, type supportsExtensionApiVersion, unwrapCommandOutcome, validatePageParamDefinitions, 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 { hd as Session, ld as FollowUpInput } from "./index-DkdFWvBu.js";
2
- import "./sessions-BxSoBBsc.js";
3
- import { t as Workspace } from "./index-BSYo6MuF.js";
4
- import { t as PstdioClient } from "./index-ByLqNUdX.js";
1
+ import { lu as Session, ru as FollowUpInput } from "./index-COGwWDWo.js";
2
+ import "./sessions-CIy86sx7.js";
3
+ import { t as Workspace } from "./index-BDnOpwNd.js";
4
+ import { t as PstdioClient } from "./index-CWJstQMY.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-DkdFWvBu.js";
1
+ import { d as WorkspaceListItem$1, s as Workspace$1 } from "./index-COGwWDWo.js";
2
2
  //#region src/resources/workspace.d.ts
3
3
  type Workspace = Workspace$1;
4
4
  type WorkspaceListItem = WorkspaceListItem$1;