|
31 | 31 | opencode-platforms = { |
32 | 32 | aarch64-linux = { |
33 | 33 | asset = "opencode-linux-arm64.tar.gz"; |
34 | | - hash = "sha256-T6H06YHtaOq/SQAzYhMr3+5z9hxSyyhx0eBjrM4S9QQ="; |
| 34 | + hash = "sha256-usmo3mycacISGYqEWJX28n8lHQ+h/EAu6QIN4kTviRQ="; |
35 | 35 | isZip = false; |
36 | 36 | }; |
37 | 37 | aarch64-darwin = { |
38 | 38 | asset = "opencode-darwin-arm64.zip"; |
39 | | - hash = "sha256-KId7jtNNkYl+GnhaTU6pHD8myUGWcPQB6zcEdvZxRUw="; |
| 39 | + hash = "sha256-Ix5JjkaN1Wvxp5XL4PI6SdORRGBy9MuWE4jTB+lm5tQ="; |
40 | 40 | isZip = true; |
41 | 41 | }; |
42 | 42 | x86_64-linux = { |
43 | 43 | asset = "opencode-linux-x64.tar.gz"; |
44 | | - hash = "sha256-8Q7KFvdkiBlsh1rcTwoOwEZ2inMNX5VD/zzhtvRmgd0="; |
| 44 | + hash = "sha256-3HnnIJeh97LkZWEQEzfEfACG0OoGgW2ea0rfkE7I1ak="; |
45 | 45 | isZip = false; |
46 | 46 | }; |
47 | 47 | x86_64-darwin = { |
48 | 48 | asset = "opencode-darwin-x64.zip"; |
49 | | - hash = "sha256-+7Lm19RpkGrElUS+8olkmpg5hb68B8W+6i0NhlLIy0s="; |
| 49 | + hash = "sha256-I+XNTIbJzQY1iz8zhi7eo1Jpj24i0LYvidxhch+nlmI="; |
50 | 50 | isZip = true; |
51 | 51 | }; |
52 | 52 | }; |
|
67 | 67 | # migration won't re-fire). Full evidence + the atomic-cutover procedure: |
68 | 68 | # docs/plans/2026-06-11-opencode-1.17-cutover-runbook.md |
69 | 69 | # |
70 | | - # This pins v1.17.7-patched.5 (same upstream 1.17.7, re-released 2026-06-23 with |
71 | | - # project-copy-debounce added on top of patched.4 — built via build-release.yml |
72 | | - # -f version=1.17.7 -f revision=5, staying on the 1.17.7 hold line). patched.5 |
| 70 | + # This pins v1.17.7-patched.6 (same upstream 1.17.7, re-released 2026-06-24 via |
| 71 | + # build-release.yml -f version=1.17.7 -f revision=6, staying on the 1.17.7 hold |
| 72 | + # line). patched.6 adds TWO patches from the headless-serve wedge investigation, |
| 73 | + # taking the set to 13: |
| 74 | + # (a) #13 step-end-diff-bound (bead workstation-0lik, upstream #29762): bounds |
| 75 | + # Snapshot.diffFull's jsdiff structuredPatch (was context:MAX_SAFE_INTEGER |
| 76 | + # with no edit/time limit) that pinned one JS thread at 100% CPU (+~1GB |
| 77 | + # alloc) on a full-file rewrite of a sub-2MB file at step-end summary time. |
| 78 | + # New boundedFilePatch() composes a 1 MiB size pre-guard with jsdiff |
| 79 | + # {maxEditLength:4000,timeout:1000ms}; on trip it omits the optional |
| 80 | + # FileDiff.patch field (counts-only; consumers already guard typeof |
| 81 | + # patch!=="string"). Does NOT address the distinct flat-RSS read-only- |
| 82 | + # subagent spin variant (#32965). |
| 83 | + # (b) #12 project-copy-debounce EXTENDED (bead workstation-wvv2): gate |
| 84 | + # refreshAfterBoot behind OPENCODE_PROJECT_COPY_REFRESH_ON_BOOT — DEFAULT- |
| 85 | + # OFF (unset / anything but "1" disables the per-boot O(#dirs) scan; ="1" |
| 86 | + # restores the upstream every-boot behavior). Safe headless: source dirs |
| 87 | + # self-register via Project.saveProjectDirectory on open, the Move Session |
| 88 | + # dialog refreshes on demand, project identity is git-derived (not index- |
| 89 | + # derived); the explicit refresh() API is untouched (gate is only at the |
| 90 | + # boot entry). No cloudbox systemd-env step needed (binary default is off). |
| 91 | + # |
| 92 | + # patched.5 history (same upstream 1.17.7, re-released 2026-06-23 with |
| 93 | + # project-copy-debounce added on top of patched.4 — build-release.yml |
| 94 | + # -f version=1.17.7 -f revision=5). patched.5 |
73 | 95 | # adds #12 project-copy-debounce (bead workstation-sqd5): tames the 1.17.x |
74 | 96 | # reconnect-storm wedge. ProjectCopy.refreshAfterBoot runs once per location |
75 | 97 | # boot; a reconnect/poll storm fired N concurrent refreshes for the SAME |
|
106 | 128 | # + every standalone TUI) from a plain SSH shell. Doing the switch from inside an |
107 | 129 | # opencode session will kill that session mid-switch. |
108 | 130 | upstreamVersion = "1.17.7"; |
109 | | - patchedRevision = "5"; # ".N" suffix — drop to "" on next upstream version bump |
| 131 | + patchedRevision = "6"; # ".N" suffix — drop to "" on next upstream version bump |
110 | 132 | tagSuffix = if patchedRevision == "" then "" else ".${patchedRevision}"; |
111 | 133 | releaseTag = "v${upstreamVersion}-patched${tagSuffix}"; |
112 | 134 | version = if patchedRevision == "" then upstreamVersion else "${upstreamVersion}.${patchedRevision}"; |
|
0 commit comments