Skip to content

Commit f7667dc

Browse files
author
Smart Cloud Solutions Inc.
committed
fix(ai-kit): harden frontend block mounting and optimize DocSearch metadata loading with cache and request deduplication
1 parent a8a46a7 commit f7667dc

31 files changed

Lines changed: 325 additions & 235 deletions
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ai-kit-admin/dist/index.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('jquery', 'react', 'react-dom', 'react-jsx-runtime', 'wp-components', 'wp-data', 'wp-i18n'), 'version' => '62ae99f41fce601125a5');
1+
<?php return array('dependencies' => array('jquery', 'react', 'react-dom', 'react-jsx-runtime', 'wp-components', 'wp-data', 'wp-i18n'), 'version' => 'd71e44b9c1bfa0d99f01');

ai-kit-admin/dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ai-kit-admin/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@smart-cloud/ai-kit-admin",
33
"private": true,
4-
"version": "1.3.16",
4+
"version": "1.3.17",
55
"type": "module",
66
"license": "ISC",
77
"scripts": {
@@ -22,7 +22,7 @@
2222
"@hello-pangea/dnd": "^18.0.1",
2323
"@monaco-editor/react": "^4.7.0",
2424
"@smart-cloud/ai-kit-core": "^1.4.7",
25-
"@smart-cloud/ai-kit-ui": "^1.4.11",
25+
"@smart-cloud/ai-kit-ui": "^1.4.12",
2626
"@smart-cloud/gatey-core": "^2.2.2",
2727
"@tabler/icons-react": "^3.40.0",
2828
"@tanstack/react-query": "^5.90.21",

ai-kit-admin/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3883,10 +3883,10 @@
38833883
"@smart-cloud/wpsuite-core" "^2.2.10"
38843884
aws-amplify "^6.16.3"
38853885

3886-
"@smart-cloud/ai-kit-ui@^1.4.11":
3887-
version "1.4.11"
3888-
resolved "https://registry.npmjs.org/@smart-cloud/ai-kit-ui/-/ai-kit-ui-1.4.11.tgz#8cfb3b91137cbb5e57076df08f62e571dc2e9142"
3889-
integrity sha512-u4kk+Y4XIMRz/FnOBJ+QSDGTItLv/6TT548Ea2xyFbFbEgYt1bRWmKFYEYTU4KPfK3JmNueTiI50kgJLbqxaLg==
3886+
"@smart-cloud/ai-kit-ui@^1.4.12":
3887+
version "1.4.12"
3888+
resolved "https://registry.npmjs.org/@smart-cloud/ai-kit-ui/-/ai-kit-ui-1.4.12.tgz#65fc0c078091bd436e10d88b35a8887b8a3eaaea"
3889+
integrity sha512-3D5Teb3/4Mfx7i7qJgDfJnj7hjVhNKTt+uu6qJkRK99QQtQVQxfrffJA7X8d6qjwqoZ1BvTDQEMhezZGLSfrJA==
38903890
dependencies:
38913891
"@emotion/cache" "^11.14.0"
38923892
"@emotion/react" "^11.14.0"

ai-kit-blocks/dist/ai-feature/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"apiVersion": 3,
44
"name": "smartcloud-ai-kit/feature",
5-
"version": "1.1.6",
5+
"version": "1.1.7",
66
"title": "AI-Kit Feature (PRO)",
77
"category": "smartcloud-ai-kit",
88
"description": "AI-Kit Feature - add AI-powered features to your site",

ai-kit-blocks/dist/doc-search/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"apiVersion": 3,
44
"name": "smartcloud-ai-kit/doc-search",
5-
"version": "1.3.10",
5+
"version": "1.3.11",
66
"title": "AI-Kit Doc Search (PRO)",
77
"category": "smartcloud-ai-kit",
88
"description": "AI-Kit Doc Search - knowledge base search summary with sources",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '8ffe613288822cef7625');
1+
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '7b81782bfdf85d5e7adb');

ai-kit-blocks/dist/editor.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ai-kit-blocks/dist/view.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('jquery', 'react', 'react-dom', 'react-jsx-runtime', 'wp-data', 'wp-i18n'), 'version' => '28eb59314f5f7a807700');
1+
<?php return array('dependencies' => array('jquery', 'react', 'react-dom', 'react-jsx-runtime', 'wp-data', 'wp-i18n'), 'version' => '6c83eac714bb9fcc7084');

0 commit comments

Comments
 (0)