takt 0.2.1 → 0.2.3

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 (121) hide show
  1. package/README.md +67 -38
  2. package/dist/cli.d.ts +4 -2
  3. package/dist/cli.d.ts.map +1 -1
  4. package/dist/cli.js +27 -17
  5. package/dist/cli.js.map +1 -1
  6. package/dist/commands/addTask.d.ts.map +1 -1
  7. package/dist/commands/addTask.js +6 -5
  8. package/dist/commands/addTask.js.map +1 -1
  9. package/dist/commands/help.js +3 -3
  10. package/dist/commands/index.d.ts +1 -1
  11. package/dist/commands/index.d.ts.map +1 -1
  12. package/dist/commands/index.js +1 -1
  13. package/dist/commands/index.js.map +1 -1
  14. package/dist/commands/listTasks.d.ts +45 -0
  15. package/dist/commands/listTasks.d.ts.map +1 -0
  16. package/dist/commands/listTasks.js +353 -0
  17. package/dist/commands/listTasks.js.map +1 -0
  18. package/dist/commands/taskExecution.d.ts +7 -5
  19. package/dist/commands/taskExecution.d.ts.map +1 -1
  20. package/dist/commands/taskExecution.js +26 -17
  21. package/dist/commands/taskExecution.js.map +1 -1
  22. package/dist/commands/workflowExecution.d.ts.map +1 -1
  23. package/dist/commands/workflowExecution.js +11 -10
  24. package/dist/commands/workflowExecution.js.map +1 -1
  25. package/dist/config/globalConfig.d.ts.map +1 -1
  26. package/dist/config/globalConfig.js +4 -0
  27. package/dist/config/globalConfig.js.map +1 -1
  28. package/dist/config/paths.d.ts +1 -1
  29. package/dist/config/paths.d.ts.map +1 -1
  30. package/dist/config/paths.js +3 -1
  31. package/dist/config/paths.js.map +1 -1
  32. package/dist/config/sessionStore.d.ts +10 -0
  33. package/dist/config/sessionStore.d.ts.map +1 -1
  34. package/dist/config/sessionStore.js +54 -0
  35. package/dist/config/sessionStore.js.map +1 -1
  36. package/dist/models/schemas.d.ts +1 -0
  37. package/dist/models/schemas.d.ts.map +1 -1
  38. package/dist/models/schemas.js +2 -0
  39. package/dist/models/schemas.js.map +1 -1
  40. package/dist/models/types.d.ts +2 -0
  41. package/dist/models/types.d.ts.map +1 -1
  42. package/dist/resources/index.d.ts.map +1 -1
  43. package/dist/resources/index.js +6 -3
  44. package/dist/resources/index.js.map +1 -1
  45. package/dist/task/autoCommit.d.ts +9 -6
  46. package/dist/task/autoCommit.d.ts.map +1 -1
  47. package/dist/task/autoCommit.js +21 -12
  48. package/dist/task/autoCommit.js.map +1 -1
  49. package/dist/task/branchList.d.ts +55 -0
  50. package/dist/task/branchList.d.ts.map +1 -0
  51. package/dist/task/branchList.js +131 -0
  52. package/dist/task/branchList.js.map +1 -0
  53. package/dist/task/clone.d.ts +53 -0
  54. package/dist/task/clone.d.ts.map +1 -0
  55. package/dist/task/clone.js +181 -0
  56. package/dist/task/clone.js.map +1 -0
  57. package/dist/task/index.d.ts +3 -2
  58. package/dist/task/index.d.ts.map +1 -1
  59. package/dist/task/index.js +3 -2
  60. package/dist/task/index.js.map +1 -1
  61. package/dist/task/runner.d.ts +14 -0
  62. package/dist/task/runner.d.ts.map +1 -1
  63. package/dist/task/runner.js +30 -7
  64. package/dist/task/runner.js.map +1 -1
  65. package/dist/task/schema.d.ts +4 -4
  66. package/dist/task/schema.js +4 -4
  67. package/dist/task/summarize.d.ts +22 -0
  68. package/dist/task/summarize.d.ts.map +1 -0
  69. package/dist/task/summarize.js +83 -0
  70. package/dist/task/summarize.js.map +1 -0
  71. package/dist/utils/updateNotifier.d.ts +6 -0
  72. package/dist/utils/updateNotifier.d.ts.map +1 -0
  73. package/dist/utils/updateNotifier.js +17 -0
  74. package/dist/utils/updateNotifier.js.map +1 -0
  75. package/dist/workflow/engine.d.ts +1 -1
  76. package/dist/workflow/engine.d.ts.map +1 -1
  77. package/dist/workflow/engine.js +10 -2
  78. package/dist/workflow/engine.js.map +1 -1
  79. package/dist/workflow/instruction-builder.d.ts +8 -7
  80. package/dist/workflow/instruction-builder.d.ts.map +1 -1
  81. package/dist/workflow/instruction-builder.js +39 -24
  82. package/dist/workflow/instruction-builder.js.map +1 -1
  83. package/package.json +4 -1
  84. package/resources/global/en/agents/default/{ai-reviewer.md → ai-antipattern-reviewer.md} +22 -1
  85. package/resources/global/en/agents/default/coder.md +3 -3
  86. package/resources/global/en/agents/default/planner.md +14 -1
  87. package/resources/global/en/workflows/default.yaml +6 -51
  88. package/resources/global/en/workflows/{expert-review.yaml → expert-cqrs.yaml} +14 -49
  89. package/resources/global/en/workflows/expert.yaml +1106 -0
  90. package/resources/global/en/workflows/magi.yaml +0 -9
  91. package/resources/global/en/workflows/research.yaml +0 -9
  92. package/resources/global/en/workflows/simple.yaml +5 -26
  93. package/resources/global/ja/agents/default/{ai-reviewer.md → ai-antipattern-reviewer.md} +22 -1
  94. package/resources/global/ja/agents/default/coder.md +3 -3
  95. package/resources/global/ja/agents/default/planner.md +14 -1
  96. package/resources/global/ja/workflows/default.yaml +6 -51
  97. package/resources/global/ja/workflows/{expert-review.yaml → expert-cqrs.yaml} +15 -55
  98. package/resources/global/ja/workflows/expert.yaml +1106 -0
  99. package/resources/global/ja/workflows/magi.yaml +0 -9
  100. package/resources/global/ja/workflows/research.yaml +0 -9
  101. package/resources/global/ja/workflows/simple.yaml +5 -26
  102. package/resources/project/dotgitignore +10 -0
  103. package/resources/project/tasks/TASK-FORMAT +37 -0
  104. package/dist/commands/reviewTasks.d.ts +0 -32
  105. package/dist/commands/reviewTasks.d.ts.map +0 -1
  106. package/dist/commands/reviewTasks.js +0 -198
  107. package/dist/commands/reviewTasks.js.map +0 -1
  108. package/dist/task/worktree.d.ts +0 -70
  109. package/dist/task/worktree.d.ts.map +0 -1
  110. package/dist/task/worktree.js +0 -221
  111. package/dist/task/worktree.js.map +0 -1
  112. /package/resources/global/en/agents/{expert-review → expert}/frontend-reviewer.md +0 -0
  113. /package/resources/global/en/agents/{expert-review → expert}/qa-reviewer.md +0 -0
  114. /package/resources/global/en/agents/{expert-review → expert}/security-reviewer.md +0 -0
  115. /package/resources/global/en/agents/{expert-review → expert}/supervisor.md +0 -0
  116. /package/resources/global/en/agents/{expert-review → expert-cqrs}/cqrs-es-reviewer.md +0 -0
  117. /package/resources/global/ja/agents/{expert-review → expert}/frontend-reviewer.md +0 -0
  118. /package/resources/global/ja/agents/{expert-review → expert}/qa-reviewer.md +0 -0
  119. /package/resources/global/ja/agents/{expert-review → expert}/security-reviewer.md +0 -0
  120. /package/resources/global/ja/agents/{expert-review → expert}/supervisor.md +0 -0
  121. /package/resources/global/ja/agents/{expert-review → expert-cqrs}/cqrs-es-reviewer.md +0 -0
@@ -25,15 +25,11 @@ steps:
25
25
  - Read
26
26
  - Glob
27
27
  - Grep
28
+ - Write
28
29
  - Bash
29
30
  - WebSearch
30
31
  - WebFetch
31
32
  status_rules_prompt: |
32
- # ⚠️ REQUIRED: Status Output Rules ⚠️
33
-
34
- **Without this tag, the workflow will stop.**
35
- Your final output MUST include a status tag following the rules below.
36
-
37
33
  ## Judgment Criteria
38
34
 
39
35
  | Situation | Judgment |
@@ -149,11 +145,6 @@ steps:
149
145
  - WebFetch
150
146
  permission_mode: acceptEdits
151
147
  status_rules_prompt: |
152
- # ⚠️ REQUIRED: Status Output Rules ⚠️
153
-
154
- **Without this tag, the workflow will stop.**
155
- Your final output MUST include a status tag following the rules below.
156
-
157
148
  ## Output Format
158
149
 
159
150
  | Situation | Tag |
@@ -246,14 +237,10 @@ steps:
246
237
  - Read
247
238
  - Glob
248
239
  - Grep
240
+ - Write
249
241
  - WebSearch
250
242
  - WebFetch
251
243
  status_rules_prompt: |
252
- # ⚠️ REQUIRED: Status Output Rules ⚠️
253
-
254
- **Without this tag, the workflow will stop.**
255
- Your final output MUST include a status tag following the rules below.
256
-
257
244
  ## Judgment Criteria
258
245
 
259
246
  | Situation | Judgment |
@@ -379,11 +366,6 @@ steps:
379
366
  - WebFetch
380
367
  permission_mode: acceptEdits
381
368
  status_rules_prompt: |
382
- # ⚠️ REQUIRED: Status Output Rules ⚠️
383
-
384
- **Without this tag, the workflow will stop.**
385
- Your final output MUST include a status tag following the rules below.
386
-
387
369
  ## Output Format
388
370
 
389
371
  | Situation | Tag |
@@ -444,19 +426,15 @@ steps:
444
426
  next_step: plan
445
427
 
446
428
  - name: ai_review
447
- agent: ~/.takt/agents/default/ai-reviewer.md
429
+ agent: ~/.takt/agents/default/ai-antipattern-reviewer.md
448
430
  allowed_tools:
449
431
  - Read
450
432
  - Glob
451
433
  - Grep
434
+ - Write
452
435
  - WebSearch
453
436
  - WebFetch
454
437
  status_rules_prompt: |
455
- # ⚠️ REQUIRED: Status Output Rules ⚠️
456
-
457
- **Without this tag, the workflow will stop.**
458
- Your final output MUST include a status tag following the rules below.
459
-
460
438
  ## Judgment Criteria
461
439
 
462
440
  | Situation | Judgment |
@@ -565,11 +543,6 @@ steps:
565
543
  - WebFetch
566
544
  permission_mode: acceptEdits
567
545
  status_rules_prompt: |
568
- # ⚠️ REQUIRED: Status Output Rules ⚠️
569
-
570
- **Without this tag, the workflow will stop.**
571
- Your final output MUST include a status tag following the rules below.
572
-
573
546
  ## Output Format
574
547
 
575
548
  | Situation | Tag |
@@ -632,14 +605,10 @@ steps:
632
605
  - Read
633
606
  - Glob
634
607
  - Grep
608
+ - Write
635
609
  - WebSearch
636
610
  - WebFetch
637
611
  status_rules_prompt: |
638
- # ⚠️ REQUIRED: Status Output Rules ⚠️
639
-
640
- **Without this tag, the workflow will stop.**
641
- Your final output MUST include a status tag following the rules below.
642
-
643
612
  ## Judgment Criteria
644
613
 
645
614
  | Situation | Judgment |
@@ -748,11 +717,6 @@ steps:
748
717
  - WebFetch
749
718
  permission_mode: acceptEdits
750
719
  status_rules_prompt: |
751
- # ⚠️ REQUIRED: Status Output Rules ⚠️
752
-
753
- **Without this tag, the workflow will stop.**
754
- Your final output MUST include a status tag following the rules below.
755
-
756
720
  ## Output Format
757
721
 
758
722
  | Situation | Tag |
@@ -818,11 +782,6 @@ steps:
818
782
  - WebFetch
819
783
  permission_mode: acceptEdits
820
784
  status_rules_prompt: |
821
- # ⚠️ REQUIRED: Status Output Rules ⚠️
822
-
823
- **Without this tag, the workflow will stop.**
824
- Your final output MUST include a status tag following the rules below.
825
-
826
785
  ## Output Format
827
786
 
828
787
  | Situation | Tag |
@@ -883,15 +842,11 @@ steps:
883
842
  - Read
884
843
  - Glob
885
844
  - Grep
845
+ - Write
886
846
  - Bash
887
847
  - WebSearch
888
848
  - WebFetch
889
849
  status_rules_prompt: |
890
- # ⚠️ REQUIRED: Status Output Rules ⚠️
891
-
892
- **Without this tag, the workflow will stop.**
893
- Your final output MUST include a status tag following the rules below.
894
-
895
850
  ## Judgment Criteria
896
851
 
897
852
  | Situation | Judgment |
@@ -20,7 +20,7 @@
20
20
  # {user_inputs} - Accumulated user inputs during workflow
21
21
  # {report_dir} - Report directory name (e.g., "20250126-143052-task-summary")
22
22
 
23
- name: expert-review
23
+ name: expert-cqrs
24
24
  description: CQRS+ES, Frontend, Security, QA Expert Review
25
25
 
26
26
  max_iterations: 20
@@ -37,14 +37,12 @@ steps:
37
37
  - Read
38
38
  - Glob
39
39
  - Grep
40
+ - Write
40
41
  - Bash
41
42
  - WebSearch
42
43
  - WebFetch
43
44
  status_rules_prompt: |
44
- # ⚠️ REQUIRED: Status Output Rules ⚠️
45
45
 
46
- **Without this tag, the workflow will stop.**
47
- Your final output MUST include a status tag following the rules below.
48
46
 
49
47
  ## Output Format
50
48
 
@@ -127,10 +125,7 @@ steps:
127
125
  - WebSearch
128
126
  - WebFetch
129
127
  status_rules_prompt: |
130
- # ⚠️ REQUIRED: Status Output Rules ⚠️
131
128
 
132
- **Without this tag, the workflow will stop.**
133
- Your final output MUST include a status tag following the rules below.
134
129
 
135
130
  ## Output Format
136
131
 
@@ -204,18 +199,16 @@ steps:
204
199
  # Phase 2: CQRS+ES Review
205
200
  # ===========================================
206
201
  - name: cqrs_es_review
207
- agent: ~/.takt/agents/expert-review/cqrs-es-reviewer.md
202
+ agent: ~/.takt/agents/expert-cqrs/cqrs-es-reviewer.md
208
203
  allowed_tools:
209
204
  - Read
210
205
  - Glob
211
206
  - Grep
207
+ - Write
212
208
  - WebSearch
213
209
  - WebFetch
214
210
  status_rules_prompt: |
215
- # ⚠️ REQUIRED: Status Output Rules ⚠️
216
211
 
217
- **Without this tag, the workflow will stop.**
218
- Your final output MUST include a status tag following the rules below.
219
212
 
220
213
  ## Output Format
221
214
 
@@ -302,10 +295,7 @@ steps:
302
295
  - WebSearch
303
296
  - WebFetch
304
297
  status_rules_prompt: |
305
- # ⚠️ REQUIRED: Status Output Rules ⚠️
306
298
 
307
- **Without this tag, the workflow will stop.**
308
- Your final output MUST include a status tag following the rules below.
309
299
 
310
300
  ## Output Format
311
301
 
@@ -351,18 +341,16 @@ steps:
351
341
  # Phase 3: Frontend Review
352
342
  # ===========================================
353
343
  - name: frontend_review
354
- agent: ~/.takt/agents/expert-review/frontend-reviewer.md
344
+ agent: ~/.takt/agents/expert/frontend-reviewer.md
355
345
  allowed_tools:
356
346
  - Read
357
347
  - Glob
358
348
  - Grep
349
+ - Write
359
350
  - WebSearch
360
351
  - WebFetch
361
352
  status_rules_prompt: |
362
- # ⚠️ REQUIRED: Status Output Rules ⚠️
363
353
 
364
- **Without this tag, the workflow will stop.**
365
- Your final output MUST include a status tag following the rules below.
366
354
 
367
355
  ## Output Format
368
356
 
@@ -449,10 +437,7 @@ steps:
449
437
  - WebSearch
450
438
  - WebFetch
451
439
  status_rules_prompt: |
452
- # ⚠️ REQUIRED: Status Output Rules ⚠️
453
440
 
454
- **Without this tag, the workflow will stop.**
455
- Your final output MUST include a status tag following the rules below.
456
441
 
457
442
  ## Output Format
458
443
 
@@ -498,18 +483,16 @@ steps:
498
483
  # Phase 4: AI Review
499
484
  # ===========================================
500
485
  - name: ai_review
501
- agent: ~/.takt/agents/default/ai-reviewer.md
486
+ agent: ~/.takt/agents/default/ai-antipattern-reviewer.md
502
487
  allowed_tools:
503
488
  - Read
504
489
  - Glob
505
490
  - Grep
491
+ - Write
506
492
  - WebSearch
507
493
  - WebFetch
508
494
  status_rules_prompt: |
509
- # ⚠️ REQUIRED: Status Output Rules ⚠️
510
495
 
511
- **Without this tag, the workflow will stop.**
512
- Your final output MUST include a status tag following the rules below.
513
496
 
514
497
  ## Output Format
515
498
 
@@ -592,10 +575,7 @@ steps:
592
575
  - WebSearch
593
576
  - WebFetch
594
577
  status_rules_prompt: |
595
- # ⚠️ REQUIRED: Status Output Rules ⚠️
596
578
 
597
- **Without this tag, the workflow will stop.**
598
- Your final output MUST include a status tag following the rules below.
599
579
 
600
580
  ## Output Format
601
581
 
@@ -639,18 +619,16 @@ steps:
639
619
  # Phase 5: Security Review
640
620
  # ===========================================
641
621
  - name: security_review
642
- agent: ~/.takt/agents/expert-review/security-reviewer.md
622
+ agent: ~/.takt/agents/expert/security-reviewer.md
643
623
  allowed_tools:
644
624
  - Read
645
625
  - Glob
646
626
  - Grep
627
+ - Write
647
628
  - WebSearch
648
629
  - WebFetch
649
630
  status_rules_prompt: |
650
- # ⚠️ REQUIRED: Status Output Rules ⚠️
651
631
 
652
- **Without this tag, the workflow will stop.**
653
- Your final output MUST include a status tag following the rules below.
654
632
 
655
633
  ## Output Format
656
634
 
@@ -734,10 +712,7 @@ steps:
734
712
  - WebSearch
735
713
  - WebFetch
736
714
  status_rules_prompt: |
737
- # ⚠️ REQUIRED: Status Output Rules ⚠️
738
715
 
739
- **Without this tag, the workflow will stop.**
740
- Your final output MUST include a status tag following the rules below.
741
716
 
742
717
  ## Output Format
743
718
 
@@ -793,18 +768,16 @@ steps:
793
768
  # Phase 6: QA Review
794
769
  # ===========================================
795
770
  - name: qa_review
796
- agent: ~/.takt/agents/expert-review/qa-reviewer.md
771
+ agent: ~/.takt/agents/expert/qa-reviewer.md
797
772
  allowed_tools:
798
773
  - Read
799
774
  - Glob
800
775
  - Grep
776
+ - Write
801
777
  - WebSearch
802
778
  - WebFetch
803
779
  status_rules_prompt: |
804
- # ⚠️ REQUIRED: Status Output Rules ⚠️
805
780
 
806
- **Without this tag, the workflow will stop.**
807
- Your final output MUST include a status tag following the rules below.
808
781
 
809
782
  ## Output Format
810
783
 
@@ -888,10 +861,7 @@ steps:
888
861
  - WebSearch
889
862
  - WebFetch
890
863
  status_rules_prompt: |
891
- # ⚠️ REQUIRED: Status Output Rules ⚠️
892
864
 
893
- **Without this tag, the workflow will stop.**
894
- Your final output MUST include a status tag following the rules below.
895
865
 
896
866
  ## Output Format
897
867
 
@@ -952,18 +922,16 @@ steps:
952
922
  # Phase 7: Supervision
953
923
  # ===========================================
954
924
  - name: supervise
955
- agent: ~/.takt/agents/expert-review/supervisor.md
925
+ agent: ~/.takt/agents/expert/supervisor.md
956
926
  allowed_tools:
957
927
  - Read
958
928
  - Glob
959
929
  - Grep
930
+ - Write
960
931
  - WebSearch
961
932
  - WebFetch
962
933
  status_rules_prompt: |
963
- # ⚠️ REQUIRED: Status Output Rules ⚠️
964
934
 
965
- **Without this tag, the workflow will stop.**
966
- Your final output MUST include a status tag following the rules below.
967
935
 
968
936
  ## Output Format
969
937
 
@@ -1089,10 +1057,7 @@ steps:
1089
1057
  - WebSearch
1090
1058
  - WebFetch
1091
1059
  status_rules_prompt: |
1092
- # ⚠️ REQUIRED: Status Output Rules ⚠️
1093
1060
 
1094
- **Without this tag, the workflow will stop.**
1095
- Your final output MUST include a status tag following the rules below.
1096
1061
 
1097
1062
  ## Output Format
1098
1063