Files
plugin-legal-ai/node_modules/@paperclipai/shared/dist/validators/adapter-skills.d.ts
Chaim Marcus 587a2a76ca Initial commit: Paperclip plugin for Legal AI integration
16 agent tools, event handler for auto-linking, sync job every 15m.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 08:03:43 +00:00

156 lines
7.0 KiB
TypeScript

import { z } from "zod";
export declare const agentSkillStateSchema: z.ZodEnum<["available", "configured", "installed", "missing", "stale", "external"]>;
export declare const agentSkillOriginSchema: z.ZodEnum<["company_managed", "paperclip_required", "user_installed", "external_unknown"]>;
export declare const agentSkillSyncModeSchema: z.ZodEnum<["unsupported", "persistent", "ephemeral"]>;
export declare const agentSkillEntrySchema: z.ZodObject<{
key: z.ZodString;
runtimeName: z.ZodNullable<z.ZodString>;
desired: z.ZodBoolean;
managed: z.ZodBoolean;
required: z.ZodOptional<z.ZodBoolean>;
requiredReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
state: z.ZodEnum<["available", "configured", "installed", "missing", "stale", "external"]>;
origin: z.ZodOptional<z.ZodEnum<["company_managed", "paperclip_required", "user_installed", "external_unknown"]>>;
originLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
locationLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
readOnly: z.ZodOptional<z.ZodBoolean>;
sourcePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
targetPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
managed: boolean;
key: string;
desired: boolean;
runtimeName: string | null;
state: "installed" | "external" | "available" | "configured" | "missing" | "stale";
required?: boolean | undefined;
requiredReason?: string | null | undefined;
origin?: "company_managed" | "paperclip_required" | "user_installed" | "external_unknown" | undefined;
originLabel?: string | null | undefined;
locationLabel?: string | null | undefined;
readOnly?: boolean | undefined;
sourcePath?: string | null | undefined;
targetPath?: string | null | undefined;
detail?: string | null | undefined;
}, {
managed: boolean;
key: string;
desired: boolean;
runtimeName: string | null;
state: "installed" | "external" | "available" | "configured" | "missing" | "stale";
required?: boolean | undefined;
requiredReason?: string | null | undefined;
origin?: "company_managed" | "paperclip_required" | "user_installed" | "external_unknown" | undefined;
originLabel?: string | null | undefined;
locationLabel?: string | null | undefined;
readOnly?: boolean | undefined;
sourcePath?: string | null | undefined;
targetPath?: string | null | undefined;
detail?: string | null | undefined;
}>;
export declare const agentSkillSnapshotSchema: z.ZodObject<{
adapterType: z.ZodString;
supported: z.ZodBoolean;
mode: z.ZodEnum<["unsupported", "persistent", "ephemeral"]>;
desiredSkills: z.ZodArray<z.ZodString, "many">;
entries: z.ZodArray<z.ZodObject<{
key: z.ZodString;
runtimeName: z.ZodNullable<z.ZodString>;
desired: z.ZodBoolean;
managed: z.ZodBoolean;
required: z.ZodOptional<z.ZodBoolean>;
requiredReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
state: z.ZodEnum<["available", "configured", "installed", "missing", "stale", "external"]>;
origin: z.ZodOptional<z.ZodEnum<["company_managed", "paperclip_required", "user_installed", "external_unknown"]>>;
originLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
locationLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
readOnly: z.ZodOptional<z.ZodBoolean>;
sourcePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
targetPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
managed: boolean;
key: string;
desired: boolean;
runtimeName: string | null;
state: "installed" | "external" | "available" | "configured" | "missing" | "stale";
required?: boolean | undefined;
requiredReason?: string | null | undefined;
origin?: "company_managed" | "paperclip_required" | "user_installed" | "external_unknown" | undefined;
originLabel?: string | null | undefined;
locationLabel?: string | null | undefined;
readOnly?: boolean | undefined;
sourcePath?: string | null | undefined;
targetPath?: string | null | undefined;
detail?: string | null | undefined;
}, {
managed: boolean;
key: string;
desired: boolean;
runtimeName: string | null;
state: "installed" | "external" | "available" | "configured" | "missing" | "stale";
required?: boolean | undefined;
requiredReason?: string | null | undefined;
origin?: "company_managed" | "paperclip_required" | "user_installed" | "external_unknown" | undefined;
originLabel?: string | null | undefined;
locationLabel?: string | null | undefined;
readOnly?: boolean | undefined;
sourcePath?: string | null | undefined;
targetPath?: string | null | undefined;
detail?: string | null | undefined;
}>, "many">;
warnings: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
entries: {
managed: boolean;
key: string;
desired: boolean;
runtimeName: string | null;
state: "installed" | "external" | "available" | "configured" | "missing" | "stale";
required?: boolean | undefined;
requiredReason?: string | null | undefined;
origin?: "company_managed" | "paperclip_required" | "user_installed" | "external_unknown" | undefined;
originLabel?: string | null | undefined;
locationLabel?: string | null | undefined;
readOnly?: boolean | undefined;
sourcePath?: string | null | undefined;
targetPath?: string | null | undefined;
detail?: string | null | undefined;
}[];
mode: "unsupported" | "persistent" | "ephemeral";
adapterType: string;
supported: boolean;
warnings: string[];
desiredSkills: string[];
}, {
entries: {
managed: boolean;
key: string;
desired: boolean;
runtimeName: string | null;
state: "installed" | "external" | "available" | "configured" | "missing" | "stale";
required?: boolean | undefined;
requiredReason?: string | null | undefined;
origin?: "company_managed" | "paperclip_required" | "user_installed" | "external_unknown" | undefined;
originLabel?: string | null | undefined;
locationLabel?: string | null | undefined;
readOnly?: boolean | undefined;
sourcePath?: string | null | undefined;
targetPath?: string | null | undefined;
detail?: string | null | undefined;
}[];
mode: "unsupported" | "persistent" | "ephemeral";
adapterType: string;
supported: boolean;
warnings: string[];
desiredSkills: string[];
}>;
export declare const agentSkillSyncSchema: z.ZodObject<{
desiredSkills: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
desiredSkills: string[];
}, {
desiredSkills: string[];
}>;
export type AgentSkillSync = z.infer<typeof agentSkillSyncSchema>;
//# sourceMappingURL=adapter-skills.d.ts.map