Skip to content

Commit f4445e5

Browse files
committed
feat: add testimonial from @kailazh
- "This is the closest to experiencing an AI enabled future!"
1 parent 23bbe43 commit f4445e5

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

public/install-cli.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ emit_json() {
3636

3737
fail() {
3838
local msg="$1"
39-
emit_json "{\"event\":\"error\",\"message\":\"${msg//"/\\\"}\"}"
39+
emit_json "{\"event\":\"error\",\"message\":\"${msg//\"/\\\"}\"}"
4040
log "ERROR: $msg"
4141
exit 1
4242
}
@@ -161,7 +161,15 @@ install_node() {
161161
install_clawdbot() {
162162
emit_json "{\"event\":\"step\",\"name\":\"clawdbot\",\"status\":\"start\",\"version\":\"${CLAWDBOT_VERSION}\"}"
163163
log "Installing Clawdbot (${CLAWDBOT_VERSION})..."
164+
require_bin git
164165
"$(npm_bin)" install -g --prefix "$PREFIX" "clawdbot@${CLAWDBOT_VERSION}"
166+
rm -f "${PREFIX}/bin/clawdbot"
167+
cat > "${PREFIX}/bin/clawdbot" <<EOF
168+
#!/usr/bin/env bash
169+
set -euo pipefail
170+
exec "${PREFIX}/tools/node/bin/node" "${PREFIX}/lib/node_modules/clawdbot/dist/entry.js" "\$@"
171+
EOF
172+
chmod +x "${PREFIX}/bin/clawdbot"
165173
emit_json "{\"event\":\"step\",\"name\":\"clawdbot\",\"status\":\"ok\"}"
166174
}
167175

@@ -184,7 +192,7 @@ main() {
184192
local installed_version
185193
installed_version="$(resolve_clawdbot_version)"
186194
if [[ -n "$installed_version" ]]; then
187-
emit_json "{\"event\":\"done\",\"ok\":true,\"version\":\"${installed_version//"/\\\"}\"}"
195+
emit_json "{\"event\":\"done\",\"ok\":true,\"version\":\"${installed_version//\"/\\\"}\"}"
188196
log "Clawdbot installed (${installed_version})."
189197
else
190198
emit_json "{\"event\":\"done\",\"ok\":true}"

scripts/e2e/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ RUN apt-get update \
55
bash \
66
ca-certificates \
77
curl \
8+
git \
89
gzip \
910
tar \
1011
&& rm -rf /var/lib/apt/lists/*

src/data/testimonials.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
[
2+
{
3+
"quote": "Finally set up @clawdbot today and am completely blown away! This is the closest to experiencing an AI enabled future! Truly a game changer!",
4+
"author": "kailazh",
5+
"url": "https://x.com/kailazh/status/2010296143922758133"
6+
},
27
{
38
"quote": "Finally got around to setting up @clawdbot and it is truly the best AI tool at the moment.",
49
"author": "cnlinkcnlink",

0 commit comments

Comments
 (0)