@inkeep/agents-core 0.0.0-dev-20260406185511 → 0.0.0-dev-20260406210834

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 +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/client-exports.d.ts +2 -2
  5. package/dist/client-exports.js +2 -2
  6. package/dist/data-access/manage/agents.d.ts +42 -42
  7. package/dist/data-access/manage/artifactComponents.d.ts +16 -16
  8. package/dist/data-access/manage/contextConfigs.d.ts +20 -20
  9. package/dist/data-access/manage/dataComponents.d.ts +8 -8
  10. package/dist/data-access/manage/functionTools.d.ts +18 -18
  11. package/dist/data-access/manage/skills.d.ts +16 -16
  12. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  13. package/dist/data-access/manage/subAgentRelations.d.ts +28 -28
  14. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  15. package/dist/data-access/manage/subAgents.d.ts +18 -18
  16. package/dist/data-access/manage/tools.d.ts +30 -30
  17. package/dist/data-access/manage/triggers.d.ts +2 -2
  18. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  19. package/dist/data-access/runtime/apps.d.ts +12 -12
  20. package/dist/data-access/runtime/conversations.d.ts +20 -20
  21. package/dist/data-access/runtime/feedback.d.ts +4 -4
  22. package/dist/data-access/runtime/messages.d.ts +12 -12
  23. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  24. package/dist/data-access/runtime/tasks.d.ts +6 -6
  25. package/dist/db/manage/dolt-safe-jsonb.d.ts +2 -2
  26. package/dist/db/manage/manage-schema.d.ts +449 -449
  27. package/dist/db/runtime/runtime-schema.d.ts +403 -403
  28. package/dist/index.d.ts +2 -2
  29. package/dist/index.js +2 -2
  30. package/dist/utils/error.d.ts +51 -51
  31. package/dist/validation/index.d.ts +2 -2
  32. package/dist/validation/index.js +2 -2
  33. package/dist/validation/schemas/shared.d.ts +3 -1
  34. package/dist/validation/schemas/shared.js +6 -1
  35. package/dist/validation/schemas/skills.d.ts +54 -54
  36. package/dist/validation/schemas.d.ts +2306 -2306
  37. package/dist/validation/schemas.js +5 -4
  38. package/package.json +1 -1
@@ -37,8 +37,8 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
37
37
  authentication: unknown;
38
38
  signingSecretCredentialReferenceId: string | null;
39
39
  signatureVerification: {
40
- algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
41
- encoding: "base64" | "hex";
40
+ algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
41
+ encoding: "hex" | "base64";
42
42
  signature: {
43
43
  source: "query" | "header" | "body";
44
44
  key: string;
@@ -8,13 +8,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  id: string;
10
10
  }) => Promise<{
11
- tenantId: string;
12
- projectId: string;
13
- agentId: string;
14
- name: string | null;
15
11
  id: string;
12
+ name: string | null;
16
13
  createdAt: string;
17
14
  updatedAt: string;
15
+ agentId: string;
16
+ projectId: string;
17
+ tenantId: string;
18
18
  expiresAt: string | null;
19
19
  publicId: string;
20
20
  keyHash: string;
@@ -22,13 +22,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
22
22
  lastUsedAt: string | null;
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
- tenantId: string;
26
- projectId: string;
27
- agentId: string;
28
- name: string | null;
29
25
  id: string;
26
+ name: string | null;
30
27
  createdAt: string;
31
28
  updatedAt: string;
29
+ agentId: string;
30
+ projectId: string;
31
+ tenantId: string;
32
32
  expiresAt: string | null;
33
33
  publicId: string;
34
34
  keyHash: string;
@@ -39,13 +39,13 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
39
39
  scopes: ProjectScopeConfig;
40
40
  agentId?: string;
41
41
  }) => Promise<{
42
- tenantId: string;
43
- projectId: string;
44
- agentId: string;
45
- name: string | null;
46
42
  id: string;
43
+ name: string | null;
47
44
  createdAt: string;
48
45
  updatedAt: string;
46
+ agentId: string;
47
+ projectId: string;
48
+ tenantId: string;
49
49
  expiresAt: string | null;
50
50
  publicId: string;
51
51
  keyHash: string;
@@ -66,13 +66,13 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
66
66
  };
67
67
  }>;
68
68
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
69
- tenantId: string;
70
- projectId: string;
71
- agentId: string;
72
- name: string | null;
73
69
  id: string;
70
+ name: string | null;
74
71
  createdAt: string;
75
72
  updatedAt: string;
73
+ agentId: string;
74
+ projectId: string;
75
+ tenantId: string;
76
76
  expiresAt: string | null;
77
77
  publicId: string;
78
78
  keyHash: string;
@@ -6,13 +6,15 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
6
6
  //#region src/data-access/runtime/apps.d.ts
7
7
  declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
8
8
  type: AppType;
9
- description: string | null;
10
- tenantId: string | null;
11
- projectId: string | null;
12
- name: string;
9
+ enabled: boolean;
13
10
  id: string;
11
+ name: string;
14
12
  createdAt: string;
15
13
  updatedAt: string;
14
+ projectId: string | null;
15
+ tenantId: string | null;
16
+ description: string | null;
17
+ prompt: string | null;
16
18
  config: {
17
19
  type: "web_client";
18
20
  webClient: {
@@ -30,8 +32,6 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
30
32
  type: "api";
31
33
  api: Record<string, never>;
32
34
  };
33
- enabled: boolean;
34
- prompt: string | null;
35
35
  lastUsedAt: string | null;
36
36
  defaultProjectId: string | null;
37
37
  defaultAgentId: string | null;
@@ -62,13 +62,15 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
62
62
  }>;
63
63
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
64
64
  type: AppType;
65
- description: string | null;
66
- tenantId: string | null;
67
- projectId: string | null;
68
- name: string;
65
+ enabled: boolean;
69
66
  id: string;
67
+ name: string;
70
68
  createdAt: string;
71
69
  updatedAt: string;
70
+ projectId: string | null;
71
+ tenantId: string | null;
72
+ description: string | null;
73
+ prompt: string | null;
72
74
  config: {
73
75
  type: "web_client";
74
76
  webClient: {
@@ -86,8 +88,6 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
86
88
  type: "api";
87
89
  api: Record<string, never>;
88
90
  };
89
- enabled: boolean;
90
- prompt: string | null;
91
91
  lastUsedAt: string | null;
92
92
  defaultProjectId: string | null;
93
93
  defaultAgentId: string | null;
@@ -15,12 +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
- title: string | null;
19
- tenantId: string;
20
- projectId: string;
21
- agentId: string | null;
22
18
  id: string;
23
- metadata: ConversationMetadata | null;
24
19
  ref: {
25
20
  type: "commit" | "tag" | "branch";
26
21
  name: string;
@@ -28,6 +23,11 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
28
23
  } | null;
29
24
  createdAt: string;
30
25
  updatedAt: string;
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,12 +84,7 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
84
84
  scopes: ProjectScopeConfig;
85
85
  conversationId: string;
86
86
  }) => Promise<{
87
- title: string | null;
88
- tenantId: string;
89
- projectId: string;
90
- agentId: string | null;
91
87
  id: string;
92
- metadata: ConversationMetadata | null;
93
88
  ref: {
94
89
  type: "commit" | "tag" | "branch";
95
90
  name: string;
@@ -97,6 +92,11 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
97
92
  } | null;
98
93
  createdAt: string;
99
94
  updatedAt: string;
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,12 +120,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
120
120
  metadata?: ConversationMetadata | null | undefined;
121
121
  contextConfigId?: string | undefined;
122
122
  } | {
123
- title: string | null;
124
- tenantId: string;
125
- projectId: string;
126
- agentId: string | null;
127
123
  id: string;
128
- metadata: ConversationMetadata | null;
129
124
  ref: {
130
125
  type: "commit" | "tag" | "branch";
131
126
  name: string;
@@ -133,6 +128,11 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
133
128
  } | null;
134
129
  createdAt: string;
135
130
  updatedAt: string;
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,12 +152,7 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
152
152
  scopes: ProjectScopeConfig;
153
153
  conversationId: string;
154
154
  }) => Promise<{
155
- title: string | null;
156
- tenantId: string;
157
- projectId: string;
158
- agentId: string | null;
159
155
  id: string;
160
- metadata: ConversationMetadata | null;
161
156
  ref: {
162
157
  type: "commit" | "tag" | "branch";
163
158
  name: string;
@@ -165,6 +160,11 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
165
160
  } | null;
166
161
  createdAt: string;
167
162
  updatedAt: string;
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;
@@ -59,11 +59,11 @@ declare const listFeedback: (db: AgentsRunDatabaseClient) => (params: {
59
59
  }>;
60
60
  declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: FeedbackInsert) => Promise<{
61
61
  type: "positive" | "negative";
62
- tenantId: string;
63
- projectId: string;
64
62
  id: string;
65
63
  createdAt: string;
66
64
  updatedAt: string;
65
+ projectId: string;
66
+ tenantId: string;
67
67
  details: string | null;
68
68
  conversationId: string;
69
69
  messageId: string | null;
@@ -88,11 +88,11 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
88
88
  feedbackId: string;
89
89
  }) => Promise<{
90
90
  type: "positive" | "negative";
91
- tenantId: string;
92
- projectId: string;
93
91
  id: string;
94
92
  createdAt: string;
95
93
  updatedAt: string;
94
+ projectId: string;
95
+ tenantId: string;
96
96
  details: string | null;
97
97
  conversationId: string;
98
98
  messageId: string | null;
@@ -10,13 +10,13 @@ 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;
16
- metadata: MessageMetadata | null;
17
- content: MessageContent;
18
14
  createdAt: string;
19
15
  updatedAt: string;
16
+ projectId: string;
17
+ tenantId: string;
18
+ metadata: MessageMetadata | null;
19
+ content: MessageContent;
20
20
  fromSubAgentId: string | null;
21
21
  toSubAgentId: string | null;
22
22
  fromExternalAgentId: string | null;
@@ -144,13 +144,13 @@ 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;
150
- metadata: MessageMetadata | null;
151
- content: MessageContent;
152
148
  createdAt: string;
153
149
  updatedAt: string;
150
+ projectId: string;
151
+ tenantId: string;
152
+ metadata: MessageMetadata | null;
153
+ content: MessageContent;
154
154
  fromSubAgentId: string | null;
155
155
  toSubAgentId: string | null;
156
156
  fromExternalAgentId: string | null;
@@ -197,13 +197,13 @@ 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;
203
- metadata: MessageMetadata | null;
204
- content: MessageContent;
205
201
  createdAt: string;
206
202
  updatedAt: string;
203
+ projectId: string;
204
+ tenantId: string;
205
+ metadata: MessageMetadata | null;
206
+ content: MessageContent;
207
207
  fromSubAgentId: string | null;
208
208
  toSubAgentId: string | null;
209
209
  fromExternalAgentId: string | null;
@@ -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,13 +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
- agentId: string;
13
- subAgentId: string;
14
10
  id: string;
15
- metadata: TaskMetadataConfig | null;
16
- status: string;
17
11
  ref: {
18
12
  type: "commit" | "tag" | "branch";
19
13
  name: string;
@@ -21,6 +15,12 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
21
15
  } | null;
22
16
  createdAt: string;
23
17
  updatedAt: string;
18
+ agentId: string;
19
+ projectId: string;
20
+ tenantId: string;
21
+ metadata: TaskMetadataConfig | null;
22
+ status: string;
23
+ subAgentId: 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_core1342 from "drizzle-orm/pg-core";
1
+ import * as drizzle_orm_pg_core2211 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_core1342.jsonb>;
10
+ declare function jsonb(name: string): ReturnType<typeof drizzle_orm_pg_core2211.jsonb>;
11
11
  //#endregion
12
12
  export { decodeBackslashes, encodeBackslashes, jsonb };