• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

apowers313 / designloom / 20964842756

13 Jan 2026 04:42PM UTC coverage: 86.527%. First build
20964842756

push

github

apowers313
feat: initial commit

520 of 616 branches covered (84.42%)

Branch coverage included in aggregate %.

2826 of 3251 new or added lines in 15 files covered. (86.93%)

2826 of 3251 relevant lines covered (86.93%)

22.96 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

6.25
/src/cli.ts
1
#!/usr/bin/env node
1✔
2

3
/**
4
 * THIS FILE IS AUTO GENERATED: DO NOT EDIT THIS FILE.
5
 * This is the CLI entry point for designloom MCP server.
6
 * The actual implementation is in index.ts
7
 */
8

NEW
9
import { startMcpServer } from "./index.js";
×
NEW
10
import { resolveDataPath } from "./path-resolver.js";
×
11

12
/**
13
 * Get the data path from environment or default.
14
 * Checks DESIGNLOOM_DATA_PATH environment variable first,
15
 * then defaults to ./design/designloom in current directory.
16
 * Uses git-aware path resolution for worktree support.
17
 * @returns Resolved absolute path to design documents
18
 */
NEW
19
function getDataPath(): string {
×
20
    // Check for DESIGNLOOM_DATA_PATH environment variable
NEW
21
    const envPath = process.env.DESIGNLOOM_DATA_PATH;
×
NEW
22
    if (envPath) {
×
NEW
23
        return resolveDataPath(envPath);
×
NEW
24
    }
×
25

26
    // Default to ./design/designloom - resolves to main repo in worktrees
NEW
27
    return resolveDataPath("./design/designloom");
×
NEW
28
}
×
29

30
// Start the server
NEW
31
const dataPath = getDataPath();
×
NEW
32
startMcpServer(dataPath).catch((error: unknown) => {
×
NEW
33
    const message = error instanceof Error ? error.message : String(error);
×
NEW
34
    console.error("Failed to start Designloom server:", message);
×
NEW
35
    process.exit(1);
×
NEW
36
});
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc