@inkeep/agents-core 0.56.0 → 0.56.2

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.
@@ -9,12 +9,12 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
9
9
  scopes: AgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
+ agentId: string;
13
+ projectId: string;
14
+ tenantId: string;
12
15
  id: string;
13
16
  createdAt: string;
14
17
  updatedAt: string;
15
- tenantId: string;
16
- projectId: string;
17
- agentId: string;
18
18
  sourceSubAgentId: string;
19
19
  targetSubAgentId: string | null;
20
20
  relationType: string | null;
@@ -44,12 +44,12 @@ declare const listAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
44
44
  declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
+ agentId: string;
48
+ projectId: string;
49
+ tenantId: string;
47
50
  id: string;
48
51
  createdAt: string;
49
52
  updatedAt: string;
50
- tenantId: string;
51
- projectId: string;
52
- agentId: string;
53
53
  sourceSubAgentId: string;
54
54
  targetSubAgentId: string | null;
55
55
  relationType: string | null;
@@ -57,12 +57,12 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
57
57
  declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
+ agentId: string;
61
+ projectId: string;
62
+ tenantId: string;
60
63
  id: string;
61
64
  createdAt: string;
62
65
  updatedAt: string;
63
- tenantId: string;
64
- projectId: string;
65
- agentId: string;
66
66
  sourceSubAgentId: string;
67
67
  targetSubAgentId: string | null;
68
68
  relationType: string | null;
@@ -126,12 +126,12 @@ declare const getRelatedAgentsForAgent: (db: AgentsManageDatabaseClient) => (par
126
126
  }[];
127
127
  }>;
128
128
  declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
129
+ agentId: string;
130
+ projectId: string;
131
+ tenantId: string;
129
132
  id: string;
130
133
  createdAt: string;
131
134
  updatedAt: string;
132
- tenantId: string;
133
- projectId: string;
134
- agentId: string;
135
135
  sourceSubAgentId: string;
136
136
  targetSubAgentId: string | null;
137
137
  relationType: string | null;
@@ -145,12 +145,12 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
145
145
  targetSubAgentId?: string;
146
146
  relationType: string;
147
147
  }) => Promise<{
148
+ agentId: string;
149
+ projectId: string;
150
+ tenantId: string;
148
151
  id: string;
149
152
  createdAt: string;
150
153
  updatedAt: string;
151
- tenantId: string;
152
- projectId: string;
153
- agentId: string;
154
154
  sourceSubAgentId: string;
155
155
  targetSubAgentId: string | null;
156
156
  relationType: string | null;
@@ -159,12 +159,12 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
159
159
  * Upsert agent relation (create if it doesn't exist, no-op if it does)
160
160
  */
161
161
  declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
162
+ agentId: string;
163
+ projectId: string;
164
+ tenantId: string;
162
165
  id: string;
163
166
  createdAt: string;
164
167
  updatedAt: string;
165
- tenantId: string;
166
- projectId: string;
167
- agentId: string;
168
168
  sourceSubAgentId: string;
169
169
  targetSubAgentId: string | null;
170
170
  relationType: string | null;
@@ -204,12 +204,12 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
204
204
  }> | null;
205
205
  };
206
206
  }) => Promise<{
207
+ agentId: string;
208
+ projectId: string;
209
+ tenantId: string;
207
210
  id: string;
208
211
  createdAt: string;
209
212
  updatedAt: string;
210
- tenantId: string;
211
- projectId: string;
212
- agentId: string;
213
213
  toolId: string;
214
214
  headers: Record<string, string> | null;
215
215
  toolPolicies: Record<string, {
@@ -248,12 +248,12 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
248
248
  scopes: SubAgentScopeConfig;
249
249
  relationId: string;
250
250
  }) => Promise<{
251
+ agentId: string;
252
+ projectId: string;
253
+ tenantId: string;
251
254
  id: string;
252
255
  createdAt: string;
253
256
  updatedAt: string;
254
- tenantId: string;
255
- projectId: string;
256
- agentId: string;
257
257
  toolId: string;
258
258
  headers: Record<string, string> | null;
259
259
  toolPolicies: Record<string, {
@@ -9,12 +9,12 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
9
9
  scopes: SubAgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
+ agentId: string;
13
+ projectId: string;
14
+ tenantId: string;
12
15
  id: string;
13
16
  createdAt: string;
14
17
  updatedAt: string;
15
- tenantId: string;
16
- projectId: string;
17
- agentId: string;
18
18
  headers: Record<string, string> | null;
19
19
  subAgentId: string;
20
20
  targetAgentId: string;
@@ -44,12 +44,12 @@ declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =
44
44
  declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
+ agentId: string;
48
+ projectId: string;
49
+ tenantId: string;
47
50
  id: string;
48
51
  createdAt: string;
49
52
  updatedAt: string;
50
- tenantId: string;
51
- projectId: string;
52
- agentId: string;
53
53
  headers: Record<string, string> | null;
54
54
  subAgentId: string;
55
55
  targetAgentId: string;
@@ -57,12 +57,12 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
57
57
  declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
+ agentId: string;
61
+ projectId: string;
62
+ tenantId: string;
60
63
  id: string;
61
64
  createdAt: string;
62
65
  updatedAt: string;
63
- tenantId: string;
64
- projectId: string;
65
- agentId: string;
66
66
  headers: Record<string, string> | null;
67
67
  subAgentId: string;
68
68
  targetAgentId: string;
@@ -210,12 +210,12 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
210
210
  headers?: Record<string, string> | null;
211
211
  };
212
212
  }) => Promise<{
213
+ agentId: string;
214
+ projectId: string;
215
+ tenantId: string;
213
216
  id: string;
214
217
  createdAt: string;
215
218
  updatedAt: string;
216
- tenantId: string;
217
- projectId: string;
218
- agentId: string;
219
219
  headers: Record<string, string> | null;
220
220
  subAgentId: string;
221
221
  targetAgentId: string;
@@ -227,12 +227,12 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
227
227
  scopes: SubAgentScopeConfig;
228
228
  targetAgentId: string;
229
229
  }) => Promise<{
230
+ agentId: string;
231
+ projectId: string;
232
+ tenantId: string;
230
233
  id: string;
231
234
  createdAt: string;
232
235
  updatedAt: string;
233
- tenantId: string;
234
- projectId: string;
235
- agentId: string;
236
236
  headers: Record<string, string> | null;
237
237
  subAgentId: string;
238
238
  targetAgentId: string;
@@ -248,12 +248,12 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
248
248
  headers?: Record<string, string> | null;
249
249
  };
250
250
  }) => Promise<{
251
+ agentId: string;
252
+ projectId: string;
253
+ tenantId: string;
251
254
  id: string;
252
255
  createdAt: string;
253
256
  updatedAt: string;
254
- tenantId: string;
255
- projectId: string;
256
- agentId: string;
257
257
  headers: Record<string, string> | null;
258
258
  subAgentId: string;
259
259
  targetAgentId: string;
@@ -9,9 +9,14 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
+ agentId: string;
13
+ projectId: string;
14
+ tenantId: string;
12
15
  id: string;
13
16
  name: string;
14
17
  description: string | null;
18
+ prompt: string | null;
19
+ conversationHistoryConfig: ConversationHistoryConfig | null;
15
20
  models: {
16
21
  base?: {
17
22
  model?: string | undefined;
@@ -31,18 +36,18 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
31
36
  } | null;
32
37
  createdAt: string;
33
38
  updatedAt: string;
34
- tenantId: string;
35
- projectId: string;
36
- prompt: string | null;
37
- agentId: string;
38
- conversationHistoryConfig: ConversationHistoryConfig | null;
39
39
  } | undefined>;
40
40
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
41
41
  scopes: AgentScopeConfig;
42
42
  }) => Promise<{
43
+ agentId: string;
44
+ projectId: string;
45
+ tenantId: string;
43
46
  id: string;
44
47
  name: string;
45
48
  description: string | null;
49
+ prompt: string | null;
50
+ conversationHistoryConfig: ConversationHistoryConfig | null;
46
51
  models: {
47
52
  base?: {
48
53
  model?: string | undefined;
@@ -62,11 +67,6 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
62
67
  } | null;
63
68
  createdAt: string;
64
69
  updatedAt: string;
65
- tenantId: string;
66
- projectId: string;
67
- prompt: string | null;
68
- agentId: string;
69
- conversationHistoryConfig: ConversationHistoryConfig | null;
70
70
  }[]>;
71
71
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
72
72
  scopes: AgentScopeConfig;
@@ -109,9 +109,14 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
109
109
  };
110
110
  }>;
111
111
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
112
+ agentId: string;
113
+ projectId: string;
114
+ tenantId: string;
112
115
  id: string;
113
116
  name: string;
114
117
  description: string | null;
118
+ prompt: string | null;
119
+ conversationHistoryConfig: ConversationHistoryConfig | null;
115
120
  models: {
116
121
  base?: {
117
122
  model?: string | undefined;
@@ -131,11 +136,6 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
131
136
  } | null;
132
137
  createdAt: string;
133
138
  updatedAt: string;
134
- tenantId: string;
135
- projectId: string;
136
- prompt: string | null;
137
- agentId: string;
138
- conversationHistoryConfig: ConversationHistoryConfig | null;
139
139
  }>;
140
140
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
141
141
  scopes: AgentScopeConfig;
@@ -19,13 +19,13 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
19
19
  scopes: ProjectScopeConfig;
20
20
  toolId: string;
21
21
  }) => Promise<{
22
+ projectId: string;
23
+ tenantId: string;
22
24
  id: string;
23
25
  name: string;
24
26
  description: string | null;
25
27
  createdAt: string;
26
28
  updatedAt: string;
27
- tenantId: string;
28
- projectId: string;
29
29
  headers: Record<string, string> | null;
30
30
  config: {
31
31
  type: "mcp";
@@ -77,13 +77,13 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
77
77
  };
78
78
  }>;
79
79
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
80
+ projectId: string;
81
+ tenantId: string;
80
82
  id: string;
81
83
  name: string;
82
84
  description: string | null;
83
85
  createdAt: string;
84
86
  updatedAt: string;
85
- tenantId: string;
86
- projectId: string;
87
87
  headers: Record<string, string> | null;
88
88
  config: {
89
89
  type: "mcp";
@@ -134,12 +134,12 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
134
134
  needsApproval?: boolean;
135
135
  }> | null;
136
136
  }) => Promise<{
137
+ agentId: string;
138
+ projectId: string;
139
+ tenantId: string;
137
140
  id: string;
138
141
  createdAt: string;
139
142
  updatedAt: string;
140
- tenantId: string;
141
- projectId: string;
142
- agentId: string;
143
143
  toolId: string;
144
144
  headers: Record<string, string> | null;
145
145
  toolPolicies: Record<string, {
@@ -153,12 +153,12 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
153
153
  subAgentId: string;
154
154
  toolId: string;
155
155
  }) => Promise<{
156
+ agentId: string;
157
+ projectId: string;
158
+ tenantId: string;
156
159
  id: string;
157
160
  createdAt: string;
158
161
  updatedAt: string;
159
- tenantId: string;
160
- projectId: string;
161
- agentId: string;
162
162
  toolId: string;
163
163
  headers: Record<string, string> | null;
164
164
  toolPolicies: Record<string, {
@@ -181,12 +181,12 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
181
181
  }> | null;
182
182
  relationId?: string;
183
183
  }) => Promise<{
184
+ agentId: string;
185
+ projectId: string;
186
+ tenantId: string;
184
187
  id: string;
185
188
  createdAt: string;
186
189
  updatedAt: string;
187
- tenantId: string;
188
- projectId: string;
189
- agentId: string;
190
190
  toolId: string;
191
191
  headers: Record<string, string> | null;
192
192
  toolPolicies: Record<string, {
@@ -201,13 +201,13 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
201
201
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
202
202
  data: ToolInsert;
203
203
  }) => Promise<{
204
+ projectId: string;
205
+ tenantId: string;
204
206
  id: string;
205
207
  name: string;
206
208
  description: string | null;
207
209
  createdAt: string;
208
210
  updatedAt: string;
209
- tenantId: string;
210
- projectId: string;
211
211
  headers: Record<string, string> | null;
212
212
  config: {
213
213
  type: "mcp";
@@ -40,13 +40,13 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
40
40
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
41
41
  encoding: "hex" | "base64";
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;
@@ -8,13 +8,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  id: string;
10
10
  }) => Promise<{
11
+ agentId: string;
12
+ projectId: string;
13
+ tenantId: string;
11
14
  id: string;
12
15
  name: string | null;
13
16
  createdAt: string;
14
17
  updatedAt: string;
15
- tenantId: string;
16
- projectId: string;
17
- agentId: string;
18
18
  expiresAt: string | null;
19
19
  publicId: string;
20
20
  keyHash: string;
@@ -22,13 +22,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
22
22
  lastUsedAt: string | null;
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
+ agentId: string;
26
+ projectId: string;
27
+ tenantId: string;
25
28
  id: string;
26
29
  name: string | null;
27
30
  createdAt: string;
28
31
  updatedAt: string;
29
- tenantId: string;
30
- projectId: string;
31
- agentId: string;
32
32
  expiresAt: string | null;
33
33
  publicId: string;
34
34
  keyHash: string;
@@ -39,13 +39,13 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
39
39
  scopes: ProjectScopeConfig;
40
40
  agentId?: string;
41
41
  }) => Promise<{
42
+ agentId: string;
43
+ projectId: string;
44
+ tenantId: string;
42
45
  id: string;
43
46
  name: string | null;
44
47
  createdAt: string;
45
48
  updatedAt: string;
46
- tenantId: string;
47
- projectId: string;
48
- agentId: string;
49
49
  expiresAt: string | null;
50
50
  publicId: string;
51
51
  keyHash: string;
@@ -66,13 +66,13 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
66
66
  };
67
67
  }>;
68
68
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
69
+ agentId: string;
70
+ projectId: string;
71
+ tenantId: string;
69
72
  id: string;
70
73
  name: string | null;
71
74
  createdAt: string;
72
75
  updatedAt: string;
73
- tenantId: string;
74
- projectId: string;
75
- agentId: string;
76
76
  expiresAt: string | null;
77
77
  publicId: string;
78
78
  keyHash: string;
@@ -16,21 +16,21 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
16
16
  total: number;
17
17
  }>;
18
18
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
19
+ agentId: string | null;
20
+ projectId: string;
21
+ tenantId: string;
22
+ userId: string | null;
19
23
  id: string;
20
24
  title: string | null;
21
25
  createdAt: string;
22
26
  updatedAt: string;
23
- tenantId: string;
24
- projectId: string;
25
27
  metadata: ConversationMetadata | null;
26
- agentId: string | null;
27
- userId: string | null;
28
- activeSubAgentId: string;
29
28
  ref: {
30
29
  type: "commit" | "tag" | "branch";
31
30
  name: string;
32
31
  hash: string;
33
32
  } | null;
33
+ activeSubAgentId: string;
34
34
  lastContextResolution: string | null;
35
35
  }>;
36
36
  declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -85,21 +85,21 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
85
85
  scopes: ProjectScopeConfig;
86
86
  conversationId: string;
87
87
  }) => Promise<{
88
+ agentId: string | null;
89
+ projectId: string;
90
+ tenantId: string;
91
+ userId: string | null;
88
92
  id: string;
89
93
  title: string | null;
90
94
  createdAt: string;
91
95
  updatedAt: string;
92
- tenantId: string;
93
- projectId: string;
94
96
  metadata: ConversationMetadata | null;
95
- agentId: string | null;
96
- userId: string | null;
97
- activeSubAgentId: string;
98
97
  ref: {
99
98
  type: "commit" | "tag" | "branch";
100
99
  name: string;
101
100
  hash: string;
102
101
  } | null;
102
+ activeSubAgentId: string;
103
103
  lastContextResolution: string | null;
104
104
  } | undefined>;
105
105
  declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input: ConversationInsert) => Promise<{
@@ -121,21 +121,21 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
121
121
  metadata?: ConversationMetadata | null | undefined;
122
122
  contextConfigId?: string | undefined;
123
123
  } | {
124
+ agentId: string | null;
125
+ projectId: string;
126
+ tenantId: string;
127
+ userId: string | null;
124
128
  id: string;
125
129
  title: string | null;
126
130
  createdAt: string;
127
131
  updatedAt: string;
128
- tenantId: string;
129
- projectId: string;
130
132
  metadata: ConversationMetadata | null;
131
- agentId: string | null;
132
- userId: string | null;
133
- activeSubAgentId: string;
134
133
  ref: {
135
134
  type: "commit" | "tag" | "branch";
136
135
  name: string;
137
136
  hash: string;
138
137
  } | null;
138
+ activeSubAgentId: string;
139
139
  lastContextResolution: string | null;
140
140
  }>;
141
141
  /**
@@ -153,21 +153,21 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
153
153
  scopes: ProjectScopeConfig;
154
154
  conversationId: string;
155
155
  }) => Promise<{
156
+ agentId: string | null;
157
+ projectId: string;
158
+ tenantId: string;
159
+ userId: string | null;
156
160
  id: string;
157
161
  title: string | null;
158
162
  createdAt: string;
159
163
  updatedAt: string;
160
- tenantId: string;
161
- projectId: string;
162
164
  metadata: ConversationMetadata | null;
163
- agentId: string | null;
164
- userId: string | null;
165
- activeSubAgentId: string;
166
165
  ref: {
167
166
  type: "commit" | "tag" | "branch";
168
167
  name: string;
169
168
  hash: string;
170
169
  } | null;
170
+ activeSubAgentId: string;
171
171
  lastContextResolution: string | null;
172
172
  } | undefined>;
173
173
  /**
@@ -10,15 +10,15 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
+ projectId: string;
14
+ tenantId: string;
13
15
  id: string;
14
16
  createdAt: string;
15
17
  updatedAt: string;
16
- tenantId: string;
17
- projectId: string;
18
18
  metadata: MessageMetadata | null;
19
19
  content: MessageContent;
20
- conversationId: string;
21
20
  role: string;
21
+ conversationId: string;
22
22
  fromSubAgentId: string | null;
23
23
  toSubAgentId: string | null;
24
24
  fromExternalAgentId: string | null;
@@ -141,15 +141,15 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
141
141
  id: string;
142
142
  }[]>;
143
143
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
144
+ projectId: string;
145
+ tenantId: string;
144
146
  id: string;
145
147
  createdAt: string;
146
148
  updatedAt: string;
147
- tenantId: string;
148
- projectId: string;
149
149
  metadata: MessageMetadata | null;
150
150
  content: MessageContent;
151
- conversationId: string;
152
151
  role: string;
152
+ conversationId: string;
153
153
  fromSubAgentId: string | null;
154
154
  toSubAgentId: string | null;
155
155
  fromExternalAgentId: string | null;
@@ -194,15 +194,15 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
194
194
  scopes: ProjectScopeConfig;
195
195
  messageId: string;
196
196
  }) => Promise<{
197
+ projectId: string;
198
+ tenantId: string;
197
199
  id: string;
198
200
  createdAt: string;
199
201
  updatedAt: string;
200
- tenantId: string;
201
- projectId: string;
202
202
  metadata: MessageMetadata | null;
203
203
  content: MessageContent;
204
- conversationId: string;
205
204
  role: string;
205
+ conversationId: string;
206
206
  fromSubAgentId: string | null;
207
207
  toSubAgentId: string | null;
208
208
  fromExternalAgentId: string | null;
@@ -6,20 +6,20 @@ 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
+ agentId: string;
10
+ projectId: string;
11
+ tenantId: string;
9
12
  id: string;
10
13
  createdAt: string;
11
14
  updatedAt: string;
12
- tenantId: string;
13
- projectId: string;
14
15
  metadata: TaskMetadataConfig | null;
15
- agentId: string;
16
16
  subAgentId: string;
17
- status: string;
18
17
  ref: {
19
18
  type: "commit" | "tag" | "branch";
20
19
  name: string;
21
20
  hash: string;
22
21
  } | null;
22
+ status: string;
23
23
  contextId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {