@pstdio/sdk 0.44.0 → 0.45.0-nightly.20261020145025
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 +372 -43
- package/dist/api.d.ts +4 -4
- package/dist/client/index.js +28 -1
- package/dist/client.d.ts +2 -2
- package/dist/data.d.ts +1 -1
- package/dist/extensions/index.js +4 -2
- package/dist/extensions-react.d.ts +1 -1
- package/dist/extensions.d.ts +2 -2
- package/dist/hooks.d.ts +3 -3
- package/dist/{index-BooGkjrP.d.ts → index-2xyvngQL.d.ts} +958 -759
- package/dist/{index-B3qUeP-z.d.ts → index-COAsJaAT.d.ts} +125 -3
- package/dist/resources/index.js +372 -43
- package/dist/resources.d.ts +1 -1
- package/dist/sessions-CiG7jg2r.d.ts +2 -0
- package/dist/skills-CiG7jg2r.d.ts +2 -0
- package/dist/testing/index.js +1626 -942
- package/dist/testing.d.ts +1 -1
- package/package.json +1 -1
- package/dist/sessions-uM8AN3_e.d.ts +0 -2
- package/dist/skills-uM8AN3_e.d.ts +0 -2
|
@@ -823,605 +823,6 @@ interface SlotInvocationContext<TContext extends Struct = Struct> {
|
|
|
823
823
|
context: TContext;
|
|
824
824
|
}
|
|
825
825
|
//#endregion
|
|
826
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/webview-capabilities.d.ts
|
|
827
|
-
declare const WEBVIEW_HOST_CAPABILITY_VERSION$1 = 1;
|
|
828
|
-
declare const WEBVIEW_DECLARABLE_CAPABILITIES$1: readonly ["clipboard.write", "commands.execute", "commands.stream", "navigation.open", "page.params.update", "placement.close", "notification.show", "notification.action", "notification.resolve", "notification.dismiss", "preferences.get", "preferences.set", "extension.settings.all", "extension.settings.get", "extension.settings.set", "extension.settings.delete", "terminal.session", "files.upload", "files.list", "files.delete"];
|
|
829
|
-
declare const WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES$1: readonly ["artifacts.read"];
|
|
830
|
-
declare const WEBVIEW_HOST_CAPABILITIES$1: readonly [...("commands.execute" | "commands.stream" | "extension.settings.all" | "extension.settings.delete" | "extension.settings.get" | "extension.settings.set" | "files.delete" | "files.list" | "files.upload" | "navigation.open" | "notification.action" | "notification.dismiss" | "notification.resolve" | "notification.show" | "page.params.update" | "placement.close" | "preferences.get" | "preferences.set" | "terminal.session")[], "artifacts.read"];
|
|
831
|
-
type WebviewHostCapability = (typeof WEBVIEW_HOST_CAPABILITIES$1)[number];
|
|
832
|
-
type WebviewDeclarableCapability = (typeof WEBVIEW_DECLARABLE_CAPABILITIES$1)[number];
|
|
833
|
-
type WebviewScopedDeclarableCapability = (typeof WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES$1)[number];
|
|
834
|
-
/** @deprecated Use bare capability names. Versions will be removed in 0.45. */
|
|
835
|
-
type VersionedWebviewCapabilityDeclaration = `${WebviewDeclarableCapability}@${typeof WEBVIEW_HOST_CAPABILITY_VERSION$1}`;
|
|
836
|
-
type WebviewCapabilityDeclaration = WebviewDeclarableCapability | VersionedWebviewCapabilityDeclaration | `${WebviewScopedDeclarableCapability}:${string}`;
|
|
837
|
-
interface WebviewCommandsExecuteParams {
|
|
838
|
-
commandId: string;
|
|
839
|
-
params?: JsonObject;
|
|
840
|
-
workspaceId?: string;
|
|
841
|
-
resource?: ResourceRef;
|
|
842
|
-
metadata?: JsonObject;
|
|
843
|
-
}
|
|
844
|
-
type WebviewCommandsStreamParams = ({
|
|
845
|
-
operation: "start";
|
|
846
|
-
streamId: string;
|
|
847
|
-
} & WebviewCommandsExecuteParams) | {
|
|
848
|
-
operation: "cancel";
|
|
849
|
-
streamId: string;
|
|
850
|
-
} | {
|
|
851
|
-
operation: "ack";
|
|
852
|
-
streamId: string;
|
|
853
|
-
bytes: number;
|
|
854
|
-
};
|
|
855
|
-
type WebviewCommandStreamEvent = {
|
|
856
|
-
streamId: string;
|
|
857
|
-
type: "data";
|
|
858
|
-
data: JsonValue;
|
|
859
|
-
} | {
|
|
860
|
-
streamId: string;
|
|
861
|
-
type: "end";
|
|
862
|
-
outcome: CommandOutcome;
|
|
863
|
-
};
|
|
864
|
-
interface WebviewNavigationOpenParams {
|
|
865
|
-
target: NavigationTarget;
|
|
866
|
-
}
|
|
867
|
-
/** @deprecated Use CommandNotice with type and message. */
|
|
868
|
-
interface WebviewNotificationShowParams {
|
|
869
|
-
level: "info" | "success" | "warning" | "error";
|
|
870
|
-
title: string;
|
|
871
|
-
message?: string;
|
|
872
|
-
}
|
|
873
|
-
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
874
|
-
type WebviewNotificationActionParams = Omit<CreateNotificationInput$1, "projectId">;
|
|
875
|
-
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
876
|
-
interface WebviewNotificationResolveParams {
|
|
877
|
-
id?: string;
|
|
878
|
-
dedupeKey?: string;
|
|
879
|
-
status?: Extract<NotificationStatus$1, "done" | "dismissed" | "expired">;
|
|
880
|
-
}
|
|
881
|
-
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
882
|
-
type WebviewNotificationDismissParams = Pick<WebviewNotificationResolveParams, "id" | "dedupeKey">;
|
|
883
|
-
interface WebviewPreferencesGetParams {
|
|
884
|
-
/** Access to another extension's registered names is deprecated. Use names owned by the caller. */
|
|
885
|
-
name: string;
|
|
886
|
-
scope?: {
|
|
887
|
-
scope: "default" | "user" | "project" | "workspace" | "extension" | "session";
|
|
888
|
-
scopeId?: string;
|
|
889
|
-
};
|
|
890
|
-
}
|
|
891
|
-
interface WebviewPreferencesSetParams extends WebviewPreferencesGetParams {
|
|
892
|
-
value: boolean | number | string | string[] | number[] | boolean[] | Record<string, unknown>;
|
|
893
|
-
}
|
|
894
|
-
interface WebviewPageParamsUpdateParams {
|
|
895
|
-
/** Merge overrides into the active page. Null resets a name to its declared default. */
|
|
896
|
-
params: Readonly<Record<string, PageParamValue | null>>;
|
|
897
|
-
}
|
|
898
|
-
interface WebviewExtensionSettingKeyParams {
|
|
899
|
-
key: string;
|
|
900
|
-
}
|
|
901
|
-
interface WebviewExtensionSettingSetParams extends WebviewExtensionSettingKeyParams {
|
|
902
|
-
value: unknown;
|
|
903
|
-
}
|
|
904
|
-
type WebviewFileScope = {
|
|
905
|
-
type: "project";
|
|
906
|
-
} | {
|
|
907
|
-
type: "resource";
|
|
908
|
-
id: string;
|
|
909
|
-
} | {
|
|
910
|
-
type: string;
|
|
911
|
-
id?: string;
|
|
912
|
-
};
|
|
913
|
-
interface WebviewFilesUploadParams {
|
|
914
|
-
name: string;
|
|
915
|
-
data: Uint8Array | ArrayBuffer;
|
|
916
|
-
mimeType?: string;
|
|
917
|
-
scope?: WebviewFileScope;
|
|
918
|
-
}
|
|
919
|
-
interface WebviewFilesListParams {
|
|
920
|
-
scope?: WebviewFileScope;
|
|
921
|
-
}
|
|
922
|
-
interface WebviewFilesDeleteParams {
|
|
923
|
-
id: string;
|
|
924
|
-
}
|
|
925
|
-
type WebviewArtifactsReadParams = {
|
|
926
|
-
op: "list";
|
|
927
|
-
mount: string;
|
|
928
|
-
prefix?: string;
|
|
929
|
-
} | {
|
|
930
|
-
op: "readText";
|
|
931
|
-
mount: string;
|
|
932
|
-
path: string;
|
|
933
|
-
} | {
|
|
934
|
-
op: "imageUrl";
|
|
935
|
-
mount: string;
|
|
936
|
-
path: string;
|
|
937
|
-
};
|
|
938
|
-
interface WebviewArtifactFile {
|
|
939
|
-
path: string;
|
|
940
|
-
size: number;
|
|
941
|
-
mediaType: string;
|
|
942
|
-
}
|
|
943
|
-
interface WebviewKeyboardEventParams {
|
|
944
|
-
key?: string;
|
|
945
|
-
code?: string;
|
|
946
|
-
ctrlKey?: boolean;
|
|
947
|
-
metaKey?: boolean;
|
|
948
|
-
altKey?: boolean;
|
|
949
|
-
shiftKey?: boolean;
|
|
950
|
-
repeat?: boolean;
|
|
951
|
-
}
|
|
952
|
-
interface WebviewHostCapabilityParams {
|
|
953
|
-
"commands.execute": WebviewCommandsExecuteParams;
|
|
954
|
-
"commands.stream": WebviewCommandsStreamParams;
|
|
955
|
-
"page.params.update": WebviewPageParamsUpdateParams;
|
|
956
|
-
"navigation.open": WebviewNavigationOpenParams;
|
|
957
|
-
"placement.close": Record<string, never>;
|
|
958
|
-
"notification.show": CommandNotice | WebviewNotificationShowParams;
|
|
959
|
-
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
960
|
-
"notification.action": WebviewNotificationActionParams;
|
|
961
|
-
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
962
|
-
"notification.resolve": WebviewNotificationResolveParams;
|
|
963
|
-
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
964
|
-
"notification.dismiss": WebviewNotificationDismissParams;
|
|
965
|
-
"preferences.get": WebviewPreferencesGetParams;
|
|
966
|
-
"preferences.set": WebviewPreferencesSetParams;
|
|
967
|
-
"extension.settings.all": Record<string, never>;
|
|
968
|
-
"extension.settings.get": WebviewExtensionSettingKeyParams;
|
|
969
|
-
"extension.settings.set": WebviewExtensionSettingSetParams;
|
|
970
|
-
"extension.settings.delete": WebviewExtensionSettingKeyParams;
|
|
971
|
-
/** @deprecated Use the host terminal surface. */
|
|
972
|
-
"terminal.session": TerminalSessionOperation;
|
|
973
|
-
"files.upload": WebviewFilesUploadParams;
|
|
974
|
-
/** @deprecated Use extension commands and owned storage. */
|
|
975
|
-
"files.list": WebviewFilesListParams;
|
|
976
|
-
/** @deprecated Use extension commands and owned storage. */
|
|
977
|
-
"files.delete": WebviewFilesDeleteParams;
|
|
978
|
-
"artifacts.read": WebviewArtifactsReadParams;
|
|
979
|
-
"host.dispatchKeyboardEvent": WebviewKeyboardEventParams;
|
|
980
|
-
}
|
|
981
|
-
interface WebviewHostCapabilityResults {
|
|
982
|
-
"commands.execute": {
|
|
983
|
-
outcome: CommandOutcome;
|
|
984
|
-
};
|
|
985
|
-
"commands.stream": {
|
|
986
|
-
operation: "start" | "cancel" | "ack";
|
|
987
|
-
accepted: true;
|
|
988
|
-
};
|
|
989
|
-
"page.params.update": {
|
|
990
|
-
location: PageLocation;
|
|
991
|
-
};
|
|
992
|
-
"navigation.open": void;
|
|
993
|
-
"placement.close": void;
|
|
994
|
-
"notification.show": void;
|
|
995
|
-
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
996
|
-
"notification.action": Notification$1;
|
|
997
|
-
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
998
|
-
"notification.resolve": Notification$1 | {
|
|
999
|
-
resolved: number;
|
|
1000
|
-
notifications: Notification$1[];
|
|
1001
|
-
};
|
|
1002
|
-
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
1003
|
-
"notification.dismiss": Notification$1 | {
|
|
1004
|
-
resolved: number;
|
|
1005
|
-
notifications: Notification$1[];
|
|
1006
|
-
};
|
|
1007
|
-
"preferences.get": WebviewPreferencesSetParams["value"] | undefined;
|
|
1008
|
-
"preferences.set": {
|
|
1009
|
-
name: string;
|
|
1010
|
-
value: WebviewPreferencesSetParams["value"];
|
|
1011
|
-
};
|
|
1012
|
-
"extension.settings.all": Record<string, unknown>;
|
|
1013
|
-
"extension.settings.get": unknown;
|
|
1014
|
-
"extension.settings.set": {
|
|
1015
|
-
key: string;
|
|
1016
|
-
value: unknown;
|
|
1017
|
-
};
|
|
1018
|
-
"extension.settings.delete": void;
|
|
1019
|
-
/** @deprecated Use the host terminal surface. */
|
|
1020
|
-
"terminal.session": TerminalSessionResult;
|
|
1021
|
-
"files.upload": ExtensionBlobRef;
|
|
1022
|
-
/** @deprecated Use extension commands and owned storage. */
|
|
1023
|
-
"files.list": {
|
|
1024
|
-
files: ExtensionBlobRef[];
|
|
1025
|
-
};
|
|
1026
|
-
/** @deprecated Use extension commands and owned storage. */
|
|
1027
|
-
"files.delete": void;
|
|
1028
|
-
"artifacts.read": WebviewArtifactFile[] | string;
|
|
1029
|
-
"host.dispatchKeyboardEvent": void;
|
|
1030
|
-
}
|
|
1031
|
-
type WebviewHostCapabilityResult<Capability extends WebviewHostCapability, Params extends WebviewHostCapabilityParams[Capability] = WebviewHostCapabilityParams[Capability]> = Capability extends "artifacts.read" ? Params extends {
|
|
1032
|
-
op: "list";
|
|
1033
|
-
} ? WebviewArtifactFile[] : Params extends {
|
|
1034
|
-
op: "readText" | "imageUrl";
|
|
1035
|
-
} ? string : WebviewHostCapabilityResults[Capability] : Capability extends "terminal.session" ? Params extends {
|
|
1036
|
-
operation: "open";
|
|
1037
|
-
} ? Extract<TerminalSessionResult, {
|
|
1038
|
-
operation: "open";
|
|
1039
|
-
}> : Params extends {
|
|
1040
|
-
operation: "write" | "resize" | "kill" | "subscribe";
|
|
1041
|
-
} ? Exclude<TerminalSessionResult, {
|
|
1042
|
-
operation: "open";
|
|
1043
|
-
}> : TerminalSessionResult : WebviewHostCapabilityResults[Capability];
|
|
1044
|
-
//#endregion
|
|
1045
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/view-toolbar-action.d.ts
|
|
1046
|
-
interface ViewToolbarAction<TParams extends Struct = Struct> {
|
|
1047
|
-
id: string;
|
|
1048
|
-
label: Localizable<string>;
|
|
1049
|
-
icon?: string;
|
|
1050
|
-
presentation?: "primary" | "secondary";
|
|
1051
|
-
command: CommandRef<TParams, unknown>;
|
|
1052
|
-
params?: Record<string, unknown>;
|
|
1053
|
-
input?: ParamObjectSchema;
|
|
1054
|
-
submitLabel?: string;
|
|
1055
|
-
when?: string;
|
|
1056
|
-
disabled?: boolean;
|
|
1057
|
-
}
|
|
1058
|
-
//#endregion
|
|
1059
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/kanban-renderer.d.ts
|
|
1060
|
-
type KanbanRendererViewMode = "board" | "list";
|
|
1061
|
-
type KanbanRendererSortDirection = "asc" | "desc";
|
|
1062
|
-
interface KanbanRendererEnumOption {
|
|
1063
|
-
value: string;
|
|
1064
|
-
label: Localizable<string>;
|
|
1065
|
-
color?: string;
|
|
1066
|
-
icon?: string | null;
|
|
1067
|
-
}
|
|
1068
|
-
type KanbanRendererAttributeType = {
|
|
1069
|
-
kind: "enum";
|
|
1070
|
-
options: KanbanRendererEnumOption[];
|
|
1071
|
-
} | {
|
|
1072
|
-
kind: "enum-multi";
|
|
1073
|
-
options: KanbanRendererEnumOption[];
|
|
1074
|
-
} |
|
|
1075
|
-
/** Maps old enum IDs when saved views are read. Row values must still be booleans. */
|
|
1076
|
-
{
|
|
1077
|
-
kind: "boolean";
|
|
1078
|
-
legacyValues?: Record<string, boolean>;
|
|
1079
|
-
} | {
|
|
1080
|
-
kind: "string";
|
|
1081
|
-
} | {
|
|
1082
|
-
kind: "date";
|
|
1083
|
-
} | {
|
|
1084
|
-
kind: "number";
|
|
1085
|
-
} | {
|
|
1086
|
-
kind: "user";
|
|
1087
|
-
};
|
|
1088
|
-
interface CollectionBadgeItem {
|
|
1089
|
-
id: string;
|
|
1090
|
-
label: string;
|
|
1091
|
-
icon?: string;
|
|
1092
|
-
color?: string;
|
|
1093
|
-
tooltip?: string;
|
|
1094
|
-
target?: NavigationTargetPage;
|
|
1095
|
-
resource?: ResourceRef;
|
|
1096
|
-
}
|
|
1097
|
-
type KanbanRendererAttributeDisplay = {
|
|
1098
|
-
kind: "badge-list";
|
|
1099
|
-
itemsAttributeId: string;
|
|
1100
|
-
};
|
|
1101
|
-
interface KanbanRendererAttributeDescriptor {
|
|
1102
|
-
id: string;
|
|
1103
|
-
label: Localizable<string>;
|
|
1104
|
-
type: KanbanRendererAttributeType;
|
|
1105
|
-
filterable?: boolean;
|
|
1106
|
-
groupable?: boolean;
|
|
1107
|
-
sortable?: boolean;
|
|
1108
|
-
displayable?: boolean;
|
|
1109
|
-
editable?: boolean;
|
|
1110
|
-
display?: KanbanRendererAttributeDisplay;
|
|
1111
|
-
}
|
|
1112
|
-
interface KanbanRendererSettings {
|
|
1113
|
-
viewMode: KanbanRendererViewMode;
|
|
1114
|
-
columnGrouping: string;
|
|
1115
|
-
rowGrouping: string;
|
|
1116
|
-
displayProperties: string[];
|
|
1117
|
-
}
|
|
1118
|
-
/** Display settings stored in a view. Order lives in the view's `sorts`. */
|
|
1119
|
-
type KanbanRendererViewSettings = KanbanRendererSettings;
|
|
1120
|
-
interface KanbanRendererSavedView {
|
|
1121
|
-
id: string;
|
|
1122
|
-
title: Localizable<string>;
|
|
1123
|
-
settings: KanbanRendererViewSettings;
|
|
1124
|
-
filter?: ViewFilterGroup;
|
|
1125
|
-
sorts?: ViewSort[];
|
|
1126
|
-
}
|
|
1127
|
-
interface KanbanRendererQueryParams {
|
|
1128
|
-
renderer: RendererContext;
|
|
1129
|
-
settings: KanbanRendererSettings;
|
|
1130
|
-
/** The view's full filter. Use it only to narrow what you load; the renderer applies it to the rows you return. */
|
|
1131
|
-
filter: ViewFilterGroup;
|
|
1132
|
-
/** The view's sorts, first level first. The renderer applies them to the rows you return. */
|
|
1133
|
-
sorts: ViewSort[];
|
|
1134
|
-
}
|
|
1135
|
-
type KanbanRendererResourceRef = ResourceRef;
|
|
1136
|
-
interface KanbanRendererRow {
|
|
1137
|
-
id: string;
|
|
1138
|
-
title: string;
|
|
1139
|
-
resource?: KanbanRendererResourceRef;
|
|
1140
|
-
attributes: Record<string, unknown>;
|
|
1141
|
-
}
|
|
1142
|
-
interface KanbanRendererColumnAction {
|
|
1143
|
-
id: string;
|
|
1144
|
-
label: Localizable<string>;
|
|
1145
|
-
icon?: string;
|
|
1146
|
-
}
|
|
1147
|
-
interface KanbanRendererBoardColumnConfig {
|
|
1148
|
-
color?: string;
|
|
1149
|
-
canDragIn?: boolean;
|
|
1150
|
-
canDragOut?: boolean;
|
|
1151
|
-
canCreate?: boolean;
|
|
1152
|
-
actions?: KanbanRendererColumnAction[];
|
|
1153
|
-
}
|
|
1154
|
-
interface KanbanRendererQueryResult {
|
|
1155
|
-
rows: KanbanRendererRow[];
|
|
1156
|
-
attributes?: KanbanRendererAttributeDescriptor[];
|
|
1157
|
-
boardColumnConfigs?: Record<string, KanbanRendererBoardColumnConfig>;
|
|
1158
|
-
}
|
|
1159
|
-
interface KanbanRendererCreateRowContribution<TParams extends ParamObjectSchema = ParamObjectSchema> {
|
|
1160
|
-
command: CommandRef<Struct, unknown>;
|
|
1161
|
-
title?: Localizable<string>;
|
|
1162
|
-
submitLabel?: Localizable<string>;
|
|
1163
|
-
columnParam?: string;
|
|
1164
|
-
params?: TParams;
|
|
1165
|
-
attributesParam?: string;
|
|
1166
|
-
attachments?: {
|
|
1167
|
-
command: CommandRef<Struct, unknown>;
|
|
1168
|
-
resourceParam: string;
|
|
1169
|
-
fileParam: string;
|
|
1170
|
-
};
|
|
1171
|
-
labels?: {
|
|
1172
|
-
cancel?: Localizable<string>;
|
|
1173
|
-
properties?: Localizable<string>;
|
|
1174
|
-
submitError?: Localizable<string>;
|
|
1175
|
-
removeFile?: Localizable<string>;
|
|
1176
|
-
};
|
|
1177
|
-
}
|
|
1178
|
-
interface KanbanRendererRowAction<TParams extends Struct = Struct> {
|
|
1179
|
-
id: string;
|
|
1180
|
-
label: Localizable<string>;
|
|
1181
|
-
icon?: string;
|
|
1182
|
-
command: CommandRef<TParams, unknown>;
|
|
1183
|
-
destructive?: boolean;
|
|
1184
|
-
}
|
|
1185
|
-
type KanbanRendererRowActivationHandler = RendererCallback<{
|
|
1186
|
-
row: KanbanRendererRow;
|
|
1187
|
-
}, void>;
|
|
1188
|
-
/** One drop, including destination grouping values and optional manual placement. */
|
|
1189
|
-
interface KanbanRendererMove {
|
|
1190
|
-
rowId: string;
|
|
1191
|
-
attributes: Record<string, unknown>;
|
|
1192
|
-
/** Omitted in sorted views. An empty object appends in manual order. */
|
|
1193
|
-
order?: {
|
|
1194
|
-
beforeRowId?: string;
|
|
1195
|
-
};
|
|
1196
|
-
}
|
|
1197
|
-
interface KanbanRendererContribution extends RendererContributionBase {
|
|
1198
|
-
/** Saves the complete drop once. Takes precedence over legacy move callbacks. */
|
|
1199
|
-
onMove?: RendererCallback<KanbanRendererMove, unknown>;
|
|
1200
|
-
/** Events that change filter fields/options. Omit to retain content-event refresh. */
|
|
1201
|
-
schemaRefreshEvents?: readonly RendererEventReference[];
|
|
1202
|
-
toolbarActions?: ViewToolbarAction[];
|
|
1203
|
-
attributes?: KanbanRendererAttributeDescriptor[];
|
|
1204
|
-
query: RendererCallback<KanbanRendererQueryParams, KanbanRendererQueryResult>;
|
|
1205
|
-
onAttributeChange?: RendererCallback<{
|
|
1206
|
-
rowId: string;
|
|
1207
|
-
attributeId: string;
|
|
1208
|
-
value: unknown;
|
|
1209
|
-
}, unknown>;
|
|
1210
|
-
onColumnAction?: RendererCallback<{
|
|
1211
|
-
columnId: string;
|
|
1212
|
-
actionId: string;
|
|
1213
|
-
}, unknown>;
|
|
1214
|
-
createRow?: KanbanRendererCreateRowContribution;
|
|
1215
|
-
rowActions?: KanbanRendererRowAction[];
|
|
1216
|
-
onRowActivate?: KanbanRendererRowActivationHandler;
|
|
1217
|
-
defaultSettings?: Partial<KanbanRendererSettings>;
|
|
1218
|
-
defaultFilter?: ViewFilterGroup;
|
|
1219
|
-
defaultSorts?: ViewSort[];
|
|
1220
|
-
defaultViews?: KanbanRendererSavedView[];
|
|
1221
|
-
defaultActiveViewId?: string;
|
|
1222
|
-
hideToolbar?: boolean;
|
|
1223
|
-
}
|
|
1224
|
-
//#endregion
|
|
1225
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/contributions.d.ts
|
|
1226
|
-
interface CliContribution {
|
|
1227
|
-
path?: string[];
|
|
1228
|
-
globalAliases?: string[][];
|
|
1229
|
-
description?: Localizable<string>;
|
|
1230
|
-
examples?: string[];
|
|
1231
|
-
hidden?: boolean;
|
|
1232
|
-
}
|
|
1233
|
-
interface WhenExpression {
|
|
1234
|
-
mode?: ModeRef | readonly ModeRef[];
|
|
1235
|
-
source?: CommandSource[];
|
|
1236
|
-
view?: ViewRef | readonly ViewRef[];
|
|
1237
|
-
resourceType?: readonly ResourceKindRef[];
|
|
1238
|
-
metadata?: JsonObject;
|
|
1239
|
-
}
|
|
1240
|
-
interface MenuContribution<TSlotContext extends Struct = Struct, TParams extends Struct = Struct> {
|
|
1241
|
-
slot: SlotRef<TSlotContext, "menu">;
|
|
1242
|
-
label?: Localizable<string>;
|
|
1243
|
-
group?: string;
|
|
1244
|
-
placement?: "first" | "default" | "last";
|
|
1245
|
-
icon?: string;
|
|
1246
|
-
when?: WhenExpression;
|
|
1247
|
-
/** Keep the action visible but unavailable when this condition matches its subject. */
|
|
1248
|
-
disabledWhen?: WhenExpression;
|
|
1249
|
-
disabledReason?: Localizable<string>;
|
|
1250
|
-
params?: Partial<TParams>;
|
|
1251
|
-
presentation?: "menu-item" | "button" | "icon-button";
|
|
1252
|
-
}
|
|
1253
|
-
interface CommandPaletteContribution<TParams extends Struct = Struct> {
|
|
1254
|
-
label?: Localizable<string>;
|
|
1255
|
-
group?: string;
|
|
1256
|
-
placement?: "first" | "default" | "last";
|
|
1257
|
-
icon?: string;
|
|
1258
|
-
when?: WhenExpression;
|
|
1259
|
-
params?: Partial<TParams>;
|
|
1260
|
-
}
|
|
1261
|
-
interface ActivityItemContribution<TParams extends Struct = Struct> extends ContributionDefinition<"activity-item"> {
|
|
1262
|
-
title: Localizable<string>;
|
|
1263
|
-
icon: string;
|
|
1264
|
-
/** Mode ids whose activity rail shows this item. */
|
|
1265
|
-
modes: readonly ModeRef[];
|
|
1266
|
-
placement?: "first" | "default" | "last";
|
|
1267
|
-
command: CommandRef<TParams, unknown>;
|
|
1268
|
-
params?: Partial<TParams>;
|
|
1269
|
-
}
|
|
1270
|
-
interface ModeRegionSettings {
|
|
1271
|
-
/** Hide the panel header when the mode supplies its own controls. */
|
|
1272
|
-
readonly showHeader?: boolean;
|
|
1273
|
-
readonly size?: RegionSize;
|
|
1274
|
-
/** Allow dragging this region closed. Explicit hide/show is always available. */
|
|
1275
|
-
readonly collapsible?: boolean;
|
|
1276
|
-
/** Keep a tab visible when this region has only one visible item. */
|
|
1277
|
-
readonly alwaysShowTabs?: boolean;
|
|
1278
|
-
}
|
|
1279
|
-
interface ModeContribution extends ContributionDefinition<"mode"> {
|
|
1280
|
-
label: Localizable<string>;
|
|
1281
|
-
icon?: string;
|
|
1282
|
-
regions: readonly ExtensionPanelRegion[];
|
|
1283
|
-
/** Default theme for this mode. An explicit user choice for the mode takes precedence. */
|
|
1284
|
-
defaultTheme?: ThemeRef;
|
|
1285
|
-
/** Whether side panels may float while this mode is active. Defaults to visible. */
|
|
1286
|
-
floatingPanels?: "visible" | "hidden";
|
|
1287
|
-
/** Replace host chrome with a view, or hide it with false, while the mode is active. */
|
|
1288
|
-
chrome?: Partial<Record<"nav" | "sidenav" | "activity" | "status", ViewRef | false>>;
|
|
1289
|
-
/** Region-level layout policy. The mode owns it; placements cannot set it. */
|
|
1290
|
-
regionSettings?: Readonly<Partial<Record<DockedWorkbenchRegion, ModeRegionSettings>>>;
|
|
1291
|
-
}
|
|
1292
|
-
interface WebviewContribution {
|
|
1293
|
-
entry: PackageAssetDescriptor;
|
|
1294
|
-
title?: Localizable<string>;
|
|
1295
|
-
capabilities?: WebviewCapabilityDeclaration[];
|
|
1296
|
-
}
|
|
1297
|
-
interface SettingsPanelContribution extends ContributionDefinition<"settings-panel"> {
|
|
1298
|
-
view: ViewRef;
|
|
1299
|
-
slot: SettingsSlotRef;
|
|
1300
|
-
section?: SettingsSectionRef;
|
|
1301
|
-
}
|
|
1302
|
-
/** A named group in the settings navigation that an extension's panels can sit under. */
|
|
1303
|
-
interface SettingsSectionContribution extends ContributionDefinition<"settings-section"> {
|
|
1304
|
-
title: Localizable<string>;
|
|
1305
|
-
/** Lower sorts first among sibling sections. */
|
|
1306
|
-
order?: number;
|
|
1307
|
-
}
|
|
1308
|
-
/**
|
|
1309
|
-
* Command palette resource providers contribute dynamic, searchable palette results
|
|
1310
|
-
* (e.g. slides in a presentation) backed by a private query callback. The host queries
|
|
1311
|
-
* matching providers as the user types and refreshes results when a declared event fires.
|
|
1312
|
-
*/
|
|
1313
|
-
interface CommandPaletteResourceQueryParams {
|
|
1314
|
-
projectId?: string;
|
|
1315
|
-
modeId?: string;
|
|
1316
|
-
activeResource?: ResourceRef;
|
|
1317
|
-
providerId: string;
|
|
1318
|
-
query: string;
|
|
1319
|
-
limit: number;
|
|
1320
|
-
}
|
|
1321
|
-
type CommandPaletteResourceTarget = NavigationTarget;
|
|
1322
|
-
interface CommandPaletteResourceItem {
|
|
1323
|
-
id: string;
|
|
1324
|
-
label: string;
|
|
1325
|
-
description?: string;
|
|
1326
|
-
icon?: string;
|
|
1327
|
-
keywords?: string[];
|
|
1328
|
-
target: CommandPaletteResourceTarget;
|
|
1329
|
-
}
|
|
1330
|
-
interface CommandPaletteResourceQueryResult {
|
|
1331
|
-
items: CommandPaletteResourceItem[];
|
|
1332
|
-
}
|
|
1333
|
-
interface CommandPaletteResourceContribution extends ContributionDefinition<"command-palette-resource"> {
|
|
1334
|
-
title: Localizable<string>;
|
|
1335
|
-
resourceKind?: ResourceKindRef;
|
|
1336
|
-
query: RendererCallback<CommandPaletteResourceQueryParams, CommandPaletteResourceQueryResult>;
|
|
1337
|
-
refreshEvents?: readonly RendererEventReference[];
|
|
1338
|
-
}
|
|
1339
|
-
type ExtensionSettingScope = "global" | "project";
|
|
1340
|
-
type ExtensionSettingValueType = "boolean" | "number" | "string" | "array" | "object";
|
|
1341
|
-
type ExtensionSettingValueForType<TType extends ExtensionSettingValueType> = TType extends "boolean" ? boolean : TType extends "number" ? number : TType extends "string" ? string : TType extends "array" ? JsonValue[] : JsonObject;
|
|
1342
|
-
type ExtensionSettingProperty<TType extends ExtensionSettingValueType = ExtensionSettingValueType> = { [TSettingType in TType]: {
|
|
1343
|
-
type: TSettingType;
|
|
1344
|
-
scope: ExtensionSettingScope;
|
|
1345
|
-
default?: ExtensionSettingValueForType<TSettingType>;
|
|
1346
|
-
enum?: ExtensionSettingValueForType<TSettingType>[];
|
|
1347
|
-
/**
|
|
1348
|
-
* String settings only. Loads the choices from a command when the settings form
|
|
1349
|
-
* opens, like a command param's `options`. Saved values are not checked against it.
|
|
1350
|
-
*/
|
|
1351
|
-
options?: TSettingType extends "string" ? ParamOptionSource : never;
|
|
1352
|
-
title?: Localizable<string>;
|
|
1353
|
-
description?: Localizable<string>;
|
|
1354
|
-
}; }[TType];
|
|
1355
|
-
interface ExtensionSettingsContribution<TProperties extends Record<string, ExtensionSettingProperty> = Record<string, ExtensionSettingProperty>> {
|
|
1356
|
-
properties: TProperties;
|
|
1357
|
-
}
|
|
1358
|
-
interface ArtifactMountContribution extends ContributionDefinition<"artifact-mount"> {
|
|
1359
|
-
/** Relative path under .pstdio/extension-storage/<extension.name>/. */
|
|
1360
|
-
path: string;
|
|
1361
|
-
label: Localizable<string>;
|
|
1362
|
-
/**
|
|
1363
|
-
* Watch this mount in the project's default workspace. The host emits
|
|
1364
|
-
* `artifactChanged(mount)` when a file changes outside the mount API.
|
|
1365
|
-
*/
|
|
1366
|
-
watch?: boolean;
|
|
1367
|
-
}
|
|
1368
|
-
interface TemplateTypeContribution extends ContributionDefinition<"template-type"> {
|
|
1369
|
-
label: Localizable<string>;
|
|
1370
|
-
description?: Localizable<string>;
|
|
1371
|
-
order?: number;
|
|
1372
|
-
commands?: {
|
|
1373
|
-
list: CommandRef;
|
|
1374
|
-
read: CommandRef;
|
|
1375
|
-
save: CommandRef;
|
|
1376
|
-
delete: CommandRef;
|
|
1377
|
-
};
|
|
1378
|
-
}
|
|
1379
|
-
interface TemplateContribution extends ContributionDefinition<"template"> {
|
|
1380
|
-
title: Localizable<string>;
|
|
1381
|
-
type: string;
|
|
1382
|
-
source: PackageAssetDescriptor;
|
|
1383
|
-
description?: Localizable<string>;
|
|
1384
|
-
}
|
|
1385
|
-
interface SkillContribution extends ContributionDefinition<"skill"> {
|
|
1386
|
-
title: Localizable<string>;
|
|
1387
|
-
source: PackageAssetDescriptor;
|
|
1388
|
-
description?: Localizable<string>;
|
|
1389
|
-
}
|
|
1390
|
-
type ThemeMode = "light" | "dark";
|
|
1391
|
-
interface ThemeContribution extends ContributionDefinition<"theme"> {
|
|
1392
|
-
title: Localizable<string>;
|
|
1393
|
-
source: PackageAssetDescriptor;
|
|
1394
|
-
format: "vscode-color-theme";
|
|
1395
|
-
mode?: ThemeMode;
|
|
1396
|
-
description?: Localizable<string>;
|
|
1397
|
-
}
|
|
1398
|
-
interface FileIconThemeContribution extends ContributionDefinition<"file-icon-theme"> {
|
|
1399
|
-
title: Localizable<string>;
|
|
1400
|
-
source: PackageAssetDescriptor;
|
|
1401
|
-
format: "vscode-file-icon-theme";
|
|
1402
|
-
description?: Localizable<string>;
|
|
1403
|
-
}
|
|
1404
|
-
/**
|
|
1405
|
-
* Chord string in TanStack Hotkeys syntax (e.g. "mod+shift+p"). `mod` is
|
|
1406
|
-
* Cmd on macOS and Ctrl elsewhere. Parsing, validation, canonicalization,
|
|
1407
|
-
* and display labels are all delegated to `@tanstack/hotkeys`.
|
|
1408
|
-
*/
|
|
1409
|
-
type KeybindingChord = string;
|
|
1410
|
-
interface KeybindingContribution extends ContributionDefinition<"keybinding"> {
|
|
1411
|
-
/** Default chord. Used on every platform unless an override is provided. */
|
|
1412
|
-
key: KeybindingChord;
|
|
1413
|
-
/** macOS override. */
|
|
1414
|
-
mac?: KeybindingChord;
|
|
1415
|
-
/** Linux override. */
|
|
1416
|
-
linux?: KeybindingChord;
|
|
1417
|
-
/** Windows override. */
|
|
1418
|
-
win?: KeybindingChord;
|
|
1419
|
-
/** Action this chord executes through the shared navigation executor. */
|
|
1420
|
-
action: NavigationTarget;
|
|
1421
|
-
/** Optional gating predicate. The host evaluates it at dispatch time. */
|
|
1422
|
-
when?: WhenExpression;
|
|
1423
|
-
}
|
|
1424
|
-
//#endregion
|
|
1425
826
|
//#region ../pstdio-api-contracts/src/queued-follow-ups.d.ts
|
|
1426
827
|
declare const queuedFollowUpSchema: z.ZodObject<{
|
|
1427
828
|
queuePosition: z.ZodNumber;
|
|
@@ -2413,142 +1814,794 @@ declare const sessionFollowUpResponseSchema: z.ZodObject<{
|
|
|
2413
1814
|
}, z.core.$strip>;
|
|
2414
1815
|
type SessionFollowUpResponse = z.infer<typeof sessionFollowUpResponseSchema>;
|
|
2415
1816
|
//#endregion
|
|
2416
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/sessions.d.ts
|
|
2417
|
-
type SessionExitCause = "completed" | "user_stop" | "request_aborted" | "worker_lost" | "host_shutdown" | "timeout" | "failed" | "unknown";
|
|
2418
|
-
interface SessionRunSnapshot {
|
|
2419
|
-
status: string;
|
|
2420
|
-
startedAt: string | null;
|
|
2421
|
-
endedAt: string | null;
|
|
1817
|
+
//#region ../pstdio-api-contracts/src/extension-kernel/types/sessions.d.ts
|
|
1818
|
+
type SessionExitCause = "completed" | "user_stop" | "request_aborted" | "worker_lost" | "host_shutdown" | "timeout" | "failed" | "unknown";
|
|
1819
|
+
interface SessionRunSnapshot {
|
|
1820
|
+
status: string;
|
|
1821
|
+
startedAt: string | null;
|
|
1822
|
+
endedAt: string | null;
|
|
1823
|
+
}
|
|
1824
|
+
interface SessionExit {
|
|
1825
|
+
cause: SessionExitCause;
|
|
1826
|
+
startedAt: string | null;
|
|
1827
|
+
endedAt: string;
|
|
1828
|
+
}
|
|
1829
|
+
interface ExtensionSessionUsage {
|
|
1830
|
+
/** @deprecated Use inputTokens. */
|
|
1831
|
+
input_tokens: number;
|
|
1832
|
+
/** @deprecated Use outputTokens. */
|
|
1833
|
+
output_tokens: number;
|
|
1834
|
+
/** @deprecated Use cacheReadTokens. */
|
|
1835
|
+
cache_read_tokens: number;
|
|
1836
|
+
/** @deprecated Use cacheWriteTokens. */
|
|
1837
|
+
cache_write_tokens: number;
|
|
1838
|
+
}
|
|
1839
|
+
interface ExtensionSession {
|
|
1840
|
+
id: string;
|
|
1841
|
+
title: string;
|
|
1842
|
+
status: SessionStatus;
|
|
1843
|
+
archived: boolean;
|
|
1844
|
+
agent: string | null;
|
|
1845
|
+
cwd: string | null;
|
|
1846
|
+
lastSelectedModel: string | null;
|
|
1847
|
+
workspaceId: string | null;
|
|
1848
|
+
originalSessionId: string | null;
|
|
1849
|
+
createdAt: string;
|
|
1850
|
+
updatedAt: string;
|
|
1851
|
+
lastRequestStarted: string | null;
|
|
1852
|
+
lastRequestEnded: string | null;
|
|
1853
|
+
/** Available when reading a session by ID. */
|
|
1854
|
+
lastExit?: SessionExit | null;
|
|
1855
|
+
usage: {
|
|
1856
|
+
inputTokens: number;
|
|
1857
|
+
outputTokens: number;
|
|
1858
|
+
cacheReadTokens: number;
|
|
1859
|
+
cacheWriteTokens: number;
|
|
1860
|
+
} | null;
|
|
1861
|
+
}
|
|
1862
|
+
/** @deprecated Use ExtensionSession. Snake-case fields are removed in 0.45. */
|
|
1863
|
+
interface ExtensionSessionSummary {
|
|
1864
|
+
id: string;
|
|
1865
|
+
title: string;
|
|
1866
|
+
status: SessionStatus;
|
|
1867
|
+
archived: boolean;
|
|
1868
|
+
agent: string | null;
|
|
1869
|
+
/** @deprecated Use lastSelectedModel. */
|
|
1870
|
+
last_selected_model: string | null;
|
|
1871
|
+
/** @deprecated Use workspaceId. */
|
|
1872
|
+
workspace_id: string | null;
|
|
1873
|
+
/** @deprecated Use originalSessionId. */
|
|
1874
|
+
original_session_id: string | null;
|
|
1875
|
+
/** @deprecated Use createdAt. */
|
|
1876
|
+
created_at: string;
|
|
1877
|
+
/** @deprecated Use updatedAt. */
|
|
1878
|
+
updated_at: string;
|
|
1879
|
+
/** @deprecated Use lastRequestStarted. */
|
|
1880
|
+
last_request_started: string | null;
|
|
1881
|
+
/** @deprecated Use lastRequestEnded. */
|
|
1882
|
+
last_request_ended: string | null;
|
|
1883
|
+
/** @deprecated Read links through resources. */
|
|
1884
|
+
anchors_json: ResourceAnchor[];
|
|
1885
|
+
/** Totals at the last conversation save. Null when no usage was recorded. */
|
|
1886
|
+
usage: ExtensionSessionUsage | null;
|
|
1887
|
+
}
|
|
1888
|
+
interface ExtensionSessionQuery {
|
|
1889
|
+
status?: SessionStatus[];
|
|
1890
|
+
agent?: string;
|
|
1891
|
+
workspaceId?: string;
|
|
1892
|
+
anchor?: Pick<ResourceRef, "type" | "id" | "extensionId" | "projectId">;
|
|
1893
|
+
/** Default created. Both orders use id descending to break ties. */
|
|
1894
|
+
orderBy?: "created" | "lastActivity";
|
|
1895
|
+
/** Inclusive ISO timestamp bounds. */
|
|
1896
|
+
createdFrom?: string;
|
|
1897
|
+
createdTo?: string;
|
|
1898
|
+
updatedFrom?: string;
|
|
1899
|
+
includeArchived?: boolean;
|
|
1900
|
+
/** Default 50. Clamped to 1..200. */
|
|
1901
|
+
limit?: number;
|
|
1902
|
+
cursor?: string;
|
|
1903
|
+
}
|
|
1904
|
+
interface ExtensionSessionPage {
|
|
1905
|
+
/** Newest first by the requested order, then id descending. */
|
|
1906
|
+
items: (ExtensionSession & ExtensionSessionSummary)[];
|
|
1907
|
+
nextCursor: string | null;
|
|
1908
|
+
}
|
|
1909
|
+
/** @deprecated Use ExtensionSession. */
|
|
1910
|
+
interface ExtensionSessionResource {
|
|
1911
|
+
type: "session";
|
|
1912
|
+
id: string;
|
|
1913
|
+
title: string;
|
|
1914
|
+
status: SessionStatus;
|
|
1915
|
+
agent?: string | null;
|
|
1916
|
+
}
|
|
1917
|
+
interface ExtensionSessionsApi {
|
|
1918
|
+
getQueuedFollowUps(sessionId: string): Promise<PendingQueuedFollowUpsResponse>;
|
|
1919
|
+
updateQueuedFollowUp(sessionId: string, queuePosition: number, input: UpdateQueuedFollowUpInput): Promise<QueuedFollowUpRequest>;
|
|
1920
|
+
combineQueuedFollowUps(sessionId: string, queuePosition: number, input: CombineQueuedFollowUpsInput): Promise<QueuedFollowUpRequest>;
|
|
1921
|
+
steerQueuedFollowUp(sessionId: string, queuePosition: number, input: SteerQueuedFollowUpInput): Promise<QueuedSteeringResult>;
|
|
1922
|
+
get(id: string): Promise<(ExtensionSession & ExtensionSessionSummary & {
|
|
1923
|
+
/** @deprecated Use lastExit. */
|
|
1924
|
+
last_exit?: SessionExit | null;
|
|
1925
|
+
}) | null>;
|
|
1926
|
+
query(input?: ExtensionSessionQuery): Promise<ExtensionSessionPage>;
|
|
1927
|
+
create(input: {
|
|
1928
|
+
title: string;
|
|
1929
|
+
prompt?: string;
|
|
1930
|
+
harness?: ExtensionHarnessInput;
|
|
1931
|
+
workspaceId?: string;
|
|
1932
|
+
anchors?: ResourceAnchor[];
|
|
1933
|
+
attachments?: SessionAttachmentRef[];
|
|
1934
|
+
originalSessionId?: string;
|
|
1935
|
+
}): Promise<ExtensionSession & ExtensionSessionSummary & ExtensionSessionResource>;
|
|
1936
|
+
followup(input: {
|
|
1937
|
+
sessionId: string;
|
|
1938
|
+
prompt?: string;
|
|
1939
|
+
attachments?: SessionAttachmentRef[];
|
|
1940
|
+
/** Refuse automatic continuation if execution changed. */
|
|
1941
|
+
expectedRun?: SessionRunSnapshot;
|
|
1942
|
+
}): Promise<void>;
|
|
1943
|
+
/** @deprecated Use resources.addAnchors with a session reference. */
|
|
1944
|
+
addAnchors(sessionId: string, anchors: ResourceAnchor[]): Promise<void>;
|
|
1945
|
+
/** @deprecated Use resources.removeAnchors with a session reference. */
|
|
1946
|
+
removeAnchors(sessionId: string, refs: ResourceRef[]): Promise<void>;
|
|
1947
|
+
}
|
|
1948
|
+
interface ExtensionHarnessInput {
|
|
1949
|
+
harnessId: string;
|
|
1950
|
+
model?: string;
|
|
1951
|
+
/** Run params the harness declares for the model, such as reasoning effort. They override the project's defaults. */
|
|
1952
|
+
params?: Record<string, string | boolean>;
|
|
1953
|
+
}
|
|
1954
|
+
//#endregion
|
|
1955
|
+
//#region ../pstdio-api-contracts/src/extension-kernel/types/webview-capabilities.d.ts
|
|
1956
|
+
declare const WEBVIEW_HOST_CAPABILITY_VERSION$1 = 1;
|
|
1957
|
+
declare const WEBVIEW_DECLARABLE_CAPABILITIES$1: readonly ["clipboard.write", "commands.execute", "commands.stream", "harnesses.read", "resources.actions", "navigation.open", "page.params.update", "placement.close", "notification.show", "notification.action", "notification.resolve", "notification.dismiss", "preferences.get", "preferences.set", "extension.settings.all", "extension.settings.get", "extension.settings.set", "extension.settings.delete", "terminal.session", "files.upload", "files.list", "files.delete"];
|
|
1958
|
+
declare const WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES$1: readonly ["artifacts.read"];
|
|
1959
|
+
declare const WEBVIEW_HOST_CAPABILITIES$1: readonly [...("commands.execute" | "commands.stream" | "extension.settings.all" | "extension.settings.delete" | "extension.settings.get" | "extension.settings.set" | "files.delete" | "files.list" | "files.upload" | "harnesses.read" | "navigation.open" | "notification.action" | "notification.dismiss" | "notification.resolve" | "notification.show" | "page.params.update" | "placement.close" | "preferences.get" | "preferences.set" | "resources.actions" | "terminal.session")[], "artifacts.read"];
|
|
1960
|
+
type WebviewHostCapability = (typeof WEBVIEW_HOST_CAPABILITIES$1)[number];
|
|
1961
|
+
type WebviewDeclarableCapability = (typeof WEBVIEW_DECLARABLE_CAPABILITIES$1)[number];
|
|
1962
|
+
type WebviewScopedDeclarableCapability = (typeof WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES$1)[number];
|
|
1963
|
+
/** @deprecated Use bare capability names. Versions will be removed in 0.45. */
|
|
1964
|
+
type VersionedWebviewCapabilityDeclaration = `${WebviewDeclarableCapability}@${typeof WEBVIEW_HOST_CAPABILITY_VERSION$1}`;
|
|
1965
|
+
type WebviewCapabilityDeclaration = WebviewDeclarableCapability | VersionedWebviewCapabilityDeclaration | `${WebviewScopedDeclarableCapability}:${string}`;
|
|
1966
|
+
interface WebviewCommandsExecuteParams {
|
|
1967
|
+
commandId: string;
|
|
1968
|
+
params?: JsonObject;
|
|
1969
|
+
workspaceId?: string;
|
|
1970
|
+
resource?: ResourceRef;
|
|
1971
|
+
metadata?: JsonObject;
|
|
1972
|
+
}
|
|
1973
|
+
type WebviewCommandsStreamParams = ({
|
|
1974
|
+
operation: "start";
|
|
1975
|
+
streamId: string;
|
|
1976
|
+
} & WebviewCommandsExecuteParams) | {
|
|
1977
|
+
operation: "cancel";
|
|
1978
|
+
streamId: string;
|
|
1979
|
+
} | {
|
|
1980
|
+
operation: "ack";
|
|
1981
|
+
streamId: string;
|
|
1982
|
+
bytes: number;
|
|
1983
|
+
};
|
|
1984
|
+
type WebviewCommandStreamEvent = {
|
|
1985
|
+
streamId: string;
|
|
1986
|
+
type: "data";
|
|
1987
|
+
data: JsonValue;
|
|
1988
|
+
} | {
|
|
1989
|
+
streamId: string;
|
|
1990
|
+
type: "end";
|
|
1991
|
+
outcome: CommandOutcome;
|
|
1992
|
+
};
|
|
1993
|
+
interface WebviewNavigationOpenParams {
|
|
1994
|
+
target: NavigationTarget;
|
|
1995
|
+
}
|
|
1996
|
+
/** @deprecated Use CommandNotice with type and message. */
|
|
1997
|
+
interface WebviewNotificationShowParams {
|
|
1998
|
+
level: "info" | "success" | "warning" | "error";
|
|
1999
|
+
title: string;
|
|
2000
|
+
message?: string;
|
|
2001
|
+
}
|
|
2002
|
+
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
2003
|
+
type WebviewNotificationActionParams = Omit<CreateNotificationInput$1, "projectId">;
|
|
2004
|
+
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
2005
|
+
interface WebviewNotificationResolveParams {
|
|
2006
|
+
id?: string;
|
|
2007
|
+
dedupeKey?: string;
|
|
2008
|
+
status?: Extract<NotificationStatus$1, "done" | "dismissed" | "expired">;
|
|
2009
|
+
}
|
|
2010
|
+
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
2011
|
+
type WebviewNotificationDismissParams = Pick<WebviewNotificationResolveParams, "id" | "dedupeKey">;
|
|
2012
|
+
interface WebviewPreferencesGetParams {
|
|
2013
|
+
/** Access to another extension's registered names is deprecated. Use names owned by the caller. */
|
|
2014
|
+
name: string;
|
|
2015
|
+
scope?: {
|
|
2016
|
+
scope: "default" | "user" | "project" | "workspace" | "extension" | "session";
|
|
2017
|
+
scopeId?: string;
|
|
2018
|
+
};
|
|
2019
|
+
}
|
|
2020
|
+
interface WebviewPreferencesSetParams extends WebviewPreferencesGetParams {
|
|
2021
|
+
value: boolean | number | string | string[] | number[] | boolean[] | Record<string, unknown>;
|
|
2022
|
+
}
|
|
2023
|
+
interface WebviewPageParamsUpdateParams {
|
|
2024
|
+
/** Merge overrides into the active page. Null resets a name to its declared default. */
|
|
2025
|
+
params: Readonly<Record<string, PageParamValue | null>>;
|
|
2026
|
+
}
|
|
2027
|
+
interface WebviewExtensionSettingKeyParams {
|
|
2028
|
+
key: string;
|
|
2029
|
+
}
|
|
2030
|
+
interface WebviewExtensionSettingSetParams extends WebviewExtensionSettingKeyParams {
|
|
2031
|
+
value: unknown;
|
|
2032
|
+
}
|
|
2033
|
+
type WebviewFileScope = {
|
|
2034
|
+
type: "project";
|
|
2035
|
+
} | {
|
|
2036
|
+
type: "resource";
|
|
2037
|
+
id: string;
|
|
2038
|
+
} | {
|
|
2039
|
+
type: string;
|
|
2040
|
+
id?: string;
|
|
2041
|
+
};
|
|
2042
|
+
interface WebviewFilesUploadParams {
|
|
2043
|
+
name: string;
|
|
2044
|
+
data: Uint8Array | ArrayBuffer;
|
|
2045
|
+
mimeType?: string;
|
|
2046
|
+
scope?: WebviewFileScope;
|
|
2047
|
+
}
|
|
2048
|
+
interface WebviewFilesListParams {
|
|
2049
|
+
scope?: WebviewFileScope;
|
|
2050
|
+
}
|
|
2051
|
+
interface WebviewFilesDeleteParams {
|
|
2052
|
+
id: string;
|
|
2053
|
+
}
|
|
2054
|
+
type WebviewArtifactsReadParams = {
|
|
2055
|
+
op: "list";
|
|
2056
|
+
mount: string;
|
|
2057
|
+
prefix?: string;
|
|
2058
|
+
} | {
|
|
2059
|
+
op: "readText";
|
|
2060
|
+
mount: string;
|
|
2061
|
+
path: string;
|
|
2062
|
+
} | {
|
|
2063
|
+
op: "imageUrl";
|
|
2064
|
+
mount: string;
|
|
2065
|
+
path: string;
|
|
2066
|
+
};
|
|
2067
|
+
interface WebviewArtifactFile {
|
|
2068
|
+
path: string;
|
|
2069
|
+
size: number;
|
|
2070
|
+
mediaType: string;
|
|
2071
|
+
}
|
|
2072
|
+
interface WebviewKeyboardEventParams {
|
|
2073
|
+
key?: string;
|
|
2074
|
+
code?: string;
|
|
2075
|
+
ctrlKey?: boolean;
|
|
2076
|
+
metaKey?: boolean;
|
|
2077
|
+
altKey?: boolean;
|
|
2078
|
+
shiftKey?: boolean;
|
|
2079
|
+
repeat?: boolean;
|
|
2080
|
+
}
|
|
2081
|
+
interface WebviewHostCapabilityParams {
|
|
2082
|
+
"harnesses.read": {
|
|
2083
|
+
harnessId?: string;
|
|
2084
|
+
model?: string;
|
|
2085
|
+
};
|
|
2086
|
+
"resources.actions": {
|
|
2087
|
+
operation: "list";
|
|
2088
|
+
resource: ResourceRef;
|
|
2089
|
+
} | {
|
|
2090
|
+
operation: "execute";
|
|
2091
|
+
resource: ResourceRef;
|
|
2092
|
+
key: string;
|
|
2093
|
+
};
|
|
2094
|
+
"commands.execute": WebviewCommandsExecuteParams;
|
|
2095
|
+
"commands.stream": WebviewCommandsStreamParams;
|
|
2096
|
+
"page.params.update": WebviewPageParamsUpdateParams;
|
|
2097
|
+
"navigation.open": WebviewNavigationOpenParams;
|
|
2098
|
+
"placement.close": Record<string, never>;
|
|
2099
|
+
"notification.show": CommandNotice | WebviewNotificationShowParams;
|
|
2100
|
+
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
2101
|
+
"notification.action": WebviewNotificationActionParams;
|
|
2102
|
+
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
2103
|
+
"notification.resolve": WebviewNotificationResolveParams;
|
|
2104
|
+
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
2105
|
+
"notification.dismiss": WebviewNotificationDismissParams;
|
|
2106
|
+
"preferences.get": WebviewPreferencesGetParams;
|
|
2107
|
+
"preferences.set": WebviewPreferencesSetParams;
|
|
2108
|
+
"extension.settings.all": Record<string, never>;
|
|
2109
|
+
"extension.settings.get": WebviewExtensionSettingKeyParams;
|
|
2110
|
+
"extension.settings.set": WebviewExtensionSettingSetParams;
|
|
2111
|
+
"extension.settings.delete": WebviewExtensionSettingKeyParams;
|
|
2112
|
+
/** @deprecated Use the host terminal surface. */
|
|
2113
|
+
"terminal.session": TerminalSessionOperation;
|
|
2114
|
+
"files.upload": WebviewFilesUploadParams;
|
|
2115
|
+
/** @deprecated Use extension commands and owned storage. */
|
|
2116
|
+
"files.list": WebviewFilesListParams;
|
|
2117
|
+
/** @deprecated Use extension commands and owned storage. */
|
|
2118
|
+
"files.delete": WebviewFilesDeleteParams;
|
|
2119
|
+
"artifacts.read": WebviewArtifactsReadParams;
|
|
2120
|
+
"host.dispatchKeyboardEvent": WebviewKeyboardEventParams;
|
|
2121
|
+
}
|
|
2122
|
+
interface WebviewHostCapabilityResults {
|
|
2123
|
+
"harnesses.read": {
|
|
2124
|
+
harnesses: AgentInfo[];
|
|
2125
|
+
models: AgentModel[];
|
|
2126
|
+
schema?: HarnessParamsInfo;
|
|
2127
|
+
defaults?: Record<string, string | boolean>;
|
|
2128
|
+
selection?: ExtensionHarnessInput;
|
|
2129
|
+
};
|
|
2130
|
+
"resources.actions": WebviewResourceAction[];
|
|
2131
|
+
"commands.execute": {
|
|
2132
|
+
outcome: CommandOutcome;
|
|
2133
|
+
};
|
|
2134
|
+
"commands.stream": {
|
|
2135
|
+
operation: "start" | "cancel" | "ack";
|
|
2136
|
+
accepted: true;
|
|
2137
|
+
};
|
|
2138
|
+
"page.params.update": {
|
|
2139
|
+
location: PageLocation;
|
|
2140
|
+
};
|
|
2141
|
+
"navigation.open": void;
|
|
2142
|
+
"placement.close": void;
|
|
2143
|
+
"notification.show": void;
|
|
2144
|
+
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
2145
|
+
"notification.action": Notification$1;
|
|
2146
|
+
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
2147
|
+
"notification.resolve": Notification$1 | {
|
|
2148
|
+
resolved: number;
|
|
2149
|
+
notifications: Notification$1[];
|
|
2150
|
+
};
|
|
2151
|
+
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
2152
|
+
"notification.dismiss": Notification$1 | {
|
|
2153
|
+
resolved: number;
|
|
2154
|
+
notifications: Notification$1[];
|
|
2155
|
+
};
|
|
2156
|
+
"preferences.get": WebviewPreferencesSetParams["value"] | undefined;
|
|
2157
|
+
"preferences.set": {
|
|
2158
|
+
name: string;
|
|
2159
|
+
value: WebviewPreferencesSetParams["value"];
|
|
2160
|
+
};
|
|
2161
|
+
"extension.settings.all": Record<string, unknown>;
|
|
2162
|
+
"extension.settings.get": unknown;
|
|
2163
|
+
"extension.settings.set": {
|
|
2164
|
+
key: string;
|
|
2165
|
+
value: unknown;
|
|
2166
|
+
};
|
|
2167
|
+
"extension.settings.delete": void;
|
|
2168
|
+
/** @deprecated Use the host terminal surface. */
|
|
2169
|
+
"terminal.session": TerminalSessionResult;
|
|
2170
|
+
"files.upload": ExtensionBlobRef;
|
|
2171
|
+
/** @deprecated Use extension commands and owned storage. */
|
|
2172
|
+
"files.list": {
|
|
2173
|
+
files: ExtensionBlobRef[];
|
|
2174
|
+
};
|
|
2175
|
+
/** @deprecated Use extension commands and owned storage. */
|
|
2176
|
+
"files.delete": void;
|
|
2177
|
+
"artifacts.read": WebviewArtifactFile[] | string;
|
|
2178
|
+
"host.dispatchKeyboardEvent": void;
|
|
2179
|
+
}
|
|
2180
|
+
interface WebviewResourceAction {
|
|
2181
|
+
key: string;
|
|
2182
|
+
label: string;
|
|
2183
|
+
commandId?: string;
|
|
2184
|
+
/** Workbench icon name. */
|
|
2185
|
+
icon?: string;
|
|
2186
|
+
/** Image URL that replaces `icon` when present. */
|
|
2187
|
+
iconSrc?: string;
|
|
2188
|
+
/** Help text, or the reason the action is disabled. */
|
|
2189
|
+
description?: string;
|
|
2190
|
+
isDisabled?: boolean;
|
|
2191
|
+
separatorBefore?: boolean;
|
|
2192
|
+
group?: {
|
|
2193
|
+
id: string;
|
|
2194
|
+
label?: string;
|
|
2195
|
+
};
|
|
2196
|
+
}
|
|
2197
|
+
type WebviewHostCapabilityResult<Capability extends WebviewHostCapability, Params extends WebviewHostCapabilityParams[Capability] = WebviewHostCapabilityParams[Capability]> = Capability extends "artifacts.read" ? Params extends {
|
|
2198
|
+
op: "list";
|
|
2199
|
+
} ? WebviewArtifactFile[] : Params extends {
|
|
2200
|
+
op: "readText" | "imageUrl";
|
|
2201
|
+
} ? string : WebviewHostCapabilityResults[Capability] : Capability extends "terminal.session" ? Params extends {
|
|
2202
|
+
operation: "open";
|
|
2203
|
+
} ? Extract<TerminalSessionResult, {
|
|
2204
|
+
operation: "open";
|
|
2205
|
+
}> : Params extends {
|
|
2206
|
+
operation: "write" | "resize" | "kill" | "subscribe";
|
|
2207
|
+
} ? Exclude<TerminalSessionResult, {
|
|
2208
|
+
operation: "open";
|
|
2209
|
+
}> : TerminalSessionResult : WebviewHostCapabilityResults[Capability];
|
|
2210
|
+
//#endregion
|
|
2211
|
+
//#region ../pstdio-api-contracts/src/extension-kernel/types/view-toolbar-action.d.ts
|
|
2212
|
+
interface ViewToolbarAction<TParams extends Struct = Struct> {
|
|
2213
|
+
id: string;
|
|
2214
|
+
label: Localizable<string>;
|
|
2215
|
+
icon?: string;
|
|
2216
|
+
presentation?: "primary" | "secondary";
|
|
2217
|
+
command: CommandRef<TParams, unknown>;
|
|
2218
|
+
params?: Record<string, unknown>;
|
|
2219
|
+
input?: ParamObjectSchema;
|
|
2220
|
+
submitLabel?: string;
|
|
2221
|
+
when?: string;
|
|
2222
|
+
disabled?: boolean;
|
|
2223
|
+
}
|
|
2224
|
+
//#endregion
|
|
2225
|
+
//#region ../pstdio-api-contracts/src/extension-kernel/types/kanban-renderer.d.ts
|
|
2226
|
+
type KanbanRendererViewMode = "board" | "list";
|
|
2227
|
+
type KanbanRendererSortDirection = "asc" | "desc";
|
|
2228
|
+
interface KanbanRendererEnumOption {
|
|
2229
|
+
value: string;
|
|
2230
|
+
label: Localizable<string>;
|
|
2231
|
+
color?: string;
|
|
2232
|
+
icon?: string | null;
|
|
2233
|
+
}
|
|
2234
|
+
type KanbanRendererAttributeType = {
|
|
2235
|
+
kind: "enum";
|
|
2236
|
+
options: KanbanRendererEnumOption[];
|
|
2237
|
+
} | {
|
|
2238
|
+
kind: "enum-multi";
|
|
2239
|
+
options: KanbanRendererEnumOption[];
|
|
2240
|
+
} |
|
|
2241
|
+
/** Maps old enum IDs when saved views are read. Row values must still be booleans. */
|
|
2242
|
+
{
|
|
2243
|
+
kind: "boolean";
|
|
2244
|
+
legacyValues?: Record<string, boolean>;
|
|
2245
|
+
} | {
|
|
2246
|
+
kind: "string";
|
|
2247
|
+
} | {
|
|
2248
|
+
kind: "date";
|
|
2249
|
+
} | {
|
|
2250
|
+
kind: "number";
|
|
2251
|
+
} | {
|
|
2252
|
+
kind: "user";
|
|
2253
|
+
};
|
|
2254
|
+
interface CollectionBadgeItem {
|
|
2255
|
+
id: string;
|
|
2256
|
+
label: string;
|
|
2257
|
+
icon?: string;
|
|
2258
|
+
color?: string;
|
|
2259
|
+
tooltip?: string;
|
|
2260
|
+
target?: NavigationTargetPage;
|
|
2261
|
+
resource?: ResourceRef;
|
|
2262
|
+
}
|
|
2263
|
+
type KanbanRendererAttributeDisplay = {
|
|
2264
|
+
kind: "badge-list";
|
|
2265
|
+
itemsAttributeId: string;
|
|
2266
|
+
};
|
|
2267
|
+
interface KanbanRendererAttributeDescriptor {
|
|
2268
|
+
id: string;
|
|
2269
|
+
label: Localizable<string>;
|
|
2270
|
+
type: KanbanRendererAttributeType;
|
|
2271
|
+
filterable?: boolean;
|
|
2272
|
+
groupable?: boolean;
|
|
2273
|
+
sortable?: boolean;
|
|
2274
|
+
displayable?: boolean;
|
|
2275
|
+
editable?: boolean;
|
|
2276
|
+
display?: KanbanRendererAttributeDisplay;
|
|
2422
2277
|
}
|
|
2423
|
-
interface
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2278
|
+
interface KanbanRendererSettings {
|
|
2279
|
+
viewMode: KanbanRendererViewMode;
|
|
2280
|
+
columnGrouping: string;
|
|
2281
|
+
rowGrouping: string;
|
|
2282
|
+
displayProperties: string[];
|
|
2427
2283
|
}
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
cache_write_tokens: number;
|
|
2284
|
+
/** Display settings stored in a view. Order lives in the view's `sorts`. */
|
|
2285
|
+
type KanbanRendererViewSettings = KanbanRendererSettings;
|
|
2286
|
+
interface KanbanRendererSavedView {
|
|
2287
|
+
id: string;
|
|
2288
|
+
title: Localizable<string>;
|
|
2289
|
+
settings: KanbanRendererViewSettings;
|
|
2290
|
+
filter?: ViewFilterGroup;
|
|
2291
|
+
sorts?: ViewSort[];
|
|
2437
2292
|
}
|
|
2438
|
-
interface
|
|
2293
|
+
interface KanbanRendererQueryParams {
|
|
2294
|
+
renderer: RendererContext;
|
|
2295
|
+
settings: KanbanRendererSettings;
|
|
2296
|
+
/** The view's full filter. Use it only to narrow what you load; the renderer applies it to the rows you return. */
|
|
2297
|
+
filter: ViewFilterGroup;
|
|
2298
|
+
/** The view's sorts, first level first. The renderer applies them to the rows you return. */
|
|
2299
|
+
sorts: ViewSort[];
|
|
2300
|
+
}
|
|
2301
|
+
type KanbanRendererResourceRef = ResourceRef;
|
|
2302
|
+
interface KanbanRendererRow {
|
|
2439
2303
|
id: string;
|
|
2440
2304
|
title: string;
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2305
|
+
/** Navigate using query data immediately, without running an activation callback. */
|
|
2306
|
+
target?: NavigationTargetPage;
|
|
2307
|
+
resource?: KanbanRendererResourceRef;
|
|
2308
|
+
attributes: Record<string, unknown>;
|
|
2309
|
+
}
|
|
2310
|
+
interface KanbanRendererColumnAction {
|
|
2311
|
+
id: string;
|
|
2312
|
+
label: Localizable<string>;
|
|
2313
|
+
icon?: string;
|
|
2314
|
+
}
|
|
2315
|
+
interface KanbanRendererBoardColumnConfig {
|
|
2316
|
+
color?: string;
|
|
2317
|
+
canDragIn?: boolean;
|
|
2318
|
+
canDragOut?: boolean;
|
|
2319
|
+
canCreate?: boolean;
|
|
2320
|
+
actions?: KanbanRendererColumnAction[];
|
|
2321
|
+
}
|
|
2322
|
+
interface KanbanRendererQueryResult {
|
|
2323
|
+
rows: KanbanRendererRow[];
|
|
2324
|
+
attributes?: KanbanRendererAttributeDescriptor[];
|
|
2325
|
+
boardColumnConfigs?: Record<string, KanbanRendererBoardColumnConfig>;
|
|
2326
|
+
}
|
|
2327
|
+
interface KanbanRendererCreateRowContribution<TParams extends ParamObjectSchema = ParamObjectSchema> {
|
|
2328
|
+
command: CommandRef<Struct, unknown>;
|
|
2329
|
+
title?: Localizable<string>;
|
|
2330
|
+
submitLabel?: Localizable<string>;
|
|
2331
|
+
columnParam?: string;
|
|
2332
|
+
params?: TParams;
|
|
2333
|
+
attributesParam?: string;
|
|
2334
|
+
attachments?: {
|
|
2335
|
+
command: CommandRef<Struct, unknown>;
|
|
2336
|
+
resourceParam: string;
|
|
2337
|
+
fileParam: string;
|
|
2338
|
+
};
|
|
2339
|
+
labels?: {
|
|
2340
|
+
cancel?: Localizable<string>;
|
|
2341
|
+
properties?: Localizable<string>;
|
|
2342
|
+
submitError?: Localizable<string>;
|
|
2343
|
+
removeFile?: Localizable<string>;
|
|
2344
|
+
};
|
|
2345
|
+
}
|
|
2346
|
+
interface KanbanRendererRowAction<TParams extends Struct = Struct> {
|
|
2347
|
+
id: string;
|
|
2348
|
+
label: Localizable<string>;
|
|
2349
|
+
icon?: string;
|
|
2350
|
+
command: CommandRef<TParams, unknown>;
|
|
2351
|
+
destructive?: boolean;
|
|
2352
|
+
}
|
|
2353
|
+
type KanbanRendererRowActivationHandler = RendererCallback<{
|
|
2354
|
+
row: KanbanRendererRow;
|
|
2355
|
+
}, void>;
|
|
2356
|
+
/** One drop, including destination grouping values and optional manual placement. */
|
|
2357
|
+
interface KanbanRendererMove {
|
|
2358
|
+
rowId: string;
|
|
2359
|
+
attributes: Record<string, unknown>;
|
|
2360
|
+
/** Omitted in sorted views. An empty object appends in manual order. */
|
|
2361
|
+
order?: {
|
|
2362
|
+
beforeRowId?: string;
|
|
2363
|
+
};
|
|
2364
|
+
}
|
|
2365
|
+
interface KanbanRendererContribution extends RendererContributionBase {
|
|
2366
|
+
/** Saves the complete drop once. Takes precedence over legacy move callbacks. */
|
|
2367
|
+
onMove?: RendererCallback<KanbanRendererMove, unknown>;
|
|
2368
|
+
/** Events that change filter fields/options. Omit to retain content-event refresh. */
|
|
2369
|
+
schemaRefreshEvents?: readonly RendererEventReference[];
|
|
2370
|
+
toolbarActions?: ViewToolbarAction[];
|
|
2371
|
+
attributes?: KanbanRendererAttributeDescriptor[];
|
|
2372
|
+
query: RendererCallback<KanbanRendererQueryParams, KanbanRendererQueryResult>;
|
|
2373
|
+
onAttributeChange?: RendererCallback<{
|
|
2374
|
+
rowId: string;
|
|
2375
|
+
attributeId: string;
|
|
2376
|
+
value: unknown;
|
|
2377
|
+
}, unknown>;
|
|
2378
|
+
onColumnAction?: RendererCallback<{
|
|
2379
|
+
columnId: string;
|
|
2380
|
+
actionId: string;
|
|
2381
|
+
}, unknown>;
|
|
2382
|
+
createRow?: KanbanRendererCreateRowContribution;
|
|
2383
|
+
rowActions?: KanbanRendererRowAction[];
|
|
2384
|
+
onRowActivate?: KanbanRendererRowActivationHandler;
|
|
2385
|
+
defaultSettings?: Partial<KanbanRendererSettings>;
|
|
2386
|
+
defaultFilter?: ViewFilterGroup;
|
|
2387
|
+
defaultSorts?: ViewSort[];
|
|
2388
|
+
defaultViews?: KanbanRendererSavedView[];
|
|
2389
|
+
defaultActiveViewId?: string;
|
|
2390
|
+
hideToolbar?: boolean;
|
|
2391
|
+
}
|
|
2392
|
+
//#endregion
|
|
2393
|
+
//#region ../pstdio-api-contracts/src/extension-kernel/types/contributions.d.ts
|
|
2394
|
+
interface CliContribution {
|
|
2395
|
+
path?: string[];
|
|
2396
|
+
globalAliases?: string[][];
|
|
2397
|
+
description?: Localizable<string>;
|
|
2398
|
+
examples?: string[];
|
|
2399
|
+
hidden?: boolean;
|
|
2400
|
+
}
|
|
2401
|
+
interface WhenExpression {
|
|
2402
|
+
mode?: ModeRef | readonly ModeRef[];
|
|
2403
|
+
source?: CommandSource[];
|
|
2404
|
+
view?: ViewRef | readonly ViewRef[];
|
|
2405
|
+
resourceType?: readonly ResourceKindRef[];
|
|
2406
|
+
metadata?: JsonObject;
|
|
2407
|
+
}
|
|
2408
|
+
interface MenuContribution<TSlotContext extends Struct = Struct, TParams extends Struct = Struct> {
|
|
2409
|
+
slot: SlotRef<TSlotContext, "menu">;
|
|
2410
|
+
label?: Localizable<string>;
|
|
2411
|
+
group?: string;
|
|
2412
|
+
placement?: "first" | "default" | "last";
|
|
2413
|
+
icon?: string;
|
|
2414
|
+
when?: WhenExpression;
|
|
2415
|
+
/** Keep the action visible but unavailable when this condition matches its subject. */
|
|
2416
|
+
disabledWhen?: WhenExpression;
|
|
2417
|
+
disabledReason?: Localizable<string>;
|
|
2418
|
+
params?: Partial<TParams>;
|
|
2419
|
+
presentation?: "menu-item" | "button" | "icon-button";
|
|
2420
|
+
}
|
|
2421
|
+
interface CommandPaletteContribution<TParams extends Struct = Struct> {
|
|
2422
|
+
label?: Localizable<string>;
|
|
2423
|
+
group?: string;
|
|
2424
|
+
placement?: "first" | "default" | "last";
|
|
2425
|
+
icon?: string;
|
|
2426
|
+
when?: WhenExpression;
|
|
2427
|
+
params?: Partial<TParams>;
|
|
2428
|
+
}
|
|
2429
|
+
interface ActivityItemContribution<TParams extends Struct = Struct> extends ContributionDefinition<"activity-item"> {
|
|
2430
|
+
title: Localizable<string>;
|
|
2431
|
+
icon: string;
|
|
2432
|
+
/** Mode ids whose activity rail shows this item. */
|
|
2433
|
+
modes: readonly ModeRef[];
|
|
2434
|
+
placement?: "first" | "default" | "last";
|
|
2435
|
+
command: CommandRef<TParams, unknown>;
|
|
2436
|
+
params?: Partial<TParams>;
|
|
2437
|
+
}
|
|
2438
|
+
interface ModeRegionSettings {
|
|
2439
|
+
/** Hide the panel header when the mode supplies its own controls. */
|
|
2440
|
+
readonly showHeader?: boolean;
|
|
2441
|
+
/** Permit explicit opening/revealing independently of closing. Defaults to true. */
|
|
2442
|
+
readonly canOpen?: boolean;
|
|
2443
|
+
/** Permit hiding the panel. Individual tabs can still close. */
|
|
2444
|
+
readonly canClose?: boolean;
|
|
2445
|
+
/** Permit adding or dropping tabs. Existing tabs remain usable. */
|
|
2446
|
+
readonly acceptsTabs?: boolean;
|
|
2447
|
+
/** Permit resizing independently of visibility and tab acceptance. */
|
|
2448
|
+
readonly resizable?: boolean;
|
|
2449
|
+
/** Side only. Overrides the mode floatingPanels setting. */
|
|
2450
|
+
readonly floatable?: boolean;
|
|
2451
|
+
readonly size?: RegionSize;
|
|
2452
|
+
/** Allow dragging this region closed. Explicit hide/show is always available.
|
|
2453
|
+
* @deprecated For panel visibility use canOpen/canClose. Retained for menu collapse.
|
|
2454
|
+
*/
|
|
2455
|
+
readonly collapsible?: boolean;
|
|
2456
|
+
/** Keep a tab visible when this region has only one visible item. */
|
|
2457
|
+
readonly alwaysShowTabs?: boolean;
|
|
2458
|
+
}
|
|
2459
|
+
interface ModeContribution extends ContributionDefinition<"mode"> {
|
|
2460
|
+
label: Localizable<string>;
|
|
2461
|
+
icon?: string;
|
|
2462
|
+
regions: readonly ExtensionPanelRegion[];
|
|
2463
|
+
/** Default theme for this mode. An explicit user choice for the mode takes precedence. */
|
|
2464
|
+
defaultTheme?: ThemeRef;
|
|
2465
|
+
/** Whether side panels may float while this mode is active. Defaults to visible.
|
|
2466
|
+
* @deprecated Use regionSettings.side.floatable.
|
|
2467
|
+
*/
|
|
2468
|
+
floatingPanels?: "visible" | "hidden";
|
|
2469
|
+
/** Replace host chrome with a view, or hide it with false, while the mode is active. */
|
|
2470
|
+
chrome?: Partial<Record<"nav" | "sidenav" | "activity" | "status", ViewRef | false>>;
|
|
2471
|
+
/** Region-level layout policy. The mode owns it; placements cannot set it. */
|
|
2472
|
+
regionSettings?: Readonly<Partial<Record<DockedWorkbenchRegion, ModeRegionSettings>>>;
|
|
2473
|
+
}
|
|
2474
|
+
interface WebviewContribution {
|
|
2475
|
+
entry: PackageAssetDescriptor;
|
|
2476
|
+
title?: Localizable<string>;
|
|
2477
|
+
capabilities?: WebviewCapabilityDeclaration[];
|
|
2478
|
+
}
|
|
2479
|
+
interface SettingsPanelContribution extends ContributionDefinition<"settings-panel"> {
|
|
2480
|
+
view: ViewRef;
|
|
2481
|
+
slot: SettingsSlotRef;
|
|
2482
|
+
section?: SettingsSectionRef;
|
|
2483
|
+
}
|
|
2484
|
+
/** A named group in the settings navigation that an extension's panels can sit under. */
|
|
2485
|
+
interface SettingsSectionContribution extends ContributionDefinition<"settings-section"> {
|
|
2486
|
+
title: Localizable<string>;
|
|
2487
|
+
/** Lower sorts first among sibling sections. */
|
|
2488
|
+
order?: number;
|
|
2489
|
+
}
|
|
2490
|
+
/**
|
|
2491
|
+
* Command palette resource providers contribute dynamic, searchable palette results
|
|
2492
|
+
* (e.g. slides in a presentation) backed by a private query callback. The host queries
|
|
2493
|
+
* matching providers as the user types and refreshes results when a declared event fires.
|
|
2494
|
+
*/
|
|
2495
|
+
interface CommandPaletteResourceQueryParams {
|
|
2496
|
+
projectId?: string;
|
|
2497
|
+
modeId?: string;
|
|
2498
|
+
activeResource?: ResourceRef;
|
|
2499
|
+
providerId: string;
|
|
2500
|
+
query: string;
|
|
2501
|
+
limit: number;
|
|
2502
|
+
}
|
|
2503
|
+
type CommandPaletteResourceTarget = NavigationTarget;
|
|
2504
|
+
interface CommandPaletteResourceItem {
|
|
2505
|
+
id: string;
|
|
2506
|
+
label: string;
|
|
2507
|
+
description?: string;
|
|
2508
|
+
icon?: string;
|
|
2509
|
+
keywords?: string[];
|
|
2510
|
+
target: CommandPaletteResourceTarget;
|
|
2511
|
+
}
|
|
2512
|
+
interface CommandPaletteResourceQueryResult {
|
|
2513
|
+
items: CommandPaletteResourceItem[];
|
|
2514
|
+
}
|
|
2515
|
+
interface CommandPaletteResourceContribution extends ContributionDefinition<"command-palette-resource"> {
|
|
2516
|
+
title: Localizable<string>;
|
|
2517
|
+
resourceKind?: ResourceKindRef;
|
|
2518
|
+
query: RendererCallback<CommandPaletteResourceQueryParams, CommandPaletteResourceQueryResult>;
|
|
2519
|
+
refreshEvents?: readonly RendererEventReference[];
|
|
2460
2520
|
}
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
last_request_started: string | null;
|
|
2480
|
-
/** @deprecated Use lastRequestEnded. */
|
|
2481
|
-
last_request_ended: string | null;
|
|
2482
|
-
/** @deprecated Read links through resources. */
|
|
2483
|
-
anchors_json: ResourceAnchor[];
|
|
2484
|
-
/** Totals at the last conversation save. Null when no usage was recorded. */
|
|
2485
|
-
usage: ExtensionSessionUsage | null;
|
|
2521
|
+
type ExtensionSettingScope = "global" | "project";
|
|
2522
|
+
type ExtensionSettingValueType = "boolean" | "number" | "string" | "array" | "object";
|
|
2523
|
+
type ExtensionSettingValueForType<TType extends ExtensionSettingValueType> = TType extends "boolean" ? boolean : TType extends "number" ? number : TType extends "string" ? string : TType extends "array" ? JsonValue[] : JsonObject;
|
|
2524
|
+
type ExtensionSettingProperty<TType extends ExtensionSettingValueType = ExtensionSettingValueType> = { [TSettingType in TType]: {
|
|
2525
|
+
type: TSettingType;
|
|
2526
|
+
scope: ExtensionSettingScope;
|
|
2527
|
+
default?: ExtensionSettingValueForType<TSettingType>;
|
|
2528
|
+
enum?: ExtensionSettingValueForType<TSettingType>[];
|
|
2529
|
+
/**
|
|
2530
|
+
* String settings only. Loads the choices from a command when the settings form
|
|
2531
|
+
* opens, like a command param's `options`. Saved values are not checked against it.
|
|
2532
|
+
*/
|
|
2533
|
+
options?: TSettingType extends "string" ? ParamOptionSource : never;
|
|
2534
|
+
title?: Localizable<string>;
|
|
2535
|
+
description?: Localizable<string>;
|
|
2536
|
+
}; }[TType];
|
|
2537
|
+
interface ExtensionSettingsContribution<TProperties extends Record<string, ExtensionSettingProperty> = Record<string, ExtensionSettingProperty>> {
|
|
2538
|
+
properties: TProperties;
|
|
2486
2539
|
}
|
|
2487
|
-
interface
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
createdTo?: string;
|
|
2497
|
-
updatedFrom?: string;
|
|
2498
|
-
includeArchived?: boolean;
|
|
2499
|
-
/** Default 50. Clamped to 1..200. */
|
|
2500
|
-
limit?: number;
|
|
2501
|
-
cursor?: string;
|
|
2540
|
+
interface ArtifactMountContribution extends ContributionDefinition<"artifact-mount"> {
|
|
2541
|
+
/** Relative path under .pstdio/extension-storage/<extension.name>/. */
|
|
2542
|
+
path: string;
|
|
2543
|
+
label: Localizable<string>;
|
|
2544
|
+
/**
|
|
2545
|
+
* Watch this mount in the project's default workspace. The host emits
|
|
2546
|
+
* `artifactChanged(mount)` when a file changes outside the mount API.
|
|
2547
|
+
*/
|
|
2548
|
+
watch?: boolean;
|
|
2502
2549
|
}
|
|
2503
|
-
interface
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2550
|
+
interface TemplateTypeContribution extends ContributionDefinition<"template-type"> {
|
|
2551
|
+
label: Localizable<string>;
|
|
2552
|
+
description?: Localizable<string>;
|
|
2553
|
+
order?: number;
|
|
2554
|
+
commands?: {
|
|
2555
|
+
list: CommandRef;
|
|
2556
|
+
read: CommandRef;
|
|
2557
|
+
save: CommandRef;
|
|
2558
|
+
delete: CommandRef;
|
|
2559
|
+
};
|
|
2507
2560
|
}
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
type:
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
status: SessionStatus;
|
|
2514
|
-
agent?: string | null;
|
|
2561
|
+
interface TemplateContribution extends ContributionDefinition<"template"> {
|
|
2562
|
+
title: Localizable<string>;
|
|
2563
|
+
type: string;
|
|
2564
|
+
source: PackageAssetDescriptor;
|
|
2565
|
+
description?: Localizable<string>;
|
|
2515
2566
|
}
|
|
2516
|
-
interface
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
steerQueuedFollowUp(sessionId: string, queuePosition: number, input: SteerQueuedFollowUpInput): Promise<QueuedSteeringResult>;
|
|
2521
|
-
get(id: string): Promise<(ExtensionSession & ExtensionSessionSummary & {
|
|
2522
|
-
/** @deprecated Use lastExit. */
|
|
2523
|
-
last_exit?: SessionExit | null;
|
|
2524
|
-
}) | null>;
|
|
2525
|
-
query(input?: ExtensionSessionQuery): Promise<ExtensionSessionPage>;
|
|
2526
|
-
create(input: {
|
|
2527
|
-
title: string;
|
|
2528
|
-
prompt?: string;
|
|
2529
|
-
harness?: ExtensionHarnessInput;
|
|
2530
|
-
workspaceId?: string;
|
|
2531
|
-
anchors?: ResourceAnchor[];
|
|
2532
|
-
attachments?: SessionAttachmentRef[];
|
|
2533
|
-
originalSessionId?: string;
|
|
2534
|
-
}): Promise<ExtensionSession & ExtensionSessionSummary & ExtensionSessionResource>;
|
|
2535
|
-
followup(input: {
|
|
2536
|
-
sessionId: string;
|
|
2537
|
-
prompt?: string;
|
|
2538
|
-
attachments?: SessionAttachmentRef[];
|
|
2539
|
-
/** Refuse automatic continuation if execution changed. */
|
|
2540
|
-
expectedRun?: SessionRunSnapshot;
|
|
2541
|
-
}): Promise<void>;
|
|
2542
|
-
/** @deprecated Use resources.addAnchors with a session reference. */
|
|
2543
|
-
addAnchors(sessionId: string, anchors: ResourceAnchor[]): Promise<void>;
|
|
2544
|
-
/** @deprecated Use resources.removeAnchors with a session reference. */
|
|
2545
|
-
removeAnchors(sessionId: string, refs: ResourceRef[]): Promise<void>;
|
|
2567
|
+
interface SkillContribution extends ContributionDefinition<"skill"> {
|
|
2568
|
+
title: Localizable<string>;
|
|
2569
|
+
source: PackageAssetDescriptor;
|
|
2570
|
+
description?: Localizable<string>;
|
|
2546
2571
|
}
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2572
|
+
type ThemeMode = "light" | "dark";
|
|
2573
|
+
interface ThemeContribution extends ContributionDefinition<"theme"> {
|
|
2574
|
+
title: Localizable<string>;
|
|
2575
|
+
source: PackageAssetDescriptor;
|
|
2576
|
+
format: "vscode-color-theme";
|
|
2577
|
+
mode?: ThemeMode;
|
|
2578
|
+
description?: Localizable<string>;
|
|
2579
|
+
}
|
|
2580
|
+
interface FileIconThemeContribution extends ContributionDefinition<"file-icon-theme"> {
|
|
2581
|
+
title: Localizable<string>;
|
|
2582
|
+
source: PackageAssetDescriptor;
|
|
2583
|
+
format: "vscode-file-icon-theme";
|
|
2584
|
+
description?: Localizable<string>;
|
|
2585
|
+
}
|
|
2586
|
+
/**
|
|
2587
|
+
* Chord string in TanStack Hotkeys syntax (e.g. "mod+shift+p"). `mod` is
|
|
2588
|
+
* Cmd on macOS and Ctrl elsewhere. Parsing, validation, canonicalization,
|
|
2589
|
+
* and display labels are all delegated to `@tanstack/hotkeys`.
|
|
2590
|
+
*/
|
|
2591
|
+
type KeybindingChord = string;
|
|
2592
|
+
interface KeybindingContribution extends ContributionDefinition<"keybinding"> {
|
|
2593
|
+
/** Default chord. Used on every platform unless an override is provided. */
|
|
2594
|
+
key: KeybindingChord;
|
|
2595
|
+
/** macOS override. */
|
|
2596
|
+
mac?: KeybindingChord;
|
|
2597
|
+
/** Linux override. */
|
|
2598
|
+
linux?: KeybindingChord;
|
|
2599
|
+
/** Windows override. */
|
|
2600
|
+
win?: KeybindingChord;
|
|
2601
|
+
/** Action this chord executes through the shared navigation executor. */
|
|
2602
|
+
action: NavigationTarget;
|
|
2603
|
+
/** Optional gating predicate. The host evaluates it at dispatch time. */
|
|
2604
|
+
when?: WhenExpression;
|
|
2552
2605
|
}
|
|
2553
2606
|
//#endregion
|
|
2554
2607
|
//#region ../pstdio-api-contracts/src/extension-kernel/types/control-declarations.d.ts
|
|
@@ -2994,7 +3047,22 @@ interface TreeViewSection {
|
|
|
2994
3047
|
/** Opt in to the tree's hide/show customization menu (a category). Off by default. */
|
|
2995
3048
|
canHide?: boolean;
|
|
2996
3049
|
}
|
|
3050
|
+
/** Layout the host can render before fetching the section's contents. */
|
|
3051
|
+
interface TreeViewSectionStructure {
|
|
3052
|
+
id: string;
|
|
3053
|
+
label?: Localizable<string>;
|
|
3054
|
+
collapsible?: boolean;
|
|
3055
|
+
hiddenByDefault?: boolean;
|
|
3056
|
+
canHide?: boolean;
|
|
3057
|
+
/** Display the current resource using its already-known label. */
|
|
3058
|
+
resourceNode?: {
|
|
3059
|
+
id: string;
|
|
3060
|
+
icon?: string;
|
|
3061
|
+
};
|
|
3062
|
+
}
|
|
2997
3063
|
interface TreeRendererContribution extends RendererContributionBase {
|
|
3064
|
+
/** Section layout sent with view metadata; no renderer callback is needed to display it. */
|
|
3065
|
+
structure?: TreeViewSectionStructure[];
|
|
2998
3066
|
searchable?: boolean;
|
|
2999
3067
|
searchPlaceholder?: Localizable<string>;
|
|
3000
3068
|
header?: RendererCallback<TreeRendererQueryParams, TreeViewSection[]>;
|
|
@@ -4107,7 +4175,7 @@ interface ExtensionViewsApi {
|
|
|
4107
4175
|
}
|
|
4108
4176
|
//#endregion
|
|
4109
4177
|
//#region ../pstdio-api-contracts/src/extension-kernel/types/assets.d.ts
|
|
4110
|
-
/** Immutable bytes
|
|
4178
|
+
/** Immutable bytes that records refer to. */
|
|
4111
4179
|
interface ExtensionAssetsApi {
|
|
4112
4180
|
/** Reuse the operation identity and the same source to resume after interruption. */
|
|
4113
4181
|
stage(input: {
|
|
@@ -4118,7 +4186,7 @@ interface ExtensionAssetsApi {
|
|
|
4118
4186
|
cancel(operationId: string): Promise<AssetTransfer$1 | undefined>;
|
|
4119
4187
|
/** Consume the stream to its end before treating the download as verified. */
|
|
4120
4188
|
read(asset: AssetReference$1): Promise<ReadableStream<Uint8Array>>;
|
|
4121
|
-
/** Verify
|
|
4189
|
+
/** Verify that the bytes are complete before a record refers to them. */
|
|
4122
4190
|
verifyComplete(assets: AssetReference$1[]): Promise<void>;
|
|
4123
4191
|
}
|
|
4124
4192
|
//#endregion
|
|
@@ -4128,27 +4196,11 @@ type Json = string | number | boolean | null | Json[] | {
|
|
|
4128
4196
|
};
|
|
4129
4197
|
//#endregion
|
|
4130
4198
|
//#region ../pstdio-sync-contracts/src/state.d.ts
|
|
4131
|
-
declare const
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
}, z.core.$strict
|
|
4135
|
-
|
|
4136
|
-
operationId: z.ZodString;
|
|
4137
|
-
reason: z.ZodString;
|
|
4138
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4139
|
-
status: z.ZodLiteral<"synchronized">;
|
|
4140
|
-
operationId: z.ZodString;
|
|
4141
|
-
checkpoint: z.ZodObject<{
|
|
4142
|
-
epoch: z.ZodString;
|
|
4143
|
-
sequence: z.ZodNumber;
|
|
4144
|
-
}, z.core.$strict>;
|
|
4145
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4146
|
-
status: z.ZodLiteral<"conflict">;
|
|
4147
|
-
operationId: z.ZodString;
|
|
4148
|
-
conflictId: z.ZodString;
|
|
4149
|
-
conflictRevision: z.ZodNumber;
|
|
4150
|
-
}, z.core.$strict>], "status">;
|
|
4151
|
-
type SyncOutcome = z.infer<typeof syncOutcomeSchema>;
|
|
4199
|
+
declare const checkpointSchema: z.ZodObject<{
|
|
4200
|
+
epoch: z.ZodString;
|
|
4201
|
+
sequence: z.ZodNumber;
|
|
4202
|
+
}, z.core.$strict>;
|
|
4203
|
+
type Checkpoint = z.infer<typeof checkpointSchema>;
|
|
4152
4204
|
//#endregion
|
|
4153
4205
|
//#region ../pstdio-sync-contracts/src/wire.d.ts
|
|
4154
4206
|
declare const assetSchema: z.ZodObject<{
|
|
@@ -4194,7 +4246,7 @@ interface StorageRecord {
|
|
|
4194
4246
|
recordId: string;
|
|
4195
4247
|
/** True after the first saved change, including a retained tombstone. */
|
|
4196
4248
|
exists: boolean;
|
|
4197
|
-
/** Opaque caller-observed revision. Pass it back unchanged
|
|
4249
|
+
/** Opaque caller-observed revision. Pass it back unchanged as `expectedRevision`, or omit it to edit the current value. */
|
|
4198
4250
|
revision: string;
|
|
4199
4251
|
value: Json;
|
|
4200
4252
|
asset: Asset | null;
|
|
@@ -4212,10 +4264,12 @@ interface StorageRecord {
|
|
|
4212
4264
|
}
|
|
4213
4265
|
interface StorageGroup {
|
|
4214
4266
|
operationId: string;
|
|
4267
|
+
/** `expectedRevision` is optional. Without it, the edit applies to the record's current value. */
|
|
4215
4268
|
edits: (RecordEdit & {
|
|
4216
|
-
expectedRevision
|
|
4269
|
+
expectedRevision?: string;
|
|
4217
4270
|
})[];
|
|
4218
4271
|
}
|
|
4272
|
+
/** @deprecated Conflicts go away because edits merge. Remove calls to `records.resolve`. */
|
|
4219
4273
|
interface StorageResolution {
|
|
4220
4274
|
operationId: string;
|
|
4221
4275
|
conflictId: string;
|
|
@@ -4234,6 +4288,7 @@ interface StorageResolution {
|
|
|
4234
4288
|
handlerId: string;
|
|
4235
4289
|
};
|
|
4236
4290
|
}
|
|
4291
|
+
/** @deprecated Conflicts go away because edits merge. Remove calls to `records.conflicts`. */
|
|
4237
4292
|
interface StorageConflict {
|
|
4238
4293
|
conflictId: string;
|
|
4239
4294
|
revision: number;
|
|
@@ -4241,6 +4296,7 @@ interface StorageConflict {
|
|
|
4241
4296
|
recordIds: string[];
|
|
4242
4297
|
alternativeOperationIds: string[];
|
|
4243
4298
|
}
|
|
4299
|
+
/** @deprecated Conflicts go away because edits merge. Remove calls to `records.inspect`. */
|
|
4244
4300
|
interface StorageConflictInspection {
|
|
4245
4301
|
conflictId: string;
|
|
4246
4302
|
revision: number;
|
|
@@ -4260,7 +4316,32 @@ interface StorageConflictInspection {
|
|
|
4260
4316
|
records: StorageRecord[];
|
|
4261
4317
|
}[];
|
|
4262
4318
|
}
|
|
4263
|
-
|
|
4319
|
+
/** Sync state of a save: saved locally, waiting to sync, synced, offline, or a problem that needs attention. */
|
|
4320
|
+
type StorageSaveState = "saved-locally" | "waiting-to-sync" | "synced" | "offline" | "needs-attention";
|
|
4321
|
+
/** Result of a save. Read `state`. The next breaking release removes `status` and its relay fields. */
|
|
4322
|
+
type StorageSaveOutcome = {
|
|
4323
|
+
operationId: string;
|
|
4324
|
+
state: StorageSaveState;
|
|
4325
|
+
/** Explains why a save is waiting to sync. */
|
|
4326
|
+
reason?: string;
|
|
4327
|
+
} & ({
|
|
4328
|
+
status: "saved-locally";
|
|
4329
|
+
} | {
|
|
4330
|
+
status: "pending";
|
|
4331
|
+
reason: string;
|
|
4332
|
+
} | {
|
|
4333
|
+
/** @deprecated Read `state`. */
|
|
4334
|
+
status: "synchronized";
|
|
4335
|
+
/** @deprecated Relay checkpoints are removed. `state: "synced"` reports relay acceptance. */
|
|
4336
|
+
checkpoint: Checkpoint;
|
|
4337
|
+
} | {
|
|
4338
|
+
/** @deprecated Read `state`. Conflicts go away because edits merge. */
|
|
4339
|
+
status: "conflict";
|
|
4340
|
+
/** @deprecated Conflicts go away because edits merge. */
|
|
4341
|
+
conflictId: string;
|
|
4342
|
+
/** @deprecated Conflicts go away because edits merge. */
|
|
4343
|
+
conflictRevision: number;
|
|
4344
|
+
});
|
|
4264
4345
|
//#endregion
|
|
4265
4346
|
//#region ../pstdio-sync-contracts/src/identity.d.ts
|
|
4266
4347
|
declare const environmentIdentitySchema: z.ZodObject<{
|
|
@@ -4279,6 +4360,7 @@ type EnvironmentTarget = z.infer<typeof environmentTargetSchema>;
|
|
|
4279
4360
|
interface ExtensionRecordsApi {
|
|
4280
4361
|
/** Stable complete record address for a key in the selected legacy storage scope. */
|
|
4281
4362
|
id(key: string): string;
|
|
4363
|
+
/** @param branch Deprecated. Retained branches go away because edits merge. Call `read(recordId)`. */
|
|
4282
4364
|
read(recordId: string, branch?: {
|
|
4283
4365
|
operationId: string;
|
|
4284
4366
|
}): Promise<StorageRecord>;
|
|
@@ -4286,10 +4368,13 @@ interface ExtensionRecordsApi {
|
|
|
4286
4368
|
list(): Promise<StorageRecord[]>;
|
|
4287
4369
|
/** Save the entire group durably. Reuse the operation ID only for an identical request. */
|
|
4288
4370
|
commit(group: StorageGroup): Promise<StorageSaveOutcome>;
|
|
4371
|
+
/** Current sync state of a save, or undefined for an unknown operation. Poll it to wait until a save has synced. */
|
|
4289
4372
|
outcome(operationId: string): Promise<StorageSaveOutcome | undefined>;
|
|
4373
|
+
/** @deprecated Conflicts go away because edits merge. Remove the call; `outcome` reports saves that need attention. */
|
|
4290
4374
|
conflicts(): Promise<StorageConflict[]>;
|
|
4375
|
+
/** @deprecated Conflicts go away because edits merge. Remove the call. */
|
|
4291
4376
|
inspect(conflictId: string): Promise<StorageConflictInspection>;
|
|
4292
|
-
/**
|
|
4377
|
+
/** @deprecated Conflicts go away because edits merge. Save the chosen values with `commit`. */
|
|
4293
4378
|
resolve(proposal: StorageResolution): Promise<StorageSaveOutcome>;
|
|
4294
4379
|
}
|
|
4295
4380
|
//#endregion
|
|
@@ -4298,9 +4383,9 @@ interface ExtensionRecordsApi {
|
|
|
4298
4383
|
interface ExtensionStorageCollectionApi<TItem = unknown> {
|
|
4299
4384
|
get(id: string): Promise<TItem | undefined>;
|
|
4300
4385
|
list(): Promise<TItem[]>;
|
|
4301
|
-
/** @deprecated Use storage.records.commit
|
|
4386
|
+
/** @deprecated Use storage.records.commit. */
|
|
4302
4387
|
put(id: string, value: TItem): Promise<void>;
|
|
4303
|
-
/** @deprecated Use storage.records.commit
|
|
4388
|
+
/** @deprecated Use storage.records.commit. Throws if the item was deleted. */
|
|
4304
4389
|
update(id: string, value: TItem): Promise<void>;
|
|
4305
4390
|
createIfAbsent(id: string, value: TItem): Promise<boolean>;
|
|
4306
4391
|
deleteIfValue(id: string, value: TItem): Promise<boolean>;
|
|
@@ -4333,9 +4418,9 @@ interface ExtensionStorageApi {
|
|
|
4333
4418
|
files: ExtensionBlobsApi;
|
|
4334
4419
|
/** @deprecated Use records.read to keep the observed revision with the value. */
|
|
4335
4420
|
get<T = unknown>(key: string): Promise<T | undefined>;
|
|
4336
|
-
/** @deprecated Use records.commit
|
|
4421
|
+
/** @deprecated Use records.commit. */
|
|
4337
4422
|
set<T = unknown>(key: string, value: T): Promise<void>;
|
|
4338
|
-
/** @deprecated Use records.commit with deleted: true
|
|
4423
|
+
/** @deprecated Use records.commit with deleted: true. */
|
|
4339
4424
|
delete(key: string): Promise<void>;
|
|
4340
4425
|
/** @deprecated Use records with stable record IDs and grouped commits. */
|
|
4341
4426
|
collection<TItem = unknown>(name: string): ExtensionStorageCollectionApi<TItem>;
|
|
@@ -4723,7 +4808,7 @@ interface StatusBarItemContribution extends ContributionDefinition<"status-bar-i
|
|
|
4723
4808
|
//#endregion
|
|
4724
4809
|
//#region ../pstdio-api-contracts/src/extension-kernel/types/extension.d.ts
|
|
4725
4810
|
/** Current host extension API version. `engines.pstdio` declares caret ranges, such as `^0.1.0`. */
|
|
4726
|
-
declare const EXTENSION_API_VERSION = "0.2.
|
|
4811
|
+
declare const EXTENSION_API_VERSION = "0.2.1";
|
|
4727
4812
|
type SchemaParams<TSchema extends ParamObjectSchema | undefined> = TSchema extends ParamObjectSchema ? ParamsOf<TSchema> : Record<string, never>;
|
|
4728
4813
|
interface WorkspaceProviderRef {
|
|
4729
4814
|
version: number;
|
|
@@ -5937,6 +6022,10 @@ interface WebviewHostProps {
|
|
|
5937
6022
|
lastCommand?: unknown;
|
|
5938
6023
|
}
|
|
5939
6024
|
//#endregion
|
|
6025
|
+
//#region ../pstdio-api-contracts/src/extension-kernel/webview-protocol.d.ts
|
|
6026
|
+
/** Host event sent with `{ type: "changed" }` after a listed resource's actions may have changed. */
|
|
6027
|
+
declare const RESOURCE_ACTIONS_EVENTS_SCOPE = "resources.actions";
|
|
6028
|
+
//#endregion
|
|
5940
6029
|
//#region src/version.d.ts
|
|
5941
6030
|
declare const SDK_VERSION: string;
|
|
5942
6031
|
//#endregion
|
|
@@ -6443,9 +6532,9 @@ declare const matchesResourceWhen: (when: Pick<WhenExpression, "resourceType"> |
|
|
|
6443
6532
|
/** @deprecated Host-only. Hosts import `ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES` from `pstdio-api-contracts`. */
|
|
6444
6533
|
declare const ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES: readonly ["host.dispatchKeyboardEvent"];
|
|
6445
6534
|
/** @deprecated Host-only. Hosts import `WEBVIEW_DECLARABLE_CAPABILITIES` from `pstdio-api-contracts`. */
|
|
6446
|
-
declare const WEBVIEW_DECLARABLE_CAPABILITIES: readonly ["clipboard.write", "commands.execute", "commands.stream", "navigation.open", "page.params.update", "placement.close", "notification.show", "notification.action", "notification.resolve", "notification.dismiss", "preferences.get", "preferences.set", "extension.settings.all", "extension.settings.get", "extension.settings.set", "extension.settings.delete", "terminal.session", "files.upload", "files.list", "files.delete"];
|
|
6535
|
+
declare const WEBVIEW_DECLARABLE_CAPABILITIES: readonly ["clipboard.write", "commands.execute", "commands.stream", "harnesses.read", "resources.actions", "navigation.open", "page.params.update", "placement.close", "notification.show", "notification.action", "notification.resolve", "notification.dismiss", "preferences.get", "preferences.set", "extension.settings.all", "extension.settings.get", "extension.settings.set", "extension.settings.delete", "terminal.session", "files.upload", "files.list", "files.delete"];
|
|
6447
6536
|
/** @deprecated Host-only. Hosts import `WEBVIEW_HOST_CAPABILITIES` from `pstdio-api-contracts`. */
|
|
6448
|
-
declare const WEBVIEW_HOST_CAPABILITIES: readonly [...("commands.execute" | "commands.stream" | "extension.settings.all" | "extension.settings.delete" | "extension.settings.get" | "extension.settings.set" | "files.delete" | "files.list" | "files.upload" | "navigation.open" | "notification.action" | "notification.dismiss" | "notification.resolve" | "notification.show" | "page.params.update" | "placement.close" | "preferences.get" | "preferences.set" | "terminal.session")[], "artifacts.read"];
|
|
6537
|
+
declare const WEBVIEW_HOST_CAPABILITIES: readonly [...("commands.execute" | "commands.stream" | "extension.settings.all" | "extension.settings.delete" | "extension.settings.get" | "extension.settings.set" | "files.delete" | "files.list" | "files.upload" | "harnesses.read" | "navigation.open" | "notification.action" | "notification.dismiss" | "notification.resolve" | "notification.show" | "page.params.update" | "placement.close" | "preferences.get" | "preferences.set" | "resources.actions" | "terminal.session")[], "artifacts.read"];
|
|
6449
6538
|
/** @deprecated Host-only. Hosts import `WEBVIEW_HOST_CAPABILITY_VERSION` from `pstdio-api-contracts`. */
|
|
6450
6539
|
declare const WEBVIEW_HOST_CAPABILITY_VERSION = 1;
|
|
6451
6540
|
/** @deprecated Host-only. Hosts import `WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES` from `pstdio-api-contracts`. */
|
|
@@ -6788,6 +6877,20 @@ declare const workbenchExtensionViewBodySchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
6788
6877
|
$l10n: z.ZodString;
|
|
6789
6878
|
default: z.ZodOptional<z.ZodString>;
|
|
6790
6879
|
}, z.core.$strip>]>>;
|
|
6880
|
+
structure: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6881
|
+
id: z.ZodString;
|
|
6882
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
6883
|
+
$l10n: z.ZodString;
|
|
6884
|
+
default: z.ZodOptional<z.ZodString>;
|
|
6885
|
+
}, z.core.$strip>]>>;
|
|
6886
|
+
collapsible: z.ZodOptional<z.ZodBoolean>;
|
|
6887
|
+
hiddenByDefault: z.ZodOptional<z.ZodBoolean>;
|
|
6888
|
+
canHide: z.ZodOptional<z.ZodBoolean>;
|
|
6889
|
+
resourceNode: z.ZodOptional<z.ZodObject<{
|
|
6890
|
+
id: z.ZodString;
|
|
6891
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
6892
|
+
}, z.core.$strip>>;
|
|
6893
|
+
}, z.core.$strip>>>;
|
|
6791
6894
|
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
6792
6895
|
searchPlaceholder: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
6793
6896
|
$l10n: z.ZodString;
|
|
@@ -7497,6 +7600,20 @@ declare const workbenchExtensionViewRecordSchema: z.ZodObject<{
|
|
|
7497
7600
|
$l10n: z.ZodString;
|
|
7498
7601
|
default: z.ZodOptional<z.ZodString>;
|
|
7499
7602
|
}, z.core.$strip>]>>;
|
|
7603
|
+
structure: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7604
|
+
id: z.ZodString;
|
|
7605
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
7606
|
+
$l10n: z.ZodString;
|
|
7607
|
+
default: z.ZodOptional<z.ZodString>;
|
|
7608
|
+
}, z.core.$strip>]>>;
|
|
7609
|
+
collapsible: z.ZodOptional<z.ZodBoolean>;
|
|
7610
|
+
hiddenByDefault: z.ZodOptional<z.ZodBoolean>;
|
|
7611
|
+
canHide: z.ZodOptional<z.ZodBoolean>;
|
|
7612
|
+
resourceNode: z.ZodOptional<z.ZodObject<{
|
|
7613
|
+
id: z.ZodString;
|
|
7614
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
7615
|
+
}, z.core.$strip>>;
|
|
7616
|
+
}, z.core.$strip>>>;
|
|
7500
7617
|
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
7501
7618
|
searchPlaceholder: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
7502
7619
|
$l10n: z.ZodString;
|
|
@@ -8334,6 +8451,11 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
|
|
|
8334
8451
|
sidenav: "sidenav";
|
|
8335
8452
|
}> & z.core.$partial, z.ZodObject<{
|
|
8336
8453
|
showHeader: z.ZodOptional<z.ZodBoolean>;
|
|
8454
|
+
canOpen: z.ZodOptional<z.ZodBoolean>;
|
|
8455
|
+
canClose: z.ZodOptional<z.ZodBoolean>;
|
|
8456
|
+
acceptsTabs: z.ZodOptional<z.ZodBoolean>;
|
|
8457
|
+
resizable: z.ZodOptional<z.ZodBoolean>;
|
|
8458
|
+
floatable: z.ZodOptional<z.ZodBoolean>;
|
|
8337
8459
|
size: z.ZodOptional<z.ZodObject<{
|
|
8338
8460
|
defaultPx: z.ZodOptional<z.ZodNumber>;
|
|
8339
8461
|
minPx: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8595,6 +8717,20 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
|
|
|
8595
8717
|
$l10n: z.ZodString;
|
|
8596
8718
|
default: z.ZodOptional<z.ZodString>;
|
|
8597
8719
|
}, z.core.$strip>]>>;
|
|
8720
|
+
structure: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8721
|
+
id: z.ZodString;
|
|
8722
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
8723
|
+
$l10n: z.ZodString;
|
|
8724
|
+
default: z.ZodOptional<z.ZodString>;
|
|
8725
|
+
}, z.core.$strip>]>>;
|
|
8726
|
+
collapsible: z.ZodOptional<z.ZodBoolean>;
|
|
8727
|
+
hiddenByDefault: z.ZodOptional<z.ZodBoolean>;
|
|
8728
|
+
canHide: z.ZodOptional<z.ZodBoolean>;
|
|
8729
|
+
resourceNode: z.ZodOptional<z.ZodObject<{
|
|
8730
|
+
id: z.ZodString;
|
|
8731
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
8732
|
+
}, z.core.$strip>>;
|
|
8733
|
+
}, z.core.$strip>>>;
|
|
8598
8734
|
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
8599
8735
|
searchPlaceholder: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
8600
8736
|
$l10n: z.ZodString;
|
|
@@ -10970,6 +11106,11 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
|
|
|
10970
11106
|
sidenav: "sidenav";
|
|
10971
11107
|
}> & z.core.$partial, z.ZodObject<{
|
|
10972
11108
|
showHeader: z.ZodOptional<z.ZodBoolean>;
|
|
11109
|
+
canOpen: z.ZodOptional<z.ZodBoolean>;
|
|
11110
|
+
canClose: z.ZodOptional<z.ZodBoolean>;
|
|
11111
|
+
acceptsTabs: z.ZodOptional<z.ZodBoolean>;
|
|
11112
|
+
resizable: z.ZodOptional<z.ZodBoolean>;
|
|
11113
|
+
floatable: z.ZodOptional<z.ZodBoolean>;
|
|
10973
11114
|
size: z.ZodOptional<z.ZodObject<{
|
|
10974
11115
|
defaultPx: z.ZodOptional<z.ZodNumber>;
|
|
10975
11116
|
minPx: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11231,6 +11372,20 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
|
|
|
11231
11372
|
$l10n: z.ZodString;
|
|
11232
11373
|
default: z.ZodOptional<z.ZodString>;
|
|
11233
11374
|
}, z.core.$strip>]>>;
|
|
11375
|
+
structure: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11376
|
+
id: z.ZodString;
|
|
11377
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
11378
|
+
$l10n: z.ZodString;
|
|
11379
|
+
default: z.ZodOptional<z.ZodString>;
|
|
11380
|
+
}, z.core.$strip>]>>;
|
|
11381
|
+
collapsible: z.ZodOptional<z.ZodBoolean>;
|
|
11382
|
+
hiddenByDefault: z.ZodOptional<z.ZodBoolean>;
|
|
11383
|
+
canHide: z.ZodOptional<z.ZodBoolean>;
|
|
11384
|
+
resourceNode: z.ZodOptional<z.ZodObject<{
|
|
11385
|
+
id: z.ZodString;
|
|
11386
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
11387
|
+
}, z.core.$strip>>;
|
|
11388
|
+
}, z.core.$strip>>>;
|
|
11234
11389
|
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
11235
11390
|
searchPlaceholder: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
11236
11391
|
$l10n: z.ZodString;
|
|
@@ -12865,6 +13020,11 @@ declare const installExtensionResponseSchema: z.ZodObject<{
|
|
|
12865
13020
|
sidenav: "sidenav";
|
|
12866
13021
|
}> & z.core.$partial, z.ZodObject<{
|
|
12867
13022
|
showHeader: z.ZodOptional<z.ZodBoolean>;
|
|
13023
|
+
canOpen: z.ZodOptional<z.ZodBoolean>;
|
|
13024
|
+
canClose: z.ZodOptional<z.ZodBoolean>;
|
|
13025
|
+
acceptsTabs: z.ZodOptional<z.ZodBoolean>;
|
|
13026
|
+
resizable: z.ZodOptional<z.ZodBoolean>;
|
|
13027
|
+
floatable: z.ZodOptional<z.ZodBoolean>;
|
|
12868
13028
|
size: z.ZodOptional<z.ZodObject<{
|
|
12869
13029
|
defaultPx: z.ZodOptional<z.ZodNumber>;
|
|
12870
13030
|
minPx: z.ZodOptional<z.ZodNumber>;
|
|
@@ -13126,6 +13286,20 @@ declare const installExtensionResponseSchema: z.ZodObject<{
|
|
|
13126
13286
|
$l10n: z.ZodString;
|
|
13127
13287
|
default: z.ZodOptional<z.ZodString>;
|
|
13128
13288
|
}, z.core.$strip>]>>;
|
|
13289
|
+
structure: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13290
|
+
id: z.ZodString;
|
|
13291
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
13292
|
+
$l10n: z.ZodString;
|
|
13293
|
+
default: z.ZodOptional<z.ZodString>;
|
|
13294
|
+
}, z.core.$strip>]>>;
|
|
13295
|
+
collapsible: z.ZodOptional<z.ZodBoolean>;
|
|
13296
|
+
hiddenByDefault: z.ZodOptional<z.ZodBoolean>;
|
|
13297
|
+
canHide: z.ZodOptional<z.ZodBoolean>;
|
|
13298
|
+
resourceNode: z.ZodOptional<z.ZodObject<{
|
|
13299
|
+
id: z.ZodString;
|
|
13300
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
13301
|
+
}, z.core.$strip>>;
|
|
13302
|
+
}, z.core.$strip>>>;
|
|
13129
13303
|
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
13130
13304
|
searchPlaceholder: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
13131
13305
|
$l10n: z.ZodString;
|
|
@@ -14795,6 +14969,11 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
14795
14969
|
sidenav: "sidenav";
|
|
14796
14970
|
}> & z.core.$partial, z.ZodObject<{
|
|
14797
14971
|
showHeader: z.ZodOptional<z.ZodBoolean>;
|
|
14972
|
+
canOpen: z.ZodOptional<z.ZodBoolean>;
|
|
14973
|
+
canClose: z.ZodOptional<z.ZodBoolean>;
|
|
14974
|
+
acceptsTabs: z.ZodOptional<z.ZodBoolean>;
|
|
14975
|
+
resizable: z.ZodOptional<z.ZodBoolean>;
|
|
14976
|
+
floatable: z.ZodOptional<z.ZodBoolean>;
|
|
14798
14977
|
size: z.ZodOptional<z.ZodObject<{
|
|
14799
14978
|
defaultPx: z.ZodOptional<z.ZodNumber>;
|
|
14800
14979
|
minPx: z.ZodOptional<z.ZodNumber>;
|
|
@@ -15056,6 +15235,20 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
15056
15235
|
$l10n: z.ZodString;
|
|
15057
15236
|
default: z.ZodOptional<z.ZodString>;
|
|
15058
15237
|
}, z.core.$strip>]>>;
|
|
15238
|
+
structure: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15239
|
+
id: z.ZodString;
|
|
15240
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
15241
|
+
$l10n: z.ZodString;
|
|
15242
|
+
default: z.ZodOptional<z.ZodString>;
|
|
15243
|
+
}, z.core.$strip>]>>;
|
|
15244
|
+
collapsible: z.ZodOptional<z.ZodBoolean>;
|
|
15245
|
+
hiddenByDefault: z.ZodOptional<z.ZodBoolean>;
|
|
15246
|
+
canHide: z.ZodOptional<z.ZodBoolean>;
|
|
15247
|
+
resourceNode: z.ZodOptional<z.ZodObject<{
|
|
15248
|
+
id: z.ZodString;
|
|
15249
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
15250
|
+
}, z.core.$strip>>;
|
|
15251
|
+
}, z.core.$strip>>>;
|
|
15059
15252
|
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
15060
15253
|
searchPlaceholder: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
15061
15254
|
$l10n: z.ZodString;
|
|
@@ -16799,6 +16992,12 @@ declare const fileRecordSchema: z.ZodObject<{
|
|
|
16799
16992
|
}, z.core.$strip>;
|
|
16800
16993
|
type FileRecord = z.infer<typeof fileRecordSchema>;
|
|
16801
16994
|
//#endregion
|
|
16995
|
+
//#region ../pstdio-api-contracts/src/link-icons.d.ts
|
|
16996
|
+
declare const linkIconSchema: z.ZodObject<{
|
|
16997
|
+
data_url: z.ZodString;
|
|
16998
|
+
}, z.core.$strip>;
|
|
16999
|
+
type LinkIcon = z.infer<typeof linkIconSchema>;
|
|
17000
|
+
//#endregion
|
|
16802
17001
|
//#region ../pstdio-api-contracts/src/projects.d.ts
|
|
16803
17002
|
declare const projectSchema: z.ZodObject<{
|
|
16804
17003
|
id: z.ZodString;
|
|
@@ -17208,5 +17407,5 @@ declare const workspaceEntryMoveInputSchema: z.ZodObject<{
|
|
|
17208
17407
|
}, z.core.$strip>;
|
|
17209
17408
|
type WorkspaceEntryMoveInput = z.infer<typeof workspaceEntryMoveInputSchema>;
|
|
17210
17409
|
//#endregion
|
|
17211
|
-
export { ExtensionDiagnostic as $, PackageManifest as $a, PlacementTabSnapshot as $c, KanbanRendererViewSettings as $d, ParamValueRef as $f, NavigationTargetPanel as $i, HarnessControl as $l, defineMode as $n, JsonPatch as $o, HistoryRecoveryInput as $p, viewDataEvents as $r, PackageAssetDescriptor as $s, resolveDataTableComparableValue as $t, QueuedFollowUpRequest as $u, ExtensionKeybindingRecord as A, ProcessRunResult as Aa, PageSlotCardinality as Ac, ThemeMode as Ad, SlotOptions as Af, CommandLifecycleEventPayload as Ai, DataTableRendererSavedView as Al, harnessLocalId as Am, isWorkbenchProjectUrl as An, ApprovalRequest as Ao, PlacementRef as Ap, isFileSourcePosition as Ar, ExtensionConnectionsApi as As, AssetReference as At, ApprovalInput as Au, InstallMarketplaceExtensionResponse as B, ExtensionWorkspacesApi as Ba, KanbanViewBody as Bc, KanbanRendererCreateRowContribution as Bd, HarnessParam as Bf, CommandReplaceParams as Bi, ControlsUpdateValueInput as Bl, defineExtensionView as Bn, HarnessQuestion as Bo, l10n as Bp, CommitPayload as Br, ListNotificationsQuery$1 as Bs, NotificationPriority as Bt, SessionAttachmentRef as Bu, UpdateProjectInput as C, ExtensionProcessApi as Ca, PageMainPanels as Cc, ModeRegionSettings as Cd, WebviewNotificationResolveParams as Cf, CommandCompletedEvent as Ci, DataTableRendererContribution as Cl, AssetTransfer$1 as Cm, artifactChanged as Cn, HarnessCommandContext as Co, ConnectionRef as Cp, contributionRefId as Cr, BoardViewCreate as Cs, IssueAutomationTokenInput as Ct, ExtensionSessionResource as Cu, ExtensionSettingsPanelRecord as D, ExtensionTerminalApi as Da, PageParamValue as Dc, TemplateContribution as Dd, WebviewPreferencesSetParams as Df, CommandFailureDetails as Di, DataTableRendererRow as Dl, AgentModel as Dm, params as Dn, HarnessOperationResult as Do, ContributionRef as Dp, unwrapCommandOutcome as Dr, ExtensionConnectionRequest as Ds, projectPrefix as Dt, SessionExit as Du, ExtensionSettingValueRecord as E, ExtensionSkillsApi as Ea, PageParamDefinition as Ec, SkillContribution as Ed, WebviewPreferencesGetParams as Ef, CommandFailedEvent as Ei, DataTableRendererResourceRef as El, AgentInfo as Em, qualifyRef as En, HarnessOperation as Eo, ContributionKind as Ep, getCommandValue as Er, ExtensionConnectionMethod as Es, ListAutomationTokensResponse as Et, ExtensionSessionsApi as Eu, InstallExtensionResponse as F, CreateExtensionWorkspaceInput as Fa, PlacementIdentity as Fc, KanbanRendererAttributeDisplay as Fd, ArtifactChangedPayload as Ff, CommandPatchParams as Fi, ControlsQueryParams as Fl, defaultPageResourceCodec as Fn, HarnessExit as Fo, ThemeRef as Fp, PageResourceCodec as Fr, SkillFile as Fs, Notification as Ft, ResolveSessionIdInput as Fu, CommandExecuteBody as G, EXTENSION_API_VERSION as Ga, PlacementContribution as Gc, KanbanRendererResourceRef as Gd, MultiSelectParam as Gf, SerializedError as Gi, BaseControl as Gl, defineExtension as Gn, HarnessReattachInput as Go, ViewFilterGroup as Gp, WorkspaceProvisionPayload as Gr, NotificationFinalStatus as Gs, ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES as Gt, SessionDetails as Gu, MarketplaceExtension as H, BehaviourContributions as Ha, NavigationOwnerRef as Hc, KanbanRendererMove as Hd, ListParam as Hf, CommandSource as Hi, ActionsControl as Hl, WebviewFilesClient as Hn, HarnessQuestionOption as Ho, VIEW_FILTER_CONDITIONS as Hp, MergePayload as Hr, Notification$1 as Hs, UpdateNotificationInput as Ht, SessionConversationSources as Hu, InstalledExtensionSource as I, CreateWorkspaceCommandParams as Ia, PlacementOwner as Ic, KanbanRendererAttributeType as Id, EventDeliveryResult as If, CommandRef as Ii, ControlsQueryResult as Il, resolveEventReferenceId as In, HarnessExitStatus as Io, ViewRef as Ip, pageParamsQuery as Ir, SkillWithContent as Is, NotificationAction as It, ResolveSessionIdResponse as Iu, CommandExecutionResult as J, ExtensionLoadScope as Ja, PlacementPresence as Jc, KanbanRendererRowActivationHandler as Jd, ParamObjectSchema as Jf, NavigationTargetCommand as Ji, ControlGroup as Jl, defineCommandPaletteResource as Jn, HarnessResumeInput as Jo, ViewSortDirection as Jp, gitEvents as Jr, NotificationPriority$1 as Js, WEBVIEW_HOST_CAPABILITY_VERSION as Jt, SessionFollowUpResponse as Ju, CommandExecuteRequest as K, ExtensionConnectionContribution as Ka, PlacementItem as Kc, KanbanRendererRow as Kd, NumberParam as Kf, WorkbenchAttachmentInvocationContext as Ki, BooleanControl as Kl, defineActivityItem as Kn, HarnessRecoveryInput as Ko, ViewFilterRule as Kp, WorkspaceType as Kr, NotificationKind$1 as Ks, WEBVIEW_DECLARABLE_CAPABILITIES as Kt, SessionFollowUpDecision as Ku, AddLocalExtensionFolderResponse as L, ExtensionWorkspace as La, ControlsViewBody as Lc, KanbanRendererBoardColumnConfig as Ld, EventRef as Lf, CommandReject as Li, ControlsRendererContribution as Ll, ExtensionViewModule as Ln, HarnessMessagesInput as Lo, Localizable as Lp, parsePageParams as Lr, SkillWithContentDetails as Ls, NotificationActorType as Lt, Session as Lu, WorkbenchExtensionCommandPaletteResourceRecord as M, SetupContext as Ma, PageSlotRegion as Mc, WhenExpression as Md, UiSlotKind as Mf, CommandMiddlewareResult as Mi, DataTableRendererSettings as Ml, ActivityPage as Mm, parseWorkbenchPageUrl as Mn, HarnessApprovalChannel as Mo, SettingsSectionRef as Mp, serializeCommandError as Mr, ExtensionAutomationApi as Ms, CreateNotificationInput as Mt, FollowUpInput as Mu, ExtensionDiagnosticsResponse as N, WorkspaceFilesMount as Na, PageSlotRole as Nc, CollectionBadgeItem as Nd, RendererContributionBase as Nf, CommandNotice as Ni, DataTableRendererThemeColor as Nl, serializePageUrl as Nn, HarnessAttachment as No, SettingsSlotRef as Np, commandRef as Nr, Skill as Ns, ListNotificationsQuery as Nt, ListSessionActivityInput as Nu, ListExtensionSettingsResponse as O, MigrationContext as Oa, PageParams as Oc, TemplateTypeContribution as Od, WebviewScopedDeclarableCapability as Of, CommandHelpersApi as Oi, DataTableRendererRowAction as Ol, AgentSkillsLayout as Om, PageUrlDefinition as On, PreparedHarnessOperation as Oo, ModeRef as Op, SDK_VERSION as Or, ExtensionConnectionResponse as Os, WebviewCapabilityError as Ot, SessionExitCause as Ou, InstallExtensionRequest as P, WorkspaceSyncFile as Pa, PanelRef as Pc, KanbanRendererAttributeDescriptor as Pd, RendererEventReference as Pf, CommandOutcome as Pi, ControlsApplyInput as Pl, serializeWorkbenchPageUrl as Pn, HarnessEventSink as Po, StatusBarSlotRef as Pp, eventRef as Pr, SkillDetails as Ps, ListNotificationsResponse as Pt, ListSessionActivityResponse as Pu, ListExtensionConnectionsResponse as Q, MiddlewareDefinition as Qa, PlacementTabPresentation as Qc, KanbanRendererViewMode as Qd, ParamValue as Qf, NavigationTargetPage as Qi, DateControl as Ql, defineKeybinding as Qn, HarnessSteeringResult as Qo, HistoryProjection as Qp, sessionSlots as Qr, ExtensionResourcesApi as Qs, qualifyNavigationTarget as Qt, PendingQueuedFollowUpsResponse as Qu, EnableInstalledExtensionRequest as R, ExtensionWorkspaceCreateInput as Ra, DataTableViewBody as Rc, KanbanRendererColumnAction as Rd, BooleanParam as Rf, CommandRejectedEvent as Ri, ControlsResetInput as Rl, ExtensionViewRender as Rn, HarnessParamValue as Ro, LocalizedString as Rp, packageAsset as Rr, UpdateSkillInput as Rs, NotificationKind as Rt, SessionAttachment as Ru, ProjectUpdateRequest as S, ExtensionPackageFilesApi as Sa, PageMain as Sc, ModeContribution as Sd, WebviewNotificationDismissParams as Sf, extensionPanelRegions as Si, DataTableRendererColumnStat as Sl, AssetReference$1 as Sm, resourceKey as Sn, DraftHarnessCommandInput as So, Struct as Sp, commandRefId as Sr, BoardView as Ss, CreateAutomationRunInput as St, ExtensionSessionQuery as Su, ExtensionSettingDefinitionRecord as T, ExtensionSettingsApi as Ta, PageOpenIntent as Tc, SettingsSectionContribution as Td, WebviewPageParamsUpdateParams as Tf, CommandDiagnostic as Ti, DataTableRendererQueryResult as Tl, AgentDetails as Tm, QualifiedRef as Tn, HarnessCommandState as To, ContributionInput as Tp, CommandResponse as Tr, BoardViews as Ts, ListAutomationRunEventsResponse as Tt, ExtensionSessionUsage as Tu, ProjectExtensionInstance as U, CommandDefinition as Ua, NavigationTreeContribution as Uc, KanbanRendererQueryParams as Ud, LongTextParam as Uf, CommandStartedEvent as Ui, AnchorGridControl as Ul, GuestHost as Un, HarnessQuestionReplyError as Uo, ViewFieldKind as Up, RebasePayload as Ur, NotificationAction$1 as Us, Workspace$1 as Ut, SessionCreateRequest as Uu, ListProjectExtensionsResponse as V, AssetContributions as Va, NavigationItemContribution as Vc, KanbanRendererEnumOption as Vd, JsonParam as Vf, CommandRequestedEvent as Vi, ActionOption as Vl, WebviewPageClient as Vn, HarnessQuestionChannel as Vo, normalizeBooleanViewRule as Vp, ConflictPayload as Vr, ListNotificationsResponse$1 as Vs, NotificationStatus as Vt, SessionConversationResponse as Vu, UpgradeProjectExtensionResponse as W, CommandStreamDeclaration as Wa, NavigationTreeSlot as Wc, KanbanRendererQueryResult as Wd, MarkdownParam as Wf, CommandTarget as Wi, AnchorGridValue as Wl, PropsStore as Wn, HarnessQuestionRequest as Wo, ViewFilterCondition as Wp, SessionLifecyclePayload as Wr, NotificationActorType$1 as Ws, WorkspaceListItem$1 as Wt, SessionCreateResponse as Wu, ConfigureExtensionConnectionInput as X, HookDefinition as Xa, PlacementTabMenuGroup as Xc, KanbanRendererSettings as Xd, ParamOptionSource as Xf, NavigationTargetHref as Xi, ControlValue as Xl, defineFileIconTheme as Xn, HarnessStartInput as Xo, supportsExtensionApiVersion as Xp, projectSlots as Xr, SetNotificationStatusInput as Xs, mergeOrderedHistory as Xt, SessionStatus as Xu, DispatchExtensionEventInput as Y, ExtensionSourceKind as Ya, PlacementPresentation as Yc, KanbanRendererSavedView as Yd, ParamOption as Yf, NavigationTargetCompound as Yi, ControlParam as Yl, defineConnection as Yn, HarnessSession as Yo, parseExtensionApiDeclaration as Yp, projectEvents as Yr, NotificationStatus$1 as Ys, WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES as Yt, SessionQueuedMessagesResponse as Yu, ExtensionConnectionRecord as Z, LocalExtensionSource as Za, PlacementTabMenuRow as Zc, KanbanRendererSortDirection as Zd, ParamType as Zf, NavigationTargetItem as Zi, ControlValueMap as Zl, defineHarness as Zn, HarnessSteeringInput as Zo, HistoryConflict as Zp, sessionEvents as Zr, UpdateNotificationInput$1 as Zs, normalizePageParams as Zt, CombineQueuedFollowUpsInput as Zu, CreateProjectInput as _, ExtensionContextBase as _a, PageQuery as _c, ExtensionSettingsContribution as _d, WebviewHostCapabilityResult as _f, RegionSize as _i, TreeSectionEmptyState as _l, TextPart as _m, artifactMountId as _n, HarnessParamsSchema as _o, TerminalSessionResult as _p, resourceMenuSlotRef as _r, StorageSaveOutcome as _s, AutomationRun as _t, VectorControl as _u, RemoveWorktreeResponse as a, FileRendererSectionAnchor as aa, ResourceAnchorChangeEvent as ac, ArtifactMountContribution as ad, WebviewCommandStreamEvent as af, localContributionIdPattern as ai, TreeAction as al, splitHistoryTurns as am, WebviewClient as an, WorkspaceExecutionTarget as ao, WorkspaceParam as ap, defineResourceKind as ar, ExtensionStorageApi as as, WorkbenchExtensionAutomationRecord as at, RangeControl as au, ProjectCreateRequest as b, ExtensionNetApi as ba, PageDocumentDeclaration as bc, KeybindingContribution as bd, WebviewNavigationOpenParams as bf, ResourceMenuSlotDefinition as bi, DataTableRendererColumn as bl, ToolPartActionType as bm, TerminalSessionBridge as bn, HarnessStateApi as bo, JsonValue as bp, defineMiddleware as br, BoardField as bs, AutomationRunStatus as bt, ExtensionSession as bu, WorkspaceFileContent as c, ArtifactMount as ca, ResourceAnchorQueryPage as cc, CommandPaletteResourceContribution as cd, WebviewDeclarableCapability as cf, workbenchPageDefinitions as ci, TreeNodeTarget as cl, FilePart as cm, WebviewSettingsClient as cn, WorkspaceProviderRef as co, TerminalBridge as cp, defineSettingsSection as cr, ExtensionRecordsApi as cs, ListExtensionAppearanceResponse as ct, ResourceControl as cu, WorkspaceProviderDescriptor as d, CommandMiddlewareHandler as da, ResourceRef as dc, CommandPaletteResourceQueryResult as dd, WebviewFileScope as df, workbenchPanels as di, TreeRendererCommandResult as dl, ReasoningPart as dm, CommandStream as dn, WorkspaceProviderState as do, TerminalSessionAdapter$1 as dp, defineTemplate as dr, SharedEdit as ds, WorkbenchExtensionMetadata as dt, SegmentedControl as du, FileRendererContribution as ea, RelatedResourceOpening as ec, QueuedFollowUpUpdateResponse as ed, ViewToolbarAction as ef, workspaceEvents as ei, TreeViewBody as el, HistoryRecoveryResult as em, resolveDataTableFieldKind as en, ProviderContributions as eo, ParamsOf as ep, defineNavigationItem as er, QuestionResponse as es, ExtensionRecord as et, HarnessControlValue as eu, WriteWorkspaceFileInput as f, CommandRunHandler as fa, ResourceRemovedEvent as fc, CommandPaletteResourceTarget as fd, WebviewFilesDeleteParams as ff, workbenchResourceKindDefinitions as fi, TreeRendererContribution as fl, SessionMessage as fm, CommandStreamOptions as fn, WorkspaceTypeProvider as fo, TerminalSessionError as fp, defineTemplateType as fr, StorageConflict as fs, WorkbenchExtensionViewBody as ft, SegmentedOption as fu, RuntimeReadyResponse as g, ExtensionArtifactApi as ga, Page as gc, ExtensionSettingValueType as gd, WebviewHostCapabilityParams as gf, ExtensionPanelRegion as gi, TreeRendererState as gl, StepStartPart as gm, ArtifactMountKey as gn, HarnessParamDescriptor as go, TerminalSessionRequest as gp, defineWorkspaceType as gr, StorageResolution as gs, EnvironmentBinding as gt, TextControl as gu, sessionAttachmentMimeTypesByExtension as h, ExtensionActivityApi as ha, ViewHierarchyParent as hc, ExtensionSettingValueForType as hd, WebviewHostCapability as hf, DockedWorkbenchRegion as hi, TreeRendererResourceRef as hl, StepFinishPart as hm, WebviewExtensionEvent as hn, HarnessDetectionResult as ho, TerminalSessionOperation as hp, defineViewMenu as hr, StorageRecord as hs, BindEnvironmentInput as ht, SelectionOption as hu, ListWorkspaceFilesInput as i, FileRendererSaveParams as ia, ResourceAnchor as ic, ActivityItemContribution as id, WebviewCapabilityDeclaration as if, localContributionIdGrammar as ii, WebviewViewBody as il, reconcileMessageHistory as im, WebviewArtifactsClient as in, WorkspaceCapabilities as io, TextParam as ip, defineResourceHierarchyProvider as ir, ExtensionBlobsApi as is, ExtensionMenuContribution as it, ParamEditorReadOnlyImage as iu, ExtensionCommandPaletteResourceRecord as j, RendererCallback as ja, PageSlotRef as jc, WebviewContribution as jd, SlotRef as jf, CommandLifecyclePhase as ji, DataTableRendererSelectionAction as jl, ActivityEntry as jm, parsePageUrl as jn, ApprovalResponse as jo, ResourceKindRef as jp, defineSlot as jr, ExtensionLoggerApi as js, AssetTransfer as jt, CreateSessionInput as ju, UpdateExtensionSettingRequest as k, ProcessRunInput as ka, PageSlot as kc, ThemeContribution as kd, SlotInvocationContext as kf, CommandInvocation as ki, DataTableRendererRowActivationHandler as kl, HarnessParamsInfo as km, ParsedWorkbenchPageUrl as kn, AgentCapability as ko, PageRef as kp, WebviewHostProps as kr, ExtensionConnectionStreamEvent as ks, isWebviewCapabilityError as kt, SessionRunSnapshot as ku, WorkspaceFileEntry as l, CommandContext as la, ResourceAnchorValidationInput as lc, CommandPaletteResourceItem as ld, WebviewExtensionSettingKeyParams as lf, workbenchPages as li, TreeRendererActionParams as ll, LoadingPart as lm, createWebviewClient as ln, WorkspaceProviderResolveInput as lo, TerminalEvent as lp, defineSkill as lr, EnvironmentIdentity as ls, ListExtensionCommandsResponse as lt, ResourceOption as lu, UpdateSettingsInput as m, EventContext as ma, ResourceRole as mc, ExtensionSettingScope as md, WebviewFilesUploadParams as mf, workbenchSlots as mi, TreeRendererQueryParams as ml, SessionMessageRole as mm, WebviewEventsClient as mn, HarnessContext as mo, TerminalSessionHandle as mp, defineView as mr, StorageGroup as ms, MetadataPageTarget as mt, SelectionGroup as mu, ListWorkspaceActivityInput as n, FileRendererLoadResult as na, RendererContext as nc, SteerQueuedFollowUpInput as nd, WebviewArtifactFile as nf, worktreeEvents as ni, ViewContribution as nl, historyValueKey as nm, validatePageParamDefinitions as nn, ScheduleExpression as no, SelectParam as np, definePage as nr, ExtensionBlobInput as ns, ExtensionCommandPaletteContribution as nt, NumberControl as nu, RenameWorkspaceInput as o, FileRendererSectionTarget as oa, ResourceAnchorPage as oc, CliContribution as od, WebviewCommandsExecuteParams as of, workbenchModeDefinitions as oi, TreeNode as ol, submittedPrompt as om, WebviewClientOptions as on, WorkspaceProviderCreateInput as oo, ResourceBinding as op, defineSchedule as or, ExtensionStorageCollectionApi as os, findViewFilterProblem as ot, RangeValue as ou, Settings as p, CommandStreamWriter as pa, ResourceResolution as pc, ExtensionSettingProperty as pd, WebviewFilesListParams as pf, workbenchResourceKinds as pi, TreeRendererMoveParams as pl, SessionMessagePart as pm, EXTENSION_EVENTS_SCOPE as pn, StatusBarItemContribution as po, TerminalSessionExit as pp, defineTheme as pr, StorageConflictInspection as ps, WorkbenchExtensionViewRecord as pt, SelectionControl as pu, CommandExecuteResponse as q, ExtensionDefinition as qa, PlacementMountStrategy as qc, KanbanRendererRowAction as qd, ParamDescriptor as qf, NavigationTarget as qi, ColorControl as ql, defineArtifactMount as qn, HarnessRecoveryResult as qo, ViewSort as qp, WorktreeRemovedPayload as qr, NotificationOrigin$1 as qs, WEBVIEW_HOST_CAPABILITIES as qt, SessionFollowUpRequest as qu, ListWorkspaceActivityResponse as r, FileRendererResourceRef as ra, RendererInvocationContext as rc, UpdateQueuedFollowUpInput as rd, WebviewArtifactsReadParams as rf, isValidLocalContributionId as ri, ViewMenuContribution as rl, mergeHistoryMetadata as rm, matchesResourceWhen as rn, UiContributions as ro, TemplateParam as rp, definePlacement as rr, ExtensionBlobRef as rs, ExtensionCommandRecord as rt, ParamEditorReadOnlyContent as ru, WorkspaceEntryMoveInput as s, ArtifactFile as sa, ResourceAnchorQuery as sc, CommandPaletteContribution as sd, WebviewCommandsStreamParams as sf, workbenchModes as si, TreeNodeRowVariant as sl, ErrorPart as sm, WebviewCommandsClient as sn, WorkspaceProviderMutationInput as so, ResourceConstraint as sp, defineSettingsPanel as sr, StorageScope as ss, viewFilterValueKind as st, ReadOnlyControl as su, CreateWorkspaceInput as t, FileRendererLoadParams as ta, RelatedResourceOpenings as tc, QueuedSteeringResult as td, VersionedWebviewCapabilityDeclaration as tf, workspaceSlots as ti, ViewBody as tl, historyMessageKey as tm, resolvePageParams as tn, ScheduleContribution as to, ResourceParam as tp, defineNavigationTree as tr, TimeoutStrategy as ts, LocalizableString as tt, MarkdownControl as tu, WorkspaceFilesResponse as u, CommandMiddlewareContext as ua, ResourceAnchorValidationResult as uc, CommandPaletteResourceQueryParams as ud, WebviewExtensionSettingSetParams as uf, workbenchPanelDefinitions as ui, TreeRendererChildrenParams as ul, PatchPart as um, WebviewStreamsClient as un, WorkspaceProviderResult as uo, TerminalHostEvent as up, defineStatusBarItem as ur, EnvironmentTarget as us, WorkbenchExtensionHarnessRecord as ut, ResourceRefValue as uu, InitialWorkspaceRequest as v, ExtensionEventsApi as va, FileSourcePosition as vc, FileIconThemeContribution as vd, WebviewHostCapabilityResults as vf, ResourceHierarchyProvider as vi, TreeViewSection as vl, TokenUsagePart as vm, artifactsRead as vn, HarnessProvider as vo, JsonObject as vp, defineCommand as vr, ExtensionAssetsApi as vs, AutomationRunError as vt, VectorValue as vu, FileRecord as w, ExtensionProjectContext as wa, PageMainView as wc, SettingsPanelContribution as wd, WebviewNotificationShowParams as wf, CommandContinue as wi, DataTableRendererQueryParams as wl, AgentAvailabilityType as wm, commandEvent as wn, HarnessCommandDiscoveryContext as wo, ContributionDefinition as wp, CommandOutcomeError as wr, BoardViewUpdate as ws, IssueAutomationTokenResponse as wt, ExtensionSessionSummary as wu, ProjectDetails as x, ExtensionNotifyApi as xa, PageLocation as xc, MenuContribution as xd, WebviewNotificationActionParams as xf, dockedWorkbenchRegions as xi, DataTableRendererColumnRenderer as xl, ToolPartStatus as xm, createTerminalSessionBridge as xn, RetryableHarnessReattachError as xo, MaybePromise as xp, streamOf as xr, BoardSummary as xs, AutomationTokenRecord as xt, ExtensionSessionPage as xu, Project as y, ExtensionFilesApi as ya, PageContribution as yc, KeybindingChord as yd, WebviewKeyboardEventParams as yf, ResourceKindDefinition as yi, DEFAULT_DATA_TABLE_SETTINGS as yl, ToolPart as ym, TerminalSessionAdapter as yn, HarnessSkillsLayout as yo, JsonPrimitive as yp, defineHook as yr, ExtensionViewsApi as ys, AutomationRunEvent as yt, ExtensionHarnessInput as yu, EnableInstalledExtensionResponse as z, ExtensionWorkspaceProvider as za, FileViewBody as zc, KanbanRendererContribution as zd, FilesParam as zf, CommandReplaceInvocation as zi, ControlsResourceRef as zl, ExtensionViewRenderContext as zn, HarnessParams as zo, isLocalizedString as zp, isNavigationTarget as zr, CreateNotificationInput$1 as zs, NotificationOrigin as zt, SessionAttachmentDetails as zu };
|
|
17410
|
+
export { ListExtensionConnectionsResponse as $, LocalExtensionSource as $a, PlacementTabMenuGroup as $c, ExtensionSessionResource as $d, ParamObjectSchema as $f, NavigationTargetItem as $i, ControlParam as $l, defineKeybinding as $n, HarnessSteeringInput as $o, ViewSortDirection as $p, sessionEvents as $r, SetNotificationStatusInput as $s, qualifyNavigationTarget as $t, KanbanRendererAttributeDescriptor as $u, UpdateExtensionSettingRequest as A, MigrationContext as Aa, PageParamValue as Ac, WebviewFileScope as Ad, QueuedFollowUpUpdateResponse as Af, CommandHelpersApi as Ai, DataTableRendererResourceRef as Al, AgentDetails as Am, ParsedWorkbenchPageUrl as An, PreparedHarnessOperation as Ao, ContributionInput as Ap, RESOURCE_ACTIONS_EVENTS_SCOPE as Ar, ExtensionConnectionRequest as As, isWebviewCapabilityError as At, CommandPaletteResourceQueryResult as Au, EnableInstalledExtensionResponse as B, ExtensionWorkspaceCreateInput as Ba, ControlsViewBody as Bc, WebviewNotificationActionParams as Bd, ArtifactChangedPayload as Bf, CommandRejectedEvent as Bi, ControlsQueryResult as Bl, ExtensionViewRenderContext as Bn, HarnessParamValue as Bo, ThemeRef as Bp, packageAsset as Br, SkillWithContentDetails as Bs, NotificationOrigin as Bt, MenuContribution as Bu, UpdateProjectInput as C, ExtensionNotifyApi as Ca, PageDocumentDeclaration as Cc, WebviewCapabilityDeclaration as Cd, SessionFollowUpRequest as Cf, dockedWorkbenchRegions as Ci, DEFAULT_DATA_TABLE_SETTINGS as Cl, TokenUsagePart as Cm, resourceKey as Cn, RetryableHarnessReattachError as Co, JsonObject as Cp, commandRefId as Cr, BoardField as Cs, CreateAutomationRunInput as Ct, ActivityItemContribution as Cu, ExtensionSettingValueRecord as D, ExtensionSettingsApi as Da, PageMainView as Dc, WebviewDeclarableCapability as Dd, CombineQueuedFollowUpsInput as Df, CommandDiagnostic as Di, DataTableRendererContribution as Dl, AssetReference$1 as Dm, qualifyRef as Dn, HarnessCommandState as Do, Struct as Dp, getCommandValue as Dr, BoardViewUpdate as Ds, ListAutomationTokensResponse as Dt, CommandPaletteResourceContribution as Du, ExtensionSettingDefinitionRecord as E, ExtensionProjectContext as Ea, PageMainPanels as Ec, WebviewCommandsStreamParams as Ed, SessionStatus as Ef, CommandContinue as Ei, DataTableRendererColumnStat as El, ToolPartStatus as Em, QualifiedRef as En, HarnessCommandDiscoveryContext as Eo, MaybePromise as Ep, CommandResponse as Er, BoardViewCreate as Es, ListAutomationRunEventsResponse as Et, CommandPaletteContribution as Eu, InstallExtensionRequest as F, WorkspaceFilesMount as Fa, PageSlotRegion as Fc, WebviewHostCapabilityParams as Fd, SlotOptions as Ff, CommandNotice as Fi, DataTableRendererSelectionAction as Fl, harnessLocalId as Fm, serializeWorkbenchPageUrl as Fn, HarnessAttachment as Fo, PlacementRef as Fp, commandRef as Fr, ExtensionAutomationApi as Fs, ListNotificationsResponse as Ft, ExtensionSettingValueType as Fu, UpgradeProjectExtensionResponse as G, CommandDefinition as Ga, NavigationOwnerRef as Gc, WebviewPreferencesGetParams as Gd, HarnessParam as Gf, CommandStartedEvent as Gi, ActionOption as Gl, PropsStore as Gn, HarnessQuestionReplyError as Go, l10n as Gp, RebasePayload as Gr, Notification$1 as Gs, WorkspaceListItem$1 as Gt, SkillContribution as Gu, ListProjectExtensionsResponse as H, ExtensionWorkspacesApi as Ha, FileViewBody as Hc, WebviewNotificationResolveParams as Hd, EventRef as Hf, CommandReplaceParams as Hi, ControlsResetInput as Hl, WebviewPageClient as Hn, HarnessQuestion as Ho, Localizable as Hp, CommitPayload as Hr, CreateNotificationInput$1 as Hs, NotificationStatus as Ht, ModeRegionSettings as Hu, InstallExtensionResponse as I, WorkspaceSyncFile as Ia, PageSlotRole as Ic, WebviewHostCapabilityResult as Id, SlotRef as If, CommandOutcome as Ii, DataTableRendererSettings as Il, ActivityEntry as Im, defaultPageResourceCodec as In, HarnessEventSink as Io, ResourceKindRef as Ip, eventRef as Ir, Skill as Is, Notification as It, ExtensionSettingsContribution as Iu, CommandExecuteResponse as J, ExtensionConnectionContribution as Ja, PlacementContribution as Jc, WebviewScopedDeclarableCapability as Jd, LongTextParam as Jf, WorkbenchAttachmentInvocationContext as Ji, AnchorGridValue as Jl, defineArtifactMount as Jn, HarnessRecoveryInput as Jo, ViewFieldKind as Jp, WorkspaceType as Jr, NotificationFinalStatus as Js, WEBVIEW_HOST_CAPABILITIES as Jt, ThemeContribution as Ju, CommandExecuteBody as K, CommandStreamDeclaration as Ka, NavigationTreeContribution as Kc, WebviewPreferencesSetParams as Kd, JsonParam as Kf, CommandTarget as Ki, ActionsControl as Kl, defineExtension as Kn, HarnessQuestionRequest as Ko, normalizeBooleanViewRule as Kp, SessionLifecyclePayload as Kr, NotificationAction$1 as Ks, ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES as Kt, TemplateContribution as Ku, InstalledExtensionSource as L, CreateExtensionWorkspaceInput as La, PanelRef as Lc, WebviewHostCapabilityResults as Ld, UiSlotKind as Lf, CommandPatchParams as Li, DataTableRendererThemeColor as Ll, ActivityPage as Lm, resolveEventReferenceId as Ln, HarnessExit as Lo, SettingsSectionRef as Lp, PageResourceCodec as Lr, SkillDetails as Ls, NotificationAction as Lt, FileIconThemeContribution as Lu, ExtensionCommandPaletteResourceRecord as M, ProcessRunResult as Ma, PageSlot as Mc, WebviewFilesListParams as Md, SteerQueuedFollowUpInput as Mf, CommandLifecycleEventPayload as Mi, DataTableRendererRowAction as Ml, AgentModel as Mm, parsePageUrl as Mn, ApprovalRequest as Mo, ContributionRef as Mp, isFileSourcePosition as Mr, ExtensionConnectionStreamEvent as Ms, AssetTransfer as Mt, ExtensionSettingProperty as Mu, WorkbenchExtensionCommandPaletteResourceRecord as N, RendererCallback as Na, PageSlotCardinality as Nc, WebviewFilesUploadParams as Nd, UpdateQueuedFollowUpInput as Nf, CommandLifecyclePhase as Ni, DataTableRendererRowActivationHandler as Nl, AgentSkillsLayout as Nm, parseWorkbenchPageUrl as Nn, ApprovalResponse as No, ModeRef as Np, defineSlot as Nr, ExtensionConnectionsApi as Ns, CreateNotificationInput as Nt, ExtensionSettingScope as Nu, ExtensionSettingsPanelRecord as O, ExtensionSkillsApi as Oa, PageOpenIntent as Oc, WebviewExtensionSettingKeyParams as Od, PendingQueuedFollowUpsResponse as Of, CommandFailedEvent as Oi, DataTableRendererQueryParams as Ol, AssetTransfer$1 as Om, params as On, HarnessOperation as Oo, ConnectionRef as Op, unwrapCommandOutcome as Or, BoardViews as Os, projectPrefix as Ot, CommandPaletteResourceItem as Ou, ExtensionDiagnosticsResponse as P, SetupContext as Pa, PageSlotRef as Pc, WebviewHostCapability as Pd, SlotInvocationContext as Pf, CommandMiddlewareResult as Pi, DataTableRendererSavedView as Pl, HarnessParamsInfo as Pm, serializePageUrl as Pn, HarnessApprovalChannel as Po, PageRef as Pp, serializeCommandError as Pr, ExtensionLoggerApi as Ps, ListNotificationsQuery as Pt, ExtensionSettingValueForType as Pu, ExtensionConnectionRecord as Q, HookDefinition as Qa, PlacementPresentation as Qc, ExtensionSessionQuery as Qd, ParamDescriptor as Qf, NavigationTargetHref as Qi, ControlGroup as Ql, defineHarness as Qn, HarnessStartInput as Qo, ViewSort as Qp, projectSlots as Qr, NotificationStatus$1 as Qs, normalizePageParams as Qt, CollectionBadgeItem as Qu, AddLocalExtensionFolderResponse as R, CreateWorkspaceCommandParams as Ra, PlacementIdentity as Rc, WebviewKeyboardEventParams as Rd, RendererContributionBase as Rf, CommandRef as Ri, ControlsApplyInput as Rl, ExtensionViewModule as Rn, HarnessExitStatus as Ro, SettingsSlotRef as Rp, pageParamsQuery as Rr, SkillFile as Rs, NotificationActorType as Rt, KeybindingChord as Ru, ProjectUpdateRequest as S, ExtensionNetApi as Sa, PageContribution as Sc, WebviewArtifactsReadParams as Sd, SessionFollowUpDecision as Sf, ResourceMenuSlotDefinition as Si, TreeViewSectionStructure as Sl, TextPart as Sm, createTerminalSessionBridge as Sn, HarnessStateApi as So, TerminalSessionResult as Sp, streamOf as Sr, ExtensionViewsApi as Ss, AutomationTokenRecord as St, VectorValue as Su, FileRecord as T, ExtensionProcessApi as Ta, PageMain as Tc, WebviewCommandsExecuteParams as Td, SessionQueuedMessagesResponse as Tf, CommandCompletedEvent as Ti, DataTableRendererColumnRenderer as Tl, ToolPartActionType as Tm, commandEvent as Tn, HarnessCommandContext as To, JsonValue as Tp, CommandOutcomeError as Tr, BoardView as Ts, IssueAutomationTokenResponse as Tt, CliContribution as Tu, MarketplaceExtension as U, AssetContributions as Ua, KanbanViewBody as Uc, WebviewNotificationShowParams as Ud, BooleanParam as Uf, CommandRequestedEvent as Ui, ControlsResourceRef as Ul, WebviewFilesClient as Un, HarnessQuestionChannel as Uo, LocalizedString as Up, ConflictPayload as Ur, ListNotificationsQuery$1 as Us, UpdateNotificationInput as Ut, SettingsPanelContribution as Uu, InstallMarketplaceExtensionResponse as V, ExtensionWorkspaceProvider as Va, DataTableViewBody as Vc, WebviewNotificationDismissParams as Vd, EventDeliveryResult as Vf, CommandReplaceInvocation as Vi, ControlsRendererContribution as Vl, defineExtensionView as Vn, HarnessParams as Vo, ViewRef as Vp, isNavigationTarget as Vr, UpdateSkillInput as Vs, NotificationPriority as Vt, ModeContribution as Vu, ProjectExtensionInstance as W, BehaviourContributions as Wa, NavigationItemContribution as Wc, WebviewPageParamsUpdateParams as Wd, FilesParam as Wf, CommandSource as Wi, ControlsUpdateValueInput as Wl, GuestHost as Wn, HarnessQuestionOption as Wo, isLocalizedString as Wp, MergePayload as Wr, ListNotificationsResponse$1 as Ws, Workspace$1 as Wt, SettingsSectionContribution as Wu, DispatchExtensionEventInput as X, ExtensionLoadScope as Xa, PlacementMountStrategy as Xc, ExtensionSession as Xd, MultiSelectParam as Xf, NavigationTargetCommand as Xi, BooleanControl as Xl, defineConnection as Xn, HarnessResumeInput as Xo, ViewFilterGroup as Xp, gitEvents as Xr, NotificationOrigin$1 as Xs, WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES as Xt, WebviewContribution as Xu, CommandExecutionResult as Y, ExtensionDefinition as Ya, PlacementItem as Yc, ExtensionHarnessInput as Yd, MarkdownParam as Yf, NavigationTarget as Yi, BaseControl as Yl, defineCommandPaletteResource as Yn, HarnessRecoveryResult as Yo, ViewFilterCondition as Yp, WorktreeRemovedPayload as Yr, NotificationKind$1 as Ys, WEBVIEW_HOST_CAPABILITY_VERSION as Yt, ThemeMode as Yu, ConfigureExtensionConnectionInput as Z, ExtensionSourceKind as Za, PlacementPresence as Zc, ExtensionSessionPage as Zd, NumberParam as Zf, NavigationTargetCompound as Zi, ColorControl as Zl, defineFileIconTheme as Zn, HarnessSession as Zo, ViewFilterRule as Zp, projectEvents as Zr, NotificationPriority$1 as Zs, mergeOrderedHistory as Zt, WhenExpression as Zu, CreateProjectInput as _, ExtensionActivityApi as _a, ResourceRole as _c, KanbanRendererViewMode as _d, SessionConversationResponse as _f, DockedWorkbenchRegion as _i, TreeRendererQueryParams as _l, SessionMessage as _m, ArtifactMountKey as _n, HarnessDetectionResult as _o, TerminalSessionError as _p, defineWorkspaceType as _r, StorageRecord as _s, EnvironmentBinding as _t, SelectionControl as _u, RemoveWorktreeResponse as a, FileRendererResourceRef as aa, RendererContext as ac, KanbanRendererCreateRowContribution as ad, SessionRunSnapshot as af, isValidLocalContributionId as ai, ViewContribution as al, HistoryRecoveryResult as am, WebviewArtifactsClient as an, UiContributions as ao, ParamsOf as ap, defineResourceHierarchyProvider as ar, ExtensionBlobRef as as, ExtensionMenuContribution as at, MarkdownControl as au, ProjectCreateRequest as b, ExtensionEventsApi as ba, PageQuery as bc, VersionedWebviewCapabilityDeclaration as bd, SessionCreateResponse as bf, ResourceHierarchyProvider as bi, TreeSectionEmptyState as bl, StepFinishPart as bm, TerminalSessionAdapter as bn, HarnessProvider as bo, TerminalSessionOperation as bp, defineHook as br, StorageSaveState as bs, AutomationRunEvent as bt, TextControl as bu, WorkspaceFileContent as c, FileRendererSectionTarget as ca, ResourceAnchorChangeEvent as cc, KanbanRendererQueryParams as cd, FollowUpInput as cf, workbenchModeDefinitions as ci, TreeAction as cl, mergeHistoryMetadata as cm, WebviewCommandsClient as cn, WorkspaceProviderCreateInput as co, TemplateParam as cp, defineSettingsPanel as cr, ExtensionStorageCollectionApi as cs, viewFilterValueKind as ct, ParamEditorReadOnlyImage as cu, WorkspaceProviderDescriptor as d, CommandContext as da, ResourceAnchorQueryPage as dc, KanbanRendererRow as dd, ResolveSessionIdInput as df, workbenchPages as di, TreeNodeTarget as dl, submittedPrompt as dm, WebviewStreamsClient as dn, WorkspaceProviderResolveInput as do, ResourceBinding as dp, defineStatusBarItem as dr, EnvironmentIdentity as ds, WorkbenchExtensionHarnessRecord as dt, ReadOnlyControl as du, NavigationTargetPage as ea, UpdateNotificationInput$1 as ec, KanbanRendererAttributeDisplay as ed, ExtensionSessionSummary as ef, sessionSlots as ei, PlacementTabMenuRow as el, parseExtensionApiDeclaration as em, resolveDataTableComparableValue as en, MiddlewareDefinition as eo, ParamOption as ep, defineMode as er, HarnessSteeringResult as es, ExtensionDiagnostic as et, ControlValue as eu, WriteWorkspaceFileInput as f, CommandMiddlewareContext as fa, ResourceAnchorValidationInput as fc, KanbanRendererRowAction as fd, ResolveSessionIdResponse as ff, workbenchPanelDefinitions as fi, TreeRendererActionParams as fl, ErrorPart as fm, CommandStream as fn, WorkspaceProviderResult as fo, ResourceConstraint as fp, defineTemplate as fr, EnvironmentTarget as fs, WorkbenchExtensionMetadata as ft, ResourceControl as fu, RuntimeReadyResponse as g, EventContext as ga, ResourceResolution as gc, KanbanRendererSortDirection as gd, SessionAttachmentRef as gf, workbenchSlots as gi, TreeRendererMoveParams as gl, ReasoningPart as gm, WebviewExtensionEvent as gn, HarnessContext as go, TerminalSessionAdapter$1 as gp, defineViewMenu as gr, StorageGroup as gs, BindEnvironmentInput as gt, SegmentedOption as gu, sessionAttachmentMimeTypesByExtension as h, CommandStreamWriter as ha, ResourceRemovedEvent as hc, KanbanRendererSettings as hd, SessionAttachmentDetails as hf, workbenchResourceKinds as hi, TreeRendererContribution as hl, PatchPart as hm, WebviewEventsClient as hn, StatusBarItemContribution as ho, TerminalHostEvent as hp, defineView as hr, StorageConflictInspection as hs, MetadataPageTarget as ht, SegmentedControl as hu, ListWorkspaceFilesInput as i, FileRendererLoadResult as ia, RelatedResourceOpenings as ic, KanbanRendererContribution as id, SessionExitCause as if, worktreeEvents as ii, ViewBody as il, HistoryRecoveryInput as im, matchesResourceWhen as in, ScheduleExpression as io, ParamValueRef as ip, definePlacement as ir, ExtensionBlobInput as is, ExtensionCommandRecord as it, HarnessControlValue as iu, ExtensionKeybindingRecord as j, ProcessRunInput as ja, PageParams as jc, WebviewFilesDeleteParams as jd, QueuedSteeringResult as jf, CommandInvocation as ji, DataTableRendererRow as jl, AgentInfo as jm, isWorkbenchProjectUrl as jn, AgentCapability as jo, ContributionKind as jp, WebviewHostProps as jr, ExtensionConnectionResponse as js, AssetReference as jt, CommandPaletteResourceTarget as ju, ListExtensionSettingsResponse as k, ExtensionTerminalApi as ka, PageParamDefinition as kc, WebviewExtensionSettingSetParams as kd, QueuedFollowUpRequest as kf, CommandFailureDetails as ki, DataTableRendererQueryResult as kl, AgentAvailabilityType as km, PageUrlDefinition as kn, HarnessOperationResult as ko, ContributionDefinition as kp, SDK_VERSION as kr, ExtensionConnectionMethod as ks, WebviewCapabilityError as kt, CommandPaletteResourceQueryParams as ku, WorkspaceFileEntry as l, ArtifactFile as la, ResourceAnchorPage as lc, KanbanRendererQueryResult as ld, ListSessionActivityInput as lf, workbenchModes as li, TreeNode as ll, reconcileMessageHistory as lm, WebviewSettingsClient as ln, WorkspaceProviderMutationInput as lo, TextParam as lp, defineSettingsSection as lr, StorageScope as ls, ListExtensionAppearanceResponse as lt, RangeControl as lu, UpdateSettingsInput as m, CommandRunHandler as ma, ResourceRef as mc, KanbanRendererSavedView as md, SessionAttachment as mf, workbenchResourceKindDefinitions as mi, TreeRendererCommandResult as ml, LoadingPart as mm, EXTENSION_EVENTS_SCOPE as mn, WorkspaceTypeProvider as mo, TerminalEvent as mp, defineTheme as mr, StorageConflict as ms, WorkbenchExtensionViewRecord as mt, ResourceRefValue as mu, ListWorkspaceActivityInput as n, FileRendererContribution as na, PackageAssetDescriptor as nc, KanbanRendererBoardColumnConfig as nd, ExtensionSessionsApi as nf, workspaceEvents as ni, PlacementTabSnapshot as nl, HistoryConflict as nm, resolvePageParams as nn, ProviderContributions as no, ParamType as np, defineNavigationTree as nr, QuestionResponse as ns, LocalizableString as nt, DateControl as nu, RenameWorkspaceInput as o, FileRendererSaveParams as oa, RendererInvocationContext as oc, KanbanRendererEnumOption as od, ApprovalInput as of, localContributionIdGrammar as oi, ViewMenuContribution as ol, historyMessageKey as om, WebviewClient as on, WorkspaceCapabilities as oo, ResourceParam as op, defineResourceKind as or, ExtensionBlobsApi as os, WorkbenchExtensionAutomationRecord as ot, NumberControl as ou, Settings as p, CommandMiddlewareHandler as pa, ResourceAnchorValidationResult as pc, KanbanRendererRowActivationHandler as pd, Session as pf, workbenchPanels as pi, TreeRendererChildrenParams as pl, FilePart as pm, CommandStreamOptions as pn, WorkspaceProviderState as po, TerminalBridge as pp, defineTemplateType as pr, SharedEdit as ps, WorkbenchExtensionViewBody as pt, ResourceOption as pu, CommandExecuteRequest as q, EXTENSION_API_VERSION as qa, NavigationTreeSlot as qc, WebviewResourceAction as qd, ListParam as qf, SerializedError as qi, AnchorGridControl as ql, defineActivityItem as qn, HarnessReattachInput as qo, VIEW_FILTER_CONDITIONS as qp, WorkspaceProvisionPayload as qr, NotificationActorType$1 as qs, WEBVIEW_DECLARABLE_CAPABILITIES as qt, TemplateTypeContribution as qu, ListWorkspaceActivityResponse as r, FileRendererLoadParams as ra, RelatedResourceOpening as rc, KanbanRendererColumnAction as rd, SessionExit as rf, workspaceSlots as ri, TreeViewBody as rl, HistoryProjection as rm, validatePageParamDefinitions as rn, ScheduleContribution as ro, ParamValue as rp, definePage as rr, TimeoutStrategy as rs, ExtensionCommandPaletteContribution as rt, HarnessControl as ru, WorkspaceEntryMoveInput as s, FileRendererSectionAnchor as sa, ResourceAnchor as sc, KanbanRendererMove as sd, CreateSessionInput as sf, localContributionIdPattern as si, WebviewViewBody as sl, historyValueKey as sm, WebviewClientOptions as sn, WorkspaceExecutionTarget as so, SelectParam as sp, defineSchedule as sr, ExtensionStorageApi as ss, findViewFilterProblem as st, ParamEditorReadOnlyContent as su, CreateWorkspaceInput as t, NavigationTargetPanel as ta, ExtensionResourcesApi as tc, KanbanRendererAttributeType as td, ExtensionSessionUsage as tf, viewDataEvents as ti, PlacementTabPresentation as tl, supportsExtensionApiVersion as tm, resolveDataTableFieldKind as tn, PackageManifest as to, ParamOptionSource as tp, defineNavigationItem as tr, JsonPatch as ts, ExtensionRecord as tt, ControlValueMap as tu, WorkspaceFilesResponse as u, ArtifactMount as ua, ResourceAnchorQuery as uc, KanbanRendererResourceRef as ud, ListSessionActivityResponse as uf, workbenchPageDefinitions as ui, TreeNodeRowVariant as ul, splitHistoryTurns as um, createWebviewClient as un, WorkspaceProviderRef as uo, WorkspaceParam as up, defineSkill as ur, ExtensionRecordsApi as us, ListExtensionCommandsResponse as ut, RangeValue as uu, InitialWorkspaceRequest as v, ExtensionArtifactApi as va, ViewHierarchyParent as vc, KanbanRendererViewSettings as vd, SessionConversationSources as vf, ExtensionPanelRegion as vi, TreeRendererResourceRef as vl, SessionMessagePart as vm, artifactMountId as vn, HarnessParamDescriptor as vo, TerminalSessionExit as vp, resourceMenuSlotRef as vr, StorageResolution as vs, AutomationRun as vt, SelectionGroup as vu, LinkIcon as w, ExtensionPackageFilesApi as wa, PageLocation as wc, WebviewCommandStreamEvent as wd, SessionFollowUpResponse as wf, extensionPanelRegions as wi, DataTableRendererColumn as wl, ToolPart as wm, artifactChanged as wn, DraftHarnessCommandInput as wo, JsonPrimitive as wp, contributionRefId as wr, BoardSummary as ws, IssueAutomationTokenInput as wt, ArtifactMountContribution as wu, ProjectDetails as x, ExtensionFilesApi as xa, FileSourcePosition as xc, WebviewArtifactFile as xd, SessionDetails as xf, ResourceKindDefinition as xi, TreeViewSection as xl, StepStartPart as xm, TerminalSessionBridge as xn, HarnessSkillsLayout as xo, TerminalSessionRequest as xp, defineMiddleware as xr, ExtensionAssetsApi as xs, AutomationRunStatus as xt, VectorControl as xu, Project as y, ExtensionContextBase as ya, Page as yc, ViewToolbarAction as yd, SessionCreateRequest as yf, RegionSize as yi, TreeRendererState as yl, SessionMessageRole as ym, artifactsRead as yn, HarnessParamsSchema as yo, TerminalSessionHandle as yp, defineCommand as yr, StorageSaveOutcome as ys, AutomationRunError as yt, SelectionOption as yu, EnableInstalledExtensionRequest as z, ExtensionWorkspace as za, PlacementOwner as zc, WebviewNavigationOpenParams as zd, RendererEventReference as zf, CommandReject as zi, ControlsQueryParams as zl, ExtensionViewRender as zn, HarnessMessagesInput as zo, StatusBarSlotRef as zp, parsePageParams as zr, SkillWithContent as zs, NotificationKind as zt, KeybindingContribution as zu };
|
|
17212
17411
|
export {};
|