@opencode-cloud/core 18.1.0 → 19.0.1
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 +31 -6
- package/package.json +1 -1
- package/src/docker/Dockerfile +1 -1
package/Cargo.toml
CHANGED
package/README.md
CHANGED
|
@@ -51,15 +51,15 @@ Quick deploy provisions a private EC2 instance behind a public ALB with HTTPS.
|
|
|
51
51
|
Docs: `docs/deploy/aws.md` (includes teardown steps and S3 hosting setup for forks)
|
|
52
52
|
Credentials: `docs/deploy/aws.md#retrieving-credentials`
|
|
53
53
|
|
|
54
|
-
## Deploy to DigitalOcean
|
|
54
|
+
## Deploy to DigitalOcean (Coming Soon)
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
DigitalOcean Marketplace one-click deployment is not implemented yet. Support is coming soon.
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
on first boot (listing pending).
|
|
58
|
+
Warning: direct manual Droplet deployments are currently not recommended because persistence support is incomplete and data loss is likely.
|
|
60
59
|
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
For testing-only reference:
|
|
61
|
+
- Manual Droplet setup: `docs/deploy/digitalocean-droplet.md`
|
|
62
|
+
- Marketplace docs/status: `docs/deploy/digitalocean-marketplace.md`
|
|
63
63
|
|
|
64
64
|
## Features
|
|
65
65
|
|
|
@@ -245,9 +245,34 @@ occ mount clean --force
|
|
|
245
245
|
# Purge bind mounts (data loss, removes config entries)
|
|
246
246
|
occ mount clean --purge --force
|
|
247
247
|
|
|
248
|
+
# Mount a local project into the workspace
|
|
249
|
+
occ mount add /Users/<username>/Desktop/opencode:/home/opencode/workspace
|
|
250
|
+
|
|
251
|
+
# Apply mount changes (you may be prompted to recreate the container)
|
|
252
|
+
occ restart
|
|
253
|
+
|
|
248
254
|
# Factory reset host (container, volumes, mounts, config/data)
|
|
249
255
|
occ reset host --force
|
|
250
256
|
|
|
257
|
+
### Workspace Mounts
|
|
258
|
+
|
|
259
|
+
Use `/home/opencode/workspace` when you want your host project folder to appear in the
|
|
260
|
+
web UI's project picker and inside the container workspace.
|
|
261
|
+
|
|
262
|
+
Important behavior:
|
|
263
|
+
- `/home/opencode/workspace` is a single mount target.
|
|
264
|
+
- Adding a new mount to this same target replaces the previous mount entry.
|
|
265
|
+
|
|
266
|
+
Recommended workflow:
|
|
267
|
+
```bash
|
|
268
|
+
occ mount add /Users/<username>/Desktop/opencode:/home/opencode/workspace
|
|
269
|
+
occ restart
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
Verify the mount:
|
|
273
|
+
1. Run `occ status` and check `Mounts` -> `Bind mounts` includes your host path mapped to `/home/opencode/workspace`.
|
|
274
|
+
2. In the web UI, open the project picker and confirm your project files appear under `~/workspace`.
|
|
275
|
+
|
|
251
276
|
### Container Mode
|
|
252
277
|
|
|
253
278
|
When `occ` runs inside the opencode container, it will auto-detect this and switch to **container runtime**.
|
package/package.json
CHANGED
package/src/docker/Dockerfile
CHANGED
|
@@ -492,7 +492,7 @@ USER opencode
|
|
|
492
492
|
# commit on the main 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
|
-
RUN OPENCODE_COMMIT="
|
|
495
|
+
RUN OPENCODE_COMMIT="ac8b3a8010c6a31d28e167c7f3cf1bd9e63c9229" \
|
|
496
496
|
&& rm -rf /tmp/opencode-repo \
|
|
497
497
|
&& git clone --depth 1 https://github.com/pRizz/opencode.git /tmp/opencode-repo \
|
|
498
498
|
&& cd /tmp/opencode-repo \
|