release: prepare v0.1.2 dark theme and python recovery for GitHub

This commit is contained in:
ilya-bov
2026-03-06 11:00:33 +03:00
parent 138093b5e4
commit 19b7dfeb92
8 changed files with 83 additions and 6 deletions

View File

@@ -2,6 +2,20 @@
All notable changes to this project will be documented in this file.
## [0.1.2] - 2026-03-06
### Added
- Dark mode toggle in `Dashboard -> Settings -> Appearance`.
- Saved theme is applied on app layout load (`<html class="dark">`) for consistent rendering.
### Changed
- Python code execution now prefers project-local virtualenv interpreters (`.venv`/`venv`) when present.
- Python dependency recovery now includes project-local venv fallback for environments where system pip is blocked.
- Prompt guidance updated to use `install_packages(kind=python)` and virtualenv fallback when needed.
### Fixed
- Project file tree now hides `.venv` and `venv` directories alongside `.meta`.
## [0.1.1] - 2026-03-03
### Added

View File

@@ -22,8 +22,8 @@ The app runs as a Next.js service and stores runtime state on disk (`./data`).
## Releases
- Latest release snapshot: [0.1.1 - Unified Context](./docs/releases/0.1.1-unified-context.md)
- GitHub release body (ready to paste): [v0.1.1](./docs/releases/github-v0.1.1.md)
- Latest release snapshot: [0.1.2 - Dark Theme and Python Recovery](./docs/releases/0.1.2-dark-theme-python-recovery.md)
- GitHub release body (ready to paste): [v0.1.2](./docs/releases/github-v0.1.2.md)
- Release archive: [docs/releases/README.md](./docs/releases/README.md)
## Contributing and Support

View File

@@ -0,0 +1,39 @@
# Eggent 0.1.2 - Dark Theme and Python Recovery
Date: 2026-03-06
Type: Patch release snapshot
## Release Name
`Dark Theme and Python Recovery`
This release packages three focused improvements: user-selectable dark mode, stronger Python package recovery through virtualenv fallback, and cleaner project file trees by hiding virtualenv folders.
## What Is Included
### 1) Settings and UI Theme
- Added `Appearance -> Dark mode` toggle in `Dashboard -> Settings`.
- Theme preference now applies to the root layout (`<html class="dark">`) based on saved settings.
### 2) Python Runtime and Dependency Recovery
- Python execution now prefers project-local interpreters from `.venv` or `venv` when available.
- Python execution environment now injects virtualenv context (`VIRTUAL_ENV`, `PATH`) when using a local venv.
- `install_packages` Python flow now includes fallback plan:
- create local virtualenv (`python3 -m venv .venv` or `python -m venv .venv`)
- install requested dependencies with `.venv/bin/python -m pip install ...`
- Prompt guidance updated to route Python missing-dependency recovery through `install_packages(kind=python)` with virtualenv fallback when system pip is blocked.
### 3) Project Files Visibility
- Hidden project entries now include `.venv` and `venv` in addition to `.meta`.
## New in 0.1.2
- Added dark mode toggle and persisted theme application in layout.
- Improved Python dependency recovery with project-local virtualenv fallback.
- Hid Python virtualenv directories from project file listings.
- Bumped package and health version to `0.1.2`.
## Upgrade Notes
- No data migration required.
- Existing projects continue to run as-is.
- If a project has `.venv`/`venv`, Python tool execution will now prefer that interpreter.

View File

@@ -4,4 +4,5 @@ This directory contains release summaries and publish-ready notes.
| Version | Name | Date | Notes |
| --- | --- | --- | --- |
| `0.1.2` | Dark Theme and Python Recovery | 2026-03-06 | [Full snapshot](./0.1.2-dark-theme-python-recovery.md), [GitHub body](./github-v0.1.2.md) |
| `0.1.1` | Unified Context | 2026-03-03 | [Full snapshot](./0.1.1-unified-context.md), [GitHub body](./github-v0.1.1.md) |

View File

@@ -0,0 +1,23 @@
## Eggent v0.1.2 - Dark Theme and Python Recovery
Patch release focused on UX polish and Python runtime resilience: dark mode controls, safer dependency recovery, and cleaner project file tree output.
### Highlights
- Added `Dashboard -> Settings -> Appearance -> Dark mode` toggle.
- Applied saved dark mode directly in root layout for consistent initial render.
- Improved Python package recovery with project-local virtualenv fallback when system pip is blocked.
- Python execution now prefers `.venv`/`venv` interpreter and environment when present.
- Hidden `.venv` and `venv` from project file tree output.
- Version bump to `0.1.2` across package metadata and `GET /api/health`.
### Upgrade Notes
- No migration step required.
- Existing projects keep working without changes.
- Projects with local virtualenvs now get automatic interpreter preference for Python execution.
### Links
- Full release snapshot: `docs/releases/0.1.2-dark-theme-python-recovery.md`
- Installation and update guide: `README.md`

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "design-vibe",
"version": "0.1.1",
"version": "0.1.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "design-vibe",
"version": "0.1.1",
"version": "0.1.2",
"dependencies": {
"@ai-sdk/anthropic": "^3.0.37",
"@ai-sdk/google": "^3.0.21",

View File

@@ -1,6 +1,6 @@
{
"name": "design-vibe",
"version": "0.1.1",
"version": "0.1.2",
"private": true,
"scripts": {
"dev": "next dev",

View File

@@ -2,6 +2,6 @@ export async function GET() {
return Response.json({
status: "ok",
timestamp: new Date().toISOString(),
version: "0.1.1",
version: "0.1.2",
});
}