Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

455 B
Raw Blame
import { defineHook } from "eve/hooks";
import { recordSubagentHook } from "../../subagent-hook-audit";

export default defineHook({
  events: {
    "task.started": (event, ctx) => recordSubagentHook("typed", event, ctx),
    "task.settled": (event, ctx) => recordSubagentHook("typed", event, ctx),
    "agent.started": (event, ctx) => recordSubagentHook("typed", event, ctx),
    "*": (event, ctx) => recordSubagentHook("wildcard", event, ctx),
  },
});