@amigo-ai/sdk 0.35.0 → 0.37.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,29 @@ 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 A filler that can be played while waiting for the action to complete. If the audio filler exists, this is monochannel, 16-bit PCM WAV audio (at sample rate 16kHz) encoded in base64 encoding.
2471
+ * Otherwise, this is the text corresponding to the audio filler.
2472
+ */
2473
+ filler: string;
2474
+ /**
2475
+ * Previously Started Event
2476
+ * @description The previously started event that is taking too long.
2477
+ */
2478
+ previously_started_event: components["schemas"]["ToolCallStartedEvent"] | components["schemas"]["NavigateStateMachineDecisionStateDecisionStartedEvent"] | components["schemas"]["NavigateStateMachineReflectionStatePromptRetrievedEvent"];
2479
+ };
2481
2480
  AgentFrameworkInvocationMetadata: components["schemas"]["StateTransitionInvocationMetadata"] | components["schemas"]["EngageUserInvocationMetadata"];
2482
2481
  /** AnnotationState */
2483
2482
  "AnnotationState-Input": {
@@ -3039,7 +3038,7 @@ export interface components {
3039
3038
  */
3040
3039
  type?: "end-session";
3041
3040
  };
3042
- EngageUserAgentActionEvent: components["schemas"]["EngageUserDynamicBehaviorOverrideEvent"] | components["schemas"]["EngageUserMessageFragmentGeneratedEvent"] | components["schemas"]["ToolCallStartedEvent"] | components["schemas"]["ToolCallEndedEvent"];
3041
+ EngageUserAgentActionEvent: components["schemas"]["EngageUserDynamicBehaviorOverrideEvent"] | components["schemas"]["EngageUserMessageFragmentGeneratedEvent"] | components["schemas"]["ToolCallStartedEvent"] | components["schemas"]["ToolCallEndedEvent"] | components["schemas"]["ActionTooLongEvent"];
3043
3042
  /**
3044
3043
  * EngageUserDynamicBehaviorOverrideEvent
3045
3044
  * @description Indicating that the agent has merged the dynamic behavior set's instructions with the instructions from the current state.
@@ -3774,7 +3773,7 @@ export interface components {
3774
3773
  /** Action */
3775
3774
  action: string;
3776
3775
  };
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"];
3776
+ 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
3777
  /**
3779
3778
  * NavigateStateMachineAnnotationStateAnnotationRetrievedEvent
3780
3779
  * @description Indicating that the agent has retrieved the annotation in the current annotation state.
@@ -3788,6 +3787,17 @@ export interface components {
3788
3787
  /** Annotation */
3789
3788
  annotation: string;
3790
3789
  };
3790
+ /**
3791
+ * NavigateStateMachineDecisionStateDecisionStartedEvent
3792
+ * @description Indicating that the agent has started making a decision in the current decision state.
3793
+ */
3794
+ NavigateStateMachineDecisionStateDecisionStartedEvent: {
3795
+ /**
3796
+ * @description discriminator enum property added by openapi-typescript
3797
+ * @enum {string}
3798
+ */
3799
+ type: "navigate-state-machine-decision-state-decision-started";
3800
+ };
3791
3801
  /**
3792
3802
  * NavigateStateMachineDynamicBehaviorOverrideEvent
3793
3803
  * @description Indicating that the agent has merged the dynamic behavior set's instructions with the instructions from the current state.
@@ -4207,8 +4217,6 @@ export interface components {
4207
4217
  components["schemas"]["ExternalStateName"],
4208
4218
  components["schemas"]["StateOrRefName"]
4209
4219
  ];
4210
- /** Audio Fillers */
4211
- audio_fillers: components["schemas"]["StrippedNonemptyString_________"][];
4212
4220
  };
4213
4221
  /**
4214
4222
  * RecallState
@@ -4246,11 +4254,6 @@ export interface components {
4246
4254
  string,
4247
4255
  string
4248
4256
  ];
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
4257
  };
4255
4258
  /** RecallStateTransitionLog */
4256
4259
  RecallStateTransitionLog: {
@@ -10513,76 +10516,6 @@ export interface operations {
10513
10516
  };
10514
10517
  };
10515
10518
  };
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
10519
  "update-service": {
10587
10520
  parameters: {
10588
10521
  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.37.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"