mcptask-rails-runner 0.3.3 → 0.3.5

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: d8ce34df845fcba0cc60dafd3a533c7bf89f7dc24eddc885e8ce9d4f53058dc3
4
- data.tar.gz: 0f04addccfa86eaaba0a6e3db9b3a3fed143b0308d730eeb610ef5c5b9e0a720
3
+ metadata.gz: eb08eeee96dc57d31d8d3f993cf413670e2700c0f45ec46f7a3897cc0f3fb69b
4
+ data.tar.gz: bfa60609150c00e7d25c6943bfe7ec0bc442c19af8fa7da4cc7b7792c5a850d1
5
5
  SHA512:
6
- metadata.gz: 51a94b4dd7259952d56f94acfeae106d7d00b43e873c728876b0637e49ccec596ad8e097dc048ae01288162ba8e1a699ddc2eab1afd138c8ddac0aa7a74adfc2
7
- data.tar.gz: 69b9113fcf1e5a29240632c2d9799afd00165d80197adfe26faa580cbfa35388a90992422a8ea47be98c7e670e8bc554a2206cce19678802040b4b65c7ffc4b0
6
+ metadata.gz: 03be175023d8114afd09af5c0b9dd334b3b3a025208f7408f3e5321216a49e5872e63ebd52aa709efc8d9b42d236a06e70de351cf057fc784f73d99aa06130a5
7
+ data.tar.gz: c640fd06ee960f4c728599b8a19fd20b31cace460371a9435a44b6c28a05b1f90811f534a534500a0dbf2bf291373112bdd38b01873164192851f60f52e0525a
data/CHANGELOG.md CHANGED
@@ -5,6 +5,57 @@ 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.5
9
+
10
+ No wrapper changes — this release carries a new binary. Full notes in
11
+ [mcptask-releases v0.3.5](https://github.com/jchsoft/mcptask-releases/releases/tag/v0.3.5);
12
+ what a host running the scheduled job will notice:
13
+
14
+ - **A run that overflows its context now reports what it produced.** A task
15
+ whose pull request was already open was being called `error` with "task
16
+ exceeds token limit". That filed a bug piece for work that had shipped, and
17
+ because the quota decider stops a day on any error, one nearly-finished task
18
+ ended the rest of the day's runs. It now reports `overflow_pr_open`, the task
19
+ stays in progress, and the loop carries on to the next one.
20
+ - **The session that replaces an overflowed one is told how to survive.** The
21
+ in-process restart used to get one sentence of encouragement while the
22
+ cross-process handoff carried the whole context budget; both now get the same
23
+ rules, plus a measured account of where the previous session's window went —
24
+ which file it re-read ten times, which edit kept missing.
25
+ - **The runner now logs what each attempt cost.** One `[context_cost]` line per
26
+ attempt: tool calls, tool output in kB, files read whole, ranged reads, failed
27
+ edits. Diagnosing the run that prompted all of the above meant grepping 1.3 MB
28
+ of stream by hand.
29
+ - **Hosts pinned to a non-Claude model get their dashboard todo list back.** On
30
+ third-party models behind a local proxy the child never called `TodoWrite`, so
31
+ the card rendered empty; the instruction is now explicit for those hosts and
32
+ stays out of the way for Claude's own models, which do it natively.
33
+
34
+ ## 0.3.4
35
+
36
+ The install stops taking things away from the host it is setting up. All three
37
+ of these were in every release up to and including 0.3.3.
38
+
39
+ - **A project's own token variable survives.** `init` replaced the whole
40
+ `mcptask-online` entry in `.mcp.json` with one hardcoding
41
+ `Bearer ${MCPTASK_TOKEN}` — on every install, not only `--force`. A project
42
+ naming its own variable, and so its own mcptask.online account, was quietly
43
+ moved onto whatever account `MCPTASK_TOKEN` happened to hold. That does not
44
+ fail: it succeeds as the wrong user, and every task, effort and bug lands on
45
+ somebody else's dashboard, with the scheduled job carrying that token to 08:00.
46
+ - **A token living inside `.mcp.json` is no longer deleted.** The legacy gem's
47
+ installer wrote tokens into an `env` block on the entry, which makes it the
48
+ shape a migrating host arrives in. Replacing the entry removed the only copy —
49
+ nothing else had it, because a token that already resolves is deliberately left
50
+ alone — and the job then got `SET_MCPTASK_TOKEN_HERE` with nothing left to
51
+ re-resolve, so re-running could not repair it. Such an entry is now left exactly
52
+ as it is, and the install says so.
53
+ - **An unparseable `.mcp.json` is refused, not replaced.** It used to be treated
54
+ as absent, which deleted every other MCP server configured in it. One trailing
55
+ comma was enough, and a project that already runs a coding CLI with servers of
56
+ its own is the normal case. The install now names the file and the parse error;
57
+ `--force` moves it aside to `.mcp.json.bak` and writes a fresh one.
58
+
8
59
  ## 0.3.3
9
60
 
10
61
  - The bundled skills now ask for the model the host actually has. Eight of them
@@ -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.3"
13
+ VERSION = "0.3.5"
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.3
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josef Chmel