@inkeep/agents-core 0.0.0-dev-20260218022048 → 0.0.0-dev-20260218064659

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.
@@ -19,12 +19,12 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
19
19
  toolId: string;
20
20
  }) => Promise<{
21
21
  id: string;
22
+ createdAt: string;
22
23
  name: string;
24
+ updatedAt: string;
23
25
  description: string | null;
24
- tenantId: string;
25
26
  projectId: string;
26
- createdAt: string;
27
- updatedAt: string;
27
+ tenantId: string;
28
28
  headers: Record<string, string> | null;
29
29
  config: {
30
30
  type: "mcp";
@@ -77,12 +77,12 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
77
77
  }>;
78
78
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
79
79
  id: string;
80
+ createdAt: string;
80
81
  name: string;
82
+ updatedAt: string;
81
83
  description: string | null;
82
- tenantId: string;
83
84
  projectId: string;
84
- createdAt: string;
85
- updatedAt: string;
85
+ tenantId: string;
86
86
  headers: Record<string, string> | null;
87
87
  config: {
88
88
  type: "mcp";
@@ -134,17 +134,17 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
134
134
  }> | null;
135
135
  }) => Promise<{
136
136
  id: string;
137
- tenantId: string;
138
- projectId: string;
139
- agentId: string;
140
137
  createdAt: string;
141
138
  updatedAt: string;
142
- toolId: string;
139
+ agentId: string;
140
+ projectId: string;
141
+ tenantId: string;
143
142
  headers: Record<string, string> | null;
143
+ toolId: string;
144
+ subAgentId: string;
144
145
  toolPolicies: Record<string, {
145
146
  needsApproval?: boolean;
146
147
  }> | null;
147
- subAgentId: string;
148
148
  selectedTools: string[] | null;
149
149
  }>;
150
150
  declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -153,17 +153,17 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
153
153
  toolId: string;
154
154
  }) => Promise<{
155
155
  id: string;
156
- tenantId: string;
157
- projectId: string;
158
- agentId: string;
159
156
  createdAt: string;
160
157
  updatedAt: string;
161
- toolId: string;
158
+ agentId: string;
159
+ projectId: string;
160
+ tenantId: string;
162
161
  headers: Record<string, string> | null;
162
+ toolId: string;
163
+ subAgentId: string;
163
164
  toolPolicies: Record<string, {
164
165
  needsApproval?: boolean;
165
166
  }> | null;
166
- subAgentId: string;
167
167
  selectedTools: string[] | null;
168
168
  }>;
169
169
  /**
@@ -181,17 +181,17 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
181
181
  relationId?: string;
182
182
  }) => Promise<{
183
183
  id: string;
184
- tenantId: string;
185
- projectId: string;
186
- agentId: string;
187
184
  createdAt: string;
188
185
  updatedAt: string;
189
- toolId: string;
186
+ agentId: string;
187
+ projectId: string;
188
+ tenantId: string;
190
189
  headers: Record<string, string> | null;
190
+ toolId: string;
191
+ subAgentId: string;
191
192
  toolPolicies: Record<string, {
192
193
  needsApproval?: boolean;
193
194
  }> | null;
194
- subAgentId: string;
195
195
  selectedTools: string[] | null;
196
196
  }>;
197
197
  /**
@@ -201,12 +201,12 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
201
201
  data: ToolInsert;
202
202
  }) => Promise<{
203
203
  id: string;
204
+ createdAt: string;
204
205
  name: string;
206
+ updatedAt: string;
205
207
  description: string | null;
206
- tenantId: string;
207
208
  projectId: string;
208
- createdAt: string;
209
- updatedAt: string;
209
+ tenantId: string;
210
210
  headers: Record<string, string> | null;
211
211
  config: {
212
212
  type: "mcp";
@@ -40,13 +40,13 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
40
40
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
41
41
  encoding: "hex" | "base64";
42
42
  signature: {
43
- source: "query" | "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;
@@ -8,13 +8,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
8
8
  id: string;
9
9
  }) => Promise<{
10
10
  id: string;
11
- name: string | null;
12
- tenantId: string;
13
- projectId: string;
14
- agentId: string;
15
11
  createdAt: string;
16
- updatedAt: string;
12
+ name: string | null;
17
13
  expiresAt: string | null;
14
+ updatedAt: string;
15
+ agentId: string;
16
+ projectId: string;
17
+ tenantId: string;
18
18
  publicId: string;
19
19
  keyHash: string;
20
20
  keyPrefix: string;
@@ -22,13 +22,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
22
22
  } | undefined>;
23
23
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
24
24
  id: string;
25
- name: string | null;
26
- tenantId: string;
27
- projectId: string;
28
- agentId: string;
29
25
  createdAt: string;
30
- updatedAt: string;
26
+ name: string | null;
31
27
  expiresAt: string | null;
28
+ updatedAt: string;
29
+ agentId: string;
30
+ projectId: string;
31
+ tenantId: string;
32
32
  publicId: string;
33
33
  keyHash: string;
34
34
  keyPrefix: string;
@@ -39,13 +39,13 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
39
39
  agentId?: string;
40
40
  }) => Promise<{
41
41
  id: string;
42
- name: string | null;
43
- tenantId: string;
44
- projectId: string;
45
- agentId: string;
46
42
  createdAt: string;
47
- updatedAt: string;
43
+ name: string | null;
48
44
  expiresAt: string | null;
45
+ updatedAt: string;
46
+ agentId: string;
47
+ projectId: string;
48
+ tenantId: string;
49
49
  publicId: string;
50
50
  keyHash: string;
51
51
  keyPrefix: string;
@@ -66,13 +66,13 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
66
66
  }>;
67
67
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
68
68
  id: string;
69
- name: string | null;
70
- tenantId: string;
71
- projectId: string;
72
- agentId: string;
73
69
  createdAt: string;
74
- updatedAt: string;
70
+ name: string | null;
75
71
  expiresAt: string | null;
72
+ updatedAt: string;
73
+ agentId: string;
74
+ projectId: string;
75
+ tenantId: string;
76
76
  publicId: string;
77
77
  keyHash: string;
78
78
  keyPrefix: string;
@@ -16,19 +16,19 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
16
16
  }>;
17
17
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
18
18
  id: string;
19
- tenantId: string;
20
- projectId: string;
21
- agentId: string | null;
22
- title: string | null;
19
+ userId: string | null;
23
20
  createdAt: string;
24
- updatedAt: string;
25
- metadata: ConversationMetadata | null;
26
21
  ref: {
27
- type: "tag" | "commit" | "branch";
22
+ type: "commit" | "tag" | "branch";
28
23
  name: string;
29
24
  hash: string;
30
25
  } | null;
31
- userId: string | null;
26
+ metadata: ConversationMetadata | null;
27
+ updatedAt: string;
28
+ title: string | null;
29
+ agentId: string | null;
30
+ projectId: string;
31
+ tenantId: string;
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;
@@ -85,19 +85,19 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
85
85
  conversationId: string;
86
86
  }) => Promise<{
87
87
  id: string;
88
- tenantId: string;
89
- projectId: string;
90
- agentId: string | null;
91
- title: string | null;
88
+ userId: string | null;
92
89
  createdAt: string;
93
- updatedAt: string;
94
- metadata: ConversationMetadata | null;
95
90
  ref: {
96
- type: "tag" | "commit" | "branch";
91
+ type: "commit" | "tag" | "branch";
97
92
  name: string;
98
93
  hash: string;
99
94
  } | null;
100
- userId: string | null;
95
+ metadata: ConversationMetadata | null;
96
+ updatedAt: string;
97
+ title: string | null;
98
+ agentId: string | null;
99
+ projectId: string;
100
+ tenantId: string;
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
  };
@@ -121,19 +121,19 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
121
121
  contextConfigId?: string | undefined;
122
122
  } | {
123
123
  id: string;
124
- tenantId: string;
125
- projectId: string;
126
- agentId: string | null;
127
- title: string | null;
124
+ userId: string | null;
128
125
  createdAt: string;
129
- updatedAt: string;
130
- metadata: ConversationMetadata | null;
131
126
  ref: {
132
- type: "tag" | "commit" | "branch";
127
+ type: "commit" | "tag" | "branch";
133
128
  name: string;
134
129
  hash: string;
135
130
  } | null;
136
- userId: string | null;
131
+ metadata: ConversationMetadata | null;
132
+ updatedAt: string;
133
+ title: string | null;
134
+ agentId: string | null;
135
+ projectId: string;
136
+ tenantId: string;
137
137
  activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
139
139
  }>;
@@ -153,19 +153,19 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
153
153
  conversationId: string;
154
154
  }) => Promise<{
155
155
  id: string;
156
- tenantId: string;
157
- projectId: string;
158
- agentId: string | null;
159
- title: string | null;
156
+ userId: string | null;
160
157
  createdAt: string;
161
- updatedAt: string;
162
- metadata: ConversationMetadata | null;
163
158
  ref: {
164
- type: "tag" | "commit" | "branch";
159
+ type: "commit" | "tag" | "branch";
165
160
  name: string;
166
161
  hash: string;
167
162
  } | null;
168
- userId: string | null;
163
+ metadata: ConversationMetadata | null;
164
+ updatedAt: string;
165
+ title: string | null;
166
+ agentId: string | null;
167
+ projectId: string;
168
+ tenantId: string;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -10,13 +10,13 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  messageId: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
- tenantId: string;
14
- projectId: string;
13
+ role: string;
15
14
  createdAt: string;
16
- updatedAt: string;
17
15
  metadata: MessageMetadata | null;
16
+ updatedAt: string;
17
+ projectId: string;
18
+ tenantId: string;
18
19
  content: MessageContent;
19
- role: string;
20
20
  conversationId: string;
21
21
  fromSubAgentId: string | null;
22
22
  toSubAgentId: string | null;
@@ -141,13 +141,13 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
141
141
  }[]>;
142
142
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
143
143
  id: string;
144
- tenantId: string;
145
- projectId: string;
144
+ role: string;
146
145
  createdAt: string;
147
- updatedAt: string;
148
146
  metadata: MessageMetadata | null;
147
+ updatedAt: string;
148
+ projectId: string;
149
+ tenantId: string;
149
150
  content: MessageContent;
150
- role: string;
151
151
  conversationId: string;
152
152
  fromSubAgentId: string | null;
153
153
  toSubAgentId: string | null;
@@ -194,13 +194,13 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
194
194
  messageId: string;
195
195
  }) => Promise<{
196
196
  id: string;
197
- tenantId: string;
198
- projectId: string;
197
+ role: string;
199
198
  createdAt: string;
200
- updatedAt: string;
201
199
  metadata: MessageMetadata | null;
200
+ updatedAt: string;
201
+ projectId: string;
202
+ tenantId: string;
202
203
  content: MessageContent;
203
- role: string;
204
204
  conversationId: string;
205
205
  fromSubAgentId: string | null;
206
206
  toSubAgentId: string | null;
@@ -7,20 +7,20 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
7
7
  //#region src/data-access/runtime/tasks.d.ts
8
8
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
9
9
  id: string;
10
- tenantId: string;
11
- projectId: string;
12
- agentId: string;
13
10
  createdAt: string;
14
- updatedAt: string;
15
- metadata: TaskMetadataConfig | null;
16
11
  ref: {
17
- type: "tag" | "commit" | "branch";
12
+ type: "commit" | "tag" | "branch";
18
13
  name: string;
19
14
  hash: string;
20
15
  } | null;
16
+ metadata: TaskMetadataConfig | null;
21
17
  status: string;
22
- subAgentId: string;
18
+ updatedAt: string;
19
+ agentId: string;
20
+ projectId: string;
21
+ tenantId: 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;
@@ -814,13 +814,13 @@ declare const triggers: drizzle_orm_pg_core1479.PgTableWithColumns<{
814
814
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
815
815
  encoding: "hex" | "base64";
816
816
  signature: {
817
- source: "query" | "body" | "header";
817
+ source: "query" | "header" | "body";
818
818
  key: string;
819
819
  prefix?: string | undefined;
820
820
  regex?: string | undefined;
821
821
  };
822
822
  signedComponents: {
823
- source: "literal" | "body" | "header";
823
+ source: "literal" | "header" | "body";
824
824
  required: boolean;
825
825
  key?: string | undefined;
826
826
  value?: string | undefined;
@@ -851,13 +851,13 @@ declare const triggers: drizzle_orm_pg_core1479.PgTableWithColumns<{
851
851
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
852
852
  encoding: "hex" | "base64";
853
853
  signature: {
854
- source: "query" | "body" | "header";
854
+ source: "query" | "header" | "body";
855
855
  key: string;
856
856
  prefix?: string | undefined;
857
857
  regex?: string | undefined;
858
858
  };
859
859
  signedComponents: {
860
- source: "literal" | "body" | "header";
860
+ source: "literal" | "header" | "body";
861
861
  required: boolean;
862
862
  key?: string | undefined;
863
863
  value?: string | undefined;
@@ -216,7 +216,7 @@ declare const conversations: drizzle_orm_pg_core1831.PgTableWithColumns<{
216
216
  dataType: "json";
217
217
  columnType: "PgJsonb";
218
218
  data: {
219
- type: "tag" | "commit" | "branch";
219
+ type: "commit" | "tag" | "branch";
220
220
  name: string;
221
221
  hash: string;
222
222
  };
@@ -232,7 +232,7 @@ declare const conversations: drizzle_orm_pg_core1831.PgTableWithColumns<{
232
232
  generated: undefined;
233
233
  }, {}, {
234
234
  $type: {
235
- type: "tag" | "commit" | "branch";
235
+ type: "commit" | "tag" | "branch";
236
236
  name: string;
237
237
  hash: string;
238
238
  };
@@ -413,7 +413,7 @@ declare const tasks: drizzle_orm_pg_core1831.PgTableWithColumns<{
413
413
  dataType: "json";
414
414
  columnType: "PgJsonb";
415
415
  data: {
416
- type: "tag" | "commit" | "branch";
416
+ type: "commit" | "tag" | "branch";
417
417
  name: string;
418
418
  hash: string;
419
419
  };
@@ -429,7 +429,7 @@ declare const tasks: drizzle_orm_pg_core1831.PgTableWithColumns<{
429
429
  generated: undefined;
430
430
  }, {}, {
431
431
  $type: {
432
- type: "tag" | "commit" | "branch";
432
+ type: "commit" | "tag" | "branch";
433
433
  name: string;
434
434
  hash: string;
435
435
  };
@@ -3013,7 +3013,7 @@ declare const contextCache: drizzle_orm_pg_core1831.PgTableWithColumns<{
3013
3013
  dataType: "json";
3014
3014
  columnType: "PgJsonb";
3015
3015
  data: {
3016
- type: "tag" | "commit" | "branch";
3016
+ type: "commit" | "tag" | "branch";
3017
3017
  name: string;
3018
3018
  hash: string;
3019
3019
  };
@@ -3029,7 +3029,7 @@ declare const contextCache: drizzle_orm_pg_core1831.PgTableWithColumns<{
3029
3029
  generated: undefined;
3030
3030
  }, {}, {
3031
3031
  $type: {
3032
- type: "tag" | "commit" | "branch";
3032
+ type: "commit" | "tag" | "branch";
3033
3033
  name: string;
3034
3034
  hash: string;
3035
3035
  };
@@ -3933,7 +3933,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1831.PgTableWithCol
3933
3933
  tableName: "work_app_github_installations";
3934
3934
  dataType: "string";
3935
3935
  columnType: "PgVarchar";
3936
- data: "User" | "Organization";
3936
+ data: "Organization" | "User";
3937
3937
  driverParam: string;
3938
3938
  notNull: true;
3939
3939
  hasDefault: false;
@@ -3946,7 +3946,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1831.PgTableWithCol
3946
3946
  generated: undefined;
3947
3947
  }, {}, {
3948
3948
  length: 20;
3949
- $type: "User" | "Organization";
3949
+ $type: "Organization" | "User";
3950
3950
  }>;
3951
3951
  status: drizzle_orm_pg_core1831.PgColumn<{
3952
3952
  name: "status";
@@ -32,8 +32,8 @@ declare const BranchNameParamsSchema: z.ZodObject<{
32
32
  }, z.core.$strip>;
33
33
  declare const ResolvedRefSchema: z.ZodObject<{
34
34
  type: z.ZodEnum<{
35
- tag: "tag";
36
35
  commit: "commit";
36
+ tag: "tag";
37
37
  branch: "branch";
38
38
  }>;
39
39
  name: z.ZodString;