Repository navigation
Commit e421225
committed
feat(car): adopt car-runtime 0.46.0 and drop the prompt-smuggling hack
CarHost auto-updates via Sparkle and had already moved to 0.46.0, leaving
opencode's pinned 0.44.0 client older than the daemon it talks to — the reverse
of the skew the version rule exists to prevent. car-runtime is now excluded from
bunfig's minimumReleaseAge so the client can track a daemon that updates itself;
the tradeoff is accepted deliberately for this one package, which we publish.
Correlate delegated calls with GenerateRequest.client_ref (car-releases#78). The
UUID was previously smuggled through `prompt`, the only field surviving the
serde round-trip, which held only because delegated models ignore it. `prompt`
is still a required field, so it stays as an empty placeholder — the integration
suite caught that when it was dropped entirely.
Verified against a real 0.46.0 daemon rather than by inspection:
- client_ref is echoed verbatim into inference.runner.invoke, with prompt set to
a throwaway value to prove it is no longer load-bearing (anomalyco#78)
- completing with no preceding event yields exactly one invoke and preserves
RunnerResult.text; previously two invokes and an empty result (anomalyco#76)
- concurrent delegated calls no longer cross-talk (anomalyco#77)
- car-releases#75 is improved but open: 5066/5108/5289ms on 0.44.0 became
1879/4181/4251ms on 0.46.0 — a constant became variable seconds, so CAR stays
off by default
Not adopting per-project memory namespaces yet, despite 0.46.0 adding them.
Namespace memory is never written to disk: it is lost on daemon restart, and
memory.persist silently writes zero records while a namespace is bound
(car-releases#82). Since CarHost restarts on every update, binding one today
would trade the cross-project leakage of anomalyco#79 for silent data loss. Staying on
the shared graph, with the tradeoff documented, until that closes.
CAR integration suite: 11 pass against a live 0.46.0 daemon, and it now runs in
half the wall time. CAR off: 3231 pass, 1 fail — a load flake that passes 21/21
in isolation.1 parent 42e1a88 commit e421225
6 files changed
Lines changed: 29 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
73 | | - | |
| 72 | + | |
74 | 73 | | |
75 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
95 | | - | |
| 96 | + | |
96 | 97 | | |
97 | | - | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| |||
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
151 | | - | |
| 152 | + | |
152 | 153 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
| 108 | + | |
| 109 | + | |
111 | 110 | | |
112 | 111 | | |
113 | 112 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
170 | 171 | | |
171 | 172 | | |
172 | 173 | | |
173 | | - | |
| 174 | + | |
174 | 175 | | |
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
178 | | - | |
| 179 | + | |
179 | 180 | | |
180 | | - | |
| 181 | + | |
181 | 182 | | |
182 | 183 | | |
183 | | - | |
| 184 | + | |
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
| |||
355 | 356 | | |
356 | 357 | | |
357 | 358 | | |
358 | | - | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
359 | 363 | | |
360 | 364 | | |
361 | 365 | | |
| |||
0 commit comments