Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

690 B
Raw Blame
import { mountPage } from '../../ui-page/harness';
import { SystemCard } from '../../../src/renderer/components/chat/SystemCard';

mountPage({
  render: ctx => (
    <main className="p-4">
      <SystemCard cardType="agent-switch" data={{
        fromAgentKind: 'codex', toAgentKind: 'codex', toModel: 'gpt-6-astra',
        fromAgentDeviceId: null, toAgentDeviceId: 'mini', toAgentDeviceName: 'Mac mini',
        resumed: !ctx.data.fallback, nativeHistory: ctx.data.fallback ? 'fallback' : 'restored',
        handoff: ctx.data.fallback ? 'Earlier requirements and latest tool outcome.' : 'Native history restored; continue with the current environment.',
      }} />
    </main>
  ),
});