@amigo-ai/sdk 0.44.0 → 0.46.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.
- package/dist/types/generated/api-types.d.ts +112 -39
- package/package.json +1 -1
|
@@ -2468,7 +2468,7 @@ export interface components {
|
|
|
2468
2468
|
* Previously Started Event
|
|
2469
2469
|
* @description The previously started event that is taking too long.
|
|
2470
2470
|
*/
|
|
2471
|
-
previously_started_event:
|
|
2471
|
+
previously_started_event: unknown;
|
|
2472
2472
|
};
|
|
2473
2473
|
AgentFrameworkInvocationMetadata: components["schemas"]["StateTransitionInvocationMetadata"] | components["schemas"]["EngageUserInvocationMetadata"];
|
|
2474
2474
|
/** AnnotationState */
|
|
@@ -3248,6 +3248,42 @@ export interface components {
|
|
|
3248
3248
|
Format: "text" | "voice";
|
|
3249
3249
|
/** @enum {string} */
|
|
3250
3250
|
FrontendView: "client" | "admin";
|
|
3251
|
+
/** GenerateToolParamsDesignatedToolCallParamsGeneratedEvent */
|
|
3252
|
+
GenerateToolParamsDesignatedToolCallParamsGeneratedEvent: {
|
|
3253
|
+
/**
|
|
3254
|
+
* Type
|
|
3255
|
+
* @default designated-tool-call-params-generated
|
|
3256
|
+
* @constant
|
|
3257
|
+
*/
|
|
3258
|
+
type?: "designated-tool-call-params-generated";
|
|
3259
|
+
/**
|
|
3260
|
+
* Tool Call Params
|
|
3261
|
+
* @description The generated tool call parameters.
|
|
3262
|
+
*/
|
|
3263
|
+
tool_call_params: {
|
|
3264
|
+
[key: string]: unknown;
|
|
3265
|
+
};
|
|
3266
|
+
};
|
|
3267
|
+
/** GenerateToolParamsDesignatedToolRetrievedEvent */
|
|
3268
|
+
GenerateToolParamsDesignatedToolRetrievedEvent: {
|
|
3269
|
+
/**
|
|
3270
|
+
* Type
|
|
3271
|
+
* @default designated-tool-retrieved
|
|
3272
|
+
* @constant
|
|
3273
|
+
*/
|
|
3274
|
+
type?: "designated-tool-retrieved";
|
|
3275
|
+
/**
|
|
3276
|
+
* Tool Id
|
|
3277
|
+
* @description The ID of the tool being called.
|
|
3278
|
+
*/
|
|
3279
|
+
tool_id: string;
|
|
3280
|
+
/**
|
|
3281
|
+
* Tool Version
|
|
3282
|
+
* @description The version of the tool being called.
|
|
3283
|
+
*/
|
|
3284
|
+
tool_version: string;
|
|
3285
|
+
};
|
|
3286
|
+
GenerateToolParamsEvent: components["schemas"]["GenerateToolParamsDesignatedToolRetrievedEvent"] | components["schemas"]["GenerateToolParamsDesignatedToolCallParamsGeneratedEvent"] | components["schemas"]["ActionTooLongEvent"] | components["schemas"]["ToolCallStartedEvent"] | components["schemas"]["ToolCallEndedEvent"];
|
|
3251
3287
|
/** Identity */
|
|
3252
3288
|
"Identity-Input": {
|
|
3253
3289
|
name: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
@@ -3767,24 +3803,26 @@ export interface components {
|
|
|
3767
3803
|
*/
|
|
3768
3804
|
NavigateStateMachineActionStateActionSelectedEvent: {
|
|
3769
3805
|
/**
|
|
3770
|
-
*
|
|
3771
|
-
* @
|
|
3806
|
+
* Type
|
|
3807
|
+
* @default navigate-state-machine-action-state-action-selected
|
|
3808
|
+
* @constant
|
|
3772
3809
|
*/
|
|
3773
|
-
type
|
|
3810
|
+
type?: "navigate-state-machine-action-state-action-selected";
|
|
3774
3811
|
/** Action */
|
|
3775
3812
|
action: string;
|
|
3776
3813
|
};
|
|
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"];
|
|
3814
|
+
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"]["GenerateToolParamsEvent"] | components["schemas"]["NavigateStateMachineToolCallStateToolOutputAvailableEvent"] | components["schemas"]["ToolCallStartedEvent"] | components["schemas"]["ToolCallEndedEvent"] | components["schemas"]["ActionTooLongEvent"];
|
|
3778
3815
|
/**
|
|
3779
3816
|
* NavigateStateMachineAnnotationStateAnnotationRetrievedEvent
|
|
3780
3817
|
* @description Indicating that the agent has retrieved the annotation in the current annotation state.
|
|
3781
3818
|
*/
|
|
3782
3819
|
NavigateStateMachineAnnotationStateAnnotationRetrievedEvent: {
|
|
3783
3820
|
/**
|
|
3784
|
-
*
|
|
3785
|
-
* @
|
|
3821
|
+
* Type
|
|
3822
|
+
* @default navigate-state-machine-annotation-state-annotation-retrieved
|
|
3823
|
+
* @constant
|
|
3786
3824
|
*/
|
|
3787
|
-
type
|
|
3825
|
+
type?: "navigate-state-machine-annotation-state-annotation-retrieved";
|
|
3788
3826
|
/** Annotation */
|
|
3789
3827
|
annotation: string;
|
|
3790
3828
|
};
|
|
@@ -3794,10 +3832,11 @@ export interface components {
|
|
|
3794
3832
|
*/
|
|
3795
3833
|
NavigateStateMachineDecisionStateDecisionStartedEvent: {
|
|
3796
3834
|
/**
|
|
3797
|
-
*
|
|
3798
|
-
* @
|
|
3835
|
+
* Type
|
|
3836
|
+
* @default navigate-state-machine-decision-state-decision-started
|
|
3837
|
+
* @constant
|
|
3799
3838
|
*/
|
|
3800
|
-
type
|
|
3839
|
+
type?: "navigate-state-machine-decision-state-decision-started";
|
|
3801
3840
|
};
|
|
3802
3841
|
/**
|
|
3803
3842
|
* NavigateStateMachineDynamicBehaviorOverrideEvent
|
|
@@ -3805,10 +3844,11 @@ export interface components {
|
|
|
3805
3844
|
*/
|
|
3806
3845
|
NavigateStateMachineDynamicBehaviorOverrideEvent: {
|
|
3807
3846
|
/**
|
|
3808
|
-
*
|
|
3809
|
-
* @
|
|
3847
|
+
* Type
|
|
3848
|
+
* @default navigate-state-machine-dynamic-behavior-override
|
|
3849
|
+
* @constant
|
|
3810
3850
|
*/
|
|
3811
|
-
type
|
|
3851
|
+
type?: "navigate-state-machine-dynamic-behavior-override";
|
|
3812
3852
|
/**
|
|
3813
3853
|
* Overriding
|
|
3814
3854
|
* @description Whether the dynamic behavior set's instructions are overriding the existing instructions of the current state.
|
|
@@ -3821,10 +3861,11 @@ export interface components {
|
|
|
3821
3861
|
*/
|
|
3822
3862
|
NavigateStateMachineExitConditionSelectedEvent: {
|
|
3823
3863
|
/**
|
|
3824
|
-
*
|
|
3825
|
-
* @
|
|
3864
|
+
* Type
|
|
3865
|
+
* @default navigate-state-machine-exit-condition-selected
|
|
3866
|
+
* @constant
|
|
3826
3867
|
*/
|
|
3827
|
-
type
|
|
3868
|
+
type?: "navigate-state-machine-exit-condition-selected";
|
|
3828
3869
|
/**
|
|
3829
3870
|
* Exit Condition
|
|
3830
3871
|
* @description The exit condition that the agent has selected.
|
|
@@ -3850,10 +3891,11 @@ export interface components {
|
|
|
3850
3891
|
*/
|
|
3851
3892
|
NavigateStateMachineRecallStateActiveMemoryRetrievedEvent: {
|
|
3852
3893
|
/**
|
|
3853
|
-
*
|
|
3854
|
-
* @
|
|
3894
|
+
* Type
|
|
3895
|
+
* @default navigate-state-machine-recall-state-active-memory-retrieved
|
|
3896
|
+
* @constant
|
|
3855
3897
|
*/
|
|
3856
|
-
type
|
|
3898
|
+
type?: "navigate-state-machine-recall-state-active-memory-retrieved";
|
|
3857
3899
|
/**
|
|
3858
3900
|
* Queries And Responses
|
|
3859
3901
|
* @description A list of tuples of queries and responses.
|
|
@@ -3869,10 +3911,11 @@ export interface components {
|
|
|
3869
3911
|
*/
|
|
3870
3912
|
NavigateStateMachineRecallStateDynamicQueriesGeneratedEvent: {
|
|
3871
3913
|
/**
|
|
3872
|
-
*
|
|
3873
|
-
* @
|
|
3914
|
+
* Type
|
|
3915
|
+
* @default navigate-state-machine-recall-state-dynamic-queries-generated
|
|
3916
|
+
* @constant
|
|
3874
3917
|
*/
|
|
3875
|
-
type
|
|
3918
|
+
type?: "navigate-state-machine-recall-state-dynamic-queries-generated";
|
|
3876
3919
|
/**
|
|
3877
3920
|
* Dynamic Queries
|
|
3878
3921
|
* @description The dynamic queries that the agent has generated.
|
|
@@ -3890,10 +3933,11 @@ export interface components {
|
|
|
3890
3933
|
*/
|
|
3891
3934
|
NavigateStateMachineRecallStateStaticQueriesRetrievedEvent: {
|
|
3892
3935
|
/**
|
|
3893
|
-
*
|
|
3894
|
-
* @
|
|
3936
|
+
* Type
|
|
3937
|
+
* @default navigate-state-machine-recall-state-static-queries-retrieved
|
|
3938
|
+
* @constant
|
|
3895
3939
|
*/
|
|
3896
|
-
type
|
|
3940
|
+
type?: "navigate-state-machine-recall-state-static-queries-retrieved";
|
|
3897
3941
|
/**
|
|
3898
3942
|
* Static Queries
|
|
3899
3943
|
* @description The static queries that the agent has retrieved.
|
|
@@ -3906,10 +3950,11 @@ export interface components {
|
|
|
3906
3950
|
*/
|
|
3907
3951
|
NavigateStateMachineReflectionStatePromptRetrievedEvent: {
|
|
3908
3952
|
/**
|
|
3909
|
-
*
|
|
3910
|
-
* @
|
|
3953
|
+
* Type
|
|
3954
|
+
* @default navigate-state-machine-reflection-state-prompt-retrieved
|
|
3955
|
+
* @constant
|
|
3911
3956
|
*/
|
|
3912
|
-
type
|
|
3957
|
+
type?: "navigate-state-machine-reflection-state-prompt-retrieved";
|
|
3913
3958
|
/** Prompt */
|
|
3914
3959
|
prompt: string;
|
|
3915
3960
|
};
|
|
@@ -3919,10 +3964,11 @@ export interface components {
|
|
|
3919
3964
|
*/
|
|
3920
3965
|
NavigateStateMachineReflectionStateReflectionGeneratedEvent: {
|
|
3921
3966
|
/**
|
|
3922
|
-
*
|
|
3923
|
-
* @
|
|
3967
|
+
* Type
|
|
3968
|
+
* @default navigate-state-machine-reflection-state-reflection-generated
|
|
3969
|
+
* @constant
|
|
3924
3970
|
*/
|
|
3925
|
-
type
|
|
3971
|
+
type?: "navigate-state-machine-reflection-state-reflection-generated";
|
|
3926
3972
|
/**
|
|
3927
3973
|
* Reflection
|
|
3928
3974
|
* @description The reflection that the agent has generated.
|
|
@@ -3935,10 +3981,11 @@ export interface components {
|
|
|
3935
3981
|
*/
|
|
3936
3982
|
NavigateStateMachineStateTransitionedEvent: {
|
|
3937
3983
|
/**
|
|
3938
|
-
*
|
|
3939
|
-
* @
|
|
3984
|
+
* Type
|
|
3985
|
+
* @default navigate-state-machine-state-transitioned
|
|
3986
|
+
* @constant
|
|
3940
3987
|
*/
|
|
3941
|
-
type
|
|
3988
|
+
type?: "navigate-state-machine-state-transitioned";
|
|
3942
3989
|
/**
|
|
3943
3990
|
* Prev State
|
|
3944
3991
|
* @description The previous state.
|
|
@@ -3966,6 +4013,28 @@ export interface components {
|
|
|
3966
4013
|
number
|
|
3967
4014
|
];
|
|
3968
4015
|
};
|
|
4016
|
+
/**
|
|
4017
|
+
* NavigateStateMachineToolCallStateToolOutputAvailableEvent
|
|
4018
|
+
* @description Indicating that the agent has received the tool output in the current tool call state.
|
|
4019
|
+
*/
|
|
4020
|
+
NavigateStateMachineToolCallStateToolOutputAvailableEvent: {
|
|
4021
|
+
/**
|
|
4022
|
+
* Type
|
|
4023
|
+
* @default navigate-state-machine-tool-call-state-tool-output-available
|
|
4024
|
+
* @constant
|
|
4025
|
+
*/
|
|
4026
|
+
type?: "navigate-state-machine-tool-call-state-tool-output-available";
|
|
4027
|
+
/**
|
|
4028
|
+
* Tool Output
|
|
4029
|
+
* @description The tool output.
|
|
4030
|
+
*/
|
|
4031
|
+
tool_output: string;
|
|
4032
|
+
/**
|
|
4033
|
+
* Duration
|
|
4034
|
+
* @description The duration taken to receive the tool output in seconds.
|
|
4035
|
+
*/
|
|
4036
|
+
duration: number;
|
|
4037
|
+
};
|
|
3969
4038
|
/**
|
|
3970
4039
|
* NewMessageEvent
|
|
3971
4040
|
* @description Emitted when a new piece of the agent message is available.
|
|
@@ -5528,22 +5597,26 @@ export interface components {
|
|
|
5528
5597
|
designated_tool_call_params_generation_audio_filler_triggered_after: number;
|
|
5529
5598
|
/**
|
|
5530
5599
|
* Designated Tool Call Objective
|
|
5531
|
-
* @description The objective that the agent is to achieve when generating the input to the designated tool.
|
|
5600
|
+
* @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
|
|
5601
|
+
* intent and success criteria, not the technical tool description. Focuses on user value and conversation progress.
|
|
5532
5602
|
*/
|
|
5533
5603
|
designated_tool_call_objective: string;
|
|
5534
5604
|
/**
|
|
5535
5605
|
* Designated Tool Call Context
|
|
5536
|
-
* @description The context that the agent can use when generating the input to the designated tool.
|
|
5606
|
+
* @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
|
|
5607
|
+
* 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
5608
|
*/
|
|
5538
5609
|
designated_tool_call_context: string;
|
|
5539
5610
|
/**
|
|
5540
5611
|
* Designated Tool Call Guidances
|
|
5541
|
-
* @description The guidance that the agent must follow when generating the input to the designated tool.
|
|
5612
|
+
* @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
|
|
5613
|
+
* to guide decisions. Suggestions, not strict requirements. Leave empty if tool schema and objective are self-explanatory.
|
|
5542
5614
|
*/
|
|
5543
5615
|
designated_tool_call_guidances: string[];
|
|
5544
5616
|
/**
|
|
5545
5617
|
* 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.
|
|
5618
|
+
* @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
|
|
5619
|
+
* and invariants verified before execution. Pass/fail checks, not suggestions. Leave empty if only schema compliance is required.
|
|
5547
5620
|
*/
|
|
5548
5621
|
designated_tool_call_validations: string[];
|
|
5549
5622
|
/**
|