Add Skills browser, Cron jobs, SOUL.md editor

- Skills: categorized list with search, detail view with markdown
- Cron: job list grouped by status, manual trigger button
- Soul: full SOUL.md editor with save/revert
- Pulse: quick link cards to Skills, Cron, Soul
- All routes proxied server-side (no CORS)
This commit is contained in:
Hermes
2026-04-09 20:59:33 -05:00
parent 1bce2a29cc
commit f721d87423
10 changed files with 501 additions and 0 deletions
+20
View File
@@ -1,10 +1,18 @@
"use client";
import Link from "next/link";
import { Puzzle, Timer, Sparkles } from "lucide-react";
import { StatusCard } from "@/components/StatusCard";
import { SessionCard } from "@/components/SessionCard";
import { MemorySnapshotCard } from "@/components/MemorySnapshotCard";
import { useSessions } from "@/lib/hooks";
const QUICK_LINKS = [
{ href: "/skills", label: "Skills", icon: Puzzle, color: "#a78bfa" },
{ href: "/cron", label: "Cron", icon: Timer, color: "#f59e0b" },
{ href: "/soul", label: "Soul", icon: Sparkles, color: "#ec4899" },
] as const;
export default function PulsePage() {
const { data: sessionsData, isLoading } = useSessions(8);
@@ -17,6 +25,18 @@ export default function PulsePage() {
<StatusCard />
<MemorySnapshotCard />
{/* Quick links */}
<div className="grid grid-cols-3 gap-2">
{QUICK_LINKS.map(({ href, label, icon: Icon, color }) => (
<Link key={href} href={href}>
<div className="glass glass-hover p-3 flex flex-col items-center gap-1.5 transition-all">
<Icon size={18} style={{ color }} />
<span className="text-[11px] font-medium" style={{ color }}>{label}</span>
</div>
</Link>
))}
</div>
<div>
<h2 className="text-sm font-medium text-zinc-400 mb-2">
Recent Sessions