MCPcopy
hub / github.com/TanStack/ai / createMetadataPayload

Method createMetadataPayload

packages/ai-client/src/devtools.ts:682–696  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

680 }
681
682 private createMetadataPayload() {
683 return {
684 hookId: this.options.hookId,
685 hookName: this.options.metadata.hookName,
686 ...(this.options.metadata.name
687 ? { displayName: this.options.metadata.name }
688 : {}),
689 ...(this.options.metadata.outputKind
690 ? { outputKind: this.options.metadata.outputKind }
691 : {}),
692 ...(this.options.metadata.framework
693 ? { framework: this.options.metadata.framework }
694 : {}),
695 }
696 }
697}
698
699let bridgeIdSequence = 0

Callers 5

emitRegisteredMethod · 0.95
emitUpdatedMethod · 0.95
emitSnapshotMethod · 0.95
emitToolsRegisteredMethod · 0.95
disposeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected