Skip to main content
Glama
m-siles
by m-siles
types.ts1.55 kB
export type BranchState = 'active' | 'suspended' | 'completed' | 'dead_end'; export type InsightType = 'behavioral_pattern' | 'feature_integration' | 'observation' | 'connection'; export type CrossRefType = 'complementary' | 'contradictory' | 'builds_upon' | 'alternative'; export interface ThoughtData { id: string; content: string; branchId: string; timestamp: Date; metadata: { type: string; confidence: number; keyPoints: string[]; }; } export interface Insight { id: string; type: InsightType; content: string; context: string[]; parentInsights?: string[]; applicabilityScore: number; supportingEvidence: { crossRefs?: string[]; pattern?: string; data?: string[]; }; } export interface CrossReference { id: string; fromBranch: string; toBranch: string; type: CrossRefType; reason: string; strength: number; touchpoints: Array<{ fromThought: string; toThought: string; connection: string; }>; relatedInsights?: string[]; } export interface ThoughtBranch { id: string; parentBranchId?: string; state: BranchState; priority: number; confidence: number; thoughts: ThoughtData[]; insights: Insight[]; crossRefs: CrossReference[]; } export interface BranchingThoughtInput { content: string; branchId?: string; parentBranchId?: string; type: string; confidence?: number; keyPoints?: string[]; relatedInsights?: string[]; crossRefs?: Array<{ toBranch: string; type: CrossRefType; reason: string; strength: number; }>; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/m-siles/branch-thinking'

If you have feedback or need assistance with the MCP directory API, please join our Discord server