@ggui-ai/mcp-server-handlers 0.12.0 → 0.13.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.
- package/dist/renders/amend.d.ts +12 -0
- package/dist/renders/amend.d.ts.map +1 -1
- package/dist/renders/amend.js +12 -0
- package/package.json +9 -9
package/dist/renders/amend.d.ts
CHANGED
|
@@ -37,6 +37,18 @@ declare const outputSchema: {
|
|
|
37
37
|
* The BARE live-head URI — amend targets the mounted card and never
|
|
38
38
|
* mints a record, so there is no pinned URI to return and no epoch
|
|
39
39
|
* field (the history number is untouched by construction).
|
|
40
|
+
*
|
|
41
|
+
* NORMATIVE re-anchor reference (SPEC §7.1.2.1, ggui#652 /
|
|
42
|
+
* guuey#535): together with `sessionId` this is the durable record
|
|
43
|
+
* that an in-place repaint touched this session at this turn. A
|
|
44
|
+
* host's persistence layer MAY consume it as a locator-only
|
|
45
|
+
* re-anchor — `resources/read`-resolvable, stable for the session's
|
|
46
|
+
* lifetime — so a restored transcript re-positions the card at its
|
|
47
|
+
* latest referencing turn and rehydrates CURRENT state instead of a
|
|
48
|
+
* stale earlier snapshot. It rides structuredContent (LLM-visible,
|
|
49
|
+
* same rationale as ggui_update's resourceUri: consumers that strip
|
|
50
|
+
* `_meta` still reach it) and MUST NOT move to a result `_meta`
|
|
51
|
+
* slice — see the NO-resultMeta pin below.
|
|
40
52
|
*/
|
|
41
53
|
readonly resourceUri: z.ZodString;
|
|
42
54
|
/** No-op feedback channel — same semantics as ggui_update's. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"amend.d.ts","sourceRoot":"","sources":["../../src/renders/amend.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAkB,aAAa,EAAE,MAAM,aAAa,CAAC;AACjE,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEzD;;;;;;GAMG;AACH,MAAM,MAAM,oBAAoB,GAAG,qBAAqB,CAAC;AAEzD,QAAA,MAAM,YAAY;;;IAGhB
|
|
1
|
+
{"version":3,"file":"amend.d.ts","sourceRoot":"","sources":["../../src/renders/amend.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAkB,aAAa,EAAE,MAAM,aAAa,CAAC;AACjE,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEzD;;;;;;GAMG;AACH,MAAM,MAAM,oBAAoB,GAAG,qBAAqB,CAAC;AAEzD,QAAA,MAAM,YAAY;;;IAGhB;;;;;;;;;;;;;;;;OAgBG;;IAEH,gEAAgE;;IAEhE,sEAAsE;;;CAa9D,CAAC;AAEX,UAAU,WAAW;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,oBAAoB,GACzB,aAAa,CAAC,OAAO,mBAAmB,EAAE,OAAO,YAAY,EAAE,WAAW,CAAC,CAgC7E"}
|
package/dist/renders/amend.js
CHANGED
|
@@ -27,6 +27,18 @@ const outputSchema = {
|
|
|
27
27
|
* The BARE live-head URI — amend targets the mounted card and never
|
|
28
28
|
* mints a record, so there is no pinned URI to return and no epoch
|
|
29
29
|
* field (the history number is untouched by construction).
|
|
30
|
+
*
|
|
31
|
+
* NORMATIVE re-anchor reference (SPEC §7.1.2.1, ggui#652 /
|
|
32
|
+
* guuey#535): together with `sessionId` this is the durable record
|
|
33
|
+
* that an in-place repaint touched this session at this turn. A
|
|
34
|
+
* host's persistence layer MAY consume it as a locator-only
|
|
35
|
+
* re-anchor — `resources/read`-resolvable, stable for the session's
|
|
36
|
+
* lifetime — so a restored transcript re-positions the card at its
|
|
37
|
+
* latest referencing turn and rehydrates CURRENT state instead of a
|
|
38
|
+
* stale earlier snapshot. It rides structuredContent (LLM-visible,
|
|
39
|
+
* same rationale as ggui_update's resourceUri: consumers that strip
|
|
40
|
+
* `_meta` still reach it) and MUST NOT move to a result `_meta`
|
|
41
|
+
* slice — see the NO-resultMeta pin below.
|
|
30
42
|
*/
|
|
31
43
|
resourceUri: z.string(),
|
|
32
44
|
/** No-op feedback channel — same semantics as ggui_update's. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ggui-ai/mcp-server-handlers",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "MCP tool handler logic for the ggui protocol. Pure over @ggui-ai/mcp-server-core seams and consumed by @ggui-ai/mcp-server. Never imports AWS, HTTP transports, or CLI concerns.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ggui",
|
|
@@ -74,18 +74,18 @@
|
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"canonicalize": "^2.0.0",
|
|
76
76
|
"zod": "^4.3.6",
|
|
77
|
-
"@ggui-ai/mcp-server-core": "0.
|
|
78
|
-
"@ggui-ai/negotiator": "0.
|
|
79
|
-
"@ggui-ai/protocol": "0.
|
|
80
|
-
"@ggui-ai/ui-gen": "0.
|
|
81
|
-
"@ggui-ai/ui-registry": "0.
|
|
77
|
+
"@ggui-ai/mcp-server-core": "0.13.0",
|
|
78
|
+
"@ggui-ai/negotiator": "0.13.0",
|
|
79
|
+
"@ggui-ai/protocol": "0.13.0",
|
|
80
|
+
"@ggui-ai/ui-gen": "0.13.0",
|
|
81
|
+
"@ggui-ai/ui-registry": "0.13.0"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@types/node": "^22.0.0",
|
|
85
85
|
"typescript": "^5.0.0",
|
|
86
86
|
"vitest": "^3.2.6",
|
|
87
|
-
"@ggui-ai/
|
|
88
|
-
"@ggui-ai/
|
|
87
|
+
"@ggui-ai/protocol-conformance": "0.13.0",
|
|
88
|
+
"@ggui-ai/embedding-local": "0.13.0"
|
|
89
89
|
},
|
|
90
90
|
"repository": {
|
|
91
91
|
"type": "git",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
},
|
|
105
105
|
"author": "ggui contributors <hello@ggui.ai>",
|
|
106
106
|
"scripts": {
|
|
107
|
-
"build": "rm -rf dist && tsc -p tsconfig.build.json && node ../scripts/fix-esm-imports.mjs dist",
|
|
107
|
+
"build": "rm -rf dist.staging && tsc -p tsconfig.build.json --outDir dist.staging && node ../scripts/fix-esm-imports.mjs dist.staging && node ../scripts/atomic-swap.mjs dist.staging dist",
|
|
108
108
|
"dev": "tsc --watch",
|
|
109
109
|
"typecheck": "tsc --noEmit",
|
|
110
110
|
"test": "vitest run",
|