@acorex-platform/module-ai-management-client 0.0.38 → 0.0.48
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/fesm2022/acorex-platform-module-ai-management-client-contracts-entities-agent.mjs +30 -0
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entities-agent.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entities-assist.mjs +16 -0
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entities-assist.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entities-mcp-server.mjs +30 -0
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entities-mcp-server.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entities-model.mjs +52 -15
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entities-model.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entities-open-ai-endpoint.mjs +30 -0
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entities-open-ai-endpoint.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entities-rule.mjs +30 -0
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entities-rule.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entities-run-log.mjs +430 -0
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entities-run-log.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entities-skill.mjs +30 -0
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entities-skill.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-ai-management-client-contracts-entity-catalog-acorex-platform-module-ai-management-client-contracts-entity-catalog-oTY4z5q8.mjs → acorex-platform-module-ai-management-client-contracts-entity-catalog-acorex-platform-module-ai-management-client-contracts-entity-catalog-D8jl5iFT.mjs} +25 -8
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entity-catalog-acorex-platform-module-ai-management-client-contracts-entity-catalog-D8jl5iFT.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-ai-management-client-contracts-entity-catalog-agent.entity-C75X-uZh.mjs → acorex-platform-module-ai-management-client-contracts-entity-catalog-agent.entity-Dj7dZRjE.mjs} +16 -2
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entity-catalog-agent.entity-Dj7dZRjE.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-ai-management-client-contracts-entity-catalog-assist.entity-DrlJo7CZ.mjs → acorex-platform-module-ai-management-client-contracts-entity-catalog-assist.entity-DUlikO9I.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-ai-management-client-contracts-entity-catalog-assist.entity-DrlJo7CZ.mjs.map → acorex-platform-module-ai-management-client-contracts-entity-catalog-assist.entity-DUlikO9I.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-ai-management-client-contracts-entity-catalog-mcp-server.entity-UxFvQ92v.mjs → acorex-platform-module-ai-management-client-contracts-entity-catalog-mcp-server.entity-BVI_7IhH.mjs} +16 -2
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entity-catalog-mcp-server.entity-BVI_7IhH.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-ai-management-client-contracts-entity-catalog-model.entity-DEdFUAPx.mjs → acorex-platform-module-ai-management-client-contracts-entity-catalog-model.entity-Xd45s9xE.mjs} +38 -17
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entity-catalog-model.entity-Xd45s9xE.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-ai-management-client-contracts-entity-catalog-open-ai-endpoint.entity-CygH9dU_.mjs → acorex-platform-module-ai-management-client-contracts-entity-catalog-open-ai-endpoint.entity-CWsUMad_.mjs} +16 -2
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entity-catalog-open-ai-endpoint.entity-CWsUMad_.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-ai-management-client-contracts-entity-catalog-rule.entity-Ddul_n4_.mjs → acorex-platform-module-ai-management-client-contracts-entity-catalog-rule.entity-Z6wYZrFU.mjs} +16 -2
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entity-catalog-rule.entity-Z6wYZrFU.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entity-catalog-run-log.entity-B2PG0QN0.mjs +343 -0
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entity-catalog-run-log.entity-B2PG0QN0.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-ai-management-client-contracts-entity-catalog-skill.entity-CeMnKpRg.mjs → acorex-platform-module-ai-management-client-contracts-entity-catalog-skill.entity-sNsPtjnT.mjs} +16 -2
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entity-catalog-skill.entity-sNsPtjnT.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entity-catalog.mjs +1 -1
- package/fesm2022/acorex-platform-module-ai-management-client-contracts.mjs +598 -526
- package/fesm2022/acorex-platform-module-ai-management-client-contracts.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-ai-management-client-list-ai-query-registry-catalog.query-BX0uU1YX.mjs → acorex-platform-module-ai-management-client-list-ai-query-registry-catalog.query-BxL3pxzj.mjs} +3 -3
- package/fesm2022/acorex-platform-module-ai-management-client-list-ai-query-registry-catalog.query-BxL3pxzj.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-ai-management-client-local-entities.mjs +1 -0
- package/fesm2022/acorex-platform-module-ai-management-client-local-entities.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-ai-management-client.mjs +281 -117
- package/fesm2022/acorex-platform-module-ai-management-client.mjs.map +1 -1
- package/package.json +5 -1
- package/types/acorex-platform-module-ai-management-client-contracts-entities-run-log.d.ts +5 -0
- package/types/acorex-platform-module-ai-management-client-contracts.d.ts +149 -85
- package/types/acorex-platform-module-ai-management-client.d.ts +27 -19
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entity-catalog-acorex-platform-module-ai-management-client-contracts-entity-catalog-oTY4z5q8.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entity-catalog-agent.entity-C75X-uZh.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entity-catalog-mcp-server.entity-UxFvQ92v.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entity-catalog-model.entity-DEdFUAPx.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entity-catalog-open-ai-endpoint.entity-CygH9dU_.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entity-catalog-rule.entity-Ddul_n4_.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-ai-management-client-contracts-entity-catalog-skill.entity-CeMnKpRg.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-ai-management-client-list-ai-query-registry-catalog.query-BX0uU1YX.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex-platform/module-ai-management-client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.48",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0 || ^22.0.0",
|
|
@@ -47,6 +47,10 @@
|
|
|
47
47
|
"types": "./types/acorex-platform-module-ai-management-client-contracts-entities-rule.d.ts",
|
|
48
48
|
"default": "./fesm2022/acorex-platform-module-ai-management-client-contracts-entities-rule.mjs"
|
|
49
49
|
},
|
|
50
|
+
"./contracts/entities/run-log": {
|
|
51
|
+
"types": "./types/acorex-platform-module-ai-management-client-contracts-entities-run-log.d.ts",
|
|
52
|
+
"default": "./fesm2022/acorex-platform-module-ai-management-client-contracts-entities-run-log.mjs"
|
|
53
|
+
},
|
|
50
54
|
"./contracts/entities/skill": {
|
|
51
55
|
"types": "./types/acorex-platform-module-ai-management-client-contracts-entities-skill.d.ts",
|
|
52
56
|
"default": "./fesm2022/acorex-platform-module-ai-management-client-contracts-entities-skill.mjs"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AXPMultiLanguageString, AXPOutputTranscriptSegmentId, AXPFileListItem,
|
|
1
|
+
import { AXPModuleManifest, AXPMultiLanguageString, AXPOutputTranscriptSegmentId, AXPFileListItem, AXPAgentOutputKind, AXPMetaData, AXPContextDefinition } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import { AXPEntityModel } from '@acorex-platform/framework-shared/entity';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -158,9 +158,31 @@ declare const RootConfig: {
|
|
|
158
158
|
titlePlural: string;
|
|
159
159
|
icon: string;
|
|
160
160
|
};
|
|
161
|
+
runLog: {
|
|
162
|
+
name: string;
|
|
163
|
+
fullName: string;
|
|
164
|
+
title: string;
|
|
165
|
+
titlePlural: string;
|
|
166
|
+
icon: string;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
queries: {
|
|
170
|
+
reports: {
|
|
171
|
+
assistTokenUsage: string;
|
|
172
|
+
modelUsage: string;
|
|
173
|
+
userUsage: string;
|
|
174
|
+
dailyTrend: string;
|
|
175
|
+
runLog: string;
|
|
176
|
+
};
|
|
161
177
|
};
|
|
162
178
|
};
|
|
163
179
|
|
|
180
|
+
/**
|
|
181
|
+
* AI Management Module Manifest.
|
|
182
|
+
* Defines module metadata for AI provider and API key management.
|
|
183
|
+
*/
|
|
184
|
+
declare const AiManagementManifest: AXPModuleManifest;
|
|
185
|
+
|
|
164
186
|
/** Denormalized {@link AiRule} snapshot on assist/agent rows (multi-lookup expose). */
|
|
165
187
|
interface AXMAiManagementRuleRef {
|
|
166
188
|
id: string;
|
|
@@ -286,7 +308,7 @@ interface AXMAiManagementAssistEntityModel extends AXPEntityModel<string> {
|
|
|
286
308
|
|
|
287
309
|
/** Aligns with {@link AXPAiChatTransport} in ai-engine.types (avoid circular imports). */
|
|
288
310
|
type AXMAiManagementModelChatTransport = 'openai' | 'gemini' | 'demis';
|
|
289
|
-
type AXMAiManagementModelPurposeSlug = 'chat' | 'vision' | 'image' | 'speech' | 'tts' | 'video';
|
|
311
|
+
type AXMAiManagementModelPurposeSlug = 'chat' | 'vision' | 'image' | 'speech' | 'tts' | 'video' | 'live-voice';
|
|
290
312
|
/**
|
|
291
313
|
* Persisted AI model catalog row.
|
|
292
314
|
*/
|
|
@@ -339,7 +361,45 @@ interface AXMAiManagementOpenAiEndpointEntityModel extends AXPEntityModel<string
|
|
|
339
361
|
stream?: boolean;
|
|
340
362
|
}
|
|
341
363
|
|
|
342
|
-
|
|
364
|
+
type AXMAiRunLogStatus = 'success' | 'error' | 'aborted';
|
|
365
|
+
type AXMAiRunLogChatTransport = 'openai' | 'gemini' | 'demis';
|
|
366
|
+
/**
|
|
367
|
+
* Append-only per-run token/cost telemetry. Written by the engine; reports aggregate it.
|
|
368
|
+
*/
|
|
369
|
+
interface AXMAiManagementRunLogEntityModel extends AXPEntityModel<string> {
|
|
370
|
+
occurredAt: Date | string;
|
|
371
|
+
runId?: string;
|
|
372
|
+
status: AXMAiRunLogStatus;
|
|
373
|
+
userId?: string;
|
|
374
|
+
userDisplayName?: string;
|
|
375
|
+
assistId?: string;
|
|
376
|
+
assistName?: string;
|
|
377
|
+
assistTitle?: string;
|
|
378
|
+
modelId?: string;
|
|
379
|
+
modelName?: string;
|
|
380
|
+
modelTitle?: string;
|
|
381
|
+
chatTransport?: AXMAiRunLogChatTransport;
|
|
382
|
+
promptTokens: number;
|
|
383
|
+
completionTokens: number;
|
|
384
|
+
totalTokens: number;
|
|
385
|
+
estimatedCostUsd: number;
|
|
386
|
+
inputPricePerMillion?: number;
|
|
387
|
+
outputPricePerMillion?: number;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
type AXPAiExtractDocumentKind = 'image' | 'pdf' | 'text' | 'unsupported';
|
|
391
|
+
/**
|
|
392
|
+
* Classifies a document for AI text extraction (image OCR, PDF file part, or UTF-8 text).
|
|
393
|
+
* Does not include Office formats.
|
|
394
|
+
*/
|
|
395
|
+
declare function classifyAiExtractDocument(mimeType: string | undefined | null, filename?: string | null): AXPAiExtractDocumentKind;
|
|
396
|
+
declare function canAiExtractDocument(mimeType: string | undefined | null, filename?: string | null): boolean;
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Estimated USD cost from catalog prices (USD per 1M tokens) and usage totals.
|
|
400
|
+
* Snapshot prices at write time so later catalog edits do not rewrite history.
|
|
401
|
+
*/
|
|
402
|
+
declare function estimateAiRunCostUsd(promptTokens: number, completionTokens: number, inputPricePerMillion?: number, outputPricePerMillion?: number): number;
|
|
343
403
|
|
|
344
404
|
/** @see {@link AXPAgentOutputKind} */
|
|
345
405
|
type AXPAiAgentOutputKind = AXPAgentOutputKind;
|
|
@@ -570,12 +630,14 @@ interface AXPAiDelegatedNestedToolCallContext {
|
|
|
570
630
|
agentId: string;
|
|
571
631
|
agentName?: string;
|
|
572
632
|
}
|
|
633
|
+
/** Streamed assistant channel: visible answer vs model reasoning. */
|
|
634
|
+
type AXPAiAssistantStreamSegment = 'text' | 'think';
|
|
573
635
|
type AXPAiEngineRunEvent = {
|
|
574
636
|
type: 'assistant_stream_reset';
|
|
575
637
|
} | {
|
|
576
638
|
type: 'assistant_stream_delta';
|
|
577
639
|
delta: string;
|
|
578
|
-
segment?:
|
|
640
|
+
segment?: AXPAiAssistantStreamSegment;
|
|
579
641
|
} | {
|
|
580
642
|
type: 'tool_call_start';
|
|
581
643
|
call: AXPAiToolCall;
|
|
@@ -635,6 +697,63 @@ interface AXPAiEngineRunResult {
|
|
|
635
697
|
delegatedTranscriptsByCallId?: Record<string, AXPAiDelegatedAgentTranscriptEntry>;
|
|
636
698
|
}
|
|
637
699
|
|
|
700
|
+
declare function axpAiChatMessagesFromProviderAssistant(text: string, toolCalls?: AXPAiToolCall[]): AXPAiChatMessage[];
|
|
701
|
+
declare function axcResolveAiMlOrPlainString(value: unknown, locale?: string): string;
|
|
702
|
+
|
|
703
|
+
declare const AIMANAGEMENT_CHAT_GENERATE_IMAGE_COMMAND_KEY = "AiManagement:ChatGenerateImage";
|
|
704
|
+
declare const AIMANAGEMENT_CHAT_TRANSCRIBE_SPEECH_COMMAND_KEY = "AiManagement:ChatTranscribeSpeech";
|
|
705
|
+
declare const AIMANAGEMENT_CHAT_SYNTHESIZE_SPEECH_COMMAND_KEY = "AiManagement:ChatSynthesizeSpeech";
|
|
706
|
+
declare const AIMANAGEMENT_EXTRACT_DOCUMENT_TEXT_COMMAND_KEY = "AiManagement:ExtractDocumentText";
|
|
707
|
+
declare const AIMANAGEMENT_STRUCTURED_TEXT_COMPLETION_COMMAND_KEY = "AiManagement:StructuredTextCompletion";
|
|
708
|
+
declare const AIMANAGEMENT_RENDER_CHAT_CHART_COMMAND_KEY = "AiManagement:RenderChatChart";
|
|
709
|
+
|
|
710
|
+
type AXPAiChatStructuredOutputGate = {
|
|
711
|
+
responseFormat?: AXPAiResponseFormat;
|
|
712
|
+
hasTools?: boolean;
|
|
713
|
+
toolChoice?: 'auto' | 'none' | {
|
|
714
|
+
type: 'tool';
|
|
715
|
+
name: string;
|
|
716
|
+
};
|
|
717
|
+
};
|
|
718
|
+
/**
|
|
719
|
+
* Native structured output (AI SDK `output` / provider schema) must not run on tool-calling
|
|
720
|
+
* turns — only when tools are absent or explicitly disabled (`toolChoice: 'none'`).
|
|
721
|
+
*/
|
|
722
|
+
declare function axpAiShouldApplyChatStructuredOutput(params: AXPAiChatStructuredOutputGate): boolean;
|
|
723
|
+
declare function axpAiTryParseJsonValueFromAssistantText(text: string): unknown | undefined;
|
|
724
|
+
/** True when assistant `text` duplicates a structured segment already attached as `node` / `followUp`. */
|
|
725
|
+
declare function axpAiTextDuplicatesStructuredSegment(text: string, segment: 'node' | 'followUp'): boolean;
|
|
726
|
+
|
|
727
|
+
interface ResolveEffectiveOutputContractInput {
|
|
728
|
+
/** Highest priority: per engine run (programmatic / automation). */
|
|
729
|
+
runtime?: AXPAiAgentOutputContract | unknown | null;
|
|
730
|
+
/** Assist `run` / `show` input. */
|
|
731
|
+
input?: AXPAiAgentOutputContract | unknown | null;
|
|
732
|
+
/** Active AiAgent catalog row. */
|
|
733
|
+
agent?: AXPAiAgentOutputContract | unknown | null;
|
|
734
|
+
/** Active Assist catalog row. */
|
|
735
|
+
assist?: AXPAiAgentOutputContract | unknown | null;
|
|
736
|
+
}
|
|
737
|
+
/**
|
|
738
|
+
* Resolves the effective output contract for one engine turn.
|
|
739
|
+
*
|
|
740
|
+
* Priority: runtime > input > agent > assist > `{ kind: 'string' }`.
|
|
741
|
+
*/
|
|
742
|
+
declare function resolveEffectiveOutputContract(params: ResolveEffectiveOutputContractInput): AXPAiAgentOutputContract;
|
|
743
|
+
|
|
744
|
+
/** Prefix for supervisor-delegated specialist tools (`${AXPAI_SUPERVISOR_AGENT_TOOL_PREFIX}${agentId}`). */
|
|
745
|
+
declare const AXPAI_SUPERVISOR_AGENT_TOOL_PREFIX: "agent:";
|
|
746
|
+
declare function axpAiSupervisorAgentToolName(agentCatalogId: string): string;
|
|
747
|
+
declare function axpAiParseSupervisorAgentToolName(toolName: string): string | null;
|
|
748
|
+
declare function axpAiChatTextMessage(role: AXPAiChatMessage['role'], text: string): AXPAiChatMessage;
|
|
749
|
+
declare function axpAiChatToolResultMessage(callId: string, content: unknown, toolName?: string): AXPAiChatMessage;
|
|
750
|
+
declare function axpAiChatMessageGetText(message: AXPAiChatMessage): string;
|
|
751
|
+
declare function axpAiNormalizeHandlerResultToToolBody(handlerResult: unknown): unknown;
|
|
752
|
+
/** Unwraps a command/tool envelope and returns `data.node` when it is a widget-like object. */
|
|
753
|
+
declare function axpAiExtractChatWidgetNodeFromUnknown(content: unknown): unknown | null;
|
|
754
|
+
|
|
755
|
+
declare const AXM_AI_PLATFORM_RUNTIME_CONTEXT_DEFINITIONS: AXPContextDefinition[];
|
|
756
|
+
|
|
638
757
|
type AXPAiChatResult = AXPAiEngineLastProviderPayload;
|
|
639
758
|
type AXPAiChatToolChoice = 'auto' | 'none' | {
|
|
640
759
|
type: 'tool';
|
|
@@ -683,7 +802,12 @@ interface AXPAiChatOptions {
|
|
|
683
802
|
temperature?: number;
|
|
684
803
|
stream?: boolean;
|
|
685
804
|
responseFormat?: AXPAiResponseFormat;
|
|
686
|
-
onStreamDelta?: (delta: string) => void;
|
|
805
|
+
onStreamDelta?: (delta: string, segment?: AXPAiAssistantStreamSegment) => void;
|
|
806
|
+
/**
|
|
807
|
+
* Live voice cascade: start TTS on the first audible tokens.
|
|
808
|
+
* OpenRouter GPT-5 family keeps reasoning off the spoken stream (`effort: minimal`, `exclude`).
|
|
809
|
+
*/
|
|
810
|
+
lowLatencyStream?: boolean;
|
|
687
811
|
/** Cancels in-flight generateText / streamText when aborted. */
|
|
688
812
|
abortSignal?: AbortSignal;
|
|
689
813
|
/**
|
|
@@ -809,23 +933,6 @@ interface AXPAiPlatformRuntimeContextSources {
|
|
|
809
933
|
declare function formatAxpAiPlatformRuntimeLocalDateTime(now: Date, ianaTimeZone?: string): string;
|
|
810
934
|
declare function assembleAxpAiPlatformRuntimeContext(sources: AXPAiPlatformRuntimeContextSources): AXPAiPlatformRuntimeContext;
|
|
811
935
|
|
|
812
|
-
interface ResolveEffectiveOutputContractInput {
|
|
813
|
-
/** Highest priority: per engine run (programmatic / automation). */
|
|
814
|
-
runtime?: AXPAiAgentOutputContract | unknown | null;
|
|
815
|
-
/** Assist `run` / `show` input. */
|
|
816
|
-
input?: AXPAiAgentOutputContract | unknown | null;
|
|
817
|
-
/** Active AiAgent catalog row. */
|
|
818
|
-
agent?: AXPAiAgentOutputContract | unknown | null;
|
|
819
|
-
/** Active Assist catalog row. */
|
|
820
|
-
assist?: AXPAiAgentOutputContract | unknown | null;
|
|
821
|
-
}
|
|
822
|
-
/**
|
|
823
|
-
* Resolves the effective output contract for one engine turn.
|
|
824
|
-
*
|
|
825
|
-
* Priority: runtime > input > agent > assist > `{ kind: 'string' }`.
|
|
826
|
-
*/
|
|
827
|
-
declare function resolveEffectiveOutputContract(params: ResolveEffectiveOutputContractInput): AXPAiAgentOutputContract;
|
|
828
|
-
|
|
829
936
|
/** Default structured retry count for a contract kind when `structuredRetries` is omitted. */
|
|
830
937
|
declare function defaultRetriesForKind(kind: AXPAiAgentOutputKind): number;
|
|
831
938
|
/**
|
|
@@ -845,31 +952,25 @@ declare const AXP_FOLLOW_UP_ENVELOPE_JSON_SCHEMA: AXPAiJsonSchemaLike;
|
|
|
845
952
|
/** Built-in JSON Schema for known transcript segments when the contract omits `schema`. */
|
|
846
953
|
declare function resolveBuiltinSchemaForOutputContract(contract: AXPAiAgentOutputContract): AXPAiJsonSchemaLike | undefined;
|
|
847
954
|
|
|
848
|
-
type
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
955
|
+
type AXMAiModelPurposeSlug = 'chat' | 'vision' | 'image' | 'speech' | 'tts' | 'video' | 'live-voice';
|
|
956
|
+
declare function readModelPurposes(row: Record<string, unknown> | null | undefined): string[];
|
|
957
|
+
declare function modelRowHasPurpose(row: Record<string, unknown> | null | undefined, purpose: AXMAiModelPurposeSlug): boolean;
|
|
958
|
+
declare function isChatPurposeModelRow(row: Record<string, unknown> | null | undefined): boolean;
|
|
959
|
+
|
|
960
|
+
declare function parseChatTransport(raw: unknown): AXPAiChatTransport | undefined;
|
|
961
|
+
|
|
962
|
+
declare const AXMAiManagementTransportKeys: {
|
|
963
|
+
readonly Engine: {
|
|
964
|
+
readonly Run: "AiManagement:Engine:Run";
|
|
965
|
+
readonly SubmitToolResult: "AiManagement:Engine:SubmitToolResult";
|
|
966
|
+
};
|
|
967
|
+
readonly ConversationAssist: {
|
|
968
|
+
readonly Subscribe: "ConversationManagement:Assist:Subscribe";
|
|
969
|
+
readonly AssistSync: "ConversationManagement:Assist:AssistSync";
|
|
970
|
+
readonly RetryAssist: "ConversationManagement:Assist:RetryAssist";
|
|
971
|
+
readonly CancelAssist: "ConversationManagement:Assist:CancelAssist";
|
|
854
972
|
};
|
|
855
973
|
};
|
|
856
|
-
/**
|
|
857
|
-
* Native structured output (AI SDK `output` / provider schema) must not run on tool-calling
|
|
858
|
-
* turns — only when tools are absent or explicitly disabled (`toolChoice: 'none'`).
|
|
859
|
-
*/
|
|
860
|
-
declare function axpAiShouldApplyChatStructuredOutput(params: AXPAiChatStructuredOutputGate): boolean;
|
|
861
|
-
declare function axpAiTryParseJsonValueFromAssistantText(text: string): unknown | undefined;
|
|
862
|
-
/** True when assistant `text` duplicates a structured segment already attached as `node` / `followUp`. */
|
|
863
|
-
declare function axpAiTextDuplicatesStructuredSegment(text: string, segment: 'node' | 'followUp'): boolean;
|
|
864
|
-
|
|
865
|
-
/** Prefix for supervisor-delegated specialist tools (`${AXPAI_SUPERVISOR_AGENT_TOOL_PREFIX}${agentId}`). */
|
|
866
|
-
declare const AXPAI_SUPERVISOR_AGENT_TOOL_PREFIX: "agent:";
|
|
867
|
-
declare function axpAiSupervisorAgentToolName(agentCatalogId: string): string;
|
|
868
|
-
declare function axpAiParseSupervisorAgentToolName(toolName: string): string | null;
|
|
869
|
-
declare function axpAiChatTextMessage(role: AXPAiChatMessage['role'], text: string): AXPAiChatMessage;
|
|
870
|
-
declare function axpAiChatToolResultMessage(callId: string, content: unknown, toolName?: string): AXPAiChatMessage;
|
|
871
|
-
declare function axpAiChatMessageGetText(message: AXPAiChatMessage): string;
|
|
872
|
-
declare function axpAiNormalizeHandlerResultToToolBody(handlerResult: unknown): unknown;
|
|
873
974
|
|
|
874
975
|
type AXPAiEngineWireEvent = AXPAiEngineRunEvent | {
|
|
875
976
|
type: 'run_started';
|
|
@@ -885,44 +986,7 @@ type AXPAiEngineWireEvent = AXPAiEngineRunEvent | {
|
|
|
885
986
|
type: 'run_failed';
|
|
886
987
|
error: string;
|
|
887
988
|
};
|
|
888
|
-
type AXPAiEngineRunRequest = Omit<AXPAiEngineRunOptions, 'onRunEvent'>;
|
|
889
|
-
|
|
890
|
-
type AXPAiExtractDocumentKind = 'image' | 'pdf' | 'text' | 'unsupported';
|
|
891
|
-
/**
|
|
892
|
-
* Classifies a document for AI text extraction (image OCR, PDF file part, or UTF-8 text).
|
|
893
|
-
* Does not include Office formats.
|
|
894
|
-
*/
|
|
895
|
-
declare function classifyAiExtractDocument(mimeType: string | undefined | null, filename?: string | null): AXPAiExtractDocumentKind;
|
|
896
|
-
declare function canAiExtractDocument(mimeType: string | undefined | null, filename?: string | null): boolean;
|
|
897
|
-
|
|
898
|
-
declare const AIMANAGEMENT_CHAT_GENERATE_IMAGE_COMMAND_KEY = "AiManagement:ChatGenerateImage";
|
|
899
|
-
declare const AIMANAGEMENT_CHAT_TRANSCRIBE_SPEECH_COMMAND_KEY = "AiManagement:ChatTranscribeSpeech";
|
|
900
|
-
declare const AIMANAGEMENT_CHAT_SYNTHESIZE_SPEECH_COMMAND_KEY = "AiManagement:ChatSynthesizeSpeech";
|
|
901
|
-
declare const AIMANAGEMENT_EXTRACT_DOCUMENT_TEXT_COMMAND_KEY = "AiManagement:ExtractDocumentText";
|
|
902
|
-
declare const AIMANAGEMENT_STRUCTURED_TEXT_COMPLETION_COMMAND_KEY = "AiManagement:StructuredTextCompletion";
|
|
903
|
-
|
|
904
|
-
declare const AXMAiManagementTransportKeys: {
|
|
905
|
-
readonly Engine: {
|
|
906
|
-
readonly Run: "AiManagement:Engine:Run";
|
|
907
|
-
readonly SubmitToolResult: "AiManagement:Engine:SubmitToolResult";
|
|
908
|
-
};
|
|
909
|
-
readonly ConversationAssist: {
|
|
910
|
-
readonly Subscribe: "ConversationManagement:Assist:Subscribe";
|
|
911
|
-
readonly AssistSync: "ConversationManagement:Assist:AssistSync";
|
|
912
|
-
readonly RetryAssist: "ConversationManagement:Assist:RetryAssist";
|
|
913
|
-
readonly CancelAssist: "ConversationManagement:Assist:CancelAssist";
|
|
914
|
-
};
|
|
915
|
-
};
|
|
916
|
-
|
|
917
|
-
type AXMAiModelPurposeSlug = 'chat' | 'vision' | 'image' | 'speech' | 'tts' | 'video';
|
|
918
|
-
declare function readModelPurposes(row: Record<string, unknown> | null | undefined): string[];
|
|
919
|
-
declare function modelRowHasPurpose(row: Record<string, unknown> | null | undefined, purpose: AXMAiModelPurposeSlug): boolean;
|
|
920
|
-
declare function isChatPurposeModelRow(row: Record<string, unknown> | null | undefined): boolean;
|
|
921
|
-
|
|
922
|
-
declare function parseChatTransport(raw: unknown): AXPAiChatTransport | undefined;
|
|
923
|
-
|
|
924
|
-
declare function axpAiChatMessagesFromProviderAssistant(text: string, toolCalls?: AXPAiToolCall[]): AXPAiChatMessage[];
|
|
925
|
-
declare function axcResolveAiMlOrPlainString(value: unknown, locale?: string): string;
|
|
989
|
+
type AXPAiEngineRunRequest = Omit<AXPAiEngineRunOptions, 'onRunEvent' | 'abortSignal'>;
|
|
926
990
|
|
|
927
|
-
export { AIMANAGEMENT_CHAT_GENERATE_IMAGE_COMMAND_KEY, AIMANAGEMENT_CHAT_SYNTHESIZE_SPEECH_COMMAND_KEY, AIMANAGEMENT_CHAT_TRANSCRIBE_SPEECH_COMMAND_KEY, AIMANAGEMENT_EXTRACT_DOCUMENT_TEXT_COMMAND_KEY, AIMANAGEMENT_STRUCTURED_TEXT_COMPLETION_COMMAND_KEY, AXMAiAssistPermissionKeys, AXMAiManagementTransportKeys, AXMPermissionsKeys, AXM_AI_PLATFORM_RUNTIME_CONTEXT_DEFINITIONS, AXPAI_AGENT_OUTPUT_CONTRACT_DEFAULT_STRUCTURED_RETRIES, AXPAI_SUPERVISOR_AGENT_TOOL_PREFIX, AXPAdministrationPermissionKeys, AXPAiManagementFeatureKeys, AXPAiManagementMenuKeys, AXPAiManagementSettings, AXP_AI_SDK_TOOL_CONTEXT_JSON_SCHEMA, AXP_FOLLOW_UP_ENVELOPE_JSON_SCHEMA, AXP_WIDGET_NODE_JSON_SCHEMA, RootConfig, assembleAxpAiPlatformRuntimeContext, attachAxpAiSdkChatContext, axcResolveAiMlOrPlainString, axpAiAgentOutputContractOmitsRoleBaseline, axpAiAgentOutputContractStructuredRetryCap, axpAiAgentOutputContractUsesStructuredFinalize, axpAiChatMessageGetText, axpAiChatMessagesFromProviderAssistant, axpAiChatTextMessage, axpAiChatToolResultMessage, axpAiNormalizeHandlerResultToToolBody, axpAiParseSupervisorAgentToolName, axpAiShouldApplyChatStructuredOutput, axpAiSupervisorAgentToolName, axpAiTextDuplicatesStructuredSegment, axpAiTryParseJsonValueFromAssistantText, buildAxpAiSdkChatContextBundle, canAiExtractDocument, classifyAiExtractDocument, defaultRetriesForKind, deriveProviderResponseFormat, formatAxpAiPlatformRuntimeLocalDateTime, formatAxpAiPlatformRuntimePrompt, isChatPurposeModelRow, modelRowHasPurpose, parseAgentOutputContract, parseChatTransport, parseJsonSchemaLike, parseResponseFormat, readModelPurposes, resolveAgentOutputContract, resolveBuiltinSchemaForOutputContract, resolveEffectiveOutputContract, resolveOutputTranscriptSegment };
|
|
928
|
-
export type { AXMAiManagementAgentEntityModel, AXMAiManagementAssistEntityModel, AXMAiManagementAssistPlanningMode, AXMAiManagementMcpServerEntityModel, AXMAiManagementMcpServerTransport, AXMAiManagementModelChatTransport, AXMAiManagementModelEntityModel, AXMAiManagementModelPurposeSlug, AXMAiManagementOpenAiEndpointEntityModel, AXMAiManagementRuleEntityModel, AXMAiManagementRuleRef, AXMAiManagementSkillEntityModel, AXMAiManagementSkillRef, AXMAiModelPurposeSlug, AXPAiAgentOutputContract, AXPAiAgentOutputKind, AXPAiChatAgentAssistantResponse, AXPAiChatAgentResultResponse, AXPAiChatFileResponse, AXPAiChatFollowUpCommand, AXPAiChatFollowUpItem, AXPAiChatFollowUpResponse, AXPAiChatMessage, AXPAiChatModelListItem, AXPAiChatModelListRequest, AXPAiChatNodeResponse, AXPAiChatOptions, AXPAiChatOptionsDemis, AXPAiChatResponse, AXPAiChatResult, AXPAiChatStructuredOutputGate, AXPAiChatTextResponse, AXPAiChatThinkResponse, AXPAiChatToolAssistantResponse, AXPAiChatToolChoice, AXPAiChatToolInvocationContent, AXPAiChatToolResultResponse, AXPAiChatTransport, AXPAiDelegatedAgentResultPayload, AXPAiDelegatedAgentResultSegment, AXPAiDelegatedAgentTranscriptEntry, AXPAiDelegatedAgentTranscriptRunInput, AXPAiDelegatedNestedToolCallContext, AXPAiEffectiveAgentRow, AXPAiEffectiveAssistRow, AXPAiEngineLastProviderPayload, AXPAiEngineRunEvent, AXPAiEngineRunOptions, AXPAiEngineRunRequest, AXPAiEngineRunResult, AXPAiEngineUsageTotals, AXPAiEngineWireEvent, AXPAiExtractDocumentKind, AXPAiExtractDocumentTextOptions, AXPAiGenerateImageOptions, AXPAiGenerateVideoOptions, AXPAiJsonSchemaLike, AXPAiOutputTranscriptSegment, AXPAiPlatformRuntimeContext, AXPAiPlatformRuntimeContextSources, AXPAiResponseFormat, AXPAiSdkChatContextBundle, AXPAiSynthesizeSpeechOptions, AXPAiToolCall, AXPAiToolSchema, AXPAiTranscribeSpeechOptions, ResolveEffectiveOutputContractInput };
|
|
991
|
+
export { AIMANAGEMENT_CHAT_GENERATE_IMAGE_COMMAND_KEY, AIMANAGEMENT_CHAT_SYNTHESIZE_SPEECH_COMMAND_KEY, AIMANAGEMENT_CHAT_TRANSCRIBE_SPEECH_COMMAND_KEY, AIMANAGEMENT_EXTRACT_DOCUMENT_TEXT_COMMAND_KEY, AIMANAGEMENT_RENDER_CHAT_CHART_COMMAND_KEY, AIMANAGEMENT_STRUCTURED_TEXT_COMPLETION_COMMAND_KEY, AXMAiAssistPermissionKeys, AXMAiManagementTransportKeys, AXMPermissionsKeys, AXM_AI_PLATFORM_RUNTIME_CONTEXT_DEFINITIONS, AXPAI_AGENT_OUTPUT_CONTRACT_DEFAULT_STRUCTURED_RETRIES, AXPAI_SUPERVISOR_AGENT_TOOL_PREFIX, AXPAdministrationPermissionKeys, AXPAiManagementFeatureKeys, AXPAiManagementMenuKeys, AXPAiManagementSettings, AXP_AI_SDK_TOOL_CONTEXT_JSON_SCHEMA, AXP_FOLLOW_UP_ENVELOPE_JSON_SCHEMA, AXP_WIDGET_NODE_JSON_SCHEMA, AiManagementManifest, RootConfig, assembleAxpAiPlatformRuntimeContext, attachAxpAiSdkChatContext, axcResolveAiMlOrPlainString, axpAiAgentOutputContractOmitsRoleBaseline, axpAiAgentOutputContractStructuredRetryCap, axpAiAgentOutputContractUsesStructuredFinalize, axpAiChatMessageGetText, axpAiChatMessagesFromProviderAssistant, axpAiChatTextMessage, axpAiChatToolResultMessage, axpAiExtractChatWidgetNodeFromUnknown, axpAiNormalizeHandlerResultToToolBody, axpAiParseSupervisorAgentToolName, axpAiShouldApplyChatStructuredOutput, axpAiSupervisorAgentToolName, axpAiTextDuplicatesStructuredSegment, axpAiTryParseJsonValueFromAssistantText, buildAxpAiSdkChatContextBundle, canAiExtractDocument, classifyAiExtractDocument, defaultRetriesForKind, deriveProviderResponseFormat, estimateAiRunCostUsd, formatAxpAiPlatformRuntimeLocalDateTime, formatAxpAiPlatformRuntimePrompt, isChatPurposeModelRow, modelRowHasPurpose, parseAgentOutputContract, parseChatTransport, parseJsonSchemaLike, parseResponseFormat, readModelPurposes, resolveAgentOutputContract, resolveBuiltinSchemaForOutputContract, resolveEffectiveOutputContract, resolveOutputTranscriptSegment };
|
|
992
|
+
export type { AXMAiManagementAgentEntityModel, AXMAiManagementAssistEntityModel, AXMAiManagementAssistPlanningMode, AXMAiManagementMcpServerEntityModel, AXMAiManagementMcpServerTransport, AXMAiManagementModelChatTransport, AXMAiManagementModelEntityModel, AXMAiManagementModelPurposeSlug, AXMAiManagementOpenAiEndpointEntityModel, AXMAiManagementRuleEntityModel, AXMAiManagementRuleRef, AXMAiManagementRunLogEntityModel, AXMAiManagementSkillEntityModel, AXMAiManagementSkillRef, AXMAiModelPurposeSlug, AXMAiRunLogChatTransport, AXMAiRunLogStatus, AXPAiAgentOutputContract, AXPAiAgentOutputKind, AXPAiAssistantStreamSegment, AXPAiChatAgentAssistantResponse, AXPAiChatAgentResultResponse, AXPAiChatFileResponse, AXPAiChatFollowUpCommand, AXPAiChatFollowUpItem, AXPAiChatFollowUpResponse, AXPAiChatMessage, AXPAiChatModelListItem, AXPAiChatModelListRequest, AXPAiChatNodeResponse, AXPAiChatOptions, AXPAiChatOptionsDemis, AXPAiChatResponse, AXPAiChatResult, AXPAiChatStructuredOutputGate, AXPAiChatTextResponse, AXPAiChatThinkResponse, AXPAiChatToolAssistantResponse, AXPAiChatToolChoice, AXPAiChatToolInvocationContent, AXPAiChatToolResultResponse, AXPAiChatTransport, AXPAiDelegatedAgentResultPayload, AXPAiDelegatedAgentResultSegment, AXPAiDelegatedAgentTranscriptEntry, AXPAiDelegatedAgentTranscriptRunInput, AXPAiDelegatedNestedToolCallContext, AXPAiEffectiveAgentRow, AXPAiEffectiveAssistRow, AXPAiEngineLastProviderPayload, AXPAiEngineRunEvent, AXPAiEngineRunOptions, AXPAiEngineRunRequest, AXPAiEngineRunResult, AXPAiEngineUsageTotals, AXPAiEngineWireEvent, AXPAiExtractDocumentKind, AXPAiExtractDocumentTextOptions, AXPAiGenerateImageOptions, AXPAiGenerateVideoOptions, AXPAiJsonSchemaLike, AXPAiOutputTranscriptSegment, AXPAiPlatformRuntimeContext, AXPAiPlatformRuntimeContextSources, AXPAiResponseFormat, AXPAiSdkChatContextBundle, AXPAiSynthesizeSpeechOptions, AXPAiToolCall, AXPAiToolSchema, AXPAiTranscribeSpeechOptions, ResolveEffectiveOutputContractInput };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Provider, OnInit, OnDestroy } from '@angular/core';
|
|
3
3
|
import * as i1 from '@acorex-platform/framework-client/core';
|
|
4
|
-
import { AXPModuleManifest } from '@acorex-platform/framework-client/core';
|
|
5
4
|
import * as i2 from '@acorex-platform/framework-client/layout/widgets';
|
|
6
5
|
import * as i3 from '@acorex-platform/framework-client/runtime';
|
|
7
6
|
import { AXPAiAgentOutputKind, AXPAiChatFollowUpItem, AXPAiChatMessage, AXPAiAgentOutputContract, AXPAiChatResponse, AXPAiDelegatedAgentResultSegment, AXPAiEffectiveAssistRow, AXPAiPlatformRuntimeContext, AXPAiChatTransport, AXPAiEngineLastProviderPayload, AXPAiEngineRunOptions, AXPAiDelegatedAgentTranscriptRunInput, AXPAiEngineRunResult, AXPAiChatModelListRequest, AXPAiChatModelListItem } from '@acorex-platform/module-ai-management-client/contracts';
|
|
8
7
|
export * from '@acorex-platform/module-ai-management-client/contracts';
|
|
8
|
+
import { AXMAiManagementAssistEntityModel } from '@acorex-platform/module-ai-management-client/contracts';
|
|
9
|
+
export { AiManagementManifest } from '@acorex-platform/module-ai-management-client/contracts';
|
|
9
10
|
import { AXPMenuProvider, AXPMenuProviderContext, AXPFileStorageService } from '@acorex-platform/framework-client/common';
|
|
10
11
|
import { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';
|
|
11
12
|
import { AXPPermissionDefinitionProvider, AXPPermissionDefinitionProviderContext } from '@acorex-platform/framework-client/auth';
|
|
12
13
|
import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';
|
|
13
|
-
import { AXMAiManagementAssistEntityModel } from '@acorex-platform/module-ai-management-client/contracts';
|
|
14
14
|
|
|
15
15
|
declare class AXMAiManagementModule {
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMAiManagementModule, never>;
|
|
@@ -18,6 +18,8 @@ declare class AXMAiManagementModule {
|
|
|
18
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXMAiManagementModule>;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
declare function provideAiManagementGeminiSettings(): Provider;
|
|
22
|
+
|
|
21
23
|
interface AXPAiAssistValidationError {
|
|
22
24
|
phase: 'parse' | 'validator';
|
|
23
25
|
message: string;
|
|
@@ -48,7 +50,7 @@ interface AXPAiAssistExecutionResult<TData = unknown> {
|
|
|
48
50
|
}
|
|
49
51
|
|
|
50
52
|
/** Default max completion tokens when the AiModel row has no `maxOutputTokens` and the caller omits `maxTokens`. */
|
|
51
|
-
declare const AXPAiAssistDefaultStructuredMaxTokens =
|
|
53
|
+
declare const AXPAiAssistDefaultStructuredMaxTokens = 32000;
|
|
52
54
|
/** Default maximum follow-up turns after the first model response when validating structured JSON (implementation may use this). */
|
|
53
55
|
declare const AXPAiAssistDefaultMaxStructuredRetries = 3;
|
|
54
56
|
/**
|
|
@@ -94,6 +96,10 @@ interface AXPAiAssistPromptSubmitPayload {
|
|
|
94
96
|
assistId?: string;
|
|
95
97
|
userMediaAttachments: AXPAiAssistUserMediaAttachment[];
|
|
96
98
|
}
|
|
99
|
+
/** Execution options for a prompt-box submit (not user/prompt data). */
|
|
100
|
+
interface AXPAiAssistPromptExecutionContext {
|
|
101
|
+
abortSignal: AbortSignal;
|
|
102
|
+
}
|
|
97
103
|
/**
|
|
98
104
|
* Optional structured hints for a single assist run (serialized into the user message by the implementation).
|
|
99
105
|
*/
|
|
@@ -162,6 +168,10 @@ interface AXPAiAssistRunInput {
|
|
|
162
168
|
* the implementation can apply {@link AXPAiAssistDefaultStructuredMaxTokens} and avoid truncated JSON.
|
|
163
169
|
*/
|
|
164
170
|
structuredOutputMaxTokens?: number;
|
|
171
|
+
/**
|
|
172
|
+
* Cancels this assist run. Not serialized to the engine JSON body.
|
|
173
|
+
*/
|
|
174
|
+
abortSignal?: AbortSignal;
|
|
165
175
|
}
|
|
166
176
|
/**
|
|
167
177
|
* Result of the AI assist `run` API.
|
|
@@ -268,18 +278,12 @@ interface AXPAiAssistShowOptions {
|
|
|
268
278
|
structuredOutputSchemaSummary?: string;
|
|
269
279
|
structuredOutputMaxTokens?: number;
|
|
270
280
|
/**
|
|
271
|
-
*
|
|
272
|
-
* Callers
|
|
281
|
+
* Ignored by {@link AXPAiManagerService.show}: the prompt box is the progress and Stop surface.
|
|
282
|
+
* Callers may still pass translated strings for compatibility.
|
|
273
283
|
*/
|
|
274
284
|
runLoadingDialog?: AXPAiAssistRunLoadingDialogSpec;
|
|
275
285
|
}
|
|
276
286
|
|
|
277
|
-
/**
|
|
278
|
-
* AI Management Module Manifest.
|
|
279
|
-
* Defines module metadata for AI provider and API key management.
|
|
280
|
-
*/
|
|
281
|
-
declare const AiManagementManifest: AXPModuleManifest;
|
|
282
|
-
|
|
283
287
|
declare class AXMAiManagementMenuProvider implements AXPMenuProvider {
|
|
284
288
|
private readonly entityService;
|
|
285
289
|
provide(context: AXPMenuProviderContext): Promise<void>;
|
|
@@ -618,7 +622,6 @@ declare class AXPAiManagerService extends AXPAiAssistService {
|
|
|
618
622
|
private readonly runtimeContextBuilder;
|
|
619
623
|
private readonly assistPromptBox;
|
|
620
624
|
private readonly localeId;
|
|
621
|
-
private readonly loadingDialog;
|
|
622
625
|
private readonly assistData;
|
|
623
626
|
private readonly modelEntityData;
|
|
624
627
|
/**
|
|
@@ -693,10 +696,11 @@ declare class AXMAiAssistPromptBoxService {
|
|
|
693
696
|
private overlayRef;
|
|
694
697
|
private pendingResolve;
|
|
695
698
|
private settled;
|
|
699
|
+
private overlaySessionId;
|
|
696
700
|
/**
|
|
697
701
|
* Presents the assist prompt box and resolves when the user submits, cancels, or dismisses the overlay.
|
|
698
702
|
*/
|
|
699
|
-
open(options: AXPAiAssistShowOptions, executeRun: (payload: AXPAiAssistPromptSubmitPayload) => Promise<AXPAiAssistRunResult>): Promise<AXPAiAssistRunResult | null>;
|
|
703
|
+
open(options: AXPAiAssistShowOptions, executeRun: (payload: AXPAiAssistPromptSubmitPayload, execution: AXPAiAssistPromptExecutionContext) => Promise<AXPAiAssistRunResult>): Promise<AXPAiAssistRunResult | null>;
|
|
700
704
|
private settle;
|
|
701
705
|
private disposeOverlayOnly;
|
|
702
706
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMAiAssistPromptBoxService, never>;
|
|
@@ -736,16 +740,18 @@ declare class AXMAiAssistPromptBoxComponent implements OnInit, OnDestroy {
|
|
|
736
740
|
readonly initialPrompt: i0.InputSignal<string>;
|
|
737
741
|
readonly contentMaxWidthPx: i0.InputSignal<number>;
|
|
738
742
|
readonly initialAssistId: i0.InputSignal<string | undefined>;
|
|
739
|
-
readonly runPrompt: i0.InputSignal<(payload: AXPAiAssistPromptSubmitPayload) => Promise<AXPAiAssistRunResult>>;
|
|
743
|
+
readonly runPrompt: i0.InputSignal<(payload: AXPAiAssistPromptSubmitPayload, execution: AXPAiAssistPromptExecutionContext) => Promise<AXPAiAssistRunResult>>;
|
|
740
744
|
readonly requestClose: i0.InputSignal<(result: AXPAiAssistRunResult | null) => void>;
|
|
741
745
|
readonly promptDraft: i0.WritableSignal<string>;
|
|
742
|
-
readonly
|
|
746
|
+
readonly runPhase: i0.WritableSignal<"idle" | "running" | "stopping">;
|
|
747
|
+
readonly busy: i0.Signal<boolean>;
|
|
743
748
|
readonly isComposerSaving: i0.WritableSignal<boolean>;
|
|
744
749
|
readonly draftAttachmentGroupId: i0.WritableSignal<string | null>;
|
|
745
750
|
readonly draftComposerImages: i0.WritableSignal<AXMAiAssistDraftImage[]>;
|
|
746
751
|
readonly draftComposerAudios: i0.WritableSignal<AXMAiAssistDraftAudio[]>;
|
|
747
752
|
readonly draftComposerFiles: i0.WritableSignal<AXMAiAssistDraftFile[]>;
|
|
748
753
|
readonly assistTargetKey: i0.WritableSignal<string>;
|
|
754
|
+
private runAbortController;
|
|
749
755
|
readonly canSend: i0.Signal<boolean>;
|
|
750
756
|
ngOnInit(): Promise<void>;
|
|
751
757
|
ngOnDestroy(): void;
|
|
@@ -755,11 +761,13 @@ declare class AXMAiAssistPromptBoxComponent implements OnInit, OnDestroy {
|
|
|
755
761
|
*/
|
|
756
762
|
onPromptKeydown(event: KeyboardEvent): void;
|
|
757
763
|
onCancel(): void;
|
|
764
|
+
abortActiveRun(): void;
|
|
765
|
+
onStop(): void;
|
|
758
766
|
onMenuCancel(panel: {
|
|
759
767
|
close: () => void;
|
|
760
768
|
}): void;
|
|
761
769
|
/**
|
|
762
|
-
*
|
|
770
|
+
* Idle: close. Running: Stop (stay open). Stopping: ignore.
|
|
763
771
|
*/
|
|
764
772
|
onDocumentEscape(): void;
|
|
765
773
|
openImagePicker(): void;
|
|
@@ -788,5 +796,5 @@ declare function extractLastAssistantStructuredParts(messages: AXPAiChatMessage[
|
|
|
788
796
|
segments: string[];
|
|
789
797
|
};
|
|
790
798
|
|
|
791
|
-
export { AI_CHAT_ATTACHMENT_CATEGORY, AI_CHAT_ATTACHMENT_REF_TYPE, AI_CHAT_GENERATED_IMAGE_REF_TYPE, AI_CHAT_GENERATED_SPEECH_REF_TYPE, AI_CHAT_TTS_PCM_SAMPLE_RATE, AI_GENERATED_IMAGE_MAX_REMOTE_URL_IN_TOOL, AXMAiAssistPromptBoxComponent, AXMAiAssistPromptBoxService, AXMAiManagementMenuProvider, AXMAiManagementModule, AXMPermissionDefinitionProvider, AXPAiAssistChatModelCatalogService, AXPAiAssistDefaultMaxStructuredRetries, AXPAiAssistDefaultStructuredMaxTokens, AXPAiAssistService, AXPAiChatToolRunContextService, AXPAiDefaultModelPickerService, AXPAiEngine, AXPAiManagerService, AXPAiOutputContractResolveService, AXPAiPlatformRuntimeContextBuilder, AXPAiStructuredOutputError,
|
|
792
|
-
export type { AXMAiAssistPermissionRow, AXPAiAssistCannotComplete, AXPAiAssistExecutionResult, AXPAiAssistPopupSize, AXPAiAssistPromptSubmitPayload, AXPAiAssistRunContext, AXPAiAssistRunInput, AXPAiAssistRunLoadingDialogSpec, AXPAiAssistRunResult, AXPAiAssistShowOptions, AXPAiAssistStructuredOutputAttemptRecord, AXPAiAssistStructuredOutputRunRaw, AXPAiAssistTokenUsageSnapshot, AXPAiAssistUserMediaAttachment, AXPAiAssistValidationError, AXPAiChatToolRunContext, AXPAiStructuredValidator, AiChatTtsPlaybackBytes };
|
|
799
|
+
export { AI_CHAT_ATTACHMENT_CATEGORY, AI_CHAT_ATTACHMENT_REF_TYPE, AI_CHAT_GENERATED_IMAGE_REF_TYPE, AI_CHAT_GENERATED_SPEECH_REF_TYPE, AI_CHAT_TTS_PCM_SAMPLE_RATE, AI_GENERATED_IMAGE_MAX_REMOTE_URL_IN_TOOL, AXMAiAssistPromptBoxComponent, AXMAiAssistPromptBoxService, AXMAiManagementMenuProvider, AXMAiManagementModule, AXMPermissionDefinitionProvider, AXPAiAssistChatModelCatalogService, AXPAiAssistDefaultMaxStructuredRetries, AXPAiAssistDefaultStructuredMaxTokens, AXPAiAssistService, AXPAiChatToolRunContextService, AXPAiDefaultModelPickerService, AXPAiEngine, AXPAiManagerService, AXPAiOutputContractResolveService, AXPAiPlatformRuntimeContextBuilder, AXPAiStructuredOutputError, axpAiAssistInitialMessagesToTranscript, axpAiAssistStarterPromptLabels, axpAiAssistStarterPromptTexts, axpAiChatMessageIsDelegatedReflectionExcluded, axpAiChatToolOrAgentResultBodyJson, axpAiChatToolResultBodyJson, axpAiChatUserMessage, axpAiDelegatedAgentOutcomeResponsesPlainText, axpAiDelegatedAgentPromptPreview, axpAiDelegatedAgentResultSegments, axpAiStripAssistInitialHtmlToPlain, axpBuildDelegatedAgentRunInputSnapshot, axpSanitizeLastProviderPayloadForPersistence, axpStripEphemeralStreamChunksFromProviderRaw, blobOrFileFromImageResult, buildStructuredOutputRetryUserText, createBrowserPlayableTtsBlobUrl, extractLastAssistantStructuredParts, getAiChatCommandLlmParametersOverride, isRawPcmMimeType, loadAssistPermissionRows, persistAiChatAttachmentImage, persistAiGeneratedImage, persistAiGeneratedSpeech, prepareTtsBytesForBrowserPlayback, provideAiManagementGeminiSettings, validateAgainstContract, validateJsonSchemaMini, validateStructuredAssistantResponse, wrapPcm16LeInWav };
|
|
800
|
+
export type { AXMAiAssistPermissionRow, AXPAiAssistCannotComplete, AXPAiAssistExecutionResult, AXPAiAssistPopupSize, AXPAiAssistPromptExecutionContext, AXPAiAssistPromptSubmitPayload, AXPAiAssistRunContext, AXPAiAssistRunInput, AXPAiAssistRunLoadingDialogSpec, AXPAiAssistRunResult, AXPAiAssistShowOptions, AXPAiAssistStructuredOutputAttemptRecord, AXPAiAssistStructuredOutputRunRaw, AXPAiAssistTokenUsageSnapshot, AXPAiAssistUserMediaAttachment, AXPAiAssistValidationError, AXPAiChatToolRunContext, AXPAiStructuredValidator, AiChatTtsPlaybackBytes };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-ai-management-client-contracts-entity-catalog-acorex-platform-module-ai-management-client-contracts-entity-catalog-oTY4z5q8.mjs","sources":["../../../../libs/modules/ai-management/contracts/src/root-config.ts","../../../../libs/modules/ai-management/contracts/src/entity-catalog.ts","../../../../libs/modules/ai-management/contracts/src/acorex-platform-module-ai-management-client-contracts-entity-catalog.ts"],"sourcesContent":["//#region ---- Module Config ----\r\n\r\nconst config = {\r\n i18n: 'ai-management',\r\n module: 'AiManagement',\r\n route: 'ai-management',\r\n};\r\n\r\nexport const RootConfig = {\r\n config,\r\n module: {\r\n name: config.module,\r\n route: config.route,\r\n title: `@${config.i18n}:module.title`,\r\n icon: 'fa-light fa-robot',\r\n },\r\n entities: {\r\n model: {\r\n name: 'AiModel',\r\n fullName: `${config.module}.AiModel`,\r\n title: '@ai-management:models.entities.model.title',\r\n titlePlural: '@ai-management:models.entities.model.plural',\r\n icon: 'fa-light fa-microchip',\r\n },\r\n assist: {\r\n name: 'Assist',\r\n fullName: `${config.module}.Assist`,\r\n title: '@ai-management:assists.entities.assist.title',\r\n titlePlural: '@ai-management:assists.entities.assist.plural',\r\n icon: 'fa-light fa-user-robot',\r\n },\r\n agent: {\r\n name: 'AiAgent',\r\n fullName: `${config.module}.AiAgent`,\r\n title: '@ai-management:agents.entities.agent.title',\r\n titlePlural: '@ai-management:agents.entities.agent.plural',\r\n icon: 'fa-light fa-people-group',\r\n },\r\n openAiEndpoint: {\r\n name: 'OpenAiEndpoint',\r\n fullName: `${config.module}.OpenAiEndpoint`,\r\n title: '@ai-management:open-ai-endpoints.entities.endpoint.title',\r\n titlePlural: '@ai-management:open-ai-endpoints.entities.endpoint.plural',\r\n icon: 'fa-light fa-plug',\r\n },\r\n rule: {\r\n name: 'AiRule',\r\n fullName: `${config.module}.AiRule`,\r\n title: '@ai-management:rules.entities.rule.title',\r\n titlePlural: '@ai-management:rules.entities.rule.plural',\r\n icon: 'fa-light fa-list-check',\r\n },\r\n skill: {\r\n name: 'AiSkill',\r\n fullName: `${config.module}.AiSkill`,\r\n title: '@ai-management:skills.entities.skill.title',\r\n titlePlural: '@ai-management:skills.entities.skill.plural',\r\n icon: 'fa-light fa-signs-post',\r\n },\r\n mcpServer: {\r\n name: 'McpServer',\r\n fullName: `${config.module}.McpServer`,\r\n title: '@ai-management:mcp-servers.entities.mcp-server.title',\r\n titlePlural: '@ai-management:mcp-servers.entities.mcp-server.plural',\r\n icon: 'fa-light fa-plug-circle-bolt',\r\n },\r\n },\r\n};\r\n\r\n//#endregion\r\n","//#region ----- Imports -----\n\nimport type { AXPLocalEntityCatalog } from '@acorex-platform/framework-shared/entity';\n\nimport { RootConfig } from './root-config';\n\n//#endregion\n\n//#region ----- Local entity catalog -----\n\n/**\n * Lazy per-entity layout factories. Do not re-export from the contracts barrel\n * so RootConfig imports stay light. Server seed and client `local-entities`\n * consume this catalog explicitly.\n */\nexport const aiManagementLocalEntityCatalog: AXPLocalEntityCatalog = {\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.agent.name]: () =>\n import('./entities/agent/agent.entity.js').then((m) => m.agentFactory()),\n [RootConfig.entities.assist.name]: () =>\n import('./entities/assist/assist.entity.js').then((m) => m.assistFactory()),\n [RootConfig.entities.mcpServer.name]: () =>\n import('./entities/mcp-server/mcp-server.entity.js').then((m) => m.mcpServerFactory()),\n [RootConfig.entities.model.name]: () =>\n import('./entities/model/model.entity.js').then((m) => m.factoryModel()),\n [RootConfig.entities.openAiEndpoint.name]: () =>\n import('./entities/open-ai-endpoint/open-ai-endpoint.entity.js').then((m) => m.openAiEndpointFactory()),\n [RootConfig.entities.rule.name]: () =>\n import('./entities/rule/rule.entity.js').then((m) => m.ruleFactory()),\n [RootConfig.entities.skill.name]: () =>\n import('./entities/skill/skill.entity.js').then((m) => m.skillFactory()),\n },\n};\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-catalog';\n"],"names":[],"mappings":"AAAA;AAEA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,eAAe;AACrB,IAAA,MAAM,EAAE,cAAc;AACtB,IAAA,KAAK,EAAE,eAAe;CACvB;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,KAAK,EAAE,MAAM,CAAC,KAAK;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,mBAAmB;AAC1B,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,KAAK,EAAE;AACL,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,QAAQ,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,QAAA,CAAU;AACpC,YAAA,KAAK,EAAE,4CAA4C;AACnD,YAAA,WAAW,EAAE,6CAA6C;AAC1D,YAAA,IAAI,EAAE,uBAAuB;AAC9B,SAAA;AACD,QAAA,MAAM,EAAE;AACN,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,QAAQ,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,OAAA,CAAS;AACnC,YAAA,KAAK,EAAE,8CAA8C;AACrD,YAAA,WAAW,EAAE,+CAA+C;AAC5D,YAAA,IAAI,EAAE,wBAAwB;AAC/B,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,QAAQ,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,QAAA,CAAU;AACpC,YAAA,KAAK,EAAE,4CAA4C;AACnD,YAAA,WAAW,EAAE,6CAA6C;AAC1D,YAAA,IAAI,EAAE,0BAA0B;AACjC,SAAA;AACD,QAAA,cAA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,YAAY,EAAE,CAAC;AAC1E,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,GAAG,MACjC,OAAO,mGAAoC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,aAAa,EAAE,CAAC;AAC7E,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,GAAG,MACpC,OAAO,uGAA4C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,gBAAgB,EAAE,CAAC;AACxF,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,GAAG,MAChC,OAAO,kGAAkC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,YAAY,EAAE,CAAC;AAC1E,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,GAAG,MACzC,OAAO,6GAAwD,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,qBAAqB,EAAE,CAAC;AACzG,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,GAAG,MAC/B,OAAO,iGAAgC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC;AACvE,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,GAAG,MAChC,OAAO,kGAAkC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,YAAY,EAAE,CAAC;AAC3E,KAAA;;AAGH;;ACnCA;;AAEG;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-ai-management-client-contracts-entity-catalog-agent.entity-C75X-uZh.mjs","sources":["../../../../libs/modules/ai-management/contracts/src/entities/agent/agent.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Repeater children (registry command / query) ----\n\nconst AGENT_COMMAND_REGISTRY_REPEATER_CHILDREN = [\n {\n type: 'agent-registry-tool-configurator',\n mode: 'edit' as const,\n path: 'command',\n name: 'command',\n options: {\n registryKind: 'command',\n label: '@ai-management:agents.entities.agent.fields.command-registry.item-label',\n },\n },\n];\n\nconst AGENT_QUERY_REGISTRY_REPEATER_CHILDREN = [\n {\n type: 'agent-registry-tool-configurator',\n mode: 'edit' as const,\n path: 'query',\n name: 'query',\n options: {\n registryKind: 'query',\n label: '@ai-management:agents.entities.agent.fields.query-registry.item-label',\n },\n },\n];\n\n//#endregion\n\n//#region ---- Entity ----\n\nexport async function agentFactory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.agent.name,\n title: RootConfig.entities.agent.title,\n icon: RootConfig.entities.agent.icon,\n formats: {\n individual: RootConfig.entities.agent.title,\n plural: RootConfig.entities.agent.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ description }}',\n },\n },\n relatedEntities: [],\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n {\n id: 'supervisor-delegation',\n title: '@ai-management:agents.entities.agent.groups.supervisor-delegation',\n },\n { id: 'registry-commands', title: '@ai-management:agents.entities.agent.groups.registry-commands' },\n { id: 'registry-queries', title: '@ai-management:agents.entities.agent.groups.registry-queries' },\n { id: 'mcp-servers', title: '@ai-management:agents.entities.agent.groups.mcp-servers' },\n { id: 'access', title: '@ai-management:agents.entities.agent.groups.access' },\n { id: 'prompt-behaviour', title: '@ai-management:agents.entities.agent.groups.prompt-behaviour' },\n { id: 'output-contract', title: '@ai-management:agents.entities.agent.groups.output-contract' },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: { visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'name',\n title: '@general:terms.common.name',\n groupId: 'basic-info',\n schema: { interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n validations: [{ rule: 'required' }, { rule: 'unique' }],\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: { interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: { sort: { enabled: true }, filter: { inline: { enabled: true } } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: { interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 4 } } },\n description: '@ai-management:agents.entities.agent.fields.description.description',\n },\n {\n name: 'supervisorWhenToUse',\n title: '@ai-management:agents.entities.agent.fields.supervisor-when-to-use.title',\n description: '@ai-management:agents.entities.agent.fields.supervisor-when-to-use.description',\n groupId: 'supervisor-delegation',\n schema: {\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: { rows: 5 },\n },\n },\n },\n {\n name: 'supervisorWhenNotToUse',\n title: '@ai-management:agents.entities.agent.fields.supervisor-when-not-to-use.title',\n description: '@ai-management:agents.entities.agent.fields.supervisor-when-not-to-use.description',\n groupId: 'supervisor-delegation',\n schema: {\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: { rows: 4 },\n },\n },\n },\n {\n name: 'supervisorChainsWith',\n title: '@ai-management:agents.entities.agent.fields.supervisor-chains-with.title',\n description: '@ai-management:agents.entities.agent.fields.supervisor-chains-with.description',\n groupId: 'supervisor-delegation',\n schema: {\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: { rows: 3 },\n },\n },\n },\n {\n name: 'supervisorIntentTags',\n title: '@ai-management:agents.entities.agent.fields.supervisor-intent-tags.title',\n description: '@ai-management:agents.entities.agent.fields.supervisor-intent-tags.description',\n groupId: 'supervisor-delegation',\n schema: {\n defaultValue: [],\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.TagEditor,\n options: {\n placeholder: '@ai-management:agents.entities.agent.fields.supervisor-intent-tags.placeholder',\n allowDuplicate: false,\n },\n },\n },\n },\n {\n name: 'commandIds',\n title: '@ai-management:agents.entities.agent.fields.command-registry.title',\n description: '@ai-management:agents.entities.agent.fields.command-registry.description',\n groupId: 'registry-commands',\n schema: {\n defaultValue: [],\n nullable: true,\n interface: {\n type: AXPWidgetsList.Layouts.RepeaterLayout,\n options: { hasControls: true, allowReorder: true },\n children: AGENT_COMMAND_REGISTRY_REPEATER_CHILDREN,\n },\n },\n },\n {\n name: 'queryIds',\n title: '@ai-management:agents.entities.agent.fields.query-registry.title',\n description: '@ai-management:agents.entities.agent.fields.query-registry.description',\n groupId: 'registry-queries',\n schema: {\n defaultValue: [],\n nullable: true,\n interface: {\n type: AXPWidgetsList.Layouts.RepeaterLayout,\n options: { hasControls: true, allowReorder: true },\n children: AGENT_QUERY_REGISTRY_REPEATER_CHILDREN,\n },\n },\n },\n {\n name: 'mcpServerIds',\n title: '@ai-management:agents.entities.agent.fields.mcp-servers.title',\n description: '@ai-management:agents.entities.agent.fields.mcp-servers.description',\n groupId: 'mcp-servers',\n schema: {\n defaultValue: [],\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.mcpServer.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n multiple: true,\n allowSearch: true,\n columns: ['title', 'name'],\n placeholder: '@ai-management:agents.entities.agent.fields.mcp-servers.placeholder',\n },\n },\n },\n },\n {\n name: 'modelEntityId',\n title: '@ai-management:agents.entities.agent.fields.model-entity.title',\n description: '@ai-management:agents.entities.agent.fields.model-entity.description',\n groupId: 'access',\n schema: {\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.model.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n allowSearch: true,\n columns: ['title', 'name'],\n placeholder: '@ai-management:agents.entities.agent.fields.model-entity.placeholder',\n expose: [\n { source: 'id', target: 'aiModel.id' },\n { source: 'title', target: 'aiModel.title' },\n { source: 'name', target: 'aiModel.name' },\n ],\n },\n },\n },\n },\n {\n name: 'maxSteps',\n title: '@ai-management:agents.entities.agent.fields.max-steps.title',\n description: '@ai-management:agents.entities.agent.fields.max-steps.description',\n groupId: 'access',\n schema: {\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: { minValue: 1, maxValue: 50 },\n },\n },\n },\n {\n name: 'systemPrompt',\n title: '@ai-management:assists.entities.assist.fields.system-prompt.title',\n groupId: 'prompt-behaviour',\n schema: {\n interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 8 } },\n },\n },\n {\n name: 'ruleIds',\n title: '@ai-management:agents.entities.agent.fields.rules.title',\n description: '@ai-management:agents.entities.agent.fields.rules.description',\n groupId: 'prompt-behaviour',\n schema: {\n defaultValue: [],\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.rule.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n multiple: true,\n allowSearch: true,\n columns: ['title', 'name'],\n placeholder: '@ai-management:agents.entities.agent.fields.rules.placeholder',\n expose: [\n { source: 'id', target: 'rulesList.{id}' },\n { source: 'name', target: 'rulesList.{name}' },\n { source: 'title', target: 'rulesList.{title}' },\n ],\n },\n },\n },\n },\n {\n name: 'outputContract',\n title: '@ai-management:agents.entities.agent.fields.output-contract.title',\n description: '@ai-management:agents.entities.agent.fields.output-contract.description',\n groupId: 'output-contract',\n schema: {\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n dataSource: 'AiManagement:ListOutputContractTranscriptSegments',\n valueField: 'id',\n textField: 'title',\n allowSearch: false,\n placeholder:\n '@ai-management:agents.entities.agent.fields.output-contract.transcript-segment.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'name', title: '@general:terms.common.name', showAs: { type: AXPWidgetsList.Editors.TextBox } },\n { name: 'title', title: '@general:terms.common.title', showAs: { type: AXPWidgetsList.Editors.TextBox } },\n { name: 'description', title: '@general:terms.common.description', showAs: { type: AXPWidgetsList.Editors.TextBox } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'basic-info' },\n { id: 'supervisor-delegation' },\n { id: 'registry-commands' },\n { id: 'registry-queries' },\n { id: 'mcp-servers' },\n { id: 'access' },\n { id: 'prompt-behaviour' },\n { id: 'output-contract' },\n ],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'supervisorWhenToUse', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'supervisorWhenNotToUse', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'supervisorChainsWith', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'supervisorIntentTags', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'commandIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'queryIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'mcpServerIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'modelEntityId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'maxSteps', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'systemPrompt', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'ruleIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'outputContract', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [\n { id: 'basic-info' },\n { id: 'supervisor-delegation' },\n { id: 'registry-commands' },\n { id: 'registry-queries' },\n { id: 'mcp-servers' },\n { id: 'access' },\n { id: 'prompt-behaviour' },\n { id: 'output-contract' },\n ],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'supervisorWhenToUse', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'supervisorWhenNotToUse', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'supervisorChainsWith', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'supervisorIntentTags', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'commandIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'queryIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'mcpServerIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'modelEntityId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'maxSteps', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'systemPrompt', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'ruleIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'outputContract', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'basic-info' },\n { id: 'supervisor-delegation' },\n { id: 'registry-commands' },\n { id: 'registry-queries' },\n { id: 'mcp-servers' },\n { id: 'access' },\n { id: 'prompt-behaviour' },\n { id: 'output-contract' },\n ],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'supervisorWhenToUse', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'supervisorWhenNotToUse', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'supervisorChainsWith', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'supervisorIntentTags', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'commandIds', layout: { positions: { lg: { colSpan: 12 } }, label: { visible: false } }, },\n { name: 'queryIds', layout: { positions: { lg: { colSpan: 12 } }, label: { visible: false } }, },\n { name: 'mcpServerIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'modelEntityId', layout: { positions: { lg: { colSpan: 6 } } }, },\n { name: 'maxSteps', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'systemPrompt', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'ruleIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'outputContract', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'name', dir: 'asc' }] })],\n },\n },\n },\n };\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAKA;AAEA;AAEA,MAAM,wCAAwC,GAAG;AAC/C,IAAA;AACE,QAAA,IAAI,EAAE,kCAAkC;AACxC,QAAA,IAAI,EAAE,MAAe;AACrB,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,IAAI,EAAE,SAAS;AACf,QAAA,OAAO,EAAE;AACP,YAAA,YAAY,EAAE,SAAS;AACvB,YAAA,KAAK,EAAE,yEAAyE;AACjF,SAAA;AACF,KAAA;CACF;AAED,MAAM,sCAAsC,GAAG;AAC7C,IAAA;AACE,QAAA,IAAI,EAAE,kCAAkC;AACxC,QAAA,IAAI,EAAE,MAAe;AACrB,QAAA,IAAI,EAAE,OAAO;AACb,QAAA,IAAI,EAAE,OAAO;AACb,QAAA,OAAO,EAAE;AACP,YAAA,YAAY,EAAE,OAAO;AACrB,YAAA,KAAK,EAAE,uEAAuE;AAC/E,SAAA;AACF,KAAA;CACF;AAED;AAEA;AAEO,eAAe,YAAY,GAAA;AAChC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,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