@inkeep/agents-core 0.0.0-dev-20260405085547 → 0.0.0-dev-20260406143645

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 (30) hide show
  1. package/dist/auth/auth-schema.d.ts +108 -108
  2. package/dist/auth/auth-validation-schemas.d.ts +154 -154
  3. package/dist/auth/auth.d.ts +6 -6
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/data-access/manage/agents.d.ts +27 -27
  6. package/dist/data-access/manage/artifactComponents.d.ts +12 -12
  7. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  8. package/dist/data-access/manage/dataComponents.d.ts +2 -2
  9. package/dist/data-access/manage/functionTools.d.ts +8 -8
  10. package/dist/data-access/manage/skills.d.ts +5 -5
  11. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
  12. package/dist/data-access/manage/subAgentRelations.d.ts +10 -10
  13. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
  14. package/dist/data-access/manage/subAgents.d.ts +9 -9
  15. package/dist/data-access/manage/tools.d.ts +12 -12
  16. package/dist/data-access/manage/triggers.d.ts +4 -4
  17. package/dist/data-access/runtime/apiKeys.d.ts +8 -8
  18. package/dist/data-access/runtime/apps.d.ts +4 -4
  19. package/dist/data-access/runtime/conversations.d.ts +24 -24
  20. package/dist/data-access/runtime/messages.d.ts +6 -6
  21. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +4 -4
  22. package/dist/data-access/runtime/tasks.d.ts +5 -5
  23. package/dist/db/manage/dolt-safe-jsonb.d.ts +2 -2
  24. package/dist/db/manage/manage-schema.d.ts +453 -453
  25. package/dist/db/runtime/runtime-schema.d.ts +386 -386
  26. package/dist/middleware/no-auth.d.ts +2 -2
  27. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  28. package/dist/validation/schemas/skills.d.ts +29 -29
  29. package/dist/validation/schemas.d.ts +2029 -2029
  30. package/package.json +1 -1
@@ -12,9 +12,9 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
12
12
  id: string;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
+ agentId: string;
15
16
  projectId: string;
16
17
  tenantId: string;
17
- agentId: string;
18
18
  sourceSubAgentId: string;
19
19
  targetSubAgentId: string | null;
20
20
  relationType: string | null;
@@ -47,9 +47,9 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
47
47
  id: string;
48
48
  createdAt: string;
49
49
  updatedAt: string;
50
+ agentId: string;
50
51
  projectId: string;
51
52
  tenantId: string;
52
- agentId: string;
53
53
  sourceSubAgentId: string;
54
54
  targetSubAgentId: string | null;
55
55
  relationType: string | null;
@@ -60,9 +60,9 @@ declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (par
60
60
  id: string;
61
61
  createdAt: string;
62
62
  updatedAt: string;
63
+ agentId: string;
63
64
  projectId: string;
64
65
  tenantId: string;
65
- agentId: string;
66
66
  sourceSubAgentId: string;
67
67
  targetSubAgentId: string | null;
68
68
  relationType: string | null;
@@ -129,9 +129,9 @@ declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (param
129
129
  id: string;
130
130
  createdAt: string;
131
131
  updatedAt: string;
132
+ agentId: string;
132
133
  projectId: string;
133
134
  tenantId: string;
134
- agentId: string;
135
135
  sourceSubAgentId: string;
136
136
  targetSubAgentId: string | null;
137
137
  relationType: string | null;
@@ -148,9 +148,9 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
148
148
  id: string;
149
149
  createdAt: string;
150
150
  updatedAt: string;
151
+ agentId: string;
151
152
  projectId: string;
152
153
  tenantId: string;
153
- agentId: string;
154
154
  sourceSubAgentId: string;
155
155
  targetSubAgentId: string | null;
156
156
  relationType: string | null;
@@ -162,9 +162,9 @@ declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (param
162
162
  id: string;
163
163
  createdAt: string;
164
164
  updatedAt: string;
165
+ agentId: string;
165
166
  projectId: string;
166
167
  tenantId: string;
167
- agentId: string;
168
168
  sourceSubAgentId: string;
169
169
  targetSubAgentId: string | null;
170
170
  relationType: string | null;
@@ -207,12 +207,12 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
207
207
  id: string;
208
208
  createdAt: string;
209
209
  updatedAt: string;
210
+ headers: Record<string, string> | null;
211
+ agentId: string;
210
212
  projectId: string;
211
213
  tenantId: string;
212
- agentId: string;
213
214
  subAgentId: string;
214
215
  toolId: string;
215
- headers: Record<string, string> | null;
216
216
  toolPolicies: Record<string, {
217
217
  needsApproval?: boolean;
218
218
  }> | null;
@@ -251,12 +251,12 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
251
251
  id: string;
252
252
  createdAt: string;
253
253
  updatedAt: string;
254
+ headers: Record<string, string> | null;
255
+ agentId: string;
254
256
  projectId: string;
255
257
  tenantId: string;
256
- agentId: string;
257
258
  subAgentId: string;
258
259
  toolId: string;
259
- headers: Record<string, string> | null;
260
260
  toolPolicies: Record<string, {
261
261
  needsApproval?: boolean;
262
262
  }> | null;
@@ -12,11 +12,11 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
12
12
  id: string;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
+ headers: Record<string, string> | null;
16
+ agentId: string;
15
17
  projectId: string;
16
18
  tenantId: string;
17
- agentId: string;
18
19
  subAgentId: string;
19
- headers: Record<string, string> | null;
20
20
  targetAgentId: string;
21
21
  } | undefined>;
22
22
  declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
@@ -47,11 +47,11 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
47
47
  id: string;
48
48
  createdAt: string;
49
49
  updatedAt: string;
50
+ headers: Record<string, string> | null;
51
+ agentId: string;
50
52
  projectId: string;
51
53
  tenantId: string;
52
- agentId: string;
53
54
  subAgentId: string;
54
- headers: Record<string, string> | null;
55
55
  targetAgentId: string;
56
56
  }[]>;
57
57
  declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -60,11 +60,11 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseCli
60
60
  id: string;
61
61
  createdAt: string;
62
62
  updatedAt: string;
63
+ headers: Record<string, string> | null;
64
+ agentId: string;
63
65
  projectId: string;
64
66
  tenantId: string;
65
- agentId: string;
66
67
  subAgentId: string;
67
- headers: Record<string, string> | null;
68
68
  targetAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -225,11 +225,11 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
225
225
  id: string;
226
226
  createdAt: string;
227
227
  updatedAt: string;
228
+ headers: Record<string, string> | null;
229
+ agentId: string;
228
230
  projectId: string;
229
231
  tenantId: string;
230
- agentId: string;
231
232
  subAgentId: string;
232
- headers: Record<string, string> | null;
233
233
  targetAgentId: string;
234
234
  }>;
235
235
  /**
@@ -242,11 +242,11 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
242
242
  id: string;
243
243
  createdAt: string;
244
244
  updatedAt: string;
245
+ headers: Record<string, string> | null;
246
+ agentId: string;
245
247
  projectId: string;
246
248
  tenantId: string;
247
- agentId: string;
248
249
  subAgentId: string;
249
- headers: Record<string, string> | null;
250
250
  targetAgentId: string;
251
251
  } | undefined>;
252
252
  /**
@@ -263,11 +263,11 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
263
263
  id: string;
264
264
  createdAt: string;
265
265
  updatedAt: string;
266
+ headers: Record<string, string> | null;
267
+ agentId: string;
266
268
  projectId: string;
267
269
  tenantId: string;
268
- agentId: string;
269
270
  subAgentId: string;
270
- headers: Record<string, string> | null;
271
271
  targetAgentId: string;
272
272
  }>;
273
273
  declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -9,11 +9,12 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
- description: string | null;
13
12
  id: string;
14
13
  name: string;
15
14
  createdAt: string;
16
15
  updatedAt: string;
16
+ description: string | null;
17
+ agentId: string;
17
18
  projectId: string;
18
19
  tenantId: string;
19
20
  models: {
@@ -36,21 +37,21 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
36
37
  allowedProviders?: string[] | undefined;
37
38
  } | undefined;
38
39
  } | null;
40
+ prompt: string | null;
39
41
  stopWhen: {
40
42
  stepCountIs?: number | undefined;
41
43
  } | null;
42
- agentId: string;
43
- prompt: string | null;
44
44
  conversationHistoryConfig: ConversationHistoryConfig | null;
45
45
  } | undefined>;
46
46
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
47
47
  scopes: AgentScopeConfig;
48
48
  }) => Promise<{
49
- description: string | null;
50
49
  id: string;
51
50
  name: string;
52
51
  createdAt: string;
53
52
  updatedAt: string;
53
+ description: string | null;
54
+ agentId: string;
54
55
  projectId: string;
55
56
  tenantId: string;
56
57
  models: {
@@ -73,11 +74,10 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
73
74
  allowedProviders?: string[] | undefined;
74
75
  } | undefined;
75
76
  } | null;
77
+ prompt: string | null;
76
78
  stopWhen: {
77
79
  stepCountIs?: number | undefined;
78
80
  } | null;
79
- agentId: string;
80
- prompt: string | null;
81
81
  conversationHistoryConfig: ConversationHistoryConfig | null;
82
82
  }[]>;
83
83
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
@@ -127,11 +127,12 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
127
127
  };
128
128
  }>;
129
129
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
130
- description: string | null;
131
130
  id: string;
132
131
  name: string;
133
132
  createdAt: string;
134
133
  updatedAt: string;
134
+ description: string | null;
135
+ agentId: string;
135
136
  projectId: string;
136
137
  tenantId: string;
137
138
  models: {
@@ -154,11 +155,10 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
154
155
  allowedProviders?: string[] | undefined;
155
156
  } | undefined;
156
157
  } | null;
158
+ prompt: string | null;
157
159
  stopWhen: {
158
160
  stepCountIs?: number | undefined;
159
161
  } | null;
160
- agentId: string;
161
- prompt: string | null;
162
162
  conversationHistoryConfig: ConversationHistoryConfig | null;
163
163
  }>;
164
164
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -20,14 +20,14 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
20
20
  scopes: ProjectScopeConfig;
21
21
  toolId: string;
22
22
  }) => Promise<{
23
- description: string | null;
24
23
  id: string;
25
24
  name: string;
26
25
  createdAt: string;
27
26
  updatedAt: string;
27
+ description: string | null;
28
+ headers: Record<string, string> | null;
28
29
  projectId: string;
29
30
  tenantId: string;
30
- headers: Record<string, string> | null;
31
31
  config: {
32
32
  type: "mcp";
33
33
  mcp: ToolMcpConfig;
@@ -78,14 +78,14 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
78
78
  };
79
79
  }>;
80
80
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
81
- description: string | null;
82
81
  id: string;
83
82
  name: string;
84
83
  createdAt: string;
85
84
  updatedAt: string;
85
+ description: string | null;
86
+ headers: Record<string, string> | null;
86
87
  projectId: string;
87
88
  tenantId: string;
88
- headers: Record<string, string> | null;
89
89
  config: {
90
90
  type: "mcp";
91
91
  mcp: ToolMcpConfig;
@@ -138,12 +138,12 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
138
138
  id: string;
139
139
  createdAt: string;
140
140
  updatedAt: string;
141
+ headers: Record<string, string> | null;
142
+ agentId: string;
141
143
  projectId: string;
142
144
  tenantId: string;
143
- agentId: string;
144
145
  subAgentId: string;
145
146
  toolId: string;
146
- headers: Record<string, string> | null;
147
147
  toolPolicies: Record<string, {
148
148
  needsApproval?: boolean;
149
149
  }> | null;
@@ -157,12 +157,12 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
157
157
  id: string;
158
158
  createdAt: string;
159
159
  updatedAt: string;
160
+ headers: Record<string, string> | null;
161
+ agentId: string;
160
162
  projectId: string;
161
163
  tenantId: string;
162
- agentId: string;
163
164
  subAgentId: string;
164
165
  toolId: string;
165
- headers: Record<string, string> | null;
166
166
  toolPolicies: Record<string, {
167
167
  needsApproval?: boolean;
168
168
  }> | null;
@@ -185,12 +185,12 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
185
185
  id: string;
186
186
  createdAt: string;
187
187
  updatedAt: string;
188
+ headers: Record<string, string> | null;
189
+ agentId: string;
188
190
  projectId: string;
189
191
  tenantId: string;
190
- agentId: string;
191
192
  subAgentId: string;
192
193
  toolId: string;
193
- headers: Record<string, string> | null;
194
194
  toolPolicies: Record<string, {
195
195
  needsApproval?: boolean;
196
196
  }> | null;
@@ -202,14 +202,14 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
202
202
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
203
203
  data: ToolInsert;
204
204
  }) => Promise<{
205
- description: string | null;
206
205
  id: string;
207
206
  name: string;
208
207
  createdAt: string;
209
208
  updatedAt: string;
209
+ description: string | null;
210
+ headers: Record<string, string> | null;
210
211
  projectId: string;
211
212
  tenantId: string;
212
- headers: Record<string, string> | null;
213
213
  config: {
214
214
  type: "mcp";
215
215
  mcp: ToolMcpConfig;
@@ -37,16 +37,16 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
37
37
  authentication: unknown;
38
38
  signingSecretCredentialReferenceId: string | null;
39
39
  signatureVerification: {
40
- algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
41
- encoding: "hex" | "base64";
40
+ algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
41
+ encoding: "base64" | "hex";
42
42
  signature: {
43
- source: "query" | "header" | "body";
43
+ source: "query" | "body" | "header";
44
44
  key: string;
45
45
  prefix?: string | undefined;
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "literal" | "header" | "body";
49
+ source: "literal" | "body" | "header";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -12,28 +12,28 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
12
12
  name: string | null;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
+ expiresAt: string | null;
16
+ agentId: string;
15
17
  projectId: string;
16
18
  tenantId: string;
17
- agentId: string;
18
19
  publicId: string;
19
20
  keyHash: string;
20
21
  keyPrefix: string;
21
22
  lastUsedAt: string | null;
22
- expiresAt: string | null;
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
25
  id: string;
26
26
  name: string | null;
27
27
  createdAt: string;
28
28
  updatedAt: string;
29
+ expiresAt: string | null;
30
+ agentId: string;
29
31
  projectId: string;
30
32
  tenantId: string;
31
- agentId: string;
32
33
  publicId: string;
33
34
  keyHash: string;
34
35
  keyPrefix: string;
35
36
  lastUsedAt: string | null;
36
- expiresAt: string | null;
37
37
  } | undefined>;
38
38
  declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
39
39
  scopes: ProjectScopeConfig;
@@ -43,14 +43,14 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
43
43
  name: string | null;
44
44
  createdAt: string;
45
45
  updatedAt: string;
46
+ expiresAt: string | null;
47
+ agentId: string;
46
48
  projectId: string;
47
49
  tenantId: string;
48
- agentId: string;
49
50
  publicId: string;
50
51
  keyHash: string;
51
52
  keyPrefix: string;
52
53
  lastUsedAt: string | null;
53
- expiresAt: string | null;
54
54
  }[]>;
55
55
  declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
56
56
  scopes: ProjectScopeConfig;
@@ -70,14 +70,14 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
70
70
  name: string | null;
71
71
  createdAt: string;
72
72
  updatedAt: string;
73
+ expiresAt: string | null;
74
+ agentId: string;
73
75
  projectId: string;
74
76
  tenantId: string;
75
- agentId: string;
76
77
  publicId: string;
77
78
  keyHash: string;
78
79
  keyPrefix: string;
79
80
  lastUsedAt: string | null;
80
- expiresAt: string | null;
81
81
  }>;
82
82
  declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
83
83
  scopes: ProjectScopeConfig;
@@ -6,14 +6,14 @@ 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
- description: string | null;
10
9
  id: string;
11
10
  name: string;
12
11
  createdAt: string;
13
12
  updatedAt: string;
13
+ description: string | null;
14
+ enabled: boolean;
14
15
  projectId: string | null;
15
16
  tenantId: string | null;
16
- enabled: boolean;
17
17
  prompt: string | null;
18
18
  config: {
19
19
  type: "web_client";
@@ -62,14 +62,14 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
62
62
  }>;
63
63
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
64
64
  type: AppType;
65
- description: string | null;
66
65
  id: string;
67
66
  name: string;
68
67
  createdAt: string;
69
68
  updatedAt: string;
69
+ description: string | null;
70
+ enabled: boolean;
70
71
  projectId: string | null;
71
72
  tenantId: string | null;
72
- enabled: boolean;
73
73
  prompt: string | null;
74
74
  config: {
75
75
  type: "web_client";
@@ -15,20 +15,20 @@ 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
18
  id: string;
19
+ createdAt: string;
20
+ updatedAt: string;
20
21
  ref: {
21
22
  type: "commit" | "tag" | "branch";
22
23
  name: string;
23
24
  hash: string;
24
25
  } | null;
25
- createdAt: string;
26
- updatedAt: string;
27
- projectId: string;
28
- tenantId: string;
26
+ userId: string | null;
29
27
  metadata: ConversationMetadata | null;
30
28
  agentId: string | null;
31
- userId: string | null;
29
+ projectId: string;
30
+ tenantId: string;
31
+ title: string | null;
32
32
  activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
34
34
  }>;
@@ -84,20 +84,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
84
84
  scopes: ProjectScopeConfig;
85
85
  conversationId: string;
86
86
  }) => Promise<{
87
- title: string | null;
88
87
  id: string;
88
+ createdAt: string;
89
+ updatedAt: string;
89
90
  ref: {
90
91
  type: "commit" | "tag" | "branch";
91
92
  name: string;
92
93
  hash: string;
93
94
  } | null;
94
- createdAt: string;
95
- updatedAt: string;
96
- projectId: string;
97
- tenantId: string;
95
+ userId: string | null;
98
96
  metadata: ConversationMetadata | null;
99
97
  agentId: string | null;
100
- userId: string | null;
98
+ projectId: string;
99
+ tenantId: string;
100
+ title: string | null;
101
101
  activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
103
103
  } | undefined>;
@@ -120,20 +120,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
120
120
  metadata?: ConversationMetadata | null | undefined;
121
121
  contextConfigId?: string | undefined;
122
122
  } | {
123
- title: string | null;
124
123
  id: string;
124
+ createdAt: string;
125
+ updatedAt: string;
125
126
  ref: {
126
127
  type: "commit" | "tag" | "branch";
127
128
  name: string;
128
129
  hash: string;
129
130
  } | null;
130
- createdAt: string;
131
- updatedAt: string;
132
- projectId: string;
133
- tenantId: string;
131
+ userId: string | null;
134
132
  metadata: ConversationMetadata | null;
135
133
  agentId: string | null;
136
- userId: string | null;
134
+ projectId: string;
135
+ tenantId: string;
136
+ title: string | null;
137
137
  activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
139
139
  }>;
@@ -152,20 +152,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
152
152
  scopes: ProjectScopeConfig;
153
153
  conversationId: string;
154
154
  }) => Promise<{
155
- title: string | null;
156
155
  id: string;
156
+ createdAt: string;
157
+ updatedAt: string;
157
158
  ref: {
158
159
  type: "commit" | "tag" | "branch";
159
160
  name: string;
160
161
  hash: string;
161
162
  } | null;
162
- createdAt: string;
163
- updatedAt: string;
164
- projectId: string;
165
- tenantId: string;
163
+ userId: string | null;
166
164
  metadata: ConversationMetadata | null;
167
165
  agentId: string | null;
168
- userId: string | null;
166
+ projectId: string;
167
+ tenantId: string;
168
+ title: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -13,12 +13,12 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
13
13
  id: string;
14
14
  createdAt: string;
15
15
  updatedAt: string;
16
+ metadata: MessageMetadata | null;
17
+ role: string;
16
18
  projectId: string;
17
19
  tenantId: string;
18
- metadata: MessageMetadata | null;
19
20
  content: MessageContent;
20
21
  conversationId: string;
21
- role: string;
22
22
  fromSubAgentId: string | null;
23
23
  toSubAgentId: string | null;
24
24
  fromExternalAgentId: string | null;
@@ -147,12 +147,12 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
147
147
  id: string;
148
148
  createdAt: string;
149
149
  updatedAt: string;
150
+ metadata: MessageMetadata | null;
151
+ role: string;
150
152
  projectId: string;
151
153
  tenantId: string;
152
- metadata: MessageMetadata | null;
153
154
  content: MessageContent;
154
155
  conversationId: string;
155
- role: string;
156
156
  fromSubAgentId: string | null;
157
157
  toSubAgentId: string | null;
158
158
  fromExternalAgentId: string | null;
@@ -200,12 +200,12 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
200
200
  id: string;
201
201
  createdAt: string;
202
202
  updatedAt: string;
203
+ metadata: MessageMetadata | null;
204
+ role: string;
203
205
  projectId: string;
204
206
  tenantId: string;
205
- metadata: MessageMetadata | null;
206
207
  content: MessageContent;
207
208
  conversationId: string;
208
- role: string;
209
209
  fromSubAgentId: string | null;
210
210
  toSubAgentId: string | null;
211
211
  fromExternalAgentId: string | null;
@@ -40,7 +40,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;
43
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
43
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
44
44
  scheduledFor: string;
45
45
  startedAt: string | null;
46
46
  completedAt: string | null;
@@ -194,7 +194,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
194
194
  name: string;
195
195
  hash: string;
196
196
  } | null;
197
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
197
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
198
198
  scheduledFor: string;
199
199
  startedAt: string | null;
200
200
  completedAt: string | null;
@@ -233,7 +233,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
233
233
  name: string;
234
234
  hash: string;
235
235
  } | null;
236
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
236
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
237
237
  scheduledFor: string;
238
238
  startedAt: string | null;
239
239
  completedAt: string | null;
@@ -285,7 +285,7 @@ declare const listScheduledTriggerInvocationsByTriggerId: (db: AgentsRunDatabase
285
285
  name: string;
286
286
  hash: string;
287
287
  } | null;
288
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
288
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
289
289
  scheduledFor: string;
290
290
  startedAt: string | null;
291
291
  completedAt: string | null;
@@ -8,19 +8,19 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
8
8
  //#region src/data-access/runtime/tasks.d.ts
9
9
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
10
10
  id: string;
11
+ createdAt: string;
12
+ updatedAt: string;
11
13
  ref: {
12
14
  type: "commit" | "tag" | "branch";
13
15
  name: string;
14
16
  hash: string;
15
17
  } | null;
16
- createdAt: string;
17
- updatedAt: string;
18
- projectId: string;
19
- tenantId: string;
20
18
  metadata: TaskMetadataConfig | null;
19
+ status: string;
21
20
  agentId: string;
21
+ projectId: string;
22
+ tenantId: string;
22
23
  subAgentId: string;
23
- status: string;
24
24
  contextId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {