@inkeep/agents-core 0.0.0-dev-20260205163322 → 0.0.0-dev-20260205192144

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.
@@ -15,8 +15,11 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
15
15
  description: string | null;
16
16
  tenantId: string;
17
17
  projectId: string;
18
+ stopWhen: {
19
+ stepCountIs?: number | undefined;
20
+ } | null;
18
21
  prompt: string | null;
19
- agentId: string;
22
+ conversationHistoryConfig: ConversationHistoryConfig | null;
20
23
  models: {
21
24
  base?: {
22
25
  model?: string | undefined;
@@ -31,10 +34,7 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
31
34
  providerOptions?: Record<string, any> | undefined;
32
35
  } | undefined;
33
36
  } | null;
34
- stopWhen: {
35
- stepCountIs?: number | undefined;
36
- } | null;
37
- conversationHistoryConfig: ConversationHistoryConfig | null;
37
+ agentId: string;
38
38
  } | undefined>;
39
39
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
40
40
  scopes: AgentScopeConfig;
@@ -46,8 +46,11 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
46
46
  description: string | null;
47
47
  tenantId: string;
48
48
  projectId: string;
49
+ stopWhen: {
50
+ stepCountIs?: number | undefined;
51
+ } | null;
49
52
  prompt: string | null;
50
- agentId: string;
53
+ conversationHistoryConfig: ConversationHistoryConfig | null;
51
54
  models: {
52
55
  base?: {
53
56
  model?: string | undefined;
@@ -62,10 +65,7 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
62
65
  providerOptions?: Record<string, any> | undefined;
63
66
  } | undefined;
64
67
  } | null;
65
- stopWhen: {
66
- stepCountIs?: number | undefined;
67
- } | null;
68
- conversationHistoryConfig: ConversationHistoryConfig | null;
68
+ agentId: string;
69
69
  }[]>;
70
70
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
71
71
  scopes: AgentScopeConfig;
@@ -115,8 +115,11 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
115
115
  description: string | null;
116
116
  tenantId: string;
117
117
  projectId: string;
118
+ stopWhen: {
119
+ stepCountIs?: number | undefined;
120
+ } | null;
118
121
  prompt: string | null;
119
- agentId: string;
122
+ conversationHistoryConfig: ConversationHistoryConfig | null;
120
123
  models: {
121
124
  base?: {
122
125
  model?: string | undefined;
@@ -131,10 +134,7 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
131
134
  providerOptions?: Record<string, any> | undefined;
132
135
  } | undefined;
133
136
  } | null;
134
- stopWhen: {
135
- stepCountIs?: number | undefined;
136
- } | null;
137
- conversationHistoryConfig: ConversationHistoryConfig | null;
137
+ agentId: string;
138
138
  }>;
139
139
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
140
140
  scopes: AgentScopeConfig;
@@ -139,12 +139,12 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
139
139
  headers: Record<string, string> | null;
140
140
  tenantId: string;
141
141
  projectId: string;
142
+ subAgentId: string;
142
143
  agentId: string;
143
144
  toolId: 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: {
@@ -158,12 +158,12 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
158
158
  headers: Record<string, string> | null;
159
159
  tenantId: string;
160
160
  projectId: string;
161
+ subAgentId: string;
161
162
  agentId: string;
162
163
  toolId: 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
  /**
@@ -186,12 +186,12 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
186
186
  headers: Record<string, string> | null;
187
187
  tenantId: string;
188
188
  projectId: string;
189
+ subAgentId: string;
189
190
  agentId: string;
190
191
  toolId: 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
  /**
@@ -46,7 +46,7 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "literal" | "body" | "header";
49
+ source: "body" | "header" | "literal";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -14,21 +14,21 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
14
14
  updatedAt: string;
15
15
  metadata: MessageMetadata | null;
16
16
  role: string;
17
+ content: MessageContent;
17
18
  tenantId: string;
18
19
  projectId: string;
19
- content: MessageContent;
20
- conversationId: string;
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: {
@@ -145,21 +145,21 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
145
145
  updatedAt: string;
146
146
  metadata: MessageMetadata | null;
147
147
  role: string;
148
+ content: MessageContent;
148
149
  tenantId: string;
149
150
  projectId: string;
150
- content: MessageContent;
151
- conversationId: string;
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: {
@@ -198,21 +198,21 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
198
198
  updatedAt: string;
199
199
  metadata: MessageMetadata | null;
200
200
  role: string;
201
+ content: MessageContent;
201
202
  tenantId: string;
202
203
  projectId: string;
203
- content: MessageContent;
204
- conversationId: string;
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: {
@@ -18,9 +18,9 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
18
18
  status: string;
19
19
  tenantId: string;
20
20
  projectId: string;
21
+ subAgentId: string;
21
22
  agentId: string;
22
23
  contextId: string;
23
- subAgentId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
26
26
  id: string;