mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-10-01 20:33:50 +00:00
Serve LogicSRC's own OpenProfile.md, and install OpenMCP with one line (#156)
logicsrc.com/.well-known/openprofile.md was a 404 while every relay in the OpenMCP catalog, Obscura included, named it as its operator. The site that publishes the spec now serves its own file: Kind organization, accounts (GitHub, blog, the catalog, the Obscura relay so the trust chain closes both ways), topics, projects and contact. The root layout carries rel="openprofile" and every response carries the same relation as a Link header, per the spec's discovery rules. skill.md and llms.txt point at it. The OpenMCP spec page and docs/openmcp.md now lead with curl -fsSL https://openmcp.logicsrc.com/install.sh | sh instead of npx, and the descriptor examples name logicsrc.com's real profile rather than one profullstack.com never served. Claude-Session: https://claude.ai/code/session_01Qh2dieNyPZ4Hx5g3XNJ1Eo Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
22fdfd0c55
commit
0f6326e910
7 changed files with 94 additions and 5 deletions
|
|
@ -24,6 +24,12 @@ const securityHeaders = [
|
|||
{ key: "X-Frame-Options", value: "SAMEORIGIN" },
|
||||
{ key: "Referrer-Policy", value: "strict-origin-when-cross-origin" },
|
||||
{ key: "Permissions-Policy", value: "camera=(), microphone=(), geolocation=()" },
|
||||
// OpenProfile.md discovery for responses that are not HTML (feeds, JSON,
|
||||
// the specs as Markdown): the same relation the root layout puts in <head>.
|
||||
{
|
||||
key: "Link",
|
||||
value: `<${(process.env.PUBLIC_URL ?? "https://logicsrc.com").replace(/\/$/, "")}/.well-known/openprofile.md>; rel="openprofile"`,
|
||||
},
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue