@elqnt/agents 2.0.0 → 2.0.5
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/dist/index.d.mts +165 -24
- package/dist/index.d.ts +165 -24
- package/dist/index.js +24 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -497,6 +497,125 @@ interface GetSkillsByIDsResponse {
|
|
|
497
497
|
skills: Skill[];
|
|
498
498
|
metadata: any;
|
|
499
499
|
}
|
|
500
|
+
/**
|
|
501
|
+
* UpdateSkillOrgConfigRequest updates org-level config for a skill
|
|
502
|
+
*/
|
|
503
|
+
interface UpdateSkillOrgConfigRequest {
|
|
504
|
+
orgId: string;
|
|
505
|
+
skillId: string;
|
|
506
|
+
orgConfig: {
|
|
507
|
+
[key: string]: any;
|
|
508
|
+
};
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* UpdateAgentSkillConfigRequest updates agent-level config for a skill
|
|
512
|
+
*/
|
|
513
|
+
interface UpdateAgentSkillConfigRequest {
|
|
514
|
+
orgId: string;
|
|
515
|
+
agentId: string;
|
|
516
|
+
skillId: string;
|
|
517
|
+
config: {
|
|
518
|
+
[key: string]: any;
|
|
519
|
+
};
|
|
520
|
+
}
|
|
521
|
+
/**
|
|
522
|
+
* GetAgentSkillConfigRequest gets agent-level config for a skill
|
|
523
|
+
*/
|
|
524
|
+
interface GetAgentSkillConfigRequest {
|
|
525
|
+
orgId: string;
|
|
526
|
+
agentId: string;
|
|
527
|
+
skillId: string;
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* AgentSkillConfigResponse contains agent skill config
|
|
531
|
+
*/
|
|
532
|
+
interface AgentSkillConfigResponse {
|
|
533
|
+
agentSkill?: AgentSkill;
|
|
534
|
+
metadata: any;
|
|
535
|
+
}
|
|
536
|
+
/**
|
|
537
|
+
* GetSkillUserConfigRequest gets user-level config for a skill
|
|
538
|
+
*/
|
|
539
|
+
interface GetSkillUserConfigRequest {
|
|
540
|
+
orgId: string;
|
|
541
|
+
userId: string;
|
|
542
|
+
skillId: string;
|
|
543
|
+
agentId?: string;
|
|
544
|
+
}
|
|
545
|
+
/**
|
|
546
|
+
* UpdateSkillUserConfigRequest updates user-level config for a skill
|
|
547
|
+
*/
|
|
548
|
+
interface UpdateSkillUserConfigRequest {
|
|
549
|
+
orgId: string;
|
|
550
|
+
userId: string;
|
|
551
|
+
skillId: string;
|
|
552
|
+
agentId?: string;
|
|
553
|
+
enabled?: boolean;
|
|
554
|
+
displayOrder?: number;
|
|
555
|
+
config?: {
|
|
556
|
+
[key: string]: any;
|
|
557
|
+
};
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* DeleteSkillUserConfigRequest deletes user-level config for a skill
|
|
561
|
+
*/
|
|
562
|
+
interface DeleteSkillUserConfigRequest {
|
|
563
|
+
orgId: string;
|
|
564
|
+
userId: string;
|
|
565
|
+
skillId: string;
|
|
566
|
+
agentId?: string;
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
* ListSkillUserConfigRequest lists user configs for skills
|
|
570
|
+
*/
|
|
571
|
+
interface ListSkillUserConfigRequest {
|
|
572
|
+
orgId: string;
|
|
573
|
+
userId: string;
|
|
574
|
+
agentId?: string;
|
|
575
|
+
limit?: number;
|
|
576
|
+
offset?: number;
|
|
577
|
+
}
|
|
578
|
+
/**
|
|
579
|
+
* SkillUserConfigResponse contains a user's skill config
|
|
580
|
+
*/
|
|
581
|
+
interface SkillUserConfigResponse {
|
|
582
|
+
userConfig?: SkillUserConfig;
|
|
583
|
+
metadata: any;
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* SkillUserConfigListResponse contains multiple user skill configs
|
|
587
|
+
*/
|
|
588
|
+
interface SkillUserConfigListResponse {
|
|
589
|
+
userConfigs: SkillUserConfig[];
|
|
590
|
+
total: number;
|
|
591
|
+
metadata: any;
|
|
592
|
+
}
|
|
593
|
+
/**
|
|
594
|
+
* ResolveSkillConfigRequest resolves merged config for a skill (org + agent + user)
|
|
595
|
+
*/
|
|
596
|
+
interface ResolveSkillConfigRequest {
|
|
597
|
+
orgId: string;
|
|
598
|
+
userId: string;
|
|
599
|
+
agentId: string;
|
|
600
|
+
skillId: string;
|
|
601
|
+
}
|
|
602
|
+
/**
|
|
603
|
+
* ResolveSkillConfigResponse contains the merged skill config
|
|
604
|
+
*/
|
|
605
|
+
interface ResolveSkillConfigResponse {
|
|
606
|
+
skillId: string;
|
|
607
|
+
skillName: string;
|
|
608
|
+
resolvedConfig: {
|
|
609
|
+
[key: string]: any;
|
|
610
|
+
};
|
|
611
|
+
/**
|
|
612
|
+
* Source indicates which level each config key came from
|
|
613
|
+
*/
|
|
614
|
+
configSources?: {
|
|
615
|
+
[key: string]: string;
|
|
616
|
+
};
|
|
617
|
+
metadata: any;
|
|
618
|
+
}
|
|
500
619
|
/**
|
|
501
620
|
* CreateAgentJobRequest represents a request to create an agent job
|
|
502
621
|
*/
|
|
@@ -549,9 +668,9 @@ interface AgentJobsListResponse {
|
|
|
549
668
|
}
|
|
550
669
|
/**
|
|
551
670
|
* AgentJobTriggerRequest represents a request from scheduler service to trigger jobs
|
|
671
|
+
* The trigger processes ALL orgs automatically by fetching them via admin.orgs.list
|
|
552
672
|
*/
|
|
553
673
|
interface AgentJobTriggerRequest {
|
|
554
|
-
orgId: string;
|
|
555
674
|
timestamp: string;
|
|
556
675
|
}
|
|
557
676
|
/**
|
|
@@ -559,7 +678,6 @@ interface AgentJobTriggerRequest {
|
|
|
559
678
|
*/
|
|
560
679
|
interface AgentJobTriggerResponse {
|
|
561
680
|
results: JobExecutionResult[];
|
|
562
|
-
orgId: string;
|
|
563
681
|
total: number;
|
|
564
682
|
executed: number;
|
|
565
683
|
skipped: number;
|
|
@@ -660,19 +778,20 @@ interface Skill {
|
|
|
660
778
|
tools?: AgentTool[];
|
|
661
779
|
systemPromptExtension?: string;
|
|
662
780
|
iconName?: string;
|
|
781
|
+
configSchema?: JSONSchema;
|
|
782
|
+
config?: {
|
|
783
|
+
[key: string]: any;
|
|
784
|
+
};
|
|
785
|
+
requiredIntegrations?: IntegrationRequirement[];
|
|
663
786
|
/**
|
|
664
787
|
* Config schemas for each level (JSON Schema definitions)
|
|
665
788
|
*/
|
|
666
789
|
orgConfigSchema?: JSONSchema;
|
|
667
790
|
agentConfigSchema?: JSONSchema;
|
|
668
791
|
userConfigSchema?: JSONSchema;
|
|
669
|
-
/**
|
|
670
|
-
* Org-level config values
|
|
671
|
-
*/
|
|
672
792
|
orgConfig?: {
|
|
673
793
|
[key: string]: any;
|
|
674
794
|
};
|
|
675
|
-
requiredIntegrations?: IntegrationRequirement[];
|
|
676
795
|
enabled: boolean;
|
|
677
796
|
isSystem?: boolean;
|
|
678
797
|
persisted?: boolean;
|
|
@@ -687,14 +806,13 @@ interface AgentSkill {
|
|
|
687
806
|
skillId: string;
|
|
688
807
|
skillName?: string;
|
|
689
808
|
enabled: boolean;
|
|
690
|
-
order
|
|
809
|
+
order: number;
|
|
691
810
|
config?: {
|
|
692
811
|
[key: string]: any;
|
|
693
812
|
};
|
|
694
813
|
}
|
|
695
814
|
/**
|
|
696
|
-
* SkillUserConfig
|
|
697
|
-
* Stores OAuth tokens, user preferences, and per-agent overrides
|
|
815
|
+
* SkillUserConfig stores user-level preferences and OAuth tokens for a skill
|
|
698
816
|
*/
|
|
699
817
|
interface SkillUserConfig {
|
|
700
818
|
id: string;
|
|
@@ -1165,6 +1283,7 @@ interface AgentJob {
|
|
|
1165
1283
|
id: string;
|
|
1166
1284
|
agentId: string;
|
|
1167
1285
|
ownerId: string;
|
|
1286
|
+
ownerEmail?: string;
|
|
1168
1287
|
teamId?: string;
|
|
1169
1288
|
/**
|
|
1170
1289
|
* Job identity
|
|
@@ -1225,8 +1344,9 @@ declare const JobExecutionStatusTimedOut: JobExecutionStatus;
|
|
|
1225
1344
|
interface ArtifactRef {
|
|
1226
1345
|
type: string;
|
|
1227
1346
|
name: string;
|
|
1228
|
-
path
|
|
1347
|
+
path?: string;
|
|
1229
1348
|
size?: number;
|
|
1349
|
+
content?: string;
|
|
1230
1350
|
}
|
|
1231
1351
|
/**
|
|
1232
1352
|
* JobExecution represents a single execution of an agent job
|
|
@@ -1298,10 +1418,11 @@ interface ExecuteJobRequest {
|
|
|
1298
1418
|
prompt: string;
|
|
1299
1419
|
scope: JobScopeTS;
|
|
1300
1420
|
ownerId: string;
|
|
1421
|
+
ownerEmail?: string;
|
|
1301
1422
|
/**
|
|
1302
1423
|
* Agent configuration (denormalized for Runtime)
|
|
1303
1424
|
*/
|
|
1304
|
-
|
|
1425
|
+
agent: Agent;
|
|
1305
1426
|
/**
|
|
1306
1427
|
* Execution settings
|
|
1307
1428
|
*/
|
|
@@ -1310,18 +1431,6 @@ interface ExecuteJobRequest {
|
|
|
1310
1431
|
[key: string]: any;
|
|
1311
1432
|
};
|
|
1312
1433
|
}
|
|
1313
|
-
/**
|
|
1314
|
-
* ExecuteJobAgentConfig contains agent configuration needed for execution
|
|
1315
|
-
*/
|
|
1316
|
-
interface ExecuteJobAgentConfig {
|
|
1317
|
-
provider: string;
|
|
1318
|
-
model: string;
|
|
1319
|
-
temperature: number;
|
|
1320
|
-
maxTokens: number;
|
|
1321
|
-
systemPrompt: string;
|
|
1322
|
-
tools?: AgentTool[];
|
|
1323
|
-
skills?: AgentSkill[];
|
|
1324
|
-
}
|
|
1325
1434
|
/**
|
|
1326
1435
|
* ExecutionCompletedEvent is received from Runtime Service when execution completes
|
|
1327
1436
|
*/
|
|
@@ -1816,6 +1925,38 @@ declare const SkillsListSubject = "agents.skills.list";
|
|
|
1816
1925
|
* Skills Management
|
|
1817
1926
|
*/
|
|
1818
1927
|
declare const SkillsGetByIDsSubject = "agents.skills.get-by-ids";
|
|
1928
|
+
/**
|
|
1929
|
+
* Skill Org Config
|
|
1930
|
+
*/
|
|
1931
|
+
declare const SkillsUpdateOrgConfigSubject = "agents.skills.update-org-config";
|
|
1932
|
+
/**
|
|
1933
|
+
* Agent Skill Config
|
|
1934
|
+
*/
|
|
1935
|
+
declare const AgentSkillUpdateConfigSubject = "agents.skills.agent.update-config";
|
|
1936
|
+
/**
|
|
1937
|
+
* Skills Management
|
|
1938
|
+
*/
|
|
1939
|
+
declare const AgentSkillGetConfigSubject = "agents.skills.agent.get-config";
|
|
1940
|
+
/**
|
|
1941
|
+
* Skill User Config Management
|
|
1942
|
+
*/
|
|
1943
|
+
declare const SkillUserConfigGetSubject = "agents.skills.user-config.get";
|
|
1944
|
+
/**
|
|
1945
|
+
* Skill User Config Management
|
|
1946
|
+
*/
|
|
1947
|
+
declare const SkillUserConfigUpdateSubject = "agents.skills.user-config.update";
|
|
1948
|
+
/**
|
|
1949
|
+
* Skill User Config Management
|
|
1950
|
+
*/
|
|
1951
|
+
declare const SkillUserConfigDeleteSubject = "agents.skills.user-config.delete";
|
|
1952
|
+
/**
|
|
1953
|
+
* Skill User Config Management
|
|
1954
|
+
*/
|
|
1955
|
+
declare const SkillUserConfigListSubject = "agents.skills.user-config.list";
|
|
1956
|
+
/**
|
|
1957
|
+
* Config Resolution (merges org + agent + user config)
|
|
1958
|
+
*/
|
|
1959
|
+
declare const SkillResolveConfigSubject = "agents.skills.resolve-config";
|
|
1819
1960
|
/**
|
|
1820
1961
|
* Widget Config Management
|
|
1821
1962
|
*/
|
|
@@ -2113,4 +2254,4 @@ interface PublicWidgetConfig {
|
|
|
2113
2254
|
behavior: WidgetBehavior;
|
|
2114
2255
|
}
|
|
2115
2256
|
|
|
2116
|
-
export { type Agent, AgentChatCreateSubject, AgentChatGetSubject, AgentChatUpdateSubject, AgentChatValidateSubject, AgentCloneSubject, type AgentContext, type AgentContextConfig, AgentCreateSubject, AgentCreatedSubject, AgentDeleteSubject, AgentDeletedSubject, AgentEnsureDefaultSubject, AgentExecuteStatusSubject, AgentExecuteStopSubject, AgentExecuteSubject, type AgentExecution, AgentExportSubject, type AgentFilters, AgentFromTemplateSubject, AgentGetByOrgSubject, AgentGetDefaultSubject, AgentGetSubject, AgentImportSubject, AgentInstanceCancelPlanSubject, AgentInstanceClearHistorySubject, AgentInstanceCreatePlanSubject, AgentInstanceCreateSubject, AgentInstanceCreatedSubject, AgentInstanceDeleteSubject, AgentInstanceDeletedSubject, AgentInstanceExecutePlanSubject, AgentInstanceGetHistorySubject, AgentInstanceGetSubject, AgentInstanceListSubject, AgentInstancePausePlanSubject, AgentInstanceResumePlanSubject, AgentInstanceUpdateSubject, AgentInstanceUpdatedSubject, type AgentJob, AgentJobCreateSubject, AgentJobDeleteSubject, AgentJobGetSubject, type AgentJobIDRequest, AgentJobListSubject, AgentJobPauseSubject, type AgentJobResponse, AgentJobResumeSubject, type AgentJobTriggerRequest, type AgentJobTriggerResponse, AgentJobTriggerSubject, AgentJobUpdateSubject, type AgentJobsListResponse, AgentListSubject, AgentListSummarySubject, AgentReactCreateSubject, AgentReactGetSubject, AgentReactUpdateSubject, AgentReactValidateSubject, type AgentResponse, AgentSearchSubject, type AgentSkill, type AgentStatus, AgentStatusActive, AgentStatusArchived, AgentStatusDraft, AgentStatusInactive, type AgentStatusTS, type AgentSubType, AgentSubTypeChat, AgentSubTypeDocument, AgentSubTypeReact, type AgentSubTypeTS, AgentSubTypeWorkflow, type AgentSummary, AgentTemplateGetSubject, AgentTemplateListSubject, type AgentTool, type AgentToolConfiguration, type AgentType, AgentTypeChat, AgentTypeReact, type AgentTypeTS, AgentUpdateOrgSubject, AgentUpdateSubject, AgentUpdatedSubject, AgentVersionActivateSubject, AgentVersionActivatedSubject, AgentVersionCreateSubject, AgentVersionCreatedSubject, AgentVersionGetSubject, AgentVersionListSubject, type AgentWidget, type AgentWidgetResponse, AgentWidgetsCreateSubject, AgentWidgetsDeleteSubject, AgentWidgetsGetByWidgetID, AgentWidgetsGetDefaultSubject, AgentWidgetsGetSubject, AgentWidgetsListSubject, AgentWidgetsSetDefaultSubject, AgentWidgetsUpdateSubject, type ArtifactRef, type CSATAnswer, type CSATConfig, type CSATQuestion, type CSATResponse, type CSATSurvey, ChatAgentExecuteSubject, ChatAgentStatusSubject, type CreateAgentJobRequest, type CreateAgentRequest, type CreateAgentWidgetRequest, type CreateExecutionPlanRequest, type CreateExecutionPlanResponse, type CreateSkillRequest, type CreateSubAgentRequest, type CreateToolDefinitionRequest, type DefaultDefinitions, type DeleteAgentRequest, type DeleteAgentWidgetRequest, type DeleteSkillRequest, type
|
|
2257
|
+
export { type Agent, AgentChatCreateSubject, AgentChatGetSubject, AgentChatUpdateSubject, AgentChatValidateSubject, AgentCloneSubject, type AgentContext, type AgentContextConfig, AgentCreateSubject, AgentCreatedSubject, AgentDeleteSubject, AgentDeletedSubject, AgentEnsureDefaultSubject, AgentExecuteStatusSubject, AgentExecuteStopSubject, AgentExecuteSubject, type AgentExecution, AgentExportSubject, type AgentFilters, AgentFromTemplateSubject, AgentGetByOrgSubject, AgentGetDefaultSubject, AgentGetSubject, AgentImportSubject, AgentInstanceCancelPlanSubject, AgentInstanceClearHistorySubject, AgentInstanceCreatePlanSubject, AgentInstanceCreateSubject, AgentInstanceCreatedSubject, AgentInstanceDeleteSubject, AgentInstanceDeletedSubject, AgentInstanceExecutePlanSubject, AgentInstanceGetHistorySubject, AgentInstanceGetSubject, AgentInstanceListSubject, AgentInstancePausePlanSubject, AgentInstanceResumePlanSubject, AgentInstanceUpdateSubject, AgentInstanceUpdatedSubject, type AgentJob, AgentJobCreateSubject, AgentJobDeleteSubject, AgentJobGetSubject, type AgentJobIDRequest, AgentJobListSubject, AgentJobPauseSubject, type AgentJobResponse, AgentJobResumeSubject, type AgentJobTriggerRequest, type AgentJobTriggerResponse, AgentJobTriggerSubject, AgentJobUpdateSubject, type AgentJobsListResponse, AgentListSubject, AgentListSummarySubject, AgentReactCreateSubject, AgentReactGetSubject, AgentReactUpdateSubject, AgentReactValidateSubject, type AgentResponse, AgentSearchSubject, type AgentSkill, type AgentSkillConfigResponse, AgentSkillGetConfigSubject, AgentSkillUpdateConfigSubject, type AgentStatus, AgentStatusActive, AgentStatusArchived, AgentStatusDraft, AgentStatusInactive, type AgentStatusTS, type AgentSubType, AgentSubTypeChat, AgentSubTypeDocument, AgentSubTypeReact, type AgentSubTypeTS, AgentSubTypeWorkflow, type AgentSummary, AgentTemplateGetSubject, AgentTemplateListSubject, type AgentTool, type AgentToolConfiguration, type AgentType, AgentTypeChat, AgentTypeReact, type AgentTypeTS, AgentUpdateOrgSubject, AgentUpdateSubject, AgentUpdatedSubject, AgentVersionActivateSubject, AgentVersionActivatedSubject, AgentVersionCreateSubject, AgentVersionCreatedSubject, AgentVersionGetSubject, AgentVersionListSubject, type AgentWidget, type AgentWidgetResponse, AgentWidgetsCreateSubject, AgentWidgetsDeleteSubject, AgentWidgetsGetByWidgetID, AgentWidgetsGetDefaultSubject, AgentWidgetsGetSubject, AgentWidgetsListSubject, AgentWidgetsSetDefaultSubject, AgentWidgetsUpdateSubject, type ArtifactRef, type CSATAnswer, type CSATConfig, type CSATQuestion, type CSATResponse, type CSATSurvey, ChatAgentExecuteSubject, ChatAgentStatusSubject, type CreateAgentJobRequest, type CreateAgentRequest, type CreateAgentWidgetRequest, type CreateExecutionPlanRequest, type CreateExecutionPlanResponse, type CreateSkillRequest, type CreateSubAgentRequest, type CreateToolDefinitionRequest, type DefaultDefinitions, type DeleteAgentRequest, type DeleteAgentWidgetRequest, type DeleteSkillRequest, type DeleteSkillUserConfigRequest, type DeleteSubAgentRequest, type DeleteToolDefinitionRequest, type ExecuteJobRequest, type ExecutePlanRequest, type ExecutePlanResponse, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionCompletedEvent, type ExecutionMode, ExecutionModeAsync, ExecutionModeAsyncClient, ExecutionModeSync, type ExecutionModeTS, type ExecutionPlan, type ExecutionResponse, type ExecutionStatus, ExecutionStatusCompleted, ExecutionStatusFailed, ExecutionStatusPending, ExecutionStatusRunning, ExecutionStatusSkipped, type ExecutionStatusTS, ExecutionTTLHours, ExecutionsTTLCleanupSubject, type GetAgentRequest, type GetAgentSkillConfigRequest, type GetAgentWidgetRequest, type GetDefaultAgentRequest, type GetDefaultWidgetRequest, type GetExecutionRequest, type GetSkillRequest, type GetSkillUserConfigRequest, type GetSkillsByIDsRequest, type GetSkillsByIDsResponse, type GetSubAgentRequest, type GetSubAgentsByIDsRequest, type GetSubAgentsByIDsResponse, type GetToolDefinitionRequest, type GetToolDefinitionsByIDsRequest, type GetToolDefinitionsByIDsResponse, type GetWidgetByWidgetIDRequest, type GetWidgetConfigRequest, type GetWidgetConfigResponse, type HandoffConfig, type IntegrationProviderTS, type IntegrationRequirement, type IntegrationTypeTS, type JobExecution, JobExecutionGetSubject, JobExecutionListSubject, type JobExecutionResult, type JobExecutionStatus, JobExecutionStatusFailed, JobExecutionStatusRunning, JobExecutionStatusSuccess, type JobExecutionStatusTS, JobExecutionStatusTimedOut, type JobFrequency, JobFrequencyOneTime, JobFrequencySchedule, type JobFrequencyTS, type JobScope, JobScopeOrg, JobScopePrivate, type JobScopeTS, JobScopeTeam, type JobStatus, JobStatusActive, JobStatusDisabled, JobStatusExecuting, JobStatusPaused, type JobStatusTS, type ListAgentJobsRequest, type ListAgentWidgetsRequest, type ListAgentWidgetsResponse, type ListAgentsRequest, type ListAgentsResponse, type ListAgentsSummaryRequest, type ListAgentsSummaryResponse, type ListExecutionsByAgentRequest, type ListExecutionsByJobRequest, type ListExecutionsResponse, type ListSkillUserConfigRequest, type ListSkillsRequest, type ListSubAgentsRequest, type ListToolDefinitionsRequest, type MCPServerConfig, MaxExecutions, type MergeConfig, type MergeStrategy, MergeStrategyAppend, MergeStrategyMerge, MergeStrategyReplace, type MergeStrategyTS, type PlanApprovalConfig, type PlanStatus, PlanStatusApproved, PlanStatusCancelled, PlanStatusCompleted, PlanStatusExecuting, PlanStatusPendingApproval, PlanStatusRejected, type PlanStatusTS, type PlannedStep, type ProcessJobTriggerResult, type PublicWidgetConfig, type ReactAgentConfig, ReactAgentExecuteSubject, ReactAgentStatusSubject, ReactAgentStopSubject, type ResolveSkillConfigRequest, type ResolveSkillConfigResponse, type RetryPolicy, RuntimeJobCompletedSubject, RuntimeJobExecuteSubject, type SaveWidgetConfigRequest, type SaveWidgetConfigResponse, type SetDefaultWidgetRequest, type Skill, type SkillCategory, SkillCategoryAnalysis, SkillCategoryCommunication, SkillCategoryCreative, SkillCategoryCustom, SkillCategoryIntegration, SkillCategoryProductivity, type SkillCategoryTS, SkillResolveConfigSubject, type SkillResponse, type SkillUserConfig, SkillUserConfigDeleteSubject, SkillUserConfigGetSubject, type SkillUserConfigListResponse, SkillUserConfigListSubject, type SkillUserConfigResponse, SkillUserConfigUpdateSubject, SkillsCreateSubject, SkillsCreatedSubject, SkillsDeleteSubject, SkillsDeletedSubject, SkillsGetByIDsSubject, SkillsGetSubject, type SkillsListResponse, SkillsListSubject, SkillsUpdateOrgConfigSubject, SkillsUpdateSubject, SkillsUpdatedSubject, type SubAgent, type SubAgentResponse, SubAgentsCreateSubject, SubAgentsCreatedSubject, SubAgentsDeleteSubject, SubAgentsDeletedSubject, SubAgentsExecuteSubject, SubAgentsGetByIDsSubject, SubAgentsGetSubject, type SubAgentsListResponse, SubAgentsListSubject, SubAgentsUpdateSubject, SubAgentsUpdatedSubject, SubAgentsValidateSubject, type TTLCleanupRequest, type TTLCleanupResponse, type ToolConfig, type ToolDefinition, type ToolDefinitionResponse, ToolDefinitionsCreateSubject, ToolDefinitionsCreatedSubject, ToolDefinitionsDeleteSubject, ToolDefinitionsDeletedSubject, ToolDefinitionsExecuteSubject, ToolDefinitionsGetByIDsSubject, ToolDefinitionsGetSubject, type ToolDefinitionsListResponse, ToolDefinitionsListSubject, ToolDefinitionsUpdateSubject, ToolDefinitionsUpdatedSubject, ToolDefinitionsValidateSubject, type ToolExecution, type ToolExecutionPolicy, type ToolExecutionProgress, type ToolExecutionStatus, ToolExecutionStatusCompleted, ToolExecutionStatusExecuting, ToolExecutionStatusFailed, ToolExecutionStatusSkipped, ToolExecutionStatusStarted, type ToolExecutionStatusTS, ToolExecutionStatusTimeout, type UpdateAgentJobRequest, type UpdateAgentRequest, type UpdateAgentSkillConfigRequest, type UpdateAgentWidgetRequest, type UpdateOrgAgentsRequest, type UpdateOrgAgentsResponse, type UpdateSkillOrgConfigRequest, type UpdateSkillRequest, type UpdateSkillUserConfigRequest, type UpdateSubAgentRequest, type UpdateToolDefinitionRequest, type UserSuggestedAction, type UserSuggestedActionsConfig, type UserSuggestedActionsRequest, type UserSuggestedActionsResponse, type ValidationError, type ValidationErrors, type WidgetAppearance, type WidgetBehavior, type WidgetConfig, WidgetConfigGetByAgentSubject, WidgetConfigSaveSubject, type WidgetSecurity, WorkflowAgentGetSubject, WorkflowAgentUpdateSubject };
|
package/dist/index.d.ts
CHANGED
|
@@ -497,6 +497,125 @@ interface GetSkillsByIDsResponse {
|
|
|
497
497
|
skills: Skill[];
|
|
498
498
|
metadata: any;
|
|
499
499
|
}
|
|
500
|
+
/**
|
|
501
|
+
* UpdateSkillOrgConfigRequest updates org-level config for a skill
|
|
502
|
+
*/
|
|
503
|
+
interface UpdateSkillOrgConfigRequest {
|
|
504
|
+
orgId: string;
|
|
505
|
+
skillId: string;
|
|
506
|
+
orgConfig: {
|
|
507
|
+
[key: string]: any;
|
|
508
|
+
};
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* UpdateAgentSkillConfigRequest updates agent-level config for a skill
|
|
512
|
+
*/
|
|
513
|
+
interface UpdateAgentSkillConfigRequest {
|
|
514
|
+
orgId: string;
|
|
515
|
+
agentId: string;
|
|
516
|
+
skillId: string;
|
|
517
|
+
config: {
|
|
518
|
+
[key: string]: any;
|
|
519
|
+
};
|
|
520
|
+
}
|
|
521
|
+
/**
|
|
522
|
+
* GetAgentSkillConfigRequest gets agent-level config for a skill
|
|
523
|
+
*/
|
|
524
|
+
interface GetAgentSkillConfigRequest {
|
|
525
|
+
orgId: string;
|
|
526
|
+
agentId: string;
|
|
527
|
+
skillId: string;
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* AgentSkillConfigResponse contains agent skill config
|
|
531
|
+
*/
|
|
532
|
+
interface AgentSkillConfigResponse {
|
|
533
|
+
agentSkill?: AgentSkill;
|
|
534
|
+
metadata: any;
|
|
535
|
+
}
|
|
536
|
+
/**
|
|
537
|
+
* GetSkillUserConfigRequest gets user-level config for a skill
|
|
538
|
+
*/
|
|
539
|
+
interface GetSkillUserConfigRequest {
|
|
540
|
+
orgId: string;
|
|
541
|
+
userId: string;
|
|
542
|
+
skillId: string;
|
|
543
|
+
agentId?: string;
|
|
544
|
+
}
|
|
545
|
+
/**
|
|
546
|
+
* UpdateSkillUserConfigRequest updates user-level config for a skill
|
|
547
|
+
*/
|
|
548
|
+
interface UpdateSkillUserConfigRequest {
|
|
549
|
+
orgId: string;
|
|
550
|
+
userId: string;
|
|
551
|
+
skillId: string;
|
|
552
|
+
agentId?: string;
|
|
553
|
+
enabled?: boolean;
|
|
554
|
+
displayOrder?: number;
|
|
555
|
+
config?: {
|
|
556
|
+
[key: string]: any;
|
|
557
|
+
};
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* DeleteSkillUserConfigRequest deletes user-level config for a skill
|
|
561
|
+
*/
|
|
562
|
+
interface DeleteSkillUserConfigRequest {
|
|
563
|
+
orgId: string;
|
|
564
|
+
userId: string;
|
|
565
|
+
skillId: string;
|
|
566
|
+
agentId?: string;
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
* ListSkillUserConfigRequest lists user configs for skills
|
|
570
|
+
*/
|
|
571
|
+
interface ListSkillUserConfigRequest {
|
|
572
|
+
orgId: string;
|
|
573
|
+
userId: string;
|
|
574
|
+
agentId?: string;
|
|
575
|
+
limit?: number;
|
|
576
|
+
offset?: number;
|
|
577
|
+
}
|
|
578
|
+
/**
|
|
579
|
+
* SkillUserConfigResponse contains a user's skill config
|
|
580
|
+
*/
|
|
581
|
+
interface SkillUserConfigResponse {
|
|
582
|
+
userConfig?: SkillUserConfig;
|
|
583
|
+
metadata: any;
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* SkillUserConfigListResponse contains multiple user skill configs
|
|
587
|
+
*/
|
|
588
|
+
interface SkillUserConfigListResponse {
|
|
589
|
+
userConfigs: SkillUserConfig[];
|
|
590
|
+
total: number;
|
|
591
|
+
metadata: any;
|
|
592
|
+
}
|
|
593
|
+
/**
|
|
594
|
+
* ResolveSkillConfigRequest resolves merged config for a skill (org + agent + user)
|
|
595
|
+
*/
|
|
596
|
+
interface ResolveSkillConfigRequest {
|
|
597
|
+
orgId: string;
|
|
598
|
+
userId: string;
|
|
599
|
+
agentId: string;
|
|
600
|
+
skillId: string;
|
|
601
|
+
}
|
|
602
|
+
/**
|
|
603
|
+
* ResolveSkillConfigResponse contains the merged skill config
|
|
604
|
+
*/
|
|
605
|
+
interface ResolveSkillConfigResponse {
|
|
606
|
+
skillId: string;
|
|
607
|
+
skillName: string;
|
|
608
|
+
resolvedConfig: {
|
|
609
|
+
[key: string]: any;
|
|
610
|
+
};
|
|
611
|
+
/**
|
|
612
|
+
* Source indicates which level each config key came from
|
|
613
|
+
*/
|
|
614
|
+
configSources?: {
|
|
615
|
+
[key: string]: string;
|
|
616
|
+
};
|
|
617
|
+
metadata: any;
|
|
618
|
+
}
|
|
500
619
|
/**
|
|
501
620
|
* CreateAgentJobRequest represents a request to create an agent job
|
|
502
621
|
*/
|
|
@@ -549,9 +668,9 @@ interface AgentJobsListResponse {
|
|
|
549
668
|
}
|
|
550
669
|
/**
|
|
551
670
|
* AgentJobTriggerRequest represents a request from scheduler service to trigger jobs
|
|
671
|
+
* The trigger processes ALL orgs automatically by fetching them via admin.orgs.list
|
|
552
672
|
*/
|
|
553
673
|
interface AgentJobTriggerRequest {
|
|
554
|
-
orgId: string;
|
|
555
674
|
timestamp: string;
|
|
556
675
|
}
|
|
557
676
|
/**
|
|
@@ -559,7 +678,6 @@ interface AgentJobTriggerRequest {
|
|
|
559
678
|
*/
|
|
560
679
|
interface AgentJobTriggerResponse {
|
|
561
680
|
results: JobExecutionResult[];
|
|
562
|
-
orgId: string;
|
|
563
681
|
total: number;
|
|
564
682
|
executed: number;
|
|
565
683
|
skipped: number;
|
|
@@ -660,19 +778,20 @@ interface Skill {
|
|
|
660
778
|
tools?: AgentTool[];
|
|
661
779
|
systemPromptExtension?: string;
|
|
662
780
|
iconName?: string;
|
|
781
|
+
configSchema?: JSONSchema;
|
|
782
|
+
config?: {
|
|
783
|
+
[key: string]: any;
|
|
784
|
+
};
|
|
785
|
+
requiredIntegrations?: IntegrationRequirement[];
|
|
663
786
|
/**
|
|
664
787
|
* Config schemas for each level (JSON Schema definitions)
|
|
665
788
|
*/
|
|
666
789
|
orgConfigSchema?: JSONSchema;
|
|
667
790
|
agentConfigSchema?: JSONSchema;
|
|
668
791
|
userConfigSchema?: JSONSchema;
|
|
669
|
-
/**
|
|
670
|
-
* Org-level config values
|
|
671
|
-
*/
|
|
672
792
|
orgConfig?: {
|
|
673
793
|
[key: string]: any;
|
|
674
794
|
};
|
|
675
|
-
requiredIntegrations?: IntegrationRequirement[];
|
|
676
795
|
enabled: boolean;
|
|
677
796
|
isSystem?: boolean;
|
|
678
797
|
persisted?: boolean;
|
|
@@ -687,14 +806,13 @@ interface AgentSkill {
|
|
|
687
806
|
skillId: string;
|
|
688
807
|
skillName?: string;
|
|
689
808
|
enabled: boolean;
|
|
690
|
-
order
|
|
809
|
+
order: number;
|
|
691
810
|
config?: {
|
|
692
811
|
[key: string]: any;
|
|
693
812
|
};
|
|
694
813
|
}
|
|
695
814
|
/**
|
|
696
|
-
* SkillUserConfig
|
|
697
|
-
* Stores OAuth tokens, user preferences, and per-agent overrides
|
|
815
|
+
* SkillUserConfig stores user-level preferences and OAuth tokens for a skill
|
|
698
816
|
*/
|
|
699
817
|
interface SkillUserConfig {
|
|
700
818
|
id: string;
|
|
@@ -1165,6 +1283,7 @@ interface AgentJob {
|
|
|
1165
1283
|
id: string;
|
|
1166
1284
|
agentId: string;
|
|
1167
1285
|
ownerId: string;
|
|
1286
|
+
ownerEmail?: string;
|
|
1168
1287
|
teamId?: string;
|
|
1169
1288
|
/**
|
|
1170
1289
|
* Job identity
|
|
@@ -1225,8 +1344,9 @@ declare const JobExecutionStatusTimedOut: JobExecutionStatus;
|
|
|
1225
1344
|
interface ArtifactRef {
|
|
1226
1345
|
type: string;
|
|
1227
1346
|
name: string;
|
|
1228
|
-
path
|
|
1347
|
+
path?: string;
|
|
1229
1348
|
size?: number;
|
|
1349
|
+
content?: string;
|
|
1230
1350
|
}
|
|
1231
1351
|
/**
|
|
1232
1352
|
* JobExecution represents a single execution of an agent job
|
|
@@ -1298,10 +1418,11 @@ interface ExecuteJobRequest {
|
|
|
1298
1418
|
prompt: string;
|
|
1299
1419
|
scope: JobScopeTS;
|
|
1300
1420
|
ownerId: string;
|
|
1421
|
+
ownerEmail?: string;
|
|
1301
1422
|
/**
|
|
1302
1423
|
* Agent configuration (denormalized for Runtime)
|
|
1303
1424
|
*/
|
|
1304
|
-
|
|
1425
|
+
agent: Agent;
|
|
1305
1426
|
/**
|
|
1306
1427
|
* Execution settings
|
|
1307
1428
|
*/
|
|
@@ -1310,18 +1431,6 @@ interface ExecuteJobRequest {
|
|
|
1310
1431
|
[key: string]: any;
|
|
1311
1432
|
};
|
|
1312
1433
|
}
|
|
1313
|
-
/**
|
|
1314
|
-
* ExecuteJobAgentConfig contains agent configuration needed for execution
|
|
1315
|
-
*/
|
|
1316
|
-
interface ExecuteJobAgentConfig {
|
|
1317
|
-
provider: string;
|
|
1318
|
-
model: string;
|
|
1319
|
-
temperature: number;
|
|
1320
|
-
maxTokens: number;
|
|
1321
|
-
systemPrompt: string;
|
|
1322
|
-
tools?: AgentTool[];
|
|
1323
|
-
skills?: AgentSkill[];
|
|
1324
|
-
}
|
|
1325
1434
|
/**
|
|
1326
1435
|
* ExecutionCompletedEvent is received from Runtime Service when execution completes
|
|
1327
1436
|
*/
|
|
@@ -1816,6 +1925,38 @@ declare const SkillsListSubject = "agents.skills.list";
|
|
|
1816
1925
|
* Skills Management
|
|
1817
1926
|
*/
|
|
1818
1927
|
declare const SkillsGetByIDsSubject = "agents.skills.get-by-ids";
|
|
1928
|
+
/**
|
|
1929
|
+
* Skill Org Config
|
|
1930
|
+
*/
|
|
1931
|
+
declare const SkillsUpdateOrgConfigSubject = "agents.skills.update-org-config";
|
|
1932
|
+
/**
|
|
1933
|
+
* Agent Skill Config
|
|
1934
|
+
*/
|
|
1935
|
+
declare const AgentSkillUpdateConfigSubject = "agents.skills.agent.update-config";
|
|
1936
|
+
/**
|
|
1937
|
+
* Skills Management
|
|
1938
|
+
*/
|
|
1939
|
+
declare const AgentSkillGetConfigSubject = "agents.skills.agent.get-config";
|
|
1940
|
+
/**
|
|
1941
|
+
* Skill User Config Management
|
|
1942
|
+
*/
|
|
1943
|
+
declare const SkillUserConfigGetSubject = "agents.skills.user-config.get";
|
|
1944
|
+
/**
|
|
1945
|
+
* Skill User Config Management
|
|
1946
|
+
*/
|
|
1947
|
+
declare const SkillUserConfigUpdateSubject = "agents.skills.user-config.update";
|
|
1948
|
+
/**
|
|
1949
|
+
* Skill User Config Management
|
|
1950
|
+
*/
|
|
1951
|
+
declare const SkillUserConfigDeleteSubject = "agents.skills.user-config.delete";
|
|
1952
|
+
/**
|
|
1953
|
+
* Skill User Config Management
|
|
1954
|
+
*/
|
|
1955
|
+
declare const SkillUserConfigListSubject = "agents.skills.user-config.list";
|
|
1956
|
+
/**
|
|
1957
|
+
* Config Resolution (merges org + agent + user config)
|
|
1958
|
+
*/
|
|
1959
|
+
declare const SkillResolveConfigSubject = "agents.skills.resolve-config";
|
|
1819
1960
|
/**
|
|
1820
1961
|
* Widget Config Management
|
|
1821
1962
|
*/
|
|
@@ -2113,4 +2254,4 @@ interface PublicWidgetConfig {
|
|
|
2113
2254
|
behavior: WidgetBehavior;
|
|
2114
2255
|
}
|
|
2115
2256
|
|
|
2116
|
-
export { type Agent, AgentChatCreateSubject, AgentChatGetSubject, AgentChatUpdateSubject, AgentChatValidateSubject, AgentCloneSubject, type AgentContext, type AgentContextConfig, AgentCreateSubject, AgentCreatedSubject, AgentDeleteSubject, AgentDeletedSubject, AgentEnsureDefaultSubject, AgentExecuteStatusSubject, AgentExecuteStopSubject, AgentExecuteSubject, type AgentExecution, AgentExportSubject, type AgentFilters, AgentFromTemplateSubject, AgentGetByOrgSubject, AgentGetDefaultSubject, AgentGetSubject, AgentImportSubject, AgentInstanceCancelPlanSubject, AgentInstanceClearHistorySubject, AgentInstanceCreatePlanSubject, AgentInstanceCreateSubject, AgentInstanceCreatedSubject, AgentInstanceDeleteSubject, AgentInstanceDeletedSubject, AgentInstanceExecutePlanSubject, AgentInstanceGetHistorySubject, AgentInstanceGetSubject, AgentInstanceListSubject, AgentInstancePausePlanSubject, AgentInstanceResumePlanSubject, AgentInstanceUpdateSubject, AgentInstanceUpdatedSubject, type AgentJob, AgentJobCreateSubject, AgentJobDeleteSubject, AgentJobGetSubject, type AgentJobIDRequest, AgentJobListSubject, AgentJobPauseSubject, type AgentJobResponse, AgentJobResumeSubject, type AgentJobTriggerRequest, type AgentJobTriggerResponse, AgentJobTriggerSubject, AgentJobUpdateSubject, type AgentJobsListResponse, AgentListSubject, AgentListSummarySubject, AgentReactCreateSubject, AgentReactGetSubject, AgentReactUpdateSubject, AgentReactValidateSubject, type AgentResponse, AgentSearchSubject, type AgentSkill, type AgentStatus, AgentStatusActive, AgentStatusArchived, AgentStatusDraft, AgentStatusInactive, type AgentStatusTS, type AgentSubType, AgentSubTypeChat, AgentSubTypeDocument, AgentSubTypeReact, type AgentSubTypeTS, AgentSubTypeWorkflow, type AgentSummary, AgentTemplateGetSubject, AgentTemplateListSubject, type AgentTool, type AgentToolConfiguration, type AgentType, AgentTypeChat, AgentTypeReact, type AgentTypeTS, AgentUpdateOrgSubject, AgentUpdateSubject, AgentUpdatedSubject, AgentVersionActivateSubject, AgentVersionActivatedSubject, AgentVersionCreateSubject, AgentVersionCreatedSubject, AgentVersionGetSubject, AgentVersionListSubject, type AgentWidget, type AgentWidgetResponse, AgentWidgetsCreateSubject, AgentWidgetsDeleteSubject, AgentWidgetsGetByWidgetID, AgentWidgetsGetDefaultSubject, AgentWidgetsGetSubject, AgentWidgetsListSubject, AgentWidgetsSetDefaultSubject, AgentWidgetsUpdateSubject, type ArtifactRef, type CSATAnswer, type CSATConfig, type CSATQuestion, type CSATResponse, type CSATSurvey, ChatAgentExecuteSubject, ChatAgentStatusSubject, type CreateAgentJobRequest, type CreateAgentRequest, type CreateAgentWidgetRequest, type CreateExecutionPlanRequest, type CreateExecutionPlanResponse, type CreateSkillRequest, type CreateSubAgentRequest, type CreateToolDefinitionRequest, type DefaultDefinitions, type DeleteAgentRequest, type DeleteAgentWidgetRequest, type DeleteSkillRequest, type
|
|
2257
|
+
export { type Agent, AgentChatCreateSubject, AgentChatGetSubject, AgentChatUpdateSubject, AgentChatValidateSubject, AgentCloneSubject, type AgentContext, type AgentContextConfig, AgentCreateSubject, AgentCreatedSubject, AgentDeleteSubject, AgentDeletedSubject, AgentEnsureDefaultSubject, AgentExecuteStatusSubject, AgentExecuteStopSubject, AgentExecuteSubject, type AgentExecution, AgentExportSubject, type AgentFilters, AgentFromTemplateSubject, AgentGetByOrgSubject, AgentGetDefaultSubject, AgentGetSubject, AgentImportSubject, AgentInstanceCancelPlanSubject, AgentInstanceClearHistorySubject, AgentInstanceCreatePlanSubject, AgentInstanceCreateSubject, AgentInstanceCreatedSubject, AgentInstanceDeleteSubject, AgentInstanceDeletedSubject, AgentInstanceExecutePlanSubject, AgentInstanceGetHistorySubject, AgentInstanceGetSubject, AgentInstanceListSubject, AgentInstancePausePlanSubject, AgentInstanceResumePlanSubject, AgentInstanceUpdateSubject, AgentInstanceUpdatedSubject, type AgentJob, AgentJobCreateSubject, AgentJobDeleteSubject, AgentJobGetSubject, type AgentJobIDRequest, AgentJobListSubject, AgentJobPauseSubject, type AgentJobResponse, AgentJobResumeSubject, type AgentJobTriggerRequest, type AgentJobTriggerResponse, AgentJobTriggerSubject, AgentJobUpdateSubject, type AgentJobsListResponse, AgentListSubject, AgentListSummarySubject, AgentReactCreateSubject, AgentReactGetSubject, AgentReactUpdateSubject, AgentReactValidateSubject, type AgentResponse, AgentSearchSubject, type AgentSkill, type AgentSkillConfigResponse, AgentSkillGetConfigSubject, AgentSkillUpdateConfigSubject, type AgentStatus, AgentStatusActive, AgentStatusArchived, AgentStatusDraft, AgentStatusInactive, type AgentStatusTS, type AgentSubType, AgentSubTypeChat, AgentSubTypeDocument, AgentSubTypeReact, type AgentSubTypeTS, AgentSubTypeWorkflow, type AgentSummary, AgentTemplateGetSubject, AgentTemplateListSubject, type AgentTool, type AgentToolConfiguration, type AgentType, AgentTypeChat, AgentTypeReact, type AgentTypeTS, AgentUpdateOrgSubject, AgentUpdateSubject, AgentUpdatedSubject, AgentVersionActivateSubject, AgentVersionActivatedSubject, AgentVersionCreateSubject, AgentVersionCreatedSubject, AgentVersionGetSubject, AgentVersionListSubject, type AgentWidget, type AgentWidgetResponse, AgentWidgetsCreateSubject, AgentWidgetsDeleteSubject, AgentWidgetsGetByWidgetID, AgentWidgetsGetDefaultSubject, AgentWidgetsGetSubject, AgentWidgetsListSubject, AgentWidgetsSetDefaultSubject, AgentWidgetsUpdateSubject, type ArtifactRef, type CSATAnswer, type CSATConfig, type CSATQuestion, type CSATResponse, type CSATSurvey, ChatAgentExecuteSubject, ChatAgentStatusSubject, type CreateAgentJobRequest, type CreateAgentRequest, type CreateAgentWidgetRequest, type CreateExecutionPlanRequest, type CreateExecutionPlanResponse, type CreateSkillRequest, type CreateSubAgentRequest, type CreateToolDefinitionRequest, type DefaultDefinitions, type DeleteAgentRequest, type DeleteAgentWidgetRequest, type DeleteSkillRequest, type DeleteSkillUserConfigRequest, type DeleteSubAgentRequest, type DeleteToolDefinitionRequest, type ExecuteJobRequest, type ExecutePlanRequest, type ExecutePlanResponse, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionCompletedEvent, type ExecutionMode, ExecutionModeAsync, ExecutionModeAsyncClient, ExecutionModeSync, type ExecutionModeTS, type ExecutionPlan, type ExecutionResponse, type ExecutionStatus, ExecutionStatusCompleted, ExecutionStatusFailed, ExecutionStatusPending, ExecutionStatusRunning, ExecutionStatusSkipped, type ExecutionStatusTS, ExecutionTTLHours, ExecutionsTTLCleanupSubject, type GetAgentRequest, type GetAgentSkillConfigRequest, type GetAgentWidgetRequest, type GetDefaultAgentRequest, type GetDefaultWidgetRequest, type GetExecutionRequest, type GetSkillRequest, type GetSkillUserConfigRequest, type GetSkillsByIDsRequest, type GetSkillsByIDsResponse, type GetSubAgentRequest, type GetSubAgentsByIDsRequest, type GetSubAgentsByIDsResponse, type GetToolDefinitionRequest, type GetToolDefinitionsByIDsRequest, type GetToolDefinitionsByIDsResponse, type GetWidgetByWidgetIDRequest, type GetWidgetConfigRequest, type GetWidgetConfigResponse, type HandoffConfig, type IntegrationProviderTS, type IntegrationRequirement, type IntegrationTypeTS, type JobExecution, JobExecutionGetSubject, JobExecutionListSubject, type JobExecutionResult, type JobExecutionStatus, JobExecutionStatusFailed, JobExecutionStatusRunning, JobExecutionStatusSuccess, type JobExecutionStatusTS, JobExecutionStatusTimedOut, type JobFrequency, JobFrequencyOneTime, JobFrequencySchedule, type JobFrequencyTS, type JobScope, JobScopeOrg, JobScopePrivate, type JobScopeTS, JobScopeTeam, type JobStatus, JobStatusActive, JobStatusDisabled, JobStatusExecuting, JobStatusPaused, type JobStatusTS, type ListAgentJobsRequest, type ListAgentWidgetsRequest, type ListAgentWidgetsResponse, type ListAgentsRequest, type ListAgentsResponse, type ListAgentsSummaryRequest, type ListAgentsSummaryResponse, type ListExecutionsByAgentRequest, type ListExecutionsByJobRequest, type ListExecutionsResponse, type ListSkillUserConfigRequest, type ListSkillsRequest, type ListSubAgentsRequest, type ListToolDefinitionsRequest, type MCPServerConfig, MaxExecutions, type MergeConfig, type MergeStrategy, MergeStrategyAppend, MergeStrategyMerge, MergeStrategyReplace, type MergeStrategyTS, type PlanApprovalConfig, type PlanStatus, PlanStatusApproved, PlanStatusCancelled, PlanStatusCompleted, PlanStatusExecuting, PlanStatusPendingApproval, PlanStatusRejected, type PlanStatusTS, type PlannedStep, type ProcessJobTriggerResult, type PublicWidgetConfig, type ReactAgentConfig, ReactAgentExecuteSubject, ReactAgentStatusSubject, ReactAgentStopSubject, type ResolveSkillConfigRequest, type ResolveSkillConfigResponse, type RetryPolicy, RuntimeJobCompletedSubject, RuntimeJobExecuteSubject, type SaveWidgetConfigRequest, type SaveWidgetConfigResponse, type SetDefaultWidgetRequest, type Skill, type SkillCategory, SkillCategoryAnalysis, SkillCategoryCommunication, SkillCategoryCreative, SkillCategoryCustom, SkillCategoryIntegration, SkillCategoryProductivity, type SkillCategoryTS, SkillResolveConfigSubject, type SkillResponse, type SkillUserConfig, SkillUserConfigDeleteSubject, SkillUserConfigGetSubject, type SkillUserConfigListResponse, SkillUserConfigListSubject, type SkillUserConfigResponse, SkillUserConfigUpdateSubject, SkillsCreateSubject, SkillsCreatedSubject, SkillsDeleteSubject, SkillsDeletedSubject, SkillsGetByIDsSubject, SkillsGetSubject, type SkillsListResponse, SkillsListSubject, SkillsUpdateOrgConfigSubject, SkillsUpdateSubject, SkillsUpdatedSubject, type SubAgent, type SubAgentResponse, SubAgentsCreateSubject, SubAgentsCreatedSubject, SubAgentsDeleteSubject, SubAgentsDeletedSubject, SubAgentsExecuteSubject, SubAgentsGetByIDsSubject, SubAgentsGetSubject, type SubAgentsListResponse, SubAgentsListSubject, SubAgentsUpdateSubject, SubAgentsUpdatedSubject, SubAgentsValidateSubject, type TTLCleanupRequest, type TTLCleanupResponse, type ToolConfig, type ToolDefinition, type ToolDefinitionResponse, ToolDefinitionsCreateSubject, ToolDefinitionsCreatedSubject, ToolDefinitionsDeleteSubject, ToolDefinitionsDeletedSubject, ToolDefinitionsExecuteSubject, ToolDefinitionsGetByIDsSubject, ToolDefinitionsGetSubject, type ToolDefinitionsListResponse, ToolDefinitionsListSubject, ToolDefinitionsUpdateSubject, ToolDefinitionsUpdatedSubject, ToolDefinitionsValidateSubject, type ToolExecution, type ToolExecutionPolicy, type ToolExecutionProgress, type ToolExecutionStatus, ToolExecutionStatusCompleted, ToolExecutionStatusExecuting, ToolExecutionStatusFailed, ToolExecutionStatusSkipped, ToolExecutionStatusStarted, type ToolExecutionStatusTS, ToolExecutionStatusTimeout, type UpdateAgentJobRequest, type UpdateAgentRequest, type UpdateAgentSkillConfigRequest, type UpdateAgentWidgetRequest, type UpdateOrgAgentsRequest, type UpdateOrgAgentsResponse, type UpdateSkillOrgConfigRequest, type UpdateSkillRequest, type UpdateSkillUserConfigRequest, type UpdateSubAgentRequest, type UpdateToolDefinitionRequest, type UserSuggestedAction, type UserSuggestedActionsConfig, type UserSuggestedActionsRequest, type UserSuggestedActionsResponse, type ValidationError, type ValidationErrors, type WidgetAppearance, type WidgetBehavior, type WidgetConfig, WidgetConfigGetByAgentSubject, WidgetConfigSaveSubject, type WidgetSecurity, WorkflowAgentGetSubject, WorkflowAgentUpdateSubject };
|
package/dist/index.js
CHANGED
|
@@ -69,6 +69,8 @@ __export(index_exports, {
|
|
|
69
69
|
AgentReactUpdateSubject: () => AgentReactUpdateSubject,
|
|
70
70
|
AgentReactValidateSubject: () => AgentReactValidateSubject,
|
|
71
71
|
AgentSearchSubject: () => AgentSearchSubject,
|
|
72
|
+
AgentSkillGetConfigSubject: () => AgentSkillGetConfigSubject,
|
|
73
|
+
AgentSkillUpdateConfigSubject: () => AgentSkillUpdateConfigSubject,
|
|
72
74
|
AgentStatusActive: () => AgentStatusActive,
|
|
73
75
|
AgentStatusArchived: () => AgentStatusArchived,
|
|
74
76
|
AgentStatusDraft: () => AgentStatusDraft,
|
|
@@ -146,6 +148,11 @@ __export(index_exports, {
|
|
|
146
148
|
SkillCategoryCustom: () => SkillCategoryCustom,
|
|
147
149
|
SkillCategoryIntegration: () => SkillCategoryIntegration,
|
|
148
150
|
SkillCategoryProductivity: () => SkillCategoryProductivity,
|
|
151
|
+
SkillResolveConfigSubject: () => SkillResolveConfigSubject,
|
|
152
|
+
SkillUserConfigDeleteSubject: () => SkillUserConfigDeleteSubject,
|
|
153
|
+
SkillUserConfigGetSubject: () => SkillUserConfigGetSubject,
|
|
154
|
+
SkillUserConfigListSubject: () => SkillUserConfigListSubject,
|
|
155
|
+
SkillUserConfigUpdateSubject: () => SkillUserConfigUpdateSubject,
|
|
149
156
|
SkillsCreateSubject: () => SkillsCreateSubject,
|
|
150
157
|
SkillsCreatedSubject: () => SkillsCreatedSubject,
|
|
151
158
|
SkillsDeleteSubject: () => SkillsDeleteSubject,
|
|
@@ -153,6 +160,7 @@ __export(index_exports, {
|
|
|
153
160
|
SkillsGetByIDsSubject: () => SkillsGetByIDsSubject,
|
|
154
161
|
SkillsGetSubject: () => SkillsGetSubject,
|
|
155
162
|
SkillsListSubject: () => SkillsListSubject,
|
|
163
|
+
SkillsUpdateOrgConfigSubject: () => SkillsUpdateOrgConfigSubject,
|
|
156
164
|
SkillsUpdateSubject: () => SkillsUpdateSubject,
|
|
157
165
|
SkillsUpdatedSubject: () => SkillsUpdatedSubject,
|
|
158
166
|
SubAgentsCreateSubject: () => SubAgentsCreateSubject,
|
|
@@ -320,6 +328,14 @@ var SkillsDeleteSubject = "agents.skills.delete";
|
|
|
320
328
|
var SkillsDeletedSubject = "agents.skills.deleted";
|
|
321
329
|
var SkillsListSubject = "agents.skills.list";
|
|
322
330
|
var SkillsGetByIDsSubject = "agents.skills.get-by-ids";
|
|
331
|
+
var SkillsUpdateOrgConfigSubject = "agents.skills.update-org-config";
|
|
332
|
+
var AgentSkillUpdateConfigSubject = "agents.skills.agent.update-config";
|
|
333
|
+
var AgentSkillGetConfigSubject = "agents.skills.agent.get-config";
|
|
334
|
+
var SkillUserConfigGetSubject = "agents.skills.user-config.get";
|
|
335
|
+
var SkillUserConfigUpdateSubject = "agents.skills.user-config.update";
|
|
336
|
+
var SkillUserConfigDeleteSubject = "agents.skills.user-config.delete";
|
|
337
|
+
var SkillUserConfigListSubject = "agents.skills.user-config.list";
|
|
338
|
+
var SkillResolveConfigSubject = "agents.skills.resolve-config";
|
|
323
339
|
var WidgetConfigGetByAgentSubject = "widgets.config.get.by.agent";
|
|
324
340
|
var WidgetConfigSaveSubject = "widgets.config.save";
|
|
325
341
|
var AgentJobCreateSubject = "agents.jobs.create";
|
|
@@ -409,6 +425,8 @@ var AgentWidgetsGetDefaultSubject = "agents.widgets.get-default";
|
|
|
409
425
|
AgentReactUpdateSubject,
|
|
410
426
|
AgentReactValidateSubject,
|
|
411
427
|
AgentSearchSubject,
|
|
428
|
+
AgentSkillGetConfigSubject,
|
|
429
|
+
AgentSkillUpdateConfigSubject,
|
|
412
430
|
AgentStatusActive,
|
|
413
431
|
AgentStatusArchived,
|
|
414
432
|
AgentStatusDraft,
|
|
@@ -486,6 +504,11 @@ var AgentWidgetsGetDefaultSubject = "agents.widgets.get-default";
|
|
|
486
504
|
SkillCategoryCustom,
|
|
487
505
|
SkillCategoryIntegration,
|
|
488
506
|
SkillCategoryProductivity,
|
|
507
|
+
SkillResolveConfigSubject,
|
|
508
|
+
SkillUserConfigDeleteSubject,
|
|
509
|
+
SkillUserConfigGetSubject,
|
|
510
|
+
SkillUserConfigListSubject,
|
|
511
|
+
SkillUserConfigUpdateSubject,
|
|
489
512
|
SkillsCreateSubject,
|
|
490
513
|
SkillsCreatedSubject,
|
|
491
514
|
SkillsDeleteSubject,
|
|
@@ -493,6 +516,7 @@ var AgentWidgetsGetDefaultSubject = "agents.widgets.get-default";
|
|
|
493
516
|
SkillsGetByIDsSubject,
|
|
494
517
|
SkillsGetSubject,
|
|
495
518
|
SkillsListSubject,
|
|
519
|
+
SkillsUpdateOrgConfigSubject,
|
|
496
520
|
SkillsUpdateSubject,
|
|
497
521
|
SkillsUpdatedSubject,
|
|
498
522
|
SubAgentsCreateSubject,
|