@eworkbase/sdk 0.1.1 → 0.2.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/index.d.ts +9 -0
- package/dist/index.js +96 -0
- package/dist/types-CYt_KGKR.d.ts +449 -0
- package/dist/ui/index.css.d.ts +2 -0
- package/dist/ui/index.d.ts +118 -0
- package/dist/ui/index.js +195 -0
- package/{ui → dist/ui}/model.d.ts +5 -3
- package/dist/ui/model.js +38 -0
- package/package.json +23 -11
- package/README.md +0 -442
- package/definition.d.ts +0 -7
- package/definition.js +0 -41
- package/host-services.d.ts +0 -168
- package/host-services.js +0 -4
- package/index.d.ts +0 -8
- package/index.js +0 -8
- package/types.d.ts +0 -246
- package/types.js +0 -56
- package/ui/controller.d.ts +0 -5
- package/ui/controller.js +0 -212
- package/ui/index.css.d.ts +0 -1
- package/ui/index.d.ts +0 -7
- package/ui/index.js +0 -35
- package/ui/model.js +0 -50
- package/ui/types.d.ts +0 -108
- package/ui/types.js +0 -4
- /package/{ui → dist/ui}/index.css +0 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { $ as PluginConfigApi, A as PluginProject, B as PluginViewDefinition, C as PluginLifecycleOutcome, D as PluginProcessApi, E as PluginLogger, F as PluginSharedChanges, G as PluginAgentContextCatalogEntry, H as PluginViewRequest, I as PluginStatusContribution, J as PluginCapabilityCommandRequest, K as PluginAgentPolicy, L as PluginStatusDefinition, M as PluginRepositoryStatus, N as PluginSetupHooks, O as PluginProcessResult, P as PluginSharedChangeKind, Q as PluginCommandCatalogEntry, R as PluginToolContribution, S as PluginLifecycleHook, T as PluginLifecycleStatus, U as PluginWorkspace, V as PluginViewLayout, W as WorkbasePluginDefinition, X as PluginCapabilityService, Y as PluginCapabilityResolveRequest, Z as PluginColoredMessage, _ as PluginDisposable, _t as PluginToastLevel, a as PluginCommandContext, at as PluginLogService, b as PluginInvocationContext, c as PluginCommandDetails, ct as PluginPromptQuestion, d as PluginCommandExecutionResult, dt as PluginStoreApi, et as PluginHostServices, f as PluginCommandOption, ft as PluginSystemContextService, g as PluginContributionSnapshot, gt as PluginToastApi, h as PluginContextExposure, ht as PluginTaskService, i as PluginCommandCategory, it as PluginLogQueryResult, j as PluginRepository, k as PluginProcessRunOptions, l as PluginCommandEffect, lt as PluginPromptType, m as PluginContext, mt as PluginTaskResult, n as PluginAgentContextDefinition, nt as PluginLogEntry, o as PluginCommandContribution, ot as PluginPromptApi, p as PluginCommandTransaction, pt as PluginTaskDescriptor, q as PluginCapabilityCatalog, r as PluginCommandArgument, rt as PluginLogQueryRequest, s as PluginCommandDefinition, st as PluginPromptChoice, t as PluginAgentContextContribution, tt as PluginInteractiveLogger, u as PluginCommandExecutionMode, ut as PluginStatusCatalogEntry, v as PluginHookId, vt as PluginToastOptions, w as PluginLifecyclePolicy, x as PluginLifecycleDispatchResult, y as PluginHookResult, yt as PluginViewCatalogEntry, z as PluginViewContribution } from "./types-CYt_KGKR.js";
|
|
2
|
+
export * from "zod";
|
|
3
|
+
//#region src/definition.d.ts
|
|
4
|
+
export declare const PLUGIN_API_VERSION = 2;
|
|
5
|
+
type DefinedWorkbasePlugin = Readonly<WorkbasePluginDefinition>;
|
|
6
|
+
export declare function definePlugin(definition: WorkbasePluginDefinition): DefinedWorkbasePlugin;
|
|
7
|
+
export declare function isDefinedPlugin(value: unknown): value is DefinedWorkbasePlugin;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { type DefinedWorkbasePlugin, type PluginAgentContextCatalogEntry, type PluginAgentContextContribution, type PluginAgentContextDefinition, type PluginAgentPolicy, type PluginCapabilityCatalog, type PluginCapabilityCommandRequest, type PluginCapabilityResolveRequest, type PluginCapabilityService, type PluginColoredMessage, type PluginCommandArgument, type PluginCommandCatalogEntry, PluginCommandCategory, type PluginCommandContext, type PluginCommandContribution, type PluginCommandDefinition, type PluginCommandDetails, PluginCommandEffect, PluginCommandExecutionMode, type PluginCommandExecutionResult, type PluginCommandOption, PluginCommandTransaction, type PluginConfigApi, type PluginContext, PluginContextExposure, type PluginContributionSnapshot, type PluginDisposable, PluginHookId, type PluginHookResult, type PluginHostServices, type PluginInteractiveLogger, type PluginInvocationContext, type PluginLifecycleDispatchResult, type PluginLifecycleHook, type PluginLifecycleOutcome, PluginLifecyclePolicy, PluginLifecycleStatus, type PluginLogEntry, type PluginLogQueryRequest, type PluginLogQueryResult, type PluginLogService, type PluginLogger, type PluginProcessApi, type PluginProcessResult, type PluginProcessRunOptions, type PluginProject, type PluginPromptApi, type PluginPromptChoice, type PluginPromptQuestion, type PluginPromptType, type PluginRepository, PluginRepositoryStatus, type PluginSetupHooks, PluginSharedChangeKind, type PluginSharedChanges, type PluginStatusCatalogEntry, type PluginStatusContribution, type PluginStatusDefinition, type PluginStoreApi, type PluginSystemContextService, type PluginTaskDescriptor, type PluginTaskResult, type PluginTaskService, type PluginToastApi, type PluginToastLevel, type PluginToastOptions, type PluginToolContribution, type PluginViewCatalogEntry, type PluginViewContribution, type PluginViewDefinition, PluginViewLayout, type PluginViewRequest, type PluginWorkspace, type WorkbasePluginDefinition };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
export * from "zod";
|
|
2
|
+
//#region src/definition.ts
|
|
3
|
+
const PLUGIN_API_VERSION = 2;
|
|
4
|
+
const PLUGIN_ID_PATTERN = /^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/;
|
|
5
|
+
function definePlugin(definition) {
|
|
6
|
+
validateDefinition(definition);
|
|
7
|
+
return Object.freeze({
|
|
8
|
+
...definition,
|
|
9
|
+
dependencies: Object.freeze([...definition.dependencies ?? []])
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
function isDefinedPlugin(value) {
|
|
13
|
+
try {
|
|
14
|
+
validateDefinition(value);
|
|
15
|
+
return true;
|
|
16
|
+
} catch {
|
|
17
|
+
return false;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
function validateDefinition(definition) {
|
|
21
|
+
if (!isRecord(definition)) throw new TypeError("definePlugin requires a plugin definition object.");
|
|
22
|
+
if (typeof definition.id !== "string" || !PLUGIN_ID_PATTERN.test(definition.id)) throw new TypeError("Plugin id must use lowercase kebab-case.");
|
|
23
|
+
if (typeof definition.setup !== "function") throw new TypeError("Plugin setup must be a function.");
|
|
24
|
+
if (typeof definition.title !== "string" || definition.title.trim() === "") throw new TypeError("Plugin title must be a non-empty string.");
|
|
25
|
+
const dependencies = definition.dependencies ?? [];
|
|
26
|
+
if (!Array.isArray(dependencies) || dependencies.some((id) => typeof id !== "string" || !PLUGIN_ID_PATTERN.test(id) || id === definition.id) || new Set(dependencies).size !== dependencies.length) throw new TypeError("Plugin dependencies must be unique plugin ids and cannot include itself.");
|
|
27
|
+
}
|
|
28
|
+
function isRecord(value) {
|
|
29
|
+
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/types.ts
|
|
33
|
+
let PluginHookId = /* @__PURE__ */ function(PluginHookId) {
|
|
34
|
+
PluginHookId["ProjectReconcile"] = "project.reconcile";
|
|
35
|
+
PluginHookId["WorkspaceActivate"] = "workspace.activate";
|
|
36
|
+
PluginHookId["WorkspaceAfterPrepare"] = "workspace.afterPrepare";
|
|
37
|
+
PluginHookId["WorkspaceDeactivate"] = "workspace.deactivate";
|
|
38
|
+
PluginHookId["WorkspaceProvision"] = "workspace.provision";
|
|
39
|
+
PluginHookId["Cleanup"] = "cleanup";
|
|
40
|
+
return PluginHookId;
|
|
41
|
+
}({});
|
|
42
|
+
let PluginCommandEffect = /* @__PURE__ */ function(PluginCommandEffect) {
|
|
43
|
+
PluginCommandEffect["Immediate"] = "immediate";
|
|
44
|
+
PluginCommandEffect["LongRunning"] = "longRunning";
|
|
45
|
+
return PluginCommandEffect;
|
|
46
|
+
}({});
|
|
47
|
+
let PluginCommandTransaction = /* @__PURE__ */ function(PluginCommandTransaction) {
|
|
48
|
+
PluginCommandTransaction["None"] = "none";
|
|
49
|
+
PluginCommandTransaction["ProjectMutation"] = "projectMutation";
|
|
50
|
+
return PluginCommandTransaction;
|
|
51
|
+
}({});
|
|
52
|
+
let PluginCommandCategory = /* @__PURE__ */ function(PluginCommandCategory) {
|
|
53
|
+
PluginCommandCategory["Build"] = "build";
|
|
54
|
+
PluginCommandCategory["Publish"] = "publish";
|
|
55
|
+
PluginCommandCategory["Run"] = "run";
|
|
56
|
+
PluginCommandCategory["Settings"] = "settings";
|
|
57
|
+
return PluginCommandCategory;
|
|
58
|
+
}({});
|
|
59
|
+
let PluginCommandExecutionMode = /* @__PURE__ */ function(PluginCommandExecutionMode) {
|
|
60
|
+
PluginCommandExecutionMode["Async"] = "async";
|
|
61
|
+
PluginCommandExecutionMode["Persistent"] = "persistent";
|
|
62
|
+
PluginCommandExecutionMode["Sync"] = "sync";
|
|
63
|
+
return PluginCommandExecutionMode;
|
|
64
|
+
}({});
|
|
65
|
+
let PluginLifecyclePolicy = /* @__PURE__ */ function(PluginLifecyclePolicy) {
|
|
66
|
+
PluginLifecyclePolicy["BestEffort"] = "bestEffort";
|
|
67
|
+
PluginLifecyclePolicy["FailFast"] = "failFast";
|
|
68
|
+
return PluginLifecyclePolicy;
|
|
69
|
+
}({});
|
|
70
|
+
let PluginLifecycleStatus = /* @__PURE__ */ function(PluginLifecycleStatus) {
|
|
71
|
+
PluginLifecycleStatus["Failed"] = "failed";
|
|
72
|
+
PluginLifecycleStatus["Succeeded"] = "succeeded";
|
|
73
|
+
return PluginLifecycleStatus;
|
|
74
|
+
}({});
|
|
75
|
+
let PluginRepositoryStatus = /* @__PURE__ */ function(PluginRepositoryStatus) {
|
|
76
|
+
PluginRepositoryStatus["NotPrepared"] = "not-prepared";
|
|
77
|
+
PluginRepositoryStatus["Ready"] = "ready";
|
|
78
|
+
return PluginRepositoryStatus;
|
|
79
|
+
}({});
|
|
80
|
+
let PluginViewLayout = /* @__PURE__ */ function(PluginViewLayout) {
|
|
81
|
+
PluginViewLayout["Content"] = "content";
|
|
82
|
+
PluginViewLayout["Fill"] = "fill";
|
|
83
|
+
return PluginViewLayout;
|
|
84
|
+
}({});
|
|
85
|
+
let PluginSharedChangeKind = /* @__PURE__ */ function(PluginSharedChangeKind) {
|
|
86
|
+
PluginSharedChangeKind["None"] = "none";
|
|
87
|
+
PluginSharedChangeKind["Files"] = "files";
|
|
88
|
+
return PluginSharedChangeKind;
|
|
89
|
+
}({});
|
|
90
|
+
let PluginContextExposure = /* @__PURE__ */ function(PluginContextExposure) {
|
|
91
|
+
PluginContextExposure["Agent"] = "agent";
|
|
92
|
+
PluginContextExposure["Internal"] = "internal";
|
|
93
|
+
return PluginContextExposure;
|
|
94
|
+
}({});
|
|
95
|
+
//#endregion
|
|
96
|
+
export { PLUGIN_API_VERSION, PluginCommandCategory, PluginCommandEffect, PluginCommandExecutionMode, PluginCommandTransaction, PluginContextExposure, PluginHookId, PluginLifecyclePolicy, PluginLifecycleStatus, PluginRepositoryStatus, PluginSharedChangeKind, PluginViewLayout, definePlugin, isDefinedPlugin };
|
|
@@ -0,0 +1,449 @@
|
|
|
1
|
+
import { ZodType } from "zod";
|
|
2
|
+
//#region src/host-services.d.ts
|
|
3
|
+
interface PluginColoredMessage {
|
|
4
|
+
readonly color?: string;
|
|
5
|
+
readonly text: string;
|
|
6
|
+
}
|
|
7
|
+
interface PluginLogEntry {
|
|
8
|
+
readonly level: "log" | "success" | "warn" | "error" | "debug" | "custom";
|
|
9
|
+
readonly message: string;
|
|
10
|
+
readonly segments?: readonly PluginColoredMessage[];
|
|
11
|
+
readonly timestamp: number;
|
|
12
|
+
}
|
|
13
|
+
interface PluginInteractiveLogger extends PluginLogger {
|
|
14
|
+
readonly custom: (segments: readonly PluginColoredMessage[]) => void;
|
|
15
|
+
readonly getEntries: () => readonly PluginLogEntry[];
|
|
16
|
+
readonly log: (message: string) => void;
|
|
17
|
+
readonly success: (message: string) => void;
|
|
18
|
+
}
|
|
19
|
+
interface PluginPromptChoice<Value = unknown> {
|
|
20
|
+
readonly description?: string;
|
|
21
|
+
readonly key?: string;
|
|
22
|
+
readonly name: string;
|
|
23
|
+
readonly short?: string;
|
|
24
|
+
readonly value: Value;
|
|
25
|
+
}
|
|
26
|
+
type PluginPromptType = "input" | "confirm" | "list" | "rawlist" | "search-list" | "search-checkbox" | "fuzzy-path";
|
|
27
|
+
interface PluginPromptQuestion<Key = string, Value = unknown, Choice = unknown> {
|
|
28
|
+
readonly choices?: readonly PluginPromptChoice<Choice>[] | readonly string[];
|
|
29
|
+
readonly default?: Value;
|
|
30
|
+
readonly excludePath?: (path: string) => boolean;
|
|
31
|
+
readonly itemType?: "file" | "directory" | "any";
|
|
32
|
+
readonly message: string;
|
|
33
|
+
readonly name: Key;
|
|
34
|
+
readonly pageSize?: number;
|
|
35
|
+
readonly rootPath?: string;
|
|
36
|
+
readonly type: PluginPromptType;
|
|
37
|
+
readonly validate?: (value: unknown) => boolean | string;
|
|
38
|
+
}
|
|
39
|
+
interface PluginPromptApi<Parameters extends Record<string, unknown> = Record<string, unknown>> {
|
|
40
|
+
readonly ask: <Key extends keyof Parameters>(question: PluginPromptQuestion<Key, Parameters[Key]>) => Promise<{ [Property in Key]: Parameters[Property]; }>;
|
|
41
|
+
}
|
|
42
|
+
type PluginToastLevel = "info" | "warn" | "error" | "success";
|
|
43
|
+
interface PluginToastOptions {
|
|
44
|
+
readonly duration?: number;
|
|
45
|
+
}
|
|
46
|
+
interface PluginToastApi {
|
|
47
|
+
readonly dismiss: (id: number) => void;
|
|
48
|
+
readonly show: (message: string, level?: PluginToastLevel, options?: PluginToastOptions) => number;
|
|
49
|
+
readonly update: (id: number, message: string, level?: PluginToastLevel, options?: PluginToastOptions) => number;
|
|
50
|
+
}
|
|
51
|
+
interface PluginStoreApi {
|
|
52
|
+
readonly getState: () => Readonly<Record<string, unknown>>;
|
|
53
|
+
readonly setState: (partial: Readonly<Record<string, unknown>>) => void;
|
|
54
|
+
readonly subscribe: (listener: () => void) => () => void;
|
|
55
|
+
}
|
|
56
|
+
interface PluginConfigApi {
|
|
57
|
+
readonly patch: (patch: Readonly<Record<string, unknown>>) => Promise<Readonly<Record<string, unknown>>>;
|
|
58
|
+
readonly replace: (config: Readonly<Record<string, unknown>>) => Promise<Readonly<Record<string, unknown>>>;
|
|
59
|
+
}
|
|
60
|
+
interface PluginCommandCatalogEntry {
|
|
61
|
+
readonly agent?: PluginAgentPolicy;
|
|
62
|
+
readonly arguments?: readonly PluginCommandArgument[];
|
|
63
|
+
readonly category?: PluginCommandCategory;
|
|
64
|
+
readonly description?: string;
|
|
65
|
+
readonly executionMode?: PluginCommandDefinition["executionMode"];
|
|
66
|
+
readonly id: string;
|
|
67
|
+
readonly input?: ZodType;
|
|
68
|
+
readonly options?: readonly PluginCommandOption[];
|
|
69
|
+
readonly pluginId: string;
|
|
70
|
+
readonly title: string;
|
|
71
|
+
readonly transaction: PluginCommandTransaction;
|
|
72
|
+
}
|
|
73
|
+
interface PluginAgentPolicy {
|
|
74
|
+
readonly callable: boolean;
|
|
75
|
+
readonly destructive?: boolean;
|
|
76
|
+
readonly idempotent?: boolean;
|
|
77
|
+
readonly openWorld?: boolean;
|
|
78
|
+
readonly readOnly: boolean;
|
|
79
|
+
}
|
|
80
|
+
interface PluginCapabilityCommandRequest {
|
|
81
|
+
readonly commandId: string;
|
|
82
|
+
readonly executionId?: string;
|
|
83
|
+
readonly input?: unknown;
|
|
84
|
+
readonly pluginId: string;
|
|
85
|
+
readonly signal?: AbortSignal;
|
|
86
|
+
}
|
|
87
|
+
interface PluginCapabilityResolveRequest {
|
|
88
|
+
readonly id: string;
|
|
89
|
+
readonly input?: unknown;
|
|
90
|
+
readonly pluginId: string;
|
|
91
|
+
}
|
|
92
|
+
interface PluginStatusCatalogEntry {
|
|
93
|
+
readonly description: string;
|
|
94
|
+
readonly id: string;
|
|
95
|
+
readonly label: string;
|
|
96
|
+
readonly pluginId: string;
|
|
97
|
+
}
|
|
98
|
+
interface PluginAgentContextCatalogEntry {
|
|
99
|
+
readonly exposure: PluginContextExposure;
|
|
100
|
+
readonly description: string;
|
|
101
|
+
readonly id: string;
|
|
102
|
+
readonly pluginId: string;
|
|
103
|
+
readonly title: string;
|
|
104
|
+
}
|
|
105
|
+
interface PluginViewCatalogEntry {
|
|
106
|
+
readonly description?: string;
|
|
107
|
+
readonly id: string;
|
|
108
|
+
readonly pluginId: string;
|
|
109
|
+
readonly slot: string;
|
|
110
|
+
readonly title: string;
|
|
111
|
+
}
|
|
112
|
+
interface PluginCapabilityCatalog {
|
|
113
|
+
readonly commands: readonly PluginCommandCatalogEntry[];
|
|
114
|
+
readonly contexts: readonly PluginAgentContextCatalogEntry[];
|
|
115
|
+
readonly statuses: readonly PluginStatusCatalogEntry[];
|
|
116
|
+
readonly views: readonly PluginViewCatalogEntry[];
|
|
117
|
+
}
|
|
118
|
+
interface PluginCapabilityService {
|
|
119
|
+
readonly catalog: () => PluginCapabilityCatalog;
|
|
120
|
+
readonly executeCommand: (request: PluginCapabilityCommandRequest) => Promise<PluginCommandExecutionResult>;
|
|
121
|
+
readonly resolveContext: (request: PluginCapabilityResolveRequest) => Promise<unknown>;
|
|
122
|
+
readonly resolveStatus: (request: PluginCapabilityResolveRequest) => Promise<unknown>;
|
|
123
|
+
}
|
|
124
|
+
interface PluginSystemContextService {
|
|
125
|
+
readonly getContext: () => Promise<Readonly<Record<string, unknown>>>;
|
|
126
|
+
}
|
|
127
|
+
interface PluginLogQueryRequest {
|
|
128
|
+
readonly cursor?: string;
|
|
129
|
+
readonly limit?: number;
|
|
130
|
+
readonly workspaceId?: string;
|
|
131
|
+
}
|
|
132
|
+
interface PluginLogQueryResult {
|
|
133
|
+
readonly items: readonly unknown[];
|
|
134
|
+
readonly nextCursor: string | null;
|
|
135
|
+
}
|
|
136
|
+
interface PluginLogService {
|
|
137
|
+
readonly query: (request?: PluginLogQueryRequest) => Promise<PluginLogQueryResult>;
|
|
138
|
+
}
|
|
139
|
+
interface PluginTaskDescriptor {
|
|
140
|
+
readonly id: string;
|
|
141
|
+
readonly description: string | null;
|
|
142
|
+
readonly depends: readonly string[];
|
|
143
|
+
}
|
|
144
|
+
interface PluginTaskResult {
|
|
145
|
+
readonly success: boolean;
|
|
146
|
+
readonly stdout: string;
|
|
147
|
+
readonly stderr: string;
|
|
148
|
+
readonly logId: string;
|
|
149
|
+
}
|
|
150
|
+
interface PluginTaskService {
|
|
151
|
+
readonly list: () => Promise<readonly PluginTaskDescriptor[]>;
|
|
152
|
+
readonly run: (taskId: string) => Promise<PluginTaskResult>;
|
|
153
|
+
}
|
|
154
|
+
interface PluginHostServices {
|
|
155
|
+
readonly capabilities: PluginCapabilityService;
|
|
156
|
+
readonly config: PluginConfigApi;
|
|
157
|
+
readonly logger: PluginInteractiveLogger;
|
|
158
|
+
readonly logs: PluginLogService;
|
|
159
|
+
readonly prompt: PluginPromptApi;
|
|
160
|
+
readonly store: PluginStoreApi;
|
|
161
|
+
readonly system: PluginSystemContextService;
|
|
162
|
+
readonly toast: PluginToastApi;
|
|
163
|
+
readonly tasks: PluginTaskService;
|
|
164
|
+
}
|
|
165
|
+
//#endregion
|
|
166
|
+
//#region src/types.d.ts
|
|
167
|
+
declare enum PluginHookId {
|
|
168
|
+
ProjectReconcile = "project.reconcile",
|
|
169
|
+
WorkspaceActivate = "workspace.activate",
|
|
170
|
+
WorkspaceAfterPrepare = "workspace.afterPrepare",
|
|
171
|
+
WorkspaceDeactivate = "workspace.deactivate",
|
|
172
|
+
WorkspaceProvision = "workspace.provision",
|
|
173
|
+
Cleanup = "cleanup"
|
|
174
|
+
}
|
|
175
|
+
declare enum PluginCommandEffect {
|
|
176
|
+
Immediate = "immediate",
|
|
177
|
+
LongRunning = "longRunning"
|
|
178
|
+
}
|
|
179
|
+
declare enum PluginCommandTransaction {
|
|
180
|
+
None = "none",
|
|
181
|
+
ProjectMutation = "projectMutation"
|
|
182
|
+
}
|
|
183
|
+
declare enum PluginCommandCategory {
|
|
184
|
+
Build = "build",
|
|
185
|
+
Publish = "publish",
|
|
186
|
+
Run = "run",
|
|
187
|
+
Settings = "settings"
|
|
188
|
+
}
|
|
189
|
+
declare enum PluginCommandExecutionMode {
|
|
190
|
+
Async = "async",
|
|
191
|
+
Persistent = "persistent",
|
|
192
|
+
Sync = "sync"
|
|
193
|
+
}
|
|
194
|
+
declare enum PluginLifecyclePolicy {
|
|
195
|
+
BestEffort = "bestEffort",
|
|
196
|
+
FailFast = "failFast"
|
|
197
|
+
}
|
|
198
|
+
declare enum PluginLifecycleStatus {
|
|
199
|
+
Failed = "failed",
|
|
200
|
+
Succeeded = "succeeded"
|
|
201
|
+
}
|
|
202
|
+
declare enum PluginRepositoryStatus {
|
|
203
|
+
NotPrepared = "not-prepared",
|
|
204
|
+
Ready = "ready"
|
|
205
|
+
}
|
|
206
|
+
declare enum PluginViewLayout {
|
|
207
|
+
Content = "content",
|
|
208
|
+
Fill = "fill"
|
|
209
|
+
}
|
|
210
|
+
interface PluginDisposable {
|
|
211
|
+
readonly dispose: () => void;
|
|
212
|
+
}
|
|
213
|
+
interface PluginProject {
|
|
214
|
+
readonly id: string;
|
|
215
|
+
readonly root: string;
|
|
216
|
+
readonly workbaseRoot: string;
|
|
217
|
+
}
|
|
218
|
+
interface PluginRepository {
|
|
219
|
+
readonly baseBranch: string;
|
|
220
|
+
readonly branch: string;
|
|
221
|
+
readonly id: string;
|
|
222
|
+
readonly label: string;
|
|
223
|
+
readonly root: string;
|
|
224
|
+
readonly status: PluginRepositoryStatus;
|
|
225
|
+
}
|
|
226
|
+
interface PluginWorkspace {
|
|
227
|
+
readonly id: string;
|
|
228
|
+
readonly repositories: readonly PluginRepository[];
|
|
229
|
+
readonly root: string;
|
|
230
|
+
}
|
|
231
|
+
interface PluginLogger {
|
|
232
|
+
readonly debug: (...values: readonly unknown[]) => void;
|
|
233
|
+
readonly error: (...values: readonly unknown[]) => void;
|
|
234
|
+
readonly info: (...values: readonly unknown[]) => void;
|
|
235
|
+
readonly warn: (...values: readonly unknown[]) => void;
|
|
236
|
+
}
|
|
237
|
+
interface PluginProcessRunOptions {
|
|
238
|
+
readonly program: string;
|
|
239
|
+
readonly arguments?: readonly string[];
|
|
240
|
+
readonly currentDirectory?: string;
|
|
241
|
+
readonly environment?: Readonly<Record<string, string | undefined>>;
|
|
242
|
+
readonly timeoutMilliseconds?: number;
|
|
243
|
+
}
|
|
244
|
+
interface PluginProcessResult {
|
|
245
|
+
readonly command: string;
|
|
246
|
+
readonly errorMessage: string | null;
|
|
247
|
+
readonly exitCode: number | null;
|
|
248
|
+
readonly failed: boolean;
|
|
249
|
+
readonly standardError: string;
|
|
250
|
+
readonly standardOutput: string;
|
|
251
|
+
readonly timedOut: boolean;
|
|
252
|
+
readonly wasCancelled: boolean;
|
|
253
|
+
}
|
|
254
|
+
interface PluginProcessApi {
|
|
255
|
+
readonly run: (options: PluginProcessRunOptions, signal?: AbortSignal) => Promise<PluginProcessResult>;
|
|
256
|
+
}
|
|
257
|
+
interface PluginContext {
|
|
258
|
+
readonly config: Readonly<Record<string, unknown>>;
|
|
259
|
+
readonly logger: PluginLogger;
|
|
260
|
+
readonly pluginId: string;
|
|
261
|
+
readonly process: PluginProcessApi;
|
|
262
|
+
readonly project: PluginProject;
|
|
263
|
+
readonly services: PluginHostServices;
|
|
264
|
+
readonly workspace: PluginWorkspace;
|
|
265
|
+
}
|
|
266
|
+
interface PluginInvocationContext {
|
|
267
|
+
readonly report?: (details: PluginCommandDetails) => void;
|
|
268
|
+
readonly process: PluginProcessApi;
|
|
269
|
+
readonly services: PluginHostServices;
|
|
270
|
+
readonly signal: AbortSignal;
|
|
271
|
+
}
|
|
272
|
+
declare enum PluginSharedChangeKind {
|
|
273
|
+
None = "none",
|
|
274
|
+
Files = "files"
|
|
275
|
+
}
|
|
276
|
+
/** Finite files relative to project.workbaseRoot; workspace files are local. */
|
|
277
|
+
type PluginSharedChanges = {
|
|
278
|
+
readonly kind: PluginSharedChangeKind.None;
|
|
279
|
+
} | {
|
|
280
|
+
readonly kind: PluginSharedChangeKind.Files;
|
|
281
|
+
readonly paths: readonly string[];
|
|
282
|
+
};
|
|
283
|
+
/** Explicit, sanitized business details for the command execution record. */
|
|
284
|
+
interface PluginCommandDetails {
|
|
285
|
+
readonly success: boolean;
|
|
286
|
+
readonly summary?: string;
|
|
287
|
+
readonly command?: string;
|
|
288
|
+
readonly standardOutput?: string;
|
|
289
|
+
readonly standardError?: string;
|
|
290
|
+
readonly warnings?: readonly string[];
|
|
291
|
+
}
|
|
292
|
+
interface PluginCommandExecutionResult<Value = unknown> {
|
|
293
|
+
readonly value: Value;
|
|
294
|
+
readonly executionId: string;
|
|
295
|
+
readonly parentExecutionId: string | null;
|
|
296
|
+
readonly logId: string | null;
|
|
297
|
+
readonly publication: {
|
|
298
|
+
readonly status: "local" | "synced" | "pending";
|
|
299
|
+
readonly warning: string | null;
|
|
300
|
+
};
|
|
301
|
+
readonly diagnostics: readonly string[];
|
|
302
|
+
}
|
|
303
|
+
interface PluginCommandContext extends PluginInvocationContext {
|
|
304
|
+
readonly report: (details: PluginCommandDetails) => void;
|
|
305
|
+
readonly executionId: string;
|
|
306
|
+
}
|
|
307
|
+
interface PluginCommandDefinition {
|
|
308
|
+
/** Required for ProjectMutation; read-only and evaluated before the write lease is used. */
|
|
309
|
+
readonly plan?: (input: unknown) => PluginSharedChanges | Promise<PluginSharedChanges>;
|
|
310
|
+
readonly agent?: PluginAgentPolicy;
|
|
311
|
+
readonly arguments?: readonly PluginCommandArgument[];
|
|
312
|
+
readonly category?: PluginCommandCategory;
|
|
313
|
+
readonly description?: string;
|
|
314
|
+
readonly effect?: PluginCommandEffect;
|
|
315
|
+
readonly executionMode?: PluginCommandExecutionMode | ((input: Readonly<Record<string, unknown>>) => PluginCommandExecutionMode);
|
|
316
|
+
readonly id: string;
|
|
317
|
+
readonly input?: ZodType;
|
|
318
|
+
readonly options?: readonly PluginCommandOption[];
|
|
319
|
+
readonly run: (input: unknown, context: PluginCommandContext) => unknown | Promise<unknown>;
|
|
320
|
+
readonly title: string;
|
|
321
|
+
readonly transaction?: PluginCommandTransaction;
|
|
322
|
+
}
|
|
323
|
+
interface PluginCommandArgument {
|
|
324
|
+
readonly description: string;
|
|
325
|
+
readonly name: string;
|
|
326
|
+
readonly required?: boolean;
|
|
327
|
+
}
|
|
328
|
+
interface PluginCommandOption {
|
|
329
|
+
readonly default?: unknown;
|
|
330
|
+
readonly description: string;
|
|
331
|
+
readonly flags: string;
|
|
332
|
+
}
|
|
333
|
+
declare enum PluginContextExposure {
|
|
334
|
+
Agent = "agent",
|
|
335
|
+
Internal = "internal"
|
|
336
|
+
}
|
|
337
|
+
interface PluginAgentContextDefinition {
|
|
338
|
+
readonly exposure: PluginContextExposure;
|
|
339
|
+
readonly description: string;
|
|
340
|
+
readonly id: string;
|
|
341
|
+
readonly title: string;
|
|
342
|
+
readonly resolve: (input: unknown, context: PluginInvocationContext) => unknown | Promise<unknown>;
|
|
343
|
+
}
|
|
344
|
+
interface PluginViewRequest {
|
|
345
|
+
readonly input: unknown;
|
|
346
|
+
readonly method: string;
|
|
347
|
+
}
|
|
348
|
+
interface PluginViewDefinition {
|
|
349
|
+
readonly description?: string;
|
|
350
|
+
readonly entry: string;
|
|
351
|
+
readonly handlers?: Readonly<Record<string, (input: unknown, context: PluginInvocationContext) => unknown | Promise<unknown>>>;
|
|
352
|
+
readonly id: string;
|
|
353
|
+
readonly layout?: PluginViewLayout;
|
|
354
|
+
readonly order?: number;
|
|
355
|
+
readonly request?: (request: PluginViewRequest, context: PluginInvocationContext) => unknown | Promise<unknown>;
|
|
356
|
+
readonly slot: string;
|
|
357
|
+
readonly title?: string;
|
|
358
|
+
}
|
|
359
|
+
interface PluginStatusDefinition {
|
|
360
|
+
readonly description: string;
|
|
361
|
+
readonly id: string;
|
|
362
|
+
readonly label: string;
|
|
363
|
+
readonly resolve: (input: unknown, context: PluginInvocationContext) => unknown | Promise<unknown>;
|
|
364
|
+
}
|
|
365
|
+
interface PluginToolContribution {
|
|
366
|
+
readonly id: string;
|
|
367
|
+
readonly pluginId: string;
|
|
368
|
+
readonly version?: string;
|
|
369
|
+
}
|
|
370
|
+
interface PluginLifecycleOutcome {
|
|
371
|
+
readonly code: string | null;
|
|
372
|
+
readonly details: unknown | null;
|
|
373
|
+
readonly durationMilliseconds: number;
|
|
374
|
+
readonly error: string | null;
|
|
375
|
+
readonly pluginId: string;
|
|
376
|
+
readonly retryable: boolean;
|
|
377
|
+
readonly standardError: string;
|
|
378
|
+
readonly standardOutput: string;
|
|
379
|
+
readonly status: PluginLifecycleStatus;
|
|
380
|
+
readonly tap: string;
|
|
381
|
+
readonly warnings: readonly string[];
|
|
382
|
+
}
|
|
383
|
+
interface PluginHookResult {
|
|
384
|
+
readonly standardError?: string;
|
|
385
|
+
readonly standardOutput?: string;
|
|
386
|
+
readonly warnings?: readonly string[];
|
|
387
|
+
}
|
|
388
|
+
interface PluginLifecycleDispatchResult {
|
|
389
|
+
readonly hookId: PluginHookId;
|
|
390
|
+
readonly outcomes: readonly PluginLifecycleOutcome[];
|
|
391
|
+
readonly policy: PluginLifecyclePolicy;
|
|
392
|
+
}
|
|
393
|
+
interface PluginLifecycleHook {
|
|
394
|
+
readonly tap: (name: string, handler: (payload: unknown, context: PluginInvocationContext) => void | PluginHookResult | Promise<void | PluginHookResult>) => void;
|
|
395
|
+
}
|
|
396
|
+
interface PluginSetupHooks {
|
|
397
|
+
readonly onCleanup: PluginLifecycleHook;
|
|
398
|
+
readonly onProjectReconcile: PluginLifecycleHook;
|
|
399
|
+
readonly onWorkspaceActivate: PluginLifecycleHook;
|
|
400
|
+
readonly onWorkspaceAfterPrepare: PluginLifecycleHook;
|
|
401
|
+
readonly onWorkspaceDeactivate: PluginLifecycleHook;
|
|
402
|
+
readonly onWorkspaceProvision: PluginLifecycleHook;
|
|
403
|
+
readonly registerAgentContext: (definition: PluginAgentContextDefinition) => void;
|
|
404
|
+
readonly registerCommand: (definition: PluginCommandDefinition) => void;
|
|
405
|
+
readonly registerStatus: (definition: PluginStatusDefinition) => void;
|
|
406
|
+
readonly registerView: (definition: PluginViewDefinition) => void;
|
|
407
|
+
}
|
|
408
|
+
interface WorkbasePluginDefinition {
|
|
409
|
+
readonly dependencies?: readonly string[];
|
|
410
|
+
readonly id: string;
|
|
411
|
+
readonly setup: (context: PluginContext, hooks: PluginSetupHooks) => void | Promise<void>;
|
|
412
|
+
readonly title: string;
|
|
413
|
+
}
|
|
414
|
+
interface PluginCommandContribution {
|
|
415
|
+
readonly description?: string;
|
|
416
|
+
readonly effect: PluginCommandEffect;
|
|
417
|
+
readonly id: string;
|
|
418
|
+
readonly pluginId: string;
|
|
419
|
+
readonly title: string;
|
|
420
|
+
readonly transaction: PluginCommandTransaction;
|
|
421
|
+
}
|
|
422
|
+
interface PluginAgentContextContribution {
|
|
423
|
+
readonly exposure: PluginContextExposure;
|
|
424
|
+
readonly id: string;
|
|
425
|
+
readonly pluginId: string;
|
|
426
|
+
}
|
|
427
|
+
interface PluginViewContribution {
|
|
428
|
+
readonly entry: string;
|
|
429
|
+
readonly id: string;
|
|
430
|
+
readonly layout: PluginViewLayout;
|
|
431
|
+
readonly order: number;
|
|
432
|
+
readonly pluginId: string;
|
|
433
|
+
readonly slot: string;
|
|
434
|
+
readonly title: string;
|
|
435
|
+
}
|
|
436
|
+
interface PluginStatusContribution {
|
|
437
|
+
readonly id: string;
|
|
438
|
+
readonly label: string;
|
|
439
|
+
readonly pluginId: string;
|
|
440
|
+
}
|
|
441
|
+
interface PluginContributionSnapshot {
|
|
442
|
+
readonly agentContexts: readonly PluginAgentContextContribution[];
|
|
443
|
+
readonly commands: readonly PluginCommandContribution[];
|
|
444
|
+
readonly statuses: readonly PluginStatusContribution[];
|
|
445
|
+
readonly tools: readonly PluginToolContribution[];
|
|
446
|
+
readonly views: readonly PluginViewContribution[];
|
|
447
|
+
}
|
|
448
|
+
//#endregion
|
|
449
|
+
export { PluginConfigApi as $, PluginProject as A, PluginViewDefinition as B, PluginLifecycleOutcome as C, PluginProcessApi as D, PluginLogger as E, PluginSharedChanges as F, PluginAgentContextCatalogEntry as G, PluginViewRequest as H, PluginStatusContribution as I, PluginCapabilityCommandRequest as J, PluginAgentPolicy as K, PluginStatusDefinition as L, PluginRepositoryStatus as M, PluginSetupHooks as N, PluginProcessResult as O, PluginSharedChangeKind as P, PluginCommandCatalogEntry as Q, PluginToolContribution as R, PluginLifecycleHook as S, PluginLifecycleStatus as T, PluginWorkspace as U, PluginViewLayout as V, WorkbasePluginDefinition as W, PluginCapabilityService as X, PluginCapabilityResolveRequest as Y, PluginColoredMessage as Z, PluginDisposable as _, PluginToastLevel as _t, PluginCommandContext as a, PluginLogService as at, PluginInvocationContext as b, PluginCommandDetails as c, PluginPromptQuestion as ct, PluginCommandExecutionResult as d, PluginStoreApi as dt, PluginHostServices as et, PluginCommandOption as f, PluginSystemContextService as ft, PluginContributionSnapshot as g, PluginToastApi as gt, PluginContextExposure as h, PluginTaskService as ht, PluginCommandCategory as i, PluginLogQueryResult as it, PluginRepository as j, PluginProcessRunOptions as k, PluginCommandEffect as l, PluginPromptType as lt, PluginContext as m, PluginTaskResult as mt, PluginAgentContextDefinition as n, PluginLogEntry as nt, PluginCommandContribution as o, PluginPromptApi as ot, PluginCommandTransaction as p, PluginTaskDescriptor as pt, PluginCapabilityCatalog as q, PluginCommandArgument as r, PluginLogQueryRequest as rt, PluginCommandDefinition as s, PluginPromptChoice as st, PluginAgentContextContribution as t, PluginInteractiveLogger as tt, PluginCommandExecutionMode as u, PluginStatusCatalogEntry as ut, PluginHookId as v, PluginToastOptions as vt, PluginLifecyclePolicy as w, PluginLifecycleDispatchResult as x, PluginHookResult as y, PluginViewCatalogEntry as yt, PluginViewContribution as z };
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { d as PluginCommandExecutionResult } from "../types-CYt_KGKR.js";
|
|
2
|
+
//#region src/ui/types.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Browser authoring API and transport contracts for Workbase plugin views.
|
|
5
|
+
*/
|
|
6
|
+
type PluginUiPromptType = 'confirm' | 'multi-select' | 'select' | 'text';
|
|
7
|
+
type PluginUiFileSelectionScope = 'project' | 'workspace';
|
|
8
|
+
type PluginUiFileSelectionItemType = 'any' | 'directory' | 'file';
|
|
9
|
+
interface PluginUiContextIdentity {
|
|
10
|
+
readonly id: string;
|
|
11
|
+
}
|
|
12
|
+
interface PluginUiViewIdentity extends PluginUiContextIdentity {
|
|
13
|
+
readonly pluginId: string;
|
|
14
|
+
readonly title: string;
|
|
15
|
+
}
|
|
16
|
+
interface PluginUiInitializationPayload {
|
|
17
|
+
readonly locale: string;
|
|
18
|
+
readonly params: Readonly<Record<string, unknown>>;
|
|
19
|
+
readonly project: PluginUiContextIdentity;
|
|
20
|
+
readonly route: string | null;
|
|
21
|
+
readonly theme: string;
|
|
22
|
+
readonly view: PluginUiViewIdentity;
|
|
23
|
+
readonly workspace: PluginUiContextIdentity;
|
|
24
|
+
}
|
|
25
|
+
interface WorkbasePluginUiDefinition {
|
|
26
|
+
readonly onInit: (payload: PluginUiInitializationPayload) => void | Promise<void>;
|
|
27
|
+
}
|
|
28
|
+
interface PluginUiCommandExecuteOptions {
|
|
29
|
+
readonly executionId?: string;
|
|
30
|
+
}
|
|
31
|
+
interface PluginUiNavigateOptions {
|
|
32
|
+
readonly replace?: boolean;
|
|
33
|
+
}
|
|
34
|
+
interface PluginUiToastOptions {
|
|
35
|
+
readonly description: string;
|
|
36
|
+
readonly title: string;
|
|
37
|
+
}
|
|
38
|
+
interface PluginUiPromptChoice<Value = unknown> {
|
|
39
|
+
readonly label: string;
|
|
40
|
+
readonly value: Value;
|
|
41
|
+
}
|
|
42
|
+
interface PluginUiPromptOptions<Value = unknown> {
|
|
43
|
+
readonly choices?: readonly PluginUiPromptChoice<Value>[];
|
|
44
|
+
readonly defaultValue?: Value | readonly Value[] | null;
|
|
45
|
+
readonly message: string;
|
|
46
|
+
readonly searchable?: boolean;
|
|
47
|
+
readonly submitLabel?: string;
|
|
48
|
+
readonly title: string;
|
|
49
|
+
readonly type: PluginUiPromptType;
|
|
50
|
+
}
|
|
51
|
+
interface PluginUiFileFilter {
|
|
52
|
+
readonly extensions: readonly string[];
|
|
53
|
+
readonly name: string;
|
|
54
|
+
}
|
|
55
|
+
interface PluginUiFileSelectOptions {
|
|
56
|
+
readonly filters?: readonly PluginUiFileFilter[];
|
|
57
|
+
readonly itemType?: PluginUiFileSelectionItemType;
|
|
58
|
+
readonly multiple?: boolean;
|
|
59
|
+
readonly rootPath?: string | null;
|
|
60
|
+
readonly scope?: PluginUiFileSelectionScope;
|
|
61
|
+
readonly title?: string;
|
|
62
|
+
}
|
|
63
|
+
interface PluginUiOutputOptions {
|
|
64
|
+
readonly content: string;
|
|
65
|
+
readonly description?: string | null;
|
|
66
|
+
readonly id: string;
|
|
67
|
+
readonly status?: string | null;
|
|
68
|
+
readonly title: string;
|
|
69
|
+
}
|
|
70
|
+
interface PluginUiCommands {
|
|
71
|
+
readonly cancel: <Result = unknown>(executionId: string) => Promise<Result>;
|
|
72
|
+
readonly execute: <Result = unknown>(commandId: string, input: unknown, options?: PluginUiCommandExecuteOptions) => Promise<PluginCommandExecutionResult<Result>>;
|
|
73
|
+
}
|
|
74
|
+
interface PluginUiStatus {
|
|
75
|
+
readonly resolve: <Result = unknown>(statusId: string, input: unknown) => Promise<Result>;
|
|
76
|
+
}
|
|
77
|
+
interface PluginUiView {
|
|
78
|
+
readonly call: <Result = unknown>(method: string, input: unknown) => Promise<Result>;
|
|
79
|
+
}
|
|
80
|
+
interface WorkbasePluginUi {
|
|
81
|
+
readonly closeOutput: <Result = unknown>(id: string) => Promise<Result>;
|
|
82
|
+
readonly commands: PluginUiCommands;
|
|
83
|
+
readonly navigate: <Result = unknown>(to: string, options?: PluginUiNavigateOptions) => Promise<Result>;
|
|
84
|
+
readonly openOutput: <Result = unknown>(options: PluginUiOutputOptions) => Promise<Result>;
|
|
85
|
+
readonly selectFiles: (options?: PluginUiFileSelectOptions) => Promise<string | readonly string[] | null>;
|
|
86
|
+
readonly showPrompt: <Value = unknown>(options: PluginUiPromptOptions<Value>) => Promise<Value | readonly Value[] | null>;
|
|
87
|
+
readonly showToast: <Result = unknown>(options: PluginUiToastOptions) => Promise<Result>;
|
|
88
|
+
readonly status: PluginUiStatus;
|
|
89
|
+
readonly updateOutput: <Result = unknown>(options: PluginUiOutputOptions) => Promise<Result>;
|
|
90
|
+
readonly view: PluginUiView;
|
|
91
|
+
}
|
|
92
|
+
interface PluginUiHostError extends Error {
|
|
93
|
+
readonly code: string;
|
|
94
|
+
}
|
|
95
|
+
interface PluginUiHostMethods {
|
|
96
|
+
readonly call: (method: string, params: unknown) => Promise<unknown>;
|
|
97
|
+
readonly reportContentHeight: (height: number) => Promise<void>;
|
|
98
|
+
readonly reportFatal: (message: string) => Promise<void>;
|
|
99
|
+
}
|
|
100
|
+
interface PluginUiClientMethods {
|
|
101
|
+
readonly initialize: (payload: unknown) => Promise<void>;
|
|
102
|
+
}
|
|
103
|
+
interface PluginUiTransportConnection {
|
|
104
|
+
readonly destroy: () => void;
|
|
105
|
+
readonly promise: Promise<PluginUiHostMethods>;
|
|
106
|
+
}
|
|
107
|
+
interface PluginUiControllerOptions {
|
|
108
|
+
readonly connectToHost: (methods: PluginUiClientMethods) => PluginUiTransportConnection;
|
|
109
|
+
readonly targetWindow: Window & typeof globalThis;
|
|
110
|
+
}
|
|
111
|
+
//#endregion
|
|
112
|
+
//#region src/ui/controller.d.ts
|
|
113
|
+
export declare function createPluginUiController(definition: WorkbasePluginUiDefinition, options: PluginUiControllerOptions): WorkbasePluginUi;
|
|
114
|
+
//#endregion
|
|
115
|
+
//#region src/ui/index.d.ts
|
|
116
|
+
export declare function defineWorkbasePluginUi(definition: WorkbasePluginUiDefinition): WorkbasePluginUi;
|
|
117
|
+
//#endregion
|
|
118
|
+
export type { PluginUiClientMethods, PluginUiCommandExecuteOptions, PluginUiCommands, PluginUiContextIdentity, PluginUiControllerOptions, PluginUiFileFilter, PluginUiFileSelectOptions, PluginUiFileSelectionItemType, PluginUiFileSelectionScope, PluginUiHostError, PluginUiHostMethods, PluginUiInitializationPayload, PluginUiNavigateOptions, PluginUiOutputOptions, PluginUiPromptChoice, PluginUiPromptOptions, PluginUiPromptType, PluginUiStatus, PluginUiToastOptions, PluginUiTransportConnection, PluginUiView, PluginUiViewIdentity, WorkbasePluginUi, WorkbasePluginUiDefinition };
|