Files
humanlayer/humanlayer-wui/run-instance.sh
dexhorthy 08bca9744d Add first user message injection to session detail message stream
- Create synthetic ConversationEvent from session.query to show first user message
- Add User icon for user role messages in eventToDisplayObject function
- Inject first user message at beginning of conversation events list
- Resolve merge conflicts in SessionTable.tsx to combine search highlighting with collapsible queries
- Fix TypeScript and linting issues with proper imports and types
- Ensure consistent message display with timestamps and proper formatting

The first user message (session.query) now appears in the conversation stream
instead of only being shown as a truncated header, providing better context
for understanding the conversation flow.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-24 13:18:31 -07:00

19 lines
569 B
Bash
Executable File

#!/bin/bash
# Run HumanLayer WUI on a specific port
# Usage: ./run-instance.sh [port]
# Example: ./run-instance.sh 3000
PORT=${1:-1420}
echo "Starting HumanLayer WUI on port $PORT..."
echo "Dev server: http://localhost:$PORT"
echo "HMR port: $((PORT + 1))"
# Generate local Tauri config with the custom port
jq --arg port "$PORT" '.build.devUrl = "http://localhost:\($port)"' \
src-tauri/tauri.conf.json > src-tauri/tauri.conf.local.json
# Run Tauri with the local config and custom Vite port
VITE_PORT=$PORT bun run tauri dev -c src-tauri/tauri.conf.local.json