@opencode-cloud/core 3.2.2 → 3.3.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.2.2"
3
+ version = "3.3.0"
4
4
  edition = "2024"
5
5
  rust-version = "1.88"
6
6
  license = "MIT"
package/README.md CHANGED
@@ -17,6 +17,15 @@ cargo install opencode-cloud
17
17
  opencode-cloud --version
18
18
  ```
19
19
 
20
+ ## Deploy to AWS
21
+
22
+ [![Deploy to AWS](https://s3.amazonaws.com/cloudformation-examples/cloudformation-launch-stack.png)](https://console.aws.amazon.com/cloudformation/home#/stacks/create/review?templateURL=https://raw.githubusercontent.com/pRizz/opencode-cloud/main/infra/aws/cloudformation/opencode-cloud-quick.yaml)
23
+
24
+ Quick deploy provisions a private EC2 instance behind a public ALB with HTTPS.
25
+ **A domain name is required** for ACM certificate validation.
26
+
27
+ Docs: `docs/deploy/aws.md` (includes teardown steps)
28
+
20
29
  ## Features
21
30
 
22
31
  - **Sandboxed execution** - opencode runs inside a Docker container, isolated from your host system
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencode-cloud/core",
3
- "version": "3.2.2",
3
+ "version": "3.3.0",
4
4
  "description": "Core NAPI bindings for opencode-cloud (internal package)",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -213,8 +213,8 @@ ENV PATH="/home/opencode/.local/share/mise/shims:${PATH}"
213
213
  # Rust Installation
214
214
  # -----------------------------------------------------------------------------
215
215
  # rustup - self-managing installer, trusted to handle versions
216
- # Uses stable toolchain (rustup manages toolchain versioning)
217
- RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable \
216
+ # Uses stable toolchain with minimal profile (skip docs and extras)
217
+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile minimal \
218
218
  && . /home/opencode/.cargo/env \
219
219
  && rustup default stable \
220
220
  && rustup component add rust-analyzer rustfmt clippy
@@ -517,7 +517,7 @@ RUN echo 'export PATH="/home/opencode/.local/bin:$PATH"' >> /home/opencode/.zshr
517
517
  # Clone the fork and build opencode from source (as non-root user)
518
518
  # Pin to specific commit for reproducibility
519
519
  # Build opencode from source (BuildKit cache mounts disabled for now)
520
- RUN OPENCODE_COMMIT="8694cc2e60422ad82d5ca72b67716423b18dabc2" \
520
+ RUN OPENCODE_COMMIT="34db1c9b23441b3b3a125c107149f346f9fdb96e" \
521
521
  && rm -rf /tmp/opencode-repo \
522
522
  && git clone --depth 1 https://github.com/pRizz/opencode.git /tmp/opencode-repo \
523
523
  && cd /tmp/opencode-repo \