@inkeep/agents-core 0.0.0-dev-20260302234522 → 0.0.0-dev-20260303013812

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 +107 -107
  2. package/dist/auth/auth-validation-schemas.d.ts +152 -152
  3. package/dist/auth/auth.d.ts +54 -29
  4. package/dist/auth/auth.js +45 -3
  5. package/dist/auth/email-send-status-store.d.ts +10 -0
  6. package/dist/auth/email-send-status-store.js +20 -0
  7. package/dist/auth/permissions.d.ts +13 -13
  8. package/dist/client-exports.d.ts +4 -4
  9. package/dist/data-access/manage/agents.d.ts +20 -20
  10. package/dist/data-access/manage/artifactComponents.d.ts +12 -12
  11. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  12. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  13. package/dist/data-access/manage/functionTools.d.ts +14 -14
  14. package/dist/data-access/manage/skills.d.ts +12 -12
  15. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
  16. package/dist/data-access/manage/subAgentRelations.d.ts +24 -24
  17. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  18. package/dist/data-access/manage/subAgents.d.ts +12 -12
  19. package/dist/data-access/manage/tools.d.ts +18 -18
  20. package/dist/data-access/manage/triggers.d.ts +1 -1
  21. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  22. package/dist/data-access/runtime/conversations.d.ts +16 -16
  23. package/dist/data-access/runtime/messages.d.ts +6 -6
  24. package/dist/data-access/runtime/tasks.d.ts +4 -4
  25. package/dist/db/manage/manage-schema.d.ts +449 -449
  26. package/dist/db/runtime/runtime-schema.d.ts +294 -294
  27. package/dist/index.d.ts +2 -1
  28. package/dist/index.js +2 -1
  29. package/dist/middleware/no-auth.d.ts +2 -2
  30. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  31. package/dist/validation/schemas.d.ts +446 -446
  32. package/package.json +1 -1
@@ -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
- agentId: string;
13
- projectId: string;
14
- id: string;
15
11
  name: string | null;
12
+ id: string;
16
13
  createdAt: string;
17
14
  updatedAt: string;
15
+ projectId: string;
16
+ tenantId: string;
17
+ agentId: string;
18
18
  publicId: string;
19
19
  keyHash: string;
20
20
  keyPrefix: string;
@@ -22,13 +22,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
22
22
  expiresAt: string | null;
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
- tenantId: string;
26
- agentId: string;
27
- projectId: string;
28
- id: string;
29
25
  name: string | null;
26
+ id: string;
30
27
  createdAt: string;
31
28
  updatedAt: string;
29
+ projectId: string;
30
+ tenantId: string;
31
+ agentId: string;
32
32
  publicId: string;
33
33
  keyHash: string;
34
34
  keyPrefix: 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
- agentId: string;
44
- projectId: string;
45
- id: string;
46
42
  name: string | null;
43
+ id: string;
47
44
  createdAt: string;
48
45
  updatedAt: string;
46
+ projectId: string;
47
+ tenantId: string;
48
+ agentId: string;
49
49
  publicId: string;
50
50
  keyHash: string;
51
51
  keyPrefix: 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
- agentId: string;
71
- projectId: string;
72
- id: string;
73
69
  name: string | null;
70
+ id: string;
74
71
  createdAt: string;
75
72
  updatedAt: string;
73
+ projectId: string;
74
+ tenantId: string;
75
+ agentId: string;
76
76
  publicId: string;
77
77
  keyHash: string;
78
78
  keyPrefix: string;
@@ -17,14 +17,14 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
17
17
  }>;
18
18
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
19
19
  title: string | null;
20
- tenantId: string;
21
- userId: string | null;
22
- agentId: string | null;
23
- projectId: string;
24
20
  id: string;
25
21
  createdAt: string;
26
22
  updatedAt: string;
23
+ projectId: string;
24
+ tenantId: string;
27
25
  metadata: ConversationMetadata | null;
26
+ agentId: string | null;
27
+ userId: string | null;
28
28
  ref: {
29
29
  type: "commit" | "tag" | "branch";
30
30
  name: string;
@@ -86,14 +86,14 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
86
86
  conversationId: string;
87
87
  }) => Promise<{
88
88
  title: string | null;
89
- tenantId: string;
90
- userId: string | null;
91
- agentId: string | null;
92
- projectId: string;
93
89
  id: string;
94
90
  createdAt: string;
95
91
  updatedAt: string;
92
+ projectId: string;
93
+ tenantId: string;
96
94
  metadata: ConversationMetadata | null;
95
+ agentId: string | null;
96
+ userId: string | null;
97
97
  ref: {
98
98
  type: "commit" | "tag" | "branch";
99
99
  name: string;
@@ -122,14 +122,14 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
122
122
  contextConfigId?: string | undefined;
123
123
  } | {
124
124
  title: string | null;
125
- tenantId: string;
126
- userId: string | null;
127
- agentId: string | null;
128
- projectId: string;
129
125
  id: string;
130
126
  createdAt: string;
131
127
  updatedAt: string;
128
+ projectId: string;
129
+ tenantId: string;
132
130
  metadata: ConversationMetadata | null;
131
+ agentId: string | null;
132
+ userId: string | null;
133
133
  ref: {
134
134
  type: "commit" | "tag" | "branch";
135
135
  name: string;
@@ -154,14 +154,14 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
154
154
  conversationId: string;
155
155
  }) => Promise<{
156
156
  title: string | null;
157
- tenantId: string;
158
- userId: string | null;
159
- agentId: string | null;
160
- projectId: string;
161
157
  id: string;
162
158
  createdAt: string;
163
159
  updatedAt: string;
160
+ projectId: string;
161
+ tenantId: string;
164
162
  metadata: ConversationMetadata | null;
163
+ agentId: string | null;
164
+ userId: string | null;
165
165
  ref: {
166
166
  type: "commit" | "tag" | "branch";
167
167
  name: string;
@@ -10,8 +10,6 @@ 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
  fromSubAgentId: string | null;
16
14
  toSubAgentId: string | null;
17
15
  fromExternalAgentId: string | null;
@@ -21,6 +19,8 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
21
19
  id: string;
22
20
  createdAt: string;
23
21
  updatedAt: string;
22
+ projectId: string;
23
+ tenantId: string;
24
24
  metadata: MessageMetadata | null;
25
25
  content: MessageContent;
26
26
  conversationId: string;
@@ -141,8 +141,6 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
141
141
  id: string;
142
142
  }[]>;
143
143
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
144
- tenantId: string;
145
- projectId: string;
146
144
  fromSubAgentId: string | null;
147
145
  toSubAgentId: string | null;
148
146
  fromExternalAgentId: string | null;
@@ -152,6 +150,8 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
152
150
  id: string;
153
151
  createdAt: string;
154
152
  updatedAt: string;
153
+ projectId: string;
154
+ tenantId: string;
155
155
  metadata: MessageMetadata | null;
156
156
  content: MessageContent;
157
157
  conversationId: string;
@@ -194,8 +194,6 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
194
194
  scopes: ProjectScopeConfig;
195
195
  messageId: string;
196
196
  }) => Promise<{
197
- tenantId: string;
198
- projectId: string;
199
197
  fromSubAgentId: string | null;
200
198
  toSubAgentId: string | null;
201
199
  fromExternalAgentId: string | null;
@@ -205,6 +203,8 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
205
203
  id: string;
206
204
  createdAt: string;
207
205
  updatedAt: string;
206
+ projectId: string;
207
+ tenantId: string;
208
208
  metadata: MessageMetadata | null;
209
209
  content: MessageContent;
210
210
  conversationId: string;
@@ -6,15 +6,15 @@ 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
- status: string;
10
- tenantId: string;
11
- agentId: string;
12
- projectId: string;
13
9
  subAgentId: string;
14
10
  id: string;
15
11
  createdAt: string;
16
12
  updatedAt: string;
13
+ projectId: string;
14
+ tenantId: string;
17
15
  metadata: TaskMetadataConfig | null;
16
+ status: string;
17
+ agentId: string;
18
18
  contextId: string;
19
19
  ref: {
20
20
  type: "commit" | "tag" | "branch";