@amigo-ai/sdk 0.35.0 → 0.36.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.
@@ -472,30 +472,6 @@ export interface paths {
472
472
  patch?: never;
473
473
  trace?: never;
474
474
  };
475
- "/v1/{organization}/service/{service_id}/version_sets/{version_set_name}/ensure_audio_fillers": {
476
- parameters: {
477
- query?: never;
478
- header?: never;
479
- path?: never;
480
- cookie?: never;
481
- };
482
- get?: never;
483
- put?: never;
484
- /**
485
- * Ensure audio fillers for a service version set
486
- * @description Ensure that the audio fillers that are used in a service version set is properly generated.
487
- *
488
- * #### Permissions
489
- * This endpoint requires the following permissions:
490
- * * `Service:UpdateVersionSet` for the version set.
491
- */
492
- post: operations["ensure-service-version-set-audio-fillers"];
493
- delete?: never;
494
- options?: never;
495
- head?: never;
496
- patch?: never;
497
- trace?: never;
498
- };
499
475
  "/v1/{organization}/service/{service_id}/": {
500
476
  parameters: {
501
477
  query?: never;
@@ -2478,6 +2454,28 @@ export interface components {
2478
2454
  */
2479
2455
  tool_call_logs: components["schemas"]["ToolCallLog"][][];
2480
2456
  };
2457
+ /**
2458
+ * ActionTooLongEvent
2459
+ * @description Indicating that a previously-started action of the agent is taking too long. This event supplies a filler text that can be displayed
2460
+ * while waiting for the action to complete.
2461
+ */
2462
+ ActionTooLongEvent: {
2463
+ /**
2464
+ * @description discriminator enum property added by openapi-typescript
2465
+ * @enum {string}
2466
+ */
2467
+ type: "action-too-long";
2468
+ /**
2469
+ * Filler
2470
+ * @description An audio filler that can be played while waiting for the action to complete.
2471
+ */
2472
+ filler: string;
2473
+ /**
2474
+ * Previously Started Event
2475
+ * @description The previously started event that is taking too long.
2476
+ */
2477
+ previously_started_event: unknown;
2478
+ };
2481
2479
  AgentFrameworkInvocationMetadata: components["schemas"]["StateTransitionInvocationMetadata"] | components["schemas"]["EngageUserInvocationMetadata"];
2482
2480
  /** AnnotationState */
2483
2481
  "AnnotationState-Input": {
@@ -3039,7 +3037,7 @@ export interface components {
3039
3037
  */
3040
3038
  type?: "end-session";
3041
3039
  };
3042
- EngageUserAgentActionEvent: components["schemas"]["EngageUserDynamicBehaviorOverrideEvent"] | components["schemas"]["EngageUserMessageFragmentGeneratedEvent"] | components["schemas"]["ToolCallStartedEvent"] | components["schemas"]["ToolCallEndedEvent"];
3040
+ EngageUserAgentActionEvent: components["schemas"]["EngageUserDynamicBehaviorOverrideEvent"] | components["schemas"]["EngageUserMessageFragmentGeneratedEvent"] | components["schemas"]["ToolCallStartedEvent"] | components["schemas"]["ToolCallEndedEvent"] | components["schemas"]["ActionTooLongEvent"];
3043
3041
  /**
3044
3042
  * EngageUserDynamicBehaviorOverrideEvent
3045
3043
  * @description Indicating that the agent has merged the dynamic behavior set's instructions with the instructions from the current state.
@@ -3774,7 +3772,7 @@ export interface components {
3774
3772
  /** Action */
3775
3773
  action: string;
3776
3774
  };
3777
- NavigateStateMachineAgentActionEvent: components["schemas"]["NavigateStateMachineDynamicBehaviorOverrideEvent"] | components["schemas"]["NavigateStateMachineActionStateActionSelectedEvent"] | 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"];
3775
+ 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"];
3778
3776
  /**
3779
3777
  * NavigateStateMachineAnnotationStateAnnotationRetrievedEvent
3780
3778
  * @description Indicating that the agent has retrieved the annotation in the current annotation state.
@@ -3788,6 +3786,17 @@ export interface components {
3788
3786
  /** Annotation */
3789
3787
  annotation: string;
3790
3788
  };
3789
+ /**
3790
+ * NavigateStateMachineDecisionStateDecisionStartedEvent
3791
+ * @description Indicating that the agent has started making a decision in the current decision state.
3792
+ */
3793
+ NavigateStateMachineDecisionStateDecisionStartedEvent: {
3794
+ /**
3795
+ * @description discriminator enum property added by openapi-typescript
3796
+ * @enum {string}
3797
+ */
3798
+ type: "navigate-state-machine-decision-state-decision-started";
3799
+ };
3791
3800
  /**
3792
3801
  * NavigateStateMachineDynamicBehaviorOverrideEvent
3793
3802
  * @description Indicating that the agent has merged the dynamic behavior set's instructions with the instructions from the current state.
@@ -4207,8 +4216,6 @@ export interface components {
4207
4216
  components["schemas"]["ExternalStateName"],
4208
4217
  components["schemas"]["StateOrRefName"]
4209
4218
  ];
4210
- /** Audio Fillers */
4211
- audio_fillers: components["schemas"]["StrippedNonemptyString_________"][];
4212
4219
  };
4213
4220
  /**
4214
4221
  * RecallState
@@ -4246,11 +4253,6 @@ export interface components {
4246
4253
  string,
4247
4254
  string
4248
4255
  ];
4249
- /**
4250
- * Audio Fillers
4251
- * @description A list of audio fillers to play in the audio mode if the memory retrieval is taking too long to process.
4252
- */
4253
- audio_fillers: string[];
4254
4256
  };
4255
4257
  /** RecallStateTransitionLog */
4256
4258
  RecallStateTransitionLog: {
@@ -10513,76 +10515,6 @@ export interface operations {
10513
10515
  };
10514
10516
  };
10515
10517
  };
10516
- "ensure-service-version-set-audio-fillers": {
10517
- parameters: {
10518
- query?: never;
10519
- header?: {
10520
- /** @description The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database. */
10521
- "x-mongo-cluster-name"?: string | null;
10522
- "Sec-WebSocket-Protocol"?: string[];
10523
- };
10524
- path: {
10525
- /** @description The ID of the service the version set is in. */
10526
- service_id: string;
10527
- /** @description Name of the version set. */
10528
- version_set_name: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
10529
- organization: string;
10530
- };
10531
- cookie?: never;
10532
- };
10533
- requestBody?: never;
10534
- responses: {
10535
- /** @description Succeeded. */
10536
- 204: {
10537
- headers: {
10538
- [name: string]: unknown;
10539
- };
10540
- content?: never;
10541
- };
10542
- /** @description Invalid authorization credentials. */
10543
- 401: {
10544
- headers: {
10545
- [name: string]: unknown;
10546
- };
10547
- content?: never;
10548
- };
10549
- /** @description Missing required permissions. */
10550
- 403: {
10551
- headers: {
10552
- [name: string]: unknown;
10553
- };
10554
- content?: never;
10555
- };
10556
- /** @description The specified organization, service, or version set do not exist. */
10557
- 404: {
10558
- headers: {
10559
- [name: string]: unknown;
10560
- };
10561
- content?: never;
10562
- };
10563
- /** @description Invalid request path parameter failed validation. */
10564
- 422: {
10565
- headers: {
10566
- [name: string]: unknown;
10567
- };
10568
- content?: never;
10569
- };
10570
- /** @description The user has exceeded the rate limit of 60 requests per minute for this endpoint. */
10571
- 429: {
10572
- headers: {
10573
- [name: string]: unknown;
10574
- };
10575
- content?: never;
10576
- };
10577
- /** @description The service is going through temporary maintenance. */
10578
- 503: {
10579
- headers: {
10580
- [name: string]: unknown;
10581
- };
10582
- content?: never;
10583
- };
10584
- };
10585
- };
10586
10518
  "update-service": {
10587
10519
  parameters: {
10588
10520
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.35.0",
3
+ "version": "0.36.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"