Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
Merge origin/main and finalize companion picker styling
MagicLizi64e96e3a3517
diff --cc apps/desktop/src/main/maker-host/__tests__/activeCatalogDiscovery.test.tsindex 49543e5623,90c2bef9b0..955573fe80--- a/apps/desktop/src/main/maker-host/__tests__/activeCatalogDiscovery.test.ts+++ b/apps/desktop/src/main/maker-host/__tests__/activeCatalogDiscovery.test.ts@@@ -365,18 -379,18 +379,21 @@@ describe('active-catalog discovered augit('adds a newly discovered Grok model to Pi without a bundled model or public declaration', () => {setActiveCatalog(BUNDLED_CATALOG);++ // Keep the discovery fixture independent of future bundled model releases.++ const modelId = 'grok-discovery-only';++ const models = () => getActiveCatalog().providers.find(p => p.id === 'xai')!.models.pi!;++ expect(models().some(model => model.id === modelId)).toBe(false);setXaiDiscoveredModels([{-- id: 'xai/grok-4.7', name: 'Grok 4.7', contextWindow: 500_000,++ id: `xai/${modelId}`, name: 'Discovered Grok', contextWindow: 500_000,maxOutput: 64_000, efforts: ['xhigh', 'high', 'medium', 'low'], defaultEffort: 'high',}]);-- const models = () => getActiveCatalog().providers.find(p => p.id === 'xai')!.models.pi!;-- expect(models().find(model => model.id === 'grok-4.7')).toMatchObject({-- name: 'Grok 4.7', contextWindow: 500_000, maxOutput: 64_000,++ expect(models().find(model => model.id === modelId)).toMatchObject({++ name: 'Discovered Grok', contextWindow: 500_000, maxOutput: 64_000,efforts: ['low', 'medium', 'high', 'xhigh'], defaultEffort: 'high',piApi: 'openai-responses',});setXaiDiscoveredModels(null);-- expect(models().some(model => model.id === 'grok-4.7')).toBe(false);++ expect(models().some(model => model.id === modelId)).toBe(false);});it('keeps discovered Pi models scoped to their Grok account', () => {diff --cc apps/desktop/src/renderer/features/bots/CindyDeviceRow.tsxindex f030e029a4,fcb512b148..262b74f1c3--- a/apps/desktop/src/renderer/features/bots/CindyDeviceRow.tsx+++ b/apps/desktop/src/renderer/features/bots/CindyDeviceRow.tsx@@@ -90,12 -90,7 +90,12 @@@ export function CindyDeviceRow(options={options}current={current}onSelect={onSelect}- className="pointer-events-auto col-span-2 -mx-2"+ className={cn(+ 'pointer-events-auto col-span-2 -mx-2 border-0 bg-transparent text-12 text-inherit focus-visible:ring-inset',+ 'enabled:hover:bg-sidebar-item-hover enabled:active:bg-sidebar-item-hover',+ selected &&- 'enabled:hover:bg-[color-mix(in_srgb,var(--sidebar-item-active-foreground)_10%,transparent)] enabled:active:bg-[color-mix(in_srgb,var(--sidebar-item-active-foreground)_16%,transparent)]',++ 'enabled:hover:bg-[color-mix(in_srgb,currentColor_10%,transparent)] enabled:active:bg-[color-mix(in_srgb,currentColor_16%,transparent)]',+ )}/><spanclassName={cn('truncate text-12 leading-4', mutedClass, typing && 'italic')}