Commit graph

41 commits

Author SHA1 Message Date
Chris Lettieri
521399efd3 M3b: Augi task-file commands; deprecate Task Dispatch
Add TaskFileService, which writes `status: pending` task files to
OpenAugi/Tasks/ via the Obsidian vault API — no shell-out, no HTTP, no
Node modules, so it works on mobile too. The file format mirrors the
parent repo's templates/task-template.md contract consumed by
task_watcher.py.

New commands (all platforms):
- Augi: Run review pass       -> "run the review pass"
- Augi: Process dashboard     -> "process the dashboard"
- Augi: Distill selection     -> selection/active-note body becomes the
                                 ## Context; distill-lens instruction

Deprecate the legacy Task Dispatch feature (it launches tmux itself,
bypassing the watcher). Kept functional for community users without the
Python watcher; steer new use to task files via docs banner, settings UI
label, and a @deprecated marker. To be removed over a release or two.

Docs: new docs/AGENT_TASKS.md; README + CODEBASE_MAP updated to lead with
the task-file flow. Tests: 18 new, including a watcher-frontmatter-regex
compat check and same-second collision handling.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 08:26:30 -04:00
Chris Lettieri
6e9ed65d40 Fix mobile compatibility: dynamic import for task dispatch
TaskDispatchService uses Node.js modules (child_process, fs, path) that
are unavailable on Obsidian mobile. Switch to dynamic import with
Platform.isMobile guard so the plugin loads cleanly on mobile while
keeping full task dispatch functionality on desktop.

- Use `import type` + dynamic `import()` for TaskDispatchService
- Guard task dispatch commands behind Platform.isMobile check
- Lazy-import detectTmuxPath in settings tab
- Bump version to 0.5.2

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 21:53:33 -05:00
Chris Lettieri
8072306a89 user prompt 2026-02-25 17:34:31 -05:00
Chris Lettieri
850c270434 use mcp to write back 2026-02-25 17:27:49 -05:00
Chris Lettieri
b7d4a3b225 repo setting 2026-02-25 17:27:26 -05:00
Chris Lettieri
9498668076 task dispatch working 2026-02-25 08:18:41 -05:00
Chris Lettieri
f23b331902 wait for shell to be ready 2026-02-25 08:03:19 -05:00
Chris Lettieri
8dd3310151 fix prompt command, no script 2026-02-25 07:59:22 -05:00
Chris Lettieri
9580d24974 context pipe from file, shell script launch 2026-02-25 07:54:44 -05:00
Chris Lettieri
00086fe2fd set working dir 2026-02-24 21:25:04 -05:00
Chris Lettieri
3b49d555fe find tmux 2026-02-24 21:20:27 -05:00
Chris Lettieri
55465575aa tmux detect 2026-02-24 21:14:26 -05:00
Chris Lettieri
ae9f90acad task id naming 2026-02-24 21:10:28 -05:00
Chris Lettieri
7660c798b5 task dispatch 2026-02-24 21:05:29 -05:00
Chris Lettieri
13f1aa4f86 close modal after copy 2026-02-22 16:03:56 -05:00
Chris Lettieri
cb0d4089a4 fix dataview context on table 2026-02-22 16:03:35 -05:00
Chris Lettieri
4123d93c4e copy to clipboard context 2026-02-22 15:45:52 -05:00
Chris Lettieri
250d6bb207 support for backlink context collection 2026-01-29 08:41:25 -05:00
Chris Lettieri
513b007a6a strip tags from context saved 2026-01-14 17:30:26 -05:00
Chris Lettieri
ca59ca6eb9 ordering of new models 2026-01-12 09:03:23 -05:00
Chris Lettieri
b2ce0fc9d8 refresh to get latest open ai models 2026-01-12 08:48:33 -05:00
Chris Lettieri
ea97ae7882 hide dataview query from context we capture 2026-01-12 08:40:17 -05:00
Chris Lettieri
0a4a278ad7 remove temperature 2025-10-13 15:21:52 -04:00
Chris Lettieri
8415c0c944 remove distill recent activity command 2025-10-13 15:00:16 -04:00
Chris Lettieri
f15cc5a7e8 add new openai models and field to override 2025-10-13 14:51:50 -04:00
Chris Lettieri
3db73cfba2 fix regex 2025-10-13 14:39:40 -04:00
Chris Lettieri
aeb30ecb90 update context gathering flow 2025-10-13 14:22:29 -04:00
Chris Lettieri
8a999a475c fix folder creation 2025-07-28 08:01:14 -04:00
Chris Lettieri
ec004dd25f custom lens, date range filtering, note header date parsing 2025-07-27 11:20:50 -04:00
Chris Lettieri
6085173752 distill recent notes, file name collision 2025-07-26 10:30:24 -04:00
Chris Lettieri
9d4ea7df84 fix null file 2025-05-06 07:44:29 -04:00
Chris Lettieri
34eb234233 fix file 2025-05-06 07:37:36 -04:00
Chris Lettieri
2b6f781c2a clean up logging and settings 2025-05-06 07:34:04 -04:00
Chris Lettieri
7ad0725f29 adds feature to inject custom context instructions 2025-04-18 12:55:09 -04:00
Chris Lettieri
223acd9851 working with dataview queries now 2025-04-17 15:36:57 -04:00
Chris Lettieri
89285d033c add the distill MOC command 2025-04-17 14:52:08 -04:00
Chris Lettieri
667ce898ef move things to css 2025-04-17 08:41:18 -04:00
Chris Lettieri
a90d730327 update max token size 2025-04-16 12:24:11 -04:00
Chris Lettieri
d73a5b6859 better UX - processing status, open when done 2025-04-16 11:40:53 -04:00
Chris Lettieri
5fd9802300 sanitize file name and backlinks 2025-04-16 11:39:39 -04:00
Chris Lettieri
1d7bd175eb refactor big file 2025-04-16 11:33:35 -04:00