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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75f81415cbef670b8f1b25d589fd76ba7247a4ad11cbde7c1e7d4dcd30de6c17
4
- data.tar.gz: 5004a2323dd732f3ecfb2095444881db38bed873d7c81ee50bf79a221f40ecb6
3
+ metadata.gz: 467ae958ec880ab1d8b68a96af59513b371d3ff77beca2e2a50b198d262f49e8
4
+ data.tar.gz: 92bf430e1aeb96cb9bb0cb1d7719fa8c181b9f946984bd014811da2e03e574d4
5
5
  SHA512:
6
- metadata.gz: bac117ac0455e2ae8c1c1e1bc488111af07bbcc0cbf3a7387ea10ef5e6116f2efd420002ca375a67b3866d7c8788fe5b31a7c3a86efbcb5a7fc41929a240eacf
7
- data.tar.gz: 8a03083ac996cad990e8f24f9c028435edfe37442848daa0873b1bd999ccc77827a7f2660df7f131cfe987a46c873113932878f2d3931c4ab39504da20fc8cd1
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 `~> 0.25.0` (see the README upgrade note).
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 | 2025-11-25 (Streamable HTTP) |
530
- | MCP SDK (`mcp` gem) | `~> 0.25.0` |
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
- The `mcp` SDK is pre-1.0; minor releases may break. This gem pins `~> 0.25.0` 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`.
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TalkToYourApp
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
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.1.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: 0.25.0
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: 0.25.0
25
+ version: '1.4'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: activerecord
28
28
  requirement: !ruby/object:Gem::Requirement