diff --git a/engine/app/views/coplan/welcome/_default_agents.html.erb b/engine/app/views/coplan/welcome/_default_agents.html.erb new file mode 100644 index 0000000..6cb4be2 --- /dev/null +++ b/engine/app/views/coplan/welcome/_default_agents.html.erb @@ -0,0 +1,9 @@ +
+

Built for any AI agent

+

+ CoPlan exposes a self-describing REST API at + <%= link_to "/agent-instructions", agent_instructions_path, class: "landing__inline-link" %>. + Point any AI agent — Amp, Claude Code, Cursor, your own — at it and it can create plans, + apply edits, and leave review comments on your behalf. +

+
diff --git a/engine/app/views/coplan/welcome/_default_landing.html.erb b/engine/app/views/coplan/welcome/_default_landing.html.erb index 6e9dd36..c0a1619 100644 --- a/engine/app/views/coplan/welcome/_default_landing.html.erb +++ b/engine/app/views/coplan/welcome/_default_landing.html.erb @@ -51,15 +51,13 @@ -
-

Built for any AI agent

-

- CoPlan exposes a self-describing REST API at - <%= link_to "/agent-instructions", agent_instructions_path, class: "landing__inline-link" %>. - Point any AI agent — Amp, Claude Code, Cursor, your own — at it and it can create plans, - apply edits, and leave review comments on your behalf. -

-
+ <%# The agents section is the one piece of the landing page hosts most often + need to customize — generic CoPlan points at /agent-instructions, while + a deployment like coplan-square wants to tell its users to run + `sq agents skills add coplan` instead. Renders via configuration so a + host can swap this single section without forking the whole landing + page. See `CoPlan.configuration.landing_agents_partial`. %> + <%= render CoPlan.configuration.landing_agents_partial %> <% if signed_in? %>