/** * Tool registry — exports all available capabilities for the agent. */ import type { CapabilityHandler } from '../agent/types.js'; import { readCapability } from './read.js'; import { writeCapability } from './write.js'; import { editCapability } from './edit.js'; import { bashCapability } from './bash.js'; import { globCapability } from './glob.js'; import { grepCapability } from './grep.js'; import { webFetchCapability } from './webfetch.js'; import { webSearchCapability } from './websearch.js'; import { taskCapability } from './task.js'; import { detachCapability } from './detach.js'; /** * Reset module-level tool state that would otherwise leak between sessions * when the same process runs `interactiveSession()` more than once (library * callers, tests, planned daemon mode). Safe to call before every session. */ export declare function resetToolSessionState(): void; /** All capabilities available to the Franklin agent (excluding sub-agent, which needs config). */ export declare const allCapabilities: CapabilityHandler[]; export { readCapability, writeCapability, editCapability, bashCapability, globCapability, grepCapability, webFetchCapability, webSearchCapability, taskCapability, detachCapability, }; /** * "Franklin prediction mode" toolset. * * A deliberately tight, research-only capability set for forecasting a single * real-world event the way a careful bettor would: gather current facts, read * sources, check live prediction-market odds and a little market data — then * decide. Everything else (filesystem, shell, media generation, swaps/trade * execution, phone/voice, GPU sandbox, posting) is intentionally excluded: * a forecaster looks things up, it does not act on the world or spend beyond * the cheap read calls these tools make. * * Used by the `franklin predict` command and reusable by any headless caller * (e.g. franklin.bet) that wants a grounded prediction. */ export declare const predictionCapabilities: CapabilityHandler[]; export { createSubAgentCapability } from './subagent.js';