@aborruso/ckan-mcp-server 0.4.44 → 0.4.45
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/LOG.md +7 -0
- package/dist/index.js +4 -1
- package/dist/worker.js +22 -5
- package/package.json +1 -1
package/LOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# LOG
|
|
2
2
|
|
|
3
|
+
## 2026-02-23 (v0.4.45)
|
|
4
|
+
|
|
5
|
+
- Fix MCP Apps: add timeout fallback to SEP-1865 handshake
|
|
6
|
+
- If host doesn't respond to `ui/initialize` within 1.5s, send `initialized` anyway
|
|
7
|
+
- Handles hosts with partial spec support without blocking the widget forever
|
|
8
|
+
- Fixed in both `src/ui/datastore-table.html` and inlined HTML in `src/resources/datastore-table-ui.ts`
|
|
9
|
+
|
|
3
10
|
## 2026-02-23 (v0.4.44)
|
|
4
11
|
|
|
5
12
|
- Fix MCP Apps: implement mandatory SEP-1865 handshake in DataStore Table Viewer HTML
|
package/dist/index.js
CHANGED
|
@@ -7196,8 +7196,11 @@ var DATASTORE_TABLE_HTML = `<!DOCTYPE html>
|
|
|
7196
7196
|
function mcpNot(method,params){
|
|
7197
7197
|
window.parent.postMessage({jsonrpc:'2.0',method:method,params:params||{}},'*');
|
|
7198
7198
|
}
|
|
7199
|
+
var _inited=false;
|
|
7200
|
+
function sendInited(){if(_inited)return;_inited=true;mcpNot('ui/notifications/initialized');}
|
|
7201
|
+
setTimeout(sendInited,1500);
|
|
7199
7202
|
mcpReq('ui/initialize',{protocolVersion:'2026-01-26',appCapabilities:{},appInfo:{name:'ckan-datastore-table',version:'1.0.0'}})
|
|
7200
|
-
.then(
|
|
7203
|
+
.then(sendInited).catch(sendInited);
|
|
7201
7204
|
window.addEventListener('message',function(event){
|
|
7202
7205
|
var msg=event.data;
|
|
7203
7206
|
if(!msg||typeof msg!=='object') return;
|