@qelos/aidev 0.1.9 → 0.1.11
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/aidev.log +187 -0
- package/dist/__tests__/providers.test.d.ts +2 -0
- package/dist/__tests__/providers.test.d.ts.map +1 -0
- package/dist/__tests__/providers.test.js +153 -0
- package/dist/__tests__/providers.test.js.map +1 -0
- package/dist/cli.js +3 -1
- package/dist/cli.js.map +1 -1
- package/dist/providers/clickup.d.ts.map +1 -1
- package/dist/providers/clickup.js +24 -7
- package/dist/providers/clickup.js.map +1 -1
- package/dist/providers/jira.d.ts.map +1 -1
- package/dist/providers/jira.js +3 -1
- package/dist/providers/jira.js.map +1 -1
- package/package.json +10 -2
package/aidev.log
CHANGED
|
@@ -712,3 +712,190 @@ Could not apply ac6df49... [aidev] Implement: Pending tasks are skipped
|
|
|
712
712
|
2026-03-07T17:30:07.730Z [info] [86c8p0vjv] Posted sleep notification
|
|
713
713
|
2026-03-07T17:30:07.731Z [task] [86c8nw4vy] "Support tag of “thinking” tasks" (status: pending)
|
|
714
714
|
2026-03-07T17:30:09.848Z [success] Done. Processed: 0, Skipped: 3
|
|
715
|
+
|
|
716
|
+
────────────────────────────────────────────────────────────
|
|
717
|
+
2026-03-07T17:45:02.380Z [run] started
|
|
718
|
+
────────────────────────────────────────────────────────────
|
|
719
|
+
2026-03-07T17:45:02.477Z [info] Fetching tasks (filter: all)...
|
|
720
|
+
2026-03-07T17:45:03.087Z [info] Found 3 tagged task(s)
|
|
721
|
+
2026-03-07T17:45:03.088Z [task] [86c8p1j2r] "Link to GitHub repo in package json" (status: in progress)
|
|
722
|
+
2026-03-07T17:45:04.833Z [info] Running Cursor Agent...
|
|
723
|
+
2026-03-07T17:45:06.781Z [warn] Cursor Agent exited with status 1
|
|
724
|
+
2026-03-07T17:45:06.782Z [warn] Clarification check failed — proceeding without clarification
|
|
725
|
+
2026-03-07T17:45:06.783Z [info] Implementing task: Link to GitHub repo in package json
|
|
726
|
+
2026-03-07T17:45:09.551Z [error] git pull failed: error: cannot pull with rebase: Your index contains uncommitted changes.
|
|
727
|
+
error: please commit or stash them.
|
|
728
|
+
|
|
729
|
+
2026-03-07T17:45:09.552Z [error] Failed to prepare base branch
|
|
730
|
+
2026-03-07T17:45:09.832Z [task] [86c8p0vjv] "Bugfix: task with last comment “aidev-continue” and status pending should continue" (status: in progress)
|
|
731
|
+
2026-03-07T17:45:11.573Z [info] Running Cursor Agent...
|
|
732
|
+
2026-03-07T17:45:13.327Z [warn] Cursor Agent exited with status 1
|
|
733
|
+
2026-03-07T17:45:13.328Z [warn] Clarification check failed — proceeding without clarification
|
|
734
|
+
2026-03-07T17:45:13.328Z [info] Implementing task: Bugfix: task with last comment “aidev-continue” and status pending should continue
|
|
735
|
+
2026-03-07T17:45:16.359Z [error] git pull failed: error: cannot pull with rebase: Your index contains uncommitted changes.
|
|
736
|
+
error: please commit or stash them.
|
|
737
|
+
|
|
738
|
+
2026-03-07T17:45:16.360Z [error] Failed to prepare base branch
|
|
739
|
+
2026-03-07T17:45:16.813Z [task] [86c8nw4vy] "Support tag of “thinking” tasks" (status: pending)
|
|
740
|
+
2026-03-07T17:45:18.848Z [info] [86c8nw4vy] "Support tag of “thinking” tasks" skipped — pending task has no human reply or trigger word ("aidev-continue")
|
|
741
|
+
2026-03-07T17:45:18.849Z [success] Done. Processed: 2, Skipped: 1
|
|
742
|
+
|
|
743
|
+
────────────────────────────────────────────────────────────
|
|
744
|
+
2026-03-07T17:48:32.481Z [run] started
|
|
745
|
+
────────────────────────────────────────────────────────────
|
|
746
|
+
2026-03-07T17:48:32.519Z [info] Fetching tasks (filter: all)...
|
|
747
|
+
2026-03-07T17:48:32.911Z [info] Found 2 tagged task(s)
|
|
748
|
+
2026-03-07T17:48:32.912Z [task] [86c8p1j2r] "Link to GitHub repo in package json" (status: open)
|
|
749
|
+
2026-03-07T17:48:34.684Z [info] Running Cursor Agent...
|
|
750
|
+
2026-03-07T17:48:40.476Z [info] Implementing task: Link to GitHub repo in package json
|
|
751
|
+
2026-03-07T17:48:45.602Z [info] Running cursor...
|
|
752
|
+
2026-03-07T17:48:45.603Z [info] Running Cursor Agent...
|
|
753
|
+
2026-03-07T17:49:04.239Z [success] Task implemented: branch 86c8p1j2r/link-to-github-repo-in-package-json pushed
|
|
754
|
+
2026-03-07T17:49:04.240Z [task] [86c8nw4vy] "Support tag of “thinking” tasks" (status: pending)
|
|
755
|
+
2026-03-07T17:49:06.241Z [info] [86c8nw4vy] "Support tag of “thinking” tasks" skipped — pending task has no human reply or trigger word ("aidev-continue")
|
|
756
|
+
2026-03-07T17:49:06.242Z [success] Done. Processed: 1, Skipped: 1
|
|
757
|
+
|
|
758
|
+
────────────────────────────────────────────────────────────
|
|
759
|
+
2026-03-07T18:00:02.440Z [run] started
|
|
760
|
+
────────────────────────────────────────────────────────────
|
|
761
|
+
2026-03-07T18:00:02.540Z [info] Fetching tasks (filter: all)...
|
|
762
|
+
2026-03-07T18:00:03.189Z [info] Found 2 tagged task(s)
|
|
763
|
+
2026-03-07T18:00:03.190Z [task] [86c8p1j2r] "Link to GitHub repo in package json" (status: review)
|
|
764
|
+
2026-03-07T18:00:05.124Z [info] [86c8p1j2r] "Link to GitHub repo in package json" skipped — branch already exists (86c8p1j2r/link-to-github-repo-in-package-json) and no trigger word found
|
|
765
|
+
2026-03-07T18:00:05.125Z [task] [86c8nw4vy] "Support tag of “thinking” tasks" (status: pending)
|
|
766
|
+
2026-03-07T18:00:07.149Z [info] [86c8nw4vy] "Support tag of “thinking” tasks" skipped — pending task has no human reply or trigger word ("aidev-continue")
|
|
767
|
+
2026-03-07T18:00:07.150Z [success] Done. Processed: 0, Skipped: 2
|
|
768
|
+
|
|
769
|
+
────────────────────────────────────────────────────────────
|
|
770
|
+
2026-03-07T18:15:02.122Z [run] started
|
|
771
|
+
────────────────────────────────────────────────────────────
|
|
772
|
+
2026-03-07T18:15:02.213Z [warn] Screen is locked or display is asleep — AI agents cannot operate
|
|
773
|
+
2026-03-07T18:15:02.213Z [info] Fetching tasks (filter: all)...
|
|
774
|
+
2026-03-07T18:15:02.675Z [info] Found 2 tagged task(s)
|
|
775
|
+
2026-03-07T18:15:02.675Z [task] [86c8p1j2r] "Link to GitHub repo in package json" (status: review)
|
|
776
|
+
2026-03-07T18:15:05.254Z [info] [86c8p1j2r] Posted sleep notification
|
|
777
|
+
2026-03-07T18:15:05.254Z [task] [86c8nw4vy] "Support tag of “thinking” tasks" (status: pending)
|
|
778
|
+
2026-03-07T18:15:07.328Z [info] [86c8nw4vy] "Support tag of “thinking” tasks" skipped — pending task has no human reply or trigger word ("aidev-continue")
|
|
779
|
+
2026-03-07T18:15:07.329Z [success] Done. Processed: 0, Skipped: 2
|
|
780
|
+
|
|
781
|
+
────────────────────────────────────────────────────────────
|
|
782
|
+
2026-03-07T18:30:02.142Z [run] started
|
|
783
|
+
────────────────────────────────────────────────────────────
|
|
784
|
+
2026-03-07T18:30:02.236Z [warn] Screen is locked or display is asleep — AI agents cannot operate
|
|
785
|
+
2026-03-07T18:30:02.237Z [info] Fetching tasks (filter: all)...
|
|
786
|
+
2026-03-07T18:30:02.700Z [info] Found 2 tagged task(s)
|
|
787
|
+
2026-03-07T18:30:02.701Z [task] [86c8p1j2r] "Link to GitHub repo in package json" (status: review)
|
|
788
|
+
2026-03-07T18:30:05.251Z [info] [86c8p1j2r] Posted sleep notification
|
|
789
|
+
2026-03-07T18:30:05.252Z [task] [86c8nw4vy] "Support tag of “thinking” tasks" (status: pending)
|
|
790
|
+
2026-03-07T18:30:07.260Z [info] [86c8nw4vy] "Support tag of “thinking” tasks" skipped — pending task has no human reply or trigger word ("aidev-continue")
|
|
791
|
+
2026-03-07T18:30:07.260Z [success] Done. Processed: 0, Skipped: 2
|
|
792
|
+
|
|
793
|
+
────────────────────────────────────────────────────────────
|
|
794
|
+
2026-03-07T18:40:50.279Z [run] started
|
|
795
|
+
────────────────────────────────────────────────────────────
|
|
796
|
+
2026-03-07T18:40:50.313Z [info] Fetching tasks (filter: all)...
|
|
797
|
+
2026-03-07T18:40:50.782Z [info] Found 2 tagged task(s)
|
|
798
|
+
2026-03-07T18:40:50.783Z [task] [86c8p1j2r] "Link to GitHub repo in package json" (status: review)
|
|
799
|
+
2026-03-07T18:40:52.524Z [info] Running Cursor Agent...
|
|
800
|
+
2026-03-07T18:41:06.750Z [info] Implementing task: Link to GitHub repo in package json
|
|
801
|
+
2026-03-07T18:41:09.591Z [error] git pull failed: error: cannot pull with rebase: You have unstaged changes.
|
|
802
|
+
error: please commit or stash them.
|
|
803
|
+
|
|
804
|
+
2026-03-07T18:41:09.591Z [error] Failed to prepare base branch
|
|
805
|
+
2026-03-07T18:41:09.909Z [task] [86c8nw4vy] "Support tag of “thinking” tasks" (status: pending)
|
|
806
|
+
2026-03-07T18:41:11.817Z [info] [86c8nw4vy] "Support tag of “thinking” tasks" skipped — pending task has no human reply or trigger word ("aidev-continue")
|
|
807
|
+
2026-03-07T18:41:11.818Z [success] Done. Processed: 1, Skipped: 1
|
|
808
|
+
|
|
809
|
+
────────────────────────────────────────────────────────────
|
|
810
|
+
2026-03-07T18:41:24.568Z [run] started
|
|
811
|
+
────────────────────────────────────────────────────────────
|
|
812
|
+
2026-03-07T18:41:24.602Z [info] Fetching tasks (filter: all)...
|
|
813
|
+
2026-03-07T18:41:24.602Z [debug] Fetching tasks with tag "aidev" from team 36885698
|
|
814
|
+
2026-03-07T18:41:25.272Z [info] Found 2 tagged task(s)
|
|
815
|
+
2026-03-07T18:41:25.273Z [task] [86c8p1j2r] "Link to GitHub repo in package json" (status: in progress)
|
|
816
|
+
2026-03-07T18:41:27.030Z [info] Running Cursor Agent...
|
|
817
|
+
2026-03-07T18:41:27.031Z [debug] Prompt: You are a senior software developer reviewing a task.
|
|
818
|
+
Determine if the following task has enough information to implement without further clarification.
|
|
819
|
+
|
|
820
|
+
Task name: Link to GitHub repo in package json...
|
|
821
|
+
2026-03-07T18:41:38.975Z [info] Implementing task: Link to GitHub repo in package json
|
|
822
|
+
2026-03-07T18:41:38.976Z [debug] Updating task 86c8p1j2r status to "in progress"
|
|
823
|
+
2026-03-07T18:41:39.530Z [debug] Posting comment to task 86c8p1j2r
|
|
824
|
+
2026-03-07T18:41:39.797Z [debug] git fetch origin
|
|
825
|
+
2026-03-07T18:41:41.539Z [debug] git checkout main
|
|
826
|
+
2026-03-07T18:41:41.550Z [debug] git pull origin main
|
|
827
|
+
2026-03-07T18:41:41.558Z [error] git pull failed: error: cannot pull with rebase: You have unstaged changes.
|
|
828
|
+
error: please commit or stash them.
|
|
829
|
+
|
|
830
|
+
2026-03-07T18:41:41.558Z [error] Failed to prepare base branch
|
|
831
|
+
2026-03-07T18:41:41.558Z [debug] Posting comment to task 86c8p1j2r
|
|
832
|
+
2026-03-07T18:41:42.008Z [task] [86c8nw4vy] "Support tag of “thinking” tasks" (status: pending)
|
|
833
|
+
2026-03-07T18:41:43.700Z [debug] Fetching comments for task 86c8nw4vy
|
|
834
|
+
2026-03-07T18:41:43.924Z [debug] Raw comments for 86c8nw4vy: [{"id":"90150203812857","user":"David Meir-Levy","comment_text":"aidev-continue \n","comment":[{"text":"aidev-continue","attributes":{}},{"text":"\n","attributes":{"block-id":"block-a5f65520-1a31-11f1-bc23-bd5852581c03"}}]},{"id":"90150203776065","user":"David Meir-Levy","comment_text":"Sequentially \nSame branch. Different commit is a good idea.\nWhatever you think. Also maybe a flag for done / running / failed\nJust comment on the ticket about the progress. You can also push to origin after each commit.\n","comment":[{"text":"Sequentially ","attributes":{}},{"text":"\n","attributes":{"list":{"list":"ordered","counters":{}}}},{"text":"Same branch. Different commit is a good idea.","attributes":{}},{"text":"\n","attributes":{"list":{"list":"ordered"}}},{"text":"Whatever you think. Also maybe a flag for done / running / failed","attributes":{}},{"text":"\n","attributes":{"list":{"list":"ordered"}}},{"text":"Just comment on the ticket about the progress. You can also push to origin after each commit.","attributes":{}},{"text":"\n","attributes":{"list":{"list":"ordered"}}}]},{"id":"90150203775351","user":"David Meir-Levy","comment_text":"A few details need clarification: (1) 'Multi process of AI agents' — should the sub-tasks be executed in parallel (concurrent AI processes) or sequentially? (2) Should each sub-task produce its own git branch/commit, or should all sub-tasks be committed on a single branch? (3) What should TASK_ID.aidev.task.json contain — just a list of sub-task titles/descriptions, or a richer schema (dependencies, order, acceptance criteria)? (4) When you say 'update the ticket', do you mean posting comments with the sub-task breakdown and per-sub-task completion status, or also changing the ticket's status at each step?","comment":[{"text":"A few details need clarification: (1) 'Multi process of AI agents' — should the sub-tasks be executed in parallel (concurrent AI processes) or sequentially? (2) Should each sub-task produce its own git branch/commit, or should all sub-tasks be committed on a single branch? (3) What should TASK_ID.aidev.task.json contain — just a list of sub-task titles/descriptions, or a richer schema (dependencies, order, acceptance criteria)? (4) When you say 'update the ticket', do you mean posting comments with the sub-task breakdown and per-sub-task completion status, or also changing the ticket's status at each step?"}]},{"id":"90150203774114","user":"David Meir-Levy","comment_text":"[aidev] All AI runners failed. Manual implementation needed.","comment":[{"text":"[aidev] All AI runners failed. Manual implementation needed."}]},{"id":"90150203774105","user":"David Meir-Levy","comment_text":"[aidev] Starting implementation on branch `86c8nw4vy/support-tag-of-thinking-tasks`","comment":[{"text":"[aidev] Starting implementation on branch `86c8nw4vy/support-tag-of-thinking-tasks`"}]},{"id":"90150203772989","user":"David Meir-Levy","comment_text":"[aidev] All AI runners failed. Manual implementation needed.","comment":[{"text":"[aidev] All AI runners failed. Manual implementation needed."}]},{"id":"90150203772947","user":"David Meir-Levy","comment_text":"[aidev] Starting implementation on branch `86c8nw4vy/support-tag-of-thinking-tasks`","comment":[{"text":"[aidev] Starting implementation on branch `86c8nw4vy/support-tag-of-thinking-tasks`"}]},{"id":"90150203771214","user":"David Meir-Levy","comment_text":"[aidev] All AI runners failed. Manual implementation needed.","comment":[{"text":"[aidev] All AI runners failed. Manual implementation needed."}]},{"id":"90150203771211","user":"David Meir-Levy","comment_text":"[aidev] Starting implementation on branch `86c8nw4vy/support-tag-of-thinking-tasks`","comment":[{"text":"[aidev] Starting implementation on branch `86c8nw4vy/support-tag-of-thinking-tasks`"}]}]
|
|
835
|
+
2026-03-07T18:41:43.924Z [info] [86c8nw4vy] "Support tag of “thinking” tasks" skipped — pending task has no human reply or trigger word ("aidev-continue")
|
|
836
|
+
2026-03-07T18:41:43.925Z [success] Done. Processed: 1, Skipped: 1
|
|
837
|
+
|
|
838
|
+
────────────────────────────────────────────────────────────
|
|
839
|
+
2026-03-07T18:42:05.692Z [run] started
|
|
840
|
+
────────────────────────────────────────────────────────────
|
|
841
|
+
2026-03-07T18:42:05.725Z [info] Fetching tasks (filter: all)...
|
|
842
|
+
2026-03-07T18:42:05.725Z [debug] Fetching tasks with tag "aidev" from team 36885698
|
|
843
|
+
2026-03-07T18:42:06.074Z [info] Found 2 tagged task(s)
|
|
844
|
+
2026-03-07T18:42:06.075Z [task] [86c8p1j2r] "Link to GitHub repo in package json" (status: in progress)
|
|
845
|
+
2026-03-07T18:42:07.820Z [info] Running Cursor Agent...
|
|
846
|
+
2026-03-07T18:42:07.821Z [debug] Prompt: You are a senior software developer reviewing a task.
|
|
847
|
+
Determine if the following task has enough information to implement without further clarification.
|
|
848
|
+
|
|
849
|
+
Task name: Link to GitHub repo in package json...
|
|
850
|
+
2026-03-07T18:42:19.924Z [info] Implementing task: Link to GitHub repo in package json
|
|
851
|
+
2026-03-07T18:42:19.925Z [debug] Updating task 86c8p1j2r status to "in progress"
|
|
852
|
+
2026-03-07T18:42:20.661Z [debug] Posting comment to task 86c8p1j2r
|
|
853
|
+
2026-03-07T18:42:20.956Z [debug] git fetch origin
|
|
854
|
+
2026-03-07T18:42:22.703Z [debug] git checkout main
|
|
855
|
+
2026-03-07T18:42:22.714Z [debug] git pull origin main
|
|
856
|
+
2026-03-07T18:42:22.723Z [error] git pull failed: error: cannot pull with rebase: You have unstaged changes.
|
|
857
|
+
error: please commit or stash them.
|
|
858
|
+
|
|
859
|
+
2026-03-07T18:42:22.723Z [error] Failed to prepare base branch
|
|
860
|
+
2026-03-07T18:42:22.723Z [debug] Posting comment to task 86c8p1j2r
|
|
861
|
+
2026-03-07T18:42:23.091Z [task] [86c8nw4vy] "Support tag of “thinking” tasks" (status: pending)
|
|
862
|
+
2026-03-07T18:42:24.797Z [debug] Fetching comments for task 86c8nw4vy
|
|
863
|
+
2026-03-07T18:42:24.985Z [debug] Raw comments for 86c8nw4vy: [{"id":"90150203812857","user":"David Meir-Levy","comment_text":"aidev-continue \n","comment":[{"text":"aidev-continue","attributes":{}},{"text":"\n","attributes":{"block-id":"block-a5f65520-1a31-11f1-bc23-bd5852581c03"}}]},{"id":"90150203776065","user":"David Meir-Levy","comment_text":"Sequentially \nSame branch. Different commit is a good idea.\nWhatever you think. Also maybe a flag for done / running / failed\nJust comment on the ticket about the progress. You can also push to origin after each commit.\n","comment":[{"text":"Sequentially ","attributes":{}},{"text":"\n","attributes":{"list":{"list":"ordered","counters":{}}}},{"text":"Same branch. Different commit is a good idea.","attributes":{}},{"text":"\n","attributes":{"list":{"list":"ordered"}}},{"text":"Whatever you think. Also maybe a flag for done / running / failed","attributes":{}},{"text":"\n","attributes":{"list":{"list":"ordered"}}},{"text":"Just comment on the ticket about the progress. You can also push to origin after each commit.","attributes":{}},{"text":"\n","attributes":{"list":{"list":"ordered"}}}]},{"id":"90150203775351","user":"David Meir-Levy","comment_text":"A few details need clarification: (1) 'Multi process of AI agents' — should the sub-tasks be executed in parallel (concurrent AI processes) or sequentially? (2) Should each sub-task produce its own git branch/commit, or should all sub-tasks be committed on a single branch? (3) What should TASK_ID.aidev.task.json contain — just a list of sub-task titles/descriptions, or a richer schema (dependencies, order, acceptance criteria)? (4) When you say 'update the ticket', do you mean posting comments with the sub-task breakdown and per-sub-task completion status, or also changing the ticket's status at each step?","comment":[{"text":"A few details need clarification: (1) 'Multi process of AI agents' — should the sub-tasks be executed in parallel (concurrent AI processes) or sequentially? (2) Should each sub-task produce its own git branch/commit, or should all sub-tasks be committed on a single branch? (3) What should TASK_ID.aidev.task.json contain — just a list of sub-task titles/descriptions, or a richer schema (dependencies, order, acceptance criteria)? (4) When you say 'update the ticket', do you mean posting comments with the sub-task breakdown and per-sub-task completion status, or also changing the ticket's status at each step?"}]},{"id":"90150203774114","user":"David Meir-Levy","comment_text":"[aidev] All AI runners failed. Manual implementation needed.","comment":[{"text":"[aidev] All AI runners failed. Manual implementation needed."}]},{"id":"90150203774105","user":"David Meir-Levy","comment_text":"[aidev] Starting implementation on branch `86c8nw4vy/support-tag-of-thinking-tasks`","comment":[{"text":"[aidev] Starting implementation on branch `86c8nw4vy/support-tag-of-thinking-tasks`"}]},{"id":"90150203772989","user":"David Meir-Levy","comment_text":"[aidev] All AI runners failed. Manual implementation needed.","comment":[{"text":"[aidev] All AI runners failed. Manual implementation needed."}]},{"id":"90150203772947","user":"David Meir-Levy","comment_text":"[aidev] Starting implementation on branch `86c8nw4vy/support-tag-of-thinking-tasks`","comment":[{"text":"[aidev] Starting implementation on branch `86c8nw4vy/support-tag-of-thinking-tasks`"}]},{"id":"90150203771214","user":"David Meir-Levy","comment_text":"[aidev] All AI runners failed. Manual implementation needed.","comment":[{"text":"[aidev] All AI runners failed. Manual implementation needed."}]},{"id":"90150203771211","user":"David Meir-Levy","comment_text":"[aidev] Starting implementation on branch `86c8nw4vy/support-tag-of-thinking-tasks`","comment":[{"text":"[aidev] Starting implementation on branch `86c8nw4vy/support-tag-of-thinking-tasks`"}]}]
|
|
864
|
+
2026-03-07T18:42:24.986Z [info] Trigger word "aidev-continue" found — re-processing pending task
|
|
865
|
+
2026-03-07T18:42:24.986Z [info] Implementing task: Support tag of “thinking” tasks
|
|
866
|
+
2026-03-07T18:42:24.986Z [debug] Updating task 86c8nw4vy status to "in progress"
|
|
867
|
+
2026-03-07T18:42:25.597Z [debug] Posting comment to task 86c8nw4vy
|
|
868
|
+
2026-03-07T18:42:26.084Z [debug] git fetch origin
|
|
869
|
+
2026-03-07T18:42:27.823Z [debug] git checkout main
|
|
870
|
+
2026-03-07T18:42:27.837Z [debug] git pull origin main
|
|
871
|
+
2026-03-07T18:42:27.847Z [error] git pull failed: error: cannot pull with rebase: You have unstaged changes.
|
|
872
|
+
error: please commit or stash them.
|
|
873
|
+
|
|
874
|
+
2026-03-07T18:42:27.847Z [error] Failed to prepare base branch
|
|
875
|
+
2026-03-07T18:42:27.847Z [debug] Posting comment to task 86c8nw4vy
|
|
876
|
+
2026-03-07T18:42:28.061Z [success] Done. Processed: 2, Skipped: 0
|
|
877
|
+
|
|
878
|
+
────────────────────────────────────────────────────────────
|
|
879
|
+
2026-03-07T18:45:01.926Z [run] started
|
|
880
|
+
────────────────────────────────────────────────────────────
|
|
881
|
+
2026-03-07T18:45:02.022Z [info] Fetching tasks (filter: all)...
|
|
882
|
+
2026-03-07T18:45:02.466Z [info] Found 2 tagged task(s)
|
|
883
|
+
2026-03-07T18:45:02.467Z [task] [86c8p1j2r] "Link to GitHub repo in package json" (status: in progress)
|
|
884
|
+
2026-03-07T18:45:04.236Z [info] Running Cursor Agent...
|
|
885
|
+
2026-03-07T18:45:06.011Z [warn] Cursor Agent exited with status 1
|
|
886
|
+
2026-03-07T18:45:06.011Z [warn] Clarification check failed — proceeding without clarification
|
|
887
|
+
2026-03-07T18:45:06.012Z [info] Implementing task: Link to GitHub repo in package json
|
|
888
|
+
2026-03-07T18:45:09.152Z [error] git pull failed: error: cannot pull with rebase: You have unstaged changes.
|
|
889
|
+
error: please commit or stash them.
|
|
890
|
+
|
|
891
|
+
2026-03-07T18:45:09.152Z [error] Failed to prepare base branch
|
|
892
|
+
2026-03-07T18:45:09.418Z [task] [86c8nw4vy] "Support tag of “thinking” tasks" (status: in progress)
|
|
893
|
+
2026-03-07T18:45:11.137Z [info] Running Cursor Agent...
|
|
894
|
+
2026-03-07T18:45:12.834Z [warn] Cursor Agent exited with status 1
|
|
895
|
+
2026-03-07T18:45:12.834Z [warn] Clarification check failed — proceeding without clarification
|
|
896
|
+
2026-03-07T18:45:12.834Z [info] Implementing task: Support tag of “thinking” tasks
|
|
897
|
+
2026-03-07T18:45:15.627Z [error] git pull failed: error: cannot pull with rebase: You have unstaged changes.
|
|
898
|
+
error: please commit or stash them.
|
|
899
|
+
|
|
900
|
+
2026-03-07T18:45:15.627Z [error] Failed to prepare base branch
|
|
901
|
+
2026-03-07T18:45:16.056Z [success] Done. Processed: 2, Skipped: 0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"providers.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/providers.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const node_test_1 = require("node:test");
|
|
7
|
+
const strict_1 = __importDefault(require("node:assert/strict"));
|
|
8
|
+
const node_test_2 = require("node:test");
|
|
9
|
+
const clickup_1 = require("../providers/clickup");
|
|
10
|
+
const jira_1 = require("../providers/jira");
|
|
11
|
+
const baseClickUpConfig = {
|
|
12
|
+
clickupApiKey: 'test-key',
|
|
13
|
+
clickupTeamId: 'team1',
|
|
14
|
+
clickupTag: 'aidev',
|
|
15
|
+
assigneeTag: '',
|
|
16
|
+
};
|
|
17
|
+
const baseJiraConfig = {
|
|
18
|
+
jiraBaseUrl: 'https://example.atlassian.net',
|
|
19
|
+
jiraEmail: 'test@example.com',
|
|
20
|
+
jiraApiToken: 'token',
|
|
21
|
+
jiraProject: 'PROJ',
|
|
22
|
+
jiraLabel: 'aidev',
|
|
23
|
+
assigneeTag: '',
|
|
24
|
+
};
|
|
25
|
+
function mockFetch(body) {
|
|
26
|
+
node_test_2.mock.method(globalThis, 'fetch', async () => ({
|
|
27
|
+
ok: true,
|
|
28
|
+
status: 200,
|
|
29
|
+
text: async () => JSON.stringify(body),
|
|
30
|
+
json: async () => body,
|
|
31
|
+
}));
|
|
32
|
+
}
|
|
33
|
+
// ─── ClickUpProvider.getComments ─────────────────────────────────────────────
|
|
34
|
+
(0, node_test_1.describe)('ClickUpProvider.getComments', () => {
|
|
35
|
+
(0, node_test_1.afterEach)(() => node_test_2.mock.restoreAll());
|
|
36
|
+
(0, node_test_1.it)('sorts newest-first API response into oldest-first (ascending by date)', async () => {
|
|
37
|
+
mockFetch({
|
|
38
|
+
comments: [
|
|
39
|
+
// ClickUp returns newest first
|
|
40
|
+
{ id: '3', comment_text: 'aidev-continue', comment: [], user: { username: 'user', id: 1 }, date: '3000' },
|
|
41
|
+
{ id: '2', comment_text: 'Some answer', comment: [], user: { username: 'user', id: 1 }, date: '2000' },
|
|
42
|
+
{ id: '1', comment_text: '[aidev] Clarification question', comment: [], user: { username: 'bot', id: 2 }, date: '1000' },
|
|
43
|
+
],
|
|
44
|
+
});
|
|
45
|
+
const provider = new clickup_1.ClickUpProvider(baseClickUpConfig);
|
|
46
|
+
const comments = await provider.getComments('task1');
|
|
47
|
+
strict_1.default.equal(comments[0].text, '[aidev] Clarification question'); // oldest first
|
|
48
|
+
strict_1.default.equal(comments[2].text, 'aidev-continue'); // newest last
|
|
49
|
+
});
|
|
50
|
+
(0, node_test_1.it)('uses comment_text when it is a plain string', async () => {
|
|
51
|
+
mockFetch({
|
|
52
|
+
comments: [
|
|
53
|
+
{ id: '1', comment_text: 'hello world', comment: [], user: { username: 'user', id: 1 }, date: '1000' },
|
|
54
|
+
],
|
|
55
|
+
});
|
|
56
|
+
const provider = new clickup_1.ClickUpProvider(baseClickUpConfig);
|
|
57
|
+
const comments = await provider.getComments('task1');
|
|
58
|
+
strict_1.default.equal(comments[0].text, 'hello world');
|
|
59
|
+
});
|
|
60
|
+
(0, node_test_1.it)('falls back to comment array when comment_text is empty (rich-text editor)', async () => {
|
|
61
|
+
mockFetch({
|
|
62
|
+
comments: [
|
|
63
|
+
{
|
|
64
|
+
id: '1',
|
|
65
|
+
comment_text: '',
|
|
66
|
+
comment: [
|
|
67
|
+
{ text: 'aidev-continue', attributes: {} },
|
|
68
|
+
{ text: '\n', attributes: { 'block-id': 'abc' } },
|
|
69
|
+
],
|
|
70
|
+
user: { username: 'user', id: 1 },
|
|
71
|
+
date: '1000',
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
});
|
|
75
|
+
const provider = new clickup_1.ClickUpProvider(baseClickUpConfig);
|
|
76
|
+
const comments = await provider.getComments('task1');
|
|
77
|
+
strict_1.default.ok(comments[0].text.includes('aidev-continue'));
|
|
78
|
+
});
|
|
79
|
+
(0, node_test_1.it)('returns empty text when both comment_text and comment array are empty', async () => {
|
|
80
|
+
mockFetch({
|
|
81
|
+
comments: [
|
|
82
|
+
{ id: '1', comment_text: '', comment: [], user: { username: 'user', id: 1 }, date: '1000' },
|
|
83
|
+
],
|
|
84
|
+
});
|
|
85
|
+
const provider = new clickup_1.ClickUpProvider(baseClickUpConfig);
|
|
86
|
+
const comments = await provider.getComments('task1');
|
|
87
|
+
strict_1.default.equal(comments[0].text, '');
|
|
88
|
+
});
|
|
89
|
+
(0, node_test_1.it)('trigger word is detected when newest comment contains it (real-world ordering)', async () => {
|
|
90
|
+
// Simulate ClickUp newest-first response: aidev-continue is newest (highest date)
|
|
91
|
+
// but sits at index 0 in the API response. After sorting it must be last.
|
|
92
|
+
mockFetch({
|
|
93
|
+
comments: [
|
|
94
|
+
{ id: '5', comment_text: 'aidev-continue', comment: [], user: { username: 'david', id: 1 }, date: '5000' },
|
|
95
|
+
{ id: '4', comment_text: 'User answer here', comment: [], user: { username: 'david', id: 1 }, date: '4000' },
|
|
96
|
+
{ id: '3', comment_text: '[aidev] All AI runners failed.', comment: [], user: { username: 'bot', id: 2 }, date: '3000' },
|
|
97
|
+
{ id: '2', comment_text: '[aidev] Starting implementation', comment: [], user: { username: 'bot', id: 2 }, date: '2000' },
|
|
98
|
+
{ id: '1', comment_text: '[aidev] Clarification question', comment: [], user: { username: 'bot', id: 2 }, date: '1000' },
|
|
99
|
+
],
|
|
100
|
+
});
|
|
101
|
+
const provider = new clickup_1.ClickUpProvider(baseClickUpConfig);
|
|
102
|
+
const comments = await provider.getComments('task1');
|
|
103
|
+
const last = comments[comments.length - 1];
|
|
104
|
+
strict_1.default.ok(last.text.toLowerCase().includes('aidev-continue'));
|
|
105
|
+
});
|
|
106
|
+
});
|
|
107
|
+
// ─── JiraProvider.getComments ─────────────────────────────────────────────────
|
|
108
|
+
(0, node_test_1.describe)('JiraProvider.getComments', () => {
|
|
109
|
+
(0, node_test_1.afterEach)(() => node_test_2.mock.restoreAll());
|
|
110
|
+
function adfComment(text) {
|
|
111
|
+
return {
|
|
112
|
+
type: 'doc',
|
|
113
|
+
version: 1,
|
|
114
|
+
content: [{ type: 'paragraph', content: [{ type: 'text', text }] }],
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
(0, node_test_1.it)('extracts plain text from ADF body', async () => {
|
|
118
|
+
mockFetch({
|
|
119
|
+
comments: [
|
|
120
|
+
{ id: '1', body: adfComment('hello world'), author: { displayName: 'Alice', accountId: 'a1' }, created: '2024-01-01T10:00:00.000Z' },
|
|
121
|
+
],
|
|
122
|
+
});
|
|
123
|
+
const provider = new jira_1.JiraProvider(baseJiraConfig);
|
|
124
|
+
const comments = await provider.getComments('PROJ-1');
|
|
125
|
+
strict_1.default.equal(comments[0].text, 'hello world');
|
|
126
|
+
});
|
|
127
|
+
(0, node_test_1.it)('sorts out-of-order API response into ascending date order', async () => {
|
|
128
|
+
mockFetch({
|
|
129
|
+
comments: [
|
|
130
|
+
{ id: '3', body: adfComment('aidev-continue'), author: { displayName: 'Alice', accountId: 'a1' }, created: '2024-01-01T12:00:00.000Z' },
|
|
131
|
+
{ id: '1', body: adfComment('[aidev] Starting'), author: { displayName: 'bot', accountId: 'b1' }, created: '2024-01-01T10:00:00.000Z' },
|
|
132
|
+
{ id: '2', body: adfComment('User reply'), author: { displayName: 'Alice', accountId: 'a1' }, created: '2024-01-01T11:00:00.000Z' },
|
|
133
|
+
],
|
|
134
|
+
});
|
|
135
|
+
const provider = new jira_1.JiraProvider(baseJiraConfig);
|
|
136
|
+
const comments = await provider.getComments('PROJ-1');
|
|
137
|
+
strict_1.default.equal(comments[0].text, '[aidev] Starting'); // oldest first
|
|
138
|
+
strict_1.default.equal(comments[2].text, 'aidev-continue'); // newest last
|
|
139
|
+
});
|
|
140
|
+
(0, node_test_1.it)('trigger word is detected when newest comment contains it', async () => {
|
|
141
|
+
mockFetch({
|
|
142
|
+
comments: [
|
|
143
|
+
{ id: '1', body: adfComment('[aidev] Clarification needed'), author: { displayName: 'bot', accountId: 'b1' }, created: '2024-01-01T10:00:00.000Z' },
|
|
144
|
+
{ id: '2', body: adfComment('aidev-continue'), author: { displayName: 'Alice', accountId: 'a1' }, created: '2024-01-01T11:00:00.000Z' },
|
|
145
|
+
],
|
|
146
|
+
});
|
|
147
|
+
const provider = new jira_1.JiraProvider(baseJiraConfig);
|
|
148
|
+
const comments = await provider.getComments('PROJ-1');
|
|
149
|
+
const last = comments[comments.length - 1];
|
|
150
|
+
strict_1.default.ok(last.text.toLowerCase().includes('aidev-continue'));
|
|
151
|
+
});
|
|
152
|
+
});
|
|
153
|
+
//# sourceMappingURL=providers.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"providers.test.js","sourceRoot":"","sources":["../../src/__tests__/providers.test.ts"],"names":[],"mappings":";;;;;AAAA,yCAAoD;AACpD,gEAAwC;AACxC,yCAAiC;AAEjC,kDAAuD;AACvD,4CAAiD;AAEjD,MAAM,iBAAiB,GAAG;IACxB,aAAa,EAAE,UAAU;IACzB,aAAa,EAAE,OAAO;IACtB,UAAU,EAAE,OAAO;IACnB,WAAW,EAAE,EAAE;CACK,CAAC;AAEvB,MAAM,cAAc,GAAG;IACrB,WAAW,EAAE,+BAA+B;IAC5C,SAAS,EAAE,kBAAkB;IAC7B,YAAY,EAAE,OAAO;IACrB,WAAW,EAAE,MAAM;IACnB,SAAS,EAAE,OAAO;IAClB,WAAW,EAA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AC,WAAW,CAAC,QAAQ,CAAC,CAAC;QACtD,MAAM,IAAI,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAC3C,gBAAM,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAChE,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/dist/cli.js
CHANGED
|
@@ -10,11 +10,13 @@ const config_1 = require("./config");
|
|
|
10
10
|
const providers_1 = require("./providers");
|
|
11
11
|
const ai_1 = require("./ai");
|
|
12
12
|
const logger_1 = require("./logger");
|
|
13
|
+
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
14
|
+
const { version } = require('../package.json');
|
|
13
15
|
const program = new commander_1.Command();
|
|
14
16
|
program
|
|
15
17
|
.name('aidev')
|
|
16
18
|
.description('AI-powered task executor — implements ClickUp tasks with Claude or Cursor')
|
|
17
|
-
.version(
|
|
19
|
+
.version(version)
|
|
18
20
|
.option('-e, --env <path>', 'path to env file (default: .env.aidev)');
|
|
19
21
|
program
|
|
20
22
|
.command('init')
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";;;AACA,yCAAoC;AACpC,0CAA8C;AAC9C,wCAAuD;AACvD,kDAAoG;AACpG,0CAA8C;AAC9C,qCAAsC;AACtC,2CAA6C;AAC7C,6BAAqC;AACrC,qCAAkC;AAElC,MAAM,OAAO,GAAG,IAAI,mBAAO,EAAE,CAAC;AAE9B,OAAO;KACJ,IAAI,CAAC,OAAO,CAAC;KACb,WAAW,CAAC,2EAA2E,CAAC;KACxF,OAAO,CAAC,OAAO,CAAC;KAChB,MAAM,CAAC,kBAAkB,EAAE,wCAAwC,CAAC,CAAC;AAExE,OAAO;KACJ,OAAO,CAAC,MAAM,CAAC;KAC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E,EAAE;IAC5B,MAAM,IAAA,gCAAqB,EAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;AACjE,CAAC,CAAC,CAAC;AAEL,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clickup.d.ts","sourceRoot":"","sources":["../../src/providers/clickup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAGtC,qBAAa,eAAgB,YAAW,YAAY;IAClD,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,GAAG,CAAS;IACpB,OAAO,CAAC,WAAW,CAAS;gBAEhB,MAAM,EAAE,MAAM;YAOZ,OAAO;IA4Cf,UAAU,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;IA8B7B,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQxD,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"clickup.d.ts","sourceRoot":"","sources":["../../src/providers/clickup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAGtC,qBAAa,eAAgB,YAAW,YAAY;IAClD,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,GAAG,CAAS;IACpB,OAAO,CAAC,WAAW,CAAS;gBAEhB,MAAM,EAAE,MAAM;YAOZ,OAAO;IA4Cf,UAAU,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;IA8B7B,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQxD,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IA6C/C,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAOlE"}
|
|
@@ -69,13 +69,30 @@ class ClickUpProvider {
|
|
|
69
69
|
async getComments(taskId) {
|
|
70
70
|
logger_1.logger.debug(`Fetching comments for task ${taskId}`);
|
|
71
71
|
const data = await this.request(`/task/${taskId}/comment`);
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
72
|
+
// ClickUp returns comments newest-first; sort ascending so newest is last
|
|
73
|
+
const sorted = [...data.comments].sort((a, b) => parseInt(a.date, 10) - parseInt(b.date, 10));
|
|
74
|
+
return sorted.map((c) => {
|
|
75
|
+
let text;
|
|
76
|
+
if (typeof c.comment_text === 'string' && c.comment_text) {
|
|
77
|
+
text = c.comment_text;
|
|
78
|
+
}
|
|
79
|
+
else if (Array.isArray(c.comment_text) && c.comment_text.length > 0) {
|
|
80
|
+
text = c.comment_text.map((b) => b.text || '').join('');
|
|
81
|
+
}
|
|
82
|
+
else if (Array.isArray(c.comment) && c.comment.length > 0) {
|
|
83
|
+
text = c.comment.map((b) => b.text || '').join('');
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
text = '';
|
|
87
|
+
}
|
|
88
|
+
return {
|
|
89
|
+
id: c.id,
|
|
90
|
+
text,
|
|
91
|
+
author: c.user.username,
|
|
92
|
+
authorId: String(c.user.id),
|
|
93
|
+
date: parseInt(c.date, 10),
|
|
94
|
+
};
|
|
95
|
+
});
|
|
79
96
|
}
|
|
80
97
|
async updateStatus(taskId, status) {
|
|
81
98
|
logger_1.logger.debug(`Updating task ${taskId} status to "${status}"`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clickup.js","sourceRoot":"","sources":["../../src/providers/clickup.ts"],"names":[],"mappings":";;;AAEA,sCAAmC;AAEnC,MAAa,eAAe;IAM1B,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,aAAa,CAAC;QACnC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,aAAa,CAAC;QACnC,IAAI,CAAC,GAAG,GAAG,MAAM,CAAC,UAAU,CAAC;QAC7B,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;IACxC,CAAC;IAEO,KAAK,CAAC,OAAO,CAAI,IAAY,EAAE,UAAuB,EAAE;QAC9D,MAAM,GAAG,GAAG,iCAAiC,IAAI,EAAE,CAAC;QACpD,MAAM,WAAW,GAAG,CAAC,CAAC;QACtB,IAAI,SAA4B,CAAC;QAEjC,KAAK,IAAI,OAAO,GAAG,CAAC,EAAE,OAAO,IAAI,WAAW,EAAE,OAAO,EAAE,EAAE,CAAC;YACxD,IAAI,CAAC;gBACH,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,GAAG,EAAE;oBAC3B,GAAG,OAAO;oBACV,OAAO,EAAE;wBACP,aAAa,EAAE,IAAI,CAAC,MAAM;wBAC1B,cAAc,EAAE,kBAAkB;wBAClC,GAAG,CAAC,OAAO,CAAC,OAAO,IAAI,EAAE,CAAC;qBAC3B;iBACF,CAAC,CAAC;gBAEH,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;oBACZ,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC;oBAC9B,MAAM,IAAI,KAAK,CAAC,qBAAqB,GAAG,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC,CAAC;gBAC9D,CAAC;gBAED,OAAO,GAAG,CA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;IACL,CAAC;CACF;AAnJD,0CAmJC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jira.d.ts","sourceRoot":"","sources":["../../src/providers/jira.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAGtC,qBAAa,YAAa,YAAW,YAAY;IAC/C,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,WAAW,CAAS;gBAEhB,MAAM,EAAE,MAAM;YASZ,OAAO;IAoBrB,iEAAiE;IACjE,OAAO,CAAC,SAAS;IAUX,UAAU,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;IAmC7B,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAmBxD,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"jira.d.ts","sourceRoot":"","sources":["../../src/providers/jira.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAGtC,qBAAa,YAAa,YAAW,YAAY;IAC/C,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,WAAW,CAAS;gBAEhB,MAAM,EAAE,MAAM;YASZ,OAAO;IAoBrB,iEAAiE;IACjE,OAAO,CAAC,SAAS;IAUX,UAAU,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;IAmC7B,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAmBxD,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IA8B/C,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CA4BlE"}
|
package/dist/providers/jira.js
CHANGED
|
@@ -75,7 +75,9 @@ class JiraProvider {
|
|
|
75
75
|
async getComments(taskId) {
|
|
76
76
|
logger_1.logger.debug(`Fetching comments for Jira issue ${taskId}`);
|
|
77
77
|
const data = await this.request(`/issue/${taskId}/comment`);
|
|
78
|
-
|
|
78
|
+
// Sort ascending by date so newest is always last (consistent with ClickUp provider)
|
|
79
|
+
const sorted = [...data.comments].sort((a, b) => new Date(a.created).getTime() - new Date(b.created).getTime());
|
|
80
|
+
return sorted.map((c) => ({
|
|
79
81
|
id: c.id,
|
|
80
82
|
text: this.adfToText(c.body),
|
|
81
83
|
author: c.author.displayName,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jira.js","sourceRoot":"","sources":["../../src/providers/jira.ts"],"names":[],"mappings":";;;AAEA,sCAAmC;AAEnC,MAAa,YAAY;IAOvB,YAAY,MAAc;QACxB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACrD,IAAI,CAAC,UAAU;YACb,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,SAAS,IAAI,MAAM,CAAC,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAC1F,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,WAAW,CAAC;QAClC,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,SAAS,CAAC;QAC9B,IAA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B,MAAM,gBAAgB,KAAK,EAAE,CACjF,CAAC;QACJ,CAAC;QAED,MAAM,IAAI,CAAC,OAAO,CAAC,UAAU,MAAM,cAAc,EAAE;YACjD,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,EAAE,UAAU,CAAC,EAAE,EAAE,EAAE,CAAC;SAC5D,CAAC,CAAC;IACL,CAAC;CACF;AA/JD,oCA+JC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qelos/aidev",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"description": "AI-powered task executor — polls ClickUp (and more) to implement tasks with Claude or Cursor",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"bin": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc && node -e \"if(process.platform!=='win32')require('fs').chmodSync('dist/cli.js',0o755)\"",
|
|
15
15
|
"dev": "tsx src/cli.ts",
|
|
16
|
-
"test": "node --require tsx/cjs --test src/__tests__/git.test.ts src/__tests__/platform.test.ts src/__tests__/schedule.test.ts src/__tests__/init.test.ts src/__tests__/run.test.ts src/__tests__/permissions.test.ts",
|
|
16
|
+
"test": "node --require tsx/cjs --test src/__tests__/git.test.ts src/__tests__/platform.test.ts src/__tests__/schedule.test.ts src/__tests__/init.test.ts src/__tests__/run.test.ts src/__tests__/permissions.test.ts src/__tests__/providers.test.ts",
|
|
17
17
|
"prepublishOnly": "npm run build"
|
|
18
18
|
},
|
|
19
19
|
"keywords": [
|
|
@@ -26,6 +26,14 @@
|
|
|
26
26
|
],
|
|
27
27
|
"author": "",
|
|
28
28
|
"license": "MIT",
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://github.com/qelos-io/aidev.git"
|
|
32
|
+
},
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/qelos-io/aidev/issues"
|
|
35
|
+
},
|
|
36
|
+
"homepage": "https://github.com/qelos-io/aidev#readme",
|
|
29
37
|
"publishConfig": {
|
|
30
38
|
"access": "public"
|
|
31
39
|
},
|