The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(catalog): align CI checks with the shared action row
brooklyn!0fc2c59a07bc
diff --git a/apps/desktop/src/app/settings/plugin-install-modal.test.tsx b/apps/desktop/src/app/settings/plugin-install-modal.test.tsxindex 187d0b3574e..5116806a8b5 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 { PluginsTab } from '../skills/plugins-tab'+import { PluginActions, PluginsTab } from '../skills/plugins-tab'import { PluginInstallModal } from './plugin-install-modal'@@ -38,6 +38,7 @@ 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 bd9b24c408b..e0d25b7462e 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 key={`${source}:${category}:${deferredQuery}`} header={<ListStrip left={<ListStripLabel>{c.results(filtered.length)}</ListStripLabel>} />}>+ <ListColumn header={<ListStrip left={<ListStripLabel>{c.results(filtered.length)}</ListStripLabel>} />} key={`${source}:${category}:${deferredQuery}`}>{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 258cbb1ef60..1f4675ec1fa 100644--- a/apps/desktop/src/app/skills/index.tsx+++ b/apps/desktop/src/app/skills/index.tsx@@ -32,7 +32,6 @@ 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'@@ -804,11 +803,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@@ -818,7 +817,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} profile={scopeProfile} query={query} onQueryChange={setQuery} />+ <SkillCatalog installedNames={installedSkillNames} key={scopeKey} onQueryChange={setQuery} profile={scopeProfile} query={query} />) : (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 01636a3f60e..390b4b272fe 100644--- a/apps/desktop/src/app/skills/plugins-tab.tsx+++ b/apps/desktop/src/app/skills/plugins-tab.tsx@@ -395,21 +395,25 @@ 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 null+ }return <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 => {@@ -424,6 +428,7 @@ 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 24b61d610f9..d5350303f6b 100644--- a/apps/desktop/src/lib/deeplink-routes.test.ts+++ b/apps/desktop/src/lib/deeplink-routes.test.ts@@ -63,7 +63,14 @@ describe('resolveDeepLinkAction', () => {params: Object.fromEntries(url.searchParams)})).toEqual({ type: 'skill-install', identifier })- for (const params of [{}, { identifier: '' }, { identifier: ' ' }, { identifier: ' official/skill ' }]) {+ const invalidParams: Record<string, string>[] = [+ {},+ { identifier: '' },+ { identifier: ' ' },+ { identifier: ' official/skill ' }+ ]++ for (const params of invalidParams) {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 546f8fe511e..93a64e4e409 100644--- a/apps/shared/src/index.ts+++ b/apps/shared/src/index.ts@@ -27,6 +27,7 @@ export type {UsageBarData,UsageModelData} from './billing-types'+export { pluginCatalogInstallUrl, skillCatalogInstallIdentifier, skillCatalogInstallUrl } from './catalog-install'export {driveChargeSettlement,SETTLEMENT_MAX_RETRY_AFTER_MS,@@ -58,7 +59,6 @@ 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'