MCPcopy Index your code
hub / github.com/TanStack/ai / matchesFixtureTarget

Method matchesFixtureTarget

packages/ai-client/src/devtools.ts:640–656  ·  view source on GitHub ↗
(fixture: AIDevtoolsToolFixture)

Source from the content-addressed store, hash-verified

638 }
639
640 private matchesFixtureTarget(fixture: AIDevtoolsToolFixture): boolean {
641 if (!fixture.hookId && !fixture.threadId) {
642 return false
643 }
644
645 if (fixture.hookId) {
646 return fixture.hookId === this.options.hookId
647 }
648
649 if (
650 fixture.threadId &&
651 (!this.options.threadId || fixture.threadId !== this.options.threadId)
652 ) {
653 return false
654 }
655 return true
656 }
657
658 private createEnvelope(
659 eventType:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected