{
  "interval": {
    "intervalStart": "2025-12-01T00:00:00.000Z",
    "intervalEnd": "2025-12-02T00:00:00.000Z",
    "intervalType": "day"
  },
  "repository": "elizaos/eliza",
  "overview": "From 2025-12-01 to 2025-12-02, elizaos/eliza had 2 new PRs (3 merged), 1 new issues, and 5 active contributors.",
  "topIssues": [
    {
      "id": "I_kwDOMT5cIs7V2Buf",
      "title": "Where did packages/docs/ go?",
      "author": "LinuxIsCool",
      "number": 6122,
      "repository": "elizaos/eliza",
      "body": "There was always packages/docs/ where did it get moved to?",
      "createdAt": "2025-11-04T18:08:54Z",
      "closedAt": "2025-12-01T14:35:46Z",
      "state": "CLOSED",
      "commentCount": 2
    },
    {
      "id": "I_kwDOMT5cIs7bZZY9",
      "title": "[Server] Concurrent connection timeouts & add reliability patterns",
      "author": "linear",
      "number": 6198,
      "repository": "elizaos/eliza",
      "body": "* **Configure Socket.IO properly** - Add ping/pong intervals, timeouts, transport settings to prevent stale connections\n* **Add HTTP server timeouts** - Configure explicit timeouts (30s request, 5s keepalive, 10s headers)\n* **Add socket disconnection guards** - Check socket state before/after async DB operations\n* **Parallelize DB operations** - Use `Promise.all()` for independent queries\n* **Add circuit breaker pattern** - Fail fast when DB is degraded, prevent cascade failures",
      "createdAt": "2025-12-01T12:49:44Z",
      "closedAt": "2025-12-02T16:15:51Z",
      "state": "CLOSED",
      "commentCount": 0
    }
  ],
  "topPRs": [
    {
      "id": "PR_kwDOMT5cIs62WwSP",
      "title": "refactor(server): optimization and reorganization",
      "author": "standujar",
      "number": 6199,
      "body": "# Risks\r\n\r\n**Low to Medium**\r\n\r\n- Socket.IO configuration changes may affect existing client connections (tested with multiple browsers)\r\n- Code reorganization changes import paths - all imports have been updated and verified\r\n\r\n# Background\r\n\r\n## What does this PR do?\r\n\r\nThis PR addresses server performance issues (request timeouts ~30s with multiple users connections) and improves code organization following clean architecture principles.\r\n\r\n### Performance Optimizations\r\n\r\n1. **Socket.IO Configuration**\r\n   - Configured `pingInterval` (25s) and `pingTimeout` (20s)\r\n   - Set `connectTimeout` (10s)\r\n   - Enforced transport order: `['websocket', 'polling']`\r\n\r\n2. **HTTP Server Timeouts**\r\n   - Added `timeout`, `keepAliveTimeout`, `headersTimeout`, `requestTimeout`\r\n   - Prevents hanging connections\r\n\r\n3. **Socket Disconnection Guards**\r\n   - Added checks before emitting to sockets\r\n   - Graceful handling of disconnected clients\r\n\r\n4. **Parallel Database Operations**\r\n   - Used `Promise.all` for independent DB queries\r\n   - Reduces latency for multi-query endpoints\r\n\r\n### Code Reorganization\r\n\r\nRestructured root-level files into proper directories:\r\n\r\n| Before | After |\r\n|--------|-------|\r\n| `src/bus.ts` | `src/services/message-bus.ts` |\r\n| `src/loader.ts` | `src/services/loader.ts` |\r\n| `src/upload.ts` | `src/utils/upload.ts` |\r\n| `src/types.ts` | `src/types/server.ts` |\r\n| *(new)* | `src/utils/config.ts` |\r\n| *(new)* | `src/services/index.ts` |\r\n\r\n- Added `ServerMiddleware` and `ServerConfig` types to `types/server.ts`\r\n- Created barrel exports in `services/index.ts` and updated `utils/index.ts`\r\n- Maintained backward compatibility via re-exports in `src/index.ts`\r\n\r\n### Test Fixes\r\n\r\n- Fixed invalid UUID usage in integration tests (replaced string casts with `stringToUuid()`)\r\n- Updated import paths for relocated modules\r\n\r\n## What kind of change is this?\r\n\r\n- Improvements (performance optimizations)\r\n- Refactoring (code reorganization)\r\n- Bug fixes (test UUID issues)\r\n\r\n# Documentation changes needed?\r\n\r\nNo\r\n\r\n# Testing\r\n\r\n## Where should a reviewer start?\r\n\r\n1. [src/index.ts](packages/server/src/index.ts) - Main entry point with Socket.IO and HTTP timeout configs\r\n2. [src/services/](packages/server/src/services/) - Reorganized service files\r\n\r\n## Detailed testing steps\r\n\r\n1. Run unit tests and integrations tests:\r\n   ```bash\r\n   cd packages/server && bun run test:unit && bun run test:integration\r\n   ```\r\n\r\n2. Run build:\r\n   ```bash\r\n   cd packages/server && bun run build\r\n   ```\r\n\r\n3. Manual testing:\r\n   - Start server with PostgreSQL\r\n   - Connect multiple browser tabs simultaneously\r\n   - Verify no timeout errors after 30s\r\n   - Test Socket.IO reconnection behavior",
      "repository": "elizaos/eliza",
      "createdAt": "2025-12-01T14:03:31Z",
      "mergedAt": "2025-12-01T15:58:32Z",
      "additions": 608,
      "deletions": 439
    },
    {
      "id": "PR_kwDOMT5cIs62TLRj",
      "title": "fix(client): improve markdown content spacing",
      "author": "wtfsayo",
      "number": 6197,
      "body": "This PR includes two fixes for markdown content spacing in the client:\n\n1. Add missing heading and separator spacing to markdown-content\n2. Reduce blockquote vertical spacing for more compact display\n\nThese changes improve the visual consistency and readability of markdown content rendered in the client.\n\n<!-- CURSOR_SUMMARY -->\n---\n\n> [!NOTE]\n> Adds consistent styles and spacing for markdown headings, separators, blockquotes, and code (blocks/inline) in `packages/client/src/index.css`.\n> \n> - **Client CSS (`packages/client/src/index.css`)**:\n>   - **Markdown headings (`h1–h6`)**: add consistent sizes, weights, line-heights, margins, and first-child top-margin removal.\n>   - **Separators**: style `hr` with uniform spacing and subtle border.\n>   - **Blockquotes**: add compact margins, padding, left border, color, italic text, and tighter paragraph spacing.\n>   - **Code styling**:\n>     - `pre`: add margins, padding, rounded corners, overflow handling, and background.\n>     - `code`: set monospace font and size; add inline code background, padding, and radius.\n> \n> <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit a70e5b8f0be7a0b3b8be503df0b23b0566cbb05d. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup>\n<!-- /CURSOR_SUMMARY -->",
      "repository": "elizaos/eliza",
      "createdAt": "2025-12-01T09:38:29Z",
      "mergedAt": "2025-12-01T09:39:44Z",
      "additions": 114,
      "deletions": 0
    },
    {
      "id": "PR_kwDOMT5cIs60Z-75",
      "title": "fix: markdown spacing compact",
      "author": "LinuxIsCool",
      "number": 6159,
      "body": "# Relates to\r\n\r\nFixes excessive vertical spacing in AI-generated markdown responses in the ElizaOS client UI.\r\n\r\n# Risks\r\n\r\n**Low Risk**\r\n\r\n- Only CSS changes affecting markdown content rendering\r\n- Uses well-supported CSS features (Chrome 58+, Firefox 37+, Safari 11.1+, Edge 79+)\r\n- No breaking changes to functionality\r\n- Fully backward compatible\r\n- Simple rollback (revert commit)\r\n\r\n**Affected areas:**\r\n- Client UI markdown rendering (packages/client)\r\n- AI response display formatting\r\n\r\n# Background\r\n\r\n## What does this PR do?\r\n\r\nFixes excessive vertical spacing in AI-generated markdown responses caused by Streamdown's wrapper `<div>` elements. Uses CSS `display: contents` to collapse wrapper spacing while preserving all content and functionality.\r\n\r\n**Key improvements:**\r\n- Bullet gaps: 24.5px → 2px (-91%)\r\n- List item gaps: 30.5px → 8px (-73%)\r\n- Header-to-bullets: 28.5px → 4px (-83%)\r\n- List-to-paragraph: 145.5px → 16px (-89%)\r\n- **Total spacing error eliminated: 178.5px → 0px**\r\n\r\n## What kind of change is this?\r\n\r\n- ✅ Bug fixes (non-breaking change which fixes an issue)\r\n- ✅ Improvements (misc. changes to existing features)\r\n\r\n# Documentation changes needed?\r\n\r\n- ✅ My changes do not require a change to the project documentation.\r\n\r\nThe changes are internal CSS improvements with no API or configuration changes.\r\n\r\n# Testing\r\n\r\n## Where should a reviewer start?\r\n\r\n1. Review the CSS changes in `packages/client/src/index.css` (lines 184-278)\r\n2. Review the component update in `packages/client/src/components/ai-elements/response.tsx` (line 12)\r\n3. Test the visual improvements in the running client\r\n\r\n## Detailed testing steps\r\n\r\n### Automated Testing\r\n- ✅ Playwright browser automation with pixel-perfect measurements\r\n- ✅ Computed style verification\r\n- ✅ DOM structure inspection\r\n- ✅ All spacing measurements achieved targets with 0.0px error\r\n\r\n### Manual Testing Instructions\r\n\r\n1. Checkout this branch:\r\n   ```bash\r\n   git checkout fix/markdown-spacing-compact\r\n   ```\r\n\r\n2. Install dependencies and start client:\r\n   ```bash\r\n   bun install\r\n   cd packages/client && bun run dev\r\n   ```\r\n\r\n3. Open browser to client UI (http://localhost:5173)\r\n\r\n4. Start a chat with any agent\r\n\r\n5. Ask a question that generates nested lists, for example:\r\n   - \"Explain the key features of this system\"\r\n   - \"Create a list view with example data showing nested workflow progress\"\r\n\r\n6. Verify:\r\n   - ✅ Compact, readable spacing between list items\r\n   - ✅ Tight spacing (4px) between headers and their following lists\r\n   - ✅ No overlapping text\r\n   - ✅ Proper visual hierarchy maintained\r\n   - ✅ No console errors\r\n   - ✅ Smooth scrolling works correctly\r\n\r\n### Tested Scenarios\r\n- ✅ Complex nested lists (numbered and bulleted)\r\n- ✅ Mixed content (paragraphs, lists, headings)\r\n- ✅ Scrolling and overflow behavior\r\n- ✅ Accessibility (screen reader, keyboard navigation)\r\n- ✅ No layout breakage in any scenario\r\n\r\n## Screenshots\r\n\r\n### Before\r\n<img width=\"3840\" height=\"2080\" alt=\"before\" src=\"https://github.com/user-attachments/assets/459f89bf-c623-4ad4-aa36-ce4a0f997033\" />\r\n*Excessive spacing between elements, particularly noticeable in nested lists*\r\n\r\n### After\r\n<img width=\"3840\" height=\"2080\" alt=\"after\" src=\"https://github.com/user-attachments/assets/f4addcb5-5dab-45fb-8e0f-e5dda4885d11\" />\r\n*Compact, readable spacing matching design targets and Claude web interface*\r\n\r\n# Technical Details\r\n\r\n## Files Changed\r\n- `packages/client/src/index.css` (+109 lines)\r\n- `packages/client/src/components/ai-elements/response.tsx` (1 line modified)\r\n\r\n## Key Technical Approach\r\n\r\nUses CSS `display: contents` to make Streamdown's wrapper divs \"transparent\" to layout:\r\n\r\n```css\r\n.markdown-content > div {\r\n  display: contents !important;\r\n}\r\n```\r\n\r\nThis removes wrapper divs from the box tree while preserving DOM structure and semantics, eliminating the spacing contribution from Tailwind's `space-y-4` class.\r\n\r\n## Browser Compatibility\r\n\r\n| Browser | Version | Status |\r\n|---------|---------|--------|\r\n| Chrome | 58+ (May 2017) | ✅ Supported |\r\n| Firefox | 37+ (March 2015) | ✅ Supported |\r\n| Safari | 11.1+ (March 2018) | ✅ Supported |\r\n| Edge | 79+ (January 2020) | ✅ Supported |\r\n\r\nCovers >95% of modern browser users.\r\n\r\n---\r\n\r\n**PR Title:**\r\n```\r\nfix(client): Fix excessive spacing in markdown rendered content\r\n```\r\n\r\n**Branch details:**\r\n- Base branch: `develop`\r\n- Compare branch: `fix/markdown-spacing-compact` (from gaiaaiagent/GAIA)",
      "repository": "elizaos/eliza",
      "createdAt": "2025-11-19T17:17:48Z",
      "mergedAt": "2025-12-01T09:35:13Z",
      "additions": 106,
      "deletions": 1
    }
  ],
  "codeChanges": {
    "additions": 828,
    "deletions": 440,
    "files": 32,
    "commitCount": 16
  },
  "completedItems": [
    {
      "title": "fix: markdown spacing compact",
      "prNumber": 6159,
      "type": "bugfix",
      "body": "# Relates to\r\n\r\nFixes excessive vertical spacing in AI-generated markdown responses in the ElizaOS client UI.\r\n\r\n# Risks\r\n\r\n**Low Risk**\r\n\r\n- Only CSS changes affecting markdown content rendering\r\n- Uses well-supported CSS features (Chrome ",
      "files": [
        "packages/client/src/components/ai-elements/response.tsx",
        "packages/client/src/index.css"
      ]
    },
    {
      "title": "refactor(server): optimization and reorganization",
      "prNumber": 6199,
      "type": "refactor",
      "body": "# Risks\r\n\r\n**Low to Medium**\r\n\r\n- Socket.IO configuration changes may affect existing client connections (tested with multiple browsers)\r\n- Code reorganization changes import paths - all imports have been updated and verified\r\n\r\n# Backgroun",
      "files": [
        "bun.lock",
        "packages/server/src/__tests__/builders/channel.builder.ts",
        "packages/server/src/__tests__/builders/message.builder.ts",
        "packages/server/src/__tests__/integration/agent-server-interaction.test.ts",
        "packages/server/src/__tests__/integration/database-operations.test.ts",
        "packages/server/src/__tests__/integration/message-bus-service.test.ts",
        "packages/server/src/__tests__/unit/api/crud-uuid.test.ts",
        "packages/server/src/__tests__/unit/api/jobs.test.ts",
        "packages/server/src/__tests__/unit/features/socketio-router.test.ts",
        "packages/server/src/__tests__/unit/services/message-bus-compatibility.test.ts",
        "packages/server/src/__tests__/unit/utils/loader-uuid.test.ts",
        "packages/server/src/__tests__/unit/utils/loader.test.ts",
        "packages/server/src/api/index.ts",
        "packages/server/src/api/messaging/channels.ts",
        "packages/server/src/api/messaging/core.ts",
        "packages/server/src/api/messaging/jobs.ts",
        "packages/server/src/api/messaging/messageServers.ts",
        "packages/server/src/api/messaging/sessions.ts",
        "packages/server/src/api/shared/uploads/index.ts",
        "packages/server/src/index.ts",
        "packages/server/src/services/index.ts",
        "packages/server/src/services/loader.ts",
        "packages/server/src/services/message-bus.ts",
        "packages/server/src/services/message.ts",
        "packages/server/src/socketio/index.ts",
        "packages/server/src/types/server.ts",
        "packages/server/src/utils/config.ts",
        "packages/server/src/utils/index.ts",
        "packages/server/src/utils/media-transformer.ts",
        "packages/server/src/utils/upload.ts"
      ]
    },
    {
      "title": "fix(client): improve markdown content spacing",
      "prNumber": 6197,
      "type": "bugfix",
      "body": "This PR includes two fixes for markdown content spacing in the client:\n\n1. Add missing heading and separator spacing to markdown-content\n2. Reduce blockquote vertical spacing for more compact display\n\nThese changes improve the visual consis",
      "files": [
        "packages/client/src/index.css"
      ]
    }
  ],
  "topContributors": [
    {
      "username": "standujar",
      "avatarUrl": "https://avatars.githubusercontent.com/u/16385918?u=718bdcd1585be8447bdfffb8c11ce249baa7532d&v=4",
      "totalScore": 58.1417738965761,
      "prScore": 57.703773896576095,
      "issueScore": 0,
      "reviewScore": 0,
      "commentScore": 0.43799999999999994,
      "summary": null
    },
    {
      "username": "wtfsayo",
      "avatarUrl": "https://avatars.githubusercontent.com/u/82053242?u=98209a1f10456f42d4d2fa71db4d5bf4a672cbc3&v=4",
      "totalScore": 31.398466064181626,
      "prScore": 31.398466064181626,
      "issueScore": 0,
      "reviewScore": 0,
      "commentScore": 0,
      "summary": null
    },
    {
      "username": "linear",
      "avatarUrl": "https://avatars.githubusercontent.com/in/20150?v=4",
      "totalScore": 2,
      "prScore": 0,
      "issueScore": 2,
      "reviewScore": 0,
      "commentScore": 0,
      "summary": null
    }
  ],
  "newPRs": 2,
  "mergedPRs": 3,
  "newIssues": 1,
  "closedIssues": 1,
  "activeContributors": 5
}