@opencode-cloud/core 12.0.0 → 12.0.2

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.
package/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "opencode-cloud-core"
3
- version = "12.0.0"
3
+ version = "12.0.2"
4
4
  edition = "2024"
5
5
  rust-version = "1.89"
6
6
  license = "MIT"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencode-cloud/core",
3
- "version": "12.0.0",
3
+ "version": "12.0.2",
4
4
  "description": "Core NAPI bindings for opencode-cloud (internal package)",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -200,14 +200,22 @@ RUN curl https://mise.run | sh \
200
200
 
201
201
  # Install language runtimes via mise (2026-02-03)
202
202
  # - node@25: pinned to major version
203
- # - python@3.14: pinned to major version
203
+ # - python@3.13: pinned to major version (3.13 has precompiled binaries available)
204
204
  # - go@1.25: pinned to minor version
205
- RUN /home/opencode/.local/bin/mise install node@25 \
206
- && /home/opencode/.local/bin/mise install python@3.14 \
207
- && /home/opencode/.local/bin/mise install go@1.25 \
208
- && /home/opencode/.local/bin/mise use --global node@25 \
209
- && /home/opencode/.local/bin/mise use --global python@3.14 \
210
- && /home/opencode/.local/bin/mise use --global go@1.25
205
+ #
206
+ # MISE_PYTHON_COMPILE=0: Disable Python compilation from source.
207
+ # If no precompiled binary exists, mise will fail fast instead of hanging
208
+ # during a 30+ minute compilation that may timeout in CI.
209
+ #
210
+ # Timeout: 10 minutes max for all runtime installations as safety net.
211
+ RUN timeout 600 sh -c '\
212
+ export MISE_PYTHON_COMPILE=0 && \
213
+ /home/opencode/.local/bin/mise install node@25 && \
214
+ /home/opencode/.local/bin/mise install python@3.13 && \
215
+ /home/opencode/.local/bin/mise install go@1.25 && \
216
+ /home/opencode/.local/bin/mise use --global node@25 && \
217
+ /home/opencode/.local/bin/mise use --global python@3.13 && \
218
+ /home/opencode/.local/bin/mise use --global go@1.25'
211
219
 
212
220
  # Set up mise shims in PATH for non-interactive shells
213
221
  ENV PATH="/home/opencode/.local/share/mise/shims:${PATH}"