@pstdio/sdk 0.45.0-nightly.20261021143541 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.d.ts +3 -7
- package/dist/client/index.js +20 -7
- package/dist/client.d.ts +3 -2
- package/dist/data.d.ts +1 -7
- package/dist/extensions/index.js +196 -3
- package/dist/extensions-react.d.ts +1 -3
- package/dist/extensions.d.ts +2 -2
- package/dist/hooks.d.ts +3 -11
- package/dist/{index-BlEzv0uV.d.ts → index-DBkZvGh1.d.ts} +130 -81
- package/dist/{index-DTqJS-fZ.d.ts → index-j28tAAxd.d.ts} +528 -260
- package/dist/prompts.d.ts +0 -2
- package/dist/resources.d.ts +1 -1
- package/dist/sessions-BWTUYUnW.d.ts +2 -0
- package/dist/skills-BWTUYUnW.d.ts +2 -0
- package/dist/testing/index.js +14 -0
- package/dist/testing.d.ts +2 -14
- package/package.json +1 -1
- package/dist/sessions-DYS6U-5G.d.ts +0 -2
- package/dist/skills-DYS6U-5G.d.ts +0 -2
package/dist/api.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { $ as ListExtensionConnectionsResponse, $
|
|
2
|
-
import "./sessions-
|
|
3
|
-
import "./skills-
|
|
4
|
-
//#region src/api/resource-compat.d.ts
|
|
1
|
+
import { $ as ListExtensionConnectionsResponse, $f as SteerQueuedFollowUpInput, $s as UpdateSkillInput, A as UpdateExtensionSettingRequest, Bs as BoardViews, C as UpdateProjectInput, Ct as CreateAutomationRunInput, D as ExtensionSettingValueRecord, Dc as ResourceRef, Df as ApprovalInput, Dt as ListAutomationTokensResponse, E as ExtensionSettingDefinitionRecord, Et as ListAutomationRunEventsResponse, F as InstallExtensionRequest, Ff as SessionAttachment, Fs as BoardField, G as UpgradeProjectExtensionResponse, Gp as TerminalSessionAdapter, H as ListProjectExtensionsResponse, Hp as TerminalBridge, I as InstallExtensionResponse, Is as BoardSummary, J as CommandExecuteResponse, Jf as CombineQueuedFollowUpsInput, Kf as SessionQueuedMessagesResponse, Kp as TerminalSessionError, L as InstalledExtensionSource, Lf as SessionAttachmentRef, Ls as BoardView, M as ExtensionCommandPaletteResourceRecord, Mf as ResolveSessionIdInput, N as WorkbenchExtensionCommandPaletteResourceRecord, Nf as ResolveSessionIdResponse, O as ExtensionSettingsPanelRecord, Of as CreateSessionInput, P as ExtensionDiagnosticsResponse, Q as ExtensionConnectionRecord, Qf as QueuedSteeringResult, R as AddLocalExtensionFolderResponse, Rf as SessionConversationResponse, Rs as BoardViewCreate, St as AutomationTokenRecord, Tt as IssueAutomationTokenResponse, U as MarketplaceExtension, V as InstallMarketplaceExtensionResponse, W as ProjectExtensionInstance, Wp as TerminalHostEvent, Xf as QueuedFollowUpRequest, Xp as TerminalSessionRequest, Y as CommandExecutionResult, Yf as PendingQueuedFollowUpsResponse, Yp as TerminalSessionOperation, Z as ConfigureExtensionConnectionInput, Zf as QueuedFollowUpUpdateResponse, Zp as TerminalSessionResult, _ as CreateProjectInput, a as RemoveWorktreeResponse$1, ac as NotificationActorType$1, at as ExtensionMenuContribution, bt as AutomationRunEvent, c as WorkspaceFileContent$1, cc as NotificationOrigin$1, ct as viewFilterValueKind, d as WorkspaceProviderDescriptor, dt as WorkbenchExtensionHarnessRecord, ec as CreateNotificationInput$1, ep as UpdateQueuedFollowUpInput, et as ExtensionDiagnostic, f as WriteWorkspaceFileInput$1, fc as UpdateNotificationInput$1, ft as WorkbenchExtensionMetadata, h as sessionAttachmentMimeTypesByExtension, i as ListWorkspaceFilesInput$1, ic as NotificationAction$1, it as ExtensionCommandRecord, j as ExtensionKeybindingRecord, k as ListExtensionSettingsResponse, kf as FollowUpInput, l as WorkspaceFileEntry$1, lc as NotificationPriority$1, lt as ListExtensionAppearanceResponse, m as UpdateSettingsInput, mt as WorkbenchExtensionViewRecord, nc as ListNotificationsResponse$1, nt as LocalizableString, o as RenameWorkspaceInput$1, ot as WorkbenchExtensionAutomationRecord, p as Settings, pt as WorkbenchExtensionViewBody, q as CommandExecuteRequest, qp as TerminalSessionExit, rc as Notification$1, rt as ExtensionCommandPaletteContribution, sc as NotificationKind$1, st as findViewFilterProblem, t as CreateWorkspaceInput$1, tc as ListNotificationsQuery$1, tt as ExtensionRecord, u as WorkspaceFilesResponse$1, uc as NotificationStatus$1, ut as ListExtensionCommandsResponse, vt as AutomationRun, w as LinkIcon, wt as IssueAutomationTokenInput, xt as AutomationRunStatus, yt as AutomationRunError, zf as SessionConversationSources, zs as BoardViewUpdate } from "./index-j28tAAxd.js";
|
|
2
|
+
import "./sessions-BWTUYUnW.js";
|
|
3
|
+
import "./skills-BWTUYUnW.js";
|
|
5
4
|
/** @deprecated Import `CreateNotificationInput` from `@pstdio/sdk/resources`. */
|
|
6
5
|
type CreateNotificationInput = CreateNotificationInput$1;
|
|
7
6
|
/** @deprecated Import `ListNotificationsQuery` from `@pstdio/sdk/resources`. */
|
|
@@ -24,8 +23,6 @@ type NotificationPriority = NotificationPriority$1;
|
|
|
24
23
|
type NotificationStatus = NotificationStatus$1;
|
|
25
24
|
/** @deprecated Import `UpdateNotificationInput` from `@pstdio/sdk/resources`. */
|
|
26
25
|
type UpdateNotificationInput = UpdateNotificationInput$1;
|
|
27
|
-
//#endregion
|
|
28
|
-
//#region src/api/workspaces.d.ts
|
|
29
26
|
/** @deprecated Use ExtensionWorkspaceCreateInput with projectId first. */
|
|
30
27
|
type CreateWorkspaceInput = CreateWorkspaceInput$1;
|
|
31
28
|
type RemoveWorktreeResponse = RemoveWorktreeResponse$1;
|
|
@@ -35,6 +32,5 @@ type WorkspaceFileContent = WorkspaceFileContent$1;
|
|
|
35
32
|
type WorkspaceFileEntry = WorkspaceFileEntry$1;
|
|
36
33
|
type WorkspaceFilesResponse = WorkspaceFilesResponse$1;
|
|
37
34
|
type WriteWorkspaceFileInput = WriteWorkspaceFileInput$1;
|
|
38
|
-
//#endregion
|
|
39
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 };
|
|
40
36
|
export {};
|
package/dist/client/index.js
CHANGED
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
var createAccountClient = (request) => {
|
|
3
3
|
const device = (id) => `/v1/account/devices/${encodeURIComponent(id)}`;
|
|
4
4
|
const project = (id) => `/v1/account/projects/${encodeURIComponent(id)}`;
|
|
5
|
+
const login = (id) => `/v1/account/login/${encodeURIComponent(id)}`;
|
|
5
6
|
return {
|
|
6
7
|
login: (managerOrigin) => request("/v1/account/login", { method: "POST", body: { managerOrigin } }),
|
|
7
|
-
loginStatus: (id) => request(
|
|
8
|
+
loginStatus: (id) => request(login(id)),
|
|
9
|
+
cancelLogin: (id) => request(login(id), { method: "DELETE" }),
|
|
10
|
+
projectSyncStatus: (projectId) => request(`${project(projectId)}/sync`),
|
|
8
11
|
status: () => request("/v1/account"),
|
|
9
12
|
logout: () => request("/v1/account/logout", { method: "POST" }),
|
|
10
13
|
devices: () => request("/v1/account/devices"),
|
|
@@ -1199,6 +1202,9 @@ var createRuntimeClient = (request) => ({
|
|
|
1199
1202
|
createBrowserLogin: () => request("/runtime/browser-login", { method: "POST" })
|
|
1200
1203
|
});
|
|
1201
1204
|
|
|
1205
|
+
// src/client/session-stream-errors.ts
|
|
1206
|
+
var isSessionStreamRejection = (error) => error instanceof PstdioApiError && error.status >= 400 && error.status < 500 && error.status !== 408 && error.status !== 429;
|
|
1207
|
+
|
|
1202
1208
|
// src/client/session-stream-removal.ts
|
|
1203
1209
|
var removeSessionStreamSubscription = async (request, path, signal) => {
|
|
1204
1210
|
while (!signal.aborted) {
|
|
@@ -1284,7 +1290,12 @@ var createSessionStreamTransport = (request, clientOptions) => {
|
|
|
1284
1290
|
}).then(() => {}, (error) => {
|
|
1285
1291
|
if (subscriptions.get(id) !== subscription)
|
|
1286
1292
|
return;
|
|
1287
|
-
|
|
1293
|
+
if (isSessionStreamRejection(error) && error.code === "SESSION_STREAM_NOT_FOUND") {
|
|
1294
|
+
if (connection)
|
|
1295
|
+
fail(connection, new Error("Session stream no longer exists", { cause: error }));
|
|
1296
|
+
return;
|
|
1297
|
+
}
|
|
1298
|
+
release(id, !isSessionStreamRejection(error));
|
|
1288
1299
|
subscription.onError(error);
|
|
1289
1300
|
});
|
|
1290
1301
|
};
|
|
@@ -1332,7 +1343,7 @@ var createSessionStreamTransport = (request, clientOptions) => {
|
|
|
1332
1343
|
current.controller.abort();
|
|
1333
1344
|
const failed = [...subscriptions.values()];
|
|
1334
1345
|
subscriptions.clear();
|
|
1335
|
-
const failure = new Error(error instanceof Error ? error.message : String(error), { cause: error });
|
|
1346
|
+
const failure = error instanceof PstdioApiError ? error : new Error(error instanceof Error ? error.message : String(error), { cause: error });
|
|
1336
1347
|
for (const subscription of failed)
|
|
1337
1348
|
subscription.onError(failure);
|
|
1338
1349
|
};
|
|
@@ -1342,8 +1353,10 @@ var createSessionStreamTransport = (request, clientOptions) => {
|
|
|
1342
1353
|
connection = current;
|
|
1343
1354
|
const read = async () => {
|
|
1344
1355
|
const response = await resolveFetch(clientOptions)(resolveClientUrl(resolveBaseUrl(clientOptions), "/v1/session-stream"), { headers: Object.fromEntries(createRequestHeaders(clientOptions).entries()), signal });
|
|
1345
|
-
if (!response.ok
|
|
1346
|
-
throw
|
|
1356
|
+
if (!response.ok)
|
|
1357
|
+
throw await responseError(response);
|
|
1358
|
+
if (!response.body)
|
|
1359
|
+
throw new Error("Session stream response has no body");
|
|
1347
1360
|
await readSseStream(response.body, ({ event, data }) => dispatch(current, event, JSON.parse(data)), { signal });
|
|
1348
1361
|
throw new Error("Session stream closed");
|
|
1349
1362
|
};
|
|
@@ -1428,8 +1441,8 @@ var retainSessionResources = (streams, sessionId) => {
|
|
|
1428
1441
|
const connect = () => {
|
|
1429
1442
|
connection = streams.subscribe({ retain_session_id: sessionId }, {
|
|
1430
1443
|
onEvent: () => {},
|
|
1431
|
-
onError: () => {
|
|
1432
|
-
if (!closed)
|
|
1444
|
+
onError: (error) => {
|
|
1445
|
+
if (!closed && !isSessionStreamRejection(error))
|
|
1433
1446
|
retry = setTimeout(connect, 1000);
|
|
1434
1447
|
}
|
|
1435
1448
|
});
|
package/dist/client.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { cp as DeviceLogin, ip as AccountDevice, np as ProjectSyncState, rp as ProjectSyncStatus, sp as AccountStatus } from "./index-j28tAAxd.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-DBkZvGh1.js";
|
|
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 };
|
|
3
4
|
export {};
|
package/dist/data.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region src/data/draft-layout.d.ts
|
|
1
|
+
import { ba as ArtifactMount } from "./index-j28tAAxd.js";
|
|
3
2
|
export declare const assertSafePathSegment: (value: string) => void;
|
|
4
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. */
|
|
5
4
|
export declare const requireRepoFiles: (projectFiles: ArtifactMount | undefined) => ArtifactMount;
|
|
@@ -8,8 +7,6 @@ export declare const createDraftLayout: (root: string, document: string) => {
|
|
|
8
7
|
markdown: (name: string, suffix?: string) => string;
|
|
9
8
|
files: (name: string, suffix?: string) => string;
|
|
10
9
|
};
|
|
11
|
-
//#endregion
|
|
12
|
-
//#region src/data/frontmatter.d.ts
|
|
13
10
|
export declare const quoteYamlScalar: (value: string) => string;
|
|
14
11
|
export declare const findClosingFrontmatterDelimiter: (content: string) => {
|
|
15
12
|
end: number;
|
|
@@ -18,11 +15,8 @@ export declare const findClosingFrontmatterDelimiter: (content: string) => {
|
|
|
18
15
|
export declare const stripFrontmatter: (content: string) => string;
|
|
19
16
|
export declare const applyFrontmatter: (frontmatter: string, content: string) => string;
|
|
20
17
|
export declare const unquoteYamlScalar: (value: string) => string;
|
|
21
|
-
//#endregion
|
|
22
|
-
//#region src/data/resolve.d.ts
|
|
23
18
|
export declare const sameName: (a: string, b: string) => boolean;
|
|
24
19
|
export declare const resolveByIdOrName: <TItem extends {
|
|
25
20
|
id: string;
|
|
26
21
|
}>(items: TItem[], value: string, nameOf: (item: TItem) => string, label: string) => string;
|
|
27
|
-
//#endregion
|
|
28
22
|
export {};
|
package/dist/extensions/index.js
CHANGED
|
@@ -352,6 +352,58 @@ var resolveDataTableFieldKind = (values, column = {}) => {
|
|
|
352
352
|
const comparable = values.map((value) => resolveDataTableComparableValue(value, column.renderer)).filter((value) => value !== null && value !== undefined);
|
|
353
353
|
return comparable.length > 0 && comparable.every((value) => typeof value === "number") ? "number" : "string";
|
|
354
354
|
};
|
|
355
|
+
// ../pstdio-api-contracts/src/extension-kernel/editing-state.ts
|
|
356
|
+
var record = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
|
|
357
|
+
var diffEditingState = (before, after, path = []) => {
|
|
358
|
+
const changes = [];
|
|
359
|
+
if (Object.keys(before).some((key) => !Object.hasOwn(after, key)))
|
|
360
|
+
return [{ path, value: after }];
|
|
361
|
+
for (const [key, value] of Object.entries(after)) {
|
|
362
|
+
const previous = before[key];
|
|
363
|
+
if (JSON.stringify(previous) === JSON.stringify(value))
|
|
364
|
+
continue;
|
|
365
|
+
const nextPath = [...path, key];
|
|
366
|
+
if (previous !== undefined && record(previous) && record(value))
|
|
367
|
+
changes.push(...diffEditingState(previous, value, nextPath));
|
|
368
|
+
else
|
|
369
|
+
changes.push({ path: nextPath, value });
|
|
370
|
+
}
|
|
371
|
+
return changes;
|
|
372
|
+
};
|
|
373
|
+
var applyEditingChanges = (state, changes) => {
|
|
374
|
+
let next = structuredClone(state);
|
|
375
|
+
for (const change of changes) {
|
|
376
|
+
if (change.path.some((key) => ["__proto__", "constructor", "prototype"].includes(key)))
|
|
377
|
+
throw new Error("Invalid editing path");
|
|
378
|
+
if (change.path.length === 0) {
|
|
379
|
+
if (!record(change.value))
|
|
380
|
+
throw new Error("The editing state root must be an object");
|
|
381
|
+
next = structuredClone(change.value);
|
|
382
|
+
continue;
|
|
383
|
+
}
|
|
384
|
+
let target = next;
|
|
385
|
+
for (const key of change.path.slice(0, -1)) {
|
|
386
|
+
if (target[key] === undefined)
|
|
387
|
+
target[key] = {};
|
|
388
|
+
if (!record(target[key]))
|
|
389
|
+
throw new Error("Editing paths must traverse objects");
|
|
390
|
+
target = target[key];
|
|
391
|
+
}
|
|
392
|
+
target[change.path.at(-1)] = structuredClone(change.value);
|
|
393
|
+
}
|
|
394
|
+
return next;
|
|
395
|
+
};
|
|
396
|
+
var rebaseEditingChanges = (state, drafts) => {
|
|
397
|
+
let value = state;
|
|
398
|
+
const applicable = new Map;
|
|
399
|
+
for (const [key, changes] of drafts) {
|
|
400
|
+
try {
|
|
401
|
+
value = applyEditingChanges(value, changes);
|
|
402
|
+
applicable.set(key, changes);
|
|
403
|
+
} catch {}
|
|
404
|
+
}
|
|
405
|
+
return { value, drafts: applicable };
|
|
406
|
+
};
|
|
355
407
|
// ../pstdio-api-contracts/src/extension-kernel/event-reference.ts
|
|
356
408
|
var resolveEventReferenceId = (ref, ownerExtensionId) => {
|
|
357
409
|
if (typeof ref === "string")
|
|
@@ -407,6 +459,9 @@ var workspaceSlots = {
|
|
|
407
459
|
var projectEvents = {
|
|
408
460
|
opened: hostEventRef("project.opened")
|
|
409
461
|
};
|
|
462
|
+
var accountEvents = {
|
|
463
|
+
projectSyncChanged: hostEventRef("account.project-sync.changed")
|
|
464
|
+
};
|
|
410
465
|
var viewDataEvents = {
|
|
411
466
|
boardViewsChanged: hostEventRef("view.board-views.changed"),
|
|
412
467
|
resourceAnchorsChanged: hostEventRef("view.resource-anchors.changed"),
|
|
@@ -940,6 +995,7 @@ var WEBVIEW_DECLARABLE_CAPABILITIES = [
|
|
|
940
995
|
"clipboard.write",
|
|
941
996
|
"commands.execute",
|
|
942
997
|
"commands.stream",
|
|
998
|
+
"editing.session",
|
|
943
999
|
"harnesses.read",
|
|
944
1000
|
"resources.actions",
|
|
945
1001
|
"navigation.open",
|
|
@@ -958,7 +1014,9 @@ var WEBVIEW_DECLARABLE_CAPABILITIES = [
|
|
|
958
1014
|
"terminal.session",
|
|
959
1015
|
"files.upload",
|
|
960
1016
|
"files.list",
|
|
961
|
-
"files.delete"
|
|
1017
|
+
"files.delete",
|
|
1018
|
+
"account.read",
|
|
1019
|
+
"account.manage"
|
|
962
1020
|
];
|
|
963
1021
|
var WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES = ["artifacts.read"];
|
|
964
1022
|
var ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES = ["host.dispatchKeyboardEvent"];
|
|
@@ -970,7 +1028,7 @@ var WEBVIEW_HOST_CAPABILITIES = [
|
|
|
970
1028
|
var EXTENSION_EVENTS_SCOPE = "extension.events";
|
|
971
1029
|
var artifactMountId = (mount) => typeof mount === "string" ? mount : mount.id;
|
|
972
1030
|
// package.json
|
|
973
|
-
var version = "0.45.0
|
|
1031
|
+
var version = "0.45.0";
|
|
974
1032
|
|
|
975
1033
|
// src/version.ts
|
|
976
1034
|
var SDK_VERSION = version;
|
|
@@ -1271,6 +1329,135 @@ var createTerminalSessionBridge = (host) => ({
|
|
|
1271
1329
|
// src/extensions/webview-capabilities.ts
|
|
1272
1330
|
var artifactMountId2 = artifactMountId;
|
|
1273
1331
|
var artifactsRead = (mount) => `artifacts.read:${artifactMountId2(mount)}`;
|
|
1332
|
+
// src/extensions/webview-account-client.ts
|
|
1333
|
+
var createWebviewAccountClient = (host) => ({
|
|
1334
|
+
status: () => host.call("account.read", { op: "status" }),
|
|
1335
|
+
loginStatus: (id) => host.call("account.read", { op: "loginStatus", id }),
|
|
1336
|
+
devices: () => host.call("account.read", { op: "devices" }),
|
|
1337
|
+
projectSyncStatus: (projectId) => host.call("account.read", { op: "projectSyncStatus", ...projectId ? { projectId } : {} }),
|
|
1338
|
+
login: (managerOrigin) => host.call("account.manage", { op: "login", managerOrigin }),
|
|
1339
|
+
cancelLogin: (id) => host.call("account.manage", { op: "cancelLogin", id }),
|
|
1340
|
+
logout: () => host.call("account.manage", { op: "logout" }),
|
|
1341
|
+
renameDevice: (id, name) => host.call("account.manage", { op: "renameDevice", id, name }),
|
|
1342
|
+
removeDevice: (id) => host.call("account.manage", { op: "removeDevice", id }),
|
|
1343
|
+
syncProject: (projectId) => host.call("account.manage", { op: "syncProject", ...projectId ? { projectId } : {} }),
|
|
1344
|
+
stopProjectSync: (projectId) => host.call("account.manage", { op: "stopProjectSync", ...projectId ? { projectId } : {} })
|
|
1345
|
+
});
|
|
1346
|
+
|
|
1347
|
+
// src/extensions/webview-editing.ts
|
|
1348
|
+
var createWebviewEditingClient = (host) => ({
|
|
1349
|
+
async open(options) {
|
|
1350
|
+
const sessionId = crypto.randomUUID();
|
|
1351
|
+
const listeners = new Set;
|
|
1352
|
+
const pending = new Map;
|
|
1353
|
+
let sequence = 0;
|
|
1354
|
+
let active = true;
|
|
1355
|
+
let base = {
|
|
1356
|
+
value: options.initial,
|
|
1357
|
+
version: -1,
|
|
1358
|
+
revision: 0,
|
|
1359
|
+
savedRevision: 0
|
|
1360
|
+
};
|
|
1361
|
+
let current = base;
|
|
1362
|
+
const publish = () => {
|
|
1363
|
+
current = {
|
|
1364
|
+
...base,
|
|
1365
|
+
value: rebaseEditingChanges(base.value, pending).value
|
|
1366
|
+
};
|
|
1367
|
+
for (const listener of listeners)
|
|
1368
|
+
listener();
|
|
1369
|
+
};
|
|
1370
|
+
const acknowledge = (sequence) => {
|
|
1371
|
+
if (sequence === undefined)
|
|
1372
|
+
return;
|
|
1373
|
+
for (const key of pending.keys())
|
|
1374
|
+
if (key <= sequence)
|
|
1375
|
+
pending.delete(key);
|
|
1376
|
+
};
|
|
1377
|
+
const accept = (next, appliedSequence) => {
|
|
1378
|
+
if (!active)
|
|
1379
|
+
return;
|
|
1380
|
+
const size = pending.size;
|
|
1381
|
+
acknowledge(appliedSequence);
|
|
1382
|
+
if (next.version >= base.version)
|
|
1383
|
+
base = next;
|
|
1384
|
+
else if (size === pending.size)
|
|
1385
|
+
return;
|
|
1386
|
+
publish();
|
|
1387
|
+
};
|
|
1388
|
+
const unsubscribe = host.onEvent("editing.session", (payload) => {
|
|
1389
|
+
const event = payload;
|
|
1390
|
+
if (event.sessionId === sessionId)
|
|
1391
|
+
accept(event.snapshot, event.appliedSequence);
|
|
1392
|
+
});
|
|
1393
|
+
const request = async (input) => {
|
|
1394
|
+
if (!active)
|
|
1395
|
+
throw new Error("editing_session_closed");
|
|
1396
|
+
const result = await host.call("editing.session", input);
|
|
1397
|
+
if (result)
|
|
1398
|
+
accept(result);
|
|
1399
|
+
return result;
|
|
1400
|
+
};
|
|
1401
|
+
const edit = async (operation, changes) => {
|
|
1402
|
+
if (!active)
|
|
1403
|
+
throw new Error("editing_session_closed");
|
|
1404
|
+
applyEditingChanges(current.value, changes);
|
|
1405
|
+
const next = ++sequence;
|
|
1406
|
+
pending.set(next, structuredClone(changes));
|
|
1407
|
+
publish();
|
|
1408
|
+
try {
|
|
1409
|
+
await request({ operation, sessionId, sequence: next, changes });
|
|
1410
|
+
} catch (error) {
|
|
1411
|
+
if (pending.delete(next))
|
|
1412
|
+
publish();
|
|
1413
|
+
throw error;
|
|
1414
|
+
}
|
|
1415
|
+
};
|
|
1416
|
+
try {
|
|
1417
|
+
await request({ operation: "open", sessionId, ...options, initial: options.initial });
|
|
1418
|
+
} catch (error) {
|
|
1419
|
+
active = false;
|
|
1420
|
+
unsubscribe();
|
|
1421
|
+
throw error;
|
|
1422
|
+
}
|
|
1423
|
+
return {
|
|
1424
|
+
id: sessionId,
|
|
1425
|
+
getSnapshot: () => current,
|
|
1426
|
+
subscribe(listener) {
|
|
1427
|
+
listeners.add(listener);
|
|
1428
|
+
return () => {
|
|
1429
|
+
listeners.delete(listener);
|
|
1430
|
+
};
|
|
1431
|
+
},
|
|
1432
|
+
commit: (changes = []) => edit("commit", changes),
|
|
1433
|
+
preview: (changes) => edit("preview", changes),
|
|
1434
|
+
async cancel() {
|
|
1435
|
+
await request({ operation: "cancel", sessionId });
|
|
1436
|
+
},
|
|
1437
|
+
async save() {
|
|
1438
|
+
await request({ operation: "save", sessionId });
|
|
1439
|
+
},
|
|
1440
|
+
async refresh(read) {
|
|
1441
|
+
while (active) {
|
|
1442
|
+
await request({ operation: "save", sessionId });
|
|
1443
|
+
const expectedVersion = base.version;
|
|
1444
|
+
const value = await read();
|
|
1445
|
+
if (!active || await request({ operation: "refresh", sessionId, value, expectedVersion }))
|
|
1446
|
+
return;
|
|
1447
|
+
}
|
|
1448
|
+
},
|
|
1449
|
+
async close() {
|
|
1450
|
+
if (!active)
|
|
1451
|
+
return;
|
|
1452
|
+
active = false;
|
|
1453
|
+
unsubscribe();
|
|
1454
|
+
listeners.clear();
|
|
1455
|
+
await host.call("editing.session", { operation: "close", sessionId });
|
|
1456
|
+
}
|
|
1457
|
+
};
|
|
1458
|
+
}
|
|
1459
|
+
});
|
|
1460
|
+
|
|
1274
1461
|
// src/extensions/webview-events.ts
|
|
1275
1462
|
var EXTENSION_EVENTS_SCOPE2 = EXTENSION_EVENTS_SCOPE;
|
|
1276
1463
|
var createWebviewEventsClient = (host, extensionId) => ({
|
|
@@ -1507,13 +1694,15 @@ var createWebviewClient = (host, options) => {
|
|
|
1507
1694
|
};
|
|
1508
1695
|
return {
|
|
1509
1696
|
...hostClient,
|
|
1697
|
+
editing: createWebviewEditingClient(host),
|
|
1510
1698
|
files: createWebviewFilesClient(host),
|
|
1511
1699
|
page: createWebviewPageClient(host),
|
|
1512
1700
|
artifacts,
|
|
1513
1701
|
commands,
|
|
1514
1702
|
streams,
|
|
1515
1703
|
events,
|
|
1516
|
-
settings
|
|
1704
|
+
settings,
|
|
1705
|
+
account: createWebviewAccountClient(host)
|
|
1517
1706
|
};
|
|
1518
1707
|
};
|
|
1519
1708
|
// src/extensions/when.ts
|
|
@@ -1554,6 +1743,8 @@ export {
|
|
|
1554
1743
|
WEBVIEW_HOST_CAPABILITIES2 as WEBVIEW_HOST_CAPABILITIES,
|
|
1555
1744
|
WEBVIEW_HOST_CAPABILITY_VERSION2 as WEBVIEW_HOST_CAPABILITY_VERSION,
|
|
1556
1745
|
WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES2 as WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES,
|
|
1746
|
+
accountEvents,
|
|
1747
|
+
applyEditingChanges,
|
|
1557
1748
|
artifactChanged,
|
|
1558
1749
|
artifactMountId2 as artifactMountId,
|
|
1559
1750
|
artifactsRead,
|
|
@@ -1595,6 +1786,7 @@ export {
|
|
|
1595
1786
|
defineView,
|
|
1596
1787
|
defineViewMenu,
|
|
1597
1788
|
defineWorkspaceType,
|
|
1789
|
+
diffEditingState,
|
|
1598
1790
|
dockedWorkbenchRegions,
|
|
1599
1791
|
eventRef,
|
|
1600
1792
|
extensionPanelRegions,
|
|
@@ -1625,6 +1817,7 @@ export {
|
|
|
1625
1817
|
projectSlots,
|
|
1626
1818
|
qualifyNavigationTarget2 as qualifyNavigationTarget,
|
|
1627
1819
|
qualifyRef,
|
|
1820
|
+
rebaseEditingChanges,
|
|
1628
1821
|
reconcileMessageHistory,
|
|
1629
1822
|
resolveDataTableComparableValue2 as resolveDataTableComparableValue,
|
|
1630
1823
|
resolveDataTableFieldKind2 as resolveDataTableFieldKind,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { hn as WebviewEventsClient, mp as RendererEventReference } from "./index-j28tAAxd.js";
|
|
2
2
|
import { QueryKey, UseQueryResult } from "@tanstack/react-query";
|
|
3
|
-
//#region src/extensions/react/index.d.ts
|
|
4
3
|
interface CommandQueryInput<TResult> {
|
|
5
4
|
queryKey: QueryKey;
|
|
6
5
|
command: () => Promise<TResult>;
|
|
@@ -22,5 +21,4 @@ interface CommandMutationInput<TParams, TResult> {
|
|
|
22
21
|
}
|
|
23
22
|
/** Writes server state via a typed client command and refreshes affected queries on success. */
|
|
24
23
|
export declare const useCommandMutation: <TParams, TResult>(input: CommandMutationInput<TParams, TResult>) => import("@tanstack/react-query").UseMutationResult<TResult, Error, TParams, unknown>;
|
|
25
|
-
//#endregion
|
|
26
24
|
export {};
|
package/dist/extensions.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $a as HookDefinition, $c as PlacementContribution, $d as WebviewScopedDeclarableCapability, $f as LongTextParam, $i as NavigationTargetHref, $l as AnchorGridValue, $n as defineKeybinding, $o as HarnessStartInput, $p as ViewFieldKind, $r as resourceEvents, $t as qualifyNavigationTarget, $u as ThemeContribution, Aa as ExtensionTerminalApi, Ac as PageMain, Ad as WebviewCommandsExecuteParams, Ai as CommandFailureDetails, Al as DataTableRendererColumnRenderer, Am as ToolPartActionType, An as ParsedWorkbenchPageUrl, Ao as HarnessOperationResult, Ap as JsonValue, Ar as RESOURCE_ACTIONS_EVENTS_SCOPE, As as BoardViewUpdate, At as isWebviewCapabilityError, Au as CliContribution, Ba as ExtensionWorkspace, Bc as PageSlotRegion, Bd as WebviewHostCapabilityParams, Bf as SlotOptions, Bi as CommandReject, Bl as DataTableRendererSelectionAction, Bn as ExtensionViewRenderContext, Bo as HarnessMessagesInput, Bp as PlacementRef, Br as packageAsset, Bt as NotificationOrigin, Bu as ExtensionSettingValueType, Ca as ExtensionNetApi, Cc as ViewHierarchyParent, Cd as KanbanRendererViewSettings, Ci as ResourceMenuSlotDefinition, Cl as TreeRendererResourceRef, Cm as SessionMessagePart, Cn as resourceKey, Co as HarnessStateApi, Cp as TerminalSessionExit, Cr as commandRefId, Cs as StorageSaveState, Cu as SelectionGroup, Da as ExtensionProjectContext, Dc as PageContribution, Dd as WebviewArtifactsReadParams, Di as CommandContinue, Dl as TreeViewSectionStructure, Dm as TextPart, Dn as qualifyRef, Do as HarnessCommandDiscoveryContext, Dr as getCommandValue, Du as VectorValue, Ea as ExtensionProcessApi, Ec as FileSourcePosition, Ed as WebviewArtifactFile, Ei as CommandCompletedEvent, El as TreeViewSection, Em as StepStartPart, En as QualifiedRef, Eo as HarnessCommandContext, Ep as TerminalSessionRequest, Er as CommandResponse, Eu as VectorControl, Fa as SetupContext, Fc as PageParamValue, Fd as WebviewFileScope, Fi as CommandMiddlewareResult, Fl as DataTableRendererResourceRef, Fn as serializeWorkbenchPageUrl, Fo as HarnessApprovalChannel, Fp as ContributionInput, Fr as commandRef, Fs as ExtensionConnectionStreamEvent, Ft as ListNotificationsResponse, Fu as CommandPaletteResourceQueryResult, Ga as BehaviourContributions, Gc as ControlsViewBody, Gd as WebviewNotificationActionParams, Gf as ArtifactChangedPayload, Gi as CommandSource, Gl as ControlsQueryResult, Gn as PropsStore, Go as HarnessQuestionOption, Gp as ThemeRef, Gr as RebasePayload, Gu as MenuContribution, Ha as ExtensionWorkspaceProvider, Hc as PanelRef, Hd as WebviewHostCapabilityResults, Hf as UiSlotKind, Hi as CommandReplaceInvocation, Hl as DataTableRendererThemeColor, Hn as WebviewPageClient, Ho as HarnessParams, Hp as SettingsSectionRef, Hr as CommitPayload, Ht as NotificationStatus, Hu as FileIconThemeContribution, Ia as WorkspaceFilesMount, Ic as PageParams, Id as WebviewFilesDeleteParams, Ii as CommandNotice, Il as DataTableRendererRow, In as defaultPageResourceCodec, Io as HarnessAttachment, Ip as ContributionKind, Ir as eventRef, Is as ExtensionConnectionsApi, It as Notification, Iu as CommandPaletteResourceTarget, Ja as EXTENSION_API_VERSION, Jc as KanbanViewBody, Jd as WebviewNotificationShowParams, Jf as BooleanParam, Ji as SerializedError, Jl as ControlsResourceRef, Jn as defineArtifactMount, Jo as HarnessReattachInput, Jp as LocalizedString, Jr as WorkspaceType, Jt as WEBVIEW_HOST_CAPABILITIES, Ju as SettingsPanelContribution, Ka as CommandDefinition, Kc as DataTableViewBody, Kd as WebviewNotificationDismissParams, Kf as EventDeliveryResult, Ki as CommandStartedEvent, Kl as ControlsRendererContribution, Kn as defineExtension, Ko as HarnessQuestionReplyError, Kp as ViewRef, Kr as SessionLifecyclePayload, Kt as ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES, Ku as ModeContribution, La as WorkspaceSyncFile, Lc as PageSlot, Ld as WebviewFilesListParams, Li as CommandOutcome, Ll as DataTableRendererRowAction, Lm as AgentModel, Ln as resolveEventReferenceId, Lo as HarnessEventSink, Lp as ContributionRef, Lr as PageResourceCodec, Ls as ExtensionLoggerApi, Lt as NotificationAction, Lu as ExtensionSettingProperty, Ma as ProcessRunInput, Mc as PageMainView, Md as WebviewDeclarableCapability, Mi as CommandInvocation, Ml as DataTableRendererContribution, Mn as parsePageUrl, Mo as AgentCapability, Mp as Struct, Mr as isFileSourcePosition, Ms as ExtensionConnectionMethod, Mt as AssetTransfer, Mu as CommandPaletteResourceContribution, Na as ProcessRunResult, Nc as PageOpenIntent, Nd as WebviewExtensionSettingKeyParams, Ni as CommandLifecycleEventPayload, Nl as DataTableRendererQueryParams, Nn as parseWorkbenchPageUrl, No as ApprovalRequest, Np as ConnectionRef, Nr as defineSlot, Ns as ExtensionConnectionRequest, Nt as CreateNotificationInput, Nu as CommandPaletteResourceItem, Oa as ExtensionSettingsApi, Oc as PageDocumentDeclaration, Od as WebviewCapabilityDeclaration, Oi as CommandDiagnostic, Ol as DEFAULT_DATA_TABLE_SETTINGS, Om as TokenUsagePart, On as params, Oo as HarnessCommandState, Op as JsonObject, Or as unwrapCommandOutcome, Os as BoardView, Ot as projectPrefix, Ou as ActivityItemContribution, Pa as RendererCallback, Pc as PageParamDefinition, Pd as WebviewExtensionSettingSetParams, Pi as CommandLifecyclePhase, Pl as DataTableRendererQueryResult, Pn as serializePageUrl, Po as ApprovalResponse, Pp as ContributionDefinition, Pr as serializeCommandError, Ps as ExtensionConnectionResponse, Pt as ListNotificationsQuery, Pu as CommandPaletteResourceQueryParams, Qa as ExtensionSourceKind, Qc as NavigationTreeSlot, Qd as WebviewResourceAction, Qf as ListParam, Qi as NavigationTargetCompound, Ql as AnchorGridControl, Qn as defineHarness, Qo as HarnessSession, Qp as VIEW_FILTER_CONDITIONS, Qr as projectSlots, Qt as normalizePageParams, Qu as TemplateTypeContribution, Ra as CreateExtensionWorkspaceInput, Rc as PageSlotCardinality, Rd as WebviewFilesUploadParams, Ri as CommandPatchParams, Rl as DataTableRendererRowActivationHandler, Rn as ExtensionViewModule, Ro as HarnessExit, Rp as ModeRef, Rr as pageParamsQuery, Rs as ExtensionAutomationApi, Rt as NotificationActorType, Ru as ExtensionSettingScope, Sa as ExtensionFilesApi, Sc as ResourceRole, Sd as KanbanRendererViewMode, Si as ResourceKindDefinition, Sl as TreeRendererQueryParams, Sm as SessionMessage, Sn as createTerminalSessionBridge, So as HarnessSkillsLayout, Sr as streamOf, Ss as StorageSaveOutcome, Su as SelectionControl, Ta as ExtensionPackageFilesApi, Td as VersionedWebviewCapabilityDeclaration, Ti as extensionPanelRegions, Tl as TreeSectionEmptyState, Tm as StepFinishPart, Tn as commandEvent, Tr as CommandOutcomeError, Ts as ExtensionViewsApi, Tu as TextControl, Ua as ExtensionWorkspacesApi, Uc as PlacementIdentity, Ud as WebviewKeyboardEventParams, Uf as RendererContributionBase, Ui as CommandReplaceParams, Ul as ControlsApplyInput, Un as WebviewFilesClient, Uo as HarnessQuestion, Up as SettingsSlotRef, Ur as ConflictPayload, Ut as UpdateNotificationInput, Uu as KeybindingChord, Va as ExtensionWorkspaceCreateInput, Vc as PageSlotRole, Vd as WebviewHostCapabilityResult, Vf as SlotRef, Vi as CommandRejectedEvent, Vl as DataTableRendererSettings, Vn as defineExtensionView, Vo as HarnessParamValue, Vp as ResourceKindRef, Vr as isNavigationTarget, Vt as NotificationPriority, Vu as ExtensionSettingsContribution, Wa as AssetContributions, Wc as PlacementOwner, Wd as WebviewNavigationOpenParams, Wf as RendererEventReference, Wi as CommandRequestedEvent, Wl as ControlsQueryParams, Wn as GuestHost, Wo as HarnessQuestionChannel, Wp as StatusBarSlotRef, Wr as MergePayload, Wu as KeybindingContribution, Xa as ExtensionDefinition, Xc as NavigationOwnerRef, Xd as WebviewPreferencesGetParams, Xf as HarnessParam, Xi as NavigationTarget, Xl as ActionOption, Xn as defineConnection, Xo as HarnessRecoveryResult, Xp as l10n, Xr as gitEvents, Xt as WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES, Xu as SkillContribution, Ya as ExtensionConnectionContribution, Yc as NavigationItemContribution, Yd as WebviewPageParamsUpdateParams, Yf as FilesParam, Yi as WorkbenchAttachmentInvocationContext, Yl as ControlsUpdateValueInput, Yn as defineCommandPaletteResource, Yo as HarnessRecoveryInput, Yp as isLocalizedString, Yr as WorktreeRemovedPayload, Yt as WEBVIEW_HOST_CAPABILITY_VERSION, Yu as SettingsSectionContribution, Za as ExtensionLoadScope, Zc as NavigationTreeContribution, Zd as WebviewPreferencesSetParams, Zf as JsonParam, Zi as NavigationTargetCommand, Zl as ActionsControl, Zn as defineFileIconTheme, Zo as HarnessResumeInput, Zp as normalizeBooleanViewRule, Zr as projectEvents, Zt as mergeOrderedHistory, Zu as TemplateContribution, _a as EventContext, _c as ResourceIdentity, _d as KanbanRendererRowAction, _i as workbenchSlots, _l as TreeRendererActionParams, _m as ErrorPart, _n as ArtifactMountKey, _o as HarnessContext, _p as ResourceConstraint, _r as defineWorkspaceType, _s as StorageConflict, _u as ResourceControl, aa as FileRendererLoadResult, ac as PackageAssetDescriptor, ad as KanbanRendererAttributeDisplay, af as ExtensionSessionSummary, ai as worktreeEvents, al as PlacementTabMenuRow, am as parseExtensionApiDeclaration, an as WebviewArtifactsClient, ao as ScheduleExpression, ap as ParamOption, ar as defineResourceHierarchyProvider, as as ExtensionBlobInput, au as ControlValue, ba as ExtensionContextBase, bc as ResourceRenumberedEvent, bd as KanbanRendererSettings, bi as RegionSize, bl as TreeRendererContribution, bm as PatchPart, bn as TerminalSessionAdapter, bo as HarnessParamsSchema, br as defineHook, bs as StorageRecord, bu as SegmentedControl, ca as FileRendererSectionAnchor, cc as RendererContext, cd as KanbanRendererColumnAction, cf as SessionExit, ci as localContributionIdPattern, cl as TreeViewBody, cm as HistoryProjection, cn as WebviewCommandsClient, co as WorkspaceExecutionTarget, cp as ParamValue, cr as defineSettingsPanel, cs as ExtensionStorageApi, cu as HarnessControl, da as ArtifactMount, dc as ResourceAnchorChangeEvent, dd as KanbanRendererEnumOption, di as workbenchPageDefinitions, dl as ViewMenuContribution, dm as historyMessageKey, dn as WebviewStreamsClient, do as WorkspaceProviderRef, dp as ResourceParam, dr as defineStatusBarItem, ds as ExtensionStoragePositionsApi, du as NumberControl, ea as NavigationTargetItem, ed as ThemeMode, ef as ExtensionHarnessInput, ei as sessionEvents, el as PlacementItem, em as ViewFilterCondition, en as resolveDataTableComparableValue, eo as LocalExtensionSource, ep as MarkdownParam, er as defineMode, es as HarnessSteeringInput, eu as BaseControl, fa as CommandContext, fc as ResourceAnchorPage, fd as KanbanRendererMove, fi as workbenchPages, fl as WebviewViewBody, fm as historyValueKey, fn as CommandStream, fo as WorkspaceProviderResolveInput, fp as SelectParam, fr as defineTemplate, fs as StorageScope, fu as ParamEditorReadOnlyContent, ga as CommandStreamWriter, gc as ResourceAnchorValidationResult, gd as KanbanRendererRow, gi as workbenchResourceKinds, gl as TreeNodeTarget, gm as submittedPrompt, gn as WebviewExtensionEvent, go as StatusBarItemContribution, gp as ResourceBinding, gr as defineViewMenu, gs as SharedEdit, gu as ReadOnlyControl, ha as CommandRunHandler, hc as ResourceAnchorValidationInput, hd as KanbanRendererResourceRef, hi as workbenchResourceKindDefinitions, hl as TreeNodeRowVariant, hm as splitHistoryTurns, hn as WebviewEventsClient, ho as WorkspaceTypeProvider, hp as WorkspaceParam, hr as defineView, hu as RangeValue, ia as FileRendererLoadParams, ic as ExtensionResourcesApi, id as KanbanRendererAttributeDescriptor, if as ExtensionSessionResource, ii as workspaceSlots, il as PlacementTabMenuGroup, im as ViewSortDirection, in as matchesResourceWhen, io as ScheduleContribution, ip as ParamObjectSchema, ir as definePlacement, is as TimeoutStrategy, iu as ControlParam, ja as MigrationContext, jc as PageMainPanels, jd as WebviewCommandsStreamParams, ji as CommandHelpersApi, jl as DataTableRendererColumnStat, jm as ToolPartStatus, jn as isWorkbenchProjectUrl, jo as PreparedHarnessOperation, jp as MaybePromise, jr as WebviewHostProps, js as BoardViews, jt as AssetReference, ju as CommandPaletteContribution, ka as ExtensionSkillsApi, kc as PageLocation, kd as WebviewCommandStreamEvent, ki as CommandFailedEvent, kl as DataTableRendererColumn, km as ToolPart, kn as PageUrlDefinition, ko as HarnessOperation, kp as JsonPrimitive, kr as SDK_VERSION, ks as BoardViewCreate, kt as WebviewCapabilityError, ku as ArtifactMountContribution, la as FileRendererSectionTarget, lc as RendererInvocationContext, ld as KanbanRendererContribution, lf as SessionExitCause, li as workbenchModeDefinitions, ll as ViewBody, lm as HistoryRecoveryInput, ln as WebviewSettingsClient, lo as WorkspaceProviderCreateInput, lp as ParamValueRef, lr as defineSettingsSection, ls as ExtensionStorageCollectionApi, lu as HarnessControlValue, ma as CommandMiddlewareHandler, mc as ResourceAnchorQueryPage, md as KanbanRendererQueryResult, mi as workbenchPanels, ml as TreeNode, mm as reconcileMessageHistory, mn as EXTENSION_EVENTS_SCOPE, mo as WorkspaceProviderState, mp as TextParam, mr as defineTheme, mu as RangeControl, na as NavigationTargetPanel, nd as WhenExpression, nf as ExtensionSessionPage, ni as viewDataEvents, nl as PlacementPresence, nm as ViewFilterRule, nn as resolvePageParams, no as PackageManifest, np as NumberParam, nr as defineNavigationTree, ns as JsonPatch, nu as ColorControl, oa as FileRendererResourceRef, oc as RelatedResourceOpening, od as KanbanRendererAttributeType, of as ExtensionSessionUsage, oi as isValidLocalContributionId, ol as PlacementTabPresentation, om as supportsExtensionApiVersion, on as WebviewClient, oo as UiContributions, op as ParamOptionSource, or as defineResourceKind, os as ExtensionBlobRef, ou as ControlValueMap, pa as CommandMiddlewareContext, pc as ResourceAnchorQuery, pd as KanbanRendererQueryParams, pi as workbenchPanelDefinitions, pl as TreeAction, pm as mergeHistoryMetadata, pn as CommandStreamOptions, po as WorkspaceProviderResult, pp as TemplateParam, pr as defineTemplateType, ps as ExtensionRecordsApi, pu as ParamEditorReadOnlyImage, qa as CommandStreamDeclaration, qc as FileViewBody, qd as WebviewNotificationResolveParams, qf as EventRef, qi as CommandTarget, ql as ControlsResetInput, qn as defineActivityItem, qo as HarnessQuestionRequest, qp as Localizable, qr as WorkspaceProvisionPayload, qt as WEBVIEW_DECLARABLE_CAPABILITIES, qu as ModeRegionSettings, ra as FileRendererContribution, rd as CollectionBadgeItem, rf as ExtensionSessionQuery, ri as workspaceEvents, rl as PlacementPresentation, rm as ViewSort, rn as validatePageParamDefinitions, ro as ProviderContributions, rp as ParamDescriptor, rr as definePage, rs as QuestionResponse, ru as ControlGroup, sa as FileRendererSaveParams, sc as RelatedResourceOpenings, sd as KanbanRendererBoardColumnConfig, sf as ExtensionSessionsApi, si as localContributionIdGrammar, sl as PlacementTabSnapshot, sm as HistoryConflict, sn as WebviewClientOptions, so as WorkspaceCapabilities, sp as ParamType, sr as defineSchedule, ss as ExtensionBlobsApi, su as DateControl, ta as NavigationTargetPage, td as WebviewContribution, tf as ExtensionSession, ti as sessionSlots, tl as PlacementMountStrategy, tm as ViewFilterGroup, tn as resolveDataTableFieldKind, to as MiddlewareDefinition, tp as MultiSelectParam, tr as defineNavigationItem, ts as HarnessSteeringResult, tu as BooleanControl, ua as ArtifactFile, uc as ResourceAnchor, ud as KanbanRendererCreateRowContribution, uf as SessionRunSnapshot, ui as workbenchModes, ul as ViewContribution, um as HistoryRecoveryResult, un as createWebviewClient, uo as WorkspaceProviderMutationInput, up as ParamsOf, ur as defineSkill, us as ExtensionStorageMigration, uu as MarkdownControl, va as ExtensionActivityApi, vc as ResourceRef, vd as KanbanRendererRowActivationHandler, vi as DockedWorkbenchRegion, vl as TreeRendererChildrenParams, vm as FilePart, vn as artifactMountId, vo as HarnessDetectionResult, vr as resourceMenuSlotRef, vs as StorageConflictInspection, vt as AutomationRun, vu as ResourceOption, wa as ExtensionNotifyApi, wd as ViewToolbarAction, wi as dockedWorkbenchRegions, wl as TreeRendererState, wm as SessionMessageRole, wn as artifactChanged, wo as RetryableHarnessReattachError, wp as TerminalSessionHandle, wr as contributionRefId, ws as ExtensionAssetsApi, wu as SelectionOption, xa as ExtensionEventsApi, xc as ResourceResolution, xd as KanbanRendererSortDirection, xi as ResourceHierarchyProvider, xl as TreeRendererMoveParams, xm as ReasoningPart, xn as TerminalSessionBridge, xo as HarnessProvider, xr as defineMiddleware, xs as StorageResolution, xt as AutomationRunStatus, xu as SegmentedOption, ya as ExtensionArtifactApi, yc as ResourceRemovedEvent, yd as KanbanRendererSavedView, yi as ExtensionPanelRegion, yl as TreeRendererCommandResult, ym as LoadingPart, yn as artifactsRead, yo as HarnessParamDescriptor, yp as TerminalEvent, yr as defineCommand, ys as StorageGroup, yu as ResourceRefValue, za as CreateWorkspaceCommandParams, zc as PageSlotRef, zd as WebviewHostCapability, zf as SlotInvocationContext, zi as CommandRef, zl as DataTableRendererSavedView, zn as ExtensionViewRender, zo as HarnessExitStatus, zp as PageRef, zr as parsePageParams, zt as NotificationKind, zu as ExtensionSettingValueForType } from "./index-DTqJS-fZ.js";
|
|
2
|
-
export { ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES, type ActionOption, type ActionsControl, type ActivityItemContribution, type AgentCapability, type AgentModel, type AnchorGridControl, type AnchorGridValue, type ApprovalRequest, type ApprovalResponse, type ArtifactChangedPayload, type ArtifactFile, type ArtifactMount, type ArtifactMountContribution, type ArtifactMountKey, type AssetContributions, type 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 DockedWorkbenchRegion, EXTENSION_API_VERSION, EXTENSION_EVENTS_SCOPE, type ErrorPart, type EventContext, type EventDeliveryResult, type EventRef, 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 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 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 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, 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, 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, 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 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 };
|
|
3
3
|
export {};
|