Major Changes:
- Implement task-type router (src/agents/task-type-router.ts) for intelligent model routing
* Detects task type from user message (file-analysis, creative, debugging, cli, general)
* Routes to optimal models: Gemini Flash (file analysis), Llama 3.3 70B (creative),
Claude Sonnet 4.5 (debugging), Mistral Devstral 2 (CLI/general)
* Integrated into model selection pipeline for seamless routing
- Integrate task-type routing into model resolution (src/agents/model-selection.ts)
* Pass userMessage to resolveDefaultModelForAgent for context-aware routing
* Maintain fallback chain for model availability
- Update attempt runner (src/agents/pi-embedded-runner/run/attempt.ts)
* Pass prompt context to enable task-type based model selection
- Enhanced security and development (.gitignore)
* Added comprehensive rules for sensitive files (.env variants, credentials)
* Excluded API keys, runtime logs, test files, auto-generated skills directories
* Properly ignored ecosystem.config, build artifacts, package manager locks
- Add technical documentation (README_Tech.md)
* Process architecture (systemd Gateway, PM2 Dashboard, PM2 AI Product Visualizer)
* Management commands and troubleshooting guide
* Configuration summary and deployment checklist
* Problem log with 6 documented issues and solutions
Result:
- Bot now intelligently routes user requests to optimal models based on message type
- Production-ready with systemd isolation, preventing PM2 conflicts
- Comprehensive documentation for future maintenance and troubleshooting
- Secure version control with quality .gitignore
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
141 lines
2.2 KiB
Plaintext
141 lines
2.2 KiB
Plaintext
node_modules
|
|
**/node_modules/
|
|
.env
|
|
docker-compose.extra.yml
|
|
dist
|
|
*.bun-build
|
|
pnpm-lock.yaml
|
|
bun.lock
|
|
bun.lockb
|
|
coverage
|
|
.pnpm-store
|
|
.worktrees/
|
|
.DS_Store
|
|
**/.DS_Store
|
|
ui/src/ui/__screenshots__/
|
|
ui/playwright-report/
|
|
ui/test-results/
|
|
|
|
# Bun build artifacts
|
|
*.bun-build
|
|
apps/macos/.build/
|
|
apps/shared/MoltbotKit/.build/
|
|
**/ModuleCache/
|
|
bin/
|
|
bin/clawdbot-mac
|
|
bin/docs-list
|
|
apps/macos/.build-local/
|
|
apps/macos/.swiftpm/
|
|
apps/shared/MoltbotKit/.swiftpm/
|
|
Core/
|
|
apps/ios/*.xcodeproj/
|
|
apps/ios/*.xcworkspace/
|
|
apps/ios/.swiftpm/
|
|
vendor/
|
|
apps/ios/Clawdbot.xcodeproj/
|
|
apps/ios/Clawdbot.xcodeproj/**
|
|
apps/macos/.build/**
|
|
**/*.bun-build
|
|
apps/ios/*.xcfilelist
|
|
|
|
# Vendor build artifacts
|
|
vendor/a2ui/renderers/lit/dist/
|
|
src/canvas-host/a2ui/*.bundle.js
|
|
src/canvas-host/a2ui/*.map
|
|
.bundle.hash
|
|
|
|
# fastlane (iOS)
|
|
apps/ios/fastlane/README.md
|
|
apps/ios/fastlane/report.xml
|
|
apps/ios/fastlane/Preview.html
|
|
apps/ios/fastlane/screenshots/
|
|
apps/ios/fastlane/test_output/
|
|
apps/ios/fastlane/logs/
|
|
apps/ios/fastlane/.env
|
|
apps/ios/fastlane/report.xml
|
|
|
|
# fastlane build artifacts (local)
|
|
apps/ios/*.ipa
|
|
apps/ios/*.dSYM.zip
|
|
|
|
# provisioning profiles (local)
|
|
apps/ios/*.mobileprovision
|
|
.env
|
|
|
|
# Local untracked files
|
|
.local/
|
|
.vscode/
|
|
IDENTITY.md
|
|
USER.md
|
|
.tgz
|
|
|
|
# local tooling
|
|
.serena/
|
|
|
|
# ===== CUSTOM SECURITY ADDITIONS =====
|
|
|
|
# Sensitive Configuration & Secrets (NEVER commit these!)
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
**/.env
|
|
**/.env.*
|
|
ecosystem.config.cjs
|
|
ecosystem.config.js
|
|
|
|
# API Keys & Credentials
|
|
**/auth-profiles.json
|
|
**/credentials/
|
|
**/secrets/
|
|
**/*-credentials.json
|
|
**/*-apikey*
|
|
**/*-secret*
|
|
|
|
# System Service Files (local deployment only)
|
|
/etc/systemd/system/moltbot-gateway.service
|
|
|
|
# Runtime & Log Files
|
|
/var/log/moltbot-gateway.log
|
|
**/moltbot-*.log
|
|
**/pm2-*.log
|
|
/tmp/moltbot/
|
|
/tmp/moltbot-gateway.log
|
|
**/logs/
|
|
**/log/
|
|
*.log
|
|
|
|
# Test & Validation Files (created during dev)
|
|
test-task-router*.js
|
|
verify-task-router.js
|
|
**/*.test.js
|
|
**/*.spec.js
|
|
test-results/
|
|
test-output/
|
|
|
|
# Global Skills & Plugins (large, auto-generated)
|
|
skills/global-shared/
|
|
skills/global-skills/
|
|
|
|
# OS & IDE Files
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.DS_Store
|
|
**/.DS_Store
|
|
Thumbs.db
|
|
|
|
# Package Manager Locks (use source control for dependency pinning)
|
|
pnpm-lock.yaml
|
|
bun.lock
|
|
bun.lockb
|
|
package-lock.json
|
|
|
|
# Node/Build
|
|
dist/
|
|
node_modules/
|
|
build/
|
|
.cache/
|
|
*.bun-build
|