From 4b24bd067a4d2e47d66906f45a9d7fb6fb0ddf63 Mon Sep 17 00:00:00 2001 From: Hoan HL Date: Thu, 30 Jul 2026 08:15:52 +0700 Subject: [PATCH 1/2] update schema version 0.4.2 --- typescript/package-lock.json | 8 ++++---- typescript/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/typescript/package-lock.json b/typescript/package-lock.json index 13810d0..640dda1 100644 --- a/typescript/package-lock.json +++ b/typescript/package-lock.json @@ -9,7 +9,7 @@ "version": "0.10.0", "license": "MIT", "dependencies": { - "@jambonz/schema": "^0.4.1", + "@jambonz/schema": "^0.4.2", "ajv": "^8.17.1", "ws": "^8.18.0" }, @@ -582,9 +582,9 @@ } }, "node_modules/@jambonz/schema": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/@jambonz/schema/-/schema-0.4.1.tgz", - "integrity": "sha512-Q1YTuIgcGbU3dvI7Gc0aBvlHDUz8Pbz1XX6YTYZ8nEifuJc1AtQbW+mFCJhidodV7FBzW3eY7bQ1feoL0G91lw==", + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/@jambonz/schema/-/schema-0.4.2.tgz", + "integrity": "sha512-UEM+LN1nMaCmwYv/EiLD+MDS5wF8pCEXz7Oe44n27REmtW/Ndh5qOHJPuFfhiHSnsybt+MngqIgnRXaPx5rXtA==", "license": "MIT", "dependencies": { "ajv": "^8.17.1", diff --git a/typescript/package.json b/typescript/package.json index f089902..0e32138 100644 --- a/typescript/package.json +++ b/typescript/package.json @@ -95,7 +95,7 @@ "postpublish": "npm run clean-docs" }, "dependencies": { - "@jambonz/schema": "^0.4.1", + "@jambonz/schema": "^0.4.2", "ajv": "^8.17.1", "ws": "^8.18.0" }, From f0238f19921362a025331d5aac0911c76c6b9421 Mon Sep 17 00:00:00 2001 From: Hoan HL Date: Thu, 30 Jul 2026 08:24:19 +0700 Subject: [PATCH 2/2] fix failing testcase --- typescript/src/types/verbs.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/typescript/src/types/verbs.ts b/typescript/src/types/verbs.ts index 2a6fdf2..3e44ec8 100644 --- a/typescript/src/types/verbs.ts +++ b/typescript/src/types/verbs.ts @@ -287,6 +287,9 @@ export interface DialogflowVerb { actionHook?: ActionHook; /** Webhook for Dialogflow events. */ eventHook?: ActionHook; + /** Webhook invoked when the agent requests a client-side tool call (CX). + * Respond with {outputParameters} (or {error}) to resume the conversation. */ + toolHook?: ActionHook; /** Event types to receive via eventHook. */ events?: string[]; /** Event to trigger at conversation start. */