Skip to content

Releases: Doctorgth/live-context-ai-chat

Live-Context AI Chat v1.0.0

Choose a tag to compare

@Doctorgth Doctorgth released this 08 Aug 17:26

Disclaimer: This document is an automatic translation. The original version is in Russian.

🚀 Live-Context AI Chat — User Guide

Live-Context AI Chat is a powerful local desktop environment for interacting with neural networks (Google Gemini, Ollama, vLLM, LM Studio) with direct access to your project files on disk.

No more constant copying and pasting code between your IDE and the chat!


🔥 Key Features

1. 📂 Live File Context

The application reads your project files and folders directly from the disk at the moment a message is sent.

  • Edited code in your editor or switched Git branches?
  • The model will automatically see the up-to-date state of the files on your next prompt.
  • All popular text-based code formats are supported (.py, .js, .ts, .vue, .cpp, .json, .md, etc.).

2. 🧠 Memory Management and History Depth (Context Control)

  • Precise Depth Adjustment: The "History Depth" slider allows you to limit the number of retained messages (e.g., remember only the last 10 turns), preventing the model from becoming overloaded with outdated information and saving tokens.
  • Pinning Messages (📌 Pin): Important instructions, specifications, or background data can be pinned. Pinned messages are never flushed from memory as the conversation continues.

3. 🛠️ Multi-Canvas and Auto-Patching

Enable Canvas mode in the project settings, and the AI will suggest code changes as visual Diff blocks.

  • You can see exactly what is planned to be changed (- old code / + new code).
  • Apply edits directly to the files on your disk in 1 click using the "Apply" button, or revert them.
  • The system automatically adjusts indentation (tabs/spaces) to match your file's style.

🔮 FS-XML Format and Agent Mode

The application supports a special file command syntax (<fs_create>, <fs_edit>). A built-in mini-executor allows the AI to output code edits in FS-XML format, which you can apply directly from the chat window with one click, creating and refactoring entire modules on the fly.

💡 Full Project: Check out the standalone FS-XML Specification & Tools repository for full details, or test the built-in mini version right inside the chat!

5. 🔒 Full Privacy and Encryption

  • Your API keys are not stored in plain text — they are encrypted using AES and bound to your OS user account (Windows DPAPI / Keychain).
  • Full support for local models (Ollama, LM Studio) — your data never leaves your PC.

6. 🎨 Custom Themes and Interface

  • Flexible appearance settings: Light, Dark, and Custom themes.
  • Support for background images, frosted glass effects (Glassmorphism), panel transparency, and custom accent colors.
  • Dual interface language support: Russian and English.

🛠️ Quick Start

  1. Launch: Run Live-Context AI Chat.exe.
  2. Create a Project: In the left panel, click "+ New Project".
  3. Configure API:
    • In the right panel, select a provider (Google or Custom).
    • For Google: paste your free API key from Google AI Studio and click "Save".
    • For Ollama / local models: select Custom, specify the address http://localhost:11434/v1, and enter your model name (e.g., llama3).
  4. Select Files: In the "Context and Instructions" section, click "Edit" next to "Attached Files" and select the project files or folders.
  5. Chat: Ask questions in the chat, attach screenshots via Ctrl+V or the paperclip icon, and enjoy using your smart AI assistant!

📌 How to Pin to Taskbar

[EN]

To pin the application to your taskbar correctly:

  • Do not pin the application while it is already running.
  • Instead, simply drag the file Live-Context AI Chat.exe with your mouse and drop it onto the Taskbar.
  • This ensures the correct icon and name are preserved.
    🚨 IMPORTANT regarding the XML Executor (FS-XML):
  1. Markdown Formatting Required: The "Execute" button appears only if the AI wraps the XML in a Markdown code block (using triple backticks ```xml ... ```). If the button doesn't show up, it is an LLM formatting issue, not an app bug.
    • Quick Fix: Edit the assistant's message using the Pencil ✏️ icon and manually wrap the XML block with ```xml at the start and ``` at the end.
  2. System Prompt Tip: To ensure consistent behavior, add this instruction to your System Prompt: "Always wrap XML execution commands inside a Markdown code block ```xml ... ``` ".
  3. Lite Model Limitations: Lite/smaller models (e.g., flash-lite or small local LLMs) may struggle or refuse to output XML inside Markdown blocks. For reliable agentic execution, full-featured models are recommended.

🚀 Live-Context AI Chat — Руководство пользователя

Live-Context AI Chat — это мощный локальный рабочий стол для общения с нейросетями (Google Gemini, Ollama, vLLM, LM Studio) с прямым доступом к файлам вашего проекта на диске.

Больше не нужно постоянно копировать код из IDE в чат и обратно!


🔥 Киллер-фичи приложения

1. 📂 Живой контекст с диска (Live File Context)

Приложение считывает файлы и папки вашего проекта непосредственно с диска в момент отправки сообщения.

  • Вы поправили код в редакторе или переключили ветку в Git?
  • Модель автоматически увидит актуальное состояние файлов при следующем вопросе.
  • Поддерживаются все популярные текстовые форматы кода (.py, .js, .ts, .vue, .cpp, .json, .md и др.).

2. 🧠 Управляемая память и глубина истории (Context Control)

  • Точная настройка глубины: Слайдер «Глубина истории» позволяет ограничить количество удерживаемых сообщений (например, помнить только последние 10 ходов), чтобы модель не перегружалась устаревшей информацией и не расходовала лишние токены.
  • Закрепление сообщений (📌 Pin): Важные инструкции, ТЗ или вводные данные можно закрепить. Закрепленные сообщения никогда не вымываются из памяти при продолжении диалога.

3. 🛠️ Мультиканвас и автокодинг (Multi-Canvas Auto-Patching)

Включите режим Canvas в настройках проекта, и ИИ будет предлагать изменения кода в виде наглядных Diff-блоков.

  • Вы видите точно, что планируется изменить (- старый код / + новый код).
  • Применяйте правки прямо в файлы на вашем диске в 1 клик кнопкой «Применить» или откатывайте их назад.
  • Система автоматически подстраивает отступы (табы/пробелы) под стиль вашего файла.

🔮 Агентский режим и формат FS-XML

Приложение поддерживает специальный синтаксис файловых команд (<fs_create>, <fs_edit>). В чат встроен мини-исполнитель: нейросеть формирует правки в формате FS-XML, а вы можете применять их к проекту прямо из окна чата в один клик, создавая и рефакторя целые модули на лету.

💡 Полноценная версия: Загляните в отдельный репозиторий проекта Спецификации и утилит FS-XML для знакомства с полной версией, либо попробуйте встроенный инструмент прямо в чате!

5. 🔒 Полная приватность и шифрование

  • Ваши API-ключи не хранятся в открытом виде — они шифруются алгоритмом AES и привязываются к вашей учетной записи в ОС (Windows DPAPI / Keychain).
  • Полная поддержка локальных моделей (Ollama, LM Studio) — ваши данные вообще не покидают ваш ПК.

6. 🎨 Кастомные темы и интерфейс

  • Гибкая настройка оформления: Светлая, Темная и Кастомная темы.
  • Поддержка фоновых изображений, эффекта матового стекла (Glassmorphism), прозрачности панелей и настройки акцентных цветов.
  • Поддержка двух языков интерфейса: Русский и English.

🛠️ Быстрый старт

  1. Запуск: Запустите Live-Context AI Chat.exe.
  2. Создание проекта: В левой панели нажмите «+ Новый проект».
  3. Настройка API:
    • В правой панели выберите провайдера (Google или Custom).
    • Для Google: вставьте ваш бесплатный ключ из Google AI Studio и нажмите «Сохранить».
    • Для Ollama / локалок: выберите Custom, укажите адрес http://localhost:11434/v1 и имя вашей модели (например, llama3).
  4. Выбор файлов: В разделе «Контекст и Инструкции» нажмите «Редактировать» напротив «Прикрепленные файлы» и отметьте файлы или папки проекта.
  5. Общение: Пишите вопросы в чате, прикрепляйте скриншоты через Ctrl+V или скрепку и пользуйтесь умным ИИ-ассистентом!

📌 Как закрепить на панели задач

[RU]

Чтобы правильно закрепить приложение на панели задач:

  • Не закрепляйте уже запущенное окно.
  • Вместо этого просто перетащите файл Live-Context AI Chat.exe мышкой на панель задач.
  • Это гарантирует сохранение правильной иконки и названия при запуске.

🚨 ВАЖНО по работе XML-исполнителя (FS-XML):

  1. Требование к Маркдауну: Кнопка «Исполнить» появляется только если нейросеть оформила XML в Маркдаун-блок кода (обернула в тройные обратные кавычки ```xml ... ```). Если кнопка не появилась — это не баг чата, а сбой форматирования на стороне модели.
    • Быстрое решение: Отредактируйте сообщение кнопкой ✏️ (Карандаш) и добавьте ```xml в начале XML-блока и ``` в конце.
  2. Настройка System Prompt: Чтобы предотвратить сбои форматирования, добавьте в System Prompt инструкцию: "Всегда обворачивай XML-команды в Маркдаун блок ```xml ... ``` ".
  3. Ограничения Lite-моделей: Легковесные модели (например, flash-lite или компактные локалки) могут подтупливать и принципиально пропускать Маркдаун-обертку. Для стабильной работы агентского режима рекомендуется использовать полноразмерные модели.