@droz-js/sdk 0.26.40 → 0.26.41

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@droz-js/sdk",
3
3
  "description": "Droz SDK",
4
- "version": "0.26.40",
4
+ "version": "0.26.41",
5
5
  "private": false,
6
6
  "repository": {
7
7
  "type": "git",
package/src/sdks/ai.d.ts CHANGED
@@ -194,12 +194,17 @@ export type AiAgentAuthoringRefInput = {
194
194
  export type AiAgentAuthoringRules = {
195
195
  defaultKnowledgeFallback: AiAgentKnowledgeFallback;
196
196
  knowledgeFallbacks: Array<AiAgentKnowledgeFallback>;
197
+ maxAgentVariables: Scalars['Int']['output'];
197
198
  maxAuthoredFieldLength: Scalars['Int']['output'];
198
199
  maxAutomaticMessageChars: Scalars['Int']['output'];
199
200
  maxReplySubjectChars: Scalars['Int']['output'];
200
201
  maxRetentionConditionValueChars: Scalars['Int']['output'];
201
202
  maxToneNotesLength: Scalars['Int']['output'];
203
+ maxVariableDescriptionChars: Scalars['Int']['output'];
204
+ maxVariableNameChars: Scalars['Int']['output'];
205
+ personalVariableTypes: Array<AiAgentVariableType>;
202
206
  retentionConditionOperators: Array<AiAgentRetentionConditionOperators>;
207
+ variableNamePattern: Scalars['String']['output'];
203
208
  };
204
209
  export type AiAgentBudget = {
205
210
  maxCostMicroUsd?: Maybe<Scalars['Int']['output']>;
@@ -2175,7 +2180,7 @@ export type AiAgentAuthoringRulesQueryVariables = Exact<{
2175
2180
  [key: string]: never;
2176
2181
  }>;
2177
2182
  export type AiAgentAuthoringRulesQuery = {
2178
- aiAgentAuthoringRules: (Pick<AiAgentAuthoringRules, 'maxAuthoredFieldLength' | 'maxToneNotesLength' | 'maxAutomaticMessageChars' | 'maxReplySubjectChars' | 'maxRetentionConditionValueChars' | 'knowledgeFallbacks' | 'defaultKnowledgeFallback'> & {
2183
+ aiAgentAuthoringRules: (Pick<AiAgentAuthoringRules, 'maxAuthoredFieldLength' | 'maxToneNotesLength' | 'maxAutomaticMessageChars' | 'maxReplySubjectChars' | 'maxRetentionConditionValueChars' | 'knowledgeFallbacks' | 'defaultKnowledgeFallback' | 'variableNamePattern' | 'maxVariableNameChars' | 'maxVariableDescriptionChars' | 'maxAgentVariables' | 'personalVariableTypes'> & {
2179
2184
  retentionConditionOperators: Array<Pick<AiAgentRetentionConditionOperators, 'parameterType' | 'operators'>>;
2180
2185
  });
2181
2186
  };
@@ -2367,7 +2372,7 @@ export declare const RemoveAiAgentScenarioDocument = "\n mutation removeAiAge
2367
2372
  export declare const SaveAiAgentScenarioDocument = "\n mutation saveAiAgentScenario($input: SaveAiAgentScenarioInput!) {\n saveAiAgentScenario(input: $input) {\n ...aiAgentScenario\n }\n}\n \n fragment aiAgentScenario on AiAgentScenario {\n scenarioId\n description\n customerId\n turns\n expectations\n}\n ";
2368
2373
  export declare const CheckAiAgentVersionDocument = "\n mutation checkAiAgentVersion($input: CheckAiAgentVersionInput!) {\n checkAiAgentVersion(input: $input) {\n ...aiAgentCheckRun\n }\n}\n \n fragment aiAgentCheckRun on AiAgentCheckRun {\n runId\n aiAgentId\n version\n status\n requestedAt\n startedAt\n finishedAt\n totalRuns\n completedRuns\n error\n excludedTools {\n ...aiAgentToolExclusion\n }\n result {\n safeToPublish\n authoring {\n useCases\n procedures\n updatedAt\n }\n reports {\n scenarioId\n runs\n cut\n measured\n passed\n rate\n handoffReasons {\n key\n count\n }\n turns {\n turn\n runs\n answered\n grounded\n blocked\n identificationRequired\n toolNames {\n key\n count\n }\n rejectedCalls {\n toolName\n reason\n count\n }\n heldCalls {\n key\n count\n }\n blockCategories {\n key\n count\n }\n }\n }\n regressions {\n scenarioId\n before\n after\n }\n }\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
2369
2374
  export declare const GetAiAgentCheckRunDocument = "\n query getAiAgentCheckRun($aiAgentId: ID!, $runId: ID!) {\n getAiAgentCheckRun(aiAgentId: $aiAgentId, runId: $runId) {\n ...aiAgentCheckRun\n }\n}\n \n fragment aiAgentCheckRun on AiAgentCheckRun {\n runId\n aiAgentId\n version\n status\n requestedAt\n startedAt\n finishedAt\n totalRuns\n completedRuns\n error\n excludedTools {\n ...aiAgentToolExclusion\n }\n result {\n safeToPublish\n authoring {\n useCases\n procedures\n updatedAt\n }\n reports {\n scenarioId\n runs\n cut\n measured\n passed\n rate\n handoffReasons {\n key\n count\n }\n turns {\n turn\n runs\n answered\n grounded\n blocked\n identificationRequired\n toolNames {\n key\n count\n }\n rejectedCalls {\n toolName\n reason\n count\n }\n heldCalls {\n key\n count\n }\n blockCategories {\n key\n count\n }\n }\n }\n regressions {\n scenarioId\n before\n after\n }\n }\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
2370
- export declare const AiAgentAuthoringRulesDocument = "\n query aiAgentAuthoringRules {\n aiAgentAuthoringRules {\n maxAuthoredFieldLength\n maxToneNotesLength\n maxAutomaticMessageChars\n maxReplySubjectChars\n maxRetentionConditionValueChars\n retentionConditionOperators {\n parameterType\n operators\n }\n knowledgeFallbacks\n defaultKnowledgeFallback\n }\n}\n ";
2375
+ export declare const AiAgentAuthoringRulesDocument = "\n query aiAgentAuthoringRules {\n aiAgentAuthoringRules {\n maxAuthoredFieldLength\n maxToneNotesLength\n maxAutomaticMessageChars\n maxReplySubjectChars\n maxRetentionConditionValueChars\n retentionConditionOperators {\n parameterType\n operators\n }\n knowledgeFallbacks\n defaultKnowledgeFallback\n variableNamePattern\n maxVariableNameChars\n maxVariableDescriptionChars\n maxAgentVariables\n personalVariableTypes\n }\n}\n ";
2371
2376
  export declare const AiAgentCheckLimitsDocument = "\n query aiAgentCheckLimits($aiAgentId: ID!) {\n aiAgentCheckLimits(aiAgentId: $aiAgentId) {\n minRunsPerScenario\n maxRunsPerScenario\n maxSuiteRuns\n scenarioCount\n }\n}\n ";
2372
2377
  export declare const AiAgentVersionSpecDocument = "\n query aiAgentVersionSpec($aiAgentId: ID!) {\n listAiAgentVersions(aiAgentId: $aiAgentId) {\n ...aiAgentVersionWithSpec\n }\n}\n \n fragment aiAgentVersionWithSpec on AiAgentVersion {\n aiAgentId\n version\n status\n createdAt\n spec {\n ...aiAgentSpec\n }\n excludedTools {\n ...aiAgentToolExclusion\n }\n}\n \n\n fragment aiAgentSpec on AiAgentSpec {\n identity {\n displayName\n role\n tone\n toneNotes\n openingMessage\n outOfScopeBehaviour\n }\n can\n cannot\n knowledgeBaseIds\n knowledgeFallback\n toolIds\n budget {\n maxSteps\n maxToolCalls\n maxTokens\n maxCostMicroUsd\n maxPeriodCostMicroUsd\n onExceeded\n }\n handoff {\n transition\n target\n toolFailureMessage\n }\n insistence {\n retriesAfterRefusal\n handoffOnRequest\n handoffOnRequestAfterLookup\n }\n channels\n conversationTiming {\n channel\n abandonAfterMs\n remindAfterMs\n metaWindowMs\n reminderMessage\n renewalMessage\n }\n typingIndicator\n approvalRouting\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
2373
2378
  export declare const AiAgentRoutingPreviewDocument = "\n query aiAgentRoutingPreview($input: AiAgentRoutingPreviewInput!) {\n aiAgentRoutingPreview(input: $input) {\n high\n medium\n examples {\n message\n useCaseId\n score\n confidence\n }\n }\n}\n ";
package/src/sdks/ai.js CHANGED
@@ -1394,6 +1394,11 @@ exports.AiAgentAuthoringRulesDocument = `
1394
1394
  }
1395
1395
  knowledgeFallbacks
1396
1396
  defaultKnowledgeFallback
1397
+ variableNamePattern
1398
+ maxVariableNameChars
1399
+ maxVariableDescriptionChars
1400
+ maxAgentVariables
1401
+ personalVariableTypes
1397
1402
  }
1398
1403
  }
1399
1404
  `;