@inkeep/agents-core 0.0.0-dev-20260408005804 → 0.0.0-dev-20260408074257

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 (38) hide show
  1. package/dist/auth/auth-schema.d.ts +86 -86
  2. package/dist/auth/auth-validation-schemas.d.ts +154 -154
  3. package/dist/auth/auth.d.ts +6 -6
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/data-access/manage/agentFull.d.ts +2 -0
  6. package/dist/data-access/manage/agentFull.js +12 -12
  7. package/dist/data-access/manage/agents.d.ts +25 -25
  8. package/dist/data-access/manage/artifactComponents.d.ts +14 -14
  9. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  10. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  11. package/dist/data-access/manage/functionTools.d.ts +16 -16
  12. package/dist/data-access/manage/skills.d.ts +16 -16
  13. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  14. package/dist/data-access/manage/subAgentRelations.d.ts +28 -28
  15. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  16. package/dist/data-access/manage/subAgents.d.ts +15 -15
  17. package/dist/data-access/manage/tools.d.ts +30 -30
  18. package/dist/data-access/manage/triggers.d.ts +2 -2
  19. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  20. package/dist/data-access/runtime/apps.d.ts +12 -12
  21. package/dist/data-access/runtime/conversations.d.ts +28 -28
  22. package/dist/data-access/runtime/feedback.d.ts +6 -6
  23. package/dist/data-access/runtime/messages.d.ts +15 -15
  24. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  25. package/dist/data-access/runtime/tasks.d.ts +8 -8
  26. package/dist/db/manage/dolt-safe-jsonb.d.ts +2 -2
  27. package/dist/db/manage/manage-schema.d.ts +449 -449
  28. package/dist/db/runtime/runtime-schema.d.ts +405 -405
  29. package/dist/dolt/ref-middleware.js +2 -2
  30. package/dist/middleware/no-auth.d.ts +2 -2
  31. package/dist/utils/error.d.ts +51 -51
  32. package/dist/utils/jwt-helpers.js +1 -1
  33. package/dist/utils/third-party-mcp-servers/composio-client.js +10 -10
  34. package/dist/utils/tracer-factory.js +1 -1
  35. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  36. package/dist/validation/schemas/skills.d.ts +50 -50
  37. package/dist/validation/schemas.d.ts +740 -740
  38. package/package.json +1 -1
@@ -15,20 +15,20 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
15
15
  total: number;
16
16
  }>;
17
17
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
18
+ tenantId: string;
19
+ projectId: string;
18
20
  id: string;
19
- createdAt: string;
20
- updatedAt: string;
21
+ metadata: ConversationMetadata | null;
22
+ title: string | null;
23
+ agentId: string | null;
21
24
  ref: {
22
25
  type: "commit" | "tag" | "branch";
23
26
  name: string;
24
27
  hash: string;
25
28
  } | null;
29
+ createdAt: string;
30
+ updatedAt: string;
26
31
  userId: string | null;
27
- metadata: ConversationMetadata | null;
28
- title: string | null;
29
- tenantId: string;
30
- projectId: string;
31
- agentId: string | null;
32
32
  activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
34
34
  }>;
@@ -84,20 +84,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
84
84
  scopes: ProjectScopeConfig;
85
85
  conversationId: string;
86
86
  }) => Promise<{
87
+ tenantId: string;
88
+ projectId: string;
87
89
  id: string;
88
- createdAt: string;
89
- updatedAt: string;
90
+ metadata: ConversationMetadata | null;
91
+ title: string | null;
92
+ agentId: string | null;
90
93
  ref: {
91
94
  type: "commit" | "tag" | "branch";
92
95
  name: string;
93
96
  hash: string;
94
97
  } | null;
98
+ createdAt: string;
99
+ updatedAt: string;
95
100
  userId: string | null;
96
- metadata: ConversationMetadata | null;
97
- title: string | null;
98
- tenantId: string;
99
- projectId: string;
100
- agentId: string | null;
101
101
  activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
103
103
  } | undefined>;
@@ -120,20 +120,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
120
120
  metadata?: ConversationMetadata | null | undefined;
121
121
  contextConfigId?: string | undefined;
122
122
  } | {
123
+ tenantId: string;
124
+ projectId: string;
123
125
  id: string;
124
- createdAt: string;
125
- updatedAt: string;
126
+ metadata: ConversationMetadata | null;
127
+ title: string | null;
128
+ agentId: string | null;
126
129
  ref: {
127
130
  type: "commit" | "tag" | "branch";
128
131
  name: string;
129
132
  hash: string;
130
133
  } | null;
134
+ createdAt: string;
135
+ updatedAt: string;
131
136
  userId: string | null;
132
- metadata: ConversationMetadata | null;
133
- title: string | null;
134
- tenantId: string;
135
- projectId: string;
136
- agentId: string | null;
137
137
  activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
139
139
  }>;
@@ -152,20 +152,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
152
152
  scopes: ProjectScopeConfig;
153
153
  conversationId: string;
154
154
  }) => Promise<{
155
+ tenantId: string;
156
+ projectId: string;
155
157
  id: string;
156
- createdAt: string;
157
- updatedAt: string;
158
+ metadata: ConversationMetadata | null;
159
+ title: string | null;
160
+ agentId: string | null;
158
161
  ref: {
159
162
  type: "commit" | "tag" | "branch";
160
163
  name: string;
161
164
  hash: string;
162
165
  } | null;
166
+ createdAt: string;
167
+ updatedAt: string;
163
168
  userId: string | null;
164
- metadata: ConversationMetadata | null;
165
- title: string | null;
166
- tenantId: string;
167
- projectId: string;
168
- agentId: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -58,13 +58,13 @@ declare const listFeedback: (db: AgentsRunDatabaseClient) => (params: {
58
58
  total: number;
59
59
  }>;
60
60
  declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: FeedbackInsert) => Promise<{
61
- id: string;
62
- createdAt: string;
63
- updatedAt: string;
64
61
  type: "positive" | "negative";
65
62
  tenantId: string;
66
63
  projectId: string;
64
+ id: string;
67
65
  details: string | null;
66
+ createdAt: string;
67
+ updatedAt: string;
68
68
  conversationId: string;
69
69
  messageId: string | null;
70
70
  }>;
@@ -87,13 +87,13 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
87
87
  scopes: ProjectScopeConfig;
88
88
  feedbackId: string;
89
89
  }) => Promise<{
90
- id: string;
91
- createdAt: string;
92
- updatedAt: string;
93
90
  type: "positive" | "negative";
94
91
  tenantId: string;
95
92
  projectId: string;
93
+ id: string;
96
94
  details: string | null;
95
+ createdAt: string;
96
+ updatedAt: string;
97
97
  conversationId: string;
98
98
  messageId: string | null;
99
99
  }>;
@@ -10,20 +10,20 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
+ tenantId: string;
14
+ projectId: string;
13
15
  id: string;
14
- createdAt: string;
15
- updatedAt: string;
16
16
  metadata: MessageMetadata | null;
17
- role: string;
18
17
  content: MessageContent;
19
- tenantId: string;
20
- projectId: string;
21
18
  fromSubAgentId: string | null;
22
19
  toSubAgentId: string | null;
23
20
  fromExternalAgentId: string | null;
24
21
  toExternalAgentId: string | null;
25
22
  taskId: string | null;
26
23
  a2aTaskId: string | null;
24
+ createdAt: string;
25
+ updatedAt: string;
26
+ role: string;
27
27
  conversationId: string;
28
28
  fromTeamAgentId: string | null;
29
29
  toTeamAgentId: string | null;
@@ -144,20 +144,20 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
144
144
  scopes: ProjectScopeConfig;
145
145
  data: Omit<MessageInsert, "tenantId" | "projectId">;
146
146
  }) => Promise<{
147
+ tenantId: string;
148
+ projectId: string;
147
149
  id: string;
148
- createdAt: string;
149
- updatedAt: string;
150
150
  metadata: MessageMetadata | null;
151
- role: string;
152
151
  content: MessageContent;
153
- tenantId: string;
154
- projectId: string;
155
152
  fromSubAgentId: string | null;
156
153
  toSubAgentId: string | null;
157
154
  fromExternalAgentId: string | null;
158
155
  toExternalAgentId: string | null;
159
156
  taskId: string | null;
160
157
  a2aTaskId: string | null;
158
+ createdAt: string;
159
+ updatedAt: string;
160
+ role: string;
161
161
  conversationId: string;
162
162
  fromTeamAgentId: string | null;
163
163
  toTeamAgentId: string | null;
@@ -197,20 +197,20 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
197
197
  scopes: ProjectScopeConfig;
198
198
  messageId: string;
199
199
  }) => Promise<{
200
+ tenantId: string;
201
+ projectId: string;
200
202
  id: string;
201
- createdAt: string;
202
- updatedAt: string;
203
203
  metadata: MessageMetadata | null;
204
- role: string;
205
204
  content: MessageContent;
206
- tenantId: string;
207
- projectId: string;
208
205
  fromSubAgentId: string | null;
209
206
  toSubAgentId: string | null;
210
207
  fromExternalAgentId: string | null;
211
208
  toExternalAgentId: string | null;
212
209
  taskId: string | null;
213
210
  a2aTaskId: string | null;
211
+ createdAt: string;
212
+ updatedAt: string;
213
+ role: string;
214
214
  conversationId: string;
215
215
  fromTeamAgentId: string | null;
216
216
  toTeamAgentId: string | null;
@@ -15,9 +15,9 @@ declare const createScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (para
15
15
  scheduledTriggerId: string;
16
16
  userId: string;
17
17
  }) => Promise<{
18
+ tenantId: string;
18
19
  createdAt: string;
19
20
  userId: string;
20
- tenantId: string;
21
21
  scheduledTriggerId: string;
22
22
  }>;
23
23
  declare const deleteScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (params: {
@@ -7,20 +7,20 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
7
7
 
8
8
  //#region src/data-access/runtime/tasks.d.ts
9
9
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
10
+ tenantId: string;
11
+ projectId: string;
10
12
  id: string;
11
- createdAt: string;
12
- updatedAt: string;
13
+ metadata: TaskMetadataConfig | null;
14
+ agentId: string;
15
+ subAgentId: string;
16
+ status: string;
13
17
  ref: {
14
18
  type: "commit" | "tag" | "branch";
15
19
  name: string;
16
20
  hash: string;
17
21
  } | null;
18
- metadata: TaskMetadataConfig | null;
19
- status: string;
20
- tenantId: string;
21
- projectId: string;
22
- subAgentId: string;
23
- agentId: string;
22
+ createdAt: string;
23
+ updatedAt: string;
24
24
  contextId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
@@ -1,4 +1,4 @@
1
- import * as drizzle_orm_pg_core1846 from "drizzle-orm/pg-core";
1
+ import * as drizzle_orm_pg_core1478 from "drizzle-orm/pg-core";
2
2
 
3
3
  //#region src/db/manage/dolt-safe-jsonb.d.ts
4
4
  declare function encodeBackslashes(value: unknown): unknown;
@@ -7,6 +7,6 @@ declare function decodeBackslashes(value: unknown): unknown;
7
7
  * Drop-in replacement for drizzle-orm's `jsonb()`.
8
8
  * Encodes backslashes on write and decodes on read to work around the Doltgres bug.
9
9
  */
10
- declare function jsonb(name: string): ReturnType<typeof drizzle_orm_pg_core1846.jsonb>;
10
+ declare function jsonb(name: string): ReturnType<typeof drizzle_orm_pg_core1478.jsonb>;
11
11
  //#endregion
12
12
  export { decodeBackslashes, encodeBackslashes, jsonb };