@inkeep/agents-core 0.45.0 → 0.45.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.
@@ -13,10 +13,10 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
15
  description: string | null;
16
- projectId: string;
17
- tenantId: string;
18
- defaultSubAgentId: string | null;
19
- contextConfigId: string | null;
16
+ stopWhen: {
17
+ transferCountIs?: number | undefined;
18
+ } | null;
19
+ prompt: string | null;
20
20
  models: {
21
21
  base?: {
22
22
  model?: string | undefined;
@@ -31,7 +31,10 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
31
31
  providerOptions?: Record<string, any> | undefined;
32
32
  } | undefined;
33
33
  } | null;
34
- prompt: string | null;
34
+ projectId: string;
35
+ tenantId: string;
36
+ defaultSubAgentId: string | null;
37
+ contextConfigId: string | null;
35
38
  statusUpdates: {
36
39
  enabled?: boolean | undefined;
37
40
  numEvents?: number | undefined;
@@ -47,9 +50,6 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
47
50
  } | undefined;
48
51
  }[] | undefined;
49
52
  } | null;
50
- stopWhen: {
51
- transferCountIs?: number | undefined;
52
- } | null;
53
53
  } | null>;
54
54
  declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (params: {
55
55
  scopes: AgentScopeConfig;
@@ -59,10 +59,10 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
59
59
  createdAt: string;
60
60
  updatedAt: string;
61
61
  description: string | null;
62
- projectId: string;
63
- tenantId: string;
64
- defaultSubAgentId: string | null;
65
- contextConfigId: string | null;
62
+ stopWhen: {
63
+ transferCountIs?: number | undefined;
64
+ } | null;
65
+ prompt: string | null;
66
66
  models: {
67
67
  base?: {
68
68
  model?: string | undefined;
@@ -77,7 +77,10 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
77
77
  providerOptions?: Record<string, any> | undefined;
78
78
  } | undefined;
79
79
  } | null;
80
- prompt: string | null;
80
+ projectId: string;
81
+ tenantId: string;
82
+ defaultSubAgentId: string | null;
83
+ contextConfigId: string | null;
81
84
  statusUpdates: {
82
85
  enabled?: boolean | undefined;
83
86
  numEvents?: number | undefined;
@@ -93,18 +96,17 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
93
96
  } | undefined;
94
97
  }[] | undefined;
95
98
  } | null;
96
- stopWhen: {
97
- transferCountIs?: number | undefined;
98
- } | null;
99
99
  defaultSubAgent: {
100
100
  id: string;
101
101
  name: string;
102
102
  createdAt: string;
103
103
  updatedAt: string;
104
104
  description: string | null;
105
- agentId: string;
106
- projectId: string;
107
- tenantId: string;
105
+ stopWhen: {
106
+ stepCountIs?: number | undefined;
107
+ } | null;
108
+ prompt: string | null;
109
+ conversationHistoryConfig: ConversationHistoryConfig | null;
108
110
  models: {
109
111
  base?: {
110
112
  model?: string | undefined;
@@ -119,11 +121,9 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
119
121
  providerOptions?: Record<string, any> | undefined;
120
122
  } | undefined;
121
123
  } | null;
122
- prompt: string | null;
123
- stopWhen: {
124
- stepCountIs?: number | undefined;
125
- } | null;
126
- conversationHistoryConfig: ConversationHistoryConfig | null;
124
+ agentId: string;
125
+ projectId: string;
126
+ tenantId: string;
127
127
  } | null;
128
128
  } | null>;
129
129
  declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
@@ -134,10 +134,10 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
134
134
  createdAt: string;
135
135
  updatedAt: string;
136
136
  description: string | null;
137
- projectId: string;
138
- tenantId: string;
139
- defaultSubAgentId: string | null;
140
- contextConfigId: string | null;
137
+ stopWhen: {
138
+ transferCountIs?: number | undefined;
139
+ } | null;
140
+ prompt: string | null;
141
141
  models: {
142
142
  base?: {
143
143
  model?: string | undefined;
@@ -152,7 +152,10 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
152
152
  providerOptions?: Record<string, any> | undefined;
153
153
  } | undefined;
154
154
  } | null;
155
- prompt: string | null;
155
+ projectId: string;
156
+ tenantId: string;
157
+ defaultSubAgentId: string | null;
158
+ contextConfigId: string | null;
156
159
  statusUpdates: {
157
160
  enabled?: boolean | undefined;
158
161
  numEvents?: number | undefined;
@@ -168,9 +171,6 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
168
171
  } | undefined;
169
172
  }[] | undefined;
170
173
  } | null;
171
- stopWhen: {
172
- transferCountIs?: number | undefined;
173
- } | null;
174
174
  }[]>;
175
175
  declare const listAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
176
176
  scopes: ProjectScopeConfig;
@@ -250,10 +250,10 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
250
250
  createdAt: string;
251
251
  updatedAt: string;
252
252
  description: string | null;
253
- projectId: string;
254
- tenantId: string;
255
- defaultSubAgentId: string | null;
256
- contextConfigId: string | null;
253
+ stopWhen: {
254
+ transferCountIs?: number | undefined;
255
+ } | null;
256
+ prompt: string | null;
257
257
  models: {
258
258
  base?: {
259
259
  model?: string | undefined;
@@ -268,7 +268,10 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
268
268
  providerOptions?: Record<string, any> | undefined;
269
269
  } | undefined;
270
270
  } | null;
271
- prompt: string | null;
271
+ projectId: string;
272
+ tenantId: string;
273
+ defaultSubAgentId: string | null;
274
+ contextConfigId: string | null;
272
275
  statusUpdates: {
273
276
  enabled?: boolean | undefined;
274
277
  numEvents?: number | undefined;
@@ -284,9 +287,6 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
284
287
  } | undefined;
285
288
  }[] | undefined;
286
289
  } | null;
287
- stopWhen: {
288
- transferCountIs?: number | undefined;
289
- } | null;
290
290
  }>;
291
291
  declare const updateAgent: (db: AgentsManageDatabaseClient) => (params: {
292
292
  scopes: AgentScopeConfig;
@@ -11,11 +11,11 @@ declare const getContextConfigById: (db: AgentsManageDatabaseClient) => (params:
11
11
  id: string;
12
12
  createdAt: string;
13
13
  updatedAt: string;
14
- headersSchema: unknown;
15
- contextVariables: Record<string, ContextFetchDefinition> | null;
16
14
  agentId: string;
17
15
  projectId: string;
18
16
  tenantId: string;
17
+ headersSchema: unknown;
18
+ contextVariables: Record<string, ContextFetchDefinition> | null;
19
19
  } | undefined>;
20
20
  declare const listContextConfigs: (db: AgentsManageDatabaseClient) => (params: {
21
21
  scopes: AgentScopeConfig;
@@ -23,11 +23,11 @@ declare const listContextConfigs: (db: AgentsManageDatabaseClient) => (params: {
23
23
  id: string;
24
24
  createdAt: string;
25
25
  updatedAt: string;
26
- headersSchema: unknown;
27
- contextVariables: Record<string, ContextFetchDefinition> | null;
28
26
  agentId: string;
29
27
  projectId: string;
30
28
  tenantId: string;
29
+ headersSchema: unknown;
30
+ contextVariables: Record<string, ContextFetchDefinition> | null;
31
31
  }[]>;
32
32
  declare const listContextConfigsPaginated: (db: AgentsManageDatabaseClient) => (params: {
33
33
  scopes: AgentScopeConfig;
@@ -45,11 +45,11 @@ declare const createContextConfig: (db: AgentsManageDatabaseClient) => (params:
45
45
  id: string;
46
46
  createdAt: string;
47
47
  updatedAt: string;
48
- headersSchema: unknown;
49
- contextVariables: Record<string, ContextFetchDefinition> | null;
50
48
  agentId: string;
51
49
  projectId: string;
52
50
  tenantId: string;
51
+ headersSchema: unknown;
52
+ contextVariables: Record<string, ContextFetchDefinition> | null;
53
53
  }>;
54
54
  declare const updateContextConfig: (db: AgentsManageDatabaseClient) => (params: {
55
55
  scopes: AgentScopeConfig;
@@ -85,11 +85,11 @@ declare const upsertContextConfig: (db: AgentsManageDatabaseClient) => (params:
85
85
  id: string;
86
86
  createdAt: string;
87
87
  updatedAt: string;
88
- headersSchema: unknown;
89
- contextVariables: Record<string, ContextFetchDefinition> | null;
90
88
  agentId: string;
91
89
  projectId: string;
92
90
  tenantId: string;
91
+ headersSchema: unknown;
92
+ contextVariables: Record<string, ContextFetchDefinition> | null;
93
93
  }>;
94
94
  //#endregion
95
95
  export { countContextConfigs, createContextConfig, deleteContextConfig, getContextConfigById, hasContextConfig, listContextConfigs, listContextConfigsPaginated, updateContextConfig, upsertContextConfig };
@@ -69,8 +69,8 @@ declare const associateDataComponentWithAgent: (db: AgentsManageDatabaseClient)
69
69
  agentId: string;
70
70
  projectId: string;
71
71
  tenantId: string;
72
- dataComponentId: string;
73
72
  subAgentId: string;
73
+ dataComponentId: string;
74
74
  }>;
75
75
  /**
76
76
  * Remove association between data component and agent
@@ -111,8 +111,8 @@ declare const upsertAgentDataComponentRelation: (db: AgentsManageDatabaseClient)
111
111
  agentId: string;
112
112
  projectId: string;
113
113
  tenantId: string;
114
- dataComponentId: string;
115
114
  subAgentId: string;
115
+ dataComponentId: string;
116
116
  } | null>;
117
117
  /**
118
118
  * Count data components for a tenant/project
@@ -168,10 +168,10 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
168
168
  projectId: string;
169
169
  tenantId: string;
170
170
  subAgentId: string;
171
+ functionToolId: string;
171
172
  toolPolicies: Record<string, {
172
173
  needsApproval?: boolean;
173
174
  }> | null;
174
- functionToolId: string;
175
175
  }>;
176
176
  /**
177
177
  * Update an agent-function tool relation
@@ -233,10 +233,10 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
233
233
  projectId: string;
234
234
  tenantId: string;
235
235
  subAgentId: string;
236
+ functionToolId: string;
236
237
  toolPolicies: Record<string, {
237
238
  needsApproval?: boolean;
238
239
  }> | null;
239
- functionToolId: string;
240
240
  }>;
241
241
  //#endregion
242
242
  export { addFunctionToolToSubAgent, associateFunctionToolWithSubAgent, createFunctionTool, deleteFunctionTool, getFunctionToolById, getFunctionToolsForSubAgent, getSubAgentsUsingFunctionTool, isFunctionToolAssociatedWithSubAgent, listFunctionTools, removeFunctionToolFromSubAgent, updateFunctionTool, updateSubAgentFunctionToolRelation, upsertFunctionTool, upsertSubAgentFunctionToolRelation };
@@ -212,10 +212,10 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
212
212
  tenantId: string;
213
213
  toolId: string;
214
214
  subAgentId: string;
215
- selectedTools: string[] | null;
216
215
  toolPolicies: Record<string, {
217
216
  needsApproval?: boolean;
218
217
  }> | null;
218
+ selectedTools: string[] | null;
219
219
  }>;
220
220
  declare const updateAgentToolRelation: (db: AgentsManageDatabaseClient) => (params: {
221
221
  scopes: AgentScopeConfig;
@@ -256,10 +256,10 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
256
256
  tenantId: string;
257
257
  toolId: string;
258
258
  subAgentId: string;
259
- selectedTools: string[] | null;
260
259
  toolPolicies: Record<string, {
261
260
  needsApproval?: boolean;
262
261
  }> | null;
262
+ selectedTools: string[] | null;
263
263
  } | undefined>;
264
264
  declare const getAgentToolRelationByAgent: (db: AgentsManageDatabaseClient) => (params: {
265
265
  scopes: SubAgentScopeConfig;
@@ -13,9 +13,11 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
15
  description: string | null;
16
- agentId: string;
17
- projectId: string;
18
- tenantId: string;
16
+ stopWhen: {
17
+ stepCountIs?: number | undefined;
18
+ } | null;
19
+ prompt: string | null;
20
+ conversationHistoryConfig: ConversationHistoryConfig | null;
19
21
  models: {
20
22
  base?: {
21
23
  model?: string | undefined;
@@ -30,11 +32,9 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
30
32
  providerOptions?: Record<string, any> | undefined;
31
33
  } | undefined;
32
34
  } | null;
33
- prompt: string | null;
34
- stopWhen: {
35
- stepCountIs?: number | undefined;
36
- } | null;
37
- conversationHistoryConfig: ConversationHistoryConfig | null;
35
+ agentId: string;
36
+ projectId: string;
37
+ tenantId: string;
38
38
  } | undefined>;
39
39
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
40
40
  scopes: AgentScopeConfig;
@@ -44,9 +44,11 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
44
44
  createdAt: string;
45
45
  updatedAt: string;
46
46
  description: string | null;
47
- agentId: string;
48
- projectId: string;
49
- tenantId: string;
47
+ stopWhen: {
48
+ stepCountIs?: number | undefined;
49
+ } | null;
50
+ prompt: string | null;
51
+ conversationHistoryConfig: ConversationHistoryConfig | null;
50
52
  models: {
51
53
  base?: {
52
54
  model?: string | undefined;
@@ -61,11 +63,9 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
61
63
  providerOptions?: Record<string, any> | undefined;
62
64
  } | undefined;
63
65
  } | null;
64
- prompt: string | null;
65
- stopWhen: {
66
- stepCountIs?: number | undefined;
67
- } | null;
68
- conversationHistoryConfig: ConversationHistoryConfig | null;
66
+ agentId: string;
67
+ projectId: string;
68
+ tenantId: string;
69
69
  }[]>;
70
70
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
71
71
  scopes: AgentScopeConfig;
@@ -113,9 +113,11 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
113
113
  createdAt: string;
114
114
  updatedAt: string;
115
115
  description: string | null;
116
- agentId: string;
117
- projectId: string;
118
- tenantId: string;
116
+ stopWhen: {
117
+ stepCountIs?: number | undefined;
118
+ } | null;
119
+ prompt: string | null;
120
+ conversationHistoryConfig: ConversationHistoryConfig | null;
119
121
  models: {
120
122
  base?: {
121
123
  model?: string | undefined;
@@ -130,11 +132,9 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
130
132
  providerOptions?: Record<string, any> | undefined;
131
133
  } | undefined;
132
134
  } | null;
133
- prompt: string | null;
134
- stopWhen: {
135
- stepCountIs?: number | undefined;
136
- } | null;
137
- conversationHistoryConfig: ConversationHistoryConfig | null;
135
+ agentId: string;
136
+ projectId: string;
137
+ tenantId: string;
138
138
  }>;
139
139
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
140
140
  scopes: AgentScopeConfig;
@@ -22,8 +22,8 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
22
22
  name: string;
23
23
  createdAt: string;
24
24
  updatedAt: string;
25
- description: string | null;
26
25
  headers: Record<string, string> | null;
26
+ description: string | null;
27
27
  projectId: string;
28
28
  tenantId: string;
29
29
  config: {
@@ -80,8 +80,8 @@ declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInser
80
80
  name: string;
81
81
  createdAt: string;
82
82
  updatedAt: string;
83
- description: string | null;
84
83
  headers: Record<string, string> | null;
84
+ description: string | null;
85
85
  projectId: string;
86
86
  tenantId: string;
87
87
  config: {
@@ -142,10 +142,10 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
142
142
  tenantId: string;
143
143
  toolId: string;
144
144
  subAgentId: string;
145
- selectedTools: string[] | null;
146
145
  toolPolicies: Record<string, {
147
146
  needsApproval?: boolean;
148
147
  }> | null;
148
+ selectedTools: string[] | null;
149
149
  }>;
150
150
  declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
151
151
  scopes: AgentScopeConfig;
@@ -161,10 +161,10 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
161
161
  tenantId: string;
162
162
  toolId: string;
163
163
  subAgentId: string;
164
- selectedTools: string[] | null;
165
164
  toolPolicies: Record<string, {
166
165
  needsApproval?: boolean;
167
166
  }> | null;
167
+ selectedTools: string[] | null;
168
168
  }>;
169
169
  /**
170
170
  * Upsert agent-tool relation (create if it doesn't exist, update if it does)
@@ -189,10 +189,10 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
189
189
  tenantId: string;
190
190
  toolId: string;
191
191
  subAgentId: string;
192
- selectedTools: string[] | null;
193
192
  toolPolicies: Record<string, {
194
193
  needsApproval?: boolean;
195
194
  }> | null;
195
+ selectedTools: string[] | null;
196
196
  }>;
197
197
  /**
198
198
  * Upsert a tool (create if it doesn't exist, update if it does)
@@ -204,8 +204,8 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
204
204
  name: string;
205
205
  createdAt: string;
206
206
  updatedAt: string;
207
- description: string | null;
208
207
  headers: Record<string, string> | null;
208
+ description: string | null;
209
209
  projectId: string;
210
210
  tenantId: string;
211
211
  config: {
@@ -19,16 +19,16 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
19
19
  createdAt: string;
20
20
  updatedAt: string;
21
21
  ref: {
22
- type: "tag" | "commit" | "branch";
22
+ type: "commit" | "tag" | "branch";
23
23
  name: string;
24
24
  hash: string;
25
25
  } | null;
26
26
  userId: string | null;
27
27
  metadata: ConversationMetadata | null;
28
+ title: string | null;
28
29
  agentId: string | null;
29
30
  projectId: string;
30
31
  tenantId: string;
31
- title: string | null;
32
32
  activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
34
34
  }>;
@@ -43,7 +43,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
43
43
  agentId: string | null;
44
44
  activeSubAgentId: string;
45
45
  ref: {
46
- type: "tag" | "commit" | "branch";
46
+ type: "commit" | "tag" | "branch";
47
47
  name: string;
48
48
  hash: string;
49
49
  } | null;
@@ -69,7 +69,7 @@ declare const updateConversationActiveSubAgent: (db: AgentsRunDatabaseClient) =>
69
69
  agentId: string | null;
70
70
  activeSubAgentId: string;
71
71
  ref: {
72
- type: "tag" | "commit" | "branch";
72
+ type: "commit" | "tag" | "branch";
73
73
  name: string;
74
74
  hash: string;
75
75
  } | null;
@@ -88,16 +88,16 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
88
88
  createdAt: string;
89
89
  updatedAt: string;
90
90
  ref: {
91
- type: "tag" | "commit" | "branch";
91
+ type: "commit" | "tag" | "branch";
92
92
  name: string;
93
93
  hash: string;
94
94
  } | null;
95
95
  userId: string | null;
96
96
  metadata: ConversationMetadata | null;
97
+ title: string | null;
97
98
  agentId: string | null;
98
99
  projectId: string;
99
100
  tenantId: string;
100
- title: string | null;
101
101
  activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
103
103
  } | undefined>;
@@ -107,7 +107,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
107
107
  tenantId: string;
108
108
  id: string;
109
109
  ref: {
110
- type: "tag" | "commit" | "branch";
110
+ type: "commit" | "tag" | "branch";
111
111
  name: string;
112
112
  hash: string;
113
113
  };
@@ -124,16 +124,16 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
124
124
  createdAt: string;
125
125
  updatedAt: string;
126
126
  ref: {
127
- type: "tag" | "commit" | "branch";
127
+ type: "commit" | "tag" | "branch";
128
128
  name: string;
129
129
  hash: string;
130
130
  } | null;
131
131
  userId: string | null;
132
132
  metadata: ConversationMetadata | null;
133
+ title: string | null;
133
134
  agentId: string | null;
134
135
  projectId: string;
135
136
  tenantId: string;
136
- title: string | null;
137
137
  activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
139
139
  }>;
@@ -156,16 +156,16 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
156
156
  createdAt: string;
157
157
  updatedAt: string;
158
158
  ref: {
159
- type: "tag" | "commit" | "branch";
159
+ type: "commit" | "tag" | "branch";
160
160
  name: string;
161
161
  hash: string;
162
162
  } | null;
163
163
  userId: string | null;
164
164
  metadata: ConversationMetadata | null;
165
+ title: string | null;
165
166
  agentId: string | null;
166
167
  projectId: string;
167
168
  tenantId: string;
168
- title: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -10,7 +10,7 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
10
10
  createdAt: string;
11
11
  updatedAt: string;
12
12
  ref: {
13
- type: "tag" | "commit" | "branch";
13
+ type: "commit" | "tag" | "branch";
14
14
  name: string;
15
15
  hash: string;
16
16
  } | null;
@@ -19,8 +19,8 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
19
19
  agentId: string;
20
20
  projectId: string;
21
21
  tenantId: string;
22
- subAgentId: string;
23
22
  contextId: string;
23
+ subAgentId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
26
26
  id: string;
@@ -36,7 +36,7 @@ declare const updateTask: (db: AgentsRunDatabaseClient) => (params: {
36
36
  updatedAt: string;
37
37
  contextId: string;
38
38
  ref: {
39
- type: "tag" | "commit" | "branch";
39
+ type: "commit" | "tag" | "branch";
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;