{
  "interval": {
    "intervalStart": "2025-07-02T00:00:00.000Z",
    "intervalEnd": "2025-07-03T00:00:00.000Z",
    "intervalType": "day"
  },
  "repository": "elizaos/eliza",
  "overview": "From 2025-07-02 to 2025-07-03, elizaos/eliza had 8 new PRs (6 merged), 0 new issues, and 7 active contributors.",
  "topIssues": [
    {
      "id": "I_kwDOMT5cIs68jIbD",
      "title": "fix: ensure `bun run test` works consistently across all packages",
      "author": "wtfsayo",
      "number": 5218,
      "repository": "elizaos/eliza",
      "body": "## Problem\n\nCurrently, `bun run test` does not work consistently across all packages in the ElizaOS monorepo. This creates several issues:\n\n1. **Inconsistent Developer Experience**: Developers cannot reliably run tests in individual packages\n2. **CI/CD Fragility**: The root `bun test` command fails, making it difficult to validate changes\n3. **Low Test Coverage**: Only 28% of source files have tests (excluding dist files)\n4. **Missing Test Infrastructure**: 29% of packages have no test scripts defined\n\n### Current State Analysis\n\n**Test Coverage by Package:**\n- ✅ **10/14 packages (71%)** have test scripts defined\n- ❌ **4/14 packages (29%)** have no test infrastructure\n- 🔴 Root `bun test` fails due to `@elizaos/plugin-bootstrap` mock initialization errors\n\n**Packages with Issues:**\n1. **No Tests At All:**\n   - `@elizaos/app` - Tauri application\n   - `@elizaos/autodoc` - Documentation generator\n   - `create-eliza` - Scaffolding tool\n   - `@elizaos/docs` - Docusaurus site (expected)\n\n2. **Failing Tests:**\n   - `@elizaos/plugin-bootstrap` - Mock initialization errors\n   - `@elizaos/project-tee-starter` - Environment setup issues\n\n3. **Excluded from Root Tests:**\n   - `@elizaos/plugin-starter` (template)\n   - `@elizaos/docs` (documentation)\n   - `@elizaos/plugin-sql` (has tests but excluded)\n\n## Proposed Solution\n\nImplement a phased approach to ensure all packages have working tests:\n\n### Phase 1: Fix Failing Tests (Priority: High)\n- [ ] Fix `@elizaos/plugin-bootstrap` mock initialization errors\n- [ ] Fix `@elizaos/project-tee-starter` environment setup issues\n- [ ] Ensure root `bun test` command passes\n\n### Phase 2: Add Missing Test Infrastructure (Priority: High)\n- [ ] Add test setup to `@elizaos/app` (Tauri app testing)\n- [ ] Add test setup to `@elizaos/autodoc`\n- [ ] Add test setup to `create-eliza`\n- [ ] Create minimal test files to validate setup\n\n### Phase 3: Standardize Test Configuration (Priority: Medium)\n- [ ] Create shared test configuration for consistency\n- [ ] Standardize coverage reporting (exclude dist/, build/, node_modules/)\n- [ ] Add coverage thresholds per package\n- [ ] Ensure all packages use Bun test runner consistently\n\n### Phase 4: Documentation & CI Updates (Priority: Medium)\n- [ ] Update contributing guide with testing requirements\n- [ ] Add pre-commit hooks for test validation\n- [ ] Update CI workflows to run package-specific tests\n- [ ] Create testing best practices documentation\n\n## Implementation Details\n\n### 1. Shared Test Configuration\nCreate a base test configuration that all packages can extend:\n\n```typescript\n// packages/test-config/base.config.ts\nexport default {\n  testMatch: [\"**/*.test.ts\", \"**/*.spec.ts\"],\n  coverage: {\n    exclude: [\n      \"**/dist/**\",\n      \"**/build/**\",\n      \"**/node_modules/**\",\n      \"**/*.d.ts\",\n      \"**/coverage/**\"\n    ],\n    threshold: {\n      statements: 60,\n      branches: 60,\n      functions: 60,\n      lines: 60\n    }\n  }\n}\n```\n\n### 2. Package Test Script Standardization\nEnsure every package.json has:\n```json\n{\n  \"scripts\": {\n    \"test\": \"bun test\",\n    \"test:coverage\": \"bun test --coverage\"\n  }\n}\n```\n\n### 3. Fix Root Test Command\nUpdate root package.json to handle package-specific test requirements:\n```json\n{\n  \"scripts\": {\n    \"test\": \"turbo run test --filter=\\!@elizaos/docs --filter=\\!@elizaos/plugin-starter\"\n  }\n}\n```\n\n## Success Criteria\n\n- [ ] `bun run test` works in every package directory\n- [ ] Root `bun test` command passes without errors\n- [ ] All packages have at least minimal test coverage\n- [ ] Test coverage reporting excludes dist/build artifacts\n- [ ] CI/CD pipeline runs all tests successfully\n- [ ] Developer documentation updated with testing guidelines\n\n## Benefits\n\n1. **Improved Developer Experience**: Consistent testing commands across all packages\n2. **Better Code Quality**: Increased test coverage from 28% to target 60%+\n3. **Reliable CI/CD**: All PRs validated with comprehensive test suite\n4. **Easier Onboarding**: New contributors can confidently run tests\n5. **Reduced Bugs**: Catch issues early with standardized testing\n\n## Alternatives Considered\n\n1. **Using Different Test Runners**: Considered Jest/Vitest but Bun test is already established\n2. **Monorepo-level Testing Only**: Would miss package-specific issues\n3. **Excluding Packages from Testing**: Would leave gaps in coverage\n\n## Additional Context\n\n- Current test coverage is ~28% (excluding dist files)\n- The monorepo uses Turbo for orchestration\n- Bun test runner is the standard across the project\n- Some packages have E2E tests (client) that need special handling\n\nThis improvement will significantly enhance the development workflow and code quality across the ElizaOS project.",
      "createdAt": "2025-06-20T13:18:54Z",
      "closedAt": "2025-07-02T11:54:24Z",
      "state": "CLOSED",
      "commentCount": 1
    },
    {
      "id": "I_kwDOMT5cIs6-RUyw",
      "title": "Upgrade BD tier 1-4 plugins",
      "author": "borisudovicic",
      "number": 5341,
      "repository": "elizaos/eliza",
      "body": "[https://docs.google.com/spreadsheets/d/13Xbqg5W80jx9kCK_3AzkeTCPVT6Lm19gyConLTw5KEU/edit?gid=123741074#gid=123741074](https://docs.google.com/spreadsheets/d/13Xbqg5W80jx9kCK_3AzkeTCPVT6Lm19gyConLTw5KEU/edit?gid=123741074#gid=123741074)",
      "createdAt": "2025-07-01T12:07:38Z",
      "closedAt": "2025-07-02T15:42:01Z",
      "state": "CLOSED",
      "commentCount": 0
    }
  ],
  "topPRs": [
    {
      "id": "PR_kwDOMT5cIs6dHcDI",
      "title": "chore: improve logs",
      "author": "0xbbjoker",
      "number": 5348,
      "body": "\n\n<!-- This is an auto-generated comment: release notes by coderabbit.ai -->\n\n## Summary by CodeRabbit\n\n* **New Features**\n  * Added visual spinner animations to indicate progress during migrations.\n  * Introduced real-time tracking and display of token usage and estimated costs.\n  * Enhanced progress updates with timestamps, emojis, and clearer formatting.\n  * Improved tool usage reporting with simplified names, emojis, and elapsed time indicators.\n\n* **Bug Fixes**\n  * Improved error and abort handling with detailed messages, recovery suggestions, and better feedback on failures.\n\n* **Chores**\n  * Enhanced migration summaries to include detailed statistics on tokens, costs, and operation counts.\n\n<!-- end of auto-generated comment: release notes by coderabbit.ai -->",
      "repository": "elizaos/eliza",
      "createdAt": "2025-07-02T16:34:15Z",
      "mergedAt": "2025-07-03T15:10:37Z",
      "additions": 329,
      "deletions": 40
    },
    {
      "id": "PR_kwDOMT5cIs6dDDuR",
      "title": "feat: update agent settings UI to match design specifications",
      "author": "wtfsayo",
      "number": 5345,
      "body": "## Summary\n\n- Updated dark theme colors for better contrast and visual consistency\n- Fixed form field styling with proper border radius (4px) and increased spacing\n- Restructured form element order to follow design pattern: label → input → description\n- Increased input height to 48px with proper padding for improved UX\n- Removed Card wrapper component for a cleaner, flatter design\n- Added consistent spacing between form sections\n- Updated typography with lighter label colors and proper font weights\n\n## Changes\n\n- Modified dark theme CSS variables in \n- Updated Input, Textarea, and Select components with consistent styling\n- Refactored CharacterForm component to properly structure form fields\n- Adjusted Label component with muted foreground color\n- Fixed spacing and layout issues throughout the form\n\n## Screenshots\n\nThe form now matches the Figma design specifications with proper spacing, colors, and visual hierarchy.",
      "repository": "elizaos/eliza",
      "createdAt": "2025-07-02T09:12:01Z",
      "mergedAt": "2025-07-02T09:46:19Z",
      "additions": 193,
      "deletions": 157
    },
    {
      "id": "PR_kwDOMT5cIs6dCLBt",
      "title": "feat: redesign Agent Cards Homepage Layout",
      "author": "wtfsayo",
      "number": 5344,
      "body": "## 🎨 UI Redesign: Agent Cards Homepage\n\nThis PR redesigns the agent cards on the client homepage to match the target design specification.\n\n### 📋 Changes Made\n\n#### **AgentCard Component**\n- ✅ **Layout**: Changed from square/vertical to horizontal rectangular cards\n- ✅ **Avatar**: Moved to left side, square shape with rounded corners (12x12)\n- ✅ **Status Indicator**: Added colored dot (green/red) next to agent name\n- ✅ **Description**: Bio text now spans up to 2 lines with proper line clamping\n- ✅ **Menu**: Replaced action buttons with three-dot dropdown in top-right corner\n- ✅ **Dropdown Options**: 'New Chat', 'Pause/Start Agent', 'Settings'\n\n#### **AddAgentCard Component**\n- ✅ **Matching Layout**: Updated to horizontal design matching agent cards\n- ✅ **Consistent Spacing**: Same height and padding as agent cards\n- ✅ **Square Avatar Area**: Dashed border placeholder with rounded corners\n\n#### **Home Page Layout**\n- ✅ **Grid Optimization**: 2 columns on medium+ screens for better display\n- ✅ **Spacing**: Reduced gaps for tighter, cleaner layout\n\n### 🔧 Technical Details\n\n- **Preserved Functionality**: All existing features maintained (start/stop, navigation, error handling)\n- **TypeScript Safety**: No type errors, full build compatibility\n- **Responsive Design**: Works across all screen sizes\n- **Accessibility**: Proper ARIA labels, keyboard navigation, screen reader support\n- **Performance**: No performance regressions, efficient rendering\n\n### 🎯 Design Alignment\n\nThe updated cards now perfectly match the target design with:\n- Compact horizontal layout\n- Square avatars with rounded corners\n- Status indicators with colored dots\n- Two-line description support\n- Top-right positioned dropdown menus\n- Consistent spacing and typography\n\n### 🧪 Testing\n\n- ✅ Build passes without errors\n- ✅ TypeScript compilation successful\n- ✅ All existing functionality preserved\n- ✅ Responsive design tested\n- ✅ Component structure maintains compatibility\n\n### 📱 Before/After\n\n**Before**: Square cards with large avatars, action buttons at bottom\n**After**: Horizontal cards with left avatars, status dots, top-right menus\n\nThis redesign provides a more modern, space-efficient interface that better showcases agent information while maintaining full functionality.",
      "repository": "elizaos/eliza",
      "createdAt": "2025-07-02T07:42:42Z",
      "mergedAt": "2025-07-02T08:12:44Z",
      "additions": 191,
      "deletions": 146
    },
    {
      "id": "PR_kwDOMT5cIs6dDxPO",
      "title": "fix(client): resolve all type issues in home.tsx for complete type safety",
      "author": "wtfsayo",
      "number": 5346,
      "body": "## Summary\n\nThis PR fixes all TypeScript type issues in the home.tsx file to ensure complete type safety.\n\n## Changes\n\n- Use  enum instead of string literals for status comparison\n- Add proper type imports for  and \n- Add explicit type annotations for  and  hooks\n- Fix  to accept  parameter\n- Add  to  memoized component\n- Properly type  group prop with type assertion\n- Ensure all map functions have explicit type annotations\n\n## Testing\n\n- All TypeScript errors have been resolved\n- No functionality changes, only type safety improvements\n- Verified with  tool - no errors or warnings\n\n## Related Issues\n\nImproves type safety as part of ongoing client improvements.",
      "repository": "elizaos/eliza",
      "createdAt": "2025-07-02T10:26:47Z",
      "mergedAt": "2025-07-02T10:31:18Z",
      "additions": 140,
      "deletions": 89
    },
    {
      "id": "PR_kwDOMT5cIs6dKXz7",
      "title": "feat: tweak agent card",
      "author": "tcm390",
      "number": 5351,
      "body": "This PR refines the Agent Card to match the Figma design more closely.\r\n\r\nbefore:\r\n\r\n\r\n<img width=\"807\" alt=\"Screenshot 2025-07-03 at 6 36 23 AM\" src=\"https://github.com/user-attachments/assets/2aafc81c-4d1a-4f8e-87c2-a3811c47d500\" />\r\n\r\nafter:\r\n\r\n<img width=\"927\" alt=\"Screenshot 2025-07-03 at 6 36 36 AM\" src=\"https://github.com/user-attachments/assets/d2a89bed-2c29-4f26-8232-7e2e0f1fe767\" />\r\n",
      "repository": "elizaos/eliza",
      "createdAt": "2025-07-02T22:37:21Z",
      "mergedAt": "2025-07-02T22:38:25Z",
      "additions": 53,
      "deletions": 53
    }
  ],
  "codeChanges": {
    "additions": 620,
    "deletions": 511,
    "files": 33,
    "commitCount": 60
  },
  "completedItems": [
    {
      "title": "feat: tweak agent card",
      "prNumber": 5351,
      "type": "feature",
      "body": "This PR refines the Agent Card to match the Figma design more closely.\r\n\r\nbefore:\r\n\r\n\r\n<img width=\"807\" alt=\"Screenshot 2025-07-03 at 6 36 23 AM\" src=\"https://github.com/user-attachments/assets/2aafc81c-4d1a-4f8e-87c2-a3811c47d500\" />\r\n\r\naf",
      "files": [
        "packages/client/src/components/agent-card.tsx",
        "packages/client/src/components/ui/switch.tsx",
        "packages/client/src/routes/home.tsx"
      ]
    },
    {
      "title": "fix: update eliza avatar",
      "prNumber": 5350,
      "type": "bugfix",
      "body": "Currently, we are using a large image for the default Eliza avatar, which makes the app load slowly. Since we only need a reasonable resolution for avatars, this PR:\r\n\r\nResizes the default Eliza avatar to 512x512, which is sufficient for UI",
      "files": [
        "packages/client/public/elizaos-avatar.png",
        "packages/client/src/components/avatar-panel.tsx",
        "packages/client/src/constants.ts"
      ]
    },
    {
      "title": "feat: chat refactor",
      "prNumber": 5349,
      "type": "feature",
      "body": "This PR refactors the Chat component, including the chat bubble and chat view, to align with the new Figma design. Please note that the group chat design is not finalized yet and will be refactored in a separate PR once the design is comple",
      "files": [
        "packages/client/src/components/ChatMessageListComponent.tsx",
        "packages/client/src/components/chat.tsx",
        "packages/client/src/components/retry-button.tsx",
        "packages/client/src/components/ui/button.cy.tsx",
        "packages/client/src/components/ui/button.tsx",
        "packages/client/src/components/ui/chat/chat-bubble.tsx",
        "packages/client/src/components/ui/chat/chat-message-list.tsx",
        "packages/client/src/components/ui/chat/chat-tts-button.tsx"
      ]
    },
    {
      "title": "fix(client): resolve all type issues in home.tsx for complete type safety",
      "prNumber": 5346,
      "type": "bugfix",
      "body": "## Summary\n\nThis PR fixes all TypeScript type issues in the home.tsx file to ensure complete type safety.\n\n## Changes\n\n- Use  enum instead of string literals for status comparison\n- Add proper type imports for  and \n- Add explicit type anno",
      "files": [
        "packages/client/src/components/add-agent-card.tsx",
        "packages/client/src/components/agent-card.tsx",
        "packages/client/src/routes/home.tsx"
      ]
    },
    {
      "title": "feat: update agent settings UI to match design specifications",
      "prNumber": 5345,
      "type": "feature",
      "body": "## Summary\n\n- Updated dark theme colors for better contrast and visual consistency\n- Fixed form field styling with proper border radius (4px) and increased spacing\n- Restructured form element order to follow design pattern: label → input → ",
      "files": [
        "packages/client/src/components/agent-settings.tsx",
        "packages/client/src/components/array-input.tsx",
        "packages/client/src/components/character-form.tsx",
        "packages/client/src/components/plugins-panel.tsx",
        "packages/client/src/components/secret-panel.tsx",
        "packages/client/src/components/ui/input.tsx",
        "packages/client/src/components/ui/label.cy.tsx",
        "packages/client/src/components/ui/label.tsx",
        "packages/client/src/components/ui/select.tsx",
        "packages/client/src/components/ui/tabs.tsx",
        "packages/client/src/components/ui/textarea.cy.tsx",
        "packages/client/src/components/ui/textarea.tsx",
        "packages/client/src/hooks/use-elevenlabs-voices.ts",
        "packages/client/src/hooks/use-server-version.tsx",
        "packages/client/src/index.css",
        "packages/client/src/routes/agent-settings.tsx"
      ]
    },
    {
      "title": "feat: redesign Agent Cards Homepage Layout",
      "prNumber": 5344,
      "type": "feature",
      "body": "## 🎨 UI Redesign: Agent Cards Homepage\n\nThis PR redesigns the agent cards on the client homepage to match the target design specification.\n\n### 📋 Changes Made\n\n#### **AgentCard Component**\n- ✅ **Layout**: Changed from square/vertical to h",
      "files": [
        "bun.lock",
        "packages/client/package.json",
        "packages/client/src/components/add-agent-card.tsx",
        "packages/client/src/components/agent-card.tsx",
        "packages/client/src/components/ui/switch.tsx",
        "packages/client/src/routes/home.tsx"
      ]
    }
  ],
  "topContributors": [
    {
      "username": "wtfsayo",
      "avatarUrl": "https://avatars.githubusercontent.com/u/82053242?u=98209a1f10456f42d4d2fa71db4d5bf4a672cbc3&v=4",
      "totalScore": 141.99918776716316,
      "prScore": 141.56118776716318,
      "issueScore": 0,
      "reviewScore": 0,
      "commentScore": 0.43799999999999994,
      "summary": "wtfsayo: Merged 3 PRs in elizaos/eliza, including a redesign of the Agent Cards Homepage Layout (+443/-398 lines) and updates to the agent settings UI (+221/-185 lines), and created and closed issue elizaos/eliza#5218. Also commented on 4 issues and 3 PRs, modifying 72 files with +1334/-1070 lines in total."
    },
    {
      "username": "tcm390",
      "avatarUrl": "https://avatars.githubusercontent.com/u/60634884?u=c6c41679b8322eaa0c81f72e0b4ed95e80f0ac16&v=4",
      "totalScore": 116.27184437300627,
      "prScore": 116.27184437300627,
      "issueScore": 0,
      "reviewScore": 0,
      "commentScore": 0,
      "summary": "tcm390: Merged 3 PRs in elizaos/eliza, including a feature to tweak the agent card (+667/-632 lines) and a chat refactor (+46/-70 lines), and has one open PR for an agent card refactor. Modified 49 files with a focus on other work and refactoring."
    },
    {
      "username": "odilitime",
      "avatarUrl": "https://avatars.githubusercontent.com/u/16395496?u=c9bac48e632aae594a0d85aaf9e9c9c69b674d8b&v=4",
      "totalScore": 76.43239488210207,
      "prScore": 67.63239488210208,
      "issueScore": 4.1,
      "reviewScore": 4.5,
      "commentScore": 0.2,
      "summary": "odilitime: Modified one file with 81 additions and 1 deletion, committing changes primarily focused on other work. This continues a pattern of very consistent daily activity."
    },
    {
      "username": "0xbbjoker",
      "avatarUrl": "https://avatars.githubusercontent.com/u/54844437?u=90fe1762420de6ad493a1c1582f1f70c0d87d8e2&v=4",
      "totalScore": 30.627751502819134,
      "prScore": 30.287751502819134,
      "issueScore": 0,
      "reviewScore": 0,
      "commentScore": 0.33999999999999997,
      "summary": "0xbbjoker: Merged elizaos/eliza#5348, improving logs with +329/-40 lines, and commented on 2 PRs. The work was focused on other areas."
    },
    {
      "username": "standujar",
      "avatarUrl": "https://avatars.githubusercontent.com/u/16385918?u=718bdcd1585be8447bdfffb8c11ce249baa7532d&v=4",
      "totalScore": 5,
      "prScore": 0,
      "issueScore": 0,
      "reviewScore": 5,
      "commentScore": 0,
      "summary": null
    },
    {
      "username": "Ovodo",
      "avatarUrl": "https://avatars.githubusercontent.com/u/107152769?u=875457368f5da28dd042a989613a3b38c9d008e2&v=4",
      "totalScore": 2.1,
      "prScore": 0,
      "issueScore": 2.1,
      "reviewScore": 0,
      "commentScore": 0,
      "summary": null
    },
    {
      "username": "META-DREAMER",
      "avatarUrl": "https://avatars.githubusercontent.com/u/7143583?u=96f63f10e066a06d5ad592c8efc659e2b84a68fc&v=4",
      "totalScore": 0.2,
      "prScore": 0,
      "issueScore": 0,
      "reviewScore": 0,
      "commentScore": 0.2,
      "summary": null
    }
  ],
  "newPRs": 8,
  "mergedPRs": 6,
  "newIssues": 0,
  "closedIssues": 2,
  "activeContributors": 7
}