MCPcopy
hub / github.com/ChatGPTNextWeb/NextChat / Commands

Interface Commands

app/command.ts:6–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5type Command = (param: string) => void;
6interface Commands {
7 fill?: Command;
8 submit?: Command;
9 mask?: Command;
10 code?: Command;
11 settings?: Command;
12}
13
14export function useCommand(commands: Commands = {}) {
15 const [searchParams, setSearchParams] = useSearchParams();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected