Skip to main content

Interface: SqlCompoundCreditStoreOptions

Defined in: packages/agentos/src/safety/runtime/SqlCompoundCreditStore.ts:193

How a SqlCompoundCreditStore is made.

Properties​

db​

db: StorageAdapter

Defined in: packages/agentos/src/safety/runtime/SqlCompoundCreditStore.ts:194


ensureSchema?​

optional ensureSchema: boolean

Defined in: packages/agentos/src/safety/runtime/SqlCompoundCreditStore.ts:198

Create the tables when missing. Default true; false when the host's migrations make them.


requireShared?​

optional requireShared: boolean

Defined in: packages/agentos/src/safety/runtime/SqlCompoundCreditStore.ts:200

Refuse a store several processes cannot share. Default true; a single process and the tests pass false.


tablePrefix?​

optional tablePrefix: string

Defined in: packages/agentos/src/safety/runtime/SqlCompoundCreditStore.ts:196

The start of the tables' names; agentos_credit when absent.