Skip to content

Interface: OsfqlRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Osfql / OsfqlRequest

Interface: OsfqlRequest

Defined in: src/types/osfql.ts:9

Request to execute an OSFQL program.

Remarks

The query field accepts one or more OSFQL statements separated by semicolons. Supported statement types include MATCH, INSERT, RETRACT, DERIVE, UNIFY, DEFINE, AWAIT, COUNTERFACTUAL, and CAUSES.

Properties

query

query: string

Defined in: src/types/osfql.ts:11

The OSFQL program text (one or more statements separated by ;).


reactive?

optional reactive: boolean

Defined in: src/types/osfql.ts:19

Opt into reactive (streaming) mode: after the program runs, any suspended AWAIT demon whose trigger is now satisfied fires automatically — no explicit RELEASE RESIDUATIONS needed.

Default Value

false — demons stay suspended until an explicit RELEASE.