@ggui-ai/mcp-server-handlers 0.27.0 → 0.28.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.
@@ -410,19 +410,19 @@ export declare function createGguiHandshakeHandler(deps: GguiHandshakeHandlerDep
410
410
  }, z.core.$strict>;
411
411
  readonly forceCreate: z.ZodOptional<z.ZodBoolean>;
412
412
  }, {
413
- readonly handshakeId: z.ZodString;
414
- readonly action: z.ZodEnum<{
413
+ handshakeId: z.ZodString;
414
+ action: z.ZodEnum<{
415
415
  replace: "replace";
416
- declined: "declined";
416
+ update: "update";
417
417
  create: "create";
418
418
  reuse: "reuse";
419
- update: "update";
419
+ declined: "declined";
420
420
  }>;
421
- readonly suggestion: z.ZodType<HandshakeSuggestion, unknown, z.core.$ZodTypeInternals<HandshakeSuggestion, unknown>>;
422
- readonly propsSchema: z.ZodOptional<z.ZodType<JsonSchema, unknown, z.core.$ZodTypeInternals<JsonSchema, unknown>>>;
423
- readonly propsSchemaHash: z.ZodOptional<z.ZodString>;
424
- readonly propsSchemaProfile: z.ZodOptional<z.ZodString>;
425
- readonly nextStep: z.ZodOptional<z.ZodObject<{
421
+ suggestion: z.ZodType<import("@ggui-ai/protocol").HandshakeSuggestion, unknown, z.core.$ZodTypeInternals<import("@ggui-ai/protocol").HandshakeSuggestion, unknown>>;
422
+ propsSchema: z.ZodOptional<z.ZodType<import("@ggui-ai/protocol").JsonSchema, unknown, z.core.$ZodTypeInternals<import("@ggui-ai/protocol").JsonSchema, unknown>>>;
423
+ propsSchemaHash: z.ZodOptional<z.ZodString>;
424
+ propsSchemaProfile: z.ZodOptional<z.ZodString>;
425
+ nextStep: z.ZodOptional<z.ZodObject<{
426
426
  tool: z.ZodLiteral<"ggui_render">;
427
427
  example: z.ZodString;
428
428
  }, z.core.$strip>>;
@@ -1 +1 @@
1
- {"version":3,"file":"handshake.d.ts","sourceRoot":"","sources":["../../src/renders/handshake.ts"],"names":[],"mappings":"AAsC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AM,CAAC;IACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC;IACxE,QAAQ,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;IAC7C,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC;;;;;OAKG;IACH,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB,GAAG,cAAc,CAAC;IACnE,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IACtC;;;;;;;OAOG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC;IAC1C,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,MAAM,GAAG,SAAS,GACzB,MAAM,GAAG,SAAS,CAOpB"}
@@ -40,7 +40,7 @@ import { DomainError } from '@ggui-ai/protocol';
40
40
  import { z } from 'zod';
41
41
  import { isGeneratorRegistered } from './assert-generator.js';
42
42
  import { blueprintKey } from '@ggui-ai/protocol/blueprint-key';
43
- import { resolveAppGadgets, blueprintSourceToFlat, validateContract, lintContract, summarizeContract, dataContractSchema, handshakeSuggestionSchema, handshakeInputSchema, blueprintDraftObjectSchema, DATA_CONTRACT_SHAPE_RULE, DATA_CONTRACT_MINIMAL_EXAMPLE, buildEnforcedPropsSchema, canonicalPropsSchemaBytes, classifyPropsSchemaProfile, jsonSchemaSchema, } from '@ggui-ai/protocol';
43
+ import { resolveAppGadgets, blueprintSourceToFlat, validateContract, lintContract, summarizeContract, dataContractSchema, handshakeInputSchema, handshakeOutputSchema, blueprintDraftObjectSchema, DATA_CONTRACT_SHAPE_RULE, DATA_CONTRACT_MINIMAL_EXAMPLE, buildEnforcedPropsSchema, canonicalPropsSchemaBytes, classifyPropsSchemaProfile, } from '@ggui-ai/protocol';
44
44
  import { computePropsSchemaHash } from '@ggui-ai/protocol/props-schema-hash';
45
45
  import { defineHandler } from '../types.js';
46
46
  import { buildSalvagedOrDeclined } from './handshake-fallbacks.js';
@@ -129,38 +129,20 @@ const inputSchema = {
129
129
  .describe(handshakeInputSchema.shape.blueprintDraft.description ?? ''),
130
130
  forceCreate: handshakeInputSchema.shape.forceCreate,
131
131
  };
132
- /** Output zod-shape mirror. Same shape as `handshakeOutputSchema`.
133
- *
134
- * The three `propsSchema*` fields are the schema-precise render wire
135
- * surface (frozen 2026-08-19; docs/plans/2026-08-19-schema-precise-render.md
136
- * §2). P3 pin 1: they are declared HERE, on the zod output schema, and
137
- * ride the RESULT BODY (`structuredContent`) — never `_meta` — so the
138
- * vocabulary stays in the model's context and transcript-reading
139
- * runtimes can consume it. This zod schema is an active strip gate;
140
- * an emitted-but-undeclared field silently disappears from the wire.
132
+ /**
133
+ * Output zod shape — the protocol's `handshakeOutputSchema`, not a mirror
134
+ * of it (ggui#1736). One definition: what `tools/list` advertises and what
135
+ * this strip gate lets onto `structuredContent` is the protocol schema, so
136
+ * the two cannot drift again (a mirror did, carrying `reason` and a
137
+ * `nextStep.description` the wire never had and lacking the three
138
+ * `propsSchema*` members). The three `propsSchema*` fields are the
139
+ * schema-precise render wire surface (frozen 2026-08-19;
140
+ * docs/plans/2026-08-19-schema-precise-render.md §2); P3 pin 1 holds —
141
+ * they are declared on the zod output schema and ride the RESULT BODY
142
+ * (`structuredContent`), never `_meta`. This zod schema is an active strip
143
+ * gate; an emitted-but-undeclared field silently disappears from the wire.
141
144
  */
142
- const outputSchema = {
143
- handshakeId: z.string(),
144
- action: z.enum(['create', 'reuse', 'update', 'replace', 'declined']),
145
- suggestion: handshakeSuggestionSchema,
146
- propsSchema: jsonSchemaSchema
147
- .optional()
148
- .describe('The exact JSON Schema the paired ggui_render enforces for this handshakeId — generate props that satisfy it (enum fields list their full legal vocabulary). Present when the agreed contract differs from your draft; when absent, your draft propsSpec is agreed verbatim. Advisory: no agent obligation attaches to reading it; runtimes MAY compile it for constrained argument generation.'),
149
- propsSchemaHash: z
150
- .string()
151
- .optional()
152
- .describe('sha256 (lowercase hex) over the RFC 8785 canonical form of the enforced props schema. Present on every non-declined handshake. A later contract_violation carries the hash of the schema it enforced — equal hashes mean the props were at fault.'),
153
- propsSchemaProfile: z
154
- .string()
155
- .optional()
156
- .describe("Grammar profile of the enforced props schema: 'grammar-safe' (every keyword is in the enumerated core — a runtime can compile the schema into a decoding grammar) or 'full' (read the schema as context instead). Treat unrecognized values as 'full'; the set may grow in minor versions."),
157
- nextStep: z
158
- .object({
159
- tool: z.literal('ggui_render'),
160
- example: z.string(),
161
- })
162
- .optional(),
163
- };
145
+ const outputSchema = handshakeOutputSchema.shape;
164
146
  /**
165
147
  * Build the OSS `ggui_handshake` handler. See file-level docstring for
166
148
  * the full algorithm.
@@ -607,7 +607,7 @@ export const PAIRS = [
607
607
  },
608
608
  expect: { verdict: 'miss' },
609
609
  reuseWouldBeWrong: true,
610
- rationale: 'Live-filter vs click-to-search are different interaction patterns (the synth corpus treats them as distinct shapes); a live-filter surface cannot honor the submit contract.',
610
+ rationale: 'Different interaction MODEL, which is part of UI shape (protocol and design ruling, 2026-10-11, ggui#1795): the seed is context-only — `contextSpec.query` narrows `results` it already has, nothing to press — while the probe submits `actionSpec.runSearch` to fetch (a button, a pending state, results that arrive). That is the contract line in docs/principles/actions-vs-context.md (actions drive turns; context observes state), not an action-count delta, so the coverage-blind "differing actions do not block" rule does not apply and the judge prompt names the model line explicitly. Verbatim reuse would also fail `isFulfillable` on the missing action member, which is why `reuseWouldBeWrong` holds at the system level too.',
611
611
  },
612
612
  // -------------------------------------------------------------------------
613
613
  // DEBATED — scored for judge stability (repeat agreement) only; never
@@ -14,6 +14,6 @@
14
14
  * decision, which a probe then scored as a no-match.
15
15
  */
16
16
  import type { LLMCaller } from "@ggui-ai/negotiator";
17
- export declare const DEFAULT_PROBE_JUDGE_MODEL = "claude-haiku-4-5";
17
+ export declare const DEFAULT_PROBE_JUDGE_MODEL = "claude-haiku-5-5";
18
18
  export declare function anthropicProbeJudge(apiKey: string, model?: string): LLMCaller;
19
19
  //# sourceMappingURL=probe-anthropic-judge.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { anthropicRejectsForcedToolChoice, isRecord } from "@ggui-ai/protocol";
2
2
  const ANTHROPIC_MESSAGES_URL = "https://api.anthropic.com/v1/messages";
3
- export const DEFAULT_PROBE_JUDGE_MODEL = "claude-haiku-4-5";
3
+ export const DEFAULT_PROBE_JUDGE_MODEL = "claude-haiku-5-5";
4
4
  const PROBE_ANSWER_BUDGET = 512;
5
5
  /**
6
6
  * Thinking budget added for a model that refuses a forced tool. Same
@@ -51,7 +51,10 @@
51
51
  * **The puller's obligation (ggui#1030).** `wait` MUST NOT exceed the
52
52
  * `tools/call` timeout of the host relaying the call, minus a margin; a
53
53
  * host that relays a pull MUST clamp the forwarded `wait` to its own
54
- * timeout − 1 s. A host timeout below the hold is a CALLER-side failure:
54
+ * timeout − 1 s, and MUST NOT re-issue a held pull on its own timeout
55
+ * (ggui#1735: the caller's backoff lives above the relay, so a relay-side
56
+ * retry multiplies holds here while the caller sees one failure). A host
57
+ * timeout below the hold is a CALLER-side failure:
55
58
  * the server's `success` after the socket closed is not a server fault,
56
59
  * and the rung MUST demote to sparse un-held pulls on such failures as it
57
60
  * does on consecutive empties — otherwise a hot `wait` under a short host
@@ -1 +1 @@
1
- {"version":3,"file":"runtime-pull.d.ts","sourceRoot":"","sources":["../../src/renders/runtime-pull.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAiCjE,MAAM,WAAW,0BAA0B;IACzC;;;;OAIG;IACH,QAAQ,CAAC,WAAW,EAAE,gBAAgB,CAAC;IACvC;;;;;;;;OAQG;IACH,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC;CACvC;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,0BAA0B;;;;;;IArC3E,4EAA4E;;;;;;;IAE5E,6FAA6F;;IAE7F,sFAAsF;;IAEtF,qGAAqG;;IAErG,kFAAkF;;;;;;;;;;;;;GA8JnF"}
1
+ {"version":3,"file":"runtime-pull.d.ts","sourceRoot":"","sources":["../../src/renders/runtime-pull.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiFG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAiCjE,MAAM,WAAW,0BAA0B;IACzC;;;;OAIG;IACH,QAAQ,CAAC,WAAW,EAAE,gBAAgB,CAAC;IACvC;;;;;;;;OAQG;IACH,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC;CACvC;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,0BAA0B;;;;;;IArC3E,4EAA4E;;;;;;;IAE5E,6FAA6F;;IAE7F,sFAAsF;;IAEtF,qGAAqG;;IAErG,kFAAkF;;;;;;;;;;;;;GA8JnF"}
@@ -51,7 +51,10 @@
51
51
  * **The puller's obligation (ggui#1030).** `wait` MUST NOT exceed the
52
52
  * `tools/call` timeout of the host relaying the call, minus a margin; a
53
53
  * host that relays a pull MUST clamp the forwarded `wait` to its own
54
- * timeout − 1 s. A host timeout below the hold is a CALLER-side failure:
54
+ * timeout − 1 s, and MUST NOT re-issue a held pull on its own timeout
55
+ * (ggui#1735: the caller's backoff lives above the relay, so a relay-side
56
+ * retry multiplies holds here while the caller sees one failure). A host
57
+ * timeout below the hold is a CALLER-side failure:
55
58
  * the server's `success` after the socket closed is not a server fault,
56
59
  * and the rung MUST demote to sparse un-held pulls on such failures as it
57
60
  * does on consecutive empties — otherwise a hot `wait` under a short host
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ggui-ai/mcp-server-handlers",
3
- "version": "0.27.0",
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.",
3
+ "version": "0.28.0",
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",
7
7
  "mcp",
@@ -58,18 +58,18 @@
58
58
  "dependencies": {
59
59
  "canonicalize": "^2.0.0",
60
60
  "zod": "^4.3.6",
61
- "@ggui-ai/mcp-server-core": "0.27.0",
62
- "@ggui-ai/ui-gen": "0.27.0",
63
- "@ggui-ai/ui-registry": "0.27.0",
64
- "@ggui-ai/protocol": "0.27.0",
65
- "@ggui-ai/negotiator": "0.27.0"
61
+ "@ggui-ai/protocol": "0.28.0",
62
+ "@ggui-ai/ui-registry": "0.28.0",
63
+ "@ggui-ai/ui-gen": "0.28.0",
64
+ "@ggui-ai/mcp-server-core": "0.28.0",
65
+ "@ggui-ai/negotiator": "0.28.0"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@types/node": "^22.0.0",
69
69
  "typescript": "^5.0.0",
70
70
  "vitest": "^3.2.6",
71
- "@ggui-ai/embedding-local": "0.27.0",
72
- "@ggui-ai/protocol-conformance": "0.27.0"
71
+ "@ggui-ai/embedding-local": "0.28.0",
72
+ "@ggui-ai/protocol-conformance": "0.28.0"
73
73
  },
74
74
  "repository": {
75
75
  "type": "git",