locker-mcp
Version:
MCP server for file locking and access control for AI code tools
38 lines • 855 B
TypeScript
export type FileState = 'unlocked' | 'locked-context' | 'locked';
export interface StateHistoryEntry {
state: FileState;
timestamp: string;
}
export interface LockerEntry {
filePath: string;
id: string;
state: FileState;
context: string;
history: StateHistoryEntry[];
}
export interface LockerMetadata {
entries: LockerEntry[];
}
export interface LockFileParams {
filePath: string;
context: string;
}
export interface UnlockFileParams {
filePath: string;
}
export interface GetFileStateParams {
filePath: string;
}
export interface UpdateFileParams {
filePath: string;
context: string;
state: FileState;
}
export interface FileStateResponse {
filePath: string;
state: FileState;
context: string;
id: string;
history: StateHistoryEntry[];
}
//# sourceMappingURL=types.d.ts.map