@inkeep/agents-core 0.0.0-dev-20260409192310 → 0.0.0-dev-20260409212802

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 (32) hide show
  1. package/dist/auth/auth-schema.d.ts +86 -86
  2. package/dist/auth/auth-validation-schemas.d.ts +154 -154
  3. package/dist/auth/permissions.d.ts +9 -9
  4. package/dist/data-access/manage/agents.d.ts +19 -19
  5. package/dist/data-access/manage/artifactComponents.d.ts +6 -6
  6. package/dist/data-access/manage/contextConfigs.d.ts +4 -4
  7. package/dist/data-access/manage/dataComponents.d.ts +2 -2
  8. package/dist/data-access/manage/functionTools.d.ts +8 -8
  9. package/dist/data-access/manage/skills.d.ts +10 -10
  10. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
  11. package/dist/data-access/manage/subAgentRelations.d.ts +12 -12
  12. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
  13. package/dist/data-access/manage/subAgents.d.ts +9 -9
  14. package/dist/data-access/manage/tools.d.ts +21 -21
  15. package/dist/data-access/manage/triggers.d.ts +4 -4
  16. package/dist/data-access/runtime/apiKeys.d.ts +8 -8
  17. package/dist/data-access/runtime/apps.d.ts +6 -6
  18. package/dist/data-access/runtime/conversations.d.ts +24 -24
  19. package/dist/data-access/runtime/feedback.d.ts +4 -4
  20. package/dist/data-access/runtime/messages.d.ts +21 -21
  21. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +4 -4
  22. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  23. package/dist/data-access/runtime/tasks.d.ts +5 -5
  24. package/dist/db/manage/dolt-safe-jsonb.d.ts +2 -2
  25. package/dist/db/manage/manage-schema.d.ts +457 -457
  26. package/dist/db/runtime/runtime-schema.d.ts +409 -409
  27. package/dist/middleware/no-auth.d.ts +2 -2
  28. package/dist/utils/error.d.ts +51 -51
  29. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  30. package/dist/validation/schemas/skills.d.ts +54 -54
  31. package/dist/validation/schemas.d.ts +2036 -2036
  32. package/package.json +1 -1
@@ -9,11 +9,13 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
+ description: string | null;
12
13
  id: string;
13
14
  name: string;
14
15
  createdAt: string;
15
16
  updatedAt: string;
16
- description: string | null;
17
+ projectId: string;
18
+ tenantId: string;
17
19
  models: {
18
20
  base?: {
19
21
  model?: string | undefined;
@@ -37,8 +39,6 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
37
39
  stopWhen: {
38
40
  stepCountIs?: number | undefined;
39
41
  } | null;
40
- tenantId: string;
41
- projectId: string;
42
42
  agentId: string;
43
43
  prompt: string | null;
44
44
  conversationHistoryConfig: ConversationHistoryConfig | null;
@@ -46,11 +46,13 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
46
46
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
47
47
  scopes: AgentScopeConfig;
48
48
  }) => Promise<{
49
+ description: string | null;
49
50
  id: string;
50
51
  name: string;
51
52
  createdAt: string;
52
53
  updatedAt: string;
53
- description: string | null;
54
+ projectId: string;
55
+ tenantId: string;
54
56
  models: {
55
57
  base?: {
56
58
  model?: string | undefined;
@@ -74,8 +76,6 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
74
76
  stopWhen: {
75
77
  stepCountIs?: number | undefined;
76
78
  } | null;
77
- tenantId: string;
78
- projectId: string;
79
79
  agentId: string;
80
80
  prompt: string | null;
81
81
  conversationHistoryConfig: ConversationHistoryConfig | null;
@@ -127,11 +127,13 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
127
127
  };
128
128
  }>;
129
129
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
130
+ description: string | null;
130
131
  id: string;
131
132
  name: string;
132
133
  createdAt: string;
133
134
  updatedAt: string;
134
- description: string | null;
135
+ projectId: string;
136
+ tenantId: string;
135
137
  models: {
136
138
  base?: {
137
139
  model?: string | undefined;
@@ -155,8 +157,6 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
155
157
  stopWhen: {
156
158
  stepCountIs?: number | undefined;
157
159
  } | null;
158
- tenantId: string;
159
- projectId: string;
160
160
  agentId: string;
161
161
  prompt: string | null;
162
162
  conversationHistoryConfig: ConversationHistoryConfig | null;
@@ -20,19 +20,19 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
20
20
  scopes: ProjectScopeConfig;
21
21
  toolId: string;
22
22
  }) => Promise<{
23
+ description: string | null;
23
24
  id: string;
24
25
  name: string;
25
26
  createdAt: string;
26
27
  updatedAt: string;
27
- description: string | null;
28
- headers: Record<string, string> | null;
29
- tenantId: string;
30
28
  projectId: string;
31
- credentialReferenceId: string | null;
29
+ tenantId: string;
30
+ headers: Record<string, string> | null;
32
31
  config: {
33
32
  type: "mcp";
34
33
  mcp: ToolMcpConfig;
35
34
  };
35
+ credentialReferenceId: string | null;
36
36
  credentialScope: string;
37
37
  imageUrl: string | null;
38
38
  capabilities: ToolServerCapabilities | null;
@@ -78,19 +78,19 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
78
78
  };
79
79
  }>;
80
80
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
81
+ description: string | null;
81
82
  id: string;
82
83
  name: string;
83
84
  createdAt: string;
84
85
  updatedAt: string;
85
- description: string | null;
86
- headers: Record<string, string> | null;
87
- tenantId: string;
88
86
  projectId: string;
89
- credentialReferenceId: string | null;
87
+ tenantId: string;
88
+ headers: Record<string, string> | null;
90
89
  config: {
91
90
  type: "mcp";
92
91
  mcp: ToolMcpConfig;
93
92
  };
93
+ credentialReferenceId: string | null;
94
94
  credentialScope: string;
95
95
  imageUrl: string | null;
96
96
  capabilities: ToolServerCapabilities | null;
@@ -138,16 +138,16 @@ 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
- tenantId: string;
143
141
  projectId: string;
142
+ tenantId: string;
144
143
  agentId: string;
145
144
  subAgentId: string;
146
145
  toolId: string;
147
- selectedTools: string[] | null;
146
+ headers: Record<string, string> | null;
148
147
  toolPolicies: Record<string, {
149
148
  needsApproval?: boolean;
150
149
  }> | null;
150
+ selectedTools: string[] | null;
151
151
  }>;
152
152
  declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
153
153
  scopes: AgentScopeConfig;
@@ -157,16 +157,16 @@ 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
- tenantId: string;
162
160
  projectId: string;
161
+ tenantId: string;
163
162
  agentId: string;
164
163
  subAgentId: string;
165
164
  toolId: string;
166
- selectedTools: string[] | null;
165
+ headers: Record<string, string> | null;
167
166
  toolPolicies: Record<string, {
168
167
  needsApproval?: boolean;
169
168
  }> | null;
169
+ selectedTools: string[] | null;
170
170
  }>;
171
171
  /**
172
172
  * Upsert agent-tool relation (create if it doesn't exist, update if it does)
@@ -185,16 +185,16 @@ 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
- tenantId: string;
190
188
  projectId: string;
189
+ tenantId: string;
191
190
  agentId: string;
192
191
  subAgentId: string;
193
192
  toolId: string;
194
- selectedTools: string[] | null;
193
+ headers: Record<string, string> | null;
195
194
  toolPolicies: Record<string, {
196
195
  needsApproval?: boolean;
197
196
  }> | null;
197
+ selectedTools: string[] | null;
198
198
  }>;
199
199
  /**
200
200
  * Upsert a tool (create if it doesn't exist, update if it does)
@@ -202,19 +202,19 @@ 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;
205
206
  id: string;
206
207
  name: string;
207
208
  createdAt: string;
208
209
  updatedAt: string;
209
- description: string | null;
210
- headers: Record<string, string> | null;
211
- tenantId: string;
212
210
  projectId: string;
213
- credentialReferenceId: string | null;
211
+ tenantId: string;
212
+ headers: Record<string, string> | null;
214
213
  config: {
215
214
  type: "mcp";
216
215
  mcp: ToolMcpConfig;
217
216
  };
217
+ credentialReferenceId: string | null;
218
218
  credentialScope: string;
219
219
  imageUrl: string | null;
220
220
  capabilities: ToolServerCapabilities | null;
@@ -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" | "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;
@@ -132,10 +132,10 @@ declare const createTriggerUser: (db: AgentsManageDatabaseClient) => (params: {
132
132
  userId: string;
133
133
  }) => Promise<{
134
134
  createdAt: string;
135
- userId: string;
136
- tenantId: string;
137
135
  projectId: string;
136
+ tenantId: string;
138
137
  agentId: string;
138
+ userId: string;
139
139
  triggerId: string;
140
140
  }>;
141
141
  declare const deleteTriggerUser: (db: AgentsManageDatabaseClient) => (params: {
@@ -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
- tenantId: string;
17
15
  projectId: string;
16
+ tenantId: string;
18
17
  agentId: string;
19
18
  publicId: string;
20
19
  keyHash: string;
21
20
  keyPrefix: string;
22
21
  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
- tenantId: string;
31
29
  projectId: string;
30
+ tenantId: string;
32
31
  agentId: string;
33
32
  publicId: string;
34
33
  keyHash: string;
35
34
  keyPrefix: string;
36
35
  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
- tenantId: string;
48
46
  projectId: string;
47
+ tenantId: string;
49
48
  agentId: string;
50
49
  publicId: string;
51
50
  keyHash: string;
52
51
  keyPrefix: string;
53
52
  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
- tenantId: string;
75
73
  projectId: string;
74
+ tenantId: string;
76
75
  agentId: string;
77
76
  publicId: string;
78
77
  keyHash: string;
79
78
  keyPrefix: string;
80
79
  lastUsedAt: string | null;
80
+ expiresAt: string | null;
81
81
  }>;
82
82
  declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
83
83
  scopes: ProjectScopeConfig;
@@ -6,15 +6,15 @@ 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;
9
10
  id: string;
10
11
  name: string;
11
12
  createdAt: string;
12
13
  updatedAt: string;
13
- description: string | null;
14
- enabled: boolean;
15
- tenantId: string | null;
16
14
  projectId: string | null;
15
+ tenantId: string | null;
17
16
  prompt: string | null;
17
+ enabled: boolean;
18
18
  config: {
19
19
  type: "web_client";
20
20
  webClient: {
@@ -62,15 +62,15 @@ 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;
65
66
  id: string;
66
67
  name: string;
67
68
  createdAt: string;
68
69
  updatedAt: string;
69
- description: string | null;
70
- enabled: boolean;
71
- tenantId: string | null;
72
70
  projectId: string | null;
71
+ tenantId: string | null;
73
72
  prompt: string | null;
73
+ enabled: boolean;
74
74
  config: {
75
75
  type: "web_client";
76
76
  webClient: {
@@ -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;
18
19
  id: string;
19
- createdAt: string;
20
- updatedAt: string;
20
+ metadata: ConversationMetadata | null;
21
21
  ref: {
22
22
  type: "commit" | "tag" | "branch";
23
23
  name: string;
24
24
  hash: string;
25
25
  } | null;
26
- userId: string | null;
27
- metadata: ConversationMetadata | null;
28
- title: string | null;
29
- tenantId: string;
26
+ createdAt: string;
27
+ updatedAt: string;
30
28
  projectId: string;
29
+ tenantId: string;
31
30
  agentId: string | null;
31
+ userId: 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;
87
88
  id: string;
88
- createdAt: string;
89
- updatedAt: string;
89
+ metadata: ConversationMetadata | null;
90
90
  ref: {
91
91
  type: "commit" | "tag" | "branch";
92
92
  name: string;
93
93
  hash: string;
94
94
  } | null;
95
- userId: string | null;
96
- metadata: ConversationMetadata | null;
97
- title: string | null;
98
- tenantId: string;
95
+ createdAt: string;
96
+ updatedAt: string;
99
97
  projectId: string;
98
+ tenantId: string;
100
99
  agentId: string | null;
100
+ userId: 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;
123
124
  id: string;
124
- createdAt: string;
125
- updatedAt: string;
125
+ metadata: ConversationMetadata | null;
126
126
  ref: {
127
127
  type: "commit" | "tag" | "branch";
128
128
  name: string;
129
129
  hash: string;
130
130
  } | null;
131
- userId: string | null;
132
- metadata: ConversationMetadata | null;
133
- title: string | null;
134
- tenantId: string;
131
+ createdAt: string;
132
+ updatedAt: string;
135
133
  projectId: string;
134
+ tenantId: string;
136
135
  agentId: string | null;
136
+ userId: 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;
155
156
  id: string;
156
- createdAt: string;
157
- updatedAt: string;
157
+ metadata: ConversationMetadata | null;
158
158
  ref: {
159
159
  type: "commit" | "tag" | "branch";
160
160
  name: string;
161
161
  hash: string;
162
162
  } | null;
163
- userId: string | null;
164
- metadata: ConversationMetadata | null;
165
- title: string | null;
166
- tenantId: string;
163
+ createdAt: string;
164
+ updatedAt: string;
167
165
  projectId: string;
166
+ tenantId: string;
168
167
  agentId: string | null;
168
+ userId: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -62,11 +62,11 @@ declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: Feedback
62
62
  id: string;
63
63
  createdAt: string;
64
64
  updatedAt: string;
65
- tenantId: string;
66
65
  projectId: string;
66
+ tenantId: string;
67
+ details: string | null;
67
68
  conversationId: string;
68
69
  messageId: string | null;
69
- details: string | null;
70
70
  }>;
71
71
  declare const updateFeedback: (db: AgentsRunDatabaseClient) => (params: {
72
72
  scopes: ProjectScopeConfig;
@@ -91,11 +91,11 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
91
91
  id: string;
92
92
  createdAt: string;
93
93
  updatedAt: string;
94
- tenantId: string;
95
94
  projectId: string;
95
+ tenantId: string;
96
+ details: string | null;
96
97
  conversationId: string;
97
98
  messageId: string | null;
98
- details: string | null;
99
99
  }>;
100
100
  //#endregion
101
101
  export { createFeedback, deleteFeedback, getFeedbackById, listFeedback, listFeedbackByConversation, updateFeedback };
@@ -11,25 +11,25 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
11
11
  messageId: string;
12
12
  }) => Promise<{
13
13
  id: string;
14
+ content: MessageContent;
15
+ metadata: MessageMetadata | null;
14
16
  createdAt: string;
15
17
  updatedAt: string;
16
- metadata: MessageMetadata | null;
17
- role: string;
18
- tenantId: string;
19
- content: MessageContent;
20
18
  projectId: string;
21
- conversationId: string;
19
+ tenantId: string;
22
20
  fromSubAgentId: string | null;
23
21
  toSubAgentId: string | null;
24
22
  fromExternalAgentId: string | null;
25
23
  toExternalAgentId: string | null;
24
+ taskId: string | null;
25
+ a2aTaskId: string | null;
26
+ conversationId: string;
27
+ role: string;
26
28
  fromTeamAgentId: string | null;
27
29
  toTeamAgentId: string | null;
28
30
  visibility: string;
29
31
  messageType: string;
30
- taskId: string | null;
31
32
  parentMessageId: string | null;
32
- a2aTaskId: string | null;
33
33
  a2aSessionId: string | null;
34
34
  } | undefined>;
35
35
  declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
@@ -145,25 +145,25 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
145
145
  data: Omit<MessageInsert, "tenantId" | "projectId">;
146
146
  }) => Promise<{
147
147
  id: string;
148
+ content: MessageContent;
149
+ metadata: MessageMetadata | null;
148
150
  createdAt: string;
149
151
  updatedAt: string;
150
- metadata: MessageMetadata | null;
151
- role: string;
152
- tenantId: string;
153
- content: MessageContent;
154
152
  projectId: string;
155
- conversationId: string;
153
+ tenantId: string;
156
154
  fromSubAgentId: string | null;
157
155
  toSubAgentId: string | null;
158
156
  fromExternalAgentId: string | null;
159
157
  toExternalAgentId: string | null;
158
+ taskId: string | null;
159
+ a2aTaskId: string | null;
160
+ conversationId: string;
161
+ role: string;
160
162
  fromTeamAgentId: string | null;
161
163
  toTeamAgentId: string | null;
162
164
  visibility: string;
163
165
  messageType: string;
164
- taskId: string | null;
165
166
  parentMessageId: string | null;
166
- a2aTaskId: string | null;
167
167
  a2aSessionId: string | null;
168
168
  }>;
169
169
  declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
@@ -198,25 +198,25 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
198
198
  messageId: string;
199
199
  }) => Promise<{
200
200
  id: string;
201
+ content: MessageContent;
202
+ metadata: MessageMetadata | null;
201
203
  createdAt: string;
202
204
  updatedAt: string;
203
- metadata: MessageMetadata | null;
204
- role: string;
205
- tenantId: string;
206
- content: MessageContent;
207
205
  projectId: string;
208
- conversationId: string;
206
+ tenantId: string;
209
207
  fromSubAgentId: string | null;
210
208
  toSubAgentId: string | null;
211
209
  fromExternalAgentId: string | null;
212
210
  toExternalAgentId: string | null;
211
+ taskId: string | null;
212
+ a2aTaskId: string | null;
213
+ conversationId: string;
214
+ role: string;
213
215
  fromTeamAgentId: string | null;
214
216
  toTeamAgentId: string | null;
215
217
  visibility: string;
216
218
  messageType: string;
217
- taskId: string | null;
218
219
  parentMessageId: string | null;
219
- a2aTaskId: string | null;
220
220
  a2aSessionId: string | null;
221
221
  }>;
222
222
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -40,7 +40,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;
43
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
43
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
44
44
  scheduledFor: string;
45
45
  startedAt: string | null;
46
46
  completedAt: string | null;
@@ -199,7 +199,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
199
199
  name: string;
200
200
  hash: string;
201
201
  } | null;
202
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
202
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
203
203
  scheduledFor: string;
204
204
  startedAt: string | null;
205
205
  completedAt: string | null;
@@ -239,7 +239,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
239
239
  name: string;
240
240
  hash: string;
241
241
  } | null;
242
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
242
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
243
243
  scheduledFor: string;
244
244
  startedAt: string | null;
245
245
  completedAt: string | null;
@@ -292,7 +292,7 @@ declare const listScheduledTriggerInvocationsByTriggerId: (db: AgentsRunDatabase
292
292
  name: string;
293
293
  hash: string;
294
294
  } | null;
295
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
295
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
296
296
  scheduledFor: string;
297
297
  startedAt: string | null;
298
298
  completedAt: string | null;
@@ -16,8 +16,8 @@ declare const createScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (para
16
16
  userId: string;
17
17
  }) => Promise<{
18
18
  createdAt: string;
19
- userId: string;
20
19
  tenantId: string;
20
+ userId: string;
21
21
  scheduledTriggerId: string;
22
22
  }>;
23
23
  declare const deleteScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (params: {
@@ -7,18 +7,18 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
7
7
 
8
8
  //#region src/data-access/runtime/tasks.d.ts
9
9
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
10
+ status: string;
10
11
  id: string;
11
- createdAt: string;
12
- updatedAt: string;
12
+ metadata: TaskMetadataConfig | null;
13
13
  ref: {
14
14
  type: "commit" | "tag" | "branch";
15
15
  name: string;
16
16
  hash: string;
17
17
  } | null;
18
- metadata: TaskMetadataConfig | null;
19
- status: string;
20
- tenantId: string;
18
+ createdAt: string;
19
+ updatedAt: string;
21
20
  projectId: string;
21
+ tenantId: string;
22
22
  agentId: string;
23
23
  subAgentId: string;
24
24
  contextId: string;
@@ -1,4 +1,4 @@
1
- import * as drizzle_orm_pg_core220 from "drizzle-orm/pg-core";
1
+ import * as drizzle_orm_pg_core1399 from "drizzle-orm/pg-core";
2
2
 
3
3
  //#region src/db/manage/dolt-safe-jsonb.d.ts
4
4
  declare function encodeBackslashes(value: unknown): unknown;
@@ -7,6 +7,6 @@ declare function decodeBackslashes(value: unknown): unknown;
7
7
  * Drop-in replacement for drizzle-orm's `jsonb()`.
8
8
  * Encodes backslashes on write and decodes on read to work around the Doltgres bug.
9
9
  */
10
- declare function jsonb(name: string): ReturnType<typeof drizzle_orm_pg_core220.jsonb>;
10
+ declare function jsonb(name: string): ReturnType<typeof drizzle_orm_pg_core1399.jsonb>;
11
11
  //#endregion
12
12
  export { decodeBackslashes, encodeBackslashes, jsonb };