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

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.
@@ -8,6 +8,7 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
8
8
  scopes: SubAgentScopeConfig;
9
9
  relationId: string;
10
10
  }) => Promise<{
11
+ headers: Record<string, string> | null;
11
12
  id: string;
12
13
  createdAt: string;
13
14
  updatedAt: string;
@@ -15,7 +16,6 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
15
16
  projectId: string;
16
17
  agentId: string;
17
18
  subAgentId: string;
18
- headers: Record<string, string> | null;
19
19
  targetAgentId: string;
20
20
  } | undefined>;
21
21
  declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
@@ -43,6 +43,7 @@ declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =
43
43
  declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
44
44
  scopes: SubAgentScopeConfig;
45
45
  }) => Promise<{
46
+ headers: Record<string, string> | null;
46
47
  id: string;
47
48
  createdAt: string;
48
49
  updatedAt: string;
@@ -50,12 +51,12 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
50
51
  projectId: string;
51
52
  agentId: string;
52
53
  subAgentId: string;
53
- headers: Record<string, string> | null;
54
54
  targetAgentId: string;
55
55
  }[]>;
56
56
  declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
57
57
  scopes: AgentScopeConfig;
58
58
  }) => Promise<{
59
+ headers: Record<string, string> | null;
59
60
  id: string;
60
61
  createdAt: string;
61
62
  updatedAt: string;
@@ -63,7 +64,6 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseCli
63
64
  projectId: string;
64
65
  agentId: string;
65
66
  subAgentId: string;
66
- headers: Record<string, string> | null;
67
67
  targetAgentId: string;
68
68
  }[]>;
69
69
  declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -209,6 +209,7 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
209
209
  headers?: Record<string, string> | null;
210
210
  };
211
211
  }) => Promise<{
212
+ headers: Record<string, string> | null;
212
213
  id: string;
213
214
  createdAt: string;
214
215
  updatedAt: string;
@@ -216,7 +217,6 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
216
217
  projectId: string;
217
218
  agentId: string;
218
219
  subAgentId: string;
219
- headers: Record<string, string> | null;
220
220
  targetAgentId: string;
221
221
  }>;
222
222
  /**
@@ -226,6 +226,7 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
226
226
  scopes: SubAgentScopeConfig;
227
227
  targetAgentId: string;
228
228
  }) => Promise<{
229
+ headers: Record<string, string> | null;
229
230
  id: string;
230
231
  createdAt: string;
231
232
  updatedAt: string;
@@ -233,7 +234,6 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
233
234
  projectId: string;
234
235
  agentId: string;
235
236
  subAgentId: string;
236
- headers: Record<string, string> | null;
237
237
  targetAgentId: string;
238
238
  } | undefined>;
239
239
  /**
@@ -247,6 +247,7 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
247
247
  headers?: Record<string, string> | null;
248
248
  };
249
249
  }) => Promise<{
250
+ headers: Record<string, string> | null;
250
251
  id: string;
251
252
  createdAt: string;
252
253
  updatedAt: string;
@@ -254,7 +255,6 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
254
255
  projectId: string;
255
256
  agentId: string;
256
257
  subAgentId: string;
257
- headers: Record<string, string> | null;
258
258
  targetAgentId: string;
259
259
  }>;
260
260
  declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -9,10 +9,14 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  subAgentId: string;
10
10
  }) => Promise<{
11
11
  id: string;
12
- name: string;
13
12
  createdAt: string;
14
13
  updatedAt: string;
14
+ name: string;
15
+ tenantId: string;
16
+ projectId: string;
15
17
  description: string | null;
18
+ prompt: string | null;
19
+ agentId: string;
16
20
  models: {
17
21
  base?: {
18
22
  model?: string | undefined;
@@ -30,20 +34,20 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
30
34
  stopWhen: {
31
35
  stepCountIs?: number | undefined;
32
36
  } | 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
42
  id: string;
43
- name: string;
44
43
  createdAt: string;
45
44
  updatedAt: string;
45
+ name: string;
46
+ tenantId: string;
47
+ projectId: string;
46
48
  description: string | null;
49
+ prompt: string | null;
50
+ agentId: string;
47
51
  models: {
48
52
  base?: {
49
53
  model?: string | undefined;
@@ -61,10 +65,6 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
61
65
  stopWhen: {
62
66
  stepCountIs?: number | undefined;
63
67
  } | 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: {
@@ -109,10 +109,14 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
109
109
  }>;
110
110
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
111
111
  id: string;
112
- name: string;
113
112
  createdAt: string;
114
113
  updatedAt: string;
114
+ name: string;
115
+ tenantId: string;
116
+ projectId: string;
115
117
  description: string | null;
118
+ prompt: string | null;
119
+ agentId: string;
116
120
  models: {
117
121
  base?: {
118
122
  model?: string | undefined;
@@ -130,10 +134,6 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
130
134
  stopWhen: {
131
135
  stepCountIs?: number | undefined;
132
136
  } | 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
+ headers: Record<string, string> | null;
21
22
  id: string;
22
- name: string;
23
23
  createdAt: string;
24
24
  updatedAt: string;
25
- description: string | null;
25
+ name: string;
26
26
  tenantId: string;
27
27
  projectId: string;
28
- credentialReferenceId: string | null;
28
+ description: string | null;
29
29
  config: {
30
30
  type: "mcp";
31
31
  mcp: ToolMcpConfig;
32
32
  };
33
+ credentialReferenceId: string | null;
33
34
  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
+ headers: Record<string, string> | null;
79
80
  id: string;
80
- name: string;
81
81
  createdAt: string;
82
82
  updatedAt: string;
83
- description: string | null;
83
+ name: string;
84
84
  tenantId: string;
85
85
  projectId: string;
86
- credentialReferenceId: string | null;
86
+ description: string | null;
87
87
  config: {
88
88
  type: "mcp";
89
89
  mcp: ToolMcpConfig;
90
90
  };
91
+ credentialReferenceId: string | null;
91
92
  credentialScope: string;
92
- headers: Record<string, string> | null;
93
93
  imageUrl: string | null;
94
94
  capabilities: ToolServerCapabilities | null;
95
95
  lastError: string | null;
@@ -133,6 +133,7 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
133
133
  needsApproval?: boolean;
134
134
  }> | null;
135
135
  }) => Promise<{
136
+ headers: Record<string, string> | null;
136
137
  id: string;
137
138
  createdAt: string;
138
139
  updatedAt: string;
@@ -140,18 +141,18 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
140
141
  projectId: string;
141
142
  agentId: string;
142
143
  toolId: string;
143
- subAgentId: string;
144
- headers: Record<string, string> | null;
145
- selectedTools: string[] | null;
146
144
  toolPolicies: Record<string, {
147
145
  needsApproval?: boolean;
148
146
  }> | 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
+ headers: Record<string, string> | null;
155
156
  id: string;
156
157
  createdAt: string;
157
158
  updatedAt: string;
@@ -159,12 +160,11 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
159
160
  projectId: string;
160
161
  agentId: string;
161
162
  toolId: string;
162
- subAgentId: string;
163
- headers: Record<string, string> | null;
164
- selectedTools: string[] | null;
165
163
  toolPolicies: Record<string, {
166
164
  needsApproval?: boolean;
167
165
  }> | 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,6 +180,7 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
180
180
  }> | null;
181
181
  relationId?: string;
182
182
  }) => Promise<{
183
+ headers: Record<string, string> | null;
183
184
  id: string;
184
185
  createdAt: string;
185
186
  updatedAt: string;
@@ -187,12 +188,11 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
187
188
  projectId: string;
188
189
  agentId: string;
189
190
  toolId: string;
190
- subAgentId: string;
191
- headers: Record<string, string> | null;
192
- selectedTools: string[] | null;
193
191
  toolPolicies: Record<string, {
194
192
  needsApproval?: boolean;
195
193
  }> | 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
+ headers: Record<string, string> | null;
203
204
  id: string;
204
- name: string;
205
205
  createdAt: string;
206
206
  updatedAt: string;
207
- description: string | null;
207
+ name: string;
208
208
  tenantId: string;
209
209
  projectId: string;
210
- credentialReferenceId: string | null;
210
+ description: string | null;
211
211
  config: {
212
212
  type: "mcp";
213
213
  mcp: ToolMcpConfig;
214
214
  };
215
+ credentialReferenceId: string | null;
215
216
  credentialScope: string;
216
- headers: Record<string, string> | null;
217
217
  imageUrl: string | null;
218
218
  capabilities: ToolServerCapabilities | null;
219
219
  lastError: string | 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" | "header" | "body";
43
+ source: "body" | "query" | "header";
44
44
  key: string;
45
45
  prefix?: string | undefined;
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "literal" | "header" | "body";
49
+ source: "body" | "header" | "literal";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -8,9 +8,9 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
8
8
  id: string;
9
9
  }) => Promise<{
10
10
  id: string;
11
- name: string | null;
12
11
  createdAt: string;
13
12
  updatedAt: string;
13
+ name: string | null;
14
14
  expiresAt: string | null;
15
15
  tenantId: string;
16
16
  projectId: string;
@@ -22,9 +22,9 @@ 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
25
  createdAt: string;
27
26
  updatedAt: string;
27
+ name: string | null;
28
28
  expiresAt: string | null;
29
29
  tenantId: string;
30
30
  projectId: string;
@@ -39,9 +39,9 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
39
39
  agentId?: string;
40
40
  }) => Promise<{
41
41
  id: string;
42
- name: string | null;
43
42
  createdAt: string;
44
43
  updatedAt: string;
44
+ name: string | null;
45
45
  expiresAt: string | null;
46
46
  tenantId: string;
47
47
  projectId: string;
@@ -66,9 +66,9 @@ 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
69
  createdAt: string;
71
70
  updatedAt: string;
71
+ name: string | null;
72
72
  expiresAt: string | null;
73
73
  tenantId: string;
74
74
  projectId: string;
@@ -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
+ metadata: ConversationMetadata | null;
18
19
  id: string;
20
+ userId: string | null;
19
21
  createdAt: string;
20
22
  updatedAt: string;
23
+ tenantId: string;
24
+ projectId: string;
25
+ title: string | null;
26
+ agentId: string | null;
21
27
  ref: {
22
28
  type: "tag" | "commit" | "branch";
23
29
  name: string;
24
30
  hash: string;
25
31
  } | 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
+ metadata: ConversationMetadata | null;
87
88
  id: string;
89
+ userId: string | null;
88
90
  createdAt: string;
89
91
  updatedAt: string;
92
+ tenantId: string;
93
+ projectId: string;
94
+ title: string | null;
95
+ agentId: string | null;
90
96
  ref: {
91
97
  type: "tag" | "commit" | "branch";
92
98
  name: string;
93
99
  hash: string;
94
100
  } | 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
+ metadata: ConversationMetadata | null;
123
124
  id: string;
125
+ userId: string | null;
124
126
  createdAt: string;
125
127
  updatedAt: string;
128
+ tenantId: string;
129
+ projectId: string;
130
+ title: string | null;
131
+ agentId: string | null;
126
132
  ref: {
127
133
  type: "tag" | "commit" | "branch";
128
134
  name: string;
129
135
  hash: string;
130
136
  } | 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
+ metadata: ConversationMetadata | null;
155
156
  id: string;
157
+ userId: string | null;
156
158
  createdAt: string;
157
159
  updatedAt: string;
160
+ tenantId: string;
161
+ projectId: string;
162
+ title: string | null;
163
+ agentId: string | null;
158
164
  ref: {
159
165
  type: "tag" | "commit" | "branch";
160
166
  name: string;
161
167
  hash: string;
162
168
  } | 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,11 +9,11 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
9
9
  scopes: ProjectScopeConfig;
10
10
  messageId: string;
11
11
  }) => Promise<{
12
+ metadata: MessageMetadata | null;
12
13
  id: string;
14
+ role: string;
13
15
  createdAt: string;
14
16
  updatedAt: string;
15
- metadata: MessageMetadata | null;
16
- role: string;
17
17
  tenantId: string;
18
18
  projectId: string;
19
19
  content: MessageContent;
@@ -140,11 +140,11 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
140
140
  id: string;
141
141
  }[]>;
142
142
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
143
+ metadata: MessageMetadata | null;
143
144
  id: string;
145
+ role: string;
144
146
  createdAt: string;
145
147
  updatedAt: string;
146
- metadata: MessageMetadata | null;
147
- role: string;
148
148
  tenantId: string;
149
149
  projectId: string;
150
150
  content: MessageContent;
@@ -193,11 +193,11 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
193
193
  scopes: ProjectScopeConfig;
194
194
  messageId: string;
195
195
  }) => Promise<{
196
+ metadata: MessageMetadata | null;
196
197
  id: string;
198
+ role: string;
197
199
  createdAt: string;
198
200
  updatedAt: string;
199
- metadata: MessageMetadata | null;
200
- role: string;
201
201
  tenantId: string;
202
202
  projectId: string;
203
203
  content: MessageContent;
@@ -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
+ metadata: TaskMetadataConfig | null;
9
10
  id: string;
10
11
  createdAt: string;
11
12
  updatedAt: string;
13
+ status: string;
14
+ tenantId: string;
15
+ projectId: string;
16
+ agentId: string;
12
17
  ref: {
13
18
  type: "tag" | "commit" | "branch";
14
19
  name: string;
15
20
  hash: string;
16
21
  } | null;
17
- metadata: TaskMetadataConfig | null;
18
- status: string;
19
- tenantId: string;
20
- projectId: string;
21
- agentId: string;
22
22
  subAgentId: string;
23
23
  contextId: string;
24
24
  }>;