@inkeep/agents-core 0.0.0-dev-20260204210021 → 0.0.0-dev-20260204211040

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.
@@ -12,11 +12,10 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
12
12
  name: string;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
- tenantId: string;
16
- projectId: string;
17
15
  description: string | null;
18
- prompt: string | null;
19
16
  agentId: string;
17
+ projectId: string;
18
+ tenantId: string;
20
19
  models: {
21
20
  base?: {
22
21
  model?: string | undefined;
@@ -31,6 +30,7 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
31
30
  providerOptions?: Record<string, any> | undefined;
32
31
  } | undefined;
33
32
  } | null;
33
+ prompt: string | null;
34
34
  stopWhen: {
35
35
  stepCountIs?: number | undefined;
36
36
  } | null;
@@ -43,11 +43,10 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
43
43
  name: string;
44
44
  createdAt: string;
45
45
  updatedAt: string;
46
- tenantId: string;
47
- projectId: string;
48
46
  description: string | null;
49
- prompt: string | null;
50
47
  agentId: string;
48
+ projectId: string;
49
+ tenantId: string;
51
50
  models: {
52
51
  base?: {
53
52
  model?: string | undefined;
@@ -62,6 +61,7 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
62
61
  providerOptions?: Record<string, any> | undefined;
63
62
  } | undefined;
64
63
  } | null;
64
+ prompt: string | null;
65
65
  stopWhen: {
66
66
  stepCountIs?: number | undefined;
67
67
  } | null;
@@ -112,11 +112,10 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
112
112
  name: string;
113
113
  createdAt: string;
114
114
  updatedAt: string;
115
- tenantId: string;
116
- projectId: string;
117
115
  description: string | null;
118
- prompt: string | null;
119
116
  agentId: string;
117
+ projectId: string;
118
+ tenantId: string;
120
119
  models: {
121
120
  base?: {
122
121
  model?: string | undefined;
@@ -131,6 +130,7 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
131
130
  providerOptions?: Record<string, any> | undefined;
132
131
  } | undefined;
133
132
  } | null;
133
+ prompt: string | null;
134
134
  stopWhen: {
135
135
  stepCountIs?: number | undefined;
136
136
  } | null;
@@ -22,10 +22,10 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
22
22
  name: string;
23
23
  createdAt: string;
24
24
  updatedAt: string;
25
+ description: string | null;
25
26
  headers: Record<string, string> | null;
26
- tenantId: string;
27
27
  projectId: string;
28
- description: string | null;
28
+ tenantId: string;
29
29
  config: {
30
30
  type: "mcp";
31
31
  mcp: ToolMcpConfig;
@@ -80,10 +80,10 @@ declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInser
80
80
  name: string;
81
81
  createdAt: string;
82
82
  updatedAt: string;
83
+ description: string | null;
83
84
  headers: Record<string, string> | null;
84
- tenantId: string;
85
85
  projectId: string;
86
- description: string | null;
86
+ tenantId: string;
87
87
  config: {
88
88
  type: "mcp";
89
89
  mcp: ToolMcpConfig;
@@ -137,14 +137,14 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
137
137
  createdAt: string;
138
138
  updatedAt: string;
139
139
  headers: Record<string, string> | null;
140
- subAgentId: string;
141
- tenantId: string;
142
- projectId: string;
143
140
  agentId: string;
141
+ projectId: string;
142
+ tenantId: string;
144
143
  toolId: string;
145
144
  toolPolicies: Record<string, {
146
145
  needsApproval?: boolean;
147
146
  }> | null;
147
+ subAgentId: string;
148
148
  selectedTools: string[] | null;
149
149
  }>;
150
150
  declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -156,14 +156,14 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
156
156
  createdAt: string;
157
157
  updatedAt: string;
158
158
  headers: Record<string, string> | null;
159
- subAgentId: string;
160
- tenantId: string;
161
- projectId: string;
162
159
  agentId: string;
160
+ projectId: string;
161
+ tenantId: string;
163
162
  toolId: string;
164
163
  toolPolicies: Record<string, {
165
164
  needsApproval?: boolean;
166
165
  }> | null;
166
+ subAgentId: string;
167
167
  selectedTools: string[] | null;
168
168
  }>;
169
169
  /**
@@ -184,14 +184,14 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
184
184
  createdAt: string;
185
185
  updatedAt: string;
186
186
  headers: Record<string, string> | null;
187
- subAgentId: string;
188
- tenantId: string;
189
- projectId: string;
190
187
  agentId: string;
188
+ projectId: string;
189
+ tenantId: string;
191
190
  toolId: string;
192
191
  toolPolicies: Record<string, {
193
192
  needsApproval?: boolean;
194
193
  }> | null;
194
+ subAgentId: string;
195
195
  selectedTools: string[] | null;
196
196
  }>;
197
197
  /**
@@ -204,10 +204,10 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
204
204
  name: string;
205
205
  createdAt: string;
206
206
  updatedAt: string;
207
+ description: string | null;
207
208
  headers: Record<string, string> | null;
208
- tenantId: string;
209
209
  projectId: string;
210
- description: string | null;
210
+ tenantId: string;
211
211
  config: {
212
212
  type: "mcp";
213
213
  mcp: ToolMcpConfig;
@@ -12,9 +12,9 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
12
12
  createdAt: string;
13
13
  updatedAt: string;
14
14
  expiresAt: string | null;
15
- tenantId: string;
16
- projectId: string;
17
15
  agentId: string;
16
+ projectId: string;
17
+ tenantId: string;
18
18
  publicId: string;
19
19
  keyHash: string;
20
20
  keyPrefix: string;
@@ -26,9 +26,9 @@ declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: s
26
26
  createdAt: string;
27
27
  updatedAt: string;
28
28
  expiresAt: string | null;
29
- tenantId: string;
30
- projectId: string;
31
29
  agentId: string;
30
+ projectId: string;
31
+ tenantId: string;
32
32
  publicId: string;
33
33
  keyHash: string;
34
34
  keyPrefix: string;
@@ -43,9 +43,9 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
43
43
  createdAt: string;
44
44
  updatedAt: string;
45
45
  expiresAt: string | null;
46
- tenantId: string;
47
- projectId: string;
48
46
  agentId: string;
47
+ projectId: string;
48
+ tenantId: string;
49
49
  publicId: string;
50
50
  keyHash: string;
51
51
  keyPrefix: string;
@@ -70,9 +70,9 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
70
70
  createdAt: string;
71
71
  updatedAt: string;
72
72
  expiresAt: string | null;
73
- tenantId: string;
74
- projectId: string;
75
73
  agentId: string;
74
+ projectId: string;
75
+ tenantId: string;
76
76
  publicId: string;
77
77
  keyHash: string;
78
78
  keyPrefix: string;
@@ -19,16 +19,16 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
19
19
  createdAt: string;
20
20
  updatedAt: string;
21
21
  ref: {
22
- type: "commit" | "tag" | "branch";
22
+ type: "tag" | "commit" | "branch";
23
23
  name: string;
24
24
  hash: string;
25
25
  } | null;
26
26
  userId: string | null;
27
27
  metadata: ConversationMetadata | null;
28
- tenantId: string;
28
+ agentId: string | null;
29
29
  projectId: string;
30
+ tenantId: string;
30
31
  title: string | null;
31
- agentId: string | null;
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: "commit" | "tag" | "branch";
46
+ type: "tag" | "commit" | "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: "commit" | "tag" | "branch";
72
+ type: "tag" | "commit" | "branch";
73
73
  name: string;
74
74
  hash: string;
75
75
  } | null;
@@ -88,16 +88,16 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
88
88
  createdAt: string;
89
89
  updatedAt: string;
90
90
  ref: {
91
- type: "commit" | "tag" | "branch";
91
+ type: "tag" | "commit" | "branch";
92
92
  name: string;
93
93
  hash: string;
94
94
  } | null;
95
95
  userId: string | null;
96
96
  metadata: ConversationMetadata | null;
97
- tenantId: string;
97
+ agentId: string | null;
98
98
  projectId: string;
99
+ tenantId: string;
99
100
  title: string | null;
100
- agentId: string | null;
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: "commit" | "tag" | "branch";
110
+ type: "tag" | "commit" | "branch";
111
111
  name: string;
112
112
  hash: string;
113
113
  };
@@ -124,16 +124,16 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
124
124
  createdAt: string;
125
125
  updatedAt: string;
126
126
  ref: {
127
- type: "commit" | "tag" | "branch";
127
+ type: "tag" | "commit" | "branch";
128
128
  name: string;
129
129
  hash: string;
130
130
  } | null;
131
131
  userId: string | null;
132
132
  metadata: ConversationMetadata | null;
133
- tenantId: string;
133
+ agentId: string | null;
134
134
  projectId: string;
135
+ tenantId: string;
135
136
  title: string | null;
136
- agentId: string | null;
137
137
  activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
139
139
  }>;
@@ -156,16 +156,16 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
156
156
  createdAt: string;
157
157
  updatedAt: string;
158
158
  ref: {
159
- type: "commit" | "tag" | "branch";
159
+ type: "tag" | "commit" | "branch";
160
160
  name: string;
161
161
  hash: string;
162
162
  } | null;
163
163
  userId: string | null;
164
164
  metadata: ConversationMetadata | null;
165
- tenantId: string;
165
+ agentId: string | null;
166
166
  projectId: string;
167
+ tenantId: string;
167
168
  title: string | null;
168
- agentId: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | 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
+ projectId: string;
18
+ tenantId: string;
19
+ content: MessageContent;
20
+ conversationId: string;
17
21
  fromSubAgentId: string | null;
18
22
  toSubAgentId: string | null;
19
23
  fromExternalAgentId: string | null;
20
24
  toExternalAgentId: string | null;
21
- taskId: string | null;
22
- a2aTaskId: string | null;
23
- tenantId: string;
24
- projectId: string;
25
- content: MessageContent;
26
- conversationId: string;
27
25
  fromTeamAgentId: string | null;
28
26
  toTeamAgentId: string | null;
29
27
  visibility: string;
30
28
  messageType: string;
29
+ taskId: string | null;
31
30
  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
+ projectId: string;
149
+ tenantId: string;
150
+ content: MessageContent;
151
+ conversationId: string;
148
152
  fromSubAgentId: string | null;
149
153
  toSubAgentId: string | null;
150
154
  fromExternalAgentId: string | null;
151
155
  toExternalAgentId: string | null;
152
- taskId: string | null;
153
- a2aTaskId: string | null;
154
- tenantId: string;
155
- projectId: string;
156
- content: MessageContent;
157
- conversationId: string;
158
156
  fromTeamAgentId: string | null;
159
157
  toTeamAgentId: string | null;
160
158
  visibility: string;
161
159
  messageType: string;
160
+ taskId: string | null;
162
161
  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
+ projectId: string;
202
+ tenantId: string;
203
+ content: MessageContent;
204
+ conversationId: string;
201
205
  fromSubAgentId: string | null;
202
206
  toSubAgentId: string | null;
203
207
  fromExternalAgentId: string | null;
204
208
  toExternalAgentId: string | null;
205
- taskId: string | null;
206
- a2aTaskId: string | null;
207
- tenantId: string;
208
- projectId: string;
209
- content: MessageContent;
210
- conversationId: string;
211
209
  fromTeamAgentId: string | null;
212
210
  toTeamAgentId: string | null;
213
211
  visibility: string;
214
212
  messageType: string;
213
+ taskId: string | null;
215
214
  parentMessageId: string | null;
215
+ a2aTaskId: string | null;
216
216
  a2aSessionId: string | null;
217
217
  }>;
218
218
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -10,16 +10,16 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
10
10
  createdAt: string;
11
11
  updatedAt: string;
12
12
  ref: {
13
- type: "commit" | "tag" | "branch";
13
+ type: "tag" | "commit" | "branch";
14
14
  name: string;
15
15
  hash: string;
16
16
  } | null;
17
17
  metadata: TaskMetadataConfig | null;
18
18
  status: string;
19
- subAgentId: string;
20
- tenantId: string;
21
- projectId: string;
22
19
  agentId: string;
20
+ projectId: string;
21
+ tenantId: string;
22
+ subAgentId: string;
23
23
  contextId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
@@ -36,7 +36,7 @@ declare const updateTask: (db: AgentsRunDatabaseClient) => (params: {
36
36
  updatedAt: string;
37
37
  contextId: string;
38
38
  ref: {
39
- type: "commit" | "tag" | "branch";
39
+ type: "tag" | "commit" | "branch";
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;