дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 17:21:13 +02:00
Copilot sessions started from VS Code got their titles from VS Code's Agent Host, which stores summaries and user renames in <user>/globalStorage/agent-host.db and does not write them back to workspace.yaml. The import list now reads that database read-only to resolve the titles, skipping unrenamed "New session" / "New Chat" placeholders. It also parses YAML block scalars (|, |-, >, >-) in workspace.yaml names instead of showing a literal "|-". The backend now lists every session of the project. The Import Sessions dialog filters by title, folder or session ID before taking the 50 newest matches, so older sessions and sessions searched by ID can be found. The 50-session hint appears only when more sessions match. Co-authored-by: dengliu <[email protected]> Co-authored-by: dengliu <[email protected]>
162 рядки
5.6 KiB
TOML
162 рядки
5.6 KiB
TOML
[workspace]
|
|
resolver = "3"
|
|
members = ["crates/*", "src-tauri"]
|
|
# Plugins and the guest SDK build for wasm32-wasip2 in their own workspaces.
|
|
exclude = ["sdk", "plugins"]
|
|
|
|
[workspace.package]
|
|
version = "0.1.56"
|
|
edition = "2024"
|
|
rust-version = "1.96"
|
|
license = "Apache-2.0"
|
|
authors = ["OpenIDEA contributors"]
|
|
|
|
[workspace.dependencies]
|
|
# internal
|
|
ide-core = { path = "crates/ide-core" }
|
|
ide-vfs = { path = "crates/ide-vfs" }
|
|
ide-text = { path = "crates/ide-text" }
|
|
ide-language = { path = "crates/ide-language" }
|
|
ide-index = { path = "crates/ide-index" }
|
|
ide-syntax = { path = "crates/ide-syntax" }
|
|
ide-search = { path = "crates/ide-search" }
|
|
ide-jsonrpc = { path = "crates/ide-jsonrpc" }
|
|
ide-lsp = { path = "crates/ide-lsp" }
|
|
ide-dap = { path = "crates/ide-dap" }
|
|
ide-vcs = { path = "crates/ide-vcs" }
|
|
ide-github = { path = "crates/ide-github" }
|
|
ide-terminal = { path = "crates/ide-terminal" }
|
|
ide-run = { path = "crates/ide-run" }
|
|
ide-workspace = { path = "crates/ide-workspace" }
|
|
ide-sdk = { path = "crates/ide-sdk" }
|
|
ide-build = { path = "crates/ide-build" }
|
|
ide-analysis = { path = "crates/ide-analysis" }
|
|
ide-coverage = { path = "crates/ide-coverage" }
|
|
ide-profiler = { path = "crates/ide-profiler" }
|
|
ide-http = { path = "crates/ide-http" }
|
|
ide-db = { path = "crates/ide-db" }
|
|
ide-web = { path = "crates/ide-web" }
|
|
ide-spell = { path = "crates/ide-spell" }
|
|
ide-agent = { path = "crates/ide-agent" }
|
|
ide-clipboard = { path = "crates/ide-clipboard" }
|
|
ide-drag-out = { path = "crates/ide-drag-out" }
|
|
ide-fonts = { path = "crates/ide-fonts" }
|
|
ide-ssh = { path = "crates/ide-ssh" }
|
|
ide-remote = { path = "crates/ide-remote" }
|
|
ide-host = { path = "crates/ide-host" }
|
|
ide-command = { path = "crates/ide-command" }
|
|
ide-mcp = { path = "crates/ide-mcp" }
|
|
ide-scaffold = { path = "crates/ide-scaffold" }
|
|
ide-notebook = { path = "crates/ide-notebook" }
|
|
ide-extension = { path = "crates/ide-extension" }
|
|
ide-plugin = { path = "crates/ide-plugin" }
|
|
ide-cli = { path = "crates/ide-cli" }
|
|
ide-jvm-attach = { path = "crates/ide-jvm-attach" }
|
|
ide-jvm-inspect = { path = "crates/ide-jvm-inspect" }
|
|
ide-jdwp = { path = "crates/ide-jdwp" }
|
|
ide-heap = { path = "crates/ide-heap" }
|
|
ide-streams = { path = "crates/ide-streams" }
|
|
|
|
# serialization & IPC typing
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
toml = "0.9"
|
|
toml_edit = "0.25"
|
|
specta = { version = "=2.0.0-rc.25", features = ["derive"] }
|
|
specta-typescript = "0.0.12"
|
|
|
|
# async & concurrency
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time", "process", "io-util", "fs"] }
|
|
tokio-util = { version = "0.7", features = ["rt"] }
|
|
parking_lot = "0.12"
|
|
rayon = "1"
|
|
futures = "0.3"
|
|
tokio-tungstenite = { version = "0.28", default-features = false, features = ["connect", "__rustls-tls"] }
|
|
|
|
# errors & diagnostics
|
|
thiserror = "2"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
|
|
|
|
# text & fs
|
|
ropey = "1.6"
|
|
encoding_rs = "0.8"
|
|
chardetng = "0.1"
|
|
ignore = "0.4"
|
|
base64 = "0.22"
|
|
globset = "0.4"
|
|
notify = "8"
|
|
trash = "5"
|
|
blake3 = "1"
|
|
dunce = "1"
|
|
dirs = "6"
|
|
memmap2 = "0.9"
|
|
zip = { version = "9.2.3", default-features = false, features = ["deflate"] }
|
|
flate2 = "1"
|
|
tar = "0.4"
|
|
|
|
# search, index, language
|
|
grep-searcher = "0.1"
|
|
grep-regex = "0.1"
|
|
regex-syntax = "0.8"
|
|
grep-matcher = "0.1"
|
|
nucleo-matcher = "0.3"
|
|
redb = "4"
|
|
tree-sitter = "0.25"
|
|
|
|
# protocols & integrations
|
|
jupyter-zmq-client = { version = "=2.0.0", default-features = false, features = ["tokio-runtime", "ring"] }
|
|
jupyter-protocol = "=2.0.3"
|
|
zeromq = { version = "0.6", default-features = false, features = ["tokio-runtime", "tcp-transport"] }
|
|
lsp-types = "0.97"
|
|
gix = { version = "0.90", default-features = false }
|
|
portable-pty = "0.9"
|
|
reqwest = { version = "0.13", default-features = false, features = ["rustls-no-provider", "http2", "charset", "socks", "gzip", "deflate", "brotli"] }
|
|
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12", "logging"] }
|
|
rustls-platform-verifier = "0.7"
|
|
# Until SQLx releases its libsqlite3-sys 0.39 update (RUSTSEC-2026-0459).
|
|
libsqlite3-sys = { version = "0.39", features = ["bundled"] }
|
|
sqlx = { version = "0.9", git = "https://github.com/l0ng-ai/sqlx", rev = "9894985a1babc7e6bc0437da4fd43e3143184073", default-features = false, features = ["runtime-tokio", "tls-rustls-ring-webpki", "sqlite", "postgres", "mysql"] }
|
|
tiberius = { version = "0.13", default-features = false, features = ["tds73", "rustls", "sql-browser-tokio"] }
|
|
# Pure-Rust thin Oracle driver; pinned to the beta until it stabilizes.
|
|
oracledb = "=26.0.0-beta.5"
|
|
bb8 = "0.9"
|
|
uuid = { version = "1", features = ["v4"] }
|
|
# OS credential stores
|
|
keyring = "4.2"
|
|
keyring-core = "1"
|
|
|
|
# proc macros
|
|
heck = "0.5"
|
|
proc-macro2 = "1"
|
|
quote = "1"
|
|
syn = { version = "2", features = ["full"] }
|
|
|
|
# testing
|
|
insta = { version = "1", features = ["yaml"] }
|
|
proptest = "1"
|
|
tempfile = "3"
|
|
|
|
[profile.dev]
|
|
# Keep debug builds snappy while giving dependencies decent speed.
|
|
opt-level = 0
|
|
# Full debug info is most of target/. Line tables keep file:line in our backtraces, but a
|
|
# debugger can't show locals; re-enable with `--config profile.dev.debug=true`.
|
|
debug = "line-tables-only"
|
|
[profile.dev.package."*"]
|
|
opt-level = 2
|
|
# Dependency frames keep function names only. Re-enable one with
|
|
# `--config 'profile.dev.package.<crate>.debug=true'`.
|
|
debug = false
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
# Thin LTO: fat LTO's whole-program link outgrew the 16 GB release runners
|
|
# (Linux arm64 was killed mid-link from v0.1.39 on).
|
|
lto = "thin"
|
|
opt-level = 3
|
|
# Unwind, so a panic fails one task or command instead of quitting the IDE.
|
|
panic = "unwind"
|
|
# Keep the symbol table: crash reports and logged backtraces name functions.
|
|
strip = "debuginfo"
|