@amigo-ai/sdk 0.44.0 → 0.45.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.
@@ -3774,7 +3774,7 @@ export interface components {
3774
3774
  /** Action */
3775
3775
  action: string;
3776
3776
  };
3777
- NavigateStateMachineAgentActionEvent: components["schemas"]["NavigateStateMachineDynamicBehaviorOverrideEvent"] | components["schemas"]["NavigateStateMachineActionStateActionSelectedEvent"] | components["schemas"]["NavigateStateMachineDecisionStateDecisionStartedEvent"] | components["schemas"]["NavigateStateMachineExitConditionSelectedEvent"] | components["schemas"]["NavigateStateMachineRecallStateDynamicQueriesGeneratedEvent"] | components["schemas"]["NavigateStateMachineRecallStateStaticQueriesRetrievedEvent"] | components["schemas"]["NavigateStateMachineRecallStateActiveMemoryRetrievedEvent"] | components["schemas"]["NavigateStateMachineReflectionStatePromptRetrievedEvent"] | components["schemas"]["NavigateStateMachineReflectionStateReflectionGeneratedEvent"] | components["schemas"]["NavigateStateMachineAnnotationStateAnnotationRetrievedEvent"] | components["schemas"]["NavigateStateMachineStateTransitionedEvent"] | components["schemas"]["ToolCallStartedEvent"] | components["schemas"]["ToolCallEndedEvent"] | components["schemas"]["ActionTooLongEvent"];
3777
+ NavigateStateMachineAgentActionEvent: components["schemas"]["NavigateStateMachineDynamicBehaviorOverrideEvent"] | components["schemas"]["NavigateStateMachineActionStateActionSelectedEvent"] | components["schemas"]["NavigateStateMachineDecisionStateDecisionStartedEvent"] | components["schemas"]["NavigateStateMachineExitConditionSelectedEvent"] | components["schemas"]["NavigateStateMachineRecallStateDynamicQueriesGeneratedEvent"] | components["schemas"]["NavigateStateMachineRecallStateStaticQueriesRetrievedEvent"] | components["schemas"]["NavigateStateMachineRecallStateActiveMemoryRetrievedEvent"] | components["schemas"]["NavigateStateMachineReflectionStatePromptRetrievedEvent"] | components["schemas"]["NavigateStateMachineReflectionStateReflectionGeneratedEvent"] | components["schemas"]["NavigateStateMachineAnnotationStateAnnotationRetrievedEvent"] | components["schemas"]["NavigateStateMachineStateTransitionedEvent"] | components["schemas"]["NavigateStateMachineToolCallStateDesignatedToolRetrievedEvent"] | components["schemas"]["NavigateStateMachineToolCallStateToolParamsGeneratedEvent"] | components["schemas"]["NavigateStateMachineToolCallStateToolOutputAvailableEvent"] | components["schemas"]["ToolCallStartedEvent"] | components["schemas"]["ToolCallEndedEvent"] | components["schemas"]["ActionTooLongEvent"];
3778
3778
  /**
3779
3779
  * NavigateStateMachineAnnotationStateAnnotationRetrievedEvent
3780
3780
  * @description Indicating that the agent has retrieved the annotation in the current annotation state.
@@ -3966,6 +3966,66 @@ export interface components {
3966
3966
  number
3967
3967
  ];
3968
3968
  };
3969
+ /**
3970
+ * NavigateStateMachineToolCallStateDesignatedToolRetrievedEvent
3971
+ * @description Indicating that the agent has retrieved the designated tool in the current tool call state.
3972
+ */
3973
+ NavigateStateMachineToolCallStateDesignatedToolRetrievedEvent: {
3974
+ /**
3975
+ * @description discriminator enum property added by openapi-typescript
3976
+ * @enum {string}
3977
+ */
3978
+ type: "navigate-state-machine-tool-call-state-designated-tool-retrieved";
3979
+ /**
3980
+ * Tool Id
3981
+ * @description The ID of the tool being called.
3982
+ */
3983
+ tool_id: string;
3984
+ /**
3985
+ * Tool Version
3986
+ * @description The version of the tool being called.
3987
+ */
3988
+ tool_version: string;
3989
+ };
3990
+ /**
3991
+ * NavigateStateMachineToolCallStateToolOutputAvailableEvent
3992
+ * @description Indicating that the agent has received the tool output in the current tool call state.
3993
+ */
3994
+ NavigateStateMachineToolCallStateToolOutputAvailableEvent: {
3995
+ /**
3996
+ * @description discriminator enum property added by openapi-typescript
3997
+ * @enum {string}
3998
+ */
3999
+ type: "navigate-state-machine-tool-call-state-tool-output-available";
4000
+ /**
4001
+ * Tool Output
4002
+ * @description The tool output.
4003
+ */
4004
+ tool_output: string;
4005
+ /**
4006
+ * Duration
4007
+ * @description The duration taken to receive the tool output in seconds.
4008
+ */
4009
+ duration: number;
4010
+ };
4011
+ /**
4012
+ * NavigateStateMachineToolCallStateToolParamsGeneratedEvent
4013
+ * @description Indicating that the agent has generated the tool parameters in the current tool call state.
4014
+ */
4015
+ NavigateStateMachineToolCallStateToolParamsGeneratedEvent: {
4016
+ /**
4017
+ * @description discriminator enum property added by openapi-typescript
4018
+ * @enum {string}
4019
+ */
4020
+ type: "navigate-state-machine-tool-call-state-tool-params-generated";
4021
+ /**
4022
+ * Tool Params
4023
+ * @description The generated tool parameters.
4024
+ */
4025
+ tool_params: {
4026
+ [key: string]: unknown;
4027
+ };
4028
+ };
3969
4029
  /**
3970
4030
  * NewMessageEvent
3971
4031
  * @description Emitted when a new piece of the agent message is available.
@@ -5528,22 +5588,26 @@ export interface components {
5528
5588
  designated_tool_call_params_generation_audio_filler_triggered_after: number;
5529
5589
  /**
5530
5590
  * Designated Tool Call Objective
5531
- * @description The objective that the agent is to achieve when generating the input to the designated tool.
5591
+ * @description The objective that the agent is to achieve when generating the input to the designated tool. High-level optimization goal defining what "ideal" means for this state. Frames the strategic
5592
+ * intent and success criteria, not the technical tool description. Focuses on user value and conversation progress.
5532
5593
  */
5533
5594
  designated_tool_call_objective: string;
5534
5595
  /**
5535
5596
  * Designated Tool Call Context
5536
- * @description The context that the agent can use when generating the input to the designated tool.
5597
+ * @description The context that the agent can use when generating the input to the designated tool. The minimal information gap this tool state closes within the conversation flow. Explains what's missing
5598
+ * upstream and how this tool execution bridges to downstream states. Should be brief and only included when the tool's purpose isn't self-evident from the topology.
5537
5599
  */
5538
5600
  designated_tool_call_context: string;
5539
5601
  /**
5540
5602
  * Designated Tool Call Guidances
5541
- * @description The guidance that the agent must follow when generating the input to the designated tool.
5603
+ * @description The guidance that the agent must follow when generating the input to the designated tool. Best practices and proven patterns for constructing quality payloads. Practical tips and heuristics
5604
+ * to guide decisions. Suggestions, not strict requirements. Leave empty if tool schema and objective are self-explanatory.
5542
5605
  */
5543
5606
  designated_tool_call_guidances: string[];
5544
5607
  /**
5545
5608
  * Designated Tool Call Validations
5546
- * @description A list of validations that the agent must ensure are satisfied when generating the input to the designated tool.
5609
+ * @description A list of validations that the agent must ensure are satisfied when generating the input to the designated tool. Strict constraints that MUST be satisfied before payload handoff. Hard requirements
5610
+ * and invariants verified before execution. Pass/fail checks, not suggestions. Leave empty if only schema compliance is required.
5547
5611
  */
5548
5612
  designated_tool_call_validations: string[];
5549
5613
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.44.0",
3
+ "version": "0.45.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"