MCPcopy Create free account
hub / github.com/Noumena-Network/code / createToolUseContext

Function createToolUseContext

src/query/stopHooks.test.ts:44–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44function createToolUseContext() {
45 return {
46 abortController: new AbortController(),
47 agentId: undefined,
48 getAppState: () => ({
49 toolPermissionContext: { mode: 'default' },
50 }),
51 addNotification: (notification: unknown) => {
52 notifications.push(notification)
53 },
54 }
55}
56
57function expectSummaryMessage(
58 events: unknown[],

Callers 1

stopHooks.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected