@kmgeon/taskflow 0.1.3 → 0.1.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmgeon/taskflow",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "task": "./bin/task.mjs",
@@ -34,6 +34,7 @@
34
34
  "@dnd-kit/sortable": "^10.0.0",
35
35
  "@dnd-kit/utilities": "^3.2.2",
36
36
  "@hookform/resolvers": "^4",
37
+ "@kmgeon/taskflow": "^0.1.3",
37
38
  "@modelcontextprotocol/sdk": "^1.27.1",
38
39
  "@radix-ui/react-accordion": "^1.2.3",
39
40
  "@radix-ui/react-avatar": "^1.1.2",
@@ -77,8 +78,8 @@
77
78
  "server-only": "0.0.1",
78
79
  "sql.js": "^1.14.1",
79
80
  "ts-pattern": "^5",
80
- "unified": "^11.0.5",
81
81
  "tsx": "^4.20.6",
82
+ "unified": "^11.0.5",
82
83
  "zod": "^4",
83
84
  "zustand": "^4"
84
85
  },
@@ -8,9 +8,9 @@ import {
8
8
  listTasks,
9
9
  updateTask,
10
10
  ensureRepo,
11
- } from "@/features/taskflow/lib/repository";
12
- import { filterTasks, sortTasks } from "@/features/taskflow/lib/filter";
13
- import type { Task } from "@/features/taskflow/types";
11
+ } from "../../../features/taskflow/lib/repository.js";
12
+ import { filterTasks, sortTasks } from "../../../features/taskflow/lib/filter.js";
13
+ import type { Task } from "../../../features/taskflow/types.js";
14
14
 
15
15
  let tmpDir: string;
16
16
 
@@ -1,9 +1,9 @@
1
1
  import type { Command } from "commander";
2
2
  import chalk from "chalk";
3
3
  import { withCliErrorBoundary } from "../lib/error-boundary.js";
4
- import { ensureRepo } from "@/features/taskflow/lib/repository";
5
- import { getAdvisorDbPath } from "@/features/taskflow/constants";
6
- import { AdvisorDb } from "@/features/taskflow/lib/advisor/db";
4
+ import { ensureRepo } from "../../features/taskflow/lib/repository.js";
5
+ import { getAdvisorDbPath } from "../../features/taskflow/constants.js";
6
+ import { AdvisorDb } from "../../features/taskflow/lib/advisor/db.js";
7
7
 
8
8
  export function registerAdvisorCommand(program: Command) {
9
9
  program
@@ -2,11 +2,11 @@ import type { Command } from "commander";
2
2
  import chalk from "chalk";
3
3
  import ora from "ora";
4
4
  import { withCliErrorBoundary } from "../lib/error-boundary.js";
5
- import { ensureRepo } from "@/features/taskflow/lib/repository";
6
- import { getAdvisorDbPath } from "@/features/taskflow/constants";
7
- import { AdvisorDb } from "@/features/taskflow/lib/advisor/db";
8
- import { buildContext } from "@/features/taskflow/lib/advisor/context-builder";
9
- import { getAnswer } from "@/features/taskflow/lib/advisor/ai-advisor";
5
+ import { ensureRepo } from "../../features/taskflow/lib/repository.js";
6
+ import { getAdvisorDbPath } from "../../features/taskflow/constants.js";
7
+ import { AdvisorDb } from "../../features/taskflow/lib/advisor/db.js";
8
+ import { buildContext } from "../../features/taskflow/lib/advisor/context-builder.js";
9
+ import { getAnswer } from "../../features/taskflow/lib/advisor/ai-advisor.js";
10
10
 
11
11
  export function registerAskCommand(program: Command) {
12
12
  program
@@ -1,9 +1,9 @@
1
1
  import type { Command } from "commander";
2
2
  import chalk from "chalk";
3
- import { listTasks } from "@/features/taskflow/lib/repository";
3
+ import { listTasks } from "../../features/taskflow/lib/repository.js";
4
4
  import { formatKanbanBoard } from "../lib/formatter.js";
5
5
  import { withCliErrorBoundary } from "../lib/error-boundary.js";
6
- import type { Task } from "@/features/taskflow/types";
6
+ import type { Task } from "../../features/taskflow/types.js";
7
7
  import { getTrdGroupNames } from "../lib/trd.js";
8
8
 
9
9
  function formatGroupBoard(tasks: Task[], trdGroupNames: string[]): void {
@@ -1,10 +1,10 @@
1
1
  import type { Command } from "commander";
2
2
  import chalk from "chalk";
3
- import { listTasks } from "@/features/taskflow/lib/repository";
3
+ import { listTasks } from "../../features/taskflow/lib/repository.js";
4
4
  import { formatTaskTable, formatDashboard } from "../lib/formatter.js";
5
5
  import { withCliErrorBoundary } from "../lib/error-boundary.js";
6
- import type { Task, TaskStatus, TaskSortKey, TaskSortOrder } from "@/features/taskflow/types";
7
- import { TASK_STATUSES } from "@/features/taskflow/types";
6
+ import type { Task, TaskStatus, TaskSortKey, TaskSortOrder } from "../../features/taskflow/types.js";
7
+ import { TASK_STATUSES } from "../../features/taskflow/types.js";
8
8
  import { getTrdGroupNames } from "../lib/trd.js";
9
9
 
10
10
  function parseStatus(value: string): TaskStatus {
@@ -1,9 +1,9 @@
1
1
  import type { Command } from "commander";
2
2
  import chalk from "chalk";
3
- import { readTask, updateTask } from "@/features/taskflow/lib/repository";
3
+ import { readTask, updateTask } from "../../features/taskflow/lib/repository.js";
4
4
  import { withCliErrorBoundary } from "../lib/error-boundary.js";
5
- import type { TaskStatus } from "@/features/taskflow/types";
6
- import { TASK_STATUSES } from "@/features/taskflow/types";
5
+ import type { TaskStatus } from "../../features/taskflow/types.js";
6
+ import { TASK_STATUSES } from "../../features/taskflow/types.js";
7
7
 
8
8
  function validateStatus(value: string): TaskStatus {
9
9
  if (!(TASK_STATUSES as readonly string[]).includes(value)) {
@@ -1,6 +1,6 @@
1
1
  import type { Command } from "commander";
2
2
  import chalk from "chalk";
3
- import { readTask } from "@/features/taskflow/lib/repository";
3
+ import { readTask } from "../../features/taskflow/lib/repository.js";
4
4
  import { formatTaskDetail } from "../lib/formatter.js";
5
5
  import { withCliErrorBoundary } from "../lib/error-boundary.js";
6
6
 
@@ -1,9 +1,9 @@
1
1
  import type { Command } from "commander";
2
2
  import chalk from "chalk";
3
- import { listTasks } from "@/features/taskflow/lib/repository";
3
+ import { listTasks } from "../../features/taskflow/lib/repository.js";
4
4
  import { formatDependencyTree } from "../lib/formatter.js";
5
5
  import { withCliErrorBoundary } from "../lib/error-boundary.js";
6
- import type { Task } from "@/features/taskflow/types";
6
+ import type { Task } from "../../features/taskflow/types.js";
7
7
  import { getTrdGroupNames } from "../lib/trd.js";
8
8
 
9
9
  function formatGroupTree(tasks: Task[], trdGroupNames: string[]): void {
@@ -1,6 +1,6 @@
1
1
  import { describe, it, expect } from "vitest";
2
2
  import { truncate, formatTaskTable, formatTaskDetail } from "../formatter";
3
- import type { Task } from "@/features/taskflow/types";
3
+ import type { Task } from "../../../features/taskflow/types.js";
4
4
 
5
5
  const now = new Date().toISOString();
6
6
 
@@ -1,7 +1,7 @@
1
1
  import chalk from "chalk";
2
2
  import Table from "cli-table3"; // eslint-disable-line
3
3
  import boxen from "boxen";
4
- import type { Task, TaskStatus } from "@/features/taskflow/types";
4
+ import type { Task, TaskStatus } from "../../features/taskflow/types.js";
5
5
 
6
6
  // ── Status Config ──────────────────────────────────────────────
7
7