Skip to content
This repository was archived by the owner on Jul 15, 2026. It is now read-only.

Releases: jorgepb96/optimAIzer

v0.0.4 - Token Optimization & Prompt Caching

Choose a tag to compare

@jorgepb96 jorgepb96 released this 09 Apr 07:48

What's New

Automatic Conversation Compaction

When conversation history exceeds the token limit, evicted messages are now automatically summarized into a compact context summary instead of being silently discarded. This preserves key context across long conversations.

Changes:

  • Engine auto-summarizes evicted messages using the same provider/model
  • Re-summarization triggers only when ≥10 new messages are evicted (avoids per-turn cost)
  • Shows a visible "🔄 Compacting conversation..." notification to the user
  • Summary is persisted to disk alongside conversation history

Prompt Caching for OpenRouter (Anthropic models)

Anthropic models routed through OpenRouter now benefit from prompt caching, matching the native Anthropic provider behavior.

Changes:

  • Detects Anthropic models on OpenRouter (anthropic/* or claude)
  • Applies cache_control: { type: "ephemeral" } on system prompt and prefix messages
  • Applied to chat(), chatWithTools(), and chatStream() methods
  • Graceful fallback: non-Anthropic models on OpenRouter are unaffected

Prompt Caching Summary (all providers)

Provider Caching Type
Anthropic ✅ Explicit cache_control (already implemented)
OpenAI ✅ Automatic (prefix-based, ≥1024 tokens)
Google Gemini ✅ Implicit automatic
Groq ✅ Automatic
OpenRouter ✅ cache_control passthrough for Anthropic models

UI: Uninstall All Skills Button

Added a convenience button to uninstall all built-in skills at once when all are already installed.

Full Changelog

v0.0.3...v0.0.4

v0.0.3 - Bilingual Skills

Choose a tag to compare

@jorgepb96 jorgepb96 released this 08 Apr 19:38

What's New

Bilingual Skills System (English/Spanish)

Skills are now language-aware. When an agent is configured in English, skills display and inject English content. When in Spanish, they use Spanish content.

Changes:

  • Added bilingual fields (name_en, description_en, tags_en, instructions_en) to the Skill interface
  • Skill parser now supports <!-- lang:en --> body separator for English instructions
  • Prompt builders select localized content based on agent language
  • Frontend skill cards display localized names, descriptions, and tags
  • All 43 builtin skill files now include full English translations

Full Changelog

v0.0.2...v0.0.3

v0.0.2 — Skills System

Choose a tag to compare

@jorgepb96 jorgepb96 released this 08 Apr 16:45

🚀 v0.0.2 — Skills System

✨ New Features

Modular Skills System

  • 43 built-in skills organized into 6 categories, each providing specialized agent instructions:
    • 🔌 Integration (9): Gmail, Google Calendar, iCloud Calendar, Home Assistant, Radarr, Sonarr, Telegram, Vision, Transcription
    • ⚡ Productivity (8): Daily Briefing, Pomodoro Focus, Habit Tracker, Smart Scheduling, Automation Workflows, Project Manager, Personal Memory, Contact CRM
    • 💰 Finance (6): Expense Tracker, Financial Analysis, Crypto Tracker, Subscriptions & Bills, Shopping Assistant, Price Monitor
    • 🏠 Lifestyle (6): Cooking Recipes, Home Maintenance, Pet Care, Gardening, Health & Fitness, Travel Planner
    • 📚 Knowledge (7): Content Recommender, News Digest, Learning Tutor, Podcast/Video Summarizer, Language Translator, Copywriting & Content, Document Summarizer
    • 💻 Developer (7): Code Assistant, System Admin, Data Analysis, DevOps & Docker, Git Assistant, API Tester, Web Research

Skills Tab in Agent Config

  • New "Skills" tab with category filter pills (emoji badges + counts)
  • Text search across skill names, descriptions, and tags
  • Skills grouped by category with section headers
  • One-click install via + button per skill
  • "Install all" bulk action
  • Toggle enable/disable and delete per installed skill
  • Refresh button to reload catalog

On-Demand Auto-Install

  • Skills automatically install when the user message matches a skill's keyword triggers
  • No more hardcoded skill lists at deploy time — agents start lean and grow as needed
  • Integration skills still auto-install based on agent config (Gmail enabled → Gmail skill)

Skills Registry & API

  • Auto-discovery of .skill.md files from builtins/ directory
  • YAML frontmatter format with category, triggers, tags, priority
  • 6 REST API endpoints: list builtins, list agent skills, install, install-all, toggle, delete
  • Category field on Skill/SkillSummary types with full serialization support

🐛 Bug Fixes

  • Fixed BUILTINS_DIR resolution failing in production/Docker (multi-path fallback)
  • Fixed individual skill install button calling bulk install API instead of single install
  • Fixed Gmail integration block nested wrapper causing layout issues
  • Fixed Home Assistant integration block double-nested collapsible
  • Added .skill.md files to Docker image (COPY in Dockerfile)

🎨 UI Improvements

  • SVG integration icons for Gmail, Google Calendar, iCloud Calendar, Home Assistant, Radarr, Sonarr
  • New SvgAssetIcon component for consistent SVG rendering
  • Flattened Gmail and Home Assistant config blocks in integrations tab
  • Skills awareness added to agent discipline blocks (ES + EN)

📦 Full Changelog

v0.0.1...v0.0.2

v0.0.1

Choose a tag to compare

@jorgepb96 jorgepb96 released this 16 Feb 12:23
Release v0.0.1