Disclaimer: The majority of the work in this fork (including this README) has been done via Codex and there is a scancode toolkit result published in this repository for that work
For the Rust components in KDE Plasma/rust, file access is limited to:
codexbar-serviceexecutable path itself (invoked by the widget command you configure).codexbarexecutable file in the same directory ascodexbar-service(if present), otherwisecodexbarresolved fromPATH.~/.claude/.credentials.json(read-only, to load Claude OAuth tokens produced byclaude auth login).~/.gemini/settings.json(read-only, to detect Gemini auth type).~/.gemini/oauth_creds.json(read/write, to load and refresh Gemini OAuth tokens).- Gemini CLI installation files near the
geminibinary (read-only, to extract OAuth client ID/secret fromoauth2.js). ~/.codexbar/config.json(read/write for CursorcookieHeaderduring auth; read for providerapiKeyvalues such as Copilot).secret-toolexecutable fromPATH(preferred secure store backend for Claude credentials).kwallet-queryexecutable fromPATH(KDE Wallet secure store fallback for Claude credentials).--input <path>: reads only the file at<path>(optional, when this flag is used).--write-cache <path>: writes only to<path>and may create its parent directory (optional, when this flag is used).
Credential storage is handled through system keyrings (secret-tool or KDE Wallet via kwallet-query), not plaintext files.
No other fixed file paths are hardcoded by the Rust code in this repository.
Note: codexbar calls external codex, claude, gemini, and gh CLIs; any extra file access from those programs is outside this project.
This workspace is the starting point for a Linux/KDE-native rebuild:
crates/codexbar-core: shared snapshot/domain models.crates/codexbar-cli: RustcodexbarCLI bootstrap (usage output contract).crates/codexbar-service: CLI service that emits Plasma-friendly JSON snapshots.crates/codexbar-kde-bridge: IPC/DBus boundary contract for future live transport.
cd "KDE Plasma/rust"
cargo fmt
cargo checkcd "KDE Plasma/rust"
cargo build --release -p codexbar-cli -p codexbar-serviceSample snapshot:
cd "KDE Plasma/rust"
cargo run -p codexbar-service -- snapshot --prettyFrom installed codexbar CLI:
cd "KDE Plasma/rust"
cargo run -p codexbar-service -- snapshot --from-codexbar-cli --provider all --status --prettyBrowser-based setup (used by widget "Add Account..."):
codexbar-service auth --provider claudeDirect CLI equivalent:
codexbar auth --provider claudeBrowser-based setup (used by widget "Add Account..."):
codexbar-service auth --provider copilotDirect CLI equivalent:
codexbar auth --provider copilotBrowser-assisted setup (used by widget "Add Account..."):
codexbar-service auth --provider cursorDirect CLI equivalent:
codexbar auth --provider cursorA ScanCode license scan of the KDE Plasma folder was run with:
scancode -clpieu --json-pp codexbar.json /home/sidd/Documents/GitHub/CodexBar/KDE\ PlasmaAn additional License scan for rust was run via:
cd KDE\ Plasma/rust
cargo licenseand the current output should be
$ cargo license
(Apache-2.0 OR MIT) AND Unicode-3.0 (1): unicode-ident
Apache-2.0 OR MIT (25): anstream, anstyle, anstyle-parse, anstyle-query, anstyle-wincon, anyhow, clap, clap_builder, clap_derive, clap_lex, colorchoice, heck, is_terminal_polyfill, itoa, once_cell_polyfill, proc-macro2, quote, serde, serde_core, serde_derive, serde_json, syn, utf8parse, windows-link, windows-sys
MIT (6): codexbar-cli, codexbar-core, codexbar-kde-bridge, codexbar-service, strsim, zmij
MIT OR Unlicense (1): memchr
Results are saved in KDE Plasma/codexbar.json.