Commit Graph

6 Commits

Author SHA1 Message Date
DaiChaoXiong bf92590fcd chore(workspace): project-wide cleanup, dependency trimming, docs sync
deps: focus-core no longer depends on tokio at all (the core is fully
synchronous); workspace-level tokio drops the fat feature list, members
declare only what they use (transport: net/io-util/time, providers: rt/time)

code: remove dead AgentHandle (never constructed) and the dead
App::clamp_scroll; wire focus-harness' describe_plan into the TUI compaction
note (it was unused public API); clean a no-op replace_messages + confusing
comment in the compaction integration test

docs: AGENTS.md §2.2 tokio table reflects the new feature sets; README test
count 177→181, new env-var section (FOCUS_DATA_DIR / FOCUS_SHELL /
FOCUS_DEBUG_FILE), wheel + two-level expansion keybindings; add LICENSE (MIT,
matching Cargo.toml); TUI /help notes the two-level expansion and merged
tool blocks; delete the .VSCodeCounter artifact dir

verification: fmt, clippy -D warnings, 181 tests, workspace build all green
2026-08-09 23:14:21 +08:00
DaiChaoXiong 792f2fae4c docs(workspace): whitelist ratatui/crossterm for focus-tui
Terminal interaction (raw mode, incremental redraw, scrolling, mouse, keys)
is a genuine need that pure std cannot reasonably solve, so AGENTS.md §2.1
now exempts ratatui + crossterm for focus-tui only (transitives follow).
Workspace gains the focus-tui member and the 7-crate layout is documented.
2026-08-09 21:35:58 +08:00
DaiChaoXiong 159f1ca815 docs: state the tests-location rule in AGENTS.md §5.1
All test cases live in tests/<module>_tests.rs and access only public API;
internals are either tested through the public API or promoted to pub. The
sole exception is #[cfg(test)] test infrastructure (e.g. the permissive TLS
config in focus-transport).
2026-08-09 21:09:01 +08:00
DaiChaoXiong 7c4c465a18 chore(workspace): sync manifests, docs and lockfile
- drop focus-cli from workspace members; remove tokio from focus-tools and
  focus-harness (sync std I/O); add focus-json to focus-tools
- AGENTS.md: reflect 6-crate layout, focus-cli removal, TUI coming later
- lockfile updated for the new dependency graph
2026-08-09 21:00:04 +08:00
DaiChaoXiong 5364ca004c ADD: 注释 2026-07-17 11:19:22 +08:00
DaiChaoXiong a7ddba035a INIT 2026-07-16 17:59:16 +08:00