@inkeep/agents-core 0.0.0-dev-20260324140455 → 0.0.0-dev-20260324154345

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 (53) 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/client-exports.d.ts +5 -5
  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 +12 -12
  9. package/dist/data-access/manage/credentialReferences.js +1 -1
  10. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  11. package/dist/data-access/manage/dataComponents.js +1 -1
  12. package/dist/data-access/manage/functionTools.d.ts +14 -14
  13. package/dist/data-access/manage/skills.d.ts +19 -19
  14. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  15. package/dist/data-access/manage/subAgentRelations.d.ts +26 -26
  16. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  17. package/dist/data-access/manage/subAgents.d.ts +18 -18
  18. package/dist/data-access/manage/tools.d.ts +24 -24
  19. package/dist/data-access/manage/triggers.d.ts +2 -2
  20. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  21. package/dist/data-access/runtime/apps.d.ts +16 -16
  22. package/dist/data-access/runtime/conversations.d.ts +24 -24
  23. package/dist/data-access/runtime/messages.d.ts +21 -21
  24. package/dist/data-access/runtime/tasks.d.ts +5 -5
  25. package/dist/db/manage/manage-schema.d.ts +453 -453
  26. package/dist/db/runtime/runtime-schema.d.ts +330 -330
  27. package/dist/db/runtime/test-runtime-client.js +1 -1
  28. package/dist/dolt/advisory-lock.d.ts +7 -0
  29. package/dist/dolt/advisory-lock.js +18 -0
  30. package/dist/dolt/branches-api.d.ts +19 -9
  31. package/dist/dolt/branches-api.js +58 -29
  32. package/dist/dolt/index.d.ts +7 -4
  33. package/dist/dolt/index.js +7 -4
  34. package/dist/dolt/merge.d.ts +41 -5
  35. package/dist/dolt/merge.js +161 -24
  36. package/dist/dolt/pk-map.d.ts +6 -0
  37. package/dist/dolt/pk-map.js +27 -0
  38. package/dist/dolt/ref-middleware.d.ts +2 -1
  39. package/dist/dolt/ref-middleware.js +18 -4
  40. package/dist/dolt/resolve-conflicts.d.ts +10 -0
  41. package/dist/dolt/resolve-conflicts.js +100 -0
  42. package/dist/dolt/schema-sync.js +17 -17
  43. package/dist/index.d.ts +8 -5
  44. package/dist/index.js +9 -6
  45. package/dist/middleware/no-auth.d.ts +2 -2
  46. package/dist/utils/index.js +1 -1
  47. package/dist/validation/dolt-schemas.d.ts +95 -2
  48. package/dist/validation/dolt-schemas.js +54 -2
  49. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  50. package/dist/validation/index.d.ts +2 -2
  51. package/dist/validation/index.js +2 -2
  52. package/dist/validation/schemas.d.ts +2087 -2087
  53. package/package.json +1 -1
@@ -5,15 +5,18 @@ 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
- type: AppType;
9
- description: string | null;
10
- name: string;
11
- tenantId: string | null;
12
- projectId: string | null;
13
8
  id: string;
9
+ name: string;
14
10
  createdAt: string;
15
11
  updatedAt: string;
12
+ description: string | null;
16
13
  enabled: boolean;
14
+ type: AppType;
15
+ projectId: string | null;
16
+ tenantId: string | null;
17
+ lastUsedAt: string | null;
18
+ defaultProjectId: string | null;
19
+ defaultAgentId: string | null;
17
20
  config: {
18
21
  type: "web_client";
19
22
  webClient: {
@@ -23,9 +26,6 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
23
26
  type: "api";
24
27
  api: Record<string, never>;
25
28
  };
26
- lastUsedAt: string | null;
27
- defaultProjectId: string | null;
28
- defaultAgentId: string | null;
29
29
  } | undefined>;
30
30
  declare const updateAppLastUsed: (db: AgentsRunDatabaseClient) => (id: string) => Promise<void>;
31
31
  declare const getAppByIdForTenant: (db: AgentsRunDatabaseClient) => (params: {
@@ -52,15 +52,18 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
52
52
  };
53
53
  }>;
54
54
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
55
- type: AppType;
56
- description: string | null;
57
- name: string;
58
- tenantId: string | null;
59
- projectId: string | null;
60
55
  id: string;
56
+ name: string;
61
57
  createdAt: string;
62
58
  updatedAt: string;
59
+ description: string | null;
63
60
  enabled: boolean;
61
+ type: AppType;
62
+ projectId: string | null;
63
+ tenantId: string | null;
64
+ lastUsedAt: string | null;
65
+ defaultProjectId: string | null;
66
+ defaultAgentId: string | null;
64
67
  config: {
65
68
  type: "web_client";
66
69
  webClient: {
@@ -70,9 +73,6 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
70
73
  type: "api";
71
74
  api: Record<string, never>;
72
75
  };
73
- lastUsedAt: string | null;
74
- defaultProjectId: string | null;
75
- defaultAgentId: string | null;
76
76
  }>;
77
77
  declare const updateAppForTenant: (db: AgentsRunDatabaseClient) => (params: {
78
78
  scopes: TenantScopeConfig;
@@ -16,20 +16,20 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
16
16
  total: number;
17
17
  }>;
18
18
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
19
- title: string | null;
20
- tenantId: string;
21
- projectId: string;
22
19
  id: string;
23
20
  createdAt: string;
24
21
  updatedAt: string;
25
- metadata: ConversationMetadata | null;
26
- agentId: string | null;
27
- userId: string | null;
28
22
  ref: {
29
23
  type: "commit" | "tag" | "branch";
30
24
  name: string;
31
25
  hash: string;
32
26
  } | null;
27
+ userId: string | null;
28
+ metadata: ConversationMetadata | null;
29
+ agentId: string | null;
30
+ projectId: string;
31
+ tenantId: string;
32
+ title: string | null;
33
33
  activeSubAgentId: string;
34
34
  lastContextResolution: string | null;
35
35
  }>;
@@ -85,20 +85,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
85
85
  scopes: ProjectScopeConfig;
86
86
  conversationId: string;
87
87
  }) => Promise<{
88
- title: string | null;
89
- tenantId: string;
90
- projectId: string;
91
88
  id: string;
92
89
  createdAt: string;
93
90
  updatedAt: string;
94
- metadata: ConversationMetadata | null;
95
- agentId: string | null;
96
- userId: string | null;
97
91
  ref: {
98
92
  type: "commit" | "tag" | "branch";
99
93
  name: string;
100
94
  hash: string;
101
95
  } | null;
96
+ userId: string | null;
97
+ metadata: ConversationMetadata | null;
98
+ agentId: string | null;
99
+ projectId: string;
100
+ tenantId: string;
101
+ title: string | null;
102
102
  activeSubAgentId: string;
103
103
  lastContextResolution: string | null;
104
104
  } | undefined>;
@@ -121,20 +121,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
121
121
  metadata?: ConversationMetadata | null | undefined;
122
122
  contextConfigId?: string | undefined;
123
123
  } | {
124
- title: string | null;
125
- tenantId: string;
126
- projectId: string;
127
124
  id: string;
128
125
  createdAt: string;
129
126
  updatedAt: string;
130
- metadata: ConversationMetadata | null;
131
- agentId: string | null;
132
- userId: string | null;
133
127
  ref: {
134
128
  type: "commit" | "tag" | "branch";
135
129
  name: string;
136
130
  hash: string;
137
131
  } | null;
132
+ userId: string | null;
133
+ metadata: ConversationMetadata | null;
134
+ agentId: string | null;
135
+ projectId: string;
136
+ tenantId: string;
137
+ title: string | null;
138
138
  activeSubAgentId: string;
139
139
  lastContextResolution: string | null;
140
140
  }>;
@@ -153,20 +153,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
153
153
  scopes: ProjectScopeConfig;
154
154
  conversationId: string;
155
155
  }) => Promise<{
156
- title: string | null;
157
- tenantId: string;
158
- projectId: string;
159
156
  id: string;
160
157
  createdAt: string;
161
158
  updatedAt: string;
162
- metadata: ConversationMetadata | null;
163
- agentId: string | null;
164
- userId: string | null;
165
159
  ref: {
166
160
  type: "commit" | "tag" | "branch";
167
161
  name: string;
168
162
  hash: string;
169
163
  } | null;
164
+ userId: string | null;
165
+ metadata: ConversationMetadata | null;
166
+ agentId: string | null;
167
+ projectId: string;
168
+ tenantId: string;
169
+ title: string | null;
170
170
  activeSubAgentId: string;
171
171
  lastContextResolution: string | null;
172
172
  } | undefined>;
@@ -10,21 +10,21 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
- content: MessageContent;
14
- tenantId: string;
13
+ id: string;
14
+ createdAt: string;
15
+ updatedAt: string;
16
+ metadata: MessageMetadata | null;
17
+ role: string;
15
18
  projectId: string;
19
+ tenantId: string;
20
+ content: MessageContent;
16
21
  fromSubAgentId: string | null;
17
22
  toSubAgentId: string | null;
18
23
  fromExternalAgentId: string | null;
19
24
  toExternalAgentId: string | null;
20
25
  taskId: string | null;
21
26
  a2aTaskId: string | null;
22
- id: string;
23
- createdAt: string;
24
- updatedAt: string;
25
- metadata: MessageMetadata | null;
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
- content: MessageContent;
148
- tenantId: string;
147
+ id: string;
148
+ createdAt: string;
149
+ updatedAt: string;
150
+ metadata: MessageMetadata | null;
151
+ role: string;
149
152
  projectId: string;
153
+ tenantId: string;
154
+ content: MessageContent;
150
155
  fromSubAgentId: string | null;
151
156
  toSubAgentId: string | null;
152
157
  fromExternalAgentId: string | null;
153
158
  toExternalAgentId: string | null;
154
159
  taskId: string | null;
155
160
  a2aTaskId: string | null;
156
- id: string;
157
- createdAt: string;
158
- updatedAt: string;
159
- metadata: MessageMetadata | null;
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
- content: MessageContent;
201
- tenantId: string;
200
+ id: string;
201
+ createdAt: string;
202
+ updatedAt: string;
203
+ metadata: MessageMetadata | null;
204
+ role: string;
202
205
  projectId: string;
206
+ tenantId: string;
207
+ content: MessageContent;
203
208
  fromSubAgentId: string | null;
204
209
  toSubAgentId: string | null;
205
210
  fromExternalAgentId: string | null;
206
211
  toExternalAgentId: string | null;
207
212
  taskId: string | null;
208
213
  a2aTaskId: string | null;
209
- id: string;
210
- createdAt: string;
211
- updatedAt: string;
212
- metadata: MessageMetadata | null;
213
214
  conversationId: string;
214
- role: string;
215
215
  fromTeamAgentId: string | null;
216
216
  toTeamAgentId: string | null;
217
217
  visibility: string;
@@ -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;
12
- subAgentId: string;
13
10
  id: string;
14
11
  createdAt: string;
15
12
  updatedAt: string;
16
- metadata: TaskMetadataConfig | null;
17
- agentId: string;
18
13
  ref: {
19
14
  type: "commit" | "tag" | "branch";
20
15
  name: string;
21
16
  hash: string;
22
17
  } | null;
18
+ metadata: TaskMetadataConfig | null;
23
19
  status: string;
20
+ agentId: string;
21
+ projectId: string;
22
+ tenantId: string;
23
+ subAgentId: string;
24
24
  contextId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {