@inkeep/agents-core 0.0.0-dev-20260211213109 → 0.0.0-dev-20260211220939

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 +105 -105
  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/client-exports.d.ts +2 -2
  6. package/dist/client-exports.js +2 -2
  7. package/dist/data-access/manage/agents.d.ts +4 -4
  8. package/dist/data-access/manage/artifactComponents.d.ts +41 -5
  9. package/dist/data-access/manage/functionTools.d.ts +3 -3
  10. package/dist/data-access/manage/tools.d.ts +4 -4
  11. package/dist/data-access/manage/triggers.d.ts +2 -2
  12. package/dist/data-access/runtime/apiKeys.d.ts +4 -4
  13. package/dist/data-access/runtime/conversations.d.ts +15 -15
  14. package/dist/data-access/runtime/messages.d.ts +6 -6
  15. package/dist/data-access/runtime/tasks.d.ts +4 -4
  16. package/dist/db/manage/manage-schema.d.ts +496 -467
  17. package/dist/db/manage/manage-schema.js +7 -10
  18. package/dist/db/runtime/runtime-schema.d.ts +253 -253
  19. package/dist/index.d.ts +3 -2
  20. package/dist/index.js +2 -2
  21. package/dist/validation/dolt-schemas.d.ts +1 -1
  22. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  23. package/dist/validation/index.d.ts +2 -2
  24. package/dist/validation/index.js +2 -2
  25. package/dist/validation/json-schemas.d.ts +28 -0
  26. package/dist/validation/json-schemas.js +56 -0
  27. package/dist/validation/schemas.d.ts +3291 -2495
  28. package/dist/validation/schemas.js +1 -8
  29. package/drizzle/manage/0007_nice_lilandra.sql +3 -0
  30. package/drizzle/manage/meta/0007_snapshot.json +3148 -0
  31. package/drizzle/manage/meta/_journal.json +7 -0
  32. package/package.json +1 -1
@@ -15,10 +15,10 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
15
15
  createdAt: string;
16
16
  updatedAt: string;
17
17
  expiresAt: string | null;
18
+ lastUsedAt: string | null;
18
19
  publicId: string;
19
20
  keyHash: string;
20
21
  keyPrefix: string;
21
- lastUsedAt: string | null;
22
22
  } | undefined>;
23
23
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
24
24
  id: string;
@@ -29,10 +29,10 @@ declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: s
29
29
  createdAt: string;
30
30
  updatedAt: string;
31
31
  expiresAt: string | null;
32
+ lastUsedAt: string | null;
32
33
  publicId: string;
33
34
  keyHash: string;
34
35
  keyPrefix: string;
35
- lastUsedAt: string | null;
36
36
  } | undefined>;
37
37
  declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
38
38
  scopes: ProjectScopeConfig;
@@ -46,10 +46,10 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
46
46
  createdAt: string;
47
47
  updatedAt: string;
48
48
  expiresAt: string | null;
49
+ lastUsedAt: string | null;
49
50
  publicId: string;
50
51
  keyHash: string;
51
52
  keyPrefix: string;
52
- lastUsedAt: string | null;
53
53
  }[]>;
54
54
  declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
55
55
  scopes: ProjectScopeConfig;
@@ -73,10 +73,10 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
73
73
  createdAt: string;
74
74
  updatedAt: string;
75
75
  expiresAt: string | null;
76
+ lastUsedAt: string | null;
76
77
  publicId: string;
77
78
  keyHash: string;
78
79
  keyPrefix: string;
79
- lastUsedAt: string | null;
80
80
  }>;
81
81
  declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
82
82
  scopes: ProjectScopeConfig;
@@ -23,13 +23,13 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
23
23
  createdAt: string;
24
24
  updatedAt: string;
25
25
  metadata: ConversationMetadata | null;
26
- userId: string | null;
27
- activeSubAgentId: string;
28
26
  ref: {
29
- type: "commit" | "tag" | "branch";
27
+ type: "tag" | "commit" | "branch";
30
28
  name: string;
31
29
  hash: string;
32
30
  } | null;
31
+ userId: string | null;
32
+ activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
34
34
  }>;
35
35
  declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -43,7 +43,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
43
43
  agentId: string | null;
44
44
  activeSubAgentId: string;
45
45
  ref: {
46
- type: "commit" | "tag" | "branch";
46
+ type: "tag" | "commit" | "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: "commit" | "tag" | "branch";
72
+ type: "tag" | "commit" | "branch";
73
73
  name: string;
74
74
  hash: string;
75
75
  } | null;
@@ -92,13 +92,13 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
92
92
  createdAt: string;
93
93
  updatedAt: string;
94
94
  metadata: ConversationMetadata | null;
95
- userId: string | null;
96
- activeSubAgentId: string;
97
95
  ref: {
98
- type: "commit" | "tag" | "branch";
96
+ type: "tag" | "commit" | "branch";
99
97
  name: string;
100
98
  hash: string;
101
99
  } | null;
100
+ userId: string | null;
101
+ activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
103
103
  } | undefined>;
104
104
  declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input: ConversationInsert) => Promise<{
@@ -107,7 +107,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
107
107
  tenantId: string;
108
108
  id: string;
109
109
  ref: {
110
- type: "commit" | "tag" | "branch";
110
+ type: "tag" | "commit" | "branch";
111
111
  name: string;
112
112
  hash: string;
113
113
  };
@@ -128,13 +128,13 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
128
128
  createdAt: string;
129
129
  updatedAt: string;
130
130
  metadata: ConversationMetadata | null;
131
- userId: string | null;
132
- activeSubAgentId: string;
133
131
  ref: {
134
- type: "commit" | "tag" | "branch";
132
+ type: "tag" | "commit" | "branch";
135
133
  name: string;
136
134
  hash: string;
137
135
  } | null;
136
+ userId: string | null;
137
+ activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
139
139
  }>;
140
140
  /**
@@ -160,13 +160,13 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
160
160
  createdAt: string;
161
161
  updatedAt: string;
162
162
  metadata: ConversationMetadata | null;
163
- userId: string | null;
164
- activeSubAgentId: string;
165
163
  ref: {
166
- type: "commit" | "tag" | "branch";
164
+ type: "tag" | "commit" | "branch";
167
165
  name: string;
168
166
  hash: string;
169
167
  } | null;
168
+ userId: string | null;
169
+ activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
172
172
  /**
@@ -16,8 +16,6 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
16
16
  updatedAt: string;
17
17
  metadata: MessageMetadata | null;
18
18
  content: MessageContent;
19
- taskId: string | null;
20
- visibility: string;
21
19
  role: string;
22
20
  conversationId: string;
23
21
  fromSubAgentId: string | null;
@@ -26,7 +24,9 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
26
24
  toExternalAgentId: string | null;
27
25
  fromTeamAgentId: string | null;
28
26
  toTeamAgentId: string | null;
27
+ visibility: string;
29
28
  messageType: string;
29
+ taskId: string | null;
30
30
  parentMessageId: string | null;
31
31
  a2aTaskId: string | null;
32
32
  a2aSessionId: string | null;
@@ -147,8 +147,6 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
147
147
  updatedAt: string;
148
148
  metadata: MessageMetadata | null;
149
149
  content: MessageContent;
150
- taskId: string | null;
151
- visibility: string;
152
150
  role: string;
153
151
  conversationId: string;
154
152
  fromSubAgentId: string | null;
@@ -157,7 +155,9 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
157
155
  toExternalAgentId: string | null;
158
156
  fromTeamAgentId: string | null;
159
157
  toTeamAgentId: string | null;
158
+ visibility: string;
160
159
  messageType: string;
160
+ taskId: string | null;
161
161
  parentMessageId: string | null;
162
162
  a2aTaskId: string | null;
163
163
  a2aSessionId: string | null;
@@ -200,8 +200,6 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
200
200
  updatedAt: string;
201
201
  metadata: MessageMetadata | null;
202
202
  content: MessageContent;
203
- taskId: string | null;
204
- visibility: string;
205
203
  role: string;
206
204
  conversationId: string;
207
205
  fromSubAgentId: string | null;
@@ -210,7 +208,9 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
210
208
  toExternalAgentId: string | null;
211
209
  fromTeamAgentId: string | null;
212
210
  toTeamAgentId: string | null;
211
+ visibility: string;
213
212
  messageType: string;
213
+ taskId: string | null;
214
214
  parentMessageId: string | null;
215
215
  a2aTaskId: string | null;
216
216
  a2aSessionId: string | null;
@@ -13,14 +13,14 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
15
  metadata: TaskMetadataConfig | null;
16
- subAgentId: string;
17
- contextId: string;
18
16
  ref: {
19
- type: "commit" | "tag" | "branch";
17
+ type: "tag" | "commit" | "branch";
20
18
  name: string;
21
19
  hash: string;
22
20
  } | null;
23
21
  status: string;
22
+ subAgentId: string;
23
+ contextId: string;
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;