Graphorin API reference v0.12.1
Graphorin API reference / @graphorin/cli / / DoctorCommandOptions
Interface: DoctorCommandOptions
Defined in: packages/cli/src/commands/doctor.ts:55
Stable
Extends
CommonOutputOptions
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:82 |
chatTimeoutMs? | readonly | number | Wall-clock bound for the smoke's chat leg. Default 60s. | - | packages/cli/src/commands/doctor.ts:101 |
checkEncryption? | readonly | boolean | Run the audit-encryption check. | - | packages/cli/src/commands/doctor.ts:76 |
checkPerms? | readonly | boolean | Run the file-perms check. Implied by --all. | - | packages/cli/src/commands/doctor.ts:72 |
checkSecrets? | readonly | boolean | Run the secrets-store check. | - | packages/cli/src/commands/doctor.ts:74 |
checkSystemd? | readonly | boolean | Run the systemd check. Linux-only. | - | packages/cli/src/commands/doctor.ts:78 |
config? | readonly | string | F-06: 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:68 |
embedModel? | readonly | string | Embedding model for the dimension probe. Default nomic-embed-text. | - | packages/cli/src/commands/doctor.ts:99 |
fixPerms? | readonly | boolean | Run the file-perms repair. | - | packages/cli/src/commands/doctor.ts:70 |
home? | readonly | string | Override the directory the doctor checks. Defaults to ~/.graphorin/. Tests inject a fresh tmp dir. | - | packages/cli/src/commands/doctor.ts:60 |
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:95 |
ollamaModel? | readonly | string | Chat model the smoke exercises end to end (streaming + tool call). | - | packages/cli/src/commands/doctor.ts:97 |
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:105 |
smokeFetchImpl? | readonly | (input, init?) => Promise<Response> | Test seam - injected fetch for the smoke's Ollama calls. | - | packages/cli/src/commands/doctor.ts:103 |
smokeLocal? | readonly | boolean | Run the local-first smoke (external audit 2026-07-16, item 6): 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:93 |
systemdRun? | readonly | (cmd) => Promise<string> | Test seam - supply a custom systemd executor. | - | packages/cli/src/commands/doctor.ts:84 |
systemdUnit? | readonly | string | Optional systemd unit identifier (default graphorin.service). | - | packages/cli/src/commands/doctor.ts:80 |