@pstdio/sdk 0.45.0 → 0.46.0-nightly.20261024001730
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.d.ts +4 -4
- package/dist/client/index.js +1 -0
- package/dist/client.d.ts +2 -2
- package/dist/data.d.ts +1 -1
- package/dist/extensions/index.js +78 -4
- package/dist/extensions-react.d.ts +1 -1
- package/dist/extensions.d.ts +2 -2
- package/dist/hooks.d.ts +3 -3
- package/dist/{index-DBkZvGh1.d.ts → index-D2BQbfOQ.d.ts} +10 -2
- package/dist/{index-j28tAAxd.d.ts → index-DWpHZ0Dd.d.ts} +4655 -4187
- package/dist/resources.d.ts +1 -1
- package/dist/sessions-BxkKQA56.d.ts +2 -0
- package/dist/skills-BxkKQA56.d.ts +2 -0
- package/dist/testing/index.js +451 -45
- package/dist/testing.d.ts +3 -1
- package/package.json +8 -1
- package/dist/sessions-BWTUYUnW.d.ts +0 -2
- package/dist/skills-BWTUYUnW.d.ts +0 -2
package/dist/api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import "./sessions-
|
|
3
|
-
import "./skills-
|
|
1
|
+
import { $ as ExtensionConnectionRecord, A as ListExtensionSettingsResponse, Ad as UpdateQueuedFollowUpInput, Co as UpdateSkillInput, Ct as AutomationTokenRecord, D as ExtensionSettingDefinitionRecord, Dd as QueuedFollowUpUpdateResponse, Do as Notification$1, Dt as ListAutomationRunEventsResponse, Ed as QueuedFollowUpRequest, Eo as ListNotificationsResponse$1, Et as IssueAutomationTokenResponse, F as ExtensionDiagnosticsResponse, G as ProjectExtensionInstance, H as InstallMarketplaceExtensionResponse, I as InstallExtensionRequest, Io as UpdateNotificationInput$1, J as CommandExecuteRequest, K as UpgradeProjectExtensionResponse, L as InstallExtensionResponse, M as ExtensionKeybindingRecord, Mo as NotificationOrigin$1, N as ExtensionCommandPaletteResourceRecord, No as NotificationPriority$1, O as ExtensionSettingValueRecord, Od as QueuedSteeringResult, Oo as NotificationAction$1, Ot as ListAutomationTokensResponse, P as WorkbenchExtensionCommandPaletteResourceRecord, Po as NotificationStatus$1, Q as ConfigureExtensionConnectionInput, R as InstalledExtensionSource, Sd as SessionQueuedMessagesResponse, St as AutomationRunStatus, T as LinkIcon, Td as PendingQueuedFollowUpsResponse, To as ListNotificationsQuery$1, Tt as IssueAutomationTokenInput, U as ListProjectExtensionsResponse, W as MarketplaceExtension, X as CommandExecutionResult, Y as CommandExecuteResponse, Zo as ResourceRef, _m as TerminalSessionExit, a as RemoveWorktreeResponse$1, ad as FollowUpInput, at as ExtensionCommandRecord, bm as TerminalSessionRequest, bt as AutomationRunError, c as WorkspaceFileContent$1, cd as ResolveSessionIdInput, ct as findViewFilterProblem, d as WorkspaceProviderDescriptor, dd as SessionAttachment, do as BoardField, dt as ListExtensionCommandsResponse, et as ListExtensionConnectionsResponse, f as WriteWorkspaceFileInput$1, fm as TerminalBridge, fo as BoardSummary, ft as WorkbenchExtensionHarnessRecord, g as sessionAttachmentMimeTypesByExtension, gm as TerminalSessionError, go as BoardViews, h as SessionSteeringInput, hd as SessionConversationSources, hm as TerminalSessionAdapter, ho as BoardViewUpdate, ht as WorkbenchExtensionViewRecord, i as ListWorkspaceFilesInput$1, id as CreateSessionInput, it as ExtensionCommandPaletteContribution, j as UpdateExtensionSettingRequest, jo as NotificationKind$1, k as ExtensionSettingsPanelRecord, kd as SteerQueuedFollowUpInput, ko as NotificationActorType$1, l as WorkspaceFileEntry$1, ld as ResolveSessionIdResponse, lt as viewFilterValueKind, m as UpdateSettingsInput, md as SessionConversationResponse, mm as TerminalHostEvent, mo as BoardViewCreate, mt as WorkbenchExtensionViewBody, nt as ExtensionRecord, o as RenameWorkspaceInput$1, ot as ExtensionMenuContribution, p as Settings, pd as SessionAttachmentRef, po as BoardView, pt as WorkbenchExtensionMetadata, rd as ApprovalInput, rt as LocalizableString, st as WorkbenchExtensionAutomationRecord, t as CreateWorkspaceInput$1, tt as ExtensionDiagnostic, u as WorkspaceFilesResponse$1, ut as ListExtensionAppearanceResponse, v as CreateProjectInput, w as UpdateProjectInput, wd as CombineQueuedFollowUpsInput, wo as CreateNotificationInput$1, wt as CreateAutomationRunInput, xm as TerminalSessionResult, xt as AutomationRunEvent, ym as TerminalSessionOperation, yt as AutomationRun, z as AddLocalExtensionFolderResponse } from "./index-DWpHZ0Dd.js";
|
|
2
|
+
import "./sessions-BxkKQA56.js";
|
|
3
|
+
import "./skills-BxkKQA56.js";
|
|
4
4
|
/** @deprecated Import `CreateNotificationInput` from `@pstdio/sdk/resources`. */
|
|
5
5
|
type CreateNotificationInput = CreateNotificationInput$1;
|
|
6
6
|
/** @deprecated Import `ListNotificationsQuery` from `@pstdio/sdk/resources`. */
|
|
@@ -32,5 +32,5 @@ type WorkspaceFileContent = WorkspaceFileContent$1;
|
|
|
32
32
|
type WorkspaceFileEntry = WorkspaceFileEntry$1;
|
|
33
33
|
type WorkspaceFilesResponse = WorkspaceFilesResponse$1;
|
|
34
34
|
type WriteWorkspaceFileInput = WriteWorkspaceFileInput$1;
|
|
35
|
-
export { type AddLocalExtensionFolderResponse, type ApprovalInput, type AutomationRun, type AutomationRunError, type AutomationRunEvent, type AutomationRunStatus, type AutomationTokenRecord, type BoardField, type BoardSummary, type BoardView, type BoardViewCreate, type BoardViewUpdate, type BoardViews, type CombineQueuedFollowUpsInput, type CommandExecuteRequest, type CommandExecuteResponse, type CommandExecutionResult, type ConfigureExtensionConnectionInput, type CreateAutomationRunInput, type CreateNotificationInput, type CreateProjectInput, type CreateSessionInput, type CreateWorkspaceInput, type ExtensionCommandPaletteContribution, type ExtensionCommandPaletteResourceRecord, type ExtensionCommandRecord, type ExtensionConnectionRecord, type ExtensionDiagnostic, type ExtensionDiagnosticsResponse, type ExtensionKeybindingRecord, type ExtensionMenuContribution, type ExtensionRecord, type ExtensionSettingDefinitionRecord, type ExtensionSettingValueRecord, type ExtensionSettingsPanelRecord, type FollowUpInput, type InstallExtensionRequest, type InstallExtensionResponse, type InstallMarketplaceExtensionResponse, type InstalledExtensionSource, type IssueAutomationTokenInput, type IssueAutomationTokenResponse, type LinkIcon, type ListAutomationRunEventsResponse, type ListAutomationTokensResponse, type ListExtensionAppearanceResponse, type ListExtensionCommandsResponse, type ListExtensionConnectionsResponse, type ListExtensionSettingsResponse, type ListNotificationsQuery, type ListNotificationsResponse, type ListProjectExtensionsResponse, type ListWorkspaceFilesInput, type LocalizableString, type MarketplaceExtension, type Notification, type NotificationAction, type NotificationActorType, type NotificationKind, type NotificationOrigin, type NotificationPriority, type NotificationStatus, type PendingQueuedFollowUpsResponse, type ProjectExtensionInstance, type QueuedFollowUpRequest, type QueuedFollowUpUpdateResponse, type QueuedSteeringResult, type RemoveWorktreeResponse, type RenameWorkspaceInput, type ResolveSessionIdInput, type ResolveSessionIdResponse, type ResourceRef, type SessionAttachment, type SessionAttachmentRef, type SessionConversationResponse, type SessionConversationSources, type SessionQueuedMessagesResponse, type Settings, type SteerQueuedFollowUpInput, type TerminalBridge, type TerminalHostEvent, type TerminalSessionAdapter, type TerminalSessionError, type TerminalSessionExit, type TerminalSessionOperation, type TerminalSessionRequest, type TerminalSessionResult, type UpdateExtensionSettingRequest, type UpdateNotificationInput, type UpdateProjectInput, type UpdateQueuedFollowUpInput, type UpdateSettingsInput, type UpdateSkillInput, type UpgradeProjectExtensionResponse, type WorkbenchExtensionAutomationRecord, type WorkbenchExtensionCommandPaletteResourceRecord, type WorkbenchExtensionHarnessRecord, type WorkbenchExtensionMetadata, type WorkbenchExtensionViewBody, type WorkbenchExtensionViewRecord, type WorkspaceFileContent, type WorkspaceFileEntry, type WorkspaceFilesResponse, type WorkspaceProviderDescriptor, type WriteWorkspaceFileInput, findViewFilterProblem, sessionAttachmentMimeTypesByExtension, viewFilterValueKind };
|
|
35
|
+
export { type AddLocalExtensionFolderResponse, type ApprovalInput, type AutomationRun, type AutomationRunError, type AutomationRunEvent, type AutomationRunStatus, type AutomationTokenRecord, type BoardField, type BoardSummary, type BoardView, type BoardViewCreate, type BoardViewUpdate, type BoardViews, type CombineQueuedFollowUpsInput, type CommandExecuteRequest, type CommandExecuteResponse, type CommandExecutionResult, type ConfigureExtensionConnectionInput, type CreateAutomationRunInput, type CreateNotificationInput, type CreateProjectInput, type CreateSessionInput, type CreateWorkspaceInput, type ExtensionCommandPaletteContribution, type ExtensionCommandPaletteResourceRecord, type ExtensionCommandRecord, type ExtensionConnectionRecord, type ExtensionDiagnostic, type ExtensionDiagnosticsResponse, type ExtensionKeybindingRecord, type ExtensionMenuContribution, type ExtensionRecord, type ExtensionSettingDefinitionRecord, type ExtensionSettingValueRecord, type ExtensionSettingsPanelRecord, type FollowUpInput, type InstallExtensionRequest, type InstallExtensionResponse, type InstallMarketplaceExtensionResponse, type InstalledExtensionSource, type IssueAutomationTokenInput, type IssueAutomationTokenResponse, type LinkIcon, type ListAutomationRunEventsResponse, type ListAutomationTokensResponse, type ListExtensionAppearanceResponse, type ListExtensionCommandsResponse, type ListExtensionConnectionsResponse, type ListExtensionSettingsResponse, type ListNotificationsQuery, type ListNotificationsResponse, type ListProjectExtensionsResponse, type ListWorkspaceFilesInput, type LocalizableString, type MarketplaceExtension, type Notification, type NotificationAction, type NotificationActorType, type NotificationKind, type NotificationOrigin, type NotificationPriority, type NotificationStatus, type PendingQueuedFollowUpsResponse, type ProjectExtensionInstance, type QueuedFollowUpRequest, type QueuedFollowUpUpdateResponse, type QueuedSteeringResult, type RemoveWorktreeResponse, type RenameWorkspaceInput, type ResolveSessionIdInput, type ResolveSessionIdResponse, type ResourceRef, type SessionAttachment, type SessionAttachmentRef, type SessionConversationResponse, type SessionConversationSources, type SessionQueuedMessagesResponse, type SessionSteeringInput, type Settings, type SteerQueuedFollowUpInput, type TerminalBridge, type TerminalHostEvent, type TerminalSessionAdapter, type TerminalSessionError, type TerminalSessionExit, type TerminalSessionOperation, type TerminalSessionRequest, type TerminalSessionResult, type UpdateExtensionSettingRequest, type UpdateNotificationInput, type UpdateProjectInput, type UpdateQueuedFollowUpInput, type UpdateSettingsInput, type UpdateSkillInput, type UpgradeProjectExtensionResponse, type WorkbenchExtensionAutomationRecord, type WorkbenchExtensionCommandPaletteResourceRecord, type WorkbenchExtensionHarnessRecord, type WorkbenchExtensionMetadata, type WorkbenchExtensionViewBody, type WorkbenchExtensionViewRecord, type WorkspaceFileContent, type WorkspaceFileEntry, type WorkspaceFilesResponse, type WorkspaceProviderDescriptor, type WriteWorkspaceFileInput, findViewFilterProblem, sessionAttachmentMimeTypesByExtension, viewFilterValueKind };
|
|
36
36
|
export {};
|
package/dist/client/index.js
CHANGED
|
@@ -1545,6 +1545,7 @@ var createSessionClient = (request, clientOptions, streams = createSessionStream
|
|
|
1545
1545
|
archive: (sessionId) => request(`/v1/sessions/${sessionId}/archive`, { method: "POST" }),
|
|
1546
1546
|
delete: (sessionId) => request(`/v1/sessions/${encodeURIComponent(sessionId)}`, { method: "DELETE" }),
|
|
1547
1547
|
followUp: (sessionId, input) => request(`/v1/sessions/${sessionId}/follow-up`, { method: "POST", body: input }),
|
|
1548
|
+
steer: (sessionId, input) => request(`/v1/sessions/${sessionId}/steer`, { method: "POST", body: input }),
|
|
1548
1549
|
approve: (sessionId, input) => request(`/v1/sessions/${sessionId}/approve`, { method: "POST", body: input }),
|
|
1549
1550
|
getConversation: (sessionId, signal) => request(`/v1/sessions/${sessionId}/conversation`, { signal }),
|
|
1550
1551
|
getConversationSources: (sessionId, signal) => request(`/v1/sessions/${sessionId}/conversation/sources`, { signal }),
|
package/dist/client.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as ExtensionClient, B as PstdioApiError, C as ResourceAnchorsClient, D as DirectoryEntry, E as LinkIconsClient, F as AssetUploadInput, H as RequestFn, I as AssetsClient, L as AgentClient, M as BoardViewsClient, N as AutomationClient, O as FilesystemClient, P as AssetClientOwner, R as AccountClient, S as createRuntimeClient, T as NotificationsClient, U as RequestOptions, V as PstdioConnectionError, W as createRequest, _ as SessionClient, a as WorkspaceClient, b as SseEvent, c as SyncConnection, d as SyncWriterProvider, f as applySyncEvent, g as ListSessionsInput, h as SettingsClient, i as createClient, j as CommandStreamClientEvent, k as FilesystemDrive, l as SyncRow, m as SkillClient, n as AssetTransfer, o as StartSyncInput, p as parseSyncDeleteEvent, r as PstdioClient, s as SyncClient, t as AssetReference, u as SyncWriter, v as SessionStreamConnection, w as ProjectClient, x as RuntimeClient, y as SessionStreamHandlers, z as ClientOptions } from "./index-
|
|
1
|
+
import { Cp as AccountStatus, bp as AccountDevice, vp as ProjectSyncState, wp as DeviceLogin, yp as ProjectSyncStatus } from "./index-DWpHZ0Dd.js";
|
|
2
|
+
import { A as ExtensionClient, B as PstdioApiError, C as ResourceAnchorsClient, D as DirectoryEntry, E as LinkIconsClient, F as AssetUploadInput, H as RequestFn, I as AssetsClient, L as AgentClient, M as BoardViewsClient, N as AutomationClient, O as FilesystemClient, P as AssetClientOwner, R as AccountClient, S as createRuntimeClient, T as NotificationsClient, U as RequestOptions, V as PstdioConnectionError, W as createRequest, _ as SessionClient, a as WorkspaceClient, b as SseEvent, c as SyncConnection, d as SyncWriterProvider, f as applySyncEvent, g as ListSessionsInput, h as SettingsClient, i as createClient, j as CommandStreamClientEvent, k as FilesystemDrive, l as SyncRow, m as SkillClient, n as AssetTransfer, o as StartSyncInput, p as parseSyncDeleteEvent, r as PstdioClient, s as SyncClient, t as AssetReference, u as SyncWriter, v as SessionStreamConnection, w as ProjectClient, x as RuntimeClient, y as SessionStreamHandlers, z as ClientOptions } from "./index-D2BQbfOQ.js";
|
|
3
3
|
export { type AccountClient, type AccountDevice, type AccountStatus, type AgentClient, type AssetClientOwner, type AssetReference, type AssetTransfer, type AssetUploadInput, type AssetsClient, type AutomationClient, type BoardViewsClient, type ClientOptions, type CommandStreamClientEvent, type DeviceLogin, type DirectoryEntry, type ExtensionClient, type FilesystemClient, type FilesystemDrive, type LinkIconsClient, type ListSessionsInput, type NotificationsClient, type ProjectClient, type ProjectSyncState, type ProjectSyncStatus, 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 };
|
|
4
4
|
export {};
|
package/dist/data.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Sa as ArtifactMount } from "./index-DWpHZ0Dd.js";
|
|
2
2
|
export declare const assertSafePathSegment: (value: string) => void;
|
|
3
3
|
/** @deprecated Use the named file handle from the extension file API (PRD 0009). Removed in 0.45 after Planner and Reports adopt that API. */
|
|
4
4
|
export declare const requireRepoFiles: (projectFiles: ArtifactMount | undefined) => ArtifactMount;
|
package/dist/extensions/index.js
CHANGED
|
@@ -325,6 +325,8 @@ var workbenchPanelDefinitions = {
|
|
|
325
325
|
}
|
|
326
326
|
};
|
|
327
327
|
var workbenchSlots = {
|
|
328
|
+
developerSettings: hostRef("settings-panel", "developer.settings"),
|
|
329
|
+
globalSettings: hostRef("settings-panel", "global.settings"),
|
|
328
330
|
projectSettings: hostRef("settings-panel", "project.settings"),
|
|
329
331
|
extensionSettings: hostRef("settings-panel", "extension.settings"),
|
|
330
332
|
statusBarLeading: hostRef("status-bar-item", "status-bar.leading"),
|
|
@@ -988,7 +990,7 @@ var DEFAULT_DATA_TABLE_SETTINGS = {
|
|
|
988
990
|
columnOrder: []
|
|
989
991
|
};
|
|
990
992
|
// ../pstdio-api-contracts/src/extension-kernel/types/extension.ts
|
|
991
|
-
var EXTENSION_API_VERSION = "0.2.
|
|
993
|
+
var EXTENSION_API_VERSION = "0.2.2";
|
|
992
994
|
// ../pstdio-api-contracts/src/extension-kernel/types/webview-capabilities.ts
|
|
993
995
|
var WEBVIEW_HOST_CAPABILITY_VERSION = 1;
|
|
994
996
|
var WEBVIEW_DECLARABLE_CAPABILITIES = [
|
|
@@ -1016,7 +1018,9 @@ var WEBVIEW_DECLARABLE_CAPABILITIES = [
|
|
|
1016
1018
|
"files.list",
|
|
1017
1019
|
"files.delete",
|
|
1018
1020
|
"account.read",
|
|
1019
|
-
"account.manage"
|
|
1021
|
+
"account.manage",
|
|
1022
|
+
"performance.read",
|
|
1023
|
+
"performance.control"
|
|
1020
1024
|
];
|
|
1021
1025
|
var WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES = ["artifacts.read"];
|
|
1022
1026
|
var ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES = ["host.dispatchKeyboardEvent"];
|
|
@@ -1028,7 +1032,7 @@ var WEBVIEW_HOST_CAPABILITIES = [
|
|
|
1028
1032
|
var EXTENSION_EVENTS_SCOPE = "extension.events";
|
|
1029
1033
|
var artifactMountId = (mount) => typeof mount === "string" ? mount : mount.id;
|
|
1030
1034
|
// package.json
|
|
1031
|
-
var version = "0.
|
|
1035
|
+
var version = "0.46.0-nightly.20261024001730";
|
|
1032
1036
|
|
|
1033
1037
|
// src/version.ts
|
|
1034
1038
|
var SDK_VERSION = version;
|
|
@@ -1471,6 +1475,75 @@ var createWebviewEventsClient = (host, extensionId) => ({
|
|
|
1471
1475
|
}
|
|
1472
1476
|
});
|
|
1473
1477
|
|
|
1478
|
+
// src/extensions/webview-performance-client.ts
|
|
1479
|
+
var captures = new WeakMap;
|
|
1480
|
+
var subscribers = new WeakMap;
|
|
1481
|
+
var createWebviewPerformanceClient = (host) => ({
|
|
1482
|
+
state: () => host.call("performance.read", { operation: "state" }),
|
|
1483
|
+
recordings: () => host.call("performance.read", { operation: "recordings" }),
|
|
1484
|
+
snapshot: () => host.call("performance.read", { operation: "snapshot" }),
|
|
1485
|
+
setEnabled: (enabled) => host.call("performance.control", { operation: "set-enabled", enabled }),
|
|
1486
|
+
pauseExtension: (installedExtensionId) => host.call("performance.control", { operation: "pause-extension", installedExtensionId }),
|
|
1487
|
+
resumeExtension: (installedExtensionId) => host.call("performance.control", { operation: "resume-extension", installedExtensionId }),
|
|
1488
|
+
retain: async () => {
|
|
1489
|
+
let shared = captures.get(host);
|
|
1490
|
+
if (!shared) {
|
|
1491
|
+
shared = { count: 0, starting: host.call("performance.read", { operation: "retain" }) };
|
|
1492
|
+
captures.set(host, shared);
|
|
1493
|
+
}
|
|
1494
|
+
shared.count++;
|
|
1495
|
+
try {
|
|
1496
|
+
await shared.starting;
|
|
1497
|
+
} catch (error) {
|
|
1498
|
+
shared.count--;
|
|
1499
|
+
if (shared.count === 0)
|
|
1500
|
+
captures.delete(host);
|
|
1501
|
+
throw error;
|
|
1502
|
+
}
|
|
1503
|
+
let released = false;
|
|
1504
|
+
return async () => {
|
|
1505
|
+
if (released)
|
|
1506
|
+
return;
|
|
1507
|
+
released = true;
|
|
1508
|
+
shared.count--;
|
|
1509
|
+
if (shared.count === 0) {
|
|
1510
|
+
captures.delete(host);
|
|
1511
|
+
await host.call("performance.read", { operation: "dispose" });
|
|
1512
|
+
}
|
|
1513
|
+
};
|
|
1514
|
+
},
|
|
1515
|
+
subscribe: async (listener) => {
|
|
1516
|
+
const stop = host.onEvent("performance.read", (snapshot) => listener(snapshot));
|
|
1517
|
+
let shared = subscribers.get(host);
|
|
1518
|
+
if (!shared) {
|
|
1519
|
+
shared = { count: 0, starting: host.call("performance.read", { operation: "subscribe" }) };
|
|
1520
|
+
subscribers.set(host, shared);
|
|
1521
|
+
}
|
|
1522
|
+
shared.count++;
|
|
1523
|
+
try {
|
|
1524
|
+
await shared.starting;
|
|
1525
|
+
} catch (error) {
|
|
1526
|
+
stop();
|
|
1527
|
+
shared.count--;
|
|
1528
|
+
if (shared.count === 0)
|
|
1529
|
+
subscribers.delete(host);
|
|
1530
|
+
throw error;
|
|
1531
|
+
}
|
|
1532
|
+
let stopped = false;
|
|
1533
|
+
return async () => {
|
|
1534
|
+
if (stopped)
|
|
1535
|
+
return;
|
|
1536
|
+
stopped = true;
|
|
1537
|
+
stop();
|
|
1538
|
+
shared.count--;
|
|
1539
|
+
if (shared.count === 0) {
|
|
1540
|
+
subscribers.delete(host);
|
|
1541
|
+
await host.call("performance.read", { operation: "unsubscribe" });
|
|
1542
|
+
}
|
|
1543
|
+
};
|
|
1544
|
+
}
|
|
1545
|
+
});
|
|
1546
|
+
|
|
1474
1547
|
// src/internal/stream-buffer.ts
|
|
1475
1548
|
var createStreamBuffer = (input) => {
|
|
1476
1549
|
const queue = [];
|
|
@@ -1702,7 +1775,8 @@ var createWebviewClient = (host, options) => {
|
|
|
1702
1775
|
streams,
|
|
1703
1776
|
events,
|
|
1704
1777
|
settings,
|
|
1705
|
-
account: createWebviewAccountClient(host)
|
|
1778
|
+
account: createWebviewAccountClient(host),
|
|
1779
|
+
performance: createWebviewPerformanceClient(host)
|
|
1706
1780
|
};
|
|
1707
1781
|
};
|
|
1708
1782
|
// src/extensions/when.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Rp as RendererEventReference, _n as WebviewEventsClient } from "./index-DWpHZ0Dd.js";
|
|
2
2
|
import { QueryKey, UseQueryResult } from "@tanstack/react-query";
|
|
3
3
|
interface CommandQueryInput<TResult> {
|
|
4
4
|
queryKey: QueryKey;
|
package/dist/extensions.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $a as AssetContributions, $c as PlacementOwner, $d as WebviewHostCapabilityResult, $i as CommandRequestedEvent, $l as ControlsQueryParams, $m as ToolPart, $n as defineArtifactMount, $o as HarnessQuestionChannel, $p as JsonPrimitive, $r as WorkspaceType, $t as qualifyNavigationTarget, $u as KeybindingContribution, Aa as ExtensionEventsApi, Ac as ResourceResolution, Ad as KanbanRendererSortDirection, Ai as ResourceHierarchyProvider, Al as TreeRendererMoveParams, Am as supportsExtensionApiVersion, An as commandEvent, Ao as HarnessProvider, Ap as ParamOptionSource, Ar as CommandOutcomeError, As as StorageResolution, At as isWebviewCapabilityError, Au as SegmentedOption, Ba as MigrationContext, Bc as PageMainPanels, Bd as WebviewCapabilityDeclaration, Bi as CommandHelpersApi, Bl as DataTableRendererColumnStat, Bm as submittedPrompt, Bn as serializeWorkbenchPageUrl, Bo as PreparedHarnessOperation, Bp as ResourceBinding, Br as commandRef, Bs as BoardViews, Bt as NotificationOrigin, Bu as CommandPaletteContribution, Ca as CommandMiddlewareHandler, Cc as ResourceAnchorQueryPage, Cd as KanbanRendererQueryResult, Cf as ExtensionSessionsApi, Ci as workbenchPanels, Cl as TreeNode, Cm as ViewFieldKind, Cn as artifactsRead, Co as WorkspaceProviderState, Cp as LongTextParam, Cr as resourceMenuSlotRef, Cu as RangeControl, Da as ExtensionActivityApi, Dc as ResourceRef, Dd as KanbanRendererRowActivationHandler, Di as DockedWorkbenchRegion, Dl as TreeRendererChildrenParams, Dm as ViewSort, Dn as createTerminalSessionBridge, Do as HarnessDetectionResult, Dp as ParamDescriptor, Dr as streamOf, Ds as StorageConflictInspection, Du as ResourceOption, Ea as EventContext, Ec as ResourceIdentity, Ed as KanbanRendererRowAction, Ef as SessionRunSnapshot, Ei as workbenchSlots, El as TreeRendererActionParams, Em as ViewFilterRule, En as TerminalSessionBridge, Eo as HarnessContext, Ep as NumberParam, Er as defineMiddleware, Es as StorageConflict, Eu as ResourceControl, Fa as ExtensionProcessApi, Fc as FileSourcePosition, Fd as WebviewAccountManageParams, Fi as CommandCompletedEvent, Fl as TreeViewSection, Fm as historyMessageKey, Fn as ParsedWorkbenchPageUrl, Fo as HarnessCommandContext, Fp as ResourceParam, Fr as RESOURCE_ACTIONS_EVENTS_SCOPE, Ft as ListNotificationsResponse, Fu as VectorControl, Ga as WorkspaceFilesMount, Gc as PageParams, Gd as WebviewExtensionSettingKeyParams, Gi as CommandNotice, Gl as DataTableRendererRow, Gm as ReasoningPart, Gn as ExtensionViewRenderContext, Go as HarnessAttachment, Gr as packageAsset, Gs as ExtensionConnectionsApi, Gu as CommandPaletteResourceTarget, Ha as ProcessRunResult, Hc as PageOpenIntent, Hd as WebviewCommandsExecuteParams, Hi as CommandLifecycleEventPayload, Hl as DataTableRendererQueryParams, Hm as FilePart, Hn as resolveEventReferenceId, Ho as ApprovalRequest, Hr as PageResourceCodec, Hs as ExtensionConnectionRequest, Ht as NotificationStatus, Hu as CommandPaletteResourceItem, Ia as ExtensionProjectContext, Ic as PageContribution, Id as WebviewAccountReadParams, Ii as CommandContinue, Il as TreeViewSectionStructure, Im as historyValueKey, In as isWorkbenchProjectUrl, Io as HarnessCommandDiscoveryContext, Ip as SelectParam, Ir as WebviewHostProps, It as Notification, Iu as VectorValue, Ja as CreateWorkspaceCommandParams, Jc as PageSlotRef, Jd as WebviewFilesDeleteParams, Ji as CommandRef, Jl as DataTableRendererSavedView, Jm as SessionMessageRole, Jn as WebviewFilesClient, Jo as HarnessExitStatus, Jp as TerminalSessionHandle, Jr as ConflictPayload, Jt as WEBVIEW_HOST_CAPABILITIES, Ju as ExtensionSettingValueForType, Ka as WorkspaceSyncFile, Kc as PageSlot, Kd as WebviewExtensionSettingSetParams, Ki as CommandOutcome, Kl as DataTableRendererRowAction, Km as SessionMessage, Kn as defineExtensionView, Ko as HarnessEventSink, Kr as isNavigationTarget, Ks as ExtensionLoggerApi, Kt as ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES, Ku as ExtensionSettingProperty, La as ExtensionSettingsApi, Lc as PageDocumentDeclaration, Ld as WebviewAccountResult, Li as CommandDiagnostic, Ll as DEFAULT_DATA_TABLE_SETTINGS, Lm as mergeHistoryMetadata, Ln as parsePageUrl, Lo as HarnessCommandState, Lp as TemplateParam, Lr as isFileSourcePosition, Ls as BoardView, Lt as NotificationAction, Lu as ActivityItemContribution, Ma as ExtensionNetApi, Mc as ViewHierarchyParent, Md as KanbanRendererViewSettings, Mi as ResourceMenuSlotDefinition, Ml as TreeRendererResourceRef, Mm as HistoryProjection, Mn as qualifyRef, Mo as HarnessStateApi, Mp as ParamValue, Mr as getCommandValue, Ms as StorageSaveState, Mt as AssetTransfer, Mu as SelectionGroup, Na as ExtensionNotifyApi, Nd as ViewToolbarAction, Ni as dockedWorkbenchRegions, Nl as TreeRendererState, Nm as HistoryRecoveryInput, Nn as params, No as RetryableHarnessReattachError, Np as ParamValueRef, Nr as unwrapCommandOutcome, Ns as ExtensionAssetsApi, Nt as CreateNotificationInput, Nu as SelectionOption, Oa as ExtensionArtifactApi, Oc as ResourceRemovedEvent, Od as KanbanRendererSavedView, Oi as ExtensionPanelRegion, Ol as TreeRendererCommandResult, Om as ViewSortDirection, On as resourceKey, Oo as HarnessParamDescriptor, Op as ParamObjectSchema, Or as commandRefId, Os as StorageGroup, Ot as projectPrefix, Ou as ResourceRefValue, Pa as ExtensionPackageFilesApi, Pd as VersionedWebviewCapabilityDeclaration, Pi as extensionPanelRegions, Pl as TreeSectionEmptyState, Pm as HistoryRecoveryResult, Pn as PageUrlDefinition, Pp as ParamsOf, Pr as SDK_VERSION, Ps as ExtensionViewsApi, Pt as ListNotificationsQuery, Pu as TextControl, Qa as ExtensionWorkspacesApi, Qc as PlacementIdentity, Qd as WebviewHostCapabilityParams, Qi as CommandReplaceParams, Ql as ControlsApplyInput, Qm as TokenUsagePart, Qn as defineActivityItem, Qo as HarnessQuestion, Qp as JsonObject, Qr as WorkspaceProvisionPayload, Qt as normalizePageParams, Qu as KeybindingChord, Ra as ExtensionSkillsApi, Rc as PageLocation, Rd as WebviewArtifactFile, Ri as CommandFailedEvent, Rl as DataTableRendererColumn, Rm as reconcileMessageHistory, Rn as parseWorkbenchPageUrl, Ro as HarnessOperation, Rp as TextParam, Rr as defineSlot, Rs as BoardViewCreate, Rt as NotificationActorType, Ru as ArtifactMountContribution, Sa as CommandMiddlewareContext, Sc as ResourceAnchorQuery, Sd as KanbanRendererQueryParams, Sf as ExtensionSessionUsage, Si as workbenchPanelDefinitions, Sl as TreeAction, Sm as VIEW_FILTER_CONDITIONS, Sn as artifactMountId, So as WorkspaceProviderResult, Sp as ListParam, Sr as defineWorkspaceType, Ss as ExtensionRecordsApi, Su as ParamEditorReadOnlyImage, Ta as CommandStreamWriter, Tc as ResourceAnchorValidationResult, Td as KanbanRendererRow, Tf as SessionExitCause, Ti as workbenchResourceKinds, Tl as TreeNodeTarget, Tm as ViewFilterGroup, Tn as TerminalSessionAdapter, To as StatusBarItemContribution, Tp as MultiSelectParam, Tr as defineHook, Ts as SharedEdit, Tu as ReadOnlyControl, Ua as RendererCallback, Uc as PageParamDefinition, Ud as WebviewCommandsStreamParams, Ui as CommandLifecyclePhase, Ul as DataTableRendererQueryResult, Um as LoadingPart, Un as ExtensionViewModule, Uo as ApprovalResponse, Up as TerminalEvent, Ur as pageParamsQuery, Us as ExtensionConnectionResponse, Ut as UpdateNotificationInput, Uu as CommandPaletteResourceQueryParams, Va as ProcessRunInput, Vc as PageMainView, Vd as WebviewCommandStreamEvent, Vi as CommandInvocation, Vl as DataTableRendererContribution, Vm as ErrorPart, Vn as defaultPageResourceCodec, Vo as AgentCapability, Vp as ResourceConstraint, Vr as eventRef, Vs as ExtensionConnectionMethod, Vt as NotificationPriority, Vu as CommandPaletteResourceContribution, Wa as SetupContext, Wc as PageParamValue, Wd as WebviewDeclarableCapability, Wi as CommandMiddlewareResult, Wl as DataTableRendererResourceRef, Wm as PatchPart, Wn as ExtensionViewRender, Wo as HarnessApprovalChannel, Wr as parsePageParams, Ws as ExtensionConnectionStreamEvent, Wu as CommandPaletteResourceQueryResult, Xa as ExtensionWorkspaceCreateInput, Xc as PageSlotRole, Xd as WebviewFilesUploadParams, Xi as CommandRejectedEvent, Xl as DataTableRendererSettings, Xm as StepStartPart, Xn as PropsStore, Xo as HarnessParamValue, Xp as TerminalSessionRequest, Xr as RebasePayload, Xt as WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES, Xu as ExtensionSettingsContribution, Ya as ExtensionWorkspace, Yc as PageSlotRegion, Yd as WebviewFilesListParams, Yi as CommandReject, Yl as DataTableRendererSelectionAction, Ym as StepFinishPart, Yn as GuestHost, Yo as HarnessMessagesInput, Yr as MergePayload, Yt as WEBVIEW_HOST_CAPABILITY_VERSION, Yu as ExtensionSettingValueType, Za as ExtensionWorkspaceProvider, Zc as PanelRef, Zd as WebviewHostCapability, Zi as CommandReplaceInvocation, Zl as DataTableRendererThemeColor, Zm as TextPart, Zn as defineExtension, Zo as HarnessParams, Zr as SessionLifecyclePayload, Zt as mergeOrderedHistory, Zu as FileIconThemeContribution, _a as FileRendererSectionAnchor, _c as RendererContext, _d as KanbanRendererColumnAction, _f as ExtensionSession, _i as localContributionIdPattern, _l as TreeViewBody, _m as Localizable, _n as EditingSessionOptions, _o as WorkspaceExecutionTarget, _p as EventRef, _r as defineTemplate, _s as ExtensionStorageApi, _u as HarnessControl, aa as NavigationTarget, ad as SkillContribution, af as WebviewNotificationResolveParams, ai as resourceEvents, al as NavigationOwnerRef, am as ContributionInput, an as WebviewArtifactsClient, ao as ExtensionDefinition, ap as AccountLogin, ar as defineMode, as as HarnessRecoveryResult, au as ActionOption, ba as ArtifactMount, bc as ResourceAnchorChangeEvent, bd as KanbanRendererEnumOption, bf as ExtensionSessionResource, bi as workbenchPageDefinitions, bl as ViewMenuContribution, bm as l10n, bn as WebviewEditingSession, bo as WorkspaceProviderRef, bp as HarnessParam, br as defineView, bs as ExtensionStoragePositionsApi, bu as NumberControl, ca as NavigationTargetHref, cd as ThemeContribution, cf as WebviewPreferencesGetParams, ci as viewDataEvents, cl as PlacementContribution, cm as ModeRef, cn as WebviewCommandsClient, co as HookDefinition, cp as DeviceLogin, cr as definePage, cs as HarnessStartInput, cu as AnchorGridValue, da as NavigationTargetPanel, dd as WhenExpression, df as WebviewScopedDeclarableCapability, di as worktreeEvents, dl as PlacementPresence, dm as ResourceKindRef, dn as WebviewStreamsClient, do as PackageManifest, dp as SlotRef, dr as defineResourceKind, ds as JsonPatch, du as ColorControl, ea as CommandSource, ed as MenuContribution, ef as WebviewHostCapabilityResults, eh as ToolPartActionType, ei as WorktreeRemovedPayload, el as ControlsViewBody, em as JsonValue, en as resolveDataTableComparableValue, eo as BehaviourContributions, er as defineCommandPaletteResource, es as HarnessQuestionOption, eu as ControlsQueryResult, fa as FileRendererContribution, fd as CollectionBadgeItem, ff as WebviewEditingChange, fi as applyEditingChanges, fl as PlacementPresentation, fm as SettingsSectionRef, fn as CommandStream, fo as ProviderContributions, fp as UiSlotKind, fr as defineSchedule, fs as QuestionResponse, fu as ControlGroup, ga as FileRendererSaveParams, gc as RelatedResourceOpenings, gd as KanbanRendererBoardColumnConfig, gf as ExtensionHarnessInput, gi as localContributionIdGrammar, gl as PlacementTabSnapshot, gm as ViewRef, gn as WebviewExtensionEvent, go as WorkspaceCapabilities, gp as EventDeliveryResult, gr as defineStatusBarItem, gs as ExtensionBlobsApi, gu as DateControl, ha as FileRendererResourceRef, hc as RelatedResourceOpening, hd as KanbanRendererAttributeType, hf as WebviewEditingSnapshot, hi as isValidLocalContributionId, hl as PlacementTabPresentation, hm as ThemeRef, hn as WebviewEventsClient, ho as UiContributions, hp as ArtifactChangedPayload, hr as defineSkill, hs as ExtensionBlobRef, hu as ControlValueMap, ia as WorkbenchAttachmentInvocationContext, id as SettingsSectionContribution, if as WebviewNotificationDismissParams, ii as projectSlots, il as NavigationItemContribution, im as ContributionDefinition, in as matchesResourceWhen, io as ExtensionConnectionContribution, ip as AccountDevice, ir as defineKeybinding, is as HarnessRecoveryInput, iu as ControlsUpdateValueInput, ja as ExtensionFilesApi, jc as ResourceRole, jd as KanbanRendererViewMode, ji as ResourceKindDefinition, jl as TreeRendererQueryParams, jm as HistoryConflict, jn as QualifiedRef, jo as HarnessSkillsLayout, jp as ParamType, jr as CommandResponse, js as StorageSaveOutcome, jt as AssetReference, ju as SelectionControl, ka as ExtensionContextBase, kc as ResourceRenumberedEvent, kd as KanbanRendererSettings, ki as RegionSize, kl as TreeRendererContribution, km as parseExtensionApiDeclaration, kn as artifactChanged, ko as HarnessParamsSchema, kp as ParamOption, kr as contributionRefId, ks as StorageRecord, kt as WebviewCapabilityError, ku as SegmentedControl, la as NavigationTargetItem, ld as ThemeMode, lf as WebviewPreferencesSetParams, li as workspaceEvents, ll as PlacementItem, lm as PageRef, ln as WebviewSettingsClient, lo as LocalExtensionSource, lp as SlotInvocationContext, lr as definePlacement, ls as HarnessSteeringInput, lu as BaseControl, ma as FileRendererLoadResult, mc as PackageAssetDescriptor, md as KanbanRendererAttributeDisplay, mf as WebviewEditingSessionParams, mi as rebaseEditingChanges, ml as PlacementTabMenuRow, mm as StatusBarSlotRef, mn as EXTENSION_EVENTS_SCOPE, mo as ScheduleExpression, mp as RendererEventReference, mr as defineSettingsSection, ms as ExtensionBlobInput, mu as ControlValue, na as CommandTarget, nd as ModeRegionSettings, nf as WebviewNavigationOpenParams, ni as gitEvents, nl as FileViewBody, nm as Struct, nn as resolvePageParams, no as CommandStreamDeclaration, np as ProjectSyncState, nr as defineFileIconTheme, ns as HarnessQuestionRequest, nu as ControlsResetInput, oa as NavigationTargetCommand, od as TemplateContribution, of as WebviewNotificationShowParams, oi as sessionEvents, ol as NavigationTreeContribution, om as ContributionKind, on as WebviewClient, oo as ExtensionLoadScope, op as AccountLoginStatus, or as defineNavigationItem, os as HarnessResumeInput, ou as ActionsControl, pa as FileRendererLoadParams, pc as ExtensionResourcesApi, pd as KanbanRendererAttributeDescriptor, pf as WebviewEditingSessionEvent, pi as diffEditingState, pl as PlacementTabMenuGroup, pm as SettingsSlotRef, pn as CommandStreamOptions, po as ScheduleContribution, pp as RendererContributionBase, pr as defineSettingsPanel, ps as TimeoutStrategy, pu as ControlParam, qa as CreateExtensionWorkspaceInput, qc as PageSlotCardinality, qd as WebviewFileScope, qi as CommandPatchParams, ql as DataTableRendererRowActivationHandler, qm as SessionMessagePart, qn as WebviewPageClient, qo as HarnessExit, qp as TerminalSessionExit, qr as CommitPayload, qs as ExtensionAutomationApi, qt as WEBVIEW_DECLARABLE_CAPABILITIES, qu as ExtensionSettingScope, ra as SerializedError, rd as SettingsPanelContribution, rf as WebviewNotificationActionParams, ri as projectEvents, rl as KanbanViewBody, rm as ConnectionRef, rn as validatePageParamDefinitions, ro as EXTENSION_API_VERSION, rp as ProjectSyncStatus, rr as defineHarness, rs as HarnessReattachInput, ru as ControlsResourceRef, sa as NavigationTargetCompound, sd as TemplateTypeContribution, sf as WebviewPageParamsUpdateParams, sh as AgentModel, si as sessionSlots, sl as NavigationTreeSlot, sm as ContributionRef, sn as WebviewClientOptions, so as ExtensionSourceKind, sp as AccountStatus, sr as defineNavigationTree, ss as HarnessSession, su as AnchorGridControl, ta as CommandStartedEvent, td as ModeContribution, tf as WebviewKeyboardEventParams, th as ToolPartStatus, ti as accountEvents, tl as DataTableViewBody, tm as MaybePromise, tn as resolveDataTableFieldKind, to as CommandDefinition, tp as ExtensionAccountApi, tr as defineConnection, ts as HarnessQuestionReplyError, tu as ControlsRendererContribution, ua as NavigationTargetPage, ud as WebviewContribution, uf as WebviewResourceAction, ui as workspaceSlots, ul as PlacementMountStrategy, um as PlacementRef, un as createWebviewClient, uo as MiddlewareDefinition, up as SlotOptions, ur as defineResourceHierarchyProvider, us as HarnessSteeringResult, uu as BooleanControl, va as FileRendererSectionTarget, vc as RendererInvocationContext, vd as KanbanRendererContribution, vf as ExtensionSessionPage, vi as workbenchModeDefinitions, vl as ViewBody, vm as LocalizedString, vn as EditingSnapshot, vo as WorkspaceProviderCreateInput, vp as BooleanParam, vr as defineTemplateType, vs as ExtensionStorageCollectionApi, vt as AutomationRun, vu as HarnessControlValue, wa as CommandRunHandler, wc as ResourceAnchorValidationInput, wd as KanbanRendererResourceRef, wf as SessionExit, wi as workbenchResourceKindDefinitions, wl as TreeNodeRowVariant, wm as ViewFilterCondition, wn as WebviewAccountClient, wo as WorkspaceTypeProvider, wp as MarkdownParam, wr as defineCommand, wu as RangeValue, xa as CommandContext, xc as ResourceAnchorPage, xd as KanbanRendererMove, xf as ExtensionSessionSummary, xi as workbenchPages, xl as WebviewViewBody, xm as normalizeBooleanViewRule, xn as ArtifactMountKey, xo as WorkspaceProviderResolveInput, xp as JsonParam, xr as defineViewMenu, xs as StorageScope, xt as AutomationRunStatus, xu as ParamEditorReadOnlyContent, ya as ArtifactFile, yc as ResourceAnchor, yd as KanbanRendererCreateRowContribution, yf as ExtensionSessionQuery, yi as workbenchModes, yl as ViewContribution, ym as isLocalizedString, yn as WebviewEditingClient, yo as WorkspaceProviderMutationInput, yp as FilesParam, yr as defineTheme, ys as ExtensionStorageMigration, yu as MarkdownControl, za as ExtensionTerminalApi, zc as PageMain, zd as WebviewArtifactsReadParams, zi as CommandFailureDetails, zl as DataTableRendererColumnRenderer, zm as splitHistoryTurns, zn as serializePageUrl, zo as HarnessOperationResult, zp as WorkspaceParam, zr as serializeCommandError, zs as BoardViewUpdate, zt as NotificationKind, zu as CliContribution } from "./index-j28tAAxd.js";
|
|
2
|
-
export { ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES, type AccountDevice, type AccountLogin, type AccountLoginStatus, type AccountStatus, 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 AssetReference, type AssetTransfer, 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 CommandFailureDetails, type CommandHelpersApi, type CommandInvocation, type CommandLifecycleEventPayload, type CommandLifecyclePhase, type CommandMiddlewareContext, type CommandMiddlewareHandler, type CommandMiddlewareResult, type CommandNotice, type CommandOutcome, CommandOutcomeError, 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 DeviceLogin, type DockedWorkbenchRegion, EXTENSION_API_VERSION, EXTENSION_EVENTS_SCOPE, type EditingSessionOptions, type EditingSnapshot, type ErrorPart, type EventContext, type EventDeliveryResult, type EventRef, type ExtensionAccountApi, type ExtensionActivityApi, type ExtensionArtifactApi, type ExtensionAssetsApi, 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 ExtensionRecordsApi, type ExtensionResourcesApi, type ExtensionSession, 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 ExtensionStorageMigration, type ExtensionStoragePositionsApi, type ExtensionTerminalApi, type ExtensionViewModule, type ExtensionViewRender, type ExtensionViewRenderContext, type ExtensionViewsApi, type ExtensionWorkspace, type ExtensionWorkspaceCreateInput, 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 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 PageResourceCodec, 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 ProjectSyncState, type ProjectSyncStatus, type PropsStore, type ProviderContributions, type QualifiedRef, type QuestionResponse, type RESOURCE_ACTIONS_EVENTS_SCOPE, type RangeControl, type RangeValue, type ReadOnlyControl, type ReasoningPart, type RebasePayload, type RegionSize, type RelatedResourceOpening, type RelatedResourceOpenings, type RendererCallback, type RendererContext, type RendererContributionBase, type RendererEventReference, type RendererInvocationContext, type ResourceAnchor, type ResourceAnchorChangeEvent, type ResourceAnchorPage, type ResourceAnchorQuery, type ResourceAnchorQueryPage, type ResourceAnchorValidationInput, type ResourceAnchorValidationResult, type ResourceBinding, type ResourceConstraint, type ResourceControl, type ResourceHierarchyProvider, type ResourceIdentity, type ResourceKindDefinition, type ResourceKindRef, type ResourceMenuSlotDefinition, type ResourceOption, type ResourceParam, type ResourceRef, type ResourceRefValue, type ResourceRemovedEvent, type ResourceRenumberedEvent, 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 SharedEdit as SharedStorageEdit, type SkillContribution, type SlotInvocationContext, type SlotOptions, type SlotRef, type StatusBarItemContribution, type StatusBarSlotRef, type StepFinishPart, type StepStartPart, type StorageConflict, type StorageConflictInspection, type StorageGroup, type StorageRecord, type StorageResolution, type StorageSaveOutcome, type StorageSaveState, 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 TreeViewSectionStructure, type UiContributions, type UiSlotKind, type UpdateNotificationInput, VIEW_FILTER_CONDITIONS, type VectorControl, type VectorValue, type VersionedWebviewCapabilityDeclaration, 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 WebviewAccountClient, type WebviewAccountManageParams, type WebviewAccountReadParams, type WebviewAccountResult, type WebviewArtifactFile, type WebviewArtifactsClient, type WebviewArtifactsReadParams, type WebviewCapabilityDeclaration, type WebviewCapabilityError, type WebviewClient, type WebviewClientOptions, type WebviewCommandStreamEvent, type WebviewCommandsClient, type WebviewCommandsExecuteParams, type WebviewCommandsStreamParams, type WebviewContribution, type WebviewDeclarableCapability, type WebviewEditingChange, type WebviewEditingClient, type WebviewEditingSession, type WebviewEditingSessionEvent, type WebviewEditingSessionParams, type WebviewEditingSnapshot, 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 WebviewHostProps, type WebviewKeyboardEventParams, type WebviewNavigationOpenParams, type WebviewNotificationActionParams, type WebviewNotificationDismissParams, type WebviewNotificationResolveParams, type WebviewNotificationShowParams, type WebviewPageClient, type WebviewPageParamsUpdateParams, type WebviewPreferencesGetParams, type WebviewPreferencesSetParams, type WebviewResourceAction, type WebviewScopedDeclarableCapability, type WebviewSettingsClient, type WebviewStreamsClient, type WebviewViewBody, type WhenExpression, type WorkbenchAttachmentInvocationContext, 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, accountEvents, applyEditingChanges, 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, defineTemplate, defineTemplateType, defineTheme, defineView, defineViewMenu, defineWorkspaceType, diffEditingState, dockedWorkbenchRegions, eventRef, extensionPanelRegions, getCommandValue, gitEvents, historyMessageKey, historyValueKey, isFileSourcePosition, isLocalizedString, isNavigationTarget, isValidLocalContributionId, isWebviewCapabilityError, isWorkbenchProjectUrl, l10n, localContributionIdGrammar, localContributionIdPattern, matchesResourceWhen, mergeHistoryMetadata, mergeOrderedHistory, normalizeBooleanViewRule, normalizePageParams, packageAsset, type pageParamsQuery, params, type parseExtensionApiDeclaration, type parsePageParams, parsePageUrl, parseWorkbenchPageUrl, projectEvents, projectPrefix, projectSlots, qualifyNavigationTarget, qualifyRef, rebaseEditingChanges, reconcileMessageHistory, resolveDataTableComparableValue, resolveDataTableFieldKind, resolveEventReferenceId, resolvePageParams, resourceEvents, resourceKey, resourceMenuSlotRef, type serializeCommandError, serializePageUrl, serializeWorkbenchPageUrl, sessionEvents, sessionSlots, splitHistoryTurns, streamOf, submittedPrompt, type supportsExtensionApiVersion, unwrapCommandOutcome, validatePageParamDefinitions, viewDataEvents, workbenchModeDefinitions, workbenchModes, workbenchPageDefinitions, workbenchPages, workbenchPanelDefinitions, workbenchPanels, workbenchResourceKindDefinitions, workbenchResourceKinds, workbenchSlots, workspaceEvents, workspaceSlots, worktreeEvents };
|
|
1
|
+
import { $a as ExtensionWorkspaceProvider, $c as SegmentedControl, $d as HarnessQuestionRequest, $f as StorageResolution, $i as CommandReplaceInvocation, $l as KanbanRendererSettings, $m as parseExtensionApiDeclaration, $n as defineExtension, $o as ResourceRenumberedEvent, $p as ParamOption, $r as SessionLifecyclePayload, $s as TreeRendererContribution, $t as normalizePageParams, $u as SessionExitCause, Aa as ExtensionArtifactApi, Ac as ActionsControl, Af as WorkspaceProviderCreateInput, Ai as ExtensionPanelRegion, Al as TemplateContribution, Am as ContributionKind, An as resourceKey, Ap as PerformanceProcessSample, Ar as commandRefId, As as NavigationTreeContribution, At as WebviewCapabilityError, Au as WebviewNavigationOpenParams, Ba as ExtensionSkillsApi, Bc as DateControl, Bd as ApprovalResponse, Bf as StoragePredicate, Bi as CommandFailedEvent, Bl as KanbanRendererBoardColumnConfig, Bm as ViewRef, Bn as parseWorkbenchPageUrl, Bo as RelatedResourceOpenings, Bp as EventDeliveryResult, Br as defineSlot, Bs as PlacementTabSnapshot, Bt as NotificationKind, Bu as WebviewEditingChange, Ca as CommandContext, Cc as ControlsQueryParams, Cf as PackageManifest, Ch as ToolPart, Ci as workbenchPages, Cl as KeybindingContribution, Cm as JsonPrimitive, Cn as ArtifactMountKey, Cp as AccountStatus, Cr as defineViewMenu, Cs as PlacementOwner, Cu as WebviewFilesListParams, Da as CommandStreamWriter, Dc as ControlsResourceRef, Df as UiContributions, Di as workbenchResourceKinds, Dl as SettingsPanelContribution, Dm as ConnectionRef, Dn as TerminalSessionAdapter, Dp as PerformanceSnapshot, Dr as defineHook, Ds as KanbanViewBody, Du as WebviewHostCapabilityResult, Ea as CommandRunHandler, Ec as ControlsResetInput, Ef as ScheduleExpression, Ei as workbenchResourceKindDefinitions, El as ModeRegionSettings, Em as Struct, En as WebviewAccountClient, Ep as PerformanceRecordingExport, Er as defineCommand, Es as FileViewBody, Eu as WebviewHostCapabilityParams, Fa as ExtensionNotifyApi, Fc as ColorControl, Fd as HarnessOperation, Ff as WorkspaceProviderState, Fi as dockedWorkbenchRegions, Fl as WhenExpression, Fm as ResourceKindRef, Fn as params, Fp as SlotRef, Fr as unwrapCommandOutcome, Fs as PlacementPresence, Ft as ListNotificationsQuery, Fu as WebviewPageParamsUpdateParams, Ga as RendererCallback, Gc as ParamEditorReadOnlyContent, Gd as HarnessExitStatus, Gf as StorageRecordQuery, Gi as CommandLifecyclePhase, Gl as KanbanRendererMove, Gm as normalizeBooleanViewRule, Gn as ExtensionViewModule, Go as ResourceAnchorPage, Gp as JsonParam, Gr as pageParamsQuery, Gs as WebviewViewBody, Gu as ExtensionSession, Ha as MigrationContext, Hc as HarnessControlValue, Hd as HarnessAttachment, Hf as StorageQueryRecord, Hi as CommandHelpersApi, Hl as KanbanRendererContribution, Hm as LocalizedString, Hn as serializeWorkbenchPageUrl, Ho as RendererInvocationContext, Hp as BooleanParam, Hr as commandRef, Hs as ViewBody, Ht as NotificationPriority, Hu as WebviewEditingSessionParams, Ia as ExtensionPackageFilesApi, Ic as ControlGroup, Id as HarnessOperationResult, If as WorkspaceTypeProvider, Ii as extensionPanelRegions, Il as CollectionBadgeItem, Im as SettingsSectionRef, In as PageUrlDefinition, Ip as UiSlotKind, Ir as SDK_VERSION, Is as PlacementPresentation, It as ListNotificationsResponse, Iu as WebviewPreferencesGetParams, Ja as WorkspaceSyncFile, Jc as RangeValue, Jd as HarnessParams, Jf as SharedEdit, Ji as CommandOutcome, Jl as KanbanRendererResourceRef, Jm as ViewFilterCondition, Jn as defineExtensionView, Jo as ResourceAnchorValidationInput, Jp as MarkdownParam, Jr as isNavigationTarget, Js as TreeNodeRowVariant, Jt as WEBVIEW_DECLARABLE_CAPABILITIES, Ju as ExtensionSessionResource, Ka as SetupContext, Kc as ParamEditorReadOnlyImage, Kd as HarnessMessagesInput, Ki as CommandMiddlewareResult, Kl as KanbanRendererQueryParams, Km as VIEW_FILTER_CONDITIONS, Kn as ExtensionViewRender, Ko as ResourceAnchorQuery, Kp as ListParam, Kr as parsePageParams, Ks as TreeAction, Ku as ExtensionSessionPage, La as ExtensionProcessApi, Lc as ControlParam, Ld as PreparedHarnessOperation, Lf as ExtensionRecordsApi, Li as CommandCompletedEvent, Ll as KanbanRendererAttributeDescriptor, Lm as SettingsSlotRef, Ln as ParsedWorkbenchPageUrl, Lo as ExtensionResourcesApi, Lp as RendererContributionBase, Lr as RESOURCE_ACTIONS_EVENTS_SCOPE, Ls as PlacementTabMenuGroup, Lt as Notification, Lu as WebviewPreferencesSetParams, Ma as ExtensionEventsApi, Mc as AnchorGridValue, Md as HarnessCommandContext, Mf as WorkspaceProviderRef, Mi as ResourceHierarchyProvider, Ml as ThemeContribution, Mm as ModeRef, Mn as commandEvent, Mp as PerformanceRuntimeReading, Mr as CommandOutcomeError, Ms as PlacementContribution, Mt as AssetReference, Mu as WebviewNotificationDismissParams, Na as ExtensionFilesApi, Nc as BaseControl, Nd as HarnessCommandDiscoveryContext, Nf as WorkspaceProviderResolveInput, Ni as ResourceKindDefinition, Nl as ThemeMode, Nm as PageRef, Nn as QualifiedRef, Np as SlotInvocationContext, Nr as CommandResponse, Ns as PlacementItem, Nt as AssetTransfer, Nu as WebviewNotificationResolveParams, Oa as EventContext, Oc as ControlsUpdateValueInput, Of as WorkspaceCapabilities, Oi as workbenchSlots, Ol as SettingsSectionContribution, Om as ContributionDefinition, On as TerminalSessionBridge, Op as PerformanceCapture, Or as defineMiddleware, Os as NavigationItemContribution, Ou as WebviewHostCapabilityResults, Pa as ExtensionNetApi, Pc as BooleanControl, Pd as HarnessCommandState, Pf as WorkspaceProviderResult, Pi as ResourceMenuSlotDefinition, Pl as WebviewContribution, Pm as PlacementRef, Pn as qualifyRef, Pp as SlotOptions, Pr as getCommandValue, Ps as PlacementMountStrategy, Pt as CreateNotificationInput, Pu as WebviewNotificationShowParams, Qa as ExtensionWorkspaceCreateInput, Qc as ResourceRefValue, Qd as HarnessQuestionReplyError, Qf as StorageRecord, Qi as CommandRejectedEvent, Ql as KanbanRendererSavedView, Qm as ViewSortDirection, Qn as PropsStore, Qo as ResourceRemovedEvent, Qp as ParamObjectSchema, Qr as RebasePayload, Qs as TreeRendererCommandResult, Qt as mergeOrderedHistory, Qu as SessionExit, Ra as ExtensionProjectContext, Rc as ControlValue, Rd as AgentCapability, Rf as StorageAggregateQuery, Ri as CommandContinue, Rl as KanbanRendererAttributeDisplay, Rm as StatusBarSlotRef, Rn as isWorkbenchProjectUrl, Ro as PackageAssetDescriptor, Rp as RendererEventReference, Rr as WebviewHostProps, Rs as PlacementTabMenuRow, Rt as NotificationAction, Ru as WebviewResourceAction, Sa as ArtifactMount, Sc as ControlsApplyInput, Sf as MiddlewareDefinition, Sh as TokenUsagePart, Si as workbenchPageDefinitions, Sl as KeybindingChord, Sm as JsonObject, Sn as WebviewEditingSession, Sp as AccountLoginStatus, Sr as defineView, Ss as PlacementIdentity, St as AutomationRunStatus, Su as WebviewFilesDeleteParams, Ta as CommandMiddlewareHandler, Tc as ControlsRendererContribution, Tf as ScheduleContribution, Th as ToolPartStatus, Ti as workbenchPanels, Tl as ModeContribution, Tm as MaybePromise, Tn as artifactsRead, Tp as PerformanceMonitoringState, Tr as resourceMenuSlotRef, Ts as DataTableViewBody, Tu as WebviewHostCapability, Ua as ProcessRunInput, Uc as MarkdownControl, Ud as HarnessEventSink, Uf as StorageRecordIndex, Ui as CommandInvocation, Ul as KanbanRendererCreateRowContribution, Um as isLocalizedString, Un as defaultPageResourceCodec, Uo as ResourceAnchor, Up as FilesParam, Ur as eventRef, Us as ViewContribution, Ut as NotificationStatus, Uu as WebviewEditingSnapshot, Va as ExtensionTerminalApi, Vc as HarnessControl, Vd as HarnessApprovalChannel, Vf as StorageQueryPage, Vi as CommandFailureDetails, Vl as KanbanRendererColumnAction, Vm as Localizable, Vn as serializePageUrl, Vo as RendererContext, Vp as EventRef, Vr as serializeCommandError, Vs as TreeViewBody, Vt as NotificationOrigin, Vu as WebviewEditingSessionEvent, Wa as ProcessRunResult, Wc as NumberControl, Wd as HarnessExit, Wf as StorageRecordQueries, Wi as CommandLifecycleEventPayload, Wl as KanbanRendererEnumOption, Wm as l10n, Wn as resolveEventReferenceId, Wo as ResourceAnchorChangeEvent, Wp as HarnessParam, Wr as PageResourceCodec, Ws as ViewMenuContribution, Wt as UpdateNotificationInput, Wu as ExtensionHarnessInput, Xa as CreateWorkspaceCommandParams, Xc as ResourceControl, Xd as HarnessQuestionChannel, Xf as StorageConflictInspection, Xi as CommandRef, Xl as KanbanRendererRowAction, Xm as ViewFilterRule, Xn as WebviewFilesClient, Xo as ResourceIdentity, Xp as NumberParam, Xr as ConflictPayload, Xs as TreeRendererActionParams, Xt as WEBVIEW_HOST_CAPABILITY_VERSION, Xu as ExtensionSessionUsage, Ya as CreateExtensionWorkspaceInput, Yc as ReadOnlyControl, Yd as HarnessQuestion, Yf as StorageConflict, Yi as CommandPatchParams, Yl as KanbanRendererRow, Ym as ViewFilterGroup, Yn as WebviewPageClient, Yo as ResourceAnchorValidationResult, Yp as MultiSelectParam, Yr as CommitPayload, Ys as TreeNodeTarget, Yt as WEBVIEW_HOST_CAPABILITIES, Yu as ExtensionSessionSummary, Za as ExtensionWorkspace, Zc as ResourceOption, Zd as HarnessQuestionOption, Zf as StorageGroup, Zi as CommandReject, Zl as KanbanRendererRowActivationHandler, Zm as ViewSort, Zn as GuestHost, Zo as ResourceRef, Zp as ParamDescriptor, Zr as MergePayload, Zs as TreeRendererChildrenParams, Zt as WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES, Zu as ExtensionSessionsApi, _a as FileRendererResourceRef, _c as DataTableRendererRowActivationHandler, _f as ExtensionDefinition, _h as SessionMessagePart, _i as isValidLocalContributionId, _l as ExtensionSettingScope, _m as TerminalSessionExit, _n as WebviewEventsClient, _o as ExtensionAutomationApi, _p as ExtensionAccountApi, _r as defineSkill, _s as PageSlotCardinality, _u as WebviewCommandsStreamParams, aa as SerializedError, ac as TreeViewSection, af as HarnessStartInput, ah as historyMessageKey, ai as projectEvents, al as VectorControl, am as ResourceParam, an as matchesResourceWhen, ao as ExtensionStorageCollectionApi, ap as HarnessParamDescriptor, ar as defineHarness, as as FileSourcePosition, au as CollectionPageGroup, ba as FileRendererSectionTarget, bc as DataTableRendererSettings, bf as HookDefinition, bh as StepStartPart, bi as workbenchModeDefinitions, bl as ExtensionSettingsContribution, bm as TerminalSessionRequest, bn as EditingSnapshot, bp as AccountDevice, br as defineTemplateType, bs as PageSlotRole, bu as WebviewExtensionSettingSetParams, ca as NavigationTargetCommand, cc as DataTableRendererColumn, cf as JsonPatch, ch as reconcileMessageHistory, ci as sessionEvents, cl as ArtifactMountContribution, cm as TextParam, cn as WebviewClientOptions, co as StorageScope, cp as HarnessSkillsLayout, cr as defineNavigationItem, cs as PageLocation, cu as VersionedWebviewCapabilityDeclaration, da as NavigationTargetItem, dc as DataTableRendererContribution, df as AssetContributions, dh as ErrorPart, di as workspaceEvents, dl as CommandPaletteResourceContribution, dm as ResourceConstraint, dn as createWebviewClient, dp as ExtensionConnectionMethod, dr as definePlacement, ds as PageMainView, du as WebviewAccountResult, ea as CommandReplaceParams, ec as TreeRendererMoveParams, ed as SessionRunSnapshot, ef as HarnessReattachInput, eh as supportsExtensionApiVersion, ei as WorkspaceProvisionPayload, el as SegmentedOption, em as ParamOptionSource, en as qualifyNavigationTarget, eo as ExtensionWorkspacesApi, ep as StorageSaveOutcome, er as defineActivityItem, es as ResourceResolution, eu as KanbanRendererSortDirection, fa as NavigationTargetPage, fc as DataTableRendererQueryParams, ff as BehaviourContributions, fh as FilePart, fi as workspaceSlots, fl as CommandPaletteResourceItem, fn as WebviewStreamsClient, fp as ExtensionConnectionRequest, fr as defineResourceHierarchyProvider, fs as PageOpenIntent, fu as WebviewArtifactFile, ga as FileRendererLoadResult, gc as DataTableRendererRowAction, gf as ExtensionConnectionContribution, gh as SessionMessage, gi as rebaseEditingChanges, gl as ExtensionSettingProperty, gn as EXTENSION_EVENTS_SCOPE, go as BoardViews, gp as ExtensionLoggerApi, gr as defineSettingsSection, gs as PageSlot, gu as WebviewCommandsExecuteParams, ha as FileRendererLoadParams, hc as DataTableRendererRow, hf as EXTENSION_API_VERSION, hh as ReasoningPart, hi as diffEditingState, hl as CommandPaletteResourceTarget, hn as WebviewPerformanceClient, ho as BoardViewUpdate, hp as ExtensionConnectionsApi, hr as defineSettingsPanel, hs as PageParams, hu as WebviewCommandStreamEvent, ia as CommandTarget, ic as TreeSectionEmptyState, if as HarnessSession, ih as HistoryRecoveryResult, ii as gitEvents, il as TextControl, im as ParamsOf, in as validatePageParamDefinitions, io as ExtensionStorageApi, ip as HarnessDetectionResult, ir as defineFileIconTheme, iu as CollectionPage, ja as ExtensionContextBase, jc as AnchorGridControl, jf as WorkspaceProviderMutationInput, jh as AgentModel, ji as RegionSize, jl as TemplateTypeContribution, jm as ContributionRef, jn as artifactChanged, jp as PerformanceResponseSample, jr as contributionRefId, js as NavigationTreeSlot, jt as isWebviewCapabilityError, ju as WebviewNotificationActionParams, ka as ExtensionActivityApi, kc as ActionOption, kf as WorkspaceExecutionTarget, ki as DockedWorkbenchRegion, kl as SkillContribution, km as ContributionInput, kn as createTerminalSessionBridge, kp as PerformanceCaptureSample, kr as streamOf, ks as NavigationOwnerRef, kt as projectPrefix, ku as WebviewKeyboardEventParams, la as NavigationTargetCompound, lc as DataTableRendererColumnRenderer, lf as QuestionResponse, lh as splitHistoryTurns, li as sessionSlots, ll as CliContribution, lm as WorkspaceParam, ln as WebviewCommandsClient, lo as ExtensionAssetsApi, lp as HarnessStateApi, lr as defineNavigationTree, ls as PageMain, lu as WebviewAccountManageParams, ma as FileRendererContribution, mc as DataTableRendererResourceRef, mf as CommandStreamDeclaration, mh as PatchPart, mi as applyEditingChanges, ml as CommandPaletteResourceQueryResult, mn as CommandStreamOptions, mo as BoardViewCreate, mp as ExtensionConnectionStreamEvent, mr as defineSchedule, ms as PageParamValue, mu as WebviewCapabilityDeclaration, na as CommandSource, nc as TreeRendererResourceRef, nd as ExtensionSessionStreamEvent, nf as HarnessRecoveryResult, nh as HistoryProjection, ni as WorktreeRemovedPayload, nl as SelectionGroup, nm as ParamValue, nn as resolveDataTableFieldKind, no as ExtensionBlobRef, np as StatusBarItemContribution, nr as defineCommandPaletteResource, ns as ViewHierarchyParent, nu as KanbanRendererViewSettings, oa as WorkbenchAttachmentInvocationContext, oc as TreeViewSectionStructure, of as HarnessSteeringInput, oh as historyValueKey, oi as projectSlots, ol as VectorValue, om as SelectParam, on as WebviewArtifactsClient, oo as ExtensionStorageMigration, op as HarnessParamsSchema, or as defineKeybinding, os as PageContribution, ou as CollectionPageRequest, pa as NavigationTargetPanel, pc as DataTableRendererQueryResult, pf as CommandDefinition, ph as LoadingPart, pi as worktreeEvents, pl as CommandPaletteResourceQueryParams, pm as TerminalEvent, pn as CommandStream, po as BoardView, pp as ExtensionConnectionResponse, pr as defineResourceKind, ps as PageParamDefinition, pu as WebviewArtifactsReadParams, qa as WorkspaceFilesMount, qc as RangeControl, qd as HarnessParamValue, qi as CommandNotice, ql as KanbanRendererQueryResult, qm as ViewFieldKind, qn as ExtensionViewRenderContext, qo as ResourceAnchorQueryPage, qp as LongTextParam, qr as packageAsset, qs as TreeNode, qt as ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES, qu as ExtensionSessionQuery, ra as CommandStartedEvent, rc as TreeRendererState, rf as HarnessResumeInput, rh as HistoryRecoveryInput, ri as accountEvents, rl as SelectionOption, rm as ParamValueRef, rn as resolvePageParams, ro as ExtensionBlobsApi, rp as HarnessContext, rr as defineConnection, ru as ViewToolbarAction, sa as NavigationTarget, sc as DEFAULT_DATA_TABLE_SETTINGS, sf as HarnessSteeringResult, sh as mergeHistoryMetadata, si as resourceEvents, sl as ActivityItemContribution, sm as TemplateParam, sn as WebviewClient, so as ExtensionStoragePositionsApi, sp as HarnessProvider, sr as defineMode, ss as PageDocumentDeclaration, su as CollectionPageStatistic, ta as CommandRequestedEvent, tc as TreeRendererQueryParams, td as ExtensionSessionControlsApi, tf as HarnessRecoveryInput, th as HistoryConflict, ti as WorkspaceType, tl as SelectionControl, tm as ParamType, tn as resolveDataTableComparableValue, to as ExtensionBlobInput, tp as StorageSaveState, tr as defineArtifactMount, ts as ResourceRole, tu as KanbanRendererViewMode, ua as NavigationTargetHref, uc as DataTableRendererColumnStat, uf as TimeoutStrategy, uh as submittedPrompt, ui as viewDataEvents, ul as CommandPaletteContribution, um as ResourceBinding, un as WebviewSettingsClient, uo as ExtensionViewsApi, up as RetryableHarnessReattachError, ur as definePage, us as PageMainPanels, uu as WebviewAccountReadParams, va as FileRendererSaveParams, vc as DataTableRendererSavedView, vf as ExtensionLoadScope, vh as SessionMessageRole, vi as localContributionIdGrammar, vl as ExtensionSettingValueForType, vm as TerminalSessionHandle, vn as WebviewExtensionEvent, vp as ProjectSyncState, vr as defineStatusBarItem, vs as PageSlotRef, vu as WebviewDeclarableCapability, wa as CommandMiddlewareContext, wc as ControlsQueryResult, wf as ProviderContributions, wh as ToolPartActionType, wi as workbenchPanelDefinitions, wl as MenuContribution, wm as JsonValue, wn as artifactMountId, wp as DeviceLogin, wr as defineWorkspaceType, ws as ControlsViewBody, wu as WebviewFilesUploadParams, xa as ArtifactFile, xc as DataTableRendererThemeColor, xf as LocalExtensionSource, xh as TextPart, xi as workbenchModes, xl as FileIconThemeContribution, xn as WebviewEditingClient, xp as AccountLogin, xr as defineTheme, xs as PanelRef, xu as WebviewFileScope, ya as FileRendererSectionAnchor, yc as DataTableRendererSelectionAction, yf as ExtensionSourceKind, yh as StepFinishPart, yi as localContributionIdPattern, yl as ExtensionSettingValueType, yn as EditingSessionOptions, yp as ProjectSyncStatus, yr as defineTemplate, ys as PageSlotRegion, yt as AutomationRun, yu as WebviewExtensionSettingKeyParams, za as ExtensionSettingsApi, zc as ControlValueMap, zd as ApprovalRequest, zf as StorageIndexField, zi as CommandDiagnostic, zl as KanbanRendererAttributeType, zm as ThemeRef, zn as parsePageUrl, zo as RelatedResourceOpening, zp as ArtifactChangedPayload, zr as isFileSourcePosition, zs as PlacementTabPresentation, zt as NotificationActorType, zu as WebviewScopedDeclarableCapability } from "./index-DWpHZ0Dd.js";
|
|
2
|
+
export { ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES, type AccountDevice, type AccountLogin, type AccountLoginStatus, type AccountStatus, 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 AssetReference, type AssetTransfer, 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 CollectionPage, type CollectionPageGroup, type CollectionPageRequest, type CollectionPageStatistic, type ColorControl, type CommandCompletedEvent, type CommandContext, type CommandContinue, type CommandDefinition, type CommandDiagnostic, type CommandFailedEvent, type CommandFailureDetails, type CommandHelpersApi, type CommandInvocation, type CommandLifecycleEventPayload, type CommandLifecyclePhase, type CommandMiddlewareContext, type CommandMiddlewareHandler, type CommandMiddlewareResult, type CommandNotice, type CommandOutcome, CommandOutcomeError, 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 DeviceLogin, type DockedWorkbenchRegion, EXTENSION_API_VERSION, EXTENSION_EVENTS_SCOPE, type EditingSessionOptions, type EditingSnapshot, type ErrorPart, type EventContext, type EventDeliveryResult, type EventRef, type ExtensionAccountApi, type ExtensionActivityApi, type ExtensionArtifactApi, type ExtensionAssetsApi, 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 ExtensionRecordsApi, type ExtensionResourcesApi, type ExtensionSession, type ExtensionSessionControlsApi, type ExtensionSessionPage, type ExtensionSessionQuery, type ExtensionSessionResource, type ExtensionSessionStreamEvent, 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 ExtensionStorageMigration, type ExtensionStoragePositionsApi, type ExtensionTerminalApi, type ExtensionViewModule, type ExtensionViewRender, type ExtensionViewRenderContext, type ExtensionViewsApi, type ExtensionWorkspace, type ExtensionWorkspaceCreateInput, 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 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 PageResourceCodec, 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 PerformanceCapture, type PerformanceCaptureSample, type PerformanceMonitoringState, type PerformanceProcessSample, type PerformanceRecordingExport, type PerformanceResponseSample, type PerformanceRuntimeReading, type PerformanceSnapshot, 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 ProjectSyncState, type ProjectSyncStatus, type PropsStore, type ProviderContributions, type QualifiedRef, type QuestionResponse, type RESOURCE_ACTIONS_EVENTS_SCOPE, type RangeControl, type RangeValue, type ReadOnlyControl, type ReasoningPart, type RebasePayload, type RegionSize, type RelatedResourceOpening, type RelatedResourceOpenings, type RendererCallback, type RendererContext, type RendererContributionBase, type RendererEventReference, type RendererInvocationContext, type ResourceAnchor, type ResourceAnchorChangeEvent, type ResourceAnchorPage, type ResourceAnchorQuery, type ResourceAnchorQueryPage, type ResourceAnchorValidationInput, type ResourceAnchorValidationResult, type ResourceBinding, type ResourceConstraint, type ResourceControl, type ResourceHierarchyProvider, type ResourceIdentity, type ResourceKindDefinition, type ResourceKindRef, type ResourceMenuSlotDefinition, type ResourceOption, type ResourceParam, type ResourceRef, type ResourceRefValue, type ResourceRemovedEvent, type ResourceRenumberedEvent, 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 SharedEdit as SharedStorageEdit, type SkillContribution, type SlotInvocationContext, type SlotOptions, type SlotRef, type StatusBarItemContribution, type StatusBarSlotRef, type StepFinishPart, type StepStartPart, type StorageAggregateQuery, type StorageConflict, type StorageConflictInspection, type StorageGroup, type StorageIndexField, type StoragePredicate, type StorageQueryPage, type StorageQueryRecord, type StorageRecord, type StorageRecordIndex, type StorageRecordQueries, type StorageRecordQuery, type StorageResolution, type StorageSaveOutcome, type StorageSaveState, 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 TreeViewSectionStructure, type UiContributions, type UiSlotKind, type UpdateNotificationInput, VIEW_FILTER_CONDITIONS, type VectorControl, type VectorValue, type VersionedWebviewCapabilityDeclaration, 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 WebviewAccountClient, type WebviewAccountManageParams, type WebviewAccountReadParams, type WebviewAccountResult, type WebviewArtifactFile, type WebviewArtifactsClient, type WebviewArtifactsReadParams, type WebviewCapabilityDeclaration, type WebviewCapabilityError, type WebviewClient, type WebviewClientOptions, type WebviewCommandStreamEvent, type WebviewCommandsClient, type WebviewCommandsExecuteParams, type WebviewCommandsStreamParams, type WebviewContribution, type WebviewDeclarableCapability, type WebviewEditingChange, type WebviewEditingClient, type WebviewEditingSession, type WebviewEditingSessionEvent, type WebviewEditingSessionParams, type WebviewEditingSnapshot, 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 WebviewHostProps, type WebviewKeyboardEventParams, type WebviewNavigationOpenParams, type WebviewNotificationActionParams, type WebviewNotificationDismissParams, type WebviewNotificationResolveParams, type WebviewNotificationShowParams, type WebviewPageClient, type WebviewPageParamsUpdateParams, type WebviewPerformanceClient, type WebviewPreferencesGetParams, type WebviewPreferencesSetParams, type WebviewResourceAction, type WebviewScopedDeclarableCapability, type WebviewSettingsClient, type WebviewStreamsClient, type WebviewViewBody, type WhenExpression, type WorkbenchAttachmentInvocationContext, 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, accountEvents, applyEditingChanges, 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, defineTemplate, defineTemplateType, defineTheme, defineView, defineViewMenu, defineWorkspaceType, diffEditingState, dockedWorkbenchRegions, eventRef, extensionPanelRegions, getCommandValue, gitEvents, historyMessageKey, historyValueKey, isFileSourcePosition, isLocalizedString, isNavigationTarget, isValidLocalContributionId, isWebviewCapabilityError, isWorkbenchProjectUrl, l10n, localContributionIdGrammar, localContributionIdPattern, matchesResourceWhen, mergeHistoryMetadata, mergeOrderedHistory, normalizeBooleanViewRule, normalizePageParams, packageAsset, type pageParamsQuery, params, type parseExtensionApiDeclaration, type parsePageParams, parsePageUrl, parseWorkbenchPageUrl, projectEvents, projectPrefix, projectSlots, qualifyNavigationTarget, qualifyRef, rebaseEditingChanges, reconcileMessageHistory, resolveDataTableComparableValue, resolveDataTableFieldKind, resolveEventReferenceId, resolvePageParams, resourceEvents, resourceKey, resourceMenuSlotRef, type serializeCommandError, 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,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./sessions-
|
|
3
|
-
import { r as PstdioClient } from "./index-
|
|
1
|
+
import { Gt as Workspace, ad as FollowUpInput, ud as Session } from "./index-DWpHZ0Dd.js";
|
|
2
|
+
import "./sessions-BxkKQA56.js";
|
|
3
|
+
import { r as PstdioClient } from "./index-D2BQbfOQ.js";
|
|
4
4
|
/** @deprecated Use typed extension hook contexts from `@pstdio/sdk/extensions`. Removed in 0.45. */
|
|
5
5
|
type SessionFollowupInput = Omit<FollowUpInput, "template" | "vars">;
|
|
6
6
|
type HookSessionClient = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import "./skills-
|
|
1
|
+
import { $ as ExtensionConnectionRecord, Ad as UpdateQueuedFollowUpInput, Ah as AgentInfo, B as EnableInstalledExtensionRequest, C as ProjectUpdateRequest, Co as UpdateSkillInput, Cp as AccountStatus, Cu as WebviewFilesListParams, Dd as QueuedFollowUpUpdateResponse, Dh as AssetTransfer$1, Do as Notification, Dt as ListAutomationRunEventsResponse, Eh as AssetReference$1, Eo as ListNotificationsResponse, Et as IssueAutomationTokenResponse, F as ExtensionDiagnosticsResponse, Fd as HarnessOperation, Fo as SetNotificationStatusInput, Go as ResourceAnchorPage, Gt as Workspace, Gu as ExtensionSession, I as InstallExtensionRequest, Ih as ActivityPage, Io as UpdateNotificationInput, Iu as WebviewPreferencesGetParams, J as CommandExecuteRequest, Jd as HarnessParams, K as UpgradeProjectExtensionResponse, Kf as EnvironmentIdentity, Ko as ResourceAnchorQuery, Kt as WorkspaceListItem, Ku as ExtensionSessionPage, L as InstallExtensionResponse, Lu as WebviewPreferencesSetParams, Nh as HarnessParamsInfo, O as ExtensionSettingValueRecord, Od as QueuedSteeringResult, Ot as ListAutomationTokensResponse, Pd as HarnessCommandState, Po as NotificationStatus, Q as ConfigureExtensionConnectionInput, Qa as ExtensionWorkspaceCreateInput, S as ProjectDetails, Sd as SessionQueuedMessagesResponse, Sm as JsonObject, So as SkillWithContentDetails, Sp as AccountLoginStatus, T as LinkIcon, Td as PendingQueuedFollowUpsResponse, To as ListNotificationsQuery, Tt as IssueAutomationTokenInput, U as ListProjectExtensionsResponse, Uo as ResourceAnchor, V as EnableInstalledExtensionResponse, X as CommandExecutionResult, Y as CommandExecuteResponse, Yu as ExtensionSessionSummary, Z as DispatchExtensionEventInput, Za as ExtensionWorkspace, Zo as ResourceRef, _ as RuntimeReadyResponse, _d as SessionCreateResponse, _t as BindEnvironmentInput, a as RemoveWorktreeResponse, ad as FollowUpInput, b as Project, bd as SessionFollowUpRequest, bp as AccountDevice, c as WorkspaceFileContent, cd as ResolveSessionIdInput, d as WorkspaceProviderDescriptor, dd as SessionAttachment, dt as ListExtensionCommandsResponse, et as ListExtensionConnectionsResponse, f as WriteWorkspaceFileInput, fd as SessionAttachmentDetails, fu as WebviewArtifactFile, gd as SessionCreateRequest, gt as MetadataPageTarget, h as SessionSteeringInput, hd as SessionConversationSources, ho as BoardViewUpdate, i as ListWorkspaceFilesInput, id as CreateSessionInput, is as PageQuery, jd as DraftHarnessCommandInput, jh as AgentModel, kd as SteerQueuedFollowUpInput, kh as AgentDetails, l as WorkspaceFileEntry, ld as ResolveSessionIdResponse, m as UpdateSettingsInput, md as SessionConversationResponse, mo as BoardViewCreate, n as ListWorkspaceActivityInput, no as ExtensionBlobRef, o as RenameWorkspaceInput, od as ListSessionActivityInput, p as Settings, pn as CommandStream, q as CommandExecuteBody, qf as EnvironmentTarget, qu as ExtensionSessionQuery, r as ListWorkspaceActivityResponse, rd as ApprovalInput, rs as Page, sd as ListSessionActivityResponse, t as CreateWorkspaceInput, u as WorkspaceFilesResponse, ud as Session, ut as ListExtensionAppearanceResponse, v as CreateProjectInput, vd as SessionDetails, vo as Skill, vt as EnvironmentBinding, w as UpdateProjectInput, wd as CombineQueuedFollowUpsInput, wm as JsonValue, wo as CreateNotificationInput, wt as CreateAutomationRunInput, wu as WebviewFilesUploadParams, x as ProjectCreateRequest, xd as SessionFollowUpResponse, xo as SkillWithContent, xp as AccountLogin, y as InitialWorkspaceRequest, yo as SkillDetails, yp as ProjectSyncStatus, yt as AutomationRun } from "./index-DWpHZ0Dd.js";
|
|
2
|
+
import "./skills-BxkKQA56.js";
|
|
3
3
|
type ClientOptions = {
|
|
4
4
|
baseUrl?: string;
|
|
5
5
|
token?: string;
|
|
@@ -36,6 +36,7 @@ declare const createAccountClient: (request: RequestFn) => {
|
|
|
36
36
|
status: Exclude<AccountLoginStatus, "pending">;
|
|
37
37
|
}>;
|
|
38
38
|
projectSyncStatus: (projectId: string) => Promise<ProjectSyncStatus>;
|
|
39
|
+
/** Includes account feature grants. `features` is null until discovery or when signed out. */
|
|
39
40
|
status: () => Promise<AccountStatus>;
|
|
40
41
|
/** `removed` is false when the account service could not be reached; remove the device from another one. */
|
|
41
42
|
logout: () => Promise<Ok & {
|
|
@@ -1192,6 +1193,7 @@ declare const createExtensionManagementClient: (request: RequestFn) => {
|
|
|
1192
1193
|
$l10n: string;
|
|
1193
1194
|
default?: string | undefined;
|
|
1194
1195
|
} | undefined;
|
|
1196
|
+
queryMode?: "paged" | undefined;
|
|
1195
1197
|
extensionInstanceId?: string | undefined;
|
|
1196
1198
|
attributes?: {
|
|
1197
1199
|
id: string;
|
|
@@ -1410,6 +1412,7 @@ declare const createExtensionManagementClient: (request: RequestFn) => {
|
|
|
1410
1412
|
$l10n: string;
|
|
1411
1413
|
default?: string | undefined;
|
|
1412
1414
|
} | undefined;
|
|
1415
|
+
queryMode?: "paged" | undefined;
|
|
1413
1416
|
columns?: {
|
|
1414
1417
|
id: string;
|
|
1415
1418
|
label?: string | {
|
|
@@ -2666,6 +2669,7 @@ declare const createExtensionManagementClient: (request: RequestFn) => {
|
|
|
2666
2669
|
$l10n: string;
|
|
2667
2670
|
default?: string | undefined;
|
|
2668
2671
|
} | undefined;
|
|
2672
|
+
queryMode?: "paged" | undefined;
|
|
2669
2673
|
extensionInstanceId?: string | undefined;
|
|
2670
2674
|
attributes?: {
|
|
2671
2675
|
id: string;
|
|
@@ -2884,6 +2888,7 @@ declare const createExtensionManagementClient: (request: RequestFn) => {
|
|
|
2884
2888
|
$l10n: string;
|
|
2885
2889
|
default?: string | undefined;
|
|
2886
2890
|
} | undefined;
|
|
2891
|
+
queryMode?: "paged" | undefined;
|
|
2887
2892
|
columns?: {
|
|
2888
2893
|
id: string;
|
|
2889
2894
|
label?: string | {
|
|
@@ -4140,6 +4145,7 @@ declare const createExtensionManagementClient: (request: RequestFn) => {
|
|
|
4140
4145
|
$l10n: string;
|
|
4141
4146
|
default?: string | undefined;
|
|
4142
4147
|
} | undefined;
|
|
4148
|
+
queryMode?: "paged" | undefined;
|
|
4143
4149
|
extensionInstanceId?: string | undefined;
|
|
4144
4150
|
attributes?: {
|
|
4145
4151
|
id: string;
|
|
@@ -4358,6 +4364,7 @@ declare const createExtensionManagementClient: (request: RequestFn) => {
|
|
|
4358
4364
|
$l10n: string;
|
|
4359
4365
|
default?: string | undefined;
|
|
4360
4366
|
} | undefined;
|
|
4367
|
+
queryMode?: "paged" | undefined;
|
|
4361
4368
|
columns?: {
|
|
4362
4369
|
id: string;
|
|
4363
4370
|
label?: string | {
|
|
@@ -5432,6 +5439,7 @@ type SessionClient = ReturnType<typeof createSessionQueryClient> & {
|
|
|
5432
5439
|
archive(sessionId: string): Promise<void>;
|
|
5433
5440
|
delete(sessionId: string): Promise<void>;
|
|
5434
5441
|
followUp(sessionId: string, input: SessionFollowUpRequest | FollowUpInput): Promise<SessionFollowUpResponse>;
|
|
5442
|
+
steer(sessionId: string, input: SessionSteeringInput): Promise<QueuedSteeringResult>;
|
|
5435
5443
|
approve(sessionId: string, input: ApprovalInput): Promise<void>;
|
|
5436
5444
|
getConversation(sessionId: string, signal?: AbortSignal): Promise<SessionConversationResponse>;
|
|
5437
5445
|
/** @deprecated No maintained client caller. Use `GET /v1/sessions/{id}/conversation/sources` for this operation; the convenience method is removed in 0.45. */
|