Files
JohnRiceMLandClaude Opus 4.6 be523cee72 feat: v0.8.0 — configurable gateway port, Agent Optimizer redesign, markdown code blocks
- Add OPENCLAW_GATEWAY_PORT env var support (default 18789) — auto-detected
  from openclaw.json during setup, all API routes use gatewayBaseUrl() helper
- Redesign AI Cost Analysis as "Agent Optimizer" with action chips, structured
  prompts for Max plan users, and follow-up suggestions
- Fix renderMarkdown to handle fenced code blocks (extract before escape,
  reinsert after rules)
- Rewrite buildCostAnalysisPrompt: throughput-focused, structured response
  format, 350 word cap
- Fix efficiency score using effective input (input + cache tokens)
- Unified OptimizationCard with UUID resolution and responsive layout
- Update all docs and in-app help to mention configurable port
- Remove auto-scroll from cost analysis chat
- Change insight button from "Fix" to "How to fix"

Closes #9

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 09:25:07 -05:00

40 lines
1.6 KiB
Bash

# =============================================================================
# ClawPort — Environment Configuration
# =============================================================================
# Copy this file to .env.local and fill in your values:
# cp .env.example .env.local
#
# See SETUP.md for detailed instructions on finding each value.
# =============================================================================
# ---------------------------------------------------------------------------
# Required
# ---------------------------------------------------------------------------
# Path to your OpenClaw workspace directory.
# Default location: ~/.openclaw/workspace
# Find yours: ls ~/.openclaw/workspace
WORKSPACE_PATH=/Users/yourname/.openclaw/workspace
# Path to the openclaw CLI binary.
# Find yours: which openclaw
OPENCLAW_BIN=/usr/local/bin/openclaw
# OpenClaw gateway authentication token.
# All API calls (chat, vision, TTS, transcription) use this token.
# Find yours: openclaw gateway status
OPENCLAW_GATEWAY_TOKEN=your-gateway-token-here
# ---------------------------------------------------------------------------
# Optional
# ---------------------------------------------------------------------------
# OpenClaw gateway port (default: 18789).
# Change this if you configured a custom port in openclaw.json (gateway.http.port).
# OPENCLAW_GATEWAY_PORT=18789
# ElevenLabs API key — enables voice indicators on agent profiles.
# Get one at: https://elevenlabs.io
# Leave blank or remove this line if you don't need voice features.
# ELEVENLABS_API_KEY=sk_your-elevenlabs-key-here