@elqnt/agents 3.4.0 → 4.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.
Files changed (72) hide show
  1. package/README.md +6 -0
  2. package/SKILL.md +724 -0
  3. package/dist/{agent-models-D6WgsFMZ.d.mts → agent-models-B-wTMdwF.d.mts} +44 -9
  4. package/dist/{agent-models-D6WgsFMZ.d.ts → agent-models-B-wTMdwF.d.ts} +44 -9
  5. package/dist/api/index.d.mts +6 -6
  6. package/dist/api/index.d.ts +6 -6
  7. package/dist/api/index.js +3 -4
  8. package/dist/api/index.js.map +1 -1
  9. package/dist/api/index.mjs +1 -2
  10. package/dist/api/server.d.mts +3 -3
  11. package/dist/api/server.d.ts +3 -3
  12. package/dist/api/server.js +6 -8
  13. package/dist/api/server.js.map +1 -1
  14. package/dist/api/server.mjs +5 -7
  15. package/dist/api/server.mjs.map +1 -1
  16. package/dist/{chunk-XQ7LOAN3.js → chunk-2FZZW4O4.js} +7 -5
  17. package/dist/chunk-2FZZW4O4.js.map +1 -0
  18. package/dist/{chunk-3EHE4O57.mjs → chunk-6FKG2JBT.mjs} +1 -3
  19. package/dist/{chunk-3EHE4O57.mjs.map → chunk-6FKG2JBT.mjs.map} +1 -1
  20. package/dist/{chunk-TY57JG3P.mjs → chunk-CCQNGD3U.mjs} +5 -3
  21. package/dist/chunk-CCQNGD3U.mjs.map +1 -0
  22. package/dist/{chunk-ZS7DRNCT.js → chunk-DQATIIAV.js} +2 -4
  23. package/dist/chunk-DQATIIAV.js.map +1 -0
  24. package/dist/{chunk-L5FLJB3H.mjs → chunk-NHIVBTLU.mjs} +5 -7
  25. package/dist/chunk-NHIVBTLU.mjs.map +1 -0
  26. package/dist/{chunk-3PFZRJ4A.js → chunk-QH234LAO.js} +6 -8
  27. package/dist/chunk-QH234LAO.js.map +1 -0
  28. package/dist/{chunk-2JDVRL35.js → chunk-QXMZEZRM.js} +2 -4
  29. package/dist/chunk-QXMZEZRM.js.map +1 -0
  30. package/dist/{chunk-HYR7PXFU.mjs → chunk-YQFBZW6F.mjs} +1 -3
  31. package/dist/{chunk-HYR7PXFU.mjs.map → chunk-YQFBZW6F.mjs.map} +1 -1
  32. package/dist/hooks/index.d.mts +354 -142
  33. package/dist/hooks/index.d.ts +354 -142
  34. package/dist/hooks/index.js +1094 -6
  35. package/dist/hooks/index.js.map +1 -1
  36. package/dist/hooks/index.mjs +1107 -19
  37. package/dist/hooks/index.mjs.map +1 -1
  38. package/dist/index.d.mts +2 -4
  39. package/dist/index.d.ts +2 -4
  40. package/dist/index.js +5 -35
  41. package/dist/index.js.map +1 -1
  42. package/dist/index.mjs +8 -38
  43. package/dist/models/index.d.mts +2 -2
  44. package/dist/models/index.d.ts +2 -2
  45. package/dist/models/index.js +6 -3
  46. package/dist/models/index.js.map +1 -1
  47. package/dist/models/index.mjs +5 -2
  48. package/dist/{sandbox-DOxoM2Ge.d.ts → sandbox-Djb8gA7e.d.mts} +32 -2
  49. package/dist/{sandbox-DOxoM2Ge.d.mts → sandbox-Djb8gA7e.d.ts} +32 -2
  50. package/dist/transport/index.d.mts +3 -3
  51. package/dist/transport/index.d.ts +3 -3
  52. package/dist/transport/index.js +3 -4
  53. package/dist/transport/index.js.map +1 -1
  54. package/dist/transport/index.mjs +1 -2
  55. package/dist/{types-BBPz_6kK.d.ts → types-BzNzXaqk.d.ts} +2 -2
  56. package/dist/{types-BtfxlyHk.d.mts → types-CSyY6Qv7.d.mts} +2 -2
  57. package/dist/utils/index.d.mts +1 -1
  58. package/dist/utils/index.d.ts +1 -1
  59. package/dist/utils/index.js +3 -4
  60. package/dist/utils/index.js.map +1 -1
  61. package/dist/utils/index.mjs +1 -2
  62. package/package.json +9 -8
  63. package/dist/chunk-2JDVRL35.js.map +0 -1
  64. package/dist/chunk-3PFZRJ4A.js.map +0 -1
  65. package/dist/chunk-43FTKGM6.mjs +0 -1114
  66. package/dist/chunk-43FTKGM6.mjs.map +0 -1
  67. package/dist/chunk-L5FLJB3H.mjs.map +0 -1
  68. package/dist/chunk-RG42SHBX.js +0 -1114
  69. package/dist/chunk-RG42SHBX.js.map +0 -1
  70. package/dist/chunk-TY57JG3P.mjs.map +0 -1
  71. package/dist/chunk-XQ7LOAN3.js.map +0 -1
  72. package/dist/chunk-ZS7DRNCT.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { ProductNameTS, JSONSchema, ResponseMetadata } from '@elqnt/types';
1
+ import { JSONSchema, ResponseMetadata } from '@elqnt/types';
2
2
 
3
3
  /**
4
4
  * AgentContext accumulates meaningful state from agentic tool executions.
@@ -747,16 +747,17 @@ interface TriggerBackgroundAgentRequest {
747
747
  enableSSE?: boolean;
748
748
  /**
749
749
  * v2: when set, the run is anchored to a Done task. The agents service
750
- * auto-attaches the done_tasks skill so the agent can call
751
- * post_task_update / set_task_output / request_task_help even if its
752
- * declared SkillNames doesn't include done_tasks.
750
+ * auto-attaches the done_tasks skill so the agent can post_task_update,
751
+ * set_task_output, request_task_help even if the agent's declared
752
+ * SkillNames doesn't include done_tasks. The taskId is also surfaced in
753
+ * execution metadata so downstream tools can reference it.
753
754
  */
754
755
  taskId?: string;
755
756
  /**
756
757
  * v2: when set, the run uses this library for knowledge_search by default.
757
758
  * Sourced from the parent task's project.libraryId at dispatch time.
758
- * The runtime injects this into knowledge_search tool calls; the agent
759
- * does NOT need to pass library_id explicitly.
759
+ * The runtime injects it into knowledge_search tool dispatch so the agent
760
+ * doesn't need to pass library_id explicitly.
760
761
  */
761
762
  libraryId?: string;
762
763
  }
@@ -887,6 +888,14 @@ interface Skill {
887
888
  displayOrder?: number;
888
889
  createdAt?: string;
889
890
  updatedAt?: string;
891
+ /**
892
+ * ArtifactVersion drives the system_skills reconciler upsert guard
893
+ * (rows update only when the registry version is greater). Bump this on
894
+ * any change to a skill's definition (tools, ConfigSchema, prompt) so the
895
+ * new shape propagates to system_skills across existing orgs/environments.
896
+ * Unset (0) is treated as version 1 by the reconciler.
897
+ */
898
+ artifactVersion?: number;
890
899
  }
891
900
  /**
892
901
  * AgentSkill represents an agent's configuration for a specific skill
@@ -1018,7 +1027,7 @@ interface AgentTool {
1018
1027
  interface Agent {
1019
1028
  id?: string;
1020
1029
  orgId: string;
1021
- product: ProductNameTS;
1030
+ product: string;
1022
1031
  type: AgentTypeTS;
1023
1032
  subType: AgentSubTypeTS;
1024
1033
  name: string;
@@ -1115,6 +1124,14 @@ interface Agent {
1115
1124
  updatedAt: string;
1116
1125
  createdBy: string;
1117
1126
  updatedBy: string;
1127
+ /**
1128
+ * === ARTIFACT VERSIONING ===
1129
+ * Bumped in the registry (backend/services/admin/artifacts/<product>/agents.go)
1130
+ * whenever the platform-shipped agent changes meaningfully. The artifact
1131
+ * reconciler diffs this against installed_artifact_versions to roll
1132
+ * updates out to existing customer orgs. See skill 29-data-changes §C.
1133
+ */
1134
+ artifactVersion?: number;
1118
1135
  metadata?: {
1119
1136
  [key: string]: any;
1120
1137
  };
@@ -1142,6 +1159,7 @@ interface WidgetConfig {
1142
1159
  * WidgetAppearance defines the visual customization of the widget
1143
1160
  */
1144
1161
  interface WidgetAppearance {
1162
+ widgetStyle?: string;
1145
1163
  position: string;
1146
1164
  primaryColor: string;
1147
1165
  backgroundColor: string;
@@ -1149,6 +1167,7 @@ interface WidgetAppearance {
1149
1167
  borderRadius: number;
1150
1168
  bubbleSize: number;
1151
1169
  bubbleIconUrl?: string;
1170
+ bubbleBackgroundColor?: string;
1152
1171
  }
1153
1172
  /**
1154
1173
  * WidgetBehavior defines the behavioral settings of the widget
@@ -1169,7 +1188,7 @@ interface WidgetSecurity {
1169
1188
  * AgentFilters for filtering agents in list operations
1170
1189
  */
1171
1190
  interface AgentFilters {
1172
- product?: ProductNameTS;
1191
+ product?: string;
1173
1192
  type?: AgentType;
1174
1193
  subType?: AgentSubType;
1175
1194
  status?: AgentStatus;
@@ -2173,6 +2192,22 @@ declare const AgentJobResumeSubject = "agents.jobs.resume";
2173
2192
  * Job Trigger (from Scheduler Service)
2174
2193
  */
2175
2194
  declare const AgentJobTriggerSubject = "agents.job.trigger";
2195
+ /**
2196
+ * Task Schedule Trigger (from Scheduler Service) — drives recurring Done
2197
+ * tasks. Each tick fans out across orgs, finds tasks whose schedule is due
2198
+ * (schedule.nextRunAt <= now), and dispatches a one-time agent run per task
2199
+ * (the task itself is the recurring definition; see task_schedule_handler.go).
2200
+ */
2201
+ declare const AgentTaskTriggerSubject = "agents.task.trigger";
2202
+ /**
2203
+ * Todo Schedule Trigger (from Scheduler Service) — drives scheduled and
2204
+ * recurring Todo items. Each tick fans out across orgs, finds todo_item
2205
+ * records whose schedule is due (schedule.nextRunAt <= now), and either
2206
+ * fires a reminder to the owner (reminder-only todos) or dispatches a
2207
+ * one-time agent run that does the work then notifies the owner
2208
+ * (agent-task todos). See todo_schedule_handler.go.
2209
+ */
2210
+ declare const AgentTodoTriggerSubject = "agents.todo.trigger";
2176
2211
  /**
2177
2212
  * Background Agent Tool Subjects (from chat agent tool calls)
2178
2213
  */
@@ -2561,4 +2596,4 @@ interface PublicWidgetConfig {
2561
2596
  behavior: WidgetBehavior;
2562
2597
  }
2563
2598
 
2564
- export { AgentJobDeleteSubject as $, type Agent as A, AgentExecuteSubject as B, type AgentExecution as C, AgentExportSubject as D, type AgentFilters as E, AgentFromTemplateSubject as F, AgentGetByOrgSubject as G, AgentGetDefaultSubject as H, AgentGetSubject as I, AgentImportSubject as J, AgentInstanceCancelPlanSubject as K, AgentInstanceClearHistorySubject as L, AgentInstanceCreatePlanSubject as M, AgentInstanceCreateSubject as N, AgentInstanceCreatedSubject as O, AgentInstanceDeleteSubject as P, AgentInstanceDeletedSubject as Q, AgentInstanceExecutePlanSubject as R, AgentInstanceGetHistorySubject as S, AgentInstanceGetSubject as T, AgentInstanceListSubject as U, AgentInstancePausePlanSubject as V, AgentInstanceResumePlanSubject as W, AgentInstanceUpdateSubject as X, AgentInstanceUpdatedSubject as Y, type AgentJob as Z, AgentJobCreateSubject as _, type AgentCategory as a, type AgentWidget as a$, AgentJobGetSubject as a0, type AgentJobIDRequest as a1, AgentJobListSubject as a2, AgentJobPauseSubject as a3, type AgentJobResponse as a4, AgentJobResumeSubject as a5, type AgentJobTriggerRequest as a6, type AgentJobTriggerResponse as a7, AgentJobTriggerSubject as a8, AgentJobUpdateSubject as a9, type AgentStatusTS as aA, type AgentStatusUpdate as aB, type AgentSubType as aC, AgentSubTypeChat as aD, AgentSubTypeDocument as aE, AgentSubTypeReact as aF, type AgentSubTypeTS as aG, AgentSubTypeWorkflow as aH, type AgentSummary as aI, type AgentTemplate as aJ, AgentTemplateGetSubject as aK, AgentTemplateListSubject as aL, type AgentTool as aM, type AgentToolConfiguration as aN, type AgentType as aO, AgentTypeChat as aP, AgentTypeReact as aQ, type AgentTypeTS as aR, AgentUpdateOrgSubject as aS, AgentUpdateSubject as aT, AgentUpdatedSubject as aU, AgentVersionActivateSubject as aV, AgentVersionActivatedSubject as aW, AgentVersionCreateSubject as aX, AgentVersionCreatedSubject as aY, AgentVersionGetSubject as aZ, AgentVersionListSubject as a_, type AgentJobsListResponse as aa, AgentListSubject as ab, AgentListSummarySubject as ac, type AgentProvisionDefinition as ad, AgentReactCreateSubject as ae, AgentReactGetSubject as af, AgentReactUpdateSubject as ag, AgentReactValidateSubject as ah, type AgentResponse as ai, type AgentScope as aj, AgentScopeCustom as ak, AgentScopeOrg as al, type AgentScopeTS as am, AgentScopeTeam as an, AgentScopeUser as ao, AgentSearchSubject as ap, type AgentSkill as aq, type AgentSkillConfigResponse as ar, AgentSkillGetConfigSubject as as, type AgentSkillTool as at, AgentSkillUpdateConfigSubject as au, type AgentStatus as av, AgentStatusActive as aw, AgentStatusArchived as ax, AgentStatusDraft as ay, AgentStatusInactive as az, AgentCategoryDevelopment as b, type GetDefaultWidgetRequest as b$, type AgentWidgetResponse as b0, AgentWidgetsCreateSubject as b1, AgentWidgetsDeleteSubject as b2, AgentWidgetsGetByWidgetID as b3, AgentWidgetsGetDefaultSubject as b4, AgentWidgetsGetSubject as b5, AgentWidgetsListSubject as b6, AgentWidgetsSetDefaultSubject as b7, AgentWidgetsUpdateSubject as b8, type ArtifactRef as b9, type DeleteToolDefinitionRequest as bA, type ExecuteJobRequest as bB, type ExecutePlanRequest as bC, type ExecutePlanResponse as bD, type ExecuteToolRequest as bE, type ExecuteToolResponse as bF, type ExecutionCompletedEvent as bG, type ExecutionMode as bH, ExecutionModeAsync as bI, ExecutionModeAsyncClient as bJ, ExecutionModeSync as bK, type ExecutionModeTS as bL, type ExecutionPlan as bM, type ExecutionResponse as bN, type ExecutionStatus as bO, ExecutionStatusCompleted as bP, ExecutionStatusFailed as bQ, ExecutionStatusPending as bR, ExecutionStatusRunning as bS, ExecutionStatusSkipped as bT, type ExecutionStatusTS as bU, ExecutionTTLHours as bV, ExecutionsTTLCleanupSubject as bW, type GetAgentRequest as bX, type GetAgentSkillConfigRequest as bY, type GetAgentWidgetRequest as bZ, type GetDefaultAgentRequest as b_, type BackgroundAgentProgressEvent as ba, type BackgroundAgentStatusRequest as bb, type BackgroundAgentStatusResponse as bc, type CSATAnswer as bd, type CSATConfig as be, type CSATQuestion as bf, type CSATResponse as bg, type CSATSurvey as bh, ChatAgentExecuteSubject as bi, ChatAgentStatusSubject as bj, CheckBackgroundAgentStatusToolSubject as bk, type CreateAgentJobRequest as bl, type CreateAgentRequest as bm, type CreateAgentWidgetRequest as bn, type CreateExecutionPlanRequest as bo, type CreateExecutionPlanResponse as bp, type CreateSkillRequest as bq, type CreateSubAgentRequest as br, type CreateToolDefinitionRequest as bs, type CustomizableField as bt, type DefaultDefinitions as bu, type DeleteAgentRequest as bv, type DeleteAgentWidgetRequest as bw, type DeleteSkillRequest as bx, type DeleteSkillUserConfigRequest as by, type DeleteSubAgentRequest as bz, AgentCategoryFinance as c, type PlanApprovalConfig as c$, type GetExecutionRequest as c0, type GetSkillRequest as c1, type GetSkillUserConfigRequest as c2, type GetSkillsByIDsRequest as c3, type GetSkillsByIDsResponse as c4, type GetSubAgentRequest as c5, type GetSubAgentsByIDsRequest as c6, type GetSubAgentsByIDsResponse as c7, type GetToolDefinitionRequest as c8, type GetToolDefinitionsByIDsRequest as c9, JobStatusActive as cA, JobStatusDisabled as cB, JobStatusExecuting as cC, JobStatusPaused as cD, type JobStatusTS as cE, type ListAgentJobsRequest as cF, type ListAgentWidgetsRequest as cG, type ListAgentWidgetsResponse as cH, type ListAgentsRequest as cI, type ListAgentsResponse as cJ, type ListAgentsSummaryRequest as cK, type ListAgentsSummaryResponse as cL, type ListExecutionsByAgentRequest as cM, type ListExecutionsByJobRequest as cN, type ListExecutionsResponse as cO, type ListSkillUserConfigRequest as cP, type ListSkillsRequest as cQ, type ListSubAgentsRequest as cR, type ListToolDefinitionsRequest as cS, type MCPServerConfig as cT, MaxExecutions as cU, type MergeConfig as cV, type MergeStrategy as cW, MergeStrategyAppend as cX, MergeStrategyMerge as cY, MergeStrategyReplace as cZ, type MergeStrategyTS as c_, type GetToolDefinitionsByIDsResponse as ca, type GetWidgetByWidgetIDRequest as cb, type GetWidgetConfigRequest as cc, type GetWidgetConfigResponse as cd, type HandoffConfig as ce, type IntegrationRequirement as cf, type JobExecution as cg, JobExecutionGetSubject as ch, JobExecutionListSubject as ci, type JobExecutionResult as cj, type JobExecutionStatus as ck, JobExecutionStatusFailed as cl, JobExecutionStatusRunning as cm, JobExecutionStatusSuccess as cn, type JobExecutionStatusTS as co, JobExecutionStatusTimedOut as cp, type JobFrequency as cq, JobFrequencyOneTime as cr, JobFrequencySchedule as cs, type JobFrequencyTS as ct, type JobScope as cu, JobScopeOrg as cv, JobScopePrivate as cw, type JobScopeTS as cx, JobScopeTeam as cy, type JobStatus as cz, AgentCategoryGeneral as d, SubAgentsExecuteSubject as d$, type PlanStatus as d0, PlanStatusApproved as d1, PlanStatusCancelled as d2, PlanStatusCompleted as d3, PlanStatusExecuting as d4, PlanStatusPendingApproval as d5, PlanStatusRejected as d6, type PlanStatusTS as d7, type PlannedStep as d8, type ProcessJobTriggerResult as d9, type SkillCategoryTS as dA, SkillResolveConfigSubject as dB, type SkillResponse as dC, type SkillUserConfig as dD, SkillUserConfigDeleteSubject as dE, SkillUserConfigGetSubject as dF, type SkillUserConfigListResponse as dG, SkillUserConfigListSubject as dH, type SkillUserConfigResponse as dI, SkillUserConfigUpdateSubject as dJ, SkillsCreateSubject as dK, SkillsCreatedSubject as dL, SkillsDeleteSubject as dM, SkillsDeletedSubject as dN, SkillsGetByIDsSubject as dO, SkillsGetSubject as dP, type SkillsListResponse as dQ, SkillsListSubject as dR, SkillsUpdateOrgConfigSubject as dS, SkillsUpdateSubject as dT, SkillsUpdatedSubject as dU, type SubAgent as dV, type SubAgentResponse as dW, SubAgentsCreateSubject as dX, SubAgentsCreatedSubject as dY, SubAgentsDeleteSubject as dZ, SubAgentsDeletedSubject as d_, type PublicWidgetConfig as da, type PublisherType as db, PublisherTypeEloquent as dc, PublisherTypePartner as dd, type PublisherTypeTS as de, type ReactAgentConfig as df, ReactAgentExecuteSubject as dg, ReactAgentStatusSubject as dh, ReactAgentStopSubject as di, type ResolveSkillConfigRequest as dj, type ResolveSkillConfigResponse as dk, type RetryPolicy as dl, RuntimeJobCompletedSubject as dm, RuntimeJobExecuteSubject as dn, type SaveWidgetConfigRequest as dp, type SaveWidgetConfigResponse as dq, type SetDefaultWidgetRequest as dr, type Skill as ds, type SkillCategory as dt, SkillCategoryAnalysis as du, SkillCategoryCommunication as dv, SkillCategoryCreative as dw, SkillCategoryCustom as dx, SkillCategoryIntegration as dy, SkillCategoryProductivity as dz, AgentCategoryHR as e, type WidgetBehavior as e$, SubAgentsGetByIDsSubject as e0, SubAgentsGetSubject as e1, type SubAgentsListResponse as e2, SubAgentsListSubject as e3, SubAgentsUpdateSubject as e4, SubAgentsUpdatedSubject as e5, SubAgentsValidateSubject as e6, type TTLCleanupRequest as e7, type TTLCleanupResponse as e8, type TaskStatusTS as e9, ToolExecutionStatusExecuting as eA, ToolExecutionStatusFailed as eB, ToolExecutionStatusSkipped as eC, ToolExecutionStatusStarted as eD, type ToolExecutionStatusTS as eE, ToolExecutionStatusTimeout as eF, type TriggerBackgroundAgentRequest as eG, type TriggerBackgroundAgentResponse as eH, TriggerBackgroundAgentToolSubject as eI, type UpdateAgentJobRequest as eJ, type UpdateAgentRequest as eK, type UpdateAgentSkillConfigRequest as eL, type UpdateAgentWidgetRequest as eM, type UpdateOrgAgentsRequest as eN, type UpdateOrgAgentsResponse as eO, type UpdateSkillOrgConfigRequest as eP, type UpdateSkillRequest as eQ, type UpdateSkillUserConfigRequest as eR, type UpdateSubAgentRequest as eS, type UpdateToolDefinitionRequest as eT, type UserSuggestedAction as eU, type UserSuggestedActionsConfig as eV, type UserSuggestedActionsRequest as eW, type UserSuggestedActionsResponse as eX, type ValidationError as eY, type ValidationErrors as eZ, type WidgetAppearance as e_, type TemplateCategoryCount as ea, type TemplateFilters as eb, type TemplateStatus as ec, TemplateStatusDraft as ed, TemplateStatusPublished as ee, type TemplateStatusTS as ef, type ToolConfig as eg, type ToolDefinition as eh, type ToolDefinitionResponse as ei, ToolDefinitionsCreateSubject as ej, ToolDefinitionsCreatedSubject as ek, ToolDefinitionsDeleteSubject as el, ToolDefinitionsDeletedSubject as em, ToolDefinitionsExecuteSubject as en, ToolDefinitionsGetByIDsSubject as eo, ToolDefinitionsGetSubject as ep, type ToolDefinitionsListResponse as eq, ToolDefinitionsListSubject as er, ToolDefinitionsUpdateSubject as es, ToolDefinitionsUpdatedSubject as et, ToolDefinitionsValidateSubject as eu, type ToolExecution as ev, type ToolExecutionPolicy as ew, type ToolExecutionProgress as ex, type ToolExecutionStatus as ey, ToolExecutionStatusCompleted as ez, AgentCategoryMarketing as f, type WidgetConfig as f0, WidgetConfigGetByAgentSubject as f1, WidgetConfigSaveSubject as f2, type WidgetSecurity as f3, WorkflowAgentGetSubject as f4, WorkflowAgentUpdateSubject as f5, AgentCategoryProductivity as g, AgentCategoryResearch as h, AgentCategorySales as i, AgentCategorySupport as j, type AgentCategoryTS as k, AgentCategoryWriting as l, AgentChatCreateSubject as m, AgentChatGetSubject as n, AgentChatUpdateSubject as o, AgentChatValidateSubject as p, AgentCloneSubject as q, type AgentContext as r, type AgentContextConfig as s, AgentCreateSubject as t, AgentCreatedSubject as u, AgentDeleteSubject as v, AgentDeletedSubject as w, AgentEnsureDefaultSubject as x, AgentExecuteStatusSubject as y, AgentExecuteStopSubject as z };
2599
+ export { AgentJobDeleteSubject as $, type Agent as A, AgentExecuteSubject as B, type AgentExecution as C, AgentExportSubject as D, type AgentFilters as E, AgentFromTemplateSubject as F, AgentGetByOrgSubject as G, AgentGetDefaultSubject as H, AgentGetSubject as I, AgentImportSubject as J, AgentInstanceCancelPlanSubject as K, AgentInstanceClearHistorySubject as L, AgentInstanceCreatePlanSubject as M, AgentInstanceCreateSubject as N, AgentInstanceCreatedSubject as O, AgentInstanceDeleteSubject as P, AgentInstanceDeletedSubject as Q, AgentInstanceExecutePlanSubject as R, AgentInstanceGetHistorySubject as S, AgentInstanceGetSubject as T, AgentInstanceListSubject as U, AgentInstancePausePlanSubject as V, AgentInstanceResumePlanSubject as W, AgentInstanceUpdateSubject as X, AgentInstanceUpdatedSubject as Y, type AgentJob as Z, AgentJobCreateSubject as _, type AgentCategory as a, AgentVersionGetSubject as a$, AgentJobGetSubject as a0, type AgentJobIDRequest as a1, AgentJobListSubject as a2, AgentJobPauseSubject as a3, type AgentJobResponse as a4, AgentJobResumeSubject as a5, type AgentJobTriggerRequest as a6, type AgentJobTriggerResponse as a7, AgentJobTriggerSubject as a8, AgentJobUpdateSubject as a9, type AgentStatusTS as aA, type AgentStatusUpdate as aB, type AgentSubType as aC, AgentSubTypeChat as aD, AgentSubTypeDocument as aE, AgentSubTypeReact as aF, type AgentSubTypeTS as aG, AgentSubTypeWorkflow as aH, type AgentSummary as aI, AgentTaskTriggerSubject as aJ, type AgentTemplate as aK, AgentTemplateGetSubject as aL, AgentTemplateListSubject as aM, AgentTodoTriggerSubject as aN, type AgentTool as aO, type AgentToolConfiguration as aP, type AgentType as aQ, AgentTypeChat as aR, AgentTypeReact as aS, type AgentTypeTS as aT, AgentUpdateOrgSubject as aU, AgentUpdateSubject as aV, AgentUpdatedSubject as aW, AgentVersionActivateSubject as aX, AgentVersionActivatedSubject as aY, AgentVersionCreateSubject as aZ, AgentVersionCreatedSubject as a_, type AgentJobsListResponse as aa, AgentListSubject as ab, AgentListSummarySubject as ac, type AgentProvisionDefinition as ad, AgentReactCreateSubject as ae, AgentReactGetSubject as af, AgentReactUpdateSubject as ag, AgentReactValidateSubject as ah, type AgentResponse as ai, type AgentScope as aj, AgentScopeCustom as ak, AgentScopeOrg as al, type AgentScopeTS as am, AgentScopeTeam as an, AgentScopeUser as ao, AgentSearchSubject as ap, type AgentSkill as aq, type AgentSkillConfigResponse as ar, AgentSkillGetConfigSubject as as, type AgentSkillTool as at, AgentSkillUpdateConfigSubject as au, type AgentStatus as av, AgentStatusActive as aw, AgentStatusArchived as ax, AgentStatusDraft as ay, AgentStatusInactive as az, AgentCategoryDevelopment as b, type GetAgentWidgetRequest as b$, AgentVersionListSubject as b0, type AgentWidget as b1, type AgentWidgetResponse as b2, AgentWidgetsCreateSubject as b3, AgentWidgetsDeleteSubject as b4, AgentWidgetsGetByWidgetID as b5, AgentWidgetsGetDefaultSubject as b6, AgentWidgetsGetSubject as b7, AgentWidgetsListSubject as b8, AgentWidgetsSetDefaultSubject as b9, type DeleteSkillUserConfigRequest as bA, type DeleteSubAgentRequest as bB, type DeleteToolDefinitionRequest as bC, type ExecuteJobRequest as bD, type ExecutePlanRequest as bE, type ExecutePlanResponse as bF, type ExecuteToolRequest as bG, type ExecuteToolResponse as bH, type ExecutionCompletedEvent as bI, type ExecutionMode as bJ, ExecutionModeAsync as bK, ExecutionModeAsyncClient as bL, ExecutionModeSync as bM, type ExecutionModeTS as bN, type ExecutionPlan as bO, type ExecutionResponse as bP, type ExecutionStatus as bQ, ExecutionStatusCompleted as bR, ExecutionStatusFailed as bS, ExecutionStatusPending as bT, ExecutionStatusRunning as bU, ExecutionStatusSkipped as bV, type ExecutionStatusTS as bW, ExecutionTTLHours as bX, ExecutionsTTLCleanupSubject as bY, type GetAgentRequest as bZ, type GetAgentSkillConfigRequest as b_, AgentWidgetsUpdateSubject as ba, type ArtifactRef as bb, type BackgroundAgentProgressEvent as bc, type BackgroundAgentStatusRequest as bd, type BackgroundAgentStatusResponse as be, type CSATAnswer as bf, type CSATConfig as bg, type CSATQuestion as bh, type CSATResponse as bi, type CSATSurvey as bj, ChatAgentExecuteSubject as bk, ChatAgentStatusSubject as bl, CheckBackgroundAgentStatusToolSubject as bm, type CreateAgentJobRequest as bn, type CreateAgentRequest as bo, type CreateAgentWidgetRequest as bp, type CreateExecutionPlanRequest as bq, type CreateExecutionPlanResponse as br, type CreateSkillRequest as bs, type CreateSubAgentRequest as bt, type CreateToolDefinitionRequest as bu, type CustomizableField as bv, type DefaultDefinitions as bw, type DeleteAgentRequest as bx, type DeleteAgentWidgetRequest as by, type DeleteSkillRequest as bz, AgentCategoryFinance as c, MergeStrategyReplace as c$, type GetDefaultAgentRequest as c0, type GetDefaultWidgetRequest as c1, type GetExecutionRequest as c2, type GetSkillRequest as c3, type GetSkillUserConfigRequest as c4, type GetSkillsByIDsRequest as c5, type GetSkillsByIDsResponse as c6, type GetSubAgentRequest as c7, type GetSubAgentsByIDsRequest as c8, type GetSubAgentsByIDsResponse as c9, JobScopeTeam as cA, type JobStatus as cB, JobStatusActive as cC, JobStatusDisabled as cD, JobStatusExecuting as cE, JobStatusPaused as cF, type JobStatusTS as cG, type ListAgentJobsRequest as cH, type ListAgentWidgetsRequest as cI, type ListAgentWidgetsResponse as cJ, type ListAgentsRequest as cK, type ListAgentsResponse as cL, type ListAgentsSummaryRequest as cM, type ListAgentsSummaryResponse as cN, type ListExecutionsByAgentRequest as cO, type ListExecutionsByJobRequest as cP, type ListExecutionsResponse as cQ, type ListSkillUserConfigRequest as cR, type ListSkillsRequest as cS, type ListSubAgentsRequest as cT, type ListToolDefinitionsRequest as cU, type MCPServerConfig as cV, MaxExecutions as cW, type MergeConfig as cX, type MergeStrategy as cY, MergeStrategyAppend as cZ, MergeStrategyMerge as c_, type GetToolDefinitionRequest as ca, type GetToolDefinitionsByIDsRequest as cb, type GetToolDefinitionsByIDsResponse as cc, type GetWidgetByWidgetIDRequest as cd, type GetWidgetConfigRequest as ce, type GetWidgetConfigResponse as cf, type HandoffConfig as cg, type IntegrationRequirement as ch, type JobExecution as ci, JobExecutionGetSubject as cj, JobExecutionListSubject as ck, type JobExecutionResult as cl, type JobExecutionStatus as cm, JobExecutionStatusFailed as cn, JobExecutionStatusRunning as co, JobExecutionStatusSuccess as cp, type JobExecutionStatusTS as cq, JobExecutionStatusTimedOut as cr, type JobFrequency as cs, JobFrequencyOneTime as ct, JobFrequencySchedule as cu, type JobFrequencyTS as cv, type JobScope as cw, JobScopeOrg as cx, JobScopePrivate as cy, type JobScopeTS as cz, AgentCategoryGeneral as d, SubAgentsDeleteSubject as d$, type MergeStrategyTS as d0, type PlanApprovalConfig as d1, type PlanStatus as d2, PlanStatusApproved as d3, PlanStatusCancelled as d4, PlanStatusCompleted as d5, PlanStatusExecuting as d6, PlanStatusPendingApproval as d7, PlanStatusRejected as d8, type PlanStatusTS as d9, SkillCategoryIntegration as dA, SkillCategoryProductivity as dB, type SkillCategoryTS as dC, SkillResolveConfigSubject as dD, type SkillResponse as dE, type SkillUserConfig as dF, SkillUserConfigDeleteSubject as dG, SkillUserConfigGetSubject as dH, type SkillUserConfigListResponse as dI, SkillUserConfigListSubject as dJ, type SkillUserConfigResponse as dK, SkillUserConfigUpdateSubject as dL, SkillsCreateSubject as dM, SkillsCreatedSubject as dN, SkillsDeleteSubject as dO, SkillsDeletedSubject as dP, SkillsGetByIDsSubject as dQ, SkillsGetSubject as dR, type SkillsListResponse as dS, SkillsListSubject as dT, SkillsUpdateOrgConfigSubject as dU, SkillsUpdateSubject as dV, SkillsUpdatedSubject as dW, type SubAgent as dX, type SubAgentResponse as dY, SubAgentsCreateSubject as dZ, SubAgentsCreatedSubject as d_, type PlannedStep as da, type ProcessJobTriggerResult as db, type PublicWidgetConfig as dc, type PublisherType as dd, PublisherTypeEloquent as de, PublisherTypePartner as df, type PublisherTypeTS as dg, type ReactAgentConfig as dh, ReactAgentExecuteSubject as di, ReactAgentStatusSubject as dj, ReactAgentStopSubject as dk, type ResolveSkillConfigRequest as dl, type ResolveSkillConfigResponse as dm, type RetryPolicy as dn, RuntimeJobCompletedSubject as dp, RuntimeJobExecuteSubject as dq, type SaveWidgetConfigRequest as dr, type SaveWidgetConfigResponse as ds, type SetDefaultWidgetRequest as dt, type Skill as du, type SkillCategory as dv, SkillCategoryAnalysis as dw, SkillCategoryCommunication as dx, SkillCategoryCreative as dy, SkillCategoryCustom as dz, AgentCategoryHR as e, type ValidationErrors as e$, SubAgentsDeletedSubject as e0, SubAgentsExecuteSubject as e1, SubAgentsGetByIDsSubject as e2, SubAgentsGetSubject as e3, type SubAgentsListResponse as e4, SubAgentsListSubject as e5, SubAgentsUpdateSubject as e6, SubAgentsUpdatedSubject as e7, SubAgentsValidateSubject as e8, type TTLCleanupRequest as e9, type ToolExecutionStatus as eA, ToolExecutionStatusCompleted as eB, ToolExecutionStatusExecuting as eC, ToolExecutionStatusFailed as eD, ToolExecutionStatusSkipped as eE, ToolExecutionStatusStarted as eF, type ToolExecutionStatusTS as eG, ToolExecutionStatusTimeout as eH, type TriggerBackgroundAgentRequest as eI, type TriggerBackgroundAgentResponse as eJ, TriggerBackgroundAgentToolSubject as eK, type UpdateAgentJobRequest as eL, type UpdateAgentRequest as eM, type UpdateAgentSkillConfigRequest as eN, type UpdateAgentWidgetRequest as eO, type UpdateOrgAgentsRequest as eP, type UpdateOrgAgentsResponse as eQ, type UpdateSkillOrgConfigRequest as eR, type UpdateSkillRequest as eS, type UpdateSkillUserConfigRequest as eT, type UpdateSubAgentRequest as eU, type UpdateToolDefinitionRequest as eV, type UserSuggestedAction as eW, type UserSuggestedActionsConfig as eX, type UserSuggestedActionsRequest as eY, type UserSuggestedActionsResponse as eZ, type ValidationError as e_, type TTLCleanupResponse as ea, type TaskStatusTS as eb, type TemplateCategoryCount as ec, type TemplateFilters as ed, type TemplateStatus as ee, TemplateStatusDraft as ef, TemplateStatusPublished as eg, type TemplateStatusTS as eh, type ToolConfig as ei, type ToolDefinition as ej, type ToolDefinitionResponse as ek, ToolDefinitionsCreateSubject as el, ToolDefinitionsCreatedSubject as em, ToolDefinitionsDeleteSubject as en, ToolDefinitionsDeletedSubject as eo, ToolDefinitionsExecuteSubject as ep, ToolDefinitionsGetByIDsSubject as eq, ToolDefinitionsGetSubject as er, type ToolDefinitionsListResponse as es, ToolDefinitionsListSubject as et, ToolDefinitionsUpdateSubject as eu, ToolDefinitionsUpdatedSubject as ev, ToolDefinitionsValidateSubject as ew, type ToolExecution as ex, type ToolExecutionPolicy as ey, type ToolExecutionProgress as ez, AgentCategoryMarketing as f, type WidgetAppearance as f0, type WidgetBehavior as f1, type WidgetConfig as f2, WidgetConfigGetByAgentSubject as f3, WidgetConfigSaveSubject as f4, type WidgetSecurity as f5, WorkflowAgentGetSubject as f6, WorkflowAgentUpdateSubject as f7, AgentCategoryProductivity as g, AgentCategoryResearch as h, AgentCategorySales as i, AgentCategorySupport as j, type AgentCategoryTS as k, AgentCategoryWriting as l, AgentChatCreateSubject as m, AgentChatGetSubject as n, AgentChatUpdateSubject as o, AgentChatValidateSubject as p, AgentCloneSubject as q, type AgentContext as r, type AgentContextConfig as s, AgentCreateSubject as t, AgentCreatedSubject as u, AgentDeleteSubject as v, AgentDeletedSubject as w, AgentEnsureDefaultSubject as x, AgentExecuteStatusSubject as y, AgentExecuteStopSubject as z };
@@ -1,4 +1,4 @@
1
- import { ProductNameTS, JSONSchema, ResponseMetadata } from '@elqnt/types';
1
+ import { JSONSchema, ResponseMetadata } from '@elqnt/types';
2
2
 
3
3
  /**
4
4
  * AgentContext accumulates meaningful state from agentic tool executions.
@@ -747,16 +747,17 @@ interface TriggerBackgroundAgentRequest {
747
747
  enableSSE?: boolean;
748
748
  /**
749
749
  * v2: when set, the run is anchored to a Done task. The agents service
750
- * auto-attaches the done_tasks skill so the agent can call
751
- * post_task_update / set_task_output / request_task_help even if its
752
- * declared SkillNames doesn't include done_tasks.
750
+ * auto-attaches the done_tasks skill so the agent can post_task_update,
751
+ * set_task_output, request_task_help even if the agent's declared
752
+ * SkillNames doesn't include done_tasks. The taskId is also surfaced in
753
+ * execution metadata so downstream tools can reference it.
753
754
  */
754
755
  taskId?: string;
755
756
  /**
756
757
  * v2: when set, the run uses this library for knowledge_search by default.
757
758
  * Sourced from the parent task's project.libraryId at dispatch time.
758
- * The runtime injects this into knowledge_search tool calls; the agent
759
- * does NOT need to pass library_id explicitly.
759
+ * The runtime injects it into knowledge_search tool dispatch so the agent
760
+ * doesn't need to pass library_id explicitly.
760
761
  */
761
762
  libraryId?: string;
762
763
  }
@@ -887,6 +888,14 @@ interface Skill {
887
888
  displayOrder?: number;
888
889
  createdAt?: string;
889
890
  updatedAt?: string;
891
+ /**
892
+ * ArtifactVersion drives the system_skills reconciler upsert guard
893
+ * (rows update only when the registry version is greater). Bump this on
894
+ * any change to a skill's definition (tools, ConfigSchema, prompt) so the
895
+ * new shape propagates to system_skills across existing orgs/environments.
896
+ * Unset (0) is treated as version 1 by the reconciler.
897
+ */
898
+ artifactVersion?: number;
890
899
  }
891
900
  /**
892
901
  * AgentSkill represents an agent's configuration for a specific skill
@@ -1018,7 +1027,7 @@ interface AgentTool {
1018
1027
  interface Agent {
1019
1028
  id?: string;
1020
1029
  orgId: string;
1021
- product: ProductNameTS;
1030
+ product: string;
1022
1031
  type: AgentTypeTS;
1023
1032
  subType: AgentSubTypeTS;
1024
1033
  name: string;
@@ -1115,6 +1124,14 @@ interface Agent {
1115
1124
  updatedAt: string;
1116
1125
  createdBy: string;
1117
1126
  updatedBy: string;
1127
+ /**
1128
+ * === ARTIFACT VERSIONING ===
1129
+ * Bumped in the registry (backend/services/admin/artifacts/<product>/agents.go)
1130
+ * whenever the platform-shipped agent changes meaningfully. The artifact
1131
+ * reconciler diffs this against installed_artifact_versions to roll
1132
+ * updates out to existing customer orgs. See skill 29-data-changes §C.
1133
+ */
1134
+ artifactVersion?: number;
1118
1135
  metadata?: {
1119
1136
  [key: string]: any;
1120
1137
  };
@@ -1142,6 +1159,7 @@ interface WidgetConfig {
1142
1159
  * WidgetAppearance defines the visual customization of the widget
1143
1160
  */
1144
1161
  interface WidgetAppearance {
1162
+ widgetStyle?: string;
1145
1163
  position: string;
1146
1164
  primaryColor: string;
1147
1165
  backgroundColor: string;
@@ -1149,6 +1167,7 @@ interface WidgetAppearance {
1149
1167
  borderRadius: number;
1150
1168
  bubbleSize: number;
1151
1169
  bubbleIconUrl?: string;
1170
+ bubbleBackgroundColor?: string;
1152
1171
  }
1153
1172
  /**
1154
1173
  * WidgetBehavior defines the behavioral settings of the widget
@@ -1169,7 +1188,7 @@ interface WidgetSecurity {
1169
1188
  * AgentFilters for filtering agents in list operations
1170
1189
  */
1171
1190
  interface AgentFilters {
1172
- product?: ProductNameTS;
1191
+ product?: string;
1173
1192
  type?: AgentType;
1174
1193
  subType?: AgentSubType;
1175
1194
  status?: AgentStatus;
@@ -2173,6 +2192,22 @@ declare const AgentJobResumeSubject = "agents.jobs.resume";
2173
2192
  * Job Trigger (from Scheduler Service)
2174
2193
  */
2175
2194
  declare const AgentJobTriggerSubject = "agents.job.trigger";
2195
+ /**
2196
+ * Task Schedule Trigger (from Scheduler Service) — drives recurring Done
2197
+ * tasks. Each tick fans out across orgs, finds tasks whose schedule is due
2198
+ * (schedule.nextRunAt <= now), and dispatches a one-time agent run per task
2199
+ * (the task itself is the recurring definition; see task_schedule_handler.go).
2200
+ */
2201
+ declare const AgentTaskTriggerSubject = "agents.task.trigger";
2202
+ /**
2203
+ * Todo Schedule Trigger (from Scheduler Service) — drives scheduled and
2204
+ * recurring Todo items. Each tick fans out across orgs, finds todo_item
2205
+ * records whose schedule is due (schedule.nextRunAt <= now), and either
2206
+ * fires a reminder to the owner (reminder-only todos) or dispatches a
2207
+ * one-time agent run that does the work then notifies the owner
2208
+ * (agent-task todos). See todo_schedule_handler.go.
2209
+ */
2210
+ declare const AgentTodoTriggerSubject = "agents.todo.trigger";
2176
2211
  /**
2177
2212
  * Background Agent Tool Subjects (from chat agent tool calls)
2178
2213
  */
@@ -2561,4 +2596,4 @@ interface PublicWidgetConfig {
2561
2596
  behavior: WidgetBehavior;
2562
2597
  }
2563
2598
 
2564
- export { AgentJobDeleteSubject as $, type Agent as A, AgentExecuteSubject as B, type AgentExecution as C, AgentExportSubject as D, type AgentFilters as E, AgentFromTemplateSubject as F, AgentGetByOrgSubject as G, AgentGetDefaultSubject as H, AgentGetSubject as I, AgentImportSubject as J, AgentInstanceCancelPlanSubject as K, AgentInstanceClearHistorySubject as L, AgentInstanceCreatePlanSubject as M, AgentInstanceCreateSubject as N, AgentInstanceCreatedSubject as O, AgentInstanceDeleteSubject as P, AgentInstanceDeletedSubject as Q, AgentInstanceExecutePlanSubject as R, AgentInstanceGetHistorySubject as S, AgentInstanceGetSubject as T, AgentInstanceListSubject as U, AgentInstancePausePlanSubject as V, AgentInstanceResumePlanSubject as W, AgentInstanceUpdateSubject as X, AgentInstanceUpdatedSubject as Y, type AgentJob as Z, AgentJobCreateSubject as _, type AgentCategory as a, type AgentWidget as a$, AgentJobGetSubject as a0, type AgentJobIDRequest as a1, AgentJobListSubject as a2, AgentJobPauseSubject as a3, type AgentJobResponse as a4, AgentJobResumeSubject as a5, type AgentJobTriggerRequest as a6, type AgentJobTriggerResponse as a7, AgentJobTriggerSubject as a8, AgentJobUpdateSubject as a9, type AgentStatusTS as aA, type AgentStatusUpdate as aB, type AgentSubType as aC, AgentSubTypeChat as aD, AgentSubTypeDocument as aE, AgentSubTypeReact as aF, type AgentSubTypeTS as aG, AgentSubTypeWorkflow as aH, type AgentSummary as aI, type AgentTemplate as aJ, AgentTemplateGetSubject as aK, AgentTemplateListSubject as aL, type AgentTool as aM, type AgentToolConfiguration as aN, type AgentType as aO, AgentTypeChat as aP, AgentTypeReact as aQ, type AgentTypeTS as aR, AgentUpdateOrgSubject as aS, AgentUpdateSubject as aT, AgentUpdatedSubject as aU, AgentVersionActivateSubject as aV, AgentVersionActivatedSubject as aW, AgentVersionCreateSubject as aX, AgentVersionCreatedSubject as aY, AgentVersionGetSubject as aZ, AgentVersionListSubject as a_, type AgentJobsListResponse as aa, AgentListSubject as ab, AgentListSummarySubject as ac, type AgentProvisionDefinition as ad, AgentReactCreateSubject as ae, AgentReactGetSubject as af, AgentReactUpdateSubject as ag, AgentReactValidateSubject as ah, type AgentResponse as ai, type AgentScope as aj, AgentScopeCustom as ak, AgentScopeOrg as al, type AgentScopeTS as am, AgentScopeTeam as an, AgentScopeUser as ao, AgentSearchSubject as ap, type AgentSkill as aq, type AgentSkillConfigResponse as ar, AgentSkillGetConfigSubject as as, type AgentSkillTool as at, AgentSkillUpdateConfigSubject as au, type AgentStatus as av, AgentStatusActive as aw, AgentStatusArchived as ax, AgentStatusDraft as ay, AgentStatusInactive as az, AgentCategoryDevelopment as b, type GetDefaultWidgetRequest as b$, type AgentWidgetResponse as b0, AgentWidgetsCreateSubject as b1, AgentWidgetsDeleteSubject as b2, AgentWidgetsGetByWidgetID as b3, AgentWidgetsGetDefaultSubject as b4, AgentWidgetsGetSubject as b5, AgentWidgetsListSubject as b6, AgentWidgetsSetDefaultSubject as b7, AgentWidgetsUpdateSubject as b8, type ArtifactRef as b9, type DeleteToolDefinitionRequest as bA, type ExecuteJobRequest as bB, type ExecutePlanRequest as bC, type ExecutePlanResponse as bD, type ExecuteToolRequest as bE, type ExecuteToolResponse as bF, type ExecutionCompletedEvent as bG, type ExecutionMode as bH, ExecutionModeAsync as bI, ExecutionModeAsyncClient as bJ, ExecutionModeSync as bK, type ExecutionModeTS as bL, type ExecutionPlan as bM, type ExecutionResponse as bN, type ExecutionStatus as bO, ExecutionStatusCompleted as bP, ExecutionStatusFailed as bQ, ExecutionStatusPending as bR, ExecutionStatusRunning as bS, ExecutionStatusSkipped as bT, type ExecutionStatusTS as bU, ExecutionTTLHours as bV, ExecutionsTTLCleanupSubject as bW, type GetAgentRequest as bX, type GetAgentSkillConfigRequest as bY, type GetAgentWidgetRequest as bZ, type GetDefaultAgentRequest as b_, type BackgroundAgentProgressEvent as ba, type BackgroundAgentStatusRequest as bb, type BackgroundAgentStatusResponse as bc, type CSATAnswer as bd, type CSATConfig as be, type CSATQuestion as bf, type CSATResponse as bg, type CSATSurvey as bh, ChatAgentExecuteSubject as bi, ChatAgentStatusSubject as bj, CheckBackgroundAgentStatusToolSubject as bk, type CreateAgentJobRequest as bl, type CreateAgentRequest as bm, type CreateAgentWidgetRequest as bn, type CreateExecutionPlanRequest as bo, type CreateExecutionPlanResponse as bp, type CreateSkillRequest as bq, type CreateSubAgentRequest as br, type CreateToolDefinitionRequest as bs, type CustomizableField as bt, type DefaultDefinitions as bu, type DeleteAgentRequest as bv, type DeleteAgentWidgetRequest as bw, type DeleteSkillRequest as bx, type DeleteSkillUserConfigRequest as by, type DeleteSubAgentRequest as bz, AgentCategoryFinance as c, type PlanApprovalConfig as c$, type GetExecutionRequest as c0, type GetSkillRequest as c1, type GetSkillUserConfigRequest as c2, type GetSkillsByIDsRequest as c3, type GetSkillsByIDsResponse as c4, type GetSubAgentRequest as c5, type GetSubAgentsByIDsRequest as c6, type GetSubAgentsByIDsResponse as c7, type GetToolDefinitionRequest as c8, type GetToolDefinitionsByIDsRequest as c9, JobStatusActive as cA, JobStatusDisabled as cB, JobStatusExecuting as cC, JobStatusPaused as cD, type JobStatusTS as cE, type ListAgentJobsRequest as cF, type ListAgentWidgetsRequest as cG, type ListAgentWidgetsResponse as cH, type ListAgentsRequest as cI, type ListAgentsResponse as cJ, type ListAgentsSummaryRequest as cK, type ListAgentsSummaryResponse as cL, type ListExecutionsByAgentRequest as cM, type ListExecutionsByJobRequest as cN, type ListExecutionsResponse as cO, type ListSkillUserConfigRequest as cP, type ListSkillsRequest as cQ, type ListSubAgentsRequest as cR, type ListToolDefinitionsRequest as cS, type MCPServerConfig as cT, MaxExecutions as cU, type MergeConfig as cV, type MergeStrategy as cW, MergeStrategyAppend as cX, MergeStrategyMerge as cY, MergeStrategyReplace as cZ, type MergeStrategyTS as c_, type GetToolDefinitionsByIDsResponse as ca, type GetWidgetByWidgetIDRequest as cb, type GetWidgetConfigRequest as cc, type GetWidgetConfigResponse as cd, type HandoffConfig as ce, type IntegrationRequirement as cf, type JobExecution as cg, JobExecutionGetSubject as ch, JobExecutionListSubject as ci, type JobExecutionResult as cj, type JobExecutionStatus as ck, JobExecutionStatusFailed as cl, JobExecutionStatusRunning as cm, JobExecutionStatusSuccess as cn, type JobExecutionStatusTS as co, JobExecutionStatusTimedOut as cp, type JobFrequency as cq, JobFrequencyOneTime as cr, JobFrequencySchedule as cs, type JobFrequencyTS as ct, type JobScope as cu, JobScopeOrg as cv, JobScopePrivate as cw, type JobScopeTS as cx, JobScopeTeam as cy, type JobStatus as cz, AgentCategoryGeneral as d, SubAgentsExecuteSubject as d$, type PlanStatus as d0, PlanStatusApproved as d1, PlanStatusCancelled as d2, PlanStatusCompleted as d3, PlanStatusExecuting as d4, PlanStatusPendingApproval as d5, PlanStatusRejected as d6, type PlanStatusTS as d7, type PlannedStep as d8, type ProcessJobTriggerResult as d9, type SkillCategoryTS as dA, SkillResolveConfigSubject as dB, type SkillResponse as dC, type SkillUserConfig as dD, SkillUserConfigDeleteSubject as dE, SkillUserConfigGetSubject as dF, type SkillUserConfigListResponse as dG, SkillUserConfigListSubject as dH, type SkillUserConfigResponse as dI, SkillUserConfigUpdateSubject as dJ, SkillsCreateSubject as dK, SkillsCreatedSubject as dL, SkillsDeleteSubject as dM, SkillsDeletedSubject as dN, SkillsGetByIDsSubject as dO, SkillsGetSubject as dP, type SkillsListResponse as dQ, SkillsListSubject as dR, SkillsUpdateOrgConfigSubject as dS, SkillsUpdateSubject as dT, SkillsUpdatedSubject as dU, type SubAgent as dV, type SubAgentResponse as dW, SubAgentsCreateSubject as dX, SubAgentsCreatedSubject as dY, SubAgentsDeleteSubject as dZ, SubAgentsDeletedSubject as d_, type PublicWidgetConfig as da, type PublisherType as db, PublisherTypeEloquent as dc, PublisherTypePartner as dd, type PublisherTypeTS as de, type ReactAgentConfig as df, ReactAgentExecuteSubject as dg, ReactAgentStatusSubject as dh, ReactAgentStopSubject as di, type ResolveSkillConfigRequest as dj, type ResolveSkillConfigResponse as dk, type RetryPolicy as dl, RuntimeJobCompletedSubject as dm, RuntimeJobExecuteSubject as dn, type SaveWidgetConfigRequest as dp, type SaveWidgetConfigResponse as dq, type SetDefaultWidgetRequest as dr, type Skill as ds, type SkillCategory as dt, SkillCategoryAnalysis as du, SkillCategoryCommunication as dv, SkillCategoryCreative as dw, SkillCategoryCustom as dx, SkillCategoryIntegration as dy, SkillCategoryProductivity as dz, AgentCategoryHR as e, type WidgetBehavior as e$, SubAgentsGetByIDsSubject as e0, SubAgentsGetSubject as e1, type SubAgentsListResponse as e2, SubAgentsListSubject as e3, SubAgentsUpdateSubject as e4, SubAgentsUpdatedSubject as e5, SubAgentsValidateSubject as e6, type TTLCleanupRequest as e7, type TTLCleanupResponse as e8, type TaskStatusTS as e9, ToolExecutionStatusExecuting as eA, ToolExecutionStatusFailed as eB, ToolExecutionStatusSkipped as eC, ToolExecutionStatusStarted as eD, type ToolExecutionStatusTS as eE, ToolExecutionStatusTimeout as eF, type TriggerBackgroundAgentRequest as eG, type TriggerBackgroundAgentResponse as eH, TriggerBackgroundAgentToolSubject as eI, type UpdateAgentJobRequest as eJ, type UpdateAgentRequest as eK, type UpdateAgentSkillConfigRequest as eL, type UpdateAgentWidgetRequest as eM, type UpdateOrgAgentsRequest as eN, type UpdateOrgAgentsResponse as eO, type UpdateSkillOrgConfigRequest as eP, type UpdateSkillRequest as eQ, type UpdateSkillUserConfigRequest as eR, type UpdateSubAgentRequest as eS, type UpdateToolDefinitionRequest as eT, type UserSuggestedAction as eU, type UserSuggestedActionsConfig as eV, type UserSuggestedActionsRequest as eW, type UserSuggestedActionsResponse as eX, type ValidationError as eY, type ValidationErrors as eZ, type WidgetAppearance as e_, type TemplateCategoryCount as ea, type TemplateFilters as eb, type TemplateStatus as ec, TemplateStatusDraft as ed, TemplateStatusPublished as ee, type TemplateStatusTS as ef, type ToolConfig as eg, type ToolDefinition as eh, type ToolDefinitionResponse as ei, ToolDefinitionsCreateSubject as ej, ToolDefinitionsCreatedSubject as ek, ToolDefinitionsDeleteSubject as el, ToolDefinitionsDeletedSubject as em, ToolDefinitionsExecuteSubject as en, ToolDefinitionsGetByIDsSubject as eo, ToolDefinitionsGetSubject as ep, type ToolDefinitionsListResponse as eq, ToolDefinitionsListSubject as er, ToolDefinitionsUpdateSubject as es, ToolDefinitionsUpdatedSubject as et, ToolDefinitionsValidateSubject as eu, type ToolExecution as ev, type ToolExecutionPolicy as ew, type ToolExecutionProgress as ex, type ToolExecutionStatus as ey, ToolExecutionStatusCompleted as ez, AgentCategoryMarketing as f, type WidgetConfig as f0, WidgetConfigGetByAgentSubject as f1, WidgetConfigSaveSubject as f2, type WidgetSecurity as f3, WorkflowAgentGetSubject as f4, WorkflowAgentUpdateSubject as f5, AgentCategoryProductivity as g, AgentCategoryResearch as h, AgentCategorySales as i, AgentCategorySupport as j, type AgentCategoryTS as k, AgentCategoryWriting as l, AgentChatCreateSubject as m, AgentChatGetSubject as n, AgentChatUpdateSubject as o, AgentChatValidateSubject as p, AgentCloneSubject as q, type AgentContext as r, type AgentContextConfig as s, AgentCreateSubject as t, AgentCreatedSubject as u, AgentDeleteSubject as v, AgentDeletedSubject as w, AgentEnsureDefaultSubject as x, AgentExecuteStatusSubject as y, AgentExecuteStopSubject as z };
2599
+ export { AgentJobDeleteSubject as $, type Agent as A, AgentExecuteSubject as B, type AgentExecution as C, AgentExportSubject as D, type AgentFilters as E, AgentFromTemplateSubject as F, AgentGetByOrgSubject as G, AgentGetDefaultSubject as H, AgentGetSubject as I, AgentImportSubject as J, AgentInstanceCancelPlanSubject as K, AgentInstanceClearHistorySubject as L, AgentInstanceCreatePlanSubject as M, AgentInstanceCreateSubject as N, AgentInstanceCreatedSubject as O, AgentInstanceDeleteSubject as P, AgentInstanceDeletedSubject as Q, AgentInstanceExecutePlanSubject as R, AgentInstanceGetHistorySubject as S, AgentInstanceGetSubject as T, AgentInstanceListSubject as U, AgentInstancePausePlanSubject as V, AgentInstanceResumePlanSubject as W, AgentInstanceUpdateSubject as X, AgentInstanceUpdatedSubject as Y, type AgentJob as Z, AgentJobCreateSubject as _, type AgentCategory as a, AgentVersionGetSubject as a$, AgentJobGetSubject as a0, type AgentJobIDRequest as a1, AgentJobListSubject as a2, AgentJobPauseSubject as a3, type AgentJobResponse as a4, AgentJobResumeSubject as a5, type AgentJobTriggerRequest as a6, type AgentJobTriggerResponse as a7, AgentJobTriggerSubject as a8, AgentJobUpdateSubject as a9, type AgentStatusTS as aA, type AgentStatusUpdate as aB, type AgentSubType as aC, AgentSubTypeChat as aD, AgentSubTypeDocument as aE, AgentSubTypeReact as aF, type AgentSubTypeTS as aG, AgentSubTypeWorkflow as aH, type AgentSummary as aI, AgentTaskTriggerSubject as aJ, type AgentTemplate as aK, AgentTemplateGetSubject as aL, AgentTemplateListSubject as aM, AgentTodoTriggerSubject as aN, type AgentTool as aO, type AgentToolConfiguration as aP, type AgentType as aQ, AgentTypeChat as aR, AgentTypeReact as aS, type AgentTypeTS as aT, AgentUpdateOrgSubject as aU, AgentUpdateSubject as aV, AgentUpdatedSubject as aW, AgentVersionActivateSubject as aX, AgentVersionActivatedSubject as aY, AgentVersionCreateSubject as aZ, AgentVersionCreatedSubject as a_, type AgentJobsListResponse as aa, AgentListSubject as ab, AgentListSummarySubject as ac, type AgentProvisionDefinition as ad, AgentReactCreateSubject as ae, AgentReactGetSubject as af, AgentReactUpdateSubject as ag, AgentReactValidateSubject as ah, type AgentResponse as ai, type AgentScope as aj, AgentScopeCustom as ak, AgentScopeOrg as al, type AgentScopeTS as am, AgentScopeTeam as an, AgentScopeUser as ao, AgentSearchSubject as ap, type AgentSkill as aq, type AgentSkillConfigResponse as ar, AgentSkillGetConfigSubject as as, type AgentSkillTool as at, AgentSkillUpdateConfigSubject as au, type AgentStatus as av, AgentStatusActive as aw, AgentStatusArchived as ax, AgentStatusDraft as ay, AgentStatusInactive as az, AgentCategoryDevelopment as b, type GetAgentWidgetRequest as b$, AgentVersionListSubject as b0, type AgentWidget as b1, type AgentWidgetResponse as b2, AgentWidgetsCreateSubject as b3, AgentWidgetsDeleteSubject as b4, AgentWidgetsGetByWidgetID as b5, AgentWidgetsGetDefaultSubject as b6, AgentWidgetsGetSubject as b7, AgentWidgetsListSubject as b8, AgentWidgetsSetDefaultSubject as b9, type DeleteSkillUserConfigRequest as bA, type DeleteSubAgentRequest as bB, type DeleteToolDefinitionRequest as bC, type ExecuteJobRequest as bD, type ExecutePlanRequest as bE, type ExecutePlanResponse as bF, type ExecuteToolRequest as bG, type ExecuteToolResponse as bH, type ExecutionCompletedEvent as bI, type ExecutionMode as bJ, ExecutionModeAsync as bK, ExecutionModeAsyncClient as bL, ExecutionModeSync as bM, type ExecutionModeTS as bN, type ExecutionPlan as bO, type ExecutionResponse as bP, type ExecutionStatus as bQ, ExecutionStatusCompleted as bR, ExecutionStatusFailed as bS, ExecutionStatusPending as bT, ExecutionStatusRunning as bU, ExecutionStatusSkipped as bV, type ExecutionStatusTS as bW, ExecutionTTLHours as bX, ExecutionsTTLCleanupSubject as bY, type GetAgentRequest as bZ, type GetAgentSkillConfigRequest as b_, AgentWidgetsUpdateSubject as ba, type ArtifactRef as bb, type BackgroundAgentProgressEvent as bc, type BackgroundAgentStatusRequest as bd, type BackgroundAgentStatusResponse as be, type CSATAnswer as bf, type CSATConfig as bg, type CSATQuestion as bh, type CSATResponse as bi, type CSATSurvey as bj, ChatAgentExecuteSubject as bk, ChatAgentStatusSubject as bl, CheckBackgroundAgentStatusToolSubject as bm, type CreateAgentJobRequest as bn, type CreateAgentRequest as bo, type CreateAgentWidgetRequest as bp, type CreateExecutionPlanRequest as bq, type CreateExecutionPlanResponse as br, type CreateSkillRequest as bs, type CreateSubAgentRequest as bt, type CreateToolDefinitionRequest as bu, type CustomizableField as bv, type DefaultDefinitions as bw, type DeleteAgentRequest as bx, type DeleteAgentWidgetRequest as by, type DeleteSkillRequest as bz, AgentCategoryFinance as c, MergeStrategyReplace as c$, type GetDefaultAgentRequest as c0, type GetDefaultWidgetRequest as c1, type GetExecutionRequest as c2, type GetSkillRequest as c3, type GetSkillUserConfigRequest as c4, type GetSkillsByIDsRequest as c5, type GetSkillsByIDsResponse as c6, type GetSubAgentRequest as c7, type GetSubAgentsByIDsRequest as c8, type GetSubAgentsByIDsResponse as c9, JobScopeTeam as cA, type JobStatus as cB, JobStatusActive as cC, JobStatusDisabled as cD, JobStatusExecuting as cE, JobStatusPaused as cF, type JobStatusTS as cG, type ListAgentJobsRequest as cH, type ListAgentWidgetsRequest as cI, type ListAgentWidgetsResponse as cJ, type ListAgentsRequest as cK, type ListAgentsResponse as cL, type ListAgentsSummaryRequest as cM, type ListAgentsSummaryResponse as cN, type ListExecutionsByAgentRequest as cO, type ListExecutionsByJobRequest as cP, type ListExecutionsResponse as cQ, type ListSkillUserConfigRequest as cR, type ListSkillsRequest as cS, type ListSubAgentsRequest as cT, type ListToolDefinitionsRequest as cU, type MCPServerConfig as cV, MaxExecutions as cW, type MergeConfig as cX, type MergeStrategy as cY, MergeStrategyAppend as cZ, MergeStrategyMerge as c_, type GetToolDefinitionRequest as ca, type GetToolDefinitionsByIDsRequest as cb, type GetToolDefinitionsByIDsResponse as cc, type GetWidgetByWidgetIDRequest as cd, type GetWidgetConfigRequest as ce, type GetWidgetConfigResponse as cf, type HandoffConfig as cg, type IntegrationRequirement as ch, type JobExecution as ci, JobExecutionGetSubject as cj, JobExecutionListSubject as ck, type JobExecutionResult as cl, type JobExecutionStatus as cm, JobExecutionStatusFailed as cn, JobExecutionStatusRunning as co, JobExecutionStatusSuccess as cp, type JobExecutionStatusTS as cq, JobExecutionStatusTimedOut as cr, type JobFrequency as cs, JobFrequencyOneTime as ct, JobFrequencySchedule as cu, type JobFrequencyTS as cv, type JobScope as cw, JobScopeOrg as cx, JobScopePrivate as cy, type JobScopeTS as cz, AgentCategoryGeneral as d, SubAgentsDeleteSubject as d$, type MergeStrategyTS as d0, type PlanApprovalConfig as d1, type PlanStatus as d2, PlanStatusApproved as d3, PlanStatusCancelled as d4, PlanStatusCompleted as d5, PlanStatusExecuting as d6, PlanStatusPendingApproval as d7, PlanStatusRejected as d8, type PlanStatusTS as d9, SkillCategoryIntegration as dA, SkillCategoryProductivity as dB, type SkillCategoryTS as dC, SkillResolveConfigSubject as dD, type SkillResponse as dE, type SkillUserConfig as dF, SkillUserConfigDeleteSubject as dG, SkillUserConfigGetSubject as dH, type SkillUserConfigListResponse as dI, SkillUserConfigListSubject as dJ, type SkillUserConfigResponse as dK, SkillUserConfigUpdateSubject as dL, SkillsCreateSubject as dM, SkillsCreatedSubject as dN, SkillsDeleteSubject as dO, SkillsDeletedSubject as dP, SkillsGetByIDsSubject as dQ, SkillsGetSubject as dR, type SkillsListResponse as dS, SkillsListSubject as dT, SkillsUpdateOrgConfigSubject as dU, SkillsUpdateSubject as dV, SkillsUpdatedSubject as dW, type SubAgent as dX, type SubAgentResponse as dY, SubAgentsCreateSubject as dZ, SubAgentsCreatedSubject as d_, type PlannedStep as da, type ProcessJobTriggerResult as db, type PublicWidgetConfig as dc, type PublisherType as dd, PublisherTypeEloquent as de, PublisherTypePartner as df, type PublisherTypeTS as dg, type ReactAgentConfig as dh, ReactAgentExecuteSubject as di, ReactAgentStatusSubject as dj, ReactAgentStopSubject as dk, type ResolveSkillConfigRequest as dl, type ResolveSkillConfigResponse as dm, type RetryPolicy as dn, RuntimeJobCompletedSubject as dp, RuntimeJobExecuteSubject as dq, type SaveWidgetConfigRequest as dr, type SaveWidgetConfigResponse as ds, type SetDefaultWidgetRequest as dt, type Skill as du, type SkillCategory as dv, SkillCategoryAnalysis as dw, SkillCategoryCommunication as dx, SkillCategoryCreative as dy, SkillCategoryCustom as dz, AgentCategoryHR as e, type ValidationErrors as e$, SubAgentsDeletedSubject as e0, SubAgentsExecuteSubject as e1, SubAgentsGetByIDsSubject as e2, SubAgentsGetSubject as e3, type SubAgentsListResponse as e4, SubAgentsListSubject as e5, SubAgentsUpdateSubject as e6, SubAgentsUpdatedSubject as e7, SubAgentsValidateSubject as e8, type TTLCleanupRequest as e9, type ToolExecutionStatus as eA, ToolExecutionStatusCompleted as eB, ToolExecutionStatusExecuting as eC, ToolExecutionStatusFailed as eD, ToolExecutionStatusSkipped as eE, ToolExecutionStatusStarted as eF, type ToolExecutionStatusTS as eG, ToolExecutionStatusTimeout as eH, type TriggerBackgroundAgentRequest as eI, type TriggerBackgroundAgentResponse as eJ, TriggerBackgroundAgentToolSubject as eK, type UpdateAgentJobRequest as eL, type UpdateAgentRequest as eM, type UpdateAgentSkillConfigRequest as eN, type UpdateAgentWidgetRequest as eO, type UpdateOrgAgentsRequest as eP, type UpdateOrgAgentsResponse as eQ, type UpdateSkillOrgConfigRequest as eR, type UpdateSkillRequest as eS, type UpdateSkillUserConfigRequest as eT, type UpdateSubAgentRequest as eU, type UpdateToolDefinitionRequest as eV, type UserSuggestedAction as eW, type UserSuggestedActionsConfig as eX, type UserSuggestedActionsRequest as eY, type UserSuggestedActionsResponse as eZ, type ValidationError as e_, type TTLCleanupResponse as ea, type TaskStatusTS as eb, type TemplateCategoryCount as ec, type TemplateFilters as ed, type TemplateStatus as ee, TemplateStatusDraft as ef, TemplateStatusPublished as eg, type TemplateStatusTS as eh, type ToolConfig as ei, type ToolDefinition as ej, type ToolDefinitionResponse as ek, ToolDefinitionsCreateSubject as el, ToolDefinitionsCreatedSubject as em, ToolDefinitionsDeleteSubject as en, ToolDefinitionsDeletedSubject as eo, ToolDefinitionsExecuteSubject as ep, ToolDefinitionsGetByIDsSubject as eq, ToolDefinitionsGetSubject as er, type ToolDefinitionsListResponse as es, ToolDefinitionsListSubject as et, ToolDefinitionsUpdateSubject as eu, ToolDefinitionsUpdatedSubject as ev, ToolDefinitionsValidateSubject as ew, type ToolExecution as ex, type ToolExecutionPolicy as ey, type ToolExecutionProgress as ez, AgentCategoryMarketing as f, type WidgetAppearance as f0, type WidgetBehavior as f1, type WidgetConfig as f2, WidgetConfigGetByAgentSubject as f3, WidgetConfigSaveSubject as f4, type WidgetSecurity as f5, WorkflowAgentGetSubject as f6, WorkflowAgentUpdateSubject as f7, AgentCategoryProductivity as g, AgentCategoryResearch as h, AgentCategorySales as i, AgentCategorySupport as j, type AgentCategoryTS as k, AgentCategoryWriting as l, AgentChatCreateSubject as m, AgentChatGetSubject as n, AgentChatUpdateSubject as o, AgentChatValidateSubject as p, AgentCloneSubject as q, type AgentContext as r, type AgentContextConfig as s, AgentCreateSubject as t, AgentCreatedSubject as u, AgentDeleteSubject as v, AgentDeletedSubject as w, AgentEnsureDefaultSubject as x, AgentExecuteStatusSubject as y, AgentExecuteStopSubject as z };
@@ -1,9 +1,9 @@
1
1
  import { ApiClientOptions, ApiResponse } from '@elqnt/api-client';
2
2
  import { ResponseMetadata } from '@elqnt/types';
3
- import { A as Agent, bc as BackgroundAgentStatusResponse, ai as AgentResponse, Z as AgentJob, a4 as AgentJobResponse, ds as Skill, dC as SkillResponse, dV as SubAgent, dW as SubAgentResponse, eh as ToolDefinition, ei as ToolDefinitionResponse, a$ as AgentWidget, b0 as AgentWidgetResponse, dI as SkillUserConfigResponse, c4 as GetSkillsByIDsResponse, ca as GetToolDefinitionsByIDsResponse, aa as AgentJobsListResponse, cJ as ListAgentsResponse, cL as ListAgentsSummaryResponse, dG as SkillUserConfigListResponse, dQ as SkillsListResponse, e2 as SubAgentsListResponse, eq as ToolDefinitionsListResponse, cH as ListAgentWidgetsResponse, dk as ResolveSkillConfigResponse, eG as TriggerBackgroundAgentRequest, eH as TriggerBackgroundAgentResponse } from '../agent-models-D6WgsFMZ.mjs';
4
- export { aI as AgentSummary, dD as SkillUserConfig } from '../agent-models-D6WgsFMZ.mjs';
5
- import { ap as IntegrationProviderTS, aA as IntegrationTypeTS, e as ConnectIntegrationResponse, h as CreateSandboxRequest, i as CreateSandboxResponse, m as DeleteSandboxResponse, r as DisconnectIntegrationResponse, R as GetUserIntegrationResponse, O as GetSandboxResponse, ai as IntegrationCallbackResponse, aL as ListUserIntegrationsResponse, aJ as ListSandboxesResponse, aT as RefreshIntegrationResponse, aV as RunEmailTriageResponse, b9 as UpdateTriageEnabledResponse, b5 as UpdateSandboxRequest, b6 as UpdateSandboxResponse } from '../sandbox-DOxoM2Ge.mjs';
6
- export { aW as Sandbox, ba as UserIntegration } from '../sandbox-DOxoM2Ge.mjs';
3
+ import { A as Agent, be as BackgroundAgentStatusResponse, ai as AgentResponse, Z as AgentJob, a4 as AgentJobResponse, du as Skill, dE as SkillResponse, dX as SubAgent, dY as SubAgentResponse, ej as ToolDefinition, ek as ToolDefinitionResponse, b1 as AgentWidget, b2 as AgentWidgetResponse, dK as SkillUserConfigResponse, c6 as GetSkillsByIDsResponse, cc as GetToolDefinitionsByIDsResponse, aa as AgentJobsListResponse, cL as ListAgentsResponse, cN as ListAgentsSummaryResponse, dI as SkillUserConfigListResponse, dS as SkillsListResponse, e4 as SubAgentsListResponse, es as ToolDefinitionsListResponse, cJ as ListAgentWidgetsResponse, dm as ResolveSkillConfigResponse, eI as TriggerBackgroundAgentRequest, eJ as TriggerBackgroundAgentResponse } from '../agent-models-B-wTMdwF.mjs';
4
+ export { aI as AgentSummary, dF as SkillUserConfig } from '../agent-models-B-wTMdwF.mjs';
5
+ import { ap as IntegrationProviderTS, aA as IntegrationTypeTS, e as ConnectIntegrationResponse, h as CreateSandboxRequest, i as CreateSandboxResponse, m as DeleteSandboxResponse, r as DisconnectIntegrationResponse, R as GetUserIntegrationResponse, O as GetSandboxResponse, ai as IntegrationCallbackResponse, aL as ListUserIntegrationsResponse, aJ as ListSandboxesResponse, aU as RefreshIntegrationResponse, aW as RunEmailTriageResponse, ba as UpdateTriageEnabledResponse, b6 as UpdateSandboxRequest, b7 as UpdateSandboxResponse } from '../sandbox-Djb8gA7e.mjs';
6
+ export { aX as Sandbox, bb as UserIntegration } from '../sandbox-Djb8gA7e.mjs';
7
7
  import { a as StructuredOutputRequest, b as StructuredOutputResponse } from '../structured-Bs0IjwLD.mjs';
8
8
  export { S as StructuredOutputProvider, c as StructuredOutputUsage } from '../structured-Bs0IjwLD.mjs';
9
9
  import { ChatMessage } from '@elqnt/chat/models';
@@ -33,8 +33,8 @@ declare function listSkillsApi(options: ApiClientOptions): Promise<ApiResponse<S
33
33
  declare function getSkillApi(skillId: string, options: ApiClientOptions): Promise<ApiResponse<SkillResponse>>;
34
34
  declare function getSkillsByIdsApi(ids: string[], options: ApiClientOptions): Promise<ApiResponse<GetSkillsByIDsResponse>>;
35
35
  declare function createSkillApi(skill: Partial<Skill>, options: ApiClientOptions): Promise<ApiResponse<SkillResponse>>;
36
- declare function updateSkillApi(skillId: string, skill: Partial<Skill>, options: ApiClientOptions): Promise<ApiResponse<SkillResponse>>;
37
- declare function deleteSkillApi(skillId: string, options: ApiClientOptions): Promise<ApiResponse<{
36
+ declare function updateSkillApi(_skillId: string, skill: Partial<Skill>, options: ApiClientOptions): Promise<ApiResponse<SkillResponse>>;
37
+ declare function deleteSkillApi(name: string, options: ApiClientOptions): Promise<ApiResponse<{
38
38
  success: boolean;
39
39
  metadata: ResponseMetadata;
40
40
  }>>;
@@ -1,9 +1,9 @@
1
1
  import { ApiClientOptions, ApiResponse } from '@elqnt/api-client';
2
2
  import { ResponseMetadata } from '@elqnt/types';
3
- import { A as Agent, bc as BackgroundAgentStatusResponse, ai as AgentResponse, Z as AgentJob, a4 as AgentJobResponse, ds as Skill, dC as SkillResponse, dV as SubAgent, dW as SubAgentResponse, eh as ToolDefinition, ei as ToolDefinitionResponse, a$ as AgentWidget, b0 as AgentWidgetResponse, dI as SkillUserConfigResponse, c4 as GetSkillsByIDsResponse, ca as GetToolDefinitionsByIDsResponse, aa as AgentJobsListResponse, cJ as ListAgentsResponse, cL as ListAgentsSummaryResponse, dG as SkillUserConfigListResponse, dQ as SkillsListResponse, e2 as SubAgentsListResponse, eq as ToolDefinitionsListResponse, cH as ListAgentWidgetsResponse, dk as ResolveSkillConfigResponse, eG as TriggerBackgroundAgentRequest, eH as TriggerBackgroundAgentResponse } from '../agent-models-D6WgsFMZ.js';
4
- export { aI as AgentSummary, dD as SkillUserConfig } from '../agent-models-D6WgsFMZ.js';
5
- import { ap as IntegrationProviderTS, aA as IntegrationTypeTS, e as ConnectIntegrationResponse, h as CreateSandboxRequest, i as CreateSandboxResponse, m as DeleteSandboxResponse, r as DisconnectIntegrationResponse, R as GetUserIntegrationResponse, O as GetSandboxResponse, ai as IntegrationCallbackResponse, aL as ListUserIntegrationsResponse, aJ as ListSandboxesResponse, aT as RefreshIntegrationResponse, aV as RunEmailTriageResponse, b9 as UpdateTriageEnabledResponse, b5 as UpdateSandboxRequest, b6 as UpdateSandboxResponse } from '../sandbox-DOxoM2Ge.js';
6
- export { aW as Sandbox, ba as UserIntegration } from '../sandbox-DOxoM2Ge.js';
3
+ import { A as Agent, be as BackgroundAgentStatusResponse, ai as AgentResponse, Z as AgentJob, a4 as AgentJobResponse, du as Skill, dE as SkillResponse, dX as SubAgent, dY as SubAgentResponse, ej as ToolDefinition, ek as ToolDefinitionResponse, b1 as AgentWidget, b2 as AgentWidgetResponse, dK as SkillUserConfigResponse, c6 as GetSkillsByIDsResponse, cc as GetToolDefinitionsByIDsResponse, aa as AgentJobsListResponse, cL as ListAgentsResponse, cN as ListAgentsSummaryResponse, dI as SkillUserConfigListResponse, dS as SkillsListResponse, e4 as SubAgentsListResponse, es as ToolDefinitionsListResponse, cJ as ListAgentWidgetsResponse, dm as ResolveSkillConfigResponse, eI as TriggerBackgroundAgentRequest, eJ as TriggerBackgroundAgentResponse } from '../agent-models-B-wTMdwF.js';
4
+ export { aI as AgentSummary, dF as SkillUserConfig } from '../agent-models-B-wTMdwF.js';
5
+ import { ap as IntegrationProviderTS, aA as IntegrationTypeTS, e as ConnectIntegrationResponse, h as CreateSandboxRequest, i as CreateSandboxResponse, m as DeleteSandboxResponse, r as DisconnectIntegrationResponse, R as GetUserIntegrationResponse, O as GetSandboxResponse, ai as IntegrationCallbackResponse, aL as ListUserIntegrationsResponse, aJ as ListSandboxesResponse, aU as RefreshIntegrationResponse, aW as RunEmailTriageResponse, ba as UpdateTriageEnabledResponse, b6 as UpdateSandboxRequest, b7 as UpdateSandboxResponse } from '../sandbox-Djb8gA7e.js';
6
+ export { aX as Sandbox, bb as UserIntegration } from '../sandbox-Djb8gA7e.js';
7
7
  import { a as StructuredOutputRequest, b as StructuredOutputResponse } from '../structured-Bs0IjwLD.js';
8
8
  export { S as StructuredOutputProvider, c as StructuredOutputUsage } from '../structured-Bs0IjwLD.js';
9
9
  import { ChatMessage } from '@elqnt/chat/models';
@@ -33,8 +33,8 @@ declare function listSkillsApi(options: ApiClientOptions): Promise<ApiResponse<S
33
33
  declare function getSkillApi(skillId: string, options: ApiClientOptions): Promise<ApiResponse<SkillResponse>>;
34
34
  declare function getSkillsByIdsApi(ids: string[], options: ApiClientOptions): Promise<ApiResponse<GetSkillsByIDsResponse>>;
35
35
  declare function createSkillApi(skill: Partial<Skill>, options: ApiClientOptions): Promise<ApiResponse<SkillResponse>>;
36
- declare function updateSkillApi(skillId: string, skill: Partial<Skill>, options: ApiClientOptions): Promise<ApiResponse<SkillResponse>>;
37
- declare function deleteSkillApi(skillId: string, options: ApiClientOptions): Promise<ApiResponse<{
36
+ declare function updateSkillApi(_skillId: string, skill: Partial<Skill>, options: ApiClientOptions): Promise<ApiResponse<SkillResponse>>;
37
+ declare function deleteSkillApi(name: string, options: ApiClientOptions): Promise<ApiResponse<{
38
38
  success: boolean;
39
39
  metadata: ResponseMetadata;
40
40
  }>>;
package/dist/api/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
4
 
@@ -89,8 +89,8 @@
89
89
 
90
90
 
91
91
 
92
+ var _chunkQH234LAOjs = require('../chunk-QH234LAO.js');
92
93
 
93
- var _chunk3PFZRJ4Ajs = require('../chunk-3PFZRJ4A.js');
94
94
 
95
95
 
96
96
 
@@ -181,6 +181,5 @@ var _chunk3PFZRJ4Ajs = require('../chunk-3PFZRJ4A.js');
181
181
 
182
182
 
183
183
 
184
-
185
- exports.checkBackgroundAgentStatusApi = _chunk3PFZRJ4Ajs.checkBackgroundAgentStatusApi; exports.completeSchedulerTaskApi = _chunk3PFZRJ4Ajs.completeSchedulerTaskApi; exports.connectIntegrationApi = _chunk3PFZRJ4Ajs.connectIntegrationApi; exports.createAgentApi = _chunk3PFZRJ4Ajs.createAgentApi; exports.createAgentJobApi = _chunk3PFZRJ4Ajs.createAgentJobApi; exports.createBackgroundChatApi = _chunk3PFZRJ4Ajs.createBackgroundChatApi; exports.createSandboxApi = _chunk3PFZRJ4Ajs.createSandboxApi; exports.createScheduleApi = _chunk3PFZRJ4Ajs.createScheduleApi; exports.createSchedulerTaskApi = _chunk3PFZRJ4Ajs.createSchedulerTaskApi; exports.createSkillApi = _chunk3PFZRJ4Ajs.createSkillApi; exports.createSubAgentApi = _chunk3PFZRJ4Ajs.createSubAgentApi; exports.createToolDefinitionApi = _chunk3PFZRJ4Ajs.createToolDefinitionApi; exports.createWidgetApi = _chunk3PFZRJ4Ajs.createWidgetApi; exports.deleteAgentApi = _chunk3PFZRJ4Ajs.deleteAgentApi; exports.deleteAgentJobApi = _chunk3PFZRJ4Ajs.deleteAgentJobApi; exports.deleteSandboxApi = _chunk3PFZRJ4Ajs.deleteSandboxApi; exports.deleteScheduleApi = _chunk3PFZRJ4Ajs.deleteScheduleApi; exports.deleteSchedulerTaskApi = _chunk3PFZRJ4Ajs.deleteSchedulerTaskApi; exports.deleteSkillApi = _chunk3PFZRJ4Ajs.deleteSkillApi; exports.deleteSkillUserConfigApi = _chunk3PFZRJ4Ajs.deleteSkillUserConfigApi; exports.deleteSubAgentApi = _chunk3PFZRJ4Ajs.deleteSubAgentApi; exports.deleteToolDefinitionApi = _chunk3PFZRJ4Ajs.deleteToolDefinitionApi; exports.deleteWidgetApi = _chunk3PFZRJ4Ajs.deleteWidgetApi; exports.disconnectIntegrationApi = _chunk3PFZRJ4Ajs.disconnectIntegrationApi; exports.exportAgentApi = _chunk3PFZRJ4Ajs.exportAgentApi; exports.getAgentApi = _chunk3PFZRJ4Ajs.getAgentApi; exports.getAgentByNameApi = _chunk3PFZRJ4Ajs.getAgentByNameApi; exports.getAgentCSATAnalyticsApi = _chunk3PFZRJ4Ajs.getAgentCSATAnalyticsApi; exports.getAgentChatsAnalyticsApi = _chunk3PFZRJ4Ajs.getAgentChatsAnalyticsApi; exports.getAgentJobApi = _chunk3PFZRJ4Ajs.getAgentJobApi; exports.getAgentListAnalyticsApi = _chunk3PFZRJ4Ajs.getAgentListAnalyticsApi; exports.getDefaultAgentApi = _chunk3PFZRJ4Ajs.getDefaultAgentApi; exports.getDefaultWidgetApi = _chunk3PFZRJ4Ajs.getDefaultWidgetApi; exports.getIntegrationApi = _chunk3PFZRJ4Ajs.getIntegrationApi; exports.getSandboxApi = _chunk3PFZRJ4Ajs.getSandboxApi; exports.getScheduleApi = _chunk3PFZRJ4Ajs.getScheduleApi; exports.getSchedulerTaskApi = _chunk3PFZRJ4Ajs.getSchedulerTaskApi; exports.getSkillApi = _chunk3PFZRJ4Ajs.getSkillApi; exports.getSkillCategoriesApi = _chunk3PFZRJ4Ajs.getSkillCategoriesApi; exports.getSkillUserConfigApi = _chunk3PFZRJ4Ajs.getSkillUserConfigApi; exports.getSkillsByIdsApi = _chunk3PFZRJ4Ajs.getSkillsByIdsApi; exports.getSubAgentApi = _chunk3PFZRJ4Ajs.getSubAgentApi; exports.getTaskOutcomesApi = _chunk3PFZRJ4Ajs.getTaskOutcomesApi; exports.getToolDefinitionApi = _chunk3PFZRJ4Ajs.getToolDefinitionApi; exports.getToolDefinitionsByIdsApi = _chunk3PFZRJ4Ajs.getToolDefinitionsByIdsApi; exports.getWidgetApi = _chunk3PFZRJ4Ajs.getWidgetApi; exports.getWidgetByWidgetIdApi = _chunk3PFZRJ4Ajs.getWidgetByWidgetIdApi; exports.importAgentApi = _chunk3PFZRJ4Ajs.importAgentApi; exports.integrationCallbackApi = _chunk3PFZRJ4Ajs.integrationCallbackApi; exports.listAgentJobsApi = _chunk3PFZRJ4Ajs.listAgentJobsApi; exports.listAgentsApi = _chunk3PFZRJ4Ajs.listAgentsApi; exports.listAgentsSummaryApi = _chunk3PFZRJ4Ajs.listAgentsSummaryApi; exports.listIntegrationsApi = _chunk3PFZRJ4Ajs.listIntegrationsApi; exports.listSandboxesApi = _chunk3PFZRJ4Ajs.listSandboxesApi; exports.listSchedulerTasksApi = _chunk3PFZRJ4Ajs.listSchedulerTasksApi; exports.listSchedulesApi = _chunk3PFZRJ4Ajs.listSchedulesApi; exports.listSkillUserConfigsApi = _chunk3PFZRJ4Ajs.listSkillUserConfigsApi; exports.listSkillsApi = _chunk3PFZRJ4Ajs.listSkillsApi; exports.listSubAgentsApi = _chunk3PFZRJ4Ajs.listSubAgentsApi; exports.listToolDefinitionsApi = _chunk3PFZRJ4Ajs.listToolDefinitionsApi; exports.listWidgetsApi = _chunk3PFZRJ4Ajs.listWidgetsApi; exports.loadChatApi = _chunk3PFZRJ4Ajs.loadChatApi; exports.pauseAgentJobApi = _chunk3PFZRJ4Ajs.pauseAgentJobApi; exports.pauseScheduleApi = _chunk3PFZRJ4Ajs.pauseScheduleApi; exports.provisionAgentsApi = _chunk3PFZRJ4Ajs.provisionAgentsApi; exports.refreshIntegrationApi = _chunk3PFZRJ4Ajs.refreshIntegrationApi; exports.resolveSkillConfigApi = _chunk3PFZRJ4Ajs.resolveSkillConfigApi; exports.resumeAgentJobApi = _chunk3PFZRJ4Ajs.resumeAgentJobApi; exports.resumeScheduleApi = _chunk3PFZRJ4Ajs.resumeScheduleApi; exports.runEmailTriageApi = _chunk3PFZRJ4Ajs.runEmailTriageApi; exports.runScheduleApi = _chunk3PFZRJ4Ajs.runScheduleApi; exports.searchSkillsApi = _chunk3PFZRJ4Ajs.searchSkillsApi; exports.sendChatMessageApi = _chunk3PFZRJ4Ajs.sendChatMessageApi; exports.setDefaultWidgetApi = _chunk3PFZRJ4Ajs.setDefaultWidgetApi; exports.snoozeSchedulerTaskApi = _chunk3PFZRJ4Ajs.snoozeSchedulerTaskApi; exports.startSchedulerTaskApi = _chunk3PFZRJ4Ajs.startSchedulerTaskApi; exports.structuredOutputApi = _chunk3PFZRJ4Ajs.structuredOutputApi; exports.triggerBackgroundAgentApi = _chunk3PFZRJ4Ajs.triggerBackgroundAgentApi; exports.updateAgentApi = _chunk3PFZRJ4Ajs.updateAgentApi; exports.updateAgentJobApi = _chunk3PFZRJ4Ajs.updateAgentJobApi; exports.updateIntegrationTriageApi = _chunk3PFZRJ4Ajs.updateIntegrationTriageApi; exports.updateSandboxApi = _chunk3PFZRJ4Ajs.updateSandboxApi; exports.updateScheduleApi = _chunk3PFZRJ4Ajs.updateScheduleApi; exports.updateSchedulerTaskApi = _chunk3PFZRJ4Ajs.updateSchedulerTaskApi; exports.updateSkillApi = _chunk3PFZRJ4Ajs.updateSkillApi; exports.updateSkillOrgConfigApi = _chunk3PFZRJ4Ajs.updateSkillOrgConfigApi; exports.updateSkillUserConfigApi = _chunk3PFZRJ4Ajs.updateSkillUserConfigApi; exports.updateSubAgentApi = _chunk3PFZRJ4Ajs.updateSubAgentApi; exports.updateToolDefinitionApi = _chunk3PFZRJ4Ajs.updateToolDefinitionApi; exports.updateWidgetApi = _chunk3PFZRJ4Ajs.updateWidgetApi;
184
+ exports.checkBackgroundAgentStatusApi = _chunkQH234LAOjs.checkBackgroundAgentStatusApi; exports.completeSchedulerTaskApi = _chunkQH234LAOjs.completeSchedulerTaskApi; exports.connectIntegrationApi = _chunkQH234LAOjs.connectIntegrationApi; exports.createAgentApi = _chunkQH234LAOjs.createAgentApi; exports.createAgentJobApi = _chunkQH234LAOjs.createAgentJobApi; exports.createBackgroundChatApi = _chunkQH234LAOjs.createBackgroundChatApi; exports.createSandboxApi = _chunkQH234LAOjs.createSandboxApi; exports.createScheduleApi = _chunkQH234LAOjs.createScheduleApi; exports.createSchedulerTaskApi = _chunkQH234LAOjs.createSchedulerTaskApi; exports.createSkillApi = _chunkQH234LAOjs.createSkillApi; exports.createSubAgentApi = _chunkQH234LAOjs.createSubAgentApi; exports.createToolDefinitionApi = _chunkQH234LAOjs.createToolDefinitionApi; exports.createWidgetApi = _chunkQH234LAOjs.createWidgetApi; exports.deleteAgentApi = _chunkQH234LAOjs.deleteAgentApi; exports.deleteAgentJobApi = _chunkQH234LAOjs.deleteAgentJobApi; exports.deleteSandboxApi = _chunkQH234LAOjs.deleteSandboxApi; exports.deleteScheduleApi = _chunkQH234LAOjs.deleteScheduleApi; exports.deleteSchedulerTaskApi = _chunkQH234LAOjs.deleteSchedulerTaskApi; exports.deleteSkillApi = _chunkQH234LAOjs.deleteSkillApi; exports.deleteSkillUserConfigApi = _chunkQH234LAOjs.deleteSkillUserConfigApi; exports.deleteSubAgentApi = _chunkQH234LAOjs.deleteSubAgentApi; exports.deleteToolDefinitionApi = _chunkQH234LAOjs.deleteToolDefinitionApi; exports.deleteWidgetApi = _chunkQH234LAOjs.deleteWidgetApi; exports.disconnectIntegrationApi = _chunkQH234LAOjs.disconnectIntegrationApi; exports.exportAgentApi = _chunkQH234LAOjs.exportAgentApi; exports.getAgentApi = _chunkQH234LAOjs.getAgentApi; exports.getAgentByNameApi = _chunkQH234LAOjs.getAgentByNameApi; exports.getAgentCSATAnalyticsApi = _chunkQH234LAOjs.getAgentCSATAnalyticsApi; exports.getAgentChatsAnalyticsApi = _chunkQH234LAOjs.getAgentChatsAnalyticsApi; exports.getAgentJobApi = _chunkQH234LAOjs.getAgentJobApi; exports.getAgentListAnalyticsApi = _chunkQH234LAOjs.getAgentListAnalyticsApi; exports.getDefaultAgentApi = _chunkQH234LAOjs.getDefaultAgentApi; exports.getDefaultWidgetApi = _chunkQH234LAOjs.getDefaultWidgetApi; exports.getIntegrationApi = _chunkQH234LAOjs.getIntegrationApi; exports.getSandboxApi = _chunkQH234LAOjs.getSandboxApi; exports.getScheduleApi = _chunkQH234LAOjs.getScheduleApi; exports.getSchedulerTaskApi = _chunkQH234LAOjs.getSchedulerTaskApi; exports.getSkillApi = _chunkQH234LAOjs.getSkillApi; exports.getSkillCategoriesApi = _chunkQH234LAOjs.getSkillCategoriesApi; exports.getSkillUserConfigApi = _chunkQH234LAOjs.getSkillUserConfigApi; exports.getSkillsByIdsApi = _chunkQH234LAOjs.getSkillsByIdsApi; exports.getSubAgentApi = _chunkQH234LAOjs.getSubAgentApi; exports.getTaskOutcomesApi = _chunkQH234LAOjs.getTaskOutcomesApi; exports.getToolDefinitionApi = _chunkQH234LAOjs.getToolDefinitionApi; exports.getToolDefinitionsByIdsApi = _chunkQH234LAOjs.getToolDefinitionsByIdsApi; exports.getWidgetApi = _chunkQH234LAOjs.getWidgetApi; exports.getWidgetByWidgetIdApi = _chunkQH234LAOjs.getWidgetByWidgetIdApi; exports.importAgentApi = _chunkQH234LAOjs.importAgentApi; exports.integrationCallbackApi = _chunkQH234LAOjs.integrationCallbackApi; exports.listAgentJobsApi = _chunkQH234LAOjs.listAgentJobsApi; exports.listAgentsApi = _chunkQH234LAOjs.listAgentsApi; exports.listAgentsSummaryApi = _chunkQH234LAOjs.listAgentsSummaryApi; exports.listIntegrationsApi = _chunkQH234LAOjs.listIntegrationsApi; exports.listSandboxesApi = _chunkQH234LAOjs.listSandboxesApi; exports.listSchedulerTasksApi = _chunkQH234LAOjs.listSchedulerTasksApi; exports.listSchedulesApi = _chunkQH234LAOjs.listSchedulesApi; exports.listSkillUserConfigsApi = _chunkQH234LAOjs.listSkillUserConfigsApi; exports.listSkillsApi = _chunkQH234LAOjs.listSkillsApi; exports.listSubAgentsApi = _chunkQH234LAOjs.listSubAgentsApi; exports.listToolDefinitionsApi = _chunkQH234LAOjs.listToolDefinitionsApi; exports.listWidgetsApi = _chunkQH234LAOjs.listWidgetsApi; exports.loadChatApi = _chunkQH234LAOjs.loadChatApi; exports.pauseAgentJobApi = _chunkQH234LAOjs.pauseAgentJobApi; exports.pauseScheduleApi = _chunkQH234LAOjs.pauseScheduleApi; exports.provisionAgentsApi = _chunkQH234LAOjs.provisionAgentsApi; exports.refreshIntegrationApi = _chunkQH234LAOjs.refreshIntegrationApi; exports.resolveSkillConfigApi = _chunkQH234LAOjs.resolveSkillConfigApi; exports.resumeAgentJobApi = _chunkQH234LAOjs.resumeAgentJobApi; exports.resumeScheduleApi = _chunkQH234LAOjs.resumeScheduleApi; exports.runEmailTriageApi = _chunkQH234LAOjs.runEmailTriageApi; exports.runScheduleApi = _chunkQH234LAOjs.runScheduleApi; exports.searchSkillsApi = _chunkQH234LAOjs.searchSkillsApi; exports.sendChatMessageApi = _chunkQH234LAOjs.sendChatMessageApi; exports.setDefaultWidgetApi = _chunkQH234LAOjs.setDefaultWidgetApi; exports.snoozeSchedulerTaskApi = _chunkQH234LAOjs.snoozeSchedulerTaskApi; exports.startSchedulerTaskApi = _chunkQH234LAOjs.startSchedulerTaskApi; exports.structuredOutputApi = _chunkQH234LAOjs.structuredOutputApi; exports.triggerBackgroundAgentApi = _chunkQH234LAOjs.triggerBackgroundAgentApi; exports.updateAgentApi = _chunkQH234LAOjs.updateAgentApi; exports.updateAgentJobApi = _chunkQH234LAOjs.updateAgentJobApi; exports.updateIntegrationTriageApi = _chunkQH234LAOjs.updateIntegrationTriageApi; exports.updateSandboxApi = _chunkQH234LAOjs.updateSandboxApi; exports.updateScheduleApi = _chunkQH234LAOjs.updateScheduleApi; exports.updateSchedulerTaskApi = _chunkQH234LAOjs.updateSchedulerTaskApi; exports.updateSkillApi = _chunkQH234LAOjs.updateSkillApi; exports.updateSkillOrgConfigApi = _chunkQH234LAOjs.updateSkillOrgConfigApi; exports.updateSkillUserConfigApi = _chunkQH234LAOjs.updateSkillUserConfigApi; exports.updateSubAgentApi = _chunkQH234LAOjs.updateSubAgentApi; exports.updateToolDefinitionApi = _chunkQH234LAOjs.updateToolDefinitionApi; exports.updateWidgetApi = _chunkQH234LAOjs.updateWidgetApi;
186
185
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/eloquent/eloquent/packages/@elqnt/agents/dist/api/index.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,u2LAAC","file":"/home/runner/work/eloquent/eloquent/packages/@elqnt/agents/dist/api/index.js"}
1
+ {"version":3,"sources":["/home/runner/work/eloquent/eloquent/packages/@elqnt/agents/dist/api/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,u2LAAC","file":"/home/runner/work/eloquent/eloquent/packages/@elqnt/agents/dist/api/index.js"}
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import {
3
2
  checkBackgroundAgentStatusApi,
4
3
  completeSchedulerTaskApi,
@@ -90,7 +89,7 @@ import {
90
89
  updateSubAgentApi,
91
90
  updateToolDefinitionApi,
92
91
  updateWidgetApi
93
- } from "../chunk-L5FLJB3H.mjs";
92
+ } from "../chunk-NHIVBTLU.mjs";
94
93
  export {
95
94
  checkBackgroundAgentStatusApi,
96
95
  completeSchedulerTaskApi,
@@ -1,6 +1,6 @@
1
1
  import { ApiResponse } from '@elqnt/api-client';
2
2
  import { ResponseMetadata } from '@elqnt/types';
3
- import { bc as BackgroundAgentStatusResponse, Z as AgentJob, a4 as AgentJobResponse, A as Agent, ai as AgentResponse, ds as Skill, dC as SkillResponse, dV as SubAgent, dW as SubAgentResponse, eh as ToolDefinition, ei as ToolDefinitionResponse, a$ as AgentWidget, b0 as AgentWidgetResponse, dI as SkillUserConfigResponse, c4 as GetSkillsByIDsResponse, ca as GetToolDefinitionsByIDsResponse, aa as AgentJobsListResponse, cJ as ListAgentsResponse, cL as ListAgentsSummaryResponse, dG as SkillUserConfigListResponse, dQ as SkillsListResponse, e2 as SubAgentsListResponse, eq as ToolDefinitionsListResponse, cH as ListAgentWidgetsResponse, dk as ResolveSkillConfigResponse, eG as TriggerBackgroundAgentRequest, eH as TriggerBackgroundAgentResponse } from '../agent-models-D6WgsFMZ.mjs';
3
+ import { be as BackgroundAgentStatusResponse, Z as AgentJob, a4 as AgentJobResponse, A as Agent, ai as AgentResponse, du as Skill, dE as SkillResponse, dX as SubAgent, dY as SubAgentResponse, ej as ToolDefinition, ek as ToolDefinitionResponse, b1 as AgentWidget, b2 as AgentWidgetResponse, dK as SkillUserConfigResponse, c6 as GetSkillsByIDsResponse, cc as GetToolDefinitionsByIDsResponse, aa as AgentJobsListResponse, cL as ListAgentsResponse, cN as ListAgentsSummaryResponse, dI as SkillUserConfigListResponse, dS as SkillsListResponse, e4 as SubAgentsListResponse, es as ToolDefinitionsListResponse, cJ as ListAgentWidgetsResponse, dm as ResolveSkillConfigResponse, eI as TriggerBackgroundAgentRequest, eJ as TriggerBackgroundAgentResponse } from '../agent-models-B-wTMdwF.mjs';
4
4
  import { a as StructuredOutputRequest, b as StructuredOutputResponse } from '../structured-Bs0IjwLD.mjs';
5
5
 
6
6
  /**
@@ -56,8 +56,8 @@ declare function listSkillsServer(options: ServerApiOptions): Promise<ApiRespons
56
56
  declare function getSkillServer(skillId: string, options: ServerApiOptions): Promise<ApiResponse<SkillResponse>>;
57
57
  declare function getSkillsByIdsServer(ids: string[], options: ServerApiOptions): Promise<ApiResponse<GetSkillsByIDsResponse>>;
58
58
  declare function createSkillServer(skill: Partial<Skill>, options: ServerApiOptions): Promise<ApiResponse<SkillResponse>>;
59
- declare function updateSkillServer(skillId: string, skill: Partial<Skill>, options: ServerApiOptions): Promise<ApiResponse<SkillResponse>>;
60
- declare function deleteSkillServer(skillId: string, options: ServerApiOptions): Promise<ApiResponse<{
59
+ declare function updateSkillServer(_skillId: string, skill: Partial<Skill>, options: ServerApiOptions): Promise<ApiResponse<SkillResponse>>;
60
+ declare function deleteSkillServer(name: string, options: ServerApiOptions): Promise<ApiResponse<{
61
61
  success: boolean;
62
62
  metadata: ResponseMetadata;
63
63
  }>>;
@@ -1,6 +1,6 @@
1
1
  import { ApiResponse } from '@elqnt/api-client';
2
2
  import { ResponseMetadata } from '@elqnt/types';
3
- import { bc as BackgroundAgentStatusResponse, Z as AgentJob, a4 as AgentJobResponse, A as Agent, ai as AgentResponse, ds as Skill, dC as SkillResponse, dV as SubAgent, dW as SubAgentResponse, eh as ToolDefinition, ei as ToolDefinitionResponse, a$ as AgentWidget, b0 as AgentWidgetResponse, dI as SkillUserConfigResponse, c4 as GetSkillsByIDsResponse, ca as GetToolDefinitionsByIDsResponse, aa as AgentJobsListResponse, cJ as ListAgentsResponse, cL as ListAgentsSummaryResponse, dG as SkillUserConfigListResponse, dQ as SkillsListResponse, e2 as SubAgentsListResponse, eq as ToolDefinitionsListResponse, cH as ListAgentWidgetsResponse, dk as ResolveSkillConfigResponse, eG as TriggerBackgroundAgentRequest, eH as TriggerBackgroundAgentResponse } from '../agent-models-D6WgsFMZ.js';
3
+ import { be as BackgroundAgentStatusResponse, Z as AgentJob, a4 as AgentJobResponse, A as Agent, ai as AgentResponse, du as Skill, dE as SkillResponse, dX as SubAgent, dY as SubAgentResponse, ej as ToolDefinition, ek as ToolDefinitionResponse, b1 as AgentWidget, b2 as AgentWidgetResponse, dK as SkillUserConfigResponse, c6 as GetSkillsByIDsResponse, cc as GetToolDefinitionsByIDsResponse, aa as AgentJobsListResponse, cL as ListAgentsResponse, cN as ListAgentsSummaryResponse, dI as SkillUserConfigListResponse, dS as SkillsListResponse, e4 as SubAgentsListResponse, es as ToolDefinitionsListResponse, cJ as ListAgentWidgetsResponse, dm as ResolveSkillConfigResponse, eI as TriggerBackgroundAgentRequest, eJ as TriggerBackgroundAgentResponse } from '../agent-models-B-wTMdwF.js';
4
4
  import { a as StructuredOutputRequest, b as StructuredOutputResponse } from '../structured-Bs0IjwLD.js';
5
5
 
6
6
  /**
@@ -56,8 +56,8 @@ declare function listSkillsServer(options: ServerApiOptions): Promise<ApiRespons
56
56
  declare function getSkillServer(skillId: string, options: ServerApiOptions): Promise<ApiResponse<SkillResponse>>;
57
57
  declare function getSkillsByIdsServer(ids: string[], options: ServerApiOptions): Promise<ApiResponse<GetSkillsByIDsResponse>>;
58
58
  declare function createSkillServer(skill: Partial<Skill>, options: ServerApiOptions): Promise<ApiResponse<SkillResponse>>;
59
- declare function updateSkillServer(skillId: string, skill: Partial<Skill>, options: ServerApiOptions): Promise<ApiResponse<SkillResponse>>;
60
- declare function deleteSkillServer(skillId: string, options: ServerApiOptions): Promise<ApiResponse<{
59
+ declare function updateSkillServer(_skillId: string, skill: Partial<Skill>, options: ServerApiOptions): Promise<ApiResponse<SkillResponse>>;
60
+ declare function deleteSkillServer(name: string, options: ServerApiOptions): Promise<ApiResponse<{
61
61
  success: boolean;
62
62
  metadata: ResponseMetadata;
63
63
  }>>;
@@ -1,6 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
-
3
- // api/server.ts
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }// api/server.ts
4
2
  var _server = require('@elqnt/api-client/server');
5
3
  function buildRequestOptions(options, method = "GET", body) {
6
4
  return {
@@ -46,13 +44,13 @@ async function getSkillsByIdsServer(ids, options) {
46
44
  return _server.serverApiRequest.call(void 0, "/api/v1/skills/by-ids", buildRequestOptions(options, "POST", { ids }));
47
45
  }
48
46
  async function createSkillServer(skill, options) {
49
- return _server.serverApiRequest.call(void 0, "/api/v1/skills", buildRequestOptions(options, "POST", { skill }));
47
+ return _server.serverApiRequest.call(void 0, "/api/v1/skills", buildRequestOptions(options, "POST", skill));
50
48
  }
51
- async function updateSkillServer(skillId, skill, options) {
52
- return _server.serverApiRequest.call(void 0, `/api/v1/skills/${skillId}`, buildRequestOptions(options, "PUT", { skill }));
49
+ async function updateSkillServer(_skillId, skill, options) {
50
+ return _server.serverApiRequest.call(void 0, `/api/v1/skills/by-name?name=${encodeURIComponent(_nullishCoalesce(skill.name, () => ( "")))}`, buildRequestOptions(options, "PUT", skill));
53
51
  }
54
- async function deleteSkillServer(skillId, options) {
55
- return _server.serverApiRequest.call(void 0, `/api/v1/skills/${skillId}`, buildRequestOptions(options, "DELETE"));
52
+ async function deleteSkillServer(name, options) {
53
+ return _server.serverApiRequest.call(void 0, `/api/v1/skills/by-name?name=${encodeURIComponent(name)}`, buildRequestOptions(options, "DELETE"));
56
54
  }
57
55
  async function getSkillCategoriesServer(options) {
58
56
  return _server.serverApiRequest.call(void 0, "/api/v1/skills/categories", buildRequestOptions(options, "GET"));