Skip to main content

Interface: ThoughtItem

Defined in: packages/core/src/stream-segments/types.ts:120

Individual thought in a sequential thinking chain

Properties

branchId?

optional branchId?: string

Defined in: packages/core/src/stream-segments/types.ts:144

Branch identifier (e.g., "oauth2_approach")


expandedNote?

optional expandedNote?: boolean

Defined in: packages/core/src/stream-segments/types.ts:148

Whether this thought triggered plan expansion


indentLevel?

optional indentLevel?: number

Defined in: packages/core/src/stream-segments/types.ts:150

Indentation level for display (0=main, 1+=branch)


is_final?

optional is_final?: boolean

Defined in: packages/core/src/stream-segments/types.ts:130

Whether this is the final conclusion


isBranch?

optional isBranch?: boolean

Defined in: packages/core/src/stream-segments/types.ts:146

Whether this thought is part of a branch


isRevised

isRevised: boolean

Defined in: packages/core/src/stream-segments/types.ts:134

Whether this thought has been superseded by a revision


progressCurrent?

optional progressCurrent?: number

Defined in: packages/core/src/stream-segments/types.ts:140

Current thought number in sequence (1, 2, 3...)


progressTotal?

optional progressTotal?: number

Defined in: packages/core/src/stream-segments/types.ts:142

Total thoughts planned in sequence


revisedBy?

optional revisedBy?: string

Defined in: packages/core/src/stream-segments/types.ts:136

ID of the thought that revised this one


revises?

optional revises?: string

Defined in: packages/core/src/stream-segments/types.ts:128

ID of the thought this revises (if any)


summary

summary: string

Defined in: packages/core/src/stream-segments/types.ts:124

Short summary (always visible, max 80 chars)


thought

thought: string

Defined in: packages/core/src/stream-segments/types.ts:126

Full detailed reasoning


thought_id

thought_id: string

Defined in: packages/core/src/stream-segments/types.ts:122

Unique identifier for this thought


timestamp

timestamp: number

Defined in: packages/core/src/stream-segments/types.ts:132

When this thought was recorded