@inkeep/agents-core 0.0.0-dev-20251217091232 → 0.0.0-dev-20251217094125
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.d.ts +18 -18
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/auth/permissions.d.ts.map +1 -1
- package/dist/auth-schema.d.ts +104 -104
- package/dist/auth-schema.d.ts.map +1 -1
- package/dist/auth-validation-schemas.d.ts +129 -129
- package/dist/auth-validation-schemas.d.ts.map +1 -1
- package/dist/client-exports.d.ts +3 -3
- package/dist/client-exports.d.ts.map +1 -1
- package/dist/client.d.ts +471 -447
- package/dist/client.d.ts.map +1 -1
- package/dist/credential-stores/index.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +23 -1
- package/dist/index.js.map +1 -1
- package/dist/schema-conversion.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/validation/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/auth/auth.d.ts
CHANGED
|
@@ -733,25 +733,25 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
733
733
|
ac: better_auth_plugins20.AccessControl;
|
|
734
734
|
roles: {
|
|
735
735
|
member: {
|
|
736
|
-
authorize<K_1 extends "function" | "organization" | "
|
|
737
|
-
actions: better_auth_plugins20.Subset<"function" | "organization" | "
|
|
736
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key] | {
|
|
737
|
+
actions: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key];
|
|
738
738
|
connector: "OR" | "AND";
|
|
739
739
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
|
|
740
|
-
statements: better_auth_plugins20.Subset<"function" | "organization" | "
|
|
740
|
+
statements: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins20.Statements>;
|
|
741
741
|
};
|
|
742
742
|
admin: {
|
|
743
|
-
authorize<K_1 extends "function" | "organization" | "
|
|
744
|
-
actions: better_auth_plugins20.Subset<"function" | "organization" | "
|
|
743
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key] | {
|
|
744
|
+
actions: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key];
|
|
745
745
|
connector: "OR" | "AND";
|
|
746
746
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
|
|
747
|
-
statements: better_auth_plugins20.Subset<"function" | "organization" | "
|
|
747
|
+
statements: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins20.Statements>;
|
|
748
748
|
};
|
|
749
749
|
owner: {
|
|
750
|
-
authorize<K_1 extends "function" | "organization" | "
|
|
751
|
-
actions: better_auth_plugins20.Subset<"function" | "organization" | "
|
|
750
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key] | {
|
|
751
|
+
actions: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key];
|
|
752
752
|
connector: "OR" | "AND";
|
|
753
753
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
|
|
754
|
-
statements: better_auth_plugins20.Subset<"function" | "organization" | "
|
|
754
|
+
statements: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins20.Statements>;
|
|
755
755
|
};
|
|
756
756
|
};
|
|
757
757
|
sendInvitationEmail(data: {
|
|
@@ -1009,25 +1009,25 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
1009
1009
|
ac: better_auth_plugins20.AccessControl;
|
|
1010
1010
|
roles: {
|
|
1011
1011
|
member: {
|
|
1012
|
-
authorize<K_1 extends "function" | "organization" | "
|
|
1013
|
-
actions: better_auth_plugins20.Subset<"function" | "organization" | "
|
|
1012
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key] | {
|
|
1013
|
+
actions: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key];
|
|
1014
1014
|
connector: "OR" | "AND";
|
|
1015
1015
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
|
|
1016
|
-
statements: better_auth_plugins20.Subset<"function" | "organization" | "
|
|
1016
|
+
statements: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins20.Statements>;
|
|
1017
1017
|
};
|
|
1018
1018
|
admin: {
|
|
1019
|
-
authorize<K_1 extends "function" | "organization" | "
|
|
1020
|
-
actions: better_auth_plugins20.Subset<"function" | "organization" | "
|
|
1019
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key] | {
|
|
1020
|
+
actions: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key];
|
|
1021
1021
|
connector: "OR" | "AND";
|
|
1022
1022
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
|
|
1023
|
-
statements: better_auth_plugins20.Subset<"function" | "organization" | "
|
|
1023
|
+
statements: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins20.Statements>;
|
|
1024
1024
|
};
|
|
1025
1025
|
owner: {
|
|
1026
|
-
authorize<K_1 extends "function" | "organization" | "
|
|
1027
|
-
actions: better_auth_plugins20.Subset<"function" | "organization" | "
|
|
1026
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key] | {
|
|
1027
|
+
actions: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins20.Statements>[key];
|
|
1028
1028
|
connector: "OR" | "AND";
|
|
1029
1029
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
|
|
1030
|
-
statements: better_auth_plugins20.Subset<"function" | "organization" | "
|
|
1030
|
+
statements: better_auth_plugins20.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins20.Statements>;
|
|
1031
1031
|
};
|
|
1032
1032
|
};
|
|
1033
1033
|
sendInvitationEmail(data: {
|
|
@@ -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" | "
|
|
8
|
-
actions: better_auth_plugins0.Subset<"function" | "organization" | "
|
|
7
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins0.Statements>[key] | {
|
|
8
|
+
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "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" | "
|
|
11
|
+
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins0.Statements>;
|
|
12
12
|
};
|
|
13
13
|
declare const adminRole: {
|
|
14
|
-
authorize<K_1 extends "function" | "organization" | "
|
|
15
|
-
actions: better_auth_plugins0.Subset<"function" | "organization" | "
|
|
14
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins0.Statements>[key] | {
|
|
15
|
+
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "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" | "
|
|
18
|
+
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins0.Statements>;
|
|
19
19
|
};
|
|
20
20
|
declare const ownerRole: {
|
|
21
|
-
authorize<K_1 extends "function" | "organization" | "
|
|
22
|
-
actions: better_auth_plugins0.Subset<"function" | "organization" | "
|
|
21
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins0.Statements>[key] | {
|
|
22
|
+
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "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" | "
|
|
25
|
+
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "member" | "invitation" | "team", better_auth_plugins0.Statements>;
|
|
26
26
|
};
|
|
27
27
|
//#endregion
|
|
28
28
|
export { ac, adminRole, memberRole, ownerRole };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permissions.d.ts","names":[],"sources":["../../src/auth/permissions.ts"],"sourcesContent":[],"mappings":";;;;cAwBa,IAAuC;cAEvC;;IAFA,OAAoD,6BAAA,CAAA,UAAA,GAAA,cAAA,GAAA,
|
|
1
|
+
{"version":3,"file":"permissions.d.ts","names":[],"sources":["../../src/auth/permissions.ts"],"sourcesContent":[],"mappings":";;;;cAwBa,IAAuC;cAEvC;;IAFA,OAAoD,6BAAA,CAAA,UAAA,GAAA,cAAA,GAAA,OAAA,GAAA,SAAA,GAAA,MAAA,GAAA,WAAA,GAAA,SAAA,GAAA,YAAA,GAAA,gBAAA,GAAA,oBAAA,GAAA,gBAAA,GAAA,gBAAA,GAAA,IAAA,GAAA,QAAA,GAAA,YAAA,GAAA,MAAA,kCAAA,IAAA,CAAA;IAEpD,SAaX,EAAA,IAAA,GAAA,KAAA;;;;cAEW;;;;;;;cAeA;;;IAfA,SAaX,EAAA,IAAA,GAAA,KAAA"}
|