Skip to content

Extract traverse-core-rs shared HTTP/SSE crate for GTK and CLI#141

Merged
enricopiovesan merged 1 commit into
mainfrom
cursor/issue-59-traverse-core-rs
Jul 12, 2026
Merged

Extract traverse-core-rs shared HTTP/SSE crate for GTK and CLI#141
enricopiovesan merged 1 commit into
mainfrom
cursor/issue-59-traverse-core-rs

Conversation

@enricopiovesan

Copy link
Copy Markdown
Contributor

Summary

Governing Spec

Project Item

Definition of Done

  • traverse-core-rs Cargo workspace member
  • TraverseClient: send_command(), subscribe_events(), health_check()
  • ServerDiscovery::from_file() reads .traverse/server.json
  • AppState enum matches runtime state machine states
  • Unit tests: HTTP construction, SSE parsing, server.json parsing
  • linux-gtk and cli-rust both depend on this crate
  • No GTK or terminal UI imports in the crate

Validation

  • cd apps/traverse-starter && cargo test -p traverse-core-rs -p traverse-starter-cli
  • bash scripts/ci/repository_checks.sh
  • cargo test -p traverse-starter-gtk (requires GTK4 sysdeps; not available on this macOS agent host)

Architecture boundary

  • UI shells render runtime fields only; transitions owned by Traverse SSE events
  • Public HTTP/SSE surfaces only

Checklist

Made with Cursor

linux-gtk and cli-rust now depend on a workspace crate for send_command,
SSE subscribe_events, and server.json discovery, matching the web-react
command + event pattern from #43.

Co-authored-by: Cursor <cursoragent@cursor.com>
@enricopiovesan enricopiovesan merged commit 77aad49 into main Jul 12, 2026
6 checks passed
@enricopiovesan enricopiovesan deleted the cursor/issue-59-traverse-core-rs branch July 12, 2026 02:30
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.

Extract traverse-core-rs: shared Rust HTTP/SSE crate for linux-gtk and cli-rust

1 participant