Replace the alphabetical package ordering with a Kahn-style topological sort (alphabetical tiebreak within each layer to stay deterministic), so the table and graph list leaf interfaces first and dependents last.
50 lines
1.3 KiB
Markdown
50 lines
1.3 KiB
Markdown
<!-- Generated by scripts/gen-module-graph.ts — do not edit by hand.
|
|
Run `pnpm run gen-module-graph` to regenerate. -->
|
|
|
|
# Module dependency graph
|
|
|
|
Inter-package dependencies among the `@deepseek-ai/dsh-*` harness packages, derived from each
|
|
package's `peerDependencies` (the canonical runtime-dependency signal). An edge `a --> b` means
|
|
package `a` depends on package `b`. Names have the `@deepseek-ai/dsh-` prefix stripped.
|
|
|
|
```mermaid
|
|
graph TD
|
|
bash-local --> bash
|
|
llm-deepseek --> llm
|
|
llm-pi-ai --> llm
|
|
session --> llm
|
|
system-prompt --> llm
|
|
agent --> llm
|
|
agent --> session
|
|
invariants --> agent
|
|
invariants --> llm
|
|
invariants --> session
|
|
tools --> agent
|
|
tools --> llm
|
|
tools --> system-prompt
|
|
agent-loop --> agent
|
|
agent-loop --> llm
|
|
agent-loop --> session
|
|
agent-loop --> system-prompt
|
|
agent-loop --> tools
|
|
tool-bash --> agent
|
|
tool-bash --> bash
|
|
tool-bash --> llm
|
|
tool-bash --> tools
|
|
```
|
|
|
|
| Package | Depends on |
|
|
| --- | --- |
|
|
| `bash` | — |
|
|
| `llm` | — |
|
|
| `bash-local` | `bash` |
|
|
| `llm-deepseek` | `llm` |
|
|
| `llm-pi-ai` | `llm` |
|
|
| `session` | `llm` |
|
|
| `system-prompt` | `llm` |
|
|
| `agent` | `llm`, `session` |
|
|
| `invariants` | `agent`, `llm`, `session` |
|
|
| `tools` | `agent`, `llm`, `system-prompt` |
|
|
| `agent-loop` | `agent`, `llm`, `session`, `system-prompt`, `tools` |
|
|
| `tool-bash` | `agent`, `bash`, `llm`, `tools` |
|