Skip to content

CodeArchy v2.1.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 05:28
· 18 commits to main since this release
41b71d6

Added

  • Ask about your code, in the Map. An Ask panel beside the Inspector answers questions from the map itself. It searches, follows dependencies and, where the privacy tier allows it, reads code. A status line shows what it's looking at. Answers cite the parts and lines they rely on: click a citation to see it on the map or open the file. Show me opens what an answer points to, and Ask about this in the Inspector asks about the selected node.

  • Summary cards. The Inspector shows a short summary for every file, component and package. It's built from docs, names and structure, and marked auto-summary. Summarize with AI writes a better one, labelled with the model that wrote it. AI summaries are kept with the workspace, so they survive a reload.

  • Your choice of model.

    • On this machine: Ollama or LM Studio.
    • Your GitHub Copilot plan, through VS Code's Language Model API. VS Code asks once before CodeArchy may use a model.
    • Your own API key: Anthropic, OpenAI, Google Gemini, OpenRouter, Groq or Mistral. Keys are kept in VS Code's secret storage (your OS keychain), never in settings.

    Set it up from AI in the Map's toolbar.

  • Privacy you can see. Choose what may leave your machine:

    • Local only (the default): nothing leaves.
    • Structure: names, signatures, docs and dependencies, but no code.
    • Structure + code excerpts.

    Secrets are removed from anything sent to a cloud model. You can turn on Ask before sending to review each request first, and set daily token budgets per provider.

  • Flows. A new Flows mode, next to Map and Matrix, lists where things enter your code:

    • HTTP routes (Express, NestJS, FastAPI, Flask, Django, Spring, ASP.NET, gin, Laravel, Rails and more);
    • CLI commands;
    • jobs and listeners;
    • UI routes, VS Code commands and main.

    Choose one to see what it does: each call in order, laid out across the parts of the system it passes through. It also shows the databases, HTTP APIs and queues the flow reaches. Click a step to inspect its file, or open it in the editor. Show on map takes you back to the Map. Calls matched by name alone, without an import, are dashed.

  • Tours. A new Tours mode offers guided walks through the code.

    • Start Here is built for every workspace, with no AI needed. It covers the big picture, where things start (one flow, followed end to end), the core parts, the data layer, the services it talks to, shared foundations, and a good first change.
    • The player: it sits over the canvas, and each step moves the Map (or Flows) to what it explains. It lists the lines worth reading, links to the parts it mentions, and has Ask about this step. Steps you've finished are remembered, so you can resume later.
    • Your own tours: use Add to tour in the Inspector, or on a flow, to build a tour. Then Save to .codearchy/tours writes it into the repository, so it's reviewed and shared like code. Steps whose code has changed since they were written are flagged.
    • Walk through plays any flow as a tour.
  • Authorship. See which code AI tools wrote, from the evidence they leave in git history.

    • What counts: Co-authored-by lines naming an AI tool, coding-agent bot commits, and tool markers such as "Generated with Claude Code". These are traced to today's lines with git blame.
    • The Authorship lens shows each part's share of AI-written and reviewed lines, as text with a small bar.
    • The Inspector shows the breakdown by tool, the most AI-written files, a weekly timeline and the commits behind it.
    • Your privacy: lines without evidence are "unknown"; nothing is guessed. Results are totals and tool names only, never people. It runs only git log and git blame on this machine.
    • Turn it off with codearchy.authorship.enabled.
  • Authorship as you work.

    • Live capture: CodeArchy records AI insertions as they happen in this editor: large insertions that aren't pastes, labelled inferred, because VS Code doesn't say which extension made an edit. When you change AI-written lines, they count as reviewed.
    • The gutter: a thin bar marks AI-written lines in orange and reviewed lines in blue. Hover it for the tool, the date and the evidence.
    • Your say: Mark Selection as Reviewed and Correct Authorship of Selection, from the editor's context menu or the hover.
    • Where it's kept: in this workspace's storage on this machine, never in your files.
    • Settings: codearchy.authorship.capture and codearchy.authorship.gutter.
  • Agent session logs (opt-in). Turn on codearchy.authorship.agentLogs for Claude Code, Codex or Aider, and CodeArchy reads their session logs on this machine to see exactly which lines they wrote (verified).

    • What's kept: only which lines, which agent and when. Nothing from your prompts or conversations.
    • Reviewed lines: lines you changed afterwards show as reviewed, and so does an edit you modified before accepting it.
    • A limit: edits an agent makes through shell commands aren't in its logs, so later changes to those lines also show as reviewed.
  • Branch authorship report. CodeArchy: Branch Authorship Report shows what the current branch adds since it left its base: lines by who wrote them (AI and unchanged, reviewed, people, unknown) and by tool, per part of the system, and the dependencies between parts it introduces. The Markdown is ready for a pull request. Also on the command line: codearchy authorship report.

  • Share authorship with git notes. Write Authorship Notes for the Last Commit, or set codearchy.authorship.gitNotes to onCommit, and CodeArchy records which lines of a commit AI tools wrote as a git note (refs/notes/codearchy-authorship).

    • Teammates' notes show up for you once fetched. They're mapped onto today's code through later edits and renames.
    • Notes stay local until you push them.
    • See the authorship guide.
  • Ask about flows. Chat and codearchy mcp can find entrypoints and trace them (find_flows), so "what happens when someone logs in?" gets an answer that follows the code.

  • codearchy.ollama.url setting: where Ollama listens.

  • Ownership. A new Ownership lens shows who owns each part: its main owner, their share of today's lines (whoever last changed each line, from git blame), and how many others have worked on it. A ⚠ marks parts where one person holds most of the lines. The Inspector's Owners list shows each person's share and when they last changed the part, and how many people together hold more than half. Bots and uncommitted lines are left out, and .mailmap is respected. Names stay on your machine and are never sent to AI models. Turn it off with codearchy.authorship.people.

  • Narrated tours and answers. Tours are narrated by the Kokoro voice, which runs on your machine, or by your system's voice.

    • Starts quickly: speech begins with a short first phrase and is read a whole sentence at a time.
    • Made ahead and kept: the next step's speech is made in advance, and everything spoken is kept, so replays start at once.
    • Answers in Ask are narrated too: a short acknowledgement plays straight away, the answer is read while it's being written, and the Map follows the voice to each part it mentions.
    • History: every answer stays in this workspace's chat history. Replay its walkthrough, ask a follow-up (also after a reload), or turn it into a tour.
    • Closing stops the voice at once. Speech that was already being made still finishes and is kept.
  • Voice settings. Voice in the Map's toolbar chooses between Kokoro and the system voice, sets the voice and speed, and plays a preview. Kokoro is downloaded once (about 93 MB). With a supported GPU, a faster model is downloaded in the background and used once it's ready. Your choice applies in every workspace, and Kokoro loads on its own once it has been set up.

  • Tour management. The Tours list has Start here, Walk through a flow, the repository's tours and your draft. Per tour, you can start over, reset progress, edit, make an editable copy, download it as JSON, or delete it. The draft editor reorders, edits and removes steps.

  • Architecture tab. Beside the Map, a high-level diagram of the system is built from the code:

    • its main parts, in layers;
    • how they depend on each other;
    • who calls in;
    • the external systems it reaches (databases, caches, queues, APIs).

    Design with AI has your model group the real building blocks into subsystems, services and layers with architect-level names and responsibilities. It never invents parts or drops real dependencies, and the design is kept per workspace. Click a box for its code.

  • Ollama models. AI settings → Providers → Ollama lists the models installed on this machine. Use one, remove one, or download any model, with progress.

  • Settings in the Map. Settings in the toolbar shows every CodeArchy setting, grouped and searchable, for you or for this workspace. Each shows its description, a modified marker and Reset. Changes apply at once, and changes made in VS Code's Settings show up there too.

  • Panels you can arrange. The Navigator, the side panel (Inspector / Ask) and the Flows list can be resized (by dragging or with the keyboard) and hidden. Double-click a divider to reset it.

  • A redesigned Navigator and Inspector.

    • Navigator: a filter, indent guides, icons, file counts, and ↑/↓ to move between rows.
    • Inspector: tabs for Overview, Uses, Used by, and Symbols or Contains.
  • The CLI on npm. npx codearchy mcp gives your own AI agent (Claude Code, Codex, Gemini CLI, Copilot) the architecture map, and npx codearchy serve runs the Companion for the web app. See the MCP guide.

Changed

  • In the Map, the new Ask panel replaces the v1 chat, Ollama models are managed in AI settings, and Voice opens the shared Voice panel. The classic views keep the v1 chat and voice dialog.
  • Start Here is about the product: it skips samples, examples, benchmarks and docs, and picks the core inside the main part.

Fixed

  • GitHub Copilot. Copilot no longer picks a model VS Code reserves for itself ("only available to VS Code core"). The next best model answers instead.
  • Branch authorship report. It names parts by their path, and waits until the git evidence has been read.
  • Cards. File cards no longer overlap the lens badge, and the Matrix uses the whole canvas.