@inkeep/agents-core 0.0.0-dev-20251223202539 → 0.0.0-dev-20251223204002

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.
@@ -826,25 +826,25 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
826
826
  ac: better_auth_plugins20.AccessControl;
827
827
  roles: {
828
828
  member: {
829
- authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key] | {
830
- actions: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key];
829
+ authorize<K_1 extends "function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key] | {
830
+ actions: better_auth_plugins20.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key];
831
831
  connector: "OR" | "AND";
832
832
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
833
- statements: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>;
833
+ statements: better_auth_plugins20.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins20.Statements>;
834
834
  };
835
835
  admin: {
836
- authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key] | {
837
- actions: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key];
836
+ authorize<K_1 extends "function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key] | {
837
+ actions: better_auth_plugins20.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key];
838
838
  connector: "OR" | "AND";
839
839
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
840
- statements: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>;
840
+ statements: better_auth_plugins20.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins20.Statements>;
841
841
  };
842
842
  owner: {
843
- authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key] | {
844
- actions: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key];
843
+ authorize<K_1 extends "function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key] | {
844
+ actions: better_auth_plugins20.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key];
845
845
  connector: "OR" | "AND";
846
846
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
847
- statements: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>;
847
+ statements: better_auth_plugins20.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins20.Statements>;
848
848
  };
849
849
  };
850
850
  membershipLimit: number;
@@ -1105,25 +1105,25 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
1105
1105
  ac: better_auth_plugins20.AccessControl;
1106
1106
  roles: {
1107
1107
  member: {
1108
- authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key] | {
1109
- actions: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key];
1108
+ authorize<K_1 extends "function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key] | {
1109
+ actions: better_auth_plugins20.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key];
1110
1110
  connector: "OR" | "AND";
1111
1111
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
1112
- statements: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>;
1112
+ statements: better_auth_plugins20.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins20.Statements>;
1113
1113
  };
1114
1114
  admin: {
1115
- authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key] | {
1116
- actions: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key];
1115
+ authorize<K_1 extends "function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key] | {
1116
+ actions: better_auth_plugins20.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key];
1117
1117
  connector: "OR" | "AND";
1118
1118
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
1119
- statements: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>;
1119
+ statements: better_auth_plugins20.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins20.Statements>;
1120
1120
  };
1121
1121
  owner: {
1122
- authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key] | {
1123
- actions: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key];
1122
+ authorize<K_1 extends "function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key] | {
1123
+ actions: better_auth_plugins20.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key];
1124
1124
  connector: "OR" | "AND";
1125
1125
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
1126
- statements: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>;
1126
+ statements: better_auth_plugins20.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins20.Statements>;
1127
1127
  };
1128
1128
  };
1129
1129
  membershipLimit: number;
@@ -4,25 +4,25 @@ import { AccessControl } from "better-auth/plugins/access";
4
4
  //#region src/auth/permissions.d.ts
5
5
  declare const ac: AccessControl;
6
6
  declare const memberRole: {
7
- authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins0.Statements>[key] | {
8
- actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins0.Statements>[key];
7
+ authorize<K_1 extends "function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins0.Statements>[key] | {
8
+ actions: better_auth_plugins0.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins0.Statements>[key];
9
9
  connector: "OR" | "AND";
10
10
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
11
- statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins0.Statements>;
11
+ statements: better_auth_plugins0.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins0.Statements>;
12
12
  };
13
13
  declare const adminRole: {
14
- authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins0.Statements>[key] | {
15
- actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins0.Statements>[key];
14
+ authorize<K_1 extends "function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins0.Statements>[key] | {
15
+ actions: better_auth_plugins0.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins0.Statements>[key];
16
16
  connector: "OR" | "AND";
17
17
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
18
- statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins0.Statements>;
18
+ statements: better_auth_plugins0.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins0.Statements>;
19
19
  };
20
20
  declare const ownerRole: {
21
- authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins0.Statements>[key] | {
22
- actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins0.Statements>[key];
21
+ authorize<K_1 extends "function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins0.Statements>[key] | {
22
+ actions: better_auth_plugins0.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins0.Statements>[key];
23
23
  connector: "OR" | "AND";
24
24
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
25
- statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins0.Statements>;
25
+ statements: better_auth_plugins0.Subset<"function" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "organization" | "member" | "invitation" | "team", better_auth_plugins0.Statements>;
26
26
  };
27
27
  //#endregion
28
28
  export { ac, adminRole, memberRole, ownerRole };
@@ -8,14 +8,15 @@ import { PgTable } from "drizzle-orm/pg-core";
8
8
  declare const getAgentById: (db: DatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  }) => Promise<{
11
- tenantId: string;
12
- projectId: string;
13
- id: string;
14
11
  name: string;
15
- description: string | null;
16
- prompt: string | null;
12
+ id: string;
17
13
  createdAt: string;
18
14
  updatedAt: string;
15
+ projectId: string;
16
+ tenantId: string;
17
+ description: string | null;
18
+ defaultSubAgentId: string | null;
19
+ contextConfigId: string | null;
19
20
  models: {
20
21
  base?: {
21
22
  model?: string | undefined;
@@ -30,11 +31,7 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
30
31
  providerOptions?: Record<string, any> | undefined;
31
32
  } | undefined;
32
33
  } | null;
33
- stopWhen: {
34
- transferCountIs?: number | undefined;
35
- } | null;
36
- defaultSubAgentId: string | null;
37
- contextConfigId: string | null;
34
+ prompt: string | null;
38
35
  statusUpdates: {
39
36
  enabled?: boolean | undefined;
40
37
  numEvents?: number | undefined;
@@ -50,18 +47,22 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
50
47
  } | undefined;
51
48
  }[] | undefined;
52
49
  } | null;
50
+ stopWhen: {
51
+ transferCountIs?: number | undefined;
52
+ } | null;
53
53
  } | null>;
54
54
  declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
55
55
  scopes: AgentScopeConfig;
56
56
  }) => Promise<{
57
- tenantId: string;
58
- projectId: string;
59
- id: string;
60
57
  name: string;
61
- description: string | null;
62
- prompt: string | null;
58
+ id: string;
63
59
  createdAt: string;
64
60
  updatedAt: string;
61
+ projectId: string;
62
+ tenantId: string;
63
+ description: string | null;
64
+ defaultSubAgentId: string | null;
65
+ contextConfigId: string | null;
65
66
  models: {
66
67
  base?: {
67
68
  model?: string | undefined;
@@ -76,11 +77,7 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
76
77
  providerOptions?: Record<string, any> | undefined;
77
78
  } | undefined;
78
79
  } | null;
79
- stopWhen: {
80
- transferCountIs?: number | undefined;
81
- } | null;
82
- defaultSubAgentId: string | null;
83
- contextConfigId: string | null;
80
+ prompt: string | null;
84
81
  statusUpdates: {
85
82
  enabled?: boolean | undefined;
86
83
  numEvents?: number | undefined;
@@ -96,16 +93,18 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
96
93
  } | undefined;
97
94
  }[] | undefined;
98
95
  } | null;
96
+ stopWhen: {
97
+ transferCountIs?: number | undefined;
98
+ } | null;
99
99
  defaultSubAgent: {
100
- tenantId: string;
101
- projectId: string;
102
- id: string;
103
100
  name: string;
104
- description: string | null;
105
- prompt: string | null;
106
- agentId: string;
101
+ id: string;
107
102
  createdAt: string;
108
103
  updatedAt: string;
104
+ agentId: string;
105
+ projectId: string;
106
+ tenantId: string;
107
+ description: string | null;
109
108
  models: {
110
109
  base?: {
111
110
  model?: string | undefined;
@@ -120,6 +119,7 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
120
119
  providerOptions?: Record<string, any> | undefined;
121
120
  } | undefined;
122
121
  } | null;
122
+ prompt: string | null;
123
123
  stopWhen: {
124
124
  stepCountIs?: number | undefined;
125
125
  } | null;
@@ -129,14 +129,15 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
129
129
  declare const listAgents: (db: DatabaseClient) => (params: {
130
130
  scopes: ProjectScopeConfig;
131
131
  }) => Promise<{
132
- tenantId: string;
133
- projectId: string;
134
- id: string;
135
132
  name: string;
136
- description: string | null;
137
- prompt: string | null;
133
+ id: string;
138
134
  createdAt: string;
139
135
  updatedAt: string;
136
+ projectId: string;
137
+ tenantId: string;
138
+ description: string | null;
139
+ defaultSubAgentId: string | null;
140
+ contextConfigId: string | null;
140
141
  models: {
141
142
  base?: {
142
143
  model?: string | undefined;
@@ -151,11 +152,7 @@ declare const listAgents: (db: DatabaseClient) => (params: {
151
152
  providerOptions?: Record<string, any> | undefined;
152
153
  } | undefined;
153
154
  } | null;
154
- stopWhen: {
155
- transferCountIs?: number | undefined;
156
- } | null;
157
- defaultSubAgentId: string | null;
158
- contextConfigId: string | null;
155
+ prompt: string | null;
159
156
  statusUpdates: {
160
157
  enabled?: boolean | undefined;
161
158
  numEvents?: number | undefined;
@@ -171,6 +168,9 @@ declare const listAgents: (db: DatabaseClient) => (params: {
171
168
  } | undefined;
172
169
  }[] | undefined;
173
170
  } | null;
171
+ stopWhen: {
172
+ transferCountIs?: number | undefined;
173
+ } | null;
174
174
  }[]>;
175
175
  declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
176
176
  scopes: ProjectScopeConfig;
@@ -228,14 +228,15 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
228
228
  };
229
229
  }>;
230
230
  declare const createAgent: (db: DatabaseClient) => (data: AgentInsert) => Promise<{
231
- tenantId: string;
232
- projectId: string;
233
- id: string;
234
231
  name: string;
235
- description: string | null;
236
- prompt: string | null;
232
+ id: string;
237
233
  createdAt: string;
238
234
  updatedAt: string;
235
+ projectId: string;
236
+ tenantId: string;
237
+ description: string | null;
238
+ defaultSubAgentId: string | null;
239
+ contextConfigId: string | null;
239
240
  models: {
240
241
  base?: {
241
242
  model?: string | undefined;
@@ -250,11 +251,7 @@ declare const createAgent: (db: DatabaseClient) => (data: AgentInsert) => Promis
250
251
  providerOptions?: Record<string, any> | undefined;
251
252
  } | undefined;
252
253
  } | null;
253
- stopWhen: {
254
- transferCountIs?: number | undefined;
255
- } | null;
256
- defaultSubAgentId: string | null;
257
- contextConfigId: string | null;
254
+ prompt: string | null;
258
255
  statusUpdates: {
259
256
  enabled?: boolean | undefined;
260
257
  numEvents?: number | undefined;
@@ -270,6 +267,9 @@ declare const createAgent: (db: DatabaseClient) => (data: AgentInsert) => Promis
270
267
  } | undefined;
271
268
  }[] | undefined;
272
269
  } | null;
270
+ stopWhen: {
271
+ transferCountIs?: number | undefined;
272
+ } | null;
273
273
  }>;
274
274
  declare const updateAgent: (db: DatabaseClient) => (params: {
275
275
  scopes: AgentScopeConfig;
@@ -7,49 +7,49 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
7
7
  scopes: ProjectScopeConfig;
8
8
  id: string;
9
9
  }) => Promise<{
10
- tenantId: string;
11
- projectId: string;
12
- id: string;
13
10
  name: string | null;
11
+ id: string;
12
+ createdAt: string;
13
+ updatedAt: string;
14
14
  agentId: string;
15
+ projectId: string;
16
+ tenantId: string;
17
+ expiresAt: string | null;
15
18
  publicId: string;
16
19
  keyHash: string;
17
20
  keyPrefix: string;
18
21
  lastUsedAt: string | null;
19
- expiresAt: string | null;
20
- createdAt: string;
21
- updatedAt: string;
22
22
  } | undefined>;
23
23
  declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
24
- tenantId: string;
25
- projectId: string;
26
- id: string;
27
24
  name: string | null;
25
+ id: string;
26
+ createdAt: string;
27
+ updatedAt: string;
28
28
  agentId: string;
29
+ projectId: string;
30
+ tenantId: string;
31
+ expiresAt: string | null;
29
32
  publicId: string;
30
33
  keyHash: string;
31
34
  keyPrefix: string;
32
35
  lastUsedAt: string | null;
33
- expiresAt: string | null;
34
- createdAt: string;
35
- updatedAt: string;
36
36
  } | undefined>;
37
37
  declare const listApiKeys: (db: DatabaseClient) => (params: {
38
38
  scopes: ProjectScopeConfig;
39
39
  agentId?: string;
40
40
  }) => Promise<{
41
- tenantId: string;
42
- projectId: string;
43
- id: string;
44
41
  name: string | null;
42
+ id: string;
43
+ createdAt: string;
44
+ updatedAt: string;
45
45
  agentId: string;
46
+ projectId: string;
47
+ tenantId: string;
48
+ expiresAt: string | null;
46
49
  publicId: string;
47
50
  keyHash: string;
48
51
  keyPrefix: string;
49
52
  lastUsedAt: string | null;
50
- expiresAt: string | null;
51
- createdAt: string;
52
- updatedAt: string;
53
53
  }[]>;
54
54
  declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
55
55
  scopes: ProjectScopeConfig;
@@ -65,18 +65,18 @@ declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
65
65
  };
66
66
  }>;
67
67
  declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Promise<{
68
- tenantId: string;
69
- projectId: string;
70
- id: string;
71
68
  name: string | null;
69
+ id: string;
70
+ createdAt: string;
71
+ updatedAt: string;
72
72
  agentId: string;
73
+ projectId: string;
74
+ tenantId: string;
75
+ expiresAt: string | null;
73
76
  publicId: string;
74
77
  keyHash: string;
75
78
  keyPrefix: string;
76
79
  lastUsedAt: string | null;
77
- expiresAt: string | null;
78
- createdAt: string;
79
- updatedAt: string;
80
80
  }>;
81
81
  declare const updateApiKey: (db: DatabaseClient) => (params: {
82
82
  scopes: ProjectScopeConfig;
@@ -7,13 +7,13 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
7
7
  scopes: ProjectScopeConfig;
8
8
  id: string;
9
9
  }) => Promise<{
10
- tenantId: string;
11
- projectId: string;
12
- id: string;
13
10
  name: string;
14
- description: string | null;
11
+ id: string;
15
12
  createdAt: string;
16
13
  updatedAt: string;
14
+ projectId: string;
15
+ tenantId: string;
16
+ description: string | null;
17
17
  props: Record<string, unknown> | null;
18
18
  } | undefined>;
19
19
  declare const listArtifactComponents: (db: DatabaseClient) => (params: {
@@ -41,13 +41,13 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
41
41
  };
42
42
  }>;
43
43
  declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
44
- tenantId: string;
45
- projectId: string;
46
- id: string;
47
44
  name: string;
48
- description: string | null;
45
+ id: string;
49
46
  createdAt: string;
50
47
  updatedAt: string;
48
+ projectId: string;
49
+ tenantId: string;
50
+ description: string | null;
51
51
  props: Record<string, unknown> | null;
52
52
  }>;
53
53
  declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
@@ -84,11 +84,11 @@ declare const associateArtifactComponentWithAgent: (db: DatabaseClient) => (para
84
84
  scopes: SubAgentScopeConfig;
85
85
  artifactComponentId: string;
86
86
  }) => Promise<{
87
- tenantId: string;
88
- projectId: string;
89
87
  id: string;
90
- agentId: string;
91
88
  createdAt: string;
89
+ agentId: string;
90
+ projectId: string;
91
+ tenantId: string;
92
92
  subAgentId: string;
93
93
  artifactComponentId: string;
94
94
  }>;
@@ -127,11 +127,11 @@ declare const upsertAgentArtifactComponentRelation: (db: DatabaseClient) => (par
127
127
  scopes: SubAgentScopeConfig;
128
128
  artifactComponentId: string;
129
129
  }) => Promise<{
130
- tenantId: string;
131
- projectId: string;
132
130
  id: string;
133
- agentId: string;
134
131
  createdAt: string;
132
+ agentId: string;
133
+ projectId: string;
134
+ tenantId: string;
135
135
  subAgentId: string;
136
136
  artifactComponentId: string;
137
137
  } | null>;
@@ -8,26 +8,26 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
8
8
  scopes: AgentScopeConfig;
9
9
  id: string;
10
10
  }) => Promise<{
11
- tenantId: string;
12
- projectId: string;
13
11
  id: string;
14
- agentId: string;
15
- createdAt: string;
16
- updatedAt: string;
17
12
  headersSchema: unknown;
18
13
  contextVariables: Record<string, ContextFetchDefinition> | null;
14
+ createdAt: string;
15
+ updatedAt: string;
16
+ agentId: string;
17
+ projectId: string;
18
+ tenantId: string;
19
19
  } | undefined>;
20
20
  declare const listContextConfigs: (db: DatabaseClient) => (params: {
21
21
  scopes: AgentScopeConfig;
22
22
  }) => Promise<{
23
- tenantId: string;
24
- projectId: string;
25
23
  id: string;
26
- agentId: string;
27
- createdAt: string;
28
- updatedAt: string;
29
24
  headersSchema: unknown;
30
25
  contextVariables: Record<string, ContextFetchDefinition> | null;
26
+ createdAt: string;
27
+ updatedAt: string;
28
+ agentId: string;
29
+ projectId: string;
30
+ tenantId: string;
31
31
  }[]>;
32
32
  declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
33
33
  scopes: AgentScopeConfig;
@@ -42,14 +42,14 @@ declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
42
42
  };
43
43
  }>;
44
44
  declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfigInsert) => Promise<{
45
- tenantId: string;
46
- projectId: string;
47
45
  id: string;
48
- agentId: string;
49
- createdAt: string;
50
- updatedAt: string;
51
46
  headersSchema: unknown;
52
47
  contextVariables: Record<string, ContextFetchDefinition> | null;
48
+ createdAt: string;
49
+ updatedAt: string;
50
+ agentId: string;
51
+ projectId: string;
52
+ tenantId: string;
53
53
  }>;
54
54
  declare const updateContextConfig: (db: DatabaseClient) => (params: {
55
55
  scopes: AgentScopeConfig;
@@ -82,14 +82,14 @@ declare const countContextConfigs: (db: DatabaseClient) => (params: {
82
82
  declare const upsertContextConfig: (db: DatabaseClient) => (params: {
83
83
  data: ContextConfigInsert;
84
84
  }) => Promise<{
85
- tenantId: string;
86
- projectId: string;
87
85
  id: string;
88
- agentId: string;
89
- createdAt: string;
90
- updatedAt: string;
91
86
  headersSchema: unknown;
92
87
  contextVariables: Record<string, ContextFetchDefinition> | null;
88
+ createdAt: string;
89
+ updatedAt: string;
90
+ agentId: string;
91
+ projectId: string;
92
+ tenantId: string;
93
93
  }>;
94
94
  //#endregion
95
95
  export { countContextConfigs, createContextConfig, deleteContextConfig, getContextConfigById, hasContextConfig, listContextConfigs, listContextConfigsPaginated, updateContextConfig, upsertContextConfig };