10 views

backnotprop/plannotator

The workspace to stay in the loop and on top of agents - shape, decide, plan, annotate, review code, share with team, and send all feedback to agents with one click.

TypeScript★ 13,152+691 that day#9 on trending

Analyzed November 18, 2026 at 73588ca (main) with jscpd v5 in 9.9s. Code duplication went from 2.43% on Nov 14 to 2.25% on Nov 18.

C58.1/100
Project health1,499,238 lines of code (XL)
Duplication55
7.2% in typescript, tsx, bash, astro, javascript, powershell, batch, python, sql, docker
Dead code94
0.7%
Complexity38
70.2%

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

2.25%duplicated code · 16,655 of 741,552 lines
1,076clones in code
3,062code files of 6,869 scanned
9.55%duplicated over all files · 11,323 clones

The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 5 generated files: apps/hook/hooks/mod/inbox-default-tools.ts, packages/inbox/pulls/githubShortcodes.ts, packages/shared/shape/stamp-data.ts, packages/system/src/recipe/text.ts, scripts/ci-affected.ts.

Largest clones in the code

  • 2081 lines in 2 placestypescript10,373 tokens
    11export const INBOX_TOOL_NAME = 'plannotator_inbox'
    12
    13/**
    14 * The Inbox MCP tools the agent tool may carry, in the order it lists them.
    15 * Only those the running Inbox offers become actions; an Inbox without one
    16 * (an older binary) simply has no such action.
    17 */
    18export const INBOX_TOOL_ACTIONS = [
    19  'send_message',
    20  'read_thread',
    

    First 10 of 2081 lines.

  • 903 lines in 2 placestypescript4,818 tokens
    13export const PLANNOTATOR_TOOL_NAME = 'plannotator'
    14
    15export type PlannotatorToolAction = 'annotate' | 'review' | 'last' | 'list' | 'close'
    16
    17/** The actions that open a review page. */
    18export type PlannotatorToolOpenAction = 'annotate' | 'review' | 'last'
    19
    20export interface PlannotatorToolInput {
    21  action: PlannotatorToolAction
    22  /**
    

    First 10 of 903 lines.

  • 227 lines in 2 placestypescript1,403 tokens
    1586    : buildAgentReviewUserMessage(launchPatch, launchDiffType as DiffType, userMessageOptions, launchPrMeta, isCustomReview);
    1587const jobLabel = workspacePrompt ? "Workspace Review" : "Code Review";
    1588
    1589if (provider === "codex") {
    1590    const model = typeof config?.model === "string" && config.model ? config.model : undefined;
    1591    const reasoningEffort = typeof config?.reasoningEffort === "string" && config.reasoningEffort ? config.reasoningEffort : undefined;
    1592    const fastMode = config?.fastMode === true;
    1593    const outputPath = generateOutputPath();
    1594    const prompt = composeCodexReviewPrompt(userMessage, reviewProfile);
    1595    const command = await buildCodexCommand({ cwd, outputPath, prompt, model, reasoningEffort, fastMode });
    

    First 10 of 227 lines.

7 more
Largest clones over all files, tests and data included
  • 2081 lines in 2 placestypescript10,373 tokens
    11export const INBOX_TOOL_NAME = 'plannotator_inbox'
    12
    13/**
    14 * The Inbox MCP tools the agent tool may carry, in the order it lists them.
    15 * Only those the running Inbox offers become actions; an Inbox without one
    16 * (an older binary) simply has no such action.
    17 */
    18export const INBOX_TOOL_ACTIONS = [
    19  'send_message',
    20  'read_thread',
    

    First 10 of 2081 lines.

  • 257 lines in 2 placesmarkupmarkup8,949 tokens
    1<!doctype html>
    2<html lang="en" class="theme-plannotator light">
    3<head>
    4<meta charset="utf-8">
    5<meta name="viewport" content="width=device-width, initial-scale=1">
    6<title>Plans: home</title>
    7<style>
    8/* Plans landing mocks: the product's tokens (packages/ui/themes/plannotator.css), the Inbox's soft ground and
    9   floating panes (packages/inbox/inbox.css, frame.css), the real fonts. Dark is the root; light under .light. */
    10@font-face { font-family: 'Inter Variable'; font-style: normal; font-display: block; font-weight: 100 900; src: url(data:font/woff2;base64,d09GMgABAAAAALyAABUA…
    

    First 10 of 257 lines.

  • 252 lines in 2 placesmarkupmarkup8,911 tokens
    6<title>Plans: home</title>
    7<style>
    8/* Plans landing mocks: the product's tokens (packages/ui/themes/plannotator.css), the Inbox's soft ground and
    9   floating panes (packages/inbox/inbox.css, frame.css), the real fonts. Dark is the root; light under .light. */
    10@font-face { font-family: 'Inter Variable'; font-style: normal; font-display: block; font-weight: 100 900; src: url(data:font/woff2;base64,d09GMgABAAAAALyAABUA…
    11@font-face { font-family: 'Geist Mono Variable'; font-style: normal; font-display: block; font-weight: 100 900; src: url(data:font/woff2;base64,d09GMgABAAAAAFp…
    12
    13.theme-plannotator {
    14  --background: oklch(0.15 0.02 260);
    15  --foreground: oklch(0.90 0.01 260);
    

    First 10 of 252 lines.

  • 169 lines in 2 placesmarkupmarkup6,957 tokens
  • 178 lines in 2 placesmarkupmarkup5,640 tokens
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
typescript2,108483,67875012,9722.68%
tsx829230,0492873,2861.43%
html303,096161364.39%
css153,528151393.94%
javascript264,03851012.5%
powershell22,9002150.52%
bash154,948160.12%
astro307,961000%
python51,277000%
sql277000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
typescript4,2691,009,6725,41559,4995.89%
tsx1,653460,7224,32148,98910.63%
json16955,0621,30543,74379.44%
css12422,257891,1865.33%
markup518,196702,31128.2%
yaml528,660436377.36%
markdown27945,603345291.16%
html313,106161364.38%
bash8010,266101081.05%
javascript356,00181242.07%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Nov 18, 2026#913,152 (+691)6,8691,650,29311,3239.55%2.25%C 58.173588ca
Nov 17, 2026#212,713 (+696)6,6261,612,83711,0429.49%2.32%C 58.31a2a618
Nov 16, 2026#412,004 (+866)6,4011,564,73710,8989.67%2.36%C 58.1b040cc5
Nov 15, 2026#111,281 (+408)6,1021,511,24810,5879.78%2.39%C 57.964bd3eb
Nov 14, 2026#510,536 (+108)5,9411,498,07910,5119.82%2.43%C 57.84638c7a

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