mirror of
https://github.com/samvallad33/vestige.git
synced 2026-04-25 00:36:22 +02:00
Some checks are pending
CI / Test (macos-latest) (push) Waiting to run
CI / Test (ubuntu-latest) (push) Waiting to run
CI / Release Build (aarch64-apple-darwin) (push) Blocked by required conditions
CI / Release Build (x86_64-unknown-linux-gnu) (push) Blocked by required conditions
Test Suite / Unit Tests (push) Waiting to run
Test Suite / MCP E2E Tests (push) Waiting to run
Test Suite / User Journey Tests (push) Blocked by required conditions
Test Suite / Dashboard Build (push) Waiting to run
Test Suite / Code Coverage (push) Waiting to run
Bumps vestige-core + vestige-mcp + @vestige/dashboard + vestige-mcp-server + @vestige/init from 2.0.5 → 2.0.6, regenerates the Cargo.lock, rebuilds the dashboard with the new events.ts handlers + intentions page fix baked in, and writes the v2.0.6 "Composer" entry to CHANGELOG.md. Release contents: - fix(dashboard): intentions page priority + trigger rendering (commit 9df63de) - feat(dashboard): wire 6 graph event handlers — suppress, unsuppress, Rac1 cascade, Connected, ConsolidationStarted, ImportanceScored (commit f085cfd) - feat(mcp): opt-in VESTIGE_SYSTEM_PROMPT_MODE=full composition mandate (commit 7d7a7c2) - docs(readme): v2.0.6 header + Intel Mac / Windows build-from-source honesty (commit ede0a02) Pre-push gates green: cargo test --workspace --release, cargo clippy --all-targets -D warnings, svelte-check (580 files 0 errors), vitest (171/171). No regressions of merged PRs #18/20/22/24/26/28/29/30/32/33.
3 lines
9.1 KiB
JavaScript
3 lines
9.1 KiB
JavaScript
import"../chunks/Bzak7iHL.js";import{o as Te}from"../chunks/DeTA_5mp.js";import{f as xe,d as n,e as a,r as t,t as A,p as qe,a as Ie,h as c,g as s,s as U,u as X,O as Ne}from"../chunks/nyjtQ1Ok.js";import{s as v,d as je,a as $}from"../chunks/C4L78yoI.js";import{i as N}from"../chunks/B17metm1.js";import{e as Y,i as Z}from"../chunks/BilMa3tw.js";import{c as De,a as b,f as g}from"../chunks/B0IenmM-.js";import{s as ze}from"../chunks/Ckx7gB9J.js";import{s as P,r as Ge}from"../chunks/BBOOwRwQ.js";import{s as ee}from"../chunks/BgOFZ9jq.js";import{b as Re}from"../chunks/BOVu8he9.js";import{b as He}from"../chunks/DAhpUNCK.js";import{a as k,s as be}from"../chunks/C3ZC25l2.js";import{s as Oe,g as me}from"../chunks/D1EqE5Bq.js";import{b as _}from"../chunks/BAlzCWFX.js";import{s as ge,w as fe,a as Ve,i as We,m as Qe}from"../chunks/B6fk3AxI.js";import"../chunks/D_N1HvA5.js";const Be=()=>{const m=Oe;return{page:{subscribe:m.page.subscribe},navigating:{subscribe:m.navigating.subscribe},updated:m.updated}},Je={subscribe(m){return Be().page.subscribe(m)}};var Ue=g('<div class="flex items-center gap-2 rounded-full border border-[#A33FFF]/40 bg-[#A33FFF]/10 px-3 py-1.5 text-xs shadow-[0_0_12px_rgba(163,63,255,0.15)]" title="Memories currently under top-down suppression (Anderson 2025 SIF)"><div class="relative flex h-2 w-2 items-center justify-center"><span class="absolute inline-flex h-full w-full animate-ping rounded-full bg-[#A33FFF] opacity-75"></span> <span class="relative inline-flex h-2 w-2 rounded-full bg-[#A33FFF]"></span></div> <span class="font-medium text-[#E4C8FF]"> </span></div>');function Xe(m){const h=()=>k(ge,"$suppressedCount",M),[M,K]=be();var L=De(),j=xe(L);{var D=f=>{var F=Ue(),d=n(a(F),2),u=a(d);t(d),t(F),A(()=>v(u,`Actively forgetting ${h()??""} ${h()===1?"memory":"memories"}`)),b(f,F)};N(j,f=>{h()>0&&f(D)})}b(m,L),K()}var Ye=g('<a><span class="text-base w-5 text-center"> </span> <span class="hidden lg:block"> </span> <span class="hidden lg:block ml-auto text-[10px] text-muted/50 font-mono"> </span></a>'),Ze=g('<div class="hidden lg:block pt-1"><!></div>'),Pe=g('<a><span class="text-lg"> </span> <span class="text-[9px]"> </span></a>'),et=g('<button class="w-full flex items-center gap-3 px-4 py-2.5 text-sm text-dim hover:text-text hover:bg-white/[0.04] transition"><span class="text-base w-5 text-center"> </span> <span> </span> <span class="ml-auto text-[10px] text-muted/50 font-mono hidden md:block"> </span></button>'),tt=g('<div class="px-4 py-6 text-center text-sm text-muted">No matches</div>'),at=g('<div class="fixed inset-0 z-50 flex items-start justify-center pt-[10vh] md:pt-[15vh] px-4 bg-void/60 backdrop-blur-sm"><div class="w-full max-w-lg glass-panel rounded-xl shadow-2xl shadow-synapse/10 overflow-hidden"><div class="flex items-center gap-3 px-4 py-3 border-b border-synapse/10"><span class="text-synapse text-sm">◎</span> <input type="text" placeholder="Navigate to..." class="flex-1 bg-transparent text-text text-sm placeholder:text-muted focus:outline-none"/> <span class="text-[10px] text-muted font-mono bg-white/[0.04] px-1.5 py-0.5 rounded">esc</span></div> <div class="max-h-72 overflow-y-auto py-1"><!> <!></div></div></div>'),st=g('<div class="ambient-orb ambient-orb-1" aria-hidden="true"></div> <div class="ambient-orb ambient-orb-2" aria-hidden="true"></div> <div class="ambient-orb ambient-orb-3" aria-hidden="true"></div> <div class="flex flex-col md:flex-row h-screen overflow-hidden bg-void relative z-[1]"><nav class="hidden md:flex w-16 lg:w-56 flex-shrink-0 glass-sidebar flex-col"><a class="flex items-center gap-3 px-4 py-5 border-b border-synapse/10"><div class="w-8 h-8 rounded-lg bg-gradient-to-br from-dream to-synapse flex items-center justify-center text-bright text-sm font-bold shadow-lg shadow-synapse/20">V</div> <span class="hidden lg:block text-sm font-semibold text-bright tracking-wide">VESTIGE</span></a> <div class="flex-1 py-3 flex flex-col gap-1 px-2"></div> <div class="px-2 pb-2"><button class="w-full flex items-center gap-2 px-3 py-2 rounded-lg text-xs text-muted hover:text-dim hover:bg-white/[0.03] transition border border-subtle/15"><span class="text-[10px] font-mono bg-white/[0.04] px-1.5 py-0.5 rounded">⌘K</span> <span class="hidden lg:block">Command</span></button></div> <div class="px-3 py-4 border-t border-synapse/10 space-y-2"><div class="flex items-center gap-2 text-xs"><div></div> <span class="hidden lg:block text-dim"> </span></div> <div class="hidden lg:block text-xs text-muted"><div> </div> <div> </div></div> <!></div></nav> <main class="flex-1 flex flex-col min-h-0 pb-16 md:pb-0"><div class="animate-page-in flex-1 min-h-0 overflow-y-auto svelte-12qhfyh"><!></div></main> <nav class="md:hidden fixed bottom-0 inset-x-0 glass border-t border-synapse/10 z-40 safe-bottom svelte-12qhfyh"><div class="flex items-center justify-around px-2 py-1"><!> <button class="flex flex-col items-center gap-0.5 px-3 py-2 rounded-lg text-muted min-w-[3.5rem]"><span class="text-lg">⋯</span> <span class="text-[9px]">More</span></button></div></nav></div> <!>',1);function yt(m,h){qe(h,!0);const M=()=>k(Je,"$page",f),K=()=>k(We,"$isConnected",f),L=()=>k(Qe,"$memoryCount",f),j=()=>k(Ve,"$avgRetention",f),D=()=>k(ge,"$suppressedCount",f),[f,F]=be();let d=U(!1),u=U(""),C=U(void 0);Te(()=>{fe.connect();function r(e){if((e.metaKey||e.ctrlKey)&&e.key==="k"){e.preventDefault(),c(d,!s(d)),c(u,""),s(d)&&requestAnimationFrame(()=>{var o;return(o=s(C))==null?void 0:o.focus()});return}if(e.key==="Escape"&&s(d)){c(d,!1);return}if(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)return;if(e.key==="/"){e.preventDefault();const o=document.querySelector('input[type="text"]');o==null||o.focus();return}const i={g:"/graph",m:"/memories",t:"/timeline",f:"/feed",e:"/explore",i:"/intentions",s:"/stats"}[e.key.toLowerCase()];i&&!e.metaKey&&!e.ctrlKey&&!e.altKey&&(e.preventDefault(),me(`${_}${i}`))}return window.addEventListener("keydown",r),()=>{fe.disconnect(),window.removeEventListener("keydown",r)}});const S=[{href:"/graph",label:"Graph",icon:"◎",shortcut:"G"},{href:"/memories",label:"Memories",icon:"◈",shortcut:"M"},{href:"/timeline",label:"Timeline",icon:"◷",shortcut:"T"},{href:"/feed",label:"Feed",icon:"◉",shortcut:"F"},{href:"/explore",label:"Explore",icon:"◬",shortcut:"E"},{href:"/intentions",label:"Intentions",icon:"◇",shortcut:"I"},{href:"/stats",label:"Stats",icon:"◫",shortcut:"S"},{href:"/settings",label:"Settings",icon:"⚙",shortcut:","}],he=S.slice(0,5);function te(r,e){const p=e.startsWith(_)?e.slice(_.length)||"/":e;return r==="/graph"?p==="/"||p==="/graph":p.startsWith(r)}let T=X(()=>s(u)?S.filter(r=>r.label.toLowerCase().includes(s(u).toLowerCase())):S);function ae(r){c(d,!1),c(u,""),me(`${_}${r}`)}var se=st(),z=n(xe(se),6),G=a(z),re=a(G),R=n(re,2);Y(R,21,()=>S,Z,(r,e)=>{const p=X(()=>te(s(e).href,M().url.pathname));var i=Ye(),o=a(i),y=a(o,!0);t(o);var x=n(o,2),E=a(x,!0);t(x);var q=n(x,2),l=a(q,!0);t(q),t(i),A(()=>{P(i,"href",`${_??""}${s(e).href??""}`),ee(i,1,`flex items-center gap-3 px-3 py-2.5 rounded-lg transition-all duration-200 text-sm
|
|
${s(p)?"bg-synapse/15 text-synapse-glow border border-synapse/30 shadow-[0_0_12px_rgba(99,102,241,0.15)] nav-active-border":"text-dim hover:text-text hover:bg-white/[0.03] border border-transparent"}`),v(y,s(e).icon),v(E,s(e).label),v(l,s(e).shortcut)}),b(r,i)}),t(R);var H=n(R,2),_e=a(H);t(H);var ne=n(H,2),O=a(ne),oe=a(O),ie=n(oe,2),ye=a(ie,!0);t(ie),t(O);var V=n(O,2),W=a(V),we=a(W);t(W);var le=n(W,2),$e=a(le);t(le),t(V);var ke=n(V,2);{var Fe=r=>{var e=Ze(),p=a(e);Xe(p),t(e),b(r,e)};N(ke,r=>{D()>0&&r(Fe)})}t(ne),t(G);var Q=n(G,2),de=a(Q),Ce=a(de);ze(Ce,()=>h.children),t(de),t(Q);var pe=n(Q,2),ce=a(pe),ve=a(ce);Y(ve,17,()=>he,Z,(r,e)=>{const p=X(()=>te(s(e).href,M().url.pathname));var i=Pe(),o=a(i),y=a(o,!0);t(o);var x=n(o,2),E=a(x,!0);t(x),t(i),A(()=>{P(i,"href",`${_??""}${s(e).href??""}`),ee(i,1,`flex flex-col items-center gap-0.5 px-3 py-2 rounded-lg transition-all min-w-[3.5rem]
|
|
${s(p)?"text-synapse-glow":"text-muted"}`),v(y,s(e).icon),v(E,s(e).label)}),b(r,i)});var Ee=n(ve,2);t(ce),t(pe),t(z);var Ae=n(z,2);{var Me=r=>{var e=at(),p=a(e),i=a(p),o=n(a(i),2);Ge(o),He(o,l=>c(C,l),()=>s(C)),Ne(2),t(i);var y=n(i,2),x=a(y);Y(x,17,()=>s(T),Z,(l,w)=>{var I=et(),B=a(I),Ke=a(B,!0);t(B);var J=n(B,2),Le=a(J,!0);t(J);var ue=n(J,2),Se=a(ue,!0);t(ue),t(I),A(()=>{v(Ke,s(w).icon),v(Le,s(w).label),v(Se,s(w).shortcut)}),$("click",I,()=>ae(s(w).href)),b(l,I)});var E=n(x,2);{var q=l=>{var w=tt();b(l,w)};N(E,l=>{s(T).length===0&&l(q)})}t(y),t(p),t(e),$("keydown",e,l=>{l.key==="Escape"&&c(d,!1)}),$("click",e,l=>{l.target===l.currentTarget&&c(d,!1)}),$("keydown",o,l=>{l.key==="Enter"&&s(T).length>0&&ae(s(T)[0].href)}),Re(o,()=>s(u),l=>c(u,l)),b(r,e)};N(Ae,r=>{s(d)&&r(Me)})}A(r=>{P(re,"href",`${_??""}/graph`),ee(oe,1,`w-2 h-2 rounded-full ${K()?"bg-recall animate-pulse-glow":"bg-decay"}`),v(ye,K()?"Connected":"Offline"),v(we,`${L()??""} memories`),v($e,`${r??""}% retention`)},[()=>(j()*100).toFixed(0)]),$("click",_e,()=>{c(d,!0),c(u,""),requestAnimationFrame(()=>{var r;return(r=s(C))==null?void 0:r.focus()})}),$("click",Ee,()=>{c(d,!0),c(u,""),requestAnimationFrame(()=>{var r;return(r=s(C))==null?void 0:r.focus()})}),b(m,se),Ie(),F()}je(["click","keydown"]);export{yt as component};
|