@amigo-ai/sdk 0.33.0 → 0.35.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,6 +472,30 @@ 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
+ };
475
499
  "/v1/{organization}/service/{service_id}/": {
476
500
  parameters: {
477
501
  query?: never;
@@ -2318,6 +2342,7 @@ export interface components {
2318
2342
  * @enum {string}
2319
2343
  */
2320
2344
  type: "action";
2345
+ name: components["schemas"]["StateOrRefName"];
2321
2346
  objective: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
2322
2347
  /** Actions */
2323
2348
  actions: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
@@ -2353,6 +2378,11 @@ export interface components {
2353
2378
  * @enum {string}
2354
2379
  */
2355
2380
  type: "action";
2381
+ /**
2382
+ * Name
2383
+ * @description The name of this state.
2384
+ */
2385
+ name: string;
2356
2386
  /**
2357
2387
  * Objective
2358
2388
  * @description The objective that the `Agent` works towards when in this state.
@@ -2456,6 +2486,7 @@ export interface components {
2456
2486
  * @enum {string}
2457
2487
  */
2458
2488
  type: "annotation";
2489
+ name: components["schemas"]["StateOrRefName"];
2459
2490
  inner_thought: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
2460
2491
  /** Next State */
2461
2492
  next_state: components["schemas"]["StateOrRefName"] | [
@@ -2473,6 +2504,11 @@ export interface components {
2473
2504
  * @enum {string}
2474
2505
  */
2475
2506
  type: "annotation";
2507
+ /**
2508
+ * Name
2509
+ * @description The name of this state.
2510
+ */
2511
+ name: string;
2476
2512
  /**
2477
2513
  * Inner Thought
2478
2514
  * @description The inner thought to add to the conversation.
@@ -2744,6 +2780,7 @@ export interface components {
2744
2780
  * @enum {string}
2745
2781
  */
2746
2782
  type: "decision";
2783
+ name: components["schemas"]["StateOrRefName"];
2747
2784
  /** Exit Conditions */
2748
2785
  exit_conditions: components["schemas"]["ExitCondition-Input"][];
2749
2786
  /** Decision Guidelines */
@@ -2751,6 +2788,8 @@ export interface components {
2751
2788
  objective: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
2752
2789
  /** Tool Call Specs */
2753
2790
  tool_call_specs: components["schemas"]["ToolCallSpec-Input"][];
2791
+ /** Audio Fillers */
2792
+ audio_fillers: components["schemas"]["StrippedNonemptyString_________"][];
2754
2793
  };
2755
2794
  /**
2756
2795
  * DecisionState
@@ -2764,6 +2803,11 @@ export interface components {
2764
2803
  * @enum {string}
2765
2804
  */
2766
2805
  type: "decision";
2806
+ /**
2807
+ * Name
2808
+ * @description The name of this state.
2809
+ */
2810
+ name: string;
2767
2811
  /**
2768
2812
  * Exit Conditions
2769
2813
  * @description A list of exit conditions for this state that describes under what condition would the session be allowed to transition to another state.
@@ -2784,6 +2828,11 @@ export interface components {
2784
2828
  * @description A list of tool calls that the agent can make in this state.
2785
2829
  */
2786
2830
  tool_call_specs: components["schemas"]["ToolCallSpec-Output"][];
2831
+ /**
2832
+ * Audio Fillers
2833
+ * @description A list of audio fillers to play in the audio mode if the `select-next-state-for-decision-state` prompt is taking too long to process.
2834
+ */
2835
+ audio_fillers: string[];
2787
2836
  };
2788
2837
  /** DecisionStateTransitionLog */
2789
2838
  DecisionStateTransitionLog: {
@@ -4149,6 +4198,7 @@ export interface components {
4149
4198
  * @enum {string}
4150
4199
  */
4151
4200
  type: "recall";
4201
+ name: components["schemas"]["StateOrRefName"];
4152
4202
  /** Queries */
4153
4203
  queries: string[] | null;
4154
4204
  requested_information: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
@@ -4157,6 +4207,8 @@ export interface components {
4157
4207
  components["schemas"]["ExternalStateName"],
4158
4208
  components["schemas"]["StateOrRefName"]
4159
4209
  ];
4210
+ /** Audio Fillers */
4211
+ audio_fillers: components["schemas"]["StrippedNonemptyString_________"][];
4160
4212
  };
4161
4213
  /**
4162
4214
  * RecallState
@@ -4169,6 +4221,11 @@ export interface components {
4169
4221
  * @enum {string}
4170
4222
  */
4171
4223
  type: "recall";
4224
+ /**
4225
+ * Name
4226
+ * @description The name of this state.
4227
+ */
4228
+ name: string;
4172
4229
  /**
4173
4230
  * Queries
4174
4231
  * @description A list of queries to perform active memory extraction for. If this field is defined, `requested_information` must be `None`.
@@ -4189,6 +4246,11 @@ export interface components {
4189
4246
  string,
4190
4247
  string
4191
4248
  ];
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[];
4192
4254
  };
4193
4255
  /** RecallStateTransitionLog */
4194
4256
  RecallStateTransitionLog: {
@@ -4236,6 +4298,7 @@ export interface components {
4236
4298
  * @enum {string}
4237
4299
  */
4238
4300
  type: "reflection";
4301
+ name: components["schemas"]["StateOrRefName"];
4239
4302
  problem: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
4240
4303
  /** Word Limit */
4241
4304
  word_limit: number;
@@ -4246,6 +4309,8 @@ export interface components {
4246
4309
  ];
4247
4310
  /** Tool Call Specs */
4248
4311
  tool_call_specs: components["schemas"]["ToolCallSpec-Input"][];
4312
+ /** Audio Fillers */
4313
+ audio_fillers: components["schemas"]["StrippedNonemptyString_________"][];
4249
4314
  };
4250
4315
  /**
4251
4316
  * ReflectionState
@@ -4257,6 +4322,11 @@ export interface components {
4257
4322
  * @enum {string}
4258
4323
  */
4259
4324
  type: "reflection";
4325
+ /**
4326
+ * Name
4327
+ * @description The name of this state.
4328
+ */
4329
+ name: string;
4260
4330
  /**
4261
4331
  * Problem
4262
4332
  * @description The problem to reflect upon.
@@ -4282,6 +4352,11 @@ export interface components {
4282
4352
  * @description A list of tool calls that the agent can make in this state.
4283
4353
  */
4284
4354
  tool_call_specs: components["schemas"]["ToolCallSpec-Output"][];
4355
+ /**
4356
+ * Audio Fillers
4357
+ * @description A list of audio fillers to play in audio mode if the reflection is taking too long to be generated.
4358
+ */
4359
+ audio_fillers: string[];
4285
4360
  };
4286
4361
  /** ReflectionStateTransitionLog */
4287
4362
  ReflectionStateTransitionLog: {
@@ -4489,9 +4564,7 @@ export interface components {
4489
4564
  * States
4490
4565
  * @description The states in this state machine.
4491
4566
  */
4492
- states: {
4493
- [key: string]: components["schemas"]["State"];
4494
- };
4567
+ states: components["schemas"]["State"][];
4495
4568
  /**
4496
4569
  * New User Initial State
4497
4570
  * @description The state a new user will be in when a session starts. This must be an action state.
@@ -5165,6 +5238,7 @@ export interface components {
5165
5238
  };
5166
5239
  StateTransitionLog: components["schemas"]["ActionStateTransitionLog"] | components["schemas"]["DecisionStateTransitionLog"] | components["schemas"]["RecallStateTransitionLog"] | components["schemas"]["JumpbackStateTransitionLog"] | components["schemas"]["AnnotationStateTransitionLog"] | components["schemas"]["ReflectionStateTransitionLog"];
5167
5240
  "StrippedNonemptyString_A-Z______": string;
5241
+ StrippedNonemptyString_________: string;
5168
5242
  StrippedNonemptyString___w__s_____: string;
5169
5243
  "StrippedNonemptyString_a-z-______": string;
5170
5244
  "StrippedNonemptyString_a-z0-9______": string;
@@ -5301,6 +5375,8 @@ export interface components {
5301
5375
  version_constraint: string;
5302
5376
  /** @description Additional instruction to be supplied to the LLM in addition to the tool's description. */
5303
5377
  additional_instruction: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
5378
+ /** Audio Fillers */
5379
+ audio_fillers: components["schemas"]["StrippedNonemptyString_________"][];
5304
5380
  };
5305
5381
  /**
5306
5382
  * ToolCallSpec
@@ -5322,6 +5398,11 @@ export interface components {
5322
5398
  * @description Additional instruction to be supplied to the LLM in addition to the tool's description.
5323
5399
  */
5324
5400
  additional_instruction: string;
5401
+ /**
5402
+ * Audio Fillers
5403
+ * @description A list of audio fillers to play in audio mode if the tool is taking a long time.
5404
+ */
5405
+ audio_fillers: string[];
5325
5406
  };
5326
5407
  /**
5327
5408
  * ToolCallStartedEvent
@@ -6964,9 +7045,7 @@ export interface components {
6964
7045
  * States
6965
7046
  * @description The internal states in this service hierarchical state machine.
6966
7047
  */
6967
- states: {
6968
- [key: string]: components["schemas"]["ActionState-Input"] | components["schemas"]["DecisionState-Input"] | components["schemas"]["RecallState-Input"] | components["schemas"]["AnnotationState-Input"] | components["schemas"]["ReflectionState-Input"];
6969
- };
7048
+ states: (components["schemas"]["ActionState-Input"] | components["schemas"]["DecisionState-Input"] | components["schemas"]["RecallState-Input"] | components["schemas"]["AnnotationState-Input"] | components["schemas"]["ReflectionState-Input"])[];
6970
7049
  /** @description The state a new user will be in when a session starts. This must be an action state, and must be an internal state. */
6971
7050
  new_user_initial_state: components["schemas"]["StateOrRefName"];
6972
7051
  /** @description The state a returning user will be in when a session starts. This must be an action state, and must be an internal state. */
@@ -8553,11 +8632,6 @@ export interface components {
8553
8632
  * @description A list of additional context to update. If `null`, the context is not modified.
8554
8633
  */
8555
8634
  additional_context?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][] | null;
8556
- /**
8557
- * Enable Azure Devops Access
8558
- * @description Whether to enable Azure DevOps access for this user to enable tool development. If `null`, it is not modified.
8559
- */
8560
- enable_azure_devops_access?: boolean | null;
8561
8635
  };
8562
8636
  /** Request */
8563
8637
  webhook_destination__create_webhook_destination__Request: {
@@ -10439,6 +10513,76 @@ export interface operations {
10439
10513
  };
10440
10514
  };
10441
10515
  };
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
+ };
10442
10586
  "update-service": {
10443
10587
  parameters: {
10444
10588
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.33.0",
3
+ "version": "0.35.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"