@inkeep/agents-core 0.0.0-dev-20260227162019 → 0.0.0-dev-20260227204243

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.
Files changed (32) hide show
  1. package/dist/auth/auth-schema.d.ts +85 -85
  2. package/dist/auth/auth-validation-schemas.d.ts +152 -152
  3. package/dist/auth/auth.d.ts +28 -28
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/data-access/manage/agents.d.ts +36 -36
  6. package/dist/data-access/manage/artifactComponents.d.ts +12 -12
  7. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  8. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  9. package/dist/data-access/manage/functionTools.d.ts +14 -14
  10. package/dist/data-access/manage/skills.d.ts +15 -15
  11. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
  12. package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
  13. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  14. package/dist/data-access/manage/subAgents.d.ts +24 -24
  15. package/dist/data-access/manage/tools.d.ts +21 -21
  16. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  17. package/dist/data-access/runtime/conversations.d.ts +27 -27
  18. package/dist/data-access/runtime/messages.d.ts +24 -24
  19. package/dist/data-access/runtime/tasks.d.ts +6 -6
  20. package/dist/db/manage/manage-schema.d.ts +447 -447
  21. package/dist/db/runtime/runtime-schema.d.ts +298 -298
  22. package/dist/index.d.ts +2 -2
  23. package/dist/index.js +2 -2
  24. package/dist/utils/error.d.ts +51 -51
  25. package/dist/utils/index.d.ts +2 -2
  26. package/dist/utils/index.js +2 -2
  27. package/dist/utils/mcp-client.d.ts +2 -1
  28. package/dist/utils/mcp-client.js +20 -5
  29. package/dist/validation/dolt-schemas.d.ts +1 -1
  30. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  31. package/dist/validation/schemas.d.ts +646 -646
  32. package/package.json +1 -1
@@ -16,20 +16,20 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
16
16
  total: number;
17
17
  }>;
18
18
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
19
+ id: string;
19
20
  tenantId: string;
20
- userId: string | null;
21
- title: string | null;
22
21
  projectId: string;
23
- id: string;
22
+ agentId: string | null;
23
+ title: string | null;
24
24
  createdAt: string;
25
25
  updatedAt: string;
26
+ metadata: ConversationMetadata | null;
26
27
  ref: {
27
- type: "commit" | "tag" | "branch";
28
+ type: "tag" | "commit" | "branch";
28
29
  name: string;
29
30
  hash: string;
30
31
  } | null;
31
- metadata: ConversationMetadata | null;
32
- agentId: string | null;
32
+ userId: string | null;
33
33
  activeSubAgentId: string;
34
34
  lastContextResolution: string | null;
35
35
  }>;
@@ -44,7 +44,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
44
44
  agentId: string | null;
45
45
  activeSubAgentId: string;
46
46
  ref: {
47
- type: "commit" | "tag" | "branch";
47
+ type: "tag" | "commit" | "branch";
48
48
  name: string;
49
49
  hash: string;
50
50
  } | null;
@@ -70,7 +70,7 @@ declare const updateConversationActiveSubAgent: (db: AgentsRunDatabaseClient) =>
70
70
  agentId: string | null;
71
71
  activeSubAgentId: string;
72
72
  ref: {
73
- type: "commit" | "tag" | "branch";
73
+ type: "tag" | "commit" | "branch";
74
74
  name: string;
75
75
  hash: string;
76
76
  } | null;
@@ -85,20 +85,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
85
85
  scopes: ProjectScopeConfig;
86
86
  conversationId: string;
87
87
  }) => Promise<{
88
+ id: string;
88
89
  tenantId: string;
89
- userId: string | null;
90
- title: string | null;
91
90
  projectId: string;
92
- id: string;
91
+ agentId: string | null;
92
+ title: string | null;
93
93
  createdAt: string;
94
94
  updatedAt: string;
95
+ metadata: ConversationMetadata | null;
95
96
  ref: {
96
- type: "commit" | "tag" | "branch";
97
+ type: "tag" | "commit" | "branch";
97
98
  name: string;
98
99
  hash: string;
99
100
  } | null;
100
- metadata: ConversationMetadata | null;
101
- agentId: string | null;
101
+ userId: string | null;
102
102
  activeSubAgentId: string;
103
103
  lastContextResolution: string | null;
104
104
  } | undefined>;
@@ -108,7 +108,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
108
108
  tenantId: string;
109
109
  id: string;
110
110
  ref: {
111
- type: "commit" | "tag" | "branch";
111
+ type: "tag" | "commit" | "branch";
112
112
  name: string;
113
113
  hash: string;
114
114
  };
@@ -121,20 +121,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
121
121
  metadata?: ConversationMetadata | null | undefined;
122
122
  contextConfigId?: string | undefined;
123
123
  } | {
124
+ id: string;
124
125
  tenantId: string;
125
- userId: string | null;
126
- title: string | null;
127
126
  projectId: string;
128
- id: string;
127
+ agentId: string | null;
128
+ title: string | null;
129
129
  createdAt: string;
130
130
  updatedAt: string;
131
+ metadata: ConversationMetadata | null;
131
132
  ref: {
132
- type: "commit" | "tag" | "branch";
133
+ type: "tag" | "commit" | "branch";
133
134
  name: string;
134
135
  hash: string;
135
136
  } | null;
136
- metadata: ConversationMetadata | null;
137
- agentId: string | null;
137
+ userId: string | null;
138
138
  activeSubAgentId: string;
139
139
  lastContextResolution: string | null;
140
140
  }>;
@@ -153,20 +153,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
153
153
  scopes: ProjectScopeConfig;
154
154
  conversationId: string;
155
155
  }) => Promise<{
156
+ id: string;
156
157
  tenantId: string;
157
- userId: string | null;
158
- title: string | null;
159
158
  projectId: string;
160
- id: string;
159
+ agentId: string | null;
160
+ title: string | null;
161
161
  createdAt: string;
162
162
  updatedAt: string;
163
+ metadata: ConversationMetadata | null;
163
164
  ref: {
164
- type: "commit" | "tag" | "branch";
165
+ type: "tag" | "commit" | "branch";
165
166
  name: string;
166
167
  hash: string;
167
168
  } | null;
168
- metadata: ConversationMetadata | null;
169
- agentId: string | null;
169
+ userId: string | null;
170
170
  activeSubAgentId: string;
171
171
  lastContextResolution: string | null;
172
172
  } | undefined>;
@@ -10,26 +10,26 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
+ id: string;
13
14
  tenantId: string;
14
- content: MessageContent;
15
15
  projectId: string;
16
- fromSubAgentId: string | null;
17
- toSubAgentId: string | null;
18
- fromExternalAgentId: string | null;
19
- toExternalAgentId: string | null;
20
- taskId: string | null;
21
- a2aTaskId: string | null;
22
- id: string;
23
16
  createdAt: string;
24
17
  updatedAt: string;
25
18
  metadata: MessageMetadata | null;
19
+ content: MessageContent;
26
20
  role: string;
27
21
  conversationId: string;
22
+ fromSubAgentId: string | null;
23
+ toSubAgentId: string | null;
24
+ fromExternalAgentId: string | null;
25
+ toExternalAgentId: string | null;
28
26
  fromTeamAgentId: string | null;
29
27
  toTeamAgentId: string | null;
30
28
  visibility: string;
31
29
  messageType: string;
30
+ taskId: string | null;
32
31
  parentMessageId: string | null;
32
+ a2aTaskId: string | null;
33
33
  a2aSessionId: string | null;
34
34
  } | undefined>;
35
35
  declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
@@ -141,26 +141,26 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
141
141
  id: string;
142
142
  }[]>;
143
143
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
144
+ id: string;
144
145
  tenantId: string;
145
- content: MessageContent;
146
146
  projectId: string;
147
- fromSubAgentId: string | null;
148
- toSubAgentId: string | null;
149
- fromExternalAgentId: string | null;
150
- toExternalAgentId: string | null;
151
- taskId: string | null;
152
- a2aTaskId: string | null;
153
- id: string;
154
147
  createdAt: string;
155
148
  updatedAt: string;
156
149
  metadata: MessageMetadata | null;
150
+ content: MessageContent;
157
151
  role: string;
158
152
  conversationId: string;
153
+ fromSubAgentId: string | null;
154
+ toSubAgentId: string | null;
155
+ fromExternalAgentId: string | null;
156
+ toExternalAgentId: string | null;
159
157
  fromTeamAgentId: string | null;
160
158
  toTeamAgentId: string | null;
161
159
  visibility: string;
162
160
  messageType: string;
161
+ taskId: string | null;
163
162
  parentMessageId: string | null;
163
+ a2aTaskId: string | null;
164
164
  a2aSessionId: string | null;
165
165
  }>;
166
166
  declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
@@ -194,26 +194,26 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
194
194
  scopes: ProjectScopeConfig;
195
195
  messageId: string;
196
196
  }) => Promise<{
197
+ id: string;
197
198
  tenantId: string;
198
- content: MessageContent;
199
199
  projectId: string;
200
- fromSubAgentId: string | null;
201
- toSubAgentId: string | null;
202
- fromExternalAgentId: string | null;
203
- toExternalAgentId: string | null;
204
- taskId: string | null;
205
- a2aTaskId: string | null;
206
- id: string;
207
200
  createdAt: string;
208
201
  updatedAt: string;
209
202
  metadata: MessageMetadata | null;
203
+ content: MessageContent;
210
204
  role: string;
211
205
  conversationId: string;
206
+ fromSubAgentId: string | null;
207
+ toSubAgentId: string | null;
208
+ fromExternalAgentId: string | null;
209
+ toExternalAgentId: string | null;
212
210
  fromTeamAgentId: string | null;
213
211
  toTeamAgentId: string | null;
214
212
  visibility: string;
215
213
  messageType: string;
214
+ taskId: string | null;
216
215
  parentMessageId: string | null;
216
+ a2aTaskId: string | null;
217
217
  a2aSessionId: string | null;
218
218
  }>;
219
219
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -6,20 +6,20 @@ 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
+ id: string;
9
10
  tenantId: string;
10
11
  projectId: string;
11
- subAgentId: string;
12
- id: string;
12
+ agentId: string;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
+ metadata: TaskMetadataConfig | null;
15
16
  ref: {
16
- type: "commit" | "tag" | "branch";
17
+ type: "tag" | "commit" | "branch";
17
18
  name: string;
18
19
  hash: string;
19
20
  } | null;
20
- metadata: TaskMetadataConfig | null;
21
21
  status: string;
22
- agentId: 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;