@inkeep/agents-core 0.64.8 → 0.64.10

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 (28) 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/permissions.d.ts +9 -9
  4. package/dist/data-access/manage/agents.d.ts +37 -37
  5. package/dist/data-access/manage/artifactComponents.d.ts +10 -10
  6. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  7. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  8. package/dist/data-access/manage/functionTools.d.ts +12 -12
  9. package/dist/data-access/manage/skills.d.ts +13 -13
  10. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
  11. package/dist/data-access/manage/subAgentRelations.d.ts +28 -28
  12. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  13. package/dist/data-access/manage/subAgents.d.ts +15 -15
  14. package/dist/data-access/manage/tools.d.ts +27 -27
  15. package/dist/data-access/manage/triggers.d.ts +4 -4
  16. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  17. package/dist/data-access/runtime/apps.d.ts +16 -16
  18. package/dist/data-access/runtime/conversations.d.ts +24 -24
  19. package/dist/data-access/runtime/messages.d.ts +24 -24
  20. package/dist/data-access/runtime/tasks.d.ts +6 -6
  21. package/dist/db/manage/dolt-safe-jsonb.d.ts +2 -2
  22. package/dist/db/manage/manage-schema.d.ts +453 -453
  23. package/dist/db/runtime/runtime-schema.d.ts +384 -384
  24. package/dist/middleware/no-auth.d.ts +2 -2
  25. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  26. package/dist/validation/schemas/skills.d.ts +51 -51
  27. package/dist/validation/schemas.d.ts +2251 -2251
  28. 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;
21
22
  ref: {
22
23
  type: "commit" | "tag" | "branch";
23
24
  name: string;
24
25
  hash: string;
25
26
  } | null;
26
27
  userId: string | null;
27
- metadata: ConversationMetadata | null;
28
- agentId: string | null;
29
- projectId: string;
30
- tenantId: string;
28
+ createdAt: string;
29
+ updatedAt: string;
31
30
  title: string | null;
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;
90
91
  ref: {
91
92
  type: "commit" | "tag" | "branch";
92
93
  name: string;
93
94
  hash: string;
94
95
  } | null;
95
96
  userId: string | null;
96
- metadata: ConversationMetadata | null;
97
- agentId: string | null;
98
- projectId: string;
99
- tenantId: string;
97
+ createdAt: string;
98
+ updatedAt: string;
100
99
  title: string | null;
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;
126
127
  ref: {
127
128
  type: "commit" | "tag" | "branch";
128
129
  name: string;
129
130
  hash: string;
130
131
  } | null;
131
132
  userId: string | null;
132
- metadata: ConversationMetadata | null;
133
- agentId: string | null;
134
- projectId: string;
135
- tenantId: string;
133
+ createdAt: string;
134
+ updatedAt: string;
136
135
  title: string | null;
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;
158
159
  ref: {
159
160
  type: "commit" | "tag" | "branch";
160
161
  name: string;
161
162
  hash: string;
162
163
  } | null;
163
164
  userId: string | null;
164
- metadata: ConversationMetadata | null;
165
- agentId: string | null;
166
- projectId: string;
167
- tenantId: string;
165
+ createdAt: string;
166
+ updatedAt: string;
168
167
  title: string | null;
168
+ agentId: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -10,26 +10,26 @@ 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;
16
+ metadata: MessageMetadata | null;
17
+ content: MessageContent;
14
18
  createdAt: string;
15
19
  updatedAt: string;
16
- metadata: MessageMetadata | null;
20
+ conversationId: string;
17
21
  role: string;
18
- projectId: string;
19
- tenantId: string;
20
- content: MessageContent;
21
- taskId: string | null;
22
- visibility: string;
23
22
  fromSubAgentId: string | null;
24
23
  toSubAgentId: string | null;
25
24
  fromExternalAgentId: string | null;
26
25
  toExternalAgentId: string | null;
27
- a2aTaskId: string | null;
28
- conversationId: string;
29
26
  fromTeamAgentId: string | null;
30
27
  toTeamAgentId: string | null;
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: {
@@ -144,26 +144,26 @@ 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;
150
+ metadata: MessageMetadata | null;
151
+ content: MessageContent;
148
152
  createdAt: string;
149
153
  updatedAt: string;
150
- metadata: MessageMetadata | null;
154
+ conversationId: string;
151
155
  role: string;
152
- projectId: string;
153
- tenantId: string;
154
- content: MessageContent;
155
- taskId: string | null;
156
- visibility: string;
157
156
  fromSubAgentId: string | null;
158
157
  toSubAgentId: string | null;
159
158
  fromExternalAgentId: string | null;
160
159
  toExternalAgentId: string | null;
161
- a2aTaskId: string | null;
162
- conversationId: string;
163
160
  fromTeamAgentId: string | null;
164
161
  toTeamAgentId: string | null;
162
+ visibility: string;
165
163
  messageType: string;
164
+ taskId: string | null;
166
165
  parentMessageId: string | null;
166
+ a2aTaskId: string | null;
167
167
  a2aSessionId: string | null;
168
168
  }>;
169
169
  declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
@@ -197,26 +197,26 @@ 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;
203
+ metadata: MessageMetadata | null;
204
+ content: MessageContent;
201
205
  createdAt: string;
202
206
  updatedAt: string;
203
- metadata: MessageMetadata | null;
207
+ conversationId: string;
204
208
  role: string;
205
- projectId: string;
206
- tenantId: string;
207
- content: MessageContent;
208
- taskId: string | null;
209
- visibility: string;
210
209
  fromSubAgentId: string | null;
211
210
  toSubAgentId: string | null;
212
211
  fromExternalAgentId: string | null;
213
212
  toExternalAgentId: string | null;
214
- a2aTaskId: string | null;
215
- conversationId: string;
216
213
  fromTeamAgentId: string | null;
217
214
  toTeamAgentId: string | null;
215
+ visibility: string;
218
216
  messageType: string;
217
+ taskId: string | null;
219
218
  parentMessageId: string | null;
219
+ a2aTaskId: string | null;
220
220
  a2aSessionId: string | null;
221
221
  }>;
222
222
  declare const countMessagesByConversation: (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;
13
14
  ref: {
14
15
  type: "commit" | "tag" | "branch";
15
16
  name: string;
16
17
  hash: string;
17
18
  } | null;
18
- metadata: TaskMetadataConfig | null;
19
- status: string;
19
+ createdAt: string;
20
+ updatedAt: string;
20
21
  agentId: string;
21
- projectId: string;
22
- tenantId: string;
23
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_core220 from "drizzle-orm/pg-core";
1
+ import * as drizzle_orm_pg_core0 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_core220.jsonb>;
10
+ declare function jsonb(name: string): ReturnType<typeof drizzle_orm_pg_core0.jsonb>;
11
11
  //#endregion
12
12
  export { decodeBackslashes, encodeBackslashes, jsonb };