@inkeep/agents-core 0.0.0-dev-20260107163852 → 0.0.0-dev-20260107203022
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 +104 -104
- package/dist/auth/auth-validation-schemas.d.ts +146 -146
- package/dist/auth/auth.d.ts +18 -18
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/client-exports.d.ts +2 -1
- package/dist/credential-stores/index.d.ts +2 -1
- package/dist/credential-stores/index.js +2 -1
- package/dist/data-access/messages.d.ts +12 -12
- package/dist/data-access/tasks.d.ts +1 -1
- package/dist/db/schema.d.ts +405 -405
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/utils/model-factory.js +13 -1
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +747 -747
- package/package.json +2 -1
package/dist/auth/auth.d.ts
CHANGED
|
@@ -818,25 +818,25 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
818
818
|
ac: better_auth_plugins0.AccessControl;
|
|
819
819
|
roles: {
|
|
820
820
|
member: {
|
|
821
|
-
authorize<K_1 extends "function" | "organization" | "agent" | "
|
|
822
|
-
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "
|
|
821
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key] | {
|
|
822
|
+
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key];
|
|
823
823
|
connector: "OR" | "AND";
|
|
824
824
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
825
|
-
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "
|
|
825
|
+
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
|
|
826
826
|
};
|
|
827
827
|
admin: {
|
|
828
|
-
authorize<K_1 extends "function" | "organization" | "agent" | "
|
|
829
|
-
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "
|
|
828
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key] | {
|
|
829
|
+
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key];
|
|
830
830
|
connector: "OR" | "AND";
|
|
831
831
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
832
|
-
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "
|
|
832
|
+
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
|
|
833
833
|
};
|
|
834
834
|
owner: {
|
|
835
|
-
authorize<K_1 extends "function" | "organization" | "agent" | "
|
|
836
|
-
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "
|
|
835
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key] | {
|
|
836
|
+
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key];
|
|
837
837
|
connector: "OR" | "AND";
|
|
838
838
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
839
|
-
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "
|
|
839
|
+
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
|
|
840
840
|
};
|
|
841
841
|
};
|
|
842
842
|
membershipLimit: number;
|
|
@@ -1097,25 +1097,25 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
1097
1097
|
ac: better_auth_plugins0.AccessControl;
|
|
1098
1098
|
roles: {
|
|
1099
1099
|
member: {
|
|
1100
|
-
authorize<K_1 extends "function" | "organization" | "agent" | "
|
|
1101
|
-
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "
|
|
1100
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key] | {
|
|
1101
|
+
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key];
|
|
1102
1102
|
connector: "OR" | "AND";
|
|
1103
1103
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
1104
|
-
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "
|
|
1104
|
+
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
|
|
1105
1105
|
};
|
|
1106
1106
|
admin: {
|
|
1107
|
-
authorize<K_1 extends "function" | "organization" | "agent" | "
|
|
1108
|
-
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "
|
|
1107
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key] | {
|
|
1108
|
+
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key];
|
|
1109
1109
|
connector: "OR" | "AND";
|
|
1110
1110
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
1111
|
-
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "
|
|
1111
|
+
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
|
|
1112
1112
|
};
|
|
1113
1113
|
owner: {
|
|
1114
|
-
authorize<K_1 extends "function" | "organization" | "agent" | "
|
|
1115
|
-
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "
|
|
1114
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key] | {
|
|
1115
|
+
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key];
|
|
1116
1116
|
connector: "OR" | "AND";
|
|
1117
1117
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
1118
|
-
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "
|
|
1118
|
+
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
|
|
1119
1119
|
};
|
|
1120
1120
|
};
|
|
1121
1121
|
membershipLimit: number;
|
|
@@ -5,25 +5,25 @@ import { organizationClient } from "better-auth/client/plugins";
|
|
|
5
5
|
//#region src/auth/permissions.d.ts
|
|
6
6
|
declare const ac: AccessControl;
|
|
7
7
|
declare const memberRole: {
|
|
8
|
-
authorize<K_1 extends "function" | "organization" | "agent" | "
|
|
9
|
-
actions: better_auth_plugins55.Subset<"function" | "organization" | "agent" | "
|
|
8
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins55.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins55.Statements>[key] | {
|
|
9
|
+
actions: better_auth_plugins55.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins55.Statements>[key];
|
|
10
10
|
connector: "OR" | "AND";
|
|
11
11
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins55.AuthorizeResponse;
|
|
12
|
-
statements: better_auth_plugins55.Subset<"function" | "organization" | "agent" | "
|
|
12
|
+
statements: better_auth_plugins55.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins55.Statements>;
|
|
13
13
|
};
|
|
14
14
|
declare const adminRole: {
|
|
15
|
-
authorize<K_1 extends "function" | "organization" | "agent" | "
|
|
16
|
-
actions: better_auth_plugins55.Subset<"function" | "organization" | "agent" | "
|
|
15
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins55.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins55.Statements>[key] | {
|
|
16
|
+
actions: better_auth_plugins55.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins55.Statements>[key];
|
|
17
17
|
connector: "OR" | "AND";
|
|
18
18
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins55.AuthorizeResponse;
|
|
19
|
-
statements: better_auth_plugins55.Subset<"function" | "organization" | "agent" | "
|
|
19
|
+
statements: better_auth_plugins55.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins55.Statements>;
|
|
20
20
|
};
|
|
21
21
|
declare const ownerRole: {
|
|
22
|
-
authorize<K_1 extends "function" | "organization" | "agent" | "
|
|
23
|
-
actions: better_auth_plugins55.Subset<"function" | "organization" | "agent" | "
|
|
22
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins55.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins55.Statements>[key] | {
|
|
23
|
+
actions: better_auth_plugins55.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins55.Statements>[key];
|
|
24
24
|
connector: "OR" | "AND";
|
|
25
25
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins55.AuthorizeResponse;
|
|
26
|
-
statements: better_auth_plugins55.Subset<"function" | "organization" | "agent" | "
|
|
26
|
+
statements: better_auth_plugins55.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "ac" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins55.Statements>;
|
|
27
27
|
};
|
|
28
28
|
//#endregion
|
|
29
29
|
export { ac, adminRole, memberRole, organizationClient, ownerRole };
|
package/dist/client-exports.d.ts
CHANGED
|
@@ -2,10 +2,11 @@ import { ACTIVITY_NAMES, ACTIVITY_STATUS, ACTIVITY_TYPES, AGENT_IDS, AI_OPERATIO
|
|
|
2
2
|
import { AGGREGATE_OPERATORS, DATA_SOURCES, DATA_TYPES, FIELD_TYPES, OPERATORS, ORDER_DIRECTIONS, PANEL_TYPES, QUERY_DEFAULTS, QUERY_EXPRESSIONS, QUERY_FIELD_CONFIGS, QUERY_TYPES, REDUCE_OPERATIONS } from "./constants/signoz-queries.js";
|
|
3
3
|
import { AgentStopWhen, AgentStopWhenSchema, ApiKeyApiUpdateSchema, FullAgentAgentInsertSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, ModelSettings, ModelSettingsSchema, StopWhen, StopWhenSchema, SubAgentStopWhen, SubAgentStopWhenSchema } from "./validation/schemas.js";
|
|
4
4
|
import "./types/index.js";
|
|
5
|
+
import { DEFAULT_NANGO_STORE_ID } from "./credential-stores/default-constants.js";
|
|
5
6
|
import { detectAuthenticationRequired } from "./utils/auth-detection.js";
|
|
6
7
|
import { validatePropsAsJsonSchema } from "./validation/props-validation.js";
|
|
8
|
+
import "./index.js";
|
|
7
9
|
import { ConversationHistoryConfig, CredentialStoreType, MCPTransportType } from "./types/utility.js";
|
|
8
|
-
import { DEFAULT_NANGO_STORE_ID } from "./credential-stores/default-constants.js";
|
|
9
10
|
import { z } from "@hono/zod-openapi";
|
|
10
11
|
|
|
11
12
|
//#region src/client-exports.d.ts
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CredentialStoreRegistry } from "./CredentialStoreRegistry.js";
|
|
2
|
+
import { DEFAULT_NANGO_STORE_ID } from "./default-constants.js";
|
|
2
3
|
import { createDefaultCredentialStores } from "./defaults.js";
|
|
3
4
|
import { KeyChainStore, createKeyChainStore } from "./keychain-store.js";
|
|
4
5
|
import { InMemoryCredentialStore } from "./memory-store.js";
|
|
5
6
|
import { NangoCredentialStore, createNangoCredentialStore } from "./nango-store.js";
|
|
6
|
-
export { CredentialStoreRegistry, InMemoryCredentialStore, KeyChainStore, NangoCredentialStore, createDefaultCredentialStores, createKeyChainStore, createNangoCredentialStore };
|
|
7
|
+
export { CredentialStoreRegistry, DEFAULT_NANGO_STORE_ID, InMemoryCredentialStore, KeyChainStore, NangoCredentialStore, createDefaultCredentialStores, createKeyChainStore, createNangoCredentialStore };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { DEFAULT_NANGO_STORE_ID } from "./default-constants.js";
|
|
1
2
|
import { CredentialStoreRegistry } from "./CredentialStoreRegistry.js";
|
|
2
3
|
import { KeyChainStore, createKeyChainStore } from "./keychain-store.js";
|
|
3
4
|
import { InMemoryCredentialStore } from "./memory-store.js";
|
|
4
5
|
import { NangoCredentialStore, createNangoCredentialStore } from "./nango-store.js";
|
|
5
6
|
import { createDefaultCredentialStores } from "./defaults.js";
|
|
6
7
|
|
|
7
|
-
export { CredentialStoreRegistry, InMemoryCredentialStore, KeyChainStore, NangoCredentialStore, createDefaultCredentialStores, createKeyChainStore, createNangoCredentialStore };
|
|
8
|
+
export { CredentialStoreRegistry, DEFAULT_NANGO_STORE_ID, InMemoryCredentialStore, KeyChainStore, NangoCredentialStore, createDefaultCredentialStores, createKeyChainStore, createNangoCredentialStore };
|
|
@@ -16,19 +16,19 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
|
|
|
16
16
|
updatedAt: string;
|
|
17
17
|
metadata: MessageMetadata | null;
|
|
18
18
|
content: MessageContent;
|
|
19
|
+
role: string;
|
|
20
|
+
conversationId: string;
|
|
19
21
|
fromSubAgentId: string | null;
|
|
20
22
|
toSubAgentId: string | null;
|
|
21
23
|
fromExternalAgentId: string | null;
|
|
22
24
|
toExternalAgentId: string | null;
|
|
23
|
-
taskId: string | null;
|
|
24
|
-
a2aTaskId: string | null;
|
|
25
|
-
conversationId: string;
|
|
26
|
-
role: string;
|
|
27
25
|
fromTeamAgentId: string | null;
|
|
28
26
|
toTeamAgentId: string | null;
|
|
29
27
|
visibility: string;
|
|
30
28
|
messageType: string;
|
|
29
|
+
taskId: string | null;
|
|
31
30
|
parentMessageId: string | null;
|
|
31
|
+
a2aTaskId: string | null;
|
|
32
32
|
a2aSessionId: string | null;
|
|
33
33
|
} | undefined>;
|
|
34
34
|
declare const listMessages: (db: DatabaseClient) => (params: {
|
|
@@ -147,19 +147,19 @@ declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) =>
|
|
|
147
147
|
updatedAt: string;
|
|
148
148
|
metadata: MessageMetadata | null;
|
|
149
149
|
content: MessageContent;
|
|
150
|
+
role: string;
|
|
151
|
+
conversationId: string;
|
|
150
152
|
fromSubAgentId: string | null;
|
|
151
153
|
toSubAgentId: string | null;
|
|
152
154
|
fromExternalAgentId: string | null;
|
|
153
155
|
toExternalAgentId: string | null;
|
|
154
|
-
taskId: string | null;
|
|
155
|
-
a2aTaskId: string | null;
|
|
156
|
-
conversationId: string;
|
|
157
|
-
role: string;
|
|
158
156
|
fromTeamAgentId: string | null;
|
|
159
157
|
toTeamAgentId: string | null;
|
|
160
158
|
visibility: string;
|
|
161
159
|
messageType: string;
|
|
160
|
+
taskId: string | null;
|
|
162
161
|
parentMessageId: string | null;
|
|
162
|
+
a2aTaskId: string | null;
|
|
163
163
|
a2aSessionId: string | null;
|
|
164
164
|
}>;
|
|
165
165
|
declare const updateMessage: (db: DatabaseClient) => (params: {
|
|
@@ -200,19 +200,19 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
|
|
|
200
200
|
updatedAt: string;
|
|
201
201
|
metadata: MessageMetadata | null;
|
|
202
202
|
content: MessageContent;
|
|
203
|
+
role: string;
|
|
204
|
+
conversationId: string;
|
|
203
205
|
fromSubAgentId: string | null;
|
|
204
206
|
toSubAgentId: string | null;
|
|
205
207
|
fromExternalAgentId: string | null;
|
|
206
208
|
toExternalAgentId: string | null;
|
|
207
|
-
taskId: string | null;
|
|
208
|
-
a2aTaskId: string | null;
|
|
209
|
-
conversationId: string;
|
|
210
|
-
role: string;
|
|
211
209
|
fromTeamAgentId: string | null;
|
|
212
210
|
toTeamAgentId: string | null;
|
|
213
211
|
visibility: string;
|
|
214
212
|
messageType: string;
|
|
213
|
+
taskId: string | null;
|
|
215
214
|
parentMessageId: string | null;
|
|
215
|
+
a2aTaskId: string | null;
|
|
216
216
|
a2aSessionId: string | null;
|
|
217
217
|
}>;
|
|
218
218
|
declare const countMessagesByConversation: (db: DatabaseClient) => (params: {
|
|
@@ -13,9 +13,9 @@ declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promis
|
|
|
13
13
|
createdAt: string;
|
|
14
14
|
updatedAt: string;
|
|
15
15
|
metadata: TaskMetadataConfig | null;
|
|
16
|
-
subAgentId: string;
|
|
17
16
|
status: string;
|
|
18
17
|
contextId: string;
|
|
18
|
+
subAgentId: string;
|
|
19
19
|
}>;
|
|
20
20
|
declare const getTask: (db: DatabaseClient) => (params: {
|
|
21
21
|
id: string;
|