Improvements-v0.0.7 #7

Open
rdenadai wants to merge 5 commits from rdenadai/improvements-v0.0.7 into main
Owner
No description provided.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move the remaining Copilot-specific inline coordination out of the root
timer loop in src/lsp/sync.rs and into crates/ehwaz-lsp-ui/src/inline_coordination.rs,
making src/lsp/sync.rs provider-agnostic for Copilot inline dispatch.

Additions to inline_coordination.rs:
- copilot_inline_completion_enabled(window) – reads window flags via
  ehwaz_copilot::inline_completion_enabled; callers no longer need to
  import ehwaz_copilot directly.
- build_copilot_inline_completion_request – thin wrapper around
  ehwaz_copilot::build_inline_completion_request.
- trace_copilot_gate_skip – emits the provider-gated debug trace when
  the cursor position is not eligible for Copilot inline.
- trace_copilot_inline_merge – emits the multi-source merge debug trace
  after apply_scheduler_update; hides the inline_debug_* helpers from
  the root caller.

src/lsp/sync.rs changes:
- Remove 'use ehwaz_copilot as copilot;' import.
- Replace the three direct copilot:: call-sites with the new lsp-ui
  wrappers; no timer-loop logic changed.

Also adds three new unit tests in inline_coordination::tests that cover
the same-line-advance rebase-preservation and line-change non-rebase
behaviour for both CopilotInlineScheduler and OllamaInlineScheduler.

Updates ORGANIZATION.md to mark the Copilot extraction item done.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Each root-level tests/*.rs entry file is replaced by a tests/*/main.rs
so Cargo integration-test discovery continues to work without any
manifest changes.

- tests/buffer.rs       → tests/buffer/main.rs (paths updated)
- tests/markdown.rs     → tests/markdown/main.rs (paths updated)
- tests/parser.rs       → tests/parser/main.rs (paths updated)
- tests/copilot_public_apis.rs              → tests/copilot_public_apis/main.rs
- tests/core_executable_public_api_edges.rs → tests/core_executable_public_api_edges/main.rs
- tests/organization_dependency_direction.rs → tests/organization_dependency_direction/main.rs
- tests/root_markdown_public_api_edges.rs   → tests/root_markdown_public_api_edges/main.rs
- tests/root_parser_public_api_edges.rs     → tests/root_parser_public_api_edges/main.rs
- tests/util_launcher_public_apis.rs        → tests/util_launcher_public_apis/main.rs

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
rdenadai changed title from rdenadai/improvements-v0.0.7 to Improvements-v0.0.7 2026-04-24 01:34:37 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin rdenadai/improvements-v0.0.7:rdenadai/improvements-v0.0.7
git switch rdenadai/improvements-v0.0.7

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff rdenadai/improvements-v0.0.7
git switch rdenadai/improvements-v0.0.7
git rebase main
git switch main
git merge --ff-only rdenadai/improvements-v0.0.7
git switch rdenadai/improvements-v0.0.7
git rebase main
git switch main
git merge --no-ff rdenadai/improvements-v0.0.7
git switch main
git merge --squash rdenadai/improvements-v0.0.7
git switch main
git merge --ff-only rdenadai/improvements-v0.0.7
git switch main
git merge rdenadai/improvements-v0.0.7
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rdenadai/ehwaz!7
No description provided.