All notable changes to artisanpack-ui/ai will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
1.1.0 - 2026-07-21
Added
- New
ap.ai.promptGeneratedfilter hook, fired insideLaravelAiAgentPrompter::prompt()before the provider call. Lets apps inject safety prompts, scrub PII, or add context uniformly across every agent. Signature:(string $prompt, array $context). - New
ap.ai.responseReceivedaction hook, fired after the provider returns and before JSON decoding. The standard audit / logging seam. Signature:(string $response, array $context).
Changed
- Renamed hook
ap.ai.register-features→ap.ai.registerFeaturesto align with cross-package hooks convention. Old name registered as a deprecation alias. Alias removal deferred to next major. - Bumped
artisanpack-ui/hooksto^1.3.
1.0.0 - 2026-07-06
Initial stable release of the shared AI foundation for the ArtisanPack UI ecosystem, built on top of laravel/ai.
Added
ArtisanPackAgentbase class, feature registry, and credential resolver providing the foundation every downstream AI-powered package builds on.- Encrypted credential storage with a chained resolver so credentials can be sourced from settings, config, or environment.
- Usage tracking pipeline:
ai_usage_eventstable,PersistAgentUsagelistener,AiUsageRepository, and aPurgeUsageEventsJobfor retention. - Streaming support via
AgentStreamResponsefor token-by-token responses to the client. - Budget tracking with
CostEstimator,BudgetSettings,BudgetThresholdCrossedevent,CheckBudgetThresholdJob, andBudgetWarningMail. - Cross-cutting agents shipped in the core package:
AltTextGenerationAgent,ContentRewriteAgent, andSummarizationAgent. - Admin surface:
AiSettings,FeatureToggles, andUsageDashboardLivewire components for the ArtisanPack UI admin panel. - Config-based prompt and model overrides so downstream apps can tune agents without subclassing.
- Ollama as a first-class provider — every shipped agent works against Ollama alongside a cloud provider so self-hosted deployments never pay per-token fees.
- JSON API (
routes/api.php) for settings, features, usage, and connection testing with anAbstractAdminControllerbase. ConnectionTestersupport utility andRotateAiCredentialsCommandartisan command.- Documentation restructured into
docs/with getting-started, guide, integration (including React and Vue examples), and reference sections.

