json-object-editor 0.10.668 → 0.10.671
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/TESTING_PHASE1_PROGRESS.md +216 -0
- package/_www/ai-jobs.html +218 -0
- package/_www/ai-widget-test.html +1 -0
- package/_www/intent-operator.html +387 -0
- package/_www/mcp-nav.js +22 -12
- package/_www/mcp-test.html +287 -287
- package/capp/capp.css +3 -2
- package/css/joe-ai.css +71 -0
- package/css/joe.css +1 -1
- package/docs/JOE_AI_Overview.md +219 -250
- package/docs/protocol_report_template.html +479 -0
- package/docs/protocol_report_template.js +563 -0
- package/docs/schema_summary_guidelines.md +42 -3
- package/js/JsonObjectEditor.jquery.craydent.js +22 -3
- package/js/joe-ai.js +3220 -2301
- package/js/joe.js +23 -4
- package/js/joe.min.js +1 -1
- package/package.json +1 -1
- package/pages/template.html +2 -0
- package/server/app-config.js +1 -1
- package/server/fields/core.js +16 -2
- package/server/init.js +9 -1
- package/server/modules/AiJobs.js +412 -0
- package/server/modules/MCP.js +1481 -1368
- package/server/modules/Server.js +9 -0
- package/server/plugins/chatgpt.js +2332 -2113
- package/server/plugins/intent-operator.js +704 -0
- package/server/schemas/ai_prompt.js +9 -2
- package/server/schemas/report.js +1 -1
- package/server/schemas/task.js +1 -0
- package/web-components/field-jobs-container.js +224 -0
package/server/modules/Server.js
CHANGED
|
@@ -162,6 +162,9 @@ server.get('/mcp-schemas.html', auth, function(req,res){
|
|
|
162
162
|
server.get('/mcp-prompt.html', auth, function(req,res){
|
|
163
163
|
res.sendFile(path.join(JOE.joedir,'_www','mcp-prompt.html'));
|
|
164
164
|
});
|
|
165
|
+
server.get('/ai-jobs.html', auth, function(req,res){
|
|
166
|
+
res.sendFile(path.join(JOE.joedir,'_www','ai-jobs.html'));
|
|
167
|
+
});
|
|
165
168
|
server.get('/matrix.html', auth, function(req,res){
|
|
166
169
|
res.sendFile(path.join(JOE.joedir,'_www','matrix.html'));
|
|
167
170
|
});
|
|
@@ -296,6 +299,12 @@ server.get(['/API/search/','/API/search/:query'],auth,function(req,res,next){
|
|
|
296
299
|
highlight: (req.query.highlight==='true'||req.query.highlight==='1') || undefined
|
|
297
300
|
};
|
|
298
301
|
}
|
|
302
|
+
// Extract itemtype/schema from query params and add to queryObj (always, not post-processing)
|
|
303
|
+
if (req.query.itemtype) {
|
|
304
|
+
queryObj.itemtype = req.query.itemtype;
|
|
305
|
+
} else if (req.query.schema) { // legacy alias
|
|
306
|
+
queryObj.itemtype = req.query.schema;
|
|
307
|
+
}
|
|
299
308
|
var payload = {query:queryObj};
|
|
300
309
|
payload.results = JOE.Cache.search(queryObj);
|
|
301
310
|
/*payload.results.map(function(res){
|