@inkeep/agents-core 0.69.0 → 0.70.1

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 (36) hide show
  1. package/dist/auth/auth-schema.d.ts +227 -227
  2. package/dist/auth/auth-validation-schemas.d.ts +137 -137
  3. package/dist/auth/auth.d.ts +9 -9
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/constants/allowed-file-formats.d.ts +6 -1
  6. package/dist/constants/allowed-file-formats.js +256 -24
  7. package/dist/constants/index.d.ts +2 -2
  8. package/dist/constants/index.js +2 -2
  9. package/dist/constants/signoz-queries.d.ts +1 -0
  10. package/dist/constants/signoz-queries.js +2 -1
  11. package/dist/data-access/manage/agents.d.ts +20 -20
  12. package/dist/data-access/manage/artifactComponents.d.ts +12 -12
  13. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  14. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  15. package/dist/data-access/manage/functionTools.d.ts +12 -12
  16. package/dist/data-access/manage/skills.d.ts +11 -11
  17. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
  18. package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
  19. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  20. package/dist/data-access/manage/subAgents.d.ts +12 -12
  21. package/dist/data-access/manage/tools.d.ts +24 -24
  22. package/dist/data-access/manage/triggers.d.ts +2 -2
  23. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  24. package/dist/data-access/runtime/apps.d.ts +10 -10
  25. package/dist/data-access/runtime/conversations.d.ts +16 -16
  26. package/dist/data-access/runtime/feedback.d.ts +6 -6
  27. package/dist/data-access/runtime/messages.d.ts +24 -24
  28. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  29. package/dist/data-access/runtime/tasks.d.ts +5 -5
  30. package/dist/db/manage/manage-schema.d.ts +453 -453
  31. package/dist/db/runtime/runtime-schema.d.ts +413 -413
  32. package/dist/middleware/no-auth.d.ts +2 -2
  33. package/dist/utils/error.d.ts +51 -51
  34. package/dist/validation/schemas/skills.d.ts +24 -24
  35. package/dist/validation/schemas.d.ts +545 -545
  36. package/package.json +1 -1
@@ -9,13 +9,13 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
+ id: string;
12
13
  name: string;
13
14
  description: string | null;
14
- tenantId: string;
15
- projectId: string;
16
- id: string;
17
15
  createdAt: string;
18
16
  updatedAt: string;
17
+ projectId: string;
18
+ tenantId: string;
19
19
  models: {
20
20
  base?: {
21
21
  model?: string | undefined;
@@ -39,20 +39,20 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
39
39
  stopWhen: {
40
40
  stepCountIs?: number | undefined;
41
41
  } | null;
42
+ agentId: string;
42
43
  prompt: string | null;
43
44
  conversationHistoryConfig: ConversationHistoryConfig | null;
44
- agentId: string;
45
45
  } | undefined>;
46
46
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
47
47
  scopes: AgentScopeConfig;
48
48
  }) => Promise<{
49
+ id: string;
49
50
  name: string;
50
51
  description: string | null;
51
- tenantId: string;
52
- projectId: string;
53
- id: string;
54
52
  createdAt: string;
55
53
  updatedAt: string;
54
+ projectId: string;
55
+ tenantId: string;
56
56
  models: {
57
57
  base?: {
58
58
  model?: string | undefined;
@@ -76,9 +76,9 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
76
76
  stopWhen: {
77
77
  stepCountIs?: number | undefined;
78
78
  } | null;
79
+ agentId: string;
79
80
  prompt: string | null;
80
81
  conversationHistoryConfig: ConversationHistoryConfig | null;
81
- agentId: string;
82
82
  }[]>;
83
83
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
84
84
  scopes: AgentScopeConfig;
@@ -127,13 +127,13 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
127
127
  };
128
128
  }>;
129
129
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
130
+ id: string;
130
131
  name: string;
131
132
  description: string | null;
132
- tenantId: string;
133
- projectId: string;
134
- id: string;
135
133
  createdAt: string;
136
134
  updatedAt: string;
135
+ projectId: string;
136
+ tenantId: string;
137
137
  models: {
138
138
  base?: {
139
139
  model?: string | undefined;
@@ -157,9 +157,9 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
157
157
  stopWhen: {
158
158
  stepCountIs?: number | undefined;
159
159
  } | null;
160
+ agentId: string;
160
161
  prompt: string | null;
161
162
  conversationHistoryConfig: ConversationHistoryConfig | null;
162
- agentId: string;
163
163
  }>;
164
164
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
165
165
  scopes: AgentScopeConfig;
@@ -20,20 +20,20 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
20
20
  scopes: ProjectScopeConfig;
21
21
  toolId: string;
22
22
  }) => Promise<{
23
+ id: string;
23
24
  name: string;
24
25
  description: string | null;
25
- tenantId: string;
26
- projectId: string;
27
- id: string;
28
26
  createdAt: string;
29
27
  updatedAt: string;
30
- headers: Record<string, string> | null;
28
+ projectId: string;
29
+ tenantId: string;
31
30
  config: {
32
31
  type: "mcp";
33
32
  mcp: ToolMcpConfig;
34
33
  };
35
34
  credentialReferenceId: string | null;
36
35
  credentialScope: string;
36
+ headers: Record<string, string> | null;
37
37
  imageUrl: string | null;
38
38
  capabilities: ToolServerCapabilities | null;
39
39
  lastError: string | null;
@@ -78,20 +78,20 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
78
78
  };
79
79
  }>;
80
80
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
81
+ id: string;
81
82
  name: string;
82
83
  description: string | null;
83
- tenantId: string;
84
- projectId: string;
85
- id: string;
86
84
  createdAt: string;
87
85
  updatedAt: string;
88
- headers: Record<string, string> | null;
86
+ projectId: string;
87
+ tenantId: string;
89
88
  config: {
90
89
  type: "mcp";
91
90
  mcp: ToolMcpConfig;
92
91
  };
93
92
  credentialReferenceId: string | null;
94
93
  credentialScope: string;
94
+ headers: Record<string, string> | null;
95
95
  imageUrl: string | null;
96
96
  capabilities: ToolServerCapabilities | null;
97
97
  lastError: string | null;
@@ -135,38 +135,38 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
135
135
  needsApproval?: boolean;
136
136
  }> | null;
137
137
  }) => Promise<{
138
- tenantId: string;
139
- projectId: string;
140
138
  id: string;
141
139
  createdAt: string;
142
140
  updatedAt: string;
141
+ projectId: string;
142
+ tenantId: string;
143
143
  agentId: string;
144
+ subAgentId: string;
144
145
  headers: Record<string, string> | null;
145
146
  toolId: string;
146
- subAgentId: string;
147
+ selectedTools: string[] | null;
147
148
  toolPolicies: Record<string, {
148
149
  needsApproval?: boolean;
149
150
  }> | null;
150
- selectedTools: string[] | null;
151
151
  }>;
152
152
  declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
153
153
  scopes: AgentScopeConfig;
154
154
  subAgentId: string;
155
155
  toolId: string;
156
156
  }) => Promise<{
157
- tenantId: string;
158
- projectId: string;
159
157
  id: string;
160
158
  createdAt: string;
161
159
  updatedAt: string;
160
+ projectId: string;
161
+ tenantId: string;
162
162
  agentId: string;
163
+ subAgentId: string;
163
164
  headers: Record<string, string> | null;
164
165
  toolId: string;
165
- subAgentId: string;
166
+ selectedTools: string[] | null;
166
167
  toolPolicies: Record<string, {
167
168
  needsApproval?: boolean;
168
169
  }> | null;
169
- selectedTools: string[] | null;
170
170
  }>;
171
171
  /**
172
172
  * Upsert agent-tool relation (create if it doesn't exist, update if it does)
@@ -182,19 +182,19 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
182
182
  }> | null;
183
183
  relationId?: string;
184
184
  }) => Promise<{
185
- tenantId: string;
186
- projectId: string;
187
185
  id: string;
188
186
  createdAt: string;
189
187
  updatedAt: string;
188
+ projectId: string;
189
+ tenantId: string;
190
190
  agentId: string;
191
+ subAgentId: string;
191
192
  headers: Record<string, string> | null;
192
193
  toolId: string;
193
- subAgentId: string;
194
+ selectedTools: string[] | null;
194
195
  toolPolicies: Record<string, {
195
196
  needsApproval?: boolean;
196
197
  }> | null;
197
- selectedTools: string[] | null;
198
198
  }>;
199
199
  /**
200
200
  * Upsert a tool (create if it doesn't exist, update if it does)
@@ -202,20 +202,20 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
202
202
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
203
203
  data: ToolInsert;
204
204
  }) => Promise<{
205
+ id: string;
205
206
  name: string;
206
207
  description: string | null;
207
- tenantId: string;
208
- projectId: string;
209
- id: string;
210
208
  createdAt: string;
211
209
  updatedAt: string;
212
- headers: Record<string, string> | null;
210
+ projectId: string;
211
+ tenantId: string;
213
212
  config: {
214
213
  type: "mcp";
215
214
  mcp: ToolMcpConfig;
216
215
  };
217
216
  credentialReferenceId: string | null;
218
217
  credentialScope: string;
218
+ headers: Record<string, string> | null;
219
219
  imageUrl: string | null;
220
220
  capabilities: ToolServerCapabilities | null;
221
221
  lastError: string | null;
@@ -131,9 +131,9 @@ declare const createTriggerUser: (db: AgentsManageDatabaseClient) => (params: {
131
131
  triggerId: string;
132
132
  userId: string;
133
133
  }) => Promise<{
134
- tenantId: string;
135
- projectId: string;
136
134
  createdAt: string;
135
+ projectId: string;
136
+ tenantId: string;
137
137
  agentId: string;
138
138
  userId: string;
139
139
  triggerId: string;
@@ -8,12 +8,12 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  id: string;
10
10
  }) => Promise<{
11
- name: string | null;
12
- tenantId: string;
13
- projectId: string;
14
11
  id: string;
12
+ name: string | null;
15
13
  createdAt: string;
16
14
  updatedAt: string;
15
+ projectId: string;
16
+ tenantId: string;
17
17
  agentId: string;
18
18
  publicId: string;
19
19
  keyHash: string;
@@ -22,12 +22,12 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
22
22
  expiresAt: string | null;
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
- name: string | null;
26
- tenantId: string;
27
- projectId: string;
28
25
  id: string;
26
+ name: string | null;
29
27
  createdAt: string;
30
28
  updatedAt: string;
29
+ projectId: string;
30
+ tenantId: string;
31
31
  agentId: string;
32
32
  publicId: string;
33
33
  keyHash: string;
@@ -39,12 +39,12 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
39
39
  scopes: ProjectScopeConfig;
40
40
  agentId?: string;
41
41
  }) => Promise<{
42
- name: string | null;
43
- tenantId: string;
44
- projectId: string;
45
42
  id: string;
43
+ name: string | null;
46
44
  createdAt: string;
47
45
  updatedAt: string;
46
+ projectId: string;
47
+ tenantId: string;
48
48
  agentId: string;
49
49
  publicId: string;
50
50
  keyHash: string;
@@ -66,12 +66,12 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
66
66
  };
67
67
  }>;
68
68
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
69
- name: string | null;
70
- tenantId: string;
71
- projectId: string;
72
69
  id: string;
70
+ name: string | null;
73
71
  createdAt: string;
74
72
  updatedAt: string;
73
+ projectId: string;
74
+ tenantId: string;
75
75
  agentId: string;
76
76
  publicId: string;
77
77
  keyHash: string;
@@ -6,15 +6,13 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
6
6
  //#region src/data-access/runtime/apps.d.ts
7
7
  declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
8
8
  type: AppType;
9
+ id: string;
9
10
  name: string;
10
11
  description: string | null;
11
- tenantId: string | null;
12
- projectId: string | null;
13
- id: string;
14
12
  createdAt: string;
15
13
  updatedAt: string;
16
- prompt: string | null;
17
- enabled: boolean;
14
+ projectId: string | null;
15
+ tenantId: string | null;
18
16
  config: {
19
17
  type: "web_client";
20
18
  webClient: {
@@ -45,6 +43,8 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
45
43
  }[] | undefined;
46
44
  };
47
45
  };
46
+ enabled: boolean;
47
+ prompt: string | null;
48
48
  lastUsedAt: string | null;
49
49
  defaultProjectId: string | null;
50
50
  defaultAgentId: string | null;
@@ -75,15 +75,13 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
75
75
  }>;
76
76
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
77
77
  type: AppType;
78
+ id: string;
78
79
  name: string;
79
80
  description: string | null;
80
- tenantId: string | null;
81
- projectId: string | null;
82
- id: string;
83
81
  createdAt: string;
84
82
  updatedAt: string;
85
- prompt: string | null;
86
- enabled: boolean;
83
+ projectId: string | null;
84
+ tenantId: string | null;
87
85
  config: {
88
86
  type: "web_client";
89
87
  webClient: {
@@ -114,6 +112,8 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
114
112
  }[] | undefined;
115
113
  };
116
114
  };
115
+ enabled: boolean;
116
+ prompt: string | null;
117
117
  lastUsedAt: string | null;
118
118
  defaultProjectId: string | null;
119
119
  defaultAgentId: string | null;
@@ -15,13 +15,13 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
15
15
  total: number;
16
16
  }>;
17
17
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
18
- title: string | null;
19
- tenantId: string;
20
- projectId: string;
21
18
  id: string;
19
+ metadata: ConversationMetadata | null;
22
20
  createdAt: string;
23
21
  updatedAt: string;
24
- metadata: ConversationMetadata | null;
22
+ projectId: string;
23
+ tenantId: string;
24
+ title: string | null;
25
25
  agentId: string | null;
26
26
  userId: string | null;
27
27
  ref: {
@@ -84,13 +84,13 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
84
84
  scopes: ProjectScopeConfig;
85
85
  conversationId: string;
86
86
  }) => Promise<{
87
- title: string | null;
88
- tenantId: string;
89
- projectId: string;
90
87
  id: string;
88
+ metadata: ConversationMetadata | null;
91
89
  createdAt: string;
92
90
  updatedAt: string;
93
- metadata: ConversationMetadata | null;
91
+ projectId: string;
92
+ tenantId: string;
93
+ title: string | null;
94
94
  agentId: string | null;
95
95
  userId: string | null;
96
96
  ref: {
@@ -120,13 +120,13 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
120
120
  metadata?: ConversationMetadata | null | undefined;
121
121
  contextConfigId?: string | undefined;
122
122
  } | {
123
- title: string | null;
124
- tenantId: string;
125
- projectId: string;
126
123
  id: string;
124
+ metadata: ConversationMetadata | null;
127
125
  createdAt: string;
128
126
  updatedAt: string;
129
- metadata: ConversationMetadata | null;
127
+ projectId: string;
128
+ tenantId: string;
129
+ title: string | null;
130
130
  agentId: string | null;
131
131
  userId: string | null;
132
132
  ref: {
@@ -152,13 +152,13 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
152
152
  scopes: ProjectScopeConfig;
153
153
  conversationId: string;
154
154
  }) => Promise<{
155
- title: string | null;
156
- tenantId: string;
157
- projectId: string;
158
155
  id: string;
156
+ metadata: ConversationMetadata | null;
159
157
  createdAt: string;
160
158
  updatedAt: string;
161
- metadata: ConversationMetadata | null;
159
+ projectId: string;
160
+ tenantId: string;
161
+ title: string | null;
162
162
  agentId: string | null;
163
163
  userId: string | null;
164
164
  ref: {
@@ -59,14 +59,14 @@ declare const listFeedback: (db: AgentsRunDatabaseClient) => (params: {
59
59
  }>;
60
60
  declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: FeedbackInsert) => Promise<{
61
61
  type: "positive" | "negative";
62
- tenantId: string;
63
- projectId: string;
64
62
  id: string;
65
63
  createdAt: string;
66
64
  updatedAt: string;
65
+ projectId: string;
66
+ tenantId: string;
67
+ details: string | null;
67
68
  conversationId: string;
68
69
  messageId: string | null;
69
- details: string | null;
70
70
  }>;
71
71
  declare const updateFeedback: (db: AgentsRunDatabaseClient) => (params: {
72
72
  scopes: ProjectScopeConfig;
@@ -88,14 +88,14 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
88
88
  feedbackId: string;
89
89
  }) => Promise<{
90
90
  type: "positive" | "negative";
91
- tenantId: string;
92
- projectId: string;
93
91
  id: string;
94
92
  createdAt: string;
95
93
  updatedAt: string;
94
+ projectId: string;
95
+ tenantId: string;
96
+ details: string | null;
96
97
  conversationId: string;
97
98
  messageId: string | null;
98
- details: string | null;
99
99
  }>;
100
100
  //#endregion
101
101
  export { createFeedback, deleteFeedback, getFeedbackById, listFeedback, listFeedbackByConversation, updateFeedback };
@@ -10,26 +10,26 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
- content: MessageContent;
14
- tenantId: string;
15
- projectId: string;
16
13
  id: string;
14
+ content: MessageContent;
15
+ metadata: MessageMetadata | null;
17
16
  createdAt: string;
18
17
  updatedAt: string;
19
- metadata: MessageMetadata | null;
20
- conversationId: string;
21
- role: string;
18
+ projectId: string;
19
+ tenantId: string;
22
20
  fromSubAgentId: string | null;
23
21
  toSubAgentId: string | null;
24
22
  fromExternalAgentId: string | null;
25
23
  toExternalAgentId: string | null;
24
+ taskId: string | null;
25
+ a2aTaskId: string | null;
26
+ conversationId: string;
27
+ role: string;
26
28
  fromTeamAgentId: string | null;
27
29
  toTeamAgentId: string | null;
28
30
  visibility: string;
29
31
  messageType: string;
30
- taskId: string | null;
31
32
  parentMessageId: string | null;
32
- a2aTaskId: string | null;
33
33
  a2aSessionId: string | null;
34
34
  } | undefined>;
35
35
  declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
@@ -144,26 +144,26 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
144
144
  scopes: ProjectScopeConfig;
145
145
  data: Omit<MessageInsert, "tenantId" | "projectId">;
146
146
  }) => Promise<{
147
- content: MessageContent;
148
- tenantId: string;
149
- projectId: string;
150
147
  id: string;
148
+ content: MessageContent;
149
+ metadata: MessageMetadata | null;
151
150
  createdAt: string;
152
151
  updatedAt: string;
153
- metadata: MessageMetadata | null;
154
- conversationId: string;
155
- role: string;
152
+ projectId: string;
153
+ tenantId: string;
156
154
  fromSubAgentId: string | null;
157
155
  toSubAgentId: string | null;
158
156
  fromExternalAgentId: string | null;
159
157
  toExternalAgentId: string | null;
158
+ taskId: string | null;
159
+ a2aTaskId: string | null;
160
+ conversationId: string;
161
+ role: string;
160
162
  fromTeamAgentId: string | null;
161
163
  toTeamAgentId: string | null;
162
164
  visibility: string;
163
165
  messageType: string;
164
- taskId: string | null;
165
166
  parentMessageId: string | null;
166
- a2aTaskId: string | null;
167
167
  a2aSessionId: string | null;
168
168
  }>;
169
169
  declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
@@ -197,26 +197,26 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
197
197
  scopes: ProjectScopeConfig;
198
198
  messageId: string;
199
199
  }) => Promise<{
200
- content: MessageContent;
201
- tenantId: string;
202
- projectId: string;
203
200
  id: string;
201
+ content: MessageContent;
202
+ metadata: MessageMetadata | null;
204
203
  createdAt: string;
205
204
  updatedAt: string;
206
- metadata: MessageMetadata | null;
207
- conversationId: string;
208
- role: string;
205
+ projectId: string;
206
+ tenantId: string;
209
207
  fromSubAgentId: string | null;
210
208
  toSubAgentId: string | null;
211
209
  fromExternalAgentId: string | null;
212
210
  toExternalAgentId: string | null;
211
+ taskId: string | null;
212
+ a2aTaskId: string | null;
213
+ conversationId: string;
214
+ role: string;
213
215
  fromTeamAgentId: string | null;
214
216
  toTeamAgentId: string | null;
215
217
  visibility: string;
216
218
  messageType: string;
217
- taskId: string | null;
218
219
  parentMessageId: string | null;
219
- a2aTaskId: string | null;
220
220
  a2aSessionId: string | null;
221
221
  }>;
222
222
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -15,8 +15,8 @@ declare const createScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (para
15
15
  scheduledTriggerId: string;
16
16
  userId: string;
17
17
  }) => Promise<{
18
- tenantId: string;
19
18
  createdAt: string;
19
+ tenantId: string;
20
20
  userId: string;
21
21
  scheduledTriggerId: string;
22
22
  }>;
@@ -7,21 +7,21 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
7
7
 
8
8
  //#region src/data-access/runtime/tasks.d.ts
9
9
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
10
- tenantId: string;
11
- projectId: string;
12
- status: string;
13
10
  id: string;
11
+ metadata: TaskMetadataConfig | null;
14
12
  createdAt: string;
15
13
  updatedAt: string;
16
- metadata: TaskMetadataConfig | null;
14
+ projectId: string;
15
+ tenantId: string;
17
16
  agentId: string;
17
+ status: string;
18
+ subAgentId: string;
18
19
  ref: {
19
20
  type: "commit" | "tag" | "branch";
20
21
  name: string;
21
22
  hash: string;
22
23
  } | null;
23
24
  contextId: string;
24
- subAgentId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
27
27
  id: string;