agkan 1.6.0 → 2.1.0

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 (46) hide show
  1. package/README.ja.md +23 -17
  2. package/README.md +42 -17
  3. package/dist/board/server.d.ts +8 -0
  4. package/dist/board/server.d.ts.map +1 -0
  5. package/dist/board/server.js +657 -0
  6. package/dist/board/server.js.map +1 -0
  7. package/dist/cli/commands/board.d.ts +3 -0
  8. package/dist/cli/commands/board.d.ts.map +1 -0
  9. package/dist/cli/commands/board.js +26 -0
  10. package/dist/cli/commands/board.js.map +1 -0
  11. package/dist/cli/commands/task/add-helpers.d.ts.map +1 -1
  12. package/dist/cli/commands/task/add-helpers.js +1 -0
  13. package/dist/cli/commands/task/add-helpers.js.map +1 -1
  14. package/dist/cli/commands/task/add.d.ts.map +1 -1
  15. package/dist/cli/commands/task/add.js +11 -0
  16. package/dist/cli/commands/task/add.js.map +1 -1
  17. package/dist/cli/commands/task/get.d.ts.map +1 -1
  18. package/dist/cli/commands/task/get.js +9 -0
  19. package/dist/cli/commands/task/get.js.map +1 -1
  20. package/dist/cli/commands/task/purge.d.ts +6 -0
  21. package/dist/cli/commands/task/purge.d.ts.map +1 -0
  22. package/dist/cli/commands/task/purge.js +138 -0
  23. package/dist/cli/commands/task/purge.js.map +1 -0
  24. package/dist/cli/commands/task/update.d.ts.map +1 -1
  25. package/dist/cli/commands/task/update.js +26 -1
  26. package/dist/cli/commands/task/update.js.map +1 -1
  27. package/dist/cli/index.js +6 -0
  28. package/dist/cli/index.js.map +1 -1
  29. package/dist/db/schema.d.ts.map +1 -1
  30. package/dist/db/schema.js +28 -0
  31. package/dist/db/schema.js.map +1 -1
  32. package/dist/models/Priority.d.ts +9 -0
  33. package/dist/models/Priority.d.ts.map +1 -0
  34. package/dist/models/Priority.js +19 -0
  35. package/dist/models/Priority.js.map +1 -0
  36. package/dist/models/Task.d.ts +4 -0
  37. package/dist/models/Task.d.ts.map +1 -1
  38. package/dist/models/index.d.ts +2 -0
  39. package/dist/models/index.d.ts.map +1 -1
  40. package/dist/models/index.js +5 -0
  41. package/dist/models/index.js.map +1 -1
  42. package/dist/services/TaskService.d.ts +9 -0
  43. package/dist/services/TaskService.d.ts.map +1 -1
  44. package/dist/services/TaskService.js +35 -3
  45. package/dist/services/TaskService.js.map +1 -1
  46. package/package.json +4 -1
package/README.ja.md CHANGED
@@ -17,6 +17,12 @@ TypeScriptで実装された軽量なCLIタスク管理ツールです。エー
17
17
  - **ブロック関係**: タスク間の依存関係を管理(循環参照検出機能付き)
18
18
  - **タグ機能**: タスクにタグを付けて分類・検索が可能
19
19
 
20
+ ## Agent Skills
21
+
22
+ agkanをClaude Codeのスキル(タスクの自動実行、プランニング、レビューなど)と連携して使用するには、以下のスキルパッケージをインストールしてください:
23
+
24
+ - **[agkan-skills](https://github.com/gendosu/agkan-skills)** - agkanタスク管理用のClaude Codeスキル
25
+
20
26
  ## インストール
21
27
 
22
28
  ### 前提条件
@@ -193,34 +199,34 @@ agkan task delete 1
193
199
 
194
200
  タグを作成:
195
201
  ```bash
196
- agkan task tag add "frontend"
202
+ agkan tag add "frontend"
197
203
  ```
198
204
 
199
205
  タグ一覧を表示:
200
206
  ```bash
201
- agkan task tag list
207
+ agkan tag list
202
208
  ```
203
209
 
204
210
  タグを削除:
205
211
  ```bash
206
- agkan task tag delete "frontend"
212
+ agkan tag delete "frontend"
207
213
  ```
208
214
 
209
215
  ### タスクへのタグ付け
210
216
 
211
217
  タスクにタグを付与:
212
218
  ```bash
213
- agkan task tag attach 1 "frontend"
219
+ agkan tag attach 1 "frontend"
214
220
  ```
215
221
 
216
222
  タスクからタグを削除:
217
223
  ```bash
218
- agkan task tag detach 1 "frontend"
224
+ agkan tag detach 1 "frontend"
219
225
  ```
220
226
 
221
227
  タスクに付けられたタグを表示:
222
228
  ```bash
223
- agkan task tag show 1
229
+ agkan tag show 1
224
230
  ```
225
231
 
226
232
  ### メタデータの管理
@@ -545,7 +551,7 @@ agkan task count --status in_progress --json
545
551
 
546
552
  JSON出力フォーマット:
547
553
  ```bash
548
- agkan task tag list --json
554
+ agkan tag list --json
549
555
  ```
550
556
 
551
557
  ```json
@@ -570,7 +576,7 @@ agkan task tag list --json
570
576
 
571
577
  JSON出力フォーマット:
572
578
  ```bash
573
- agkan task tag show 1 --json
579
+ agkan tag show 1 --json
574
580
  ```
575
581
 
576
582
  ```json
@@ -687,21 +693,21 @@ agkan task block remove 1 2
687
693
 
688
694
  ```bash
689
695
  # タグを作成
690
- agkan task tag add "frontend"
691
- agkan task tag add "backend"
692
- agkan task tag add "urgent"
696
+ agkan tag add "frontend"
697
+ agkan tag add "backend"
698
+ agkan tag add "urgent"
693
699
 
694
700
  # タスクを作成してタグを付与
695
701
  agkan task add "ログイン画面の実装"
696
702
  # 出力: Task created with ID: 1
697
703
 
698
- agkan task tag attach 1 "frontend"
699
- agkan task tag attach 1 "urgent"
704
+ agkan tag attach 1 "frontend"
705
+ agkan tag attach 1 "urgent"
700
706
 
701
707
  agkan task add "API開発"
702
708
  # 出力: Task created with ID: 2
703
709
 
704
- agkan task tag attach 2 "backend"
710
+ agkan tag attach 2 "backend"
705
711
 
706
712
  # タグでフィルタリング
707
713
  agkan task list --tag "frontend"
@@ -709,17 +715,17 @@ agkan task list --tag "frontend"
709
715
  # 1 [backlog] ログイン画面の実装 (tags: frontend, urgent)
710
716
 
711
717
  # タスクのタグを確認
712
- agkan task tag show 1
718
+ agkan tag show 1
713
719
  # 出力:
714
720
  # Tags for task 1:
715
721
  # - frontend
716
722
  # - urgent
717
723
 
718
724
  # タグを削除
719
- agkan task tag detach 1 "urgent"
725
+ agkan tag detach 1 "urgent"
720
726
 
721
727
  # タグ自体を削除(関連するすべてのタスクから削除される)
722
- agkan task tag delete "urgent"
728
+ agkan tag delete "urgent"
723
729
  ```
724
730
 
725
731
  ## タスクステータス
package/README.md CHANGED
@@ -16,6 +16,13 @@ A lightweight CLI task management tool implemented in TypeScript. Optimized for
16
16
  - **Parent-Child Relationships**: Manage task hierarchy (tree view supported)
17
17
  - **Blocking Relationships**: Manage task dependencies (includes circular reference detection)
18
18
  - **Tag System**: Classify and search tasks with tags
19
+ - **Kanban Board**: Local web-based Kanban board viewer
20
+
21
+ ## Agent Skills
22
+
23
+ To use agkan with Claude Code skills (automated task execution, planning, review, etc.), install the companion skills package:
24
+
25
+ - **[agkan-skills](https://github.com/gendosu/agkan-skills)** - Claude Code skills for agkan task management
19
26
 
20
27
  ## Installation
21
28
 
@@ -351,22 +358,22 @@ agkan task delete 1
351
358
 
352
359
  Create a tag:
353
360
  ```bash
354
- agkan task tag add "frontend"
361
+ agkan tag add "frontend"
355
362
  ```
356
363
 
357
364
  List all tags:
358
365
  ```bash
359
- agkan task tag list
366
+ agkan tag list
360
367
  ```
361
368
 
362
369
  Delete a tag:
363
370
  ```bash
364
- agkan task tag delete "frontend"
371
+ agkan tag delete "frontend"
365
372
  ```
366
373
 
367
374
  JSON output format for tag list:
368
375
  ```bash
369
- agkan task tag list --json
376
+ agkan tag list --json
370
377
  ```
371
378
 
372
379
  ```json
@@ -393,22 +400,22 @@ agkan task tag list --json
393
400
 
394
401
  Attach a tag to a task:
395
402
  ```bash
396
- agkan task tag attach 1 "frontend"
403
+ agkan tag attach 1 "frontend"
397
404
  ```
398
405
 
399
406
  Remove a tag from a task:
400
407
  ```bash
401
- agkan task tag detach 1 "frontend"
408
+ agkan tag detach 1 "frontend"
402
409
  ```
403
410
 
404
411
  Display tags on a task:
405
412
  ```bash
406
- agkan task tag show 1
413
+ agkan tag show 1
407
414
  ```
408
415
 
409
416
  JSON output format for tag show:
410
417
  ```bash
411
- agkan task tag show 1 --json
418
+ agkan tag show 1 --json
412
419
  ```
413
420
 
414
421
  ```json
@@ -513,6 +520,20 @@ agkan task count --status in_progress --json
513
520
  }
514
521
  ```
515
522
 
523
+ ### Kanban Board (Web UI)
524
+
525
+ Start a local Kanban board viewer in your browser:
526
+ ```bash
527
+ agkan board
528
+ ```
529
+
530
+ Specify a custom port:
531
+ ```bash
532
+ agkan board -p 3000
533
+ ```
534
+
535
+ The board is served at `http://localhost:8080` by default.
536
+
516
537
  ### Display Help
517
538
 
518
539
  Show command list:
@@ -687,21 +708,21 @@ Example of classifying tasks with tags:
687
708
 
688
709
  ```bash
689
710
  # Create tags
690
- agkan task tag add "frontend"
691
- agkan task tag add "backend"
692
- agkan task tag add "urgent"
711
+ agkan tag add "frontend"
712
+ agkan tag add "backend"
713
+ agkan tag add "urgent"
693
714
 
694
715
  # Create tasks and attach tags
695
716
  agkan task add "Implement login screen"
696
717
  # Output: Task created with ID: 1
697
718
 
698
- agkan task tag attach 1 "frontend"
699
- agkan task tag attach 1 "urgent"
719
+ agkan tag attach 1 "frontend"
720
+ agkan tag attach 1 "urgent"
700
721
 
701
722
  agkan task add "API development"
702
723
  # Output: Task created with ID: 2
703
724
 
704
- agkan task tag attach 2 "backend"
725
+ agkan tag attach 2 "backend"
705
726
 
706
727
  # Filter by tag
707
728
  agkan task list --tag "frontend"
@@ -709,17 +730,17 @@ agkan task list --tag "frontend"
709
730
  # 1 [backlog] Implement login screen (tags: frontend, urgent)
710
731
 
711
732
  # Display task tags
712
- agkan task tag show 1
733
+ agkan tag show 1
713
734
  # Output:
714
735
  # Tags for task 1:
715
736
  # - frontend
716
737
  # - urgent
717
738
 
718
739
  # Remove a tag
719
- agkan task tag detach 1 "urgent"
740
+ agkan tag detach 1 "urgent"
720
741
 
721
742
  # Delete a tag (removes from all associated tasks)
722
- agkan task tag delete "urgent"
743
+ agkan tag delete "urgent"
723
744
  ```
724
745
 
725
746
  ## Task Statuses
@@ -887,6 +908,7 @@ For detailed information about planned features, see [docs/planned-features.md](
887
908
  - **CLI Framework**: Commander.js
888
909
  - **Database**: SQLite3 (better-sqlite3)
889
910
  - **Terminal Display**: Chalk
911
+ - **Web Server**: Hono (for Kanban board viewer)
890
912
  - **Build Tool**: TypeScript Compiler
891
913
 
892
914
  ## Project Structure
@@ -914,6 +936,7 @@ agkan/
914
936
  │ │ │ │ ├── detach.ts
915
937
  │ │ │ │ ├── list.ts
916
938
  │ │ │ │ └── show.ts
939
+ │ │ │ ├── board.ts # Kanban board command
917
940
  │ │ │ └── task/ # Task commands
918
941
  │ │ │ ├── add.ts
919
942
  │ │ │ ├── count.ts
@@ -925,6 +948,8 @@ agkan/
925
948
  │ │ │ └── update.ts
926
949
  │ │ ├── utils/ # CLI utilities
927
950
  │ │ └── index.ts # CLI entry point and command registration
951
+ │ ├── board/
952
+ │ │ └── server.ts # Kanban board web server (Hono)
928
953
  │ ├── db/
929
954
  │ │ ├── config.ts # DB configuration
930
955
  │ │ ├── connection.ts # Database connection management
@@ -0,0 +1,8 @@
1
+ import { Hono } from 'hono';
2
+ import { TaskService } from '../services/TaskService';
3
+ import { TaskTagService } from '../services/TaskTagService';
4
+ import { MetadataService } from '../services/MetadataService';
5
+ import { StorageProvider } from '../db/types/storage';
6
+ export declare function createBoardApp(taskService?: TaskService, taskTagService?: TaskTagService, metadataService?: MetadataService, db?: StorageProvider): Hono;
7
+ export declare function startBoardServer(port: number): void;
8
+ //# sourceMappingURL=server.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/board/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAK9D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AA+hBtD,wBAAgB,cAAc,CAC5B,WAAW,CAAC,EAAE,WAAW,EACzB,cAAc,CAAC,EAAE,cAAc,EAC/B,eAAe,CAAC,EAAE,eAAe,EACjC,EAAE,CAAC,EAAE,eAAe,GACnB,IAAI,CA0IN;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAMnD"}