4 views

nightly-labs/openbot

A local-first desktop workspace for persistent AI teammates. Run Codex, Claude, and Grok with dedicated workspaces, task queues, file sharing, browser control, and agent-to-agent collaboration.

TypeScript★ 3,988+709 that day#3 on trending

Analyzed October 30, 2026 at f3e3f8a (main) with jscpd v5 in 6.9s. Code duplication went from 3.01% on Oct 27 to 3.12% on Oct 30.

C61.6/100
Project health996,180 lines of code (L)
Duplication76
3.4% in typescript, tsx, bash, swift, sql, javascript, kotlin, ruby, nix, docker, groovy
Dead code66
4.6%
Complexity47
54.9%

The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.

3.12%duplicated code · 25,085 of 804,616 lines
2,068clones in code
3,706code files of 5,813 scanned
3.5%duplicated over all files · 2,936 clones

The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 10 generated files: apps/auth-api/src/lib/plugin-catalog.generated.ts, apps/auth-api/src/routeTree.gen.ts, apps/mobile/src/features/marketplace/model/plugin-catalog.generated.ts, apps/mobile/src/uniwind-types.d.ts, packages/brand/src/wordmark-shape.ts, src/backend/released-schemas/v0.1.12.sql, src/backend/released-schemas/v0.1.15.sql, src/backend/released-schemas/v0.1.18.sql, src/backend/released-schemas/v0.2.1.sql, src/renderer/src/features/settings/marketplace-plugin-catalog.ts.

Largest clones in the code

  • 72 lines in 4 placestypescript488 tokens
    107  exit: [error: Error];
    108  diagnostic: [message: string, origin?: DiagnosticOrigin];
    109}
    110
    111/**
    112 * The real Claude client. Only the account, usage and model reads are answered here: the real ones
    113 * run `claude auth status` or a probe query. Sessions, turns and events go to the real client.
    114 */
    115class ClaudeStandIn extends EventEmitter<ClientEvents> implements AgentClient {
    116  readonly provider = "claude";
    
    139  exit: [error: Error];
    140  diagnostic: [message: string, origin?: DiagnosticOrigin];
    141}
    142
    143/**
    144 * The real Claude client. Only the account, usage and model reads are answered here: the real ones
    145 * run `claude auth status` or a probe query. Sessions, turns, history and events go to the real client.
    146 */
    147class ClaudeStandIn extends EventEmitter<ClientEvents> implements AgentClient {
    148  readonly provider = "claude";
    

    First 10 of 72 lines, the second copy on the right.

  • 80 lines in 4 placestypescript484 tokens
    47      cases: z.array(z.string()).length(16),
    48      runId: z.literal(runId),
    49      sourceSha: z.literal(sourceSha),
    50    })
    51    .parse(JSON.parse(await readFile(reportPath, "utf8")));
    52  // Machine-readable summary of the completed case count.
    53  process.stdout.write(
    54    `${JSON.stringify({ status: report.status, cases: report.cases.length, report: reportPath })}\n`,
    55  );
    56} catch (error) {
    

    First 10 of 80 lines.

  • 237 lines in 2 placestypescript1,386 tokens
    37  "scripts/live-activity-autolink-e2e.ts",
    38  "src/main/live-activity-push.ts",
    39  "packages/team-client/src/dynamic-island-coordinator.ts",
    40  "packages/team-client/src/dynamic-island-presentation.ts",
    41  "packages/team-client/src/agent-message-text.ts",
    42  "packages/team-client/src/live-activity-props.ts",
    43  "packages/team-client/src/live-activity-text.ts",
    44  "packages/team-client/src/live-activity-seal.ts",
    45  "apps/mobile/src/features/live-activity/model/live-activity-open.ts",
    46];
    

    First 10 of 237 lines.

7 more
Largest clones over all files, tests and data included
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
typescript2,469538,4301,69020,6693.84%
tsx1,171257,2643714,3371.69%
ruby618745529.41%
bash232,9952180.6%
swift132,774160.22%
javascript151,605000%
kotlin71,267000%
groovy294000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
typescript3,867727,7622,05828,4853.91%
tsx1,190257,9993714,3371.68%
css14767,8302622,0503.02%
diff116,2691321,25520.02%
json13011,098492,10418.96%
yaml436,516232844.36%
markdown26437,271191440.39%
sql351,8781165234.72%
ruby618745529.41%
bash433,2263230.71%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Oct 30, 2026#33,988 (+709)5,8131,126,7612,9363.5%3.12%C 61.6f3e3f8a
Oct 29, 2026#43,402 (+1,054)5,7221,097,0512,8663.54%3.14%C 61.6c389f44
Oct 28, 2026#22,636 (+777)5,6681,080,6252,8163.54%3.12%C 61.675c2800
Oct 27, 2026#61,641 (+176)5,4661,043,7382,6863.48%3.01%C 61.5f91535f

Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.