Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .dsh-version.json
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,28 @@
],
"vendoredPatches": 2
},
"dsh-rust-dev": {
"version": "0.1.0-alpha.1",
"rows": [
"rust-dev"
],
"rowOverrides": [],
"role": "Rust development as a surface: six tools over the machine's own cargo, rustc and rustup - `rust_status` (the four facts that fail independently: toolchain, components, installed targets, the workspace, plus which notable crates it declares - eframe, egui, wgpu, tokio, tracing, serde, clap, tauri, bevy), `cargo_check` (diagnostics PARSED from `--message-format=json`, with rustc codes, file:line:column and one mistake repeated at forty call sites collapsed to one item with a count), `cargo_test` (the summary, the failing names, the first failure's captured output), `cargo_build` (the artefact path from cargo's own `compiler-artifact` events and its real size, and a binary run only when `run: true` is asked for), `rust_deps` (duplicate crate versions with their dependents, the most-depended-on crates, and the `-e features` chain that enabled one crate) and `rust_backtrace` (demangled symbols, frames classed as the caller's own / a dependency / the runtime, and which frame is the first in your code - the v0 mangling is refused rather than invented) - plus four bundled skills (workspaces, diagnostics, debugging, and egui/eframe/wgpu apps) whose every ```rust example a check compiles as a whole src/lib.rs. Every cargo call runs `--offline` unless the caller passes `fetch: true`; nothing installs a toolchain, a component or a crate; and a build is never presented as read-only, because build.rs and proc macros RUN. Host-only: one row, no route, no browser half. Zero npm dependencies, nothing bundled, no bundled engine. See packages/dsh-rust-dev/README.md.",
"uses": [
"@deepseek-ai/dsh-tools (the registry the six tools are registered into)",
"@deepseek-ai/dsh-skill (ctx.skills, resolved lazily; the four bundled skills are also copied into $DSH_HOME/skills by both installers)",
"the machine's own `cargo`, `rustc` and `rustup` - the user's programs, never bundled"
],
"requires": [
"a Rust toolchain on PATH for the driven answers (`rust_status` reports its absence as an ANSWER naming rustup, not as a failure)",
"a Cargo.toml at or above the directory inspected, for the workspace facts",
"`rustup component add clippy` (or `rustfmt`, or `rust-analyzer`) for the components that are missing - this row prints that command and never runs it",
"for a resolve that the lockfile and the local cache cannot answer, an explicit `fetch: true` on that one call"
],
"vendors": [
"NOTHING is vendored, downloaded or installed: the toolchain is the user's own, and this package ships the JSON parsers, the demangler, the argv and the triage order"
]
},
"dsh-screenshot": {
"version": "0.1.0-alpha.1",
"rows": [
Expand Down
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ id_ed25519*
# zero npm dependencies); if you ever need a committed one, force-add it.
.npmrc

# A FIXTURE CRATE's build tree. `packages/dsh-rust-dev/checks/fixtures/*` holds
# small cargo projects that the package's own check drives; the check points
# CARGO_TARGET_DIR at a temp directory so nothing lands here, and this rule is the
# belt for the run somebody does by hand. Scoped to the fixtures on purpose: this
# repository ships no Rust of its own.
packages/dsh-rust-dev/checks/fixtures/**/target/

# The PROTOTYPING LAB (`dsh-proto-lab`) is a workshop, not an exhibit: `lab_new`
# generates runs into `<workspace>/lab/` for the agent to try things in, and a
# repository that accumulated every sketch anyone ever generated would stop being
Expand Down
19 changes: 14 additions & 5 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,16 +142,25 @@ for its behaviour, `SECURITY.md` before touching credentials or the launcher, an
that teach the tool surface, the method layer and the ethics layer, and a Research
tab that also edits the document — host half plus UI, no socket, no vendored
engine),
`dsh-rust-dev` (Rust as a surface: six tools over the machine's own `cargo`,
`rustc` and `rustup` — `rust_status` reports the four facts that fail
independently, `cargo_check` parses `--message-format=json` into codes and
`file:line:column` with duplicates collapsed, `cargo_test` / `cargo_build` /
`rust_deps` / `rust_backtrace` answer the rest, and four skills teach the triage
order including egui/eframe/wgpu apps; every cargo call is `--offline` unless
`fetch: true`, nothing is installed, and a build is never called read-only
because `build.rs` runs — host-only, zero npm dependencies),
`dsh-browser`, `dsh-themes`, `dsh-cmdbar`, `dsh-modal`, `dsh-skills`,
`dsh-ui-state`, `dsh-open-in-app`.
- A package may carry its OWN checks under `packages/<name>/checks/`, run with
`npm run check` in that folder. They travel with the package (which is what
makes them useful outside this repository) and they are ADDITIONAL to
`scripts/checks/`, never a replacement for it: today ten packages ship their own
(`dsh-supercollider` with four checks, `dsh-research` with seven, plus
`dsh-diagrams`, `dsh-frontend-craft`, `dsh-proto-lab`, `dsh-ocr`, `dsh-wsl`,
`dsh-docker`, `dsh-ollama` and `dsh-image-upscale`), and the pack-wide checks
still own the routes, the bundle and the manifest.
`scripts/checks/`, never a replacement for it: today eleven packages ship their
own (`dsh-supercollider` with four checks, `dsh-research` with seven,
`dsh-rust-dev` with two, plus `dsh-diagrams`, `dsh-frontend-craft`,
`dsh-proto-lab`, `dsh-ocr`, `dsh-wsl`, `dsh-docker`, `dsh-ollama` and
`dsh-image-upscale`), and the pack-wide checks still own the routes, the bundle
and the manifest.
- `scripts/` — the launcher (`run-web.*`), and four folders: `console/` (the shared
console layer), `setup/` (install and uninstall, which a fresh machine runs once),
`tools/` (maintainer-only: the fork re-sync for the client bundles this pack vendors)
Expand Down
1 change: 1 addition & 0 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ disable/replace a core row **in its own layer** — a later layer wins per row.
| `dsh-diagrams` | `diagrams` | Mermaid + TikZ + the vendored **Diagram Design** kit (204 examples, 44 documented types) and the seven `diagram_*` tools, validated on the host |
| `dsh-shaders` | `shaders` | GLSL that **compiles for real**: seven `shader_*` tools over a disposable headless browser (ANGLE/SwiftShader, argv-only, `MAP * ~NOTFOUND`), a rung ladder that is always stated (`v1-static` → `v2-compiled` → `v3-drawn` → `v4-measured`), diagnostics mapped onto the author's own line numbers, five dialects kept apart (es100, es300, shadertoy, shader-skills, and desktop GLSL, which is **refused** rather than faked), emit for web / `.frag` / ISF / FFGL-scaffold / Shadertoy, a Shaders tab with a live WebGL preview and `@param` sliders, five skills whose every example a check compiles, and three vendored corpora (106 Radiant pages with 79 extracted fragments, shader-skills' 20 modules + 11 templates + 11 pieces, and a 48-link curated index) that each re-derive offline |
| `dsh-frontend-craft` | `frontend-craft` | front-end design craft: Impeccable's Apache-2.0 corpus (24 commands, 41 references) vendored at a pinned commit, its 61-rule detector built to a 4.5 MB WebAssembly module shipped in the package, `fe_context` / `fe_detect` / `fe_direction` / `fe_render` / `fe_artifact`, and a **Frontend** tab of findings, artifacts, directions and rendered previews. No network, no install, no engine download |
| `dsh-rust-dev` | `rust-dev` | Rust as a surface: `rust_status` (toolchain / components / targets / workspace — the four facts that fail independently), `cargo_check` (diagnostics parsed from `--message-format=json`, codes and `file:line:col`, duplicates collapsed), `cargo_test`, `cargo_build` (artefact path and size), `rust_deps` (duplicate versions, feature chains), `rust_backtrace` (demangled frames classed into your code / a dependency / the runtime), and four skills including egui/eframe/wgpu. `--offline` by default, nothing installed, a build is never presented as read-only. Host-only |
| `dsh-pdf` | `pdf` | PDF reader tab + `pdf_info` / `pdf_read` / `pdf_find` / `pdf_render` / `pdf_scan` over vendored pdf.js |
| `dsh-research` | `research` | research as a folder the agent fills and the right bar shows: a run is `RUN.json` + a `passport.json` that records the user's instructions and every gate answer **verbatim**, three `rs_*` tools, four routes, and the Research tab where a **person** — never the model — answers the two frame gates (`g1-rq`, `g2-intake`). No socket, no child process, no vendored engine |
| `dsh-ocr` | `ocr` | the pack's OCR owner: one tool, `ocr`, over `tesseract` from PATH or the OCR engine Windows itself ships (`lib/win-ocr.ps1` + `Windows.Media.Ocr`, which rasterizes a PDF page through `Windows.Data.Pdf`). Host-only — no client, no route |
Expand Down
Loading