diff --git a/frontend-modern/src/components/Settings/AgentIntegrationsPanel.tsx b/frontend-modern/src/components/Settings/AgentIntegrationsPanel.tsx index 4d0385d0f2..fbbece9c1b 100644 --- a/frontend-modern/src/components/Settings/AgentIntegrationsPanel.tsx +++ b/frontend-modern/src/components/Settings/AgentIntegrationsPanel.tsx @@ -1,5 +1,6 @@ import { Component, createMemo, createResource, createSignal, For, Show } from 'solid-js'; import SettingsPanel from '@/components/shared/SettingsPanel'; +import { AGENT_SUBSTRATE_DOC_URL } from '@/utils/docsLinks'; import CopyCommandBlock from './CopyCommandBlock'; // AgentCapability mirrors the wire shape of one entry in @@ -80,9 +81,10 @@ function formatMcpConfig(origin: string): string { return JSON.stringify(config, null, 2); } -const AGENT_PROBE_README = 'https://github.com/rcourtman/Pulse/blob/main/cmd/agent-probe/main.go'; -const PULSE_MCP_README = 'https://github.com/rcourtman/Pulse/blob/main/cmd/pulse-mcp/README.md'; -const SUBSTRATE_DOC = 'https://github.com/rcourtman/Pulse/blob/main/docs/AGENT_SUBSTRATE.md'; +// All three external resources (the MCP adapter README, the agent-probe HTTP +// example, the substrate design notes) are consolidated under the shipped +// AGENT_SUBSTRATE.md doc, which links out to the cmd/* source files. Avoids +// frontend-runtime links pointing at unpinned GitHub main paths. export const AgentIntegrationsPanel: Component = () => { const [manifest] = createResource(fetchManifest); @@ -164,19 +166,13 @@ export const AgentIntegrationsPanel: Component = () => { />

See{' '} - - cmd/pulse-mcp/README.md - {' '} - for build instructions, the --emit-notifications flag, - and known limitations. The companion HTTP example is at{' '} - - cmd/agent-probe - - . Background and the substrate's design notes live in{' '} - + docs/AGENT_SUBSTRATE.md - - . + {' '} + for build instructions on cmd/pulse-mcp{' '} + (including the --emit-notifications flag and known + limitations), the companion HTTP example at cmd/agent-probe, + and the substrate's design notes.

diff --git a/frontend-modern/src/utils/docsLinks.ts b/frontend-modern/src/utils/docsLinks.ts index 24612df3a2..1db950cc9a 100644 --- a/frontend-modern/src/utils/docsLinks.ts +++ b/frontend-modern/src/utils/docsLinks.ts @@ -12,3 +12,4 @@ export const PROXY_AUTH_DOC_URL = getShippedDocUrl('PROXY_AUTH.md'); export const SECURITY_DOC_URL = getShippedDocUrl('SECURITY.md'); export const TERMS_DOC_URL = getShippedDocUrl('TERMS.md'); export const API_TOKEN_SCOPES_DOC_URL = CONFIGURATION_DOC_URL; +export const AGENT_SUBSTRATE_DOC_URL = getShippedDocUrl('AGENT_SUBSTRATE.md');