@opencode-cloud/core 3.1.8 → 3.2.0

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 = "3.1.8"
3
+ version = "3.2.0"
4
4
  edition = "2024"
5
5
  rust-version = "1.88"
6
6
  license = "MIT"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencode-cloud/core",
3
- "version": "3.1.8",
3
+ "version": "3.2.0",
4
4
  "description": "Core NAPI bindings for opencode-cloud (internal package)",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -34,6 +34,9 @@
34
34
  # -----------------------------------------------------------------------------
35
35
  FROM ubuntu:24.04 AS runtime
36
36
 
37
+ # Pin opencode fork commit used during build
38
+ ARG OPENCODE_COMMIT=798ccdba1265b7e5499ba49db2f99ca1dd4a15d7
39
+
37
40
  # OCI Labels for image metadata
38
41
  LABEL org.opencontainers.image.title="opencode-cloud"
39
42
  LABEL org.opencontainers.image.description="AI-assisted development environment with opencode"
@@ -520,7 +523,8 @@ RUN echo 'export PATH="/home/opencode/.local/bin:$PATH"' >> /home/opencode/.zshr
520
523
  RUN rm -rf /tmp/opencode-repo \
521
524
  && git clone --depth 1 https://github.com/pRizz/opencode.git /tmp/opencode-repo \
522
525
  && cd /tmp/opencode-repo \
523
- && git checkout 189700cee2fcdf0a1a1157aac1a7dea6afaf7c82 \
526
+ && git fetch --depth 1 origin "${OPENCODE_COMMIT}" \
527
+ && git checkout "${OPENCODE_COMMIT}" \
524
528
  && curl -fsSL https://bun.sh/install | bash -s "bun-v1.3.5" \
525
529
  && export PATH="/home/opencode/.bun/bin:${PATH}" \
526
530
  && bun install --frozen-lockfile \