From 759bf2c8ae03c13d075f4d1c0f6cbc6c207072c4 Mon Sep 17 00:00:00 2001 From: Isaac Date: Thu, 21 May 2026 09:49:49 -0700 Subject: [PATCH 1/2] docs(agentfabric): update `on_exit` parameter to optional in node response documentation --- apps/docs/docs/dialects/agentfabric/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/docs/dialects/agentfabric/index.md b/apps/docs/docs/dialects/agentfabric/index.md index 291b983..3d3a5ad 100644 --- a/apps/docs/docs/dialects/agentfabric/index.md +++ b/apps/docs/docs/dialects/agentfabric/index.md @@ -468,7 +468,7 @@ echo a2a_response: | `id` | The node identifier, defined next to the node type. | String | Yes | | `label` | An optional short, human-readable display name for the node. | String | No | | `description` | A CommonMark string providing a description of the node. | String | No | -| `on_exit` | A procedure that executes when the node execution finishes. | Procedure | Yes | +| `on_exit` | A procedure that executes when the node execution finishes. | Procedure | No | | `kind` | Discriminator for the response type. Must be "a2a:response". | String | Yes | | `task` | A Task object as defined in the A2A specification. The `id`, `contextId` and `history` attributes are automatically populated by the trigger | Task object | Yes | From 376bae45fd2ef85c72cb781b91085360f4ced49c Mon Sep 17 00:00:00 2001 From: Isaac Date: Thu, 21 May 2026 09:59:31 -0700 Subject: [PATCH 2/2] docs(agentfabric): update `on_exit` parameter to optional for all node types in documentation --- apps/docs/docs/dialects/agentfabric/index.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/docs/docs/dialects/agentfabric/index.md b/apps/docs/docs/dialects/agentfabric/index.md index 3d3a5ad..6154923 100644 --- a/apps/docs/docs/dialects/agentfabric/index.md +++ b/apps/docs/docs/dialects/agentfabric/index.md @@ -286,7 +286,7 @@ The subagent node has these properties. | `id` | The node identifier, defined next to the node type. | String | Yes | | `label` | An optional short, human-readable display name for the node. | String | No | | `description` | A CommonMark string providing a description of the node. | String | No | -| `on_exit` | A procedure that executes when the node execution finishes. | Procedure | Yes | +| `on_exit` | A procedure that executes when the node execution finishes. | Procedure | No | | `llm` | Overrides the default LLM setting | @llm reference See [LLM Section](#llm-section) | No | | `system.instructions` | Overrides the global `system.instructions` at the file root level | String | No | | `reasoning.instructions` | Session-specific query or instructions for this particular node, typically containing user provided or user related context | String | Yes | @@ -347,7 +347,7 @@ The orchestrator node has these properties. | `id` | The node identifier, defined next to the node type. | String | Yes | | `label` | An optional short, human-readable display name for the node. | String | No | | `description` | A CommonMark string providing a description of the node. | String | No | -| `on_exit` | A procedure that executes when the node execution finishes. | Procedure | Yes | +| `on_exit` | A procedure that executes when the node execution finishes. | Procedure | No | | `llm` | Overrides the default LLM setting | @llm reference See [LLM Section](#llm-section) | No | | `system.instructions` | Overrides the global `system.instructions` at the file root level | String | No | | `reasoning.instructions` | Session-specific query or instructions for this particular node, typically containing user provided or user related context | String | Yes | @@ -379,7 +379,7 @@ The generator node has these properties. | `id` | The node identifier, defined next to the node type. | String | Yes | | `label` | An optional short, human-readable display name for the node. | String | No | | `description` | A CommonMark string providing a description of the node. | String | No | -| `on_exit` | A procedure that executes when the node execution finishes. | Procedure | Yes | +| `on_exit` | A procedure that executes when the node execution finishes. | Procedure | No | | `llm` | A reference to the LLM connection. | LLM Configuration object See [LLM Configuration: OpenAI](#llm-configuration:-openai) or [LLM Configuration: Gemini](#llm-configuration:-gemini) | No | | `system_instructions` | A foundational instruction set defining the agent's persona, operational boundaries, and behavioral logic to ensure consistent task execution. | String | No | | `prompt` | Session-specific query or instructions for this particular node, typically containing user provided or user related context. | String | Yes | @@ -408,7 +408,7 @@ The executor node has these properties. | `id` | The node identifier, defined next to the node type. | String | Yes | | `label` | An optional short, human-readable display name for the node. | String | No | | `description` | A CommonMark string providing a description of the node. | String | No | -| `on_exit` | A procedure that executes when the node execution finishes. | Procedure | Yes | +| `on_exit` | A procedure that executes when the node execution finishes. | Procedure | No | | `do` | Agent Script statements to execute | procedure | Yes | ### Router Node @@ -437,7 +437,7 @@ The router node has these properties. | `id` | The node identifier, defined next to the node type. | String | Yes | | `label` | An optional short, human-readable display name for the node. | String | No | | `description` | A CommonMark string providing a description of the node. | String | No | -| `on_exit` | A procedure that executes when the node execution finishes. | Procedure | Yes | +| `on_exit` | A procedure that executes when the node execution finishes. | Procedure | No | | `routes` | An array of condition and target pairs, plus an optional label field for UI. Must define at least one route. Each route contains: target, when, and optional label. | Array | Yes | | `otherwise` | Defines a default transition when no route condition matches. Contains: target. | Object | Yes with `routes` |