MCPcopy Create free account
hub / github.com/MatterAIOrg/OrbCode / test-hook-integration.mjs

File test-hook-integration.mjs

test-hook-integration.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Drives the real Agent loop with a stubbed model to prove hooks fire correctly
2// inside a live turn. Run with: node test-hook-integration.mjs
3import { Agent } from "./dist/core/agent.js"
4import { AxonClient } from "./dist/api/client.js"

Callers

nothing calls this directly

Calls 7

scriptedAgentFunction · 0.85
toolThenFunction · 0.85
sayThenEndFunction · 0.85
waitForFunction · 0.85
runTurnMethod · 0.80
compactMethod · 0.80
okFunction · 0.70

Tested by

no test coverage detected