Skip to content

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

PropertyModifierTypeDescriptionInherited fromDefined in
all?readonlybooleanRun every check. Equivalent to passing every --check-* flag.-packages/cli/src/commands/doctor.ts:83
chatTimeoutMs?readonlynumberWall-clock bound for the smoke's chat leg. Default 60s.-packages/cli/src/commands/doctor.ts:112
checkEncryption?readonlybooleanRun the audit-encryption check.-packages/cli/src/commands/doctor.ts:77
checkPerms?readonlybooleanRun the file-perms check. Implied by --all.-packages/cli/src/commands/doctor.ts:73
checkSecrets?readonlybooleanRun the secrets-store check.-packages/cli/src/commands/doctor.ts:75
checkSystemd?readonlybooleanRun the systemd check. Linux-only.-packages/cli/src/commands/doctor.ts:79
config?readonlystringCheck 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?readonlystringEmbedding model for the dimension probe. Default nomic-embed-text.-packages/cli/src/commands/doctor.ts:110
fixPerms?readonlybooleanRun the file-perms repair.-packages/cli/src/commands/doctor.ts:71
home?readonlystringOverride the directory the doctor checks. Defaults to ~/.graphorin/. Tests inject a fresh tmp dir.-packages/cli/src/commands/doctor.ts:61
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:106
ollamaModel?readonlystringChat model the smoke exercises end to end (streaming + tool call).-packages/cli/src/commands/doctor.ts:108
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: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?readonlybooleanRun 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?readonlybooleandeep-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?readonlystringOptional systemd unit identifier (default graphorin.service).-packages/cli/src/commands/doctor.ts:81