@automattic/jetpack-ai-client 0.33.11 → 0.33.13
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/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.33.13] - 2025-09-19
|
|
9
|
+
### Changed
|
|
10
|
+
- Update package dependencies. [#45229]
|
|
11
|
+
|
|
12
|
+
## [0.33.12] - 2025-09-15
|
|
13
|
+
### Changed
|
|
14
|
+
- Jetpack AI: Change moderation error message [#45121]
|
|
15
|
+
|
|
8
16
|
## [0.33.11] - 2025-09-08
|
|
9
17
|
### Changed
|
|
10
18
|
- Update package dependencies. [#45027] [#45097]
|
|
@@ -702,6 +710,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
702
710
|
- AI Client: stop using smart document visibility handling on the fetchEventSource library, so it does not restart the completion when changing tabs. [#32004]
|
|
703
711
|
- Updated package dependencies. [#31468] [#31659] [#31785]
|
|
704
712
|
|
|
713
|
+
[0.33.13]: https://github.com/Automattic/jetpack-ai-client/compare/v0.33.12...v0.33.13
|
|
714
|
+
[0.33.12]: https://github.com/Automattic/jetpack-ai-client/compare/v0.33.11...v0.33.12
|
|
705
715
|
[0.33.11]: https://github.com/Automattic/jetpack-ai-client/compare/v0.33.10...v0.33.11
|
|
706
716
|
[0.33.10]: https://github.com/Automattic/jetpack-ai-client/compare/v0.33.9...v0.33.10
|
|
707
717
|
[0.33.9]: https://github.com/Automattic/jetpack-ai-client/compare/v0.33.8...v0.33.9
|
|
@@ -40,7 +40,7 @@ export function getErrorData(errorCode) {
|
|
|
40
40
|
case ERROR_MODERATION:
|
|
41
41
|
return {
|
|
42
42
|
code: ERROR_MODERATION,
|
|
43
|
-
message: __('
|
|
43
|
+
message: __('Our service provider OpenAI could not process your prompt due to a moderation system. Please try to rephrase it changing potentially problematic words and try again.', 'jetpack-ai-client'),
|
|
44
44
|
severity: 'info',
|
|
45
45
|
};
|
|
46
46
|
case ERROR_CONTEXT_TOO_LARGE:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/jetpack-ai-client",
|
|
3
|
-
"version": "0.33.
|
|
3
|
+
"version": "0.33.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A JS client for consuming Jetpack AI services",
|
|
6
6
|
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/ai-client/#readme",
|
|
@@ -33,30 +33,30 @@
|
|
|
33
33
|
"watch": "tsc --watch --pretty"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@automattic/jetpack-base-styles": "^1.0.
|
|
37
|
-
"@automattic/jetpack-components": "^1.3.
|
|
38
|
-
"@automattic/jetpack-connection": "^1.4.
|
|
36
|
+
"@automattic/jetpack-base-styles": "^1.0.10",
|
|
37
|
+
"@automattic/jetpack-components": "^1.3.3",
|
|
38
|
+
"@automattic/jetpack-connection": "^1.4.10",
|
|
39
39
|
"@automattic/jetpack-explat": "workspace:*",
|
|
40
40
|
"@automattic/jetpack-script-data": "^0.5.3",
|
|
41
|
-
"@automattic/jetpack-shared-extension-utils": "^1.3.
|
|
41
|
+
"@automattic/jetpack-shared-extension-utils": "^1.3.17",
|
|
42
42
|
"@microsoft/fetch-event-source": "2.0.1",
|
|
43
43
|
"@types/jest": "30.0.0",
|
|
44
44
|
"@types/react": "18.3.23",
|
|
45
45
|
"@types/wordpress__block-editor": "11.5.16",
|
|
46
|
-
"@wordpress/api-fetch": "7.
|
|
47
|
-
"@wordpress/base-styles": "6.
|
|
48
|
-
"@wordpress/blob": "4.
|
|
49
|
-
"@wordpress/block-editor": "15.
|
|
50
|
-
"@wordpress/blocks": "15.
|
|
51
|
-
"@wordpress/components": "30.
|
|
52
|
-
"@wordpress/compose": "7.
|
|
53
|
-
"@wordpress/data": "10.
|
|
54
|
-
"@wordpress/editor": "14.
|
|
55
|
-
"@wordpress/element": "6.
|
|
56
|
-
"@wordpress/i18n": "6.
|
|
57
|
-
"@wordpress/icons": "10.
|
|
58
|
-
"@wordpress/primitives": "4.
|
|
59
|
-
"@wordpress/url": "4.
|
|
46
|
+
"@wordpress/api-fetch": "7.31.0",
|
|
47
|
+
"@wordpress/base-styles": "6.7.0",
|
|
48
|
+
"@wordpress/blob": "4.31.0",
|
|
49
|
+
"@wordpress/block-editor": "15.4.0",
|
|
50
|
+
"@wordpress/blocks": "15.4.0",
|
|
51
|
+
"@wordpress/components": "30.4.0",
|
|
52
|
+
"@wordpress/compose": "7.31.0",
|
|
53
|
+
"@wordpress/data": "10.31.0",
|
|
54
|
+
"@wordpress/editor": "14.31.0",
|
|
55
|
+
"@wordpress/element": "6.31.0",
|
|
56
|
+
"@wordpress/i18n": "6.4.0",
|
|
57
|
+
"@wordpress/icons": "10.31.0",
|
|
58
|
+
"@wordpress/primitives": "4.31.0",
|
|
59
|
+
"@wordpress/url": "4.31.0",
|
|
60
60
|
"clsx": "2.1.1",
|
|
61
61
|
"debug": "4.4.1",
|
|
62
62
|
"markdown-it": "14.1.0",
|
|
@@ -178,7 +178,7 @@ export function getErrorData( errorCode: SuggestionErrorCode ): RequestingErrorP
|
|
|
178
178
|
return {
|
|
179
179
|
code: ERROR_MODERATION,
|
|
180
180
|
message: __(
|
|
181
|
-
'
|
|
181
|
+
'Our service provider OpenAI could not process your prompt due to a moderation system. Please try to rephrase it changing potentially problematic words and try again.',
|
|
182
182
|
'jetpack-ai-client'
|
|
183
183
|
),
|
|
184
184
|
severity: 'info',
|