The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(desktop): clarify plugin scope copy and contain its selector
brooklyn!4f9f1f96f683
diff --git a/apps/desktop/src/app/capabilities/scope-selector.tsx b/apps/desktop/src/app/capabilities/scope-selector.tsxindex 71e886148b0..05ad3502430 100644--- a/apps/desktop/src/app/capabilities/scope-selector.tsx+++ b/apps/desktop/src/app/capabilities/scope-selector.tsx@@ -207,12 +207,24 @@ export function CapabilityScopeSelector({<span className="text-[0.7rem] font-medium text-(--ui-text-tertiary)">{t.skills.configuringProfile}</span>)}<Select onValueChange={scope.onChange} value={scope.value}>- <SelectTrigger className={cn('text-xs', compact ? 'h-6 w-full max-w-64 px-2' : 'h-7 w-56')}>- <SelectValue />+ <SelectTrigger className={cn('text-xs', compact ? 'h-6 min-w-0 w-full px-2 truncate' : 'h-7 w-56')}>+ {compact ? (+ <span className="min-w-0 truncate" data-slot="compact-select-value">+ <SelectValue />+ </span>+ ) : (+ <SelectValue />+ )}</SelectTrigger>- <SelectContent>+ <SelectContent+ className={compact ? 'max-w-(--radix-select-content-available-width)' : undefined}+ >{scope.options.map(option => (- <SelectItem key={option.key} value={option.value}>+ <SelectItem+ className={compact ? '[&>span:last-child]:min-w-0 [&>span:last-child]:truncate' : undefined}+ key={option.key}+ value={option.value}+ >{option.label}</SelectItem>))}diff --git a/apps/desktop/src/i18n/ar.ts b/apps/desktop/src/i18n/ar.tsindex f7f69b9fd86..2e2297a74fd 100644--- a/apps/desktop/src/i18n/ar.ts+++ b/apps/desktop/src/i18n/ar.ts@@ -1227,6 +1227,9 @@ export const ar = defineLocale({}},skills: {+ plugins: {+ pageBlurb: 'يمكن للإضافة توسيع هذا التطبيق أو الوكيل أو كليهما — ولكل جزء مفتاح تشغيل مستقل.'+ },tabSkills: 'المهارات',tabToolsets: 'مجموعات الأدوات',all: 'الكل',diff --git a/apps/desktop/src/i18n/en.ts b/apps/desktop/src/i18n/en.tsindex 0d65c210964..ee9983c338d 100644--- a/apps/desktop/src/i18n/en.ts+++ b/apps/desktop/src/i18n/en.ts@@ -2038,7 +2038,7 @@ export const en: Translations = {agentTitle: 'Agent plugins',agentBlurb:'Extend the agent for the selected profile — tools, hooks, providers. Take effect after a gateway restart.',- pageBlurb: 'One row per plugin. A plugin can extend this app, the agent, or both — each half has its own switch.',+ pageBlurb: 'A plugin can extend this app, the agent, or both — each half has its own switch.',halfDesktop: 'Desktop',halfDesktopHint: 'this app, same for every profile',halfAgent: 'Agent',diff --git a/apps/desktop/src/i18n/ja.ts b/apps/desktop/src/i18n/ja.tsindex 1e5edc9c22a..4cfa4b42900 100644--- a/apps/desktop/src/i18n/ja.ts+++ b/apps/desktop/src/i18n/ja.ts@@ -1527,6 +1527,9 @@ export const ja = defineLocale({},skills: {+ plugins: {+ pageBlurb: 'プラグインはこのアプリ、エージェント、または両方を拡張できます。それぞれに独立したスイッチがあります。'+ },tabSkills: 'スキル',tabToolsets: 'ツールセット',all: 'すべて',diff --git a/apps/desktop/src/i18n/ru.ts b/apps/desktop/src/i18n/ru.tsindex 3ac41d3a44f..f75050386e5 100644--- a/apps/desktop/src/i18n/ru.ts+++ b/apps/desktop/src/i18n/ru.ts@@ -1609,6 +1609,9 @@ export const ru = defineLocale({}},skills: {+ plugins: {+ pageBlurb: 'Плагин может расширять приложение, агента или оба сразу — у каждой части свой переключатель.'+ },tabSkills: 'Навыки',tabToolsets: 'Инструменты',configuringProfile: 'Настраивается:',diff --git a/apps/desktop/src/i18n/zh-hant.ts b/apps/desktop/src/i18n/zh-hant.tsindex 3e3bd2d1270..2cc2e9524f5 100644--- a/apps/desktop/src/i18n/zh-hant.ts+++ b/apps/desktop/src/i18n/zh-hant.ts@@ -1535,6 +1535,9 @@ export const zhHant = defineLocale({},skills: {+ plugins: {+ pageBlurb: '外掛可以擴充本應用程式、代理,或兩者 — 每一部分都有自己的開關。'+ },tabSkills: '技能',tabToolsets: '工具集',all: '全部',diff --git a/apps/desktop/src/i18n/zh.ts b/apps/desktop/src/i18n/zh.tsindex 3d2e49433dd..afecf605ee8 100644--- a/apps/desktop/src/i18n/zh.ts+++ b/apps/desktop/src/i18n/zh.ts@@ -1958,7 +1958,7 @@ export const zh = defineLocale({plugins: {agentTitle: 'Agent 插件',agentBlurb: '为所选配置扩展 agent — 工具、钩子、模型提供方。重启网关后生效。',- pageBlurb: '每个插件一行。插件可以扩展本应用、agent,或两者 — 每一半都有自己的开关。',+ pageBlurb: '插件可以扩展本应用、agent,或两者 — 每一半都有自己的开关。',halfDesktop: '桌面',halfDesktopHint: '本应用,所有配置相同',halfAgent: 'Agent',