Releases: mbs047/model-mind
Releases · mbs047/model-mind
v1.0.15 - Queueable Learning and Summarization
Added
- Queueable background jobs for conversation compaction, assistant-answer learning, liked-answer learning, analytics writes, feedback analytics, and action-click analytics.
- Background work configuration with
sync,after_response, andqueuemodes. - Current page context support, extension events/hooks, and public-asset-only widget CSS/JS loading from the pending unreleased work.
Changed
- Chat responses now keep heavier memory, summary, and analytics work off the main response path by default using
after_response. model-mind:installnow publishes public assets by default.
Removed
- Removed inline CSS/JS Blade views; the package now uses public
.cssand.jsassets only.
Verification
vendor/bin/phpunitpassed: 37 tests, 352 assertions.composer validate --strict --no-check-publishpassed.
v1.0.14 - Retrieval, Streaming, Providers, and Analytics
Added
- Ranked retrieval with weighted columns, fuzzy matching, multilingual normalization, optional Scout support, and optional vector-search integration.
- Streaming responses for the Blade widget and headless API through the new
StreamingModelMindProvidercontract. - Provider drivers for OpenAI, Anthropic, Gemini, Ollama, and custom provider classes.
- Usage analytics for completed answers, failures, feedback submissions, route/action clicks, latency, provider/model usage, and token usage when the provider returns usage metadata.
model-mind:analyticscommand andModelMindAnalyticsRecordedevent so Laravel apps can build dashboards or mirror analytics into their own observability stack.
Verification
composer validate --strict --no-interactionnode --check resources/dist/model-mind.jsfind src config database routes tests -name '*.php' -print0 | xargs -0 -n1 php -lvendor/bin/pint --dirty --format agentvendor/bin/phpunit
v1.0.13
Added
- Built-in configuration presets for store, admin, support, docs, and CRM applications.
- MODEL_MIND_PRESET project marker and model-mind:preset Artisan command for listing, previewing, and exporting preset recommendations.
- Preset recommendations for model config, starter questions, retrieval settings, security settings, and route actions.
- Expanded preset repository that returns copyable config payloads keyed by model class.
- Documentation for safely adapting each preset to real application model classes, route names, columns, and authorization rules.
v1.0.12
Added
- Headless JSON API mode for React, Vue, Inertia, mobile, and other custom clients.
- Separate configurable API route group with manifest, chat, session restore, and feedback endpoints.
- API manifest response with assistant labels, feature flags, limits, and endpoint URLs for embeddable UIs.
- Stateless session flow where clients store and resend session_id.
- model-mind-api rate limiter plus documentation for adding API auth middleware such as Sanctum.
- Tests covering the manifest contract and headless chat/session round trip.
v1.0.11
Added
- Source citations for assistant answers with model label, record label, cited fields, and optional route action buttons.
- Safe source tokens in enabled model context with server-side validation and cleanup.
- Citation inference when answers clearly mention enabled records, including multilingual answers.
- Configurable citation labels, token name, maximum citations, and maximum cited columns.
- Documentation and tests for source citation setup and response persistence.
v1.0.10
Added
- Authorization and user-aware context with current user, guard, role, permission, and tenant prompt context.
- Per-model user and tenant query scoping plus Laravel Gate/policy checks before records enter AI context.
- Authorization callbacks and
HasModelMindContext::modelMindAuthorization()for model-owned access rules. - Route action authorization so tokens for records the current user cannot view are discarded.
- Documentation for admin, SaaS, customer portal, tenant, Gate, and callback authorization setups.
Verification
vendor/bin/pint --dirty --format agentvendor/bin/phpunitcomposer validate --strict --no-interaction
v1.0.9
Added
- Documentation for multilingual answers from a single-language application database.
Verification
vendor/bin/pint --format agentvendor/bin/phpunitcomposer validate --strictnode --check resources/dist/model-mind.jsgit diff --checkfind src config routes database tests -name '*.php' -print0 | xargs -0 -n1 php -l
v1.0.8
Added
- Configurable default questions through
assistant.default_questionsandMODEL_MIND_DEFAULT_QUESTIONS. - Configurable session expiry through
memory.session_lifetime_minutesandMODEL_MIND_SESSION_LIFETIME_MINUTES. - Multilingual route action recovery, so approved route buttons can still appear when the assistant answers in Arabic or another language without copying exact route tokens.
Changed
- Renamed the demo link to Market Lane Store in the README.
Verification
vendor/bin/pint --format agentvendor/bin/phpunitcomposer validate --strictnode --check resources/dist/model-mind.jsgit diff --checkfind src config routes database tests -name '*.php' -print0 | xargs -0 -n1 php -l
v1.0.7
Added
- Dynamic named-route action labels through
label_columnandlabel_template, so repeated route buttons can display record-specific text likeView Samsung Galaxy S24 Ultra. - Simple and advanced documentation examples covering core setup plus the full professional configuration surface.
- GitHub Sponsors metadata through
.github/FUNDING.yml.
Verification
vendor/bin/pint --format agentvendor/bin/phpunitcomposer validate --strictnode --check resources/dist/model-mind.jsgit diff --checkfind src config routes database tests -name '*.php' -print0 | xargs -0 -n1 php -l
v1.0.6
Added
- Public asset publishing for the default CSS and JavaScript through
model-mind:publish-assets, themodel-mind-assetstag, andmodel-mind:install --assets. - Question-aware model retrieval so answers can include relevant enabled records that are outside the cached static context window.
model-mind:clear-contextcommand for clearing the cached application context after data or config changes.
Changed
- Split the usage documentation into focused feature guides.
Verification
- composer validate --strict
- vendor/bin/phpunit
- vendor/bin/pint --format agent