rulvar API reference / @rulvar/cli / CreateServerOptions
Interface: CreateServerOptions
Defined in: packages/cli/src/server.ts:57
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
engine | Engine | - | packages/cli/src/server.ts:58 |
priceUsd? | (servedBy, usage) => number | undefined | Prices the journal fold behind GET /runs/:id/cost for runs without a settled in-process outcome (the host assembles pricing exactly as it does for the CLI); absent means those usages surface as unpriced, never a silent zero. | packages/cli/src/server.ts:67 |
retention? | (meta) => boolean | Opt-in retention (OQ-20 executed at M8-T04): evaluated when a tracked run settles terminally; a true verdict applies engine.deleteRun (transcript cascade, then the journal) and untracks the run. Absent means everything persists indefinitely. | packages/cli/src/server.ts:74 |
workflows | WorkflowRegistry | The explicit, first-class registry. | packages/cli/src/server.ts:60 |