From ef7044a179fb29fb0e148e28f2846a540883a54d Mon Sep 17 00:00:00 2001 From: Banna Date: Tue, 6 Oct 2026 09:23:30 -0400 Subject: [PATCH] The agent is called Arch Agent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tawab: the in-app agent is called Arch Agent, not the archdraw agent. The chat header, the ⌘K palette, the Ask button's tooltip, the tour step, the agent's own prompt and the user guide say Arch Agent; generic sentences keep 'the agent'. Signed-off-by: Banna Agent: Banna --- app/core/assets/prompts/agent.md | 4 ++-- app/core/src/agent.ts | 2 +- app/ui/src/App.tsx | 2 +- app/ui/src/Chat.tsx | 2 +- app/ui/src/Palette.tsx | 8 ++++---- app/ui/src/Tour.tsx | 2 +- app/ui/src/agent.ts | 2 +- docs/user-guide.md | 6 +++--- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/app/core/assets/prompts/agent.md b/app/core/assets/prompts/agent.md index 528f341..4b2dfee 100644 --- a/app/core/assets/prompts/agent.md +++ b/app/core/assets/prompts/agent.md @@ -1,6 +1,6 @@ -# archdraw agent +# Arch Agent -You are archdraw's architecture partner: you help the user understand, question, change and create the architecture +You are Arch Agent, archdraw's architecture partner: you help the user understand, question, change and create the architecture diagrams of their projects. You are an expert at diagrams that are the clearest, simplest and complete enough to decide from. You talk with the user in a panel beside the diagrams. diff --git a/app/core/src/agent.ts b/app/core/src/agent.ts index 9130d86..655202d 100644 --- a/app/core/src/agent.ts +++ b/app/core/src/agent.ts @@ -1,4 +1,4 @@ -// The archdraw agent: one conversation = one pi Agent (pi-agent-core) with archdraw's read-only tools, streaming to the +// Arch Agent, archdraw's agent: one conversation = one pi Agent (pi-agent-core) with archdraw's read-only tools, streaming to the // page. Every event is kept in order and saved, so any device that opens the conversation replays all of it. // // The events the page reads: user, ready, assistant_start, delta, assistant, diff --git a/app/ui/src/App.tsx b/app/ui/src/App.tsx index 039848f..4d68af6 100644 --- a/app/ui/src/App.tsx +++ b/app/ui/src/App.tsx @@ -709,7 +709,7 @@ export default function App() { )} {project && ( - )} diff --git a/app/ui/src/Chat.tsx b/app/ui/src/Chat.tsx index 7d8154c..ff2b350 100644 --- a/app/ui/src/Chat.tsx +++ b/app/ui/src/Chat.tsx @@ -131,7 +131,7 @@ export function ChatPanel(props: ChatProps) {
-
archdraw agent
+
Arch Agent
{props.project} · ${t.cost.toFixed(2)} of ${budget.conversation.toFixed(2)} {t.model ? ` · ${t.model.split("/").pop()}` : ""} diff --git a/app/ui/src/Palette.tsx b/app/ui/src/Palette.tsx index c8164df..80c5a54 100644 --- a/app/ui/src/Palette.tsx +++ b/app/ui/src/Palette.tsx @@ -4,7 +4,7 @@ import { looksLikeAsk, rank, type Target } from "./agent" type Item = { kind: "ask"; text: string } | { kind: "go"; t: Target } /** - * ⌘K: one box that jumps to any project or diagram by name, or hands the words to the archdraw agent. A query that + * ⌘K: one box that jumps to any project or diagram by name, or hands the words to Arch Agent. A query that * reads like a request (three words or more, or a question) puts "Ask" first; a name puts the matches first. */ export function Palette({ targets, project, onGo, onAsk, onClose }: { targets: Target[]; project?: string; onGo: (t: Target) => void; onAsk: (text: string) => void; onClose: () => void }) { @@ -37,7 +37,7 @@ export function Palette({ targets, project, onGo, onAsk, onClose }: { targets: T autoFocus value={q} data-testid="palette-input" - placeholder={project ? `Jump to a diagram, or ask the agent about ${project}…` : "Jump to a project…"} + placeholder={project ? `Jump to a diagram, or ask Arch Agent about ${project}…` : "Jump to a project…"} className="h-12 min-w-0 flex-1 bg-transparent text-[15px] outline-none" onChange={e => setQ(e.target.value)} onKeyDown={e => { @@ -68,7 +68,7 @@ export function Palette({ targets, project, onGo, onAsk, onClose }: { targets: T <> ✦ - Ask the archdraw agent: {it.text} + Ask Arch Agent: {it.text} ↵ @@ -81,7 +81,7 @@ export function Palette({ targets, project, onGo, onAsk, onClose }: { targets: T )} ))} - {!items.length &&

Type a name, or a sentence for the agent.

} + {!items.length &&

Type a name, or a sentence for Arch Agent.

}
diff --git a/app/ui/src/Tour.tsx b/app/ui/src/Tour.tsx index 67fc20b..30ef0d7 100644 --- a/app/ui/src/Tour.tsx +++ b/app/ui/src/Tour.tsx @@ -35,7 +35,7 @@ export const STEPS: Step[] = [ { n: 4, title: "Ask for a change.", - body: "This is archdraw's agent. We typed a request for you: press Send. Its proposal appears beside the original, and nothing changes until you press Accept.", + body: "This is Arch Agent, archdraw's assistant. We typed a request for you: press Send. Its proposal appears beside the original, and nothing changes until you press Accept.", target: () => ["[data-testid=ghost-accept]", "[data-testid=proposal] [data-testid=accept]:not([disabled])", "[data-testid=chat-send]:not([disabled])", "[data-testid=chat-input]"], done: ["proposal.accepted", "proposal.dismissed"], }, diff --git a/app/ui/src/agent.ts b/app/ui/src/agent.ts index 028b2b8..359634c 100644 --- a/app/ui/src/agent.ts +++ b/app/ui/src/agent.ts @@ -1,4 +1,4 @@ -// The archdraw agent, the pure half: its API, the event log folded into a transcript, a line diff for proposals, +// Arch Agent (archdraw's agent), the pure half: its API, the event log folded into a transcript, a line diff for proposals, // and the ⌘K palette's matching. No DOM here, so it is tested in node (agent.test.ts). import { ApiError } from "./model" diff --git a/docs/user-guide.md b/docs/user-guide.md index 885f4cf..0482c25 100644 --- a/docs/user-guide.md +++ b/docs/user-guide.md @@ -33,11 +33,11 @@ Diagrams are files in the repo's `.archdraw/` folder: `.archdraw` for the The "…" beside a diagram renames, duplicates, archives or deletes it. Archived diagrams stay in Archive and trash until you bring them back; deleted ones can be restored from there for 30 days. -## The agent +## Arch Agent -✦ Ask (or ⌘K) opens the agent. It reads the project's code and diagrams, answers questions about them, and proposes new or changed diagrams. A proposal appears beside the original; nothing changes until you press Accept. +✦ Ask (or ⌘K) opens Arch Agent, archdraw's agent. It reads the project's code and diagrams, answers questions about them, and proposes new or changed diagrams. A proposal appears beside the original; nothing changes until you press Accept. -The agent uses your own key. Add it in Settings, or paste it when the chat asks. archdraw supports OpenAI, Anthropic, Google and OpenRouter, and you choose the models in Settings. Daily and per-conversation spending caps are in Settings too. +Arch Agent uses your own key. Add it in Settings, or paste it when the chat asks. archdraw supports OpenAI, Anthropic, Google and OpenRouter, and you choose the models in Settings. Daily and per-conversation spending caps are in Settings too. ## The Inbox