Skip to content

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

PropertyModifierTypeDescriptionInherited fromDefined in
all?readonlybooleanRun every check. Equivalent to passing every --check-* flag.-packages/cli/src/commands/doctor.ts:82
chatTimeoutMs?readonlynumberWall-clock bound for the smoke's chat leg. Default 60s.-packages/cli/src/commands/doctor.ts:101
checkEncryption?readonlybooleanRun the audit-encryption check.-packages/cli/src/commands/doctor.ts:76
checkPerms?readonlybooleanRun the file-perms check. Implied by --all.-packages/cli/src/commands/doctor.ts:72
checkSecrets?readonlybooleanRun the secrets-store check.-packages/cli/src/commands/doctor.ts:74
checkSystemd?readonlybooleanRun the systemd check. Linux-only.-packages/cli/src/commands/doctor.ts:78
config?readonlystringF-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?readonlystringEmbedding model for the dimension probe. Default nomic-embed-text.-packages/cli/src/commands/doctor.ts:99
fixPerms?readonlybooleanRun the file-perms repair.-packages/cli/src/commands/doctor.ts:70
home?readonlystringOverride the directory the doctor checks. Defaults to ~/.graphorin/. Tests inject a fresh tmp dir.-packages/cli/src/commands/doctor.ts:60
json?readonlybooleanEmit a structured JSON document instead of human-readable text.CommonOutputOptions.jsonpackages/cli/src/internal/output.ts:71
jsonPrint?readonlyJsonSinkTest seam - capture JSON documents instead of writing to stdout.CommonOutputOptions.jsonPrintpackages/cli/src/internal/output.ts:77
nonInteractive?readonlybooleanForce --non-interactive semantics (skip prompts; require flags / env).CommonOutputOptions.nonInteractivepackages/cli/src/internal/output.ts:73
ollamaBaseUrl?readonlystringOllama base URL for the smoke. Default http://127.0.0.1:11434.-packages/cli/src/commands/doctor.ts:95
ollamaModel?readonlystringChat model the smoke exercises end to end (streaming + tool call).-packages/cli/src/commands/doctor.ts:97
print?readonlyPrintSinkTest seam - capture human lines instead of writing to stderr.CommonOutputOptions.printpackages/cli/src/internal/output.ts:75
smokeDir?readonlystringTest 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?readonlybooleanRun 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?readonlystringOptional systemd unit identifier (default graphorin.service).-packages/cli/src/commands/doctor.ts:80