Graphorin API reference v0.15.1
Graphorin API reference / @graphorin/cli / / DoctorCommandOptions
Interface: DoctorCommandOptions
Defined in: packages/cli/src/commands/doctor.ts:56
Stable
Extends
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
all? | readonly | boolean | Run every check. Equivalent to passing every --check-* flag. | - | packages/cli/src/commands/doctor.ts:83 |
chatTimeoutMs? | readonly | number | Wall-clock bound for the smoke's chat leg. Default 60s. | - | packages/cli/src/commands/doctor.ts:112 |
checkEncryption? | readonly | boolean | Run the audit-encryption check. | - | packages/cli/src/commands/doctor.ts:77 |
checkPerms? | readonly | boolean | Run the file-perms check. Implied by --all. | - | packages/cli/src/commands/doctor.ts:73 |
checkSecrets? | readonly | boolean | Run the secrets-store check. | - | packages/cli/src/commands/doctor.ts:75 |
checkSystemd? | readonly | boolean | Run the systemd check. Linux-only. | - | packages/cli/src/commands/doctor.ts:79 |
config? | readonly | string | Check the storage / audit paths resolved from this graphorin.config.* file instead of the hardcoded ~/.graphorin layout, so doctor and graphorin init (which writes a PROJECT config) live in the same world. Without the flag the default ~/.graphorin layout is checked, as before. | - | packages/cli/src/commands/doctor.ts:69 |
embedModel? | readonly | string | Embedding model for the dimension probe. Default nomic-embed-text. | - | packages/cli/src/commands/doctor.ts:110 |
fixPerms? | readonly | boolean | Run the file-perms repair. | - | packages/cli/src/commands/doctor.ts:71 |
home? | readonly | string | Override the directory the doctor checks. Defaults to ~/.graphorin/. Tests inject a fresh tmp dir. | - | packages/cli/src/commands/doctor.ts:61 |
json? | readonly | boolean | Emit a structured JSON document instead of human-readable text. | CommonOutputOptions.json | packages/cli/src/internal/output.ts:71 |
jsonPrint? | readonly | JsonSink | Test seam - capture JSON documents instead of writing to stdout. | CommonOutputOptions.jsonPrint | packages/cli/src/internal/output.ts:77 |
nonInteractive? | readonly | boolean | Force --non-interactive semantics (skip prompts; require flags / env). | CommonOutputOptions.nonInteractive | packages/cli/src/internal/output.ts:73 |
ollamaBaseUrl? | readonly | string | Ollama base URL for the smoke. Default http://127.0.0.1:11434. | - | packages/cli/src/commands/doctor.ts:106 |
ollamaModel? | readonly | string | Chat model the smoke exercises end to end (streaming + tool call). | - | packages/cli/src/commands/doctor.ts:108 |
print? | readonly | PrintSink | Test seam - capture human lines instead of writing to stderr. | CommonOutputOptions.print | packages/cli/src/internal/output.ts:75 |
smokeDir? | readonly | string | Test seam - directory for the smoke's throwaway store. | - | packages/cli/src/commands/doctor.ts:116 |
smokeFetchImpl? | readonly | (input, init?) => Promise<Response> | Test seam - injected fetch for the smoke's Ollama calls. | - | packages/cli/src/commands/doctor.ts:114 |
smokeLocal? | readonly | boolean | Run the local-first smoke: native SQLite stack, write / reopen / search round-trip, Ollama reachability + model inventory, an embedding-dimension probe, and (with ollamaModel) a streamed tool-call round-trip through the real adapter. Deliberately NOT implied by --all - the Ollama legs talk to a local daemon, which CI hosts may not run. | - | packages/cli/src/commands/doctor.ts:94 |
strictSmokeLocal? | readonly | boolean | deep-retest-0.13.10 P2: CI-grade smoke semantics. Interactively, an unreachable Ollama daemon or a missing model degrades to warn/skip and exits 0 - useful for a human, useless for a pipeline that just installed the daemon and NEEDS the legs exercised. With strictSmokeLocal every smoke:* check must come back ok: any warn/skip/fail sets the recoverable exit code. Implies smokeLocal. | - | packages/cli/src/commands/doctor.ts:104 |
systemdRun? | readonly | (cmd) => Promise<string> | Test seam - supply a custom systemd executor. | - | packages/cli/src/commands/doctor.ts:85 |
systemdUnit? | readonly | string | Optional systemd unit identifier (default graphorin.service). | - | packages/cli/src/commands/doctor.ts:81 |