@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 +1 -1
- package/README.md +21 -10
- package/package.json +1 -1
- package/src/docker/Dockerfile +1 -1
- package/src/docker/files/entrypoint.sh +2 -0
package/Cargo.toml
CHANGED
package/README.md
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
[](https://github.com/pRizz/opencode-cloud/actions/workflows/ci.yml)
|
|
4
4
|
[](https://gitea.com/pRizz/opencode-cloud)
|
|
5
5
|
[](https://crates.io/crates/opencode-cloud)
|
|
6
|
+
[](https://crates.io/crates/opencode-cloud)
|
|
7
|
+
[](https://www.npmjs.com/package/opencode-cloud)
|
|
6
8
|
[](https://hub.docker.com/r/prizz/opencode-cloud-sandbox)
|
|
7
9
|
[](https://hub.docker.com/r/prizz/opencode-cloud-sandbox)
|
|
8
10
|
[](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
|
-
|
|
58
|
+
DigitalOcean Marketplace one-click deployment is not implemented yet. Support is coming soon.
|
|
57
59
|
|
|
58
|
-
|
|
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
|
-
|
|
62
|
-
|
|
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
|
-
#
|
|
405
|
-
|
|
415
|
+
# Bun is required for packages/opencode checks/builds
|
|
416
|
+
bun --version
|
|
406
417
|
|
|
407
|
-
#
|
|
408
|
-
|
|
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
package/src/docker/Dockerfile
CHANGED
|
@@ -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
|
|
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."
|