chore: include pre-built dist for github install
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
export declare const HOOK_NAME = "tasks-todowrite-disabler";
|
||||
export declare const BLOCKED_TOOLS: string[];
|
||||
export declare const REPLACEMENT_MESSAGE = "TodoRead/TodoWrite are DISABLED because experimental.task_system is enabled.\n\n**ACTION REQUIRED**: RE-REGISTER what you were about to write as Todo using Task tools NOW. Then ASSIGN yourself and START WORKING immediately.\n\n**Use these tools instead:**\n- TaskCreate: Create new task with auto-generated ID\n- TaskUpdate: Update status, assign owner, add dependencies\n- TaskList: List active tasks with dependency info\n- TaskGet: Get full task details\n\n**Workflow:**\n1. TaskCreate({ subject: \"your task description\" })\n2. TaskUpdate({ id: \"T-xxx\", status: \"in_progress\", owner: \"your-thread-id\" })\n3. DO THE WORK\n4. TaskUpdate({ id: \"T-xxx\", status: \"completed\" })\n\nCRITICAL: 1 task = 1 task. Fire independent tasks concurrently.\n\n**STOP! DO NOT START WORKING DIRECTLY - NO MATTER HOW SMALL THE TASK!**\nEven if the task seems trivial (1 line fix, simple edit, quick change), you MUST:\n1. FIRST register it with TaskCreate\n2. THEN mark it in_progress\n3. ONLY THEN do the actual work\n4. FINALLY mark it completed\n\n**WHY?** Task tracking = visibility = accountability. Skipping registration = invisible work = chaos.\n\nDO NOT retry TodoWrite. Convert to TaskCreate NOW.";
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
export interface TasksTodowriteDisablerConfig {
|
||||
experimental?: {
|
||||
task_system?: boolean;
|
||||
};
|
||||
}
|
||||
export declare function createTasksTodowriteDisablerHook(config: TasksTodowriteDisablerConfig): {
|
||||
"tool.execute.before": (input: {
|
||||
tool: string;
|
||||
sessionID: string;
|
||||
callID: string;
|
||||
}, _output: {
|
||||
args: Record<string, unknown>;
|
||||
}) => Promise<void>;
|
||||
};
|
||||
@@ -0,0 +1,2 @@
|
||||
export { createTasksTodowriteDisablerHook } from "./hook";
|
||||
export type { TasksTodowriteDisablerConfig } from "./hook";
|
||||
Reference in New Issue
Block a user