mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 04:32:32 +00:00
chore(web): drop Inspector deep-link from FailureSnapshotBlock + regen artifacts
Removes the "View at lifecycle anchors" link (and its sessionId prop) from FailureSnapshotBlock; SessionInfoCard updated to match the new prop shape. Bumps page-lastmod.generated.ts and the V2 agent buildcounter. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1 +1 @@
|
||||
642
|
||||
643
|
||||
|
||||
-18
@@ -1,7 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import { useState } from "react";
|
||||
import Link from "next/link";
|
||||
|
||||
/**
|
||||
* Renders the maintenance-built failure snapshot when present (Hybrid User-Driven
|
||||
@@ -33,11 +32,8 @@ interface FailureSnapshot {
|
||||
|
||||
export default function FailureSnapshotBlock({
|
||||
failureSnapshotJson,
|
||||
sessionId,
|
||||
}: {
|
||||
failureSnapshotJson?: string;
|
||||
/** Optional — when provided, renders a "View at lifecycle anchors" link into the Inspector. */
|
||||
sessionId?: string;
|
||||
}) {
|
||||
const [expanded, setExpanded] = useState(false);
|
||||
|
||||
@@ -111,20 +107,6 @@ export default function FailureSnapshotBlock({
|
||||
{snapshot.schemaVersion !== undefined && <> · schema v{snapshot.schemaVersion}</>}
|
||||
</div>
|
||||
)}
|
||||
{sessionId && (
|
||||
<div className="pt-2">
|
||||
<Link
|
||||
href={`/sessions/${sessionId}/inspector?tab=anchors`}
|
||||
className="inline-flex items-center gap-1 text-xs font-medium text-rose-800 underline hover:text-rose-900"
|
||||
title="Open the Inspector and jump to the per-anchor DecisionState snapshots (Plan §A — Edge-Triggered State Snapshots)"
|
||||
>
|
||||
View at lifecycle anchors →
|
||||
</Link>
|
||||
<span className="ml-2 text-[11px] text-rose-700">
|
||||
(Inspector · Global Admin only)
|
||||
</span>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -82,7 +82,7 @@ export default function SessionInfoCard({ session, enrollmentDuration, displaySt
|
||||
</span>
|
||||
</div>
|
||||
)}
|
||||
<FailureSnapshotBlock failureSnapshotJson={session.failureSnapshotJson} sessionId={session.sessionId} />
|
||||
<FailureSnapshotBlock failureSnapshotJson={session.failureSnapshotJson} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -3,21 +3,21 @@
|
||||
* Run: node scripts/generate-lastmod.js
|
||||
*/
|
||||
export const PAGE_LASTMOD: Record<string, string> = {
|
||||
"/": "2026-03-19T18:27:37+01:00",
|
||||
"/": "2026-03-12T10:26:31+00:00",
|
||||
"/about": "2026-03-20T21:47:19+01:00",
|
||||
"/roadmap": "2026-03-20T21:47:19+01:00",
|
||||
"/changelog": "2026-03-20T21:47:19+01:00",
|
||||
"/privacy": "2026-03-20T21:47:19+01:00",
|
||||
"/changelog": "2026-04-16T23:04:27+02:00",
|
||||
"/privacy": "2026-03-23T06:28:59+01:00",
|
||||
"/terms": "2026-03-20T21:47:19+01:00",
|
||||
"/docs": "2026-03-20T08:51:20+01:00",
|
||||
"/docs/private-preview": "2026-03-19T18:27:37+01:00",
|
||||
"/docs": "2026-04-06T12:08:22+02:00",
|
||||
"/docs/private-preview": "2026-03-11T10:48:23+01:00",
|
||||
"/docs/overview": "2026-03-19T19:18:49+01:00",
|
||||
"/docs/general": "2026-03-19T18:45:11+01:00",
|
||||
"/docs/setup": "2026-03-19T18:27:37+01:00",
|
||||
"/docs/agent": "2026-03-19T18:27:37+01:00",
|
||||
"/docs/agent-setup": "2026-03-19T18:27:37+01:00",
|
||||
"/docs/settings": "2026-03-19T18:27:37+01:00",
|
||||
"/docs/gather-rules": "2026-03-19T18:27:37+01:00",
|
||||
"/docs/analyze-rules": "2026-03-19T18:27:37+01:00",
|
||||
"/docs/ime-log-patterns": "2026-03-19T18:27:37+01:00",
|
||||
"/docs/setup": "2026-04-07T00:45:43+02:00",
|
||||
"/docs/agent": "2026-04-09T19:50:13+02:00",
|
||||
"/docs/agent-setup": "2026-03-31T23:54:46+02:00",
|
||||
"/docs/settings": "2026-04-06T23:09:01+02:00",
|
||||
"/docs/gather-rules": "2026-04-14T11:29:55+02:00",
|
||||
"/docs/analyze-rules": "2026-04-03T19:52:58+02:00",
|
||||
"/docs/ime-log-patterns": "2026-03-18T09:00:57+01:00",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user