@inkeep/agents-core 0.0.0-dev-20260318232505 → 0.0.0-dev-20260319030409

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 (33) hide show
  1. package/dist/auth/auth-schema.d.ts +85 -85
  2. package/dist/auth/auth-validation-schemas.d.ts +152 -152
  3. package/dist/auth/cookie-names.d.ts +7 -0
  4. package/dist/auth/cookie-names.js +13 -0
  5. package/dist/client-exports.d.ts +2 -2
  6. package/dist/data-access/manage/agents.d.ts +14 -14
  7. package/dist/data-access/manage/artifactComponents.d.ts +8 -8
  8. package/dist/data-access/manage/contextConfigs.d.ts +4 -4
  9. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  10. package/dist/data-access/manage/functionTools.d.ts +8 -8
  11. package/dist/data-access/manage/skills.d.ts +8 -8
  12. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
  13. package/dist/data-access/manage/subAgentRelations.d.ts +12 -12
  14. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
  15. package/dist/data-access/manage/subAgents.d.ts +6 -6
  16. package/dist/data-access/manage/tools.d.ts +15 -15
  17. package/dist/data-access/manage/triggers.d.ts +1 -1
  18. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  19. package/dist/data-access/runtime/apps.d.ts +6 -6
  20. package/dist/data-access/runtime/conversations.d.ts +19 -19
  21. package/dist/data-access/runtime/messages.d.ts +15 -15
  22. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +6 -6
  23. package/dist/data-access/runtime/tasks.d.ts +5 -5
  24. package/dist/data-access/runtime/triggerInvocations.d.ts +1 -1
  25. package/dist/db/manage/manage-schema.d.ts +359 -359
  26. package/dist/db/runtime/runtime-schema.d.ts +18 -18
  27. package/dist/index.d.ts +2 -1
  28. package/dist/index.js +2 -1
  29. package/dist/middleware/no-auth.d.ts +2 -2
  30. package/dist/validation/dolt-schemas.d.ts +1 -1
  31. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  32. package/dist/validation/schemas.d.ts +2030 -2030
  33. package/package.json +9 -1
@@ -9,12 +9,12 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
+ id: string;
13
+ name: string;
12
14
  description: string | null;
13
15
  tenantId: string;
14
16
  projectId: string;
15
17
  agentId: string;
16
- name: string;
17
- id: string;
18
18
  prompt: string | null;
19
19
  conversationHistoryConfig: ConversationHistoryConfig | null;
20
20
  models: {
@@ -40,12 +40,12 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
40
40
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
41
41
  scopes: AgentScopeConfig;
42
42
  }) => Promise<{
43
+ id: string;
44
+ name: string;
43
45
  description: string | null;
44
46
  tenantId: string;
45
47
  projectId: string;
46
48
  agentId: string;
47
- name: string;
48
- id: string;
49
49
  prompt: string | null;
50
50
  conversationHistoryConfig: ConversationHistoryConfig | null;
51
51
  models: {
@@ -109,12 +109,12 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
109
109
  };
110
110
  }>;
111
111
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
112
+ id: string;
113
+ name: string;
112
114
  description: string | null;
113
115
  tenantId: string;
114
116
  projectId: string;
115
117
  agentId: string;
116
- name: string;
117
- id: string;
118
118
  prompt: string | null;
119
119
  conversationHistoryConfig: ConversationHistoryConfig | null;
120
120
  models: {
@@ -20,11 +20,11 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
20
20
  scopes: ProjectScopeConfig;
21
21
  toolId: string;
22
22
  }) => Promise<{
23
+ id: string;
24
+ name: string;
23
25
  description: string | null;
24
26
  tenantId: string;
25
27
  projectId: string;
26
- name: string;
27
- id: string;
28
28
  createdAt: string;
29
29
  updatedAt: string;
30
30
  headers: Record<string, string> | null;
@@ -78,11 +78,11 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
78
78
  };
79
79
  }>;
80
80
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
81
+ id: string;
82
+ name: string;
81
83
  description: string | null;
82
84
  tenantId: string;
83
85
  projectId: string;
84
- name: string;
85
- id: string;
86
86
  createdAt: string;
87
87
  updatedAt: string;
88
88
  headers: Record<string, string> | null;
@@ -135,18 +135,18 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
135
135
  needsApproval?: boolean;
136
136
  }> | null;
137
137
  }) => Promise<{
138
+ id: string;
138
139
  tenantId: string;
139
140
  projectId: string;
140
141
  agentId: string;
141
- subAgentId: string;
142
- toolId: string;
143
- id: string;
144
142
  createdAt: string;
145
143
  updatedAt: string;
144
+ toolId: string;
146
145
  headers: Record<string, string> | null;
147
146
  toolPolicies: Record<string, {
148
147
  needsApproval?: boolean;
149
148
  }> | null;
149
+ subAgentId: string;
150
150
  selectedTools: string[] | null;
151
151
  }>;
152
152
  declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -154,18 +154,18 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
154
154
  subAgentId: string;
155
155
  toolId: string;
156
156
  }) => Promise<{
157
+ id: string;
157
158
  tenantId: string;
158
159
  projectId: string;
159
160
  agentId: string;
160
- subAgentId: string;
161
- toolId: string;
162
- id: string;
163
161
  createdAt: string;
164
162
  updatedAt: string;
163
+ toolId: string;
165
164
  headers: Record<string, string> | null;
166
165
  toolPolicies: Record<string, {
167
166
  needsApproval?: boolean;
168
167
  }> | null;
168
+ subAgentId: string;
169
169
  selectedTools: string[] | null;
170
170
  }>;
171
171
  /**
@@ -182,18 +182,18 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
182
182
  }> | null;
183
183
  relationId?: string;
184
184
  }) => Promise<{
185
+ id: string;
185
186
  tenantId: string;
186
187
  projectId: string;
187
188
  agentId: string;
188
- subAgentId: string;
189
- toolId: string;
190
- id: string;
191
189
  createdAt: string;
192
190
  updatedAt: string;
191
+ toolId: string;
193
192
  headers: Record<string, string> | null;
194
193
  toolPolicies: Record<string, {
195
194
  needsApproval?: boolean;
196
195
  }> | null;
196
+ subAgentId: string;
197
197
  selectedTools: string[] | null;
198
198
  }>;
199
199
  /**
@@ -202,11 +202,11 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
202
202
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
203
203
  data: ToolInsert;
204
204
  }) => Promise<{
205
+ id: string;
206
+ name: string;
205
207
  description: string | null;
206
208
  tenantId: string;
207
209
  projectId: string;
208
- name: string;
209
- id: string;
210
210
  createdAt: string;
211
211
  updatedAt: string;
212
212
  headers: Record<string, string> | null;
@@ -46,7 +46,7 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "header" | "literal" | "body";
49
+ source: "literal" | "header" | "body";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -8,49 +8,49 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  id: string;
10
10
  }) => Promise<{
11
+ id: string;
12
+ name: string | null;
11
13
  tenantId: string;
12
14
  projectId: string;
13
15
  agentId: string;
14
- name: string | null;
15
- id: string;
16
16
  createdAt: string;
17
17
  updatedAt: string;
18
- expiresAt: string | null;
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
+ id: string;
26
+ name: string | null;
25
27
  tenantId: string;
26
28
  projectId: string;
27
29
  agentId: string;
28
- name: string | null;
29
- id: string;
30
30
  createdAt: string;
31
31
  updatedAt: string;
32
- expiresAt: string | null;
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;
40
40
  agentId?: string;
41
41
  }) => Promise<{
42
+ id: string;
43
+ name: string | null;
42
44
  tenantId: string;
43
45
  projectId: string;
44
46
  agentId: string;
45
- name: string | null;
46
- id: string;
47
47
  createdAt: string;
48
48
  updatedAt: string;
49
- expiresAt: string | null;
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;
@@ -66,18 +66,18 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
66
66
  };
67
67
  }>;
68
68
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
69
+ id: string;
70
+ name: string | null;
69
71
  tenantId: string;
70
72
  projectId: string;
71
73
  agentId: string;
72
- name: string | null;
73
- id: string;
74
74
  createdAt: string;
75
75
  updatedAt: string;
76
- expiresAt: string | null;
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;
@@ -5,12 +5,12 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
5
5
 
6
6
  //#region src/data-access/runtime/apps.d.ts
7
7
  declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
8
- type: AppType;
8
+ id: string;
9
+ name: string;
9
10
  description: string | null;
10
11
  tenantId: string | null;
11
12
  projectId: string | null;
12
- name: string;
13
- id: string;
13
+ type: AppType;
14
14
  createdAt: string;
15
15
  updatedAt: string;
16
16
  enabled: boolean;
@@ -52,12 +52,12 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
52
52
  };
53
53
  }>;
54
54
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
55
- type: AppType;
55
+ id: string;
56
+ name: string;
56
57
  description: string | null;
57
58
  tenantId: string | null;
58
59
  projectId: string | null;
59
- name: string;
60
- id: string;
60
+ type: AppType;
61
61
  createdAt: string;
62
62
  updatedAt: string;
63
63
  enabled: boolean;
@@ -16,20 +16,20 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
16
16
  total: number;
17
17
  }>;
18
18
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
19
- title: string | null;
19
+ id: string;
20
20
  tenantId: string;
21
21
  projectId: string;
22
22
  agentId: string | null;
23
- id: string;
23
+ title: string | null;
24
24
  createdAt: string;
25
25
  updatedAt: string;
26
26
  metadata: ConversationMetadata | null;
27
+ userId: string | null;
27
28
  ref: {
28
- type: "commit" | "tag" | "branch";
29
+ type: "tag" | "commit" | "branch";
29
30
  name: string;
30
31
  hash: string;
31
32
  } | null;
32
- userId: string | null;
33
33
  activeSubAgentId: string;
34
34
  lastContextResolution: string | null;
35
35
  }>;
@@ -44,7 +44,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
44
44
  agentId: string | null;
45
45
  activeSubAgentId: string;
46
46
  ref: {
47
- type: "commit" | "tag" | "branch";
47
+ type: "tag" | "commit" | "branch";
48
48
  name: string;
49
49
  hash: string;
50
50
  } | null;
@@ -70,7 +70,7 @@ declare const updateConversationActiveSubAgent: (db: AgentsRunDatabaseClient) =>
70
70
  agentId: string | null;
71
71
  activeSubAgentId: string;
72
72
  ref: {
73
- type: "commit" | "tag" | "branch";
73
+ type: "tag" | "commit" | "branch";
74
74
  name: string;
75
75
  hash: string;
76
76
  } | null;
@@ -85,20 +85,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
85
85
  scopes: ProjectScopeConfig;
86
86
  conversationId: string;
87
87
  }) => Promise<{
88
- title: string | null;
88
+ id: string;
89
89
  tenantId: string;
90
90
  projectId: string;
91
91
  agentId: string | null;
92
- id: string;
92
+ title: string | null;
93
93
  createdAt: string;
94
94
  updatedAt: string;
95
95
  metadata: ConversationMetadata | null;
96
+ userId: string | null;
96
97
  ref: {
97
- type: "commit" | "tag" | "branch";
98
+ type: "tag" | "commit" | "branch";
98
99
  name: string;
99
100
  hash: string;
100
101
  } | null;
101
- userId: string | null;
102
102
  activeSubAgentId: string;
103
103
  lastContextResolution: string | null;
104
104
  } | undefined>;
@@ -108,7 +108,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
108
108
  tenantId: string;
109
109
  id: string;
110
110
  ref: {
111
- type: "commit" | "tag" | "branch";
111
+ type: "tag" | "commit" | "branch";
112
112
  name: string;
113
113
  hash: string;
114
114
  };
@@ -121,20 +121,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
121
121
  metadata?: ConversationMetadata | null | undefined;
122
122
  contextConfigId?: string | undefined;
123
123
  } | {
124
- title: string | null;
124
+ id: string;
125
125
  tenantId: string;
126
126
  projectId: string;
127
127
  agentId: string | null;
128
- id: string;
128
+ title: string | null;
129
129
  createdAt: string;
130
130
  updatedAt: string;
131
131
  metadata: ConversationMetadata | null;
132
+ userId: string | null;
132
133
  ref: {
133
- type: "commit" | "tag" | "branch";
134
+ type: "tag" | "commit" | "branch";
134
135
  name: string;
135
136
  hash: string;
136
137
  } | null;
137
- userId: string | null;
138
138
  activeSubAgentId: string;
139
139
  lastContextResolution: string | null;
140
140
  }>;
@@ -153,20 +153,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
153
153
  scopes: ProjectScopeConfig;
154
154
  conversationId: string;
155
155
  }) => Promise<{
156
- title: string | null;
156
+ id: string;
157
157
  tenantId: string;
158
158
  projectId: string;
159
159
  agentId: string | null;
160
- id: string;
160
+ title: string | null;
161
161
  createdAt: string;
162
162
  updatedAt: string;
163
163
  metadata: ConversationMetadata | null;
164
+ userId: string | null;
164
165
  ref: {
165
- type: "commit" | "tag" | "branch";
166
+ type: "tag" | "commit" | "branch";
166
167
  name: string;
167
168
  hash: string;
168
169
  } | null;
169
- userId: string | null;
170
170
  activeSubAgentId: string;
171
171
  lastContextResolution: string | null;
172
172
  } | undefined>;
@@ -10,26 +10,26 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
+ id: string;
13
14
  tenantId: string;
14
15
  projectId: string;
15
- id: string;
16
16
  createdAt: string;
17
17
  updatedAt: string;
18
18
  metadata: MessageMetadata | null;
19
19
  content: MessageContent;
20
- role: string;
21
- conversationId: 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: {
@@ -144,26 +144,26 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
144
144
  scopes: ProjectScopeConfig;
145
145
  data: Omit<MessageInsert, "tenantId" | "projectId">;
146
146
  }) => Promise<{
147
+ id: string;
147
148
  tenantId: string;
148
149
  projectId: string;
149
- id: string;
150
150
  createdAt: string;
151
151
  updatedAt: string;
152
152
  metadata: MessageMetadata | null;
153
153
  content: MessageContent;
154
- role: string;
155
- conversationId: 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: {
@@ -197,26 +197,26 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
197
197
  scopes: ProjectScopeConfig;
198
198
  messageId: string;
199
199
  }) => Promise<{
200
+ id: string;
200
201
  tenantId: string;
201
202
  projectId: string;
202
- id: string;
203
203
  createdAt: string;
204
204
  updatedAt: string;
205
205
  metadata: MessageMetadata | null;
206
206
  content: MessageContent;
207
- role: string;
208
- conversationId: 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: {
@@ -35,11 +35,11 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
35
35
  data: {
36
36
  scheduledTriggerId: string;
37
37
  ref: {
38
- type: "commit" | "tag" | "branch";
38
+ type: "tag" | "commit" | "branch";
39
39
  name: string;
40
40
  hash: string;
41
41
  } | null;
42
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
42
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
43
43
  scheduledFor: string;
44
44
  startedAt: string | null;
45
45
  completedAt: string | null;
@@ -180,11 +180,11 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
180
180
  data: {
181
181
  scheduledTriggerId: string;
182
182
  ref: {
183
- type: "commit" | "tag" | "branch";
183
+ type: "tag" | "commit" | "branch";
184
184
  name: string;
185
185
  hash: string;
186
186
  } | null;
187
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
187
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
188
188
  scheduledFor: string;
189
189
  startedAt: string | null;
190
190
  completedAt: string | null;
@@ -219,11 +219,11 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
219
219
  data: {
220
220
  scheduledTriggerId: string;
221
221
  ref: {
222
- type: "commit" | "tag" | "branch";
222
+ type: "tag" | "commit" | "branch";
223
223
  name: string;
224
224
  hash: string;
225
225
  } | null;
226
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
226
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
227
227
  scheduledFor: string;
228
228
  startedAt: string | null;
229
229
  completedAt: string | null;
@@ -7,20 +7,20 @@ 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
+ id: string;
10
11
  tenantId: string;
11
12
  projectId: string;
12
13
  agentId: string;
13
- subAgentId: string;
14
- id: string;
15
14
  createdAt: string;
16
15
  updatedAt: string;
17
16
  metadata: TaskMetadataConfig | null;
17
+ subAgentId: string;
18
+ status: string;
18
19
  ref: {
19
- type: "commit" | "tag" | "branch";
20
+ type: "tag" | "commit" | "branch";
20
21
  name: string;
21
22
  hash: string;
22
23
  } | null;
23
- status: string;
24
24
  contextId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
@@ -39,7 +39,7 @@ declare const updateTask: (db: AgentsRunDatabaseClient) => (params: {
39
39
  updatedAt: string;
40
40
  contextId: string;
41
41
  ref: {
42
- type: "commit" | "tag" | "branch";
42
+ type: "tag" | "commit" | "branch";
43
43
  name: string;
44
44
  hash: string;
45
45
  } | null;
@@ -29,7 +29,7 @@ declare const listTriggerInvocationsPaginated: (db: AgentsRunDatabaseClient) =>
29
29
  triggerId: string;
30
30
  conversationId: string | null;
31
31
  ref: {
32
- type: "commit" | "tag" | "branch";
32
+ type: "tag" | "commit" | "branch";
33
33
  name: string;
34
34
  hash: string;
35
35
  } | null;