@pstdio/sdk 0.45.0-nightly.20261021030241 → 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 +68 -6
- package/dist/client.d.ts +3 -2
- package/dist/data.d.ts +1 -7
- package/dist/extensions/index.js +200 -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-D82SEWma.d.ts → index-DBkZvGh1.d.ts} +135 -81
- package/dist/{index-LeVI9OKi.d.ts → index-j28tAAxd.d.ts} +569 -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 +161 -16
- package/dist/testing.d.ts +20 -13
- package/package.json +1 -1
- package/dist/sessions-BdE2Wzo4.d.ts +0 -2
- package/dist/skills-BdE2Wzo4.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[][];
|
|
@@ -2446,6 +2620,8 @@ interface ModeRegionSettings {
|
|
|
2446
2620
|
readonly acceptsTabs?: boolean;
|
|
2447
2621
|
/** Permit resizing independently of visibility and tab acceptance. */
|
|
2448
2622
|
readonly resizable?: boolean;
|
|
2623
|
+
/** Permit whole-panel placement changes independently of tab movement. Defaults to true. */
|
|
2624
|
+
readonly movable?: boolean;
|
|
2449
2625
|
/** Side only. Overrides the mode floatingPanels setting. */
|
|
2450
2626
|
readonly floatable?: boolean;
|
|
2451
2627
|
readonly size?: RegionSize;
|
|
@@ -2603,8 +2779,6 @@ interface KeybindingContribution extends ContributionDefinition<"keybinding"> {
|
|
|
2603
2779
|
/** Optional gating predicate. The host evaluates it at dispatch time. */
|
|
2604
2780
|
when?: WhenExpression;
|
|
2605
2781
|
}
|
|
2606
|
-
//#endregion
|
|
2607
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/control-declarations.d.ts
|
|
2608
2782
|
type HarnessControlValue = Pick<ExtensionHarnessInput, keyof ExtensionHarnessInput>;
|
|
2609
2783
|
/** The host supplies the same harness, model and option picker used by command forms. */
|
|
2610
2784
|
interface HarnessControl extends BaseControl {
|
|
@@ -2804,8 +2978,6 @@ interface ControlGroup {
|
|
|
2804
2978
|
}
|
|
2805
2979
|
type ControlValue = number | string | boolean | null | string[] | RangeValue | VectorValue | HarnessControlValue;
|
|
2806
2980
|
type ControlValueMap = Record<string, ControlValue>;
|
|
2807
|
-
//#endregion
|
|
2808
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/controls.d.ts
|
|
2809
2981
|
type ControlsResourceRef = ResourceRef;
|
|
2810
2982
|
interface ControlsQueryParams {
|
|
2811
2983
|
renderer: RendererContext;
|
|
@@ -2838,8 +3010,6 @@ interface ControlsRendererContribution extends RendererContributionBase {
|
|
|
2838
3010
|
onReset?: RendererCallback<ControlsResetInput, unknown>;
|
|
2839
3011
|
defaultValues?: ControlValueMap;
|
|
2840
3012
|
}
|
|
2841
|
-
//#endregion
|
|
2842
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/data-table-renderer.d.ts
|
|
2843
3013
|
type DataTableRendererResourceRef = ResourceRef;
|
|
2844
3014
|
/** Display settings stored in a data table view. */
|
|
2845
3015
|
interface DataTableRendererSettings {
|
|
@@ -2958,8 +3128,6 @@ interface DataTableRendererContribution extends RendererContributionBase {
|
|
|
2958
3128
|
defaultViews?: DataTableRendererSavedView[];
|
|
2959
3129
|
defaultActiveViewId?: string;
|
|
2960
3130
|
}
|
|
2961
|
-
//#endregion
|
|
2962
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/tree-renderer.d.ts
|
|
2963
3131
|
type TreeRendererResourceRef = ResourceRef;
|
|
2964
3132
|
interface TreeRendererState {
|
|
2965
3133
|
expandedNodeIds: string[];
|
|
@@ -3075,8 +3243,6 @@ interface TreeRendererContribution extends RendererContributionBase {
|
|
|
3075
3243
|
defaultExpandedNodeIds?: string[];
|
|
3076
3244
|
}
|
|
3077
3245
|
type TreeRendererCommandResult = TreeViewSection[] | TreeNode[] | JsonValue;
|
|
3078
|
-
//#endregion
|
|
3079
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/views.d.ts
|
|
3080
3246
|
type NativeViewBody<Kind extends string, Definition> = {
|
|
3081
3247
|
readonly kind: Kind;
|
|
3082
3248
|
readonly resourceKind?: ResourceKindRef;
|
|
@@ -3180,8 +3346,6 @@ interface ViewMenuContribution extends ContributionDefinition<"view-menu"> {
|
|
|
3180
3346
|
readonly hostTreeHeader?: "default" | "none";
|
|
3181
3347
|
readonly hostTreeFooter?: "default" | "none";
|
|
3182
3348
|
}
|
|
3183
|
-
//#endregion
|
|
3184
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/pages.d.ts
|
|
3185
3349
|
type PageParamValue = string | number | boolean | readonly string[];
|
|
3186
3350
|
type PageParamDefinition = {
|
|
3187
3351
|
readonly type: "string";
|
|
@@ -3274,8 +3438,6 @@ interface PageLocation {
|
|
|
3274
3438
|
readonly params?: PageParams;
|
|
3275
3439
|
readonly parent?: PageLocation;
|
|
3276
3440
|
}
|
|
3277
|
-
//#endregion
|
|
3278
|
-
//#region ../pstdio-api-contracts/src/pagination.d.ts
|
|
3279
3441
|
declare const pageQuerySchema: z.ZodObject<{
|
|
3280
3442
|
cursor: z.ZodOptional<z.ZodString>;
|
|
3281
3443
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -3285,8 +3447,6 @@ interface Page<T> {
|
|
|
3285
3447
|
items: T[];
|
|
3286
3448
|
nextCursor: string | null;
|
|
3287
3449
|
}
|
|
3288
|
-
//#endregion
|
|
3289
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/resources.d.ts
|
|
3290
3450
|
interface ResourceResolution {
|
|
3291
3451
|
resource: ResourceRef;
|
|
3292
3452
|
target?: Extract<NavigationTarget, {
|
|
@@ -3304,6 +3464,12 @@ interface RelatedResourceOpening {
|
|
|
3304
3464
|
type RelatedResourceOpenings = readonly RelatedResourceOpening[];
|
|
3305
3465
|
type ResourceRole = "primary" | "context" | "source" | "result";
|
|
3306
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
|
+
};
|
|
3307
3473
|
type: string;
|
|
3308
3474
|
id: string;
|
|
3309
3475
|
shorthand?: string;
|
|
@@ -3317,6 +3483,17 @@ interface ResourceRemovedEvent {
|
|
|
3317
3483
|
id: string;
|
|
3318
3484
|
resource: ResourceRef;
|
|
3319
3485
|
}
|
|
3486
|
+
interface ResourceIdentity {
|
|
3487
|
+
id: string;
|
|
3488
|
+
kind: string;
|
|
3489
|
+
shorthand: string;
|
|
3490
|
+
aliases: string[];
|
|
3491
|
+
}
|
|
3492
|
+
interface ResourceRenumberedEvent {
|
|
3493
|
+
resource: ResourceRef;
|
|
3494
|
+
previousShorthand: string;
|
|
3495
|
+
shorthand: string;
|
|
3496
|
+
}
|
|
3320
3497
|
interface ResourceAnchorQuery {
|
|
3321
3498
|
resource: ResourceRef;
|
|
3322
3499
|
direction?: "outgoing" | "incoming" | "both";
|
|
@@ -3370,6 +3547,16 @@ interface ExtensionResourcesApi {
|
|
|
3370
3547
|
id: string;
|
|
3371
3548
|
shorthand: string;
|
|
3372
3549
|
}>;
|
|
3550
|
+
/** Read the core-owned current number. Returns null for an unknown resource. */
|
|
3551
|
+
identity(input: {
|
|
3552
|
+
kind: string;
|
|
3553
|
+
id: string;
|
|
3554
|
+
}): Promise<ResourceIdentity | null>;
|
|
3555
|
+
/** Current matches come first; shared aliases can return several resources. */
|
|
3556
|
+
findByShorthand(input: {
|
|
3557
|
+
kind: string;
|
|
3558
|
+
shorthand: string;
|
|
3559
|
+
}): Promise<ResourceIdentity[]>;
|
|
3373
3560
|
}
|
|
3374
3561
|
interface ViewHierarchyParent {
|
|
3375
3562
|
type: "view";
|
|
@@ -3394,8 +3581,6 @@ interface PackageAssetDescriptor {
|
|
|
3394
3581
|
path: string;
|
|
3395
3582
|
baseUrl: string;
|
|
3396
3583
|
}
|
|
3397
|
-
//#endregion
|
|
3398
|
-
//#region ../pstdio-api-contracts/src/notifications/types.d.ts
|
|
3399
3584
|
type NotificationKind$1 = "needs_review" | "ready_to_merge" | "blocked" | "approval_required" | "failed" | "info";
|
|
3400
3585
|
type NotificationStatus$1 = "open" | "read" | "snoozed" | "done" | "dismissed" | "expired";
|
|
3401
3586
|
type NotificationFinalStatus = "done" | "dismissed";
|
|
@@ -3488,8 +3673,6 @@ interface ListNotificationsResponse$1 {
|
|
|
3488
3673
|
items: Notification$1[];
|
|
3489
3674
|
nextCursor?: string | null;
|
|
3490
3675
|
}
|
|
3491
|
-
//#endregion
|
|
3492
|
-
//#region ../pstdio-api-contracts/src/skills.d.ts
|
|
3493
3676
|
declare const skillFileSchema: z.ZodObject<{
|
|
3494
3677
|
path: z.ZodString;
|
|
3495
3678
|
content: z.ZodString;
|
|
@@ -3644,8 +3827,6 @@ declare const skillWithContentDetailsSchema: z.ZodObject<{
|
|
|
3644
3827
|
}, z.core.$strip>;
|
|
3645
3828
|
type SkillDetails = z.infer<typeof skillDetailsSchema>;
|
|
3646
3829
|
type SkillWithContentDetails = z.infer<typeof skillWithContentDetailsSchema>;
|
|
3647
|
-
//#endregion
|
|
3648
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/automation.d.ts
|
|
3649
3830
|
interface ExtensionAutomationApi {
|
|
3650
3831
|
/** Enqueue a command owned by this extension and declared automation: true. */
|
|
3651
3832
|
enqueue(input: {
|
|
@@ -3660,8 +3841,6 @@ interface ExtensionAutomationApi {
|
|
|
3660
3841
|
}): Promise<AutomationRun[]>;
|
|
3661
3842
|
cancel(runId: string): Promise<AutomationRun>;
|
|
3662
3843
|
}
|
|
3663
|
-
//#endregion
|
|
3664
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/connections.d.ts
|
|
3665
3844
|
type ExtensionConnectionMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
3666
3845
|
interface ExtensionConnectionRequest {
|
|
3667
3846
|
method: ExtensionConnectionMethod;
|
|
@@ -3695,8 +3874,6 @@ interface ExtensionLoggerApi {
|
|
|
3695
3874
|
warn(message: string, metadata?: JsonObject): void;
|
|
3696
3875
|
error(message: string, metadata?: JsonObject): void;
|
|
3697
3876
|
}
|
|
3698
|
-
//#endregion
|
|
3699
|
-
//#region ../pstdio-api-contracts/src/board-views.d.ts
|
|
3700
3877
|
declare const boardFieldSchema: z.ZodObject<{
|
|
3701
3878
|
id: z.ZodString;
|
|
3702
3879
|
label: z.ZodString;
|
|
@@ -4162,8 +4339,6 @@ type BoardView = z.infer<typeof boardViewSchema>;
|
|
|
4162
4339
|
type BoardViews = z.infer<typeof boardViewsSchema>;
|
|
4163
4340
|
type BoardViewCreate = z.infer<typeof boardViewCreateSchema>;
|
|
4164
4341
|
type BoardViewUpdate = z.infer<typeof boardViewUpdateSchema>;
|
|
4165
|
-
//#endregion
|
|
4166
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/saved-views.d.ts
|
|
4167
4342
|
/** Project saved views of native boards and tables, shared with the dashboard and CLI. */
|
|
4168
4343
|
interface ExtensionViewsApi {
|
|
4169
4344
|
list(board: ViewRef): Promise<BoardViews>;
|
|
@@ -4175,8 +4350,6 @@ interface ExtensionViewsApi {
|
|
|
4175
4350
|
reorder(board: ViewRef, ids: string[]): Promise<BoardViews>;
|
|
4176
4351
|
setDefault(board: ViewRef, id: string | null): Promise<BoardViews>;
|
|
4177
4352
|
}
|
|
4178
|
-
//#endregion
|
|
4179
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/assets.d.ts
|
|
4180
4353
|
/** Immutable bytes that records refer to. */
|
|
4181
4354
|
interface ExtensionAssetsApi {
|
|
4182
4355
|
/** Reuse the operation identity and the same source to resume after interruption. */
|
|
@@ -4191,28 +4364,20 @@ interface ExtensionAssetsApi {
|
|
|
4191
4364
|
/** Verify that the bytes are complete before a record refers to them. */
|
|
4192
4365
|
verifyComplete(assets: AssetReference$1[]): Promise<void>;
|
|
4193
4366
|
}
|
|
4194
|
-
//#endregion
|
|
4195
|
-
//#region ../pstdio-sync-contracts/src/json.d.ts
|
|
4196
4367
|
type Json = string | number | boolean | null | Json[] | {
|
|
4197
4368
|
[key: string]: Json;
|
|
4198
4369
|
};
|
|
4199
|
-
//#endregion
|
|
4200
|
-
//#region ../pstdio-sync-contracts/src/state.d.ts
|
|
4201
4370
|
declare const checkpointSchema: z.ZodObject<{
|
|
4202
4371
|
epoch: z.ZodString;
|
|
4203
4372
|
sequence: z.ZodNumber;
|
|
4204
4373
|
}, z.core.$strict>;
|
|
4205
4374
|
type Checkpoint = z.infer<typeof checkpointSchema>;
|
|
4206
|
-
//#endregion
|
|
4207
|
-
//#region ../pstdio-sync-contracts/src/wire.d.ts
|
|
4208
4375
|
declare const assetSchema: z.ZodObject<{
|
|
4209
4376
|
sha256: z.ZodString;
|
|
4210
4377
|
byteLength: z.ZodNumber;
|
|
4211
4378
|
mediaType: z.ZodString;
|
|
4212
4379
|
}, z.core.$strict>;
|
|
4213
4380
|
type Asset = z.infer<typeof assetSchema>;
|
|
4214
|
-
//#endregion
|
|
4215
|
-
//#region ../pstdio-sync-contracts/src/authoring.d.ts
|
|
4216
4381
|
type SharedEdit = {
|
|
4217
4382
|
kind: "text.insert";
|
|
4218
4383
|
index: number;
|
|
@@ -4344,8 +4509,6 @@ type StorageSaveOutcome = {
|
|
|
4344
4509
|
/** @deprecated Conflicts go away because edits merge. */
|
|
4345
4510
|
conflictRevision: number;
|
|
4346
4511
|
});
|
|
4347
|
-
//#endregion
|
|
4348
|
-
//#region ../pstdio-sync-contracts/src/identity.d.ts
|
|
4349
4512
|
declare const environmentIdentitySchema: z.ZodObject<{
|
|
4350
4513
|
environmentId: z.ZodString;
|
|
4351
4514
|
}, z.core.$strict>;
|
|
@@ -4356,8 +4519,6 @@ declare const environmentTargetSchema: z.ZodObject<{
|
|
|
4356
4519
|
}, z.core.$strict>;
|
|
4357
4520
|
type EnvironmentIdentity = z.infer<typeof environmentIdentitySchema>;
|
|
4358
4521
|
type EnvironmentTarget = z.infer<typeof environmentTargetSchema>;
|
|
4359
|
-
//#endregion
|
|
4360
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/storage-records.d.ts
|
|
4361
4522
|
/** One extension's shared content within the current workbench. All methods use complete record addresses. */
|
|
4362
4523
|
interface ExtensionRecordsApi {
|
|
4363
4524
|
/** Stable complete record address for a key in the selected legacy storage scope. */
|
|
@@ -4379,8 +4540,6 @@ interface ExtensionRecordsApi {
|
|
|
4379
4540
|
/** @deprecated Conflicts go away because edits merge. Save the chosen values with `commit`. */
|
|
4380
4541
|
resolve(proposal: StorageResolution): Promise<StorageSaveOutcome>;
|
|
4381
4542
|
}
|
|
4382
|
-
//#endregion
|
|
4383
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/storage.d.ts
|
|
4384
4543
|
/** @deprecated Use storage.records with stable record IDs and grouped commits. */
|
|
4385
4544
|
interface ExtensionStorageCollectionApi<TItem = unknown> {
|
|
4386
4545
|
get(id: string): Promise<TItem | undefined>;
|
|
@@ -4463,8 +4622,6 @@ interface ExtensionBlobsApi {
|
|
|
4463
4622
|
delete(id: string): Promise<void>;
|
|
4464
4623
|
urlFor(id: string): string;
|
|
4465
4624
|
}
|
|
4466
|
-
//#endregion
|
|
4467
|
-
//#region ../pstdio-api-contracts/src/harness.d.ts
|
|
4468
4625
|
type JsonPatch = {
|
|
4469
4626
|
op: "add" | "replace" | "remove";
|
|
4470
4627
|
path: string;
|
|
@@ -4630,8 +4787,6 @@ type HarnessSteeringResult = {
|
|
|
4630
4787
|
status: "uncertain";
|
|
4631
4788
|
reason: string;
|
|
4632
4789
|
};
|
|
4633
|
-
//#endregion
|
|
4634
|
-
//#region ../pstdio-api-contracts/src/harness-commands.d.ts
|
|
4635
4790
|
declare const harnessCommandStateSchema: z.ZodObject<{
|
|
4636
4791
|
commands: z.ZodArray<z.ZodObject<{
|
|
4637
4792
|
name: z.ZodString;
|
|
@@ -4730,8 +4885,6 @@ type PreparedHarnessOperation = {
|
|
|
4730
4885
|
signal?: AbortSignal;
|
|
4731
4886
|
}): Promise<HarnessOperationResult>;
|
|
4732
4887
|
};
|
|
4733
|
-
//#endregion
|
|
4734
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/harness.d.ts
|
|
4735
4888
|
/**
|
|
4736
4889
|
* Host context a harness runs against. A structural subset of ExtensionContextBase,
|
|
4737
4890
|
* so richer host APIs can be passed without a contract change.
|
|
@@ -4801,6 +4954,17 @@ interface HarnessProvider extends ContributionDefinition<"harness"> {
|
|
|
4801
4954
|
reattach?(ctx: HarnessContext, input: HarnessReattachInput): MaybePromise<HarnessSession>;
|
|
4802
4955
|
getMessages?(ctx: HarnessContext, input: HarnessMessagesInput): MaybePromise<SessionMessage[]>;
|
|
4803
4956
|
recoverMessages?(ctx: HarnessContext, input: HarnessRecoveryInput): MaybePromise<HarnessRecoveryResult>;
|
|
4957
|
+
/**
|
|
4958
|
+
* Release idle local resources for one host session without deleting history or
|
|
4959
|
+
* stopping remote work. The host calls this after all tabs close and the session
|
|
4960
|
+
* has been unused for 30 minutes. Return true when released (including an already
|
|
4961
|
+
* released session), or false while native work or delivery is still uncertain.
|
|
4962
|
+
* A later start/resume or command must recreate resources as needed. Active runs,
|
|
4963
|
+
* pending answers and in-flight commands keep their host ownership throughout.
|
|
4964
|
+
*/
|
|
4965
|
+
releaseSession?(ctx: HarnessContext, input: {
|
|
4966
|
+
sessionId: string;
|
|
4967
|
+
}): MaybePromise<boolean>;
|
|
4804
4968
|
/**
|
|
4805
4969
|
* Release workers and connections owned by this provider in ctx.projectId's scope
|
|
4806
4970
|
* (or the host scope when projectId is absent). The host starts cleanup on source
|
|
@@ -4812,16 +4976,12 @@ interface HarnessProvider extends ContributionDefinition<"harness"> {
|
|
|
4812
4976
|
*/
|
|
4813
4977
|
dispose?(ctx: HarnessContext): MaybePromise<void>;
|
|
4814
4978
|
}
|
|
4815
|
-
//#endregion
|
|
4816
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/status-bar.d.ts
|
|
4817
4979
|
interface StatusBarItemContribution extends ContributionDefinition<"status-bar-item"> {
|
|
4818
4980
|
readonly view: ViewRef;
|
|
4819
4981
|
readonly slot: StatusBarSlotRef;
|
|
4820
4982
|
readonly order?: number;
|
|
4821
4983
|
readonly when?: WhenExpression;
|
|
4822
4984
|
}
|
|
4823
|
-
//#endregion
|
|
4824
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/extension.d.ts
|
|
4825
4985
|
/** Current host extension API version. `engines.pstdio` declares caret ranges, such as `^0.1.0`. */
|
|
4826
4986
|
declare const EXTENSION_API_VERSION = "0.2.1";
|
|
4827
4987
|
type SchemaParams<TSchema extends ParamObjectSchema | undefined> = TSchema extends ParamObjectSchema ? ParamsOf<TSchema> : Record<string, never>;
|
|
@@ -5044,9 +5204,13 @@ interface ExtensionDefinition extends UiContributions, BehaviourContributions, A
|
|
|
5044
5204
|
settings?: ExtensionSettingsContribution;
|
|
5045
5205
|
}
|
|
5046
5206
|
type ExtensionSourceKind = "local_path" | "git" | "registry";
|
|
5047
|
-
//#endregion
|
|
5048
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/workspaces.d.ts
|
|
5049
5207
|
interface ExtensionWorkspace {
|
|
5208
|
+
/** The device that owns this personal workspace. */
|
|
5209
|
+
device?: {
|
|
5210
|
+
ownerId: string;
|
|
5211
|
+
id: string;
|
|
5212
|
+
name: string;
|
|
5213
|
+
};
|
|
5050
5214
|
id: string;
|
|
5051
5215
|
name?: string;
|
|
5052
5216
|
projectId?: string;
|
|
@@ -5143,8 +5307,6 @@ interface CreateWorkspaceCommandParams {
|
|
|
5143
5307
|
/** Identifier prefix: starts with a letter or number; letters, numbers, hyphens, and underscores only. */
|
|
5144
5308
|
shorthand_base?: string;
|
|
5145
5309
|
}
|
|
5146
|
-
//#endregion
|
|
5147
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/context.d.ts
|
|
5148
5310
|
interface ArtifactFile {
|
|
5149
5311
|
path: string;
|
|
5150
5312
|
size?: number;
|
|
@@ -5315,6 +5477,8 @@ interface ExtensionContextBase<TSettings extends Record<string, unknown> = Recor
|
|
|
5315
5477
|
connections: ExtensionConnectionsApi;
|
|
5316
5478
|
logger: ExtensionLoggerApi;
|
|
5317
5479
|
settings: ExtensionSettingsApi<TSettings>;
|
|
5480
|
+
/** This device's Cloud account, its devices and each project's sync status. */
|
|
5481
|
+
account: ExtensionAccountApi;
|
|
5318
5482
|
}
|
|
5319
5483
|
interface CommandStreamWriter<TChunk extends JsonValue = JsonValue> {
|
|
5320
5484
|
/** Waits for the reader. Ordinary command calls discard chunks. */
|
|
@@ -5348,8 +5512,6 @@ interface EventContext extends ExtensionContextBase {
|
|
|
5348
5512
|
}
|
|
5349
5513
|
type SetupContext = ExtensionContextBase;
|
|
5350
5514
|
type MigrationContext = ExtensionContextBase;
|
|
5351
|
-
//#endregion
|
|
5352
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/file-renderer.d.ts
|
|
5353
5515
|
type FileRendererResourceRef = ResourceRef;
|
|
5354
5516
|
interface FileRendererSectionAnchor {
|
|
5355
5517
|
/** Stable extension-owned tree node id. */
|
|
@@ -5390,8 +5552,6 @@ interface FileRendererContribution extends RendererContributionBase {
|
|
|
5390
5552
|
load: RendererCallback<FileRendererLoadParams, FileRendererLoadResult>;
|
|
5391
5553
|
save?: RendererCallback<FileRendererSaveParams, unknown>;
|
|
5392
5554
|
}
|
|
5393
|
-
//#endregion
|
|
5394
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/navigation-target.d.ts
|
|
5395
5555
|
interface NavigationTargetPage {
|
|
5396
5556
|
kind: "page";
|
|
5397
5557
|
page: PageRef;
|
|
@@ -5422,8 +5582,6 @@ interface NavigationTargetCompound {
|
|
|
5422
5582
|
targets: readonly (NavigationTargetPage | NavigationTargetPanel)[];
|
|
5423
5583
|
}
|
|
5424
5584
|
type NavigationTarget = NavigationTargetItem | NavigationTargetCompound;
|
|
5425
|
-
//#endregion
|
|
5426
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/commands.d.ts
|
|
5427
5585
|
type CommandSource = "cli" | "dashboard" | "api" | "schedule" | "event" | "automation" | "command-panel";
|
|
5428
5586
|
interface CommandRef<TParams extends Struct = Struct, TResult = unknown> extends ContributionRef<"command"> {
|
|
5429
5587
|
params?: TParams;
|
|
@@ -5541,8 +5699,6 @@ interface CommandFailedEvent<TParams extends Struct = Struct> extends CommandReq
|
|
|
5541
5699
|
}
|
|
5542
5700
|
type CommandLifecyclePhase = "requested" | "started" | "completed" | "rejected" | "failed";
|
|
5543
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>;
|
|
5544
|
-
//#endregion
|
|
5545
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/composition.d.ts
|
|
5546
5702
|
declare const dockedWorkbenchRegions: readonly ["sidenav", "main", "secondary", "side"];
|
|
5547
5703
|
type DockedWorkbenchRegion = (typeof dockedWorkbenchRegions)[number];
|
|
5548
5704
|
declare const extensionPanelRegions: readonly ["main", "secondary", "side"];
|
|
@@ -5590,8 +5746,6 @@ interface ResourceHierarchyProvider extends ContributionDefinition<"resource-hie
|
|
|
5590
5746
|
resourceKind: ResourceKindRef;
|
|
5591
5747
|
parent(ctx: ExtensionContextBase, resource: ResourceRef): MaybePromise<ResourceRef | ViewHierarchyParent | null>;
|
|
5592
5748
|
}
|
|
5593
|
-
//#endregion
|
|
5594
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/builtin-refs.d.ts
|
|
5595
5749
|
declare const workbenchModes: {
|
|
5596
5750
|
project: {
|
|
5597
5751
|
extensionId: string;
|
|
@@ -5805,13 +5959,16 @@ declare const workbenchSlots: {
|
|
|
5805
5959
|
id: string;
|
|
5806
5960
|
};
|
|
5807
5961
|
};
|
|
5808
|
-
//#endregion
|
|
5809
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/contribution-id.d.ts
|
|
5810
5962
|
declare const localContributionIdPattern: RegExp;
|
|
5811
5963
|
declare const isValidLocalContributionId: (id: string) => boolean;
|
|
5812
5964
|
declare const localContributionIdGrammar = "lowercase kebab-case segments separated by dots, such as \"ticket-status.create\"";
|
|
5813
|
-
|
|
5814
|
-
|
|
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
|
+
};
|
|
5815
5972
|
/** Provider that owns the workspace location and lifecycle. */
|
|
5816
5973
|
type WorkspaceType = string;
|
|
5817
5974
|
interface WorkspaceProvisionPayload {
|
|
@@ -5890,6 +6047,12 @@ declare const projectEvents: {
|
|
|
5890
6047
|
projectId: string;
|
|
5891
6048
|
}>;
|
|
5892
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
|
+
};
|
|
5893
6056
|
/** View dependencies delivered by the host when synced project data changes. */
|
|
5894
6057
|
declare const viewDataEvents: {
|
|
5895
6058
|
boardViewsChanged: EventRef<{
|
|
@@ -5927,6 +6090,9 @@ declare const sessionEvents: {
|
|
|
5927
6090
|
anchors?: ResourceAnchor[];
|
|
5928
6091
|
}>;
|
|
5929
6092
|
};
|
|
6093
|
+
declare const resourceEvents: {
|
|
6094
|
+
renumbered: EventRef<ResourceRenumberedEvent>;
|
|
6095
|
+
};
|
|
5930
6096
|
declare const workspaceEvents: {
|
|
5931
6097
|
created: EventRef<{
|
|
5932
6098
|
workspace: ExtensionWorkspace;
|
|
@@ -5948,11 +6114,7 @@ declare const gitEvents: {
|
|
|
5948
6114
|
merged: EventRef<MergePayload>;
|
|
5949
6115
|
conflicted: EventRef<ConflictPayload>;
|
|
5950
6116
|
};
|
|
5951
|
-
//#endregion
|
|
5952
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/navigation.d.ts
|
|
5953
6117
|
declare const isNavigationTarget: (value: unknown) => value is NavigationTarget;
|
|
5954
|
-
//#endregion
|
|
5955
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/package-asset.d.ts
|
|
5956
6118
|
/**
|
|
5957
6119
|
* Reference an asset shipped alongside the extension's compiled output. `path` is
|
|
5958
6120
|
* resolved relative to `baseUrl`; in practice authors always pass `import.meta.url`
|
|
@@ -5962,13 +6124,9 @@ declare const isNavigationTarget: (value: unknown) => value is NavigationTarget;
|
|
|
5962
6124
|
* webview: { entry: packageAsset("./src/page.tsx", import.meta.url) }
|
|
5963
6125
|
*/
|
|
5964
6126
|
declare const packageAsset: (path: string, baseUrl: string) => PackageAssetDescriptor;
|
|
5965
|
-
//#endregion
|
|
5966
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/page-params.d.ts
|
|
5967
6127
|
type PageParamDefinitions = Readonly<Record<string, PageParamDefinition>>;
|
|
5968
6128
|
declare const pageParamsQuery: (definitions?: PageParamDefinitions, params?: PageParams) => URLSearchParams;
|
|
5969
6129
|
declare const parsePageParams: (definitions: PageParamDefinitions | undefined, query: URLSearchParams) => Readonly<Record<string, PageParamValue>> | undefined;
|
|
5970
|
-
//#endregion
|
|
5971
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/page-url.d.ts
|
|
5972
6130
|
interface PageUrlDefinition$1 {
|
|
5973
6131
|
id: string;
|
|
5974
6132
|
ref: PageRef;
|
|
@@ -5988,8 +6146,6 @@ interface ParsedWorkbenchPageUrl$1 {
|
|
|
5988
6146
|
section?: FileRendererSectionTarget;
|
|
5989
6147
|
position?: FileSourcePosition;
|
|
5990
6148
|
}
|
|
5991
|
-
//#endregion
|
|
5992
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/refs.d.ts
|
|
5993
6149
|
interface ExternalRefInput {
|
|
5994
6150
|
extensionId: string;
|
|
5995
6151
|
id: string;
|
|
@@ -6006,20 +6162,12 @@ interface CommandRefFactory {
|
|
|
6006
6162
|
declare const commandRef: CommandRefFactory;
|
|
6007
6163
|
/** Build a typed event reference from separate ownership and local identity. */
|
|
6008
6164
|
declare const eventRef: <TPayload extends Struct = Struct>(input: ExternalRefInput) => EventRef<TPayload>;
|
|
6009
|
-
//#endregion
|
|
6010
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/serialize-error.d.ts
|
|
6011
6165
|
declare const serializeCommandError: (error: unknown) => SerializedError;
|
|
6012
|
-
//#endregion
|
|
6013
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/slots.d.ts
|
|
6014
6166
|
/**
|
|
6015
6167
|
* Define a host-owned UI slot that extension contributions can target.
|
|
6016
6168
|
*/
|
|
6017
6169
|
declare const defineSlot: <TContext extends Struct = Struct, TKind extends UiSlotKind = UiSlotKind>(id: string, options: SlotOptions<TKind>) => SlotRef<TContext, TKind>;
|
|
6018
|
-
//#endregion
|
|
6019
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/source-position.d.ts
|
|
6020
6170
|
declare const isFileSourcePosition: (value: unknown) => value is FileSourcePosition;
|
|
6021
|
-
//#endregion
|
|
6022
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/types/webview-host-props.d.ts
|
|
6023
6171
|
interface WebviewHostProps {
|
|
6024
6172
|
projectId?: string;
|
|
6025
6173
|
themePreference: string;
|
|
@@ -6036,15 +6184,9 @@ interface WebviewHostProps {
|
|
|
6036
6184
|
/** @deprecated Subscribe through client.events or useCommandQuery.refreshOn. */
|
|
6037
6185
|
lastCommand?: unknown;
|
|
6038
6186
|
}
|
|
6039
|
-
//#endregion
|
|
6040
|
-
//#region ../pstdio-api-contracts/src/extension-kernel/webview-protocol.d.ts
|
|
6041
6187
|
/** Host event sent with `{ type: "changed" }` after a listed resource's actions may have changed. */
|
|
6042
6188
|
declare const RESOURCE_ACTIONS_EVENTS_SCOPE = "resources.actions";
|
|
6043
|
-
//#endregion
|
|
6044
|
-
//#region src/version.d.ts
|
|
6045
6189
|
declare const SDK_VERSION: string;
|
|
6046
|
-
//#endregion
|
|
6047
|
-
//#region src/extensions/command-outcome.d.ts
|
|
6048
6190
|
type CommandResponse<TResult = unknown> = {
|
|
6049
6191
|
outcome: CommandOutcome<TResult>;
|
|
6050
6192
|
};
|
|
@@ -6064,8 +6206,6 @@ declare class CommandOutcomeError extends Error {
|
|
|
6064
6206
|
declare const getCommandValue: <TResult>(outcome: CommandOutcome<TResult>) => TResult;
|
|
6065
6207
|
/** @deprecated Use getCommandValue; its CommandOutcomeError retains the complete outcome. */
|
|
6066
6208
|
declare const unwrapCommandOutcome: <TResult>(response: CommandResponse<TResult>, fallbackReason?: string) => TResult;
|
|
6067
|
-
//#endregion
|
|
6068
|
-
//#region src/extensions/contribution-reference.d.ts
|
|
6069
6209
|
/**
|
|
6070
6210
|
* Resolve a contribution ref to its registered id. Host refs keep their id; every other
|
|
6071
6211
|
* ref becomes `${extensionId}.${kind}.${id}`. A ref without an extension id belongs to
|
|
@@ -6081,8 +6221,6 @@ declare const commandRefId: (ref: {
|
|
|
6081
6221
|
extensionId?: string;
|
|
6082
6222
|
id: string;
|
|
6083
6223
|
}, ownerExtensionId?: string) => string;
|
|
6084
|
-
//#endregion
|
|
6085
|
-
//#region src/extensions/define-command.d.ts
|
|
6086
6224
|
type CommandContribution<TSchema extends ParamObjectSchema | undefined, TResult, TChunk extends JsonValue> = CommandDefinition<TSchema, TResult, Record<string, unknown>, TChunk> & ContributionDefinition<"command">;
|
|
6087
6225
|
type CommandInput<TSchema extends ParamObjectSchema | undefined, TResult, TChunk extends JsonValue> = Omit<CommandDefinition<TSchema, TResult, Record<string, unknown>, TChunk>, "ref">;
|
|
6088
6226
|
/**
|
|
@@ -6110,8 +6248,6 @@ declare const defineMiddleware: <TParams extends Struct = Struct, TResult = unkn
|
|
|
6110
6248
|
*/
|
|
6111
6249
|
declare const defineHook: <TPayload extends Struct = Struct>(definition: Omit<HookDefinition<TPayload>, "ref">) => HookDefinition<TPayload>;
|
|
6112
6250
|
declare const streamOf: <TChunk extends JsonValue>() => CommandStreamDeclaration<TChunk>;
|
|
6113
|
-
//#endregion
|
|
6114
|
-
//#region src/extensions/define-contribution.d.ts
|
|
6115
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;
|
|
6116
6252
|
type NoExtraFields$1<Definition, Contract> = Definition & ExactOptions<Definition, Contract>;
|
|
6117
6253
|
type ViewDefinition = Omit<ViewContribution, "ref">;
|
|
@@ -6175,8 +6311,6 @@ declare const defineResourceHierarchyProvider: (definition: Omit<ResourceHierarc
|
|
|
6175
6311
|
id: string;
|
|
6176
6312
|
};
|
|
6177
6313
|
};
|
|
6178
|
-
//#endregion
|
|
6179
|
-
//#region src/extensions/define-extension.d.ts
|
|
6180
6314
|
type SettingValue<TProperty> = TProperty extends {
|
|
6181
6315
|
type: "boolean";
|
|
6182
6316
|
} ? boolean : TProperty extends {
|
|
@@ -6198,14 +6332,10 @@ type NoExtraFields<Definition, Contract> = Definition & Record<Exclude<keyof Def
|
|
|
6198
6332
|
* id and typed ref before it reaches this boundary.
|
|
6199
6333
|
*/
|
|
6200
6334
|
declare const defineExtension: <const TDefinition extends ExtensionDefinition>(extension: NoExtraFields<TDefinition, ExtensionDefinition>) => NoExtraFields<TDefinition, ExtensionDefinition>;
|
|
6201
|
-
//#endregion
|
|
6202
|
-
//#region src/extensions/webview-props-store.d.ts
|
|
6203
6335
|
type PropsStore<TProps = unknown> = {
|
|
6204
6336
|
get: () => TProps;
|
|
6205
6337
|
subscribe: (listener: (props: TProps) => void) => () => void;
|
|
6206
6338
|
};
|
|
6207
|
-
//#endregion
|
|
6208
|
-
//#region src/extensions/guest-host.d.ts
|
|
6209
6339
|
interface GuestHost {
|
|
6210
6340
|
/** Current host context. Supplied by the webview runtime. */
|
|
6211
6341
|
propsStore?: PropsStore<WebviewHostProps>;
|
|
@@ -6214,8 +6344,6 @@ interface GuestHost {
|
|
|
6214
6344
|
/** The extension that owns this webview. */
|
|
6215
6345
|
extensionId?: string;
|
|
6216
6346
|
}
|
|
6217
|
-
//#endregion
|
|
6218
|
-
//#region src/extensions/webview-files-client.d.ts
|
|
6219
6347
|
interface WebviewFilesClient {
|
|
6220
6348
|
pick(opts?: {
|
|
6221
6349
|
accept?: string;
|
|
@@ -6240,16 +6368,12 @@ interface WebviewFilesClient {
|
|
|
6240
6368
|
/** @deprecated Invoke a command that deletes extension-owned files. */
|
|
6241
6369
|
delete(id: string): Promise<void>;
|
|
6242
6370
|
}
|
|
6243
|
-
//#endregion
|
|
6244
|
-
//#region src/extensions/webview-page-client.d.ts
|
|
6245
6371
|
interface WebviewPageClient {
|
|
6246
6372
|
location(): PageLocation | undefined;
|
|
6247
6373
|
params<T extends Record<string, PageParamValue> = Record<string, PageParamValue>>(): T;
|
|
6248
6374
|
subscribe(listener: (location: PageLocation | undefined) => void): () => void;
|
|
6249
6375
|
updateParams(params: Readonly<Record<string, PageParamValue | null>>): Promise<PageLocation>;
|
|
6250
6376
|
}
|
|
6251
|
-
//#endregion
|
|
6252
|
-
//#region src/extensions/define-extension-view.d.ts
|
|
6253
6377
|
type ExtensionViewRenderContext<TProps = unknown> = {
|
|
6254
6378
|
mount: HTMLElement;
|
|
6255
6379
|
host: GuestHost;
|
|
@@ -6268,16 +6392,10 @@ type ExtensionViewModule<TProps = unknown> = {
|
|
|
6268
6392
|
declare const defineExtensionView: <TProps = WebviewHostProps>(definition: {
|
|
6269
6393
|
render: ExtensionViewRender<TProps>;
|
|
6270
6394
|
}) => ExtensionViewModule<TProps>;
|
|
6271
|
-
//#endregion
|
|
6272
|
-
//#region src/extensions/event-reference.d.ts
|
|
6273
6395
|
/** @deprecated Host-only. Hosts import `resolveEventReferenceId` from `pstdio-api-contracts`. */
|
|
6274
6396
|
declare const resolveEventReferenceId: (ref: RendererEventReference, ownerExtensionId?: string) => string;
|
|
6275
|
-
//#endregion
|
|
6276
|
-
//#region src/extensions/page-resource-codec.d.ts
|
|
6277
6397
|
/** @deprecated Host-only. Hosts import `defaultPageResourceCodec` from `pstdio-api-contracts`. */
|
|
6278
6398
|
declare const defaultPageResourceCodec: PageResourceCodec;
|
|
6279
|
-
//#endregion
|
|
6280
|
-
//#region src/extensions/page-url.d.ts
|
|
6281
6399
|
/** @deprecated Host-only. Hosts import `serializeWorkbenchPageUrl` from `pstdio-api-contracts`. */
|
|
6282
6400
|
declare const serializeWorkbenchPageUrl: (input: {
|
|
6283
6401
|
projectId: string;
|
|
@@ -6312,8 +6430,6 @@ declare const parsePageUrl: (input: {
|
|
|
6312
6430
|
type PageUrlDefinition = PageUrlDefinition$1;
|
|
6313
6431
|
/** @deprecated Host-only. Hosts import `ParsedWorkbenchPageUrl` from `pstdio-api-contracts`. */
|
|
6314
6432
|
type ParsedWorkbenchPageUrl = ParsedWorkbenchPageUrl$1;
|
|
6315
|
-
//#endregion
|
|
6316
|
-
//#region src/extensions/params.d.ts
|
|
6317
6433
|
type RequiredOf<TOptions> = TOptions extends {
|
|
6318
6434
|
required: infer TRequired extends boolean;
|
|
6319
6435
|
} ? TRequired : undefined;
|
|
@@ -6357,8 +6473,6 @@ declare const params: {
|
|
|
6357
6473
|
json: <T = unknown, const TOptions extends ParamOptions<JsonParam<T>> | undefined = undefined>(options?: TOptions) => JsonParam<T, RequiredOf<TOptions>>;
|
|
6358
6474
|
list: <const TOptions extends ParamOptions<ListParam> | undefined = undefined>(options?: TOptions) => ListParam<RequiredOf<TOptions>>;
|
|
6359
6475
|
};
|
|
6360
|
-
//#endregion
|
|
6361
|
-
//#region src/extensions/qualify-ref.d.ts
|
|
6362
6476
|
type QualifiableRef = ContributionRef<ContributionKind> | PageSlotRef;
|
|
6363
6477
|
type QualifiedRef<Ref extends QualifiableRef> = Ref extends PageSlotRef ? Omit<Ref, "page"> & {
|
|
6364
6478
|
readonly page: QualifiedRef<Ref["page"]>;
|
|
@@ -6367,8 +6481,6 @@ type QualifiedRef<Ref extends QualifiableRef> = Ref extends PageSlotRef ? Omit<R
|
|
|
6367
6481
|
};
|
|
6368
6482
|
/** Publish a provider-owned reference without changing the local contribution definition. */
|
|
6369
6483
|
declare function qualifyRef<Ref extends QualifiableRef>(owner: string, ref: Ref): QualifiedRef<Ref>;
|
|
6370
|
-
//#endregion
|
|
6371
|
-
//#region src/extensions/refs.d.ts
|
|
6372
6484
|
/**
|
|
6373
6485
|
* Build an `EventRef` for a command lifecycle phase (`requested`, `started`, `completed`,
|
|
6374
6486
|
* `rejected`, `failed`). The payload type is inferred from the command ref so hooks see
|
|
@@ -6384,13 +6496,9 @@ declare const artifactChanged: (mount: {
|
|
|
6384
6496
|
id: string;
|
|
6385
6497
|
extensionId?: string;
|
|
6386
6498
|
}) => EventRef<ArtifactChangedPayload>;
|
|
6387
|
-
//#endregion
|
|
6388
|
-
//#region src/extensions/resource-key.d.ts
|
|
6389
6499
|
/** Stable identity for selection and reuse; labels and metadata do not change identity. */
|
|
6390
6500
|
declare function resourceKey(resource: ResourceRef): string;
|
|
6391
6501
|
declare function resourceKey(resource: ResourceRef | undefined): string | undefined;
|
|
6392
|
-
//#endregion
|
|
6393
|
-
//#region src/extensions/terminal-session-bridge.d.ts
|
|
6394
6502
|
/**
|
|
6395
6503
|
* Renderer-side session over the `terminal.session` capability. It is the shared
|
|
6396
6504
|
* renderer adapter with an awaitable `kill`, so it plugs straight into the
|
|
@@ -6412,8 +6520,11 @@ interface TerminalSessionBridge {
|
|
|
6412
6520
|
* @deprecated Use the host terminal surface.
|
|
6413
6521
|
*/
|
|
6414
6522
|
declare const createTerminalSessionBridge: (host: GuestHost) => TerminalSessionBridge;
|
|
6415
|
-
|
|
6416
|
-
|
|
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;
|
|
6417
6528
|
/** An artifact mount reference: the contribution, its ref, or the mount's local id. */
|
|
6418
6529
|
type ArtifactMountKey = string | {
|
|
6419
6530
|
id: string;
|
|
@@ -6430,8 +6541,32 @@ declare const artifactMountId: (mount: string | {
|
|
|
6430
6541
|
* capabilities: ["commands.execute", artifactsRead(runArtifacts)]
|
|
6431
6542
|
*/
|
|
6432
6543
|
declare const artifactsRead: (mount: ArtifactMountKey) => WebviewCapabilityDeclaration;
|
|
6433
|
-
|
|
6434
|
-
|
|
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
|
+
}
|
|
6435
6570
|
/** @deprecated Host-only. Hosts import `EXTENSION_EVENTS_SCOPE` from `pstdio-api-contracts`. */
|
|
6436
6571
|
declare const EXTENSION_EVENTS_SCOPE = "extension.events";
|
|
6437
6572
|
type WebviewExtensionEvent = {
|
|
@@ -6444,8 +6579,6 @@ interface WebviewEventsClient {
|
|
|
6444
6579
|
/** Refetch on a matching event or host sync reconnect. Returns the unsubscribe function. */
|
|
6445
6580
|
subscribe(event: RendererEventReference, listener: () => void): () => void;
|
|
6446
6581
|
}
|
|
6447
|
-
//#endregion
|
|
6448
|
-
//#region src/extensions/command-stream.d.ts
|
|
6449
6582
|
interface CommandStreamOptions {
|
|
6450
6583
|
signal?: AbortSignal;
|
|
6451
6584
|
}
|
|
@@ -6456,14 +6589,10 @@ interface CommandStream<TChunk, TResult = unknown> extends AsyncIterable<TChunk>
|
|
|
6456
6589
|
readonly result: Promise<TResult>;
|
|
6457
6590
|
cancel(): Promise<void>;
|
|
6458
6591
|
}
|
|
6459
|
-
//#endregion
|
|
6460
|
-
//#region src/extensions/webview-streams.d.ts
|
|
6461
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;
|
|
6462
6593
|
type WebviewStreamsClient<TCommands> = { [K in keyof TCommands & string as TCommands[K] extends {
|
|
6463
6594
|
stream?: CommandStreamDeclaration<infer C>;
|
|
6464
6595
|
} ? [C] extends [never] ? never : K : never]: StreamFn<TCommands[K]>; };
|
|
6465
|
-
//#endregion
|
|
6466
|
-
//#region src/extensions/webview-client.d.ts
|
|
6467
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;
|
|
6468
6597
|
type WebviewCommandsClient<TCommands> = { [K in keyof TCommands & string]: CommandFn<TCommands[K]>; };
|
|
6469
6598
|
type WebviewSettingsClient<TSettings> = {
|
|
@@ -6483,6 +6612,7 @@ type WebviewArtifactsClient = {
|
|
|
6483
6612
|
imageUrl: (mount: ArtifactMountKey, path: string) => Promise<string>;
|
|
6484
6613
|
};
|
|
6485
6614
|
type WebviewClient<TCommands, TSettings = undefined> = {
|
|
6615
|
+
editing: WebviewEditingClient;
|
|
6486
6616
|
files: WebviewFilesClient;
|
|
6487
6617
|
page: WebviewPageClient;
|
|
6488
6618
|
navigation: {
|
|
@@ -6506,6 +6636,7 @@ type WebviewClient<TCommands, TSettings = undefined> = {
|
|
|
6506
6636
|
streams: WebviewStreamsClient<TCommands>;
|
|
6507
6637
|
events: WebviewEventsClient;
|
|
6508
6638
|
settings: WebviewSettingsClient<ClientSettingsMap<TSettings>>;
|
|
6639
|
+
account: WebviewAccountClient;
|
|
6509
6640
|
};
|
|
6510
6641
|
interface WebviewClientOptions {
|
|
6511
6642
|
/** Overrides the extension id provided by the host bridge (e.g. in tests). */
|
|
@@ -6530,8 +6661,6 @@ interface WebviewClientOptions {
|
|
|
6530
6661
|
* const enabled = await client.settings.get("counter.enabled");
|
|
6531
6662
|
*/
|
|
6532
6663
|
declare const createWebviewClient: <TCommands extends object, TSettings = undefined>(host: GuestHost, options?: WebviewClientOptions) => WebviewClient<TCommands, TSettings>;
|
|
6533
|
-
//#endregion
|
|
6534
|
-
//#region src/extensions/when.d.ts
|
|
6535
6664
|
/**
|
|
6536
6665
|
* Resource-scoped visibility for command-palette contributions. Both the workbench host and the
|
|
6537
6666
|
* dashboard palette gate the same way, so the rule lives here once instead of being re-derived per
|
|
@@ -6542,14 +6671,12 @@ declare const createWebviewClient: <TCommands extends object, TSettings = undefi
|
|
|
6542
6671
|
declare const matchesResourceWhen: (when: Pick<WhenExpression, "resourceType"> | {
|
|
6543
6672
|
resourceType?: readonly string[];
|
|
6544
6673
|
} | undefined, resourceType: string | undefined) => boolean;
|
|
6545
|
-
//#endregion
|
|
6546
|
-
//#region src/extensions/host-compat.d.ts
|
|
6547
6674
|
/** @deprecated Host-only. Hosts import `ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES` from `pstdio-api-contracts`. */
|
|
6548
6675
|
declare const ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES: readonly ["host.dispatchKeyboardEvent"];
|
|
6549
6676
|
/** @deprecated Host-only. Hosts import `WEBVIEW_DECLARABLE_CAPABILITIES` from `pstdio-api-contracts`. */
|
|
6550
|
-
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"];
|
|
6551
6678
|
/** @deprecated Host-only. Hosts import `WEBVIEW_HOST_CAPABILITIES` from `pstdio-api-contracts`. */
|
|
6552
|
-
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"];
|
|
6553
6680
|
/** @deprecated Host-only. Hosts import `WEBVIEW_HOST_CAPABILITY_VERSION` from `pstdio-api-contracts`. */
|
|
6554
6681
|
declare const WEBVIEW_HOST_CAPABILITY_VERSION = 1;
|
|
6555
6682
|
/** @deprecated Host-only. Hosts import `WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES` from `pstdio-api-contracts`. */
|
|
@@ -6577,12 +6704,8 @@ declare const resolvePageParams: (definitions?: PageParamDefinitions, params?: P
|
|
|
6577
6704
|
declare const validatePageParamDefinitions: (definitions?: PageParamDefinitions) => void;
|
|
6578
6705
|
/** @deprecated Host-only. Hosts import `mergeOrderedHistory` from `pstdio-api-contracts`. */
|
|
6579
6706
|
declare const mergeOrderedHistory: <T>(known: T[], native: T[], options: OrderedHistoryMerge<T>, trailing?: boolean) => T[];
|
|
6580
|
-
//#endregion
|
|
6581
|
-
//#region src/resources/workspace.d.ts
|
|
6582
6707
|
type Workspace$1 = Workspace;
|
|
6583
6708
|
type WorkspaceListItem$1 = WorkspaceListItem;
|
|
6584
|
-
//#endregion
|
|
6585
|
-
//#region src/extensions/resource-compat.d.ts
|
|
6586
6709
|
/** @deprecated Import `CreateNotificationInput` from `@pstdio/sdk/resources`. */
|
|
6587
6710
|
type CreateNotificationInput = CreateNotificationInput$1;
|
|
6588
6711
|
/** @deprecated Import `ListNotificationsQuery` from `@pstdio/sdk/resources`. */
|
|
@@ -6609,8 +6732,6 @@ type UpdateNotificationInput = UpdateNotificationInput$1;
|
|
|
6609
6732
|
type AssetReference = AssetReference$1;
|
|
6610
6733
|
/** @deprecated Import `AssetTransfer` from `@pstdio/sdk/resources`. */
|
|
6611
6734
|
type AssetTransfer = AssetTransfer$1;
|
|
6612
|
-
//#endregion
|
|
6613
|
-
//#region src/extensions/webview-capability-error.d.ts
|
|
6614
6735
|
/** A host capability failure with details that survive the webview boundary. */
|
|
6615
6736
|
interface WebviewCapabilityError extends Error {
|
|
6616
6737
|
code: string;
|
|
@@ -6618,13 +6739,9 @@ interface WebviewCapabilityError extends Error {
|
|
|
6618
6739
|
}
|
|
6619
6740
|
/** Works across extension bundles without depending on a shared Error class. */
|
|
6620
6741
|
declare const isWebviewCapabilityError: (error: unknown) => error is WebviewCapabilityError;
|
|
6621
|
-
//#endregion
|
|
6622
|
-
//#region src/extensions/index.d.ts
|
|
6623
6742
|
declare const projectPrefix: () => {
|
|
6624
6743
|
$prefix: "project";
|
|
6625
6744
|
};
|
|
6626
|
-
//#endregion
|
|
6627
|
-
//#region ../pstdio-api-contracts/src/automation.d.ts
|
|
6628
6745
|
declare const automationRunStatusSchema: z.ZodEnum<{
|
|
6629
6746
|
cancelled: "cancelled";
|
|
6630
6747
|
failed: "failed";
|
|
@@ -6685,6 +6802,11 @@ declare const createAutomationRunInputSchema: z.ZodObject<{
|
|
|
6685
6802
|
workspaceId: z.ZodOptional<z.ZodString>;
|
|
6686
6803
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6687
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>>;
|
|
6688
6810
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
6689
6811
|
type: z.ZodString;
|
|
6690
6812
|
id: z.ZodString;
|
|
@@ -6750,8 +6872,6 @@ type AutomationRunError = z.infer<typeof automationRunErrorSchema>;
|
|
|
6750
6872
|
type AutomationRun = z.infer<typeof automationRunSchema>;
|
|
6751
6873
|
type AutomationRunEvent = z.infer<typeof automationRunEventSchema>;
|
|
6752
6874
|
type ListAutomationRunEventsResponse = z.infer<typeof listAutomationRunEventsResponseSchema>;
|
|
6753
|
-
//#endregion
|
|
6754
|
-
//#region ../pstdio-api-contracts/src/environment.d.ts
|
|
6755
6875
|
declare const bindEnvironmentInputSchema: z.ZodObject<{
|
|
6756
6876
|
environmentId: z.ZodString;
|
|
6757
6877
|
name: z.ZodString;
|
|
@@ -6764,6 +6884,11 @@ declare const environmentBindingSchema: z.ZodObject<{
|
|
|
6764
6884
|
environmentId: z.ZodString;
|
|
6765
6885
|
workbenchId: z.ZodString;
|
|
6766
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>>;
|
|
6767
6892
|
id: z.ZodString;
|
|
6768
6893
|
project_id: z.ZodString;
|
|
6769
6894
|
name: z.ZodString;
|
|
@@ -6802,6 +6927,11 @@ declare const environmentBindingSchema: z.ZodObject<{
|
|
|
6802
6927
|
workspace_shorthand: z.ZodString;
|
|
6803
6928
|
startup_log_file_id: z.ZodNullable<z.ZodString>;
|
|
6804
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>>;
|
|
6805
6935
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
6806
6936
|
type: z.ZodString;
|
|
6807
6937
|
id: z.ZodString;
|
|
@@ -6824,9 +6954,12 @@ declare const environmentBindingSchema: z.ZodObject<{
|
|
|
6824
6954
|
}, z.core.$strict>;
|
|
6825
6955
|
type BindEnvironmentInput = z.infer<typeof bindEnvironmentInputSchema>;
|
|
6826
6956
|
type EnvironmentBinding = z.infer<typeof environmentBindingSchema>;
|
|
6827
|
-
//#endregion
|
|
6828
|
-
//#region ../pstdio-api-contracts/src/extensions/resource-ref.d.ts
|
|
6829
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>>;
|
|
6830
6963
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
6831
6964
|
type: z.ZodString;
|
|
6832
6965
|
id: z.ZodString;
|
|
@@ -6836,15 +6969,11 @@ declare const extensionResourceRefSchema: z.ZodObject<{
|
|
|
6836
6969
|
extensionId: z.ZodOptional<z.ZodString>;
|
|
6837
6970
|
metadata: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
|
|
6838
6971
|
}, z.core.$strip>;
|
|
6839
|
-
//#endregion
|
|
6840
|
-
//#region ../pstdio-api-contracts/src/extensions/workbench-refs-metadata.d.ts
|
|
6841
6972
|
declare const pageRefSchema: z.ZodObject<{
|
|
6842
6973
|
extensionId: z.ZodString;
|
|
6843
6974
|
kind: z.ZodLiteral<"page">;
|
|
6844
6975
|
id: z.ZodString;
|
|
6845
6976
|
}, z.core.$strip>;
|
|
6846
|
-
//#endregion
|
|
6847
|
-
//#region ../pstdio-api-contracts/src/extensions/navigation-target-metadata.d.ts
|
|
6848
6977
|
declare const sectionSchema: z.ZodObject<{
|
|
6849
6978
|
anchors: z.ZodArray<z.ZodObject<{
|
|
6850
6979
|
id: z.ZodString;
|
|
@@ -6862,8 +6991,6 @@ interface MetadataPageTarget {
|
|
|
6862
6991
|
params?: PageParams;
|
|
6863
6992
|
parent?: MetadataPageTarget;
|
|
6864
6993
|
}
|
|
6865
|
-
//#endregion
|
|
6866
|
-
//#region ../pstdio-api-contracts/src/extensions/workbench-metadata.d.ts
|
|
6867
6994
|
declare const workbenchExtensionViewBodySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6868
6995
|
kind: z.ZodLiteral<"webview">;
|
|
6869
6996
|
webview: z.ZodObject<{
|
|
@@ -8470,6 +8597,7 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
|
|
|
8470
8597
|
canClose: z.ZodOptional<z.ZodBoolean>;
|
|
8471
8598
|
acceptsTabs: z.ZodOptional<z.ZodBoolean>;
|
|
8472
8599
|
resizable: z.ZodOptional<z.ZodBoolean>;
|
|
8600
|
+
movable: z.ZodOptional<z.ZodBoolean>;
|
|
8473
8601
|
floatable: z.ZodOptional<z.ZodBoolean>;
|
|
8474
8602
|
size: z.ZodOptional<z.ZodObject<{
|
|
8475
8603
|
defaultPx: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8631,6 +8759,11 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
|
|
|
8631
8759
|
id: z.ZodString;
|
|
8632
8760
|
}, z.core.$strip>]>;
|
|
8633
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>>;
|
|
8634
8767
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
8635
8768
|
type: z.ZodString;
|
|
8636
8769
|
id: z.ZodString;
|
|
@@ -8675,6 +8808,11 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
|
|
|
8675
8808
|
id: z.ZodString;
|
|
8676
8809
|
}, z.core.$strip>]>;
|
|
8677
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>>;
|
|
8678
8816
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
8679
8817
|
type: z.ZodString;
|
|
8680
8818
|
id: z.ZodString;
|
|
@@ -9515,6 +9653,11 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
|
|
|
9515
9653
|
id: z.ZodString;
|
|
9516
9654
|
}, z.core.$strip>]>;
|
|
9517
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>>;
|
|
9518
9661
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
9519
9662
|
type: z.ZodString;
|
|
9520
9663
|
id: z.ZodString;
|
|
@@ -9559,6 +9702,11 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
|
|
|
9559
9702
|
id: z.ZodString;
|
|
9560
9703
|
}, z.core.$strip>]>;
|
|
9561
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>>;
|
|
9562
9710
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
9563
9711
|
type: z.ZodString;
|
|
9564
9712
|
id: z.ZodString;
|
|
@@ -9705,6 +9853,11 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
|
|
|
9705
9853
|
id: z.ZodString;
|
|
9706
9854
|
}, z.core.$strip>]>;
|
|
9707
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>>;
|
|
9708
9861
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
9709
9862
|
type: z.ZodString;
|
|
9710
9863
|
id: z.ZodString;
|
|
@@ -9749,6 +9902,11 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
|
|
|
9749
9902
|
id: z.ZodString;
|
|
9750
9903
|
}, z.core.$strip>]>;
|
|
9751
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>>;
|
|
9752
9910
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
9753
9911
|
type: z.ZodString;
|
|
9754
9912
|
id: z.ZodString;
|
|
@@ -9925,6 +10083,11 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
|
|
|
9925
10083
|
id: z.ZodString;
|
|
9926
10084
|
}, z.core.$strip>]>;
|
|
9927
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>>;
|
|
9928
10091
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
9929
10092
|
type: z.ZodString;
|
|
9930
10093
|
id: z.ZodString;
|
|
@@ -9969,6 +10132,11 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
|
|
|
9969
10132
|
id: z.ZodString;
|
|
9970
10133
|
}, z.core.$strip>]>;
|
|
9971
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>>;
|
|
9972
10140
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
9973
10141
|
type: z.ZodString;
|
|
9974
10142
|
id: z.ZodString;
|
|
@@ -10147,8 +10315,6 @@ type WorkbenchExtensionMetadata = z.infer<typeof workbenchExtensionMetadataSchem
|
|
|
10147
10315
|
type WorkbenchExtensionViewRecord = z.infer<typeof workbenchExtensionViewRecordSchema>;
|
|
10148
10316
|
type WorkbenchExtensionViewBody = z.infer<typeof workbenchExtensionViewBodySchema>;
|
|
10149
10317
|
type WorkbenchExtensionHarnessRecord = NonNullable<WorkbenchExtensionMetadata["harnesses"]>[number];
|
|
10150
|
-
//#endregion
|
|
10151
|
-
//#region ../pstdio-api-contracts/src/extensions/check.d.ts
|
|
10152
10318
|
declare const listExtensionCommandsResponseSchema: z.ZodObject<{
|
|
10153
10319
|
commands: z.ZodArray<z.ZodObject<{
|
|
10154
10320
|
id: z.ZodString;
|
|
@@ -10291,8 +10457,6 @@ declare const listExtensionAppearanceResponseSchema: z.ZodObject<{
|
|
|
10291
10457
|
}, z.core.$strip>;
|
|
10292
10458
|
type ListExtensionCommandsResponse = z.infer<typeof listExtensionCommandsResponseSchema>;
|
|
10293
10459
|
type ListExtensionAppearanceResponse = z.infer<typeof listExtensionAppearanceResponseSchema>;
|
|
10294
|
-
//#endregion
|
|
10295
|
-
//#region ../pstdio-api-contracts/src/extensions/collection-view.d.ts
|
|
10296
10460
|
/** What a rule's value must be for a condition the field kind accepts. */
|
|
10297
10461
|
declare const viewFilterValueKind: (kind: ViewFieldKind, condition: ViewFilterCondition) => "boolean" | "day" | "none" | "number" | "options" | "text";
|
|
10298
10462
|
interface ViewRuleField {
|
|
@@ -10306,8 +10470,6 @@ interface ViewRuleField {
|
|
|
10306
10470
|
}
|
|
10307
10471
|
/** The first reason the filter does not fit the fields, or undefined. */
|
|
10308
10472
|
declare const findViewFilterProblem: (filter: ViewFilterGroup, fields: ViewRuleField[]) => string | undefined;
|
|
10309
|
-
//#endregion
|
|
10310
|
-
//#region ../pstdio-api-contracts/src/extensions/commands.d.ts
|
|
10311
10473
|
declare const extensionCommandRecordSchema: z.ZodObject<{
|
|
10312
10474
|
id: z.ZodString;
|
|
10313
10475
|
extensionId: z.ZodString;
|
|
@@ -10452,8 +10614,6 @@ type ExtensionCommandRecord = z.infer<typeof extensionCommandRecordSchema>;
|
|
|
10452
10614
|
type WorkbenchExtensionAutomationRecord = z.infer<typeof workbenchExtensionAutomationRecordSchema>;
|
|
10453
10615
|
type ExtensionMenuContribution = z.infer<typeof extensionMenuContributionSchema>;
|
|
10454
10616
|
type ExtensionCommandPaletteContribution = z.infer<typeof extensionCommandPaletteContributionSchema>;
|
|
10455
|
-
//#endregion
|
|
10456
|
-
//#region ../pstdio-api-contracts/src/extensions/common.d.ts
|
|
10457
10617
|
declare const localizableStringSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
10458
10618
|
$l10n: z.ZodString;
|
|
10459
10619
|
default: z.ZodOptional<z.ZodString>;
|
|
@@ -10485,8 +10645,6 @@ declare const extensionRecordSchema: z.ZodObject<{
|
|
|
10485
10645
|
type ExtensionDiagnostic = z.infer<typeof extensionDiagnosticSchema>;
|
|
10486
10646
|
type LocalizableString = z.infer<typeof localizableStringSchema>;
|
|
10487
10647
|
type ExtensionRecord = z.infer<typeof extensionRecordSchema>;
|
|
10488
|
-
//#endregion
|
|
10489
|
-
//#region ../pstdio-api-contracts/src/extensions/connections.d.ts
|
|
10490
10648
|
declare const extensionConnectionRecordSchema: z.ZodObject<{
|
|
10491
10649
|
id: z.ZodString;
|
|
10492
10650
|
extensionId: z.ZodString;
|
|
@@ -10532,13 +10690,16 @@ declare const listExtensionConnectionsResponseSchema: z.ZodObject<{
|
|
|
10532
10690
|
type ExtensionConnectionRecord = z.infer<typeof extensionConnectionRecordSchema>;
|
|
10533
10691
|
type ConfigureExtensionConnectionInput = z.infer<typeof configureExtensionConnectionSchema>;
|
|
10534
10692
|
type ListExtensionConnectionsResponse = z.infer<typeof listExtensionConnectionsResponseSchema>;
|
|
10535
|
-
//#endregion
|
|
10536
|
-
//#region ../pstdio-api-contracts/src/extensions/execute.d.ts
|
|
10537
10693
|
declare const commandExecuteRequestSchema: z.ZodObject<{
|
|
10538
10694
|
projectId: z.ZodString;
|
|
10539
10695
|
workspaceId: z.ZodOptional<z.ZodString>;
|
|
10540
10696
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10541
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>>;
|
|
10542
10703
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
10543
10704
|
type: z.ZodString;
|
|
10544
10705
|
id: z.ZodString;
|
|
@@ -10567,6 +10728,11 @@ declare const commandExecuteRequestSchema: z.ZodObject<{
|
|
|
10567
10728
|
mode: z.ZodOptional<z.ZodString>;
|
|
10568
10729
|
projectId: z.ZodOptional<z.ZodString>;
|
|
10569
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>>;
|
|
10570
10736
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
10571
10737
|
type: z.ZodString;
|
|
10572
10738
|
id: z.ZodString;
|
|
@@ -10604,6 +10770,11 @@ declare const commandExecuteBodySchema: z.ZodObject<{
|
|
|
10604
10770
|
workspaceId: z.ZodOptional<z.ZodString>;
|
|
10605
10771
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10606
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>>;
|
|
10607
10778
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
10608
10779
|
type: z.ZodString;
|
|
10609
10780
|
id: z.ZodString;
|
|
@@ -10632,6 +10803,11 @@ declare const commandExecuteBodySchema: z.ZodObject<{
|
|
|
10632
10803
|
mode: z.ZodOptional<z.ZodString>;
|
|
10633
10804
|
projectId: z.ZodOptional<z.ZodString>;
|
|
10634
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>>;
|
|
10635
10811
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
10636
10812
|
type: z.ZodString;
|
|
10637
10813
|
id: z.ZodString;
|
|
@@ -10727,8 +10903,6 @@ type DispatchExtensionEventInput = {
|
|
|
10727
10903
|
eventId: string;
|
|
10728
10904
|
payload: Struct;
|
|
10729
10905
|
};
|
|
10730
|
-
//#endregion
|
|
10731
|
-
//#region ../pstdio-api-contracts/src/extensions/install.d.ts
|
|
10732
10906
|
declare const enableInstalledExtensionRequestSchema: z.ZodObject<{
|
|
10733
10907
|
displayName: z.ZodString;
|
|
10734
10908
|
extensionId: z.ZodString;
|
|
@@ -10940,8 +11114,6 @@ type ListProjectExtensionsResponse = z.infer<typeof listProjectExtensionsRespons
|
|
|
10940
11114
|
type UpgradeProjectExtensionResponse = z.infer<typeof upgradeProjectExtensionResponseSchema>;
|
|
10941
11115
|
type InstallMarketplaceExtensionResponse = z.infer<typeof installMarketplaceExtensionResponseSchema>;
|
|
10942
11116
|
type AddLocalExtensionFolderResponse = z.infer<typeof addLocalExtensionFolderResponseSchema>;
|
|
10943
|
-
//#endregion
|
|
10944
|
-
//#region ../pstdio-api-contracts/src/extensions/installation.d.ts
|
|
10945
11117
|
declare const installExtensionRequestSchema: z.ZodObject<{
|
|
10946
11118
|
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10947
11119
|
kind: z.ZodLiteral<"catalog">;
|
|
@@ -11125,6 +11297,7 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
|
|
|
11125
11297
|
canClose: z.ZodOptional<z.ZodBoolean>;
|
|
11126
11298
|
acceptsTabs: z.ZodOptional<z.ZodBoolean>;
|
|
11127
11299
|
resizable: z.ZodOptional<z.ZodBoolean>;
|
|
11300
|
+
movable: z.ZodOptional<z.ZodBoolean>;
|
|
11128
11301
|
floatable: z.ZodOptional<z.ZodBoolean>;
|
|
11129
11302
|
size: z.ZodOptional<z.ZodObject<{
|
|
11130
11303
|
defaultPx: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11286,6 +11459,11 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
|
|
|
11286
11459
|
id: z.ZodString;
|
|
11287
11460
|
}, z.core.$strip>]>;
|
|
11288
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>>;
|
|
11289
11467
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
11290
11468
|
type: z.ZodString;
|
|
11291
11469
|
id: z.ZodString;
|
|
@@ -11330,6 +11508,11 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
|
|
|
11330
11508
|
id: z.ZodString;
|
|
11331
11509
|
}, z.core.$strip>]>;
|
|
11332
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>>;
|
|
11333
11516
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
11334
11517
|
type: z.ZodString;
|
|
11335
11518
|
id: z.ZodString;
|
|
@@ -12170,6 +12353,11 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
|
|
|
12170
12353
|
id: z.ZodString;
|
|
12171
12354
|
}, z.core.$strip>]>;
|
|
12172
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>>;
|
|
12173
12361
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
12174
12362
|
type: z.ZodString;
|
|
12175
12363
|
id: z.ZodString;
|
|
@@ -12214,6 +12402,11 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
|
|
|
12214
12402
|
id: z.ZodString;
|
|
12215
12403
|
}, z.core.$strip>]>;
|
|
12216
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>>;
|
|
12217
12410
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
12218
12411
|
type: z.ZodString;
|
|
12219
12412
|
id: z.ZodString;
|
|
@@ -12360,6 +12553,11 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
|
|
|
12360
12553
|
id: z.ZodString;
|
|
12361
12554
|
}, z.core.$strip>]>;
|
|
12362
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>>;
|
|
12363
12561
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
12364
12562
|
type: z.ZodString;
|
|
12365
12563
|
id: z.ZodString;
|
|
@@ -12404,6 +12602,11 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
|
|
|
12404
12602
|
id: z.ZodString;
|
|
12405
12603
|
}, z.core.$strip>]>;
|
|
12406
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>>;
|
|
12407
12610
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
12408
12611
|
type: z.ZodString;
|
|
12409
12612
|
id: z.ZodString;
|
|
@@ -12580,6 +12783,11 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
|
|
|
12580
12783
|
id: z.ZodString;
|
|
12581
12784
|
}, z.core.$strip>]>;
|
|
12582
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>>;
|
|
12583
12791
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
12584
12792
|
type: z.ZodString;
|
|
12585
12793
|
id: z.ZodString;
|
|
@@ -12624,6 +12832,11 @@ declare const installedExtensionSourceSchema: z.ZodObject<{
|
|
|
12624
12832
|
id: z.ZodString;
|
|
12625
12833
|
}, z.core.$strip>]>;
|
|
12626
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>>;
|
|
12627
12840
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
12628
12841
|
type: z.ZodString;
|
|
12629
12842
|
id: z.ZodString;
|
|
@@ -13039,6 +13252,7 @@ declare const installExtensionResponseSchema: z.ZodObject<{
|
|
|
13039
13252
|
canClose: z.ZodOptional<z.ZodBoolean>;
|
|
13040
13253
|
acceptsTabs: z.ZodOptional<z.ZodBoolean>;
|
|
13041
13254
|
resizable: z.ZodOptional<z.ZodBoolean>;
|
|
13255
|
+
movable: z.ZodOptional<z.ZodBoolean>;
|
|
13042
13256
|
floatable: z.ZodOptional<z.ZodBoolean>;
|
|
13043
13257
|
size: z.ZodOptional<z.ZodObject<{
|
|
13044
13258
|
defaultPx: z.ZodOptional<z.ZodNumber>;
|
|
@@ -13200,6 +13414,11 @@ declare const installExtensionResponseSchema: z.ZodObject<{
|
|
|
13200
13414
|
id: z.ZodString;
|
|
13201
13415
|
}, z.core.$strip>]>;
|
|
13202
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>>;
|
|
13203
13422
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
13204
13423
|
type: z.ZodString;
|
|
13205
13424
|
id: z.ZodString;
|
|
@@ -13244,6 +13463,11 @@ declare const installExtensionResponseSchema: z.ZodObject<{
|
|
|
13244
13463
|
id: z.ZodString;
|
|
13245
13464
|
}, z.core.$strip>]>;
|
|
13246
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>>;
|
|
13247
13471
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
13248
13472
|
type: z.ZodString;
|
|
13249
13473
|
id: z.ZodString;
|
|
@@ -14084,6 +14308,11 @@ declare const installExtensionResponseSchema: z.ZodObject<{
|
|
|
14084
14308
|
id: z.ZodString;
|
|
14085
14309
|
}, z.core.$strip>]>;
|
|
14086
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>>;
|
|
14087
14316
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
14088
14317
|
type: z.ZodString;
|
|
14089
14318
|
id: z.ZodString;
|
|
@@ -14128,6 +14357,11 @@ declare const installExtensionResponseSchema: z.ZodObject<{
|
|
|
14128
14357
|
id: z.ZodString;
|
|
14129
14358
|
}, z.core.$strip>]>;
|
|
14130
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>>;
|
|
14131
14365
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
14132
14366
|
type: z.ZodString;
|
|
14133
14367
|
id: z.ZodString;
|
|
@@ -14274,6 +14508,11 @@ declare const installExtensionResponseSchema: z.ZodObject<{
|
|
|
14274
14508
|
id: z.ZodString;
|
|
14275
14509
|
}, z.core.$strip>]>;
|
|
14276
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>>;
|
|
14277
14516
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
14278
14517
|
type: z.ZodString;
|
|
14279
14518
|
id: z.ZodString;
|
|
@@ -14318,6 +14557,11 @@ declare const installExtensionResponseSchema: z.ZodObject<{
|
|
|
14318
14557
|
id: z.ZodString;
|
|
14319
14558
|
}, z.core.$strip>]>;
|
|
14320
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>>;
|
|
14321
14565
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
14322
14566
|
type: z.ZodString;
|
|
14323
14567
|
id: z.ZodString;
|
|
@@ -14494,6 +14738,11 @@ declare const installExtensionResponseSchema: z.ZodObject<{
|
|
|
14494
14738
|
id: z.ZodString;
|
|
14495
14739
|
}, z.core.$strip>]>;
|
|
14496
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>>;
|
|
14497
14746
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
14498
14747
|
type: z.ZodString;
|
|
14499
14748
|
id: z.ZodString;
|
|
@@ -14538,6 +14787,11 @@ declare const installExtensionResponseSchema: z.ZodObject<{
|
|
|
14538
14787
|
id: z.ZodString;
|
|
14539
14788
|
}, z.core.$strip>]>;
|
|
14540
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>>;
|
|
14541
14795
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
14542
14796
|
type: z.ZodString;
|
|
14543
14797
|
id: z.ZodString;
|
|
@@ -14988,6 +15242,7 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
14988
15242
|
canClose: z.ZodOptional<z.ZodBoolean>;
|
|
14989
15243
|
acceptsTabs: z.ZodOptional<z.ZodBoolean>;
|
|
14990
15244
|
resizable: z.ZodOptional<z.ZodBoolean>;
|
|
15245
|
+
movable: z.ZodOptional<z.ZodBoolean>;
|
|
14991
15246
|
floatable: z.ZodOptional<z.ZodBoolean>;
|
|
14992
15247
|
size: z.ZodOptional<z.ZodObject<{
|
|
14993
15248
|
defaultPx: z.ZodOptional<z.ZodNumber>;
|
|
@@ -15149,6 +15404,11 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
15149
15404
|
id: z.ZodString;
|
|
15150
15405
|
}, z.core.$strip>]>;
|
|
15151
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>>;
|
|
15152
15412
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
15153
15413
|
type: z.ZodString;
|
|
15154
15414
|
id: z.ZodString;
|
|
@@ -15193,6 +15453,11 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
15193
15453
|
id: z.ZodString;
|
|
15194
15454
|
}, z.core.$strip>]>;
|
|
15195
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>>;
|
|
15196
15461
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
15197
15462
|
type: z.ZodString;
|
|
15198
15463
|
id: z.ZodString;
|
|
@@ -16033,6 +16298,11 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
16033
16298
|
id: z.ZodString;
|
|
16034
16299
|
}, z.core.$strip>]>;
|
|
16035
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>>;
|
|
16036
16306
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
16037
16307
|
type: z.ZodString;
|
|
16038
16308
|
id: z.ZodString;
|
|
@@ -16077,6 +16347,11 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
16077
16347
|
id: z.ZodString;
|
|
16078
16348
|
}, z.core.$strip>]>;
|
|
16079
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>>;
|
|
16080
16355
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
16081
16356
|
type: z.ZodString;
|
|
16082
16357
|
id: z.ZodString;
|
|
@@ -16223,6 +16498,11 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
16223
16498
|
id: z.ZodString;
|
|
16224
16499
|
}, z.core.$strip>]>;
|
|
16225
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>>;
|
|
16226
16506
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
16227
16507
|
type: z.ZodString;
|
|
16228
16508
|
id: z.ZodString;
|
|
@@ -16267,6 +16547,11 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
16267
16547
|
id: z.ZodString;
|
|
16268
16548
|
}, z.core.$strip>]>;
|
|
16269
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>>;
|
|
16270
16555
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
16271
16556
|
type: z.ZodString;
|
|
16272
16557
|
id: z.ZodString;
|
|
@@ -16443,6 +16728,11 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
16443
16728
|
id: z.ZodString;
|
|
16444
16729
|
}, z.core.$strip>]>;
|
|
16445
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>>;
|
|
16446
16736
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
16447
16737
|
type: z.ZodString;
|
|
16448
16738
|
id: z.ZodString;
|
|
@@ -16487,6 +16777,11 @@ declare const extensionDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
16487
16777
|
id: z.ZodString;
|
|
16488
16778
|
}, z.core.$strip>]>;
|
|
16489
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>>;
|
|
16490
16785
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
16491
16786
|
type: z.ZodString;
|
|
16492
16787
|
id: z.ZodString;
|
|
@@ -16716,8 +17011,6 @@ type InstallExtensionRequest = z.infer<typeof installExtensionRequestSchema>;
|
|
|
16716
17011
|
type InstallExtensionResponse = z.infer<typeof installExtensionResponseSchema>;
|
|
16717
17012
|
type InstalledExtensionSource = z.infer<typeof installedExtensionSourceSchema>;
|
|
16718
17013
|
type ExtensionDiagnosticsResponse = z.infer<typeof extensionDiagnosticsResponseSchema>;
|
|
16719
|
-
//#endregion
|
|
16720
|
-
//#region ../pstdio-api-contracts/src/extensions/kanban-renderer.d.ts
|
|
16721
17014
|
declare const extensionCommandPaletteResourceRecordSchema: z.ZodObject<{
|
|
16722
17015
|
id: z.ZodString;
|
|
16723
17016
|
extensionId: z.ZodString;
|
|
@@ -16731,8 +17024,6 @@ declare const extensionCommandPaletteResourceRecordSchema: z.ZodObject<{
|
|
|
16731
17024
|
}, z.core.$strip>;
|
|
16732
17025
|
type ExtensionCommandPaletteResourceRecord = z.infer<typeof extensionCommandPaletteResourceRecordSchema>;
|
|
16733
17026
|
type WorkbenchExtensionCommandPaletteResourceRecord = z.infer<typeof extensionCommandPaletteResourceRecordSchema>;
|
|
16734
|
-
//#endregion
|
|
16735
|
-
//#region ../pstdio-api-contracts/src/extensions/keybindings.d.ts
|
|
16736
17027
|
declare const extensionKeybindingRecordSchema: z.ZodObject<{
|
|
16737
17028
|
id: z.ZodString;
|
|
16738
17029
|
extensionId: z.ZodString;
|
|
@@ -16752,6 +17043,11 @@ declare const extensionKeybindingRecordSchema: z.ZodObject<{
|
|
|
16752
17043
|
id: z.ZodString;
|
|
16753
17044
|
}, z.core.$strip>]>;
|
|
16754
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>>;
|
|
16755
17051
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
16756
17052
|
type: z.ZodString;
|
|
16757
17053
|
id: z.ZodString;
|
|
@@ -16796,6 +17092,11 @@ declare const extensionKeybindingRecordSchema: z.ZodObject<{
|
|
|
16796
17092
|
id: z.ZodString;
|
|
16797
17093
|
}, z.core.$strip>]>;
|
|
16798
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>>;
|
|
16799
17100
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
16800
17101
|
type: z.ZodString;
|
|
16801
17102
|
id: z.ZodString;
|
|
@@ -16843,8 +17144,6 @@ declare const extensionKeybindingRecordSchema: z.ZodObject<{
|
|
|
16843
17144
|
}, z.core.$strip>>;
|
|
16844
17145
|
}, z.core.$strip>;
|
|
16845
17146
|
type ExtensionKeybindingRecord = z.infer<typeof extensionKeybindingRecordSchema>;
|
|
16846
|
-
//#endregion
|
|
16847
|
-
//#region ../pstdio-api-contracts/src/extensions/settings.d.ts
|
|
16848
17147
|
declare const extensionSettingsPanelRecordSchema: z.ZodObject<{
|
|
16849
17148
|
id: z.ZodString;
|
|
16850
17149
|
extensionId: z.ZodString;
|
|
@@ -16991,8 +17290,6 @@ type ExtensionSettingDefinitionRecord = z.infer<typeof extensionSettingDefinitio
|
|
|
16991
17290
|
type ExtensionSettingValueRecord = z.infer<typeof extensionSettingValueRecordSchema>;
|
|
16992
17291
|
type ListExtensionSettingsResponse = z.infer<typeof listExtensionSettingsResponseSchema>;
|
|
16993
17292
|
type UpdateExtensionSettingRequest = z.infer<typeof updateExtensionSettingRequestSchema>;
|
|
16994
|
-
//#endregion
|
|
16995
|
-
//#region ../pstdio-api-contracts/src/files.d.ts
|
|
16996
17293
|
declare const fileRecordSchema: z.ZodObject<{
|
|
16997
17294
|
id: z.ZodString;
|
|
16998
17295
|
project_id: z.ZodString;
|
|
@@ -17006,14 +17303,10 @@ declare const fileRecordSchema: z.ZodObject<{
|
|
|
17006
17303
|
updated_at: z.ZodString;
|
|
17007
17304
|
}, z.core.$strip>;
|
|
17008
17305
|
type FileRecord = z.infer<typeof fileRecordSchema>;
|
|
17009
|
-
//#endregion
|
|
17010
|
-
//#region ../pstdio-api-contracts/src/link-icons.d.ts
|
|
17011
17306
|
declare const linkIconSchema: z.ZodObject<{
|
|
17012
17307
|
data_url: z.ZodString;
|
|
17013
17308
|
}, z.core.$strip>;
|
|
17014
17309
|
type LinkIcon = z.infer<typeof linkIconSchema>;
|
|
17015
|
-
//#endregion
|
|
17016
|
-
//#region ../pstdio-api-contracts/src/projects.d.ts
|
|
17017
17310
|
declare const projectSchema: z.ZodObject<{
|
|
17018
17311
|
id: z.ZodString;
|
|
17019
17312
|
name: z.ZodString;
|
|
@@ -17087,16 +17380,12 @@ declare const projectUpdateRequestSchema: z.ZodObject<{
|
|
|
17087
17380
|
type InitialWorkspaceRequest = z.infer<typeof initialWorkspaceRequestSchema>;
|
|
17088
17381
|
type ProjectCreateRequest = z.input<typeof projectCreateRequestSchema>;
|
|
17089
17382
|
type ProjectUpdateRequest = z.infer<typeof projectUpdateRequestSchema>;
|
|
17090
|
-
//#endregion
|
|
17091
|
-
//#region ../pstdio-api-contracts/src/runtime-auth.d.ts
|
|
17092
17383
|
interface RuntimeReadyResponse {
|
|
17093
17384
|
ok: true;
|
|
17094
17385
|
instanceId: string;
|
|
17095
17386
|
ownerType: "desktop" | "persistent";
|
|
17096
17387
|
protocolVersion: 1;
|
|
17097
17388
|
}
|
|
17098
|
-
//#endregion
|
|
17099
|
-
//#region ../pstdio-api-contracts/src/session-attachment-types.d.ts
|
|
17100
17389
|
declare const sessionAttachmentMimeTypesByExtension: {
|
|
17101
17390
|
readonly c: "text/plain";
|
|
17102
17391
|
readonly cc: "text/plain";
|
|
@@ -17140,8 +17429,6 @@ declare const sessionAttachmentMimeTypesByExtension: {
|
|
|
17140
17429
|
readonly yaml: "text/plain";
|
|
17141
17430
|
readonly yml: "text/plain";
|
|
17142
17431
|
};
|
|
17143
|
-
//#endregion
|
|
17144
|
-
//#region ../pstdio-api-contracts/src/settings.d.ts
|
|
17145
17432
|
declare const settingsSchema: z.ZodObject<{
|
|
17146
17433
|
notifications_enabled: z.ZodBoolean;
|
|
17147
17434
|
machine_tokens_enabled: z.ZodBoolean;
|
|
@@ -17154,9 +17441,12 @@ declare const updateSettingsInputSchema: z.ZodObject<{
|
|
|
17154
17441
|
}, z.core.$strict>;
|
|
17155
17442
|
type Settings = z.infer<typeof settingsSchema>;
|
|
17156
17443
|
type UpdateSettingsInput = z.infer<typeof updateSettingsInputSchema>;
|
|
17157
|
-
//#endregion
|
|
17158
|
-
//#region ../pstdio-api-contracts/src/workspaces.d.ts
|
|
17159
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>>;
|
|
17160
17450
|
id: z.ZodString;
|
|
17161
17451
|
project_id: z.ZodString;
|
|
17162
17452
|
name: z.ZodString;
|
|
@@ -17195,6 +17485,11 @@ declare const workspaceSchema: z.ZodObject<{
|
|
|
17195
17485
|
workspace_shorthand: z.ZodString;
|
|
17196
17486
|
startup_log_file_id: z.ZodNullable<z.ZodString>;
|
|
17197
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>>;
|
|
17198
17493
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
17199
17494
|
type: z.ZodString;
|
|
17200
17495
|
id: z.ZodString;
|
|
@@ -17215,6 +17510,11 @@ declare const workspaceSchema: z.ZodObject<{
|
|
|
17215
17510
|
deleted_at: z.ZodNullable<z.ZodString>;
|
|
17216
17511
|
}, z.core.$strip>;
|
|
17217
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>>;
|
|
17218
17518
|
id: z.ZodString;
|
|
17219
17519
|
project_id: z.ZodString;
|
|
17220
17520
|
name: z.ZodString;
|
|
@@ -17253,6 +17553,11 @@ declare const workspaceListItemSchema: z.ZodObject<{
|
|
|
17253
17553
|
workspace_shorthand: z.ZodString;
|
|
17254
17554
|
startup_log_file_id: z.ZodNullable<z.ZodString>;
|
|
17255
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>>;
|
|
17256
17561
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
17257
17562
|
type: z.ZodString;
|
|
17258
17563
|
id: z.ZodString;
|
|
@@ -17277,6 +17582,11 @@ declare const createWorkspaceInputSchema: z.ZodObject<{
|
|
|
17277
17582
|
provider_id: z.ZodString;
|
|
17278
17583
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
17279
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>>;
|
|
17280
17590
|
shorthand: z.ZodOptional<z.ZodString>;
|
|
17281
17591
|
type: z.ZodString;
|
|
17282
17592
|
id: z.ZodString;
|
|
@@ -17421,6 +17731,5 @@ declare const workspaceEntryMoveInputSchema: z.ZodObject<{
|
|
|
17421
17731
|
destinationPath: z.ZodString;
|
|
17422
17732
|
}, z.core.$strip>;
|
|
17423
17733
|
type WorkspaceEntryMoveInput = z.infer<typeof workspaceEntryMoveInputSchema>;
|
|
17424
|
-
//#endregion
|
|
17425
|
-
export { ListExtensionConnectionsResponse as $, LocalExtensionSource as $a, PlacementPresence as $c, ExtensionSessionPage as $d, NumberParam as $f, NavigationTargetItem as $i, ColorControl as $l, defineKeybinding as $n, HarnessSteeringInput as $o, ViewFilterRule as $p, sessionEvents as $r, NotificationPriority$1 as $s, qualifyNavigationTarget as $t, WhenExpression as $u, UpdateExtensionSettingRequest as A, MigrationContext as Aa, PageOpenIntent as Ac, WebviewExtensionSettingKeyParams as Ad, PendingQueuedFollowUpsResponse as Af, CommandHelpersApi as Ai, DataTableRendererQueryParams as Al, AssetTransfer$1 as Am, ParsedWorkbenchPageUrl as An, PreparedHarnessOperation as Ao, ConnectionRef as Ap, RESOURCE_ACTIONS_EVENTS_SCOPE as Ar, BoardViews as As, isWebviewCapabilityError as At, CommandPaletteResourceItem as Au, EnableInstalledExtensionResponse as B, ExtensionWorkspaceCreateInput as Ba, PlacementIdentity as Bc, WebviewKeyboardEventParams as Bd, RendererContributionBase as Bf, CommandRejectedEvent as Bi, ControlsApplyInput as Bl, ExtensionViewRenderContext as Bn, HarnessParamValue as Bo, SettingsSlotRef as Bp, packageAsset as Br, SkillFile as Bs, NotificationOrigin as Bt, KeybindingChord as Bu, UpdateProjectInput as C, ExtensionNotifyApi as Ca, FileSourcePosition as Cc, WebviewArtifactFile as Cd, SessionDetails as Cf, dockedWorkbenchRegions as Ci, TreeViewSection as Cl, StepStartPart as Cm, resourceKey as Cn, RetryableHarnessReattachError as Co, TerminalSessionRequest as Cp, commandRefId as Cr, ExtensionAssetsApi as Cs, CreateAutomationRunInput as Ct, VectorControl as Cu, ExtensionSettingValueRecord as D, ExtensionSettingsApi as Da, PageMain as Dc, WebviewCommandsExecuteParams as Dd, SessionQueuedMessagesResponse as Df, CommandDiagnostic as Di, DataTableRendererColumnRenderer as Dl, ToolPartActionType as Dm, qualifyRef as Dn, HarnessCommandState as Do, JsonValue as Dp, getCommandValue as Dr, BoardView as Ds, ListAutomationTokensResponse as Dt, CliContribution as Du, ExtensionSettingDefinitionRecord as E, ExtensionProjectContext as Ea, PageLocation as Ec, WebviewCommandStreamEvent as Ed, SessionFollowUpResponse as Ef, CommandContinue as Ei, DataTableRendererColumn as El, ToolPart as Em, QualifiedRef as En, HarnessCommandDiscoveryContext as Eo, JsonPrimitive as Ep, CommandResponse as Er, BoardSummary as Es, ListAutomationRunEventsResponse as Et, ArtifactMountContribution as Eu, InstallExtensionRequest as F, WorkspaceFilesMount as Fa, PageSlotCardinality as Fc, WebviewFilesUploadParams as Fd, UpdateQueuedFollowUpInput as Ff, CommandNotice as Fi, DataTableRendererRowActivationHandler as Fl, AgentSkillsLayout as Fm, serializeWorkbenchPageUrl as Fn, HarnessAttachment as Fo, ModeRef as Fp, commandRef as Fr, ExtensionConnectionsApi as Fs, ListNotificationsResponse as Ft, ExtensionSettingScope as Fu, UpgradeProjectExtensionResponse as G, CommandDefinition as Ga, KanbanViewBody as Gc, WebviewNotificationShowParams as Gd, BooleanParam as Gf, CommandStartedEvent as Gi, ControlsResourceRef as Gl, PropsStore as Gn, HarnessQuestionReplyError as Go, LocalizedString as Gp, RebasePayload as Gr, ListNotificationsQuery$1 as Gs, WorkspaceListItem$1 as Gt, SettingsPanelContribution as Gu, ListProjectExtensionsResponse as H, ExtensionWorkspacesApi as Ha, ControlsViewBody as Hc, WebviewNotificationActionParams as Hd, ArtifactChangedPayload as Hf, CommandReplaceParams as Hi, ControlsQueryResult as Hl, WebviewPageClient as Hn, HarnessQuestion as Ho, ThemeRef as Hp, CommitPayload as Hr, SkillWithContentDetails as Hs, NotificationStatus as Ht, MenuContribution as Hu, InstallExtensionResponse as I, WorkspaceSyncFile as Ia, PageSlotRef as Ic, WebviewHostCapability as Id, SlotInvocationContext as If, CommandOutcome as Ii, DataTableRendererSavedView as Il, HarnessParamsInfo as Im, defaultPageResourceCodec as In, HarnessEventSink as Io, PageRef as Ip, eventRef as Ir, ExtensionLoggerApi as Is, Notification as It, ExtensionSettingValueForType as Iu, CommandExecuteResponse as J, ExtensionConnectionContribution as Ja, NavigationTreeContribution as Jc, WebviewPreferencesSetParams as Jd, JsonParam as Jf, WorkbenchAttachmentInvocationContext as Ji, ActionsControl as Jl, defineArtifactMount as Jn, HarnessRecoveryInput as Jo, normalizeBooleanViewRule as Jp, WorkspaceType as Jr, NotificationAction$1 as Js, WEBVIEW_HOST_CAPABILITIES as Jt, TemplateContribution as Ju, CommandExecuteBody as K, CommandStreamDeclaration as Ka, NavigationItemContribution as Kc, WebviewPageParamsUpdateParams as Kd, FilesParam as Kf, CommandTarget as Ki, ControlsUpdateValueInput as Kl, defineExtension as Kn, HarnessQuestionRequest as Ko, isLocalizedString as Kp, SessionLifecyclePayload as Kr, ListNotificationsResponse$1 as Ks, ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES as Kt, SettingsSectionContribution as Ku, InstalledExtensionSource as L, CreateExtensionWorkspaceInput as La, PageSlotRegion as Lc, WebviewHostCapabilityParams as Ld, SlotOptions as Lf, CommandPatchParams as Li, DataTableRendererSelectionAction as Ll, harnessLocalId as Lm, resolveEventReferenceId as Ln, HarnessExit as Lo, PlacementRef as Lp, PageResourceCodec as Lr, ExtensionAutomationApi as Ls, NotificationAction as Lt, ExtensionSettingValueType as Lu, ExtensionCommandPaletteResourceRecord as M, ProcessRunResult as Ma, PageParamValue as Mc, WebviewFileScope as Md, QueuedFollowUpUpdateResponse as Mf, CommandLifecycleEventPayload as Mi, DataTableRendererResourceRef as Ml, AgentDetails as Mm, parsePageUrl as Mn, ApprovalRequest as Mo, ContributionInput as Mp, isFileSourcePosition as Mr, ExtensionConnectionRequest as Ms, AssetTransfer as Mt, CommandPaletteResourceQueryResult as Mu, WorkbenchExtensionCommandPaletteResourceRecord as N, RendererCallback as Na, PageParams as Nc, WebviewFilesDeleteParams as Nd, QueuedSteeringResult as Nf, CommandLifecyclePhase as Ni, DataTableRendererRow as Nl, AgentInfo as Nm, parseWorkbenchPageUrl as Nn, ApprovalResponse as No, ContributionKind as Np, defineSlot as Nr, ExtensionConnectionResponse as Ns, CreateNotificationInput as Nt, CommandPaletteResourceTarget as Nu, ExtensionSettingsPanelRecord as O, ExtensionSkillsApi as Oa, PageMainPanels as Oc, WebviewCommandsStreamParams as Od, SessionStatus as Of, CommandFailedEvent as Oi, DataTableRendererColumnStat as Ol, ToolPartStatus as Om, params as On, HarnessOperation as Oo, MaybePromise as Op, unwrapCommandOutcome as Or, BoardViewCreate as Os, projectPrefix as Ot, CommandPaletteContribution as Ou, ExtensionDiagnosticsResponse as P, SetupContext as Pa, PageSlot as Pc, WebviewFilesListParams as Pd, SteerQueuedFollowUpInput as Pf, CommandMiddlewareResult as Pi, DataTableRendererRowAction as Pl, AgentModel as Pm, serializePageUrl as Pn, HarnessApprovalChannel as Po, ContributionRef as Pp, serializeCommandError as Pr, ExtensionConnectionStreamEvent as Ps, ListNotificationsQuery as Pt, ExtensionSettingProperty as Pu, ExtensionConnectionRecord as Q, HookDefinition as Qa, PlacementMountStrategy as Qc, ExtensionSession as Qd, MultiSelectParam as Qf, NavigationTargetHref as Qi, BooleanControl as Ql, defineHarness as Qn, HarnessStartInput as Qo, ViewFilterGroup as Qp, projectSlots as Qr, NotificationOrigin$1 as Qs, normalizePageParams as Qt, WebviewContribution as Qu, AddLocalExtensionFolderResponse as R, CreateWorkspaceCommandParams as Ra, PageSlotRole as Rc, WebviewHostCapabilityResult as Rd, SlotRef as Rf, CommandRef as Ri, DataTableRendererSettings as Rl, ActivityEntry as Rm, ExtensionViewModule as Rn, HarnessExitStatus as Ro, ResourceKindRef as Rp, pageParamsQuery as Rr, Skill as Rs, NotificationActorType as Rt, ExtensionSettingsContribution as Ru, ProjectUpdateRequest as S, ExtensionNetApi as Sa, PageQuery as Sc, VersionedWebviewCapabilityDeclaration as Sd, SessionCreateResponse as Sf, ResourceMenuSlotDefinition as Si, TreeSectionEmptyState as Sl, StepFinishPart as Sm, createTerminalSessionBridge as Sn, HarnessStateApi as So, TerminalSessionOperation as Sp, streamOf as Sr, StorageSaveState as Ss, AutomationTokenRecord as St, TextControl as Su, FileRecord as T, ExtensionProcessApi as Ta, PageDocumentDeclaration as Tc, WebviewCapabilityDeclaration as Td, SessionFollowUpRequest as Tf, CommandCompletedEvent as Ti, DEFAULT_DATA_TABLE_SETTINGS as Tl, TokenUsagePart as Tm, commandEvent as Tn, HarnessCommandContext as To, JsonObject as Tp, CommandOutcomeError as Tr, BoardField as Ts, IssueAutomationTokenResponse as Tt, ActivityItemContribution as Tu, MarketplaceExtension as U, AssetContributions as Ua, DataTableViewBody as Uc, WebviewNotificationDismissParams as Ud, EventDeliveryResult as Uf, CommandRequestedEvent as Ui, ControlsRendererContribution as Ul, WebviewFilesClient as Un, HarnessQuestionChannel as Uo, ViewRef as Up, ConflictPayload as Ur, UpdateSkillInput as Us, UpdateNotificationInput as Ut, ModeContribution as Uu, InstallMarketplaceExtensionResponse as V, ExtensionWorkspaceProvider as Va, PlacementOwner as Vc, WebviewNavigationOpenParams as Vd, RendererEventReference as Vf, CommandReplaceInvocation as Vi, ControlsQueryParams as Vl, defineExtensionView as Vn, HarnessParams as Vo, StatusBarSlotRef as Vp, isNavigationTarget as Vr, SkillWithContent as Vs, NotificationPriority as Vt, KeybindingContribution as Vu, ProjectExtensionInstance as W, BehaviourContributions as Wa, FileViewBody as Wc, WebviewNotificationResolveParams as Wd, EventRef as Wf, CommandSource as Wi, ControlsResetInput as Wl, GuestHost as Wn, HarnessQuestionOption as Wo, Localizable as Wp, MergePayload as Wr, CreateNotificationInput$1 as Ws, Workspace$1 as Wt, ModeRegionSettings as Wu, DispatchExtensionEventInput as X, ExtensionLoadScope as Xa, PlacementContribution as Xc, WebviewScopedDeclarableCapability as Xd, LongTextParam as Xf, NavigationTargetCommand as Xi, AnchorGridValue as Xl, defineConnection as Xn, HarnessResumeInput as Xo, ViewFieldKind as Xp, gitEvents as Xr, NotificationFinalStatus as Xs, WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES as Xt, ThemeContribution as Xu, CommandExecutionResult as Y, ExtensionDefinition as Ya, NavigationTreeSlot as Yc, WebviewResourceAction as Yd, ListParam as Yf, NavigationTarget as Yi, AnchorGridControl as Yl, defineCommandPaletteResource as Yn, HarnessRecoveryResult as Yo, VIEW_FILTER_CONDITIONS as Yp, WorktreeRemovedPayload as Yr, NotificationActorType$1 as Ys, WEBVIEW_HOST_CAPABILITY_VERSION as Yt, TemplateTypeContribution as Yu, ConfigureExtensionConnectionInput as Z, ExtensionSourceKind as Za, PlacementItem as Zc, ExtensionHarnessInput as Zd, MarkdownParam as Zf, NavigationTargetCompound as Zi, BaseControl as Zl, defineFileIconTheme as Zn, HarnessSession as Zo, ViewFilterCondition as Zp, projectEvents as Zr, NotificationKind$1 as Zs, mergeOrderedHistory as Zt, ThemeMode as Zu, CreateProjectInput as _, ExtensionActivityApi as _a, ResourceRemovedEvent as _c, KanbanRendererSettings as _d, SessionAttachmentDetails as _f, DockedWorkbenchRegion as _i, TreeRendererContribution as _l, PatchPart as _m, ArtifactMountKey as _n, HarnessDetectionResult as _o, TerminalHostEvent as _p, defineWorkspaceType as _r, StorageConflictInspection as _s, EnvironmentBinding as _t, SegmentedControl as _u, RemoveWorktreeResponse as a, FileRendererResourceRef as aa, RelatedResourceOpening as ac, KanbanRendererColumnAction as ad, SessionExit as af, isValidLocalContributionId as ai, TreeViewBody as al, HistoryProjection as am, WebviewArtifactsClient as an, UiContributions as ao, ParamValue as ap, defineResourceHierarchyProvider as ar, ExtensionBlobRef as as, ExtensionMenuContribution as at, HarnessControl as au, ProjectCreateRequest as b, ExtensionEventsApi as ba, ViewHierarchyParent as bc, KanbanRendererViewSettings as bd, SessionConversationSources as bf, ResourceHierarchyProvider as bi, TreeRendererResourceRef as bl, SessionMessagePart as bm, TerminalSessionAdapter as bn, HarnessProvider as bo, TerminalSessionExit as bp, defineHook as br, StorageResolution as bs, AutomationRunEvent as bt, SelectionGroup as bu, WorkspaceFileContent as c, FileRendererSectionTarget as ca, RendererInvocationContext as cc, KanbanRendererEnumOption as cd, ApprovalInput as cf, workbenchModeDefinitions as ci, ViewMenuContribution as cl, historyMessageKey as cm, WebviewCommandsClient as cn, WorkspaceProviderCreateInput as co, ResourceParam as cp, defineSettingsPanel as cr, ExtensionStorageCollectionApi as cs, viewFilterValueKind as ct, NumberControl as cu, WorkspaceProviderDescriptor as d, CommandContext as da, ResourceAnchorPage as dc, KanbanRendererQueryResult as dd, ListSessionActivityInput as df, workbenchPages as di, TreeNode as dl, reconcileMessageHistory as dm, WebviewStreamsClient as dn, WorkspaceProviderResolveInput as do, TextParam as dp, defineStatusBarItem as dr, StorageScope as ds, WorkbenchExtensionHarnessRecord as dt, RangeControl as du, NavigationTargetPage as ea, NotificationStatus$1 as ec, CollectionBadgeItem as ed, ExtensionSessionQuery as ef, sessionSlots as ei, PlacementPresentation as el, ViewSort as em, resolveDataTableComparableValue as en, MiddlewareDefinition as eo, ParamDescriptor as ep, defineMode as er, HarnessSteeringResult as es, ExtensionDiagnostic as et, ControlGroup as eu, WriteWorkspaceFileInput as f, CommandMiddlewareContext as fa, ResourceAnchorQuery as fc, KanbanRendererResourceRef as fd, ListSessionActivityResponse as ff, workbenchPanelDefinitions as fi, TreeNodeRowVariant as fl, splitHistoryTurns as fm, CommandStream as fn, WorkspaceProviderResult as fo, WorkspaceParam as fp, defineTemplate as fr, ExtensionRecordsApi as fs, WorkbenchExtensionMetadata as ft, RangeValue as fu, RuntimeReadyResponse as g, EventContext as ga, ResourceRef as gc, KanbanRendererSavedView as gd, SessionAttachment as gf, workbenchSlots as gi, TreeRendererCommandResult as gl, LoadingPart as gm, WebviewExtensionEvent as gn, HarnessContext as go, TerminalEvent as gp, defineViewMenu as gr, StorageConflict as gs, BindEnvironmentInput as gt, ResourceRefValue as gu, sessionAttachmentMimeTypesByExtension as h, CommandStreamWriter as ha, ResourceAnchorValidationResult as hc, KanbanRendererRowActivationHandler as hd, Session as hf, workbenchResourceKinds as hi, TreeRendererChildrenParams as hl, FilePart as hm, WebviewEventsClient as hn, StatusBarItemContribution as ho, TerminalBridge as hp, defineView as hr, SharedEdit as hs, MetadataPageTarget as ht, ResourceOption as hu, ListWorkspaceFilesInput as i, FileRendererLoadResult as ia, PackageAssetDescriptor as ic, KanbanRendererBoardColumnConfig as id, ExtensionSessionsApi as if, worktreeEvents as ii, PlacementTabSnapshot as il, HistoryConflict as im, matchesResourceWhen as in, ScheduleExpression as io, ParamType as ip, definePlacement as ir, ExtensionBlobInput as is, ExtensionCommandRecord as it, DateControl as iu, ExtensionKeybindingRecord as j, ProcessRunInput as ja, PageParamDefinition as jc, WebviewExtensionSettingSetParams as jd, QueuedFollowUpRequest as jf, CommandInvocation as ji, DataTableRendererQueryResult as jl, AgentAvailabilityType as jm, isWorkbenchProjectUrl as jn, AgentCapability as jo, ContributionDefinition as jp, WebviewHostProps as jr, ExtensionConnectionMethod as js, AssetReference as jt, CommandPaletteResourceQueryParams as ju, ListExtensionSettingsResponse as k, ExtensionTerminalApi as ka, PageMainView as kc, WebviewDeclarableCapability as kd, CombineQueuedFollowUpsInput as kf, CommandFailureDetails as ki, DataTableRendererContribution as kl, AssetReference$1 as km, PageUrlDefinition as kn, HarnessOperationResult as ko, Struct as kp, SDK_VERSION as kr, BoardViewUpdate as ks, WebviewCapabilityError as kt, CommandPaletteResourceContribution as ku, WorkspaceFileEntry as l, ArtifactFile as la, ResourceAnchor as lc, KanbanRendererMove as ld, CreateSessionInput as lf, workbenchModes as li, WebviewViewBody as ll, historyValueKey as lm, WebviewSettingsClient as ln, WorkspaceProviderMutationInput as lo, SelectParam as lp, defineSettingsSection as lr, ExtensionStorageMigration as ls, ListExtensionAppearanceResponse as lt, ParamEditorReadOnlyContent as lu, UpdateSettingsInput as m, CommandRunHandler as ma, ResourceAnchorValidationInput as mc, KanbanRendererRowAction as md, ResolveSessionIdResponse as mf, workbenchResourceKindDefinitions as mi, TreeRendererActionParams as ml, ErrorPart as mm, EXTENSION_EVENTS_SCOPE as mn, WorkspaceTypeProvider as mo, ResourceConstraint as mp, defineTheme as mr, EnvironmentTarget as ms, WorkbenchExtensionViewRecord as mt, ResourceControl as mu, ListWorkspaceActivityInput as n, FileRendererContribution as na, UpdateNotificationInput$1 as nc, KanbanRendererAttributeDisplay as nd, ExtensionSessionSummary as nf, workspaceEvents as ni, PlacementTabMenuRow as nl, parseExtensionApiDeclaration as nm, resolvePageParams as nn, ProviderContributions as no, ParamOption as np, defineNavigationTree as nr, QuestionResponse as ns, LocalizableString as nt, ControlValue as nu, RenameWorkspaceInput as o, FileRendererSaveParams as oa, RelatedResourceOpenings as oc, KanbanRendererContribution as od, SessionExitCause as of, localContributionIdGrammar as oi, ViewBody as ol, HistoryRecoveryInput as om, WebviewClient as on, WorkspaceCapabilities as oo, ParamValueRef as op, defineResourceKind as or, ExtensionBlobsApi as os, WorkbenchExtensionAutomationRecord as ot, HarnessControlValue as ou, Settings as p, CommandMiddlewareHandler as pa, ResourceAnchorQueryPage as pc, KanbanRendererRow as pd, ResolveSessionIdInput as pf, workbenchPanels as pi, TreeNodeTarget as pl, submittedPrompt as pm, CommandStreamOptions as pn, WorkspaceProviderState as po, ResourceBinding as pp, defineTemplateType as pr, EnvironmentIdentity as ps, WorkbenchExtensionViewBody as pt, ReadOnlyControl as pu, CommandExecuteRequest as q, EXTENSION_API_VERSION as qa, NavigationOwnerRef as qc, WebviewPreferencesGetParams as qd, HarnessParam as qf, SerializedError as qi, ActionOption as ql, defineActivityItem as qn, HarnessReattachInput as qo, l10n as qp, WorkspaceProvisionPayload as qr, Notification$1 as qs, WEBVIEW_DECLARABLE_CAPABILITIES as qt, SkillContribution as qu, ListWorkspaceActivityResponse as r, FileRendererLoadParams as ra, ExtensionResourcesApi as rc, KanbanRendererAttributeType as rd, ExtensionSessionUsage as rf, workspaceSlots as ri, PlacementTabPresentation as rl, supportsExtensionApiVersion as rm, validatePageParamDefinitions as rn, ScheduleContribution as ro, ParamOptionSource as rp, definePage as rr, TimeoutStrategy as rs, ExtensionCommandPaletteContribution as rt, ControlValueMap as ru, WorkspaceEntryMoveInput as s, FileRendererSectionAnchor as sa, RendererContext as sc, KanbanRendererCreateRowContribution as sd, SessionRunSnapshot as sf, localContributionIdPattern as si, ViewContribution as sl, HistoryRecoveryResult as sm, WebviewClientOptions as sn, WorkspaceExecutionTarget as so, ParamsOf as sp, defineSchedule as sr, ExtensionStorageApi as ss, findViewFilterProblem as st, MarkdownControl as su, CreateWorkspaceInput as t, NavigationTargetPanel as ta, SetNotificationStatusInput as tc, KanbanRendererAttributeDescriptor as td, ExtensionSessionResource as tf, viewDataEvents as ti, PlacementTabMenuGroup as tl, ViewSortDirection as tm, resolveDataTableFieldKind as tn, PackageManifest as to, ParamObjectSchema as tp, defineNavigationItem as tr, JsonPatch as ts, ExtensionRecord as tt, ControlParam as tu, WorkspaceFilesResponse as u, ArtifactMount as ua, ResourceAnchorChangeEvent as uc, KanbanRendererQueryParams as ud, FollowUpInput as uf, workbenchPageDefinitions as ui, TreeAction as ul, mergeHistoryMetadata as um, createWebviewClient as un, WorkspaceProviderRef as uo, TemplateParam as up, defineSkill as ur, ExtensionStoragePositionsApi as us, ListExtensionCommandsResponse as ut, ParamEditorReadOnlyImage as uu, InitialWorkspaceRequest as v, ExtensionArtifactApi as va, ResourceResolution as vc, KanbanRendererSortDirection as vd, SessionAttachmentRef as vf, ExtensionPanelRegion as vi, TreeRendererMoveParams as vl, ReasoningPart as vm, artifactMountId as vn, HarnessParamDescriptor as vo, TerminalSessionAdapter$1 as vp, resourceMenuSlotRef as vr, StorageGroup as vs, AutomationRun as vt, SegmentedOption as vu, LinkIcon as w, ExtensionPackageFilesApi as wa, PageContribution as wc, WebviewArtifactsReadParams as wd, SessionFollowUpDecision as wf, extensionPanelRegions as wi, TreeViewSectionStructure as wl, TextPart as wm, artifactChanged as wn, DraftHarnessCommandInput as wo, TerminalSessionResult as wp, contributionRefId as wr, ExtensionViewsApi as ws, IssueAutomationTokenInput as wt, VectorValue as wu, ProjectDetails as x, ExtensionFilesApi as xa, Page as xc, ViewToolbarAction as xd, SessionCreateRequest as xf, ResourceKindDefinition as xi, TreeRendererState as xl, SessionMessageRole as xm, TerminalSessionBridge as xn, HarnessSkillsLayout as xo, TerminalSessionHandle as xp, defineMiddleware as xr, StorageSaveOutcome as xs, AutomationRunStatus as xt, SelectionOption as xu, Project as y, ExtensionContextBase as ya, ResourceRole as yc, KanbanRendererViewMode as yd, SessionConversationResponse as yf, RegionSize as yi, TreeRendererQueryParams as yl, SessionMessage as ym, artifactsRead as yn, HarnessParamsSchema as yo, TerminalSessionError as yp, defineCommand as yr, StorageRecord as ys, AutomationRunError as yt, SelectionControl as yu, EnableInstalledExtensionRequest as z, ExtensionWorkspace as za, PanelRef as zc, WebviewHostCapabilityResults as zd, UiSlotKind as zf, CommandReject as zi, DataTableRendererThemeColor as zl, ActivityPage as zm, ExtensionViewRender as zn, HarnessMessagesInput as zo, SettingsSectionRef as zp, parsePageParams as zr, SkillDetails as zs, NotificationKind as zt, FileIconThemeContribution 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 };
|
|
17426
17735
|
export {};
|