agentlang
Version:
The easiest way to build the most reliable AI agents - enterprise-grade teams of AI agents that collaborate with each other and humans
16 lines • 770 B
TypeScript
export declare const AdminUserId = "00000000-0000-0000-0000-000000000000";
export declare function isAuthEnabled(): boolean;
export declare let InternalRbacEnabled: boolean;
export declare function isRbacEnabled(): boolean;
export declare function callWithRbac(f: Function): Promise<void>;
export type ActiveSessionInfo = {
sessionId: string;
userId: string;
};
export declare const AdminSession: ActiveSessionInfo;
export declare const BypassSession: ActiveSessionInfo;
export declare const NoSession: ActiveSessionInfo;
export declare function isNoSession(sess: ActiveSessionInfo): boolean;
export declare function setLocalEnv(k: string, v: string): string;
export declare function getLocalEnv(k: string): string | undefined;
//# sourceMappingURL=defs.d.ts.map