You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add Global Task Scheduler — due dates, recurring intervals, cross-project triggers
Tasks can now have due dates (relative like "3d" or ISO), repeat intervals,
actions, and auto-execute flags. Overdue tasks are reported at every
aidex_session call across ALL projects via a fast global mirror table.
- New task fields: due, interval, action, auto_go
- Global mirror: scheduled_tasks table in ~/.aidex/global.db
- Session hook: checkScheduledTasks() runs on every session start
- Auto-migration: existing project DBs get new columns automatically
- 26 tests covering scheduler logic, task CRUD, global sync
- Docs: README, CHANGELOG, MCP-API-REFERENCE, CLAUDE.md updated
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: MCP-API-REFERENCE.md
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -679,6 +679,10 @@ Manage a single task in the project backlog. Tasks persist in the AiDex database
679
679
|`source`| string | - | Where the task came from (e.g., `"code review of parser.ts:142"`) |
680
680
|`sort_order`| number | - | Sort order within same priority (lower = first, default: 0) |
681
681
|`note`| string | for log | Log note text |
682
+
|`due`| string | - | Due date: ISO date (`"2026-04-10"`) or relative from now (`"3d"`, `"1w"`, `"12h"`). Set to `""` to clear. |
683
+
|`interval`| string | - | Repeat interval after trigger: `"30m"`, `"2h"`, `"3d"`, `"1w"`. Omit or `""` for one-shot. |
684
+
|`task_action`| string | - | What to do when triggered (description of the action to perform) |
685
+
|`auto_go`| boolean | - | If `true`, auto-execute the action on trigger. Default: `false`. |
682
686
683
687
**Actions:**
684
688
@@ -692,6 +696,8 @@ Manage a single task in the project backlog. Tasks persist in the AiDex database
692
696
693
697
**Auto-logging:** Status changes and task creation are automatically recorded in the task history.
694
698
699
+
**Task Scheduler:** Tasks with `due` dates are tracked globally in `~/.aidex/global.db`. At every `aidex_session` call, overdue tasks from ALL projects are reported. Recurring tasks (`interval` set) automatically advance their due date. Setting a task to `done`/`cancelled` or clearing `due` removes it from the scheduler.
700
+
695
701
**Examples:**
696
702
```json
697
703
// Create a high-priority bug task with summary
@@ -713,6 +719,32 @@ Manage a single task in the project backlog. Tasks persist in the AiDex database
Copy file name to clipboardExpand all lines: README.md
+25-2Lines changed: 25 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ AiDex is an MCP server that gives AI coding assistants instant access to your en
30
30
|**Global Search**|`global_init`, `global_query`, `global_signatures`, `global_status`, `global_refresh`| Search across ALL your projects at once — "Have I ever written X?" |
31
31
|**Guidelines**|`global_guideline`| Persistent AI instructions & coding conventions — shared across all projects |
32
32
|**Sessions**|`session`, `note`| Track sessions, detect external changes, leave notes for next session (with searchable history) |
33
-
|**Task Backlog**|`task`, `tasks`| Built-in task management with priorities, tags, and auto-logged history |
33
+
|**Task Backlog**|`task`, `tasks`| Built-in task management with priorities, tags, auto-logged history, and **scheduled/recurring tasks**|
34
34
|**Log Hub**|`log`| Universal log receiver — any program sends logs via HTTP, queryable by the AI, live in Viewer |
35
35
|**Screenshots**|`screenshot`, `windows`| Cross-platform screen capture with LLM optimization — scale + color reduction saves up to 95% tokens |
36
36
|**Viewer**|`viewer`| Interactive browser UI with file tree, signatures, tasks, logs, and live reload |
@@ -314,7 +314,7 @@ Do I want to search code?
314
314
| Global Search | `aidex_global_init`, `aidex_global_query`, `aidex_global_signatures`, `aidex_global_status`, `aidex_global_refresh` | Search across ALL projects |
**Due formats:** Relative (`"30m"`, `"2h"`, `"3d"`, `"1w"`) or ISO date (`"2026-04-10"`)
514
+
515
+
At every `aidex_session` call, the **Task Scheduler** checks `~/.aidex/global.db` for due tasks across all projects — even if you're working on a different project. Recurring tasks automatically advance their due date after each trigger.
516
+
495
517
**Features:**
496
518
-**Summaries**: One-sentence table-of-contents per task — scan the backlog without reading full details
497
519
-**Priorities**: 🔴 high, 🟡 medium, ⚪ low
498
520
-**Statuses**: `backlog → active → done | cancelled`
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "aidex-mcp",
3
-
"version": "1.16.3",
3
+
"version": "1.17.0",
4
4
"mcpName": "io.github.CSCSoftware/aidex",
5
5
"description": "MCP Server for persistent code indexing. Gives AI assistants (Claude, Gemini, Copilot, Cursor) instant access to your codebase. 50x less context than grep.",
0 commit comments