talk_to_your_app 0.1.0 → 0.2.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 +4 -4
- data/CHANGELOG.md +24 -0
- data/LOCAL_DEVELOPMENT.md +1 -1
- data/README.md +3 -3
- data/lib/talk_to_your_app/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 467ae958ec880ab1d8b68a96af59513b371d3ff77beca2e2a50b198d262f49e8
|
|
4
|
+
data.tar.gz: 92bf430e1aeb96cb9bb0cb1d7719fa8c181b9f946984bd014811da2e03e574d4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3e86ab287da1da3cc7669a7bc3c71e3ba435e3a49148df21549895d1092e8165fa1ddd959f33ef2bbc2ecb24513910b4d9b6bf6019db398db529842603548de5
|
|
7
|
+
data.tar.gz: 38994e1cc2a9ef4e935313ea520357771f23a3d281b84a1160efa7da1ef23c9080adb8c18b4c4e4045a8fbfcd34c3cf170068968429f3573b89d9bfcdb5dac4b
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,30 @@ breaking changes.
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.2.0] - 2026-09-02
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
- **`mcp` SDK dependency raised to `~> 1.4`.** 0.1.0 pinned `~> 0.25.0`, which
|
|
13
|
+
cannot resolve alongside a host app on the 1.x SDK. 1.4.0 is the current
|
|
14
|
+
SDK; the 0.25 → 1.4 delta is additive for every API this gem touches
|
|
15
|
+
(`MCP::Server`, `StreamableHTTPTransport`, `MCP::Tool.define`,
|
|
16
|
+
`MCP::Tool::Response`). No gem source changes were needed; the suite passes
|
|
17
|
+
unmodified against 1.4.0. Behavior hosts inherit through this gem: `initialize`
|
|
18
|
+
counter-offers protocol version 2025-11-25 to clients requesting 2026-07-28;
|
|
19
|
+
a crashing tool no longer leaks its exception message into the JSON-RPC
|
|
20
|
+
error response (CWE-209 hardening); the Streamable HTTP transport also
|
|
21
|
+
serves the SEP-2575 sessionless path when a client sends
|
|
22
|
+
`MCP-Protocol-Version: 2026-07-28`; duplicate in-flight JSON-RPC request
|
|
23
|
+
ids on one session are rejected with `409`; and `subscriptions/listen`
|
|
24
|
+
streams are ordered and can be declined by buffering hosts via
|
|
25
|
+
`serve_subscriptions_listen:` (this gem mounts the transport as a Rack app,
|
|
26
|
+
so the SDK default of `true` is correct).
|
|
27
|
+
- The Postgres used by the DB-plugin tests is now configurable via
|
|
28
|
+
`TTYA_TEST_DB_HOST` / `TTYA_TEST_DB_PORT` / `TTYA_TEST_DB_USER`
|
|
29
|
+
(defaults unchanged: `localhost:5432` as `postgres`), so the suite's
|
|
30
|
+
Postgres-backed tests can run in environments where the server lives on
|
|
31
|
+
another host — e.g. a devcontainer's `postgres` service.
|
|
32
|
+
|
|
9
33
|
## [0.1.0] - 2026-07-29
|
|
10
34
|
|
|
11
35
|
First stable release.
|
data/LOCAL_DEVELOPMENT.md
CHANGED
|
@@ -281,4 +281,4 @@ Writing a plugin uses the same public DSL as the bundled ones — see
|
|
|
281
281
|
`test/support/mcp_driver.rb` (the `initialize` handshake → `tools/list` →
|
|
282
282
|
`tools/call`).
|
|
283
283
|
- Keep SDK touch points isolated to `transport/rails_mount.rb` and tool
|
|
284
|
-
compilation; the `mcp` gem is pinned `~>
|
|
284
|
+
compilation; the `mcp` gem is pinned `~> 1.4` (see the README upgrade note).
|
data/README.md
CHANGED
|
@@ -526,14 +526,14 @@ config.stateless = true # required for multi-worker/multi-replica deployments
|
|
|
526
526
|
| --- | --- |
|
|
527
527
|
| Ruby | 3.3+ |
|
|
528
528
|
| Rails | 7.2+ |
|
|
529
|
-
| MCP spec |
|
|
530
|
-
| MCP SDK (`mcp` gem) | `~>
|
|
529
|
+
| MCP spec | 2026-07-28 (Streamable HTTP) |
|
|
530
|
+
| MCP SDK (`mcp` gem) | `~> 1.4` |
|
|
531
531
|
|
|
532
532
|
Tested against Rails 7.2, 8.0, and 8.1 on Ruby 3.3 and 4.0 in CI.
|
|
533
533
|
|
|
534
534
|
## Upgrade discipline
|
|
535
535
|
|
|
536
|
-
|
|
536
|
+
This gem pins the `mcp` SDK to `~> 1.4` and isolates all SDK touch points to the transport mount and tool compilation. Watch the SDK's releases before bumping, and pin it in your own `Gemfile.lock`.
|
|
537
537
|
|
|
538
538
|
This gem is also pre-1.0 — releases may include breaking changes, each documented with migration steps in the **[CHANGELOG](CHANGELOG.md)**.
|
|
539
539
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: talk_to_your_app
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Igor Kasyanchuk
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version:
|
|
18
|
+
version: '1.4'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version:
|
|
25
|
+
version: '1.4'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: activerecord
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|