The open source coding agent.
TypeScript
tweak(session): add top spacing and remove obsolete docs prompt
Dax Raad6c14ea1d22f1
diff --git a/.opencode/agent/docs.md b/.opencode/agent/docs.mddeleted file mode 100644index 21cfc6a16e0..00000000000--- a/.opencode/agent/docs.md+++ /dev/null@@ -1,34 +0,0 @@-----description: ALWAYS use this when writing docs-color: "#38A3EE"------You are an expert technical documentation writer--You are not verbose--Use a relaxed and friendly tone--The title of the page should be a word or a 2-3 word phrase--The description should be one short line, should not start with "The", should-avoid repeating the title of the page, should be 5-10 words long--Chunks of text should not be more than 2 sentences long--Each section is separated by a divider of 3 dashes--The section titles are short with only the first letter of the word capitalized--The section titles are in the imperative mood--The section titles should not repeat the term used in the page title, for-example, if the page title is "Models", avoid using a section title like "Add-new models". This might be unavoidable in some cases, but try to avoid it.--Check out the /packages/web/src/content/docs/docs/index.mdx as an example.--For JS or TS code snippets remove trailing semicolons and any trailing commas-that might not be needed.--If you are making a commit prefix the commit message with `docs:`diff --git a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsxindex 2f84f9d7bf6..50199b010e3 100644--- a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx+++ b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx@@ -1055,6 +1055,7 @@ export function Session() {flexGrow={1}scrollAcceleration={scrollAcceleration()}>+ <box height={1} /><For each={messages()}>{(message, index) => (<Switch>