The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
Revert "fix(catalog): align CI checks with the shared action row"
teknium19139bb8a4e9b
diff --git a/apps/desktop/src/app/settings/plugin-install-modal.test.tsx b/apps/desktop/src/app/settings/plugin-install-modal.test.tsxindex 5116806a8b5..187d0b3574e 100644--- a/apps/desktop/src/app/settings/plugin-install-modal.test.tsx+++ b/apps/desktop/src/app/settings/plugin-install-modal.test.tsx@@ -27,7 +27,7 @@ import {import { $activeGatewayProfile } from '@/store/profile'import { $connection, $gatewayState } from '@/store/session'-import { PluginActions, PluginsTab } from '../skills/plugins-tab'+import { PluginsTab } from '../skills/plugins-tab'import { PluginInstallModal } from './plugin-install-modal'@@ -38,7 +38,6 @@ const renderFlow = () =>render(<MemoryRouter initialEntries={['/skills?tab=plugins']}><QueryClientProvider client={queryClient}>- <PluginActions profile={null} /><PluginsTab profile={null} /><PluginInstallModal /></QueryClientProvider>diff --git a/apps/desktop/src/app/skills/catalog-browser.tsx b/apps/desktop/src/app/skills/catalog-browser.tsxindex e0d25b7462e..bd9b24c408b 100644--- a/apps/desktop/src/app/skills/catalog-browser.tsx+++ b/apps/desktop/src/app/skills/catalog-browser.tsx@@ -153,7 +153,7 @@ export const CatalogBrowser = memo(function CatalogBrowser({) : (<div className={cn('h-full min-h-0', detailOpen ? '[&_aside]:max-sm:hidden' : '[&_main]:max-sm:hidden')}><MasterDetail resizeId="capabilities-split" split="wide">- <ListColumn header={<ListStrip left={<ListStripLabel>{c.results(filtered.length)}</ListStripLabel>} />} key={`${source}:${category}:${deferredQuery}`}>+ <ListColumn key={`${source}:${category}:${deferredQuery}`} header={<ListStrip left={<ListStripLabel>{c.results(filtered.length)}</ListStripLabel>} />}>{filtered.slice(0, limit).map(entry => (<RowButtonaria-pressed={entry.id === selected.id}diff --git a/apps/desktop/src/app/skills/index.tsx b/apps/desktop/src/app/skills/index.tsxindex 1f4675ec1fa..258cbb1ef60 100644--- a/apps/desktop/src/app/skills/index.tsx+++ b/apps/desktop/src/app/skills/index.tsx@@ -32,6 +32,7 @@ import { queryClient } from '@/lib/query-client'import { invalidateSlashCompletions } from '@/lib/slash-completion-cache'import { normalize } from '@/lib/text'import { useStoreSelector } from '@/lib/use-session-slice'+import { cn } from '@/lib/utils'import { $gateway, activeGatewayConnectionId } from '@/store/gateway'import { notify, notifyError } from '@/store/notifications'import { $activeGatewayProfile, normalizeProfileKey } from '@/store/profile'@@ -803,11 +804,11 @@ export function SkillsView({// reloads the agent list.<PluginsTabkey={`plugins-${scopeKey}`}- onQueryChange={setQuery}profile={scopeProfile}- query={query}scopeLabel={scopeLabel}view={capabilityView}+ query={query}+ onQueryChange={setQuery}/>) : mode === 'mcp' ? (// The gateway instance backs ONLY the live `reload.mcp` RPC, and@@ -817,7 +818,7 @@ export function SkillsView({// apply on that backend's next session).<McpTab gateway={crossBackendScope ? null : gateway} key={`mcp-${scopeKey}`} profile={scopeProfile} />) : mode === 'skills' && capabilityView === 'browse' ? (- <SkillCatalog installedNames={installedSkillNames} key={scopeKey} onQueryChange={setQuery} profile={scopeProfile} query={query} />+ <SkillCatalog installedNames={installedSkillNames} key={scopeKey} profile={scopeProfile} query={query} onQueryChange={setQuery} />) : (skillsFailed || toolsetsFailed) && (!skills || !toolsets) ? (<PanelEmptyaction={diff --git a/apps/desktop/src/app/skills/plugins-tab.tsx b/apps/desktop/src/app/skills/plugins-tab.tsxindex 390b4b272fe..01636a3f60e 100644--- a/apps/desktop/src/app/skills/plugins-tab.tsx+++ b/apps/desktop/src/app/skills/plugins-tab.tsx@@ -395,25 +395,21 @@ export const PluginsTab = memo(function PluginsTab({<div className="flex h-full min-h-0 flex-col"><CatalogBrowserinstalledEntries={installedEntries}+ view={view}+ query={query}+ onQueryChange={onQueryChange}isInstalled={isInstalled}kind="plugins"onInstall={install}- onQueryChange={onQueryChange}- query={query}renderInstalledDetail={entry => {const pkg = packageById.get(entry.id)-- if (!pkg) {- return null- }+ if (!pkg) return nullreturn <PackageRowbusy={pkg.agent ? agentBusy(pkg.agent) : false}key={pkg.key}onAgentToggle={(row, enable) => {- if (row.key) {- void toggleAgentPlugin(requestGateway, row.key, enable, p.toggleFailed(row.name), scope)- }+ if (row.key) void toggleAgentPlugin(requestGateway, row.key, enable, p.toggleFailed(row.name), scope)}}onAgentUpdate={row => {void updateAgentPlugin(requestGateway, row.name, p.updateFailed(row.name), scope).then(applied => {@@ -428,7 +424,6 @@ export const PluginsTab = memo(function PluginsTab({scopeLabel={label}/>}}- view={view}/></div>)diff --git a/apps/desktop/src/lib/deeplink-routes.test.ts b/apps/desktop/src/lib/deeplink-routes.test.tsindex d5350303f6b..24b61d610f9 100644--- a/apps/desktop/src/lib/deeplink-routes.test.ts+++ b/apps/desktop/src/lib/deeplink-routes.test.ts@@ -63,14 +63,7 @@ describe('resolveDeepLinkAction', () => {params: Object.fromEntries(url.searchParams)})).toEqual({ type: 'skill-install', identifier })- const invalidParams: Record<string, string>[] = [- {},- { identifier: '' },- { identifier: ' ' },- { identifier: ' official/skill ' }- ]-- for (const params of invalidParams) {+ for (const params of [{}, { identifier: '' }, { identifier: ' ' }, { identifier: ' official/skill ' }]) {expect(resolveDeepLinkAction({ kind: 'skill', name: 'install', params })).toEqual({ type: 'ignore' })}expect(resolveDeepLinkAction({ kind: 'skill', name: 'remove', params: { identifier } })).toEqual({ type: 'ignore' })diff --git a/apps/shared/src/index.ts b/apps/shared/src/index.tsindex 93a64e4e409..546f8fe511e 100644--- a/apps/shared/src/index.ts+++ b/apps/shared/src/index.ts@@ -27,7 +27,6 @@ export type {UsageBarData,UsageModelData} from './billing-types'-export { pluginCatalogInstallUrl, skillCatalogInstallIdentifier, skillCatalogInstallUrl } from './catalog-install'export {driveChargeSettlement,SETTLEMENT_MAX_RETRY_AFTER_MS,@@ -59,6 +58,7 @@ export {DATA_URL_READ_MAX_MAX_MB,DATA_URL_READ_MIN_MAX_MB} from './data-url-read-max'+export { pluginCatalogInstallUrl, skillCatalogInstallIdentifier, skillCatalogInstallUrl } from './catalog-install'export { compactNumber } from './format'export { type FuzzyMatch, fuzzyRank, fuzzyScore, fuzzyScoreMulti, type RankedItem } from './fuzzy'export * from './gateway-events'