Architecture of ebony-vinyl/dsh-our-free-model
ebony-vinyl/dsh-our-free-model is 476 source files holding 4,547 symbols across 6 modules, written mainly in JavaScript, TypeScript, Rust. The largest module is scripts, with 180 files, and 8 files are entry points into the dependency graph.
How dsh-our-free-model fits together
The host loads the plugin through index.js, and the host calls apply when it loads the plugin and again on every hot reload. Chat requests from clients enter the local gateway in src, which forwards them to upstream model lanes, where each lane is one upstream route with its own access rules. packages/standalone/cli.mjs is the entry point for a standalone local service that runs without dsh and includes a browser control console. packages/desktop/src-tauri/src/main.rs is the Rust entry point of the desktop shell that starts that standalone service. scripts holds the tests for the channel pack and the standalone app, plus the build code for the packages that ship them. worker holds the GitHub login and star check, which runs on the gateway rather than in the plugin.
Largest modules
- scripts: 180 files and 37,558 lines of code
- src: 87 files and 17,979 lines of code
- packages: 60 files and 7,610 lines of code
- worker: 5 files and 1,267 lines of code
- adapter: 2 files and 15 lines of code
- root: 2 files and 8,773 lines of code
Languages
By file count: JavaScript 307 files, TypeScript 23 files, Rust 6 files.
Documentation
Repowise documents dsh-our-free-model in 411 pages generated from the source, 18 of them written explanations of the repository and its modules. Module guides include:
- adapter: Adapter Interface
- scripts/probes: Availability and Budget Probes
- scripts: Build and Verification Scripts
- packages/desktop: Desktop
- worker: Edge Worker Gateway
More on dsh-our-free-model: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos