@droz-js/sdk 0.19.28 → 0.19.30

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/sdks/ai.d.ts +7 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@droz-js/sdk",
3
3
  "description": "Droz SDK",
4
- "version": "0.19.28",
4
+ "version": "0.19.30",
5
5
  "private": false,
6
6
  "repository": {
7
7
  "type": "git",
package/src/sdks/ai.d.ts CHANGED
@@ -287,6 +287,11 @@ export type AiAgentMetrics = {
287
287
  from: Scalars['Number']['output'];
288
288
  haltReasons: Array<AiAgentMetricsCount>;
289
289
  haltedTurns: Scalars['Number']['output'];
290
+ /**
291
+ * Por que a pessoa foi pedida: `customer_request` quando o consumidor pediu ou o agente concluiu que
292
+ * precisava, `tool_failure`, `provider_unavailable`, `budget_exceeded` ou `period_budget_exceeded`.
293
+ */
294
+ handoffsByReason: Array<AiAgentMetricsCount>;
290
295
  /** Turnos que terminaram pedindo uma pessoa (pedido, nao transferencia). */
291
296
  humanRequestedTurns: Scalars['Number']['output'];
292
297
  /** Turnos que precisaram de cliente identificado e nao tinham um — a medida do atrito de identificacao. */
@@ -614,6 +619,8 @@ export type CheckAiAgentVersionInput = {
614
619
  agentId: Scalars['ID']['input'];
615
620
  /** De 2 a 20. Uma execução só não prova nada num sistema probabilístico. */
616
621
  runsPerScenario?: InputMaybe<Scalars['Int']['input']>;
622
+ /** Cenários a rodar. Ausente roda todos; o resultado cobre só os cenários rodados. */
623
+ scenarioIds?: InputMaybe<Array<Scalars['ID']['input']>>;
617
624
  version: Scalars['Int']['input'];
618
625
  };
619
626
  export type CreateNlpInstanceInput = {