@inkeep/agents-core 0.39.3 → 0.39.5
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/auth.d.ts.map +1 -1
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/auth/permissions.d.ts.map +1 -1
- package/dist/client-exports.d.ts +2 -2
- package/dist/client-exports.d.ts.map +1 -1
- package/dist/client.d.ts +350 -350
- package/dist/client.d.ts.map +1 -1
- package/dist/models.d.ts +1 -0
- package/dist/models.d.ts.map +1 -1
- package/dist/models.js +1 -0
- package/dist/models.js.map +1 -1
- package/dist/schema-conversion.d.ts.map +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_plugins0.AccessControl;
|
|
734
734
|
roles: {
|
|
735
735
|
member: {
|
|
736
|
-
authorize<K_1 extends "function" | "organization" | "
|
|
737
|
-
actions: better_auth_plugins0.Subset<"function" | "organization" | "
|
|
736
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key] | {
|
|
737
|
+
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key];
|
|
738
738
|
connector: "OR" | "AND";
|
|
739
739
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
740
|
-
statements: better_auth_plugins0.Subset<"function" | "organization" | "
|
|
740
|
+
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>;
|
|
741
741
|
};
|
|
742
742
|
admin: {
|
|
743
|
-
authorize<K_1 extends "function" | "organization" | "
|
|
744
|
-
actions: better_auth_plugins0.Subset<"function" | "organization" | "
|
|
743
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key] | {
|
|
744
|
+
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key];
|
|
745
745
|
connector: "OR" | "AND";
|
|
746
746
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
747
|
-
statements: better_auth_plugins0.Subset<"function" | "organization" | "
|
|
747
|
+
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>;
|
|
748
748
|
};
|
|
749
749
|
owner: {
|
|
750
|
-
authorize<K_1 extends "function" | "organization" | "
|
|
751
|
-
actions: better_auth_plugins0.Subset<"function" | "organization" | "
|
|
750
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key] | {
|
|
751
|
+
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key];
|
|
752
752
|
connector: "OR" | "AND";
|
|
753
753
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
754
|
-
statements: better_auth_plugins0.Subset<"function" | "organization" | "
|
|
754
|
+
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>;
|
|
755
755
|
};
|
|
756
756
|
};
|
|
757
757
|
membershipLimit: number;
|
|
@@ -1012,25 +1012,25 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
1012
1012
|
ac: better_auth_plugins0.AccessControl;
|
|
1013
1013
|
roles: {
|
|
1014
1014
|
member: {
|
|
1015
|
-
authorize<K_1 extends "function" | "organization" | "
|
|
1016
|
-
actions: better_auth_plugins0.Subset<"function" | "organization" | "
|
|
1015
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key] | {
|
|
1016
|
+
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key];
|
|
1017
1017
|
connector: "OR" | "AND";
|
|
1018
1018
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
1019
|
-
statements: better_auth_plugins0.Subset<"function" | "organization" | "
|
|
1019
|
+
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>;
|
|
1020
1020
|
};
|
|
1021
1021
|
admin: {
|
|
1022
|
-
authorize<K_1 extends "function" | "organization" | "
|
|
1023
|
-
actions: better_auth_plugins0.Subset<"function" | "organization" | "
|
|
1022
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key] | {
|
|
1023
|
+
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key];
|
|
1024
1024
|
connector: "OR" | "AND";
|
|
1025
1025
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
1026
|
-
statements: better_auth_plugins0.Subset<"function" | "organization" | "
|
|
1026
|
+
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>;
|
|
1027
1027
|
};
|
|
1028
1028
|
owner: {
|
|
1029
|
-
authorize<K_1 extends "function" | "organization" | "
|
|
1030
|
-
actions: better_auth_plugins0.Subset<"function" | "organization" | "
|
|
1029
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key] | {
|
|
1030
|
+
actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key];
|
|
1031
1031
|
connector: "OR" | "AND";
|
|
1032
1032
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
1033
|
-
statements: better_auth_plugins0.Subset<"function" | "organization" | "
|
|
1033
|
+
statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>;
|
|
1034
1034
|
};
|
|
1035
1035
|
};
|
|
1036
1036
|
membershipLimit: number;
|
package/dist/auth/auth.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAxC,MAAsB,kBAAkB"}
|
|
@@ -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_plugins52.Subset<"function" | "organization" | "
|
|
7
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins52.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins52.Statements>[key] | {
|
|
8
|
+
actions: better_auth_plugins52.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins52.Statements>[key];
|
|
9
9
|
connector: "OR" | "AND";
|
|
10
10
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins52.AuthorizeResponse;
|
|
11
|
-
statements: better_auth_plugins52.Subset<"function" | "organization" | "
|
|
11
|
+
statements: better_auth_plugins52.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins52.Statements>;
|
|
12
12
|
};
|
|
13
13
|
declare const adminRole: {
|
|
14
|
-
authorize<K_1 extends "function" | "organization" | "
|
|
15
|
-
actions: better_auth_plugins52.Subset<"function" | "organization" | "
|
|
14
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins52.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins52.Statements>[key] | {
|
|
15
|
+
actions: better_auth_plugins52.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins52.Statements>[key];
|
|
16
16
|
connector: "OR" | "AND";
|
|
17
17
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins52.AuthorizeResponse;
|
|
18
|
-
statements: better_auth_plugins52.Subset<"function" | "organization" | "
|
|
18
|
+
statements: better_auth_plugins52.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins52.Statements>;
|
|
19
19
|
};
|
|
20
20
|
declare const ownerRole: {
|
|
21
|
-
authorize<K_1 extends "function" | "organization" | "
|
|
22
|
-
actions: better_auth_plugins52.Subset<"function" | "organization" | "
|
|
21
|
+
authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins52.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins52.Statements>[key] | {
|
|
22
|
+
actions: better_auth_plugins52.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins52.Statements>[key];
|
|
23
23
|
connector: "OR" | "AND";
|
|
24
24
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins52.AuthorizeResponse;
|
|
25
|
-
statements: better_auth_plugins52.Subset<"function" | "organization" | "
|
|
25
|
+
statements: better_auth_plugins52.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins52.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,8BAAA,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,8BAAA,CAAA,UAAA,GAAA,cAAA,GAAA,OAAA,GAAA,SAAA,GAAA,MAAA,GAAA,IAAA,GAAA,QAAA,GAAA,WAAA,GAAA,SAAA,GAAA,YAAA,GAAA,gBAAA,GAAA,oBAAA,GAAA,gBAAA,GAAA,gBAAA,GAAA,YAAA,GAAA,MAAA,mCAAA,IAAA,CAAA;IAEpD,SAaX,EAAA,IAAA,GAAA,KAAA;;;;cAEW;;;;;;;cAeA;;;IAfA,SAaX,EAAA,IAAA,GAAA,KAAA"}
|
package/dist/client-exports.d.ts
CHANGED
|
@@ -177,8 +177,6 @@ declare const FullAgentDefinitionSchema: z.ZodObject<{
|
|
|
177
177
|
subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
178
178
|
id: z.ZodString;
|
|
179
179
|
name: z.ZodString;
|
|
180
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
181
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
182
180
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
183
181
|
models: z.ZodOptional<z.ZodObject<{
|
|
184
182
|
base: z.ZodOptional<z.ZodObject<{
|
|
@@ -203,6 +201,8 @@ declare const FullAgentDefinitionSchema: z.ZodObject<{
|
|
|
203
201
|
}, {
|
|
204
202
|
stepCountIs?: number | undefined;
|
|
205
203
|
}>>>>;
|
|
204
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
205
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
206
206
|
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
207
207
|
type: z.ZodLiteral<"internal">;
|
|
208
208
|
canUse: z.ZodArray<z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-exports.d.ts","names":[],"sources":["../src/credential-stores/default-constants.ts","../src/client-exports.ts"],"sourcesContent":[],"mappings":";;;;;;;cAAa,sBAAA;;;;ACyDkB,cAAlB,kBAAkB,EAAA,CAAA,CAAA,SAAA,CAAA;EAAA,QAAA,aAAA;AAI/B,CAAA,eAAa,CAAA;cAAA,2BAAyB,CAAA,CAAA;;;CAAA,eAAA,CAAA;AAAA,cAIzB,2BAJyB,E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