@inkeep/agents-core 0.0.0-dev-20260306030811 → 0.0.0-dev-20260306191005

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,14 +19,14 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
19
19
  scopes: ProjectScopeConfig;
20
20
  toolId: string;
21
21
  }) => Promise<{
22
- name: string;
23
22
  id: string;
23
+ name: string;
24
24
  createdAt: string;
25
25
  updatedAt: string;
26
26
  description: string | null;
27
- headers: Record<string, string> | null;
28
27
  tenantId: string;
29
28
  projectId: string;
29
+ headers: Record<string, string> | null;
30
30
  config: {
31
31
  type: "mcp";
32
32
  mcp: ToolMcpConfig;
@@ -77,14 +77,14 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
77
77
  };
78
78
  }>;
79
79
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
80
- name: string;
81
80
  id: string;
81
+ name: string;
82
82
  createdAt: string;
83
83
  updatedAt: string;
84
84
  description: string | null;
85
- headers: Record<string, string> | null;
86
85
  tenantId: string;
87
86
  projectId: string;
87
+ headers: Record<string, string> | null;
88
88
  config: {
89
89
  type: "mcp";
90
90
  mcp: ToolMcpConfig;
@@ -137,12 +137,12 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
137
137
  id: string;
138
138
  createdAt: string;
139
139
  updatedAt: string;
140
- headers: Record<string, string> | null;
141
140
  tenantId: string;
142
141
  projectId: string;
143
- agentId: string;
144
142
  subAgentId: string;
143
+ agentId: string;
145
144
  toolId: string;
145
+ headers: Record<string, string> | null;
146
146
  toolPolicies: Record<string, {
147
147
  needsApproval?: boolean;
148
148
  }> | null;
@@ -156,12 +156,12 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
156
156
  id: string;
157
157
  createdAt: string;
158
158
  updatedAt: string;
159
- headers: Record<string, string> | null;
160
159
  tenantId: string;
161
160
  projectId: string;
162
- agentId: string;
163
161
  subAgentId: string;
162
+ agentId: string;
164
163
  toolId: string;
164
+ headers: Record<string, string> | null;
165
165
  toolPolicies: Record<string, {
166
166
  needsApproval?: boolean;
167
167
  }> | null;
@@ -184,12 +184,12 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
184
184
  id: string;
185
185
  createdAt: string;
186
186
  updatedAt: string;
187
- headers: Record<string, string> | null;
188
187
  tenantId: string;
189
188
  projectId: string;
190
- agentId: string;
191
189
  subAgentId: string;
190
+ agentId: string;
192
191
  toolId: string;
192
+ headers: Record<string, string> | null;
193
193
  toolPolicies: Record<string, {
194
194
  needsApproval?: boolean;
195
195
  }> | null;
@@ -201,14 +201,14 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
201
201
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
202
202
  data: ToolInsert;
203
203
  }) => Promise<{
204
- name: string;
205
204
  id: string;
205
+ name: string;
206
206
  createdAt: string;
207
207
  updatedAt: string;
208
208
  description: string | null;
209
- headers: Record<string, string> | null;
210
209
  tenantId: string;
211
210
  projectId: string;
211
+ headers: Record<string, string> | null;
212
212
  config: {
213
213
  type: "mcp";
214
214
  mcp: ToolMcpConfig;
@@ -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,8 +8,8 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  id: string;
10
10
  }) => Promise<{
11
- name: string | null;
12
11
  id: string;
12
+ name: string | null;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
15
  expiresAt: string | null;
@@ -22,8 +22,8 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
22
22
  lastUsedAt: string | null;
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
- name: string | null;
26
25
  id: string;
26
+ name: string | null;
27
27
  createdAt: string;
28
28
  updatedAt: string;
29
29
  expiresAt: string | null;
@@ -39,8 +39,8 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
39
39
  scopes: ProjectScopeConfig;
40
40
  agentId?: string;
41
41
  }) => Promise<{
42
- name: string | null;
43
42
  id: string;
43
+ name: string | null;
44
44
  createdAt: string;
45
45
  updatedAt: string;
46
46
  expiresAt: string | null;
@@ -66,8 +66,8 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
66
66
  };
67
67
  }>;
68
68
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
69
- name: string | null;
70
69
  id: string;
70
+ name: string | null;
71
71
  createdAt: string;
72
72
  updatedAt: string;
73
73
  expiresAt: string | null;
@@ -15,9 +15,9 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
15
15
  updatedAt: string;
16
16
  metadata: MessageMetadata | null;
17
17
  role: string;
18
+ content: MessageContent;
18
19
  tenantId: string;
19
20
  projectId: string;
20
- content: MessageContent;
21
21
  fromSubAgentId: string | null;
22
22
  toSubAgentId: string | null;
23
23
  fromExternalAgentId: string | null;
@@ -146,9 +146,9 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
146
146
  updatedAt: string;
147
147
  metadata: MessageMetadata | null;
148
148
  role: string;
149
+ content: MessageContent;
149
150
  tenantId: string;
150
151
  projectId: string;
151
- content: MessageContent;
152
152
  fromSubAgentId: string | null;
153
153
  toSubAgentId: string | null;
154
154
  fromExternalAgentId: string | null;
@@ -199,9 +199,9 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
199
199
  updatedAt: string;
200
200
  metadata: MessageMetadata | null;
201
201
  role: string;
202
+ content: MessageContent;
202
203
  tenantId: string;
203
204
  projectId: string;
204
- content: MessageContent;
205
205
  fromSubAgentId: string | null;
206
206
  toSubAgentId: string | null;
207
207
  fromExternalAgentId: string | null;
@@ -18,8 +18,8 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
18
18
  status: string;
19
19
  tenantId: string;
20
20
  projectId: string;
21
- agentId: string;
22
21
  subAgentId: string;
22
+ agentId: string;
23
23
  contextId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {