@pstdio/sdk 0.45.0-nightly.20261021143541 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.d.ts +3 -7
- package/dist/client/index.js +20 -7
- package/dist/client.d.ts +3 -2
- package/dist/data.d.ts +1 -7
- package/dist/extensions/index.js +196 -3
- package/dist/extensions-react.d.ts +1 -3
- package/dist/extensions.d.ts +2 -2
- package/dist/hooks.d.ts +3 -11
- package/dist/{index-BlEzv0uV.d.ts → index-DBkZvGh1.d.ts} +130 -81
- package/dist/{index-DTqJS-fZ.d.ts → index-j28tAAxd.d.ts} +528 -260
- package/dist/prompts.d.ts +0 -2
- package/dist/resources.d.ts +1 -1
- package/dist/sessions-BWTUYUnW.d.ts +2 -0
- package/dist/skills-BWTUYUnW.d.ts +2 -0
- package/dist/testing/index.js +14 -0
- package/dist/testing.d.ts +2 -14
- package/package.json +1 -1
- package/dist/sessions-DYS6U-5G.d.ts +0 -2
- package/dist/skills-DYS6U-5G.d.ts +0 -2
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
//#region ../pstdio-api-contracts/src/activity.d.ts
|
|
3
2
|
declare const activityEntrySchema: z.ZodObject<{
|
|
4
3
|
id: z.ZodString;
|
|
5
4
|
projectId: z.ZodString;
|
|
@@ -53,8 +52,6 @@ declare const activityPageSchema: z.ZodObject<{
|
|
|
53
52
|
}, z.core.$strip>;
|
|
54
53
|
type ActivityEntry = z.infer<typeof activityEntrySchema>;
|
|
55
54
|
type ActivityPage = z.infer<typeof activityPageSchema>;
|
|
56
|
-
//#endregion
|
|
57
|
-
//#region ../pstdio-api-contracts/src/agents.d.ts
|
|
58
55
|
declare const agentAvailabilityTypeSchema: z.ZodEnum<{
|
|
59
56
|
INSTALLED: "INSTALLED";
|
|
60
57
|
NOT_FOUND: "NOT_FOUND";
|
|
@@ -260,8 +257,6 @@ declare const agentDetailsSchema: z.ZodObject<{
|
|
|
260
257
|
}, z.core.$strip>>;
|
|
261
258
|
}, z.core.$strip>;
|
|
262
259
|
type AgentDetails = z.infer<typeof agentDetailsSchema>;
|
|
263
|
-
//#endregion
|
|
264
|
-
//#region ../pstdio-api-contracts/src/assets.d.ts
|
|
265
260
|
declare const assetReferenceSchema: z.ZodObject<{
|
|
266
261
|
sha256: z.ZodString;
|
|
267
262
|
byteLength: z.ZodNumber;
|
|
@@ -295,8 +290,6 @@ declare const assetTransferSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
295
290
|
}, z.core.$strict>;
|
|
296
291
|
}, z.core.$strict>], "status">;
|
|
297
292
|
type AssetTransfer$1 = z.infer<typeof assetTransferSchema>;
|
|
298
|
-
//#endregion
|
|
299
|
-
//#region ../pstdio-api-contracts/src/ordered-history-merge.d.ts
|
|
300
293
|
interface OrderedHistoryMerge<T> {
|
|
301
294
|
key: (item: T) => string;
|
|
302
295
|
merge: (known: T, native: T) => T;
|
|
@@ -304,8 +297,6 @@ interface OrderedHistoryMerge<T> {
|
|
|
304
297
|
time?: (item: T) => number | undefined;
|
|
305
298
|
covered?: (item: T) => boolean;
|
|
306
299
|
}
|
|
307
|
-
//#endregion
|
|
308
|
-
//#region ../pstdio-api-contracts/src/session-messages.d.ts
|
|
309
300
|
type SessionMessageRole = "user" | "assistant" | "tool" | "system" | "developer";
|
|
310
301
|
type TextPart = {
|
|
311
302
|
type: "text";
|
|
@@ -389,8 +380,6 @@ type SessionMessage = {
|
|
|
389
380
|
};
|
|
390
381
|
};
|
|
391
382
|
};
|
|
392
|
-
//#endregion
|
|
393
|
-
//#region ../pstdio-api-contracts/src/history-reconciliation.d.ts
|
|
394
383
|
type HistoryRecoveryResult = {
|
|
395
384
|
kind: "recovered";
|
|
396
385
|
messages: SessionMessage[];
|
|
@@ -439,8 +428,6 @@ declare const reconcileMessageHistory: (input: HistoryRecoveryInput, projection?
|
|
|
439
428
|
kind: "conflict";
|
|
440
429
|
category: string;
|
|
441
430
|
};
|
|
442
|
-
//#endregion
|
|
443
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/api-versions.d.ts
|
|
444
431
|
/**
|
|
445
432
|
* Only caret terms are accepted because each one stops below the next breaking version, so a
|
|
446
433
|
* declaration can never claim support for a breaking API that did not exist when it was written.
|
|
@@ -448,8 +435,6 @@ declare const reconcileMessageHistory: (input: HistoryRecoveryInput, projection?
|
|
|
448
435
|
*/
|
|
449
436
|
declare const parseExtensionApiDeclaration: (declaration: string) => string[] | null;
|
|
450
437
|
declare const supportsExtensionApiVersion: (declaration: string, hostVersion: string) => boolean;
|
|
451
|
-
//#endregion
|
|
452
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/collection-view.d.ts
|
|
453
438
|
/** A condition that a filter rule applies to one field. Each field kind accepts a fixed list. */
|
|
454
439
|
type ViewFilterCondition = "contains" | "does-not-contain" | "is" | "is-not" | "gt" | "gte" | "lt" | "lte" | "is-before" | "is-after" | "is-on-or-before" | "is-on-or-after" | "is-any-of" | "is-none-of" | "has-any-of" | "has-all-of" | "has-none-of" | "is-empty" | "is-not-empty";
|
|
455
440
|
type ViewFilterRule = {
|
|
@@ -479,15 +464,11 @@ type ViewSort = {
|
|
|
479
464
|
type ViewFieldKind = "string" | "number" | "boolean" | "date" | "enum" | "status" | "enum-multi" | "user";
|
|
480
465
|
/** The only list of conditions. The UI, the views API, and the CLI all read it. */
|
|
481
466
|
declare const VIEW_FILTER_CONDITIONS: Record<ViewFieldKind, readonly ViewFilterCondition[]>;
|
|
482
|
-
//#endregion
|
|
483
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/boolean-view-filter.d.ts
|
|
484
467
|
/** Migrate saved enum rules using the owning extension's mapping, never row-value coercion. */
|
|
485
468
|
declare const normalizeBooleanViewRule: (rule: ViewFilterRule, type: {
|
|
486
469
|
kind: string;
|
|
487
470
|
legacyValues?: Record<string, boolean>;
|
|
488
471
|
}) => ViewFilterRule;
|
|
489
|
-
//#endregion
|
|
490
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/l10n.d.ts
|
|
491
472
|
interface LocalizedString {
|
|
492
473
|
readonly $l10n: string;
|
|
493
474
|
readonly default?: string;
|
|
@@ -498,8 +479,6 @@ declare const l10n: (key: string, defaultValue?: string) => {
|
|
|
498
479
|
default?: string | undefined;
|
|
499
480
|
};
|
|
500
481
|
declare const isLocalizedString: (value: unknown) => value is LocalizedString;
|
|
501
|
-
//#endregion
|
|
502
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/workbench-targets.d.ts
|
|
503
482
|
declare const workbenchMenuTargets: readonly ["workbench.nav.actions", "workbench.nav.overflow"];
|
|
504
483
|
declare const workbenchTreeTargets: readonly ["workbench.left.tree", "workbench.main.left.tree", "workbench.main.right.tree"];
|
|
505
484
|
declare const workbenchViewTargets: readonly ["workbench.main", "workbench.main.left", "workbench.main.right", "workbench.secondary"];
|
|
@@ -509,8 +488,6 @@ type WorkbenchTreeTarget = (typeof workbenchTreeTargets)[number];
|
|
|
509
488
|
type WorkbenchViewTarget = (typeof workbenchViewTargets)[number];
|
|
510
489
|
type WorkbenchSettingsTarget = (typeof workbenchSettingsTargets)[number];
|
|
511
490
|
type WorkbenchAttachmentTarget = WorkbenchMenuTarget | WorkbenchTreeTarget | WorkbenchViewTarget | WorkbenchSettingsTarget;
|
|
512
|
-
//#endregion
|
|
513
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/contribution-identity.d.ts
|
|
514
491
|
type ContributionKind = "activity-item" | "artifact-mount" | "command" | "command-palette-resource" | "connection" | "file-icon-theme" | "harness" | "hook" | "keybinding" | "middleware" | "mode" | "navigation-item" | "navigation-tree" | "page" | "placement" | "resource-hierarchy-provider" | "resource-kind" | "schedule" | "settings-panel" | "settings-section" | "skill" | "status-bar-item" | "template" | "template-type" | "theme" | "view" | "view-menu" | "workspace-type";
|
|
515
492
|
interface ContributionRef<Kind extends ContributionKind> {
|
|
516
493
|
readonly extensionId?: string;
|
|
@@ -536,8 +513,6 @@ interface StatusBarSlotRef {
|
|
|
536
513
|
readonly id: string;
|
|
537
514
|
}
|
|
538
515
|
type ViewRef = ContributionRef<"view">;
|
|
539
|
-
//#endregion
|
|
540
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/json.d.ts
|
|
541
516
|
type JsonPrimitive = string | number | boolean | null;
|
|
542
517
|
type JsonValue = JsonPrimitive | JsonValue[] | JsonObject;
|
|
543
518
|
type JsonObject = {
|
|
@@ -545,8 +520,6 @@ type JsonObject = {
|
|
|
545
520
|
};
|
|
546
521
|
type MaybePromise<T> = T | Promise<T>;
|
|
547
522
|
type Struct = object;
|
|
548
|
-
//#endregion
|
|
549
|
-
//#region ../pstdio-api-contracts/src/extensions.terminal.d.ts
|
|
550
523
|
interface TerminalSessionRequest {
|
|
551
524
|
/** Command + args to run; defaults to the user's login shell when omitted. */
|
|
552
525
|
command?: string[];
|
|
@@ -653,8 +626,6 @@ interface TerminalSessionAdapter$1 {
|
|
|
653
626
|
interface TerminalBridge {
|
|
654
627
|
openSession(request: TerminalSessionRequest): Promise<TerminalSessionAdapter$1>;
|
|
655
628
|
}
|
|
656
|
-
//#endregion
|
|
657
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/resource-binding.d.ts
|
|
658
629
|
interface ResourceConstraint {
|
|
659
630
|
readonly kinds: readonly ResourceKindRef[];
|
|
660
631
|
}
|
|
@@ -663,8 +634,6 @@ interface ResourceBinding extends ResourceConstraint {
|
|
|
663
634
|
readonly cardinality: "one" | "many";
|
|
664
635
|
readonly add?: NavigationTarget;
|
|
665
636
|
}
|
|
666
|
-
//#endregion
|
|
667
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/params.d.ts
|
|
668
637
|
type ParamType = "text" | "longtext" | "markdown" | "number" | "boolean" | "select" | "multi-select" | "files" | "harness" | "template" | "resource" | "workspace" | "json" | "list";
|
|
669
638
|
type ParamRequired<TRequired extends boolean | undefined> = TRequired extends true ? {
|
|
670
639
|
required: true;
|
|
@@ -764,8 +733,6 @@ type RequiredParamKeys<TSchema extends ParamObjectSchema> = { [K in keyof TSchem
|
|
|
764
733
|
} ? K : never; }[keyof TSchema];
|
|
765
734
|
type OptionalParamKeys<TSchema extends ParamObjectSchema> = Exclude<keyof TSchema, RequiredParamKeys<TSchema>>;
|
|
766
735
|
type ParamsOf<TSchema extends ParamObjectSchema> = { [K in RequiredParamKeys<TSchema>]: ParamValue<TSchema[K]>; } & { [K in OptionalParamKeys<TSchema>]?: ParamValue<TSchema[K]>; };
|
|
767
|
-
//#endregion
|
|
768
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/events.d.ts
|
|
769
736
|
interface EventRef<TPayload extends Struct = Struct> {
|
|
770
737
|
readonly extensionId?: string;
|
|
771
738
|
readonly kind: "event";
|
|
@@ -787,8 +754,6 @@ interface ArtifactChangedPayload {
|
|
|
787
754
|
*/
|
|
788
755
|
paths: string[];
|
|
789
756
|
}
|
|
790
|
-
//#endregion
|
|
791
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/renderer-base.d.ts
|
|
792
757
|
/** A raw cross-extension id must be namespaced. Local events use an EventRef. */
|
|
793
758
|
type RendererEventReference = EventRef | `${string}.${string}`;
|
|
794
759
|
interface RendererContributionBase {
|
|
@@ -799,8 +764,6 @@ interface RendererContributionBase {
|
|
|
799
764
|
emptyTitle?: Localizable<string>;
|
|
800
765
|
emptyDescription?: Localizable<string>;
|
|
801
766
|
}
|
|
802
|
-
//#endregion
|
|
803
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/slots.d.ts
|
|
804
767
|
type UiSlotKind = "menu" | "panel" | "settings" | "renderer" | "kanbanRenderer" | "dataTableRenderer";
|
|
805
768
|
interface SlotOptions<TKind extends UiSlotKind = UiSlotKind> {
|
|
806
769
|
kind: TKind;
|
|
@@ -822,8 +785,85 @@ interface SlotInvocationContext<TContext extends Struct = Struct> {
|
|
|
822
785
|
kind: UiSlotKind;
|
|
823
786
|
context: TContext;
|
|
824
787
|
}
|
|
825
|
-
|
|
826
|
-
|
|
788
|
+
/** This device's cloud login. The device credential stays in the native host. */
|
|
789
|
+
interface DeviceLogin {
|
|
790
|
+
managerOrigin: string;
|
|
791
|
+
relayOrigin: string;
|
|
792
|
+
accountId: string;
|
|
793
|
+
deviceId: string;
|
|
794
|
+
/** Verified by the Google sign-in exchange. Older logins may not include it. */
|
|
795
|
+
email?: string;
|
|
796
|
+
}
|
|
797
|
+
interface AccountStatus {
|
|
798
|
+
login: DeviceLogin | null;
|
|
799
|
+
/** Cloud projects of the account. This device syncs the ones that exist on it. */
|
|
800
|
+
cloudProjects: string[];
|
|
801
|
+
/** False until this login's Cloud project list has been read from the account service. */
|
|
802
|
+
cloudProjectsLoaded: boolean;
|
|
803
|
+
}
|
|
804
|
+
interface AccountDevice {
|
|
805
|
+
id: string;
|
|
806
|
+
name: string;
|
|
807
|
+
platform: string;
|
|
808
|
+
createdAt: string;
|
|
809
|
+
lastSeenAt: string;
|
|
810
|
+
/** The account service heard from this device within its presence lease window. */
|
|
811
|
+
online: boolean;
|
|
812
|
+
/** True for the device that answered the request. */
|
|
813
|
+
current: boolean;
|
|
814
|
+
}
|
|
815
|
+
/** A native browser sign-in. Open `url` in a browser on the computer that runs Prompt Studio. */
|
|
816
|
+
interface AccountLogin {
|
|
817
|
+
id: string;
|
|
818
|
+
url: string;
|
|
819
|
+
}
|
|
820
|
+
type AccountLoginStatus = "pending" | "complete" | "failed";
|
|
821
|
+
/**
|
|
822
|
+
* Derived on each read from the local document, asset and relay connection owners. Never stored.
|
|
823
|
+
* `local` means the project does not sync. `offline` only means the Cloud connection is lost.
|
|
824
|
+
*/
|
|
825
|
+
type ProjectSyncState = "local" | "waiting-to-sync" | "synced" | "offline" | "first-download-incomplete" | "needs-attention";
|
|
826
|
+
interface ProjectSyncStatus {
|
|
827
|
+
state: ProjectSyncState;
|
|
828
|
+
/** All known documents and required asset bytes have been verified locally. */
|
|
829
|
+
offlineReady: boolean;
|
|
830
|
+
}
|
|
831
|
+
/**
|
|
832
|
+
* This device's Cloud account, the account's devices, and each project's sync status.
|
|
833
|
+
* Methods that take a project id use the current project when it is omitted.
|
|
834
|
+
* Listen to `accountEvents.projectSyncChanged` for sync status changes.
|
|
835
|
+
*/
|
|
836
|
+
interface ExtensionAccountApi {
|
|
837
|
+
status(): Promise<AccountStatus>;
|
|
838
|
+
/**
|
|
839
|
+
* Starts a native browser sign-in with the given account service. Open `url` in a browser on
|
|
840
|
+
* the computer that runs Prompt Studio, then poll `loginStatus` until it is no longer pending.
|
|
841
|
+
*/
|
|
842
|
+
login(managerOrigin: string): Promise<AccountLogin>;
|
|
843
|
+
loginStatus(id: string): Promise<AccountLoginStatus>;
|
|
844
|
+
/** Cancels a pending sign-in. Returns `complete` when the sign-in had already finished. */
|
|
845
|
+
cancelLogin(id: string): Promise<Exclude<AccountLoginStatus, "pending">>;
|
|
846
|
+
/**
|
|
847
|
+
* Signs this device out. Local data stays. `removed` is false when the account service could
|
|
848
|
+
* not be reached; remove the device from another one later.
|
|
849
|
+
*/
|
|
850
|
+
logout(): Promise<{
|
|
851
|
+
removed: boolean;
|
|
852
|
+
}>;
|
|
853
|
+
/** The account's devices with their presence. `current` marks this device. */
|
|
854
|
+
devices(): Promise<AccountDevice[]>;
|
|
855
|
+
renameDevice(id: string, name: string): Promise<void>;
|
|
856
|
+
/** Stops the device from renewing Cloud access. Removing the current device signs it out. */
|
|
857
|
+
removeDevice(id: string): Promise<void>;
|
|
858
|
+
projectSyncStatus(projectId?: string): Promise<ProjectSyncStatus>;
|
|
859
|
+
/** Syncs the project on every device of the account that has it. */
|
|
860
|
+
syncProject(projectId?: string): Promise<void>;
|
|
861
|
+
/**
|
|
862
|
+
* Makes the project local on every device. Each device keeps its copy and the encrypted
|
|
863
|
+
* Cloud data stays, so syncing again merges the copies.
|
|
864
|
+
*/
|
|
865
|
+
stopProjectSync(projectId?: string): Promise<void>;
|
|
866
|
+
}
|
|
827
867
|
declare const queuedFollowUpSchema: z.ZodObject<{
|
|
828
868
|
queuePosition: z.ZodNumber;
|
|
829
869
|
revision: z.ZodString;
|
|
@@ -924,13 +964,9 @@ declare const queuedSteeringResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
924
964
|
}, z.core.$strip>], "status">;
|
|
925
965
|
type SteerQueuedFollowUpInput = z.infer<typeof steerQueuedFollowUpInputSchema>;
|
|
926
966
|
type QueuedSteeringResult = z.infer<typeof queuedSteeringResultSchema>;
|
|
927
|
-
//#endregion
|
|
928
|
-
//#region ../pstdio-api-contracts/src/session-request-values.d.ts
|
|
929
967
|
declare const sessionAttachmentRefSchema: z.ZodObject<{
|
|
930
968
|
file_id: z.ZodString;
|
|
931
969
|
}, z.core.$strip>;
|
|
932
|
-
//#endregion
|
|
933
|
-
//#region ../pstdio-api-contracts/src/sessions.d.ts
|
|
934
970
|
declare const sessionStatusSchema: z.ZodEnum<{
|
|
935
971
|
awaiting_input: "awaiting_input";
|
|
936
972
|
cancelled: "cancelled";
|
|
@@ -941,6 +977,11 @@ declare const sessionStatusSchema: z.ZodEnum<{
|
|
|
941
977
|
queued: "queued";
|
|
942
978
|
}>;
|
|
943
979
|
declare const sessionSchema: z.ZodObject<{
|
|
980
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
981
|
+
ownerId: z.ZodString;
|
|
982
|
+
id: z.ZodString;
|
|
983
|
+
name: z.ZodString;
|
|
984
|
+
}, z.core.$strip>>;
|
|
944
985
|
id: z.ZodString;
|
|
945
986
|
project_id: z.ZodNullable<z.ZodString>;
|
|
946
987
|
title: z.ZodString;
|
|
@@ -971,6 +1012,11 @@ declare const sessionSchema: z.ZodObject<{
|
|
|
971
1012
|
}, z.core.$strip>>>;
|
|
972
1013
|
workspace_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
973
1014
|
anchors_json: z.ZodArray<z.ZodObject<{
|
|
1015
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
1016
|
+
ownerId: z.ZodString;
|
|
1017
|
+
id: z.ZodString;
|
|
1018
|
+
name: z.ZodString;
|
|
1019
|
+
}, z.core.$strip>>;
|
|
974
1020
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
975
1021
|
type: z.ZodString;
|
|
976
1022
|
id: z.ZodString;
|
|
@@ -984,6 +1030,11 @@ declare const sessionSchema: z.ZodObject<{
|
|
|
984
1030
|
updated_at: z.ZodString;
|
|
985
1031
|
}, z.core.$strip>;
|
|
986
1032
|
declare const sessionDetailsSchema: z.ZodObject<{
|
|
1033
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
1034
|
+
ownerId: z.ZodString;
|
|
1035
|
+
id: z.ZodString;
|
|
1036
|
+
name: z.ZodString;
|
|
1037
|
+
}, z.core.$strip>>;
|
|
987
1038
|
id: z.ZodString;
|
|
988
1039
|
title: z.ZodString;
|
|
989
1040
|
status: z.ZodEnum<{
|
|
@@ -1019,6 +1070,11 @@ declare const sessionDetailsSchema: z.ZodObject<{
|
|
|
1019
1070
|
}, z.core.$strip>;
|
|
1020
1071
|
type SessionDetails = z.infer<typeof sessionDetailsSchema>;
|
|
1021
1072
|
declare const sessionCreateResponseSchema: z.ZodObject<{
|
|
1073
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
1074
|
+
ownerId: z.ZodString;
|
|
1075
|
+
id: z.ZodString;
|
|
1076
|
+
name: z.ZodString;
|
|
1077
|
+
}, z.core.$strip>>;
|
|
1022
1078
|
id: z.ZodString;
|
|
1023
1079
|
title: z.ZodString;
|
|
1024
1080
|
status: z.ZodEnum<{
|
|
@@ -1063,6 +1119,11 @@ declare const sessionCreateResponseSchema: z.ZodObject<{
|
|
|
1063
1119
|
}, z.core.$strip>>>;
|
|
1064
1120
|
workspace_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1065
1121
|
anchors_json: z.ZodArray<z.ZodObject<{
|
|
1122
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
1123
|
+
ownerId: z.ZodString;
|
|
1124
|
+
id: z.ZodString;
|
|
1125
|
+
name: z.ZodString;
|
|
1126
|
+
}, z.core.$strip>>;
|
|
1066
1127
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
1067
1128
|
type: z.ZodString;
|
|
1068
1129
|
id: z.ZodString;
|
|
@@ -1120,6 +1181,11 @@ declare const createSessionInputSchema: z.ZodObject<{
|
|
|
1120
1181
|
agent: z.ZodOptional<z.ZodString>;
|
|
1121
1182
|
workspace_id: z.ZodOptional<z.ZodString>;
|
|
1122
1183
|
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1184
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
1185
|
+
ownerId: z.ZodString;
|
|
1186
|
+
id: z.ZodString;
|
|
1187
|
+
name: z.ZodString;
|
|
1188
|
+
}, z.core.$strip>>;
|
|
1123
1189
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
1124
1190
|
type: z.ZodString;
|
|
1125
1191
|
id: z.ZodString;
|
|
@@ -1471,6 +1537,11 @@ declare const sessionConversationSourcesSchema: z.ZodObject<{
|
|
|
1471
1537
|
type SessionConversationSources = z.infer<typeof sessionConversationSourcesSchema>;
|
|
1472
1538
|
declare const sessionConversationResponseSchema: z.ZodObject<{
|
|
1473
1539
|
session: z.ZodObject<{
|
|
1540
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
1541
|
+
ownerId: z.ZodString;
|
|
1542
|
+
id: z.ZodString;
|
|
1543
|
+
name: z.ZodString;
|
|
1544
|
+
}, z.core.$strip>>;
|
|
1474
1545
|
id: z.ZodString;
|
|
1475
1546
|
project_id: z.ZodNullable<z.ZodString>;
|
|
1476
1547
|
title: z.ZodString;
|
|
@@ -1501,6 +1572,11 @@ declare const sessionConversationResponseSchema: z.ZodObject<{
|
|
|
1501
1572
|
}, z.core.$strip>>>;
|
|
1502
1573
|
workspace_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1503
1574
|
anchors_json: z.ZodArray<z.ZodObject<{
|
|
1575
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
1576
|
+
ownerId: z.ZodString;
|
|
1577
|
+
id: z.ZodString;
|
|
1578
|
+
name: z.ZodString;
|
|
1579
|
+
}, z.core.$strip>>;
|
|
1504
1580
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
1505
1581
|
type: z.ZodString;
|
|
1506
1582
|
id: z.ZodString;
|
|
@@ -1679,6 +1755,11 @@ declare const sessionCreateRequestSchema: z.ZodObject<{
|
|
|
1679
1755
|
}, z.core.$strict>], "kind">>;
|
|
1680
1756
|
agent: z.ZodOptional<z.ZodString>;
|
|
1681
1757
|
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1758
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
1759
|
+
ownerId: z.ZodString;
|
|
1760
|
+
id: z.ZodString;
|
|
1761
|
+
name: z.ZodString;
|
|
1762
|
+
}, z.core.$strip>>;
|
|
1682
1763
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
1683
1764
|
type: z.ZodString;
|
|
1684
1765
|
id: z.ZodString;
|
|
@@ -1740,6 +1821,11 @@ declare const sessionFollowUpDecisionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1740
1821
|
}, z.core.$strip>]>;
|
|
1741
1822
|
type SessionFollowUpDecision = z.infer<typeof sessionFollowUpDecisionSchema>;
|
|
1742
1823
|
declare const sessionFollowUpResponseSchema: z.ZodObject<{
|
|
1824
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
1825
|
+
ownerId: z.ZodString;
|
|
1826
|
+
id: z.ZodString;
|
|
1827
|
+
name: z.ZodString;
|
|
1828
|
+
}, z.core.$strip>>;
|
|
1743
1829
|
id: z.ZodString;
|
|
1744
1830
|
title: z.ZodString;
|
|
1745
1831
|
status: z.ZodEnum<{
|
|
@@ -1784,6 +1870,11 @@ declare const sessionFollowUpResponseSchema: z.ZodObject<{
|
|
|
1784
1870
|
}, z.core.$strip>>>;
|
|
1785
1871
|
workspace_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1786
1872
|
anchors_json: z.ZodArray<z.ZodObject<{
|
|
1873
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
1874
|
+
ownerId: z.ZodString;
|
|
1875
|
+
id: z.ZodString;
|
|
1876
|
+
name: z.ZodString;
|
|
1877
|
+
}, z.core.$strip>>;
|
|
1787
1878
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
1788
1879
|
type: z.ZodString;
|
|
1789
1880
|
id: z.ZodString;
|
|
@@ -1813,8 +1904,6 @@ declare const sessionFollowUpResponseSchema: z.ZodObject<{
|
|
|
1813
1904
|
}, z.core.$strip>]>;
|
|
1814
1905
|
}, z.core.$strip>;
|
|
1815
1906
|
type SessionFollowUpResponse = z.infer<typeof sessionFollowUpResponseSchema>;
|
|
1816
|
-
//#endregion
|
|
1817
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/sessions.d.ts
|
|
1818
1907
|
type SessionExitCause = "completed" | "user_stop" | "request_aborted" | "worker_lost" | "host_shutdown" | "timeout" | "failed" | "unknown";
|
|
1819
1908
|
interface SessionRunSnapshot {
|
|
1820
1909
|
status: string;
|
|
@@ -1837,6 +1926,12 @@ interface ExtensionSessionUsage {
|
|
|
1837
1926
|
cache_write_tokens: number;
|
|
1838
1927
|
}
|
|
1839
1928
|
interface ExtensionSession {
|
|
1929
|
+
/** The device that owns execution. Present on synced personal sessions. */
|
|
1930
|
+
device?: {
|
|
1931
|
+
ownerId: string;
|
|
1932
|
+
id: string;
|
|
1933
|
+
name: string;
|
|
1934
|
+
};
|
|
1840
1935
|
id: string;
|
|
1841
1936
|
title: string;
|
|
1842
1937
|
status: SessionStatus;
|
|
@@ -1951,12 +2046,51 @@ interface ExtensionHarnessInput {
|
|
|
1951
2046
|
/** Run params the harness declares for the model, such as reasoning effort. They override the project's defaults. */
|
|
1952
2047
|
params?: Record<string, string | boolean>;
|
|
1953
2048
|
}
|
|
1954
|
-
|
|
1955
|
-
|
|
2049
|
+
/** One atomic set of fields. An empty path replaces the root object. */
|
|
2050
|
+
interface WebviewEditingChange {
|
|
2051
|
+
path: string[];
|
|
2052
|
+
value: JsonValue;
|
|
2053
|
+
}
|
|
2054
|
+
interface WebviewEditingSnapshot {
|
|
2055
|
+
value: JsonObject;
|
|
2056
|
+
/** Changes for every preview, commit, cancellation, refresh, or acknowledgement. */
|
|
2057
|
+
version: number;
|
|
2058
|
+
/** Latest committed local edit. Preview changes do not increment this revision. */
|
|
2059
|
+
revision: number;
|
|
2060
|
+
/** Latest local revision acknowledged by the save command. */
|
|
2061
|
+
savedRevision: number;
|
|
2062
|
+
}
|
|
2063
|
+
type WebviewEditingSessionParams = {
|
|
2064
|
+
operation: "open";
|
|
2065
|
+
sessionId: string;
|
|
2066
|
+
key: string;
|
|
2067
|
+
initial: JsonObject;
|
|
2068
|
+
/** Receives `params` plus the coalesced `changes` array. Must belong to the caller. */
|
|
2069
|
+
save: Pick<WebviewCommandsExecuteParams, "commandId" | "params">;
|
|
2070
|
+
} | {
|
|
2071
|
+
operation: "commit" | "preview";
|
|
2072
|
+
sessionId: string;
|
|
2073
|
+
sequence: number;
|
|
2074
|
+
changes: WebviewEditingChange[];
|
|
2075
|
+
} | {
|
|
2076
|
+
operation: "cancel" | "close" | "save";
|
|
2077
|
+
sessionId: string;
|
|
2078
|
+
} | {
|
|
2079
|
+
operation: "refresh";
|
|
2080
|
+
sessionId: string;
|
|
2081
|
+
expectedVersion: number;
|
|
2082
|
+
value: JsonObject;
|
|
2083
|
+
};
|
|
2084
|
+
interface WebviewEditingSessionEvent {
|
|
2085
|
+
sessionId: string;
|
|
2086
|
+
snapshot: WebviewEditingSnapshot;
|
|
2087
|
+
/** Present only for the caller whose local changes this event accepts. */
|
|
2088
|
+
appliedSequence?: number;
|
|
2089
|
+
}
|
|
1956
2090
|
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"];
|
|
2091
|
+
declare const WEBVIEW_DECLARABLE_CAPABILITIES$1: readonly ["clipboard.write", "commands.execute", "commands.stream", "editing.session", "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", "account.read", "account.manage"];
|
|
1958
2092
|
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"];
|
|
2093
|
+
declare const WEBVIEW_HOST_CAPABILITIES$1: readonly [...("account.manage" | "account.read" | "commands.execute" | "commands.stream" | "editing.session" | "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
2094
|
type WebviewHostCapability = (typeof WEBVIEW_HOST_CAPABILITIES$1)[number];
|
|
1961
2095
|
type WebviewDeclarableCapability = (typeof WEBVIEW_DECLARABLE_CAPABILITIES$1)[number];
|
|
1962
2096
|
type WebviewScopedDeclarableCapability = (typeof WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES$1)[number];
|
|
@@ -2069,6 +2203,44 @@ interface WebviewArtifactFile {
|
|
|
2069
2203
|
size: number;
|
|
2070
2204
|
mediaType: string;
|
|
2071
2205
|
}
|
|
2206
|
+
/** Reads mirror `ctx.account`. A missing project id means the webview's project. */
|
|
2207
|
+
type WebviewAccountReadParams = {
|
|
2208
|
+
op: "status";
|
|
2209
|
+
} | {
|
|
2210
|
+
op: "loginStatus";
|
|
2211
|
+
id: string;
|
|
2212
|
+
} | {
|
|
2213
|
+
op: "devices";
|
|
2214
|
+
} | {
|
|
2215
|
+
op: "projectSyncStatus";
|
|
2216
|
+
projectId?: string;
|
|
2217
|
+
};
|
|
2218
|
+
/** Changes mirror `ctx.account`. A missing project id means the webview's project. */
|
|
2219
|
+
type WebviewAccountManageParams = {
|
|
2220
|
+
op: "login";
|
|
2221
|
+
managerOrigin: string;
|
|
2222
|
+
} | {
|
|
2223
|
+
op: "cancelLogin";
|
|
2224
|
+
id: string;
|
|
2225
|
+
} | {
|
|
2226
|
+
op: "logout";
|
|
2227
|
+
} | {
|
|
2228
|
+
op: "renameDevice";
|
|
2229
|
+
id: string;
|
|
2230
|
+
name: string;
|
|
2231
|
+
} | {
|
|
2232
|
+
op: "removeDevice";
|
|
2233
|
+
id: string;
|
|
2234
|
+
} | {
|
|
2235
|
+
op: "syncProject";
|
|
2236
|
+
projectId?: string;
|
|
2237
|
+
} | {
|
|
2238
|
+
op: "stopProjectSync";
|
|
2239
|
+
projectId?: string;
|
|
2240
|
+
};
|
|
2241
|
+
type WebviewAccountResult<Params extends {
|
|
2242
|
+
op: keyof ExtensionAccountApi;
|
|
2243
|
+
}> = Awaited<ReturnType<ExtensionAccountApi[Params["op"]]>>;
|
|
2072
2244
|
interface WebviewKeyboardEventParams {
|
|
2073
2245
|
key?: string;
|
|
2074
2246
|
code?: string;
|
|
@@ -2093,6 +2265,7 @@ interface WebviewHostCapabilityParams {
|
|
|
2093
2265
|
};
|
|
2094
2266
|
"commands.execute": WebviewCommandsExecuteParams;
|
|
2095
2267
|
"commands.stream": WebviewCommandsStreamParams;
|
|
2268
|
+
"editing.session": WebviewEditingSessionParams;
|
|
2096
2269
|
"page.params.update": WebviewPageParamsUpdateParams;
|
|
2097
2270
|
"navigation.open": WebviewNavigationOpenParams;
|
|
2098
2271
|
"placement.close": Record<string, never>;
|
|
@@ -2117,6 +2290,8 @@ interface WebviewHostCapabilityParams {
|
|
|
2117
2290
|
/** @deprecated Use extension commands and owned storage. */
|
|
2118
2291
|
"files.delete": WebviewFilesDeleteParams;
|
|
2119
2292
|
"artifacts.read": WebviewArtifactsReadParams;
|
|
2293
|
+
"account.read": WebviewAccountReadParams;
|
|
2294
|
+
"account.manage": WebviewAccountManageParams;
|
|
2120
2295
|
"host.dispatchKeyboardEvent": WebviewKeyboardEventParams;
|
|
2121
2296
|
}
|
|
2122
2297
|
interface WebviewHostCapabilityResults {
|
|
@@ -2135,6 +2310,7 @@ interface WebviewHostCapabilityResults {
|
|
|
2135
2310
|
operation: "start" | "cancel" | "ack";
|
|
2136
2311
|
accepted: true;
|
|
2137
2312
|
};
|
|
2313
|
+
"editing.session": WebviewEditingSnapshot | undefined;
|
|
2138
2314
|
"page.params.update": {
|
|
2139
2315
|
location: PageLocation;
|
|
2140
2316
|
};
|
|
@@ -2175,6 +2351,8 @@ interface WebviewHostCapabilityResults {
|
|
|
2175
2351
|
/** @deprecated Use extension commands and owned storage. */
|
|
2176
2352
|
"files.delete": void;
|
|
2177
2353
|
"artifacts.read": WebviewArtifactFile[] | string;
|
|
2354
|
+
"account.read": WebviewAccountResult<WebviewAccountReadParams>;
|
|
2355
|
+
"account.manage": WebviewAccountResult<WebviewAccountManageParams>;
|
|
2178
2356
|
"host.dispatchKeyboardEvent": void;
|
|
2179
2357
|
}
|
|
2180
2358
|
interface WebviewResourceAction {
|
|
@@ -2194,7 +2372,9 @@ interface WebviewResourceAction {
|
|
|
2194
2372
|
label?: string;
|
|
2195
2373
|
};
|
|
2196
2374
|
}
|
|
2197
|
-
type WebviewHostCapabilityResult<Capability extends WebviewHostCapability, Params extends WebviewHostCapabilityParams[Capability] = WebviewHostCapabilityParams[Capability]> = Capability extends "
|
|
2375
|
+
type WebviewHostCapabilityResult<Capability extends WebviewHostCapability, Params extends WebviewHostCapabilityParams[Capability] = WebviewHostCapabilityParams[Capability]> = Capability extends "account.read" | "account.manage" ? Params extends {
|
|
2376
|
+
op: keyof ExtensionAccountApi;
|
|
2377
|
+
} ? WebviewAccountResult<Params> : WebviewHostCapabilityResults[Capability] : Capability extends "artifacts.read" ? Params extends {
|
|
2198
2378
|
op: "list";
|
|
2199
2379
|
} ? WebviewArtifactFile[] : Params extends {
|
|
2200
2380
|
op: "readText" | "imageUrl";
|
|
@@ -2207,8 +2387,6 @@ type WebviewHostCapabilityResult<Capability extends WebviewHostCapability, Param
|
|
|
2207
2387
|
} ? Exclude<TerminalSessionResult, {
|
|
2208
2388
|
operation: "open";
|
|
2209
2389
|
}> : TerminalSessionResult : WebviewHostCapabilityResults[Capability];
|
|
2210
|
-
//#endregion
|
|
2211
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/view-toolbar-action.d.ts
|
|
2212
2390
|
interface ViewToolbarAction<TParams extends Struct = Struct> {
|
|
2213
2391
|
id: string;
|
|
2214
2392
|
label: Localizable<string>;
|
|
@@ -2221,8 +2399,6 @@ interface ViewToolbarAction<TParams extends Struct = Struct> {
|
|
|
2221
2399
|
when?: string;
|
|
2222
2400
|
disabled?: boolean;
|
|
2223
2401
|
}
|
|
2224
|
-
//#endregion
|
|
2225
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/kanban-renderer.d.ts
|
|
2226
2402
|
type KanbanRendererViewMode = "board" | "list";
|
|
2227
2403
|
type KanbanRendererSortDirection = "asc" | "desc";
|
|
2228
2404
|
interface KanbanRendererEnumOption {
|
|
@@ -2389,8 +2565,6 @@ interface KanbanRendererContribution extends RendererContributionBase {
|
|
|
2389
2565
|
defaultActiveViewId?: string;
|
|
2390
2566
|
hideToolbar?: boolean;
|
|
2391
2567
|
}
|
|
2392
|
-
//#endregion
|
|
2393
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/contributions.d.ts
|
|
2394
2568
|
interface CliContribution {
|
|
2395
2569
|
path?: string[];
|
|
2396
2570
|
globalAliases?: string[][];
|
|
@@ -2605,8 +2779,6 @@ interface KeybindingContribution extends ContributionDefinition<"keybinding"> {
|
|
|
2605
2779
|
/** Optional gating predicate. The host evaluates it at dispatch time. */
|
|
2606
2780
|
when?: WhenExpression;
|
|
2607
2781
|
}
|
|
2608
|
-
//#endregion
|
|
2609
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/control-declarations.d.ts
|
|
2610
2782
|
type HarnessControlValue = Pick<ExtensionHarnessInput, keyof ExtensionHarnessInput>;
|
|
2611
2783
|
/** The host supplies the same harness, model and option picker used by command forms. */
|
|
2612
2784
|
interface HarnessControl extends BaseControl {
|
|
@@ -2806,8 +2978,6 @@ interface ControlGroup {
|
|
|
2806
2978
|
}
|
|
2807
2979
|
type ControlValue = number | string | boolean | null | string[] | RangeValue | VectorValue | HarnessControlValue;
|
|
2808
2980
|
type ControlValueMap = Record<string, ControlValue>;
|
|
2809
|
-
//#endregion
|
|
2810
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/controls.d.ts
|
|
2811
2981
|
type ControlsResourceRef = ResourceRef;
|
|
2812
2982
|
interface ControlsQueryParams {
|
|
2813
2983
|
renderer: RendererContext;
|
|
@@ -2840,8 +3010,6 @@ interface ControlsRendererContribution extends RendererContributionBase {
|
|
|
2840
3010
|
onReset?: RendererCallback<ControlsResetInput, unknown>;
|
|
2841
3011
|
defaultValues?: ControlValueMap;
|
|
2842
3012
|
}
|
|
2843
|
-
//#endregion
|
|
2844
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/data-table-renderer.d.ts
|
|
2845
3013
|
type DataTableRendererResourceRef = ResourceRef;
|
|
2846
3014
|
/** Display settings stored in a data table view. */
|
|
2847
3015
|
interface DataTableRendererSettings {
|
|
@@ -2960,8 +3128,6 @@ interface DataTableRendererContribution extends RendererContributionBase {
|
|
|
2960
3128
|
defaultViews?: DataTableRendererSavedView[];
|
|
2961
3129
|
defaultActiveViewId?: string;
|
|
2962
3130
|
}
|
|
2963
|
-
//#endregion
|
|
2964
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/tree-renderer.d.ts
|
|
2965
3131
|
type TreeRendererResourceRef = ResourceRef;
|
|
2966
3132
|
interface TreeRendererState {
|
|
2967
3133
|
expandedNodeIds: string[];
|
|
@@ -3077,8 +3243,6 @@ interface TreeRendererContribution extends RendererContributionBase {
|
|
|
3077
3243
|
defaultExpandedNodeIds?: string[];
|
|
3078
3244
|
}
|
|
3079
3245
|
type TreeRendererCommandResult = TreeViewSection[] | TreeNode[] | JsonValue;
|
|
3080
|
-
//#endregion
|
|
3081
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/views.d.ts
|
|
3082
3246
|
type NativeViewBody<Kind extends string, Definition> = {
|
|
3083
3247
|
readonly kind: Kind;
|
|
3084
3248
|
readonly resourceKind?: ResourceKindRef;
|
|
@@ -3182,8 +3346,6 @@ interface ViewMenuContribution extends ContributionDefinition<"view-menu"> {
|
|
|
3182
3346
|
readonly hostTreeHeader?: "default" | "none";
|
|
3183
3347
|
readonly hostTreeFooter?: "default" | "none";
|
|
3184
3348
|
}
|
|
3185
|
-
//#endregion
|
|
3186
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/pages.d.ts
|
|
3187
3349
|
type PageParamValue = string | number | boolean | readonly string[];
|
|
3188
3350
|
type PageParamDefinition = {
|
|
3189
3351
|
readonly type: "string";
|
|
@@ -3276,8 +3438,6 @@ interface PageLocation {
|
|
|
3276
3438
|
readonly params?: PageParams;
|
|
3277
3439
|
readonly parent?: PageLocation;
|
|
3278
3440
|
}
|
|
3279
|
-
//#endregion
|
|
3280
|
-
//#region ../pstdio-api-contracts/src/pagination.d.ts
|
|
3281
3441
|
declare const pageQuerySchema: z.ZodObject<{
|
|
3282
3442
|
cursor: z.ZodOptional<z.ZodString>;
|
|
3283
3443
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -3287,8 +3447,6 @@ interface Page<T> {
|
|
|
3287
3447
|
items: T[];
|
|
3288
3448
|
nextCursor: string | null;
|
|
3289
3449
|
}
|
|
3290
|
-
//#endregion
|
|
3291
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/resources.d.ts
|
|
3292
3450
|
interface ResourceResolution {
|
|
3293
3451
|
resource: ResourceRef;
|
|
3294
3452
|
target?: Extract<NavigationTarget, {
|
|
@@ -3306,6 +3464,12 @@ interface RelatedResourceOpening {
|
|
|
3306
3464
|
type RelatedResourceOpenings = readonly RelatedResourceOpening[];
|
|
3307
3465
|
type ResourceRole = "primary" | "context" | "source" | "result";
|
|
3308
3466
|
interface ResourceRef {
|
|
3467
|
+
/** Personal session/workspace ownership. Other users can see this pointer only. */
|
|
3468
|
+
device?: {
|
|
3469
|
+
ownerId: string;
|
|
3470
|
+
id: string;
|
|
3471
|
+
name: string;
|
|
3472
|
+
};
|
|
3309
3473
|
type: string;
|
|
3310
3474
|
id: string;
|
|
3311
3475
|
shorthand?: string;
|
|
@@ -3417,8 +3581,6 @@ interface PackageAssetDescriptor {
|
|
|
3417
3581
|
path: string;
|
|
3418
3582
|
baseUrl: string;
|
|
3419
3583
|
}
|
|
3420
|
-
//#endregion
|
|
3421
|
-
//#region ../pstdio-api-contracts/src/notifications/types.d.ts
|
|
3422
3584
|
type NotificationKind$1 = "needs_review" | "ready_to_merge" | "blocked" | "approval_required" | "failed" | "info";
|
|
3423
3585
|
type NotificationStatus$1 = "open" | "read" | "snoozed" | "done" | "dismissed" | "expired";
|
|
3424
3586
|
type NotificationFinalStatus = "done" | "dismissed";
|
|
@@ -3511,8 +3673,6 @@ interface ListNotificationsResponse$1 {
|
|
|
3511
3673
|
items: Notification$1[];
|
|
3512
3674
|
nextCursor?: string | null;
|
|
3513
3675
|
}
|
|
3514
|
-
//#endregion
|
|
3515
|
-
//#region ../pstdio-api-contracts/src/skills.d.ts
|
|
3516
3676
|
declare const skillFileSchema: z.ZodObject<{
|
|
3517
3677
|
path: z.ZodString;
|
|
3518
3678
|
content: z.ZodString;
|
|
@@ -3667,8 +3827,6 @@ declare const skillWithContentDetailsSchema: z.ZodObject<{
|
|
|
3667
3827
|
}, z.core.$strip>;
|
|
3668
3828
|
type SkillDetails = z.infer<typeof skillDetailsSchema>;
|
|
3669
3829
|
type SkillWithContentDetails = z.infer<typeof skillWithContentDetailsSchema>;
|
|
3670
|
-
//#endregion
|
|
3671
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/automation.d.ts
|
|
3672
3830
|
interface ExtensionAutomationApi {
|
|
3673
3831
|
/** Enqueue a command owned by this extension and declared automation: true. */
|
|
3674
3832
|
enqueue(input: {
|
|
@@ -3683,8 +3841,6 @@ interface ExtensionAutomationApi {
|
|
|
3683
3841
|
}): Promise<AutomationRun[]>;
|
|
3684
3842
|
cancel(runId: string): Promise<AutomationRun>;
|
|
3685
3843
|
}
|
|
3686
|
-
//#endregion
|
|
3687
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/connections.d.ts
|
|
3688
3844
|
type ExtensionConnectionMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
3689
3845
|
interface ExtensionConnectionRequest {
|
|
3690
3846
|
method: ExtensionConnectionMethod;
|
|
@@ -3718,8 +3874,6 @@ interface ExtensionLoggerApi {
|
|
|
3718
3874
|
warn(message: string, metadata?: JsonObject): void;
|
|
3719
3875
|
error(message: string, metadata?: JsonObject): void;
|
|
3720
3876
|
}
|
|
3721
|
-
//#endregion
|
|
3722
|
-
//#region ../pstdio-api-contracts/src/board-views.d.ts
|
|
3723
3877
|
declare const boardFieldSchema: z.ZodObject<{
|
|
3724
3878
|
id: z.ZodString;
|
|
3725
3879
|
label: z.ZodString;
|
|
@@ -4185,8 +4339,6 @@ type BoardView = z.infer<typeof boardViewSchema>;
|
|
|
4185
4339
|
type BoardViews = z.infer<typeof boardViewsSchema>;
|
|
4186
4340
|
type BoardViewCreate = z.infer<typeof boardViewCreateSchema>;
|
|
4187
4341
|
type BoardViewUpdate = z.infer<typeof boardViewUpdateSchema>;
|
|
4188
|
-
//#endregion
|
|
4189
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/saved-views.d.ts
|
|
4190
4342
|
/** Project saved views of native boards and tables, shared with the dashboard and CLI. */
|
|
4191
4343
|
interface ExtensionViewsApi {
|
|
4192
4344
|
list(board: ViewRef): Promise<BoardViews>;
|
|
@@ -4198,8 +4350,6 @@ interface ExtensionViewsApi {
|
|
|
4198
4350
|
reorder(board: ViewRef, ids: string[]): Promise<BoardViews>;
|
|
4199
4351
|
setDefault(board: ViewRef, id: string | null): Promise<BoardViews>;
|
|
4200
4352
|
}
|
|
4201
|
-
//#endregion
|
|
4202
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/assets.d.ts
|
|
4203
4353
|
/** Immutable bytes that records refer to. */
|
|
4204
4354
|
interface ExtensionAssetsApi {
|
|
4205
4355
|
/** Reuse the operation identity and the same source to resume after interruption. */
|
|
@@ -4214,28 +4364,20 @@ interface ExtensionAssetsApi {
|
|
|
4214
4364
|
/** Verify that the bytes are complete before a record refers to them. */
|
|
4215
4365
|
verifyComplete(assets: AssetReference$1[]): Promise<void>;
|
|
4216
4366
|
}
|
|
4217
|
-
//#endregion
|
|
4218
|
-
//#region ../pstdio-sync-contracts/src/json.d.ts
|
|
4219
4367
|
type Json = string | number | boolean | null | Json[] | {
|
|
4220
4368
|
[key: string]: Json;
|
|
4221
4369
|
};
|
|
4222
|
-
//#endregion
|
|
4223
|
-
//#region ../pstdio-sync-contracts/src/state.d.ts
|
|
4224
4370
|
declare const checkpointSchema: z.ZodObject<{
|
|
4225
4371
|
epoch: z.ZodString;
|
|
4226
4372
|
sequence: z.ZodNumber;
|
|
4227
4373
|
}, z.core.$strict>;
|
|
4228
4374
|
type Checkpoint = z.infer<typeof checkpointSchema>;
|
|
4229
|
-
//#endregion
|
|
4230
|
-
//#region ../pstdio-sync-contracts/src/wire.d.ts
|
|
4231
4375
|
declare const assetSchema: z.ZodObject<{
|
|
4232
4376
|
sha256: z.ZodString;
|
|
4233
4377
|
byteLength: z.ZodNumber;
|
|
4234
4378
|
mediaType: z.ZodString;
|
|
4235
4379
|
}, z.core.$strict>;
|
|
4236
4380
|
type Asset = z.infer<typeof assetSchema>;
|
|
4237
|
-
//#endregion
|
|
4238
|
-
//#region ../pstdio-sync-contracts/src/authoring.d.ts
|
|
4239
4381
|
type SharedEdit = {
|
|
4240
4382
|
kind: "text.insert";
|
|
4241
4383
|
index: number;
|
|
@@ -4367,8 +4509,6 @@ type StorageSaveOutcome = {
|
|
|
4367
4509
|
/** @deprecated Conflicts go away because edits merge. */
|
|
4368
4510
|
conflictRevision: number;
|
|
4369
4511
|
});
|
|
4370
|
-
//#endregion
|
|
4371
|
-
//#region ../pstdio-sync-contracts/src/identity.d.ts
|
|
4372
4512
|
declare const environmentIdentitySchema: z.ZodObject<{
|
|
4373
4513
|
environmentId: z.ZodString;
|
|
4374
4514
|
}, z.core.$strict>;
|
|
@@ -4379,8 +4519,6 @@ declare const environmentTargetSchema: z.ZodObject<{
|
|
|
4379
4519
|
}, z.core.$strict>;
|
|
4380
4520
|
type EnvironmentIdentity = z.infer<typeof environmentIdentitySchema>;
|
|
4381
4521
|
type EnvironmentTarget = z.infer<typeof environmentTargetSchema>;
|
|
4382
|
-
//#endregion
|
|
4383
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/storage-records.d.ts
|
|
4384
4522
|
/** One extension's shared content within the current workbench. All methods use complete record addresses. */
|
|
4385
4523
|
interface ExtensionRecordsApi {
|
|
4386
4524
|
/** Stable complete record address for a key in the selected legacy storage scope. */
|
|
@@ -4402,8 +4540,6 @@ interface ExtensionRecordsApi {
|
|
|
4402
4540
|
/** @deprecated Conflicts go away because edits merge. Save the chosen values with `commit`. */
|
|
4403
4541
|
resolve(proposal: StorageResolution): Promise<StorageSaveOutcome>;
|
|
4404
4542
|
}
|
|
4405
|
-
//#endregion
|
|
4406
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/storage.d.ts
|
|
4407
4543
|
/** @deprecated Use storage.records with stable record IDs and grouped commits. */
|
|
4408
4544
|
interface ExtensionStorageCollectionApi<TItem = unknown> {
|
|
4409
4545
|
get(id: string): Promise<TItem | undefined>;
|
|
@@ -4486,8 +4622,6 @@ interface ExtensionBlobsApi {
|
|
|
4486
4622
|
delete(id: string): Promise<void>;
|
|
4487
4623
|
urlFor(id: string): string;
|
|
4488
4624
|
}
|
|
4489
|
-
//#endregion
|
|
4490
|
-
//#region ../pstdio-api-contracts/src/harness.d.ts
|
|
4491
4625
|
type JsonPatch = {
|
|
4492
4626
|
op: "add" | "replace" | "remove";
|
|
4493
4627
|
path: string;
|
|
@@ -4653,8 +4787,6 @@ type HarnessSteeringResult = {
|
|
|
4653
4787
|
status: "uncertain";
|
|
4654
4788
|
reason: string;
|
|
4655
4789
|
};
|
|
4656
|
-
//#endregion
|
|
4657
|
-
//#region ../pstdio-api-contracts/src/harness-commands.d.ts
|
|
4658
4790
|
declare const harnessCommandStateSchema: z.ZodObject<{
|
|
4659
4791
|
commands: z.ZodArray<z.ZodObject<{
|
|
4660
4792
|
name: z.ZodString;
|
|
@@ -4753,8 +4885,6 @@ type PreparedHarnessOperation = {
|
|
|
4753
4885
|
signal?: AbortSignal;
|
|
4754
4886
|
}): Promise<HarnessOperationResult>;
|
|
4755
4887
|
};
|
|
4756
|
-
//#endregion
|
|
4757
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/harness.d.ts
|
|
4758
4888
|
/**
|
|
4759
4889
|
* Host context a harness runs against. A structural subset of ExtensionContextBase,
|
|
4760
4890
|
* so richer host APIs can be passed without a contract change.
|
|
@@ -4846,16 +4976,12 @@ interface HarnessProvider extends ContributionDefinition<"harness"> {
|
|
|
4846
4976
|
*/
|
|
4847
4977
|
dispose?(ctx: HarnessContext): MaybePromise<void>;
|
|
4848
4978
|
}
|
|
4849
|
-
//#endregion
|
|
4850
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/status-bar.d.ts
|
|
4851
4979
|
interface StatusBarItemContribution extends ContributionDefinition<"status-bar-item"> {
|
|
4852
4980
|
readonly view: ViewRef;
|
|
4853
4981
|
readonly slot: StatusBarSlotRef;
|
|
4854
4982
|
readonly order?: number;
|
|
4855
4983
|
readonly when?: WhenExpression;
|
|
4856
4984
|
}
|
|
4857
|
-
//#endregion
|
|
4858
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/extension.d.ts
|
|
4859
4985
|
/** Current host extension API version. `engines.pstdio` declares caret ranges, such as `^0.1.0`. */
|
|
4860
4986
|
declare const EXTENSION_API_VERSION = "0.2.1";
|
|
4861
4987
|
type SchemaParams<TSchema extends ParamObjectSchema | undefined> = TSchema extends ParamObjectSchema ? ParamsOf<TSchema> : Record<string, never>;
|
|
@@ -5078,9 +5204,13 @@ interface ExtensionDefinition extends UiContributions, BehaviourContributions, A
|
|
|
5078
5204
|
settings?: ExtensionSettingsContribution;
|
|
5079
5205
|
}
|
|
5080
5206
|
type ExtensionSourceKind = "local_path" | "git" | "registry";
|
|
5081
|
-
//#endregion
|
|
5082
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/workspaces.d.ts
|
|
5083
5207
|
interface ExtensionWorkspace {
|
|
5208
|
+
/** The device that owns this personal workspace. */
|
|
5209
|
+
device?: {
|
|
5210
|
+
ownerId: string;
|
|
5211
|
+
id: string;
|
|
5212
|
+
name: string;
|
|
5213
|
+
};
|
|
5084
5214
|
id: string;
|
|
5085
5215
|
name?: string;
|
|
5086
5216
|
projectId?: string;
|
|
@@ -5177,8 +5307,6 @@ interface CreateWorkspaceCommandParams {
|
|
|
5177
5307
|
/** Identifier prefix: starts with a letter or number; letters, numbers, hyphens, and underscores only. */
|
|
5178
5308
|
shorthand_base?: string;
|
|
5179
5309
|
}
|
|
5180
|
-
//#endregion
|
|
5181
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/context.d.ts
|
|
5182
5310
|
interface ArtifactFile {
|
|
5183
5311
|
path: string;
|
|
5184
5312
|
size?: number;
|
|
@@ -5349,6 +5477,8 @@ interface ExtensionContextBase<TSettings extends Record<string, unknown> = Recor
|
|
|
5349
5477
|
connections: ExtensionConnectionsApi;
|
|
5350
5478
|
logger: ExtensionLoggerApi;
|
|
5351
5479
|
settings: ExtensionSettingsApi<TSettings>;
|
|
5480
|
+
/** This device's Cloud account, its devices and each project's sync status. */
|
|
5481
|
+
account: ExtensionAccountApi;
|
|
5352
5482
|
}
|
|
5353
5483
|
interface CommandStreamWriter<TChunk extends JsonValue = JsonValue> {
|
|
5354
5484
|
/** Waits for the reader. Ordinary command calls discard chunks. */
|
|
@@ -5382,8 +5512,6 @@ interface EventContext extends ExtensionContextBase {
|
|
|
5382
5512
|
}
|
|
5383
5513
|
type SetupContext = ExtensionContextBase;
|
|
5384
5514
|
type MigrationContext = ExtensionContextBase;
|
|
5385
|
-
//#endregion
|
|
5386
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/file-renderer.d.ts
|
|
5387
5515
|
type FileRendererResourceRef = ResourceRef;
|
|
5388
5516
|
interface FileRendererSectionAnchor {
|
|
5389
5517
|
/** Stable extension-owned tree node id. */
|
|
@@ -5424,8 +5552,6 @@ interface FileRendererContribution extends RendererContributionBase {
|
|
|
5424
5552
|
load: RendererCallback<FileRendererLoadParams, FileRendererLoadResult>;
|
|
5425
5553
|
save?: RendererCallback<FileRendererSaveParams, unknown>;
|
|
5426
5554
|
}
|
|
5427
|
-
//#endregion
|
|
5428
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/navigation-target.d.ts
|
|
5429
5555
|
interface NavigationTargetPage {
|
|
5430
5556
|
kind: "page";
|
|
5431
5557
|
page: PageRef;
|
|
@@ -5456,8 +5582,6 @@ interface NavigationTargetCompound {
|
|
|
5456
5582
|
targets: readonly (NavigationTargetPage | NavigationTargetPanel)[];
|
|
5457
5583
|
}
|
|
5458
5584
|
type NavigationTarget = NavigationTargetItem | NavigationTargetCompound;
|
|
5459
|
-
//#endregion
|
|
5460
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/commands.d.ts
|
|
5461
5585
|
type CommandSource = "cli" | "dashboard" | "api" | "schedule" | "event" | "automation" | "command-panel";
|
|
5462
5586
|
interface CommandRef<TParams extends Struct = Struct, TResult = unknown> extends ContributionRef<"command"> {
|
|
5463
5587
|
params?: TParams;
|
|
@@ -5575,8 +5699,6 @@ interface CommandFailedEvent<TParams extends Struct = Struct> extends CommandReq
|
|
|
5575
5699
|
}
|
|
5576
5700
|
type CommandLifecyclePhase = "requested" | "started" | "completed" | "rejected" | "failed";
|
|
5577
5701
|
type CommandLifecycleEventPayload<TPhase extends CommandLifecyclePhase, TParams extends Struct = Struct, TResult = unknown> = TPhase extends "requested" ? CommandRequestedEvent<TParams> : TPhase extends "started" ? CommandStartedEvent<TParams> : TPhase extends "completed" ? CommandCompletedEvent<TParams, TResult> : TPhase extends "rejected" ? CommandRejectedEvent<TParams> : CommandFailedEvent<TParams>;
|
|
5578
|
-
//#endregion
|
|
5579
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/composition.d.ts
|
|
5580
5702
|
declare const dockedWorkbenchRegions: readonly ["sidenav", "main", "secondary", "side"];
|
|
5581
5703
|
type DockedWorkbenchRegion = (typeof dockedWorkbenchRegions)[number];
|
|
5582
5704
|
declare const extensionPanelRegions: readonly ["main", "secondary", "side"];
|
|
@@ -5624,8 +5746,6 @@ interface ResourceHierarchyProvider extends ContributionDefinition<"resource-hie
|
|
|
5624
5746
|
resourceKind: ResourceKindRef;
|
|
5625
5747
|
parent(ctx: ExtensionContextBase, resource: ResourceRef): MaybePromise<ResourceRef | ViewHierarchyParent | null>;
|
|
5626
5748
|
}
|
|
5627
|
-
//#endregion
|
|
5628
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/builtin-refs.d.ts
|
|
5629
5749
|
declare const workbenchModes: {
|
|
5630
5750
|
project: {
|
|
5631
5751
|
extensionId: string;
|
|
@@ -5839,13 +5959,16 @@ declare const workbenchSlots: {
|
|
|
5839
5959
|
id: string;
|
|
5840
5960
|
};
|
|
5841
5961
|
};
|
|
5842
|
-
//#endregion
|
|
5843
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/contribution-id.d.ts
|
|
5844
5962
|
declare const localContributionIdPattern: RegExp;
|
|
5845
5963
|
declare const isValidLocalContributionId: (id: string) => boolean;
|
|
5846
5964
|
declare const localContributionIdGrammar = "lowercase kebab-case segments separated by dots, such as \"ticket-status.create\"";
|
|
5847
|
-
|
|
5848
|
-
|
|
5965
|
+
declare const diffEditingState: (before: object, after: object, path?: string[]) => WebviewEditingChange[];
|
|
5966
|
+
declare const applyEditingChanges: <State extends object>(state: State, changes: WebviewEditingChange[]) => State;
|
|
5967
|
+
/** Rebase independent drafts, dropping whole drafts whose paths no longer apply. */
|
|
5968
|
+
declare const rebaseEditingChanges: <State extends object, Key>(state: State, drafts: Map<Key, WebviewEditingChange[]>) => {
|
|
5969
|
+
value: State;
|
|
5970
|
+
drafts: Map<Key, WebviewEditingChange[]>;
|
|
5971
|
+
};
|
|
5849
5972
|
/** Provider that owns the workspace location and lifecycle. */
|
|
5850
5973
|
type WorkspaceType = string;
|
|
5851
5974
|
interface WorkspaceProvisionPayload {
|
|
@@ -5924,6 +6047,12 @@ declare const projectEvents: {
|
|
|
5924
6047
|
projectId: string;
|
|
5925
6048
|
}>;
|
|
5926
6049
|
};
|
|
6050
|
+
declare const accountEvents: {
|
|
6051
|
+
/** The project's derived sync status changed. The host sends it only when the status differs. */
|
|
6052
|
+
projectSyncChanged: EventRef<ProjectSyncStatus & {
|
|
6053
|
+
projectId: string;
|
|
6054
|
+
}>;
|
|
6055
|
+
};
|
|
5927
6056
|
/** View dependencies delivered by the host when synced project data changes. */
|
|
5928
6057
|
declare const viewDataEvents: {
|
|
5929
6058
|
boardViewsChanged: EventRef<{
|
|
@@ -5985,11 +6114,7 @@ declare const gitEvents: {
|
|
|
5985
6114
|
merged: EventRef<MergePayload>;
|
|
5986
6115
|
conflicted: EventRef<ConflictPayload>;
|
|
5987
6116
|
};
|
|
5988
|
-
//#endregion
|
|
5989
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/navigation.d.ts
|
|
5990
6117
|
declare const isNavigationTarget: (value: unknown) => value is NavigationTarget;
|
|
5991
|
-
//#endregion
|
|
5992
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/package-asset.d.ts
|
|
5993
6118
|
/**
|
|
5994
6119
|
* Reference an asset shipped alongside the extension's compiled output. `path` is
|
|
5995
6120
|
* resolved relative to `baseUrl`; in practice authors always pass `import.meta.url`
|
|
@@ -5999,13 +6124,9 @@ declare const isNavigationTarget: (value: unknown) => value is NavigationTarget;
|
|
|
5999
6124
|
* webview: { entry: packageAsset("./src/page.tsx", import.meta.url) }
|
|
6000
6125
|
*/
|
|
6001
6126
|
declare const packageAsset: (path: string, baseUrl: string) => PackageAssetDescriptor;
|
|
6002
|
-
//#endregion
|
|
6003
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/page-params.d.ts
|
|
6004
6127
|
type PageParamDefinitions = Readonly<Record<string, PageParamDefinition>>;
|
|
6005
6128
|
declare const pageParamsQuery: (definitions?: PageParamDefinitions, params?: PageParams) => URLSearchParams;
|
|
6006
6129
|
declare const parsePageParams: (definitions: PageParamDefinitions | undefined, query: URLSearchParams) => Readonly<Record<string, PageParamValue>> | undefined;
|
|
6007
|
-
//#endregion
|
|
6008
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/page-url.d.ts
|
|
6009
6130
|
interface PageUrlDefinition$1 {
|
|
6010
6131
|
id: string;
|
|
6011
6132
|
ref: PageRef;
|
|
@@ -6025,8 +6146,6 @@ interface ParsedWorkbenchPageUrl$1 {
|
|
|
6025
6146
|
section?: FileRendererSectionTarget;
|
|
6026
6147
|
position?: FileSourcePosition;
|
|
6027
6148
|
}
|
|
6028
|
-
//#endregion
|
|
6029
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/refs.d.ts
|
|
6030
6149
|
interface ExternalRefInput {
|
|
6031
6150
|
extensionId: string;
|
|
6032
6151
|
id: string;
|
|
@@ -6043,20 +6162,12 @@ interface CommandRefFactory {
|
|
|
6043
6162
|
declare const commandRef: CommandRefFactory;
|
|
6044
6163
|
/** Build a typed event reference from separate ownership and local identity. */
|
|
6045
6164
|
declare const eventRef: <TPayload extends Struct = Struct>(input: ExternalRefInput) => EventRef<TPayload>;
|
|
6046
|
-
//#endregion
|
|
6047
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/serialize-error.d.ts
|
|
6048
6165
|
declare const serializeCommandError: (error: unknown) => SerializedError;
|
|
6049
|
-
//#endregion
|
|
6050
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/slots.d.ts
|
|
6051
6166
|
/**
|
|
6052
6167
|
* Define a host-owned UI slot that extension contributions can target.
|
|
6053
6168
|
*/
|
|
6054
6169
|
declare const defineSlot: <TContext extends Struct = Struct, TKind extends UiSlotKind = UiSlotKind>(id: string, options: SlotOptions<TKind>) => SlotRef<TContext, TKind>;
|
|
6055
|
-
//#endregion
|
|
6056
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/source-position.d.ts
|
|
6057
6170
|
declare const isFileSourcePosition: (value: unknown) => value is FileSourcePosition;
|
|
6058
|
-
//#endregion
|
|
6059
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/webview-host-props.d.ts
|
|
6060
6171
|
interface WebviewHostProps {
|
|
6061
6172
|
projectId?: string;
|
|
6062
6173
|
themePreference: string;
|
|
@@ -6073,15 +6184,9 @@ interface WebviewHostProps {
|
|
|
6073
6184
|
/** @deprecated Subscribe through client.events or useCommandQuery.refreshOn. */
|
|
6074
6185
|
lastCommand?: unknown;
|
|
6075
6186
|
}
|
|
6076
|
-
//#endregion
|
|
6077
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/webview-protocol.d.ts
|
|
6078
6187
|
/** Host event sent with `{ type: "changed" }` after a listed resource's actions may have changed. */
|
|
6079
6188
|
declare const RESOURCE_ACTIONS_EVENTS_SCOPE = "resources.actions";
|
|
6080
|
-
//#endregion
|
|
6081
|
-
//#region src/version.d.ts
|
|
6082
6189
|
declare const SDK_VERSION: string;
|
|
6083
|
-
//#endregion
|
|
6084
|
-
//#region src/extensions/command-outcome.d.ts
|
|
6085
6190
|
type CommandResponse<TResult = unknown> = {
|
|
6086
6191
|
outcome: CommandOutcome<TResult>;
|
|
6087
6192
|
};
|
|
@@ -6101,8 +6206,6 @@ declare class CommandOutcomeError extends Error {
|
|
|
6101
6206
|
declare const getCommandValue: <TResult>(outcome: CommandOutcome<TResult>) => TResult;
|
|
6102
6207
|
/** @deprecated Use getCommandValue; its CommandOutcomeError retains the complete outcome. */
|
|
6103
6208
|
declare const unwrapCommandOutcome: <TResult>(response: CommandResponse<TResult>, fallbackReason?: string) => TResult;
|
|
6104
|
-
//#endregion
|
|
6105
|
-
//#region src/extensions/contribution-reference.d.ts
|
|
6106
6209
|
/**
|
|
6107
6210
|
* Resolve a contribution ref to its registered id. Host refs keep their id; every other
|
|
6108
6211
|
* ref becomes `${extensionId}.${kind}.${id}`. A ref without an extension id belongs to
|
|
@@ -6118,8 +6221,6 @@ declare const commandRefId: (ref: {
|
|
|
6118
6221
|
extensionId?: string;
|
|
6119
6222
|
id: string;
|
|
6120
6223
|
}, ownerExtensionId?: string) => string;
|
|
6121
|
-
//#endregion
|
|
6122
|
-
//#region src/extensions/define-command.d.ts
|
|
6123
6224
|
type CommandContribution<TSchema extends ParamObjectSchema | undefined, TResult, TChunk extends JsonValue> = CommandDefinition<TSchema, TResult, Record<string, unknown>, TChunk> & ContributionDefinition<"command">;
|
|
6124
6225
|
type CommandInput<TSchema extends ParamObjectSchema | undefined, TResult, TChunk extends JsonValue> = Omit<CommandDefinition<TSchema, TResult, Record<string, unknown>, TChunk>, "ref">;
|
|
6125
6226
|
/**
|
|
@@ -6147,8 +6248,6 @@ declare const defineMiddleware: <TParams extends Struct = Struct, TResult = unkn
|
|
|
6147
6248
|
*/
|
|
6148
6249
|
declare const defineHook: <TPayload extends Struct = Struct>(definition: Omit<HookDefinition<TPayload>, "ref">) => HookDefinition<TPayload>;
|
|
6149
6250
|
declare const streamOf: <TChunk extends JsonValue>() => CommandStreamDeclaration<TChunk>;
|
|
6150
|
-
//#endregion
|
|
6151
|
-
//#region src/extensions/define-contribution.d.ts
|
|
6152
6251
|
type ExactOptions<Definition, Contract> = unknown extends Contract ? Definition : [Contract] extends [Definition] ? Definition : Contract extends unknown ? Definition extends Contract ? Contract extends EventRef | CommandRef ? Definition : Definition extends ((...args: never[]) => unknown) ? Definition : Definition extends readonly unknown[] ? Contract extends readonly (infer Item)[] ? { [Index in keyof Definition]: ExactOptions<Definition[Index], Item>; } : never : Definition extends object ? { [Key in keyof Definition]: Key extends keyof Contract ? ExactOptions<Definition[Key], Contract[Key]> : never; } : Definition : never : never;
|
|
6153
6252
|
type NoExtraFields$1<Definition, Contract> = Definition & ExactOptions<Definition, Contract>;
|
|
6154
6253
|
type ViewDefinition = Omit<ViewContribution, "ref">;
|
|
@@ -6212,8 +6311,6 @@ declare const defineResourceHierarchyProvider: (definition: Omit<ResourceHierarc
|
|
|
6212
6311
|
id: string;
|
|
6213
6312
|
};
|
|
6214
6313
|
};
|
|
6215
|
-
//#endregion
|
|
6216
|
-
//#region src/extensions/define-extension.d.ts
|
|
6217
6314
|
type SettingValue<TProperty> = TProperty extends {
|
|
6218
6315
|
type: "boolean";
|
|
6219
6316
|
} ? boolean : TProperty extends {
|
|
@@ -6235,14 +6332,10 @@ type NoExtraFields<Definition, Contract> = Definition & Record<Exclude<keyof Def
|
|
|
6235
6332
|
* id and typed ref before it reaches this boundary.
|
|
6236
6333
|
*/
|
|
6237
6334
|
declare const defineExtension: <const TDefinition extends ExtensionDefinition>(extension: NoExtraFields<TDefinition, ExtensionDefinition>) => NoExtraFields<TDefinition, ExtensionDefinition>;
|
|
6238
|
-
//#endregion
|
|
6239
|
-
//#region src/extensions/webview-props-store.d.ts
|
|
6240
6335
|
type PropsStore<TProps = unknown> = {
|
|
6241
6336
|
get: () => TProps;
|
|
6242
6337
|
subscribe: (listener: (props: TProps) => void) => () => void;
|
|
6243
6338
|
};
|
|
6244
|
-
//#endregion
|
|
6245
|
-
//#region src/extensions/guest-host.d.ts
|
|
6246
6339
|
interface GuestHost {
|
|
6247
6340
|
/** Current host context. Supplied by the webview runtime. */
|
|
6248
6341
|
propsStore?: PropsStore<WebviewHostProps>;
|
|
@@ -6251,8 +6344,6 @@ interface GuestHost {
|
|
|
6251
6344
|
/** The extension that owns this webview. */
|
|
6252
6345
|
extensionId?: string;
|
|
6253
6346
|
}
|
|
6254
|
-
//#endregion
|
|
6255
|
-
//#region src/extensions/webview-files-client.d.ts
|
|
6256
6347
|
interface WebviewFilesClient {
|
|
6257
6348
|
pick(opts?: {
|
|
6258
6349
|
accept?: string;
|
|
@@ -6277,16 +6368,12 @@ interface WebviewFilesClient {
|
|
|
6277
6368
|
/** @deprecated Invoke a command that deletes extension-owned files. */
|
|
6278
6369
|
delete(id: string): Promise<void>;
|
|
6279
6370
|
}
|
|
6280
|
-
//#endregion
|
|
6281
|
-
//#region src/extensions/webview-page-client.d.ts
|
|
6282
6371
|
interface WebviewPageClient {
|
|
6283
6372
|
location(): PageLocation | undefined;
|
|
6284
6373
|
params<T extends Record<string, PageParamValue> = Record<string, PageParamValue>>(): T;
|
|
6285
6374
|
subscribe(listener: (location: PageLocation | undefined) => void): () => void;
|
|
6286
6375
|
updateParams(params: Readonly<Record<string, PageParamValue | null>>): Promise<PageLocation>;
|
|
6287
6376
|
}
|
|
6288
|
-
//#endregion
|
|
6289
|
-
//#region src/extensions/define-extension-view.d.ts
|
|
6290
6377
|
type ExtensionViewRenderContext<TProps = unknown> = {
|
|
6291
6378
|
mount: HTMLElement;
|
|
6292
6379
|
host: GuestHost;
|
|
@@ -6305,16 +6392,10 @@ type ExtensionViewModule<TProps = unknown> = {
|
|
|
6305
6392
|
declare const defineExtensionView: <TProps = WebviewHostProps>(definition: {
|
|
6306
6393
|
render: ExtensionViewRender<TProps>;
|
|
6307
6394
|
}) => ExtensionViewModule<TProps>;
|
|
6308
|
-
//#endregion
|
|
6309
|
-
//#region src/extensions/event-reference.d.ts
|
|
6310
6395
|
/** @deprecated Host-only. Hosts import `resolveEventReferenceId` from `pstdio-api-contracts`. */
|
|
6311
6396
|
declare const resolveEventReferenceId: (ref: RendererEventReference, ownerExtensionId?: string) => string;
|
|
6312
|
-
//#endregion
|
|
6313
|
-
//#region src/extensions/page-resource-codec.d.ts
|
|
6314
6397
|
/** @deprecated Host-only. Hosts import `defaultPageResourceCodec` from `pstdio-api-contracts`. */
|
|
6315
6398
|
declare const defaultPageResourceCodec: PageResourceCodec;
|
|
6316
|
-
//#endregion
|
|
6317
|
-
//#region src/extensions/page-url.d.ts
|
|
6318
6399
|
/** @deprecated Host-only. Hosts import `serializeWorkbenchPageUrl` from `pstdio-api-contracts`. */
|
|
6319
6400
|
declare const serializeWorkbenchPageUrl: (input: {
|
|
6320
6401
|
projectId: string;
|
|
@@ -6349,8 +6430,6 @@ declare const parsePageUrl: (input: {
|
|
|
6349
6430
|
type PageUrlDefinition = PageUrlDefinition$1;
|
|
6350
6431
|
/** @deprecated Host-only. Hosts import `ParsedWorkbenchPageUrl` from `pstdio-api-contracts`. */
|
|
6351
6432
|
type ParsedWorkbenchPageUrl = ParsedWorkbenchPageUrl$1;
|
|
6352
|
-
//#endregion
|
|
6353
|
-
//#region src/extensions/params.d.ts
|
|
6354
6433
|
type RequiredOf<TOptions> = TOptions extends {
|
|
6355
6434
|
required: infer TRequired extends boolean;
|
|
6356
6435
|
} ? TRequired : undefined;
|
|
@@ -6394,8 +6473,6 @@ declare const params: {
|
|
|
6394
6473
|
json: <T = unknown, const TOptions extends ParamOptions<JsonParam<T>> | undefined = undefined>(options?: TOptions) => JsonParam<T, RequiredOf<TOptions>>;
|
|
6395
6474
|
list: <const TOptions extends ParamOptions<ListParam> | undefined = undefined>(options?: TOptions) => ListParam<RequiredOf<TOptions>>;
|
|
6396
6475
|
};
|
|
6397
|
-
//#endregion
|
|
6398
|
-
//#region src/extensions/qualify-ref.d.ts
|
|
6399
6476
|
type QualifiableRef = ContributionRef<ContributionKind> | PageSlotRef;
|
|
6400
6477
|
type QualifiedRef<Ref extends QualifiableRef> = Ref extends PageSlotRef ? Omit<Ref, "page"> & {
|
|
6401
6478
|
readonly page: QualifiedRef<Ref["page"]>;
|
|
@@ -6404,8 +6481,6 @@ type QualifiedRef<Ref extends QualifiableRef> = Ref extends PageSlotRef ? Omit<R
|
|
|
6404
6481
|
};
|
|
6405
6482
|
/** Publish a provider-owned reference without changing the local contribution definition. */
|
|
6406
6483
|
declare function qualifyRef<Ref extends QualifiableRef>(owner: string, ref: Ref): QualifiedRef<Ref>;
|
|
6407
|
-
//#endregion
|
|
6408
|
-
//#region src/extensions/refs.d.ts
|
|
6409
6484
|
/**
|
|
6410
6485
|
* Build an `EventRef` for a command lifecycle phase (`requested`, `started`, `completed`,
|
|
6411
6486
|
* `rejected`, `failed`). The payload type is inferred from the command ref so hooks see
|
|
@@ -6421,13 +6496,9 @@ declare const artifactChanged: (mount: {
|
|
|
6421
6496
|
id: string;
|
|
6422
6497
|
extensionId?: string;
|
|
6423
6498
|
}) => EventRef<ArtifactChangedPayload>;
|
|
6424
|
-
//#endregion
|
|
6425
|
-
//#region src/extensions/resource-key.d.ts
|
|
6426
6499
|
/** Stable identity for selection and reuse; labels and metadata do not change identity. */
|
|
6427
6500
|
declare function resourceKey(resource: ResourceRef): string;
|
|
6428
6501
|
declare function resourceKey(resource: ResourceRef | undefined): string | undefined;
|
|
6429
|
-
//#endregion
|
|
6430
|
-
//#region src/extensions/terminal-session-bridge.d.ts
|
|
6431
6502
|
/**
|
|
6432
6503
|
* Renderer-side session over the `terminal.session` capability. It is the shared
|
|
6433
6504
|
* renderer adapter with an awaitable `kill`, so it plugs straight into the
|
|
@@ -6449,8 +6520,11 @@ interface TerminalSessionBridge {
|
|
|
6449
6520
|
* @deprecated Use the host terminal surface.
|
|
6450
6521
|
*/
|
|
6451
6522
|
declare const createTerminalSessionBridge: (host: GuestHost) => TerminalSessionBridge;
|
|
6452
|
-
|
|
6453
|
-
|
|
6523
|
+
/**
|
|
6524
|
+
* Same methods as `ctx.account`. Reads need the `account.read` capability and changes need
|
|
6525
|
+
* `account.manage`. Methods without a project id use the webview's project.
|
|
6526
|
+
*/
|
|
6527
|
+
type WebviewAccountClient = ExtensionAccountApi;
|
|
6454
6528
|
/** An artifact mount reference: the contribution, its ref, or the mount's local id. */
|
|
6455
6529
|
type ArtifactMountKey = string | {
|
|
6456
6530
|
id: string;
|
|
@@ -6467,8 +6541,32 @@ declare const artifactMountId: (mount: string | {
|
|
|
6467
6541
|
* capabilities: ["commands.execute", artifactsRead(runArtifacts)]
|
|
6468
6542
|
*/
|
|
6469
6543
|
declare const artifactsRead: (mount: ArtifactMountKey) => WebviewCapabilityDeclaration;
|
|
6470
|
-
|
|
6471
|
-
|
|
6544
|
+
type EditingSnapshot<State extends object> = Omit<WebviewEditingSnapshot, "value"> & {
|
|
6545
|
+
value: State;
|
|
6546
|
+
};
|
|
6547
|
+
type EditingSessionOptions<State extends object> = Pick<Extract<WebviewEditingSessionParams, {
|
|
6548
|
+
operation: "open";
|
|
6549
|
+
}>, "key" | "save"> & {
|
|
6550
|
+
initial: State;
|
|
6551
|
+
};
|
|
6552
|
+
interface WebviewEditingSession<State extends object> {
|
|
6553
|
+
readonly id: string;
|
|
6554
|
+
getSnapshot(): EditingSnapshot<State>;
|
|
6555
|
+
subscribe(listener: () => void): () => void;
|
|
6556
|
+
/** Publish immediately; resolve when the shared save queue acknowledges this edit. */
|
|
6557
|
+
commit(changes?: WebviewEditingChange[]): Promise<void>;
|
|
6558
|
+
/** Add draft changes visible in all views without saving them. */
|
|
6559
|
+
preview(changes: WebviewEditingChange[]): Promise<void>;
|
|
6560
|
+
cancel(): Promise<void>;
|
|
6561
|
+
/** Retry or await the current save queue. */
|
|
6562
|
+
save(): Promise<void>;
|
|
6563
|
+
/** Re-read the backend when shared state changes while a read is in flight. */
|
|
6564
|
+
refresh(read: () => Promise<State>): Promise<void>;
|
|
6565
|
+
close(): Promise<void>;
|
|
6566
|
+
}
|
|
6567
|
+
interface WebviewEditingClient {
|
|
6568
|
+
open<State extends object>(options: EditingSessionOptions<State>): Promise<WebviewEditingSession<State>>;
|
|
6569
|
+
}
|
|
6472
6570
|
/** @deprecated Host-only. Hosts import `EXTENSION_EVENTS_SCOPE` from `pstdio-api-contracts`. */
|
|
6473
6571
|
declare const EXTENSION_EVENTS_SCOPE = "extension.events";
|
|
6474
6572
|
type WebviewExtensionEvent = {
|
|
@@ -6481,8 +6579,6 @@ interface WebviewEventsClient {
|
|
|
6481
6579
|
/** Refetch on a matching event or host sync reconnect. Returns the unsubscribe function. */
|
|
6482
6580
|
subscribe(event: RendererEventReference, listener: () => void): () => void;
|
|
6483
6581
|
}
|
|
6484
|
-
//#endregion
|
|
6485
|
-
//#region src/extensions/command-stream.d.ts
|
|
6486
6582
|
interface CommandStreamOptions {
|
|
6487
6583
|
signal?: AbortSignal;
|
|
6488
6584
|
}
|
|
@@ -6493,14 +6589,10 @@ interface CommandStream<TChunk, TResult = unknown> extends AsyncIterable<TChunk>
|
|
|
6493
6589
|
readonly result: Promise<TResult>;
|
|
6494
6590
|
cancel(): Promise<void>;
|
|
6495
6591
|
}
|
|
6496
|
-
//#endregion
|
|
6497
|
-
//#region src/extensions/webview-streams.d.ts
|
|
6498
6592
|
type StreamFn<T> = T extends CommandDefinition<infer S, infer R, infer _Settings, infer C> ? S extends ParamObjectSchema ? Partial<ParamsOf<S>> extends ParamsOf<S> ? (params?: ParamsOf<S>, options?: CommandStreamOptions) => CommandStream<C, R> : (params: ParamsOf<S>, options?: CommandStreamOptions) => CommandStream<C, R> : (params?: Record<string, never>, options?: CommandStreamOptions) => CommandStream<C, R> : never;
|
|
6499
6593
|
type WebviewStreamsClient<TCommands> = { [K in keyof TCommands & string as TCommands[K] extends {
|
|
6500
6594
|
stream?: CommandStreamDeclaration<infer C>;
|
|
6501
6595
|
} ? [C] extends [never] ? never : K : never]: StreamFn<TCommands[K]>; };
|
|
6502
|
-
//#endregion
|
|
6503
|
-
//#region src/extensions/webview-client.d.ts
|
|
6504
6596
|
type CommandFn<TDefinition> = TDefinition extends CommandDefinition<infer TSchema, infer TResult, infer _TSettings, infer _TChunk> ? TSchema extends ParamObjectSchema ? Partial<ParamsOf<TSchema>> extends ParamsOf<TSchema> ? (params?: ParamsOf<TSchema>) => Promise<TResult> : (params: ParamsOf<TSchema>) => Promise<TResult> : () => Promise<TResult> : never;
|
|
6505
6597
|
type WebviewCommandsClient<TCommands> = { [K in keyof TCommands & string]: CommandFn<TCommands[K]>; };
|
|
6506
6598
|
type WebviewSettingsClient<TSettings> = {
|
|
@@ -6520,6 +6612,7 @@ type WebviewArtifactsClient = {
|
|
|
6520
6612
|
imageUrl: (mount: ArtifactMountKey, path: string) => Promise<string>;
|
|
6521
6613
|
};
|
|
6522
6614
|
type WebviewClient<TCommands, TSettings = undefined> = {
|
|
6615
|
+
editing: WebviewEditingClient;
|
|
6523
6616
|
files: WebviewFilesClient;
|
|
6524
6617
|
page: WebviewPageClient;
|
|
6525
6618
|
navigation: {
|
|
@@ -6543,6 +6636,7 @@ type WebviewClient<TCommands, TSettings = undefined> = {
|
|
|
6543
6636
|
streams: WebviewStreamsClient<TCommands>;
|
|
6544
6637
|
events: WebviewEventsClient;
|
|
6545
6638
|
settings: WebviewSettingsClient<ClientSettingsMap<TSettings>>;
|
|
6639
|
+
account: WebviewAccountClient;
|
|
6546
6640
|
};
|
|
6547
6641
|
interface WebviewClientOptions {
|
|
6548
6642
|
/** Overrides the extension id provided by the host bridge (e.g. in tests). */
|
|
@@ -6567,8 +6661,6 @@ interface WebviewClientOptions {
|
|
|
6567
6661
|
* const enabled = await client.settings.get("counter.enabled");
|
|
6568
6662
|
*/
|
|
6569
6663
|
declare const createWebviewClient: <TCommands extends object, TSettings = undefined>(host: GuestHost, options?: WebviewClientOptions) => WebviewClient<TCommands, TSettings>;
|
|
6570
|
-
//#endregion
|
|
6571
|
-
//#region src/extensions/when.d.ts
|
|
6572
6664
|
/**
|
|
6573
6665
|
* Resource-scoped visibility for command-palette contributions. Both the workbench host and the
|
|
6574
6666
|
* dashboard palette gate the same way, so the rule lives here once instead of being re-derived per
|
|
@@ -6579,14 +6671,12 @@ declare const createWebviewClient: <TCommands extends object, TSettings = undefi
|
|
|
6579
6671
|
declare const matchesResourceWhen: (when: Pick<WhenExpression, "resourceType"> | {
|
|
6580
6672
|
resourceType?: readonly string[];
|
|
6581
6673
|
} | undefined, resourceType: string | undefined) => boolean;
|
|
6582
|
-
//#endregion
|
|
6583
|
-
//#region src/extensions/host-compat.d.ts
|
|
6584
6674
|
/** @deprecated Host-only. Hosts import `ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES` from `pstdio-api-contracts`. */
|
|
6585
6675
|
declare const ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES: readonly ["host.dispatchKeyboardEvent"];
|
|
6586
6676
|
/** @deprecated Host-only. Hosts import `WEBVIEW_DECLARABLE_CAPABILITIES` from `pstdio-api-contracts`. */
|
|
6587
|
-
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"];
|
|
6677
|
+
declare const WEBVIEW_DECLARABLE_CAPABILITIES: readonly ["clipboard.write", "commands.execute", "commands.stream", "editing.session", "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", "account.read", "account.manage"];
|
|
6588
6678
|
/** @deprecated Host-only. Hosts import `WEBVIEW_HOST_CAPABILITIES` from `pstdio-api-contracts`. */
|
|
6589
|
-
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"];
|
|
6679
|
+
declare const WEBVIEW_HOST_CAPABILITIES: readonly [...("account.manage" | "account.read" | "commands.execute" | "commands.stream" | "editing.session" | "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"];
|
|
6590
6680
|
/** @deprecated Host-only. Hosts import `WEBVIEW_HOST_CAPABILITY_VERSION` from `pstdio-api-contracts`. */
|
|
6591
6681
|
declare const WEBVIEW_HOST_CAPABILITY_VERSION = 1;
|
|
6592
6682
|
/** @deprecated Host-only. Hosts import `WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES` from `pstdio-api-contracts`. */
|
|
@@ -6614,12 +6704,8 @@ declare const resolvePageParams: (definitions?: PageParamDefinitions, params?: P
|
|
|
6614
6704
|
declare const validatePageParamDefinitions: (definitions?: PageParamDefinitions) => void;
|
|
6615
6705
|
/** @deprecated Host-only. Hosts import `mergeOrderedHistory` from `pstdio-api-contracts`. */
|
|
6616
6706
|
declare const mergeOrderedHistory: <T>(known: T[], native: T[], options: OrderedHistoryMerge<T>, trailing?: boolean) => T[];
|
|
6617
|
-
//#endregion
|
|
6618
|
-
//#region src/resources/workspace.d.ts
|
|
6619
6707
|
type Workspace$1 = Workspace;
|
|
6620
6708
|
type WorkspaceListItem$1 = WorkspaceListItem;
|
|
6621
|
-
//#endregion
|
|
6622
|
-
//#region src/extensions/resource-compat.d.ts
|
|
6623
6709
|
/** @deprecated Import `CreateNotificationInput` from `@pstdio/sdk/resources`. */
|
|
6624
6710
|
type CreateNotificationInput = CreateNotificationInput$1;
|
|
6625
6711
|
/** @deprecated Import `ListNotificationsQuery` from `@pstdio/sdk/resources`. */
|
|
@@ -6646,8 +6732,6 @@ type UpdateNotificationInput = UpdateNotificationInput$1;
|
|
|
6646
6732
|
type AssetReference = AssetReference$1;
|
|
6647
6733
|
/** @deprecated Import `AssetTransfer` from `@pstdio/sdk/resources`. */
|
|
6648
6734
|
type AssetTransfer = AssetTransfer$1;
|
|
6649
|
-
//#endregion
|
|
6650
|
-
//#region src/extensions/webview-capability-error.d.ts
|
|
6651
6735
|
/** A host capability failure with details that survive the webview boundary. */
|
|
6652
6736
|
interface WebviewCapabilityError extends Error {
|
|
6653
6737
|
code: string;
|
|
@@ -6655,13 +6739,9 @@ interface WebviewCapabilityError extends Error {
|
|
|
6655
6739
|
}
|
|
6656
6740
|
/** Works across extension bundles without depending on a shared Error class. */
|
|
6657
6741
|
declare const isWebviewCapabilityError: (error: unknown) => error is WebviewCapabilityError;
|
|
6658
|
-
//#endregion
|
|
6659
|
-
//#region src/extensions/index.d.ts
|
|
6660
6742
|
declare const projectPrefix: () => {
|
|
6661
6743
|
$prefix: "project";
|
|
6662
6744
|
};
|
|
6663
|
-
//#endregion
|
|
6664
|
-
//#region ../pstdio-api-contracts/src/automation.d.ts
|
|
6665
6745
|
declare const automationRunStatusSchema: z.ZodEnum<{
|
|
6666
6746
|
cancelled: "cancelled";
|
|
6667
6747
|
failed: "failed";
|
|
@@ -6722,6 +6802,11 @@ declare const createAutomationRunInputSchema: z.ZodObject<{
|
|
|
6722
6802
|
workspaceId: z.ZodOptional<z.ZodString>;
|
|
6723
6803
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6724
6804
|
resource: z.ZodOptional<z.ZodObject<{
|
|
6805
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
6806
|
+
ownerId: z.ZodString;
|
|
6807
|
+
id: z.ZodString;
|
|
6808
|
+
name: z.ZodString;
|
|
6809
|
+
}, z.core.$strip>>;
|
|
6725
6810
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
6726
6811
|
type: z.ZodString;
|
|
6727
6812
|
id: z.ZodString;
|
|
@@ -6787,8 +6872,6 @@ type AutomationRunError = z.infer<typeof automationRunErrorSchema>;
|
|
|
6787
6872
|
type AutomationRun = z.infer<typeof automationRunSchema>;
|
|
6788
6873
|
type AutomationRunEvent = z.infer<typeof automationRunEventSchema>;
|
|
6789
6874
|
type ListAutomationRunEventsResponse = z.infer<typeof listAutomationRunEventsResponseSchema>;
|
|
6790
|
-
//#endregion
|
|
6791
|
-
//#region ../pstdio-api-contracts/src/environment.d.ts
|
|
6792
6875
|
declare const bindEnvironmentInputSchema: z.ZodObject<{
|
|
6793
6876
|
environmentId: z.ZodString;
|
|
6794
6877
|
name: z.ZodString;
|
|
@@ -6801,6 +6884,11 @@ declare const environmentBindingSchema: z.ZodObject<{
|
|
|
6801
6884
|
environmentId: z.ZodString;
|
|
6802
6885
|
workbenchId: z.ZodString;
|
|
6803
6886
|
workspace: z.ZodObject<{
|
|
6887
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
6888
|
+
ownerId: z.ZodString;
|
|
6889
|
+
id: z.ZodString;
|
|
6890
|
+
name: z.ZodString;
|
|
6891
|
+
}, z.core.$strip>>;
|
|
6804
6892
|
id: z.ZodString;
|
|
6805
6893
|
project_id: z.ZodString;
|
|
6806
6894
|
name: z.ZodString;
|
|
@@ -6839,6 +6927,11 @@ declare const environmentBindingSchema: z.ZodObject<{
|
|
|
6839
6927
|
workspace_shorthand: z.ZodString;
|
|
6840
6928
|
startup_log_file_id: z.ZodNullable<z.ZodString>;
|
|
6841
6929
|
anchors_json: z.ZodArray<z.ZodObject<{
|
|
6930
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
6931
|
+
ownerId: z.ZodString;
|
|
6932
|
+
id: z.ZodString;
|
|
6933
|
+
name: z.ZodString;
|
|
6934
|
+
}, z.core.$strip>>;
|
|
6842
6935
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
6843
6936
|
type: z.ZodString;
|
|
6844
6937
|
id: z.ZodString;
|
|
@@ -6861,9 +6954,12 @@ declare const environmentBindingSchema: z.ZodObject<{
|
|
|
6861
6954
|
}, z.core.$strict>;
|
|
6862
6955
|
type BindEnvironmentInput = z.infer<typeof bindEnvironmentInputSchema>;
|
|
6863
6956
|
type EnvironmentBinding = z.infer<typeof environmentBindingSchema>;
|
|
6864
|
-
//#endregion
|
|
6865
|
-
//#region ../pstdio-api-contracts/src/extensions/resource-ref.d.ts
|
|
6866
6957
|
declare const extensionResourceRefSchema: z.ZodObject<{
|
|
6958
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
6959
|
+
ownerId: z.ZodString;
|
|
6960
|
+
id: z.ZodString;
|
|
6961
|
+
name: z.ZodString;
|
|
6962
|
+
}, z.core.$strip>>;
|
|
6867
6963
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
6868
6964
|
type: z.ZodString;
|
|
6869
6965
|
id: z.ZodString;
|
|
@@ -6873,15 +6969,11 @@ declare const extensionResourceRefSchema: z.ZodObject<{
|
|
|
6873
6969
|
extensionId: z.ZodOptional<z.ZodString>;
|
|
6874
6970
|
metadata: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
|
|
6875
6971
|
}, z.core.$strip>;
|
|
6876
|
-
//#endregion
|
|
6877
|
-
//#region ../pstdio-api-contracts/src/extensions/workbench-refs-metadata.d.ts
|
|
6878
6972
|
declare const pageRefSchema: z.ZodObject<{
|
|
6879
6973
|
extensionId: z.ZodString;
|
|
6880
6974
|
kind: z.ZodLiteral<"page">;
|
|
6881
6975
|
id: z.ZodString;
|
|
6882
6976
|
}, z.core.$strip>;
|
|
6883
|
-
//#endregion
|
|
6884
|
-
//#region ../pstdio-api-contracts/src/extensions/navigation-target-metadata.d.ts
|
|
6885
6977
|
declare const sectionSchema: z.ZodObject<{
|
|
6886
6978
|
anchors: z.ZodArray<z.ZodObject<{
|
|
6887
6979
|
id: z.ZodString;
|
|
@@ -6899,8 +6991,6 @@ interface MetadataPageTarget {
|
|
|
6899
6991
|
params?: PageParams;
|
|
6900
6992
|
parent?: MetadataPageTarget;
|
|
6901
6993
|
}
|
|
6902
|
-
//#endregion
|
|
6903
|
-
//#region ../pstdio-api-contracts/src/extensions/workbench-metadata.d.ts
|
|
6904
6994
|
declare const workbenchExtensionViewBodySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6905
6995
|
kind: z.ZodLiteral<"webview">;
|
|
6906
6996
|
webview: z.ZodObject<{
|
|
@@ -8669,6 +8759,11 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
|
|
|
8669
8759
|
id: z.ZodString;
|
|
8670
8760
|
}, z.core.$strip>]>;
|
|
8671
8761
|
resource: z.ZodOptional<z.ZodObject<{
|
|
8762
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
8763
|
+
ownerId: z.ZodString;
|
|
8764
|
+
id: z.ZodString;
|
|
8765
|
+
name: z.ZodString;
|
|
8766
|
+
}, z.core.$strip>>;
|
|
8672
8767
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
8673
8768
|
type: z.ZodString;
|
|
8674
8769
|
id: z.ZodString;
|
|
@@ -8713,6 +8808,11 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
|
|
|
8713
8808
|
id: z.ZodString;
|
|
8714
8809
|
}, z.core.$strip>]>;
|
|
8715
8810
|
resource: z.ZodOptional<z.ZodObject<{
|
|
8811
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
8812
|
+
ownerId: z.ZodString;
|
|
8813
|
+
id: z.ZodString;
|
|
8814
|
+
name: z.ZodString;
|
|
8815
|
+
}, z.core.$strip>>;
|
|
8716
8816
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
8717
8817
|
type: z.ZodString;
|
|
8718
8818
|
id: z.ZodString;
|
|
@@ -9553,6 +9653,11 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
|
|
|
9553
9653
|
id: z.ZodString;
|
|
9554
9654
|
}, z.core.$strip>]>;
|
|
9555
9655
|
resource: z.ZodOptional<z.ZodObject<{
|
|
9656
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
9657
|
+
ownerId: z.ZodString;
|
|
9658
|
+
id: z.ZodString;
|
|
9659
|
+
name: z.ZodString;
|
|
9660
|
+
}, z.core.$strip>>;
|
|
9556
9661
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
9557
9662
|
type: z.ZodString;
|
|
9558
9663
|
id: z.ZodString;
|
|
@@ -9597,6 +9702,11 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
|
|
|
9597
9702
|
id: z.ZodString;
|
|
9598
9703
|
}, z.core.$strip>]>;
|
|
9599
9704
|
resource: z.ZodOptional<z.ZodObject<{
|
|
9705
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
9706
|
+
ownerId: z.ZodString;
|
|
9707
|
+
id: z.ZodString;
|
|
9708
|
+
name: z.ZodString;
|
|
9709
|
+
}, z.core.$strip>>;
|
|
9600
9710
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
9601
9711
|
type: z.ZodString;
|
|
9602
9712
|
id: z.ZodString;
|
|
@@ -9743,6 +9853,11 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
|
|
|
9743
9853
|
id: z.ZodString;
|
|
9744
9854
|
}, z.core.$strip>]>;
|
|
9745
9855
|
resource: z.ZodOptional<z.ZodObject<{
|
|
9856
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
9857
|
+
ownerId: z.ZodString;
|
|
9858
|
+
id: z.ZodString;
|
|
9859
|
+
name: z.ZodString;
|
|
9860
|
+
}, z.core.$strip>>;
|
|
9746
9861
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
9747
9862
|
type: z.ZodString;
|
|
9748
9863
|
id: z.ZodString;
|
|
@@ -9787,6 +9902,11 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
|
|
|
9787
9902
|
id: z.ZodString;
|
|
9788
9903
|
}, z.core.$strip>]>;
|
|
9789
9904
|
resource: z.ZodOptional<z.ZodObject<{
|
|
9905
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
9906
|
+
ownerId: z.ZodString;
|
|
9907
|
+
id: z.ZodString;
|
|
9908
|
+
name: z.ZodString;
|
|
9909
|
+
}, z.core.$strip>>;
|
|
9790
9910
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
9791
9911
|
type: z.ZodString;
|
|
9792
9912
|
id: z.ZodString;
|
|
@@ -9963,6 +10083,11 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
|
|
|
9963
10083
|
id: z.ZodString;
|
|
9964
10084
|
}, z.core.$strip>]>;
|
|
9965
10085
|
resource: z.ZodOptional<z.ZodObject<{
|
|
10086
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
10087
|
+
ownerId: z.ZodString;
|
|
10088
|
+
id: z.ZodString;
|
|
10089
|
+
name: z.ZodString;
|
|
10090
|
+
}, z.core.$strip>>;
|
|
9966
10091
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
9967
10092
|
type: z.ZodString;
|
|
9968
10093
|
id: z.ZodString;
|
|
@@ -10007,6 +10132,11 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
|
|
|
10007
10132
|
id: z.ZodString;
|
|
10008
10133
|
}, z.core.$strip>]>;
|
|
10009
10134
|
resource: z.ZodOptional<z.ZodObject<{
|
|
10135
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
10136
|
+
ownerId: z.ZodString;
|
|
10137
|
+
id: z.ZodString;
|
|
10138
|
+
name: z.ZodString;
|
|
10139
|
+
}, z.core.$strip>>;
|
|
10010
10140
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
10011
10141
|
type: z.ZodString;
|
|
10012
10142
|
id: z.ZodString;
|
|
@@ -10185,8 +10315,6 @@ type WorkbenchExtensionMetadata = z.infer<typeof workbenchExtensionMetadataSchem
|
|
|
10185
10315
|
type WorkbenchExtensionViewRecord = z.infer<typeof workbenchExtensionViewRecordSchema>;
|
|
10186
10316
|
type WorkbenchExtensionViewBody = z.infer<typeof workbenchExtensionViewBodySchema>;
|
|
10187
10317
|
type WorkbenchExtensionHarnessRecord = NonNullable<WorkbenchExtensionMetadata["harnesses"]>[number];
|
|
10188
|
-
//#endregion
|
|
10189
|
-
//#region ../pstdio-api-contracts/src/extensions/check.d.ts
|
|
10190
10318
|
declare const listExtensionCommandsResponseSchema: z.ZodObject<{
|
|
10191
10319
|
commands: z.ZodArray<z.ZodObject<{
|
|
10192
10320
|
id: z.ZodString;
|
|
@@ -10329,8 +10457,6 @@ declare const listExtensionAppearanceResponseSchema: z.ZodObject<{
|
|
|
10329
10457
|
}, z.core.$strip>;
|
|
10330
10458
|
type ListExtensionCommandsResponse = z.infer<typeof listExtensionCommandsResponseSchema>;
|
|
10331
10459
|
type ListExtensionAppearanceResponse = z.infer<typeof listExtensionAppearanceResponseSchema>;
|
|
10332
|
-
//#endregion
|
|
10333
|
-
//#region ../pstdio-api-contracts/src/extensions/collection-view.d.ts
|
|
10334
10460
|
/** What a rule's value must be for a condition the field kind accepts. */
|
|
10335
10461
|
declare const viewFilterValueKind: (kind: ViewFieldKind, condition: ViewFilterCondition) => "boolean" | "day" | "none" | "number" | "options" | "text";
|
|
10336
10462
|
interface ViewRuleField {
|
|
@@ -10344,8 +10470,6 @@ interface ViewRuleField {
|
|
|
10344
10470
|
}
|
|
10345
10471
|
/** The first reason the filter does not fit the fields, or undefined. */
|
|
10346
10472
|
declare const findViewFilterProblem: (filter: ViewFilterGroup, fields: ViewRuleField[]) => string | undefined;
|
|
10347
|
-
//#endregion
|
|
10348
|
-
//#region ../pstdio-api-contracts/src/extensions/commands.d.ts
|
|
10349
10473
|
declare const extensionCommandRecordSchema: z.ZodObject<{
|
|
10350
10474
|
id: z.ZodString;
|
|
10351
10475
|
extensionId: z.ZodString;
|
|
@@ -10490,8 +10614,6 @@ type ExtensionCommandRecord = z.infer<typeof extensionCommandRecordSchema>;
|
|
|
10490
10614
|
type WorkbenchExtensionAutomationRecord = z.infer<typeof workbenchExtensionAutomationRecordSchema>;
|
|
10491
10615
|
type ExtensionMenuContribution = z.infer<typeof extensionMenuContributionSchema>;
|
|
10492
10616
|
type ExtensionCommandPaletteContribution = z.infer<typeof extensionCommandPaletteContributionSchema>;
|
|
10493
|
-
//#endregion
|
|
10494
|
-
//#region ../pstdio-api-contracts/src/extensions/common.d.ts
|
|
10495
10617
|
declare const localizableStringSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
10496
10618
|
$l10n: z.ZodString;
|
|
10497
10619
|
default: z.ZodOptional<z.ZodString>;
|
|
@@ -10523,8 +10645,6 @@ declare const extensionRecordSchema: z.ZodObject<{
|
|
|
10523
10645
|
type ExtensionDiagnostic = z.infer<typeof extensionDiagnosticSchema>;
|
|
10524
10646
|
type LocalizableString = z.infer<typeof localizableStringSchema>;
|
|
10525
10647
|
type ExtensionRecord = z.infer<typeof extensionRecordSchema>;
|
|
10526
|
-
//#endregion
|
|
10527
|
-
//#region ../pstdio-api-contracts/src/extensions/connections.d.ts
|
|
10528
10648
|
declare const extensionConnectionRecordSchema: z.ZodObject<{
|
|
10529
10649
|
id: z.ZodString;
|
|
10530
10650
|
extensionId: z.ZodString;
|
|
@@ -10570,13 +10690,16 @@ declare const listExtensionConnectionsResponseSchema: z.ZodObject<{
|
|
|
10570
10690
|
type ExtensionConnectionRecord = z.infer<typeof extensionConnectionRecordSchema>;
|
|
10571
10691
|
type ConfigureExtensionConnectionInput = z.infer<typeof configureExtensionConnectionSchema>;
|
|
10572
10692
|
type ListExtensionConnectionsResponse = z.infer<typeof listExtensionConnectionsResponseSchema>;
|
|
10573
|
-
//#endregion
|
|
10574
|
-
//#region ../pstdio-api-contracts/src/extensions/execute.d.ts
|
|
10575
10693
|
declare const commandExecuteRequestSchema: z.ZodObject<{
|
|
10576
10694
|
projectId: z.ZodString;
|
|
10577
10695
|
workspaceId: z.ZodOptional<z.ZodString>;
|
|
10578
10696
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10579
10697
|
resource: z.ZodOptional<z.ZodObject<{
|
|
10698
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
10699
|
+
ownerId: z.ZodString;
|
|
10700
|
+
id: z.ZodString;
|
|
10701
|
+
name: z.ZodString;
|
|
10702
|
+
}, z.core.$strip>>;
|
|
10580
10703
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
10581
10704
|
type: z.ZodString;
|
|
10582
10705
|
id: z.ZodString;
|
|
@@ -10605,6 +10728,11 @@ declare const commandExecuteRequestSchema: z.ZodObject<{
|
|
|
10605
10728
|
mode: z.ZodOptional<z.ZodString>;
|
|
10606
10729
|
projectId: z.ZodOptional<z.ZodString>;
|
|
10607
10730
|
resource: z.ZodOptional<z.ZodObject<{
|
|
10731
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
10732
|
+
ownerId: z.ZodString;
|
|
10733
|
+
id: z.ZodString;
|
|
10734
|
+
name: z.ZodString;
|
|
10735
|
+
}, z.core.$strip>>;
|
|
10608
10736
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
10609
10737
|
type: z.ZodString;
|
|
10610
10738
|
id: z.ZodString;
|
|
@@ -10642,6 +10770,11 @@ declare const commandExecuteBodySchema: z.ZodObject<{
|
|
|
10642
10770
|
workspaceId: z.ZodOptional<z.ZodString>;
|
|
10643
10771
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10644
10772
|
resource: z.ZodOptional<z.ZodObject<{
|
|
10773
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
10774
|
+
ownerId: z.ZodString;
|
|
10775
|
+
id: z.ZodString;
|
|
10776
|
+
name: z.ZodString;
|
|
10777
|
+
}, z.core.$strip>>;
|
|
10645
10778
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
10646
10779
|
type: z.ZodString;
|
|
10647
10780
|
id: z.ZodString;
|
|
@@ -10670,6 +10803,11 @@ declare const commandExecuteBodySchema: z.ZodObject<{
|
|
|
10670
10803
|
mode: z.ZodOptional<z.ZodString>;
|
|
10671
10804
|
projectId: z.ZodOptional<z.ZodString>;
|
|
10672
10805
|
resource: z.ZodOptional<z.ZodObject<{
|
|
10806
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
10807
|
+
ownerId: z.ZodString;
|
|
10808
|
+
id: z.ZodString;
|
|
10809
|
+
name: z.ZodString;
|
|
10810
|
+
}, z.core.$strip>>;
|
|
10673
10811
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
10674
10812
|
type: z.ZodString;
|
|
10675
10813
|
id: z.ZodString;
|
|
@@ -10765,8 +10903,6 @@ type DispatchExtensionEventInput = {
|
|
|
10765
10903
|
eventId: string;
|
|
10766
10904
|
payload: Struct;
|
|
10767
10905
|
};
|
|
10768
|
-
//#endregion
|
|
10769
|
-
//#region ../pstdio-api-contracts/src/extensions/install.d.ts
|
|
10770
10906
|
declare const enableInstalledExtensionRequestSchema: z.ZodObject<{
|
|
10771
10907
|
displayName: z.ZodString;
|
|
10772
10908
|
extensionId: z.ZodString;
|
|
@@ -10978,8 +11114,6 @@ type ListProjectExtensionsResponse = z.infer<typeof listProjectExtensionsRespons
|
|
|
10978
11114
|
type UpgradeProjectExtensionResponse = z.infer<typeof upgradeProjectExtensionResponseSchema>;
|
|
10979
11115
|
type InstallMarketplaceExtensionResponse = z.infer<typeof installMarketplaceExtensionResponseSchema>;
|
|
10980
11116
|
type AddLocalExtensionFolderResponse = z.infer<typeof addLocalExtensionFolderResponseSchema>;
|
|
10981
|
-
//#endregion
|
|
10982
|
-
//#region ../pstdio-api-contracts/src/extensions/installation.d.ts
|
|
10983
11117
|
declare const installExtensionRequestSchema: z.ZodObject<{
|
|
10984
11118
|
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10985
11119
|
kind: z.ZodLiteral<"catalog">;
|
|
@@ -11325,6 +11459,11 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
|
|
|
11325
11459
|
id: z.ZodString;
|
|
11326
11460
|
}, z.core.$strip>]>;
|
|
11327
11461
|
resource: z.ZodOptional<z.ZodObject<{
|
|
11462
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
11463
|
+
ownerId: z.ZodString;
|
|
11464
|
+
id: z.ZodString;
|
|
11465
|
+
name: z.ZodString;
|
|
11466
|
+
}, z.core.$strip>>;
|
|
11328
11467
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
11329
11468
|
type: z.ZodString;
|
|
11330
11469
|
id: z.ZodString;
|
|
@@ -11369,6 +11508,11 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
|
|
|
11369
11508
|
id: z.ZodString;
|
|
11370
11509
|
}, z.core.$strip>]>;
|
|
11371
11510
|
resource: z.ZodOptional<z.ZodObject<{
|
|
11511
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
11512
|
+
ownerId: z.ZodString;
|
|
11513
|
+
id: z.ZodString;
|
|
11514
|
+
name: z.ZodString;
|
|
11515
|
+
}, z.core.$strip>>;
|
|
11372
11516
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
11373
11517
|
type: z.ZodString;
|
|
11374
11518
|
id: z.ZodString;
|
|
@@ -12209,6 +12353,11 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
|
|
|
12209
12353
|
id: z.ZodString;
|
|
12210
12354
|
}, z.core.$strip>]>;
|
|
12211
12355
|
resource: z.ZodOptional<z.ZodObject<{
|
|
12356
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
12357
|
+
ownerId: z.ZodString;
|
|
12358
|
+
id: z.ZodString;
|
|
12359
|
+
name: z.ZodString;
|
|
12360
|
+
}, z.core.$strip>>;
|
|
12212
12361
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
12213
12362
|
type: z.ZodString;
|
|
12214
12363
|
id: z.ZodString;
|
|
@@ -12253,6 +12402,11 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
|
|
|
12253
12402
|
id: z.ZodString;
|
|
12254
12403
|
}, z.core.$strip>]>;
|
|
12255
12404
|
resource: z.ZodOptional<z.ZodObject<{
|
|
12405
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
12406
|
+
ownerId: z.ZodString;
|
|
12407
|
+
id: z.ZodString;
|
|
12408
|
+
name: z.ZodString;
|
|
12409
|
+
}, z.core.$strip>>;
|
|
12256
12410
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
12257
12411
|
type: z.ZodString;
|
|
12258
12412
|
id: z.ZodString;
|
|
@@ -12399,6 +12553,11 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
|
|
|
12399
12553
|
id: z.ZodString;
|
|
12400
12554
|
}, z.core.$strip>]>;
|
|
12401
12555
|
resource: z.ZodOptional<z.ZodObject<{
|
|
12556
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
12557
|
+
ownerId: z.ZodString;
|
|
12558
|
+
id: z.ZodString;
|
|
12559
|
+
name: z.ZodString;
|
|
12560
|
+
}, z.core.$strip>>;
|
|
12402
12561
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
12403
12562
|
type: z.ZodString;
|
|
12404
12563
|
id: z.ZodString;
|
|
@@ -12443,6 +12602,11 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
|
|
|
12443
12602
|
id: z.ZodString;
|
|
12444
12603
|
}, z.core.$strip>]>;
|
|
12445
12604
|
resource: z.ZodOptional<z.ZodObject<{
|
|
12605
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
12606
|
+
ownerId: z.ZodString;
|
|
12607
|
+
id: z.ZodString;
|
|
12608
|
+
name: z.ZodString;
|
|
12609
|
+
}, z.core.$strip>>;
|
|
12446
12610
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
12447
12611
|
type: z.ZodString;
|
|
12448
12612
|
id: z.ZodString;
|
|
@@ -12619,6 +12783,11 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
|
|
|
12619
12783
|
id: z.ZodString;
|
|
12620
12784
|
}, z.core.$strip>]>;
|
|
12621
12785
|
resource: z.ZodOptional<z.ZodObject<{
|
|
12786
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
12787
|
+
ownerId: z.ZodString;
|
|
12788
|
+
id: z.ZodString;
|
|
12789
|
+
name: z.ZodString;
|
|
12790
|
+
}, z.core.$strip>>;
|
|
12622
12791
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
12623
12792
|
type: z.ZodString;
|
|
12624
12793
|
id: z.ZodString;
|
|
@@ -12663,6 +12832,11 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
|
|
|
12663
12832
|
id: z.ZodString;
|
|
12664
12833
|
}, z.core.$strip>]>;
|
|
12665
12834
|
resource: z.ZodOptional<z.ZodObject<{
|
|
12835
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
12836
|
+
ownerId: z.ZodString;
|
|
12837
|
+
id: z.ZodString;
|
|
12838
|
+
name: z.ZodString;
|
|
12839
|
+
}, z.core.$strip>>;
|
|
12666
12840
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
12667
12841
|
type: z.ZodString;
|
|
12668
12842
|
id: z.ZodString;
|
|
@@ -13240,6 +13414,11 @@ declare const installExtensionResponseSchema: z.ZodObject<{
|
|
|
13240
13414
|
id: z.ZodString;
|
|
13241
13415
|
}, z.core.$strip>]>;
|
|
13242
13416
|
resource: z.ZodOptional<z.ZodObject<{
|
|
13417
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
13418
|
+
ownerId: z.ZodString;
|
|
13419
|
+
id: z.ZodString;
|
|
13420
|
+
name: z.ZodString;
|
|
13421
|
+
}, z.core.$strip>>;
|
|
13243
13422
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
13244
13423
|
type: z.ZodString;
|
|
13245
13424
|
id: z.ZodString;
|
|
@@ -13284,6 +13463,11 @@ declare const installExtensionResponseSchema: z.ZodObject<{
|
|
|
13284
13463
|
id: z.ZodString;
|
|
13285
13464
|
}, z.core.$strip>]>;
|
|
13286
13465
|
resource: z.ZodOptional<z.ZodObject<{
|
|
13466
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
13467
|
+
ownerId: z.ZodString;
|
|
13468
|
+
id: z.ZodString;
|
|
13469
|
+
name: z.ZodString;
|
|
13470
|
+
}, z.core.$strip>>;
|
|
13287
13471
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
13288
13472
|
type: z.ZodString;
|
|
13289
13473
|
id: z.ZodString;
|
|
@@ -14124,6 +14308,11 @@ declare const installExtensionResponseSchema: z.ZodObject<{
|
|
|
14124
14308
|
id: z.ZodString;
|
|
14125
14309
|
}, z.core.$strip>]>;
|
|
14126
14310
|
resource: z.ZodOptional<z.ZodObject<{
|
|
14311
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
14312
|
+
ownerId: z.ZodString;
|
|
14313
|
+
id: z.ZodString;
|
|
14314
|
+
name: z.ZodString;
|
|
14315
|
+
}, z.core.$strip>>;
|
|
14127
14316
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
14128
14317
|
type: z.ZodString;
|
|
14129
14318
|
id: z.ZodString;
|
|
@@ -14168,6 +14357,11 @@ declare const installExtensionResponseSchema: z.ZodObject<{
|
|
|
14168
14357
|
id: z.ZodString;
|
|
14169
14358
|
}, z.core.$strip>]>;
|
|
14170
14359
|
resource: z.ZodOptional<z.ZodObject<{
|
|
14360
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
14361
|
+
ownerId: z.ZodString;
|
|
14362
|
+
id: z.ZodString;
|
|
14363
|
+
name: z.ZodString;
|
|
14364
|
+
}, z.core.$strip>>;
|
|
14171
14365
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
14172
14366
|
type: z.ZodString;
|
|
14173
14367
|
id: z.ZodString;
|
|
@@ -14314,6 +14508,11 @@ declare const installExtensionResponseSchema: z.ZodObject<{
|
|
|
14314
14508
|
id: z.ZodString;
|
|
14315
14509
|
}, z.core.$strip>]>;
|
|
14316
14510
|
resource: z.ZodOptional<z.ZodObject<{
|
|
14511
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
14512
|
+
ownerId: z.ZodString;
|
|
14513
|
+
id: z.ZodString;
|
|
14514
|
+
name: z.ZodString;
|
|
14515
|
+
}, z.core.$strip>>;
|
|
14317
14516
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
14318
14517
|
type: z.ZodString;
|
|
14319
14518
|
id: z.ZodString;
|
|
@@ -14358,6 +14557,11 @@ declare const installExtensionResponseSchema: z.ZodObject<{
|
|
|
14358
14557
|
id: z.ZodString;
|
|
14359
14558
|
}, z.core.$strip>]>;
|
|
14360
14559
|
resource: z.ZodOptional<z.ZodObject<{
|
|
14560
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
14561
|
+
ownerId: z.ZodString;
|
|
14562
|
+
id: z.ZodString;
|
|
14563
|
+
name: z.ZodString;
|
|
14564
|
+
}, z.core.$strip>>;
|
|
14361
14565
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
14362
14566
|
type: z.ZodString;
|
|
14363
14567
|
id: z.ZodString;
|
|
@@ -14534,6 +14738,11 @@ declare const installExtensionResponseSchema: z.ZodObject<{
|
|
|
14534
14738
|
id: z.ZodString;
|
|
14535
14739
|
}, z.core.$strip>]>;
|
|
14536
14740
|
resource: z.ZodOptional<z.ZodObject<{
|
|
14741
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
14742
|
+
ownerId: z.ZodString;
|
|
14743
|
+
id: z.ZodString;
|
|
14744
|
+
name: z.ZodString;
|
|
14745
|
+
}, z.core.$strip>>;
|
|
14537
14746
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
14538
14747
|
type: z.ZodString;
|
|
14539
14748
|
id: z.ZodString;
|
|
@@ -14578,6 +14787,11 @@ declare const installExtensionResponseSchema: z.ZodObject<{
|
|
|
14578
14787
|
id: z.ZodString;
|
|
14579
14788
|
}, z.core.$strip>]>;
|
|
14580
14789
|
resource: z.ZodOptional<z.ZodObject<{
|
|
14790
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
14791
|
+
ownerId: z.ZodString;
|
|
14792
|
+
id: z.ZodString;
|
|
14793
|
+
name: z.ZodString;
|
|
14794
|
+
}, z.core.$strip>>;
|
|
14581
14795
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
14582
14796
|
type: z.ZodString;
|
|
14583
14797
|
id: z.ZodString;
|
|
@@ -15190,6 +15404,11 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
15190
15404
|
id: z.ZodString;
|
|
15191
15405
|
}, z.core.$strip>]>;
|
|
15192
15406
|
resource: z.ZodOptional<z.ZodObject<{
|
|
15407
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
15408
|
+
ownerId: z.ZodString;
|
|
15409
|
+
id: z.ZodString;
|
|
15410
|
+
name: z.ZodString;
|
|
15411
|
+
}, z.core.$strip>>;
|
|
15193
15412
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
15194
15413
|
type: z.ZodString;
|
|
15195
15414
|
id: z.ZodString;
|
|
@@ -15234,6 +15453,11 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
15234
15453
|
id: z.ZodString;
|
|
15235
15454
|
}, z.core.$strip>]>;
|
|
15236
15455
|
resource: z.ZodOptional<z.ZodObject<{
|
|
15456
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
15457
|
+
ownerId: z.ZodString;
|
|
15458
|
+
id: z.ZodString;
|
|
15459
|
+
name: z.ZodString;
|
|
15460
|
+
}, z.core.$strip>>;
|
|
15237
15461
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
15238
15462
|
type: z.ZodString;
|
|
15239
15463
|
id: z.ZodString;
|
|
@@ -16074,6 +16298,11 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
16074
16298
|
id: z.ZodString;
|
|
16075
16299
|
}, z.core.$strip>]>;
|
|
16076
16300
|
resource: z.ZodOptional<z.ZodObject<{
|
|
16301
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
16302
|
+
ownerId: z.ZodString;
|
|
16303
|
+
id: z.ZodString;
|
|
16304
|
+
name: z.ZodString;
|
|
16305
|
+
}, z.core.$strip>>;
|
|
16077
16306
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
16078
16307
|
type: z.ZodString;
|
|
16079
16308
|
id: z.ZodString;
|
|
@@ -16118,6 +16347,11 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
16118
16347
|
id: z.ZodString;
|
|
16119
16348
|
}, z.core.$strip>]>;
|
|
16120
16349
|
resource: z.ZodOptional<z.ZodObject<{
|
|
16350
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
16351
|
+
ownerId: z.ZodString;
|
|
16352
|
+
id: z.ZodString;
|
|
16353
|
+
name: z.ZodString;
|
|
16354
|
+
}, z.core.$strip>>;
|
|
16121
16355
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
16122
16356
|
type: z.ZodString;
|
|
16123
16357
|
id: z.ZodString;
|
|
@@ -16264,6 +16498,11 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
16264
16498
|
id: z.ZodString;
|
|
16265
16499
|
}, z.core.$strip>]>;
|
|
16266
16500
|
resource: z.ZodOptional<z.ZodObject<{
|
|
16501
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
16502
|
+
ownerId: z.ZodString;
|
|
16503
|
+
id: z.ZodString;
|
|
16504
|
+
name: z.ZodString;
|
|
16505
|
+
}, z.core.$strip>>;
|
|
16267
16506
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
16268
16507
|
type: z.ZodString;
|
|
16269
16508
|
id: z.ZodString;
|
|
@@ -16308,6 +16547,11 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
16308
16547
|
id: z.ZodString;
|
|
16309
16548
|
}, z.core.$strip>]>;
|
|
16310
16549
|
resource: z.ZodOptional<z.ZodObject<{
|
|
16550
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
16551
|
+
ownerId: z.ZodString;
|
|
16552
|
+
id: z.ZodString;
|
|
16553
|
+
name: z.ZodString;
|
|
16554
|
+
}, z.core.$strip>>;
|
|
16311
16555
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
16312
16556
|
type: z.ZodString;
|
|
16313
16557
|
id: z.ZodString;
|
|
@@ -16484,6 +16728,11 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
16484
16728
|
id: z.ZodString;
|
|
16485
16729
|
}, z.core.$strip>]>;
|
|
16486
16730
|
resource: z.ZodOptional<z.ZodObject<{
|
|
16731
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
16732
|
+
ownerId: z.ZodString;
|
|
16733
|
+
id: z.ZodString;
|
|
16734
|
+
name: z.ZodString;
|
|
16735
|
+
}, z.core.$strip>>;
|
|
16487
16736
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
16488
16737
|
type: z.ZodString;
|
|
16489
16738
|
id: z.ZodString;
|
|
@@ -16528,6 +16777,11 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
16528
16777
|
id: z.ZodString;
|
|
16529
16778
|
}, z.core.$strip>]>;
|
|
16530
16779
|
resource: z.ZodOptional<z.ZodObject<{
|
|
16780
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
16781
|
+
ownerId: z.ZodString;
|
|
16782
|
+
id: z.ZodString;
|
|
16783
|
+
name: z.ZodString;
|
|
16784
|
+
}, z.core.$strip>>;
|
|
16531
16785
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
16532
16786
|
type: z.ZodString;
|
|
16533
16787
|
id: z.ZodString;
|
|
@@ -16757,8 +17011,6 @@ type InstallExtensionRequest = z.infer<typeof installExtensionRequestSchema>;
|
|
|
16757
17011
|
type InstallExtensionResponse = z.infer<typeof installExtensionResponseSchema>;
|
|
16758
17012
|
type InstalledExtensionSource = z.infer<typeof installedExtensionSourceSchema>;
|
|
16759
17013
|
type ExtensionDiagnosticsResponse = z.infer<typeof extensionDiagnosticsResponseSchema>;
|
|
16760
|
-
//#endregion
|
|
16761
|
-
//#region ../pstdio-api-contracts/src/extensions/kanban-renderer.d.ts
|
|
16762
17014
|
declare const extensionCommandPaletteResourceRecordSchema: z.ZodObject<{
|
|
16763
17015
|
id: z.ZodString;
|
|
16764
17016
|
extensionId: z.ZodString;
|
|
@@ -16772,8 +17024,6 @@ declare const extensionCommandPaletteResourceRecordSchema: z.ZodObject<{
|
|
|
16772
17024
|
}, z.core.$strip>;
|
|
16773
17025
|
type ExtensionCommandPaletteResourceRecord = z.infer<typeof extensionCommandPaletteResourceRecordSchema>;
|
|
16774
17026
|
type WorkbenchExtensionCommandPaletteResourceRecord = z.infer<typeof extensionCommandPaletteResourceRecordSchema>;
|
|
16775
|
-
//#endregion
|
|
16776
|
-
//#region ../pstdio-api-contracts/src/extensions/keybindings.d.ts
|
|
16777
17027
|
declare const extensionKeybindingRecordSchema: z.ZodObject<{
|
|
16778
17028
|
id: z.ZodString;
|
|
16779
17029
|
extensionId: z.ZodString;
|
|
@@ -16793,6 +17043,11 @@ declare const extensionKeybindingRecordSchema: z.ZodObject<{
|
|
|
16793
17043
|
id: z.ZodString;
|
|
16794
17044
|
}, z.core.$strip>]>;
|
|
16795
17045
|
resource: z.ZodOptional<z.ZodObject<{
|
|
17046
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
17047
|
+
ownerId: z.ZodString;
|
|
17048
|
+
id: z.ZodString;
|
|
17049
|
+
name: z.ZodString;
|
|
17050
|
+
}, z.core.$strip>>;
|
|
16796
17051
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
16797
17052
|
type: z.ZodString;
|
|
16798
17053
|
id: z.ZodString;
|
|
@@ -16837,6 +17092,11 @@ declare const extensionKeybindingRecordSchema: z.ZodObject<{
|
|
|
16837
17092
|
id: z.ZodString;
|
|
16838
17093
|
}, z.core.$strip>]>;
|
|
16839
17094
|
resource: z.ZodOptional<z.ZodObject<{
|
|
17095
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
17096
|
+
ownerId: z.ZodString;
|
|
17097
|
+
id: z.ZodString;
|
|
17098
|
+
name: z.ZodString;
|
|
17099
|
+
}, z.core.$strip>>;
|
|
16840
17100
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
16841
17101
|
type: z.ZodString;
|
|
16842
17102
|
id: z.ZodString;
|
|
@@ -16884,8 +17144,6 @@ declare const extensionKeybindingRecordSchema: z.ZodObject<{
|
|
|
16884
17144
|
}, z.core.$strip>>;
|
|
16885
17145
|
}, z.core.$strip>;
|
|
16886
17146
|
type ExtensionKeybindingRecord = z.infer<typeof extensionKeybindingRecordSchema>;
|
|
16887
|
-
//#endregion
|
|
16888
|
-
//#region ../pstdio-api-contracts/src/extensions/settings.d.ts
|
|
16889
17147
|
declare const extensionSettingsPanelRecordSchema: z.ZodObject<{
|
|
16890
17148
|
id: z.ZodString;
|
|
16891
17149
|
extensionId: z.ZodString;
|
|
@@ -17032,8 +17290,6 @@ type ExtensionSettingDefinitionRecord = z.infer<typeof extensionSettingDefinitio
|
|
|
17032
17290
|
type ExtensionSettingValueRecord = z.infer<typeof extensionSettingValueRecordSchema>;
|
|
17033
17291
|
type ListExtensionSettingsResponse = z.infer<typeof listExtensionSettingsResponseSchema>;
|
|
17034
17292
|
type UpdateExtensionSettingRequest = z.infer<typeof updateExtensionSettingRequestSchema>;
|
|
17035
|
-
//#endregion
|
|
17036
|
-
//#region ../pstdio-api-contracts/src/files.d.ts
|
|
17037
17293
|
declare const fileRecordSchema: z.ZodObject<{
|
|
17038
17294
|
id: z.ZodString;
|
|
17039
17295
|
project_id: z.ZodString;
|
|
@@ -17047,14 +17303,10 @@ declare const fileRecordSchema: z.ZodObject<{
|
|
|
17047
17303
|
updated_at: z.ZodString;
|
|
17048
17304
|
}, z.core.$strip>;
|
|
17049
17305
|
type FileRecord = z.infer<typeof fileRecordSchema>;
|
|
17050
|
-
//#endregion
|
|
17051
|
-
//#region ../pstdio-api-contracts/src/link-icons.d.ts
|
|
17052
17306
|
declare const linkIconSchema: z.ZodObject<{
|
|
17053
17307
|
data_url: z.ZodString;
|
|
17054
17308
|
}, z.core.$strip>;
|
|
17055
17309
|
type LinkIcon = z.infer<typeof linkIconSchema>;
|
|
17056
|
-
//#endregion
|
|
17057
|
-
//#region ../pstdio-api-contracts/src/projects.d.ts
|
|
17058
17310
|
declare const projectSchema: z.ZodObject<{
|
|
17059
17311
|
id: z.ZodString;
|
|
17060
17312
|
name: z.ZodString;
|
|
@@ -17128,16 +17380,12 @@ declare const projectUpdateRequestSchema: z.ZodObject<{
|
|
|
17128
17380
|
type InitialWorkspaceRequest = z.infer<typeof initialWorkspaceRequestSchema>;
|
|
17129
17381
|
type ProjectCreateRequest = z.input<typeof projectCreateRequestSchema>;
|
|
17130
17382
|
type ProjectUpdateRequest = z.infer<typeof projectUpdateRequestSchema>;
|
|
17131
|
-
//#endregion
|
|
17132
|
-
//#region ../pstdio-api-contracts/src/runtime-auth.d.ts
|
|
17133
17383
|
interface RuntimeReadyResponse {
|
|
17134
17384
|
ok: true;
|
|
17135
17385
|
instanceId: string;
|
|
17136
17386
|
ownerType: "desktop" | "persistent";
|
|
17137
17387
|
protocolVersion: 1;
|
|
17138
17388
|
}
|
|
17139
|
-
//#endregion
|
|
17140
|
-
//#region ../pstdio-api-contracts/src/session-attachment-types.d.ts
|
|
17141
17389
|
declare const sessionAttachmentMimeTypesByExtension: {
|
|
17142
17390
|
readonly c: "text/plain";
|
|
17143
17391
|
readonly cc: "text/plain";
|
|
@@ -17181,8 +17429,6 @@ declare const sessionAttachmentMimeTypesByExtension: {
|
|
|
17181
17429
|
readonly yaml: "text/plain";
|
|
17182
17430
|
readonly yml: "text/plain";
|
|
17183
17431
|
};
|
|
17184
|
-
//#endregion
|
|
17185
|
-
//#region ../pstdio-api-contracts/src/settings.d.ts
|
|
17186
17432
|
declare const settingsSchema: z.ZodObject<{
|
|
17187
17433
|
notifications_enabled: z.ZodBoolean;
|
|
17188
17434
|
machine_tokens_enabled: z.ZodBoolean;
|
|
@@ -17195,9 +17441,12 @@ declare const updateSettingsInputSchema: z.ZodObject<{
|
|
|
17195
17441
|
}, z.core.$strict>;
|
|
17196
17442
|
type Settings = z.infer<typeof settingsSchema>;
|
|
17197
17443
|
type UpdateSettingsInput = z.infer<typeof updateSettingsInputSchema>;
|
|
17198
|
-
//#endregion
|
|
17199
|
-
//#region ../pstdio-api-contracts/src/workspaces.d.ts
|
|
17200
17444
|
declare const workspaceSchema: z.ZodObject<{
|
|
17445
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
17446
|
+
ownerId: z.ZodString;
|
|
17447
|
+
id: z.ZodString;
|
|
17448
|
+
name: z.ZodString;
|
|
17449
|
+
}, z.core.$strip>>;
|
|
17201
17450
|
id: z.ZodString;
|
|
17202
17451
|
project_id: z.ZodString;
|
|
17203
17452
|
name: z.ZodString;
|
|
@@ -17236,6 +17485,11 @@ declare const workspaceSchema: z.ZodObject<{
|
|
|
17236
17485
|
workspace_shorthand: z.ZodString;
|
|
17237
17486
|
startup_log_file_id: z.ZodNullable<z.ZodString>;
|
|
17238
17487
|
anchors_json: z.ZodArray<z.ZodObject<{
|
|
17488
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
17489
|
+
ownerId: z.ZodString;
|
|
17490
|
+
id: z.ZodString;
|
|
17491
|
+
name: z.ZodString;
|
|
17492
|
+
}, z.core.$strip>>;
|
|
17239
17493
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
17240
17494
|
type: z.ZodString;
|
|
17241
17495
|
id: z.ZodString;
|
|
@@ -17256,6 +17510,11 @@ declare const workspaceSchema: z.ZodObject<{
|
|
|
17256
17510
|
deleted_at: z.ZodNullable<z.ZodString>;
|
|
17257
17511
|
}, z.core.$strip>;
|
|
17258
17512
|
declare const workspaceListItemSchema: z.ZodObject<{
|
|
17513
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
17514
|
+
ownerId: z.ZodString;
|
|
17515
|
+
id: z.ZodString;
|
|
17516
|
+
name: z.ZodString;
|
|
17517
|
+
}, z.core.$strip>>;
|
|
17259
17518
|
id: z.ZodString;
|
|
17260
17519
|
project_id: z.ZodString;
|
|
17261
17520
|
name: z.ZodString;
|
|
@@ -17294,6 +17553,11 @@ declare const workspaceListItemSchema: z.ZodObject<{
|
|
|
17294
17553
|
workspace_shorthand: z.ZodString;
|
|
17295
17554
|
startup_log_file_id: z.ZodNullable<z.ZodString>;
|
|
17296
17555
|
anchors_json: z.ZodArray<z.ZodObject<{
|
|
17556
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
17557
|
+
ownerId: z.ZodString;
|
|
17558
|
+
id: z.ZodString;
|
|
17559
|
+
name: z.ZodString;
|
|
17560
|
+
}, z.core.$strip>>;
|
|
17297
17561
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
17298
17562
|
type: z.ZodString;
|
|
17299
17563
|
id: z.ZodString;
|
|
@@ -17318,6 +17582,11 @@ declare const createWorkspaceInputSchema: z.ZodObject<{
|
|
|
17318
17582
|
provider_id: z.ZodString;
|
|
17319
17583
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
17320
17584
|
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17585
|
+
device: z.ZodOptional<z.ZodObject<{
|
|
17586
|
+
ownerId: z.ZodString;
|
|
17587
|
+
id: z.ZodString;
|
|
17588
|
+
name: z.ZodString;
|
|
17589
|
+
}, z.core.$strip>>;
|
|
17321
17590
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
17322
17591
|
type: z.ZodString;
|
|
17323
17592
|
id: z.ZodString;
|
|
@@ -17462,6 +17731,5 @@ declare const workspaceEntryMoveInputSchema: z.ZodObject<{
|
|
|
17462
17731
|
destinationPath: z.ZodString;
|
|
17463
17732
|
}, z.core.$strip>;
|
|
17464
17733
|
type WorkspaceEntryMoveInput = z.infer<typeof workspaceEntryMoveInputSchema>;
|
|
17465
|
-
//#endregion
|
|
17466
|
-
export { ListExtensionConnectionsResponse as $, HookDefinition as $a, PlacementContribution as $c, WebviewScopedDeclarableCapability as $d, LongTextParam as $f, NavigationTargetHref as $i, AnchorGridValue as $l, defineKeybinding as $n, HarnessStartInput as $o, ViewFieldKind as $p, resourceEvents as $r, NotificationOrigin$1 as $s, qualifyNavigationTarget as $t, ThemeContribution as $u, UpdateExtensionSettingRequest as A, ExtensionTerminalApi as Aa, PageMain as Ac, WebviewCommandsExecuteParams as Ad, SessionQueuedMessagesResponse as Af, CommandFailureDetails as Ai, DataTableRendererColumnRenderer as Al, ToolPartActionType as Am, ParsedWorkbenchPageUrl as An, HarnessOperationResult as Ao, JsonValue as Ap, RESOURCE_ACTIONS_EVENTS_SCOPE as Ar, BoardViewUpdate as As, isWebviewCapabilityError as At, CliContribution as Au, EnableInstalledExtensionResponse as B, ExtensionWorkspace as Ba, PageSlotRegion as Bc, WebviewHostCapabilityParams as Bd, SlotOptions as Bf, CommandReject as Bi, DataTableRendererSelectionAction as Bl, harnessLocalId as Bm, ExtensionViewRenderContext as Bn, HarnessMessagesInput as Bo, PlacementRef as Bp, packageAsset as Br, SkillDetails as Bs, NotificationOrigin as Bt, ExtensionSettingValueType as Bu, UpdateProjectInput as C, ExtensionNetApi as Ca, ViewHierarchyParent as Cc, KanbanRendererViewSettings as Cd, SessionConversationSources as Cf, ResourceMenuSlotDefinition as Ci, TreeRendererResourceRef as Cl, SessionMessagePart as Cm, resourceKey as Cn, HarnessStateApi as Co, TerminalSessionExit as Cp, commandRefId as Cr, StorageSaveState as Cs, CreateAutomationRunInput as Ct, SelectionGroup as Cu, ExtensionSettingValueRecord as D, ExtensionProjectContext as Da, PageContribution as Dc, WebviewArtifactsReadParams as Dd, SessionFollowUpDecision as Df, CommandContinue as Di, TreeViewSectionStructure as Dl, TextPart as Dm, qualifyRef as Dn, HarnessCommandDiscoveryContext as Do, TerminalSessionResult as Dp, getCommandValue as Dr, BoardSummary as Ds, ListAutomationTokensResponse as Dt, VectorValue as Du, ExtensionSettingDefinitionRecord as E, ExtensionProcessApi as Ea, FileSourcePosition as Ec, WebviewArtifactFile as Ed, SessionDetails as Ef, CommandCompletedEvent as Ei, TreeViewSection as El, StepStartPart as Em, QualifiedRef as En, HarnessCommandContext as Eo, TerminalSessionRequest as Ep, CommandResponse as Er, BoardField as Es, ListAutomationRunEventsResponse as Et, VectorControl as Eu, InstallExtensionRequest as F, SetupContext as Fa, PageParamValue as Fc, WebviewFileScope as Fd, QueuedFollowUpUpdateResponse as Ff, CommandMiddlewareResult as Fi, DataTableRendererResourceRef as Fl, AgentDetails as Fm, serializeWorkbenchPageUrl as Fn, HarnessApprovalChannel as Fo, ContributionInput as Fp, commandRef as Fr, ExtensionConnectionStreamEvent as Fs, ListNotificationsResponse as Ft, CommandPaletteResourceQueryResult as Fu, UpgradeProjectExtensionResponse as G, BehaviourContributions as Ga, ControlsViewBody as Gc, WebviewNotificationActionParams as Gd, ArtifactChangedPayload as Gf, CommandSource as Gi, ControlsQueryResult as Gl, PropsStore as Gn, HarnessQuestionOption as Go, ThemeRef as Gp, RebasePayload as Gr, CreateNotificationInput$1 as Gs, WorkspaceListItem$1 as Gt, MenuContribution as Gu, ListProjectExtensionsResponse as H, ExtensionWorkspaceProvider as Ha, PanelRef as Hc, WebviewHostCapabilityResults as Hd, UiSlotKind as Hf, CommandReplaceInvocation as Hi, DataTableRendererThemeColor as Hl, ActivityPage as Hm, WebviewPageClient as Hn, HarnessParams as Ho, SettingsSectionRef as Hp, CommitPayload as Hr, SkillWithContent as Hs, NotificationStatus as Ht, FileIconThemeContribution as Hu, InstallExtensionResponse as I, WorkspaceFilesMount as Ia, PageParams as Ic, WebviewFilesDeleteParams as Id, QueuedSteeringResult as If, CommandNotice as Ii, DataTableRendererRow as Il, AgentInfo as Im, defaultPageResourceCodec as In, HarnessAttachment as Io, ContributionKind as Ip, eventRef as Ir, ExtensionConnectionsApi as Is, Notification as It, CommandPaletteResourceTarget as Iu, CommandExecuteResponse as J, EXTENSION_API_VERSION as Ja, KanbanViewBody as Jc, WebviewNotificationShowParams as Jd, BooleanParam as Jf, SerializedError as Ji, ControlsResourceRef as Jl, defineArtifactMount as Jn, HarnessReattachInput as Jo, LocalizedString as Jp, WorkspaceType as Jr, Notification$1 as Js, WEBVIEW_HOST_CAPABILITIES as Jt, SettingsPanelContribution as Ju, CommandExecuteBody as K, CommandDefinition as Ka, DataTableViewBody as Kc, WebviewNotificationDismissParams as Kd, EventDeliveryResult as Kf, CommandStartedEvent as Ki, ControlsRendererContribution as Kl, defineExtension as Kn, HarnessQuestionReplyError as Ko, ViewRef as Kp, SessionLifecyclePayload as Kr, ListNotificationsQuery$1 as Ks, ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES as Kt, ModeContribution as Ku, InstalledExtensionSource as L, WorkspaceSyncFile as La, PageSlot as Lc, WebviewFilesListParams as Ld, SteerQueuedFollowUpInput as Lf, CommandOutcome as Li, DataTableRendererRowAction as Ll, AgentModel as Lm, resolveEventReferenceId as Ln, HarnessEventSink as Lo, ContributionRef as Lp, PageResourceCodec as Lr, ExtensionLoggerApi as Ls, NotificationAction as Lt, ExtensionSettingProperty as Lu, ExtensionCommandPaletteResourceRecord as M, ProcessRunInput as Ma, PageMainView as Mc, WebviewDeclarableCapability as Md, CombineQueuedFollowUpsInput as Mf, CommandInvocation as Mi, DataTableRendererContribution as Ml, AssetReference$1 as Mm, parsePageUrl as Mn, AgentCapability as Mo, Struct as Mp, isFileSourcePosition as Mr, ExtensionConnectionMethod as Ms, AssetTransfer as Mt, CommandPaletteResourceContribution as Mu, WorkbenchExtensionCommandPaletteResourceRecord as N, ProcessRunResult as Na, PageOpenIntent as Nc, WebviewExtensionSettingKeyParams as Nd, PendingQueuedFollowUpsResponse as Nf, CommandLifecycleEventPayload as Ni, DataTableRendererQueryParams as Nl, AssetTransfer$1 as Nm, parseWorkbenchPageUrl as Nn, ApprovalRequest as No, ConnectionRef as Np, defineSlot as Nr, ExtensionConnectionRequest as Ns, CreateNotificationInput as Nt, CommandPaletteResourceItem as Nu, ExtensionSettingsPanelRecord as O, ExtensionSettingsApi as Oa, PageDocumentDeclaration as Oc, WebviewCapabilityDeclaration as Od, SessionFollowUpRequest as Of, CommandDiagnostic as Oi, DEFAULT_DATA_TABLE_SETTINGS as Ol, TokenUsagePart as Om, params as On, HarnessCommandState as Oo, JsonObject as Op, unwrapCommandOutcome as Or, BoardView as Os, projectPrefix as Ot, ActivityItemContribution as Ou, ExtensionDiagnosticsResponse as P, RendererCallback as Pa, PageParamDefinition as Pc, WebviewExtensionSettingSetParams as Pd, QueuedFollowUpRequest as Pf, CommandLifecyclePhase as Pi, DataTableRendererQueryResult as Pl, AgentAvailabilityType as Pm, serializePageUrl as Pn, ApprovalResponse as Po, ContributionDefinition as Pp, serializeCommandError as Pr, ExtensionConnectionResponse as Ps, ListNotificationsQuery as Pt, CommandPaletteResourceQueryParams as Pu, ExtensionConnectionRecord as Q, ExtensionSourceKind as Qa, NavigationTreeSlot as Qc, WebviewResourceAction as Qd, ListParam as Qf, NavigationTargetCompound as Qi, AnchorGridControl as Ql, defineHarness as Qn, HarnessSession as Qo, VIEW_FILTER_CONDITIONS as Qp, projectSlots as Qr, NotificationKind$1 as Qs, normalizePageParams as Qt, TemplateTypeContribution as Qu, AddLocalExtensionFolderResponse as R, CreateExtensionWorkspaceInput as Ra, PageSlotCardinality as Rc, WebviewFilesUploadParams as Rd, UpdateQueuedFollowUpInput as Rf, CommandPatchParams as Ri, DataTableRendererRowActivationHandler as Rl, AgentSkillsLayout as Rm, ExtensionViewModule as Rn, HarnessExit as Ro, ModeRef as Rp, pageParamsQuery as Rr, ExtensionAutomationApi as Rs, NotificationActorType as Rt, ExtensionSettingScope as Ru, ProjectUpdateRequest as S, ExtensionFilesApi as Sa, ResourceRole as Sc, KanbanRendererViewMode as Sd, SessionConversationResponse as Sf, ResourceKindDefinition as Si, TreeRendererQueryParams as Sl, SessionMessage as Sm, createTerminalSessionBridge as Sn, HarnessSkillsLayout as So, TerminalSessionError as Sp, streamOf as Sr, StorageSaveOutcome as Ss, AutomationTokenRecord as St, SelectionControl as Su, FileRecord as T, ExtensionPackageFilesApi as Ta, PageQuery as Tc, VersionedWebviewCapabilityDeclaration as Td, SessionCreateResponse as Tf, extensionPanelRegions as Ti, TreeSectionEmptyState as Tl, StepFinishPart as Tm, commandEvent as Tn, DraftHarnessCommandInput as To, TerminalSessionOperation as Tp, CommandOutcomeError as Tr, ExtensionViewsApi as Ts, IssueAutomationTokenResponse as Tt, TextControl as Tu, MarketplaceExtension as U, ExtensionWorkspacesApi as Ua, PlacementIdentity as Uc, WebviewKeyboardEventParams as Ud, RendererContributionBase as Uf, CommandReplaceParams as Ui, ControlsApplyInput as Ul, WebviewFilesClient as Un, HarnessQuestion as Uo, SettingsSlotRef as Up, ConflictPayload as Ur, SkillWithContentDetails as Us, UpdateNotificationInput as Ut, KeybindingChord as Uu, InstallMarketplaceExtensionResponse as V, ExtensionWorkspaceCreateInput as Va, PageSlotRole as Vc, WebviewHostCapabilityResult as Vd, SlotRef as Vf, CommandRejectedEvent as Vi, DataTableRendererSettings as Vl, ActivityEntry as Vm, defineExtensionView as Vn, HarnessParamValue as Vo, ResourceKindRef as Vp, isNavigationTarget as Vr, SkillFile as Vs, NotificationPriority as Vt, ExtensionSettingsContribution as Vu, ProjectExtensionInstance as W, AssetContributions as Wa, PlacementOwner as Wc, WebviewNavigationOpenParams as Wd, RendererEventReference as Wf, CommandRequestedEvent as Wi, ControlsQueryParams as Wl, GuestHost as Wn, HarnessQuestionChannel as Wo, StatusBarSlotRef as Wp, MergePayload as Wr, UpdateSkillInput as Ws, Workspace$1 as Wt, KeybindingContribution as Wu, DispatchExtensionEventInput as X, ExtensionDefinition as Xa, NavigationOwnerRef as Xc, WebviewPreferencesGetParams as Xd, HarnessParam as Xf, NavigationTarget as Xi, ActionOption as Xl, defineConnection as Xn, HarnessRecoveryResult as Xo, l10n as Xp, gitEvents as Xr, NotificationActorType$1 as Xs, WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES as Xt, SkillContribution as Xu, CommandExecutionResult as Y, ExtensionConnectionContribution as Ya, NavigationItemContribution as Yc, WebviewPageParamsUpdateParams as Yd, FilesParam as Yf, WorkbenchAttachmentInvocationContext as Yi, ControlsUpdateValueInput as Yl, defineCommandPaletteResource as Yn, HarnessRecoveryInput as Yo, isLocalizedString as Yp, WorktreeRemovedPayload as Yr, NotificationAction$1 as Ys, WEBVIEW_HOST_CAPABILITY_VERSION as Yt, SettingsSectionContribution as Yu, ConfigureExtensionConnectionInput as Z, ExtensionLoadScope as Za, NavigationTreeContribution as Zc, WebviewPreferencesSetParams as Zd, JsonParam as Zf, NavigationTargetCommand as Zi, ActionsControl as Zl, defineFileIconTheme as Zn, HarnessResumeInput as Zo, normalizeBooleanViewRule as Zp, projectEvents as Zr, NotificationFinalStatus as Zs, mergeOrderedHistory as Zt, TemplateContribution as Zu, CreateProjectInput as _, EventContext as _a, ResourceIdentity as _c, KanbanRendererRowAction as _d, ResolveSessionIdResponse as _f, workbenchSlots as _i, TreeRendererActionParams as _l, ErrorPart as _m, ArtifactMountKey as _n, HarnessContext as _o, ResourceConstraint as _p, defineWorkspaceType as _r, StorageConflict as _s, EnvironmentBinding as _t, ResourceControl as _u, RemoveWorktreeResponse as a, FileRendererLoadResult as aa, PackageAssetDescriptor as ac, KanbanRendererAttributeDisplay as ad, ExtensionSessionSummary as af, worktreeEvents as ai, PlacementTabMenuRow as al, parseExtensionApiDeclaration as am, WebviewArtifactsClient as an, ScheduleExpression as ao, ParamOption as ap, defineResourceHierarchyProvider as ar, ExtensionBlobInput as as, ExtensionMenuContribution as at, ControlValue as au, ProjectCreateRequest as b, ExtensionContextBase as ba, ResourceRenumberedEvent as bc, KanbanRendererSettings as bd, SessionAttachmentDetails as bf, RegionSize as bi, TreeRendererContribution as bl, PatchPart as bm, TerminalSessionAdapter as bn, HarnessParamsSchema as bo, TerminalHostEvent as bp, defineHook as br, StorageRecord as bs, AutomationRunEvent as bt, SegmentedControl as bu, WorkspaceFileContent as c, FileRendererSectionAnchor as ca, RendererContext as cc, KanbanRendererColumnAction as cd, SessionExit as cf, localContributionIdPattern as ci, TreeViewBody as cl, HistoryProjection as cm, WebviewCommandsClient as cn, WorkspaceExecutionTarget as co, ParamValue as cp, defineSettingsPanel as cr, ExtensionStorageApi as cs, viewFilterValueKind as ct, HarnessControl as cu, WorkspaceProviderDescriptor as d, ArtifactMount as da, ResourceAnchorChangeEvent as dc, KanbanRendererEnumOption as dd, ApprovalInput as df, workbenchPageDefinitions as di, ViewMenuContribution as dl, historyMessageKey as dm, WebviewStreamsClient as dn, WorkspaceProviderRef as do, ResourceParam as dp, defineStatusBarItem as dr, ExtensionStoragePositionsApi as ds, WorkbenchExtensionHarnessRecord as dt, NumberControl as du, NavigationTargetItem as ea, NotificationPriority$1 as ec, ThemeMode as ed, ExtensionHarnessInput as ef, sessionEvents as ei, PlacementItem as el, ViewFilterCondition as em, resolveDataTableComparableValue as en, LocalExtensionSource as eo, MarkdownParam as ep, defineMode as er, HarnessSteeringInput as es, ExtensionDiagnostic as et, BaseControl as eu, WriteWorkspaceFileInput as f, CommandContext as fa, ResourceAnchorPage as fc, KanbanRendererMove as fd, CreateSessionInput as ff, workbenchPages as fi, WebviewViewBody as fl, historyValueKey as fm, CommandStream as fn, WorkspaceProviderResolveInput as fo, SelectParam as fp, defineTemplate as fr, StorageScope as fs, WorkbenchExtensionMetadata as ft, ParamEditorReadOnlyContent as fu, RuntimeReadyResponse as g, CommandStreamWriter as ga, ResourceAnchorValidationResult as gc, KanbanRendererRow as gd, ResolveSessionIdInput as gf, workbenchResourceKinds as gi, TreeNodeTarget as gl, submittedPrompt as gm, WebviewExtensionEvent as gn, StatusBarItemContribution as go, ResourceBinding as gp, defineViewMenu as gr, SharedEdit as gs, BindEnvironmentInput as gt, ReadOnlyControl as gu, sessionAttachmentMimeTypesByExtension as h, CommandRunHandler as ha, ResourceAnchorValidationInput as hc, KanbanRendererResourceRef as hd, ListSessionActivityResponse as hf, workbenchResourceKindDefinitions as hi, TreeNodeRowVariant as hl, splitHistoryTurns as hm, WebviewEventsClient as hn, WorkspaceTypeProvider as ho, WorkspaceParam as hp, defineView as hr, EnvironmentTarget as hs, MetadataPageTarget as ht, RangeValue as hu, ListWorkspaceFilesInput as i, FileRendererLoadParams as ia, ExtensionResourcesApi as ic, KanbanRendererAttributeDescriptor as id, ExtensionSessionResource as if, workspaceSlots as ii, PlacementTabMenuGroup as il, ViewSortDirection as im, matchesResourceWhen as in, ScheduleContribution as io, ParamObjectSchema as ip, definePlacement as ir, TimeoutStrategy as is, ExtensionCommandRecord as it, ControlParam as iu, ExtensionKeybindingRecord as j, MigrationContext as ja, PageMainPanels as jc, WebviewCommandsStreamParams as jd, SessionStatus as jf, CommandHelpersApi as ji, DataTableRendererColumnStat as jl, ToolPartStatus as jm, isWorkbenchProjectUrl as jn, PreparedHarnessOperation as jo, MaybePromise as jp, WebviewHostProps as jr, BoardViews as js, AssetReference as jt, CommandPaletteContribution as ju, ListExtensionSettingsResponse as k, ExtensionSkillsApi as ka, PageLocation as kc, WebviewCommandStreamEvent as kd, SessionFollowUpResponse as kf, CommandFailedEvent as ki, DataTableRendererColumn as kl, ToolPart as km, PageUrlDefinition as kn, HarnessOperation as ko, JsonPrimitive as kp, SDK_VERSION as kr, BoardViewCreate as ks, WebviewCapabilityError as kt, ArtifactMountContribution as ku, WorkspaceFileEntry as l, FileRendererSectionTarget as la, RendererInvocationContext as lc, KanbanRendererContribution as ld, SessionExitCause as lf, workbenchModeDefinitions as li, ViewBody as ll, HistoryRecoveryInput as lm, WebviewSettingsClient as ln, WorkspaceProviderCreateInput as lo, ParamValueRef as lp, defineSettingsSection as lr, ExtensionStorageCollectionApi as ls, ListExtensionAppearanceResponse as lt, HarnessControlValue as lu, UpdateSettingsInput as m, CommandMiddlewareHandler as ma, ResourceAnchorQueryPage as mc, KanbanRendererQueryResult as md, ListSessionActivityInput as mf, workbenchPanels as mi, TreeNode as ml, reconcileMessageHistory as mm, EXTENSION_EVENTS_SCOPE as mn, WorkspaceProviderState as mo, TextParam as mp, defineTheme as mr, EnvironmentIdentity as ms, WorkbenchExtensionViewRecord as mt, RangeControl as mu, ListWorkspaceActivityInput as n, NavigationTargetPanel as na, SetNotificationStatusInput as nc, WhenExpression as nd, ExtensionSessionPage as nf, viewDataEvents as ni, PlacementPresence as nl, ViewFilterRule as nm, resolvePageParams as nn, PackageManifest as no, NumberParam as np, defineNavigationTree as nr, JsonPatch as ns, LocalizableString as nt, ColorControl as nu, RenameWorkspaceInput as o, FileRendererResourceRef as oa, RelatedResourceOpening as oc, KanbanRendererAttributeType as od, ExtensionSessionUsage as of, isValidLocalContributionId as oi, PlacementTabPresentation as ol, supportsExtensionApiVersion as om, WebviewClient as on, UiContributions as oo, ParamOptionSource as op, defineResourceKind as or, ExtensionBlobRef as os, WorkbenchExtensionAutomationRecord as ot, ControlValueMap as ou, Settings as p, CommandMiddlewareContext as pa, ResourceAnchorQuery as pc, KanbanRendererQueryParams as pd, FollowUpInput as pf, workbenchPanelDefinitions as pi, TreeAction as pl, mergeHistoryMetadata as pm, CommandStreamOptions as pn, WorkspaceProviderResult as po, TemplateParam as pp, defineTemplateType as pr, ExtensionRecordsApi as ps, WorkbenchExtensionViewBody as pt, ParamEditorReadOnlyImage as pu, CommandExecuteRequest as q, CommandStreamDeclaration as qa, FileViewBody as qc, WebviewNotificationResolveParams as qd, EventRef as qf, CommandTarget as qi, ControlsResetInput as ql, defineActivityItem as qn, HarnessQuestionRequest as qo, Localizable as qp, WorkspaceProvisionPayload as qr, ListNotificationsResponse$1 as qs, WEBVIEW_DECLARABLE_CAPABILITIES as qt, ModeRegionSettings as qu, ListWorkspaceActivityResponse as r, FileRendererContribution as ra, UpdateNotificationInput$1 as rc, CollectionBadgeItem as rd, ExtensionSessionQuery as rf, workspaceEvents as ri, PlacementPresentation as rl, ViewSort as rm, validatePageParamDefinitions as rn, ProviderContributions as ro, ParamDescriptor as rp, definePage as rr, QuestionResponse as rs, ExtensionCommandPaletteContribution as rt, ControlGroup as ru, WorkspaceEntryMoveInput as s, FileRendererSaveParams as sa, RelatedResourceOpenings as sc, KanbanRendererBoardColumnConfig as sd, ExtensionSessionsApi as sf, localContributionIdGrammar as si, PlacementTabSnapshot as sl, HistoryConflict as sm, WebviewClientOptions as sn, WorkspaceCapabilities as so, ParamType as sp, defineSchedule as sr, ExtensionBlobsApi as ss, findViewFilterProblem as st, DateControl as su, CreateWorkspaceInput as t, NavigationTargetPage as ta, NotificationStatus$1 as tc, WebviewContribution as td, ExtensionSession as tf, sessionSlots as ti, PlacementMountStrategy as tl, ViewFilterGroup as tm, resolveDataTableFieldKind as tn, MiddlewareDefinition as to, MultiSelectParam as tp, defineNavigationItem as tr, HarnessSteeringResult as ts, ExtensionRecord as tt, BooleanControl as tu, WorkspaceFilesResponse as u, ArtifactFile as ua, ResourceAnchor as uc, KanbanRendererCreateRowContribution as ud, SessionRunSnapshot as uf, workbenchModes as ui, ViewContribution as ul, HistoryRecoveryResult as um, createWebviewClient as un, WorkspaceProviderMutationInput as uo, ParamsOf as up, defineSkill as ur, ExtensionStorageMigration as us, ListExtensionCommandsResponse as ut, MarkdownControl as uu, InitialWorkspaceRequest as v, ExtensionActivityApi as va, ResourceRef as vc, KanbanRendererRowActivationHandler as vd, Session as vf, DockedWorkbenchRegion as vi, TreeRendererChildrenParams as vl, FilePart as vm, artifactMountId as vn, HarnessDetectionResult as vo, TerminalBridge as vp, resourceMenuSlotRef as vr, StorageConflictInspection as vs, AutomationRun as vt, ResourceOption as vu, LinkIcon as w, ExtensionNotifyApi as wa, Page as wc, ViewToolbarAction as wd, SessionCreateRequest as wf, dockedWorkbenchRegions as wi, TreeRendererState as wl, SessionMessageRole as wm, artifactChanged as wn, RetryableHarnessReattachError as wo, TerminalSessionHandle as wp, contributionRefId as wr, ExtensionAssetsApi as ws, IssueAutomationTokenInput as wt, SelectionOption as wu, ProjectDetails as x, ExtensionEventsApi as xa, ResourceResolution as xc, KanbanRendererSortDirection as xd, SessionAttachmentRef as xf, ResourceHierarchyProvider as xi, TreeRendererMoveParams as xl, ReasoningPart as xm, TerminalSessionBridge as xn, HarnessProvider as xo, TerminalSessionAdapter$1 as xp, defineMiddleware as xr, StorageResolution as xs, AutomationRunStatus as xt, SegmentedOption as xu, Project as y, ExtensionArtifactApi as ya, ResourceRemovedEvent as yc, KanbanRendererSavedView as yd, SessionAttachment as yf, ExtensionPanelRegion as yi, TreeRendererCommandResult as yl, LoadingPart as ym, artifactsRead as yn, HarnessParamDescriptor as yo, TerminalEvent as yp, defineCommand as yr, StorageGroup as ys, AutomationRunError as yt, ResourceRefValue as yu, EnableInstalledExtensionRequest as z, CreateWorkspaceCommandParams as za, PageSlotRef as zc, WebviewHostCapability as zd, SlotInvocationContext as zf, CommandRef as zi, DataTableRendererSavedView as zl, HarnessParamsInfo as zm, ExtensionViewRender as zn, HarnessExitStatus as zo, PageRef as zp, parsePageParams as zr, Skill as zs, NotificationKind as zt, ExtensionSettingValueForType as zu };
|
|
17734
|
+
export { ListExtensionConnectionsResponse as $, AssetContributions as $a, PlacementOwner as $c, WebviewHostCapabilityResult as $d, SteerQueuedFollowUpInput as $f, CommandRequestedEvent as $i, ControlsQueryParams as $l, ToolPart as $m, defineArtifactMount as $n, HarnessQuestionChannel as $o, JsonPrimitive as $p, WorkspaceType as $r, UpdateSkillInput as $s, qualifyNavigationTarget as $t, KeybindingContribution as $u, UpdateExtensionSettingRequest as A, ExtensionEventsApi as Aa, ResourceResolution as Ac, KanbanRendererSortDirection as Ad, ListSessionActivityInput as Af, ResourceHierarchyProvider as Ai, TreeRendererMoveParams as Al, supportsExtensionApiVersion as Am, commandEvent as An, HarnessProvider as Ao, ParamOptionSource as Ap, CommandOutcomeError as Ar, StorageResolution as As, isWebviewCapabilityError as At, SegmentedOption as Au, EnableInstalledExtensionResponse as B, MigrationContext as Ba, PageMainPanels as Bc, WebviewCapabilityDeclaration as Bd, SessionCreateRequest as Bf, CommandHelpersApi as Bi, DataTableRendererColumnStat as Bl, submittedPrompt as Bm, serializeWorkbenchPageUrl as Bn, PreparedHarnessOperation as Bo, ResourceBinding as Bp, commandRef as Br, BoardViews as Bs, NotificationOrigin as Bt, CommandPaletteContribution as Bu, UpdateProjectInput as C, CommandMiddlewareHandler as Ca, ResourceAnchorQueryPage as Cc, KanbanRendererQueryResult as Cd, ExtensionSessionsApi as Cf, workbenchPanels as Ci, TreeNode as Cl, ViewFieldKind as Cm, artifactsRead as Cn, WorkspaceProviderState as Co, LongTextParam as Cp, resourceMenuSlotRef as Cr, EnvironmentIdentity as Cs, CreateAutomationRunInput as Ct, RangeControl as Cu, ExtensionSettingValueRecord as D, ExtensionActivityApi as Da, ResourceRef as Dc, KanbanRendererRowActivationHandler as Dd, ApprovalInput as Df, DockedWorkbenchRegion as Di, TreeRendererChildrenParams as Dl, ViewSort as Dm, createTerminalSessionBridge as Dn, HarnessDetectionResult as Do, ParamDescriptor as Dp, streamOf as Dr, StorageConflictInspection as Ds, ListAutomationTokensResponse as Dt, ResourceOption as Du, ExtensionSettingDefinitionRecord as E, EventContext as Ea, ResourceIdentity as Ec, KanbanRendererRowAction as Ed, SessionRunSnapshot as Ef, workbenchSlots as Ei, TreeRendererActionParams as El, ViewFilterRule as Em, TerminalSessionBridge as En, HarnessContext as Eo, NumberParam as Ep, defineMiddleware as Er, StorageConflict as Es, ListAutomationRunEventsResponse as Et, ResourceControl as Eu, InstallExtensionRequest as F, ExtensionProcessApi as Fa, FileSourcePosition as Fc, WebviewAccountManageParams as Fd, SessionAttachment as Ff, CommandCompletedEvent as Fi, TreeViewSection as Fl, historyMessageKey as Fm, ParsedWorkbenchPageUrl as Fn, HarnessCommandContext as Fo, ResourceParam as Fp, RESOURCE_ACTIONS_EVENTS_SCOPE as Fr, BoardField as Fs, ListNotificationsResponse as Ft, VectorControl as Fu, UpgradeProjectExtensionResponse as G, WorkspaceFilesMount as Ga, PageParams as Gc, WebviewExtensionSettingKeyParams as Gd, SessionFollowUpResponse as Gf, CommandNotice as Gi, DataTableRendererRow as Gl, ReasoningPart as Gm, ExtensionViewRenderContext as Gn, HarnessAttachment as Go, TerminalSessionAdapter$1 as Gp, packageAsset as Gr, ExtensionConnectionsApi as Gs, WorkspaceListItem$1 as Gt, CommandPaletteResourceTarget as Gu, ListProjectExtensionsResponse as H, ProcessRunResult as Ha, PageOpenIntent as Hc, WebviewCommandsExecuteParams as Hd, SessionDetails as Hf, CommandLifecycleEventPayload as Hi, DataTableRendererQueryParams as Hl, FilePart as Hm, resolveEventReferenceId as Hn, ApprovalRequest as Ho, TerminalBridge as Hp, PageResourceCodec as Hr, ExtensionConnectionRequest as Hs, NotificationStatus as Ht, CommandPaletteResourceItem as Hu, InstallExtensionResponse as I, ExtensionProjectContext as Ia, PageContribution as Ic, WebviewAccountReadParams as Id, SessionAttachmentDetails as If, CommandContinue as Ii, TreeViewSectionStructure as Il, historyValueKey as Im, isWorkbenchProjectUrl as In, HarnessCommandDiscoveryContext as Io, SelectParam as Ip, WebviewHostProps as Ir, BoardSummary as Is, Notification as It, VectorValue as Iu, CommandExecuteResponse as J, CreateWorkspaceCommandParams as Ja, PageSlotRef as Jc, WebviewFilesDeleteParams as Jd, CombineQueuedFollowUpsInput as Jf, CommandRef as Ji, DataTableRendererSavedView as Jl, SessionMessageRole as Jm, WebviewFilesClient as Jn, HarnessExitStatus as Jo, TerminalSessionHandle as Jp, ConflictPayload as Jr, Skill as Js, WEBVIEW_HOST_CAPABILITIES as Jt, ExtensionSettingValueForType as Ju, CommandExecuteBody as K, WorkspaceSyncFile as Ka, PageSlot as Kc, WebviewExtensionSettingSetParams as Kd, SessionQueuedMessagesResponse as Kf, CommandOutcome as Ki, DataTableRendererRowAction as Kl, SessionMessage as Km, defineExtensionView as Kn, HarnessEventSink as Ko, TerminalSessionError as Kp, isNavigationTarget as Kr, ExtensionLoggerApi as Ks, ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES as Kt, ExtensionSettingProperty as Ku, InstalledExtensionSource as L, ExtensionSettingsApi as La, PageDocumentDeclaration as Lc, WebviewAccountResult as Ld, SessionAttachmentRef as Lf, CommandDiagnostic as Li, DEFAULT_DATA_TABLE_SETTINGS as Ll, mergeHistoryMetadata as Lm, parsePageUrl as Ln, HarnessCommandState as Lo, TemplateParam as Lp, isFileSourcePosition as Lr, BoardView as Ls, NotificationAction as Lt, ActivityItemContribution as Lu, ExtensionCommandPaletteResourceRecord as M, ExtensionNetApi as Ma, ViewHierarchyParent as Mc, KanbanRendererViewSettings as Md, ResolveSessionIdInput as Mf, ResourceMenuSlotDefinition as Mi, TreeRendererResourceRef as Ml, HistoryProjection as Mm, qualifyRef as Mn, HarnessStateApi as Mo, ParamValue as Mp, getCommandValue as Mr, StorageSaveState as Ms, AssetTransfer as Mt, SelectionGroup as Mu, WorkbenchExtensionCommandPaletteResourceRecord as N, ExtensionNotifyApi as Na, Page as Nc, ViewToolbarAction as Nd, ResolveSessionIdResponse as Nf, dockedWorkbenchRegions as Ni, TreeRendererState as Nl, HistoryRecoveryInput as Nm, params as Nn, RetryableHarnessReattachError as No, ParamValueRef as Np, unwrapCommandOutcome as Nr, ExtensionAssetsApi as Ns, CreateNotificationInput as Nt, SelectionOption as Nu, ExtensionSettingsPanelRecord as O, ExtensionArtifactApi as Oa, ResourceRemovedEvent as Oc, KanbanRendererSavedView as Od, CreateSessionInput as Of, ExtensionPanelRegion as Oi, TreeRendererCommandResult as Ol, ViewSortDirection as Om, resourceKey as On, HarnessParamDescriptor as Oo, ParamObjectSchema as Op, commandRefId as Or, StorageGroup as Os, projectPrefix as Ot, ResourceRefValue as Ou, ExtensionDiagnosticsResponse as P, ExtensionPackageFilesApi as Pa, PageQuery as Pc, VersionedWebviewCapabilityDeclaration as Pd, Session as Pf, extensionPanelRegions as Pi, TreeSectionEmptyState as Pl, HistoryRecoveryResult as Pm, PageUrlDefinition as Pn, DraftHarnessCommandInput as Po, ParamsOf as Pp, SDK_VERSION as Pr, ExtensionViewsApi as Ps, ListNotificationsQuery as Pt, TextControl as Pu, ExtensionConnectionRecord as Q, ExtensionWorkspacesApi as Qa, PlacementIdentity as Qc, WebviewHostCapabilityParams as Qd, QueuedSteeringResult as Qf, CommandReplaceParams as Qi, ControlsApplyInput as Ql, TokenUsagePart as Qm, defineActivityItem as Qn, HarnessQuestion as Qo, JsonObject as Qp, WorkspaceProvisionPayload as Qr, SkillWithContentDetails as Qs, normalizePageParams as Qt, KeybindingChord as Qu, AddLocalExtensionFolderResponse as R, ExtensionSkillsApi as Ra, PageLocation as Rc, WebviewArtifactFile as Rd, SessionConversationResponse as Rf, CommandFailedEvent as Ri, DataTableRendererColumn as Rl, reconcileMessageHistory as Rm, parseWorkbenchPageUrl as Rn, HarnessOperation as Ro, TextParam as Rp, defineSlot as Rr, BoardViewCreate as Rs, NotificationActorType as Rt, ArtifactMountContribution as Ru, ProjectUpdateRequest as S, CommandMiddlewareContext as Sa, ResourceAnchorQuery as Sc, KanbanRendererQueryParams as Sd, ExtensionSessionUsage as Sf, workbenchPanelDefinitions as Si, TreeAction as Sl, VIEW_FILTER_CONDITIONS as Sm, artifactMountId as Sn, WorkspaceProviderResult as So, ListParam as Sp, defineWorkspaceType as Sr, ExtensionRecordsApi as Ss, AutomationTokenRecord as St, ParamEditorReadOnlyImage as Su, FileRecord as T, CommandStreamWriter as Ta, ResourceAnchorValidationResult as Tc, KanbanRendererRow as Td, SessionExitCause as Tf, workbenchResourceKinds as Ti, TreeNodeTarget as Tl, ViewFilterGroup as Tm, TerminalSessionAdapter as Tn, StatusBarItemContribution as To, MultiSelectParam as Tp, defineHook as Tr, SharedEdit as Ts, IssueAutomationTokenResponse as Tt, ReadOnlyControl as Tu, MarketplaceExtension as U, RendererCallback as Ua, PageParamDefinition as Uc, WebviewCommandsStreamParams as Ud, SessionFollowUpDecision as Uf, CommandLifecyclePhase as Ui, DataTableRendererQueryResult as Ul, LoadingPart as Um, ExtensionViewModule as Un, ApprovalResponse as Uo, TerminalEvent as Up, pageParamsQuery as Ur, ExtensionConnectionResponse as Us, UpdateNotificationInput as Ut, CommandPaletteResourceQueryParams as Uu, InstallMarketplaceExtensionResponse as V, ProcessRunInput as Va, PageMainView as Vc, WebviewCommandStreamEvent as Vd, SessionCreateResponse as Vf, CommandInvocation as Vi, DataTableRendererContribution as Vl, ErrorPart as Vm, defaultPageResourceCodec as Vn, AgentCapability as Vo, ResourceConstraint as Vp, eventRef as Vr, ExtensionConnectionMethod as Vs, NotificationPriority as Vt, CommandPaletteResourceContribution as Vu, ProjectExtensionInstance as W, SetupContext as Wa, PageParamValue as Wc, WebviewDeclarableCapability as Wd, SessionFollowUpRequest as Wf, CommandMiddlewareResult as Wi, DataTableRendererResourceRef as Wl, PatchPart as Wm, ExtensionViewRender as Wn, HarnessApprovalChannel as Wo, TerminalHostEvent as Wp, parsePageParams as Wr, ExtensionConnectionStreamEvent as Ws, Workspace$1 as Wt, CommandPaletteResourceQueryResult as Wu, DispatchExtensionEventInput as X, ExtensionWorkspaceCreateInput as Xa, PageSlotRole as Xc, WebviewFilesUploadParams as Xd, QueuedFollowUpRequest as Xf, CommandRejectedEvent as Xi, DataTableRendererSettings as Xl, StepStartPart as Xm, PropsStore as Xn, HarnessParamValue as Xo, TerminalSessionRequest as Xp, RebasePayload as Xr, SkillFile as Xs, WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES as Xt, ExtensionSettingsContribution as Xu, CommandExecutionResult as Y, ExtensionWorkspace as Ya, PageSlotRegion as Yc, WebviewFilesListParams as Yd, PendingQueuedFollowUpsResponse as Yf, CommandReject as Yi, DataTableRendererSelectionAction as Yl, StepFinishPart as Ym, GuestHost as Yn, HarnessMessagesInput as Yo, TerminalSessionOperation as Yp, MergePayload as Yr, SkillDetails as Ys, WEBVIEW_HOST_CAPABILITY_VERSION as Yt, ExtensionSettingValueType as Yu, ConfigureExtensionConnectionInput as Z, ExtensionWorkspaceProvider as Za, PanelRef as Zc, WebviewHostCapability as Zd, QueuedFollowUpUpdateResponse as Zf, CommandReplaceInvocation as Zi, DataTableRendererThemeColor as Zl, TextPart as Zm, defineExtension as Zn, HarnessParams as Zo, TerminalSessionResult as Zp, SessionLifecyclePayload as Zr, SkillWithContent as Zs, mergeOrderedHistory as Zt, FileIconThemeContribution as Zu, CreateProjectInput as _, FileRendererSectionAnchor as _a, RendererContext as _c, KanbanRendererColumnAction as _d, ExtensionSession as _f, localContributionIdPattern as _i, TreeViewBody as _l, Localizable as _m, EditingSessionOptions as _n, WorkspaceExecutionTarget as _o, EventRef as _p, defineTemplate as _r, ExtensionStorageApi as _s, EnvironmentBinding as _t, HarnessControl as _u, RemoveWorktreeResponse as a, NavigationTarget as aa, NotificationActorType$1 as ac, SkillContribution as ad, WebviewNotificationResolveParams as af, AgentDetails as ah, resourceEvents as ai, NavigationOwnerRef as al, ContributionInput as am, WebviewArtifactsClient as an, ExtensionDefinition as ao, AccountLogin as ap, defineMode as ar, HarnessRecoveryResult as as, ExtensionMenuContribution as at, ActionOption as au, ProjectCreateRequest as b, ArtifactMount as ba, ResourceAnchorChangeEvent as bc, KanbanRendererEnumOption as bd, ExtensionSessionResource as bf, workbenchPageDefinitions as bi, ViewMenuContribution as bl, l10n as bm, WebviewEditingSession as bn, WorkspaceProviderRef as bo, HarnessParam as bp, defineView as br, ExtensionStoragePositionsApi as bs, AutomationRunEvent as bt, NumberControl as bu, WorkspaceFileContent as c, NavigationTargetHref as ca, NotificationOrigin$1 as cc, ThemeContribution as cd, WebviewPreferencesGetParams as cf, AgentSkillsLayout as ch, viewDataEvents as ci, PlacementContribution as cl, ModeRef as cm, WebviewCommandsClient as cn, HookDefinition as co, DeviceLogin as cp, definePage as cr, HarnessStartInput as cs, viewFilterValueKind as ct, AnchorGridValue as cu, WorkspaceProviderDescriptor as d, NavigationTargetPanel as da, SetNotificationStatusInput as dc, WhenExpression as dd, WebviewScopedDeclarableCapability as df, ActivityEntry as dh, worktreeEvents as di, PlacementPresence as dl, ResourceKindRef as dm, WebviewStreamsClient as dn, PackageManifest as do, SlotRef as dp, defineResourceKind as dr, JsonPatch as ds, WorkbenchExtensionHarnessRecord as dt, ColorControl as du, CommandSource as ea, CreateNotificationInput$1 as ec, MenuContribution as ed, WebviewHostCapabilityResults as ef, ToolPartActionType as eh, WorktreeRemovedPayload as ei, ControlsViewBody as el, JsonValue as em, resolveDataTableComparableValue as en, BehaviourContributions as eo, UpdateQueuedFollowUpInput as ep, defineCommandPaletteResource as er, HarnessQuestionOption as es, ExtensionDiagnostic as et, ControlsQueryResult as eu, WriteWorkspaceFileInput as f, FileRendererContribution as fa, UpdateNotificationInput$1 as fc, CollectionBadgeItem as fd, WebviewEditingChange as ff, ActivityPage as fh, applyEditingChanges as fi, PlacementPresentation as fl, SettingsSectionRef as fm, CommandStream as fn, ProviderContributions as fo, UiSlotKind as fp, defineSchedule as fr, QuestionResponse as fs, WorkbenchExtensionMetadata as ft, ControlGroup as fu, RuntimeReadyResponse as g, FileRendererSaveParams as ga, RelatedResourceOpenings as gc, KanbanRendererBoardColumnConfig as gd, ExtensionHarnessInput as gf, localContributionIdGrammar as gi, PlacementTabSnapshot as gl, ViewRef as gm, WebviewExtensionEvent as gn, WorkspaceCapabilities as go, EventDeliveryResult as gp, defineStatusBarItem as gr, ExtensionBlobsApi as gs, BindEnvironmentInput as gt, DateControl as gu, sessionAttachmentMimeTypesByExtension as h, FileRendererResourceRef as ha, RelatedResourceOpening as hc, KanbanRendererAttributeType as hd, WebviewEditingSnapshot as hf, isValidLocalContributionId as hi, PlacementTabPresentation as hl, ThemeRef as hm, WebviewEventsClient as hn, UiContributions as ho, ArtifactChangedPayload as hp, defineSkill as hr, ExtensionBlobRef as hs, MetadataPageTarget as ht, ControlValueMap as hu, ListWorkspaceFilesInput as i, WorkbenchAttachmentInvocationContext as ia, NotificationAction$1 as ic, SettingsSectionContribution as id, WebviewNotificationDismissParams as if, AgentAvailabilityType as ih, projectSlots as ii, NavigationItemContribution as il, ContributionDefinition as im, matchesResourceWhen as in, ExtensionConnectionContribution as io, AccountDevice as ip, defineKeybinding as ir, HarnessRecoveryInput as is, ExtensionCommandRecord as it, ControlsUpdateValueInput as iu, ExtensionKeybindingRecord as j, ExtensionFilesApi as ja, ResourceRole as jc, KanbanRendererViewMode as jd, ListSessionActivityResponse as jf, ResourceKindDefinition as ji, TreeRendererQueryParams as jl, HistoryConflict as jm, QualifiedRef as jn, HarnessSkillsLayout as jo, ParamType as jp, CommandResponse as jr, StorageSaveOutcome as js, AssetReference as jt, SelectionControl as ju, ListExtensionSettingsResponse as k, ExtensionContextBase as ka, ResourceRenumberedEvent as kc, KanbanRendererSettings as kd, FollowUpInput as kf, RegionSize as ki, TreeRendererContribution as kl, parseExtensionApiDeclaration as km, artifactChanged as kn, HarnessParamsSchema as ko, ParamOption as kp, contributionRefId as kr, StorageRecord as ks, WebviewCapabilityError as kt, SegmentedControl as ku, WorkspaceFileEntry as l, NavigationTargetItem as la, NotificationPriority$1 as lc, ThemeMode as ld, WebviewPreferencesSetParams as lf, HarnessParamsInfo as lh, workspaceEvents as li, PlacementItem as ll, PageRef as lm, WebviewSettingsClient as ln, LocalExtensionSource as lo, SlotInvocationContext as lp, definePlacement as lr, HarnessSteeringInput as ls, ListExtensionAppearanceResponse as lt, BaseControl as lu, UpdateSettingsInput as m, FileRendererLoadResult as ma, PackageAssetDescriptor as mc, KanbanRendererAttributeDisplay as md, WebviewEditingSessionParams as mf, rebaseEditingChanges as mi, PlacementTabMenuRow as ml, StatusBarSlotRef as mm, EXTENSION_EVENTS_SCOPE as mn, ScheduleExpression as mo, RendererEventReference as mp, defineSettingsSection as mr, ExtensionBlobInput as ms, WorkbenchExtensionViewRecord as mt, ControlValue as mu, ListWorkspaceActivityInput as n, CommandTarget as na, ListNotificationsResponse$1 as nc, ModeRegionSettings as nd, WebviewNavigationOpenParams as nf, AssetReference$1 as nh, gitEvents as ni, FileViewBody as nl, Struct as nm, resolvePageParams as nn, CommandStreamDeclaration as no, ProjectSyncState as np, defineFileIconTheme as nr, HarnessQuestionRequest as ns, LocalizableString as nt, ControlsResetInput as nu, RenameWorkspaceInput as o, NavigationTargetCommand as oa, NotificationFinalStatus as oc, TemplateContribution as od, WebviewNotificationShowParams as of, AgentInfo as oh, sessionEvents as oi, NavigationTreeContribution as ol, ContributionKind as om, WebviewClient as on, ExtensionLoadScope as oo, AccountLoginStatus as op, defineNavigationItem as or, HarnessResumeInput as os, WorkbenchExtensionAutomationRecord as ot, ActionsControl as ou, Settings as p, FileRendererLoadParams as pa, ExtensionResourcesApi as pc, KanbanRendererAttributeDescriptor as pd, WebviewEditingSessionEvent as pf, diffEditingState as pi, PlacementTabMenuGroup as pl, SettingsSlotRef as pm, CommandStreamOptions as pn, ScheduleContribution as po, RendererContributionBase as pp, defineSettingsPanel as pr, TimeoutStrategy as ps, WorkbenchExtensionViewBody as pt, ControlParam as pu, CommandExecuteRequest as q, CreateExtensionWorkspaceInput as qa, PageSlotCardinality as qc, WebviewFileScope as qd, SessionStatus as qf, CommandPatchParams as qi, DataTableRendererRowActivationHandler as ql, SessionMessagePart as qm, WebviewPageClient as qn, HarnessExit as qo, TerminalSessionExit as qp, CommitPayload as qr, ExtensionAutomationApi as qs, WEBVIEW_DECLARABLE_CAPABILITIES as qt, ExtensionSettingScope as qu, ListWorkspaceActivityResponse as r, SerializedError as ra, Notification$1 as rc, SettingsPanelContribution as rd, WebviewNotificationActionParams as rf, AssetTransfer$1 as rh, projectEvents as ri, KanbanViewBody as rl, ConnectionRef as rm, validatePageParamDefinitions as rn, EXTENSION_API_VERSION as ro, ProjectSyncStatus as rp, defineHarness as rr, HarnessReattachInput as rs, ExtensionCommandPaletteContribution as rt, ControlsResourceRef as ru, WorkspaceEntryMoveInput as s, NavigationTargetCompound as sa, NotificationKind$1 as sc, TemplateTypeContribution as sd, WebviewPageParamsUpdateParams as sf, AgentModel as sh, sessionSlots as si, NavigationTreeSlot as sl, ContributionRef as sm, WebviewClientOptions as sn, ExtensionSourceKind as so, AccountStatus as sp, defineNavigationTree as sr, HarnessSession as ss, findViewFilterProblem as st, AnchorGridControl as su, CreateWorkspaceInput as t, CommandStartedEvent as ta, ListNotificationsQuery$1 as tc, ModeContribution as td, WebviewKeyboardEventParams as tf, ToolPartStatus as th, accountEvents as ti, DataTableViewBody as tl, MaybePromise as tm, resolveDataTableFieldKind as tn, CommandDefinition as to, ExtensionAccountApi as tp, defineConnection as tr, HarnessQuestionReplyError as ts, ExtensionRecord as tt, ControlsRendererContribution as tu, WorkspaceFilesResponse as u, NavigationTargetPage as ua, NotificationStatus$1 as uc, WebviewContribution as ud, WebviewResourceAction as uf, harnessLocalId as uh, workspaceSlots as ui, PlacementMountStrategy as ul, PlacementRef as um, createWebviewClient as un, MiddlewareDefinition as uo, SlotOptions as up, defineResourceHierarchyProvider as ur, HarnessSteeringResult as us, ListExtensionCommandsResponse as ut, BooleanControl as uu, InitialWorkspaceRequest as v, FileRendererSectionTarget as va, RendererInvocationContext as vc, KanbanRendererContribution as vd, ExtensionSessionPage as vf, workbenchModeDefinitions as vi, ViewBody as vl, LocalizedString as vm, EditingSnapshot as vn, WorkspaceProviderCreateInput as vo, BooleanParam as vp, defineTemplateType as vr, ExtensionStorageCollectionApi as vs, AutomationRun as vt, HarnessControlValue as vu, LinkIcon as w, CommandRunHandler as wa, ResourceAnchorValidationInput as wc, KanbanRendererResourceRef as wd, SessionExit as wf, workbenchResourceKindDefinitions as wi, TreeNodeRowVariant as wl, ViewFilterCondition as wm, WebviewAccountClient as wn, WorkspaceTypeProvider as wo, MarkdownParam as wp, defineCommand as wr, EnvironmentTarget as ws, IssueAutomationTokenInput as wt, RangeValue as wu, ProjectDetails as x, CommandContext as xa, ResourceAnchorPage as xc, KanbanRendererMove as xd, ExtensionSessionSummary as xf, workbenchPages as xi, WebviewViewBody as xl, normalizeBooleanViewRule as xm, ArtifactMountKey as xn, WorkspaceProviderResolveInput as xo, JsonParam as xp, defineViewMenu as xr, StorageScope as xs, AutomationRunStatus as xt, ParamEditorReadOnlyContent as xu, Project as y, ArtifactFile as ya, ResourceAnchor as yc, KanbanRendererCreateRowContribution as yd, ExtensionSessionQuery as yf, workbenchModes as yi, ViewContribution as yl, isLocalizedString as ym, WebviewEditingClient as yn, WorkspaceProviderMutationInput as yo, FilesParam as yp, defineTheme as yr, ExtensionStorageMigration as ys, AutomationRunError as yt, MarkdownControl as yu, EnableInstalledExtensionRequest as z, ExtensionTerminalApi as za, PageMain as zc, WebviewArtifactsReadParams as zd, SessionConversationSources as zf, CommandFailureDetails as zi, DataTableRendererColumnRenderer as zl, splitHistoryTurns as zm, serializePageUrl as zn, HarnessOperationResult as zo, WorkspaceParam as zp, serializeCommandError as zr, BoardViewUpdate as zs, NotificationKind as zt, CliContribution as zu };
|
|
17467
17735
|
export {};
|