Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "An AI agent with advanced tool-calling capabilities, featuring a flexible toolsets system for organizing and managing tools.",
"private": true,
"scripts": {
"build": "cd web && npm install && npm run build",
"postinstall": "echo '✅ Browser tools ready. Run: python run_agent.py --help'"
},
"repository": {
Expand Down
9 changes: 9 additions & 0 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1079,6 +1079,15 @@ install_node_deps() {
npm install --silent 2>/dev/null || {
log_warn "npm install failed (browser tools may not work)"
}

# Build the web UI (web_dist/ is included in the pip package)
log_info "Building web UI..."
if ! npm run build 2>/dev/null; then
log_warn "Web UI build failed — CLI may lack the Web UI (not required for core functionality)"
else
log_success "Web UI built successfully"
fi

log_success "Node.js dependencies installed"

# Install Playwright browser + system dependencies.
Expand Down