@inkeep/agents-core 0.0.0-dev-20260310195220 → 0.0.0-dev-20260310212230

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 (29) hide show
  1. package/dist/auth/auth-schema.d.ts +85 -85
  2. package/dist/auth/auth-validation-schemas.d.ts +152 -152
  3. package/dist/auth/auth.d.ts +9 -9
  4. package/dist/auth/permissions.d.ts +9 -9
  5. package/dist/client-exports.d.ts +2 -2
  6. package/dist/constants/otel-attributes.d.ts +22 -0
  7. package/dist/constants/otel-attributes.js +22 -0
  8. package/dist/data-access/manage/agents.d.ts +38 -38
  9. package/dist/data-access/manage/artifactComponents.d.ts +10 -10
  10. package/dist/data-access/manage/contextConfigs.d.ts +16 -16
  11. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  12. package/dist/data-access/manage/functionTools.d.ts +16 -16
  13. package/dist/data-access/manage/skills.d.ts +16 -16
  14. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
  15. package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
  16. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  17. package/dist/data-access/manage/subAgents.d.ts +18 -18
  18. package/dist/data-access/manage/tools.d.ts +21 -21
  19. package/dist/data-access/runtime/apiKeys.d.ts +20 -20
  20. package/dist/data-access/runtime/conversations.d.ts +31 -31
  21. package/dist/data-access/runtime/messages.d.ts +18 -18
  22. package/dist/data-access/runtime/tasks.d.ts +9 -9
  23. package/dist/db/manage/manage-schema.d.ts +357 -357
  24. package/dist/db/runtime/runtime-schema.d.ts +288 -288
  25. package/dist/middleware/no-auth.d.ts +2 -2
  26. package/dist/validation/dolt-schemas.d.ts +1 -1
  27. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  28. package/dist/validation/schemas.d.ts +1909 -1909
  29. package/package.json +1 -1
@@ -19,17 +19,17 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
19
19
  id: string;
20
20
  createdAt: string;
21
21
  updatedAt: string;
22
+ agentId: string | null;
23
+ projectId: string;
24
+ tenantId: string;
25
+ title: string | null;
26
+ metadata: ConversationMetadata | null;
27
+ userId: string | null;
22
28
  ref: {
23
- type: "commit" | "tag" | "branch";
29
+ type: "tag" | "commit" | "branch";
24
30
  name: string;
25
31
  hash: string;
26
32
  } | null;
27
- userId: string | null;
28
- metadata: ConversationMetadata | null;
29
- tenantId: string;
30
- projectId: string;
31
- agentId: string | null;
32
- title: string | null;
33
33
  activeSubAgentId: string;
34
34
  lastContextResolution: string | null;
35
35
  }>;
@@ -44,7 +44,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
44
44
  agentId: string | null;
45
45
  activeSubAgentId: string;
46
46
  ref: {
47
- type: "commit" | "tag" | "branch";
47
+ type: "tag" | "commit" | "branch";
48
48
  name: string;
49
49
  hash: string;
50
50
  } | null;
@@ -70,7 +70,7 @@ declare const updateConversationActiveSubAgent: (db: AgentsRunDatabaseClient) =>
70
70
  agentId: string | null;
71
71
  activeSubAgentId: string;
72
72
  ref: {
73
- type: "commit" | "tag" | "branch";
73
+ type: "tag" | "commit" | "branch";
74
74
  name: string;
75
75
  hash: string;
76
76
  } | null;
@@ -88,17 +88,17 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
88
88
  id: string;
89
89
  createdAt: string;
90
90
  updatedAt: string;
91
+ agentId: string | null;
92
+ projectId: string;
93
+ tenantId: string;
94
+ title: string | null;
95
+ metadata: ConversationMetadata | null;
96
+ userId: string | null;
91
97
  ref: {
92
- type: "commit" | "tag" | "branch";
98
+ type: "tag" | "commit" | "branch";
93
99
  name: string;
94
100
  hash: string;
95
101
  } | null;
96
- userId: string | null;
97
- metadata: ConversationMetadata | null;
98
- tenantId: string;
99
- projectId: string;
100
- agentId: string | null;
101
- title: string | null;
102
102
  activeSubAgentId: string;
103
103
  lastContextResolution: string | null;
104
104
  } | undefined>;
@@ -108,7 +108,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
108
108
  tenantId: string;
109
109
  id: string;
110
110
  ref: {
111
- type: "commit" | "tag" | "branch";
111
+ type: "tag" | "commit" | "branch";
112
112
  name: string;
113
113
  hash: string;
114
114
  };
@@ -124,17 +124,17 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
124
124
  id: string;
125
125
  createdAt: string;
126
126
  updatedAt: string;
127
+ agentId: string | null;
128
+ projectId: string;
129
+ tenantId: string;
130
+ title: string | null;
131
+ metadata: ConversationMetadata | null;
132
+ userId: string | null;
127
133
  ref: {
128
- type: "commit" | "tag" | "branch";
134
+ type: "tag" | "commit" | "branch";
129
135
  name: string;
130
136
  hash: string;
131
137
  } | null;
132
- userId: string | null;
133
- metadata: ConversationMetadata | null;
134
- tenantId: string;
135
- projectId: string;
136
- agentId: string | null;
137
- title: string | null;
138
138
  activeSubAgentId: string;
139
139
  lastContextResolution: string | null;
140
140
  }>;
@@ -156,17 +156,17 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
156
156
  id: string;
157
157
  createdAt: string;
158
158
  updatedAt: string;
159
+ agentId: string | null;
160
+ projectId: string;
161
+ tenantId: string;
162
+ title: string | null;
163
+ metadata: ConversationMetadata | null;
164
+ userId: string | null;
159
165
  ref: {
160
- type: "commit" | "tag" | "branch";
166
+ type: "tag" | "commit" | "branch";
161
167
  name: string;
162
168
  hash: string;
163
169
  } | null;
164
- userId: string | null;
165
- metadata: ConversationMetadata | null;
166
- tenantId: string;
167
- projectId: string;
168
- agentId: string | null;
169
- title: string | null;
170
170
  activeSubAgentId: string;
171
171
  lastContextResolution: string | null;
172
172
  } | undefined>;
@@ -13,23 +13,23 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
13
13
  id: string;
14
14
  createdAt: string;
15
15
  updatedAt: string;
16
- metadata: MessageMetadata | null;
17
- role: string;
18
- tenantId: string;
19
16
  projectId: string;
17
+ tenantId: string;
18
+ metadata: MessageMetadata | null;
20
19
  content: MessageContent;
21
- conversationId: string;
22
20
  fromSubAgentId: string | null;
23
21
  toSubAgentId: string | null;
24
22
  fromExternalAgentId: string | null;
25
23
  toExternalAgentId: string | null;
24
+ taskId: string | null;
25
+ a2aTaskId: string | null;
26
+ conversationId: string;
27
+ role: string;
26
28
  fromTeamAgentId: string | null;
27
29
  toTeamAgentId: string | null;
28
30
  visibility: string;
29
31
  messageType: string;
30
- taskId: string | null;
31
32
  parentMessageId: string | null;
32
- a2aTaskId: string | null;
33
33
  a2aSessionId: string | null;
34
34
  } | undefined>;
35
35
  declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
@@ -144,23 +144,23 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
144
144
  id: string;
145
145
  createdAt: string;
146
146
  updatedAt: string;
147
- metadata: MessageMetadata | null;
148
- role: string;
149
- tenantId: string;
150
147
  projectId: string;
148
+ tenantId: string;
149
+ metadata: MessageMetadata | null;
151
150
  content: MessageContent;
152
- conversationId: string;
153
151
  fromSubAgentId: string | null;
154
152
  toSubAgentId: string | null;
155
153
  fromExternalAgentId: string | null;
156
154
  toExternalAgentId: string | null;
155
+ taskId: string | null;
156
+ a2aTaskId: string | null;
157
+ conversationId: string;
158
+ role: string;
157
159
  fromTeamAgentId: string | null;
158
160
  toTeamAgentId: string | null;
159
161
  visibility: string;
160
162
  messageType: string;
161
- taskId: string | null;
162
163
  parentMessageId: string | null;
163
- a2aTaskId: string | null;
164
164
  a2aSessionId: string | null;
165
165
  }>;
166
166
  declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
@@ -197,23 +197,23 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
197
197
  id: string;
198
198
  createdAt: string;
199
199
  updatedAt: string;
200
- metadata: MessageMetadata | null;
201
- role: string;
202
- tenantId: string;
203
200
  projectId: string;
201
+ tenantId: string;
202
+ metadata: MessageMetadata | null;
204
203
  content: MessageContent;
205
- conversationId: string;
206
204
  fromSubAgentId: string | null;
207
205
  toSubAgentId: string | null;
208
206
  fromExternalAgentId: string | null;
209
207
  toExternalAgentId: string | null;
208
+ taskId: string | null;
209
+ a2aTaskId: string | null;
210
+ conversationId: string;
211
+ role: string;
210
212
  fromTeamAgentId: string | null;
211
213
  toTeamAgentId: string | null;
212
214
  visibility: string;
213
215
  messageType: string;
214
- taskId: string | null;
215
216
  parentMessageId: string | null;
216
- a2aTaskId: string | null;
217
217
  a2aSessionId: string | null;
218
218
  }>;
219
219
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -9,18 +9,18 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
9
9
  id: string;
10
10
  createdAt: string;
11
11
  updatedAt: string;
12
- ref: {
13
- type: "commit" | "tag" | "branch";
14
- name: string;
15
- hash: string;
16
- } | null;
12
+ agentId: string;
13
+ projectId: string;
14
+ tenantId: string;
17
15
  metadata: TaskMetadataConfig | null;
18
16
  status: string;
19
- tenantId: string;
20
- projectId: string;
21
- agentId: string;
22
17
  subAgentId: string;
23
18
  contextId: string;
19
+ ref: {
20
+ type: "tag" | "commit" | "branch";
21
+ name: string;
22
+ hash: string;
23
+ } | null;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
26
26
  id: string;
@@ -36,7 +36,7 @@ declare const updateTask: (db: AgentsRunDatabaseClient) => (params: {
36
36
  updatedAt: string;
37
37
  contextId: string;
38
38
  ref: {
39
- type: "commit" | "tag" | "branch";
39
+ type: "tag" | "commit" | "branch";
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;