@eworkbase/sdk 0.3.4 → 0.3.5
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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as PluginAgentContextCatalogEntry, A as PluginLifecycleOutcome, At as PluginToolsService, B as PluginRepositoryStatus, C as PluginExecutionStatus, Ct as PluginTaskDescriptor, D as PluginInvocationContext, Dt as PluginToastLevel, E as PluginHookResult, Et as PluginToastApi, F as PluginProcessOutputMode, Ft as roleToolsAppliedSchema, G as PluginStatusDefinition, H as PluginSharedChangeKind, I as PluginProcessResult, It as roleToolsProposalSchema, J as PluginViewDefinition, K as PluginToolContribution, L as PluginProcessRunOptions, M as PluginLifecycleStatus, Mt as RoleToolsApplied, N as PluginLogger, Nt as RoleToolsProposal, O as PluginLifecycleDispatchResult, Ot as PluginToastOptions, P as PluginProcessApi, Pt as roleToolEnvironmentSchema, Q as WorkbasePluginDefinition, R as PluginProject, S as PluginExecutionSnapshot, St as PluginSystemContextService, T as PluginHookId, Tt as PluginTaskService, U as PluginSharedChanges, V as PluginSetupHooks, W as PluginStatusContribution, X as PluginViewRequest, Y as PluginViewLayout, Z as PluginWorkspace, _ as PluginContext, _t as PluginPromptQuestion, a as PluginCapabilityReference, at as PluginColoredMessage, b as PluginDisposable, bt as PluginStatusCatalogEntry, c as PluginCommandContext, ct as PluginExecutionService, d as PluginCommandDetails, dt as PluginLogEntry, et as PluginAgentPolicy, f as PluginCommandEffect, ft as PluginLogQueryRequest, g as PluginCommandTransaction, gt as PluginPromptChoice, h as PluginCommandOption, ht as PluginPromptApi, i as PluginCapabilityKind, it as PluginCapabilityService, j as PluginLifecyclePolicy, jt as RoleToolEnvironment, k as PluginLifecycleHook, kt as PluginViewCatalogEntry, l as PluginCommandContribution, lt as PluginHostServices, m as PluginCommandExecutionResult, mt as PluginLogService, n as PluginAgentContextDefinition, nt as PluginCapabilityCommandRequest, o as PluginCommandArgument, ot as PluginCommandCatalogEntry, p as PluginCommandExecutionMode, pt as PluginLogQueryResult, q as PluginViewContribution, r as PluginAgentScope, rt as PluginCapabilityResolveRequest, s as PluginCommandCategory, st as PluginConfigApi, t as PluginAgentContextContribution, tt as PluginCapabilityCatalog, u as PluginCommandDefinition, ut as PluginInteractiveLogger, v as PluginContextExposure, vt as PluginPromptType, w as PluginFileChange, wt as PluginTaskResult, x as PluginExecutionEvidence, xt as PluginStoreApi, y as PluginContributionSnapshot, yt as PluginPromptViewRequest, z as PluginRepository } from "./types
|
|
1
|
+
import { $ as PluginAgentContextCatalogEntry, A as PluginLifecycleOutcome, At as PluginToolsService, B as PluginRepositoryStatus, C as PluginExecutionStatus, Ct as PluginTaskDescriptor, D as PluginInvocationContext, Dt as PluginToastLevel, E as PluginHookResult, Et as PluginToastApi, F as PluginProcessOutputMode, Ft as roleToolsAppliedSchema, G as PluginStatusDefinition, H as PluginSharedChangeKind, I as PluginProcessResult, It as roleToolsProposalSchema, J as PluginViewDefinition, K as PluginToolContribution, L as PluginProcessRunOptions, M as PluginLifecycleStatus, Mt as RoleToolsApplied, N as PluginLogger, Nt as RoleToolsProposal, O as PluginLifecycleDispatchResult, Ot as PluginToastOptions, P as PluginProcessApi, Pt as roleToolEnvironmentSchema, Q as WorkbasePluginDefinition, R as PluginProject, S as PluginExecutionSnapshot, St as PluginSystemContextService, T as PluginHookId, Tt as PluginTaskService, U as PluginSharedChanges, V as PluginSetupHooks, W as PluginStatusContribution, X as PluginViewRequest, Y as PluginViewLayout, Z as PluginWorkspace, _ as PluginContext, _t as PluginPromptQuestion, a as PluginCapabilityReference, at as PluginColoredMessage, b as PluginDisposable, bt as PluginStatusCatalogEntry, c as PluginCommandContext, ct as PluginExecutionService, d as PluginCommandDetails, dt as PluginLogEntry, et as PluginAgentPolicy, f as PluginCommandEffect, ft as PluginLogQueryRequest, g as PluginCommandTransaction, gt as PluginPromptChoice, h as PluginCommandOption, ht as PluginPromptApi, i as PluginCapabilityKind, it as PluginCapabilityService, j as PluginLifecyclePolicy, jt as RoleToolEnvironment, k as PluginLifecycleHook, kt as PluginViewCatalogEntry, l as PluginCommandContribution, lt as PluginHostServices, m as PluginCommandExecutionResult, mt as PluginLogService, n as PluginAgentContextDefinition, nt as PluginCapabilityCommandRequest, o as PluginCommandArgument, ot as PluginCommandCatalogEntry, p as PluginCommandExecutionMode, pt as PluginLogQueryResult, q as PluginViewContribution, r as PluginAgentScope, rt as PluginCapabilityResolveRequest, s as PluginCommandCategory, st as PluginConfigApi, t as PluginAgentContextContribution, tt as PluginCapabilityCatalog, u as PluginCommandDefinition, ut as PluginInteractiveLogger, v as PluginContextExposure, vt as PluginPromptType, w as PluginFileChange, wt as PluginTaskResult, x as PluginExecutionEvidence, xt as PluginStoreApi, y as PluginContributionSnapshot, yt as PluginPromptViewRequest, z as PluginRepository } from "./types-Cl1kerLO.js";
|
|
2
2
|
export * from "zod";
|
|
3
3
|
//#region src/definition.d.ts
|
|
4
4
|
export declare const PLUGIN_API_VERSION = 2;
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as PluginExecutionSnapshot, m as PluginCommandExecutionResult } from "../types
|
|
1
|
+
import { S as PluginExecutionSnapshot, m as PluginCommandExecutionResult } from "../types-Cl1kerLO.js";
|
|
2
2
|
//#region src/ui/types.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Browser authoring API and transport contracts for Workbase plugin views.
|
package/dist/ui/theme.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/ui/theme.d.ts
|
|
2
2
|
/** Shared Mantine tokens for Workbase and its React plugin views; no runtime bridge dependencies. */
|
|
3
|
-
/**
|
|
3
|
+
/** Initializes shared document defaults and style authorization before mounting React. */
|
|
4
4
|
export declare function initializeWorkbaseUiStyles(): void;
|
|
5
5
|
/** Reads the per-document style authorization issued by the plugin asset protocol. */
|
|
6
6
|
export declare function getWorkbaseStyleNonce(): string;
|
|
@@ -34,6 +34,16 @@ export declare const workbaseUiTheme: {
|
|
|
34
34
|
readonly blue: readonly ["#f0f7ff", "#ebf3fc", "#a6ccfa", "#599be9", "#0969da", "#085ec2", "#0752aa", "#06458e", "#053974", "#042b59"];
|
|
35
35
|
};
|
|
36
36
|
readonly components: {
|
|
37
|
+
readonly Input: {
|
|
38
|
+
readonly defaultProps: {
|
|
39
|
+
readonly autoCapitalize: "none";
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
readonly Textarea: {
|
|
43
|
+
readonly defaultProps: {
|
|
44
|
+
readonly autoCapitalize: "none";
|
|
45
|
+
};
|
|
46
|
+
};
|
|
37
47
|
readonly Badge: {
|
|
38
48
|
readonly defaultProps: {
|
|
39
49
|
readonly radius: "md";
|
package/dist/ui/theme.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
//#region src/ui/theme.ts
|
|
2
2
|
/** Shared Mantine tokens for Workbase and its React plugin views; no runtime bridge dependencies. */
|
|
3
|
-
/**
|
|
3
|
+
/** Initializes shared document defaults and style authorization before mounting React. */
|
|
4
4
|
function initializeWorkbaseUiStyles() {
|
|
5
|
+
document.documentElement.setAttribute("autocapitalize", "none");
|
|
5
6
|
Object.assign(window, { __webpack_nonce__: getWorkbaseStyleNonce() });
|
|
6
7
|
}
|
|
7
8
|
/** Reads the per-document style authorization issued by the plugin asset protocol. */
|
|
@@ -104,6 +105,8 @@ const workbaseUiTheme = {
|
|
|
104
105
|
]
|
|
105
106
|
},
|
|
106
107
|
components: {
|
|
108
|
+
Input: { defaultProps: { autoCapitalize: "none" } },
|
|
109
|
+
Textarea: { defaultProps: { autoCapitalize: "none" } },
|
|
107
110
|
Badge: {
|
|
108
111
|
defaultProps: { radius: "md" },
|
|
109
112
|
classNames: badgeClassNames
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eworkbase/sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -25,11 +25,6 @@
|
|
|
25
25
|
},
|
|
26
26
|
"./ui/theme.css": "./dist/ui/theme.css"
|
|
27
27
|
},
|
|
28
|
-
"scripts": {
|
|
29
|
-
"build": "tsdown",
|
|
30
|
-
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
31
|
-
"pack:local": "pnpm build && pnpm pack"
|
|
32
|
-
},
|
|
33
28
|
"engines": {
|
|
34
29
|
"node": ">=22"
|
|
35
30
|
},
|
|
@@ -47,5 +42,10 @@
|
|
|
47
42
|
"@types/node": "^24.0.3",
|
|
48
43
|
"tsdown": "0.23.0",
|
|
49
44
|
"typescript": "^5.8.3"
|
|
45
|
+
},
|
|
46
|
+
"scripts": {
|
|
47
|
+
"build": "tsdown",
|
|
48
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
49
|
+
"pack:local": "pnpm build && pnpm pack"
|
|
50
50
|
}
|
|
51
|
-
}
|
|
51
|
+
}
|