К основному содержанию
плагин

chat-fork-map — плагин для GitHub Copilot: что делает и как установить

Визуализирует дерево веток локальных диалогов GitHub Copilot на боковой панели Canvas. Помогает параллельно проверять разные гипотезы и не терять контекст родительской сессии.

Установить в GitHub Copilot · Команда из источника Все способы и платформы ↓
copilot plugin install chat-fork-map@awesome-copilot
Открыть на GitHub

Что делает chat-fork-map

Плагин открывает боковую панель Canvas со схемой диалогов, где родительские и дочерние ветки разделены по дорожкам. Общая история остаётся в исходной ветке, а новые шаги стартуют с выбранной контрольной точки. На карте можно приближать и отдалять масштаб, смотреть промпты пользователя, ответы Copilot и раскрывать технические детали выполнения.

Для работы требуется Copilot CLI или Copilot App версии 1.0.80 либо новее с поддержкой Canvas, а также доступ к локальным журналам в $COPILOT_HOME/session-state (или ~/.copilot/session-state). Облачные и удалённые сессии не поддерживаются. Плагин использует встроенный рантайм Node.js и SDK от Copilot, поэтому отдельно ставить пакеты через npm не нужно.

Создавать ветки можно только от уже завершённых реплик: если ассистент ещё генерирует ответ, ветвление заблокировано. Дочерние сессии работают строго в терминале через copilot --resume=<session-id>, поэтому в интерфейсе Copilot App они могут не отображаться. Индекс связей сохраняется локально в artifacts/lineage-v1.json и не синхронизируется между компьютерами.

Какие задачи решает

  • отслеживать структуру разветвлённых локальных диалогов на холсте
  • ответвлять новые CLI-сессии от завершённых реплик без дублирования истории
  • проверять разные инженерные гипотезы параллельно из одной точки диалога
  • изучать скрытые детали выполнения и промпты в истории сообщений

Примеры запросов агенту

  • /fork-map
  • Открой карту веток текущего диалога в Canvas
  • Создай новую CLI-сессию из последней контрольной точки

Как установить chat-fork-map

Команда из источника

copilot plugin install chat-fork-map@awesome-copilot

По шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой

Вопросы о chat-fork-map

Как установить chat-fork-map в GitHub Copilot?

Выполните в терминале команду copilot plugin install chat-fork-map@awesome-copilot и перезагрузите расширения Copilot.

Что делает плагин chat-fork-map?

Он строит визуальную карту сессий Copilot на панели Canvas, отображает историю без дублирования общих реплик и позволяет ответвлять новые диалоги.

Можно ли использовать chat-fork-map с облачными сессиями?

Нет, расширение поддерживает только локальные сессии Copilot и читает файлы events.jsonl из каталога сессий на текущем компьютере.

Исходный текст

SKILL.md · MIT
# Conversation Fork Map

Conversation Fork Map is an experimental GitHub Copilot Canvas Extension for
exploring and branching local Copilot conversations.

It renders a conversation family as session lanes in a side-panel canvas.
Shared history stays in the parent lane, child lanes begin at their fork
checkpoint, and the current session is highlighted. From any completed turn,
you can create a CLI-only child session and continue it with the generated
`copilot --resume=<session-id>` command.

![Conversation Fork Map preview](assets/preview.png)

## Features

- View a complete conversation family without duplicating inherited turns.
- Pan, zoom, fit, and navigate large conversation maps.
- Inspect user prompts, Copilot responses, and expandable execution details.
- Fork any completed turn from an available family session.
- Track session names, summaries, availability, and live transcript updates.
- Preserve missing sessions as tombstones instead of silently dropping lineage.

## Requirements

- GitHub Copilot App / Copilot CLI **1.0.80 or newer** with Canvas support.
- A local Copilot session. Cloud and remote sessions are not supported.
- Read access to the local Copilot event logs under
  `$COPILOT_HOME/session-state` (or `~/.copilot/session-state` when
  `COPILOT_HOME` is not set).
- The Canvas, metadata, local session listing, occupancy, and session fork
  capabilities supplied by the compatible Copilot runtime.

The extension uses the Node.js runtime and Copilot SDK provided by Copilot. No
`npm install` step is required. Installing from source with the included script
also requires Git and PowerShell 7 (`pwsh`).

## Installation

### Install as an Agent Plugin

Before marketplace approval, install directly from the public GitHub
repository:

```powershell
copilot plugin install jdneo/copilot-chat-map
```

Reload Copilot extensions after installation.

### Install from source

```powershell
git clone https://github.com/jdneo/copilot-chat-map.git
Set-Location copilot-chat-map
pwsh -File .\scripts\install-user-extension.ps1
```

The installer copies the extension to
`$COPILOT_HOME/extensions/chat-fork-map`, or
`~/.copilot/extensions/chat-fork-map` when `COPILOT_HOME` is not set. Running
it again upgrades the implementation while preserving the current lineage
index.

### Package layout

- `plugin.json` is the Agent Plugins v1 manifest.
- `com.github.copilot/extensions/chat-fork-map/` contains the packaged Canvas
  extension.
- Root `extension.mjs` and `copilot-extension.json` keep direct extension
  installation compatible.
- `extensions/chat-fork-map/extension.mjs` keeps compatibility with the current
  Awesome Copilot Canvas intake gate.

## Usage

Open a local Copilot session, reload extensions, and run:

```text
/fork-map
```

You can also ask Copilot to open the Conversation Fork Map. Select a completed
turn, then choose the circular **+** on its right border (tooltip: **Fork to
CLI**). After the child is created, run the displayed command in a terminal:

```text
copilot --resume=<session-id>
```

## Local data and privacy

The extension reads each family member's native `events.jsonl` file without
modifying it. It creates structured lineage only after the first successful
fork and stores it locally at:

```text
$COPILOT_HOME/extensions/chat-fork-map/artifacts/lineage-v1.json
```

The lineage index records session relationships and fork checkpoints, not
copies of message content. The installer never writes to or removes files from
Copilot's native `session-state` directory.

## Known limitations

- Only local Copilot sessions are supported.
- Forked children are CLI-only runtime sessions. They may not appear in the
  Copilot App session list, and the Canvas API cannot switch the App's Chat View
  to them. Continue a child with `copilot --resume=<session-id>`.
- Only forks created through Conversation Fork Map are tracked. Existing
  branches created with `/fork` or other tools are not imported automatically.
- Only completed turns can be used as fork checkpoints. Forking is disabled
  while the current session is processing or when another source session is in
  use.
- The canvas is for visualization and branching; it does not provide chat,
  full-text search, session rename/delete, or lineage re-parenting.
- Lineage is stored on the local machine and is not synchronized across devices.
- Canvas/session RPCs and the local `events.jsonl` format are experimental
  compatibility surfaces and may require updates in future Copilot releases.

## Development

Run the test suite with:

```powershell
node --test
```

## License

Licensed under the [MIT License](LICENSE).

© jdneo · MIT · jdneo/copilot-chat-map

Похожие плагины

Все плагины по теме «Настройка агента: память, контекст, субагенты» →
ponytail DietrichGebert Плагин настраивает агента на короткие решения без лишних абстракций. Сгодится, когда нужно использовать возможности уже имеющегося кода и не усложнять задачу. ★ 177 259звёзд репо impeccable pbakaus Даёт агенту словарь дизайнера: 24 команды вроде polish, audit и bolder, чтобы правки интерфейса не сводились к «сделай красиво». ★ 89 321звёзд репо last-30-days-skill mvanhorn Собирает свежие посты, комментарии и транскрипты по любой теме за последний месяц и укладывает их в один отчёт. ★ 65 596звёзд репо claude-hud jarrodwatts Показывает под строкой ввода, сколько контекста занято, какие инструменты работают и как идут задачи. Пригодится, когда сессия длинная и надо видеть расход. ★ 28 914звёзд репо understand-anything Egonex-AI Плагин сканирует проект и строит интерактивный граф файлов, классов и зависимостей с веб-дашбордом. Пригодится при знакомстве с чужим или крупным кодом. ★ 88 429звёзд репо mem0 mem0ai Подключает долговременную память к Claude Code, сохраняя контекст проектов и привычки между сессиями. ★ 67 869звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой