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