@inkeep/agents-core 0.0.0-dev-20260220194529 → 0.0.0-dev-20260220231539

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 +83 -83
  2. package/dist/auth/auth-validation-schemas.d.ts +148 -148
  3. package/dist/auth/auth.d.ts +18 -18
  4. package/dist/auth/permissions.d.ts +9 -9
  5. package/dist/data-access/manage/agents.d.ts +10 -10
  6. package/dist/data-access/manage/artifactComponents.d.ts +4 -4
  7. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  8. package/dist/data-access/manage/functionTools.d.ts +4 -4
  9. package/dist/data-access/manage/skills.d.ts +9 -9
  10. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +6 -6
  11. package/dist/data-access/manage/subAgentRelations.d.ts +2 -2
  12. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +6 -6
  13. package/dist/data-access/manage/subAgents.d.ts +6 -6
  14. package/dist/data-access/manage/tools.d.ts +12 -12
  15. package/dist/data-access/manage/triggers.d.ts +2 -2
  16. package/dist/data-access/runtime/apiKeys.d.ts +8 -8
  17. package/dist/data-access/runtime/conversations.d.ts +31 -31
  18. package/dist/data-access/runtime/messages.d.ts +6 -6
  19. package/dist/data-access/runtime/tasks.d.ts +8 -8
  20. package/dist/db/manage/manage-schema.d.ts +449 -449
  21. package/dist/db/runtime/runtime-schema.d.ts +297 -297
  22. package/dist/middleware/no-auth.d.ts +2 -2
  23. package/dist/validation/dolt-schemas.d.ts +1 -1
  24. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  25. package/dist/validation/schemas.d.ts +1772 -1772
  26. package/dist/validation/stream-event-schemas.d.ts +4 -0
  27. package/dist/validation/stream-event-schemas.js +3 -1
  28. package/package.json +1 -1
@@ -18,14 +18,14 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
18
18
  scopes: ProjectScopeConfig;
19
19
  toolId: string;
20
20
  }) => Promise<{
21
- name: string;
22
21
  id: string;
22
+ name: string;
23
23
  createdAt: string;
24
24
  updatedAt: string;
25
- projectId: string;
26
- tenantId: string;
27
25
  description: string | null;
28
26
  headers: Record<string, string> | null;
27
+ projectId: string;
28
+ tenantId: string;
29
29
  config: {
30
30
  type: "mcp";
31
31
  mcp: ToolMcpConfig;
@@ -76,14 +76,14 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
76
76
  };
77
77
  }>;
78
78
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
79
- name: string;
80
79
  id: string;
80
+ name: string;
81
81
  createdAt: string;
82
82
  updatedAt: string;
83
- projectId: string;
84
- tenantId: string;
85
83
  description: string | null;
86
84
  headers: Record<string, string> | null;
85
+ projectId: string;
86
+ tenantId: string;
87
87
  config: {
88
88
  type: "mcp";
89
89
  mcp: ToolMcpConfig;
@@ -136,11 +136,11 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
136
136
  id: string;
137
137
  createdAt: string;
138
138
  updatedAt: string;
139
+ headers: Record<string, string> | null;
139
140
  agentId: string;
140
141
  projectId: string;
141
142
  tenantId: string;
142
143
  subAgentId: string;
143
- headers: Record<string, string> | null;
144
144
  toolId: string;
145
145
  toolPolicies: Record<string, {
146
146
  needsApproval?: boolean;
@@ -155,11 +155,11 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
155
155
  id: string;
156
156
  createdAt: string;
157
157
  updatedAt: string;
158
+ headers: Record<string, string> | null;
158
159
  agentId: string;
159
160
  projectId: string;
160
161
  tenantId: string;
161
162
  subAgentId: string;
162
- headers: Record<string, string> | null;
163
163
  toolId: string;
164
164
  toolPolicies: Record<string, {
165
165
  needsApproval?: boolean;
@@ -183,11 +183,11 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
183
183
  id: string;
184
184
  createdAt: string;
185
185
  updatedAt: string;
186
+ headers: Record<string, string> | null;
186
187
  agentId: string;
187
188
  projectId: string;
188
189
  tenantId: string;
189
190
  subAgentId: string;
190
- headers: Record<string, string> | null;
191
191
  toolId: string;
192
192
  toolPolicies: Record<string, {
193
193
  needsApproval?: boolean;
@@ -200,14 +200,14 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
200
200
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
201
201
  data: ToolInsert;
202
202
  }) => Promise<{
203
- name: string;
204
203
  id: string;
204
+ name: string;
205
205
  createdAt: string;
206
206
  updatedAt: string;
207
- projectId: string;
208
- tenantId: string;
209
207
  description: string | null;
210
208
  headers: Record<string, string> | null;
209
+ projectId: string;
210
+ tenantId: string;
211
211
  config: {
212
212
  type: "mcp";
213
213
  mcp: ToolMcpConfig;
@@ -40,13 +40,13 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
40
40
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
41
41
  encoding: "hex" | "base64";
42
42
  signature: {
43
- source: "query" | "header" | "body";
43
+ source: "query" | "body" | "header";
44
44
  key: string;
45
45
  prefix?: string | undefined;
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "literal" | "header" | "body";
49
+ source: "literal" | "body" | "header";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -7,10 +7,11 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
7
7
  scopes: ProjectScopeConfig;
8
8
  id: string;
9
9
  }) => Promise<{
10
- name: string | null;
11
10
  id: string;
11
+ name: string | null;
12
12
  createdAt: string;
13
13
  updatedAt: string;
14
+ expiresAt: string | null;
14
15
  agentId: string;
15
16
  projectId: string;
16
17
  tenantId: string;
@@ -18,13 +19,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
18
19
  keyHash: string;
19
20
  keyPrefix: string;
20
21
  lastUsedAt: string | null;
21
- expiresAt: string | null;
22
22
  } | undefined>;
23
23
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
24
- name: string | null;
25
24
  id: string;
25
+ name: string | null;
26
26
  createdAt: string;
27
27
  updatedAt: string;
28
+ expiresAt: string | null;
28
29
  agentId: string;
29
30
  projectId: string;
30
31
  tenantId: string;
@@ -32,16 +33,16 @@ declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: s
32
33
  keyHash: string;
33
34
  keyPrefix: string;
34
35
  lastUsedAt: string | null;
35
- expiresAt: string | null;
36
36
  } | undefined>;
37
37
  declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
38
38
  scopes: ProjectScopeConfig;
39
39
  agentId?: string;
40
40
  }) => Promise<{
41
- name: string | null;
42
41
  id: string;
42
+ name: string | null;
43
43
  createdAt: string;
44
44
  updatedAt: string;
45
+ expiresAt: string | null;
45
46
  agentId: string;
46
47
  projectId: string;
47
48
  tenantId: string;
@@ -49,7 +50,6 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
49
50
  keyHash: string;
50
51
  keyPrefix: string;
51
52
  lastUsedAt: string | null;
52
- expiresAt: string | null;
53
53
  }[]>;
54
54
  declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
55
55
  scopes: ProjectScopeConfig;
@@ -65,10 +65,11 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
65
65
  };
66
66
  }>;
67
67
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
68
- name: string | null;
69
68
  id: string;
69
+ name: string | null;
70
70
  createdAt: string;
71
71
  updatedAt: string;
72
+ expiresAt: string | null;
72
73
  agentId: string;
73
74
  projectId: string;
74
75
  tenantId: string;
@@ -76,7 +77,6 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
76
77
  keyHash: string;
77
78
  keyPrefix: string;
78
79
  lastUsedAt: string | null;
79
- expiresAt: string | null;
80
80
  }>;
81
81
  declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
82
82
  scopes: ProjectScopeConfig;
@@ -18,17 +18,17 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
18
18
  id: string;
19
19
  createdAt: string;
20
20
  updatedAt: string;
21
- agentId: string | null;
22
- projectId: string;
23
- tenantId: string;
24
- title: string | null;
25
- metadata: ConversationMetadata | null;
26
- userId: string | null;
27
21
  ref: {
28
- type: "tag" | "commit" | "branch";
22
+ type: "commit" | "tag" | "branch";
29
23
  name: string;
30
24
  hash: string;
31
25
  } | null;
26
+ userId: string | null;
27
+ metadata: ConversationMetadata | null;
28
+ title: string | null;
29
+ agentId: string | null;
30
+ projectId: string;
31
+ tenantId: string;
32
32
  activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
34
34
  }>;
@@ -43,7 +43,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
43
43
  agentId: string | null;
44
44
  activeSubAgentId: string;
45
45
  ref: {
46
- type: "tag" | "commit" | "branch";
46
+ type: "commit" | "tag" | "branch";
47
47
  name: string;
48
48
  hash: string;
49
49
  } | null;
@@ -69,7 +69,7 @@ declare const updateConversationActiveSubAgent: (db: AgentsRunDatabaseClient) =>
69
69
  agentId: string | null;
70
70
  activeSubAgentId: string;
71
71
  ref: {
72
- type: "tag" | "commit" | "branch";
72
+ type: "commit" | "tag" | "branch";
73
73
  name: string;
74
74
  hash: string;
75
75
  } | null;
@@ -87,17 +87,17 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
87
87
  id: string;
88
88
  createdAt: string;
89
89
  updatedAt: string;
90
- agentId: string | null;
91
- projectId: string;
92
- tenantId: string;
93
- title: string | null;
94
- metadata: ConversationMetadata | null;
95
- userId: string | null;
96
90
  ref: {
97
- type: "tag" | "commit" | "branch";
91
+ type: "commit" | "tag" | "branch";
98
92
  name: string;
99
93
  hash: string;
100
94
  } | null;
95
+ userId: string | null;
96
+ metadata: ConversationMetadata | null;
97
+ title: string | null;
98
+ agentId: string | null;
99
+ projectId: string;
100
+ tenantId: string;
101
101
  activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
103
103
  } | undefined>;
@@ -107,7 +107,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
107
107
  tenantId: string;
108
108
  id: string;
109
109
  ref: {
110
- type: "tag" | "commit" | "branch";
110
+ type: "commit" | "tag" | "branch";
111
111
  name: string;
112
112
  hash: string;
113
113
  };
@@ -123,17 +123,17 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
123
123
  id: string;
124
124
  createdAt: string;
125
125
  updatedAt: string;
126
- agentId: string | null;
127
- projectId: string;
128
- tenantId: string;
129
- title: string | null;
130
- metadata: ConversationMetadata | null;
131
- userId: string | null;
132
126
  ref: {
133
- type: "tag" | "commit" | "branch";
127
+ type: "commit" | "tag" | "branch";
134
128
  name: string;
135
129
  hash: string;
136
130
  } | null;
131
+ userId: string | null;
132
+ metadata: ConversationMetadata | null;
133
+ title: string | null;
134
+ agentId: string | null;
135
+ projectId: string;
136
+ tenantId: string;
137
137
  activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
139
139
  }>;
@@ -155,17 +155,17 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
155
155
  id: string;
156
156
  createdAt: string;
157
157
  updatedAt: string;
158
- agentId: string | null;
159
- projectId: string;
160
- tenantId: string;
161
- title: string | null;
162
- metadata: ConversationMetadata | null;
163
- userId: string | null;
164
158
  ref: {
165
- type: "tag" | "commit" | "branch";
159
+ type: "commit" | "tag" | "branch";
166
160
  name: string;
167
161
  hash: string;
168
162
  } | null;
163
+ userId: string | null;
164
+ metadata: ConversationMetadata | null;
165
+ title: string | null;
166
+ agentId: string | null;
167
+ projectId: string;
168
+ tenantId: string;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -12,9 +12,10 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
12
12
  id: string;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
+ metadata: MessageMetadata | null;
16
+ role: string;
15
17
  projectId: string;
16
18
  tenantId: string;
17
- metadata: MessageMetadata | null;
18
19
  content: MessageContent;
19
20
  fromSubAgentId: string | null;
20
21
  toSubAgentId: string | null;
@@ -23,7 +24,6 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
23
24
  taskId: string | null;
24
25
  a2aTaskId: string | null;
25
26
  conversationId: string;
26
- role: string;
27
27
  fromTeamAgentId: string | null;
28
28
  toTeamAgentId: string | null;
29
29
  visibility: string;
@@ -143,9 +143,10 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
143
143
  id: string;
144
144
  createdAt: string;
145
145
  updatedAt: string;
146
+ metadata: MessageMetadata | null;
147
+ role: string;
146
148
  projectId: string;
147
149
  tenantId: string;
148
- metadata: MessageMetadata | null;
149
150
  content: MessageContent;
150
151
  fromSubAgentId: string | null;
151
152
  toSubAgentId: string | null;
@@ -154,7 +155,6 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
154
155
  taskId: string | null;
155
156
  a2aTaskId: string | null;
156
157
  conversationId: string;
157
- role: string;
158
158
  fromTeamAgentId: string | null;
159
159
  toTeamAgentId: string | null;
160
160
  visibility: string;
@@ -196,9 +196,10 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
196
196
  id: string;
197
197
  createdAt: string;
198
198
  updatedAt: string;
199
+ metadata: MessageMetadata | null;
200
+ role: string;
199
201
  projectId: string;
200
202
  tenantId: string;
201
- metadata: MessageMetadata | null;
202
203
  content: MessageContent;
203
204
  fromSubAgentId: string | null;
204
205
  toSubAgentId: string | null;
@@ -207,7 +208,6 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
207
208
  taskId: string | null;
208
209
  a2aTaskId: string | null;
209
210
  conversationId: string;
210
- role: string;
211
211
  fromTeamAgentId: string | null;
212
212
  toTeamAgentId: string | null;
213
213
  visibility: string;
@@ -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;
17
+ metadata: TaskMetadataConfig | null;
18
+ status: string;
12
19
  agentId: string;
13
20
  projectId: string;
14
21
  tenantId: string;
15
- metadata: TaskMetadataConfig | null;
16
22
  subAgentId: string;
17
- status: string;
18
23
  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: "tag" | "commit" | "branch";
39
+ type: "commit" | "tag" | "branch";
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;