@sftech/ng-orchestrator 0.0.19 → 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-iqEbrzkb.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-BkSLQgGU.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-D9fLhC24.mjs → sftech-ng-orchestrator-sftech-ng-orchestrator-BdFSlSN_.mjs} +13 -17
- 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 +1 -1
- package/fesm2022/sftech-ng-orchestrator-agent-rag-upload.component-iqEbrzkb.mjs.map +0 -1
- package/fesm2022/sftech-ng-orchestrator-agents.routes-CVcxzNAE.mjs +0 -270
- package/fesm2022/sftech-ng-orchestrator-agents.routes-CVcxzNAE.mjs.map +0 -1
- package/fesm2022/sftech-ng-orchestrator-chats.routes-BDe9JC4m.mjs +0 -625
- package/fesm2022/sftech-ng-orchestrator-chats.routes-BDe9JC4m.mjs.map +0 -1
- package/fesm2022/sftech-ng-orchestrator-prompt-display.component-BkSLQgGU.mjs +0 -162
- package/fesm2022/sftech-ng-orchestrator-prompts.routes-DeR6lppF.mjs +0 -51
- package/fesm2022/sftech-ng-orchestrator-prompts.routes-DeR6lppF.mjs.map +0 -1
- package/fesm2022/sftech-ng-orchestrator-sftech-ng-orchestrator-D9fLhC24.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 -21
- package/lib/ng-orchestrator/chats/agent-chat/agent-chat-message-human-input-initial/agent-chat-message-human-input-initial.component.d.ts +0 -20
- package/lib/ng-orchestrator/chats/agent-chat/agent-chat.component.d.ts +0 -50
- package/lib/ng-orchestrator/chats/agent-selection/agent-selection.component.d.ts +0 -22
- package/lib/ng-orchestrator/chats/chats.component.d.ts +0 -5
- package/lib/ng-orchestrator/chats/chats.routes.d.ts +0 -16
- 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
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,21 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { AgentRunIconTextDataprovider } from 'libs/ng-orchestrator/src/lib/ng-orchestrator/chats/core/dataprovider/agent-run-icon-text.dataprovider';
|
|
4
|
-
import { MessageService } from 'primeng/api';
|
|
5
|
-
import { Agent } from '../../../core/models/agent.model';
|
|
6
|
-
import { OrchestratorService } from '../../../core/service/orchestrator.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class AgentChatMessageHumanInputComponent {
|
|
9
|
-
agent: import("@angular/core").InputSignal<Agent | undefined>;
|
|
10
|
-
agentRunId: import("@angular/core").InputSignal<number | undefined>;
|
|
11
|
-
agentRunIdReceived: EventEmitter<number>;
|
|
12
|
-
messageService: MessageService;
|
|
13
|
-
orchestratorService: OrchestratorService;
|
|
14
|
-
form: FormGroup<{
|
|
15
|
-
message: FormControl<string | null>;
|
|
16
|
-
}>;
|
|
17
|
-
protected readonly iconTextMapper: typeof AgentRunIconTextDataprovider;
|
|
18
|
-
run(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AgentChatMessageHumanInputComponent, never>;
|
|
20
|
-
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>;
|
|
21
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { AgentRunIconTextDataprovider } from 'libs/ng-orchestrator/src/lib/ng-orchestrator/chats/core/dataprovider/agent-run-icon-text.dataprovider';
|
|
4
|
-
import { MessageService } from 'primeng/api';
|
|
5
|
-
import { Agent } from '../../../core/models/agent.model';
|
|
6
|
-
import { OrchestratorService } from '../../../core/service/orchestrator.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class AgentChatMessageHumanInputInitialComponent {
|
|
9
|
-
agent: import("@angular/core").InputSignal<Agent | undefined>;
|
|
10
|
-
agentRunIdReceived: EventEmitter<number>;
|
|
11
|
-
messageService: MessageService;
|
|
12
|
-
orchestratorService: OrchestratorService;
|
|
13
|
-
form: FormGroup<{}>;
|
|
14
|
-
private _agentChanged$;
|
|
15
|
-
protected readonly iconTextMapper: typeof AgentRunIconTextDataprovider;
|
|
16
|
-
run(): void;
|
|
17
|
-
getInputFormControlNames(): string[];
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AgentChatMessageHumanInputInitialComponent, never>;
|
|
19
|
-
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>;
|
|
20
|
-
}
|
|
@@ -1,50 +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
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AgentChatComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AgentChatComponent, "sftech-agent-chat", never, {}, {}, never, never, true, never>;
|
|
50
|
-
}
|
|
@@ -1,22 +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
|
-
ngOnInit(): void;
|
|
19
|
-
getToolNames(agent: Agent): string;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AgentSelectionComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AgentSelectionComponent, "sftech-agent-selection", never, {}, {}, never, never, true, never>;
|
|
22
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { AuthenticationGuard } from '@sftech/ng-auth';
|
|
2
|
-
import { AgentChatComponent } from './agent-chat/agent-chat.component';
|
|
3
|
-
import { AgentSelectionComponent } from './agent-selection/agent-selection.component';
|
|
4
|
-
import { ChatsComponent } from './chats.component';
|
|
5
|
-
export declare const chatsRoutes: {
|
|
6
|
-
path: string;
|
|
7
|
-
component: typeof ChatsComponent;
|
|
8
|
-
children: ({
|
|
9
|
-
path: string;
|
|
10
|
-
component: typeof AgentSelectionComponent;
|
|
11
|
-
} | {
|
|
12
|
-
path: string;
|
|
13
|
-
component: typeof AgentChatComponent;
|
|
14
|
-
})[];
|
|
15
|
-
canActivate: (typeof AuthenticationGuard)[];
|
|
16
|
-
}[];
|
|
@@ -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
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IBaseDbResponseDto } from '@sftech/ng-shared';
|
|
2
|
-
import { IPromptHistoryResponseDto } from './prompt-history-response.dto';
|
|
3
|
-
export interface IPromptResponseDto extends IBaseDbResponseDto {
|
|
4
|
-
identifier: string;
|
|
5
|
-
template: string;
|
|
6
|
-
name: string;
|
|
7
|
-
histories: IPromptHistoryResponseDto[];
|
|
8
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { BaseDbModel, EFilterTypes } from '@sftech/ng-shared';
|
|
2
|
-
import { IAgentRunResponseDto } from '../dtos/agent-run-response.dto';
|
|
3
|
-
import { EAgentRunStatus } from '../enums/agent-run-status.enum';
|
|
4
|
-
import { Agent } from './agent.model';
|
|
5
|
-
import { Chat } from './chat.model';
|
|
6
|
-
export declare class AgentRun extends BaseDbModel {
|
|
7
|
-
status: EAgentRunStatus;
|
|
8
|
-
step: string;
|
|
9
|
-
startedAt?: Date;
|
|
10
|
-
endedAt?: Date;
|
|
11
|
-
agentId?: number;
|
|
12
|
-
agent?: Agent;
|
|
13
|
-
chatId?: number;
|
|
14
|
-
chat?: Chat;
|
|
15
|
-
propertiesToShow: string[];
|
|
16
|
-
propertyUINames: Map<string, string>;
|
|
17
|
-
propertyFilterType: Map<string, EFilterTypes>;
|
|
18
|
-
fromDto(dto: IAgentRunResponseDto): AgentRun;
|
|
19
|
-
}
|