clavarium 0.2.507-next.1 → 0.2.508-next.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/deploy/install.sh CHANGED
@@ -32,7 +32,7 @@
32
32
  # asap: as soon as a version is out; ask: says so in
33
33
  # Settings and waits; off. Changed later in Settings.
34
34
  # --update-window HH:MM-HH:MM when "auto" may update (default 02:00-05:00)
35
- # --channel C latest (default) or next (versions with a "-": tests)
35
+ # --channel C latest (default), beta (proven by tests) or next (versions to try)
36
36
  # --keep-release keep the release that runs (change the settings only:
37
37
  # what `clavarium online` does to go from local mode to
38
38
  # server mode)
@@ -116,7 +116,7 @@ DEX_LAYER="680f1119fdbcdd7f0ad8985b2534ded871b08b5b77c40f337c38aebd062b59c2"
116
116
  DEX_SHA256="217aa675738d1cbaf25fe8d7bc04cb00dbc60f91d8465b76b8d8af963d571337"
117
117
  HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
118
118
 
119
- bad() { echo "install: $*" >&2; echo "usage: install.sh --domain NAME --operator EMAIL [--operator EMAIL...] [--port N] [--relay HOST [--relay-port N]] [--core-only] [--version X.Y.Z | --from-dir DIR] [--updates auto|asap|ask|off] [--update-window HH:MM-HH:MM] [--channel latest|next] [--name NAME] [--client-id ID] [--dry-run]" >&2; echo " or: install.sh --local [--port N] [same options] [--dry-run] to try it on this machine, with no domain" >&2; exit 64; }
119
+ bad() { echo "install: $*" >&2; echo "usage: install.sh --domain NAME --operator EMAIL [--operator EMAIL...] [--port N] [--relay HOST [--relay-port N]] [--core-only] [--version X.Y.Z | --from-dir DIR] [--updates auto|asap|ask|off] [--update-window HH:MM-HH:MM] [--channel latest|beta|next] [--name NAME] [--client-id ID] [--dry-run]" >&2; echo " or: install.sh --local [--port N] [same options] [--dry-run] to try it on this machine, with no domain" >&2; exit 64; }
120
120
  refuse() { echo "install: REFUSED: $*" >&2; exit 78; }
121
121
  step() { echo "== $*"; }
122
122
 
@@ -183,7 +183,7 @@ if [ -z "$VERSION" ] && [ -z "$FROM_DIR" ]; then
183
183
  fi
184
184
  [ -z "$UPDATES" ] || [[ "$UPDATES" =~ ^(auto|asap|ask|off)$ ]] || bad "--updates is auto, asap, ask or off"
185
185
  [ -z "$WINDOW" ] || { [[ "$WINDOW" =~ ^([01][0-9]|2[0-3]):[0-5][0-9]-([01][0-9]|2[0-3]):[0-5][0-9]$ ]] && [ "${WINDOW%-*}" != "${WINDOW#*-}" ]; } || bad "--update-window is two times, like 02:00-05:00"
186
- [ -z "$CHANNEL" ] || [[ "$CHANNEL" =~ ^(latest|next)$ ]] || bad "--channel is latest or next"
186
+ [ -z "$CHANNEL" ] || [[ "$CHANNEL" =~ ^(latest|beta|next)$ ]] || bad "--channel is latest, beta or next"
187
187
  # It goes in the unit file, between quotes: plain characters only (any other is chosen in Settings).
188
188
  [ -z "$APP_NAME" ] || [[ "$APP_NAME" =~ ^[A-Za-z0-9]([A-Za-z0-9\ ._-]{0,28}[A-Za-z0-9.])?$ ]] || bad "--name is letters, digits, spaces, dots and hyphens, 30 at most, like \"Home lab\""
189
189
  # The OAuth client id, seen in the open when a browser is sent to sign in. Default:
@@ -194,7 +194,7 @@ fi
194
194
  had() { { sed -n "s/^$1=//p" "$UPDATE_CONF" 2>/dev/null || true; } | head -1; }
195
195
  SHOW_MODE="${UPDATES:-$(had MODE)}"; SHOW_MODE="${SHOW_MODE:-auto}"
196
196
  SHOW_WINDOW="${WINDOW:-$(had WINDOW)}"; SHOW_WINDOW="${SHOW_WINDOW:-02:00-05:00}"
197
- case "$VERSION" in *-*) default_channel="next" ;; *) default_channel="latest" ;; esac
197
+ case "$VERSION" in *-beta.*) default_channel="beta" ;; *-*) default_channel="next" ;; *) default_channel="latest" ;; esac
198
198
  SHOW_CHANNEL="${CHANNEL:-$(had CHANNEL)}"; SHOW_CHANNEL="${SHOW_CHANNEL:-$default_channel}"
199
199
 
200
200
  # The Node.js the server runs on: the same pinned version, with the same
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "clavarium",
3
- "version": "0.2.507-next.1",
3
+ "version": "0.2.508-next.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "clavarium",
9
- "version": "0.2.507-next.1",
9
+ "version": "0.2.508-next.1",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@xterm/addon-fit": "^0.11.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clavarium",
3
- "version": "0.2.507-next.1",
3
+ "version": "0.2.508-next.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "A conversation is a VM with a terminal in it. Everything else is a folder.",