@nylorun/agents 0.32.0-beta → 0.33.0-beta

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @nylorun/agents
2
2
 
3
+ ## 0.33.0-beta
4
+
5
+ ### Minor Changes
6
+
7
+ - 78787e2: A2A `SendMessage` takes `message.metadata.removeTools` (Host feature `remove-tools`): the tools a new message's turn may not use, by name, as a session message's `removeTools`. `createA2aClient`'s `send` takes `removeTools`.
8
+
3
9
  ## 0.32.0-beta
4
10
 
5
11
  ### Minor Changes
@@ -62,6 +62,11 @@ export interface A2aSendOptions {
62
62
  * `metadata.delivery`.
63
63
  */
64
64
  delivery?: "queue" | "reject";
65
+ /**
66
+ * The tools this message's turn may not use, by name (Host feature `remove-tools`), as a
67
+ * session message's `removeTools`. Sent as `metadata.removeTools`; a new message only.
68
+ */
69
+ removeTools?: readonly string[];
65
70
  /** Where the agent pushes this task's updates; verify each with `verifyA2aPush`. */
66
71
  push?: PushNotificationConfig;
67
72
  /** Answer at once with the task (`SUBMITTED` or `WORKING`) instead of waiting. */
@@ -128,6 +128,7 @@ export function createA2aClient(options) {
128
128
  const metadata = {
129
129
  ...send.metadata,
130
130
  ...(send.delivery ? { delivery: send.delivery } : {}),
131
+ ...(send.removeTools?.length ? { removeTools: [...send.removeTools] } : {}),
131
132
  };
132
133
  return sendMessage({
133
134
  messageId: send.messageId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nylorun/agents",
3
- "version": "0.32.0-beta",
3
+ "version": "0.33.0-beta",
4
4
  "description": "Nylorun agent definitions and session client",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",