49 Commits

Author SHA1 Message Date
chahinebrini
9d18022076 docs: add WINDOWS_CONTINUE.md — Claude Code handoff prompt for Windows protection validation
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 23:31:52 +02:00
chahinebrini
cce4ad78d3 chore(pilots): add self-contained TSK-0003 Windows protection pilot script
One-command Windows validation: claims TSK-0003, runs the magic-reviewed DNS-only protection flow (self-elevating), verifies, and reports back via agenthub memory add + task done. Delivered via git since Mac<->Win clipboard is unavailable.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 22:43:24 +02:00
chahinebrini
074b75f909 feat(cli): add agenthub update self-updater + non-blocking update hint
agenthub update: fetch + reset install to origin/<branch> + reinstall + rebuild, so users never touch git or pnpm. Robust to a dirty working tree (the 'commit before pull' wall) by resetting to remote; guards unpushed local commits and refuses to discard them. Adds a daily, non-blocking update hint on startup (detached background fetch + instant local comparison, like gh/npm/brew) that never auto-applies. Tests for the non-git-install path.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 22:24:53 +02:00
chahinebrini
79f5c8afde feat(cli): single-instance guard, ambient discovery, graceful errors, cwd-robust
Make the network MVP simple to operate: server start refuses a second instance on a port already serving AgentHub (single source of truth, prevents discovery split-brain); commands auto-discover a LAN server when run outside any project so the CLI works from any directory with zero config; walk up to the nearest .agenthub project (cwd-robust) and serve the project root; replace raw stack traces with actionable messages; add tests for findProjectRoot and the single-instance guard.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 22:15:14 +02:00
chahinebrini
9b8d587e9d feat(discovery): auto-discover LAN server during init; zero-config network mode 2026-06-25 13:46:39 +02:00
chahinebrini
3ebd33c4be feat(cli): store serverUrl in config during init; auto-connect LAN clients 2026-06-25 13:33:12 +02:00
chahinebrini
c073f9a213 fix(network-mode): wrap remote calls for errors, skip Content-Type on empty body, use program CLI in E2E 2026-06-25 13:21:10 +02:00
chahinebrini
d53fbf6794 docs(plan): add network mode implementation plan 2026-06-25 12:46:16 +02:00
chahinebrini
16d5fa7a45 docs(readme): document network mode 2026-06-25 12:43:05 +02:00
chahinebrini
efd0c7edfd test(e2e): add network mode end-to-end test; log actual server URL 2026-06-25 12:41:48 +02:00
chahinebrini
7eff25129f fix(server): 404/400 error handling and consistent delegate behavior; add server route tests 2026-06-25 12:40:11 +02:00
chahinebrini
b5a70b226b fix(remoteClient): correct IndexEntry import path 2026-06-25 12:37:51 +02:00
chahinebrini
b5e854fb10 feat(server): add full CRUD endpoints for network mode 2026-06-25 12:33:21 +02:00
chahinebrini
c2e3b0298e feat(server): support --host for LAN binding and export buildApp 2026-06-25 12:33:04 +02:00
chahinebrini
407202f092 feat(cli): add --server / AGENTHUB_SERVER remote mode wiring 2026-06-25 12:32:50 +02:00
chahinebrini
fb3da93f59 feat(cli): add RemoteClient for network mode 2026-06-25 12:32:11 +02:00
chahinebrini
a0af702344 fix(services): guard getters, use counter for memory, deduplicate listEntities 2026-06-25 12:30:14 +02:00
chahinebrini
908a89d772 feat(services): add delegate service and refactor CLI 2026-06-25 12:24:14 +02:00
chahinebrini
6708dde532 feat(services): add status service and refactor CLI 2026-06-25 12:23:57 +02:00
chahinebrini
e69e81135a feat(services): add memory service and refactor CLI 2026-06-25 12:23:45 +02:00
chahinebrini
fff8a61ad9 feat(services): add decision service and refactor CLI 2026-06-25 12:23:23 +02:00
chahinebrini
6c8ee37a08 feat(services): add handoff service and refactor CLI 2026-06-25 12:23:02 +02:00
chahinebrini
b4874afbe9 refactor(cli): use taskService in task command 2026-06-25 12:22:37 +02:00
chahinebrini
4a8f5cbb8e feat(services): add task service module 2026-06-25 12:18:49 +02:00
chahinebrini
d73ff27129 chore(git): ignore .worktrees directory 2026-06-25 12:15:35 +02:00
chahinebrini
5531bfa282 docs(spec): add network mode design for multi-agent LAN usage 2026-06-25 11:58:12 +02:00
chahinebrini
22f3c7dda6 chore(deps): lock dependencies and allow better-sqlite3 build scripts 2026-06-25 00:18:01 +02:00
chahinebrini
37ddaae043 fix(cli): handle missing status, clean imports, record delegated agent 2026-06-24 23:57:22 +02:00
chahinebrini
8dc9c96606 docs(readme): add readme and publish config 2026-06-24 23:47:56 +02:00
chahinebrini
1197d85fdc test(e2e): add basic integration test 2026-06-24 23:47:12 +02:00
chahinebrini
abab656969 feat(cli): wire up all commands in commander entrypoint 2026-06-24 23:46:29 +02:00
chahinebrini
5adaaad216 feat(server): add optional fastify api 2026-06-24 23:45:20 +02:00
chahinebrini
7c20dd91d9 feat(cli): add status command 2026-06-24 23:44:14 +02:00
chahinebrini
d728c616d1 feat(cli): add delegate command with suggest/auto mode 2026-06-24 23:43:44 +02:00
chahinebrini
fed43e70ed feat(cli): add decision create/list commands 2026-06-24 23:43:02 +02:00
chahinebrini
0cc88603e1 feat(cli): add handoff create/read/list commands 2026-06-24 23:42:22 +02:00
chahinebrini
c4fbbbd865 feat(cli): add memory add/search/list commands 2026-06-24 23:41:34 +02:00
chahinebrini
be9161d7d1 feat(cli): add task create/list/show/claim/done commands 2026-06-24 23:40:23 +02:00
chahinebrini
cd6add215d feat(cli): add init command with agent instruction generation 2026-06-24 23:39:19 +02:00
chahinebrini
830e7af0c7 feat(templates): add agent instruction templates 2026-06-24 23:37:54 +02:00
chahinebrini
421420040a feat(status): add status aggregation and latest.md generation 2026-06-24 23:36:58 +02:00
chahinebrini
2b9e409b8b feat(index): add sqlite index with fts5 search 2026-06-24 23:35:53 +02:00
chahinebrini
c5af4c7b6a feat(config): add config read/write and defaults 2026-06-24 23:33:27 +02:00
chahinebrini
57bb572bf5 feat(files): add markdown entity read/write 2026-06-24 23:32:14 +02:00
chahinebrini
dd27e8caba feat(counter): add sequential id generator 2026-06-24 23:31:14 +02:00
chahinebrini
b3dea07352 feat(paths): add agenthub path helpers 2026-06-24 23:30:15 +02:00
chahinebrini
2b5696de82 fix(schema): enforce 4-digit ids 2026-06-24 23:29:32 +02:00
chahinebrini
c00ec16c84 feat(schema): add zod schemas for all entities 2026-06-24 23:27:59 +02:00
chahinebrini
66f6d3b151 chore: project setup 2026-06-24 23:24:57 +02:00