MCPcopy
hub / github.com/vectorize-io/hindsight / getEmbedCommand

Function getEmbedCommand

hindsight-all-npm/src/command.ts:19–25  ·  view source on GitHub ↗
(opts: EmbedCommandOptions = {})

Source from the content-addressed store, hash-verified

17}
18
19export function getEmbedCommand(opts: EmbedCommandOptions = {}): string[] {
20 if (opts.embedPackagePath) {
21 return ["uv", "run", "--directory", opts.embedPackagePath, "hindsight-embed"];
22 }
23 const version = opts.embedVersion && opts.embedVersion.length > 0 ? opts.embedVersion : "latest";
24 return ["uvx", `hindsight-embed@${version}`];
25}

Callers 4

command.test.tsFile · 0.85
stopMethod · 0.85
configureProfileMethod · 0.85
startDaemonMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected