agent-swarm-kit 1.1.85 → 1.1.87

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/build/index.cjs CHANGED
@@ -18664,7 +18664,7 @@ const METHOD_NAME$12 = "function.template.navigateToTriageAgent";
18664
18664
  const DEFAULT_EXECUTE_MESSAGE$1 = "";
18665
18665
  const DEFAULT_ACCEPT_FN = (_, defaultAgent) => `Successfully navigated to ${defaultAgent}. Continue conversation based on the last message.`;
18666
18666
  const DEFAULT_REJECT_FN = (_, defaultAgent) => `Already on ${defaultAgent}. No navigation needed. Continue conversation.`;
18667
- const DEFAULT_LAST_MESSAGE_FN$1 = (_, lastMessage, defaultAgent) => `User changed conversation topic. The next message recieved: ${lastMessage}. Continue conversation based on the last message.`;
18667
+ const DEFAULT_LAST_MESSAGE_FN$1 = (_, lastMessage, defaultAgent) => `User changed conversation topic. The next message recieved: ${lastMessage}. Continue conversation based on the last message without navigating to ${defaultAgent}.`;
18668
18668
  /**
18669
18669
  * Creates a function to navigate to a triage agent for a specific client, handling navigation, message execution, and tool output.
18670
18670
  * The factory generates a handler that checks navigation state, commits tool outputs with accept/reject messages, and triggers execution or emission based on provided parameters.
package/build/index.mjs CHANGED
@@ -18662,7 +18662,7 @@ const METHOD_NAME$12 = "function.template.navigateToTriageAgent";
18662
18662
  const DEFAULT_EXECUTE_MESSAGE$1 = "";
18663
18663
  const DEFAULT_ACCEPT_FN = (_, defaultAgent) => `Successfully navigated to ${defaultAgent}. Continue conversation based on the last message.`;
18664
18664
  const DEFAULT_REJECT_FN = (_, defaultAgent) => `Already on ${defaultAgent}. No navigation needed. Continue conversation.`;
18665
- const DEFAULT_LAST_MESSAGE_FN$1 = (_, lastMessage, defaultAgent) => `User changed conversation topic. The next message recieved: ${lastMessage}. Continue conversation based on the last message.`;
18665
+ const DEFAULT_LAST_MESSAGE_FN$1 = (_, lastMessage, defaultAgent) => `User changed conversation topic. The next message recieved: ${lastMessage}. Continue conversation based on the last message without navigating to ${defaultAgent}.`;
18666
18666
  /**
18667
18667
  * Creates a function to navigate to a triage agent for a specific client, handling navigation, message execution, and tool output.
18668
18668
  * The factory generates a handler that checks navigation state, commits tool outputs with accept/reject messages, and triggers execution or emission based on provided parameters.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-swarm-kit",
3
- "version": "1.1.85",
3
+ "version": "1.1.87",
4
4
  "description": "A TypeScript library for building orchestrated framework-agnostic multi-agent AI systems",
5
5
  "author": {
6
6
  "name": "Petr Tripolsky",