Skip to content

Releases: Pamacea/z-daemon

Daemon v0.6.4 - Restore v0.5.1 Behavior

24 Feb 19:57

Choose a tag to compare

Daemon v0.6.4 - Restore v0.5.1 Behavior 🔄

🔥 Critical Fixes

This release restores the original v0.5.1 behavior that was lost in the TypeScript rewrite.

What Changed

Before (v0.6.3 - broken):

  • ❌ Only created files at project root
  • ❌ Required manual Docker setup
  • ❌ No automatic container management
  • ❌ EXECUTE.md without context

After (v0.6.4 - fixed):

  • Auto-checks Docker and builds image if missing (~500MB, one-time)
  • Auto-starts or creates Docker container
  • Creates .daemon/EXECUTE.md with detected context
  • Beautiful progress output with step-by-step feedback
  • Clear AI agent instructions at the end

📦 Files Generated

When running npx @oalacea/daemon@latest:

your-project/
└── .daemon/
    └── EXECUTE.md    # AI testing instructions with detected context

🎯 Usage

# One command to rule them all
npx @oalacea/daemon@latest

# The CLI will:
# 1. ✓ Check Docker is running
# 2. ✓ Build image if needed (~500MB, one-time)
# 3. ✓ Start/create container
# 4. ✓ Detect your project framework
# 5. ✓ Create .daemon/EXECUTE.md with context
# 6. ✓ Show instructions for your AI agent

Then tell your AI agent:

Read ./.daemon/EXECUTE.md and start the testing process

🔧 What the AI Agent Gets

The .daemon/EXECUTE.md file now includes:

> **DETECTED CONTEXT**
> Framework: Next.js
> Language: TypeScript
> Test Runner: Vitest
> Database: PostgreSQL (Prisma)
> Target: http://localhost:3000

> **IMPORTANT**:
> - Use this detected context. Do not re-detect.
> - Always read source code before generating tests.

> **WORKFLOW**:
> 1. Read ./.daemon/EXECUTE.md for full instructions
> 2. Generate tests following the detected patterns
> 3. Run tests via Docker container
> 4. Fix failures iteratively until all pass
> 5. Generate final report

[... full EXECUTE.md content ...]

🐛 Bug Fixes

  • Directory structure: EXECUTE.md now in .daemon/ not root
  • Context injection: Detected framework added to prompt
  • Docker automation: Full auto-setup like v0.5.1
  • Output formatting: Progress bars and colors

🙏 Credits

Original behavior restored from v0.5.1 commit by Yanis.


Full Changelog: v0.6.3...v0.6.4

Daemon v0.6.3 - Auto-init & Documentation Fix

24 Feb 19:51

Choose a tag to compare

Daemon v0.6.3 - Auto-init & Documentation Fix

🚀 Features

Auto-initialization

  • Running npx @oalacea/daemon@latest now automatically initializes your project
  • No need to manually type daemon init on first use
  • Detects if daemon.config.json exists and skips auto-init if already configured

Documentation Generation

  • EXECUTE.md: Automatically copied to your project with complete AI testing instructions
  • Dockerfile.daemon: Docker configuration for testing tools automatically created
  • Enhanced help text with getting started guide

🐛 Fixes

  • ES Module Compatibility: Fixed __dirname is not defined error in ES modules
  • Better UX: Clear next steps displayed after initialization
  • Version Consistency: All version references updated to 0.6.3

📦 Files Generated

After running npx @oalacea/daemon@latest:

your-project/
├── daemon.config.json      # Daemon configuration
├── EXECUTE.md              # AI testing instructions
├── Dockerfile.daemon       # Docker setup
└── tests/
    ├── unit/
    ├── integration/
    └── e2e/

🎯 Usage

# Install and auto-initialize in one command
npx @oalacea/daemon@latest

# Then build Docker
docker build -t daemon-tools -f Dockerfile.daemon .

# Start container
docker run -d --name daemon-tools -v "$(pwd)":/app daemon-tools

🔗 Links


Full Changelog: v0.6.2...v0.6.3

v0.6.2 - dist/ Fixes

24 Feb 19:42

Choose a tag to compare

Release v0.6.2 - Fix npm package bin entry point

v0.6.1 - Build Fixes

18 Feb 16:06

Choose a tag to compare

Fixes

  • Windows-compatible clean script for cross-platform builds
  • Correct bin path pointing to cli.js instead of index.js
  • Added shebang (#!/usr/bin/env node) for executable CLI
  • Updated CHANGELOG with 0.6.0 and 0.6.1 entries

Installation

npm install @oalacea/daemon@0.6.1

v0.6.0 - TypeScript Migration & Modular Architecture

18 Feb 16:00

Choose a tag to compare

Features

  • Complete TypeScript migration with strict mode
  • Modular architecture (core, services, shared, cli)
  • Comprehensive error system with typed errors
  • Framework detection service (Next.js, Remix, SvelteKit, Nuxt, Vite, Astro, Gatsby, Angular)
  • Docker management service with async operations
  • Structured logging with colors and contexts
  • Command executor with timeout and retry logic
  • File system helper with JSON and directory operations
  • CLI commands (init, detect, test) using command pattern
  • 80 unit tests with >90% coverage

Installation

npm install @oalacea/daemon@0.6.0

v0.5.0

09 Feb 22:32

Choose a tag to compare

v0.5.0 - Alpha Release

AI-powered automated test generation and remediation.

Features

  • 🤖 AI-generated tests
  • 🔍 Automatic bug detection
  • 🛠️ Test remediation suggestions
  • 🌐 Web application support

Status

Alpha release - actively under development