MCPcopy Create free account
hub / github.com/SethGammon/Citadel / keywordMatches

Function keywordMatches

scripts/route-preview.js:144–152  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

142 boundary: 'semantic-classification-required',
143 };
144}
145
146function selectAutomaticRoute(input, mode = 'execute', options = {}) {
147 if (!input.trim()) {
148 return {
149 mode,
150 tier: 0,
151 selected: '/do --list',
152 command: '/do --list',
153 reason: 'empty input should show available routes instead of guessing.',
154 resolver: 'exact-command',
155 final: true,

Callers 2

selectRouteFunction · 0.85

Calls 1

matchesKeywordFunction · 0.85

Tested by

no test coverage detected