MCPcopy
hub / github.com/Dimillian/CodexMonitor / parseList

Function parseList

src/utils/threadItems.explore.ts:248–252  ·  view source on GitHub ↗
(tokens: string[])

Source from the content-addressed store, hash-verified

246}
247
248function parseList(tokens: string[]): ExploreEntry {
249 const paths = findPathTokens(tokens);
250 const path = paths[paths.length - 1];
251 return { kind: "list", label: path || tokens[0] };
252}
253
254function parseCommandSegment(command: string): ExploreEntry[] | null {
255 const tokens = tokenizeCommand(command);

Callers 1

parseCommandSegmentFunction · 0.85

Calls 1

findPathTokensFunction · 0.85

Tested by

no test coverage detected