@inkeep/agents-core 0.0.0-dev-20260402165145 → 0.0.0-dev-20260402223924

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 (34) hide show
  1. package/dist/auth/auth-schema.d.ts +86 -86
  2. package/dist/auth/auth-validation-schemas.d.ts +137 -137
  3. package/dist/auth/auth.d.ts +6 -6
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/constants/otel-attributes.d.ts +5 -0
  6. package/dist/constants/otel-attributes.js +7 -2
  7. package/dist/constants/signoz-queries.d.ts +1 -0
  8. package/dist/constants/signoz-queries.js +2 -1
  9. package/dist/data-access/manage/agents.d.ts +32 -32
  10. package/dist/data-access/manage/artifactComponents.d.ts +6 -6
  11. package/dist/data-access/manage/contextConfigs.d.ts +4 -4
  12. package/dist/data-access/manage/dataComponents.d.ts +2 -2
  13. package/dist/data-access/manage/functionTools.d.ts +6 -6
  14. package/dist/data-access/manage/skills.d.ts +5 -5
  15. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
  16. package/dist/data-access/manage/subAgentRelations.d.ts +16 -16
  17. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
  18. package/dist/data-access/manage/subAgents.d.ts +12 -12
  19. package/dist/data-access/manage/tools.d.ts +18 -18
  20. package/dist/data-access/manage/triggers.d.ts +2 -2
  21. package/dist/data-access/runtime/apiKeys.d.ts +4 -4
  22. package/dist/data-access/runtime/apps.d.ts +12 -12
  23. package/dist/data-access/runtime/conversations.d.ts +4 -4
  24. package/dist/data-access/runtime/messages.d.ts +6 -6
  25. package/dist/data-access/runtime/tasks.d.ts +1 -1
  26. package/dist/db/manage/manage-schema.d.ts +4 -4
  27. package/dist/db/runtime/runtime-schema.d.ts +346 -346
  28. package/dist/utils/retry-client.d.ts +8 -0
  29. package/dist/utils/retry-client.js +29 -0
  30. package/dist/utils/work-app-mcp.js +1 -2
  31. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  32. package/dist/validation/schemas/skills.d.ts +24 -24
  33. package/dist/validation/schemas.d.ts +386 -386
  34. package/package.json +5 -1
@@ -12,12 +12,12 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
12
12
  id: string;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
- projectId: string;
16
15
  tenantId: string;
16
+ projectId: string;
17
17
  agentId: string;
18
+ relationType: string | null;
18
19
  sourceSubAgentId: string;
19
20
  targetSubAgentId: string | null;
20
- relationType: string | null;
21
21
  } | undefined>;
22
22
  declare const listAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
23
23
  scopes: AgentScopeConfig;
@@ -47,12 +47,12 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
47
47
  id: string;
48
48
  createdAt: string;
49
49
  updatedAt: string;
50
- projectId: string;
51
50
  tenantId: string;
51
+ projectId: string;
52
52
  agentId: string;
53
+ relationType: string | null;
53
54
  sourceSubAgentId: string;
54
55
  targetSubAgentId: string | null;
55
- relationType: string | null;
56
56
  }[]>;
57
57
  declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
@@ -60,12 +60,12 @@ declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (par
60
60
  id: string;
61
61
  createdAt: string;
62
62
  updatedAt: string;
63
- projectId: string;
64
63
  tenantId: string;
64
+ projectId: string;
65
65
  agentId: string;
66
+ relationType: string | null;
66
67
  sourceSubAgentId: string;
67
68
  targetSubAgentId: string | null;
68
- relationType: string | null;
69
69
  }[]>;
70
70
  declare const getAgentRelationsBySource: (db: AgentsManageDatabaseClient) => (params: {
71
71
  scopes: AgentScopeConfig;
@@ -129,12 +129,12 @@ declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (param
129
129
  id: string;
130
130
  createdAt: string;
131
131
  updatedAt: string;
132
- projectId: string;
133
132
  tenantId: string;
133
+ projectId: string;
134
134
  agentId: string;
135
+ relationType: string | null;
135
136
  sourceSubAgentId: string;
136
137
  targetSubAgentId: string | null;
137
- relationType: string | null;
138
138
  }>;
139
139
  /**
140
140
  * Check if sub-agent relation exists by agent, source, target, and relation type
@@ -148,12 +148,12 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
148
148
  id: string;
149
149
  createdAt: string;
150
150
  updatedAt: string;
151
- projectId: string;
152
151
  tenantId: string;
152
+ projectId: string;
153
153
  agentId: string;
154
+ relationType: string | null;
154
155
  sourceSubAgentId: string;
155
156
  targetSubAgentId: string | null;
156
- relationType: string | null;
157
157
  } | undefined>;
158
158
  /**
159
159
  * Upsert agent relation (create if it doesn't exist, no-op if it does)
@@ -162,12 +162,12 @@ declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (param
162
162
  id: string;
163
163
  createdAt: string;
164
164
  updatedAt: string;
165
- projectId: string;
166
165
  tenantId: string;
166
+ projectId: string;
167
167
  agentId: string;
168
+ relationType: string | null;
168
169
  sourceSubAgentId: string;
169
170
  targetSubAgentId: string | null;
170
- relationType: string | null;
171
171
  }>;
172
172
  declare const updateAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
173
173
  scopes: AgentScopeConfig;
@@ -207,12 +207,12 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
207
207
  id: string;
208
208
  createdAt: string;
209
209
  updatedAt: string;
210
- projectId: string;
211
210
  tenantId: string;
211
+ projectId: string;
212
212
  agentId: string;
213
- headers: Record<string, string> | null;
214
213
  subAgentId: string;
215
214
  toolId: string;
215
+ headers: Record<string, string> | null;
216
216
  selectedTools: string[] | null;
217
217
  toolPolicies: Record<string, {
218
218
  needsApproval?: boolean;
@@ -251,12 +251,12 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
251
251
  id: string;
252
252
  createdAt: string;
253
253
  updatedAt: string;
254
- projectId: string;
255
254
  tenantId: string;
255
+ projectId: string;
256
256
  agentId: string;
257
- headers: Record<string, string> | null;
258
257
  subAgentId: string;
259
258
  toolId: string;
259
+ headers: Record<string, string> | null;
260
260
  selectedTools: string[] | null;
261
261
  toolPolicies: Record<string, {
262
262
  needsApproval?: boolean;
@@ -12,11 +12,11 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
12
12
  id: string;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
- projectId: string;
16
15
  tenantId: string;
16
+ projectId: string;
17
17
  agentId: string;
18
- headers: Record<string, string> | null;
19
18
  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
- projectId: string;
51
50
  tenantId: string;
51
+ projectId: string;
52
52
  agentId: string;
53
- headers: Record<string, string> | null;
54
53
  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
- projectId: string;
64
63
  tenantId: string;
64
+ projectId: string;
65
65
  agentId: string;
66
- headers: Record<string, string> | null;
67
66
  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
- projectId: string;
229
228
  tenantId: string;
229
+ projectId: string;
230
230
  agentId: string;
231
- headers: Record<string, string> | null;
232
231
  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
- projectId: string;
246
245
  tenantId: string;
246
+ projectId: string;
247
247
  agentId: string;
248
- headers: Record<string, string> | null;
249
248
  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
- projectId: string;
267
266
  tenantId: string;
267
+ projectId: string;
268
268
  agentId: string;
269
- headers: Record<string, string> | null;
270
269
  subAgentId: string;
270
+ headers: Record<string, string> | null;
271
271
  targetAgentId: string;
272
272
  }>;
273
273
  declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -13,9 +13,10 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
13
13
  name: string;
14
14
  createdAt: string;
15
15
  updatedAt: string;
16
- description: string | null;
17
- projectId: string;
18
16
  tenantId: string;
17
+ projectId: string;
18
+ description: string | null;
19
+ agentId: string;
19
20
  models: {
20
21
  base?: {
21
22
  model?: string | undefined;
@@ -36,11 +37,10 @@ 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: {
@@ -50,9 +50,10 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
50
50
  name: string;
51
51
  createdAt: string;
52
52
  updatedAt: string;
53
- description: string | null;
54
- projectId: string;
55
53
  tenantId: string;
54
+ projectId: string;
55
+ description: string | null;
56
+ agentId: string;
56
57
  models: {
57
58
  base?: {
58
59
  model?: string | undefined;
@@ -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: {
@@ -131,9 +131,10 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
131
131
  name: string;
132
132
  createdAt: string;
133
133
  updatedAt: string;
134
- description: string | null;
135
- projectId: string;
136
134
  tenantId: string;
135
+ projectId: string;
136
+ description: string | null;
137
+ agentId: string;
137
138
  models: {
138
139
  base?: {
139
140
  model?: string | undefined;
@@ -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: {
@@ -24,16 +24,16 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
24
24
  name: string;
25
25
  createdAt: string;
26
26
  updatedAt: string;
27
- description: string | null;
28
- projectId: string;
29
27
  tenantId: string;
30
- headers: Record<string, string> | null;
31
- credentialReferenceId: string | null;
28
+ projectId: string;
29
+ description: string | null;
32
30
  config: {
33
31
  type: "mcp";
34
32
  mcp: ToolMcpConfig;
35
33
  };
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;
@@ -82,16 +82,16 @@ declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInser
82
82
  name: string;
83
83
  createdAt: string;
84
84
  updatedAt: string;
85
- description: string | null;
86
- projectId: string;
87
85
  tenantId: string;
88
- headers: Record<string, string> | null;
89
- credentialReferenceId: string | null;
86
+ projectId: string;
87
+ description: string | null;
90
88
  config: {
91
89
  type: "mcp";
92
90
  mcp: ToolMcpConfig;
93
91
  };
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;
@@ -138,12 +138,12 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
138
138
  id: string;
139
139
  createdAt: string;
140
140
  updatedAt: string;
141
- projectId: string;
142
141
  tenantId: string;
142
+ projectId: string;
143
143
  agentId: string;
144
- headers: Record<string, string> | null;
145
144
  subAgentId: string;
146
145
  toolId: string;
146
+ headers: Record<string, string> | null;
147
147
  selectedTools: string[] | null;
148
148
  toolPolicies: Record<string, {
149
149
  needsApproval?: boolean;
@@ -157,12 +157,12 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
157
157
  id: string;
158
158
  createdAt: string;
159
159
  updatedAt: string;
160
- projectId: string;
161
160
  tenantId: string;
161
+ projectId: string;
162
162
  agentId: string;
163
- headers: Record<string, string> | null;
164
163
  subAgentId: string;
165
164
  toolId: string;
165
+ headers: Record<string, string> | null;
166
166
  selectedTools: string[] | null;
167
167
  toolPolicies: Record<string, {
168
168
  needsApproval?: boolean;
@@ -185,12 +185,12 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
185
185
  id: string;
186
186
  createdAt: string;
187
187
  updatedAt: string;
188
- projectId: string;
189
188
  tenantId: string;
189
+ projectId: string;
190
190
  agentId: string;
191
- headers: Record<string, string> | null;
192
191
  subAgentId: string;
193
192
  toolId: string;
193
+ headers: Record<string, string> | null;
194
194
  selectedTools: string[] | null;
195
195
  toolPolicies: Record<string, {
196
196
  needsApproval?: boolean;
@@ -206,16 +206,16 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
206
206
  name: string;
207
207
  createdAt: string;
208
208
  updatedAt: string;
209
- description: string | null;
210
- projectId: string;
211
209
  tenantId: string;
212
- headers: Record<string, string> | null;
213
- credentialReferenceId: string | null;
210
+ projectId: string;
211
+ description: string | null;
214
212
  config: {
215
213
  type: "mcp";
216
214
  mcp: ToolMcpConfig;
217
215
  };
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;
@@ -40,13 +40,13 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
40
40
  algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
41
41
  encoding: "base64" | "hex";
42
42
  signature: {
43
- source: "query" | "body" | "header";
43
+ source: "query" | "header" | "body";
44
44
  key: string;
45
45
  prefix?: string | undefined;
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "literal" | "body" | "header";
49
+ source: "literal" | "header" | "body";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -13,8 +13,8 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
15
  expiresAt: string | null;
16
- projectId: string;
17
16
  tenantId: string;
17
+ projectId: string;
18
18
  agentId: string;
19
19
  publicId: string;
20
20
  keyHash: string;
@@ -27,8 +27,8 @@ declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: s
27
27
  createdAt: string;
28
28
  updatedAt: string;
29
29
  expiresAt: string | null;
30
- projectId: string;
31
30
  tenantId: string;
31
+ projectId: string;
32
32
  agentId: string;
33
33
  publicId: string;
34
34
  keyHash: string;
@@ -44,8 +44,8 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
44
44
  createdAt: string;
45
45
  updatedAt: string;
46
46
  expiresAt: string | null;
47
- projectId: string;
48
47
  tenantId: string;
48
+ projectId: string;
49
49
  agentId: string;
50
50
  publicId: string;
51
51
  keyHash: string;
@@ -71,8 +71,8 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
71
71
  createdAt: string;
72
72
  updatedAt: string;
73
73
  expiresAt: string | null;
74
- projectId: string;
75
74
  tenantId: string;
75
+ projectId: string;
76
76
  agentId: string;
77
77
  publicId: string;
78
78
  keyHash: string;
@@ -5,16 +5,19 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
5
5
 
6
6
  //#region src/data-access/runtime/apps.d.ts
7
7
  declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
8
- enabled: boolean;
9
8
  id: string;
10
9
  name: string;
11
10
  createdAt: string;
12
11
  updatedAt: string;
12
+ tenantId: string | null;
13
+ projectId: string | null;
13
14
  description: string | null;
14
15
  type: AppType;
15
- projectId: string | null;
16
- tenantId: string | null;
16
+ enabled: boolean;
17
17
  prompt: string | null;
18
+ lastUsedAt: string | null;
19
+ defaultProjectId: string | null;
20
+ defaultAgentId: string | null;
18
21
  config: {
19
22
  type: "web_client";
20
23
  webClient: {
@@ -32,9 +35,6 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
32
35
  type: "api";
33
36
  api: Record<string, never>;
34
37
  };
35
- lastUsedAt: string | null;
36
- defaultProjectId: string | null;
37
- defaultAgentId: string | null;
38
38
  } | undefined>;
39
39
  declare const updateAppLastUsed: (db: AgentsRunDatabaseClient) => (id: string) => Promise<void>;
40
40
  declare const getAppByIdForTenant: (db: AgentsRunDatabaseClient) => (params: {
@@ -61,16 +61,19 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
61
61
  };
62
62
  }>;
63
63
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
64
- enabled: boolean;
65
64
  id: string;
66
65
  name: string;
67
66
  createdAt: string;
68
67
  updatedAt: string;
68
+ tenantId: string | null;
69
+ projectId: string | null;
69
70
  description: string | null;
70
71
  type: AppType;
71
- projectId: string | null;
72
- tenantId: string | null;
72
+ enabled: boolean;
73
73
  prompt: string | null;
74
+ lastUsedAt: string | null;
75
+ defaultProjectId: string | null;
76
+ defaultAgentId: string | null;
74
77
  config: {
75
78
  type: "web_client";
76
79
  webClient: {
@@ -88,9 +91,6 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
88
91
  type: "api";
89
92
  api: Record<string, never>;
90
93
  };
91
- lastUsedAt: string | null;
92
- defaultProjectId: string | null;
93
- defaultAgentId: string | null;
94
94
  }>;
95
95
  declare const updateAppForTenant: (db: AgentsRunDatabaseClient) => (params: {
96
96
  scopes: TenantScopeConfig;
@@ -25,8 +25,8 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
25
25
  } | null;
26
26
  userId: string | null;
27
27
  metadata: ConversationMetadata | null;
28
- projectId: string;
29
28
  tenantId: string;
29
+ projectId: string;
30
30
  title: string | null;
31
31
  agentId: string | null;
32
32
  activeSubAgentId: string;
@@ -94,8 +94,8 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
94
94
  } | null;
95
95
  userId: string | null;
96
96
  metadata: ConversationMetadata | null;
97
- projectId: string;
98
97
  tenantId: string;
98
+ projectId: string;
99
99
  title: string | null;
100
100
  agentId: string | null;
101
101
  activeSubAgentId: string;
@@ -130,8 +130,8 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
130
130
  } | null;
131
131
  userId: string | null;
132
132
  metadata: ConversationMetadata | null;
133
- projectId: string;
134
133
  tenantId: string;
134
+ projectId: string;
135
135
  title: string | null;
136
136
  agentId: string | null;
137
137
  activeSubAgentId: string;
@@ -162,8 +162,8 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
162
162
  } | null;
163
163
  userId: string | null;
164
164
  metadata: ConversationMetadata | null;
165
- projectId: string;
166
165
  tenantId: string;
166
+ projectId: string;
167
167
  title: string | null;
168
168
  agentId: string | null;
169
169
  activeSubAgentId: string;
@@ -15,9 +15,9 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
15
15
  updatedAt: string;
16
16
  metadata: MessageMetadata | null;
17
17
  role: string;
18
- content: MessageContent;
19
- projectId: string;
20
18
  tenantId: string;
19
+ projectId: string;
20
+ content: MessageContent;
21
21
  conversationId: string;
22
22
  fromSubAgentId: string | null;
23
23
  toSubAgentId: string | null;
@@ -149,9 +149,9 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
149
149
  updatedAt: string;
150
150
  metadata: MessageMetadata | null;
151
151
  role: string;
152
- content: MessageContent;
153
- projectId: string;
154
152
  tenantId: string;
153
+ projectId: string;
154
+ content: MessageContent;
155
155
  conversationId: string;
156
156
  fromSubAgentId: string | null;
157
157
  toSubAgentId: string | null;
@@ -202,9 +202,9 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
202
202
  updatedAt: string;
203
203
  metadata: MessageMetadata | null;
204
204
  role: string;
205
- content: MessageContent;
206
- projectId: string;
207
205
  tenantId: string;
206
+ projectId: string;
207
+ content: MessageContent;
208
208
  conversationId: string;
209
209
  fromSubAgentId: string | null;
210
210
  toSubAgentId: string | null;
@@ -17,8 +17,8 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
17
17
  } | null;
18
18
  metadata: TaskMetadataConfig | null;
19
19
  status: string;
20
- projectId: string;
21
20
  tenantId: string;
21
+ projectId: string;
22
22
  agentId: string;
23
23
  subAgentId: string;
24
24
  contextId: string;
@@ -858,13 +858,13 @@ declare const triggers: drizzle_orm_pg_core579.PgTableWithColumns<{
858
858
  algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
859
859
  encoding: "base64" | "hex";
860
860
  signature: {
861
- source: "query" | "body" | "header";
861
+ source: "query" | "header" | "body";
862
862
  key: string;
863
863
  prefix?: string | undefined;
864
864
  regex?: string | undefined;
865
865
  };
866
866
  signedComponents: {
867
- source: "literal" | "body" | "header";
867
+ source: "literal" | "header" | "body";
868
868
  required: boolean;
869
869
  key?: string | undefined;
870
870
  value?: string | undefined;
@@ -895,13 +895,13 @@ declare const triggers: drizzle_orm_pg_core579.PgTableWithColumns<{
895
895
  algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
896
896
  encoding: "base64" | "hex";
897
897
  signature: {
898
- source: "query" | "body" | "header";
898
+ source: "query" | "header" | "body";
899
899
  key: string;
900
900
  prefix?: string | undefined;
901
901
  regex?: string | undefined;
902
902
  };
903
903
  signedComponents: {
904
- source: "literal" | "body" | "header";
904
+ source: "literal" | "header" | "body";
905
905
  required: boolean;
906
906
  key?: string | undefined;
907
907
  value?: string | undefined;