Skip to content

refactor(backend): isolate app-server core from tauri glue#57

Merged
Dimillian merged 2 commits intoDimillian:mainfrom
slkzgm:pr2-backend-core-refactor
Jan 15, 2026
Merged

refactor(backend): isolate app-server core from tauri glue#57
Dimillian merged 2 commits intoDimillian:mainfrom
slkzgm:pr2-backend-core-refactor

Conversation

@slkzgm
Copy link
Contributor

@slkzgm slkzgm commented Jan 15, 2026

This is the next incremental step towards making the backend transport-agnostic (local Tauri vs an optional remote daemon), without changing runtime behaviour today.

Changes:

  • Extract app-server core into src-tauri/src/backend/app_server.rs.
  • Introduce an EventSink abstraction (src-tauri/src/event_sink.rs) so the core can emit events without depending on Tauri.
  • Keep Tauri-specific wiring at the edges (src-tauri/src/lib.rs).

Why:

Testing:

  • cargo test (in src-tauri/)
  • npm run typecheck
  • npm run build

@Dimillian Dimillian merged commit 5c8f961 into Dimillian:main Jan 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants