Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

1.1 KB
Raw Blame
'use client';

import { defineFixtures, single } from './_helpers';

export default defineFixtures({
  identifier: 'github',
  fixtures: {
    create_pull_request: single({
      args: {
        base: 'canary',
        head: 'fix/codex-github-render',
        repository_full_name: 'lobehub/lobehub',
        title: 'Render Codex GitHub MCP tool calls',
      },
      content: JSON.stringify({
        base: 'canary',
        body: 'Render Codex GitHub MCP tool calls with a dedicated summary card.',
        draft: false,
        head: 'fix/codex-github-render',
        mergeable: true,
        merged: false,
        number: 16430,
        repository_full_name: 'lobehub/lobehub',
        state: 'open',
        title: 'Render Codex GitHub MCP tool calls',
        updated_at: '2026-06-29T08:20:00Z',
        url: 'https://github.com/lobehub/lobehub/pull/16430',
      }),
    }),
    run_command: single({
      args: {
        command: 'gh api /repos/lobehub/lobe-chat/issues?state=open',
      },
      pluginState: {
        command: 'gh api /repos/lobehub/lobe-chat/issues?state=open',
        exitCode: 0,
        success: true,
      },
    }),
  },
});