🌊 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
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
import type { PluginOptions } from 'claude-code'
/** The plugin's `userConfig`, validated: a bad value is the safe default (guard on, plain http allowed). */
export type ModOptions = { readonly guard: boolean; readonly strictUrls: boolean }
// BEGIN SHARED FLAG (generated by scripts/sync-mod-screen.mjs; edit plugins/ruflo-agentdb/hooks/options.ts)
export const flag = (value: unknown, fallback: boolean) =>
value === true || value === 'true' || value === 'on' ? true : value === false || value === 'false' || value === 'off' ? false : fallback
// END SHARED FLAG
export const readOptions = (options: PluginOptions | undefined): ModOptions => ({
guard: flag(options?.guard, true),
strictUrls: flag(options?.strictUrls, false),
})
export const modeOf = (o: ModOptions) => ({ guard: o.guard, strictUrls: o.strictUrls })