Skip to main content

Interface: GetSpecContextInput

Defined in: packages/core/src/application/use-cases/get-spec-context.ts:15

Input for the GetSpecContext use case.

Properties

contextMode?

readonly optional contextMode?: "list" | "summary" | "full" | "hybrid"

Defined in: packages/core/src/application/use-cases/get-spec-context.ts:25

Display mode used to shape entries. Defaults to summary.


depth?

readonly optional depth?: number

Defined in: packages/core/src/application/use-cases/get-spec-context.ts:23

Limits dependency traversal depth. Only meaningful when followDeps is true.


followDeps?

readonly optional followDeps?: boolean

Defined in: packages/core/src/application/use-cases/get-spec-context.ts:21

When true, follows dependsOn links transitively.


sections?

readonly optional sections?: readonly SpecContextSectionFlag[]

Defined in: packages/core/src/application/use-cases/get-spec-context.ts:27

When present, restricts output to the listed section types.


specPath

readonly specPath: SpecPath

Defined in: packages/core/src/application/use-cases/get-spec-context.ts:19

The spec path within the workspace.


workspace

readonly workspace: string

Defined in: packages/core/src/application/use-cases/get-spec-context.ts:17

The workspace name (e.g. 'default', 'billing').