Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

741 B
Raw Blame
/** The session workspace's two options (ADR-486), read the way every other option family is: a value the plugin does not know is its default. */
export type SessionOptions = {
  /** The attention queue and session browser on the Room. Read-only discovery; on by default. */
  sessionWorkspace: boolean
  /** The preview beside the list. Off draws no transcript text at all. */
  sessionPreview: boolean
}

export const sessionOptionsOf = (raw: unknown): SessionOptions => {
  const value = (typeof raw === 'object' && raw !== null ? raw : {}) as Record<string, unknown>
  const on = (v: unknown): boolean => v !== false && v !== 'false'

  return { sessionWorkspace: on(value.sessionWorkspace), sessionPreview: on(value.sessionPreview) }
}