@inkeep/agents-core 0.0.0-dev-20260407034218 → 0.0.0-dev-20260407160926

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 (30) hide show
  1. package/dist/auth/auth-schema.d.ts +108 -108
  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/agents.d.ts +37 -37
  6. package/dist/data-access/manage/artifactComponents.d.ts +14 -14
  7. package/dist/data-access/manage/contextConfigs.d.ts +16 -16
  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 +12 -12
  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 +15 -15
  15. package/dist/data-access/manage/tools.d.ts +27 -27
  16. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  17. package/dist/data-access/runtime/apps.d.ts +10 -10
  18. package/dist/data-access/runtime/conversations.d.ts +16 -16
  19. package/dist/data-access/runtime/feedback.d.ts +8 -8
  20. package/dist/data-access/runtime/messages.d.ts +15 -15
  21. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  22. package/dist/data-access/runtime/tasks.d.ts +5 -5
  23. package/dist/db/manage/dolt-safe-jsonb.d.ts +2 -2
  24. package/dist/db/manage/manage-schema.d.ts +445 -445
  25. package/dist/db/runtime/runtime-schema.d.ts +403 -403
  26. package/dist/utils/error.d.ts +51 -51
  27. package/dist/utils/error.js +10 -5
  28. package/dist/validation/schemas/skills.d.ts +48 -48
  29. package/dist/validation/schemas.d.ts +1850 -1850
  30. package/package.json +1 -1
@@ -15,11 +15,7 @@ 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;
20
18
  id: string;
21
- metadata: ConversationMetadata | null;
22
- title: string | null;
23
19
  ref: {
24
20
  type: "commit" | "tag" | "branch";
25
21
  name: string;
@@ -28,6 +24,10 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
28
24
  createdAt: string;
29
25
  updatedAt: string;
30
26
  agentId: string | null;
27
+ projectId: string;
28
+ tenantId: string;
29
+ title: string | null;
30
+ metadata: ConversationMetadata | null;
31
31
  userId: string | null;
32
32
  activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
@@ -84,11 +84,7 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
84
84
  scopes: ProjectScopeConfig;
85
85
  conversationId: string;
86
86
  }) => Promise<{
87
- tenantId: string;
88
- projectId: string;
89
87
  id: string;
90
- metadata: ConversationMetadata | null;
91
- title: string | null;
92
88
  ref: {
93
89
  type: "commit" | "tag" | "branch";
94
90
  name: string;
@@ -97,6 +93,10 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
97
93
  createdAt: string;
98
94
  updatedAt: string;
99
95
  agentId: string | null;
96
+ projectId: string;
97
+ tenantId: string;
98
+ title: string | null;
99
+ metadata: ConversationMetadata | null;
100
100
  userId: string | null;
101
101
  activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
@@ -120,11 +120,7 @@ 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;
125
123
  id: string;
126
- metadata: ConversationMetadata | null;
127
- title: string | null;
128
124
  ref: {
129
125
  type: "commit" | "tag" | "branch";
130
126
  name: string;
@@ -133,6 +129,10 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
133
129
  createdAt: string;
134
130
  updatedAt: string;
135
131
  agentId: string | null;
132
+ projectId: string;
133
+ tenantId: string;
134
+ title: string | null;
135
+ metadata: ConversationMetadata | null;
136
136
  userId: string | null;
137
137
  activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
@@ -152,11 +152,7 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
152
152
  scopes: ProjectScopeConfig;
153
153
  conversationId: string;
154
154
  }) => Promise<{
155
- tenantId: string;
156
- projectId: string;
157
155
  id: string;
158
- metadata: ConversationMetadata | null;
159
- title: string | null;
160
156
  ref: {
161
157
  type: "commit" | "tag" | "branch";
162
158
  name: string;
@@ -165,6 +161,10 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
165
161
  createdAt: string;
166
162
  updatedAt: string;
167
163
  agentId: string | null;
164
+ projectId: string;
165
+ tenantId: string;
166
+ title: string | null;
167
+ metadata: ConversationMetadata | null;
168
168
  userId: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
@@ -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
- tenantId: string;
62
- projectId: string;
63
61
  id: string;
64
- type: "positive" | "negative";
65
- details: string | null;
66
62
  createdAt: string;
67
63
  updatedAt: string;
64
+ projectId: string;
65
+ tenantId: string;
66
+ type: "positive" | "negative";
67
+ details: string | null;
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
- tenantId: string;
91
- projectId: string;
92
90
  id: string;
93
- type: "positive" | "negative";
94
- details: string | null;
95
91
  createdAt: string;
96
92
  updatedAt: string;
93
+ projectId: string;
94
+ tenantId: string;
95
+ type: "positive" | "negative";
96
+ details: string | null;
97
97
  conversationId: string;
98
98
  messageId: string | null;
99
99
  }>;
@@ -10,21 +10,21 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
- tenantId: string;
14
- projectId: string;
15
13
  id: string;
14
+ createdAt: string;
15
+ updatedAt: string;
16
+ projectId: string;
17
+ tenantId: string;
16
18
  metadata: MessageMetadata | null;
17
19
  content: MessageContent;
20
+ role: string;
18
21
  fromSubAgentId: string | null;
19
22
  toSubAgentId: string | null;
20
23
  fromExternalAgentId: string | null;
21
24
  toExternalAgentId: string | null;
22
25
  taskId: string | null;
23
26
  a2aTaskId: string | null;
24
- createdAt: string;
25
- updatedAt: string;
26
27
  conversationId: string;
27
- role: string;
28
28
  fromTeamAgentId: string | null;
29
29
  toTeamAgentId: string | null;
30
30
  visibility: string;
@@ -144,21 +144,21 @@ 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;
149
147
  id: string;
148
+ createdAt: string;
149
+ updatedAt: string;
150
+ projectId: string;
151
+ tenantId: string;
150
152
  metadata: MessageMetadata | null;
151
153
  content: MessageContent;
154
+ role: string;
152
155
  fromSubAgentId: string | null;
153
156
  toSubAgentId: string | null;
154
157
  fromExternalAgentId: string | null;
155
158
  toExternalAgentId: string | null;
156
159
  taskId: string | null;
157
160
  a2aTaskId: string | null;
158
- createdAt: string;
159
- updatedAt: string;
160
161
  conversationId: string;
161
- role: string;
162
162
  fromTeamAgentId: string | null;
163
163
  toTeamAgentId: string | null;
164
164
  visibility: string;
@@ -197,21 +197,21 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
197
197
  scopes: ProjectScopeConfig;
198
198
  messageId: string;
199
199
  }) => Promise<{
200
- tenantId: string;
201
- projectId: string;
202
200
  id: string;
201
+ createdAt: string;
202
+ updatedAt: string;
203
+ projectId: string;
204
+ tenantId: string;
203
205
  metadata: MessageMetadata | null;
204
206
  content: MessageContent;
207
+ role: string;
205
208
  fromSubAgentId: string | null;
206
209
  toSubAgentId: string | null;
207
210
  fromExternalAgentId: string | null;
208
211
  toExternalAgentId: string | null;
209
212
  taskId: string | null;
210
213
  a2aTaskId: string | null;
211
- createdAt: string;
212
- updatedAt: string;
213
214
  conversationId: string;
214
- role: string;
215
215
  fromTeamAgentId: string | null;
216
216
  toTeamAgentId: string | null;
217
217
  visibility: string;
@@ -15,8 +15,8 @@ declare const createScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (para
15
15
  scheduledTriggerId: string;
16
16
  userId: string;
17
17
  }) => Promise<{
18
- tenantId: string;
19
18
  createdAt: string;
19
+ tenantId: string;
20
20
  userId: string;
21
21
  scheduledTriggerId: string;
22
22
  }>;
@@ -7,12 +7,7 @@ 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;
12
10
  id: string;
13
- metadata: TaskMetadataConfig | null;
14
- status: string;
15
- subAgentId: string;
16
11
  ref: {
17
12
  type: "commit" | "tag" | "branch";
18
13
  name: string;
@@ -21,6 +16,11 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
21
16
  createdAt: string;
22
17
  updatedAt: string;
23
18
  agentId: string;
19
+ projectId: string;
20
+ tenantId: string;
21
+ metadata: TaskMetadataConfig | null;
22
+ subAgentId: string;
23
+ status: 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_core1257 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_core1257.jsonb>;
10
+ declare function jsonb(name: string): ReturnType<typeof drizzle_orm_pg_core1478.jsonb>;
11
11
  //#endregion
12
12
  export { decodeBackslashes, encodeBackslashes, jsonb };