Read-only mirror of github.com/ondeinference/ed.
Mirrored from https://github.com/ondeinference/ed.git
Synced Nov 23, 01:00 UTC
web-chat: build against onde 1.5.0 from crates.io
onde 1.5.0 has the browser engine and web_store, so the demo no longer needs a local checkout patched in. build.sh, the README build step and the deploy steps drop the --config patch. The patch stays documented as an option for trying a local onde. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Co-Authored-By: siGit Code v1.7.10 <noreply@sigit.si> Co-Authored-By: OndeCode v1.1.2 <noreply@ondeinference.com>
Seto Elkahfi committed
Nov 20, 2026 at 07:57 UTC
8107d15426f54ccb695681c7bbcf5872f0e75d93
2 files changed
+4
-4
examples/web-chat/README.md
+3
-3
@@ -16,8 +16,8 @@ python3 -m http.server -d www 8080
16
Open <http://localhost:8080>. No bundler, npm or special headers are needed.
17
Cache Storage needs a secure context, which `localhost` counts as.
18
19
-The browser engine lives in `onde` 1.5.0. Until it is released, build against
20
-a local checkout:
19
+The browser engine comes from `onde` 1.5.0 on crates.io. To try a local `onde`
20
+checkout instead, pass a patch through to cargo:
21
22
```bash
23
./build.sh --config 'patch.crates-io.onde.path="../../../onde"'
@@ -30,7 +30,7 @@ smbCloud (app `ondewebdemo`, in the Onde Inference project). It needs the `smb`
30
CLI 1.1.0 or newer and a prior `smb login`.
31
32
```bash
33
-./build.sh --config 'patch.crates-io.onde.path="../../../onde"'
33
+./build.sh
34
./deploy.sh --dry-run # lists the files, uploads nothing
35
./deploy.sh # publishes, then waits for /version.txt to match
36
```
examples/web-chat/build.sh
+1
-1
@@ -1,7 +1,7 @@
1
#!/usr/bin/env bash
2
# Build the wasm package into www/pkg. Serve www/ with any static server:
3
# python3 -m http.server -d www 8080
4
-# Extra arguments go to `cargo`, e.g. a local onde while it is unreleased:
4
+# Extra arguments go to `cargo`, e.g. a local onde checkout:
5
# ./build.sh --config 'patch.crates-io.onde.path="../../../onde"'
6
set -euo pipefail
7
cd "$(dirname "$0")"