Commit Graph

29 Commits

Author SHA1 Message Date
Taylor Wilsdon
e9c9c28844 cleanup 2026-03-01 13:23:40 -05:00
Taylor Wilsdon
6753531e9d refactor tools to consolidate all modify actions 2026-03-01 12:36:09 -05:00
Olivier Schiavo
2cdc55ac7d fix_start_google_auth 2026-01-12 16:05:32 +01:00
Taylor Wilsdon
6b8352a354 apply ruff formatting 2025-12-13 13:49:28 -08:00
Taylor Wilsdon
33b41a59d8 timezone awareness handling improvements and tasks fix 2025-10-18 13:01:43 -04:00
Taylor Wilsdon
1c235c33a4 Update gtasks/tasks_tools.py 2025-09-20 17:09:32 -04:00
Forrest Trepte
c5bede71c7 resolves #204 by differentiating subtasks for top-level tasks
Also:
* Creates placeholder parents for orphaned subtasks, grouping them together even though their parent isn't available.
* Performs sorting of tasks in a simpler  way.
* Fixes mypy type warnings in tasks_tools.py so that mypy runs clean on this one file. See #194 for more info about type checking.
2025-09-20 13:15:10 -07:00
Taylor Wilsdon
abd6c58b7b Merge pull request #195 from ForrestTrepte/fix-completed-tasks-hidden
explain that when show_completed is set, show_hidden should also be set
2025-09-18 16:27:15 -04:00
Forrest Trepte
a8ee7defa2 fix list_tasks with max_results, boolean params 2025-09-17 15:41:41 -07:00
Forrest Trepte
b2fae7e91e fix list_task_lists with max_results 2025-09-17 15:41:23 -07:00
Forrest Trepte
7f8b327633 explain that when show_completed is set, show_hidden should also be set
fixes #139

add comment from https://developers.google.com/workspace/tasks/reference/rest/v1/tasks/list about the parameter show_completed

When Google's web UI and Google's mobile apps complete a task, they also make it hidden. When using MCP, if you ask for your hidden tasks, the LLM won't find them if it doesn't know this.
2025-08-29 13:50:37 -07:00
Taylor Wilsdon
e16654b719 fix typing 2025-08-20 16:46:21 -04:00
Taylor Wilsdon
6cd852e440 fix typing 2025-08-20 16:46:11 -04:00
Taylor Wilsdon
8062cd6803 str -> int for tasks maxresults 2025-08-20 15:25:13 -04:00
Taylor Wilsdon
d89e0e90c8 str -> int for tasks maxresults 2025-08-20 15:24:54 -04:00
Taylor Wilsdon
c32931d72f str -> int for tasks maxresults 2025-08-20 15:24:15 -04:00
Taylor Wilsdon
0484b3a842 fstring begone 2025-08-18 12:59:02 -04:00
Taylor Wilsdon
db12f9e104 docstring formatter 2025-08-18 12:47:09 -04:00
Forrest Trepte
0ae2c16f97 add note to sort_tasks_by_position docstring 2025-08-17 11:06:40 -07:00
Forrest Trepte
51f7376d0f LIST_TASKS_MAX_POSITION constant 2025-08-17 11:03:50 -07:00
Forrest Trepte
6db94a0e0b LIST_TASKS_MAX_RESULTS_DEFAULT/MAX constants 2025-08-17 10:34:28 -07:00
Forrest Trepte
6ea2f6cd78 support max_results larger than the Google API page size
This allows the server to return a large task list in sorted order instead of pages of tasks as returned by the Google API in an arbitrary order.
2025-08-16 12:47:22 -07:00
Forrest Trepte
ccf549df6d warn about orphaned subtasks 2025-08-16 11:40:26 -07:00
Forrest Trepte
ee27a9258f sort tasks by position 2025-08-16 11:15:33 -07:00
Taylor Wilsdon
b4743d2f16 add instructions for llm if api not enabled 2025-07-28 11:49:01 -04:00
Taylor Wilsdon
d4dc255f16 resolve all ruff check errors 2025-07-18 18:04:06 -04:00
Taylor Wilsdon
f08373a8b2 consolidate the retry mechanism into the handle_http_errors decorator, mitigates idempotency risks by limiting retries to read-only operations 2025-07-17 13:57:21 -04:00
Jihun Kim
a92748b947 refactor: apply SSL retry decorator to all tool modules 2025-07-14 15:08:03 +01:00
Taylor Wilsdon
75bb6c4d90 Add support for Google Tasks 2025-07-09 11:54:46 -04:00