Git for the intent behind agent-written code. Records what your coding agent decided and why, and links every commit to it.
JavaScript ai-codingclaudeclaude-codeclaude-code-pluginclicoding-agentsdeveloper-toolsgitllmtypescript
feat(map): drop the status card so the map comes first
Eren087160c98332
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex da06e2c..9466510 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).## [Unreleased]+### Changed+- Map: the status card at the top of the page is gone; the map comes first. What it showed is in the side panel when you click a session (goal, done, pending with "needs you", next), and the agent gets it at session start.+### Added- Map: it opens where the work left off — the newest session unfolds, the page scrolls to the map and the view centres on the newest message, without opening the side panel; a "↧ Left off here" button does the same at any time. A link with `#s=…&m=…` or `#focus=head` still wins.diff --git a/packages/template/src/App.tsx b/packages/template/src/App.tsxindex d44249c..6c9aa5a 100644--- a/packages/template/src/App.tsx+++ b/packages/template/src/App.tsx@@ -1,52 +1,8 @@-import type { LineageViewModel, StatusCard } from "../../cli/src/view/model.js";+import type { LineageViewModel } from "../../cli/src/view/model.js";import { formatTime } from "./format.js";import { Graph } from "./Graph.js";import { ProjectSwitcher } from "./ProjectSwitcher.js";-function StatusPanel({ status }: { status: StatusCard }) {- return (- <section className="status" aria-label="Project status">- <div className="status-goal">- <h2>Goal</h2>- <p>{status.goal || "No goal recorded."}</p>- </div>- <div>- <h3>Done</h3>- {status.done.length > 0 ? (- <ul>- {status.done.map((item, i) => (- <li key={`${i}-${item}`}>{item}</li>- ))}- </ul>- ) : (- <p className="empty">Nothing yet.</p>- )}- </div>- <div>- <h3>Pending</h3>- {status.pending.length > 0 ? (- <ul>- {status.pending.map((item, i) => (- <li key={`${i}-${item.text}`} className={item.needsUser ? "needs-user" : undefined}>- {item.text}- {item.needsUser ? <span className="badge">needs you</span> : null}- </li>- ))}- </ul>- ) : (- <p className="empty">Nothing pending.</p>- )}- </div>- <div>- <h3>Next</h3>- <p>{status.next || "No next step recorded."}</p>- <h3>Last activity</h3>- <p>{formatTime(status.lastActivity)}</p>- </div>- </section>- );-}-export function App({ model }: { model: LineageViewModel }) {const sessionCount =model.epochs.reduce((sum, epoch) => sum + epoch.sessions.length, 0) + model.unassigned.length;@@ -68,8 +24,6 @@ export function App({ model }: { model: LineageViewModel }) {<span className="muted">generated {formatTime(model.project.generatedAt)}</span></div></header>-- <StatusPanel status={model.status} /></div><Graph model={model} />diff --git a/packages/template/src/styles.css b/packages/template/src/styles.cssindex d13449a..da61e10 100644--- a/packages/template/src/styles.css+++ b/packages/template/src/styles.css@@ -268,25 +268,6 @@ ul {font-weight: normal;}-.status {- display: grid;- grid-template-columns: 1.4fr 1fr 1fr 1fr;- gap: 16px;- margin: 24px 0;- padding: 16px;- background: var(--panel);- border: 1px solid var(--line);- border-radius: 10px;-}--.status h2,-.status h3 {- font-size: 12px;- text-transform: uppercase;- letter-spacing: 0.08em;- color: var(--muted);-}-.needs-user {color: var(--warn);}@@ -861,10 +842,6 @@ time {}@media (max-width: 720px) {- .status {- grid-template-columns: 1fr;- }-.project {flex-direction: column;align-items: flex-start;