@amigo-ai/sdk 0.45.0 → 0.47.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 +121 -71
- package/package.json +1 -1
|
@@ -2468,9 +2468,9 @@ 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
|
-
AgentFrameworkInvocationMetadata: components["schemas"]["StateTransitionInvocationMetadata"] | components["schemas"]["EngageUserInvocationMetadata"];
|
|
2473
|
+
AgentFrameworkInvocationMetadata: components["schemas"]["StateTransitionInvocationMetadata"] | components["schemas"]["EngageUserInvocationMetadata"] | components["schemas"]["ToolCallStateInvocationMetadata"];
|
|
2474
2474
|
/** AnnotationState */
|
|
2475
2475
|
"AnnotationState-Input": {
|
|
2476
2476
|
/**
|
|
@@ -3248,6 +3248,52 @@ 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 Id
|
|
3261
|
+
* @description The ID of the tool being called.
|
|
3262
|
+
*/
|
|
3263
|
+
tool_id: string;
|
|
3264
|
+
/**
|
|
3265
|
+
* Tool Version
|
|
3266
|
+
* @description The version of the tool being called.
|
|
3267
|
+
*/
|
|
3268
|
+
tool_version: string;
|
|
3269
|
+
/**
|
|
3270
|
+
* Tool Call Params
|
|
3271
|
+
* @description The generated tool call parameters.
|
|
3272
|
+
*/
|
|
3273
|
+
tool_call_params: {
|
|
3274
|
+
[key: string]: unknown;
|
|
3275
|
+
};
|
|
3276
|
+
};
|
|
3277
|
+
/** GenerateToolParamsDesignatedToolRetrievedEvent */
|
|
3278
|
+
GenerateToolParamsDesignatedToolRetrievedEvent: {
|
|
3279
|
+
/**
|
|
3280
|
+
* Type
|
|
3281
|
+
* @default designated-tool-retrieved
|
|
3282
|
+
* @constant
|
|
3283
|
+
*/
|
|
3284
|
+
type?: "designated-tool-retrieved";
|
|
3285
|
+
/**
|
|
3286
|
+
* Tool Id
|
|
3287
|
+
* @description The ID of the tool being called.
|
|
3288
|
+
*/
|
|
3289
|
+
tool_id: string;
|
|
3290
|
+
/**
|
|
3291
|
+
* Tool Version
|
|
3292
|
+
* @description The version of the tool being called.
|
|
3293
|
+
*/
|
|
3294
|
+
tool_version: string;
|
|
3295
|
+
};
|
|
3296
|
+
GenerateToolParamsEvent: components["schemas"]["GenerateToolParamsDesignatedToolRetrievedEvent"] | components["schemas"]["GenerateToolParamsDesignatedToolCallParamsGeneratedEvent"] | components["schemas"]["ActionTooLongEvent"] | components["schemas"]["ToolCallStartedEvent"] | components["schemas"]["ToolCallEndedEvent"];
|
|
3251
3297
|
/** Identity */
|
|
3252
3298
|
"Identity-Input": {
|
|
3253
3299
|
name: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
@@ -3767,24 +3813,26 @@ export interface components {
|
|
|
3767
3813
|
*/
|
|
3768
3814
|
NavigateStateMachineActionStateActionSelectedEvent: {
|
|
3769
3815
|
/**
|
|
3770
|
-
*
|
|
3771
|
-
* @
|
|
3816
|
+
* Type
|
|
3817
|
+
* @default navigate-state-machine-action-state-action-selected
|
|
3818
|
+
* @constant
|
|
3772
3819
|
*/
|
|
3773
|
-
type
|
|
3820
|
+
type?: "navigate-state-machine-action-state-action-selected";
|
|
3774
3821
|
/** Action */
|
|
3775
3822
|
action: string;
|
|
3776
3823
|
};
|
|
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"]["
|
|
3824
|
+
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
3825
|
/**
|
|
3779
3826
|
* NavigateStateMachineAnnotationStateAnnotationRetrievedEvent
|
|
3780
3827
|
* @description Indicating that the agent has retrieved the annotation in the current annotation state.
|
|
3781
3828
|
*/
|
|
3782
3829
|
NavigateStateMachineAnnotationStateAnnotationRetrievedEvent: {
|
|
3783
3830
|
/**
|
|
3784
|
-
*
|
|
3785
|
-
* @
|
|
3831
|
+
* Type
|
|
3832
|
+
* @default navigate-state-machine-annotation-state-annotation-retrieved
|
|
3833
|
+
* @constant
|
|
3786
3834
|
*/
|
|
3787
|
-
type
|
|
3835
|
+
type?: "navigate-state-machine-annotation-state-annotation-retrieved";
|
|
3788
3836
|
/** Annotation */
|
|
3789
3837
|
annotation: string;
|
|
3790
3838
|
};
|
|
@@ -3794,10 +3842,11 @@ export interface components {
|
|
|
3794
3842
|
*/
|
|
3795
3843
|
NavigateStateMachineDecisionStateDecisionStartedEvent: {
|
|
3796
3844
|
/**
|
|
3797
|
-
*
|
|
3798
|
-
* @
|
|
3845
|
+
* Type
|
|
3846
|
+
* @default navigate-state-machine-decision-state-decision-started
|
|
3847
|
+
* @constant
|
|
3799
3848
|
*/
|
|
3800
|
-
type
|
|
3849
|
+
type?: "navigate-state-machine-decision-state-decision-started";
|
|
3801
3850
|
};
|
|
3802
3851
|
/**
|
|
3803
3852
|
* NavigateStateMachineDynamicBehaviorOverrideEvent
|
|
@@ -3805,10 +3854,11 @@ export interface components {
|
|
|
3805
3854
|
*/
|
|
3806
3855
|
NavigateStateMachineDynamicBehaviorOverrideEvent: {
|
|
3807
3856
|
/**
|
|
3808
|
-
*
|
|
3809
|
-
* @
|
|
3857
|
+
* Type
|
|
3858
|
+
* @default navigate-state-machine-dynamic-behavior-override
|
|
3859
|
+
* @constant
|
|
3810
3860
|
*/
|
|
3811
|
-
type
|
|
3861
|
+
type?: "navigate-state-machine-dynamic-behavior-override";
|
|
3812
3862
|
/**
|
|
3813
3863
|
* Overriding
|
|
3814
3864
|
* @description Whether the dynamic behavior set's instructions are overriding the existing instructions of the current state.
|
|
@@ -3821,10 +3871,11 @@ export interface components {
|
|
|
3821
3871
|
*/
|
|
3822
3872
|
NavigateStateMachineExitConditionSelectedEvent: {
|
|
3823
3873
|
/**
|
|
3824
|
-
*
|
|
3825
|
-
* @
|
|
3874
|
+
* Type
|
|
3875
|
+
* @default navigate-state-machine-exit-condition-selected
|
|
3876
|
+
* @constant
|
|
3826
3877
|
*/
|
|
3827
|
-
type
|
|
3878
|
+
type?: "navigate-state-machine-exit-condition-selected";
|
|
3828
3879
|
/**
|
|
3829
3880
|
* Exit Condition
|
|
3830
3881
|
* @description The exit condition that the agent has selected.
|
|
@@ -3850,10 +3901,11 @@ export interface components {
|
|
|
3850
3901
|
*/
|
|
3851
3902
|
NavigateStateMachineRecallStateActiveMemoryRetrievedEvent: {
|
|
3852
3903
|
/**
|
|
3853
|
-
*
|
|
3854
|
-
* @
|
|
3904
|
+
* Type
|
|
3905
|
+
* @default navigate-state-machine-recall-state-active-memory-retrieved
|
|
3906
|
+
* @constant
|
|
3855
3907
|
*/
|
|
3856
|
-
type
|
|
3908
|
+
type?: "navigate-state-machine-recall-state-active-memory-retrieved";
|
|
3857
3909
|
/**
|
|
3858
3910
|
* Queries And Responses
|
|
3859
3911
|
* @description A list of tuples of queries and responses.
|
|
@@ -3869,10 +3921,11 @@ export interface components {
|
|
|
3869
3921
|
*/
|
|
3870
3922
|
NavigateStateMachineRecallStateDynamicQueriesGeneratedEvent: {
|
|
3871
3923
|
/**
|
|
3872
|
-
*
|
|
3873
|
-
* @
|
|
3924
|
+
* Type
|
|
3925
|
+
* @default navigate-state-machine-recall-state-dynamic-queries-generated
|
|
3926
|
+
* @constant
|
|
3874
3927
|
*/
|
|
3875
|
-
type
|
|
3928
|
+
type?: "navigate-state-machine-recall-state-dynamic-queries-generated";
|
|
3876
3929
|
/**
|
|
3877
3930
|
* Dynamic Queries
|
|
3878
3931
|
* @description The dynamic queries that the agent has generated.
|
|
@@ -3890,10 +3943,11 @@ export interface components {
|
|
|
3890
3943
|
*/
|
|
3891
3944
|
NavigateStateMachineRecallStateStaticQueriesRetrievedEvent: {
|
|
3892
3945
|
/**
|
|
3893
|
-
*
|
|
3894
|
-
* @
|
|
3946
|
+
* Type
|
|
3947
|
+
* @default navigate-state-machine-recall-state-static-queries-retrieved
|
|
3948
|
+
* @constant
|
|
3895
3949
|
*/
|
|
3896
|
-
type
|
|
3950
|
+
type?: "navigate-state-machine-recall-state-static-queries-retrieved";
|
|
3897
3951
|
/**
|
|
3898
3952
|
* Static Queries
|
|
3899
3953
|
* @description The static queries that the agent has retrieved.
|
|
@@ -3906,10 +3960,11 @@ export interface components {
|
|
|
3906
3960
|
*/
|
|
3907
3961
|
NavigateStateMachineReflectionStatePromptRetrievedEvent: {
|
|
3908
3962
|
/**
|
|
3909
|
-
*
|
|
3910
|
-
* @
|
|
3963
|
+
* Type
|
|
3964
|
+
* @default navigate-state-machine-reflection-state-prompt-retrieved
|
|
3965
|
+
* @constant
|
|
3911
3966
|
*/
|
|
3912
|
-
type
|
|
3967
|
+
type?: "navigate-state-machine-reflection-state-prompt-retrieved";
|
|
3913
3968
|
/** Prompt */
|
|
3914
3969
|
prompt: string;
|
|
3915
3970
|
};
|
|
@@ -3919,10 +3974,11 @@ export interface components {
|
|
|
3919
3974
|
*/
|
|
3920
3975
|
NavigateStateMachineReflectionStateReflectionGeneratedEvent: {
|
|
3921
3976
|
/**
|
|
3922
|
-
*
|
|
3923
|
-
* @
|
|
3977
|
+
* Type
|
|
3978
|
+
* @default navigate-state-machine-reflection-state-reflection-generated
|
|
3979
|
+
* @constant
|
|
3924
3980
|
*/
|
|
3925
|
-
type
|
|
3981
|
+
type?: "navigate-state-machine-reflection-state-reflection-generated";
|
|
3926
3982
|
/**
|
|
3927
3983
|
* Reflection
|
|
3928
3984
|
* @description The reflection that the agent has generated.
|
|
@@ -3935,10 +3991,11 @@ export interface components {
|
|
|
3935
3991
|
*/
|
|
3936
3992
|
NavigateStateMachineStateTransitionedEvent: {
|
|
3937
3993
|
/**
|
|
3938
|
-
*
|
|
3939
|
-
* @
|
|
3994
|
+
* Type
|
|
3995
|
+
* @default navigate-state-machine-state-transitioned
|
|
3996
|
+
* @constant
|
|
3940
3997
|
*/
|
|
3941
|
-
type
|
|
3998
|
+
type?: "navigate-state-machine-state-transitioned";
|
|
3942
3999
|
/**
|
|
3943
4000
|
* Prev State
|
|
3944
4001
|
* @description The previous state.
|
|
@@ -3967,15 +4024,16 @@ export interface components {
|
|
|
3967
4024
|
];
|
|
3968
4025
|
};
|
|
3969
4026
|
/**
|
|
3970
|
-
*
|
|
3971
|
-
* @description Indicating that the agent has
|
|
4027
|
+
* NavigateStateMachineToolCallStateToolOutputAvailableEvent
|
|
4028
|
+
* @description Indicating that the agent has received the tool output in the current tool call state.
|
|
3972
4029
|
*/
|
|
3973
|
-
|
|
4030
|
+
NavigateStateMachineToolCallStateToolOutputAvailableEvent: {
|
|
3974
4031
|
/**
|
|
3975
|
-
*
|
|
3976
|
-
* @
|
|
4032
|
+
* Type
|
|
4033
|
+
* @default navigate-state-machine-tool-call-state-tool-output-available
|
|
4034
|
+
* @constant
|
|
3977
4035
|
*/
|
|
3978
|
-
type
|
|
4036
|
+
type?: "navigate-state-machine-tool-call-state-tool-output-available";
|
|
3979
4037
|
/**
|
|
3980
4038
|
* Tool Id
|
|
3981
4039
|
* @description The ID of the tool being called.
|
|
@@ -3986,17 +4044,6 @@ export interface components {
|
|
|
3986
4044
|
* @description The version of the tool being called.
|
|
3987
4045
|
*/
|
|
3988
4046
|
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
4047
|
/**
|
|
4001
4048
|
* Tool Output
|
|
4002
4049
|
* @description The tool output.
|
|
@@ -4008,24 +4055,6 @@ export interface components {
|
|
|
4008
4055
|
*/
|
|
4009
4056
|
duration: number;
|
|
4010
4057
|
};
|
|
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
|
-
};
|
|
4029
4058
|
/**
|
|
4030
4059
|
* NewMessageEvent
|
|
4031
4060
|
* @description Emitted when a new piece of the agent message is available.
|
|
@@ -5616,6 +5645,27 @@ export interface components {
|
|
|
5616
5645
|
*/
|
|
5617
5646
|
tool_call_specs: components["schemas"]["ToolCallSpec-Output"][];
|
|
5618
5647
|
};
|
|
5648
|
+
/** ToolCallStateInvocationMetadata */
|
|
5649
|
+
ToolCallStateInvocationMetadata: {
|
|
5650
|
+
/**
|
|
5651
|
+
* @description discriminator enum property added by openapi-typescript
|
|
5652
|
+
* @enum {string}
|
|
5653
|
+
*/
|
|
5654
|
+
type: "tool-call-state";
|
|
5655
|
+
/**
|
|
5656
|
+
* Current State Machine And Version
|
|
5657
|
+
* @description The ID and version of the state machine that is currently being executed.
|
|
5658
|
+
*/
|
|
5659
|
+
current_state_machine_and_version: [
|
|
5660
|
+
string,
|
|
5661
|
+
number
|
|
5662
|
+
];
|
|
5663
|
+
/**
|
|
5664
|
+
* State Name
|
|
5665
|
+
* @description The name of the state during which the tool was invoked.
|
|
5666
|
+
*/
|
|
5667
|
+
state_name: string;
|
|
5668
|
+
};
|
|
5619
5669
|
/** ToolCallStateTransitionLog */
|
|
5620
5670
|
ToolCallStateTransitionLog: {
|
|
5621
5671
|
/**
|