MCPcopy Create free account
hub / github.com/code-with-antonio/nightcode / getToolContracts

Function getToolContracts

packages/shared/src/schemas.ts:83–87  ·  view source on GitHub ↗
(mode: ModeType)

Source from the content-addressed store, hash-verified

81export type ToolContracts = typeof buildToolContracts;
82
83export function getToolContracts(mode: ModeType) {
84 return mode === Mode.PLAN
85 ? readOnlyToolContracts
86 : buildToolContracts;
87};

Callers 1

chat.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected