@inkeep/agents-core 0.0.0-dev-20260327225559 → 0.0.0-dev-20260328075633

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 +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/agents.d.ts +55 -55
  6. package/dist/data-access/manage/artifactComponents.d.ts +10 -10
  7. package/dist/data-access/manage/contextConfigs.d.ts +16 -16
  8. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  9. package/dist/data-access/manage/functionTools.d.ts +10 -10
  10. package/dist/data-access/manage/skills.d.ts +17 -17
  11. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
  12. package/dist/data-access/manage/subAgentRelations.d.ts +26 -26
  13. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  14. package/dist/data-access/manage/subAgents.d.ts +33 -33
  15. package/dist/data-access/manage/tools.d.ts +24 -24
  16. package/dist/data-access/manage/triggers.d.ts +1 -1
  17. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  18. package/dist/data-access/runtime/apps.d.ts +14 -14
  19. package/dist/data-access/runtime/conversations.d.ts +16 -16
  20. package/dist/data-access/runtime/messages.d.ts +15 -15
  21. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
  22. package/dist/data-access/runtime/tasks.d.ts +5 -5
  23. package/dist/db/manage/manage-schema.d.ts +360 -360
  24. package/dist/db/runtime/runtime-schema.d.ts +314 -314
  25. package/dist/utils/error.d.ts +51 -51
  26. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  27. package/dist/validation/schemas.d.ts +2210 -2210
  28. package/package.json +1 -1
@@ -5,19 +5,16 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
5
5
 
6
6
  //#region src/data-access/runtime/apps.d.ts
7
7
  declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
8
- name: string;
9
8
  type: AppType;
10
9
  description: string | null;
11
- tenantId: string | null;
12
- projectId: string | null;
10
+ name: string;
11
+ prompt: string | null;
13
12
  id: string;
14
13
  createdAt: string;
15
14
  updatedAt: string;
15
+ projectId: string | null;
16
+ tenantId: string | null;
16
17
  enabled: boolean;
17
- prompt: string | null;
18
- lastUsedAt: string | null;
19
- defaultProjectId: string | null;
20
- defaultAgentId: string | null;
21
18
  config: {
22
19
  type: "web_client";
23
20
  webClient: {
@@ -38,6 +35,9 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
38
35
  type: "api";
39
36
  api: Record<string, never>;
40
37
  };
38
+ lastUsedAt: string | null;
39
+ defaultProjectId: string | null;
40
+ defaultAgentId: string | null;
41
41
  } | undefined>;
42
42
  declare const updateAppLastUsed: (db: AgentsRunDatabaseClient) => (id: string) => Promise<void>;
43
43
  declare const getAppByIdForTenant: (db: AgentsRunDatabaseClient) => (params: {
@@ -64,19 +64,16 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
64
64
  };
65
65
  }>;
66
66
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
67
- name: string;
68
67
  type: AppType;
69
68
  description: string | null;
70
- tenantId: string | null;
71
- projectId: string | null;
69
+ name: string;
70
+ prompt: string | null;
72
71
  id: string;
73
72
  createdAt: string;
74
73
  updatedAt: string;
74
+ projectId: string | null;
75
+ tenantId: string | null;
75
76
  enabled: boolean;
76
- prompt: string | null;
77
- lastUsedAt: string | null;
78
- defaultProjectId: string | null;
79
- defaultAgentId: string | null;
80
77
  config: {
81
78
  type: "web_client";
82
79
  webClient: {
@@ -97,6 +94,9 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
97
94
  type: "api";
98
95
  api: Record<string, never>;
99
96
  };
97
+ lastUsedAt: string | null;
98
+ defaultProjectId: string | null;
99
+ defaultAgentId: string | null;
100
100
  }>;
101
101
  declare const updateAppForTenant: (db: AgentsRunDatabaseClient) => (params: {
102
102
  scopes: TenantScopeConfig;
@@ -16,19 +16,19 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
16
16
  }>;
17
17
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
18
18
  title: string | null;
19
- tenantId: string;
20
- projectId: string;
19
+ metadata: ConversationMetadata | null;
21
20
  id: string;
22
21
  createdAt: string;
23
22
  updatedAt: string;
24
23
  agentId: string | null;
25
- metadata: ConversationMetadata | null;
24
+ projectId: string;
25
+ tenantId: string;
26
+ userId: string | null;
26
27
  ref: {
27
28
  type: "commit" | "tag" | "branch";
28
29
  name: string;
29
30
  hash: string;
30
31
  } | null;
31
- userId: string | null;
32
32
  activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
34
34
  }>;
@@ -85,19 +85,19 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
85
85
  conversationId: string;
86
86
  }) => Promise<{
87
87
  title: string | null;
88
- tenantId: string;
89
- projectId: string;
88
+ metadata: ConversationMetadata | null;
90
89
  id: string;
91
90
  createdAt: string;
92
91
  updatedAt: string;
93
92
  agentId: string | null;
94
- metadata: ConversationMetadata | null;
93
+ projectId: string;
94
+ tenantId: string;
95
+ userId: string | null;
95
96
  ref: {
96
97
  type: "commit" | "tag" | "branch";
97
98
  name: string;
98
99
  hash: string;
99
100
  } | null;
100
- userId: string | null;
101
101
  activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
103
103
  } | undefined>;
@@ -121,19 +121,19 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
121
121
  contextConfigId?: string | undefined;
122
122
  } | {
123
123
  title: string | null;
124
- tenantId: string;
125
- projectId: string;
124
+ metadata: ConversationMetadata | null;
126
125
  id: string;
127
126
  createdAt: string;
128
127
  updatedAt: string;
129
128
  agentId: string | null;
130
- metadata: ConversationMetadata | null;
129
+ projectId: string;
130
+ tenantId: string;
131
+ userId: string | null;
131
132
  ref: {
132
133
  type: "commit" | "tag" | "branch";
133
134
  name: string;
134
135
  hash: string;
135
136
  } | null;
136
- userId: string | null;
137
137
  activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
139
139
  }>;
@@ -153,19 +153,19 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
153
153
  conversationId: string;
154
154
  }) => Promise<{
155
155
  title: string | null;
156
- tenantId: string;
157
- projectId: string;
156
+ metadata: ConversationMetadata | null;
158
157
  id: string;
159
158
  createdAt: string;
160
159
  updatedAt: string;
161
160
  agentId: string | null;
162
- metadata: ConversationMetadata | null;
161
+ projectId: string;
162
+ tenantId: string;
163
+ userId: string | null;
163
164
  ref: {
164
165
  type: "commit" | "tag" | "branch";
165
166
  name: string;
166
167
  hash: string;
167
168
  } | null;
168
- userId: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -10,15 +10,15 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
- content: MessageContent;
14
- tenantId: string;
15
- projectId: string;
13
+ metadata: MessageMetadata | null;
16
14
  id: string;
17
15
  createdAt: string;
18
16
  updatedAt: string;
19
- metadata: MessageMetadata | null;
20
- role: string;
17
+ projectId: string;
18
+ tenantId: string;
19
+ content: MessageContent;
21
20
  conversationId: string;
21
+ role: string;
22
22
  fromSubAgentId: string | null;
23
23
  toSubAgentId: string | null;
24
24
  fromExternalAgentId: string | null;
@@ -144,15 +144,15 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
144
144
  scopes: ProjectScopeConfig;
145
145
  data: Omit<MessageInsert, "tenantId" | "projectId">;
146
146
  }) => Promise<{
147
- content: MessageContent;
148
- tenantId: string;
149
- projectId: string;
147
+ metadata: MessageMetadata | null;
150
148
  id: string;
151
149
  createdAt: string;
152
150
  updatedAt: string;
153
- metadata: MessageMetadata | null;
154
- role: string;
151
+ projectId: string;
152
+ tenantId: string;
153
+ content: MessageContent;
155
154
  conversationId: string;
155
+ role: string;
156
156
  fromSubAgentId: string | null;
157
157
  toSubAgentId: string | null;
158
158
  fromExternalAgentId: string | null;
@@ -197,15 +197,15 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
197
197
  scopes: ProjectScopeConfig;
198
198
  messageId: string;
199
199
  }) => Promise<{
200
- content: MessageContent;
201
- tenantId: string;
202
- projectId: string;
200
+ metadata: MessageMetadata | null;
203
201
  id: string;
204
202
  createdAt: string;
205
203
  updatedAt: string;
206
- metadata: MessageMetadata | null;
207
- role: string;
204
+ projectId: string;
205
+ tenantId: string;
206
+ content: MessageContent;
208
207
  conversationId: string;
208
+ role: string;
209
209
  fromSubAgentId: string | null;
210
210
  toSubAgentId: string | null;
211
211
  fromExternalAgentId: string | null;
@@ -39,7 +39,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
39
39
  name: string;
40
40
  hash: string;
41
41
  } | null;
42
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
42
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
43
43
  scheduledFor: string;
44
44
  startedAt: string | null;
45
45
  completedAt: string | null;
@@ -193,7 +193,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
193
193
  name: string;
194
194
  hash: string;
195
195
  } | null;
196
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
196
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
197
197
  scheduledFor: string;
198
198
  startedAt: string | null;
199
199
  completedAt: string | null;
@@ -232,7 +232,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
232
232
  name: string;
233
233
  hash: string;
234
234
  } | null;
235
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
235
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
236
236
  scheduledFor: string;
237
237
  startedAt: string | null;
238
238
  completedAt: string | null;
@@ -7,21 +7,21 @@ 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
- status: string;
10
+ metadata: TaskMetadataConfig | null;
13
11
  id: string;
14
12
  createdAt: string;
15
13
  updatedAt: string;
16
14
  agentId: string;
17
- metadata: TaskMetadataConfig | null;
15
+ projectId: string;
16
+ tenantId: string;
18
17
  ref: {
19
18
  type: "commit" | "tag" | "branch";
20
19
  name: string;
21
20
  hash: string;
22
21
  } | null;
23
- subAgentId: string;
22
+ status: string;
24
23
  contextId: string;
24
+ subAgentId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
27
27
  id: string;