Major changes: - Add internal/logging package with field constants, context propagation, sensitive data auto-redaction, and per-component log levels - Add worker timeout constants (TimeoutQuickOp, TimeoutHealthCheck, etc.) - Extend SDLC with callback handlers, generate endpoints, and executor - Add new cookbook trees for aeries and slackpath progression - Add skeleton templates for queue, realtime, and microservices - Add worker component template with async job processing - Refactor services and handlers to use new logging infrastructure - Split component.go into component_infra.go and component_listing.go Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 lines
336 B
Bash
Executable File
16 lines
336 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# Set API key
|
|
export LAOZHANG_API_KEY="${LAOZHANG_API_KEY:-sk-1NQb5nuzxg0mh16D48E7C20e0911463a951e3156F3Ec4aE6}"
|
|
export PORT="${PORT:-8080}"
|
|
|
|
# Download dependencies
|
|
go mod tidy
|
|
|
|
# Run the server
|
|
echo "Starting Agent Creator on http://localhost:$PORT"
|
|
echo "Agents will be saved to ./agents/"
|
|
echo ""
|
|
go run main.go
|