@pstdio/sdk 0.40.0 → 0.42.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.
@@ -1,6 +1,24 @@
1
1
  // ../pstdio-api-contracts/src/extension-kernel/api-versions.ts
2
2
  var numericIdentifier = "(?:0|[1-9]\\d*)";
3
3
  var caretTerm = new RegExp(`^\\^(${numericIdentifier}\\.${numericIdentifier}\\.${numericIdentifier})$`);
4
+ // ../pstdio-api-contracts/src/extension-kernel/boolean-view-filter.ts
5
+ var normalizeBooleanViewRule = (rule, type) => {
6
+ const mapping = type.kind === "boolean" ? type.legacyValues : undefined;
7
+ if (!mapping || !Array.isArray(rule.value) || rule.value.length === 0)
8
+ return rule;
9
+ if (rule.condition !== "is-any-of" && rule.condition !== "is-none-of")
10
+ return rule;
11
+ if (rule.value.some((value) => !Object.hasOwn(mapping, value)))
12
+ return rule;
13
+ const values = new Set(rule.value.map((value) => mapping[value]));
14
+ if (values.size === 2)
15
+ return { attributeId: rule.attributeId, condition: rule.condition === "is-any-of" ? "is-not-empty" : "is-empty" };
16
+ return {
17
+ attributeId: rule.attributeId,
18
+ condition: rule.condition === "is-any-of" ? "is" : "is-not",
19
+ value: [...values][0]
20
+ };
21
+ };
4
22
  // ../pstdio-api-contracts/src/extension-kernel/types/composition.ts
5
23
  var dockedWorkbenchRegions = ["sidenav", "main", "secondary", "side"];
6
24
  var extensionPanelRegions = ["main", "secondary", "side"];
@@ -96,6 +114,24 @@ var workbenchSlots = {
96
114
  var localContributionIdPattern = /^[a-z0-9]+(?:-[a-z0-9]+)*(?:\.[a-z0-9]+(?:-[a-z0-9]+)*)*$/;
97
115
  var isValidLocalContributionId = (id) => localContributionIdPattern.test(id);
98
116
  var localContributionIdGrammar = 'lowercase kebab-case segments separated by dots, such as "ticket-status.create"';
117
+ // ../pstdio-api-contracts/src/extension-kernel/data-table-values.ts
118
+ var resolveDataTableComparableValue = (value, renderer) => {
119
+ if (typeof value !== "object" || value === null)
120
+ return value;
121
+ if ("display" in value)
122
+ return "sortValue" in value ? value.sortValue : undefined;
123
+ if (renderer?.type === "diff" && "additions" in value && "deletions" in value && typeof value.additions === "number" && typeof value.deletions === "number")
124
+ return value.additions + value.deletions;
125
+ return value;
126
+ };
127
+ var resolveDataTableFieldKind = (values, column = {}) => {
128
+ if (column.type)
129
+ return column.type;
130
+ if (column.renderer?.type === "date")
131
+ return "date";
132
+ const comparable = values.map((value) => resolveDataTableComparableValue(value, column.renderer)).filter((value) => value !== null && value !== undefined);
133
+ return comparable.length > 0 && comparable.every((value) => typeof value === "number") ? "number" : "string";
134
+ };
99
135
  // ../pstdio-api-contracts/src/extension-kernel/refs.ts
100
136
  var createCommandRef = (input) => ({ ...input, kind: "command" });
101
137
  var commandRef = Object.assign(createCommandRef, {
@@ -137,6 +173,8 @@ var projectEvents = {
137
173
  opened: hostEventRef("project.opened")
138
174
  };
139
175
  var viewDataEvents = {
176
+ boardViewsChanged: hostEventRef("view.board-views.changed"),
177
+ resourceAnchorsChanged: hostEventRef("view.resource-anchors.changed"),
140
178
  sessionsChanged: hostEventRef("view.sessions.changed"),
141
179
  workspacesChanged: hostEventRef("view.workspaces.changed"),
142
180
  repositoriesChanged: hostEventRef("view.repositories.changed")
@@ -183,6 +221,29 @@ var isNavigationHref = (href) => {
183
221
  }
184
222
  };
185
223
 
224
+ // ../pstdio-api-contracts/src/extension-kernel/source-position.ts
225
+ var isFileSourcePosition = (value) => {
226
+ if (!value || typeof value !== "object" || Array.isArray(value))
227
+ return false;
228
+ const position = value;
229
+ const positive = (number) => typeof number === "number" && Number.isSafeInteger(number) && number > 0;
230
+ if (!positive(position.line))
231
+ return false;
232
+ for (const key of ["column", "endLine", "endColumn"]) {
233
+ if (position[key] !== undefined && !positive(position[key]))
234
+ return false;
235
+ }
236
+ if (position.endColumn !== undefined && position.endLine === undefined)
237
+ return false;
238
+ if (position.endLine !== undefined) {
239
+ if (position.endLine < position.line)
240
+ return false;
241
+ if (position.endLine === position.line && (position.endColumn ?? 1) < (position.column ?? 1))
242
+ return false;
243
+ }
244
+ return true;
245
+ };
246
+
186
247
  // ../pstdio-api-contracts/src/extension-kernel/navigation.ts
187
248
  var isRecord = (value) => Boolean(value && typeof value === "object" && !Array.isArray(value));
188
249
  var isContributionRef = (value, kind) => isRecord(value) && value.kind === kind && typeof value.id === "string";
@@ -197,6 +258,8 @@ var isPageTarget = (value, ancestors = new Set) => {
197
258
  return false;
198
259
  if (value.section !== undefined && !isRecord(value.section))
199
260
  return false;
261
+ if (value.position !== undefined && (!isFileSourcePosition(value.position) || value.section !== undefined))
262
+ return false;
200
263
  if (!isOpenIntent(value.open))
201
264
  return false;
202
265
  if (value.parent === undefined)
@@ -269,13 +332,35 @@ var packageAsset = (path, baseUrl) => ({
269
332
  path,
270
333
  baseUrl
271
334
  });
335
+ // ../pstdio-api-contracts/src/extension-kernel/types/collection-view.ts
336
+ var optionConditions = ["is-any-of", "is-none-of", "is-empty", "is-not-empty"];
337
+ var VIEW_FILTER_CONDITIONS = {
338
+ boolean: ["is", "is-not", "is-empty", "is-not-empty"],
339
+ string: ["contains", "does-not-contain", "is", "is-not", "is-empty", "is-not-empty"],
340
+ number: ["is", "is-not", "gt", "gte", "lt", "lte", "is-empty", "is-not-empty"],
341
+ date: ["is", "is-before", "is-after", "is-on-or-before", "is-on-or-after", "is-empty", "is-not-empty"],
342
+ enum: optionConditions,
343
+ status: optionConditions,
344
+ user: optionConditions,
345
+ "enum-multi": ["has-any-of", "has-all-of", "has-none-of", "is-empty", "is-not-empty"]
346
+ };
347
+ // ../pstdio-api-contracts/src/extension-kernel/types/data-table-renderer.ts
348
+ var DEFAULT_DATA_TABLE_SETTINGS = {
349
+ grouping: "none",
350
+ rowNumbers: true,
351
+ wrapRows: false,
352
+ showStats: true,
353
+ hiddenColumns: [],
354
+ columnOrder: []
355
+ };
272
356
  // ../pstdio-api-contracts/src/extension-kernel/types/extension.ts
273
- var EXTENSION_API_VERSION = "0.1.1";
357
+ var EXTENSION_API_VERSION = "0.1.2";
274
358
  // ../pstdio-api-contracts/src/extension-kernel/types/webview-capabilities.ts
275
359
  var WEBVIEW_HOST_CAPABILITY_VERSION = 1;
276
360
  var WEBVIEW_DECLARABLE_CAPABILITIES = [
277
361
  "clipboard.write",
278
362
  "commands.execute",
363
+ "commands.stream",
279
364
  "navigation.open",
280
365
  "placement.close",
281
366
  "notification.show",
@@ -523,7 +608,7 @@ var reconcileMessageHistory = (input, projection = {}) => {
523
608
  }
524
609
  };
525
610
  // package.json
526
- var version = "0.40.0";
611
+ var version = "0.42.0";
527
612
 
528
613
  // src/version.ts
529
614
  var SDK_VERSION = version;
@@ -535,6 +620,15 @@ var unwrapCommandOutcome = (response, fallbackReason = "Command failed.") => {
535
620
  }
536
621
  return outcome.value;
537
622
  };
623
+ // src/extensions/contribution-reference.ts
624
+ var HOST_EXTENSION_ID = "pstdio";
625
+ var contributionRefId = (ref, ownerExtensionId) => {
626
+ const extensionId = ref.extensionId ?? ownerExtensionId;
627
+ if (!extensionId || extensionId === HOST_EXTENSION_ID)
628
+ return ref.id;
629
+ return `${extensionId}.${ref.kind}.${ref.id}`;
630
+ };
631
+ var commandRefId = (ref, ownerExtensionId) => contributionRefId({ ...ref, kind: "command" }, ownerExtensionId);
538
632
  // src/extensions/define-command.ts
539
633
  function defineCommand(definition) {
540
634
  return { ...definition, ref: { kind: "command", id: definition.id } };
@@ -547,6 +641,7 @@ var defineHook = (definition) => ({
547
641
  ...definition,
548
642
  ref: { kind: "hook", id: definition.id }
549
643
  });
644
+ var streamOf = () => ({ kind: "stream" });
550
645
  // src/extensions/define-contribution.ts
551
646
  var defineContribution = (_kind) => (definition) => ({
552
647
  ...definition,
@@ -556,7 +651,7 @@ var defineView = defineContribution("view");
556
651
  var defineViewMenu = defineContribution("view-menu");
557
652
  var definePlacement = defineContribution("placement");
558
653
  var defineResourceKind = defineContribution("resource-kind");
559
- var resourceMenuSlotRef2 = (resourceKind, id) => defineSlot(`${resourceKind.id}.${id}`, { kind: "menu" });
654
+ var resourceMenuSlotRef2 = (resourceKind, id) => defineSlot(resourceKind.extensionId ? `${resourceKind.extensionId}.resource-kind.${resourceKind.id}.${id}` : `${resourceKind.id}.${id}`, { kind: "menu" });
560
655
  var defineNavigationItem = defineContribution("navigation-item");
561
656
  var defineNavigationTree = defineContribution("navigation-tree");
562
657
  var defineMode = defineContribution("mode");
@@ -752,6 +847,21 @@ var serializeWorkbenchPageUrl = (input) => {
752
847
  if (input.location.resource) {
753
848
  query.set("resource", input.resources.toUri(input.resources.normalize(input.location.resource)));
754
849
  }
850
+ const document2 = page.document && input.location.resource?.metadata?.[page.document.metadataKey];
851
+ if (document2 !== undefined) {
852
+ if (typeof document2 !== "string" || !document2)
853
+ throw new Error("Page location has an invalid document");
854
+ query.set("document", document2);
855
+ }
856
+ if (input.location.position) {
857
+ if (!page.document || typeof document2 !== "string" || !document2 || input.location.section || !isFileSourcePosition(input.location.position))
858
+ throw new Error("Page location has an invalid source position");
859
+ for (const key of ["line", "column", "endLine", "endColumn"]) {
860
+ const value = input.location.position[key];
861
+ if (value !== undefined)
862
+ query.set(key, String(value));
863
+ }
864
+ }
755
865
  if (input.location.section)
756
866
  query.set("section", serializeSection(input.location.section));
757
867
  const encoded = query.toString();
@@ -783,15 +893,22 @@ var parseResource = (uri, resources) => {
783
893
  return;
784
894
  }
785
895
  };
786
- var parseWorkbenchPageUrl = (input) => {
787
- let url;
788
- try {
789
- url = new URL(input.url, "http://workbench.local");
790
- } catch {
791
- return;
896
+ var parseSourcePosition = (url, page, document2, section) => {
897
+ const coordinates = Object.fromEntries(["line", "column", "endLine", "endColumn"].filter((key) => url.searchParams.has(key)).map((key) => {
898
+ const raw = url.searchParams.get(key);
899
+ return [key, /^[1-9]\d*$/.test(raw) ? Number(raw) : NaN];
900
+ }));
901
+ let position;
902
+ if (Object.keys(coordinates).length) {
903
+ if (!page.document || document2 === null || section || !isFileSourcePosition(coordinates))
904
+ return false;
905
+ position = coordinates;
792
906
  }
907
+ return position;
908
+ };
909
+ var pageForUrl = (url, projectId, pages) => {
793
910
  const segments = decodedSegments(url.pathname);
794
- if (!segments || segments[0] !== "projects" || segments[1] !== input.projectId)
911
+ if (!segments || segments[0] !== "projects" || segments[1] !== projectId)
795
912
  return;
796
913
  const route = segments.slice(2);
797
914
  const extensionRoute = route[0] === "extensions";
@@ -799,26 +916,50 @@ var parseWorkbenchPageUrl = (input) => {
799
916
  const path = (extensionRoute ? route.slice(2) : route).join("/");
800
917
  if (!extensionId || extensionRoute && !path)
801
918
  return;
802
- const page = pageForRoute(input.pages, extensionId, path);
919
+ const page = pageForRoute(pages, extensionId, path);
920
+ return page;
921
+ };
922
+ var parseWorkbenchPageUrl = (input) => {
923
+ let url;
924
+ try {
925
+ url = new URL(input.url, "http://workbench.local");
926
+ } catch {
927
+ return;
928
+ }
929
+ const page = pageForUrl(url, input.projectId, input.pages);
803
930
  if (!page)
804
931
  return;
932
+ for (const key of ["resource", "document", "section", "line", "column", "endLine", "endColumn"]) {
933
+ if (url.searchParams.getAll(key).length > 1)
934
+ return;
935
+ }
805
936
  const resourceValue = url.searchParams.get("resource");
806
- const resource = resourceValue ? parseResource(resourceValue, input.resources) : undefined;
807
- if (resourceValue && !resource)
937
+ let resource = resourceValue ? parseResource(resourceValue, input.resources) : undefined;
938
+ if (resourceValue !== null && !resource)
808
939
  return;
940
+ const document2 = url.searchParams.get("document");
941
+ if (document2 !== null) {
942
+ if (!document2 || !page.document || !resource)
943
+ return;
944
+ resource = { ...resource, metadata: { [page.document.metadataKey]: document2 } };
945
+ }
809
946
  const sectionValue = url.searchParams.get("section");
810
947
  const section = sectionValue ? parseSection(sectionValue) : undefined;
811
- if (sectionValue && !section)
948
+ if (sectionValue !== null && !section)
949
+ return;
950
+ const position = parseSourcePosition(url, page, document2, section);
951
+ if (position === false)
812
952
  return;
813
953
  return {
814
954
  pageId: page.id,
815
955
  ...resource ? { resource } : {},
816
- ...section ? { section } : {}
956
+ ...section ? { section } : {},
957
+ ...position ? { position } : {}
817
958
  };
818
959
  };
819
960
  var serializePageUrl = (input) => serializeWorkbenchPageUrl({
820
961
  projectId: input.projectId,
821
- location: { page: input.page.ref, resource: input.resource },
962
+ location: { page: input.page.ref, resource: input.resource, position: input.position },
822
963
  pages: [input.page],
823
964
  resources: defaultPageResourceCodec
824
965
  });
@@ -903,7 +1044,12 @@ var createTerminalSessionBridge = (host) => ({
903
1044
  handler(exit);
904
1045
  unsubscribeHostEvents();
905
1046
  });
906
- await call({ operation: "subscribe", sessionId });
1047
+ try {
1048
+ await call({ operation: "subscribe", sessionId });
1049
+ } catch (error) {
1050
+ unsubscribeHostEvents();
1051
+ throw error;
1052
+ }
907
1053
  return {
908
1054
  id: sessionId,
909
1055
  write(data) {
@@ -952,6 +1098,143 @@ var createWebviewEventsClient = (host, extensionId) => ({
952
1098
  }
953
1099
  });
954
1100
 
1101
+ // src/internal/stream-buffer.ts
1102
+ var createStreamBuffer = (input) => {
1103
+ const queue = [];
1104
+ let bytes = 0;
1105
+ let ended = false;
1106
+ let error;
1107
+ let wake = () => {};
1108
+ let consumed = false;
1109
+ const finish = (reason) => {
1110
+ ended = true;
1111
+ error = reason;
1112
+ if (reason) {
1113
+ queue.length = 0;
1114
+ bytes = 0;
1115
+ }
1116
+ wake();
1117
+ };
1118
+ return {
1119
+ push(value) {
1120
+ if (ended)
1121
+ return true;
1122
+ const size = input.size(value);
1123
+ if (bytes + size > input.limit)
1124
+ return false;
1125
+ queue.push({ value, bytes: size });
1126
+ bytes += size;
1127
+ wake();
1128
+ return true;
1129
+ },
1130
+ finish,
1131
+ clear() {
1132
+ queue.length = 0;
1133
+ bytes = 0;
1134
+ finish();
1135
+ },
1136
+ iterable: {
1137
+ [Symbol.asyncIterator]() {
1138
+ if (consumed)
1139
+ throw new Error("Command streams support one consumer");
1140
+ consumed = true;
1141
+ return {
1142
+ async next() {
1143
+ while (!queue.length && !ended)
1144
+ await new Promise((resolve) => {
1145
+ wake = resolve;
1146
+ });
1147
+ const item = queue.shift();
1148
+ if (item) {
1149
+ bytes -= item.bytes;
1150
+ input.onConsume?.(item.bytes);
1151
+ return { done: false, value: item.value };
1152
+ }
1153
+ if (error)
1154
+ throw error;
1155
+ return { done: true, value: undefined };
1156
+ },
1157
+ async return() {
1158
+ queue.length = 0;
1159
+ bytes = 0;
1160
+ await input.onCancel();
1161
+ finish();
1162
+ return { done: true, value: undefined };
1163
+ }
1164
+ };
1165
+ }
1166
+ }
1167
+ };
1168
+ };
1169
+ var streamError = (code, message = code) => Object.assign(new Error(message), { code });
1170
+ var jsonBytes = (value) => new TextEncoder().encode(JSON.stringify(value)).byteLength;
1171
+
1172
+ // src/extensions/webview-streams.ts
1173
+ var createWebviewCommandStream = (host, params, options) => {
1174
+ const streamId = crypto.randomUUID();
1175
+ const result = Promise.withResolvers();
1176
+ result.promise.catch(() => {});
1177
+ let ended = false;
1178
+ let unsubscribe = () => {};
1179
+ const cleanup = () => {
1180
+ unsubscribe();
1181
+ options?.signal?.removeEventListener("abort", abort);
1182
+ };
1183
+ const stop = async (code) => {
1184
+ if (ended)
1185
+ return;
1186
+ ended = true;
1187
+ cleanup();
1188
+ buffer.clear();
1189
+ result.reject(streamError(code));
1190
+ await host.call("commands.stream", { operation: "cancel", streamId }).catch(() => {});
1191
+ };
1192
+ const abort = () => {
1193
+ stop("command_stream_cancelled");
1194
+ };
1195
+ const buffer = createStreamBuffer({
1196
+ size: jsonBytes,
1197
+ limit: 8 * 1024 * 1024,
1198
+ onCancel: () => stop("command_stream_cancelled"),
1199
+ onConsume: (bytes) => {
1200
+ if (!ended)
1201
+ host.call("commands.stream", { operation: "ack", streamId, bytes }).catch(() => stop("command_stream_disconnected"));
1202
+ }
1203
+ });
1204
+ unsubscribe = host.onEvent("commands.stream", (payload) => {
1205
+ const event = payload;
1206
+ if (event.streamId !== streamId || ended)
1207
+ return;
1208
+ if (event.type === "data") {
1209
+ if (!buffer.push(event.data))
1210
+ stop("command_stream_overflow");
1211
+ return;
1212
+ }
1213
+ ended = true;
1214
+ cleanup();
1215
+ buffer.finish();
1216
+ try {
1217
+ result.resolve(unwrapCommandOutcome({ outcome: event.outcome }));
1218
+ } catch (error) {
1219
+ result.reject(Object.assign(error, { code: event.outcome.ok ? undefined : event.outcome.code }));
1220
+ }
1221
+ });
1222
+ if (options?.signal?.aborted)
1223
+ abort();
1224
+ else {
1225
+ options?.signal?.addEventListener("abort", abort, { once: true });
1226
+ host.call("commands.stream", { ...params, operation: "start", streamId }).catch((error) => {
1227
+ if (ended)
1228
+ return;
1229
+ ended = true;
1230
+ cleanup();
1231
+ buffer.finish();
1232
+ result.reject(error);
1233
+ });
1234
+ }
1235
+ return { ...buffer.iterable, result: result.promise, cancel: () => stop("command_stream_cancelled") };
1236
+ };
1237
+
955
1238
  // src/extensions/webview-client.ts
956
1239
  var createWebviewClient = (host, options) => {
957
1240
  const extensionId = options?.extensionId ?? host.extensionId;
@@ -973,6 +1256,9 @@ var createWebviewClient = (host, options) => {
973
1256
  return (params) => runCommand(commandKey, params);
974
1257
  }
975
1258
  });
1259
+ const streams = new Proxy({}, {
1260
+ get: (_target, key) => typeof key !== "string" ? undefined : (params, streamOptions) => createWebviewCommandStream(host, { commandId: `${extensionId}.command.${key}`, params, workspaceId: options?.workspaceId }, streamOptions)
1261
+ });
976
1262
  const settings = {
977
1263
  all: async () => await host.call("extension.settings.all", {}) ?? {},
978
1264
  get: (key) => host.call("extension.settings.get", { key }),
@@ -990,7 +1276,7 @@ var createWebviewClient = (host, options) => {
990
1276
  imageUrl: (mount, path) => host.call("artifacts.read", { op: "imageUrl", mount: artifactMountId(mount), path })
991
1277
  };
992
1278
  const events = createWebviewEventsClient(host, extensionId);
993
- return { artifacts, commands, events, settings };
1279
+ return { artifacts, commands, streams, events, settings };
994
1280
  };
995
1281
  // src/extensions/when.ts
996
1282
  var matchesResourceWhen = (when, resourceType) => {
@@ -1004,10 +1290,12 @@ var matchesResourceWhen = (when, resourceType) => {
1004
1290
  var projectPrefix = () => ({ $prefix: "project" });
1005
1291
  export {
1006
1292
  ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES,
1293
+ DEFAULT_DATA_TABLE_SETTINGS,
1007
1294
  EXTENSION_API_VERSION,
1008
1295
  EXTENSION_EVENTS_SCOPE,
1009
1296
  HistoryConflict,
1010
1297
  SDK_VERSION,
1298
+ VIEW_FILTER_CONDITIONS,
1011
1299
  WEBVIEW_DECLARABLE_CAPABILITIES,
1012
1300
  WEBVIEW_HOST_CAPABILITIES,
1013
1301
  WEBVIEW_HOST_CAPABILITY_VERSION,
@@ -1016,6 +1304,8 @@ export {
1016
1304
  artifactsRead,
1017
1305
  commandEvent,
1018
1306
  commandRef,
1307
+ commandRefId,
1308
+ contributionRefId,
1019
1309
  createTerminalSessionBridge,
1020
1310
  createWebviewClient,
1021
1311
  defaultPageResourceCodec,
@@ -1057,6 +1347,7 @@ export {
1057
1347
  gitEvents,
1058
1348
  historyMessageKey,
1059
1349
  historyValueKey,
1350
+ isFileSourcePosition,
1060
1351
  isLocalizedString,
1061
1352
  isNavigationTarget,
1062
1353
  isValidLocalContributionId,
@@ -1067,6 +1358,7 @@ export {
1067
1358
  matchesResourceWhen,
1068
1359
  mergeHistoryMetadata,
1069
1360
  mergeOrderedHistory,
1361
+ normalizeBooleanViewRule,
1070
1362
  packageAsset,
1071
1363
  params,
1072
1364
  parsePageUrl,
@@ -1077,6 +1369,8 @@ export {
1077
1369
  qualifyNavigationTarget,
1078
1370
  qualifyRef,
1079
1371
  reconcileMessageHistory,
1372
+ resolveDataTableComparableValue,
1373
+ resolveDataTableFieldKind,
1080
1374
  resolveEventReferenceId,
1081
1375
  resourceKey,
1082
1376
  resourceMenuSlotRef2 as resourceMenuSlotRef,
@@ -1085,6 +1379,7 @@ export {
1085
1379
  sessionEvents,
1086
1380
  sessionSlots,
1087
1381
  splitHistoryTurns,
1382
+ streamOf,
1088
1383
  submittedPrompt,
1089
1384
  unwrapCommandOutcome,
1090
1385
  viewDataEvents,
@@ -1,3 +1,3 @@
1
- import { $a as PlacementOwner, $c as WebviewContribution, $i as ProcessRunInput, $l as WebviewDeclarableCapability, $n as commandRef, $o as ControlsUpdateValueInput, $r as CommandRef, $s as HarnessQuestionOption, $t as resolveEventReferenceId, $u as CreateNotificationInput, Aa as WorkspaceProviderMutationInput, Ac as CommandPaletteResourceContribution, Ad as ContributionKind, Ai as EventContext, Al as NumberParam, An as defineTheme, Ao as TreeRendererQueryParams, Ar as workbenchResourceKindDefinitions, As as ResourceBinding, At as artifactMountId, Au as ExtensionConnectionStreamEvent, Ba as PageContribution, Bc as FileIconThemeContribution, Bd as ThemeRef, Bi as ExtensionNetApi, Bl as SelectParam, Bn as SDK_VERSION, Bo as DataTableRendererQueryResult, Br as extensionPanelRegions, Bs as AgentCapability, Bt as resourceKey, Ca as ProviderContributions, Cc as ToolPart, Cd as JsonPrimitive, Ci as FileRendererSectionTarget, Cl as FilesParam, Cn as defineSettingsPanel, Co as TreeNode, Cr as localContributionIdPattern, Cs as SegmentedOption, Ct as WebviewCommandsClient, Cu as SlotRef, Da as WorkspaceCapabilities, Dc as ArtifactMountContribution, Dd as ConnectionRef, Di as CommandMiddlewareContext, Dl as LongTextParam, Dn as defineStatuses, Do as TreeRendererChildrenParams, Dr as workbenchPages, Ds as TextControl, Dt as WebviewEventsClient, Du as ExtensionConnectionMethod, Ea as UiContributions, Ec as ActivityItemContribution, Ed as Struct, Ei as CommandContext, El as ListParam, En as defineStatusBarItem, Eo as TreeRendererActionParams, Er as workbenchPageDefinitions, Es as SelectionOption, Et as EXTENSION_EVENTS_SCOPE, Eu as EventRef, Fa as WorkspaceTypeProvider, Fc as ExtensionSettingProperty, Fd as ResourceKindRef, Fi as ExtensionBlobsApi, Fl as ParamType, Fn as defineCommand, Fo as DataTableRendererColumn, Fr as RegionSize, Fs as HarnessParamsSchema, Ft as createTerminalSessionBridge, Ga as PageOpenIntent, Gc as ModeRegionSettings, Gd as l10n, Gi as ExtensionSessionResource, Gl as WEBVIEW_DECLARABLE_CAPABILITIES, Gn as historyMessageKey, Go as DataTableRendererSelectionAction, Gr as CommandHelpersApi, Gs as HarnessEventSink, Gt as defaultPageResourceCodec, Ha as PageMain, Hc as KeybindingContribution, Hd as Localizable, Hi as ExtensionPackageFilesApi, Hl as TextParam, Hn as HistoryProjection, Ho as DataTableRendererRow, Hr as CommandContinue, Hs as ApprovalResponse, Ht as QualifiedRef, Ia as StatusActionDefinition, Ic as ExtensionSettingScope, Id as SettingsSectionRef, Ii as ExtensionContextBase, Il as ParamValue, In as defineHook, Io as DataTableRendererColumnRenderer, Ir as ResourceHierarchyProvider, Is as HarnessProvider, Ja as PageSlotRef, Jc as SkillContribution, Ji as ExtensionSkillsApi, Jl as WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES, Jn as reconcileMessageHistory, Jo as ControlsQueryParams, Jr as CommandLifecyclePhase, Js as HarnessMessagesInput, Jt as isWorkbenchProjectUrl, Ka as PageSlot, Kc as SettingsPanelContribution, Kd as parseExtensionApiDeclaration, Ki as ExtensionSessionsApi, Kl as WEBVIEW_HOST_CAPABILITIES, Kn as historyValueKey, Ko as DataTableRendererThemeColor, Kr as CommandInvocation, Ks as HarnessExit, Kt as PageUrlDefinition, La as StatusBarItemContribution, Lc as ExtensionSettingValueForType, Ld as SettingsSlotRef, Li as ExtensionEventsApi, Ll as ParamValueRef, Ln as defineMiddleware, Lo as DataTableRendererColumnStat, Lr as ResourceKindDefinition, Ls as HarnessSkillsLayout, Ma as WorkspaceProviderResolveInput, Mc as CommandPaletteResourceQueryParams, Md as ModeRef, Mi as ExtensionArtifactApi, Ml as ParamObjectSchema, Mn as defineViewMenu, Mo as TreeRendererState, Mr as workbenchSlots, Ms as HarnessContext, Mt as TerminalSessionAdapter, Mu as ExtensionLoggerApi, Na as WorkspaceProviderResult, Nc as CommandPaletteResourceQueryResult, Nd as PageRef, Ni as ExtensionBlobInput, Nl as ParamOption, Nn as defineWorkspaceType, No as TreeSectionEmptyState, Nr as DockedWorkbenchRegion, Ns as HarnessDetectionResult, Nt as TerminalSessionBridge, Nu as ExtensionAutomationApi, Oa as WorkspaceExecutionTarget, Oc as CliContribution, Od as ContributionDefinition, Oi as CommandMiddlewareHandler, Ol as MarkdownParam, On as defineTemplate, Oo as TreeRendererCommandResult, Or as workbenchPanelDefinitions, Os as VectorControl, Ot as WebviewExtensionEvent, Ou as ExtensionConnectionRequest, Pa as WorkspaceProviderState, Pc as CommandPaletteResourceTarget, Pd as PlacementRef, Pi as ExtensionBlobRef, Pl as ParamOptionSource, Pn as resourceMenuSlotRef, Po as TreeViewSection, Pr as ExtensionPanelRegion, Ps as HarnessParamDescriptor, Pt as TerminalSessionExit, Qa as PlacementIdentity, Qc as ThemeMode, Qi as MigrationContext, Ql as WebviewCommandsExecuteParams, Qn as defineSlot, Qo as ControlsResourceRef, Qr as CommandPatchParams, Qs as HarnessQuestionChannel, Qt as serializeWorkbenchPageUrl, Ra as StatusContribution, Rc as ExtensionSettingValueType, Rd as StatusBarSlotRef, Ri as ExtensionFilesApi, Rl as ParamsOf, Rn as CommandResponse, Ro as DataTableRendererContribution, Rr as ResourceMenuSlotDefinition, Rs as HarnessStateApi, Sa as PackageManifest, Sc as TokenUsagePart, Sd as JsonObject, Si as FileRendererSectionAnchor, Sl as BooleanParam, Sn as defineSchedule, So as TreeAction, Sr as localContributionIdGrammar, Ss as SegmentedControl, St as WebviewClientOptions, Su as SlotOptions, Ta as ScheduleExpression, Tc as ToolPartStatus, Td as MaybePromise, Ti as ArtifactMount, Tl as JsonParam, Tn as defineSkill, To as TreeNodeTarget, Tr as workbenchModes, Ts as SelectionGroup, Tt as createWebviewClient, Tu as EventDeliveryResult, Ua as PageMainPanels, Uc as MenuContribution, Ud as LocalizedString, Ui as ExtensionProcessApi, Ul as WorkspaceParam, Un as HistoryRecoveryInput, Uo as DataTableRendererRowAction, Ur as CommandDiagnostic, Us as HarnessApprovalChannel, Ut as qualifyRef, Va as PageLocation, Vc as KeybindingChord, Vd as ViewRef, Vi as ExtensionNotifyApi, Vl as TemplateParam, Vn as HistoryConflict, Vo as DataTableRendererResourceRef, Vr as CommandCompletedEvent, Vs as ApprovalRequest, Vt as commandEvent, Wa as PageMainView, Wc as ModeContribution, Wd as isLocalizedString, Wi as ExtensionProjectContext, Wl as ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES, Wn as HistoryRecoveryResult, Wo as DataTableRendererRowActivationHandler, Wr as CommandFailedEvent, Ws as HarnessAttachment, Wt as params, Xa as PageSlotRole, Xc as TemplateTypeContribution, Xd as AgentModel, Xi as ExtensionStorageCollectionApi, Xl as WebviewArtifactsReadParams, Xn as submittedPrompt, Xo as ControlsRendererContribution, Xr as CommandNotice, Xs as HarnessParams, Xt as parseWorkbenchPageUrl, Ya as PageSlotRegion, Yc as TemplateContribution, Yi as ExtensionStorageApi, Yl as WebviewArtifactFile, Yn as splitHistoryTurns, Yo as ControlsQueryResult, Yr as CommandMiddlewareResult, Ys as HarnessParamValue, Yt as parsePageUrl, Za as PanelRef, Zc as ThemeContribution, Zi as ExtensionTerminalApi, Zl as WebviewCapabilityDeclaration, Zn as mergeOrderedHistory, Zo as ControlsResetInput, Zr as CommandOutcome, Zs as HarnessQuestion, Zt as serializePageUrl, _a as ExtensionLoadScope, _c as SessionMessagePart, _d as ResourceRole, _i as FileRendererContribution, _l as KanbanRendererSavedView, _n as defineNavigationTree, _o as TreeViewBody, _r as viewDataEvents, _s as RangeValue, _u as WebviewPreferencesSetParams, aa as WorkspaceSyncFile, ac as HarnessResumeInput, ad as NotificationKind, ai as CommandSource, al as KanbanRendererBoardColumnConfig, an as defineExtensionView, ao as NavigationOwnerRef, ar as ConflictPayload, as as BooleanControl, au as WebviewFilesUploadParams, ba as LocalExtensionSource, bc as StepStartPart, bd as TerminalSessionHandle, bi as FileRendererResourceRef, bl as KanbanRendererViewMode, bn as defineResourceHierarchyProvider, bo as ViewMenuContribution, br as worktreeEvents, bs as ResourceOption, bt as WebviewArtifactsClient, bu as RendererEventReference, ca as ExtensionWorkspace, cc as JsonPatch, cd as NotificationStatus, ci as SerializedError, cl as KanbanRendererCreateRowContribution, cn as defineActivityItem, co as PlacementContribution, cr as SessionLifecyclePayload, cs as ControlParam, ct as AutomationRun, cu as WebviewHostCapabilityResult, da as AssetContributions, dc as ErrorPart, dd as PackageAssetDescriptor, di as NavigationTargetCommand, dl as KanbanRendererQueryParams, dn as defineConnection, do as PlacementPresence, dr as WorktreeRemovedPayload, ds as DateControl, dt as AutomationRunStatus, du as WebviewNavigationOpenParams, ea as ProcessRunResult, ec as HarnessQuestionReplyError, ed as ListNotificationsQuery, ei as CommandReject, el as WhenExpression, en as ExtensionViewModule, eo as ControlsViewBody, er as eventRef, es as ActionOption, eu as WebviewExtensionSettingKeyParams, fa as BehaviourContributions, fc as FilePart, fd as RendererContext, fi as NavigationTargetCompound, fl as KanbanRendererQueryResult, fn as defineFileIconTheme, fo as PlacementPresentation, fr as gitEvents, fs as MarkdownControl, fu as WebviewNotificationActionParams, ga as ExtensionDefinition, gc as SessionMessage, gd as ResourceRemovedEvent, gi as NavigationTargetPanel, gl as KanbanRendererRowActivationHandler, gn as defineNavigationItem, go as PlacementTabSnapshot, gr as sessionSlots, gs as RangeControl, gu as WebviewPreferencesGetParams, ha as ExtensionConnectionContribution, hc as ReasoningPart, hd as ResourceRef, hi as NavigationTargetPage, hl as KanbanRendererRowAction, hn as defineMode, ho as PlacementTabPresentation, hr as sessionEvents, hs as ParamEditorReadOnlyImage, hu as WebviewNotificationShowParams, ia as WorkspaceFilesMount, ic as HarnessRecoveryResult, id as NotificationActorType, ii as CommandRequestedEvent, il as KanbanRendererAttributeType, in as WebviewFilesClient, io as NavigationItemContribution, ir as CommitPayload, is as BaseControl, iu as WebviewFilesListParams, ja as WorkspaceProviderRef, jc as CommandPaletteResourceItem, jd as ContributionRef, ji as ExtensionActivityApi, jl as ParamDescriptor, jn as defineView, jo as TreeRendererResourceRef, jr as workbenchResourceKinds, js as ResourceConstraint, jt as artifactsRead, ju as ExtensionConnectionsApi, ka as WorkspaceProviderCreateInput, kc as CommandPaletteContribution, kd as ContributionInput, ki as CommandRunHandler, kl as MultiSelectParam, kn as defineTemplateType, ko as TreeRendererContribution, kr as workbenchPanels, ks as VectorValue, kt as ArtifactMountKey, ku as ExtensionConnectionResponse, la as ExtensionWorkspaceProvider, lc as QuestionResponse, ld as UpdateNotificationInput, li as WorkbenchAttachmentInvocationContext, ll as KanbanRendererEnumOption, ln as defineArtifactMount, lo as PlacementItem, lr as WorkspaceProvisionPayload, ls as ControlValue, lu as WebviewHostCapabilityResults, ma as EXTENSION_API_VERSION, mc as PatchPart, md as ResourceAnchor, mi as NavigationTargetItem, ml as KanbanRendererRow, mn as defineKeybinding, mo as PlacementTabMenuRow, mr as projectSlots, ms as ParamEditorReadOnlyContent, mu as WebviewNotificationResolveParams, na as SetupContext, nc as HarnessReattachInput, nd as Notification, ni as CommandReplaceInvocation, nl as KanbanRendererAttributeDescriptor, nn as ExtensionViewRenderContext, no as FileViewBody, nr as isNavigationTarget, ns as AnchorGridControl, nu as WebviewFileScope, oa as CreateExtensionWorkspaceInput, oc as HarnessSession, od as NotificationOrigin, oi as CommandStartedEvent, ol as KanbanRendererColumnAction, on as GuestHost, oo as NavigationTreeContribution, or as MergePayload, os as ColorControl, ou as WebviewHostCapability, pa as CommandDefinition, pc as LoadingPart, pd as RendererInvocationContext, pi as NavigationTargetHref, pl as KanbanRendererResourceRef, pn as defineHarness, po as PlacementTabMenuGroup, pr as projectEvents, ps as NumberControl, pu as WebviewNotificationDismissParams, qa as PageSlotCardinality, qc as SettingsSectionContribution, qd as supportsExtensionApiVersion, qi as ExtensionSettingsApi, ql as WEBVIEW_HOST_CAPABILITY_VERSION, qn as mergeHistoryMetadata, qo as ControlsApplyInput, qr as CommandLifecycleEventPayload, qs as HarnessExitStatus, qt as ParsedWorkbenchPageUrl, ra as StorageScope, rc as HarnessRecoveryInput, rd as NotificationAction, ri as CommandReplaceParams, rl as KanbanRendererAttributeDisplay, rn as PropsStore, ro as KanbanViewBody, rr as qualifyNavigationTarget, rs as AnchorGridValue, ru as WebviewFilesDeleteParams, sa as CreateWorkspaceCommandParams, sc as HarnessStartInput, sd as NotificationPriority, si as CommandTarget, sl as KanbanRendererContribution, sn as defineExtension, so as NavigationTreeSlot, sr as RebasePayload, ss as ControlGroup, su as WebviewHostCapabilityParams, ta as RendererCallback, tc as HarnessQuestionRequest, td as ListNotificationsResponse, ti as CommandRejectedEvent, tl as CollectionBadgeItem, tn as ExtensionViewRender, to as DataTableViewBody, tr as packageAsset, ts as ActionsControl, tu as WebviewExtensionSettingSetParams, ua as ExtensionWorkspacesApi, uc as TimeoutStrategy, ud as ExtensionResourcesApi, ui as NavigationTarget, ul as KanbanRendererFilterState, un as defineCommandPaletteResource, uo as PlacementMountStrategy, ur as WorkspaceType, us as ControlValueMap, uu as WebviewKeyboardEventParams, va as ExtensionSourceKind, vc as SessionMessageRole, vd as ViewHierarchyParent, vi as FileRendererLoadParams, vl as KanbanRendererSettings, vn as definePage, vo as ViewBody, vr as workspaceEvents, vs as ReadOnlyControl, vt as projectPrefix, vu as WebviewScopedDeclarableCapability, wa as ScheduleContribution, wc as ToolPartActionType, wd as JsonValue, wi as ArtifactFile, wl as HarnessParam, wn as defineSettingsSection, wo as TreeNodeRowVariant, wr as workbenchModeDefinitions, ws as SelectionControl, wt as WebviewSettingsClient, wu as UiSlotKind, xa as MiddlewareDefinition, xc as TextPart, xd as TerminalSessionRequest, xi as FileRendererSaveParams, xl as ViewToolbarAction, xn as defineResourceKind, xo as WebviewViewBody, xr as isValidLocalContributionId, xs as ResourceRefValue, xt as WebviewClient, xu as SlotInvocationContext, ya as HookDefinition, yc as StepFinishPart, yd as TerminalEvent, yi as FileRendererLoadResult, yl as KanbanRendererSortDirection, yn as definePlacement, yo as ViewContribution, yr as workspaceSlots, ys as ResourceControl, yt as matchesResourceWhen, yu as RendererContributionBase, za as WorkflowStatus, zc as ExtensionSettingsContribution, zd as StatusRef, zi as ExtensionHarnessInput, zl as ResourceParam, zn as unwrapCommandOutcome, zo as DataTableRendererQueryParams, zr as dockedWorkbenchRegions, zs as RetryableHarnessReattachError } from "./index-Cbt2YiR-.js";
2
- export { ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES, type ActionOption, type ActionsControl, type ActivityItemContribution, type AgentCapability, type AgentModel, type AnchorGridControl, type AnchorGridValue, type ApprovalRequest, type ApprovalResponse, type ArtifactFile, type ArtifactMount, type ArtifactMountContribution, type ArtifactMountKey, type AssetContributions, type AutomationRun, type AutomationRunStatus, type BaseControl, type BehaviourContributions, type 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 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, type DataTableRendererColumn, type DataTableRendererColumnRenderer, type DataTableRendererColumnStat, type DataTableRendererContribution, type DataTableRendererQueryParams, type DataTableRendererQueryResult, type DataTableRendererResourceRef, type DataTableRendererRow, type DataTableRendererRowAction, type DataTableRendererRowActivationHandler, type DataTableRendererSelectionAction, type DataTableRendererThemeColor, type DataTableViewBody, type DateControl, type DockedWorkbenchRegion, EXTENSION_API_VERSION, EXTENSION_EVENTS_SCOPE, type ErrorPart, type EventContext, type EventDeliveryResult, type EventRef, type ExtensionActivityApi, type ExtensionArtifactApi, type ExtensionAutomationApi, type ExtensionBlobInput, type ExtensionBlobRef, type ExtensionBlobsApi, type ExtensionConnectionContribution, type ExtensionConnectionMethod, type ExtensionConnectionRequest, type ExtensionConnectionResponse, type ExtensionConnectionStreamEvent, type ExtensionConnectionsApi, type ExtensionContextBase, type ExtensionDefinition, type ExtensionEventsApi, type ExtensionFilesApi, type ExtensionHarnessInput, type ExtensionLoadScope, type ExtensionLoggerApi, type ExtensionNetApi, type ExtensionNotifyApi, type ExtensionPackageFilesApi, type ExtensionPanelRegion, type ExtensionProcessApi, type ExtensionProjectContext, type ExtensionResourcesApi, type ExtensionSessionResource, type ExtensionSessionsApi, type ExtensionSettingProperty, type ExtensionSettingScope, type ExtensionSettingValueForType, type ExtensionSettingValueType, type ExtensionSettingsApi, type ExtensionSettingsContribution, type ExtensionSkillsApi, type ExtensionSourceKind, type ExtensionStorageApi, type ExtensionStorageCollectionApi, type ExtensionTerminalApi, type ExtensionViewModule, type ExtensionViewRender, type ExtensionViewRenderContext, type ExtensionWorkspace, type ExtensionWorkspaceProvider, type ExtensionWorkspacesApi, type FileIconThemeContribution, type FilePart, type FileRendererContribution, type FileRendererLoadParams, type FileRendererLoadResult, type FileRendererResourceRef, type FileRendererSaveParams, type FileRendererSectionAnchor, type FileRendererSectionTarget, type FileViewBody, type FilesParam, type GuestHost, type HarnessApprovalChannel, type HarnessAttachment, type HarnessContext, type HarnessDetectionResult, type HarnessEventSink, type HarnessExit, type HarnessExitStatus, type HarnessMessagesInput, 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, HistoryConflict, type HistoryProjection, type HistoryRecoveryInput, type HistoryRecoveryResult, type HookDefinition, type JsonObject, type JsonParam, type JsonPatch, type JsonPrimitive, type JsonValue, type KanbanRendererAttributeDescriptor, type KanbanRendererAttributeDisplay, type KanbanRendererAttributeType, type KanbanRendererBoardColumnConfig, type KanbanRendererColumnAction, type KanbanRendererContribution, type KanbanRendererCreateRowContribution, type KanbanRendererEnumOption, type KanbanRendererFilterState, type KanbanRendererQueryParams, type KanbanRendererQueryResult, type KanbanRendererResourceRef, type KanbanRendererRow, type KanbanRendererRowAction, type KanbanRendererRowActivationHandler, type KanbanRendererSavedView, type KanbanRendererSettings, type KanbanRendererSortDirection, type KanbanRendererViewMode, type 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 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 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 ResourceBinding, type ResourceConstraint, type ResourceControl, type ResourceHierarchyProvider, type ResourceKindDefinition, type ResourceKindRef, type ResourceMenuSlotDefinition, type ResourceOption, type ResourceParam, type ResourceRef, type ResourceRefValue, type ResourceRemovedEvent, type ResourceRole, type RetryableHarnessReattachError, SDK_VERSION, type ScheduleContribution, type ScheduleExpression, type SegmentedControl, type SegmentedOption, type SelectParam, type SelectionControl, type SelectionGroup, type SelectionOption, type SerializedError, type SessionLifecyclePayload, type SessionMessage, type SessionMessagePart, type SessionMessageRole, type SettingsPanelContribution, type SettingsSectionContribution, type SettingsSectionRef, type SettingsSlotRef, type SetupContext, type SkillContribution, type SlotInvocationContext, type SlotOptions, type SlotRef, type StatusActionDefinition, type StatusBarItemContribution, type StatusBarSlotRef, type StatusContribution, type StatusRef, type StepFinishPart, type StepStartPart, type StorageScope, type Struct, type TemplateContribution, type TemplateParam, type TemplateTypeContribution, type TerminalEvent, type TerminalSessionAdapter, type TerminalSessionBridge, type TerminalSessionExit, type TerminalSessionHandle, type TerminalSessionRequest, type TextControl, type TextParam, type TextPart, type ThemeContribution, type ThemeMode, type ThemeRef, type TimeoutStrategy, type TokenUsagePart, type ToolPart, type ToolPartActionType, type ToolPartStatus, type TreeAction, type TreeNode, type TreeNodeRowVariant, type TreeNodeTarget, type TreeRendererActionParams, type TreeRendererChildrenParams, type TreeRendererCommandResult, type TreeRendererContribution, type TreeRendererQueryParams, type TreeRendererResourceRef, type TreeRendererState, type TreeSectionEmptyState, type TreeViewBody, type TreeViewSection, type UiContributions, type UiSlotKind, type UpdateNotificationInput, type VectorControl, type VectorValue, type ViewBody, type ViewContribution, type ViewHierarchyParent, type ViewMenuContribution, type ViewRef, 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 WebviewCommandsClient, type WebviewCommandsExecuteParams, 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 WebviewViewBody, type WhenExpression, type WorkbenchAttachmentInvocationContext, type WorkflowStatus, type WorkspaceCapabilities, type WorkspaceExecutionTarget, type WorkspaceFilesMount, type WorkspaceParam, type WorkspaceProviderCreateInput, type WorkspaceProviderMutationInput, type WorkspaceProviderRef, type WorkspaceProviderResolveInput, type WorkspaceProviderResult, type WorkspaceProviderState, type WorkspaceProvisionPayload, type WorkspaceSyncFile, type WorkspaceType, type WorkspaceTypeProvider, type WorktreeRemovedPayload, artifactMountId, artifactsRead, commandEvent, commandRef, 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, isLocalizedString, isNavigationTarget, isValidLocalContributionId, isWorkbenchProjectUrl, l10n, localContributionIdGrammar, localContributionIdPattern, matchesResourceWhen, mergeHistoryMetadata, mergeOrderedHistory, packageAsset, params, type parseExtensionApiDeclaration, parsePageUrl, parseWorkbenchPageUrl, projectEvents, projectPrefix, projectSlots, qualifyNavigationTarget, qualifyRef, reconcileMessageHistory, resolveEventReferenceId, resourceKey, resourceMenuSlotRef, serializePageUrl, serializeWorkbenchPageUrl, sessionEvents, sessionSlots, splitHistoryTurns, submittedPrompt, type supportsExtensionApiVersion, unwrapCommandOutcome, viewDataEvents, workbenchModeDefinitions, workbenchModes, workbenchPageDefinitions, workbenchPages, workbenchPanelDefinitions, workbenchPanels, workbenchResourceKindDefinitions, workbenchResourceKinds, workbenchSlots, workspaceEvents, workspaceSlots, worktreeEvents };
1
+ import { $a as PageSlotRef, $c as ExtensionSettingProperty, $d as ResourceAnchor, $f as supportsExtensionApiVersion, $i as ExtensionTerminalApi, $l as WebviewExtensionSettingKeyParams, $n as isFileSourcePosition, $o as DataTableRendererSelectionAction, $r as CommandMiddlewareResult, $s as HarnessOperation, $t as ExtensionViewRender, Aa as WorkspaceCapabilities, Ac as FilePart, Ad as ExtensionConnectionStreamEvent, Af as ModeRef, Ai as CommandContext, Al as KanbanRendererQueryResult, An as defineViewMenu, Ao as TreeNodeTarget, Ar as workbenchPageDefinitions, As as ResourceRefValue, At as WebviewEventsClient, Au as ParamObjectSchema, Ba as StatusBarItemContribution, Bc as TokenUsagePart, Bd as ListNotificationsResponse, Bf as Localizable, Bi as ExtensionBlobsApi, Bl as ViewToolbarAction, Bn as unwrapCommandOutcome, Bo as TreeViewSection, Br as ResourceHierarchyProvider, Bs as ResourceConstraint, Bt as QualifiedRef, Bu as TextParam, Ca as LocalExtensionSource, Cc as HarnessStartInput, Cd as BoardViewUpdate, Cf as MaybePromise, Ci as FileRendererLoadResult, Cl as KanbanRendererBoardColumnConfig, Cn as defineSkill, Co as ViewBody, Cr as resolveDataTableComparableValue, Cs as ParamEditorReadOnlyContent, Ct as WebviewCommandsClient, Cu as JsonParam, Da as ScheduleContribution, Dc as QuestionResponse, Dd as ExtensionConnectionMethod, Df as ContributionInput, Di as FileRendererSectionTarget, Dl as KanbanRendererEnumOption, Dn as defineTemplateType, Do as TreeAction, Dr as localContributionIdPattern, Ds as ReadOnlyControl, Dt as CommandStreamOptions, Du as MultiSelectParam, Ea as ProviderContributions, Ec as JsonPatch, Ed as EventRef, Ef as ContributionDefinition, Ei as FileRendererSectionAnchor, El as KanbanRendererCreateRowContribution, En as defineTemplate, Eo as WebviewViewBody, Er as localContributionIdGrammar, Es as RangeValue, Et as CommandStream, Eu as MarkdownParam, Fa as WorkspaceProviderResolveInput, Fc as SessionMessagePart, Ff as SettingsSlotRef, Fi as EventContext, Fl as KanbanRendererSavedView, Fn as defineMiddleware, Fo as TreeRendererMoveParams, Fr as workbenchResourceKinds, Fs as SelectionOption, Ft as TerminalSessionAdapter, Fu as ParamValueRef, Ga as PageDocumentDeclaration, Gc as ArtifactMountContribution, Gd as NotificationOrigin, Gf as VIEW_FILTER_CONDITIONS, Gi as ExtensionNotifyApi, Gl as WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES, Gn as HistoryRecoveryResult, Go as DataTableRendererContribution, Gr as CommandCompletedEvent, Gs as HarnessProvider, Gt as ParsedWorkbenchPageUrl, Gu as UiSlotKind, Ha as WorkflowStatus, Hc as ToolPartActionType, Hd as NotificationAction, Hf as isLocalizedString, Hi as ExtensionEventsApi, Hl as WEBVIEW_DECLARABLE_CAPABILITIES, Hn as HistoryConflict, Ho as DataTableRendererColumn, Hr as ResourceMenuSlotDefinition, Hs as HarnessDetectionResult, Ht as params, Hu as SlotInvocationContext, Ia as WorkspaceProviderResult, Ic as SessionMessageRole, If as StatusBarSlotRef, Ii as ExtensionActivityApi, Il as KanbanRendererSettings, In as streamOf, Io as TreeRendererQueryParams, Ir as workbenchSlots, Is as TextControl, It as TerminalSessionBridge, Iu as ParamsOf, Ja as PageMainPanels, Jc as CommandPaletteResourceContribution, Jd as UpdateNotificationInput, Jf as ViewFilterGroup, Ji as ExtensionProjectContext, Jl as WebviewCapabilityDeclaration, Jn as mergeHistoryMetadata, Jo as DataTableRendererResourceRef, Jr as CommandFailedEvent, Js as RetryableHarnessReattachError, Jt as parseWorkbenchPageUrl, Ju as ExtensionSessionsApi, Ka as PageLocation, Kc as CliContribution, Kd as NotificationPriority, Kf as ViewFieldKind, Ki as ExtensionPackageFilesApi, Kl as WebviewArtifactFile, Kn as historyMessageKey, Ko as DataTableRendererQueryParams, Kr as CommandContinue, Ks as HarnessSkillsLayout, Kt as isWorkbenchProjectUrl, Ku as ExtensionHarnessInput, La as WorkspaceProviderState, Lc as StepFinishPart, Lf as StatusRef, Li as ExtensionArtifactApi, Ll as KanbanRendererSortDirection, Ln as commandRefId, Lo as TreeRendererResourceRef, Lr as DockedWorkbenchRegion, Ls as VectorControl, Lt as createTerminalSessionBridge, Lu as ResourceParam, Ma as WorkspaceProviderCreateInput, Mc as PatchPart, Md as ExtensionLoggerApi, Mf as PlacementRef, Mi as CommandMiddlewareHandler, Ml as KanbanRendererRow, Mn as resourceMenuSlotRef, Mo as TreeRendererChildrenParams, Mr as workbenchPanelDefinitions, Ms as SegmentedOption, Mt as ArtifactMountKey, Mu as ParamOptionSource, Na as WorkspaceProviderMutationInput, Nc as ReasoningPart, Nd as ExtensionAutomationApi, Nf as ResourceKindRef, Ni as CommandRunHandler, Nl as KanbanRendererRowAction, Nn as defineCommand, No as TreeRendererCommandResult, Nr as workbenchPanels, Ns as SelectionControl, Nt as artifactMountId, Nu as ParamType, Oa as ScheduleExpression, Oc as TimeoutStrategy, Od as ExtensionConnectionRequest, Of as ContributionKind, Oi as ArtifactFile, Ol as KanbanRendererFilterState, On as defineTheme, Oo as TreeNode, Or as workbenchModeDefinitions, Os as ResourceControl, Ot as WebviewStreamsClient, Ou as NumberParam, Pa as WorkspaceProviderRef, Pc as SessionMessage, Pf as SettingsSectionRef, Pi as CommandStreamWriter, Pl as KanbanRendererRowActivationHandler, Pn as defineHook, Po as TreeRendererContribution, Pr as workbenchResourceKindDefinitions, Ps as SelectionGroup, Pt as artifactsRead, Pu as ParamValue, Qa as PageSlotCardinality, Qc as CommandPaletteResourceTarget, Qd as RendererInvocationContext, Qf as parseExtensionApiDeclaration, Qi as ExtensionStorageCollectionApi, Ql as WebviewDeclarableCapability, Qn as mergeOrderedHistory, Qo as DataTableRendererSavedView, Qr as CommandLifecyclePhase, Qs as HarnessCommandState, Qt as ExtensionViewModule, Ra as WorkspaceTypeProvider, Rc as StepStartPart, Rd as CreateNotificationInput, Rf as ThemeRef, Ri as ExtensionBlobInput, Rl as KanbanRendererViewMode, Rn as contributionRefId, Ro as TreeRendererState, Rr as ExtensionPanelRegion, Rs as VectorValue, Rt as resourceKey, Ru as SelectParam, Sa as HookDefinition, Sc as HarnessSession, Sd as BoardViewCreate, Sf as JsonValue, Si as FileRendererLoadParams, Sl as KanbanRendererAttributeType, Sn as defineSettingsSection, So as TreeViewBody, Sr as worktreeEvents, Ss as NumberControl, St as WebviewClientOptions, Su as HarnessParam, Ta as PackageManifest, Tc as HarnessSteeringResult, Td as EventDeliveryResult, Tf as ConnectionRef, Ti as FileRendererSaveParams, Tl as KanbanRendererContribution, Tn as defineStatuses, To as ViewMenuContribution, Tr as isValidLocalContributionId, Ts as RangeControl, Tt as createWebviewClient, Tu as LongTextParam, Ua as FileSourcePosition, Uc as ToolPartStatus, Ud as NotificationActorType, Uf as l10n, Ui as ExtensionFilesApi, Ul as WEBVIEW_HOST_CAPABILITIES, Un as HistoryProjection, Uo as DataTableRendererColumnRenderer, Ur as dockedWorkbenchRegions, Us as HarnessParamDescriptor, Ut as defaultPageResourceCodec, Uu as SlotOptions, Va as StatusContribution, Vc as ToolPart, Vd as Notification, Vf as LocalizedString, Vi as ExtensionContextBase, Vl as ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES, Vn as SDK_VERSION, Vo as DEFAULT_DATA_TABLE_SETTINGS, Vr as ResourceKindDefinition, Vs as HarnessContext, Vt as qualifyRef, Vu as WorkspaceParam, Wa as PageContribution, Wc as ActivityItemContribution, Wd as NotificationKind, Wf as normalizeBooleanViewRule, Wi as ExtensionNetApi, Wl as WEBVIEW_HOST_CAPABILITY_VERSION, Wn as HistoryRecoveryInput, Wo as DataTableRendererColumnStat, Wr as extensionPanelRegions, Ws as HarnessParamsSchema, Wt as PageUrlDefinition, Wu as SlotRef, Xa as PageOpenIntent, Xc as CommandPaletteResourceQueryParams, Xd as PackageAssetDescriptor, Xf as ViewSort, Xi as ExtensionSkillsApi, Xl as WebviewCommandsExecuteParams, Xn as splitHistoryTurns, Xo as DataTableRendererRowAction, Xr as CommandInvocation, Xs as HarnessCommandContext, Xt as serializeWorkbenchPageUrl, Ya as PageMainView, Yc as CommandPaletteResourceItem, Yd as ExtensionResourcesApi, Yf as ViewFilterRule, Yi as ExtensionSettingsApi, Yl as WebviewCommandStreamEvent, Yn as reconcileMessageHistory, Yo as DataTableRendererRow, Yr as CommandHelpersApi, Yt as serializePageUrl, Za as PageSlot, Zc as CommandPaletteResourceQueryResult, Zd as RendererContext, Zf as ViewSortDirection, Zi as ExtensionStorageApi, Zl as WebviewCommandsStreamParams, Zn as submittedPrompt, Zo as DataTableRendererRowActivationHandler, Zr as CommandLifecycleEventPayload, Zs as HarnessCommandDiscoveryContext, Zt as resolveEventReferenceId, _a as EXTENSION_API_VERSION, _c as HarnessQuestionRequest, _i as NavigationTargetHref, _l as WebviewContribution, _n as definePlacement, _o as PlacementPresentation, _r as sessionEvents, _s as ControlParam, _u as WebviewScopedDeclarableCapability, aa as StorageScope, ac as HarnessApprovalChannel, af as ResourceRef, ai as CommandRejectedEvent, al as KeybindingChord, an as defineExtension, ao as ControlsViewBody, ar as qualifyNavigationTarget, as as ControlsRendererContribution, au as WebviewHostCapability, ba as ExtensionLoadScope, bc as HarnessRecoveryResult, bf as JsonObject, bi as NavigationTargetPanel, bl as KanbanRendererAttributeDescriptor, bn as defineSchedule, bo as PlacementTabPresentation, br as workspaceEvents, bs as DateControl, bt as WebviewArtifactsClient, bu as BooleanParam, ca as CreateExtensionWorkspaceInput, cc as HarnessExit, cf as ResourceRole, ci as CommandRequestedEvent, cl as ModeContribution, cn as defineCommandPaletteResource, co as KanbanViewBody, cr as MergePayload, cs as ControlsUpdateValueInput, ct as AutomationRun, cu as WebviewHostCapabilityResults, da as ExtensionWorkspaceProvider, dc as HarnessParamValue, df as TerminalEvent, di as CommandTarget, dl as SettingsSectionContribution, dn as defineHarness, do as NavigationTreeContribution, dr as WorkspaceProvisionPayload, ds as AnchorGridControl, dt as AutomationRunStatus, du as WebviewNotificationActionParams, ea as MigrationContext, ec as HarnessOperationResult, ef as ResourceAnchorChangeEvent, ei as CommandNotice, el as ExtensionSettingScope, en as ExtensionViewRenderContext, eo as PageSlotRegion, er as defineSlot, es as DataTableRendererSettings, eu as WebviewExtensionSettingSetParams, fa as ExtensionWorkspacesApi, fc as HarnessParams, fi as SerializedError, fl as SkillContribution, fn as defineKeybinding, fo as NavigationTreeSlot, fr as WorkspaceType, fs as AnchorGridValue, fu as WebviewNotificationDismissParams, ga as CommandStreamDeclaration, gc as HarnessQuestionReplyError, gf as TerminalSessionHandle, gi as NavigationTargetCompound, gl as ThemeMode, gn as definePage, go as PlacementPresence, gr as projectSlots, gs as ControlGroup, gu as WebviewPreferencesSetParams, ha as CommandDefinition, hc as HarnessQuestionOption, hf as TerminalSessionExit, hi as NavigationTargetCommand, hl as ThemeContribution, hn as defineNavigationTree, ho as PlacementMountStrategy, hr as projectEvents, hs as ColorControl, hu as WebviewPreferencesGetParams, ia as SetupContext, ic as ApprovalResponse, if as ResourceAnchorValidationResult, ii as CommandReject, il as FileIconThemeContribution, in as GuestHost, io as PlacementOwner, ir as isNavigationTarget, is as ControlsQueryResult, iu as WebviewFilesUploadParams, ja as WorkspaceExecutionTarget, jc as LoadingPart, jd as ExtensionConnectionsApi, jf as PageRef, ji as CommandMiddlewareContext, jl as KanbanRendererResourceRef, jn as defineWorkspaceType, jo as TreeRendererActionParams, jr as workbenchPages, js as SegmentedControl, jt as WebviewExtensionEvent, ju as ParamOption, ka as UiContributions, kc as ErrorPart, kd as ExtensionConnectionResponse, kf as ContributionRef, ki as ArtifactMount, kl as KanbanRendererQueryParams, kn as defineView, ko as TreeNodeRowVariant, kr as workbenchModes, ks as ResourceOption, kt as EXTENSION_EVENTS_SCOPE, ku as ParamDescriptor, la as CreateWorkspaceCommandParams, lc as HarnessExitStatus, lf as ViewHierarchyParent, li as CommandSource, ll as ModeRegionSettings, ln as defineConnection, lo as NavigationItemContribution, lr as RebasePayload, ls as ActionOption, lu as WebviewKeyboardEventParams, ma as BehaviourContributions, mc as HarnessQuestionChannel, mi as NavigationTarget, ml as TemplateTypeContribution, mn as defineNavigationItem, mo as PlacementItem, mr as gitEvents, ms as BooleanControl, mu as WebviewNotificationShowParams, na as ProcessRunResult, nc as AgentCapability, nf as ResourceAnchorQuery, ni as CommandPatchParams, nl as ExtensionSettingValueType, nn as WebviewFilesClient, no as PanelRef, np as AgentModel, nr as eventRef, ns as ControlsApplyInput, nu as WebviewFilesDeleteParams, oa as WorkspaceFilesMount, oc as HarnessAttachment, of as ResourceRemovedEvent, oi as CommandReplaceInvocation, ol as KeybindingContribution, on as defineActivityItem, oo as DataTableViewBody, or as CommitPayload, os as ControlsResetInput, ou as WebviewHostCapabilityParams, pa as AssetContributions, pc as HarnessQuestion, pi as WorkbenchAttachmentInvocationContext, pl as TemplateContribution, pn as defineMode, po as PlacementContribution, pr as WorktreeRemovedPayload, ps as BaseControl, pu as WebviewNotificationResolveParams, qa as PageMain, qc as CommandPaletteContribution, qd as NotificationStatus, qf as ViewFilterCondition, qi as ExtensionProcessApi, ql as WebviewArtifactsReadParams, qn as historyValueKey, qo as DataTableRendererQueryResult, qr as CommandDiagnostic, qs as HarnessStateApi, qt as parsePageUrl, qu as ExtensionSessionResource, ra as RendererCallback, rc as ApprovalRequest, rf as ResourceAnchorValidationInput, ri as CommandRef, rl as ExtensionSettingsContribution, rn as defineExtensionView, ro as PlacementIdentity, rr as packageAsset, rs as ControlsQueryParams, ru as WebviewFilesListParams, sa as WorkspaceSyncFile, sc as HarnessEventSink, sf as ResourceResolution, si as CommandReplaceParams, sl as MenuContribution, sn as defineArtifactMount, so as FileViewBody, sr as ConflictPayload, ss as ControlsResourceRef, su as WebviewHostCapabilityResult, ta as ProcessRunInput, tc as PreparedHarnessOperation, tf as ResourceAnchorPage, ti as CommandOutcome, tl as ExtensionSettingValueForType, tn as PropsStore, to as PageSlotRole, tr as commandRef, ts as DataTableRendererThemeColor, tu as WebviewFileScope, ua as ExtensionWorkspace, uc as HarnessMessagesInput, ui as CommandStartedEvent, ul as SettingsPanelContribution, un as defineFileIconTheme, uo as NavigationOwnerRef, ur as SessionLifecyclePayload, us as ActionsControl, uu as WebviewNavigationOpenParams, va as ExtensionConnectionContribution, vc as HarnessReattachInput, vd as ExtensionViewsApi, vf as TerminalSessionRequest, vi as NavigationTargetItem, vl as WhenExpression, vn as defineResourceHierarchyProvider, vo as PlacementTabMenuGroup, vr as sessionSlots, vs as ControlValue, vt as projectPrefix, vu as RendererContributionBase, wa as MiddlewareDefinition, wc as HarnessSteeringInput, wd as BoardViews, wf as Struct, wi as FileRendererResourceRef, wl as KanbanRendererColumnAction, wn as defineStatusBarItem, wo as ViewContribution, wr as resolveDataTableFieldKind, ws as ParamEditorReadOnlyImage, wt as WebviewSettingsClient, wu as ListParam, xa as ExtensionSourceKind, xc as HarnessResumeInput, xd as BoardView, xf as JsonPrimitive, xi as FileRendererContribution, xl as KanbanRendererAttributeDisplay, xn as defineSettingsPanel, xo as PlacementTabSnapshot, xr as workspaceSlots, xs as MarkdownControl, xt as WebviewClient, xu as FilesParam, ya as ExtensionDefinition, yc as HarnessRecoveryInput, yi as NavigationTargetPage, yl as CollectionBadgeItem, yn as defineResourceKind, yo as PlacementTabMenuRow, yr as viewDataEvents, ys as ControlValueMap, yt as matchesResourceWhen, yu as RendererEventReference, za as StatusActionDefinition, zc as TextPart, zd as ListNotificationsQuery, zf as ViewRef, zi as ExtensionBlobRef, zl as KanbanRendererViewSettings, zn as CommandResponse, zo as TreeSectionEmptyState, zr as RegionSize, zs as ResourceBinding, zt as commandEvent, zu as TemplateParam } from "./index-DKb6w-4h.js";
2
+ export { ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES, type ActionOption, type ActionsControl, type ActivityItemContribution, type AgentCapability, type AgentModel, type AnchorGridControl, type AnchorGridValue, type ApprovalRequest, type ApprovalResponse, type ArtifactFile, type ArtifactMount, type ArtifactMountContribution, type ArtifactMountKey, type AssetContributions, type AutomationRun, type AutomationRunStatus, type BaseControl, type BehaviourContributions, type BoardView, type BoardViewCreate, type BoardViewUpdate, type BoardViews, type BooleanControl, type BooleanParam, type CliContribution, type CollectionBadgeItem, type ColorControl, type CommandCompletedEvent, type CommandContext, type CommandContinue, type CommandDefinition, type CommandDiagnostic, type CommandFailedEvent, type CommandHelpersApi, type CommandInvocation, type CommandLifecycleEventPayload, type CommandLifecyclePhase, type CommandMiddlewareContext, type CommandMiddlewareHandler, type CommandMiddlewareResult, type CommandNotice, type CommandOutcome, type CommandPaletteContribution, type CommandPaletteResourceContribution, type CommandPaletteResourceItem, type CommandPaletteResourceQueryParams, type CommandPaletteResourceQueryResult, type CommandPaletteResourceTarget, type CommandPatchParams, type CommandRef, type CommandReject, type CommandRejectedEvent, type CommandReplaceInvocation, type CommandReplaceParams, type CommandRequestedEvent, type CommandResponse, type CommandRunHandler, type CommandSource, type CommandStartedEvent, type CommandStream, type CommandStreamDeclaration, type CommandStreamOptions, type CommandStreamWriter, type CommandTarget, type CommitPayload, type ConflictPayload, type ConnectionRef, type ContributionDefinition, type ContributionInput, type ContributionKind, type ContributionRef, type ControlGroup, type ControlParam, type ControlValue, type ControlValueMap, type ControlsApplyInput, type ControlsQueryParams, type ControlsQueryResult, type ControlsRendererContribution, type ControlsResetInput, type ControlsResourceRef, type ControlsUpdateValueInput, type ControlsViewBody, type CreateExtensionWorkspaceInput, type CreateNotificationInput, type CreateWorkspaceCommandParams, DEFAULT_DATA_TABLE_SETTINGS, type DataTableRendererColumn, type DataTableRendererColumnRenderer, type DataTableRendererColumnStat, type DataTableRendererContribution, type DataTableRendererQueryParams, type DataTableRendererQueryResult, type DataTableRendererResourceRef, type DataTableRendererRow, type DataTableRendererRowAction, type DataTableRendererRowActivationHandler, type DataTableRendererSavedView, type DataTableRendererSelectionAction, type DataTableRendererSettings, type DataTableRendererThemeColor, type DataTableViewBody, type DateControl, type DockedWorkbenchRegion, EXTENSION_API_VERSION, EXTENSION_EVENTS_SCOPE, type ErrorPart, type EventContext, type EventDeliveryResult, type EventRef, type ExtensionActivityApi, type ExtensionArtifactApi, type ExtensionAutomationApi, type ExtensionBlobInput, type ExtensionBlobRef, type ExtensionBlobsApi, type ExtensionConnectionContribution, type ExtensionConnectionMethod, type ExtensionConnectionRequest, type ExtensionConnectionResponse, type ExtensionConnectionStreamEvent, type ExtensionConnectionsApi, type ExtensionContextBase, type ExtensionDefinition, type ExtensionEventsApi, type ExtensionFilesApi, type ExtensionHarnessInput, type ExtensionLoadScope, type ExtensionLoggerApi, type ExtensionNetApi, type ExtensionNotifyApi, type ExtensionPackageFilesApi, type ExtensionPanelRegion, type ExtensionProcessApi, type ExtensionProjectContext, type ExtensionResourcesApi, type ExtensionSessionResource, type ExtensionSessionsApi, type ExtensionSettingProperty, type ExtensionSettingScope, type ExtensionSettingValueForType, type ExtensionSettingValueType, type ExtensionSettingsApi, type ExtensionSettingsContribution, type ExtensionSkillsApi, type ExtensionSourceKind, type ExtensionStorageApi, type ExtensionStorageCollectionApi, type ExtensionTerminalApi, type ExtensionViewModule, type ExtensionViewRender, type ExtensionViewRenderContext, type ExtensionViewsApi, type ExtensionWorkspace, type ExtensionWorkspaceProvider, type ExtensionWorkspacesApi, type FileIconThemeContribution, type FilePart, type FileRendererContribution, type FileRendererLoadParams, type FileRendererLoadResult, type FileRendererResourceRef, type FileRendererSaveParams, type FileRendererSectionAnchor, type FileRendererSectionTarget, type FileSourcePosition, type FileViewBody, type FilesParam, type GuestHost, type HarnessApprovalChannel, type HarnessAttachment, type HarnessCommandContext, type HarnessCommandDiscoveryContext, type HarnessCommandState, type HarnessContext, type HarnessDetectionResult, type HarnessEventSink, type HarnessExit, type HarnessExitStatus, type HarnessMessagesInput, type HarnessOperation, type HarnessOperationResult, type HarnessParam, type HarnessParamDescriptor, type HarnessParamValue, type HarnessParams, type HarnessParamsSchema, type HarnessProvider, type HarnessQuestion, type HarnessQuestionChannel, type HarnessQuestionOption, type HarnessQuestionReplyError, type HarnessQuestionRequest, type HarnessReattachInput, type HarnessRecoveryInput, type HarnessRecoveryResult, type HarnessResumeInput, type HarnessSession, type HarnessSkillsLayout, type HarnessStartInput, type HarnessStateApi, type HarnessSteeringInput, type HarnessSteeringResult, HistoryConflict, type HistoryProjection, type HistoryRecoveryInput, type HistoryRecoveryResult, type HookDefinition, type JsonObject, type JsonParam, type JsonPatch, type JsonPrimitive, type JsonValue, type KanbanRendererAttributeDescriptor, type KanbanRendererAttributeDisplay, type KanbanRendererAttributeType, type KanbanRendererBoardColumnConfig, type KanbanRendererColumnAction, type KanbanRendererContribution, type KanbanRendererCreateRowContribution, type KanbanRendererEnumOption, type KanbanRendererFilterState, type KanbanRendererQueryParams, type KanbanRendererQueryResult, type KanbanRendererResourceRef, type KanbanRendererRow, type KanbanRendererRowAction, type KanbanRendererRowActivationHandler, type KanbanRendererSavedView, type KanbanRendererSettings, type KanbanRendererSortDirection, type KanbanRendererViewMode, type KanbanRendererViewSettings, type KanbanViewBody, type KeybindingChord, type KeybindingContribution, type ListNotificationsQuery, type ListNotificationsResponse, type ListParam, type LoadingPart, type LocalExtensionSource, type Localizable, type LocalizedString, type LongTextParam, type MarkdownControl, type MarkdownParam, type MaybePromise, type MenuContribution, type MergePayload, type MiddlewareDefinition, type MigrationContext, type ModeContribution, type ModeRef, type ModeRegionSettings, type MultiSelectParam, type NavigationItemContribution, type NavigationOwnerRef, type NavigationTarget, type NavigationTargetCommand, type NavigationTargetCompound, type NavigationTargetHref, type NavigationTargetItem, type NavigationTargetPage, type NavigationTargetPanel, type NavigationTreeContribution, type NavigationTreeSlot, type Notification, type NotificationAction, type NotificationActorType, type NotificationKind, type NotificationOrigin, type NotificationPriority, type NotificationStatus, type NumberControl, type NumberParam, type PackageAssetDescriptor, type PackageManifest, type PageContribution, type PageDocumentDeclaration, type PageLocation, type PageMain, type PageMainPanels, type PageMainView, type PageOpenIntent, type PageRef, type PageSlot, type PageSlotCardinality, type PageSlotRef, type PageSlotRegion, type PageSlotRole, type PageUrlDefinition, type PanelRef, type ParamDescriptor, type ParamEditorReadOnlyContent, type ParamEditorReadOnlyImage, type ParamObjectSchema, type ParamOption, type ParamOptionSource, type ParamType, type ParamValue, type ParamValueRef, type ParamsOf, type ParsedWorkbenchPageUrl, type PatchPart, type PlacementContribution, type PlacementIdentity, type PlacementItem, type PlacementMountStrategy, type PlacementOwner, type PlacementPresence, type PlacementPresentation, type PlacementRef, type PlacementTabMenuGroup, type PlacementTabMenuRow, type PlacementTabPresentation, type PlacementTabSnapshot, type PreparedHarnessOperation, type ProcessRunInput, type ProcessRunResult, type PropsStore, type ProviderContributions, type QualifiedRef, type QuestionResponse, type RangeControl, type RangeValue, type ReadOnlyControl, type ReasoningPart, type RebasePayload, type RegionSize, type RendererCallback, type RendererContext, type RendererContributionBase, type RendererEventReference, type RendererInvocationContext, type ResourceAnchor, type ResourceAnchorChangeEvent, type ResourceAnchorPage, type ResourceAnchorQuery, type ResourceAnchorValidationInput, type ResourceAnchorValidationResult, type ResourceBinding, type ResourceConstraint, type ResourceControl, type ResourceHierarchyProvider, type ResourceKindDefinition, type ResourceKindRef, type ResourceMenuSlotDefinition, type ResourceOption, type ResourceParam, type ResourceRef, type ResourceRefValue, type ResourceRemovedEvent, type ResourceResolution, type ResourceRole, type RetryableHarnessReattachError, SDK_VERSION, type ScheduleContribution, type ScheduleExpression, type SegmentedControl, type SegmentedOption, type SelectParam, type SelectionControl, type SelectionGroup, type SelectionOption, type SerializedError, type SessionLifecyclePayload, type SessionMessage, type SessionMessagePart, type SessionMessageRole, type SettingsPanelContribution, type SettingsSectionContribution, type SettingsSectionRef, type SettingsSlotRef, type SetupContext, type SkillContribution, type SlotInvocationContext, type SlotOptions, type SlotRef, type StatusActionDefinition, type StatusBarItemContribution, type StatusBarSlotRef, type StatusContribution, type StatusRef, type StepFinishPart, type StepStartPart, type StorageScope, type Struct, type TemplateContribution, type TemplateParam, type TemplateTypeContribution, type TerminalEvent, type TerminalSessionAdapter, type TerminalSessionBridge, type TerminalSessionExit, type TerminalSessionHandle, type TerminalSessionRequest, type TextControl, type TextParam, type TextPart, type ThemeContribution, type ThemeMode, type ThemeRef, type TimeoutStrategy, type TokenUsagePart, type ToolPart, type ToolPartActionType, type ToolPartStatus, type TreeAction, type TreeNode, type TreeNodeRowVariant, type TreeNodeTarget, type TreeRendererActionParams, type TreeRendererChildrenParams, type TreeRendererCommandResult, type TreeRendererContribution, type TreeRendererMoveParams, type TreeRendererQueryParams, type TreeRendererResourceRef, type TreeRendererState, type TreeSectionEmptyState, type TreeViewBody, type TreeViewSection, type UiContributions, type UiSlotKind, type UpdateNotificationInput, VIEW_FILTER_CONDITIONS, type VectorControl, type VectorValue, type ViewBody, type ViewContribution, type ViewFieldKind, type ViewFilterCondition, type ViewFilterGroup, type ViewFilterRule, type ViewHierarchyParent, type ViewMenuContribution, type ViewRef, type ViewSort, type ViewSortDirection, type ViewToolbarAction, WEBVIEW_DECLARABLE_CAPABILITIES, WEBVIEW_HOST_CAPABILITIES, WEBVIEW_HOST_CAPABILITY_VERSION, WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES, type WebviewArtifactFile, type WebviewArtifactsClient, type WebviewArtifactsReadParams, type WebviewCapabilityDeclaration, type WebviewClient, type WebviewClientOptions, type WebviewCommandStreamEvent, type WebviewCommandsClient, type WebviewCommandsExecuteParams, type WebviewCommandsStreamParams, type WebviewContribution, type WebviewDeclarableCapability, type WebviewEventsClient, type WebviewExtensionEvent, type WebviewExtensionSettingKeyParams, type WebviewExtensionSettingSetParams, type WebviewFileScope, type WebviewFilesClient, type WebviewFilesDeleteParams, type WebviewFilesListParams, type WebviewFilesUploadParams, type WebviewHostCapability, type WebviewHostCapabilityParams, type WebviewHostCapabilityResult, type WebviewHostCapabilityResults, type WebviewKeyboardEventParams, type WebviewNavigationOpenParams, type WebviewNotificationActionParams, type WebviewNotificationDismissParams, type WebviewNotificationResolveParams, type WebviewNotificationShowParams, type WebviewPreferencesGetParams, type WebviewPreferencesSetParams, type WebviewScopedDeclarableCapability, type WebviewSettingsClient, type WebviewStreamsClient, type WebviewViewBody, type WhenExpression, type WorkbenchAttachmentInvocationContext, type WorkflowStatus, type WorkspaceCapabilities, type WorkspaceExecutionTarget, type WorkspaceFilesMount, type WorkspaceParam, type WorkspaceProviderCreateInput, type WorkspaceProviderMutationInput, type WorkspaceProviderRef, type WorkspaceProviderResolveInput, type WorkspaceProviderResult, type WorkspaceProviderState, type WorkspaceProvisionPayload, type WorkspaceSyncFile, type WorkspaceType, type WorkspaceTypeProvider, type WorktreeRemovedPayload, artifactMountId, artifactsRead, commandEvent, commandRef, commandRefId, contributionRefId, createTerminalSessionBridge, createWebviewClient, defaultPageResourceCodec, defineActivityItem, defineArtifactMount, defineCommand, defineCommandPaletteResource, defineConnection, defineExtension, defineExtensionView, defineFileIconTheme, defineHarness, defineHook, defineKeybinding, defineMiddleware, defineMode, defineNavigationItem, defineNavigationTree, definePage, definePlacement, defineResourceHierarchyProvider, defineResourceKind, defineSchedule, defineSettingsPanel, defineSettingsSection, defineSkill, defineSlot, defineStatusBarItem, defineStatuses, defineTemplate, defineTemplateType, defineTheme, defineView, defineViewMenu, defineWorkspaceType, dockedWorkbenchRegions, eventRef, extensionPanelRegions, gitEvents, historyMessageKey, historyValueKey, isFileSourcePosition, isLocalizedString, isNavigationTarget, isValidLocalContributionId, isWorkbenchProjectUrl, l10n, localContributionIdGrammar, localContributionIdPattern, matchesResourceWhen, mergeHistoryMetadata, mergeOrderedHistory, normalizeBooleanViewRule, packageAsset, params, type parseExtensionApiDeclaration, parsePageUrl, parseWorkbenchPageUrl, projectEvents, projectPrefix, projectSlots, qualifyNavigationTarget, qualifyRef, reconcileMessageHistory, resolveDataTableComparableValue, resolveDataTableFieldKind, resolveEventReferenceId, resourceKey, resourceMenuSlotRef, serializePageUrl, serializeWorkbenchPageUrl, sessionEvents, sessionSlots, splitHistoryTurns, streamOf, submittedPrompt, type supportsExtensionApiVersion, unwrapCommandOutcome, viewDataEvents, workbenchModeDefinitions, workbenchModes, workbenchPageDefinitions, workbenchPages, workbenchPanelDefinitions, workbenchPanels, workbenchResourceKindDefinitions, workbenchResourceKinds, workbenchSlots, workspaceEvents, workspaceSlots, worktreeEvents };
3
3
  export {};
package/dist/hooks.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { Bu as FollowUpInput, Ku as Session } from "./index-Cbt2YiR-.js";
2
- import "./sessions-46B897Gi.js";
3
- import { t as Workspace } from "./index-BU8PNmuX.js";
4
- import { t as PstdioClient } from "./index-1twOhV2h.js";
1
+ import { Qu as FollowUpInput, id as Session } from "./index-DKb6w-4h.js";
2
+ import "./sessions-D3MhZWKe.js";
3
+ import { t as Workspace } from "./index-CBZam0c-.js";
4
+ import { t as PstdioClient } from "./index-COPyc9eO.js";
5
5
  //#region src/hooks/base.d.ts
6
6
  type SessionFollowupInput = Omit<FollowUpInput, "template" | "vars">;
7
7
  type HookSessionClient = {