@ggui-ai/protocol-reference-server 0.22.0 → 0.24.0
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conformance-host.d.ts","sourceRoot":"","sources":["../src/conformance-host.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"conformance-host.d.ts","sourceRoot":"","sources":["../src/conformance-host.ts"],"names":[],"mappings":"AAoDA,OAAO,KAAK,EACV,eAAe,EAEhB,MAAM,+BAA+B,CAAC;AAGvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,MAAM,WAAW,mCAAmC;IAClD,QAAQ,CAAC,cAAc,EAAE,eAAe,CAAC;CAC1C;AAED;;;;;;;;;GASG;AACH,wBAAgB,8BAA8B,CAAC,EAC7C,cAAc,GACf,EAAE,mCAAmC,GAAG,eAAe,CA+IvD"}
|
package/dist/conformance-host.js
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* Throw (kit records SKIP, not FAIL):
|
|
19
19
|
* - renderer-url-override — unimplemented (browser-level)
|
|
20
20
|
* - ui-initialize-response-override — unimplemented
|
|
21
|
+
* - tool-result-override — unimplemented (MCP Apps host concern)
|
|
21
22
|
*
|
|
22
23
|
* The "throw" set matches the conformance kit's `unmatchable-on-ws`
|
|
23
24
|
* skip expectations — browser-level fault injection that requires a
|
|
@@ -133,6 +134,9 @@ export function createReferenceConformanceHost({ serverInstance, }) {
|
|
|
133
134
|
if (step.kind === 'ui-initialize-response-override') {
|
|
134
135
|
throw new Error('reference server does not implement ui-initialize-response-override — MCP Apps host concern, out of scope');
|
|
135
136
|
}
|
|
137
|
+
if (step.kind === 'tool-result-override') {
|
|
138
|
+
throw new Error('reference server does not implement tool-result-override — forwarding a tool result is an MCP Apps host concern, out of scope');
|
|
139
|
+
}
|
|
136
140
|
return unreachableSetupStep(step);
|
|
137
141
|
},
|
|
138
142
|
async readSessionField(sessionId, field) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ggui-ai/protocol-reference-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": "Minimal reference implementation of the ggui protocol. Implements exactly enough of the live-channel WebSocket wire to pass the @ggui-ai/protocol-conformance kit. Not a production server — it exists to prove the protocol is vendor-neutral: an independent, from-scratch implementation passing the kit grounds that claim empirically.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ggui",
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"ws": "^8.20.1",
|
|
32
|
-
"@ggui-ai/protocol": "0.
|
|
32
|
+
"@ggui-ai/protocol": "0.24.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/node": "^22.0.0",
|
|
36
36
|
"@types/ws": "^8.5.10",
|
|
37
37
|
"typescript": "^5.0.0",
|
|
38
38
|
"vitest": "^3.2.6",
|
|
39
|
-
"@ggui-ai/protocol-conformance": "0.
|
|
39
|
+
"@ggui-ai/protocol-conformance": "0.24.0"
|
|
40
40
|
},
|
|
41
41
|
"repository": {
|
|
42
42
|
"type": "git",
|