Symbol extraction (symbols.rs): - tree-sitter parsers for Rust, TypeScript, Python - Extracts: functions, structs, enums, traits, classes, interfaces - Signatures, docstrings, line ranges for each symbol - extract_project_symbols() walks project directory - Skips hidden/vendor/target/node_modules, files >100KB Proto: IndexSymbols + SymbolEntry messages for client→server symbol relay Client: after SessionReady, extracts symbols and sends IndexSymbols to Sol for indexing into the code search index. 14 unit tests for symbol extraction across Rust/TS/Python.
39 lines
963 B
TOML
39 lines
963 B
TOML
[package]
|
|
name = "sunbeam"
|
|
version = "1.0.1"
|
|
edition = "2024"
|
|
description = "Sunbeam local dev stack manager"
|
|
|
|
[[bin]]
|
|
name = "sunbeam"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
sunbeam-sdk = { path = "../sunbeam-sdk", features = ["all", "cli"] }
|
|
sunbeam-proto = { path = "../sunbeam-proto" }
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-stream = "0.1"
|
|
clap = { version = "4", features = ["derive"] }
|
|
chrono = "0.4"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
rustls = { version = "0.23", features = ["ring"] }
|
|
tonic = "0.14"
|
|
ratatui = "0.29"
|
|
crossterm = "0.28"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
toml = "0.8"
|
|
anyhow = "1"
|
|
futures = "0.3"
|
|
crossbeam-channel = "0.5"
|
|
textwrap = "0.16"
|
|
tui-markdown = "=0.3.6"
|
|
tree-sitter = "0.24"
|
|
tree-sitter-rust = "0.23"
|
|
tree-sitter-typescript = "0.23"
|
|
tree-sitter-python = "0.23"
|
|
|
|
[dev-dependencies]
|
|
tokio-stream = { version = "0.1", features = ["net"] }
|