@hasna/todos 0.11.31 → 0.11.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/cli/commands/agent-commands.d.ts +3 -0
  2. package/dist/cli/commands/agent-commands.d.ts.map +1 -0
  3. package/dist/cli/commands/cloud-commands.d.ts +3 -0
  4. package/dist/cli/commands/cloud-commands.d.ts.map +1 -0
  5. package/dist/cli/commands/config-serve-commands.d.ts +3 -0
  6. package/dist/cli/commands/config-serve-commands.d.ts.map +1 -0
  7. package/dist/cli/commands/machines.d.ts.map +1 -1
  8. package/dist/cli/commands/mcp-hooks-commands.d.ts +3 -0
  9. package/dist/cli/commands/mcp-hooks-commands.d.ts.map +1 -0
  10. package/dist/cli/commands/plan-template-commands.d.ts +3 -0
  11. package/dist/cli/commands/plan-template-commands.d.ts.map +1 -0
  12. package/dist/cli/commands/project-commands.d.ts +3 -0
  13. package/dist/cli/commands/project-commands.d.ts.map +1 -0
  14. package/dist/cli/commands/query-commands.d.ts +3 -0
  15. package/dist/cli/commands/query-commands.d.ts.map +1 -0
  16. package/dist/cli/commands/task-commands.d.ts +3 -0
  17. package/dist/cli/commands/task-commands.d.ts.map +1 -0
  18. package/dist/cli/helpers.d.ts +21 -0
  19. package/dist/cli/helpers.d.ts.map +1 -0
  20. package/dist/cli/index.js +27967 -28088
  21. package/dist/db/cycles.d.ts +78 -0
  22. package/dist/db/cycles.d.ts.map +1 -0
  23. package/dist/db/schema.d.ts.map +1 -1
  24. package/dist/db/task-crud.d.ts.map +1 -1
  25. package/dist/db/webhooks.d.ts.map +1 -1
  26. package/dist/index.d.ts +2 -0
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +165 -3
  29. package/dist/lib/auto-assign.d.ts.map +1 -1
  30. package/dist/lib/config.d.ts +1 -0
  31. package/dist/lib/config.d.ts.map +1 -1
  32. package/dist/lib/logger.d.ts +2 -2
  33. package/dist/lib/logger.d.ts.map +1 -1
  34. package/dist/mcp/index.js +26 -7
  35. package/dist/server/index.js +23 -3
  36. package/dist/types/index.d.ts +2 -0
  37. package/dist/types/index.d.ts.map +1 -1
  38. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ import type { Command } from "commander";
2
+ export declare function registerAgentCommands(program: Command): void;
3
+ //# sourceMappingURL=agent-commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-commands.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/agent-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AASzC,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,QAkYrD"}
@@ -0,0 +1,3 @@
1
+ import type { Command } from "commander";
2
+ export declare function registerCloudCommands(program: Command): void;
3
+ //# sourceMappingURL=cloud-commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloud-commands.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/cloud-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGzC,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,QAwWrD"}
@@ -0,0 +1,3 @@
1
+ import type { Command } from "commander";
2
+ export declare function registerConfigServeCommands(program: Command): void;
3
+ //# sourceMappingURL=config-serve-commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-serve-commands.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/config-serve-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AASzC,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,OAAO,QAuS3D"}
@@ -1 +1 @@
1
- {"version":3,"file":"machines.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/machines.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAczC,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,QAiLvD"}
1
+ {"version":3,"file":"machines.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/machines.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAsEzC,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,QAyRvD"}
@@ -0,0 +1,3 @@
1
+ import type { Command } from "commander";
2
+ export declare function registerMcpHooksCommands(program: Command): void;
3
+ //# sourceMappingURL=mcp-hooks-commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp-hooks-commands.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/mcp-hooks-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAmLzC,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,QAwNxD"}
@@ -0,0 +1,3 @@
1
+ import type { Command } from "commander";
2
+ export declare function registerPlanTemplateCommands(program: Command): void;
3
+ //# sourceMappingURL=plan-template-commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plan-template-commands.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/plan-template-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAazC,wBAAgB,4BAA4B,CAAC,OAAO,EAAE,OAAO,QAkV5D"}
@@ -0,0 +1,3 @@
1
+ import type { Command } from "commander";
2
+ export declare function registerProjectCommands(program: Command): void;
3
+ //# sourceMappingURL=project-commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project-commands.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/project-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgBzC,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,QAgavD"}
@@ -0,0 +1,3 @@
1
+ import type { Command } from "commander";
2
+ export declare function registerQueryCommands(program: Command): void;
3
+ //# sourceMappingURL=query-commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-commands.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/query-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAoBzC,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,QAmxCrD"}
@@ -0,0 +1,3 @@
1
+ import type { Command } from "commander";
2
+ export declare function registerTaskCommands(program: Command): void;
3
+ //# sourceMappingURL=task-commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"task-commands.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/task-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAyCzC,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,QAsuBpD"}
@@ -0,0 +1,21 @@
1
+ import { Command } from "commander";
2
+ import type { Project, Task } from "../types/index.js";
3
+ export declare function getPackageVersion(): string;
4
+ export declare function handleError(e: unknown): never;
5
+ export declare function setProgramRef(p: Command): void;
6
+ export declare function resolveTaskId(partialId: string): string;
7
+ export declare function detectGitRoot(): string | null;
8
+ export declare function autoDetectProject(opts: {
9
+ project?: string;
10
+ }): Project | undefined;
11
+ export declare function autoProject(opts: {
12
+ project?: string;
13
+ }): string | undefined;
14
+ /** Normalize user-friendly status aliases to canonical TaskStatus values */
15
+ export declare function normalizeStatus(s: string): string;
16
+ export declare function normalizeStatusList(statuses: string | string[]): string | string[];
17
+ export declare function output(data: unknown, jsonMode: boolean): void;
18
+ export declare const statusColors: Record<string, (s: string) => string>;
19
+ export declare const priorityColors: Record<string, (s: string) => string>;
20
+ export declare function formatTaskLine(t: Task): string;
21
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file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