mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
Copies crates/router (crate scrawl-router) from kitlangton/scrawl, branch routing/jev, at 24797c0 (24797c0ae598d1ff4fd44d3395fbceab52740f66), with no history. Hex becomes a workspace with the router as a member; nothing in Hex depends on it yet, and plain cargo commands still select only Hex. Changes from the source: - rustfmt, and thirteen fixes for lints the newer clippy reports (sort_by_key, as_chunks, a collapsed if, and similar). - The replay fixtures and tests use synthetic session IDs (same shape and order), /Users/example, a placeholder tailnet name, com.example bundle IDs, and neutral names for private projects and session titles. - OpenCode's database is no longer looked for in a private profile folder; $OPENCODE_DB, the running server, and ~/.local/share/opencode remain. scripts/check lints and tests the whole workspace, Check Linux runs the router's tests and clippy, both check workflows watch crates/, and the Nix source includes crates/.
13 lines
341 B
TOML
13 lines
341 B
TOML
[package]
|
|
name = "scrawl-router"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "MIT"
|
|
description = "Where a capture or dictation goes among OpenCode sessions, sending it there, and taking it back"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.104"
|
|
dirs = "7.0.0"
|
|
libc = "0.2.189"
|
|
serde = { version = "1.0.229", features = ["derive"] }
|
|
serde_json = "1.0.151"
|