{
  "interval": {
    "intervalStart": "2025-10-26T00:00:00.000Z",
    "intervalEnd": "2025-10-27T00:00:00.000Z",
    "intervalType": "day"
  },
  "repository": "elizaos/eliza",
  "overview": "From 2025-10-26 to 2025-10-27, elizaos/eliza had 1 new PRs (0 merged), 1 new issues, and 2 active contributors.",
  "topIssues": [
    {
      "id": "I_kwDOMT5cIs7T3bkB",
      "title": "Implement unified messaging API through ElizaOs Wrapper",
      "author": "linear",
      "number": 6096,
      "repository": "elizaos/eliza",
      "body": "",
      "createdAt": "2025-10-26T22:45:35Z",
      "closedAt": "2025-10-27T11:57:32Z",
      "state": "CLOSED",
      "commentCount": 1
    },
    {
      "id": "I_kwDOMT5cIs7KjCt9",
      "title": "Testing & Reliability",
      "author": "borisudovicic",
      "number": 5935,
      "repository": "elizaos/eliza",
      "body": "* Add smoke tests for CLI commands (create, start, agent, plugins).\n* Add integration tests for CLI/server workflows.\n* Verify backward compatibility for common CLI commands.\n* Improve CLI error messages for misconfigurations and missing options.",
      "createdAt": "2025-09-09T12:19:35Z",
      "closedAt": "2025-10-26T22:31:43Z",
      "state": "CLOSED",
      "commentCount": 0
    }
  ],
  "topPRs": [
    {
      "id": "PR_kwDOMT5cIs6vxM4H",
      "title": "feat: implement unified messaging API with elizaOS.sendMessage()",
      "author": "standujar",
      "number": 6095,
      "body": "# Relates to\n\nThis PR addresses the need for a unified messaging API across all ElizaOS clients to eliminate code duplication and improve maintainability.\n\n# Risks\n\n**Risk Level: Medium**\n\n- **Affected Areas**: Core messaging infrastructure, packages/server MessageBusService\n- **Mitigation**:\n  - Comprehensive test suite (19 new tests)\n  - Non-breaking changes - existing code continues to work\n  - Only packages/server currently uses the new API\n\n# Background\n\n## What does this PR do?\n\nThis PR introduces a unified messaging API that consolidates message sending across all clients into a single, consistent interface: `elizaOS.sendMessage()`.\n\n**Key Features:**\n- **SYNC mode**: Wait for agent response before returning\n- **ASYNC mode**: Fire-and-forget with optional callbacks (onResponse, onError, onComplete)\n- **Auto-fill**: Automatically fills missing fields (id, agentId, createdAt)\n- **Connection management**: Ensures connections exist before processing\n- **Reduced duplication**: Eliminates ~300+ lines of repeated code\n\n**Implementation:**\n1. Added `elizaOS.sendMessage()` method in packages/core\n2. Refactored MessageBusService in packages/server to use the new API\n3. Implemented global ElizaOS pattern for clean dependency injection\n4. Added comprehensive test suite\n\n## What kind of change is this?\n\n- [x] Features (non-breaking change which adds functionality)\n- [x] Improvements (misc. changes to existing features)\n\n# Testing\n\n## Where should a reviewer start?\n\n1. Review the new `elizaOS.sendMessage()` implementation in `packages/core/src/elizaos.ts`\n2. Check the test suite in `packages/core/src/__tests__/elizaos-sendmessage.test.ts`\n3. Review the refactored MessageBusService in `packages/server/src/services/message.ts`\n\n## Detailed testing steps\n\n**Automated Tests:**\n```bash\ncd packages/core\nbun test src/__tests__/elizaos-sendmessage.test.ts\n```\n\nAll 19 tests pass, covering:\n- ✅ SYNC mode with response waiting\n- ✅ ASYNC mode with callbacks\n- ✅ Auto-fill of missing fields\n- ✅ Connection management\n- ✅ Error handling\n- ✅ Batch operations\n- ✅ Edge cases (missing runtime, missing messageService, etc.)\n\n**Integration Testing:**\nThe MessageBusService in packages/server now uses this API. To test:\n1. Start a server with the message bus enabled\n2. Send messages through the central message bus\n3. Verify messages are processed correctly with the new API\n\n## Code Changes Summary\n\n### packages/core/src/elizaos.ts\n- Added `SendMessageOptions` and `SendMessageResult` interfaces\n- Implemented `elizaOS.sendMessage()` with SYNC/ASYNC modes\n- Implemented `elizaOS.sendMessages()` for batch operations\n\n### packages/server/src/services/message.ts\n- Added global ElizaOS pattern with `setGlobalElizaOS()` and `getGlobalElizaOS()`\n- Refactored `handleIncomingMessage()` to use `elizaOS.sendMessage()`\n- Removed `createAgentMemory()` helper (~50 lines eliminated)\n- Removed unused `Memory` import\n\n### packages/server/src/index.ts\n- Added call to `setGlobalElizaOS(this.elizaOS)` after ElizaOS initialization\n\n### packages/core/src/__tests__/elizaos-sendmessage.test.ts\n- New comprehensive test suite with 19 tests\n\n### packages/core/src/__tests__/elizaos.test.ts\n- Removed obsolete tests for old sendMessage API\n\n### Statistics\n- **Added**: ~600 lines (mostly tests and new API)\n- **Removed**: ~350 lines (duplicate code, obsolete tests)\n- **Net change**: +250 lines with significantly improved functionality\n\n# Deploy Notes\n\nNo special deployment steps required. Changes are backward-compatible.",
      "repository": "elizaos/eliza",
      "createdAt": "2025-10-26T20:49:07Z",
      "mergedAt": "2025-10-27T03:15:22Z",
      "additions": 952,
      "deletions": 356
    }
  ],
  "codeChanges": {
    "additions": 0,
    "deletions": 0,
    "files": 0,
    "commitCount": 1
  },
  "completedItems": [],
  "topContributors": [
    {
      "username": "standujar",
      "avatarUrl": "https://avatars.githubusercontent.com/u/16385918?u=718bdcd1585be8447bdfffb8c11ce249baa7532d&v=4",
      "totalScore": 95.39455454396543,
      "prScore": 95.39455454396543,
      "issueScore": 0,
      "reviewScore": 0,
      "commentScore": 0,
      "summary": "standujar: Focused on enhancing the Solana plugin by fixing a lazy loading issue in `SolanaWalletService` via PR elizaos-plugins/plugin-solana#18 and bumping its version, while also initiating a new feature to implement a unified messaging API in elizaos/eliza#6095. Their code changes reflect a balanced effort across feature work, bug fixes, and other tasks, primarily touching code and tests."
    },
    {
      "username": "linear",
      "avatarUrl": "https://avatars.githubusercontent.com/in/20150?v=4",
      "totalScore": 4.3,
      "prScore": 0,
      "issueScore": 4.1,
      "reviewScore": 0,
      "commentScore": 0.2,
      "summary": "linear: Today, linear initiated a new feature development by creating issue elizaos/eliza#6096, \"Implement unified messaging API through ElizaOs Wrapper,\" indicating a focus on API integration and expansion."
    }
  ],
  "newPRs": 1,
  "mergedPRs": 0,
  "newIssues": 1,
  "closedIssues": 1,
  "activeContributors": 2
}