@olonjs/core 1.0.98 → 1.0.100
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 +7 -3
- package/dist/olonjs-core.js +3491 -3399
- package/dist/olonjs-core.umd.cjs +47 -47
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -119,8 +119,6 @@ export declare interface BaseWidgetProps<T = unknown> {
|
|
|
119
119
|
options?: string[];
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
export declare function buildWebMcpToolName(): string;
|
|
123
|
-
|
|
124
122
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
125
123
|
|
|
126
124
|
export declare interface ConfigContextValue {
|
|
@@ -139,7 +137,9 @@ export declare const ConfigProvider: default_2.FC<{
|
|
|
139
137
|
children: default_2.ReactNode;
|
|
140
138
|
}>;
|
|
141
139
|
|
|
142
|
-
export declare function
|
|
140
|
+
export declare function createWebMcpSaveToolInputSchema(): Record<string, unknown>;
|
|
141
|
+
|
|
142
|
+
export declare function createWebMcpUpdateToolInputSchema(): Record<string, unknown>;
|
|
143
143
|
|
|
144
144
|
export declare const DefaultNotFound: default_2.FC;
|
|
145
145
|
|
|
@@ -543,6 +543,10 @@ export declare function useConfig(): ConfigContextValue;
|
|
|
543
543
|
|
|
544
544
|
export declare const useStudio: () => StudioContextType;
|
|
545
545
|
|
|
546
|
+
export declare const WEBMCP_TOOL_SAVE = "save-project-state";
|
|
547
|
+
|
|
548
|
+
export declare const WEBMCP_TOOL_UPDATE = "update-section-draft";
|
|
549
|
+
|
|
546
550
|
/** Optional WebMCP bridge registration in Studio mode. */
|
|
547
551
|
export declare interface WebMcpConfig {
|
|
548
552
|
/** Enables WebMCP tool registration when Studio is active. */
|