Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
81
export
type
ToolContracts = typeof buildToolContracts;
82
83
export
function
getToolContracts(mode: ModeType) {
84
return
mode === Mode.PLAN
85
? readOnlyToolContracts
86
: buildToolContracts;
87
};
Callers
1
chat.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected