mcptask-rails-runner 0.3.4 → 0.3.7

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: 2a59e79a3c1d27d4439e3dacd64b8c571b40ec6b09f4298c17e44bc50333266e
4
- data.tar.gz: c5ac6c24611c7e971c3920a47e404302754bbc3be05ad4d5eb66efefdf6dc465
3
+ metadata.gz: d4ee1409bbbcbe22aae073df6ba2425858cfc30d9e74a44e26b8e453335f7d6b
4
+ data.tar.gz: 69b8f65e9a3544fbd90c43d76c355314b4abce819fa663e722bbd687c0a6d620
5
5
  SHA512:
6
- metadata.gz: 5c692cb004f386155b6d238c4a98bdfc613f2103d751a9d3ad5ed866ccacb6afffb47f29b3dd5209de6ea0b147a10830ac31774fe918ffca57114fa947312d2e
7
- data.tar.gz: 84f6b21412e4fe8a44efdeade405aa32b520264acd7fa88290a45b5413932a497db61d05242d8f98d4ea8866668a9f1f0dd14e22ca9a42cc106a2df615fe2776
6
+ metadata.gz: 5d2f9ee07e2ef4d11106fc3f626e90ae4c831fd0cac167a495bc7f04a91ddcd054d9b33608b210f14b4f1529409dc657a83caecf61e1ed8b15db4af9931810f5
7
+ data.tar.gz: 043c441b54f4dd71d13c4e8a256c543e6f37a18228df6ce5adb6223212ad5e15ec6c12536c6dd9bf87b79ffce053817a0c1eb9b94659a099c7441e7ed9196411
data/CHANGELOG.md CHANGED
@@ -5,6 +5,72 @@ entries below describe wrapper changes only. Binary changes are listed in the
5
5
  [mcptask-releases](https://github.com/jchsoft/mcptask-releases/releases)
6
6
  release notes for the same tag.
7
7
 
8
+ ## 0.3.7
9
+
10
+ No wrapper changes. Full notes in
11
+ [mcptask-releases v0.3.7](https://github.com/jchsoft/mcptask-releases/releases/tag/v0.3.7).
12
+
13
+ - **0.3.6 only ever reached one platform — 0.3.7 is that release, delivered.**
14
+ rubygems.org was in the middle of an outage while 0.3.6 was being pushed. The
15
+ six platform gems go up one at a time; `aarch64-linux` landed and the next push
16
+ got a 503, which took the rest of the release down with it. Re-running did not
17
+ help either: rubygems refuses to repush a version that already exists, so the
18
+ job died on the gem it had sent and never reached the five it had not. Every
19
+ platform gets 0.3.7; on `aarch64-linux`, 0.3.6 already carries the same binary.
20
+
21
+ The release job now asks rubygems which gems it already has and skips those, so
22
+ a release interrupted half way can be finished by running it again.
23
+
24
+ ## 0.3.6
25
+
26
+ No wrapper changes. Full notes in
27
+ [mcptask-releases v0.3.6](https://github.com/jchsoft/mcptask-releases/releases/tag/v0.3.6).
28
+
29
+ - **The scheduled job stops running a binary its project has already replaced.**
30
+ `rake mcptask_runner:*` has always installed the gem's bundled binary over
31
+ `~/.mcptask/bin/mcptask_runner` when it was newer; the launchd/systemd job was
32
+ the one path that skipped it, because the generated launcher execs that
33
+ installed copy directly. An unattended host would pull main, run
34
+ `bundle install` while working a task, never call `mcptask_runner:update`, and
35
+ sit on a stale runner indefinitely. A scheduled run now reads the project's own
36
+ `Gemfile.lock`, and if it names a newer wrapper than the running binary, it
37
+ installs that gem's copy and re-runs on it.
38
+
39
+ This is not a download. The runner still never fetches a release on its own —
40
+ it only honours the version already merged and installed on purpose. Set
41
+ `MCPTASK_NO_ADOPT=1` to keep a host's binary pinned regardless.
42
+
43
+ Note the ordering: the already-installed binary is the one that decides whether
44
+ to adopt, so a host starts keeping itself current only once it is running 0.3.6
45
+ or later. Hosts on 0.3.5 and older need one `rake mcptask_runner:update` by hand
46
+ first.
47
+
48
+ ## 0.3.5
49
+
50
+ No wrapper changes — this release carries a new binary. Full notes in
51
+ [mcptask-releases v0.3.5](https://github.com/jchsoft/mcptask-releases/releases/tag/v0.3.5);
52
+ what a host running the scheduled job will notice:
53
+
54
+ - **A run that overflows its context now reports what it produced.** A task
55
+ whose pull request was already open was being called `error` with "task
56
+ exceeds token limit". That filed a bug piece for work that had shipped, and
57
+ because the quota decider stops a day on any error, one nearly-finished task
58
+ ended the rest of the day's runs. It now reports `overflow_pr_open`, the task
59
+ stays in progress, and the loop carries on to the next one.
60
+ - **The session that replaces an overflowed one is told how to survive.** The
61
+ in-process restart used to get one sentence of encouragement while the
62
+ cross-process handoff carried the whole context budget; both now get the same
63
+ rules, plus a measured account of where the previous session's window went —
64
+ which file it re-read ten times, which edit kept missing.
65
+ - **The runner now logs what each attempt cost.** One `[context_cost]` line per
66
+ attempt: tool calls, tool output in kB, files read whole, ranged reads, failed
67
+ edits. Diagnosing the run that prompted all of the above meant grepping 1.3 MB
68
+ of stream by hand.
69
+ - **Hosts pinned to a non-Claude model get their dashboard todo list back.** On
70
+ third-party models behind a local proxy the child never called `TodoWrite`, so
71
+ the card rendered empty; the instruction is now explicit for those hosts and
72
+ stays out of the way for Claude's own models, which do it natively.
73
+
8
74
  ## 0.3.4
9
75
 
10
76
  The install stops taking things away from the host it is setting up. All three
@@ -10,5 +10,5 @@ module McptaskRailsRunner
10
10
  # Binary::INSTALL_DIR. So the pin is per project and per foreground rake
11
11
  # invocation; the installed copy is per machine, and the newest binary any of
12
12
  # those projects offers is the one that stays.
13
- VERSION = "0.3.4"
13
+ VERSION = "0.3.7"
14
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mcptask-rails-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josef Chmel