@inkeep/agents-core 0.0.0-dev-20260223184719 → 0.0.0-dev-20260223201726
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.
- package/dist/auth/auth-schema.d.ts +107 -107
- package/dist/auth/auth-validation-schemas.d.ts +152 -152
- package/dist/auth/auth.d.ts +57 -57
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/client-exports.d.ts +3 -3
- package/dist/data-access/manage/agentFull.d.ts +2 -1
- package/dist/data-access/manage/agents.d.ts +23 -22
- package/dist/data-access/manage/artifactComponents.d.ts +10 -9
- package/dist/data-access/manage/contextConfigs.d.ts +10 -9
- package/dist/data-access/manage/credentialReferences.d.ts +2 -1
- package/dist/data-access/manage/dataComponents.d.ts +6 -5
- package/dist/data-access/manage/evalConfig.d.ts +2 -1
- package/dist/data-access/manage/externalAgents.d.ts +2 -1
- package/dist/data-access/manage/functionTools.d.ts +14 -14
- package/dist/data-access/manage/functions.d.ts +2 -2
- package/dist/data-access/manage/projectFull.d.ts +2 -1
- package/dist/data-access/manage/projects.d.ts +2 -1
- package/dist/data-access/manage/scheduledTriggers.d.ts +2 -2
- package/dist/data-access/manage/scheduledWorkflows.d.ts +2 -2
- package/dist/data-access/manage/scope-helpers.d.ts +15 -22
- package/dist/data-access/manage/scope-helpers.js +15 -12
- package/dist/data-access/manage/skills.d.ts +15 -14
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +26 -25
- package/dist/data-access/manage/subAgentRelations.d.ts +22 -21
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +20 -19
- package/dist/data-access/manage/subAgents.d.ts +17 -16
- package/dist/data-access/manage/tools.d.ts +20 -19
- package/dist/data-access/manage/triggers.d.ts +3 -3
- package/dist/data-access/runtime/apiKeys.d.ts +18 -17
- package/dist/data-access/runtime/cascade-delete.d.ts +1 -1
- package/dist/data-access/runtime/contextCache.d.ts +2 -2
- package/dist/data-access/runtime/conversations.d.ts +33 -32
- package/dist/data-access/runtime/evalRuns.d.ts +2 -1
- package/dist/data-access/runtime/ledgerArtifacts.d.ts +1 -1
- package/dist/data-access/runtime/messages.d.ts +20 -19
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +2 -2
- package/dist/data-access/runtime/tasks.d.ts +9 -9
- package/dist/data-access/runtime/triggerInvocations.d.ts +2 -2
- package/dist/db/manage/manage-schema.d.ts +447 -447
- package/dist/db/manage/scope-definitions.d.ts +31 -0
- package/dist/db/manage/scope-definitions.js +31 -0
- package/dist/db/runtime/runtime-schema.d.ts +296 -296
- package/dist/dolt/branches-api.d.ts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/middleware/no-auth.d.ts +2 -2
- package/dist/types/index.d.ts +2 -1
- package/dist/types/utility.d.ts +2 -11
- package/dist/validation/dolt-schemas.d.ts +1 -1
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +1824 -1824
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProjectScopeConfig } from "../../db/manage/scope-definitions.js";
|
|
2
|
+
import { MessageContent, MessageMetadata, MessageVisibility, PaginationConfig } from "../../types/utility.js";
|
|
2
3
|
import "../../types/index.js";
|
|
3
4
|
import { AgentsRunDatabaseClient } from "../../db/runtime/runtime-client.js";
|
|
4
5
|
import "../../index.js";
|
|
@@ -10,25 +11,25 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
10
11
|
messageId: string;
|
|
11
12
|
}) => Promise<{
|
|
12
13
|
id: string;
|
|
14
|
+
tenantId: string;
|
|
15
|
+
projectId: string;
|
|
13
16
|
createdAt: string;
|
|
14
17
|
updatedAt: string;
|
|
15
18
|
metadata: MessageMetadata | null;
|
|
16
|
-
role: string;
|
|
17
19
|
content: MessageContent;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
conversationId: string;
|
|
21
|
+
role: string;
|
|
20
22
|
fromSubAgentId: string | null;
|
|
21
23
|
toSubAgentId: string | null;
|
|
22
24
|
fromExternalAgentId: string | null;
|
|
23
25
|
toExternalAgentId: string | null;
|
|
24
|
-
taskId: string | null;
|
|
25
|
-
a2aTaskId: string | null;
|
|
26
|
-
conversationId: string;
|
|
27
26
|
fromTeamAgentId: string | null;
|
|
28
27
|
toTeamAgentId: string | null;
|
|
29
28
|
visibility: string;
|
|
30
29
|
messageType: string;
|
|
30
|
+
taskId: string | null;
|
|
31
31
|
parentMessageId: string | null;
|
|
32
|
+
a2aTaskId: string | null;
|
|
32
33
|
a2aSessionId: string | null;
|
|
33
34
|
} | undefined>;
|
|
34
35
|
declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -141,25 +142,25 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
141
142
|
}[]>;
|
|
142
143
|
declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
|
|
143
144
|
id: string;
|
|
145
|
+
tenantId: string;
|
|
146
|
+
projectId: string;
|
|
144
147
|
createdAt: string;
|
|
145
148
|
updatedAt: string;
|
|
146
149
|
metadata: MessageMetadata | null;
|
|
147
|
-
role: string;
|
|
148
150
|
content: MessageContent;
|
|
149
|
-
|
|
150
|
-
|
|
151
|
+
conversationId: string;
|
|
152
|
+
role: string;
|
|
151
153
|
fromSubAgentId: string | null;
|
|
152
154
|
toSubAgentId: string | null;
|
|
153
155
|
fromExternalAgentId: string | null;
|
|
154
156
|
toExternalAgentId: string | null;
|
|
155
|
-
taskId: string | null;
|
|
156
|
-
a2aTaskId: string | null;
|
|
157
|
-
conversationId: string;
|
|
158
157
|
fromTeamAgentId: string | null;
|
|
159
158
|
toTeamAgentId: string | null;
|
|
160
159
|
visibility: string;
|
|
161
160
|
messageType: string;
|
|
161
|
+
taskId: string | null;
|
|
162
162
|
parentMessageId: string | null;
|
|
163
|
+
a2aTaskId: string | null;
|
|
163
164
|
a2aSessionId: string | null;
|
|
164
165
|
}>;
|
|
165
166
|
declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -194,25 +195,25 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
194
195
|
messageId: string;
|
|
195
196
|
}) => Promise<{
|
|
196
197
|
id: string;
|
|
198
|
+
tenantId: string;
|
|
199
|
+
projectId: string;
|
|
197
200
|
createdAt: string;
|
|
198
201
|
updatedAt: string;
|
|
199
202
|
metadata: MessageMetadata | null;
|
|
200
|
-
role: string;
|
|
201
203
|
content: MessageContent;
|
|
202
|
-
|
|
203
|
-
|
|
204
|
+
conversationId: string;
|
|
205
|
+
role: string;
|
|
204
206
|
fromSubAgentId: string | null;
|
|
205
207
|
toSubAgentId: string | null;
|
|
206
208
|
fromExternalAgentId: string | null;
|
|
207
209
|
toExternalAgentId: string | null;
|
|
208
|
-
taskId: string | null;
|
|
209
|
-
a2aTaskId: string | null;
|
|
210
|
-
conversationId: string;
|
|
211
210
|
fromTeamAgentId: string | null;
|
|
212
211
|
toTeamAgentId: string | null;
|
|
213
212
|
visibility: string;
|
|
214
213
|
messageType: string;
|
|
214
|
+
taskId: string | null;
|
|
215
215
|
parentMessageId: string | null;
|
|
216
|
+
a2aTaskId: string | null;
|
|
216
217
|
a2aSessionId: string | null;
|
|
217
218
|
}>;
|
|
218
219
|
declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AgentScopeConfig
|
|
1
|
+
import { AgentScopeConfig } from "../../db/manage/scope-definitions.js";
|
|
2
|
+
import { PaginationConfig } from "../../types/utility.js";
|
|
2
3
|
import { AgentsRunDatabaseClient } from "../../db/runtime/runtime-client.js";
|
|
3
4
|
import { ScheduledTriggerInvocation, ScheduledTriggerInvocationInsert, ScheduledTriggerInvocationStatus, ScheduledTriggerInvocationUpdate } from "../../validation/schemas.js";
|
|
4
5
|
|
|
5
6
|
//#region src/data-access/runtime/scheduledTriggerInvocations.d.ts
|
|
6
|
-
|
|
7
7
|
/**
|
|
8
8
|
* Get a scheduled trigger invocation by ID (agent-scoped)
|
|
9
9
|
*/
|
|
@@ -7,20 +7,20 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
|
|
|
7
7
|
//#region src/data-access/runtime/tasks.d.ts
|
|
8
8
|
declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
|
|
9
9
|
id: string;
|
|
10
|
+
tenantId: string;
|
|
11
|
+
projectId: string;
|
|
12
|
+
agentId: string;
|
|
10
13
|
createdAt: string;
|
|
11
14
|
updatedAt: string;
|
|
15
|
+
metadata: TaskMetadataConfig | null;
|
|
16
|
+
subAgentId: string;
|
|
17
|
+
status: string;
|
|
18
|
+
contextId: string;
|
|
12
19
|
ref: {
|
|
13
|
-
type: "
|
|
20
|
+
type: "commit" | "tag" | "branch";
|
|
14
21
|
name: string;
|
|
15
22
|
hash: string;
|
|
16
23
|
} | null;
|
|
17
|
-
metadata: TaskMetadataConfig | null;
|
|
18
|
-
status: string;
|
|
19
|
-
tenantId: string;
|
|
20
|
-
projectId: string;
|
|
21
|
-
subAgentId: string;
|
|
22
|
-
agentId: 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: "
|
|
39
|
+
type: "commit" | "tag" | "branch";
|
|
40
40
|
name: string;
|
|
41
41
|
hash: string;
|
|
42
42
|
} | null;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AgentScopeConfig
|
|
1
|
+
import { AgentScopeConfig } from "../../db/manage/scope-definitions.js";
|
|
2
|
+
import { PaginationConfig } from "../../types/utility.js";
|
|
2
3
|
import { AgentsRunDatabaseClient } from "../../db/runtime/runtime-client.js";
|
|
3
4
|
import { TriggerInvocationInsert, TriggerInvocationSelect, TriggerInvocationUpdate } from "../../types/entities.js";
|
|
4
5
|
|
|
5
6
|
//#region src/data-access/runtime/triggerInvocations.d.ts
|
|
6
|
-
|
|
7
7
|
/**
|
|
8
8
|
* Get a trigger invocation by ID (agent-scoped)
|
|
9
9
|
*/
|