mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 09:01:14 +00:00
- Rename getTools/setTools to getActiveTools/setActiveTools - Add getAllTools to enumerate all configured tools - Remove text_delta event (use turn_end/agent_end instead) - Add shortcut conflict detection: - Skip shortcuts that conflict with built-in shortcuts (with warning) - Log warnings when hooks register same shortcut (last wins) - Add note about prompt cache invalidation in setActiveTools - Update plan-mode hook to use agent_end for [DONE:id] parsing
21 lines
669 B
TypeScript
21 lines
669 B
TypeScript
// biome-ignore assist/source/organizeImports: biome is not smart
|
|
export {
|
|
discoverAndLoadHooks,
|
|
loadHooks,
|
|
type AppendEntryHandler,
|
|
type BranchHandler,
|
|
type GetActiveToolsHandler,
|
|
type GetAllToolsHandler,
|
|
type HookFlag,
|
|
type HookShortcut,
|
|
type LoadedHook,
|
|
type LoadHooksResult,
|
|
type NavigateTreeHandler,
|
|
type NewSessionHandler,
|
|
type SendMessageHandler,
|
|
type SetActiveToolsHandler,
|
|
} from "./loader.js";
|
|
export { execCommand, HookRunner, type HookErrorListener } from "./runner.js";
|
|
export { wrapToolsWithHooks, wrapToolWithHooks } from "./tool-wrapper.js";
|
|
export * from "./types.js";
|
|
export type { ReadonlySessionManager } from "../session-manager.js";
|