@inkeep/agents-core 0.40.0 → 0.41.0

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.
Files changed (39) hide show
  1. package/dist/_virtual/rolldown_runtime.js +2 -2
  2. package/dist/auth/auth.d.ts +67 -58
  3. package/dist/auth/permissions.d.ts +15 -14
  4. package/dist/auth/permissions.js +2 -1
  5. package/dist/client-exports.d.ts +14 -1
  6. package/dist/constants/otel-attributes.d.ts +1 -3
  7. package/dist/constants/otel-attributes.js +2 -4
  8. package/dist/constants/signoz-queries.d.ts +0 -1
  9. package/dist/constants/signoz-queries.js +0 -1
  10. package/dist/credential-stores/index.d.ts +2 -1
  11. package/dist/credential-stores/index.js +2 -1
  12. package/dist/data-access/agents.d.ts +21 -21
  13. package/dist/data-access/apiKeys.d.ts +20 -20
  14. package/dist/data-access/artifactComponents.d.ts +30 -10
  15. package/dist/data-access/artifactComponents.js +22 -1
  16. package/dist/data-access/contextConfigs.d.ts +12 -12
  17. package/dist/data-access/conversations.d.ts +12 -12
  18. package/dist/data-access/dataComponents.d.ts +4 -4
  19. package/dist/data-access/functionTools.d.ts +8 -8
  20. package/dist/data-access/messages.d.ts +9 -9
  21. package/dist/data-access/subAgentExternalAgentRelations.d.ts +24 -24
  22. package/dist/data-access/subAgentRelations.d.ts +30 -30
  23. package/dist/data-access/subAgentTeamAgentRelations.d.ts +18 -18
  24. package/dist/data-access/subAgents.d.ts +15 -15
  25. package/dist/data-access/tasks.d.ts +3 -3
  26. package/dist/data-access/tools.d.ts +36 -36
  27. package/dist/db/schema.d.ts +25 -0
  28. package/dist/db/schema.js +3 -2
  29. package/dist/index.d.ts +2 -1
  30. package/dist/index.js +3 -2
  31. package/dist/utils/logger.js +19 -3
  32. package/dist/utils/mcp-client.js +19 -5
  33. package/dist/utils/schema-conversion.d.ts +1 -1
  34. package/dist/utils/schema-conversion.js +1 -1
  35. package/dist/validation/schemas.d.ts +1656 -1256
  36. package/drizzle/0007_slim_karma.sql +1 -0
  37. package/drizzle/meta/0007_snapshot.json +3772 -0
  38. package/drizzle/meta/_journal.json +7 -0
  39. package/package.json +9 -9
@@ -1,6 +1,6 @@
1
1
  //#region rolldown:runtime
2
2
  var __defProp = Object.defineProperty;
3
- var __export = (all, symbols) => {
3
+ var __exportAll = (all, symbols) => {
4
4
  let target = {};
5
5
  for (var name in all) {
6
6
  __defProp(target, name, {
@@ -15,4 +15,4 @@ var __export = (all, symbols) => {
15
15
  };
16
16
 
17
17
  //#endregion
18
- export { __export };
18
+ export { __exportAll };
@@ -3,9 +3,8 @@ import * as _better_auth_sso0 from "@better-auth/sso";
3
3
  import * as better_auth0 from "better-auth";
4
4
  import { BetterAuthAdvancedOptions } from "better-auth";
5
5
  import * as better_auth_plugins0 from "better-auth/plugins";
6
- import * as better_auth_social_providers0 from "better-auth/social-providers";
7
- import { GoogleOptions } from "better-auth/social-providers";
8
6
  import * as zod0 from "zod";
7
+ import { GoogleOptions } from "better-auth/social-providers";
9
8
 
10
9
  //#region src/auth/auth.d.ts
11
10
  interface OIDCProviderConfig {
@@ -105,9 +104,9 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
105
104
  [key: string]: any;
106
105
  };
107
106
  data: any;
108
- }>) | undefined;
107
+ } | null>) | undefined;
109
108
  refreshAccessToken?: ((refreshToken: string) => Promise<better_auth0.OAuth2Tokens>) | undefined;
110
- mapProfileToUser?: ((profile: better_auth_social_providers0.GoogleProfile) => {
109
+ mapProfileToUser?: ((profile: better_auth0.GoogleProfile) => {
111
110
  id?: string;
112
111
  name?: string;
113
112
  email?: string | null;
@@ -165,6 +164,9 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
165
164
  generateId?: better_auth0.GenerateIdFn | false | "serial" | "uuid";
166
165
  } | undefined;
167
166
  trustedProxyHeaders?: boolean | undefined;
167
+ backgroundTasks?: {
168
+ handler: (promise: Promise<void>) => void;
169
+ };
168
170
  };
169
171
  trustedOrigins: string[];
170
172
  plugins: [{
@@ -183,6 +185,7 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
183
185
  handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
184
186
  }[];
185
187
  };
188
+ options: better_auth_plugins0.BearerOptions | undefined;
186
189
  }, {
187
190
  id: "sso";
188
191
  endpoints: {
@@ -207,8 +210,6 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
207
210
  };
208
211
  };
209
212
  };
210
- } & {
211
- use: any[];
212
213
  }, Response>>;
213
214
  registerSSOProvider: better_auth0.StrictEndpoint<"/sso/register", {
214
215
  method: "POST";
@@ -228,6 +229,7 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
228
229
  }>>;
229
230
  jwksEndpoint: zod0.ZodOptional<zod0.ZodString>;
230
231
  discoveryEndpoint: zod0.ZodOptional<zod0.ZodString>;
232
+ skipDiscovery: zod0.ZodOptional<zod0.ZodBoolean>;
231
233
  scopes: zod0.ZodOptional<zod0.ZodArray<zod0.ZodString>>;
232
234
  pkce: zod0.ZodOptional<zod0.ZodDefault<zod0.ZodBoolean>>;
233
235
  mapping: zod0.ZodOptional<zod0.ZodObject<{
@@ -472,9 +474,11 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
472
474
  };
473
475
  };
474
476
  };
475
- } & {
476
- use: any[];
477
477
  }, {
478
+ redirectURI: string;
479
+ oidcConfig: _better_auth_sso0.OIDCConfig | null;
480
+ samlConfig: _better_auth_sso0.SAMLConfig | null;
481
+ } & Omit<{
478
482
  issuer: string;
479
483
  oidcConfig?: _better_auth_sso0.OIDCConfig | undefined;
480
484
  samlConfig?: _better_auth_sso0.SAMLConfig | undefined;
@@ -482,7 +486,7 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
482
486
  providerId: string;
483
487
  organizationId?: string | undefined;
484
488
  domain: string;
485
- }>;
489
+ }, "oidcConfig" | "samlConfig">>;
486
490
  signInSSO: ReturnType<(options?: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sign-in/sso", {
487
491
  method: "POST";
488
492
  body: zod0.ZodObject<{
@@ -497,8 +501,8 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
497
501
  loginHint: zod0.ZodOptional<zod0.ZodString>;
498
502
  requestSignUp: zod0.ZodOptional<zod0.ZodBoolean>;
499
503
  providerType: zod0.ZodOptional<zod0.ZodEnum<{
500
- oidc: "oidc";
501
504
  saml: "saml";
505
+ oidc: "oidc";
502
506
  }>>;
503
507
  }, better_auth0.$strip>;
504
508
  metadata: {
@@ -573,8 +577,6 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
573
577
  };
574
578
  };
575
579
  };
576
- } & {
577
- use: any[];
578
580
  }, {
579
581
  url: string;
580
582
  redirect: boolean;
@@ -589,7 +591,6 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
589
591
  }, better_auth0.$strip>;
590
592
  allowedMediaTypes: string[];
591
593
  metadata: {
592
- isAction: false;
593
594
  openapi: {
594
595
  operationId: string;
595
596
  summary: string;
@@ -600,9 +601,8 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
600
601
  };
601
602
  };
602
603
  };
604
+ scope: "server";
603
605
  };
604
- } & {
605
- use: any[];
606
606
  }, never>>;
607
607
  callbackSSOSAML: ReturnType<(options?: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/saml2/callback/:providerId", {
608
608
  method: "POST";
@@ -611,7 +611,6 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
611
611
  RelayState: zod0.ZodOptional<zod0.ZodString>;
612
612
  }, better_auth0.$strip>;
613
613
  metadata: {
614
- isAction: false;
615
614
  allowedMediaTypes: string[];
616
615
  openapi: {
617
616
  operationId: string;
@@ -629,9 +628,8 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
629
628
  };
630
629
  };
631
630
  };
631
+ scope: "server";
632
632
  };
633
- } & {
634
- use: any[];
635
633
  }, never>>;
636
634
  acsEndpoint: ReturnType<(options?: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/saml2/sp/acs/:providerId", {
637
635
  method: "POST";
@@ -643,7 +641,6 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
643
641
  RelayState: zod0.ZodOptional<zod0.ZodString>;
644
642
  }, better_auth0.$strip>;
645
643
  metadata: {
646
- isAction: false;
647
644
  allowedMediaTypes: string[];
648
645
  openapi: {
649
646
  operationId: string;
@@ -655,9 +652,8 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
655
652
  };
656
653
  };
657
654
  };
655
+ scope: "server";
658
656
  };
659
- } & {
660
- use: any[];
661
657
  }, never>>;
662
658
  } & {
663
659
  requestDomainVerification: ReturnType<(options: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/request-domain-verification", {
@@ -705,8 +701,6 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
705
701
  };
706
702
  };
707
703
  }>)[];
708
- } & {
709
- use: any[];
710
704
  }, {
711
705
  domainVerificationToken: string;
712
706
  }>>;
@@ -758,8 +752,6 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
758
752
  };
759
753
  };
760
754
  }>)[];
761
- } & {
762
- use: any[];
763
755
  }, void>>;
764
756
  };
765
757
  schema: any;
@@ -770,7 +762,9 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
770
762
  };
771
763
  }, {
772
764
  id: "oauth-proxy";
773
- options: better_auth_plugins0.OAuthProxyOptions | undefined;
765
+ options: NoInfer<{
766
+ productionURL: string;
767
+ }>;
774
768
  endpoints: {
775
769
  oAuthProxy: better_auth0.StrictEndpoint<"/oauth-proxy-callback", {
776
770
  method: "GET";
@@ -805,8 +799,6 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
805
799
  };
806
800
  };
807
801
  };
808
- } & {
809
- use: any[];
810
802
  }, never>;
811
803
  };
812
804
  hooks: {
@@ -826,25 +818,25 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
826
818
  ac: better_auth_plugins0.AccessControl;
827
819
  roles: {
828
820
  member: {
829
- authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "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" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key] | {
830
- actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key];
821
+ authorize<K_1 extends "function" | "organization" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "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" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "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" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key];
831
823
  connector: "OR" | "AND";
832
824
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
833
- statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
825
+ statements: better_auth_plugins0.Subset<"function" | "organization" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
834
826
  };
835
827
  admin: {
836
- authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "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" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key] | {
837
- actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key];
828
+ authorize<K_1 extends "function" | "organization" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "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" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "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" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key];
838
830
  connector: "OR" | "AND";
839
831
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
840
- statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
832
+ statements: better_auth_plugins0.Subset<"function" | "organization" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
841
833
  };
842
834
  owner: {
843
- authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "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" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key] | {
844
- actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key];
835
+ authorize<K_1 extends "function" | "organization" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "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" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "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" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key];
845
837
  connector: "OR" | "AND";
846
838
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
847
- statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
839
+ statements: better_auth_plugins0.Subset<"function" | "organization" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
848
840
  };
849
841
  };
850
842
  membershipLimit: number;
@@ -1100,30 +1092,30 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
1100
1092
  readonly ROLE_NAME_IS_ALREADY_TAKEN: "That role name is already taken";
1101
1093
  readonly CANNOT_DELETE_A_PRE_DEFINED_ROLE: "Cannot delete a pre-defined role";
1102
1094
  };
1103
- options: {
1095
+ options: NoInfer<{
1104
1096
  allowUserToCreateOrganization: true;
1105
1097
  ac: better_auth_plugins0.AccessControl;
1106
1098
  roles: {
1107
1099
  member: {
1108
- authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "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" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key] | {
1109
- actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key];
1100
+ authorize<K_1 extends "function" | "organization" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "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" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "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" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key];
1110
1102
  connector: "OR" | "AND";
1111
1103
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1112
- statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
1104
+ statements: better_auth_plugins0.Subset<"function" | "organization" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
1113
1105
  };
1114
1106
  admin: {
1115
- authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "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" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key] | {
1116
- actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key];
1107
+ authorize<K_1 extends "function" | "organization" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "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" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "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" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key];
1117
1109
  connector: "OR" | "AND";
1118
1110
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1119
- statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
1111
+ statements: better_auth_plugins0.Subset<"function" | "organization" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
1120
1112
  };
1121
1113
  owner: {
1122
- authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "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" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key] | {
1123
- actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key];
1114
+ authorize<K_1 extends "function" | "organization" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "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" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "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" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>[key];
1124
1116
  connector: "OR" | "AND";
1125
1117
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1126
- statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
1118
+ statements: better_auth_plugins0.Subset<"function" | "organization" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins0.Statements>;
1127
1119
  };
1128
1120
  };
1129
1121
  membershipLimit: number;
@@ -1139,7 +1131,7 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
1139
1131
  user: better_auth0.User;
1140
1132
  };
1141
1133
  }): Promise<void>;
1142
- };
1134
+ }>;
1143
1135
  }, {
1144
1136
  id: "device-authorization";
1145
1137
  schema: {
@@ -1262,8 +1254,6 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
1262
1254
  };
1263
1255
  };
1264
1256
  };
1265
- } & {
1266
- use: any[];
1267
1257
  }, {
1268
1258
  device_code: string;
1269
1259
  user_code: string;
@@ -1334,8 +1324,6 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
1334
1324
  };
1335
1325
  };
1336
1326
  };
1337
- } & {
1338
- use: any[];
1339
1327
  }, {
1340
1328
  access_token: string;
1341
1329
  token_type: string;
@@ -1381,8 +1369,6 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
1381
1369
  };
1382
1370
  };
1383
1371
  };
1384
- } & {
1385
- use: any[];
1386
1372
  }, {
1387
1373
  user_code: string;
1388
1374
  status: string;
@@ -1423,8 +1409,6 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
1423
1409
  };
1424
1410
  };
1425
1411
  };
1426
- } & {
1427
- use: any[];
1428
1412
  }, {
1429
1413
  success: boolean;
1430
1414
  }>;
@@ -1462,8 +1446,6 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
1462
1446
  };
1463
1447
  };
1464
1448
  };
1465
- } & {
1466
- use: any[];
1467
1449
  }, {
1468
1450
  success: boolean;
1469
1451
  }>;
@@ -1482,6 +1464,33 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
1482
1464
  readonly INVALID_DEVICE_CODE_STATUS: "Invalid device code status";
1483
1465
  readonly AUTHENTICATION_REQUIRED: "Authentication required";
1484
1466
  };
1467
+ options: Partial<{
1468
+ expiresIn: better_auth_plugins0.TimeString;
1469
+ interval: better_auth_plugins0.TimeString;
1470
+ deviceCodeLength: number;
1471
+ userCodeLength: number;
1472
+ schema: {
1473
+ deviceCode?: {
1474
+ modelName?: string | undefined;
1475
+ fields?: {
1476
+ deviceCode?: string | undefined;
1477
+ userCode?: string | undefined;
1478
+ userId?: string | undefined;
1479
+ expiresAt?: string | undefined;
1480
+ status?: string | undefined;
1481
+ lastPolledAt?: string | undefined;
1482
+ pollingInterval?: string | undefined;
1483
+ clientId?: string | undefined;
1484
+ scope?: string | undefined;
1485
+ } | undefined;
1486
+ } | undefined;
1487
+ };
1488
+ generateDeviceCode?: (() => string | Promise<string>) | undefined;
1489
+ generateUserCode?: (() => string | Promise<string>) | undefined;
1490
+ validateClient?: ((clientId: string) => boolean | Promise<boolean>) | undefined;
1491
+ onDeviceAuthRequest?: ((clientId: string, scope: string | undefined) => void | Promise<void>) | undefined;
1492
+ verificationUri?: string | undefined;
1493
+ }>;
1485
1494
  }];
1486
1495
  }>;
1487
1496
  declare const auth: ReturnType<typeof createAuth>;
@@ -1,28 +1,29 @@
1
- import * as better_auth_plugins53 from "better-auth/plugins";
1
+ import * as better_auth_plugins55 from "better-auth/plugins";
2
2
  import { AccessControl } from "better-auth/plugins/access";
3
+ import { organizationClient } from "better-auth/client/plugins";
3
4
 
4
5
  //#region src/auth/permissions.d.ts
5
6
  declare const ac: AccessControl;
6
7
  declare const memberRole: {
7
- authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "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_plugins53.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins53.Statements>[key] | {
8
- actions: better_auth_plugins53.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins53.Statements>[key];
8
+ authorize<K_1 extends "function" | "organization" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "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" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "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" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins55.Statements>[key];
9
10
  connector: "OR" | "AND";
10
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins53.AuthorizeResponse;
11
- statements: better_auth_plugins53.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins53.Statements>;
11
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins55.AuthorizeResponse;
12
+ statements: better_auth_plugins55.Subset<"function" | "organization" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins55.Statements>;
12
13
  };
13
14
  declare const adminRole: {
14
- authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "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_plugins53.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins53.Statements>[key] | {
15
- actions: better_auth_plugins53.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins53.Statements>[key];
15
+ authorize<K_1 extends "function" | "organization" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "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" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "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" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins55.Statements>[key];
16
17
  connector: "OR" | "AND";
17
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins53.AuthorizeResponse;
18
- statements: better_auth_plugins53.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins53.Statements>;
18
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins55.AuthorizeResponse;
19
+ statements: better_auth_plugins55.Subset<"function" | "organization" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins55.Statements>;
19
20
  };
20
21
  declare const ownerRole: {
21
- authorize<K_1 extends "function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "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_plugins53.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins53.Statements>[key] | {
22
- actions: better_auth_plugins53.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins53.Statements>[key];
22
+ authorize<K_1 extends "function" | "organization" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "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" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "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" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins55.Statements>[key];
23
24
  connector: "OR" | "AND";
24
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins53.AuthorizeResponse;
25
- statements: better_auth_plugins53.Subset<"function" | "organization" | "agent" | "member" | "invitation" | "ac" | "project" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins53.Statements>;
25
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins55.AuthorizeResponse;
26
+ statements: better_auth_plugins55.Subset<"function" | "organization" | "member" | "invitation" | "ac" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "team", better_auth_plugins55.Statements>;
26
27
  };
27
28
  //#endregion
28
- export { ac, adminRole, memberRole, ownerRole };
29
+ export { ac, adminRole, memberRole, organizationClient, ownerRole };
@@ -1,5 +1,6 @@
1
1
  import { createAccessControl } from "better-auth/plugins/access";
2
2
  import { adminAc, defaultStatements, memberAc, ownerAc } from "better-auth/plugins/organization/access";
3
+ import { organizationClient } from "better-auth/client/plugins";
3
4
 
4
5
  //#region src/auth/permissions.ts
5
6
  const statement = {
@@ -215,4 +216,4 @@ const ownerRole = ac.newRole({
215
216
  });
216
217
 
217
218
  //#endregion
218
- export { ac, adminRole, memberRole, ownerRole };
219
+ export { ac, adminRole, memberRole, organizationClient, ownerRole };
@@ -2,11 +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";
7
8
  import "./index.js";
8
9
  import { ConversationHistoryConfig, CredentialStoreType, MCPTransportType } from "./types/utility.js";
9
- import { DEFAULT_NANGO_STORE_ID } from "./credential-stores/default-constants.js";
10
10
  import { z } from "@hono/zod-openapi";
11
11
 
12
12
  //#region src/client-exports.d.ts
@@ -145,6 +145,19 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
145
145
  name: z.ZodString;
146
146
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
147
147
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
148
+ render: z.ZodOptional<z.ZodNullable<z.ZodType<{
149
+ component: string;
150
+ mockData: Record<string, unknown>;
151
+ }, {
152
+ component: string;
153
+ mockData: Record<string, unknown>;
154
+ }, z.core.$ZodTypeInternals<{
155
+ component: string;
156
+ mockData: Record<string, unknown>;
157
+ }, {
158
+ component: string;
159
+ mockData: Record<string, unknown>;
160
+ }>>>>;
148
161
  }, {
149
162
  out: {};
150
163
  in: {};
@@ -19,7 +19,6 @@ declare const SPAN_NAMES: {
19
19
  declare const AI_OPERATIONS: {
20
20
  readonly GENERATE_TEXT: "ai.generateText.doGenerate";
21
21
  readonly STREAM_TEXT: "ai.streamText.doStream";
22
- readonly STREAM_OBJECT: "ai.streamObject.doStream";
23
22
  };
24
23
  /** OpenTelemetry span attribute keys used for tracing */
25
24
  declare const SPAN_KEYS: {
@@ -49,6 +48,7 @@ declare const SPAN_KEYS: {
49
48
  readonly AI_TELEMETRY_FUNCTION_ID: "ai.telemetry.functionId";
50
49
  readonly AI_TELEMETRY_SUB_AGENT_ID: "ai.telemetry.metadata.subAgentId";
51
50
  readonly AI_TELEMETRY_SUB_AGENT_NAME: "ai.telemetry.metadata.subAgentName";
51
+ readonly AI_TELEMETRY_METADATA_PHASE: "ai.telemetry.metadata.phase";
52
52
  readonly AI_MODEL_ID: "ai.model.id";
53
53
  readonly AI_TOOL_CALL_NAME: "ai.toolCall.name";
54
54
  readonly AI_TOOL_CALL_RESULT: "ai.toolCall.result";
@@ -110,7 +110,6 @@ declare const ACTIVITY_TYPES: {
110
110
  readonly USER_MESSAGE: "user_message";
111
111
  readonly AI_ASSISTANT_MESSAGE: "ai_assistant_message";
112
112
  readonly AI_MODEL_STREAMED_TEXT: "ai_model_streamed_text";
113
- readonly AI_MODEL_STREAMED_OBJECT: "ai_model_streamed_object";
114
113
  readonly TOOL_APPROVAL_REQUESTED: "tool_approval_requested";
115
114
  readonly TOOL_APPROVAL_APPROVED: "tool_approval_approved";
116
115
  readonly TOOL_APPROVAL_DENIED: "tool_approval_denied";
@@ -135,7 +134,6 @@ declare const ACTIVITY_NAMES: {
135
134
  readonly AI_ASSISTANT_MESSAGE: "AI Assistant Message";
136
135
  readonly AI_TEXT_GENERATION: "AI Text Generation";
137
136
  readonly AI_STREAMING_TEXT: "AI Streaming Text";
138
- readonly AI_STREAMING_OBJECT: "AI Streaming Object";
139
137
  readonly UNKNOWN_AGENT: "Unknown Agent";
140
138
  readonly USER: "User";
141
139
  };
@@ -18,8 +18,7 @@ const SPAN_NAMES = {
18
18
  };
19
19
  const AI_OPERATIONS = {
20
20
  GENERATE_TEXT: "ai.generateText.doGenerate",
21
- STREAM_TEXT: "ai.streamText.doStream",
22
- STREAM_OBJECT: "ai.streamObject.doStream"
21
+ STREAM_TEXT: "ai.streamText.doStream"
23
22
  };
24
23
  /** OpenTelemetry span attribute keys used for tracing */
25
24
  const SPAN_KEYS = {
@@ -49,6 +48,7 @@ const SPAN_KEYS = {
49
48
  AI_TELEMETRY_FUNCTION_ID: "ai.telemetry.functionId",
50
49
  AI_TELEMETRY_SUB_AGENT_ID: "ai.telemetry.metadata.subAgentId",
51
50
  AI_TELEMETRY_SUB_AGENT_NAME: "ai.telemetry.metadata.subAgentName",
51
+ AI_TELEMETRY_METADATA_PHASE: "ai.telemetry.metadata.phase",
52
52
  AI_MODEL_ID: "ai.model.id",
53
53
  AI_TOOL_CALL_NAME: "ai.toolCall.name",
54
54
  AI_TOOL_CALL_RESULT: "ai.toolCall.result",
@@ -110,7 +110,6 @@ const ACTIVITY_TYPES = {
110
110
  USER_MESSAGE: "user_message",
111
111
  AI_ASSISTANT_MESSAGE: "ai_assistant_message",
112
112
  AI_MODEL_STREAMED_TEXT: "ai_model_streamed_text",
113
- AI_MODEL_STREAMED_OBJECT: "ai_model_streamed_object",
114
113
  TOOL_APPROVAL_REQUESTED: "tool_approval_requested",
115
114
  TOOL_APPROVAL_APPROVED: "tool_approval_approved",
116
115
  TOOL_APPROVAL_DENIED: "tool_approval_denied",
@@ -135,7 +134,6 @@ const ACTIVITY_NAMES = {
135
134
  AI_ASSISTANT_MESSAGE: "AI Assistant Message",
136
135
  AI_TEXT_GENERATION: "AI Text Generation",
137
136
  AI_STREAMING_TEXT: "AI Streaming Text",
138
- AI_STREAMING_OBJECT: "AI Streaming Object",
139
137
  UNKNOWN_AGENT: "Unknown Agent",
140
138
  USER: "User"
141
139
  };
@@ -94,7 +94,6 @@ declare const QUERY_EXPRESSIONS: {
94
94
  readonly AI_ASSISTANT_MESSAGES: "aiAssistantMessages";
95
95
  readonly AI_GENERATIONS: "aiGenerations";
96
96
  readonly AI_STREAMING_TEXT: "aiStreamingText";
97
- readonly AI_STREAMING_OBJECT: "aiStreamingObject";
98
97
  readonly CONTEXT_FETCHERS: "contextFetchers";
99
98
  readonly DURATION_SPANS: "durationSpans";
100
99
  readonly AGENT_GENERATIONS: "agentGenerations";
@@ -94,7 +94,6 @@ const QUERY_EXPRESSIONS = {
94
94
  AI_ASSISTANT_MESSAGES: "aiAssistantMessages",
95
95
  AI_GENERATIONS: "aiGenerations",
96
96
  AI_STREAMING_TEXT: "aiStreamingText",
97
- AI_STREAMING_OBJECT: "aiStreamingObject",
98
97
  CONTEXT_FETCHERS: "contextFetchers",
99
98
  DURATION_SPANS: "durationSpans",
100
99
  AGENT_GENERATIONS: "agentGenerations",
@@ -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 };