@sftech/ng-orchestrator 0.0.21 → 1.0.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.
- package/fesm2022/{sftech-ng-orchestrator-agent-rag-upload.component-d281IZS6.mjs → sftech-ng-orchestrator-agent-rag-upload.component-DGMkaMBy.mjs} +16 -17
- package/fesm2022/sftech-ng-orchestrator-agent-rag-upload.component-DGMkaMBy.mjs.map +1 -0
- package/fesm2022/sftech-ng-orchestrator-agents.routes-DWOr4y4m.mjs +284 -0
- package/fesm2022/sftech-ng-orchestrator-agents.routes-DWOr4y4m.mjs.map +1 -0
- package/fesm2022/sftech-ng-orchestrator-chats.routes-BRjYTnIk.mjs +743 -0
- package/fesm2022/sftech-ng-orchestrator-chats.routes-BRjYTnIk.mjs.map +1 -0
- package/fesm2022/sftech-ng-orchestrator-prompt-display.component--3QaYOkH.mjs +162 -0
- package/fesm2022/{sftech-ng-orchestrator-prompt-display.component-BGO4cTtM.mjs.map → sftech-ng-orchestrator-prompt-display.component--3QaYOkH.mjs.map} +1 -1
- package/fesm2022/sftech-ng-orchestrator-prompt.model-DhASegzq.mjs.map +1 -1
- package/fesm2022/sftech-ng-orchestrator-prompts.routes-kVoXLKCC.mjs +51 -0
- package/fesm2022/sftech-ng-orchestrator-prompts.routes-kVoXLKCC.mjs.map +1 -0
- package/fesm2022/{sftech-ng-orchestrator-sftech-ng-orchestrator-CJwdYvWr.mjs → sftech-ng-orchestrator-sftech-ng-orchestrator-BdFSlSN_.mjs} +11 -15
- package/fesm2022/sftech-ng-orchestrator-sftech-ng-orchestrator-BdFSlSN_.mjs.map +1 -0
- package/fesm2022/sftech-ng-orchestrator.mjs +1 -1
- package/index.d.ts +17 -2
- package/package.json +2 -2
- package/fesm2022/sftech-ng-orchestrator-agent-rag-upload.component-d281IZS6.mjs.map +0 -1
- package/fesm2022/sftech-ng-orchestrator-agents.routes-BMA3nsjg.mjs +0 -284
- package/fesm2022/sftech-ng-orchestrator-agents.routes-BMA3nsjg.mjs.map +0 -1
- package/fesm2022/sftech-ng-orchestrator-chats.routes-iRU4Q1Hz.mjs +0 -740
- package/fesm2022/sftech-ng-orchestrator-chats.routes-iRU4Q1Hz.mjs.map +0 -1
- package/fesm2022/sftech-ng-orchestrator-prompt-display.component-BGO4cTtM.mjs +0 -162
- package/fesm2022/sftech-ng-orchestrator-prompts.routes-BLBkcAxi.mjs +0 -51
- package/fesm2022/sftech-ng-orchestrator-prompts.routes-BLBkcAxi.mjs.map +0 -1
- package/fesm2022/sftech-ng-orchestrator-sftech-ng-orchestrator-CJwdYvWr.mjs.map +0 -1
- package/lib/ng-orchestrator/admin/agents/agents.component.d.ts +0 -5
- package/lib/ng-orchestrator/admin/agents/agents.routes.d.ts +0 -10
- package/lib/ng-orchestrator/admin/agents/components/agent/agent-display/agent-display.component.d.ts +0 -29
- package/lib/ng-orchestrator/admin/agents/components/agent/agent-display/prompt-helper-modal/prompt-helper-modal.component.d.ts +0 -12
- package/lib/ng-orchestrator/admin/agents/components/agent/agent-rag-upload/agent-rag-upload.component.d.ts +0 -21
- package/lib/ng-orchestrator/admin/agents/components/agent/agents-list/agents-list.component.d.ts +0 -19
- package/lib/ng-orchestrator/admin/prompts/components/prompt/prompt-display/prompt-display.component.d.ts +0 -20
- package/lib/ng-orchestrator/admin/prompts/components/prompt/prompts-list/prompts-list.component.d.ts +0 -17
- package/lib/ng-orchestrator/admin/prompts/components/prompt-history/prompt-history-display/prompt-history-display.component.d.ts +0 -19
- package/lib/ng-orchestrator/admin/prompts/components/prompt-history/prompt-history-list/prompt-history-list.component.d.ts +0 -17
- package/lib/ng-orchestrator/admin/prompts/prompts.component.d.ts +0 -5
- package/lib/ng-orchestrator/admin/prompts/prompts.routes.d.ts +0 -10
- package/lib/ng-orchestrator/chats/agent-chat/agent-chat-message/agent-chat-message.component.d.ts +0 -11
- package/lib/ng-orchestrator/chats/agent-chat/agent-chat-message-human-input/agent-chat-message-human-input.component.d.ts +0 -24
- package/lib/ng-orchestrator/chats/agent-chat/agent-chat-message-human-input-initial/agent-chat-message-human-input-initial.component.d.ts +0 -27
- package/lib/ng-orchestrator/chats/agent-chat/agent-chat.component.d.ts +0 -52
- package/lib/ng-orchestrator/chats/agent-selection/agent-selection.component.d.ts +0 -28
- package/lib/ng-orchestrator/chats/chats.component.d.ts +0 -5
- package/lib/ng-orchestrator/chats/chats.routes.d.ts +0 -15
- package/lib/ng-orchestrator/chats/core/dataprovider/agent-run-icon-text.dataprovider.d.ts +0 -9
- package/lib/ng-orchestrator/core/configuration/orchestrator-config.interface.d.ts +0 -15
- package/lib/ng-orchestrator/core/configuration/orchestrator-config.mapper.d.ts +0 -5
- package/lib/ng-orchestrator/core/configuration/orchestrator-configuration.token.d.ts +0 -3
- package/lib/ng-orchestrator/core/dataprovider/orchestrator-icon.provider.d.ts +0 -13
- package/lib/ng-orchestrator/core/dtos/agent-create-request.dto.d.ts +0 -18
- package/lib/ng-orchestrator/core/dtos/agent-response.dto.d.ts +0 -26
- package/lib/ng-orchestrator/core/dtos/agent-run-create-request.dto.d.ts +0 -3
- package/lib/ng-orchestrator/core/dtos/agent-run-response.dto.d.ts +0 -12
- package/lib/ng-orchestrator/core/dtos/agent-update-request.dto.d.ts +0 -17
- package/lib/ng-orchestrator/core/dtos/chat-create-request.dto.d.ts +0 -4
- package/lib/ng-orchestrator/core/dtos/chat-message-response.dto.d.ts +0 -6
- package/lib/ng-orchestrator/core/dtos/chat-response.dto.d.ts +0 -6
- package/lib/ng-orchestrator/core/dtos/chat-update-request.dto.d.ts +0 -3
- package/lib/ng-orchestrator/core/dtos/mcp-tool-response.dto.d.ts +0 -5
- package/lib/ng-orchestrator/core/dtos/orchestrator-run.dto.d.ts +0 -7
- package/lib/ng-orchestrator/core/dtos/prompt-history-create.dto.d.ts +0 -6
- package/lib/ng-orchestrator/core/dtos/prompt-history-response.dto.d.ts +0 -7
- package/lib/ng-orchestrator/core/dtos/prompt-history-update.dto.d.ts +0 -6
- package/lib/ng-orchestrator/core/dtos/prompt-request.dto.d.ts +0 -8
- package/lib/ng-orchestrator/core/dtos/prompt-update.dto.d.ts +0 -6
- package/lib/ng-orchestrator/core/dtos/rag-ingest-config.dto.d.ts +0 -4
- package/lib/ng-orchestrator/core/enums/agent-run-status.enum.d.ts +0 -9
- package/lib/ng-orchestrator/core/models/agent-run.model.d.ts +0 -19
- package/lib/ng-orchestrator/core/models/agent.model.d.ts +0 -32
- package/lib/ng-orchestrator/core/models/chat-message.model.d.ts +0 -10
- package/lib/ng-orchestrator/core/models/chat.model.d.ts +0 -8
- package/lib/ng-orchestrator/core/models/mcp-tool.model.d.ts +0 -7
- package/lib/ng-orchestrator/core/models/prompt-history.model.d.ts +0 -11
- package/lib/ng-orchestrator/core/models/prompt.model.d.ts +0 -13
- package/lib/ng-orchestrator/core/service/agent-run.service.d.ts +0 -19
- package/lib/ng-orchestrator/core/service/agent.service.d.ts +0 -16
- package/lib/ng-orchestrator/core/service/chat.service.d.ts +0 -20
- package/lib/ng-orchestrator/core/service/orchestrator.service.d.ts +0 -23
- package/lib/ng-orchestrator/core/service/prompt-history.service.d.ts +0 -15
- package/lib/ng-orchestrator/core/service/prompt.service.d.ts +0 -15
- package/lib/ng-orchestrator/core/validators/rag.validator.d.ts +0 -2
- package/lib/ng-orchestrator/orchestrator.module.d.ts +0 -11
- package/lib/ng-orchestrator/orchestrator.routes.d.ts +0 -2
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sftech-ng-orchestrator-sftech-ng-orchestrator-CJwdYvWr.mjs","sources":["../../../../libs/ng-orchestrator/src/lib/ng-orchestrator/core/configuration/orchestrator-config.mapper.ts","../../../../libs/ng-orchestrator/src/lib/ng-orchestrator/core/configuration/orchestrator-configuration.token.ts","../../../../libs/ng-orchestrator/src/lib/ng-orchestrator/core/enums/agent-run-status.enum.ts","../../../../libs/ng-orchestrator/src/lib/ng-orchestrator/core/models/chat-message.model.ts","../../../../libs/ng-orchestrator/src/lib/ng-orchestrator/core/models/chat.model.ts","../../../../libs/ng-orchestrator/src/lib/ng-orchestrator/core/models/agent-run.model.ts","../../../../libs/ng-orchestrator/src/lib/ng-orchestrator/core/models/mcp-tool.model.ts","../../../../libs/ng-orchestrator/src/lib/ng-orchestrator/core/service/orchestrator.service.ts","../../../../libs/ng-orchestrator/src/lib/ng-orchestrator/orchestrator.module.ts","../../../../libs/ng-orchestrator/src/lib/ng-orchestrator/orchestrator.routes.ts","../../../../libs/ng-orchestrator/src/sftech-ng-orchestrator.ts"],"sourcesContent":["import { IAppConfig } from '@sftech/ng-shared';\r\nimport { IOrchestratorConfig } from './orchestrator-config.interface';\r\n\r\n// biome-ignore lint/complexity/noStaticOnlyClass: <explanation>\r\nexport class OrchestratorConfigMapper {\r\n public static map(config: IAppConfig): IOrchestratorConfig {\r\n return {\r\n orchestratorUrl: (config['ORCHESTRATOR_URL'] as string) ?? `${window.location.protocol}//${window.location.hostname}:${window.location.port}/api/orchestrator`,\r\n orchestratorDbUrl: (config['ORCHESTRATOR_DB_URL'] as string) ?? `${window.location.protocol}//${window.location.hostname}:${window.location.port}/api/orchestrator-db`,\r\n defaultConnectorUrl: config['DEFAULT_CONNECTOR_URL'] as string,\r\n defaultAnswerSpecification: config['DEFAULT_ANSWER_SPECIFICATION'] as string,\r\n defaultLlmProvider: config['DEFAULT_LLM_PROVIDER'] as string,\r\n defaultLlmModel: config['DEFAULT_LLM_MODEL'] as string,\r\n defaultLlmTemperature: config['DEFAULT_LLM_TEMPERATURE'] as number,\r\n defaultLlmTimeout: config['DEFAULT_LLM_TIMEOUT'] as number,\r\n defaultLlmRetries: config['DEFAULT_LLM_RETRIES'] as number,\r\n defaultLlmMaxTokens: config['DEFAULT_LLM_MAX_TOKENS'] as number,\r\n defaultRagModel: config['DEFAULT_RAG_MODEL'] as string,\r\n defaultRagProvider: config['DEFAULT_RAG_PROVIDER'] as string,\r\n };\r\n }\r\n}\r\n","import {InjectionToken} from \"@angular/core\";\r\nimport {IOrchestratorConfig} from \"./orchestrator-config.interface\";\r\n\r\nexport const ORCHESTRATOR_CONFIGURATION = new InjectionToken<IOrchestratorConfig>('ORCHESTRATOR_CONFIGURATION');","export enum EAgentRunStatus {\r\n INIT = 'init',\r\n PRERUNNING = 'pre_running',\r\n RUNNING = 'running',\r\n POSTRUNNING = 'post_running',\r\n CLARIFICATION_NEEDED = 'clarification_needed',\r\n COMPLETED = 'completed',\r\n FAILED = 'failed',\r\n}\r\n","import { BaseDbModel } from '@sftech/ng-shared';\r\nimport { IChatMessageResponseDto } from '../dtos/chat-message-response.dto';\r\nimport { Chat } from './chat.model';\r\n\r\nexport class ChatMessage extends BaseDbModel {\r\n public message!: string;\r\n\r\n public messageType!: string;\r\n\r\n public chatId!: number;\r\n\r\n public chat?: Chat;\r\n\r\n public override fromDto(dto: IChatMessageResponseDto): ChatMessage {\r\n const obj = new ChatMessage();\r\n obj.id = dto.id!;\r\n obj.createdAt = dto.createdAt!;\r\n\r\n obj.message = dto.message;\r\n obj.messageType = dto.messageType;\r\n obj.chatId = dto.chatId;\r\n return obj;\r\n }\r\n}\r\n","import { BaseDbModel } from '@sftech/ng-shared';\r\nimport { IChatMessageResponseDto } from '../dtos/chat-message-response.dto';\r\nimport { IChatResponseDto } from '../dtos/chat-response.dto';\r\nimport { ChatMessage } from './chat-message.model';\r\n\r\nexport class Chat extends BaseDbModel {\r\n public messages: ChatMessage[] = [];\r\n\r\n public agentId!: number;\r\n\r\n public override fromDto(dto: IChatResponseDto): Chat {\r\n const obj = new Chat();\r\n obj.id = dto.id!;\r\n obj.createdAt = dto.createdAt!;\r\n obj.agentId = dto.agentId;\r\n\r\n obj.messages = dto.messages.map((dto: IChatMessageResponseDto) => new ChatMessage().fromDto(dto));\r\n return obj;\r\n }\r\n}\r\n","import { BaseDbModel, EFilterTypes, IBaseDbResponseDto } from '@sftech/ng-shared';\r\nimport { IAgentResponseDto } from '../dtos/agent-response.dto';\r\nimport { IAgentRunResponseDto } from '../dtos/agent-run-response.dto';\r\nimport { IPromptHistoryResponseDto } from '../dtos/prompt-history-response.dto';\r\nimport { EAgentRunStatus } from '../enums/agent-run-status.enum';\r\nimport { Agent } from './agent.model';\r\nimport { Chat } from './chat.model';\r\nimport { PromptHistory } from './prompt-history.model';\r\nimport { Prompt } from './prompt.model';\r\n\r\nexport class AgentRun extends BaseDbModel {\r\n public status!: EAgentRunStatus;\r\n\r\n public step!: string;\r\n\r\n public startedAt?: Date;\r\n\r\n public endedAt?: Date;\r\n\r\n public agentId?: number;\r\n\r\n public agent?: Agent;\r\n\r\n public chatId?: number;\r\n\r\n public chat?: Chat;\r\n\r\n public override propertiesToShow = ['status', 'step', 'startedAt', 'endedAt'];\r\n\r\n public override propertyUINames = new Map<string, string>([\r\n ['status', 'Status'],\r\n ['step', 'Schritt'],\r\n ['startedAt', 'Start'],\r\n ['endedAt', 'Ende'],\r\n ]);\r\n\r\n public override propertyFilterType = new Map<string, EFilterTypes>([\r\n ['status', EFilterTypes.STRING],\r\n ['step', EFilterTypes.STRING],\r\n ['startedAt', EFilterTypes.DATE],\r\n ['endedAt', EFilterTypes.DATE],\r\n ]);\r\n\r\n public override fromDto(dto: IAgentRunResponseDto): AgentRun {\r\n const model = new AgentRun();\r\n model.id = dto.id;\r\n model.createdAt = new Date(dto.createdAt);\r\n model.agentId = dto.agentId;\r\n model.chatId = dto.chatId;\r\n model.status = dto.status;\r\n model.startedAt = dto.startedAt;\r\n model.endedAt = dto.endedAt;\r\n model.step = dto.step;\r\n\r\n if (dto.chat) {\r\n model.chat = new Chat().fromDto(dto.chat);\r\n }\r\n return model;\r\n }\r\n}\r\n","import {IMcpToolResponseDto} from \"../dtos/mcp-tool-response.dto\";\r\n\r\nexport class McpTool {\r\n name!: string;\r\n identifier!: string;\r\n desceription!: string;\r\n\r\n public static fromDto(dto: IMcpToolResponseDto): McpTool {\r\n const tool = new McpTool();\r\n tool.name = dto.name;\r\n tool.identifier = dto.identifier;\r\n tool.desceription = dto.description;\r\n return tool;\r\n }\r\n}","import { HttpClient } from '@angular/common/http';\r\nimport { Inject, Injectable, NgZone } from '@angular/core';\r\nimport { IApiResponse, MappedApiError, MappedApiResponseRaw } from '@sftech/ng-shared';\r\nimport { Observable, catchError, map, of } from 'rxjs';\r\nimport { IOrchestratorConfig } from '../configuration/orchestrator-config.interface';\r\nimport { ORCHESTRATOR_CONFIGURATION } from '../configuration/orchestrator-configuration.token';\r\nimport { IAgentRunResponseDto } from '../dtos/agent-run-response.dto';\r\nimport { IMcpToolResponseDto } from '../dtos/mcp-tool-response.dto';\r\nimport { IOrchestratorRunDto } from '../dtos/orchestrator-run.dto';\r\nimport { IRagInfoDto } from '../dtos/rag-ingest-config.dto';\r\nimport { EAgentRunStatus } from '../enums/agent-run-status.enum';\r\nimport { AgentRun } from '../models/agent-run.model';\r\nimport { McpTool } from '../models/mcp-tool.model';\r\n\r\n@Injectable()\r\nexport class OrchestratorService {\r\n public constructor(\r\n private readonly http: HttpClient,\r\n private readonly zone: NgZone,\r\n @Inject(ORCHESTRATOR_CONFIGURATION) private readonly config: IOrchestratorConfig,\r\n ) {}\r\n\r\n public runAgent(runConfig: IOrchestratorRunDto): Observable<MappedApiError | number> {\r\n const url = `${this.config.orchestratorUrl}/generic/run`;\r\n return this.http.post<IApiResponse<number>>(url, runConfig).pipe(\r\n map((res) => {\r\n return res.data as number;\r\n }),\r\n catchError((err) => {\r\n const error = new MappedApiError();\r\n error.messages = err.messages ? err.messages : [];\r\n return of(new MappedApiError());\r\n }),\r\n );\r\n }\r\n\r\n public observeAgentRun(agentRunId: number): Observable<MappedApiError | AgentRun> {\r\n return new Observable<AgentRun>((observer) => {\r\n const eventSource = new EventSource(`${this.config.orchestratorUrl}/generic/stream/${agentRunId}`);\r\n\r\n eventSource.onmessage = (event) => {\r\n this.zone.run(() => {\r\n const agentRun = new AgentRun();\r\n const result = agentRun.fromDto(JSON.parse(event.data) as IAgentRunResponseDto);\r\n observer.next(result);\r\n\r\n // Close EventSource when agent run is completed\r\n if (result.status === EAgentRunStatus.COMPLETED || result.status === EAgentRunStatus.FAILED) {\r\n eventSource.close();\r\n observer.complete();\r\n }\r\n });\r\n };\r\n\r\n eventSource.onerror = (error) => {\r\n this.zone.run(() => {\r\n eventSource.close();\r\n observer.error(error);\r\n });\r\n };\r\n\r\n // Cleanup, wenn unsubscribed wird\r\n return () => eventSource.close();\r\n });\r\n }\r\n\r\n public getTools(): Observable<MappedApiResponseRaw<McpTool[]>> {\r\n const url = `${this.config.orchestratorUrl}/tools`;\r\n return this.http.get<IApiResponse<IMcpToolResponseDto[]>>(url).pipe(\r\n map((res) => {\r\n const apiResponse = new MappedApiResponseRaw<McpTool[]>();\r\n apiResponse.status = res.status;\r\n apiResponse.messages = res.messages ? res.messages : [];\r\n apiResponse.isError = false;\r\n apiResponse.data = (res.data as IMcpToolResponseDto[]).map((t) => McpTool.fromDto(t));\r\n return apiResponse;\r\n }),\r\n catchError((err) => {\r\n console.error('Error fetching tools:', err);\r\n const error = new MappedApiError();\r\n error.messages = err.messages ? err.messages : [];\r\n error.status = err.status ? err.status : 500;\r\n error.isError = true;\r\n return of(error);\r\n }),\r\n );\r\n }\r\n\r\n public storeRagDocuments(files: File[], ragInfo: IRagInfoDto): Observable<MappedApiError | boolean> {\r\n const url = `${this.config.orchestratorUrl}/rag/store`;\r\n const formData = new FormData();\r\n\r\n // Add all files to FormData\r\n files.forEach((file) => {\r\n formData.append('files', file);\r\n });\r\n\r\n // Add ragInfo as JSON string or separate fields\r\n formData.append('agentIdentifier', ragInfo.agentIdentifier);\r\n if (ragInfo.chatId) {\r\n formData.append('chatId', ragInfo.chatId.toString());\r\n }\r\n\r\n return this.http.post<IApiResponse<boolean>>(url, formData).pipe(\r\n map((res) => {\r\n console.log(res);\r\n\r\n return res.data as boolean;\r\n }),\r\n catchError((err) => {\r\n console.error('Error storing RAG documents:', err);\r\n const error = new MappedApiError();\r\n error.messages = err.messages ? err.messages : [];\r\n error.status = err.status ? err.status : 500;\r\n error.isError = true;\r\n return of(error);\r\n }),\r\n );\r\n }\r\n\r\n public chatAgent(agentRunId: number, message: string): Observable<MappedApiError | number> {\r\n const url = `${this.config.orchestratorUrl}/generic/chat/${agentRunId}`;\r\n return this.http.post<IApiResponse<number>>(url, { message }).pipe(\r\n map((res) => {\r\n return res.data as number;\r\n }),\r\n catchError((err) => {\r\n console.error('Error sending chat message:', err);\r\n const error = new MappedApiError();\r\n error.messages = err.messages ? err.messages : [];\r\n error.status = err.status ? err.status : 500;\r\n error.isError = true;\r\n return of(error);\r\n }),\r\n );\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { IAppConfig } from '@sftech/ng-shared';\r\nimport { OrchestratorConfigMapper } from './core/configuration/orchestrator-config.mapper';\r\nimport { ORCHESTRATOR_CONFIGURATION } from './core/configuration/orchestrator-configuration.token';\r\n\r\nimport { MarkdownModule } from 'ngx-markdown';\r\nimport { OrchestratorService } from './core/service/orchestrator.service';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [CommonModule, MarkdownModule],\r\n})\r\n// biome-ignore lint/complexity/noStaticOnlyClass: <explanation>\r\nexport class OrchestratorModule {\r\n public static forRoot(config: IAppConfig): ModuleWithProviders<OrchestratorModule> {\r\n return {\r\n ngModule: OrchestratorModule,\r\n providers: [\r\n {\r\n provide: ORCHESTRATOR_CONFIGURATION,\r\n useValue: OrchestratorConfigMapper.map(config),\r\n },\r\n OrchestratorService,\r\n ],\r\n };\r\n }\r\n}\r\n","import { Route } from '@angular/router';\r\nimport { AdminGuard } from '@sftech/ng-auth';\r\n\r\nexport const orchestratorRoutes: Route[] = [\r\n {\r\n path: 'chats',\r\n loadChildren: () => import('./chats/chats.routes').then((m) => m.chatsRoutes),\r\n },\r\n {\r\n path: 'admin/prompts',\r\n loadChildren: () => import('./admin/prompts/prompts.routes').then((m) => m.promptsRoutes),\r\n canActivate: [AdminGuard],\r\n },\r\n {\r\n path: 'admin/agents',\r\n loadChildren: () => import('./admin/agents/agents.routes').then((m) => m.agentsRoutes),\r\n canActivate: [AdminGuard],\r\n },\r\n];\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAGA;MACa,wBAAwB,CAAA;IAC1B,OAAO,GAAG,CAAC,MAAkB,EAAA;QAChC,OAAO;YACH,eAAe,EAAG,MAAM,CAAC,kBAAkB,CAAY,IAAI,CAAG,EAAA,MAAM,CAAC,QAAQ,CAAC,QAAQ,KAAK,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAA,CAAA,EAAI,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAmB,iBAAA,CAAA;YAC9J,iBAAiB,EAAG,MAAM,CAAC,qBAAqB,CAAY,IAAI,CAAG,EAAA,MAAM,CAAC,QAAQ,CAAC,QAAQ,KAAK,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAA,CAAA,EAAI,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAsB,oBAAA,CAAA;AACtK,YAAA,mBAAmB,EAAE,MAAM,CAAC,uBAAuB,CAAW;AAC9D,YAAA,0BAA0B,EAAE,MAAM,CAAC,8BAA8B,CAAW;AAC5E,YAAA,kBAAkB,EAAE,MAAM,CAAC,sBAAsB,CAAW;AAC5D,YAAA,eAAe,EAAE,MAAM,CAAC,mBAAmB,CAAW;AACtD,YAAA,qBAAqB,EAAE,MAAM,CAAC,yBAAyB,CAAW;AAClE,YAAA,iBAAiB,EAAE,MAAM,CAAC,qBAAqB,CAAW;AAC1D,YAAA,iBAAiB,EAAE,MAAM,CAAC,qBAAqB,CAAW;AAC1D,YAAA,mBAAmB,EAAE,MAAM,CAAC,wBAAwB,CAAW;AAC/D,YAAA,eAAe,EAAE,MAAM,CAAC,mBAAmB,CAAW;AACtD,YAAA,kBAAkB,EAAE,MAAM,CAAC,sBAAsB,CAAW;SAC/D;;AAER;;MClBY,0BAA0B,GAAG,IAAI,cAAc,CAAsB,4BAA4B;;ICHlG;A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10 +0,0 @@
|
|
|
1
|
-
import { AgentsComponent } from './agents.component';
|
|
2
|
-
import { AgentsListComponent } from './components/agent/agents-list/agents-list.component';
|
|
3
|
-
export declare const agentsRoutes: {
|
|
4
|
-
path: string;
|
|
5
|
-
component: typeof AgentsComponent;
|
|
6
|
-
children: {
|
|
7
|
-
path: string;
|
|
8
|
-
component: typeof AgentsListComponent;
|
|
9
|
-
}[];
|
|
10
|
-
}[];
|
package/lib/ng-orchestrator/admin/agents/components/agent/agent-display/agent-display.component.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { BaseDisplayComponent } from '@sftech/ng-shared';
|
|
4
|
-
import { DialogService } from 'primeng/dynamicdialog';
|
|
5
|
-
import { IAgentCreateDto } from '../../../../../core/dtos/agent-create-request.dto';
|
|
6
|
-
import { IAgentResponseDto } from '../../../../../core/dtos/agent-response.dto';
|
|
7
|
-
import { IAgentUpdateDto } from '../../../../../core/dtos/agent-update-request.dto';
|
|
8
|
-
import { Agent } from '../../../../../core/models/agent.model';
|
|
9
|
-
import { McpTool } from '../../../../../core/models/mcp-tool.model';
|
|
10
|
-
import { AgentService } from '../../../../../core/service/agent.service';
|
|
11
|
-
import { OrchestratorService } from '../../../../../core/service/orchestrator.service';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
export declare class AgentDisplayComponent extends BaseDisplayComponent<Agent, IAgentUpdateDto, IAgentUpdateDto, IAgentResponseDto> implements OnInit {
|
|
14
|
-
protected _repo: AgentService;
|
|
15
|
-
protected _route: string;
|
|
16
|
-
protected _orchestratorService: OrchestratorService;
|
|
17
|
-
tools: import("@angular/core").WritableSignal<McpTool[] | undefined>;
|
|
18
|
-
protected dialog: DialogService;
|
|
19
|
-
private _options;
|
|
20
|
-
ngOnInit(): void;
|
|
21
|
-
protected initializeForm(): FormGroup;
|
|
22
|
-
protected getNewModel(): Agent;
|
|
23
|
-
protected mapFormToUpdateDto(): IAgentUpdateDto;
|
|
24
|
-
protected mapFormToCreateDto(): IAgentCreateDto;
|
|
25
|
-
openPromptModal(promptId: number | undefined): void;
|
|
26
|
-
openPromptHelper(): void;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AgentDisplayComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AgentDisplayComponent, "sftech-prompt-display", never, {}, {}, never, never, true, never>;
|
|
29
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { BaseDialogComponent } from '@sftech/ng-shared';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class PromptHelperModalComponent extends BaseDialogComponent implements OnInit, OnDestroy {
|
|
6
|
-
private _subscriptions;
|
|
7
|
-
protected systemPromptForm: FormGroup;
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
ngOnDestroy(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PromptHelperModalComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PromptHelperModalComponent, "sftech-prompt-helper-modal", never, {}, {}, never, never, true, never>;
|
|
12
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { BaseDialogComponent } from '@sftech/ng-shared';
|
|
3
|
-
import { FileRemoveEvent, FileSelectEvent } from 'primeng/fileupload';
|
|
4
|
-
import { Agent } from '../../../../../core/models/agent.model';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class AgentRagUploadComponent extends BaseDialogComponent implements OnInit {
|
|
7
|
-
agentId: import("@angular/core").InputSignal<number | undefined>;
|
|
8
|
-
chatId: import("@angular/core").InputSignal<number | undefined>;
|
|
9
|
-
uploadedFiles: import("@angular/core").WritableSignal<File[]>;
|
|
10
|
-
agent: import("@angular/core").WritableSignal<Agent | undefined>;
|
|
11
|
-
isUploading: import("@angular/core").WritableSignal<boolean>;
|
|
12
|
-
uploadError: import("@angular/core").WritableSignal<string | undefined>;
|
|
13
|
-
private agentService;
|
|
14
|
-
private orchestratorService;
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
onFileSelect(event: FileSelectEvent): void;
|
|
17
|
-
onFileRemove(event: FileRemoveEvent): void;
|
|
18
|
-
uploadFiles(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AgentRagUploadComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AgentRagUploadComponent, "sftech-agent-rag-upload", never, { "agentId": { "alias": "agentId"; "required": false; "isSignal": true; }; "chatId": { "alias": "chatId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
21
|
-
}
|
package/lib/ng-orchestrator/admin/agents/components/agent/agents-list/agents-list.component.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { BaseListComponent, IconProvider } from '@sftech/ng-shared';
|
|
2
|
-
import { IAgentResponseDto } from '../../../../../core/dtos/agent-response.dto';
|
|
3
|
-
import { IAgentUpdateDto } from '../../../../../core/dtos/agent-update-request.dto';
|
|
4
|
-
import { Agent } from '../../../../../core/models/agent.model';
|
|
5
|
-
import { AgentService } from '../../../../../core/service/agent.service';
|
|
6
|
-
import { AgentDisplayComponent } from '../agent-display/agent-display.component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class AgentsListComponent extends BaseListComponent<Agent, IAgentUpdateDto, IAgentUpdateDto, IAgentResponseDto> {
|
|
9
|
-
protected _repo: AgentService;
|
|
10
|
-
protected _route: string;
|
|
11
|
-
protected _modalComponent: typeof AgentDisplayComponent;
|
|
12
|
-
protected detailModalHeaderText: string;
|
|
13
|
-
private dialogService;
|
|
14
|
-
iconProvider: typeof IconProvider;
|
|
15
|
-
constructor();
|
|
16
|
-
openRagUploadModal(agentId: number, event: Event): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AgentsListComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AgentsListComponent, "sftech-prompts-list", never, {}, {}, never, never, true, never>;
|
|
19
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { FormGroup } from '@angular/forms';
|
|
2
|
-
import { BaseDisplayComponent, OData } from '@sftech/ng-shared';
|
|
3
|
-
import { IPromptResponseDto } from '../../../../../core/dtos/prompt-request.dto';
|
|
4
|
-
import { IPromptUpdateDto } from '../../../../../core/dtos/prompt-update.dto';
|
|
5
|
-
import { Prompt } from '../../../../../core/models/prompt.model';
|
|
6
|
-
import { PromptService } from '../../../../../core/service/prompt.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class PromptDisplayComponent extends BaseDisplayComponent<Prompt, IPromptUpdateDto, IPromptUpdateDto, IPromptResponseDto> {
|
|
9
|
-
protected _repo: PromptService;
|
|
10
|
-
protected _route: string;
|
|
11
|
-
odataForHistories: import("@angular/core").WritableSignal<OData | undefined>;
|
|
12
|
-
constructor();
|
|
13
|
-
protected initializeForm(): FormGroup;
|
|
14
|
-
protected getNewModel(): Prompt;
|
|
15
|
-
protected mapFormToUpdateDto(): IPromptUpdateDto;
|
|
16
|
-
protected mapFormToCreateDto(): IPromptUpdateDto;
|
|
17
|
-
getOdataForHistories(): OData;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PromptDisplayComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PromptDisplayComponent, "sftech-prompt-display", never, {}, {}, never, never, true, never>;
|
|
20
|
-
}
|
package/lib/ng-orchestrator/admin/prompts/components/prompt/prompts-list/prompts-list.component.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { BaseListComponent, IconProvider } from '@sftech/ng-shared';
|
|
2
|
-
import { IPromptResponseDto } from '../../../../../core/dtos/prompt-request.dto';
|
|
3
|
-
import { IPromptUpdateDto } from '../../../../../core/dtos/prompt-update.dto';
|
|
4
|
-
import { Prompt } from '../../../../../core/models/prompt.model';
|
|
5
|
-
import { PromptService } from '../../../../../core/service/prompt.service';
|
|
6
|
-
import { PromptDisplayComponent } from '../prompt-display/prompt-display.component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class PromptsListComponent extends BaseListComponent<Prompt, IPromptUpdateDto, IPromptUpdateDto, IPromptResponseDto> {
|
|
9
|
-
protected _repo: PromptService;
|
|
10
|
-
protected _route: string;
|
|
11
|
-
protected _modalComponent: typeof PromptDisplayComponent;
|
|
12
|
-
protected detailModalHeaderText: string;
|
|
13
|
-
iconProvider: typeof IconProvider;
|
|
14
|
-
constructor();
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PromptsListComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PromptsListComponent, "sftech-prompts-list", never, {}, {}, never, never, true, never>;
|
|
17
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { BaseDisplayComponent } from '@sftech/ng-shared';
|
|
4
|
-
import { IPromptHistoryCreateDto } from '../../../../../core/dtos/prompt-history-create.dto';
|
|
5
|
-
import { IPromptHistoryResponseDto } from '../../../../../core/dtos/prompt-history-response.dto';
|
|
6
|
-
import { IPromptHistoryUpdateDto } from '../../../../../core/dtos/prompt-history-update.dto';
|
|
7
|
-
import { PromptHistory } from '../../../../../core/models/prompt-history.model';
|
|
8
|
-
import { PromptHistoryService } from '../../../../../core/service/prompt-history.service';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class PromptHistoryDisplayComponent extends BaseDisplayComponent<PromptHistory, IPromptHistoryCreateDto, IPromptHistoryUpdateDto, IPromptHistoryResponseDto> implements OnInit {
|
|
11
|
-
protected _repo: PromptHistoryService;
|
|
12
|
-
protected _route: string;
|
|
13
|
-
protected initializeForm(): FormGroup;
|
|
14
|
-
protected getNewModel(): PromptHistory;
|
|
15
|
-
protected mapFormToUpdateDto(): IPromptHistoryUpdateDto;
|
|
16
|
-
protected mapFormToCreateDto(): IPromptHistoryCreateDto;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PromptHistoryDisplayComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PromptHistoryDisplayComponent, "sftech-prompt-history-display", never, {}, {}, never, never, true, never>;
|
|
19
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { BaseListComponent } from '@sftech/ng-shared';
|
|
3
|
-
import { IPromptHistoryCreateDto } from '../../../../../core/dtos/prompt-history-create.dto';
|
|
4
|
-
import { IPromptHistoryResponseDto } from '../../../../../core/dtos/prompt-history-response.dto';
|
|
5
|
-
import { IPromptHistoryUpdateDto } from '../../../../../core/dtos/prompt-history-update.dto';
|
|
6
|
-
import { PromptHistory } from '../../../../../core/models/prompt-history.model';
|
|
7
|
-
import { PromptHistoryService } from '../../../../../core/service/prompt-history.service';
|
|
8
|
-
import { PromptHistoryDisplayComponent } from '../prompt-history-display/prompt-history-display.component';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class PromptHistoryListComponent extends BaseListComponent<PromptHistory, IPromptHistoryCreateDto, IPromptHistoryUpdateDto, IPromptHistoryResponseDto> implements OnInit {
|
|
11
|
-
protected _repo: PromptHistoryService;
|
|
12
|
-
protected _route: string;
|
|
13
|
-
protected _modalComponent: typeof PromptHistoryDisplayComponent;
|
|
14
|
-
protected detailModalHeaderText: string;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PromptHistoryListComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PromptHistoryListComponent, "sftech-prompt-history-list", never, {}, {}, never, never, true, never>;
|
|
17
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PromptsListComponent } from './components/prompt/prompts-list/prompts-list.component';
|
|
2
|
-
import { PromptsComponent } from './prompts.component';
|
|
3
|
-
export declare const promptsRoutes: {
|
|
4
|
-
path: string;
|
|
5
|
-
component: typeof PromptsComponent;
|
|
6
|
-
children: {
|
|
7
|
-
path: string;
|
|
8
|
-
component: typeof PromptsListComponent;
|
|
9
|
-
}[];
|
|
10
|
-
}[];
|
package/lib/ng-orchestrator/chats/agent-chat/agent-chat-message/agent-chat-message.component.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AgentRunIconTextDataprovider } from '../../core/dataprovider/agent-run-icon-text.dataprovider';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AgentChatMessageComponent {
|
|
4
|
-
message: import("@angular/core").InputSignal<string>;
|
|
5
|
-
type: import("@angular/core").InputSignal<string>;
|
|
6
|
-
iconTextMapper: typeof AgentRunIconTextDataprovider;
|
|
7
|
-
extractJson(message: string): string;
|
|
8
|
-
private _toMarkdownFromJson;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AgentChatMessageComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AgentChatMessageComponent, "sftech-agent-chat-message", never, { "message": { "alias": "message"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { IconProvider } from '@sftech/ng-shared';
|
|
4
|
-
import { AgentRunIconTextDataprovider } from 'libs/ng-orchestrator/src/lib/ng-orchestrator/chats/core/dataprovider/agent-run-icon-text.dataprovider';
|
|
5
|
-
import { MessageService } from 'primeng/api';
|
|
6
|
-
import { Agent } from '../../../core/models/agent.model';
|
|
7
|
-
import { OrchestratorService } from '../../../core/service/orchestrator.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class AgentChatMessageHumanInputComponent {
|
|
10
|
-
agent: import("@angular/core").InputSignal<Agent | undefined>;
|
|
11
|
-
agentRunId: import("@angular/core").InputSignal<number | undefined>;
|
|
12
|
-
agentRunIdReceived: EventEmitter<number>;
|
|
13
|
-
messageService: MessageService;
|
|
14
|
-
orchestratorService: OrchestratorService;
|
|
15
|
-
form: FormGroup<{
|
|
16
|
-
message: FormControl<string | null>;
|
|
17
|
-
}>;
|
|
18
|
-
isSubmitting: boolean;
|
|
19
|
-
protected readonly iconTextMapper: typeof AgentRunIconTextDataprovider;
|
|
20
|
-
protected readonly iconProvider: typeof IconProvider;
|
|
21
|
-
run(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AgentChatMessageHumanInputComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AgentChatMessageHumanInputComponent, "sftech-agent-chat-message-human-input", never, { "agent": { "alias": "agent"; "required": false; "isSignal": true; }; "agentRunId": { "alias": "agentRunId"; "required": false; "isSignal": true; }; }, { "agentRunIdReceived": "agentRunIdReceived"; }, never, never, true, never>;
|
|
24
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { SafeHtml } from '@angular/platform-browser';
|
|
4
|
-
import { IconProvider } from '@sftech/ng-shared';
|
|
5
|
-
import { AgentRunIconTextDataprovider } from 'libs/ng-orchestrator/src/lib/ng-orchestrator/chats/core/dataprovider/agent-run-icon-text.dataprovider';
|
|
6
|
-
import { MessageService } from 'primeng/api';
|
|
7
|
-
import { Agent } from '../../../core/models/agent.model';
|
|
8
|
-
import { OrchestratorService } from '../../../core/service/orchestrator.service';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class AgentChatMessageHumanInputInitialComponent {
|
|
11
|
-
agent: import("@angular/core").InputSignal<Agent | undefined>;
|
|
12
|
-
agentRunIdReceived: EventEmitter<number>;
|
|
13
|
-
messageService: MessageService;
|
|
14
|
-
orchestratorService: OrchestratorService;
|
|
15
|
-
private sanitizer;
|
|
16
|
-
form: FormGroup<{}>;
|
|
17
|
-
isSubmitting: boolean;
|
|
18
|
-
protected readonly iconTextMapper: typeof AgentRunIconTextDataprovider;
|
|
19
|
-
protected readonly iconProvider: typeof IconProvider;
|
|
20
|
-
private _agentChanged$;
|
|
21
|
-
run(): void;
|
|
22
|
-
getInputFormControlNames(): string[];
|
|
23
|
-
formatControlName(name: string): string;
|
|
24
|
-
getFormattedTemplate(): SafeHtml;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AgentChatMessageHumanInputInitialComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AgentChatMessageHumanInputInitialComponent, "sftech-agent-chat-message-human-input-initial", never, { "agent": { "alias": "agent"; "required": false; "isSignal": true; }; }, { "agentRunIdReceived": "agentRunIdReceived"; }, never, never, true, never>;
|
|
27
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
-
import { IconProvider } from '@sftech/ng-shared';
|
|
4
|
-
import { MessageService } from 'primeng/api';
|
|
5
|
-
import { Subscription } from 'rxjs';
|
|
6
|
-
import { EAgentRunStatus } from '../../core/enums/agent-run-status.enum';
|
|
7
|
-
import { AgentRun } from '../../core/models/agent-run.model';
|
|
8
|
-
import { Agent } from '../../core/models/agent.model';
|
|
9
|
-
import { AgentRunService } from '../../core/service/agent-run.service';
|
|
10
|
-
import { AgentService } from '../../core/service/agent.service';
|
|
11
|
-
import { ChatService } from '../../core/service/chat.service';
|
|
12
|
-
import { OrchestratorService } from '../../core/service/orchestrator.service';
|
|
13
|
-
import { AgentRunIconTextDataprovider } from '../core/dataprovider/agent-run-icon-text.dataprovider';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
export declare class AgentChatComponent implements OnInit, OnDestroy {
|
|
16
|
-
protected readonly activeRoute: ActivatedRoute;
|
|
17
|
-
protected readonly router: Router;
|
|
18
|
-
protected readonly agentService: AgentService;
|
|
19
|
-
protected readonly agentRunService: AgentRunService;
|
|
20
|
-
protected readonly chatService: ChatService;
|
|
21
|
-
protected readonly orchestratorService: OrchestratorService;
|
|
22
|
-
protected readonly messageService: MessageService;
|
|
23
|
-
private readonly dialogService;
|
|
24
|
-
protected agent: Agent;
|
|
25
|
-
protected readonly agentRuns: import("@angular/core").WritableSignal<AgentRun[] | undefined>;
|
|
26
|
-
protected selectedAgentRun: import("@angular/core").WritableSignal<AgentRun | undefined>;
|
|
27
|
-
protected selectedAgent: import("@angular/core").WritableSignal<Agent | undefined>;
|
|
28
|
-
chatContainer?: ElementRef;
|
|
29
|
-
iconProvider: typeof IconProvider;
|
|
30
|
-
iconTextMapper: typeof AgentRunIconTextDataprovider;
|
|
31
|
-
agentRunStatus: typeof EAgentRunStatus;
|
|
32
|
-
subscriptions: Subscription[];
|
|
33
|
-
protected selectedAgentRunChanged$: import("@angular/core").EffectRef;
|
|
34
|
-
protected chatMessagesChanged$: import("@angular/core").EffectRef;
|
|
35
|
-
loading: import("@angular/core").Signal<boolean>;
|
|
36
|
-
ngOnInit(): void;
|
|
37
|
-
ngOnDestroy(): void;
|
|
38
|
-
startNewRun(): void;
|
|
39
|
-
selectAgentRun(agentRun: AgentRun): void;
|
|
40
|
-
startObservingAgentRun(agentRunId: number): void;
|
|
41
|
-
goBack(): void;
|
|
42
|
-
private _loadChat;
|
|
43
|
-
private _setRelativeUrl;
|
|
44
|
-
private _mapUpdateOnAgentRun;
|
|
45
|
-
openRagUploadModal(): void;
|
|
46
|
-
private startScrollingStrategy;
|
|
47
|
-
private scrollToBottom;
|
|
48
|
-
protected getFirstUserMessage(agentRun: AgentRun): string;
|
|
49
|
-
protected getMessageCount(agentRun: AgentRun): number;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AgentChatComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AgentChatComponent, "sftech-agent-chat", never, {}, {}, never, never, true, never>;
|
|
52
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { BaseListComponent, IconProvider } from '@sftech/ng-shared';
|
|
3
|
-
import { MessageService } from 'primeng/api';
|
|
4
|
-
import { IAgentCreateDto } from '../../core/dtos/agent-create-request.dto';
|
|
5
|
-
import { IAgentResponseDto } from '../../core/dtos/agent-response.dto';
|
|
6
|
-
import { Agent } from '../../core/models/agent.model';
|
|
7
|
-
import { McpTool } from '../../core/models/mcp-tool.model';
|
|
8
|
-
import { AgentService } from '../../core/service/agent.service';
|
|
9
|
-
import { OrchestratorService } from '../../core/service/orchestrator.service';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class AgentSelectionComponent extends BaseListComponent<Agent, IAgentCreateDto, IAgentCreateDto, IAgentResponseDto> implements OnInit {
|
|
12
|
-
protected _repo: AgentService;
|
|
13
|
-
protected _route: string;
|
|
14
|
-
protected orchestratorService: OrchestratorService;
|
|
15
|
-
protected messageService: MessageService;
|
|
16
|
-
protected iconProvider: typeof IconProvider;
|
|
17
|
-
tools: import("@angular/core").WritableSignal<McpTool[] | undefined>;
|
|
18
|
-
searchTerm: string;
|
|
19
|
-
filteredAgents: import("@angular/core").WritableSignal<Agent[]>;
|
|
20
|
-
constructor();
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
filterAgents(): void;
|
|
23
|
-
clearSearch(): void;
|
|
24
|
-
getToolName(toolIdentifier: string): string;
|
|
25
|
-
getToolNames(agent: Agent): string;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AgentSelectionComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AgentSelectionComponent, "sftech-agent-selection", never, {}, {}, never, never, true, never>;
|
|
28
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { AgentChatComponent } from './agent-chat/agent-chat.component';
|
|
2
|
-
import { AgentSelectionComponent } from './agent-selection/agent-selection.component';
|
|
3
|
-
import { ChatsComponent } from './chats.component';
|
|
4
|
-
export declare const chatsRoutes: {
|
|
5
|
-
path: string;
|
|
6
|
-
component: typeof ChatsComponent;
|
|
7
|
-
children: ({
|
|
8
|
-
path: string;
|
|
9
|
-
component: typeof AgentSelectionComponent;
|
|
10
|
-
} | {
|
|
11
|
-
path: string;
|
|
12
|
-
component: typeof AgentChatComponent;
|
|
13
|
-
})[];
|
|
14
|
-
canActivate: import("@angular/router").CanActivateFn[];
|
|
15
|
-
}[];
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IconDefinition } from '@fortawesome/angular-fontawesome';
|
|
2
|
-
import { EAgentRunStatus } from '../../../core/enums/agent-run-status.enum';
|
|
3
|
-
export declare class AgentRunIconTextDataprovider {
|
|
4
|
-
private static readonly UNKNOWN_TEXT;
|
|
5
|
-
static getTextForStatus(status: EAgentRunStatus | undefined): string;
|
|
6
|
-
static getIconForStatus(status: EAgentRunStatus | undefined): IconDefinition;
|
|
7
|
-
static getIconClassesForStatus(status: EAgentRunStatus | undefined): string;
|
|
8
|
-
static getIconForMessageType(messageType: string): IconDefinition;
|
|
9
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IAppConfig } from '@sftech/ng-shared';
|
|
2
|
-
export interface IOrchestratorConfig extends IAppConfig {
|
|
3
|
-
orchestratorUrl: string;
|
|
4
|
-
orchestratorDbUrl: string;
|
|
5
|
-
defaultConnectorUrl: string;
|
|
6
|
-
defaultAnswerSpecification: string;
|
|
7
|
-
defaultLlmProvider: string;
|
|
8
|
-
defaultLlmModel: string;
|
|
9
|
-
defaultLlmTemperature: number;
|
|
10
|
-
defaultLlmTimeout: number;
|
|
11
|
-
defaultLlmRetries: number;
|
|
12
|
-
defaultLlmMaxTokens: number;
|
|
13
|
-
defaultRagModel: string;
|
|
14
|
-
defaultRagProvider: string;
|
|
15
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IconProvider } from '@sftech/ng-shared';
|
|
2
|
-
export declare class OrchestratorIconProvider extends IconProvider {
|
|
3
|
-
static readonly agentRunStatusInit: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
4
|
-
static readonly agentRunStatusRunning: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
5
|
-
static readonly agentRunStatusCompleted: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
6
|
-
static readonly agentRunStatusFailed: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
7
|
-
static readonly agentRunStatusPrerun: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
8
|
-
static readonly agentRunStatusPostrun: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
9
|
-
static readonly agentRunStatusClarify: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
10
|
-
static readonly messageTypeAI: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
11
|
-
static readonly messageTypeHuman: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
12
|
-
static readonly messageTypeSystem: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
13
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IBaseDbCreateDto } from '@sftech/ng-shared';
|
|
2
|
-
export interface IAgentCreateDto extends IBaseDbCreateDto {
|
|
3
|
-
description: string;
|
|
4
|
-
name: string;
|
|
5
|
-
connectorUrl: string;
|
|
6
|
-
systemPromptText: string;
|
|
7
|
-
answerSpecification: string;
|
|
8
|
-
tools?: string[];
|
|
9
|
-
llmProvider: string;
|
|
10
|
-
llmModel: string;
|
|
11
|
-
llmTemperature: number;
|
|
12
|
-
llmTimeout?: number;
|
|
13
|
-
llmRetries?: number;
|
|
14
|
-
llmUserPromptHistoryId?: number;
|
|
15
|
-
llmSystemPromptHistoryId?: number;
|
|
16
|
-
ragModel?: string;
|
|
17
|
-
ragProvider?: string;
|
|
18
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { IBaseDbResponseDto } from '@sftech/ng-shared';
|
|
2
|
-
import { IPromptHistoryResponseDto } from './prompt-history-response.dto';
|
|
3
|
-
export interface IAgentResponseDto extends IBaseDbResponseDto {
|
|
4
|
-
identifier: string;
|
|
5
|
-
description: string;
|
|
6
|
-
name: string;
|
|
7
|
-
connectorUrl: string;
|
|
8
|
-
isGeneric: boolean;
|
|
9
|
-
answerSpecification: string;
|
|
10
|
-
tools?: string[];
|
|
11
|
-
llmProvider: string;
|
|
12
|
-
llmModel: string;
|
|
13
|
-
llmTemperature: number;
|
|
14
|
-
llmTimeout?: number;
|
|
15
|
-
llmRetries?: number;
|
|
16
|
-
llmUserPromptId: number;
|
|
17
|
-
llmUserPrompt?: IPromptHistoryResponseDto;
|
|
18
|
-
llmSystemPromptId: number;
|
|
19
|
-
llmSystemPrompt?: IPromptHistoryResponseDto;
|
|
20
|
-
llmUserPromptHistoryId?: number;
|
|
21
|
-
llmUserPromptHistory?: IPromptHistoryResponseDto;
|
|
22
|
-
llmSystemPromptHistoryId?: number;
|
|
23
|
-
llmSystemPromptHistory?: IPromptHistoryResponseDto;
|
|
24
|
-
ragModel?: string;
|
|
25
|
-
ragProvider?: string;
|
|
26
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IBaseDbResponseDto } from '@sftech/ng-shared';
|
|
2
|
-
import { EAgentRunStatus } from '../enums/agent-run-status.enum';
|
|
3
|
-
import { IChatResponseDto } from './chat-response.dto';
|
|
4
|
-
export interface IAgentRunResponseDto extends IBaseDbResponseDto {
|
|
5
|
-
status: EAgentRunStatus;
|
|
6
|
-
step: string;
|
|
7
|
-
startedAt?: Date;
|
|
8
|
-
endedAt?: Date;
|
|
9
|
-
agentId?: number;
|
|
10
|
-
chatId?: number;
|
|
11
|
-
chat?: IChatResponseDto;
|
|
12
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { IBaseDbUpdateDto } from '@sftech/ng-shared';
|
|
2
|
-
export interface IAgentUpdateDto extends IBaseDbUpdateDto {
|
|
3
|
-
description: string;
|
|
4
|
-
name: string;
|
|
5
|
-
connectorUrl: string;
|
|
6
|
-
answerSpecification: string;
|
|
7
|
-
tools?: string[];
|
|
8
|
-
llmProvider: string;
|
|
9
|
-
llmModel: string;
|
|
10
|
-
llmTemperature: number;
|
|
11
|
-
llmTimeout?: number;
|
|
12
|
-
llmRetries?: number;
|
|
13
|
-
llmUserPromptHistoryId?: number;
|
|
14
|
-
llmSystemPromptHistoryId?: number;
|
|
15
|
-
ragModel?: string;
|
|
16
|
-
ragProvider?: string;
|
|
17
|
-
}
|