-
Notifications
You must be signed in to change notification settings - Fork 5.3k
chore: v1.0.8 #5051
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: v1.0.8 #5051
Conversation
… break anything else
…into feat/split-types
- Restructure API into 8 domain-based routers: agents, messaging, media, memory, audio, runtime, tee, system - Create shared utilities for response handling, validation, and file operations - Remove 2,800+ lines of duplicate and legacy code (agent.ts, messages.ts, env.ts, tee.ts, world.ts) - Maintain backward compatibility through proper domain organization - Clean up main router integration and remove duplicate route aliases - Fix TypeScript build errors and import path issues New structure: - /agents: Agent CRUD operations and management - /messaging: Message handling, channels, and communication - /media: File uploads and media management - /memory: Memory and knowledge operations - /audio: Speech, TTS, and audio processing - /runtime: Server runtime operations (health, logs, stop) - /tee: TEE security operations - /system: Environment and system configuration
- Update /messages/* endpoints to /messaging/* - Update /envs/* endpoints to /system/* - Update /logs, /ping endpoints to /runtime/* - Maintain full backward compatibility through proper domain routing - All client builds pass successfully
- Add SSRF protection in MessageBusService with URL validation for allowed hosts - Add path traversal protection in file-utils with proper path validation - Add rate limiting to audio processing endpoints (10 uploads/minute per IP) - Update API endpoint URL to use new messaging domain structure Addresses: - Critical: Server-side request forgery vulnerability - High: Uncontrolled data used in path expressions - High: Missing rate limiting for file system access routes
- Add memory functionality to agents domain router - Ensure /api/agents/:id/memories endpoint is accessible - Import and mount createAgentMemoryRouter in agents/index.ts - Maintains compatibility with existing client expectations
- Fix SSRF vulnerability in message service by strengthening URL validation - Add enhanced rate limiting with IP blocking for audio processing endpoints - Add strict file type validation and size limits for uploads - Improve path validation to prevent directory traversal attacks - Strengthen environment variable validation and sanitization
- Add explicit timeouts to all execSync calls to prevent hanging - Increase server startup timeout from 30s to 60s - Add better error handling for character loading failures - Increase overall test timeout from 60s to 120s - Add debugging output for server startup failures - Handle exit code 137 gracefully for timeout scenarios Revert "Fix CLI test timeouts and improve error handling" This reverts commit 79e8b94.
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
… in path expression Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…lizaOS/eliza into feat/api-domain-reorganization
fix: remove message from chat UI on delete
fix: implement real-time message deletion via SocketIO
fix: onboarding user settings error
refactor: reorganize cli commands into modular structure
feat: add dummy services
- Add support for ProjectAgent type in start command - Load project configuration when no --character flag provided - Start agents with their initialization functions and plugins - Fall back to default Eliza character if no project agents found - Improve logging to show loaded agent names This allows projects to define agents in their configuration and have them automatically loaded by the start command.
Fix: Enable loading project agents when no character files specified
- Complete collection with 90+ REST API endpoints - Organized into logical categories (agents, messaging, memory, audio, etc.) - Fixed URL paths to match actual implementation - Includes collection variables and auto-generated test UUIDs - Covers all discovered endpoints from server codebase
…project-load fix: load the env config before agent project is loaded
chore: migrate all generated files into .eliza
fix: dup chats
chore: add comprehensive Postman collection for elizaOS APIs
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate Unit Tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
…sponses fix: update prompt, change actions logic, adjust for responses inste…
- update health check URL - node => bun
includes PRs: