json-object-editor 0.10.664 → 0.10.668
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 +9 -1
- package/css/joe-styles.css +4390 -4324
- package/css/joe.css +4391 -4325
- package/css/joe.min.css +1 -1
- package/es5-build/js/JsonObjectEditor_es5.jquery.craydent.js +11059 -11049
- package/js/JsonObjectEditor.jquery.craydent.js +11599 -11543
- package/js/joe-test.js +9669 -9659
- package/js/joe.js +11600 -11544
- package/js/joe.min.js +1 -1
- package/js/joe_es5.js +11071 -11061
- package/package.json +1 -1
- package/server/plugins/chatgpt.js +114 -13
- package/server/schemas/ai_prompt.js +13 -2
- package/server/schemas/ai_response.js +1 -0
- package/web-components/joe-workflow-widget.js +314 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
## 0.10.
|
|
1
|
+
## 0.10.668 - The Workflow Widget
|
|
2
|
+
|
|
3
|
+
## 0.10.665
|
|
4
|
+
|
|
5
|
+
- AI Response JSON extraction and audit trail improvements
|
|
6
|
+
- **JSON extraction**: Enhanced `extractJsonText` to handle cases where tool call logs and reasoning text are concatenated before the actual JSON response. The function now finds all JSON objects in the response, filters out tool call logs (objects starting with `{"tool":`), and returns the largest valid JSON object that matches the expected response structure.
|
|
7
|
+
- **Raw response preservation**: Added `response_raw` field to `ai_response` schema to preserve the complete original response from OpenAI (including tool logs, reasoning text, etc.) for full audit/debugging while `response` contains the cleaned JSON string for merges.
|
|
8
|
+
- **Merge reliability**: Updated `compareResponseToObject` and `updateObjectFromResponse` methods to prefer `response_json` (already parsed) when available, with fallback to parsing `response` string, reducing double-parsing and improving reliability.
|
|
9
|
+
- **Response storage**: `executeJOEAiPrompt` now stores both `response_raw` (original) and `response` (cleaned JSON) to maintain complete audit trail while ensuring merge operations work with clean, parseable JSON.## 0.10.663
|
|
2
10
|
|
|
3
11
|
- Plugin inventory debug page
|
|
4
12
|
- Added `_www/plugins-test.html`, a secured debug page that lists all active plugins, their async/top-level methods, and which apps use them, sourced from the `plugin-utils` plugin.
|