The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix: the build session's runbook names each installed plugin's skill by its loadable name
alt-glitch6b9214b08e0b
diff --git a/apps/desktop/src/components/onboarding-chat/plugins-runbook.test.ts b/apps/desktop/src/components/onboarding-chat/plugins-runbook.test.tsindex 431dfa5746a..c4511502f4c 100644--- a/apps/desktop/src/components/onboarding-chat/plugins-runbook.test.ts+++ b/apps/desktop/src/components/onboarding-chat/plugins-runbook.test.ts@@ -10,14 +10,19 @@ describe('plugins in the handoff runbook', () => {it('names every settled outcome and never tells the build agent to install', () => {const text = pluginsRunbook({pluginOutcomes: {- blender: { detail: '', state: 'installed', tools: ['mcp__blender__a', 'mcp__blender__b'] },- 'nvidia-app': { detail: 'unavailable on darwin', state: 'failed', tools: [] },- 'nvidia-broadcast': { detail: '', state: 'skipped', tools: [] }+ blender: {+ detail: '',+ skill: 'agent-plugin-blender-1a2b:blender',+ state: 'installed',+ tools: ['mcp__blender__a', 'mcp__blender__b']+ },+ 'nvidia-app': { detail: 'unavailable on darwin', skill: '', state: 'failed', tools: [] },+ 'nvidia-broadcast': { detail: '', skill: '', state: 'skipped', tools: [] }},plugins: ['blender', 'nvidia-app', 'nvidia-broadcast', 'extra']})- expect(text).toContain('ready in this chat now: blender (2 tools)')+ expect(text).toContain('ready in this chat now: blender (2 tools, skill agent-plugin-blender-1a2b:blender)')expect(text).toMatch(/not installed: nvidia-app \(failed: unavailable on darwin\), nvidia-broadcast \(skipped/)expect(text).toContain('not offered for install: extra')expect(text).not.toMatch(/manage_catalog|hermes plugins install/)diff --git a/apps/desktop/src/components/onboarding-chat/setup-profile.ts b/apps/desktop/src/components/onboarding-chat/setup-profile.tsindex 0e95e85a44e..82c929c970f 100644--- a/apps/desktop/src/components/onboarding-chat/setup-profile.ts+++ b/apps/desktop/src/components/onboarding-chat/setup-profile.ts@@ -196,9 +196,10 @@ export function pluginsRunbook(answers: Pick<OnboardingAnswers, 'pluginOutcomes'const notOffered = names.filter(name => !outcomes[name])const ready = installed.map(name => {- const count = outcomes[name].tools.length+ const { skill, tools } = outcomes[name]+ const parts = [tools.length ? `${tools.length} tools` : '', skill ? `skill ${skill}` : ''].filter(Boolean)- return count ? `${name} (${count} tools)` : name+ return parts.length ? `${name} (${parts.join(', ')})` : name})const missed = offered.map(name => {@@ -210,7 +211,7 @@ export function pluginsRunbook(answers: Pick<OnboardingAnswers, 'pluginOutcomes'return ['PLUGINS FROM ONBOARDING.',ready.length- ? `Installed during onboarding and ready in this chat now: ${ready.join(', ')}. Discover their tools with tool_search and use them when the task benefits; a tool whose app is not running reports that, say so plainly.`+ ? `Installed during onboarding and ready in this chat now: ${ready.join(', ')}. Discover their tools with tool_search and use them when the task benefits; read a named skill with skill_view using that exact name. A tool whose app is not running reports that; say so plainly.`: '',missed.length ? `Offered during onboarding and not installed: ${missed.join(', ')}.` : '',notOffered.length ? `Picked during onboarding but not offered for install: ${notOffered.join(', ')}.` : '',diff --git a/apps/desktop/src/store/onboarding-answers.ts b/apps/desktop/src/store/onboarding-answers.tsindex 061e6ff5d58..ec4fe5431db 100644--- a/apps/desktop/src/store/onboarding-answers.ts+++ b/apps/desktop/src/store/onboarding-answers.ts@@ -23,6 +23,8 @@ export interface OnboardingAnswers {export interface PluginOutcome {state: 'failed' | 'installed' | 'skipped'detail: string+ /** The plugin's qualified skill name (`<plugin key>:<skill>`), the only name skill_view resolves. */+ skill: stringtools: string[]}diff --git a/apps/desktop/src/store/onboarding-plugin-outcomes.test.ts b/apps/desktop/src/store/onboarding-plugin-outcomes.test.tsindex 07ff25153f7..81ce5d95e70 100644--- a/apps/desktop/src/store/onboarding-plugin-outcomes.test.ts+++ b/apps/desktop/src/store/onboarding-plugin-outcomes.test.ts@@ -1,6 +1,6 @@import { expect, it } from 'vitest'-import type { ConnectionRequest, ConnectionTarget } from '@/store/connection-request'+import type { CatalogEntry, ConnectionRequest, ConnectionTarget } from '@/store/connection-request'import { pluginOutcomesFrom } from '@/store/onboarding-plugin-outcomes'const row = (@@ -21,6 +21,22 @@ const row = (tools: state === 'connected' ? ['mcp__x__y'] : []})+const catalog = (skill: string): CatalogEntry => ({+ appState: null,+ description: '',+ display: '',+ hasDesktopHalf: false,+ platforms: [],+ repo: null,+ requirements: [],+ scan: null,+ sha: null,+ skill,+ subdir: null,+ targetProfile: 'default',+ tier: null+})+const request = (settled: boolean, targets: ConnectionTarget[]): ConnectionRequest => ({deadlineAt: 1,opId: 'op',@@ -34,7 +50,7 @@ const request = (settled: boolean, targets: ConnectionTarget[]): ConnectionRequeit('maps a settled card to installed / failed / skipped per plugin row, whether or not the user acted', () => {const targets = [- row('a', 'connected'),+ { ...row('a', 'connected'), catalog: catalog('agent-plugin-a:a') },row('b', 'failed'),row('c', 'pending'),row('gmail', 'connected', 'connector')@@ -42,8 +58,8 @@ it('maps a settled card to installed / failed / skipped per plugin row, whetherexpect(pluginOutcomesFrom(request(false, targets))).toBeNull()expect(pluginOutcomesFrom(request(true, targets))).toEqual({- a: { detail: '', state: 'installed', tools: ['mcp__x__y'] },- b: { detail: 'nope', state: 'failed', tools: [] },- c: { detail: '', state: 'skipped', tools: [] }+ a: { detail: '', skill: 'agent-plugin-a:a', state: 'installed', tools: ['mcp__x__y'] },+ b: { detail: 'nope', skill: '', state: 'failed', tools: [] },+ c: { detail: '', skill: '', state: 'skipped', tools: [] }})})diff --git a/apps/desktop/src/store/onboarding-plugin-outcomes.ts b/apps/desktop/src/store/onboarding-plugin-outcomes.tsindex fe37fa31ac7..b264b5b71d5 100644--- a/apps/desktop/src/store/onboarding-plugin-outcomes.ts+++ b/apps/desktop/src/store/onboarding-plugin-outcomes.ts@@ -28,7 +28,15 @@ export function pluginOutcomesFrom(request: ConnectionRequest): null | Record<st}return Object.fromEntries(- rows.map(target => [target.name, { detail: target.detail, state: outcomeState(target.state), tools: target.tools }])+ rows.map(target => [+ target.name,+ {+ detail: target.detail,+ skill: target.catalog?.skill ?? '',+ state: outcomeState(target.state),+ tools: target.tools+ }+ ]))}