@inkeep/agents-core 0.0.0-dev-20260126093157 → 0.0.0-dev-20260126174131

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.
@@ -9,13 +9,13 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  subAgentId: string;
10
10
  }) => Promise<{
11
11
  id: string;
12
- name: string;
13
12
  createdAt: string;
13
+ name: string;
14
14
  updatedAt: string;
15
- description: string | null;
16
15
  agentId: string;
17
16
  projectId: string;
18
17
  tenantId: string;
18
+ description: string | null;
19
19
  models: {
20
20
  base?: {
21
21
  model?: string | undefined;
@@ -40,13 +40,13 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
40
40
  scopes: AgentScopeConfig;
41
41
  }) => Promise<{
42
42
  id: string;
43
- name: string;
44
43
  createdAt: string;
44
+ name: string;
45
45
  updatedAt: string;
46
- description: string | null;
47
46
  agentId: string;
48
47
  projectId: string;
49
48
  tenantId: string;
49
+ description: string | null;
50
50
  models: {
51
51
  base?: {
52
52
  model?: string | undefined;
@@ -109,13 +109,13 @@ 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;
113
+ name: string;
114
114
  updatedAt: string;
115
- description: string | null;
116
115
  agentId: string;
117
116
  projectId: string;
118
117
  tenantId: string;
118
+ description: string | null;
119
119
  models: {
120
120
  base?: {
121
121
  model?: string | undefined;
@@ -19,18 +19,18 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
19
19
  toolId: string;
20
20
  }) => Promise<{
21
21
  id: string;
22
- name: string;
23
22
  createdAt: string;
23
+ name: string;
24
24
  updatedAt: string;
25
- description: string | null;
26
25
  projectId: string;
27
26
  tenantId: string;
27
+ description: string | null;
28
+ headers: Record<string, string> | null;
28
29
  config: {
29
30
  type: "mcp";
30
31
  mcp: ToolMcpConfig;
31
32
  };
32
33
  credentialReferenceId: string | null;
33
- headers: Record<string, string> | null;
34
34
  credentialScope: string;
35
35
  imageUrl: string | null;
36
36
  capabilities: ToolServerCapabilities | null;
@@ -75,18 +75,18 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
75
75
  }>;
76
76
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
77
77
  id: string;
78
- name: string;
79
78
  createdAt: string;
79
+ name: string;
80
80
  updatedAt: string;
81
- description: string | null;
82
81
  projectId: string;
83
82
  tenantId: string;
83
+ description: string | null;
84
+ headers: Record<string, string> | null;
84
85
  config: {
85
86
  type: "mcp";
86
87
  mcp: ToolMcpConfig;
87
88
  };
88
89
  credentialReferenceId: string | null;
89
- headers: Record<string, string> | null;
90
90
  credentialScope: string;
91
91
  imageUrl: string | null;
92
92
  capabilities: ToolServerCapabilities | null;
@@ -135,12 +135,12 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
135
135
  agentId: string;
136
136
  projectId: string;
137
137
  tenantId: string;
138
- toolId: string;
139
138
  headers: Record<string, string> | null;
139
+ subAgentId: string;
140
+ toolId: string;
140
141
  toolPolicies: Record<string, {
141
142
  needsApproval?: boolean;
142
143
  }> | null;
143
- subAgentId: string;
144
144
  selectedTools: string[] | null;
145
145
  }>;
146
146
  declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -154,12 +154,12 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
154
154
  agentId: string;
155
155
  projectId: string;
156
156
  tenantId: string;
157
- toolId: string;
158
157
  headers: Record<string, string> | null;
158
+ subAgentId: string;
159
+ toolId: string;
159
160
  toolPolicies: Record<string, {
160
161
  needsApproval?: boolean;
161
162
  }> | null;
162
- subAgentId: string;
163
163
  selectedTools: string[] | null;
164
164
  }>;
165
165
  /**
@@ -182,12 +182,12 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
182
182
  agentId: string;
183
183
  projectId: string;
184
184
  tenantId: string;
185
- toolId: string;
186
185
  headers: Record<string, string> | null;
186
+ subAgentId: string;
187
+ toolId: string;
187
188
  toolPolicies: Record<string, {
188
189
  needsApproval?: boolean;
189
190
  }> | null;
190
- subAgentId: string;
191
191
  selectedTools: string[] | null;
192
192
  }>;
193
193
  /**
@@ -197,18 +197,18 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
197
197
  data: ToolInsert;
198
198
  }) => Promise<{
199
199
  id: string;
200
- name: string;
201
200
  createdAt: string;
201
+ name: string;
202
202
  updatedAt: string;
203
- description: string | null;
204
203
  projectId: string;
205
204
  tenantId: string;
205
+ description: string | null;
206
+ headers: Record<string, string> | null;
206
207
  config: {
207
208
  type: "mcp";
208
209
  mcp: ToolMcpConfig;
209
210
  };
210
211
  credentialReferenceId: string | null;
211
- headers: Record<string, string> | null;
212
212
  credentialScope: string;
213
213
  imageUrl: string | null;
214
214
  capabilities: ToolServerCapabilities | null;
@@ -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
11
  createdAt: string;
12
+ name: string | null;
13
13
  updatedAt: string;
14
- expiresAt: string | null;
15
14
  agentId: string;
16
15
  projectId: string;
17
16
  tenantId: string;
17
+ expiresAt: string | null;
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
25
  createdAt: string;
26
+ name: string | null;
27
27
  updatedAt: string;
28
- expiresAt: string | null;
29
28
  agentId: string;
30
29
  projectId: string;
31
30
  tenantId: string;
31
+ expiresAt: string | null;
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
42
  createdAt: string;
43
+ name: string | null;
44
44
  updatedAt: string;
45
- expiresAt: string | null;
46
45
  agentId: string;
47
46
  projectId: string;
48
47
  tenantId: string;
48
+ expiresAt: string | null;
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
69
  createdAt: string;
70
+ name: string | null;
71
71
  updatedAt: string;
72
- expiresAt: string | null;
73
72
  agentId: string;
74
73
  projectId: string;
75
74
  tenantId: string;
75
+ expiresAt: string | null;
76
76
  publicId: string;
77
77
  keyHash: string;
78
78
  keyPrefix: string;
@@ -18,17 +18,17 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
18
18
  id: string;
19
19
  createdAt: string;
20
20
  updatedAt: string;
21
+ agentId: string | null;
22
+ projectId: string;
23
+ tenantId: string;
24
+ title: string | null;
25
+ metadata: ConversationMetadata | null;
21
26
  ref: {
22
27
  type: "tag" | "commit" | "branch";
23
28
  name: string;
24
29
  hash: string;
25
30
  } | null;
26
31
  userId: string | null;
27
- metadata: ConversationMetadata | null;
28
- agentId: string | null;
29
- projectId: string;
30
- tenantId: string;
31
- title: string | null;
32
32
  activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
34
34
  }>;
@@ -87,17 +87,17 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
87
87
  id: string;
88
88
  createdAt: string;
89
89
  updatedAt: string;
90
+ agentId: string | null;
91
+ projectId: string;
92
+ tenantId: string;
93
+ title: string | null;
94
+ metadata: ConversationMetadata | null;
90
95
  ref: {
91
96
  type: "tag" | "commit" | "branch";
92
97
  name: string;
93
98
  hash: string;
94
99
  } | null;
95
100
  userId: string | null;
96
- metadata: ConversationMetadata | null;
97
- agentId: string | null;
98
- projectId: string;
99
- tenantId: string;
100
- title: string | null;
101
101
  activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
103
103
  } | undefined>;
@@ -123,17 +123,17 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
123
123
  id: string;
124
124
  createdAt: string;
125
125
  updatedAt: string;
126
+ agentId: string | null;
127
+ projectId: string;
128
+ tenantId: string;
129
+ title: string | null;
130
+ metadata: ConversationMetadata | null;
126
131
  ref: {
127
132
  type: "tag" | "commit" | "branch";
128
133
  name: string;
129
134
  hash: string;
130
135
  } | null;
131
136
  userId: string | null;
132
- metadata: ConversationMetadata | null;
133
- agentId: string | null;
134
- projectId: string;
135
- tenantId: string;
136
- title: string | null;
137
137
  activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
139
139
  }>;
@@ -155,17 +155,17 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
155
155
  id: string;
156
156
  createdAt: string;
157
157
  updatedAt: string;
158
+ agentId: string | null;
159
+ projectId: string;
160
+ tenantId: string;
161
+ title: string | null;
162
+ metadata: ConversationMetadata | null;
158
163
  ref: {
159
164
  type: "tag" | "commit" | "branch";
160
165
  name: string;
161
166
  hash: string;
162
167
  } | null;
163
168
  userId: string | null;
164
- metadata: ConversationMetadata | null;
165
- agentId: string | null;
166
- projectId: string;
167
- tenantId: string;
168
- title: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -12,11 +12,11 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
12
12
  id: string;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
- metadata: MessageMetadata | null;
16
- role: string;
17
15
  projectId: string;
18
16
  tenantId: string;
17
+ metadata: MessageMetadata | null;
19
18
  content: MessageContent;
19
+ role: string;
20
20
  conversationId: string;
21
21
  fromSubAgentId: string | null;
22
22
  toSubAgentId: string | null;
@@ -143,11 +143,11 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
143
143
  id: string;
144
144
  createdAt: string;
145
145
  updatedAt: string;
146
- metadata: MessageMetadata | null;
147
- role: string;
148
146
  projectId: string;
149
147
  tenantId: string;
148
+ metadata: MessageMetadata | null;
150
149
  content: MessageContent;
150
+ role: string;
151
151
  conversationId: string;
152
152
  fromSubAgentId: string | null;
153
153
  toSubAgentId: string | null;
@@ -196,11 +196,11 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
196
196
  id: string;
197
197
  createdAt: string;
198
198
  updatedAt: string;
199
- metadata: MessageMetadata | null;
200
- role: string;
201
199
  projectId: string;
202
200
  tenantId: string;
201
+ metadata: MessageMetadata | null;
203
202
  content: MessageContent;
203
+ role: string;
204
204
  conversationId: string;
205
205
  fromSubAgentId: string | null;
206
206
  toSubAgentId: string | null;
@@ -9,16 +9,16 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
9
9
  id: string;
10
10
  createdAt: string;
11
11
  updatedAt: string;
12
+ agentId: string;
13
+ projectId: string;
14
+ tenantId: string;
15
+ metadata: TaskMetadataConfig | null;
12
16
  ref: {
13
17
  type: "tag" | "commit" | "branch";
14
18
  name: string;
15
19
  hash: string;
16
20
  } | null;
17
- metadata: TaskMetadataConfig | null;
18
21
  status: string;
19
- agentId: string;
20
- projectId: string;
21
- tenantId: string;
22
22
  contextId: string;
23
23
  subAgentId: string;
24
24
  }>;