@eworkbase/sdk 0.8.4 → 0.8.6
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/{ExecutionLog.dto-ig9GUWhK.d.ts → ExecutionLog.dto-Bq2u5C90.d.ts} +1 -1
- package/dist/build.d.ts +54 -0
- package/dist/build.js +78 -0
- package/dist/components-DxL-99bM.js +131 -0
- package/dist/host-services-cIH3aYQD.js +5 -0
- package/dist/index.d.ts +20 -14
- package/dist/index.js +143 -245
- package/dist/markdown.d.ts +1 -1
- package/dist/markdown.js +9 -2
- package/dist/style.css +4 -98
- package/dist/{types-2X-_T_W_.d.ts → types-DDEHTBRv.d.ts} +39 -101
- package/dist/{types-CRYQB_Tb.d.ts → types-b6G-gae3.d.ts} +29 -6
- package/dist/ui/components.d.ts +55 -0
- package/dist/ui/components.js +2 -0
- package/dist/ui/execution-log.d.ts +6 -2
- package/dist/ui/execution-log.js +11 -20
- package/dist/ui/hooks.d.ts +70 -0
- package/dist/ui/hooks.js +262 -0
- package/dist/ui/index.css +38 -165
- package/dist/ui/index.d.ts +44 -2
- package/dist/ui/index.js +3 -300
- package/dist/ui/markdown-links.d.ts +1 -1
- package/dist/ui/markdown-links.js +44 -34
- package/dist/ui/model.d.ts +1 -2
- package/dist/ui/model.js +1 -8
- package/dist/ui/theme.css +123 -1
- package/dist/ui-DGLeDJDe.js +436 -0
- package/package.json +40 -8
- package/tsconfig.node.json +13 -0
- package/tsconfig.ui.json +18 -0
package/dist/build.d.ts
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
//#region src/build.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Shared tsdown build factory for Workbase plugins.
|
|
4
|
+
* Generates the Node backend bundle, browser React bundle and canonical dist/ui/index.html.
|
|
5
|
+
*/
|
|
6
|
+
export interface PluginBuildCopyEntry {
|
|
7
|
+
readonly from: string | readonly string[];
|
|
8
|
+
readonly to?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface PluginBuildEntryConfig {
|
|
11
|
+
readonly entry: Readonly<Record<string, string>>;
|
|
12
|
+
readonly outDir?: string;
|
|
13
|
+
readonly platform: "node" | "browser" | "neutral";
|
|
14
|
+
readonly target: string;
|
|
15
|
+
readonly minify?: boolean;
|
|
16
|
+
readonly shims?: boolean;
|
|
17
|
+
readonly dts?: boolean;
|
|
18
|
+
readonly env?: Readonly<Record<string, string>>;
|
|
19
|
+
readonly inputOptions?: Readonly<Record<string, unknown>>;
|
|
20
|
+
readonly deps?: {
|
|
21
|
+
readonly alwaysBundle?: readonly (string | RegExp)[];
|
|
22
|
+
readonly neverBundle?: readonly (string | RegExp)[];
|
|
23
|
+
};
|
|
24
|
+
readonly plugins?: readonly unknown[];
|
|
25
|
+
readonly copy?: readonly PluginBuildCopyEntry[];
|
|
26
|
+
}
|
|
27
|
+
export interface PluginBackendBuildOverrides {
|
|
28
|
+
readonly entry?: string;
|
|
29
|
+
readonly alwaysBundle?: readonly (string | RegExp)[];
|
|
30
|
+
readonly neverBundle?: readonly (string | RegExp)[];
|
|
31
|
+
readonly inputOptions?: Readonly<Record<string, unknown>>;
|
|
32
|
+
readonly copy?: readonly PluginBuildCopyEntry[];
|
|
33
|
+
}
|
|
34
|
+
export interface PluginUiBuildOverrides {
|
|
35
|
+
readonly entry?: string;
|
|
36
|
+
readonly plugins?: readonly unknown[];
|
|
37
|
+
readonly copy?: readonly PluginBuildCopyEntry[];
|
|
38
|
+
}
|
|
39
|
+
export interface DefinePluginBuildOptions {
|
|
40
|
+
/** Page <title> emitted into dist/ui/index.html. Omit only for backend-only plugins (ui: false). */
|
|
41
|
+
readonly title?: string;
|
|
42
|
+
/** Copies shared Vditor / markdown editor static assets into dist/ui. */
|
|
43
|
+
readonly markdownEditorAssets?: boolean;
|
|
44
|
+
readonly backend?: PluginBackendBuildOverrides;
|
|
45
|
+
/** Pass false for backend-only plugins without a browser view. */
|
|
46
|
+
readonly ui?: false | PluginUiBuildOverrides;
|
|
47
|
+
/** Additional standalone build targets (for example a stdio bridge helper). */
|
|
48
|
+
readonly extraEntries?: readonly PluginBuildEntryConfig[];
|
|
49
|
+
}
|
|
50
|
+
/** Creates the canonical tsdown config array for a Workbase plugin package. */
|
|
51
|
+
export declare function definePluginBuild(options: DefinePluginBuildOptions): PluginBuildEntryConfig[];
|
|
52
|
+
/** Renders the canonical Workbase plugin iframe HTML document with CSP style nonce placeholder. */
|
|
53
|
+
export declare function renderPluginHtml(title: string): string;
|
|
54
|
+
//#endregion
|
package/dist/build.js
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { fileURLToPath } from "node:url";
|
|
2
|
+
//#region src/build.ts
|
|
3
|
+
/**
|
|
4
|
+
* Shared tsdown build factory for Workbase plugins.
|
|
5
|
+
* Generates the Node backend bundle, browser React bundle and canonical dist/ui/index.html.
|
|
6
|
+
*/
|
|
7
|
+
const DEFAULT_SDK_EXTERNAL = /^@eworkbase\/sdk(?:\/.*)?$/;
|
|
8
|
+
/** Creates the canonical tsdown config array for a Workbase plugin package. */
|
|
9
|
+
function definePluginBuild(options) {
|
|
10
|
+
const { backend = {}, extraEntries = [], markdownEditorAssets = false, title = "Workbase Plugin", ui } = options;
|
|
11
|
+
const entries = [{
|
|
12
|
+
entry: { plugin: backend.entry ?? "src/plugin.ts" },
|
|
13
|
+
platform: "node",
|
|
14
|
+
target: "node22",
|
|
15
|
+
minify: true,
|
|
16
|
+
shims: true,
|
|
17
|
+
dts: false,
|
|
18
|
+
...backend.inputOptions ? { inputOptions: backend.inputOptions } : {},
|
|
19
|
+
deps: {
|
|
20
|
+
alwaysBundle: backend.alwaysBundle ?? [/.*/],
|
|
21
|
+
neverBundle: [DEFAULT_SDK_EXTERNAL, ...backend.neverBundle ?? []]
|
|
22
|
+
},
|
|
23
|
+
...backend.copy?.length ? { copy: backend.copy } : {}
|
|
24
|
+
}, ...extraEntries];
|
|
25
|
+
if (ui === false) return entries;
|
|
26
|
+
const uiCopy = [...ui?.copy ?? []];
|
|
27
|
+
if (markdownEditorAssets) uiCopy.push({
|
|
28
|
+
from: fileURLToPath(new URL("./ui/markdown-editor-assets", import.meta.url)),
|
|
29
|
+
to: "dist/ui"
|
|
30
|
+
});
|
|
31
|
+
entries.push({
|
|
32
|
+
entry: { main: ui?.entry ?? "src/ui/main.tsx" },
|
|
33
|
+
outDir: "dist/ui",
|
|
34
|
+
platform: "browser",
|
|
35
|
+
target: "es2022",
|
|
36
|
+
minify: true,
|
|
37
|
+
dts: false,
|
|
38
|
+
env: { NODE_ENV: "production" },
|
|
39
|
+
deps: { alwaysBundle: [/.*/] },
|
|
40
|
+
plugins: [emitPluginHtml(title), ...ui?.plugins ?? []],
|
|
41
|
+
...uiCopy.length ? { copy: uiCopy } : {}
|
|
42
|
+
});
|
|
43
|
+
return entries;
|
|
44
|
+
}
|
|
45
|
+
/** Renders the canonical Workbase plugin iframe HTML document with CSP style nonce placeholder. */
|
|
46
|
+
function renderPluginHtml(title) {
|
|
47
|
+
return [
|
|
48
|
+
"<!doctype html>",
|
|
49
|
+
"<html lang=\"zh-CN\">",
|
|
50
|
+
" <head>",
|
|
51
|
+
" <meta name=\"workbase-style-nonce\" content=\"__WORKBASE_STYLE_NONCE__\" />",
|
|
52
|
+
" <meta charset=\"UTF-8\" />",
|
|
53
|
+
" <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />",
|
|
54
|
+
" <link rel=\"stylesheet\" href=\"./style.css\" />",
|
|
55
|
+
` <title>${title.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">")}</title>`,
|
|
56
|
+
" </head>",
|
|
57
|
+
" <body>",
|
|
58
|
+
" <div id=\"root\"></div>",
|
|
59
|
+
" <script type=\"module\" src=\"./main.js\"><\/script>",
|
|
60
|
+
" </body>",
|
|
61
|
+
"</html>",
|
|
62
|
+
""
|
|
63
|
+
].join("\n");
|
|
64
|
+
}
|
|
65
|
+
function emitPluginHtml(title) {
|
|
66
|
+
return {
|
|
67
|
+
name: "workbase-plugin-html",
|
|
68
|
+
generateBundle() {
|
|
69
|
+
this.emitFile({
|
|
70
|
+
type: "asset",
|
|
71
|
+
fileName: "index.html",
|
|
72
|
+
source: renderPluginHtml(title)
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
//#endregion
|
|
78
|
+
export { definePluginBuild, renderPluginHtml };
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { PluginErrorPanel } from "./ui/error-panel.js";
|
|
2
|
+
import { Component, memo } from "react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
//#region src/ui/Components.dto.ts
|
|
5
|
+
let PluginStatusTone = /* @__PURE__ */ function(PluginStatusTone) {
|
|
6
|
+
PluginStatusTone["Success"] = "success";
|
|
7
|
+
PluginStatusTone["Warning"] = "warning";
|
|
8
|
+
PluginStatusTone["Danger"] = "danger";
|
|
9
|
+
PluginStatusTone["Info"] = "info";
|
|
10
|
+
PluginStatusTone["Neutral"] = "neutral";
|
|
11
|
+
return PluginStatusTone;
|
|
12
|
+
}({});
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region src/ui/components.tsx
|
|
15
|
+
/**
|
|
16
|
+
* Shared React primitives for Workbase plugins (status pill, inline error, empty state, error boundary).
|
|
17
|
+
* Implemented with semantic HTML and SDK CSS tokens to stay zero-dependency beyond React.
|
|
18
|
+
*/
|
|
19
|
+
const DEFAULT_ERROR_BOUNDARY_TITLE = "界面渲染异常";
|
|
20
|
+
const DEFAULT_ERROR_BOUNDARY_SCOPE = "当前插件视图。";
|
|
21
|
+
const DEFAULT_ERROR_BOUNDARY_RECOVERY = "可重试渲染当前视图;若反复出现,请刷新工作区或查看执行日志。";
|
|
22
|
+
const DEFAULT_RETRY_LABEL = "重试渲染";
|
|
23
|
+
const DEFAULT_DISMISS_LABEL = "关闭错误提示";
|
|
24
|
+
const PluginStatusPill = memo(function PluginStatusPill({ tone, label, isLoading = false, className, ...attributes }) {
|
|
25
|
+
return /* @__PURE__ */ jsxs("span", {
|
|
26
|
+
...attributes,
|
|
27
|
+
"data-tone": tone,
|
|
28
|
+
"data-loading": isLoading || void 0,
|
|
29
|
+
className: joinClassNames("workbase-pill", className),
|
|
30
|
+
children: [isLoading ? /* @__PURE__ */ jsx("span", {
|
|
31
|
+
"aria-hidden": "true",
|
|
32
|
+
className: "workbase-pill-spinner"
|
|
33
|
+
}) : /* @__PURE__ */ jsx("span", {
|
|
34
|
+
"aria-hidden": "true",
|
|
35
|
+
className: "workbase-pill-dot"
|
|
36
|
+
}), /* @__PURE__ */ jsx("span", { children: label })]
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
const PluginInlineError = memo(function PluginInlineError({ message, actionLabel, onAction, isActionDisabled = false, onDismiss, dismissLabel = DEFAULT_DISMISS_LABEL, className, ...attributes }) {
|
|
40
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
41
|
+
role: "alert",
|
|
42
|
+
...attributes,
|
|
43
|
+
className: joinClassNames("workbase-inline-error", className),
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ jsx("span", { children: message }),
|
|
46
|
+
actionLabel && onAction ? /* @__PURE__ */ jsx("button", {
|
|
47
|
+
type: "button",
|
|
48
|
+
disabled: isActionDisabled,
|
|
49
|
+
onClick: onAction,
|
|
50
|
+
children: actionLabel
|
|
51
|
+
}) : null,
|
|
52
|
+
onDismiss ? /* @__PURE__ */ jsx("button", {
|
|
53
|
+
type: "button",
|
|
54
|
+
className: "workbase-error-close",
|
|
55
|
+
"aria-label": dismissLabel,
|
|
56
|
+
title: dismissLabel,
|
|
57
|
+
onClick: onDismiss
|
|
58
|
+
}) : null
|
|
59
|
+
]
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
const PluginEmptyState = memo(function PluginEmptyState({ title, description, icon, action, className, ...attributes }) {
|
|
63
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
64
|
+
...attributes,
|
|
65
|
+
className: joinClassNames("workbase-empty-state", className),
|
|
66
|
+
children: [
|
|
67
|
+
icon ? /* @__PURE__ */ jsx("span", {
|
|
68
|
+
"aria-hidden": "true",
|
|
69
|
+
className: "workbase-empty-icon",
|
|
70
|
+
children: icon
|
|
71
|
+
}) : null,
|
|
72
|
+
/* @__PURE__ */ jsx("h2", {
|
|
73
|
+
className: "workbase-empty-title",
|
|
74
|
+
children: title
|
|
75
|
+
}),
|
|
76
|
+
description ? /* @__PURE__ */ jsx("p", {
|
|
77
|
+
className: "workbase-empty-description",
|
|
78
|
+
children: description
|
|
79
|
+
}) : null,
|
|
80
|
+
action ? /* @__PURE__ */ jsx("div", {
|
|
81
|
+
className: "workbase-empty-action",
|
|
82
|
+
children: action
|
|
83
|
+
}) : null
|
|
84
|
+
]
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
var PluginErrorBoundary = class extends Component {
|
|
88
|
+
state = {
|
|
89
|
+
error: null,
|
|
90
|
+
componentStack: null
|
|
91
|
+
};
|
|
92
|
+
static getDerivedStateFromError(error) {
|
|
93
|
+
return { error: error instanceof Error ? error : new Error(String(error ?? "未知渲染异常")) };
|
|
94
|
+
}
|
|
95
|
+
componentDidCatch(_error, info) {
|
|
96
|
+
this.setState({ componentStack: info.componentStack?.trim() || null });
|
|
97
|
+
}
|
|
98
|
+
handleReset = () => {
|
|
99
|
+
this.setState({
|
|
100
|
+
error: null,
|
|
101
|
+
componentStack: null
|
|
102
|
+
});
|
|
103
|
+
this.props.onReset?.();
|
|
104
|
+
};
|
|
105
|
+
render() {
|
|
106
|
+
const { error, componentStack } = this.state;
|
|
107
|
+
if (!error) return this.props.children;
|
|
108
|
+
const details = [error.stack || error.message, componentStack].filter(Boolean).join("\n\n");
|
|
109
|
+
return /* @__PURE__ */ jsx("div", {
|
|
110
|
+
className: "workbase-feedback-page workbase-error-boundary",
|
|
111
|
+
children: /* @__PURE__ */ jsx(PluginErrorPanel, {
|
|
112
|
+
title: this.props.title ?? DEFAULT_ERROR_BOUNDARY_TITLE,
|
|
113
|
+
error: error.message,
|
|
114
|
+
scope: this.props.scope ?? DEFAULT_ERROR_BOUNDARY_SCOPE,
|
|
115
|
+
recovery: this.props.recovery ?? DEFAULT_ERROR_BOUNDARY_RECOVERY,
|
|
116
|
+
technicalDetails: details,
|
|
117
|
+
children: /* @__PURE__ */ jsx("button", {
|
|
118
|
+
type: "button",
|
|
119
|
+
className: "workbase-error-retry",
|
|
120
|
+
onClick: this.handleReset,
|
|
121
|
+
children: this.props.retryLabel ?? DEFAULT_RETRY_LABEL
|
|
122
|
+
})
|
|
123
|
+
})
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
function joinClassNames(...values) {
|
|
128
|
+
return values.filter(Boolean).join(" ");
|
|
129
|
+
}
|
|
130
|
+
//#endregion
|
|
131
|
+
export { PluginStatusTone as a, PluginStatusPill as i, PluginErrorBoundary as n, PluginInlineError as r, PluginEmptyState as t };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
import { a as executionLogRecordSchema, i as executionLogEntrySchema, n as ExecutionLogEntryKind, r as ExecutionLogRecord, t as ExecutionLogEntry } from "./ExecutionLog.dto-
|
|
2
|
-
import { $ as
|
|
3
|
-
|
|
4
|
-
//#region src/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { a as executionLogRecordSchema, i as executionLogEntrySchema, n as ExecutionLogEntryKind, r as ExecutionLogRecord, t as ExecutionLogEntry } from "./ExecutionLog.dto-Bq2u5C90.js";
|
|
2
|
+
import { $ as WorkbasePluginDefinition, A as PluginLifecycleStatus, At as PluginToastLevel, B as PluginRepository, Bt as roleToolsAppliedSchema, C as PluginHookId, Ct as PluginStatusCatalogEntry, D as PluginLifecycleHook, Dt as PluginTaskResult, E as PluginLifecycleDispatchResult, Et as PluginTaskDescriptor, F as PluginProcessApi, Ft as PluginToolsService, G as PluginStatusContribution, H as PluginSetupHooks, I as PluginProcessOutputMode, It as RoleToolEnvironment, J as PluginViewContribution, K as PluginStatusDefinition, L as PluginProcessResult, Lt as RoleToolsApplied, M as PluginOverviewCardData, Mt as PluginViewCatalogEntry, N as PluginOverviewCardDefinition, Nt as PluginViewStatePublishOptions, O as PluginLifecycleOutcome, Ot as PluginTaskService, P as PluginOverviewCardStatus, Pt as PluginViewStateService, Q as PluginWorkspace, R as PluginProcessRunOptions, Rt as RoleToolsProposal, S as PluginFileChange, St as PluginPublicationChanges, T as PluginInvocationContext, Tt as PluginSystemContextService, U as PluginSharedChangeKind, V as PluginRepositoryStatus, Vt as roleToolsProposalSchema, W as PluginSharedChanges, X as PluginViewLayout, Y as PluginViewDefinition, Z as PluginViewMethod, _ as PluginContributionSnapshot, _t as PluginPromptApi, a as PluginCapabilityReference, at as PluginCapabilityCommandRequest, b as PluginExecutionSnapshot, bt as PluginPromptType, c as PluginCommandContribution, ct as PluginCommandCatalogEntry, d as PluginCommandEffect, dt as PluginHostServices, et as DEFAULT_VIEW_STATE_TOPIC, f as PluginCommandExecutionResult, ft as PluginInteractiveLogger, g as PluginContextExposure, gt as PluginLogService, h as PluginContext, ht as PluginLogQueryResult, i as PluginCapabilityKind, it as PluginCapabilityCatalog, j as PluginLogger, jt as PluginToastOptions, k as PluginLifecyclePolicy, kt as PluginToastApi, l as PluginCommandDefinition, lt as PluginConfigApi, m as PluginCommandTransaction, mt as PluginLogQueryRequest, n as PluginAgentContextDefinition, nt as PluginAgentContextCatalogEntry, o as PluginCardAction, ot as PluginCapabilityResolveRequest, p as PluginCommandLogPolicy, pt as PluginLogEntry, q as PluginToolContribution, r as PluginAgentScope, rt as PluginAgentPolicy, s as PluginCommandContext, st as PluginCapabilityService, t as PluginAgentContextContribution, tt as MAXIMUM_VIEW_STATE_BYTES, u as PluginCommandDetails, ut as PluginExecutionService, v as PluginDisposable, vt as PluginPromptChoice, w as PluginHookResult, wt as PluginStoreApi, x as PluginExecutionStatus, xt as PluginPromptViewRequest, y as PluginExecutionEvidence, yt as PluginPromptQuestion, z as PluginProject, zt as roleToolEnvironmentSchema } from "./types-DDEHTBRv.js";
|
|
3
|
+
import { ZodError, ZodType, z } from "zod";
|
|
4
|
+
//#region src/error.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Canonical structured plugin error recognized by the Workbase Node Bridge.
|
|
7
|
+
*/
|
|
8
|
+
interface PluginErrorOptions {
|
|
9
|
+
readonly code: string;
|
|
10
|
+
readonly message: string;
|
|
11
|
+
readonly details?: unknown;
|
|
12
|
+
readonly retryable?: boolean;
|
|
9
13
|
}
|
|
10
|
-
export declare
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
14
|
+
export declare class PluginError extends Error {
|
|
15
|
+
readonly code: string;
|
|
16
|
+
readonly details?: unknown;
|
|
17
|
+
readonly retryable: boolean;
|
|
18
|
+
constructor({ code, message, details, retryable }: PluginErrorOptions);
|
|
19
|
+
}
|
|
20
|
+
export declare function createPluginError(options: PluginErrorOptions): PluginError;
|
|
15
21
|
//#endregion
|
|
16
22
|
//#region src/definition.d.ts
|
|
17
23
|
export declare const PLUGIN_API_VERSION = 2;
|
|
@@ -19,4 +25,4 @@ type DefinedWorkbasePlugin = Readonly<WorkbasePluginDefinition>;
|
|
|
19
25
|
export declare function definePlugin(definition: WorkbasePluginDefinition): DefinedWorkbasePlugin;
|
|
20
26
|
export declare function isDefinedPlugin(value: unknown): value is DefinedWorkbasePlugin;
|
|
21
27
|
//#endregion
|
|
22
|
-
export { type DefinedWorkbasePlugin, type ExecutionLogEntry, ExecutionLogEntryKind, type ExecutionLogRecord, type PluginAgentContextCatalogEntry, type PluginAgentContextContribution, type PluginAgentContextDefinition, type PluginAgentPolicy, PluginAgentScope, type PluginCapabilityCatalog, type PluginCapabilityCommandRequest, PluginCapabilityKind, type PluginCapabilityReference, type PluginCapabilityResolveRequest, type PluginCapabilityService, type PluginCardAction, type
|
|
28
|
+
export { DEFAULT_VIEW_STATE_TOPIC, type DefinedWorkbasePlugin, type ExecutionLogEntry, ExecutionLogEntryKind, type ExecutionLogRecord, MAXIMUM_VIEW_STATE_BYTES, type PluginAgentContextCatalogEntry, type PluginAgentContextContribution, type PluginAgentContextDefinition, type PluginAgentPolicy, PluginAgentScope, type PluginCapabilityCatalog, type PluginCapabilityCommandRequest, PluginCapabilityKind, type PluginCapabilityReference, type PluginCapabilityResolveRequest, type PluginCapabilityService, type PluginCardAction, type PluginCommandCatalogEntry, type PluginCommandContext, type PluginCommandContribution, type PluginCommandDefinition, type PluginCommandDetails, PluginCommandEffect, type PluginCommandExecutionResult, PluginCommandLogPolicy, PluginCommandTransaction, type PluginConfigApi, type PluginContext, PluginContextExposure, type PluginContributionSnapshot, type PluginDisposable, type PluginErrorOptions, type PluginExecutionEvidence, type PluginExecutionService, type PluginExecutionSnapshot, PluginExecutionStatus, type PluginFileChange, 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 PluginOverviewCardData, type PluginOverviewCardDefinition, type PluginOverviewCardStatus, type PluginProcessApi, PluginProcessOutputMode, type PluginProcessResult, type PluginProcessRunOptions, type PluginProject, type PluginPromptApi, type PluginPromptChoice, type PluginPromptQuestion, type PluginPromptType, type PluginPromptViewRequest, type PluginPublicationChanges, 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, PluginToolsService, type PluginViewCatalogEntry, type PluginViewContribution, type PluginViewDefinition, PluginViewLayout, PluginViewMethod, type PluginViewStatePublishOptions, type PluginViewStateService, type PluginWorkspace, RoleToolEnvironment, RoleToolsApplied, RoleToolsProposal, type WorkbasePluginDefinition, ZodError, type ZodType, executionLogEntrySchema, executionLogRecordSchema, roleToolEnvironmentSchema, roleToolsAppliedSchema, roleToolsProposalSchema, z };
|