@inkeep/agents-core 0.0.0-dev-20260204075611 → 0.0.0-dev-20260204152302

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 (43) hide show
  1. package/dist/auth/auth-schema.d.ts +82 -82
  2. package/dist/auth/auth-validation-schemas.d.ts +146 -146
  3. package/dist/auth/auth.d.ts +22 -22
  4. package/dist/auth/authz/index.d.ts +2 -2
  5. package/dist/auth/authz/index.js +2 -2
  6. package/dist/auth/authz/permissions.d.ts +16 -1
  7. package/dist/auth/authz/permissions.js +26 -1
  8. package/dist/auth/permissions.d.ts +9 -9
  9. package/dist/client-exports.d.ts +2 -3
  10. package/dist/data-access/index.d.ts +2 -2
  11. package/dist/data-access/index.js +4 -4
  12. package/dist/data-access/manage/agents.d.ts +39 -22
  13. package/dist/data-access/manage/agents.js +33 -2
  14. package/dist/data-access/manage/artifactComponents.d.ts +10 -10
  15. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  16. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  17. package/dist/data-access/manage/functionTools.d.ts +16 -16
  18. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  19. package/dist/data-access/manage/subAgentRelations.d.ts +28 -28
  20. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  21. package/dist/data-access/manage/subAgents.d.ts +15 -15
  22. package/dist/data-access/manage/tools.d.ts +33 -33
  23. package/dist/data-access/manage/tools.js +1 -1
  24. package/dist/data-access/manage/triggers.d.ts +2 -2
  25. package/dist/data-access/runtime/apiKeys.d.ts +20 -20
  26. package/dist/data-access/runtime/conversations.d.ts +24 -24
  27. package/dist/data-access/runtime/messages.d.ts +18 -18
  28. package/dist/data-access/runtime/tasks.d.ts +4 -4
  29. package/dist/db/manage/manage-schema.d.ts +306 -306
  30. package/dist/db/runtime/runtime-schema.d.ts +206 -206
  31. package/dist/dolt/branch.js +1 -1
  32. package/dist/dolt/branches-api.js +1 -1
  33. package/dist/dolt/index.js +3 -3
  34. package/dist/dolt/migrate-all-branches.js +1 -1
  35. package/dist/dolt/ref-helpers.js +1 -1
  36. package/dist/dolt/ref-scope.js +1 -1
  37. package/dist/index.d.ts +3 -3
  38. package/dist/index.js +11 -11
  39. package/dist/utils/temp-jwt.d.ts +2 -1
  40. package/dist/utils/temp-jwt.js +3 -2
  41. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  42. package/dist/validation/schemas.d.ts +1587 -1587
  43. package/package.json +1 -1
@@ -8,15 +8,11 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
8
8
  scopes: AgentScopeConfig;
9
9
  subAgentId: string;
10
10
  }) => Promise<{
11
- tenantId: string;
12
- projectId: string;
13
11
  id: string;
14
12
  name: string;
15
- description: string | null;
16
- prompt: string | null;
17
- agentId: string;
18
13
  createdAt: string;
19
14
  updatedAt: string;
15
+ description: string | null;
20
16
  models: {
21
17
  base?: {
22
18
  model?: string | undefined;
@@ -34,20 +30,20 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
34
30
  stopWhen: {
35
31
  stepCountIs?: number | undefined;
36
32
  } | null;
33
+ tenantId: string;
34
+ prompt: string | null;
35
+ projectId: string;
36
+ agentId: string;
37
37
  conversationHistoryConfig: ConversationHistoryConfig | null;
38
38
  } | undefined>;
39
39
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
40
40
  scopes: AgentScopeConfig;
41
41
  }) => Promise<{
42
- tenantId: string;
43
- projectId: string;
44
42
  id: string;
45
43
  name: string;
46
- description: string | null;
47
- prompt: string | null;
48
- agentId: string;
49
44
  createdAt: string;
50
45
  updatedAt: string;
46
+ description: string | null;
51
47
  models: {
52
48
  base?: {
53
49
  model?: string | undefined;
@@ -65,6 +61,10 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
65
61
  stopWhen: {
66
62
  stepCountIs?: number | undefined;
67
63
  } | null;
64
+ tenantId: string;
65
+ prompt: string | null;
66
+ projectId: string;
67
+ agentId: string;
68
68
  conversationHistoryConfig: ConversationHistoryConfig | null;
69
69
  }[]>;
70
70
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
@@ -108,15 +108,11 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
108
108
  };
109
109
  }>;
110
110
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
111
- tenantId: string;
112
- projectId: string;
113
111
  id: string;
114
112
  name: string;
115
- description: string | null;
116
- prompt: string | null;
117
- agentId: string;
118
113
  createdAt: string;
119
114
  updatedAt: string;
115
+ description: string | null;
120
116
  models: {
121
117
  base?: {
122
118
  model?: string | undefined;
@@ -134,6 +130,10 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
134
130
  stopWhen: {
135
131
  stepCountIs?: number | undefined;
136
132
  } | null;
133
+ tenantId: string;
134
+ prompt: string | null;
135
+ projectId: string;
136
+ agentId: string;
137
137
  conversationHistoryConfig: ConversationHistoryConfig | null;
138
138
  }>;
139
139
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -18,20 +18,20 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
18
18
  scopes: ProjectScopeConfig;
19
19
  toolId: string;
20
20
  }) => Promise<{
21
- tenantId: string;
22
- projectId: string;
23
21
  id: string;
24
22
  name: string;
23
+ createdAt: string;
24
+ updatedAt: string;
25
25
  description: string | null;
26
+ tenantId: string;
27
+ projectId: string;
28
+ credentialReferenceId: string | null;
26
29
  config: {
27
30
  type: "mcp";
28
31
  mcp: ToolMcpConfig;
29
32
  };
30
- credentialReferenceId: string | null;
31
- createdAt: string;
32
- updatedAt: string;
33
- headers: Record<string, string> | null;
34
33
  credentialScope: string;
34
+ headers: Record<string, string> | null;
35
35
  imageUrl: string | null;
36
36
  capabilities: ToolServerCapabilities | null;
37
37
  lastError: string | null;
@@ -76,20 +76,20 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
76
76
  };
77
77
  }>;
78
78
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
79
- tenantId: string;
80
- projectId: string;
81
79
  id: string;
82
80
  name: string;
81
+ createdAt: string;
82
+ updatedAt: string;
83
83
  description: string | null;
84
+ tenantId: string;
85
+ projectId: string;
86
+ credentialReferenceId: string | null;
84
87
  config: {
85
88
  type: "mcp";
86
89
  mcp: ToolMcpConfig;
87
90
  };
88
- credentialReferenceId: string | null;
89
- createdAt: string;
90
- updatedAt: string;
91
- headers: Record<string, string> | null;
92
91
  credentialScope: string;
92
+ headers: Record<string, string> | null;
93
93
  imageUrl: string | null;
94
94
  capabilities: ToolServerCapabilities | null;
95
95
  lastError: string | null;
@@ -133,38 +133,38 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
133
133
  needsApproval?: boolean;
134
134
  }> | null;
135
135
  }) => Promise<{
136
- tenantId: string;
137
- projectId: string;
138
136
  id: string;
139
- agentId: string;
140
137
  createdAt: string;
141
138
  updatedAt: string;
139
+ tenantId: string;
140
+ projectId: string;
141
+ agentId: string;
142
142
  toolId: string;
143
+ subAgentId: string;
143
144
  headers: Record<string, string> | null;
145
+ selectedTools: string[] | null;
144
146
  toolPolicies: Record<string, {
145
147
  needsApproval?: boolean;
146
148
  }> | null;
147
- subAgentId: string;
148
- selectedTools: string[] | null;
149
149
  }>;
150
150
  declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
151
151
  scopes: AgentScopeConfig;
152
152
  subAgentId: string;
153
153
  toolId: string;
154
154
  }) => Promise<{
155
- tenantId: string;
156
- projectId: string;
157
155
  id: string;
158
- agentId: string;
159
156
  createdAt: string;
160
157
  updatedAt: string;
158
+ tenantId: string;
159
+ projectId: string;
160
+ agentId: string;
161
161
  toolId: string;
162
+ subAgentId: string;
162
163
  headers: Record<string, string> | null;
164
+ selectedTools: string[] | null;
163
165
  toolPolicies: Record<string, {
164
166
  needsApproval?: boolean;
165
167
  }> | null;
166
- subAgentId: string;
167
- selectedTools: string[] | null;
168
168
  }>;
169
169
  /**
170
170
  * Upsert agent-tool relation (create if it doesn't exist, update if it does)
@@ -180,19 +180,19 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
180
180
  }> | null;
181
181
  relationId?: string;
182
182
  }) => Promise<{
183
- tenantId: string;
184
- projectId: string;
185
183
  id: string;
186
- agentId: string;
187
184
  createdAt: string;
188
185
  updatedAt: string;
186
+ tenantId: string;
187
+ projectId: string;
188
+ agentId: string;
189
189
  toolId: string;
190
+ subAgentId: string;
190
191
  headers: Record<string, string> | null;
192
+ selectedTools: string[] | null;
191
193
  toolPolicies: Record<string, {
192
194
  needsApproval?: boolean;
193
195
  }> | null;
194
- subAgentId: string;
195
- selectedTools: string[] | null;
196
196
  }>;
197
197
  /**
198
198
  * Upsert a tool (create if it doesn't exist, update if it does)
@@ -200,20 +200,20 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
200
200
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
201
201
  data: ToolInsert;
202
202
  }) => Promise<{
203
- tenantId: string;
204
- projectId: string;
205
203
  id: string;
206
204
  name: string;
205
+ createdAt: string;
206
+ updatedAt: string;
207
207
  description: string | null;
208
+ tenantId: string;
209
+ projectId: string;
210
+ credentialReferenceId: string | null;
208
211
  config: {
209
212
  type: "mcp";
210
213
  mcp: ToolMcpConfig;
211
214
  };
212
- credentialReferenceId: string | null;
213
- createdAt: string;
214
- updatedAt: string;
215
- headers: Record<string, string> | null;
216
215
  credentialScope: string;
216
+ headers: Record<string, string> | null;
217
217
  imageUrl: string | null;
218
218
  capabilities: ToolServerCapabilities | null;
219
219
  lastError: string | null;
@@ -8,8 +8,8 @@ import { CredentialStuffer } from "../../credential-stuffer/CredentialStuffer.js
8
8
  import "../../credential-stuffer/index.js";
9
9
  import { createAgentsRunDatabaseClient } from "../../db/runtime/runtime-client.js";
10
10
  import { generateId } from "../../utils/conversations.js";
11
- import { updateAgentToolRelation } from "./subAgentRelations.js";
12
11
  import { getActiveBranch } from "../../dolt/schema-sync.js";
12
+ import { updateAgentToolRelation } from "./subAgentRelations.js";
13
13
  import { toISODateString } from "../../utils/date.js";
14
14
  import { McpClient } from "../../utils/mcp-client.js";
15
15
  import { buildComposioMCPUrl } from "../../utils/third-party-mcp-servers/composio-client.js";
@@ -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;
@@ -7,49 +7,49 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
7
7
  scopes: ProjectScopeConfig;
8
8
  id: string;
9
9
  }) => Promise<{
10
- tenantId: string;
11
- projectId: string;
12
10
  id: string;
13
11
  name: string | null;
12
+ createdAt: string;
13
+ updatedAt: string;
14
+ expiresAt: string | null;
15
+ tenantId: string;
16
+ projectId: string;
14
17
  agentId: string;
15
18
  publicId: string;
16
19
  keyHash: string;
17
20
  keyPrefix: string;
18
21
  lastUsedAt: string | null;
19
- expiresAt: string | null;
20
- createdAt: string;
21
- updatedAt: string;
22
22
  } | undefined>;
23
23
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
24
- tenantId: string;
25
- projectId: string;
26
24
  id: string;
27
25
  name: string | null;
26
+ createdAt: string;
27
+ updatedAt: string;
28
+ expiresAt: string | null;
29
+ tenantId: string;
30
+ projectId: string;
28
31
  agentId: string;
29
32
  publicId: string;
30
33
  keyHash: string;
31
34
  keyPrefix: string;
32
35
  lastUsedAt: string | null;
33
- expiresAt: string | null;
34
- createdAt: string;
35
- updatedAt: string;
36
36
  } | undefined>;
37
37
  declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
38
38
  scopes: ProjectScopeConfig;
39
39
  agentId?: string;
40
40
  }) => Promise<{
41
- tenantId: string;
42
- projectId: string;
43
41
  id: string;
44
42
  name: string | null;
43
+ createdAt: string;
44
+ updatedAt: string;
45
+ expiresAt: string | null;
46
+ tenantId: string;
47
+ projectId: string;
45
48
  agentId: string;
46
49
  publicId: string;
47
50
  keyHash: string;
48
51
  keyPrefix: string;
49
52
  lastUsedAt: string | null;
50
- expiresAt: string | null;
51
- createdAt: string;
52
- updatedAt: string;
53
53
  }[]>;
54
54
  declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
55
55
  scopes: ProjectScopeConfig;
@@ -65,18 +65,18 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
65
65
  };
66
66
  }>;
67
67
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
68
- tenantId: string;
69
- projectId: string;
70
68
  id: string;
71
69
  name: string | null;
70
+ createdAt: string;
71
+ updatedAt: string;
72
+ expiresAt: string | null;
73
+ tenantId: string;
74
+ projectId: string;
72
75
  agentId: string;
73
76
  publicId: string;
74
77
  keyHash: string;
75
78
  keyPrefix: string;
76
79
  lastUsedAt: string | null;
77
- expiresAt: string | null;
78
- createdAt: string;
79
- updatedAt: string;
80
80
  }>;
81
81
  declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
82
82
  scopes: ProjectScopeConfig;
@@ -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
- tenantId: string;
19
- projectId: string;
20
18
  id: string;
21
- title: string | null;
22
- agentId: string | null;
23
19
  createdAt: string;
24
20
  updatedAt: string;
25
- userId: string | null;
26
- metadata: ConversationMetadata | null;
27
21
  ref: {
28
22
  type: "tag" | "commit" | "branch";
29
23
  name: string;
30
24
  hash: string;
31
25
  } | null;
26
+ userId: string | null;
27
+ metadata: ConversationMetadata | null;
28
+ title: string | null;
29
+ tenantId: string;
30
+ projectId: string;
31
+ agentId: 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
- tenantId: string;
88
- projectId: string;
89
87
  id: string;
90
- title: string | null;
91
- agentId: string | null;
92
88
  createdAt: string;
93
89
  updatedAt: string;
94
- userId: string | null;
95
- metadata: ConversationMetadata | null;
96
90
  ref: {
97
91
  type: "tag" | "commit" | "branch";
98
92
  name: string;
99
93
  hash: string;
100
94
  } | null;
95
+ userId: string | null;
96
+ metadata: ConversationMetadata | null;
97
+ title: string | null;
98
+ tenantId: string;
99
+ projectId: string;
100
+ agentId: 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
- tenantId: string;
124
- projectId: string;
125
123
  id: string;
126
- title: string | null;
127
- agentId: string | null;
128
124
  createdAt: string;
129
125
  updatedAt: string;
130
- userId: string | null;
131
- metadata: ConversationMetadata | null;
132
126
  ref: {
133
127
  type: "tag" | "commit" | "branch";
134
128
  name: string;
135
129
  hash: string;
136
130
  } | null;
131
+ userId: string | null;
132
+ metadata: ConversationMetadata | null;
133
+ title: string | null;
134
+ tenantId: string;
135
+ projectId: string;
136
+ agentId: 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
- tenantId: string;
156
- projectId: string;
157
155
  id: string;
158
- title: string | null;
159
- agentId: string | null;
160
156
  createdAt: string;
161
157
  updatedAt: string;
162
- userId: string | null;
163
- metadata: ConversationMetadata | null;
164
158
  ref: {
165
159
  type: "tag" | "commit" | "branch";
166
160
  name: string;
167
161
  hash: string;
168
162
  } | null;
163
+ userId: string | null;
164
+ metadata: ConversationMetadata | null;
165
+ title: string | null;
166
+ tenantId: string;
167
+ projectId: string;
168
+ agentId: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -9,26 +9,26 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
9
9
  scopes: ProjectScopeConfig;
10
10
  messageId: string;
11
11
  }) => Promise<{
12
- tenantId: string;
13
- projectId: string;
14
12
  id: string;
15
13
  createdAt: string;
16
14
  updatedAt: string;
17
15
  metadata: MessageMetadata | null;
18
- content: MessageContent;
19
16
  role: string;
20
- conversationId: string;
17
+ tenantId: string;
18
+ projectId: string;
19
+ content: MessageContent;
21
20
  fromSubAgentId: string | null;
22
21
  toSubAgentId: string | null;
23
22
  fromExternalAgentId: string | null;
24
23
  toExternalAgentId: string | null;
24
+ taskId: string | null;
25
+ a2aTaskId: string | null;
26
+ conversationId: string;
25
27
  fromTeamAgentId: string | null;
26
28
  toTeamAgentId: string | null;
27
29
  visibility: string;
28
30
  messageType: string;
29
- taskId: string | null;
30
31
  parentMessageId: string | null;
31
- a2aTaskId: string | null;
32
32
  a2aSessionId: string | null;
33
33
  } | undefined>;
34
34
  declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
@@ -140,26 +140,26 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
140
140
  id: string;
141
141
  }[]>;
142
142
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
143
- tenantId: string;
144
- projectId: string;
145
143
  id: string;
146
144
  createdAt: string;
147
145
  updatedAt: string;
148
146
  metadata: MessageMetadata | null;
149
- content: MessageContent;
150
147
  role: string;
151
- conversationId: string;
148
+ tenantId: string;
149
+ projectId: string;
150
+ content: MessageContent;
152
151
  fromSubAgentId: string | null;
153
152
  toSubAgentId: string | null;
154
153
  fromExternalAgentId: string | null;
155
154
  toExternalAgentId: string | null;
155
+ taskId: string | null;
156
+ a2aTaskId: string | null;
157
+ conversationId: string;
156
158
  fromTeamAgentId: string | null;
157
159
  toTeamAgentId: string | null;
158
160
  visibility: string;
159
161
  messageType: string;
160
- taskId: string | null;
161
162
  parentMessageId: string | null;
162
- a2aTaskId: string | null;
163
163
  a2aSessionId: string | null;
164
164
  }>;
165
165
  declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
@@ -193,26 +193,26 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
193
193
  scopes: ProjectScopeConfig;
194
194
  messageId: string;
195
195
  }) => Promise<{
196
- tenantId: string;
197
- projectId: string;
198
196
  id: string;
199
197
  createdAt: string;
200
198
  updatedAt: string;
201
199
  metadata: MessageMetadata | null;
202
- content: MessageContent;
203
200
  role: string;
204
- conversationId: string;
201
+ tenantId: string;
202
+ projectId: string;
203
+ content: MessageContent;
205
204
  fromSubAgentId: string | null;
206
205
  toSubAgentId: string | null;
207
206
  fromExternalAgentId: string | null;
208
207
  toExternalAgentId: string | null;
208
+ taskId: string | null;
209
+ a2aTaskId: string | null;
210
+ conversationId: string;
209
211
  fromTeamAgentId: string | null;
210
212
  toTeamAgentId: string | null;
211
213
  visibility: string;
212
214
  messageType: string;
213
- taskId: string | null;
214
215
  parentMessageId: string | null;
215
- a2aTaskId: string | null;
216
216
  a2aSessionId: string | null;
217
217
  }>;
218
218
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -6,19 +6,19 @@ 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
- tenantId: string;
10
- projectId: string;
11
9
  id: string;
12
- agentId: string;
13
10
  createdAt: string;
14
11
  updatedAt: string;
15
- metadata: TaskMetadataConfig | null;
16
12
  ref: {
17
13
  type: "tag" | "commit" | "branch";
18
14
  name: string;
19
15
  hash: string;
20
16
  } | null;
17
+ metadata: TaskMetadataConfig | null;
21
18
  status: string;
19
+ tenantId: string;
20
+ projectId: string;
21
+ agentId: string;
22
22
  subAgentId: string;
23
23
  contextId: string;
24
24
  }>;