@usecrow/ui 0.1.42 → 0.1.43
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.cjs +13 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -3194,6 +3194,19 @@ function CrowWidget({
|
|
|
3194
3194
|
});
|
|
3195
3195
|
}
|
|
3196
3196
|
}, [browserUseEnabled, isLoadingStyles, productId, apiUrl, autoTools]);
|
|
3197
|
+
React3.useEffect(() => {
|
|
3198
|
+
if (browserUseEnabled && !isLoadingStyles && !autoTools.execute_recorded_workflow) {
|
|
3199
|
+
import('@usecrow/client/browser').then(({ createExecuteRecordedWorkflowTool }) => {
|
|
3200
|
+
setAutoTools((prev) => ({
|
|
3201
|
+
...prev,
|
|
3202
|
+
execute_recorded_workflow: createExecuteRecordedWorkflowTool({ productId, apiUrl })
|
|
3203
|
+
}));
|
|
3204
|
+
console.log("[Crow] execute_recorded_workflow tool auto-loaded");
|
|
3205
|
+
}).catch((err) => {
|
|
3206
|
+
console.warn("[Crow] Failed to load execute_recorded_workflow:", err);
|
|
3207
|
+
});
|
|
3208
|
+
}
|
|
3209
|
+
}, [browserUseEnabled, isLoadingStyles, productId, apiUrl, autoTools]);
|
|
3197
3210
|
React3.useEffect(() => {
|
|
3198
3211
|
if (pageNavigationEnabled && pageNavigationRoutes.length > 0 && !isLoadingStyles) {
|
|
3199
3212
|
import('@usecrow/client').then(({ createNavigateToPageTool }) => {
|