chenbhao commited on
Commit
28d3e1a
·
1 Parent(s): 99e401f

chore: script bun run friend:build

Browse files
Files changed (2) hide show
  1. README.md +3 -9
  2. package.json +2 -1
README.md CHANGED
@@ -60,7 +60,6 @@
60
 
61
  </details>
62
 
63
-
64
  ## 📦 Install
65
 
66
  ```bash
@@ -68,22 +67,21 @@
68
  curl -fsSL https://raw.githubusercontent.com/versperai/VersperClaw/main/install.sh | bash
69
 
70
  # source install
71
- git clone https://github.com/versperai/VersperClaw.git && cd VersperClaw && bun install && bun run build:dev:full && ./VersperClaw
72
 
73
  # if want global use bin file
74
  cp VersperClaw ~/.local/bin
75
  # then can use VersperClaw in everywhere after `/login`
76
  ```
77
 
78
-
79
  ## 🚀 Quick Start
80
 
81
  > [!IMPORTANT]
82
- > If you no need `auto-compact / dream / control context-window`
83
  > and `websearch` feature. you can no configuration anything
84
  >
85
  > if you no need free `local-websearch` you can skip config `searxng``
86
- > and just set `TAVILY_API_KEY` in env
87
 
88
  ```bash
89
  # Maximum_Context_Window = min(CLAUDE_CODE_MAX_CONTEXT_TOKENS, CLAUDE_CODE_AUTO_COMPACT_WINDOW) - 20000
@@ -149,9 +147,6 @@ firefox http://localhost:8080
149
  ```
150
 
151
  ```bash
152
- # friend
153
- cd src/components/friend/frontend && npx tauri build
154
-
155
  # test
156
  HTTP_PROXY=http://127.0.0.1:8888 HTTPS_PROXY=http://127.0.0.1:8888 <commands>
157
  mitmproxy -p 8888
@@ -168,7 +163,6 @@ hf download Systran/faster-whisper-base \
168
  --local-dir ~/.cache/huggingface/hub/models--Systran--faster-whisper-base
169
  ```
170
 
171
-
172
  ## ✨ Features
173
 
174
  ### Agent Team and View via Tmux
 
60
 
61
  </details>
62
 
 
63
  ## 📦 Install
64
 
65
  ```bash
 
67
  curl -fsSL https://raw.githubusercontent.com/versperai/VersperClaw/main/install.sh | bash
68
 
69
  # source install
70
+ git clone https://github.com/versperai/VersperClaw.git && cd VersperClaw && bun install && bun run build:dev:full && bun run friend:build && ./VersperClaw
71
 
72
  # if want global use bin file
73
  cp VersperClaw ~/.local/bin
74
  # then can use VersperClaw in everywhere after `/login`
75
  ```
76
 
 
77
  ## 🚀 Quick Start
78
 
79
  > [!IMPORTANT]
80
+ > If you no need `auto-compact / dream / control context-window`
81
  > and `websearch` feature. you can no configuration anything
82
  >
83
  > if you no need free `local-websearch` you can skip config `searxng``
84
+ > and just set`TAVILY_API_KEY` in env
85
 
86
  ```bash
87
  # Maximum_Context_Window = min(CLAUDE_CODE_MAX_CONTEXT_TOKENS, CLAUDE_CODE_AUTO_COMPACT_WINDOW) - 20000
 
147
  ```
148
 
149
  ```bash
 
 
 
150
  # test
151
  HTTP_PROXY=http://127.0.0.1:8888 HTTPS_PROXY=http://127.0.0.1:8888 <commands>
152
  mitmproxy -p 8888
 
163
  --local-dir ~/.cache/huggingface/hub/models--Systran--faster-whisper-base
164
  ```
165
 
 
166
  ## ✨ Features
167
 
168
  ### Agent Team and View via Tmux
package.json CHANGED
@@ -20,7 +20,8 @@
20
  "build:dev": "bun run ./scripts/build.ts --dev",
21
  "build:dev:full": "bun run ./scripts/build.ts --dev --feature-set=dev-full",
22
  "compile": "bun run ./scripts/build.ts --compile",
23
- "dev": "bun run ./src/entrypoints/cli.tsx"
 
24
  },
25
  "dependencies": {
26
  "@alcalzone/ansi-tokenize": "^0.3.0",
 
20
  "build:dev": "bun run ./scripts/build.ts --dev",
21
  "build:dev:full": "bun run ./scripts/build.ts --dev --feature-set=dev-full",
22
  "compile": "bun run ./scripts/build.ts --compile",
23
+ "dev": "bun run ./src/entrypoints/cli.tsx",
24
+ "friend:build": "cd src/components/friend/frontend && npx tauri build"
25
  },
26
  "dependencies": {
27
  "@alcalzone/ansi-tokenize": "^0.3.0",