Skip to content

Releases: mbs047/model-mind

v1.0.15 - Queueable Learning and Summarization

20 May 21:54

Choose a tag to compare

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, and queue modes.
  • 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:install now publishes public assets by default.

Removed

  • Removed inline CSS/JS Blade views; the package now uses public .css and .js assets only.

Verification

  • vendor/bin/phpunit passed: 37 tests, 352 assertions.
  • composer validate --strict --no-check-publish passed.

v1.0.14 - Retrieval, Streaming, Providers, and Analytics

20 May 21:14

Choose a tag to compare

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 StreamingModelMindProvider contract.
  • 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:analytics command and ModelMindAnalyticsRecorded event so Laravel apps can build dashboards or mirror analytics into their own observability stack.

Verification

  • composer validate --strict --no-interaction
  • node --check resources/dist/model-mind.js
  • find src config database routes tests -name '*.php' -print0 | xargs -0 -n1 php -l
  • vendor/bin/pint --dirty --format agent
  • vendor/bin/phpunit

v1.0.13

20 May 20:29

Choose a tag to compare

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

20 May 20:22

Choose a tag to compare

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

20 May 20:16

Choose a tag to compare

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

20 May 20:03

Choose a tag to compare

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 agent
  • vendor/bin/phpunit
  • composer validate --strict --no-interaction

v1.0.9

20 May 19:04

Choose a tag to compare

Added

  • Documentation for multilingual answers from a single-language application database.

Verification

  • vendor/bin/pint --format agent
  • vendor/bin/phpunit
  • composer validate --strict
  • node --check resources/dist/model-mind.js
  • git diff --check
  • find src config routes database tests -name '*.php' -print0 | xargs -0 -n1 php -l

v1.0.8

20 May 18:58

Choose a tag to compare

Added

  • Configurable default questions through assistant.default_questions and MODEL_MIND_DEFAULT_QUESTIONS.
  • Configurable session expiry through memory.session_lifetime_minutes and MODEL_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 agent
  • vendor/bin/phpunit
  • composer validate --strict
  • node --check resources/dist/model-mind.js
  • git diff --check
  • find src config routes database tests -name '*.php' -print0 | xargs -0 -n1 php -l

v1.0.7

20 May 18:32

Choose a tag to compare

Added

  • Dynamic named-route action labels through label_column and label_template, so repeated route buttons can display record-specific text like View 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 agent
  • vendor/bin/phpunit
  • composer validate --strict
  • node --check resources/dist/model-mind.js
  • git diff --check
  • find src config routes database tests -name '*.php' -print0 | xargs -0 -n1 php -l

v1.0.6

20 May 18:22

Choose a tag to compare

Added

  • Public asset publishing for the default CSS and JavaScript through model-mind:publish-assets, the model-mind-assets tag, and model-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-context command 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