@inkeep/agents-core 0.0.0-dev-20260219225345 → 0.0.0-dev-20260220015147

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 +105 -105
  2. package/dist/auth/auth-validation-schemas.d.ts +131 -131
  3. package/dist/auth/auth.d.ts +4 -4
  4. package/dist/client-exports.d.ts +5 -5
  5. package/dist/data-access/manage/agents.d.ts +31 -31
  6. package/dist/data-access/manage/artifactComponents.d.ts +14 -14
  7. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  8. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  9. package/dist/data-access/manage/functionTools.d.ts +14 -14
  10. package/dist/data-access/manage/skills.d.ts +13 -13
  11. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
  12. package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
  13. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  14. package/dist/data-access/manage/subAgents.d.ts +21 -21
  15. package/dist/data-access/manage/tools.d.ts +18 -18
  16. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  17. package/dist/data-access/runtime/conversations.d.ts +16 -16
  18. package/dist/data-access/runtime/messages.d.ts +15 -15
  19. package/dist/data-access/runtime/tasks.d.ts +4 -4
  20. package/dist/data-access/runtime/workAppSlack.js +1 -0
  21. package/dist/db/manage/manage-schema.d.ts +445 -445
  22. package/dist/db/manage/manage-schema.js +1 -1
  23. package/dist/db/runtime/runtime-schema.d.ts +17 -0
  24. package/dist/db/runtime/runtime-schema.js +1 -0
  25. package/dist/middleware/no-auth.d.ts +2 -2
  26. package/dist/types/utility.d.ts +6 -0
  27. package/dist/utils/slack-user-token.d.ts +11 -0
  28. package/dist/utils/slack-user-token.js +11 -3
  29. package/dist/validation/schemas.d.ts +390 -390
  30. package/drizzle/manage/0010_oval_angel.sql +2 -0
  31. package/drizzle/manage/meta/0010_snapshot.json +3673 -0
  32. package/drizzle/manage/meta/_journal.json +7 -0
  33. package/drizzle/runtime/0014_odd_oracle.sql +1 -0
  34. package/drizzle/runtime/meta/0014_snapshot.json +3753 -0
  35. package/drizzle/runtime/meta/_journal.json +7 -0
  36. package/package.json +1 -1
@@ -8,12 +8,12 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
8
8
  scopes: AgentScopeConfig;
9
9
  relationId: string;
10
10
  }) => Promise<{
11
+ id: string;
11
12
  tenantId: string;
12
13
  projectId: string;
13
- id: string;
14
+ agentId: string;
14
15
  createdAt: string;
15
16
  updatedAt: string;
16
- agentId: string;
17
17
  sourceSubAgentId: string;
18
18
  targetSubAgentId: string | null;
19
19
  relationType: string | null;
@@ -43,12 +43,12 @@ declare const listAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
43
43
  declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
44
44
  scopes: SubAgentScopeConfig;
45
45
  }) => Promise<{
46
+ id: string;
46
47
  tenantId: string;
47
48
  projectId: string;
48
- id: string;
49
+ agentId: string;
49
50
  createdAt: string;
50
51
  updatedAt: string;
51
- agentId: string;
52
52
  sourceSubAgentId: string;
53
53
  targetSubAgentId: string | null;
54
54
  relationType: string | null;
@@ -56,12 +56,12 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
56
56
  declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
57
57
  scopes: AgentScopeConfig;
58
58
  }) => Promise<{
59
+ id: string;
59
60
  tenantId: string;
60
61
  projectId: string;
61
- id: string;
62
+ agentId: string;
62
63
  createdAt: string;
63
64
  updatedAt: string;
64
- agentId: string;
65
65
  sourceSubAgentId: string;
66
66
  targetSubAgentId: string | null;
67
67
  relationType: string | null;
@@ -125,12 +125,12 @@ declare const getRelatedAgentsForAgent: (db: AgentsManageDatabaseClient) => (par
125
125
  }[];
126
126
  }>;
127
127
  declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
128
+ id: string;
128
129
  tenantId: string;
129
130
  projectId: string;
130
- id: string;
131
+ agentId: string;
131
132
  createdAt: string;
132
133
  updatedAt: string;
133
- agentId: string;
134
134
  sourceSubAgentId: string;
135
135
  targetSubAgentId: string | null;
136
136
  relationType: string | null;
@@ -144,12 +144,12 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
144
144
  targetSubAgentId?: string;
145
145
  relationType: string;
146
146
  }) => Promise<{
147
+ id: string;
147
148
  tenantId: string;
148
149
  projectId: string;
149
- id: string;
150
+ agentId: string;
150
151
  createdAt: string;
151
152
  updatedAt: string;
152
- agentId: string;
153
153
  sourceSubAgentId: string;
154
154
  targetSubAgentId: string | null;
155
155
  relationType: string | null;
@@ -158,12 +158,12 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
158
158
  * Upsert agent relation (create if it doesn't exist, no-op if it does)
159
159
  */
160
160
  declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
161
+ id: string;
161
162
  tenantId: string;
162
163
  projectId: string;
163
- id: string;
164
+ agentId: string;
164
165
  createdAt: string;
165
166
  updatedAt: string;
166
- agentId: string;
167
167
  sourceSubAgentId: string;
168
168
  targetSubAgentId: string | null;
169
169
  relationType: string | null;
@@ -203,18 +203,18 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
203
203
  }> | null;
204
204
  };
205
205
  }) => Promise<{
206
+ id: string;
206
207
  tenantId: string;
207
208
  projectId: string;
208
- subAgentId: string;
209
- id: string;
209
+ agentId: string;
210
210
  createdAt: string;
211
211
  updatedAt: string;
212
- agentId: string;
213
- headers: Record<string, string> | null;
214
212
  toolId: string;
213
+ headers: Record<string, string> | null;
215
214
  toolPolicies: Record<string, {
216
215
  needsApproval?: boolean;
217
216
  }> | null;
217
+ subAgentId: string;
218
218
  selectedTools: string[] | null;
219
219
  }>;
220
220
  declare const updateAgentToolRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -247,18 +247,18 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
247
247
  scopes: SubAgentScopeConfig;
248
248
  relationId: string;
249
249
  }) => Promise<{
250
+ id: string;
250
251
  tenantId: string;
251
252
  projectId: string;
252
- subAgentId: string;
253
- id: string;
253
+ agentId: string;
254
254
  createdAt: string;
255
255
  updatedAt: string;
256
- agentId: string;
257
- headers: Record<string, string> | null;
258
256
  toolId: string;
257
+ headers: Record<string, string> | null;
259
258
  toolPolicies: Record<string, {
260
259
  needsApproval?: boolean;
261
260
  }> | null;
261
+ subAgentId: string;
262
262
  selectedTools: string[] | null;
263
263
  } | undefined>;
264
264
  declare const getAgentToolRelationByAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -8,14 +8,14 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
8
8
  scopes: SubAgentScopeConfig;
9
9
  relationId: string;
10
10
  }) => Promise<{
11
+ id: string;
11
12
  tenantId: string;
12
13
  projectId: string;
13
- subAgentId: string;
14
- id: string;
14
+ agentId: string;
15
15
  createdAt: string;
16
16
  updatedAt: string;
17
- agentId: string;
18
17
  headers: Record<string, string> | null;
18
+ subAgentId: string;
19
19
  targetAgentId: string;
20
20
  } | undefined>;
21
21
  declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
@@ -43,27 +43,27 @@ declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =
43
43
  declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
44
44
  scopes: SubAgentScopeConfig;
45
45
  }) => Promise<{
46
+ id: string;
46
47
  tenantId: string;
47
48
  projectId: string;
48
- subAgentId: string;
49
- id: string;
49
+ agentId: string;
50
50
  createdAt: string;
51
51
  updatedAt: string;
52
- agentId: string;
53
52
  headers: Record<string, string> | null;
53
+ subAgentId: string;
54
54
  targetAgentId: string;
55
55
  }[]>;
56
56
  declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
57
57
  scopes: AgentScopeConfig;
58
58
  }) => Promise<{
59
+ id: string;
59
60
  tenantId: string;
60
61
  projectId: string;
61
- subAgentId: string;
62
- id: string;
62
+ agentId: string;
63
63
  createdAt: string;
64
64
  updatedAt: string;
65
- agentId: string;
66
65
  headers: Record<string, string> | null;
66
+ subAgentId: string;
67
67
  targetAgentId: string;
68
68
  }[]>;
69
69
  declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -209,14 +209,14 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
209
209
  headers?: Record<string, string> | null;
210
210
  };
211
211
  }) => Promise<{
212
+ id: string;
212
213
  tenantId: string;
213
214
  projectId: string;
214
- subAgentId: string;
215
- id: string;
215
+ agentId: string;
216
216
  createdAt: string;
217
217
  updatedAt: string;
218
- agentId: string;
219
218
  headers: Record<string, string> | null;
219
+ subAgentId: string;
220
220
  targetAgentId: string;
221
221
  }>;
222
222
  /**
@@ -226,14 +226,14 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
226
226
  scopes: SubAgentScopeConfig;
227
227
  targetAgentId: string;
228
228
  }) => Promise<{
229
+ id: string;
229
230
  tenantId: string;
230
231
  projectId: string;
231
- subAgentId: string;
232
- id: string;
232
+ agentId: string;
233
233
  createdAt: string;
234
234
  updatedAt: string;
235
- agentId: string;
236
235
  headers: Record<string, string> | null;
236
+ subAgentId: string;
237
237
  targetAgentId: string;
238
238
  } | undefined>;
239
239
  /**
@@ -247,14 +247,14 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
247
247
  headers?: Record<string, string> | null;
248
248
  };
249
249
  }) => Promise<{
250
+ id: string;
250
251
  tenantId: string;
251
252
  projectId: string;
252
- subAgentId: string;
253
- id: string;
253
+ agentId: string;
254
254
  createdAt: string;
255
255
  updatedAt: string;
256
- agentId: string;
257
256
  headers: Record<string, string> | null;
257
+ subAgentId: string;
258
258
  targetAgentId: string;
259
259
  }>;
260
260
  declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -8,13 +8,14 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
8
8
  scopes: AgentScopeConfig;
9
9
  subAgentId: string;
10
10
  }) => Promise<{
11
+ id: string;
12
+ name: string;
11
13
  description: string | null;
12
14
  tenantId: string;
13
- name: string;
14
15
  projectId: string;
15
- id: string;
16
- createdAt: string;
17
- updatedAt: string;
16
+ agentId: string;
17
+ prompt: string | null;
18
+ conversationHistoryConfig: ConversationHistoryConfig | null;
18
19
  models: {
19
20
  base?: {
20
21
  model?: string | undefined;
@@ -32,20 +33,20 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
32
33
  stopWhen: {
33
34
  stepCountIs?: number | undefined;
34
35
  } | null;
35
- prompt: string | null;
36
- conversationHistoryConfig: ConversationHistoryConfig | null;
37
- agentId: string;
36
+ createdAt: string;
37
+ updatedAt: string;
38
38
  } | undefined>;
39
39
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
40
40
  scopes: AgentScopeConfig;
41
41
  }) => Promise<{
42
+ id: string;
43
+ name: string;
42
44
  description: string | null;
43
45
  tenantId: string;
44
- name: string;
45
46
  projectId: string;
46
- id: string;
47
- createdAt: string;
48
- updatedAt: string;
47
+ agentId: string;
48
+ prompt: string | null;
49
+ conversationHistoryConfig: ConversationHistoryConfig | null;
49
50
  models: {
50
51
  base?: {
51
52
  model?: string | undefined;
@@ -63,9 +64,8 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
63
64
  stopWhen: {
64
65
  stepCountIs?: number | undefined;
65
66
  } | null;
66
- prompt: string | null;
67
- conversationHistoryConfig: ConversationHistoryConfig | null;
68
- agentId: string;
67
+ createdAt: string;
68
+ updatedAt: string;
69
69
  }[]>;
70
70
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
71
71
  scopes: AgentScopeConfig;
@@ -108,13 +108,14 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
108
108
  };
109
109
  }>;
110
110
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
111
+ id: string;
112
+ name: string;
111
113
  description: string | null;
112
114
  tenantId: string;
113
- name: string;
114
115
  projectId: string;
115
- id: string;
116
- createdAt: string;
117
- updatedAt: string;
116
+ agentId: string;
117
+ prompt: string | null;
118
+ conversationHistoryConfig: ConversationHistoryConfig | null;
118
119
  models: {
119
120
  base?: {
120
121
  model?: string | undefined;
@@ -132,9 +133,8 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
132
133
  stopWhen: {
133
134
  stepCountIs?: number | undefined;
134
135
  } | null;
135
- prompt: string | null;
136
- conversationHistoryConfig: ConversationHistoryConfig | null;
137
- agentId: string;
136
+ createdAt: string;
137
+ updatedAt: string;
138
138
  }>;
139
139
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
140
140
  scopes: AgentScopeConfig;
@@ -18,11 +18,11 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
18
18
  scopes: ProjectScopeConfig;
19
19
  toolId: string;
20
20
  }) => Promise<{
21
+ id: string;
22
+ name: string;
21
23
  description: string | null;
22
24
  tenantId: string;
23
- name: string;
24
25
  projectId: string;
25
- id: string;
26
26
  createdAt: string;
27
27
  updatedAt: string;
28
28
  headers: Record<string, string> | null;
@@ -76,11 +76,11 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
76
76
  };
77
77
  }>;
78
78
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
79
+ id: string;
80
+ name: string;
79
81
  description: string | null;
80
82
  tenantId: string;
81
- name: string;
82
83
  projectId: string;
83
- id: string;
84
84
  createdAt: string;
85
85
  updatedAt: string;
86
86
  headers: Record<string, string> | null;
@@ -133,18 +133,18 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
133
133
  needsApproval?: boolean;
134
134
  }> | null;
135
135
  }) => Promise<{
136
+ id: string;
136
137
  tenantId: string;
137
138
  projectId: string;
138
- subAgentId: string;
139
- id: string;
139
+ agentId: string;
140
140
  createdAt: string;
141
141
  updatedAt: string;
142
- agentId: string;
143
- headers: Record<string, string> | null;
144
142
  toolId: string;
143
+ headers: Record<string, string> | null;
145
144
  toolPolicies: Record<string, {
146
145
  needsApproval?: boolean;
147
146
  }> | null;
147
+ subAgentId: string;
148
148
  selectedTools: string[] | null;
149
149
  }>;
150
150
  declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -152,18 +152,18 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
152
152
  subAgentId: string;
153
153
  toolId: string;
154
154
  }) => Promise<{
155
+ id: string;
155
156
  tenantId: string;
156
157
  projectId: string;
157
- subAgentId: string;
158
- id: string;
158
+ agentId: string;
159
159
  createdAt: string;
160
160
  updatedAt: string;
161
- agentId: string;
162
- headers: Record<string, string> | null;
163
161
  toolId: string;
162
+ headers: Record<string, string> | null;
164
163
  toolPolicies: Record<string, {
165
164
  needsApproval?: boolean;
166
165
  }> | null;
166
+ subAgentId: string;
167
167
  selectedTools: string[] | null;
168
168
  }>;
169
169
  /**
@@ -180,18 +180,18 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
180
180
  }> | null;
181
181
  relationId?: string;
182
182
  }) => Promise<{
183
+ id: string;
183
184
  tenantId: string;
184
185
  projectId: string;
185
- subAgentId: string;
186
- id: string;
186
+ agentId: string;
187
187
  createdAt: string;
188
188
  updatedAt: string;
189
- agentId: string;
190
- headers: Record<string, string> | null;
191
189
  toolId: string;
190
+ headers: Record<string, string> | null;
192
191
  toolPolicies: Record<string, {
193
192
  needsApproval?: boolean;
194
193
  }> | null;
194
+ subAgentId: string;
195
195
  selectedTools: string[] | null;
196
196
  }>;
197
197
  /**
@@ -200,11 +200,11 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
200
200
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
201
201
  data: ToolInsert;
202
202
  }) => Promise<{
203
+ id: string;
204
+ name: string;
203
205
  description: string | null;
204
206
  tenantId: string;
205
- name: string;
206
207
  projectId: string;
207
- id: string;
208
208
  createdAt: string;
209
209
  updatedAt: string;
210
210
  headers: Record<string, string> | null;
@@ -7,13 +7,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
7
7
  scopes: ProjectScopeConfig;
8
8
  id: string;
9
9
  }) => Promise<{
10
- tenantId: string;
10
+ id: string;
11
11
  name: string | null;
12
+ tenantId: string;
12
13
  projectId: string;
13
- id: string;
14
+ agentId: string;
14
15
  createdAt: string;
15
16
  updatedAt: string;
16
- agentId: string;
17
17
  publicId: string;
18
18
  keyHash: string;
19
19
  keyPrefix: string;
@@ -21,13 +21,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
21
21
  expiresAt: string | null;
22
22
  } | undefined>;
23
23
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
24
- tenantId: string;
24
+ id: string;
25
25
  name: string | null;
26
+ tenantId: string;
26
27
  projectId: string;
27
- id: string;
28
+ agentId: string;
28
29
  createdAt: string;
29
30
  updatedAt: string;
30
- agentId: string;
31
31
  publicId: string;
32
32
  keyHash: string;
33
33
  keyPrefix: string;
@@ -38,13 +38,13 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
38
38
  scopes: ProjectScopeConfig;
39
39
  agentId?: string;
40
40
  }) => Promise<{
41
- tenantId: string;
41
+ id: string;
42
42
  name: string | null;
43
+ tenantId: string;
43
44
  projectId: string;
44
- id: string;
45
+ agentId: string;
45
46
  createdAt: string;
46
47
  updatedAt: string;
47
- agentId: string;
48
48
  publicId: string;
49
49
  keyHash: string;
50
50
  keyPrefix: string;
@@ -65,13 +65,13 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
65
65
  };
66
66
  }>;
67
67
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
68
- tenantId: string;
68
+ id: string;
69
69
  name: string | null;
70
+ tenantId: string;
70
71
  projectId: string;
71
- id: string;
72
+ agentId: string;
72
73
  createdAt: string;
73
74
  updatedAt: string;
74
- agentId: string;
75
75
  publicId: string;
76
76
  keyHash: string;
77
77
  keyPrefix: string;
@@ -15,15 +15,15 @@ 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;
18
+ id: string;
19
19
  tenantId: string;
20
- userId: string | null;
21
20
  projectId: string;
22
- id: string;
21
+ agentId: string | null;
22
+ title: string | null;
23
23
  createdAt: string;
24
24
  updatedAt: string;
25
25
  metadata: ConversationMetadata | null;
26
- agentId: string | null;
26
+ userId: string | null;
27
27
  ref: {
28
28
  type: "commit" | "tag" | "branch";
29
29
  name: string;
@@ -84,15 +84,15 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
84
84
  scopes: ProjectScopeConfig;
85
85
  conversationId: string;
86
86
  }) => Promise<{
87
- title: string | null;
87
+ id: string;
88
88
  tenantId: string;
89
- userId: string | null;
90
89
  projectId: string;
91
- id: string;
90
+ agentId: string | null;
91
+ title: string | null;
92
92
  createdAt: string;
93
93
  updatedAt: string;
94
94
  metadata: ConversationMetadata | null;
95
- agentId: string | null;
95
+ userId: string | null;
96
96
  ref: {
97
97
  type: "commit" | "tag" | "branch";
98
98
  name: string;
@@ -120,15 +120,15 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
120
120
  metadata?: ConversationMetadata | null | undefined;
121
121
  contextConfigId?: string | undefined;
122
122
  } | {
123
- title: string | null;
123
+ id: string;
124
124
  tenantId: string;
125
- userId: string | null;
126
125
  projectId: string;
127
- id: string;
126
+ agentId: string | null;
127
+ title: string | null;
128
128
  createdAt: string;
129
129
  updatedAt: string;
130
130
  metadata: ConversationMetadata | null;
131
- agentId: string | null;
131
+ userId: string | null;
132
132
  ref: {
133
133
  type: "commit" | "tag" | "branch";
134
134
  name: string;
@@ -152,15 +152,15 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
152
152
  scopes: ProjectScopeConfig;
153
153
  conversationId: string;
154
154
  }) => Promise<{
155
- title: string | null;
155
+ id: string;
156
156
  tenantId: string;
157
- userId: string | null;
158
157
  projectId: string;
159
- id: string;
158
+ agentId: string | null;
159
+ title: string | null;
160
160
  createdAt: string;
161
161
  updatedAt: string;
162
162
  metadata: ConversationMetadata | null;
163
- agentId: string | null;
163
+ userId: string | null;
164
164
  ref: {
165
165
  type: "commit" | "tag" | "branch";
166
166
  name: string;
@@ -9,19 +9,19 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
9
9
  scopes: ProjectScopeConfig;
10
10
  messageId: string;
11
11
  }) => Promise<{
12
+ id: string;
12
13
  tenantId: string;
13
- content: MessageContent;
14
14
  projectId: string;
15
+ createdAt: string;
16
+ updatedAt: string;
17
+ metadata: MessageMetadata | null;
18
+ content: MessageContent;
15
19
  fromSubAgentId: string | null;
16
20
  toSubAgentId: string | null;
17
21
  fromExternalAgentId: string | null;
18
22
  toExternalAgentId: string | null;
19
23
  taskId: string | null;
20
24
  a2aTaskId: string | null;
21
- id: string;
22
- createdAt: string;
23
- updatedAt: string;
24
- metadata: MessageMetadata | null;
25
25
  conversationId: string;
26
26
  role: string;
27
27
  fromTeamAgentId: string | null;
@@ -140,19 +140,19 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
140
140
  id: string;
141
141
  }[]>;
142
142
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
143
+ id: string;
143
144
  tenantId: string;
144
- content: MessageContent;
145
145
  projectId: string;
146
+ createdAt: string;
147
+ updatedAt: string;
148
+ metadata: MessageMetadata | null;
149
+ content: MessageContent;
146
150
  fromSubAgentId: string | null;
147
151
  toSubAgentId: string | null;
148
152
  fromExternalAgentId: string | null;
149
153
  toExternalAgentId: string | null;
150
154
  taskId: string | null;
151
155
  a2aTaskId: string | null;
152
- id: string;
153
- createdAt: string;
154
- updatedAt: string;
155
- metadata: MessageMetadata | null;
156
156
  conversationId: string;
157
157
  role: string;
158
158
  fromTeamAgentId: string | null;
@@ -193,19 +193,19 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
193
193
  scopes: ProjectScopeConfig;
194
194
  messageId: string;
195
195
  }) => Promise<{
196
+ id: string;
196
197
  tenantId: string;
197
- content: MessageContent;
198
198
  projectId: string;
199
+ createdAt: string;
200
+ updatedAt: string;
201
+ metadata: MessageMetadata | null;
202
+ content: MessageContent;
199
203
  fromSubAgentId: string | null;
200
204
  toSubAgentId: string | null;
201
205
  fromExternalAgentId: string | null;
202
206
  toExternalAgentId: string | null;
203
207
  taskId: string | null;
204
208
  a2aTaskId: string | null;
205
- id: string;
206
- createdAt: string;
207
- updatedAt: string;
208
- metadata: MessageMetadata | null;
209
209
  conversationId: string;
210
210
  role: string;
211
211
  fromTeamAgentId: string | null;
@@ -6,15 +6,15 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
6
6
 
7
7
  //#region src/data-access/runtime/tasks.d.ts
8
8
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
9
- status: string;
9
+ id: string;
10
10
  tenantId: string;
11
11
  projectId: string;
12
- subAgentId: string;
13
- id: string;
12
+ agentId: string;
14
13
  createdAt: string;
15
14
  updatedAt: string;
16
15
  metadata: TaskMetadataConfig | null;
17
- agentId: string;
16
+ subAgentId: string;
17
+ status: string;
18
18
  contextId: string;
19
19
  ref: {
20
20
  type: "commit" | "tag" | "branch";
@@ -129,6 +129,7 @@ const upsertWorkAppSlackChannelAgentConfig = (db) => async (data) => {
129
129
  slackChannelName: data.slackChannelName,
130
130
  slackChannelType: data.slackChannelType,
131
131
  enabled: data.enabled,
132
+ grantAccessToMembers: data.grantAccessToMembers,
132
133
  configuredByUserId: data.configuredByUserId,
133
134
  updatedAt: now
134
135
  }