import { Static, Type } from "typebox"; import { Context } from "@deepseek-ai/cordis"; //#region src/schemas/subagentPolicy.d.ts /** Team-owned Cordis service for session-scoped subagent policy contributions. */ declare const DOOM_SUBAGENT_POLICY_SERVICE = "doom/subagent-policy"; declare const SubagentPolicySchema: Type.TObject<{ owner: Type.TString; allowedTools: Type.TOptional>; requiredTools: Type.TOptional>; allowMcpTools: Type.TOptional; allowedExternalProfiles: Type.TOptional>; denyExtensions: Type.TOptional; }>; type SubagentPolicy = Static; interface SubagentPolicyHandle { readonly owner: string; readonly generation: string; update(policy: SubagentPolicy): void; dispose(): void; } interface DoomSubagentPolicyService { readonly generation: string; register(policy: SubagentPolicy): SubagentPolicyHandle; } declare module '@deepseek-ai/cordis' { interface Context { 'doom/subagent-policy': DoomSubagentPolicyService; } } declare function readDoomSubagentPolicyService(ctx: Context): DoomSubagentPolicyService | undefined; //#endregion export { SubagentPolicySchema as a, SubagentPolicyHandle as i, DoomSubagentPolicyService as n, readDoomSubagentPolicyService as o, SubagentPolicy as r, DOOM_SUBAGENT_POLICY_SERVICE as t }; //# sourceMappingURL=subagentPolicy-ALJam4GN.d.mts.map