@opencode-cloud/core 19.0.0 → 19.0.5

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 = "19.0.0"
3
+ version = "19.0.5"
4
4
  edition = "2024"
5
5
  rust-version = "1.89"
6
6
  license = "MIT"
package/README.md CHANGED
@@ -3,6 +3,8 @@
3
3
  [![CI](https://github.com/pRizz/opencode-cloud/actions/workflows/ci.yml/badge.svg)](https://github.com/pRizz/opencode-cloud/actions/workflows/ci.yml)
4
4
  [![Mirror](https://img.shields.io/badge/mirror-gitea-blue?logo=gitea)](https://gitea.com/pRizz/opencode-cloud)
5
5
  [![crates.io](https://img.shields.io/crates/v/opencode-cloud.svg)](https://crates.io/crates/opencode-cloud)
6
+ [![Crates Downloads](https://img.shields.io/crates/d/opencode-cloud.svg)](https://crates.io/crates/opencode-cloud)
7
+ [![npm Downloads](https://img.shields.io/npm/dt/opencode-cloud?logo=npm)](https://www.npmjs.com/package/opencode-cloud)
6
8
  [![Docker Hub](https://img.shields.io/docker/v/prizz/opencode-cloud-sandbox?label=docker&sort=semver)](https://hub.docker.com/r/prizz/opencode-cloud-sandbox)
7
9
  [![Docker Pulls](https://img.shields.io/docker/pulls/prizz/opencode-cloud-sandbox)](https://hub.docker.com/r/prizz/opencode-cloud-sandbox)
8
10
  [![GHCR](https://img.shields.io/badge/ghcr.io-sandbox-blue?logo=github)](https://github.com/pRizz/opencode-cloud/pkgs/container/opencode-cloud-sandbox)
@@ -51,15 +53,15 @@ Quick deploy provisions a private EC2 instance behind a public ALB with HTTPS.
51
53
  Docs: `docs/deploy/aws.md` (includes teardown steps and S3 hosting setup for forks)
52
54
  Credentials: `docs/deploy/aws.md#retrieving-credentials`
53
55
 
54
- ## Deploy to DigitalOcean
56
+ ## Deploy to DigitalOcean (Coming Soon)
55
57
 
56
- [![Deploy on DigitalOcean](https://img.shields.io/badge/Deploy-DigitalOcean-0080FF?logo=digitalocean&logoColor=white)](https://marketplace.digitalocean.com/apps/opencode-cloud)
58
+ DigitalOcean Marketplace one-click deployment is not implemented yet. Support is coming soon.
57
59
 
58
- Marketplace one-click deploy provisions a Droplet that bootstraps opencode-cloud
59
- on first boot (listing pending).
60
+ Warning: direct manual Droplet deployments are currently not recommended because persistence support is incomplete and data loss is likely.
60
61
 
61
- Manual Droplet setup: `docs/deploy/digitalocean-droplet.md`
62
- Marketplace docs: `docs/deploy/digitalocean-marketplace.md`
62
+ For testing-only reference:
63
+ - Manual Droplet setup: `docs/deploy/digitalocean-droplet.md`
64
+ - Marketplace docs/status: `docs/deploy/digitalocean-marketplace.md`
63
65
 
64
66
  ## Features
65
67
 
@@ -161,6 +163,8 @@ git clone https://github.com/pRizz/opencode-cloud.git
161
163
  # Gitea (mirror)
162
164
  git clone https://gitea.com/pRizz/opencode-cloud.git
163
165
  cd opencode-cloud
166
+ git submodule sync --recursive
167
+ git submodule update --init --recursive packages/opencode
164
168
  cargo install --path packages/cli-rust
165
169
  ```
166
170
 
@@ -173,6 +177,13 @@ git clone https://github.com/pRizz/opencode-cloud.git
173
177
  # Gitea (mirror)
174
178
  git clone https://gitea.com/pRizz/opencode-cloud.git
175
179
  cd opencode-cloud
180
+ git submodule sync --recursive
181
+ git submodule update --init --recursive packages/opencode
182
+
183
+ # Bun is required for packages/opencode checks/builds
184
+ bun --version
185
+
186
+ just setup
176
187
  just build
177
188
  cargo run -p opencode-cloud -- --version
178
189
  ```
@@ -401,11 +412,11 @@ Data (PID files, etc.) is stored at:
401
412
  ## Development
402
413
 
403
414
  ```bash
404
- # Install dependencies
405
- pnpm install
415
+ # Bun is required for packages/opencode checks/builds
416
+ bun --version
406
417
 
407
- # Configure git hooks (once after cloning)
408
- git config core.hooksPath .githooks
418
+ # One-time setup (hooks + deps + submodule bootstrap)
419
+ just setup
409
420
 
410
421
  # Build everything
411
422
  just build
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencode-cloud/core",
3
- "version": "19.0.0",
3
+ "version": "19.0.5",
4
4
  "description": "Core NAPI bindings for opencode-cloud (internal package)",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -489,7 +489,7 @@ USER opencode
489
489
  # Clone the fork and build opencode from source (as non-root user)
490
490
  # Pin to specific commit for reproducibility
491
491
  # NOTE: OPENCODE_COMMIT is not tied to releases/tags; it tracks the latest stable
492
- # commit on the main branch of https://github.com/pRizz/opencode.
492
+ # commit on the dev branch of https://github.com/pRizz/opencode.
493
493
  # Update it by running: ./scripts/update-opencode-commit.sh
494
494
  # Build opencode from source (BuildKit cache mounts disabled for now)
495
495
  RUN OPENCODE_COMMIT="ac8b3a8010c6a31d28e167c7f3cf1bd9e63c9229" \
@@ -58,6 +58,8 @@ print_welcome_banner() {
58
58
  log "----------------------------------------------------------------------"
59
59
  log "Welcome to opencode-cloud-sandbox"
60
60
  log "You are running opencode-cloud v${version}"
61
+ log "WARNING: opencode-cloud is still a work in progress and is rapidly evolving."
62
+ log "Expect frequent updates and breaking changes. Use with caution."
61
63
  log "For questions, problems, and feature requests, file an issue:"
62
64
  log " https://github.com/pRizz/opencode-cloud/issues"
63
65
  log "opencode-cloud runs opencode in a Docker sandbox; use occ/opencode-cloud CLI to manage users, mounts, and updates."