@droz-js/sdk 0.26.15 → 0.26.16
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 +1 -1
- package/src/sdks/ai.d.ts +5 -2
- package/src/sdks/ai.js +3 -0
package/package.json
CHANGED
package/src/sdks/ai.d.ts
CHANGED
|
@@ -179,8 +179,11 @@ export type AiAgentAuthoringRefInput = {
|
|
|
179
179
|
id: Scalars['ID']['input'];
|
|
180
180
|
};
|
|
181
181
|
export type AiAgentAuthoringRules = {
|
|
182
|
+
defaultKnowledgeFallback: AiAgentKnowledgeFallback;
|
|
182
183
|
knowledgeFallbacks: Array<AiAgentKnowledgeFallback>;
|
|
183
184
|
maxAuthoredFieldLength: Scalars['Int']['output'];
|
|
185
|
+
maxAutomaticMessageChars: Scalars['Int']['output'];
|
|
186
|
+
maxReplySubjectChars: Scalars['Int']['output'];
|
|
184
187
|
};
|
|
185
188
|
export type AiAgentBudget = {
|
|
186
189
|
maxCostMicroUsd?: Maybe<Scalars['Int']['output']>;
|
|
@@ -1871,7 +1874,7 @@ export type AiAgentAuthoringRulesQueryVariables = Exact<{
|
|
|
1871
1874
|
[key: string]: never;
|
|
1872
1875
|
}>;
|
|
1873
1876
|
export type AiAgentAuthoringRulesQuery = {
|
|
1874
|
-
aiAgentAuthoringRules: Pick<AiAgentAuthoringRules, 'maxAuthoredFieldLength' | 'knowledgeFallbacks'>;
|
|
1877
|
+
aiAgentAuthoringRules: Pick<AiAgentAuthoringRules, 'maxAuthoredFieldLength' | 'maxAutomaticMessageChars' | 'maxReplySubjectChars' | 'knowledgeFallbacks' | 'defaultKnowledgeFallback'>;
|
|
1875
1878
|
};
|
|
1876
1879
|
export type AiAgentCheckLimitsQueryVariables = Exact<{
|
|
1877
1880
|
aiAgentId: Scalars['ID']['input'];
|
|
@@ -2043,7 +2046,7 @@ export declare const RemoveAiAgentScenarioDocument = "\n mutation removeAiAge
|
|
|
2043
2046
|
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 ";
|
|
2044
2047
|
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 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 ";
|
|
2045
2048
|
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 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 ";
|
|
2046
|
-
export declare const AiAgentAuthoringRulesDocument = "\n query aiAgentAuthoringRules {\n aiAgentAuthoringRules {\n maxAuthoredFieldLength\n knowledgeFallbacks\n }\n}\n ";
|
|
2049
|
+
export declare const AiAgentAuthoringRulesDocument = "\n query aiAgentAuthoringRules {\n aiAgentAuthoringRules {\n maxAuthoredFieldLength\n maxAutomaticMessageChars\n maxReplySubjectChars\n knowledgeFallbacks\n defaultKnowledgeFallback\n }\n}\n ";
|
|
2047
2050
|
export declare const AiAgentCheckLimitsDocument = "\n query aiAgentCheckLimits($aiAgentId: ID!) {\n aiAgentCheckLimits(aiAgentId: $aiAgentId) {\n minRunsPerScenario\n maxRunsPerScenario\n maxSuiteRuns\n scenarioCount\n }\n}\n ";
|
|
2048
2051
|
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 }\n channels\n conversationTiming {\n channel\n abandonAfterMs\n remindAfterMs\n metaWindowMs\n reminderMessage\n renewalMessage\n }\n typingIndicator\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2049
2052
|
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
|
@@ -1150,7 +1150,10 @@ exports.AiAgentAuthoringRulesDocument = `
|
|
|
1150
1150
|
query aiAgentAuthoringRules {
|
|
1151
1151
|
aiAgentAuthoringRules {
|
|
1152
1152
|
maxAuthoredFieldLength
|
|
1153
|
+
maxAutomaticMessageChars
|
|
1154
|
+
maxReplySubjectChars
|
|
1153
1155
|
knowledgeFallbacks
|
|
1156
|
+
defaultKnowledgeFallback
|
|
1154
1157
|
}
|
|
1155
1158
|
}
|
|
1156
1159
|
`;
|