UNPKG

@gonzui/claude-task-manager

Version:

Task management extension for Claude Code with archiving and history

48 lines 2.06 kB
import { I18n } from './i18n'; /** * Claude Code integration entries shared by `init --hooks` (merged into * .claude/settings.json) and the plugin package (hooks/hooks.json), so both * distribution channels stay in sync. */ export declare const STATUS_LINE_ENTRY: { readonly type: "command"; readonly command: "claude-task status --short"; readonly padding: 1; }; export declare const SESSION_START_HOOK_ENTRY: { readonly type: "command"; readonly command: "claude-task status"; }; export declare class CustomCommandGenerator { private workingDir; private i18n; constructor(workingDir: string, i18n: I18n); createClaudeCustomCommand(): Promise<void>; /** * Create a Claude Code Skill (.claude/skills/task/SKILL.md) so newer Claude * Code versions can discover task management automatically. Created only when * a .claude directory already exists, mirroring the slash command behavior. */ createClaudeSkill(): Promise<void>; /** * Register the claude-task MCP server in the project's .mcp.json so Claude * Code can use schema-bound task tools. Created only when a .claude * directory already exists, mirroring the command/skill behavior. An * existing "claude-task" entry is left untouched so user edits survive * re-running init. */ createMcpConfig(): Promise<void>; /** * Wire claude-task into Claude Code's ambient integration points by merging * a `statusLine` entry and a `SessionStart` hook into * `.claude/settings.json`. Only invoked behind an explicit flag * (`claude-task init --hooks`); the user asked for it, so the .claude * directory is created if missing. Existing user settings are preserved: * a present `statusLine` is left untouched, and the hook is only appended * when no claude-task SessionStart hook exists yet. */ createHooksConfig(): Promise<void>; generateSkillContent(): string; generateCustomCommandContent(): string; } //# sourceMappingURL=CustomCommandGenerator.d.ts.map