@olonjs/core 1.0.103 → 1.0.106
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 +3 -10
- package/dist/olonjs-core.js +6374 -16967
- package/dist/olonjs-core.umd.cjs +50 -67
- package/package.json +10 -11
- package/src/lib/webmcp-contracts.mjs +39 -0
package/dist/index.d.ts
CHANGED
|
@@ -119,6 +119,8 @@ export declare interface BaseWidgetProps<T = unknown> {
|
|
|
119
119
|
options?: string[];
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
+
export declare function buildWebMcpToolName(): string;
|
|
123
|
+
|
|
122
124
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
123
125
|
|
|
124
126
|
export declare interface ConfigContextValue {
|
|
@@ -137,9 +139,7 @@ export declare const ConfigProvider: default_2.FC<{
|
|
|
137
139
|
children: default_2.ReactNode;
|
|
138
140
|
}>;
|
|
139
141
|
|
|
140
|
-
export declare function
|
|
141
|
-
|
|
142
|
-
export declare function createWebMcpUpdateToolInputSchema(): Record<string, unknown>;
|
|
142
|
+
export declare function createWebMcpToolInputSchema(): Record<string, unknown>;
|
|
143
143
|
|
|
144
144
|
export declare const DefaultNotFound: default_2.FC;
|
|
145
145
|
|
|
@@ -220,9 +220,6 @@ export declare function JsonPagesEngine({ config }: JsonPagesEngineProps): JSX.E
|
|
|
220
220
|
|
|
221
221
|
declare interface JsonPagesEngineProps {
|
|
222
222
|
config: JsonPagesConfig;
|
|
223
|
-
webMcp?: {
|
|
224
|
-
enabled: boolean;
|
|
225
|
-
};
|
|
226
223
|
}
|
|
227
224
|
|
|
228
225
|
export declare interface LayerItem {
|
|
@@ -546,10 +543,6 @@ export declare function useConfig(): ConfigContextValue;
|
|
|
546
543
|
|
|
547
544
|
export declare const useStudio: () => StudioContextType;
|
|
548
545
|
|
|
549
|
-
export declare const WEBMCP_TOOL_SAVE = "save-project-state";
|
|
550
|
-
|
|
551
|
-
export declare const WEBMCP_TOOL_UPDATE = "update-section-draft";
|
|
552
|
-
|
|
553
546
|
/** Optional WebMCP bridge registration in Studio mode. */
|
|
554
547
|
export declare interface WebMcpConfig {
|
|
555
548
|
/** Enables WebMCP tool registration when Studio is active. */
|