All files / src kit-references.ts

100% Statements 19/19
73.33% Branches 11/15
100% Functions 9/9
100% Lines 19/19

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 201x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
import * as path from "node:path"
 
import type { MeridianWorkspaceInfo } from "./meridian-workspace.js"
 
/** Canonical kit references (relative to `.agent/`). */
export const KIT_REFERENCES = {
  howToUse: path.join("references", "how-to-use.md"),
  agentsHelp: path.join("references", "agents-help.md"),
  usageGuide: path.join("references", "usage-guide.md"),
  startHere: path.join("references", "start-here.md"),
  artifactReference: path.join("references", "artifact-reference.md"),
} as const
 
export function kitReferencePath(
  info: MeridianWorkspaceInfo,
  relativeFromAgent: string,
): string {
  return path.join(info.projectRoot, ".agent", relativeFromAgent)
}