rails-ai-context 0.7.1 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7aa2c43d22465356700ded7ac615f4d38ba24e1bee512658dc1ec43196935e9c
4
- data.tar.gz: f718d8e2c3b790294e212c557216cd2babd99459fea3a5f1245f9ad09329e52d
3
+ metadata.gz: 2e6efb0468b245ebcc4945086d0091ccdf7a5df5395af4cfde7a928ec2861c93
4
+ data.tar.gz: f956c81dc980e2622e04d6957ad59c054e33f416f5e37eb11c8d4466c255fa00
5
5
  SHA512:
6
- metadata.gz: c4c9d908941193ffd7cda89bc8a5da67a9531ffd09e723382eebc39c7ac77a06faa3958bf4048f550d0d3a5883edf9f8a67a2b62c65130847589db53d954fe5d
7
- data.tar.gz: 38a1f37c770eff7680ed3b0acb43627a5ba36b8168eafbf087907d8e5445103ec4cc06b4cb08103e48baf772c710d6333278759789f3bcc44e7b745787cc9b11
6
+ metadata.gz: 4b2eeb539cff753960b5f6718c7d3e7ec476dd56440785369ed7af6d40af9aa20ea4d213ed09e1d3cfa7f94e244f7a9a15ad57385fb6ddc88e1a338bc1aedbfe
7
+ data.tar.gz: '099e4dee7daefb3bddad34d9b10c3a25c8d6ff906b797f1acd35f5ae17ae169b89cf954b0cc73d7ae7fc557af6e3a3c08535d2d348ce364c08647050ff9eb19b'
data/CHANGELOG.md CHANGED
@@ -5,11 +5,19 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.8.0] - 2026-03-19
9
+
10
+ ### Added
11
+
12
+ - **MCP Live Reload** — when running `rails ai:serve`, file changes automatically invalidate tool caches and send MCP notifications (`notifications/resources/list_changed`) to connected AI clients. The AI's context stays fresh without manual re-querying. Requires the `listen` gem (enabled by default when available). Configurable via `config.live_reload` (`:auto`, `true`, `false`) and `config.live_reload_debounce` (default: 1.5s).
13
+ - **Live reload doctor check** — `rails ai:doctor` now warns when the `listen` gem is not installed.
14
+
8
15
  ## [0.7.1] - 2026-03-19
9
16
 
10
17
  ### Added
11
18
 
12
19
  - **Full MCP tool reference in all context files** — every generated file (CLAUDE.md, .cursorrules, .windsurfrules, copilot-instructions.md) now includes complete tool documentation with parameters, detail levels, pagination examples, and usage workflow. Dedicated `rails-mcp-tools` split rule files added for Claude, Cursor, Windsurf, and Copilot.
20
+ - **MCP Registry listing** — published to the [official MCP Registry](https://registry.modelcontextprotocol.io) as `io.github.crisnahine/rails-ai-context` via mcpb package type.
13
21
 
14
22
  ### Fixed
15
23
 
data/CLAUDE.md CHANGED
@@ -16,6 +16,7 @@ structure to AI assistants via the Model Context Protocol (MCP).
16
16
  - `lib/rails_ai_context/middleware.rb` — Rack middleware for auto-mounting MCP HTTP endpoint
17
17
  - `lib/rails_ai_context/fingerprinter.rb` — SHA256 file fingerprinting for cache invalidation
18
18
  - `lib/rails_ai_context/doctor.rb` — Diagnostic checks and AI readiness scoring
19
+ - `lib/rails_ai_context/live_reload.rb` — MCP live reload: watches files, invalidates caches, notifies AI clients
19
20
  - `lib/rails_ai_context/watcher.rb` — File watcher for auto-regenerating context files
20
21
  - `lib/rails_ai_context/engine.rb` — Rails Engine for auto-integration
21
22
  - `lib/generators/rails_ai_context/install/` — Install generator (creates .mcp.json, initializer, context files)