MCPcopy Create free account
hub / github.com/ASidorenkoCode/openslimedit / resolvePath

Function resolvePath

src/index.ts:8–11  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

6
7export const OpenSlimeditPlugin: Plugin = async ({ directory }) => {
8 function resolvePath(filePath: string): string {
9 if (path.isAbsolute(filePath)) return path.normalize(filePath)
10 return path.resolve(directory, filePath)
11 }
12
13 return {
14 // Aggressively shorten ALL tool descriptions

Callers 1

OpenSlimeditPluginFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected