@vxnus/siduri 2.0.30 → 2.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builtin-manifests.js +6 -6
- package/dist/clean-machine-e2e.test.d.ts +1 -0
- package/dist/clean-machine-e2e.test.js +160 -0
- package/dist/doctor.js +7 -2
- package/dist/generator.js +7 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -2
- package/dist/web-dist/404/index.html +1 -1
- package/dist/web-dist/404.html +1 -1
- package/dist/web-dist/__next.__PAGE__.txt +2 -2
- package/dist/web-dist/__next._full.txt +2 -2
- package/dist/web-dist/__next._tree.txt +1 -1
- package/dist/web-dist/_next/static/chunks/app/_not-found/page-74658f4988eabcc7.js +1 -0
- package/dist/web-dist/_next/static/chunks/app/chat/{page-952ffd2ca033d626.js → page-26bbc63b0653d064.js} +1 -1
- package/dist/web-dist/_next/static/chunks/app/layout-14f1a3f31e58be17.js +1 -0
- package/dist/web-dist/_next/static/chunks/app/operator/{page-03e3e0286b6acd25.js → page-6b2d0ba884183ad7.js} +1 -1
- package/dist/web-dist/_next/static/chunks/app/{page-0ea61d6527029893.js → page-fc4bf56cf33ae27b.js} +1 -1
- package/dist/web-dist/_next/static/chunks/{main-app-600dfd311d48a1fb.js → main-app-9e6a144626e5a5b9.js} +1 -1
- package/dist/web-dist/_next/static/chunks/next/dist/client/components/builtin/global-error-68ea4ac05dcaf701.js +1 -0
- package/dist/web-dist/_not-found/__next._full.txt +1 -1
- package/dist/web-dist/_not-found/__next._not-found.__PAGE__.txt +1 -1
- package/dist/web-dist/_not-found/__next._tree.txt +1 -1
- package/dist/web-dist/_not-found/index.html +1 -1
- package/dist/web-dist/_not-found/index.txt +1 -1
- package/dist/web-dist/chat/__next._full.txt +2 -2
- package/dist/web-dist/chat/__next._tree.txt +1 -1
- package/dist/web-dist/chat/__next.chat.__PAGE__.txt +2 -2
- package/dist/web-dist/chat/index.html +1 -1
- package/dist/web-dist/chat/index.txt +2 -2
- package/dist/web-dist/index.html +1 -1
- package/dist/web-dist/index.txt +2 -2
- package/dist/web-dist/operator/__next._full.txt +2 -2
- package/dist/web-dist/operator/__next._tree.txt +1 -1
- package/dist/web-dist/operator/__next.operator.__PAGE__.txt +2 -2
- package/dist/web-dist/operator/index.html +1 -1
- package/dist/web-dist/operator/index.txt +2 -2
- package/package.json +7 -7
- package/dist/web-dist/_next/static/chunks/app/_not-found/page-34af109a364a684f.js +0 -1
- package/dist/web-dist/_next/static/chunks/app/layout-c2b7ec35aaa926ae.js +0 -1
- package/dist/web-dist/_next/static/chunks/next/dist/client/components/builtin/global-error-777c8f036c92d838.js +0 -1
- /package/dist/web-dist/_next/static/{LZCqJ-mUh49-lAiKiCill → Tq3UpxBQzNTBn_z7F5dip}/_buildManifest.js +0 -0
- /package/dist/web-dist/_next/static/{LZCqJ-mUh49-lAiKiCill → Tq3UpxBQzNTBn_z7F5dip}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[939],{3449:(e,s,t)=>{"use strict";t.d(s,{default:()=>h});var a=t(2184),l=t(276),n=t(2914);function i({title:e,detail:s}){return(0,a.jsxs)("div",{className:"empty-state",children:[(0,a.jsx)("span",{className:"flex items-center justify-center","aria-hidden":"true",children:(0,a.jsx)(n.kN,{size:24})}),(0,a.jsx)("strong",{children:e}),(0,a.jsx)("p",{children:s})]})}var r=t(8839),c=t(3265);function o(e){return e?e.length>19?`${e.slice(0,9)}…${e.slice(-7)}`:e:"—"}function d(e){if(!e)return"—";let s=new Date(e);return Number.isNaN(s.valueOf())?e:new Intl.DateTimeFormat(void 0,{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"}).format(s)}function h(){let[e,s]=(0,l.useState)("overview"),[t,i]=(0,l.useState)({label:"Orchestrator",value:"Checking",tone:"warn"}),[c,o]=(0,l.useState)({label:"Voice",value:"Checking",tone:"warn"}),[d,h]=(0,l.useState)({label:"OBS capture",value:"Checking",tone:"warn"}),[m,x]=(0,l.useState)(""),[j,p]=(0,l.useState)([]),[f,w]=(0,l.useState)([]),[k,S]=(0,l.useState)([]),[C,T]=(0,l.useState)([]),[O,D]=(0,l.useState)([]),[E,R]=(0,l.useState)([]),[$,A]=(0,l.useState)([]),[L,I]=(0,l.useState)([]),[P,_]=(0,l.useState)([]),[z,B]=(0,l.useState)([]),[M,U]=(0,l.useState)([]),[F,J]=(0,l.useState)("all"),[q,V]=(0,l.useState)("all"),[G,Q]=(0,l.useState)(""),[H,Y]=(0,l.useState)(!0),[Z,K]=(0,l.useState)(new Set),[W,X]=(0,l.useState)("{}"),[ee,es]=(0,l.useState)(""),[et,ea]=(0,l.useState)(null),[el,en]=(0,l.useState)(null),[ei,er]=(0,l.useState)(!1);async function ec(){try{let e=new URLSearchParams;"all"!==F&&e.set("level",F),"all"!==q&&e.set("subsystem",q),G.trim()&&e.set("q",G.trim()),e.set("limit","150");let s=await (0,r.Tt)(`/system/logs?${e.toString()}`);U(s.logs||[])}catch(e){console.error("Failed to load system logs:",e)}}async function eo(){if(window.confirm("Are you sure you want to clear all system logs?"))try{await (0,r.B2)("/system/logs/clear",{}),U([]),es("Logs cleared.")}catch(e){es(`Failed to clear logs: ${e.message}`)}}async function ed(){try{let[e,s,t]=await Promise.all([(0,r.Tt)("/health"),(0,r.Tt)("/version"),(0,r.Tt)("/ready")]);i({label:"Orchestrator",value:"ok"===e.status?"Online":e.status,detail:`v${s.version}`,tone:"ok"===e.status?"good":"warn"}),x(s.version),t.dependencies?.model_provider?.ready===!1&&i(e=>({...e,detail:"Model provider degraded",tone:"warn"}))}catch{i({label:"Orchestrator",value:"Offline",detail:"Start the Python API",tone:"bad"})}try{let e=await (0,r.Tt)("/voice/health");o({label:"Voice",value:e.healthy?"Ready":"Fallback",detail:e.provider,tone:e.healthy?"good":"warn"})}catch{o({label:"Voice",value:"Unavailable",detail:"Subtitle fallback",tone:"warn"})}try{let e=await (0,r.Tt)("/obs/health");h({label:"OBS capture",value:e.connected?"Connected":e.configured?"Disconnected":"Disabled",detail:e.source_name?`Source: ${e.source_name}`:"No source configured",tone:e.connected?"good":"warn"})}catch{h({label:"OBS capture",value:"Unavailable",tone:"bad"})}}async function eh(){try{let[e,s,t,a]=await Promise.all([(0,r.Tt)("/memory/proposals"),(0,r.Tt)("/memory"),(0,r.Tt)("/memory/claims"),(0,r.Tt)("/memory/behavioral")]);p((e.proposals??[]).filter(e=>"pending"===(e.status||"").toLowerCase().replace(/_/g,"-"))),S(s.items??[]),w(t.claims??[]),T(a.directives??[])}catch{p([]),S([]),w([]),T([])}}async function em(){try{let[e,s]=await Promise.all([(0,r.Tt)("/evidence"),(0,r.Tt)("/observations")]);D(e.results??[]),R(s.observations??[])}catch{D([]),R([])}}async function ex(){try{X(JSON.stringify(await (0,r.Tt)("/me"),null,2))}catch{X("Unable to load profile.")}}async function ej(){try{let[e,s,t,a]=await Promise.all([(0,r.Tt)("/knowledge/entities").catch(()=>({entities:[]})),(0,r.Tt)("/knowledge/events").catch(()=>({events:[]})),(0,r.Tt)("/knowledge/tasks").catch(()=>({tasks:[]})),(0,r.Tt)("/knowledge/schedule").catch(()=>({items:[]}))]);A(e?.entities||[]),I(s?.events||[]),_(t?.tasks||[]),B(a?.items||[])}catch{}}async function eu(e){er(!0);try{await (0,r.B2)("/knowledge/entities",e),es(`Saved entity "${e.name}"`),await ej()}catch(e){es(`Error saving entity: ${e.message}`)}finally{er(!1)}}async function ep(e){er(!0);try{await (0,r.B2)("/knowledge/entities/delete",{id:e}),es("Entity deleted"),await ej()}catch(e){es(`Error deleting entity: ${e.message}`)}finally{er(!1)}}async function ev(e){er(!0);try{await (0,r.B2)("/knowledge/tasks",e),es(`Saved task "${e.title}"`),await ej()}catch(e){es(`Error saving task: ${e.message}`)}finally{er(!1)}}async function eb(e){let s="completed"===e.status?"todo":"completed";await ev({...e,status:s})}async function eg(e){er(!0);try{await (0,r.B2)("/knowledge/tasks/delete",{id:e}),es("Task deleted"),await ej()}catch(e){es(`Error deleting task: ${e.message}`)}finally{er(!1)}}async function eN(e){er(!0);try{await (0,r.B2)("/knowledge/events",e),es(`Logged event on stream "${e.stream}"`),await ej()}catch(e){es(`Error logging event: ${e.message}`)}finally{er(!1)}}async function ey(e){er(!0);try{await (0,r.B2)("/knowledge/schedule",e),es(`Saved schedule item "${e.title}"`),await ej()}catch(e){es(`Error saving schedule: ${e.message}`)}finally{er(!1)}}async function ef(e){er(!0);try{await (0,r.B2)("/knowledge/schedule/delete",{id:e}),es("Schedule item deleted"),await ej()}catch(e){es(`Error deleting schedule item: ${e.message}`)}finally{er(!1)}}async function ew(){er(!0);try{ea(await (0,r.B2)("/dev/mock-response"))}finally{er(!1)}}async function ek(){er(!0);try{let e=await (0,r.B2)("/dev/observe-and-respond");ea(e);let s="string"==typeof e?.metadata?.correlation_id?e.metadata.correlation_id:null;en(s)}finally{er(!1)}}async function eS(){if(el){er(!0);try{ea(await (0,r.B2)("/dev/approve-response",{correlation_id:el})),en(null)}finally{er(!1)}}}async function eC(e,s,t){await (0,r.vd)(e,{id:s.id||s.proposal_id,companionId:"default",...void 0===t?{}:{content:t}}),await eh()}async function eT(){await (0,r.vd)("/dev/mock-observation"),await em()}async function eO(){if(window.confirm("Are you sure you want to completely reset all memory? This action cannot be undone.")){er(!0);try{await (0,r.B2)("/dev/memory/reset"),await eh(),es("Memory has been completely reset.")}catch(e){es(String(e))}finally{er(!1)}}}return(0,l.useEffect)(()=>{ed(),eh(),ej(),em(),ex()},[]),(0,a.jsxs)("main",{className:"console-app",children:[(0,a.jsxs)("aside",{className:"console-sidebar",children:[(0,a.jsxs)("div",{className:"console-sidebar-header flex items-center justify-between w-full",children:[(0,a.jsxs)("a",{className:"console-brand",href:"/chat",children:[(0,a.jsx)("span",{className:"console-brand-mark",children:"S"}),(0,a.jsx)("span",{children:"SIDURI"})]}),(0,a.jsxs)("a",{href:"/chat",className:"console-mobile-back inline-flex items-center gap-1","aria-label":"Back to chat",children:[(0,a.jsx)(n.A6,{size:12}),"Chat"]})]}),(0,a.jsxs)("div",{className:"console-context",children:[(0,a.jsx)("span",{className:"console-context-dot"}),"Operator workspace"]}),(0,a.jsx)("nav",{className:"console-nav","aria-label":"Console sections",children:["overview","memory","lifedb","evidence","logs","settings"].map(t=>(0,a.jsxs)("button",{className:e===t?"active":"",onClick:()=>s(t),children:[(0,a.jsx)("span",{className:`nav-glyph nav-${t}`}),"lifedb"===t?"Life DB":t[0].toUpperCase()+t.slice(1)]},t))}),(0,a.jsxs)("div",{className:"console-sidebar-bottom",children:[(0,a.jsxs)("a",{href:"/chat",className:"inline-flex items-center gap-1",children:[(0,a.jsx)(n.A6,{size:12}),"Private chat"]}),(0,a.jsx)("span",{children:"Local operator surface"})]})]}),(0,a.jsxs)("section",{className:"console-main",children:[(0,a.jsxs)("header",{className:"console-topbar",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"console-eyebrow",children:"SIDURI / OPERATOR"}),(0,a.jsx)("h1",{children:"overview"===e?"Control room":"lifedb"===e?"Life Database (Sovereign Reality)":"logs"===e?"System Logs & Diagnostics":e[0].toUpperCase()+e.slice(1)})]}),(0,a.jsxs)("div",{className:"console-top-actions",children:[(0,a.jsxs)("a",{href:"/chat",className:"console-back-link inline-flex items-center gap-1",title:"Return to Private Chat",children:[(0,a.jsx)(n.A6,{size:12}),"Chat"]}),(0,a.jsxs)("span",{className:"console-version",children:["v",m||"—"]}),(0,a.jsx)("button",{type:"button",className:"console-refresh",onClick:()=>{ed(),eh(),ej(),em(),"logs"===e&&ec()},"aria-label":"Refresh dashboard",children:(0,a.jsx)(n.fN,{size:14})})]})]}),ee&&(0,a.jsx)("div",{className:"console-notice",children:ee}),"overview"===e&&(0,a.jsx)(b,{health:t,voice:c,obs:d,proposals:j,responseJson:et,pendingCorrelationId:el,busy:ei,onTrigger:ew,onObserve:ek,onApprove:eS,onNavigate:s}),"memory"===e&&(0,a.jsx)(u,{proposals:j,claims:f,items:k,directives:C,onAction:eC,onRefresh:eh}),"lifedb"===e&&(0,a.jsx)(g,{entities:$,events:L,tasks:P,schedule:z,busy:ei,onSaveEntity:eu,onDeleteEntity:ep,onSaveTask:ev,onToggleTask:eb,onDeleteTask:eg,onAddEvent:eN,onSaveSchedule:ey,onDeleteSchedule:ef,onRefresh:ej}),"evidence"===e&&(0,a.jsx)(v,{results:O,observations:E,onCreate:eT,onRefresh:em}),"logs"===e&&(0,a.jsx)(N,{logs:M,filterLevel:F,filterSubsystem:q,searchQuery:G,autoRefresh:H,expandedIds:Z,onToggleExpand:function(e){K(s=>{let t=new Set(s);return t.has(e)?t.delete(e):t.add(e),t})},onChangeLevel:J,onChangeSubsystem:V,onChangeSearch:Q,onToggleAutoRefresh:()=>Y(e=>!e),onRefresh:ec,onClear:eo,onExport:function(){try{let e=new Blob([JSON.stringify(M,null,2)],{type:"application/json"}),s=URL.createObjectURL(e),t=document.createElement("a");t.href=s,t.download=`siduri-logs-${new Date().toISOString().replace(/[:.]/g,"-")}.json`,t.click(),URL.revokeObjectURL(s)}catch(e){es(`Export failed: ${e.message}`)}}}),"settings"===e&&(0,a.jsx)(y,{onResetMemory:eO,disabled:ei})]})]})}function m({status:e}){return(0,a.jsxs)("article",{className:"status-card",children:[(0,a.jsxs)("div",{className:"status-card-top",children:[(0,a.jsx)("span",{children:e.label}),(0,a.jsx)("i",{className:`status-dot ${e.tone??"warn"}`})]}),(0,a.jsx)("strong",{children:e.value}),(0,a.jsx)("small",{children:e.detail??"—"})]})}function x({title:e,action:s,onClick:t}){return(0,a.jsxs)("div",{className:"panel-header",children:[(0,a.jsx)("h2",{children:e}),s&&(0,a.jsxs)("button",{onClick:t,className:"inline-flex items-center gap-1",children:[s," ",(0,a.jsx)(n.fl,{size:12})]})]})}function j({label:e,count:s,tone:t}){return(0,a.jsxs)("div",{className:"queue-row",children:[(0,a.jsx)("span",{children:e}),(0,a.jsx)("b",{className:`queue-count ${t}`,children:s})]})}function u({proposals:e,claims:s,items:t,directives:l,onAction:n,onRefresh:h}){async function m(e,s){await (0,r.B2)(e,{id:s,companionId:"default"}),await h()}return(0,a.jsxs)("div",{className:"console-view",children:[(0,a.jsxs)("div",{className:"view-intro",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"console-eyebrow",children:"COMPANION MEMORY"}),(0,a.jsx)("h2",{children:"Review candidates before they become facts."}),(0,a.jsx)("p",{children:"Every candidate stays isolated until you explicitly approve it."})]}),(0,a.jsxs)("span",{className:"count-badge",children:[e.length," pending"]})]}),(0,a.jsxs)("section",{className:"console-panel table-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsx)("strong",{children:"Pending memory"}),(0,a.jsx)("span",{children:"Local approval queue"})]}),e.length?(0,a.jsx)("div",{className:"data-table-wrap",children:(0,a.jsxs)("table",{className:"data-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Candidate"}),(0,a.jsx)("th",{children:"Provenance"}),(0,a.jsx)("th",{children:"Sensitivity"}),(0,a.jsx)("th",{children:"Action"})]})}),(0,a.jsx)("tbody",{children:e.map(e=>(0,a.jsx)(p,{item:e,onAction:n},e.id||e.proposal_id))})]})}):(0,a.jsx)(i,{title:"No pending candidates",detail:"Siduri memory suggestions will appear here for review."})]}),(0,a.jsxs)("section",{className:"console-panel table-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsx)("strong",{children:"Behavioral Directives"}),(0,a.jsx)("span",{children:"Active behaviors and learned relationships"})]}),l.length?(0,a.jsx)("div",{className:"data-table-wrap",children:(0,a.jsxs)("table",{className:"data-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Directive"}),(0,a.jsx)("th",{children:"Scope & Activation"}),(0,a.jsx)("th",{children:"Class"}),(0,a.jsx)("th",{children:"Status"}),(0,a.jsx)("th",{children:"Actions"})]})}),(0,a.jsx)("tbody",{children:l.map(e=>{let s=e.id||e.directive_id||"";return(0,a.jsxs)("tr",{children:[(0,a.jsxs)("td",{children:[(0,a.jsx)("strong",{children:(0,c.P)(e)}),(0,a.jsxs)("details",{className:"row-details",children:[(0,a.jsx)("summary",{children:o(s)}),(0,a.jsx)("pre",{children:JSON.stringify(e,null,2)})]})]}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:"tag",children:e.activation||"active"})}),(0,a.jsx)("td",{children:(0,a.jsxs)("span",{className:"tag",children:[e.domain||e.category||"general"," / ",e.memory_class||e.category||"directive"]})}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:`tag status-${(e.status||"").toLowerCase().replace(/_/g,"-")}`,children:e.status})}),(0,a.jsx)("td",{children:(0,a.jsxs)("div",{className:"table-actions",children:["pending"===(e.status||"").toLowerCase()&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{className:"tiny-button approve-button",onClick:()=>void m("/memory/behavioral/approve",s),children:"Approve"}),(0,a.jsx)("button",{className:"tiny-button danger-button",onClick:()=>void m("/memory/behavioral/reject",s),children:"Reject"})]}),("active"===(e.status||"").toLowerCase()||"confirmed"===(e.status||"").toLowerCase())&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{className:"tiny-button danger-button",onClick:()=>void m("/memory/behavioral/revoke",s),children:"Revoke"}),"disabled"!==e.activation&&(0,a.jsx)("button",{className:"tiny-button",onClick:()=>void m("/memory/behavioral/disable",s),children:"Disable"})]})]})})]},s)})})]})}):(0,a.jsx)(i,{title:"No behavioral directives",detail:"Behavioral rules taught in private chat will appear here."})]}),(0,a.jsxs)("section",{className:"console-panel table-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsx)("strong",{children:"Structured Claims"}),(0,a.jsx)("span",{children:"Queryable personal and game knowledge"})]}),s.length?(0,a.jsx)("div",{className:"data-table-wrap",children:(0,a.jsxs)("table",{className:"data-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Subject"}),(0,a.jsx)("th",{children:"Predicate"}),(0,a.jsx)("th",{children:"Value"}),(0,a.jsx)("th",{children:"Status"})]})}),(0,a.jsx)("tbody",{children:s.slice().reverse().map(e=>{let s=e.id||e.claim_id||"";return(0,a.jsxs)("tr",{children:[(0,a.jsxs)("td",{children:[(0,a.jsx)("strong",{children:e.subject}),(0,a.jsxs)("details",{className:"row-details",children:[(0,a.jsx)("summary",{children:o(s)}),(0,a.jsx)("pre",{children:JSON.stringify(e,null,2)})]})]}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:"tag",children:e.predicate})}),(0,a.jsx)("td",{children:e.value}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:`tag status-${(e.status||"").toLowerCase().replace(/_/g,"-")}`,children:e.status})})]},s)})})]})}):(0,a.jsx)(i,{title:"No structured claims",detail:"Approved teachings will become queryable claims here."})]}),(0,a.jsxs)("section",{className:"console-panel table-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsx)("strong",{children:"Compatibility Memory Items"}),(0,a.jsx)("span",{children:"Legacy text projection"})]}),t.length?(0,a.jsx)("div",{className:"data-table-wrap",children:(0,a.jsxs)("table",{className:"data-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Fact"}),(0,a.jsx)("th",{children:"Provenance"}),(0,a.jsx)("th",{children:"Sensitivity"}),(0,a.jsx)("th",{children:"Created"})]})}),(0,a.jsx)("tbody",{children:t.slice().reverse().map(e=>{let s=e.id||e.memory_id||"",t=e.content||(e.subject&&e.predicate?`${e.subject} ${e.predicate} ${e.value}`:e.value||"—");return(0,a.jsxs)("tr",{children:[(0,a.jsxs)("td",{children:[(0,a.jsx)("strong",{children:t}),(0,a.jsxs)("details",{className:"row-details",children:[(0,a.jsx)("summary",{children:o(s)}),(0,a.jsx)("pre",{children:JSON.stringify(e,null,2)})]})]}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:"tag",children:e.provenance||"conversation"})}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:"tag",children:e.sensitivity||"normal"})}),(0,a.jsx)("td",{children:d(e.created_at||e.assertedAt)})]},s)})})]})}):(0,a.jsx)(i,{title:"No compatibility items",detail:"Legacy approved memory text will appear here."})]})]})}function p({item:e,onAction:s}){let t=e.id||e.proposal_id||"",[n,i]=(0,l.useState)(e.content||"");return(0,a.jsxs)("tr",{children:[(0,a.jsxs)("td",{children:[(0,a.jsx)("strong",{children:(0,c.I)(e)}),(0,a.jsxs)("details",{className:"row-details",children:[(0,a.jsxs)("summary",{children:["Edit raw record \xb7 ",o(t)]}),(0,a.jsx)("textarea",{className:"table-editor",value:n,onChange:e=>i(e.target.value),"aria-label":`Memory candidate ${t}`}),(0,a.jsx)("pre",{children:JSON.stringify(e,null,2)})]})]}),(0,a.jsx)("td",{children:e.provenance||"conversation"}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:"tag",children:e.sensitivity||"normal"})}),(0,a.jsx)("td",{children:(0,a.jsxs)("div",{className:"table-actions",children:[(0,a.jsx)("button",{className:"tiny-button",onClick:()=>void s("/memory/proposals/update",e,n),children:"Save"}),(0,a.jsx)("button",{className:"tiny-button approve-button",onClick:()=>void s("/memory/proposals/approve",e),children:"Approve"}),(0,a.jsx)("button",{className:"tiny-button danger-button",onClick:()=>void s("/memory/proposals/reject",e),children:"Reject"})]})})]})}function v({results:e,observations:s,onCreate:t,onRefresh:l}){return(0,a.jsxs)("div",{className:"console-view",children:[(0,a.jsxs)("div",{className:"view-intro",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"console-eyebrow",children:"GROUNDING"}),(0,a.jsx)("h2",{children:"Evidence, with uncertainty intact."}),(0,a.jsx)("p",{children:"Inspect bounded citations and short-lived observations without exposing raw captures."})]}),(0,a.jsxs)("div",{className:"button-row",children:[(0,a.jsx)("button",{onClick:()=>void t(),children:"Create fixture"}),(0,a.jsx)("button",{className:"soft-button",onClick:()=>void l(),children:"Refresh"})]})]}),(0,a.jsxs)("section",{className:"console-panel table-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsx)("strong",{children:"Knowledge Base Citations"}),(0,a.jsxs)("span",{children:[e.length," results"]})]}),e.length?(0,a.jsx)("div",{className:"data-table-wrap",children:(0,a.jsxs)("table",{className:"data-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Source"}),(0,a.jsx)("th",{children:"Revision"}),(0,a.jsx)("th",{children:"Preview"}),(0,a.jsx)("th",{children:"Link"})]})}),(0,a.jsx)("tbody",{children:e.map(e=>(0,a.jsxs)("tr",{children:[(0,a.jsxs)("td",{children:[(0,a.jsx)("strong",{children:e.title}),(0,a.jsx)("small",{children:e.endpoint})]}),(0,a.jsx)("td",{children:e.revision||"—"}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:"tag",children:e.preview?"Preview":"Published"})}),(0,a.jsx)("td",{children:(0,a.jsxs)("a",{className:"table-link inline-flex items-center gap-1",href:e.url,target:"_blank",rel:"noreferrer",children:["Open ",(0,a.jsx)(n.pT,{size:12})]})})]},e.url))})]})}):(0,a.jsx)(i,{title:"No evidence loaded",detail:"Create a fixture observation or refresh the source."})]}),(0,a.jsxs)("section",{className:"console-panel table-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsx)("strong",{children:"Current observations"}),(0,a.jsx)("span",{children:"Raw frames are never shown here"})]}),s.length?(0,a.jsx)("div",{className:"data-table-wrap",children:(0,a.jsxs)("table",{className:"data-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Observation"}),(0,a.jsx)("th",{children:"Captured"}),(0,a.jsx)("th",{children:"Expires"}),(0,a.jsx)("th",{children:"Readings"})]})}),(0,a.jsx)("tbody",{children:s.map((e,s)=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:o(e.observation_id??"observation")}),(0,a.jsx)("td",{children:d(e.observed_at)}),(0,a.jsx)("td",{children:d(e.expires_at)}),(0,a.jsx)("td",{children:Array.isArray(e.readings)?e.readings.length:0})]},e.observation_id??s))})]})}):(0,a.jsx)(i,{title:"No active observations",detail:"Observations are bounded and expire automatically."})]})]})}function b({health:e,voice:s,obs:t,proposals:l,responseJson:i,pendingCorrelationId:r,busy:c,onTrigger:o,onObserve:d,onApprove:h,onNavigate:u}){return(0,a.jsxs)("div",{className:"console-view",children:[(0,a.jsxs)("div",{className:"status-grid",children:[(0,a.jsx)(m,{status:e}),(0,a.jsx)(m,{status:s}),(0,a.jsx)(m,{status:t})]}),(0,a.jsxs)("div",{className:"console-columns",children:[(0,a.jsxs)("section",{className:"console-panel approval-panel",children:[(0,a.jsx)(x,{title:"Response gate",action:"Review policy",onClick:()=>u("settings")}),(0,a.jsxs)("div",{className:"gate-row",children:[(0,a.jsx)("span",{className:`gate-icon flex items-center justify-center ${r?"pending":"ready"}`,children:r?"!":(0,a.jsx)(n.Sr,{size:14,className:"shrink-0"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:r?"Grounded response awaiting approval":"No response awaiting approval"}),(0,a.jsx)("p",{children:r?"Public output is held until you approve it.":"Local mock responses remain private."})]})]}),(0,a.jsxs)("div",{className:"button-row",children:[(0,a.jsx)("button",{onClick:()=>void o(),disabled:c,children:"Trigger mock response"}),(0,a.jsx)("button",{className:"soft-button",onClick:()=>void d(),disabled:c,children:"Observe and respond"}),r&&(0,a.jsx)("button",{className:"approve-button",onClick:()=>void h(),children:"Approve response"})]}),null!==i&&(0,a.jsxs)("details",{className:"technical-details",children:[(0,a.jsx)("summary",{children:"Technical details"}),(0,a.jsx)("pre",{children:JSON.stringify(i,null,2)})]})]}),(0,a.jsxs)("section",{className:"console-panel queue-panel",children:[(0,a.jsx)(x,{title:"Needs attention",action:"View memory",onClick:()=>u("memory")}),(0,a.jsx)(j,{label:"Memory proposals",count:l.length,tone:l.length?"warn":"quiet"})]})]}),(0,a.jsxs)("section",{className:"console-panel quick-panel",children:[(0,a.jsx)(x,{title:"Quick actions"}),(0,a.jsxs)("div",{className:"quick-actions",children:[(0,a.jsxs)("button",{onClick:()=>u("memory"),className:"inline-flex items-center justify-between",children:["Review memory ",(0,a.jsx)("span",{children:(0,a.jsx)(n.fl,{size:12})})]}),(0,a.jsxs)("button",{onClick:()=>u("lifedb"),className:"inline-flex items-center justify-between",children:["Inspect Life DB ",(0,a.jsx)("span",{children:(0,a.jsx)(n.fl,{size:12})})]}),(0,a.jsxs)("button",{onClick:()=>u("evidence"),className:"inline-flex items-center justify-between",children:["Inspect evidence ",(0,a.jsx)("span",{children:(0,a.jsx)(n.fl,{size:12})})]}),(0,a.jsxs)("button",{onClick:()=>u("settings"),className:"inline-flex items-center justify-between",children:["Identity & Directives ",(0,a.jsx)("span",{children:(0,a.jsx)(n.fl,{size:12})})]})]})]})]})}function g({entities:e,events:s,tasks:t,schedule:r,busy:c,onSaveEntity:o,onDeleteEntity:h,onSaveTask:m,onToggleTask:x,onDeleteTask:j,onAddEvent:u,onSaveSchedule:p,onDeleteSchedule:v,onRefresh:b}){let[N,y]=(0,l.useState)("tasks"),[f,w]=(0,l.useState)("all"),[k,S]=(0,l.useState)(!1),[C,T]=(0,l.useState)(!1),[O,D]=(0,l.useState)(!1),[E,R]=(0,l.useState)(!1),[$,A]=(0,l.useState)(""),[L,I]=(0,l.useState)("1"),[P,_]=(0,l.useState)("todo"),[z,B]=(0,l.useState)(""),[M,U]=(0,l.useState)(""),[F,J]=(0,l.useState)("item"),[q,V]=(0,l.useState)("general"),[G,Q]=(0,l.useState)("{}"),[H,Y]=(0,l.useState)("finance:expense"),[Z,K]=(0,l.useState)(""),[W,X]=(0,l.useState)("{}"),[ee,es]=(0,l.useState)(""),[et,ea]=(0,l.useState)(""),[el,en]=(0,l.useState)(""),ei=t.filter(e=>"all"===f||("active"===f?"completed"!==e.status&&"cancelled"!==e.status:e.status===f));return(0,a.jsxs)("div",{className:"console-view",children:[(0,a.jsxs)("div",{className:"view-intro",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"console-eyebrow",children:"LIFE DATABASE"}),(0,a.jsx)("h2",{children:"Sovereign Reality & Structured Primitives"}),(0,a.jsx)("p",{children:"Inspect and mutate your concrete user reality: actionable tasks, static entities, telemetry events, and temporal schedules."})]}),(0,a.jsx)("div",{className:"button-row",children:(0,a.jsx)("button",{className:"soft-button",onClick:()=>void b(),disabled:c,children:"Refresh"})})]}),(0,a.jsxs)("div",{className:"lifedb-nav",children:[(0,a.jsxs)("button",{className:`lifedb-tab-btn flex items-center gap-1.5 ${"tasks"===N?"active":""}`,onClick:()=>y("tasks"),children:[(0,a.jsx)(n.Sr,{size:13,className:"shrink-0"}),(0,a.jsxs)("span",{children:["Tasks & Goals (",t.length,")"]})]}),(0,a.jsxs)("button",{className:`lifedb-tab-btn flex items-center gap-1.5 ${"entities"===N?"active":""}`,onClick:()=>y("entities"),children:[(0,a.jsx)(n.qD,{size:13,className:"shrink-0"}),(0,a.jsxs)("span",{children:["Entities & Items (",e.length,")"]})]}),(0,a.jsxs)("button",{className:`lifedb-tab-btn flex items-center gap-1.5 ${"events"===N?"active":""}`,onClick:()=>y("events"),children:[(0,a.jsx)(n.O4,{size:13,className:"shrink-0"}),(0,a.jsxs)("span",{children:["Telemetry & Events (",s.length,")"]})]}),(0,a.jsxs)("button",{className:`lifedb-tab-btn flex items-center gap-1.5 ${"schedule"===N?"active":""}`,onClick:()=>y("schedule"),children:[(0,a.jsx)(n.CT,{size:13,className:"shrink-0"}),(0,a.jsxs)("span",{children:["Schedule & Calendar (",r.length,")"]})]})]}),"tasks"===N&&(0,a.jsxs)("section",{className:"console-panel table-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("strong",{children:"Actionable Tasks"}),(0,a.jsx)("div",{className:"flex gap-1",children:["all","active","todo","in_progress","completed"].map(e=>(0,a.jsx)("button",{className:`px-2 py-0.5 rounded text-[10px] ${f===e?"bg-amber-500/20 text-amber-300 font-semibold":"text-gray-400 hover:text-gray-200"}`,onClick:()=>w(e),children:e.toUpperCase()},e))})]}),(0,a.jsx)("button",{className:"tiny-button flex items-center gap-1",onClick:()=>S(!k),children:k?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.US,{size:12,className:"shrink-0"}),(0,a.jsx)("span",{children:"Close"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.c1,{size:12,className:"shrink-0"}),(0,a.jsx)("span",{children:"New Task"})]})})]}),k&&(0,a.jsxs)("div",{className:"lifedb-form-card m-4",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold text-amber-300 mb-2",children:"Create New Task"}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-3 mb-3",children:[(0,a.jsx)("input",{type:"text",placeholder:"Task title (e.g. Order fresh coffee)",value:$,onChange:e=>A(e.target.value),className:"lifedb-input md:col-span-2"}),(0,a.jsxs)("select",{value:P,onChange:e=>_(e.target.value),className:"lifedb-input",children:[(0,a.jsx)("option",{value:"todo",children:"To-Do"}),(0,a.jsx)("option",{value:"in_progress",children:"In Progress"}),(0,a.jsx)("option",{value:"completed",children:"Completed"}),(0,a.jsx)("option",{value:"cancelled",children:"Cancelled"})]}),(0,a.jsx)("input",{type:"number",placeholder:"Priority (1-5)",value:L,onChange:e=>I(e.target.value),className:"lifedb-input"})]}),(0,a.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,a.jsx)("button",{className:"tiny-button",onClick:()=>S(!1),children:"Cancel"}),(0,a.jsx)("button",{className:"tiny-button approve-button",disabled:!$.trim()||c,onClick:async()=>{await m({title:$.trim(),status:P,priority:Number(L)||1,targetDate:z||void 0}),A(""),S(!1)},children:"Save Task"})]})]}),ei.length?(0,a.jsx)("div",{className:"data-table-wrap",children:(0,a.jsxs)("table",{className:"data-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{style:{width:"40px"},children:"Done"}),(0,a.jsx)("th",{children:"Title"}),(0,a.jsx)("th",{children:"Status"}),(0,a.jsx)("th",{children:"Priority"}),(0,a.jsx)("th",{children:"Target Date"}),(0,a.jsx)("th",{children:"Updated"}),(0,a.jsx)("th",{children:"Actions"})]})}),(0,a.jsx)("tbody",{children:ei.map(e=>{let s="completed"===e.status;return(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)("input",{type:"checkbox",checked:s,onChange:()=>void x(e),className:"cursor-pointer accent-amber-500"})}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:s?"line-through text-gray-500":"font-medium text-gray-200",children:e.title})}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:`lifedb-pill lifedb-pill-${e.status||"todo"}`,children:e.status||"todo"})}),(0,a.jsx)("td",{children:(0,a.jsxs)("span",{className:"tag font-mono",children:["P",e.priority??1]})}),(0,a.jsx)("td",{children:d(e.targetDate)}),(0,a.jsx)("td",{children:d(e.updatedAt)}),(0,a.jsx)("td",{children:(0,a.jsxs)("div",{className:"table-actions",children:[(0,a.jsx)("button",{className:"tiny-button",onClick:()=>void x(e),children:s?"Reopen":"Complete"}),(0,a.jsx)("button",{className:"tiny-button danger-button",onClick:()=>void j(e.id),children:"Delete"})]})})]},e.id)})})]})}):(0,a.jsx)(i,{title:"No tasks match filter",detail:"Tasks learned through conversation or created above will appear here."})]}),"entities"===N&&(0,a.jsxs)("section",{className:"console-panel table-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Static Entities & Inventory"}),(0,a.jsx)("span",{children:"Nouns, devices, gaming items, and contacts"})]}),(0,a.jsx)("button",{className:"tiny-button flex items-center gap-1",onClick:()=>T(!C),children:C?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.US,{size:12,className:"shrink-0"}),(0,a.jsx)("span",{children:"Close"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.c1,{size:12,className:"shrink-0"}),(0,a.jsx)("span",{children:"New Entity"})]})})]}),C&&(0,a.jsxs)("div",{className:"lifedb-form-card m-4",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold text-amber-300 mb-2",children:"Create New Entity"}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3 mb-3",children:[(0,a.jsx)("input",{type:"text",placeholder:"Entity Name (e.g. MacBook Pro M3)",value:M,onChange:e=>U(e.target.value),className:"lifedb-input"}),(0,a.jsx)("input",{type:"text",placeholder:"Type (e.g. hardware, contact, item)",value:F,onChange:e=>J(e.target.value),className:"lifedb-input"}),(0,a.jsx)("input",{type:"text",placeholder:"Domain (e.g. workstation, gaming, home)",value:q,onChange:e=>V(e.target.value),className:"lifedb-input"})]}),(0,a.jsx)("div",{className:"mb-3",children:(0,a.jsx)("textarea",{placeholder:'Properties JSON (e.g. {"model": "16-inch", "ram": "36GB"})',value:G,onChange:e=>Q(e.target.value),className:"lifedb-input w-full font-mono text-xs",rows:2})}),(0,a.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,a.jsx)("button",{className:"tiny-button",onClick:()=>T(!1),children:"Cancel"}),(0,a.jsx)("button",{className:"tiny-button approve-button",disabled:!M.trim()||c,onClick:async()=>{let e={};try{e=JSON.parse(G||"{}")}catch{}await o({name:M.trim(),entityType:F.trim()||"item",domain:q.trim()||"general",properties:e}),U(""),T(!1)},children:"Save Entity"})]})]}),e.length?(0,a.jsx)("div",{className:"data-table-wrap",children:(0,a.jsxs)("table",{className:"data-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Name"}),(0,a.jsx)("th",{children:"Type"}),(0,a.jsx)("th",{children:"Domain"}),(0,a.jsx)("th",{children:"Properties"}),(0,a.jsx)("th",{children:"Updated"}),(0,a.jsx)("th",{children:"Actions"})]})}),(0,a.jsx)("tbody",{children:e.map(e=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{className:"font-medium text-gray-200",children:e.name}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:"tag font-mono",children:e.entityType})}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:"tag",children:e.domain})}),(0,a.jsx)("td",{children:(0,a.jsx)("pre",{className:"text-[10px] text-gray-400 font-mono max-w-xs overflow-hidden text-ellipsis whitespace-nowrap",children:JSON.stringify(e.properties||{})})}),(0,a.jsx)("td",{children:d(e.updatedAt)}),(0,a.jsx)("td",{children:(0,a.jsx)("button",{className:"tiny-button danger-button",onClick:()=>void h(e.id),children:"Delete"})})]},e.id))})]})}):(0,a.jsx)(i,{title:"No entities recorded",detail:"Hardware, game characters, contacts, and items stored in Life DB will appear here."})]}),"events"===N&&(0,a.jsxs)("section",{className:"console-panel table-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Time-Series Events & Telemetry"}),(0,a.jsx)("span",{children:"Biometrics, finances, workout telemetry, and logs"})]}),(0,a.jsx)("button",{className:"tiny-button flex items-center gap-1",onClick:()=>D(!O),children:O?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.US,{size:12,className:"shrink-0"}),(0,a.jsx)("span",{children:"Close"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.c1,{size:12,className:"shrink-0"}),(0,a.jsx)("span",{children:"Log Event"})]})})]}),O&&(0,a.jsxs)("div",{className:"lifedb-form-card m-4",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold text-amber-300 mb-2",children:"Log New Event"}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3 mb-3",children:[(0,a.jsx)("input",{type:"text",placeholder:"Stream (e.g. finance:expense, health:heartrate)",value:H,onChange:e=>Y(e.target.value),className:"lifedb-input"}),(0,a.jsx)("input",{type:"number",step:"any",placeholder:"Metric Value (optional, e.g. 25.5)",value:Z,onChange:e=>K(e.target.value),className:"lifedb-input"})]}),(0,a.jsx)("div",{className:"mb-3",children:(0,a.jsx)("textarea",{placeholder:'Metadata JSON (optional, e.g. {"category": "coffee", "currency": "USD"})',value:W,onChange:e=>X(e.target.value),className:"lifedb-input w-full font-mono text-xs",rows:2})}),(0,a.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,a.jsx)("button",{className:"tiny-button",onClick:()=>D(!1),children:"Cancel"}),(0,a.jsx)("button",{className:"tiny-button approve-button",disabled:!H.trim()||c,onClick:async()=>{let e={};try{e=JSON.parse(W||"{}")}catch{}await u({stream:H.trim(),metricValue:""!==Z?Number(Z):void 0,metadata:e}),K(""),D(!1)},children:"Log Event"})]})]}),s.length?(0,a.jsx)("div",{className:"data-table-wrap",children:(0,a.jsxs)("table",{className:"data-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Stream"}),(0,a.jsx)("th",{children:"Metric Value"}),(0,a.jsx)("th",{children:"Timestamp"}),(0,a.jsx)("th",{children:"Metadata"})]})}),(0,a.jsx)("tbody",{children:s.map(e=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{className:"font-mono text-amber-400 text-xs",children:e.stream}),(0,a.jsx)("td",{className:"font-mono text-xs",children:void 0!==e.metricValue&&null!==e.metricValue?(0,a.jsx)("strong",{children:e.metricValue}):"—"}),(0,a.jsx)("td",{children:d(e.timestamp)}),(0,a.jsx)("td",{children:(0,a.jsx)("pre",{className:"text-[10px] text-gray-400 font-mono max-w-xs overflow-hidden text-ellipsis whitespace-nowrap",children:JSON.stringify(e.metadata||{})})})]},e.id))})]})}):(0,a.jsx)(i,{title:"No events logged",detail:"Telemetry and time-series events will be displayed here."})]}),"schedule"===N&&(0,a.jsxs)("section",{className:"console-panel table-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Calendar Commitments & Routines"}),(0,a.jsx)("span",{children:"Upcoming time intervals and schedule items"})]}),(0,a.jsx)("button",{className:"tiny-button flex items-center gap-1",onClick:()=>R(!E),children:E?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.US,{size:12,className:"shrink-0"}),(0,a.jsx)("span",{children:"Close"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.c1,{size:12,className:"shrink-0"}),(0,a.jsx)("span",{children:"New Schedule Item"})]})})]}),E&&(0,a.jsxs)("div",{className:"lifedb-form-card m-4",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold text-amber-300 mb-2",children:"Create Schedule Item"}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3 mb-3",children:[(0,a.jsx)("input",{type:"text",placeholder:"Title (e.g. Flight to Tokyo)",value:ee,onChange:e=>es(e.target.value),className:"lifedb-input"}),(0,a.jsx)("input",{type:"text",placeholder:"Start Time (e.g. 2026-09-20T14:00:00Z)",value:et,onChange:e=>ea(e.target.value),className:"lifedb-input"}),(0,a.jsx)("input",{type:"text",placeholder:"End Time (optional)",value:el,onChange:e=>en(e.target.value),className:"lifedb-input"})]}),(0,a.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,a.jsx)("button",{className:"tiny-button",onClick:()=>R(!1),children:"Cancel"}),(0,a.jsx)("button",{className:"tiny-button approve-button",disabled:!ee.trim()||!et.trim()||c,onClick:async()=>{await p({title:ee.trim(),startTime:et.trim(),endTime:el.trim()||void 0,status:"active"}),es(""),ea(""),en(""),R(!1)},children:"Save Schedule"})]})]}),r.length?(0,a.jsx)("div",{className:"data-table-wrap",children:(0,a.jsxs)("table",{className:"data-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Title"}),(0,a.jsx)("th",{children:"Start Time"}),(0,a.jsx)("th",{children:"End Time"}),(0,a.jsx)("th",{children:"Status"}),(0,a.jsx)("th",{children:"Actions"})]})}),(0,a.jsx)("tbody",{children:r.map(e=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{className:"font-medium text-gray-200",children:e.title}),(0,a.jsx)("td",{children:d(e.startTime)}),(0,a.jsx)("td",{children:d(e.endTime)}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:"tag font-mono",children:e.status||"active"})}),(0,a.jsx)("td",{children:(0,a.jsx)("button",{className:"tiny-button danger-button",onClick:()=>void v(e.id),children:"Delete"})})]},e.id))})]})}):(0,a.jsx)(i,{title:"No upcoming schedule items",detail:"Calendar commitments and schedule intervals will appear here."})]})]})}function N({logs:e,filterLevel:s,filterSubsystem:t,searchQuery:r,autoRefresh:c,expandedIds:o,onToggleExpand:d,onChangeLevel:h,onChangeSubsystem:m,onChangeSearch:x,onToggleAutoRefresh:j,onRefresh:u,onClear:p,onExport:v}){let b=(0,l.useMemo)(()=>e.filter(e=>"error"===e.level).length,[e]),g=(0,l.useMemo)(()=>e.filter(e=>"warn"===e.level).length,[e]);return(0,a.jsxs)("div",{className:"console-view",children:[(0,a.jsxs)("div",{className:"view-intro",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"console-eyebrow",children:"DIAGNOSTICS & AUDIT"}),(0,a.jsx)("h2",{children:"System Logs & Diagnostics"}),(0,a.jsx)("p",{children:"Real-time audit trail of perception cycles, LLM calls, Truth Gate decisions, and tool executions."})]}),(0,a.jsxs)("div",{className:"flex gap-2 items-center flex-wrap",children:[(0,a.jsxs)("button",{className:"tiny-button flex items-center gap-1",onClick:v,title:"Download current logs as JSON",children:[(0,a.jsx)(n.s3,{size:12,className:"shrink-0"}),(0,a.jsx)("span",{children:"Export JSON"})]}),(0,a.jsxs)("button",{className:"tiny-button danger-button flex items-center gap-1",onClick:p,title:"Purge stored logs",children:[(0,a.jsx)(n.uc,{size:12,className:"shrink-0"}),(0,a.jsx)("span",{children:"Clear Logs"})]})]})]}),(0,a.jsxs)("section",{className:"console-panel",children:[(0,a.jsxs)("div",{className:"logs-toolbar",children:[(0,a.jsxs)("div",{className:"logs-toolbar-left",children:[(0,a.jsx)("input",{type:"text",placeholder:"Search logs, metadata...",value:r,onChange:e=>x(e.target.value),className:"logs-search-input"}),(0,a.jsxs)("select",{value:t,onChange:e=>m(e.target.value),className:"logs-select",children:[(0,a.jsx)("option",{value:"all",children:"All Subsystems"}),(0,a.jsx)("option",{value:"perception",children:"Perception"}),(0,a.jsx)("option",{value:"brain",children:"Brain / LLM"}),(0,a.jsx)("option",{value:"truth_gate",children:"Truth Gate"}),(0,a.jsx)("option",{value:"memory",children:"Memory"}),(0,a.jsx)("option",{value:"hands",children:"Hands / Tools"}),(0,a.jsx)("option",{value:"server",children:"Server"})]})]}),(0,a.jsxs)("div",{className:"logs-toolbar-right",children:[(0,a.jsx)("div",{className:"logs-level-pills",children:["all","error","warn","info","debug"].map(e=>(0,a.jsxs)("button",{type:"button",className:`log-pill ${s===e?"active":""} ${"error"===e&&b>0?"has-errors":""}`,onClick:()=>h(e),children:[e.toUpperCase(),"error"===e&&b>0&&(0,a.jsx)("span",{className:"pill-badge",children:b}),"warn"===e&&g>0&&(0,a.jsx)("span",{className:"pill-badge",children:g})]},e))}),(0,a.jsxs)("label",{className:"logs-live-toggle",children:[(0,a.jsx)("input",{type:"checkbox",checked:c,onChange:j}),(0,a.jsx)("span",{className:`live-indicator ${c?"active":""}`}),"Live (3s)"]}),(0,a.jsx)("button",{type:"button",className:"tiny-button inline-flex items-center justify-center",onClick:u,title:"Fetch latest logs",children:(0,a.jsx)(n.fN,{size:12})})]})]}),e.length>0?(0,a.jsx)("div",{className:"logs-container",children:e.map(e=>{let s=o.has(e.id),t=!!(e.metadata&&Object.keys(e.metadata).length>0),l=new Date(e.createdAt).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit",fractionalSecondDigits:3});return(0,a.jsxs)("div",{className:`log-entry log-entry-${e.level} ${s?"expanded":""}`,children:[(0,a.jsxs)("div",{className:"log-header",onClick:()=>t&&d(e.id),style:{cursor:t?"pointer":"default"},children:[(0,a.jsx)("span",{className:"log-time",title:e.createdAt,children:l}),(0,a.jsx)("span",{className:`log-badge log-badge-${e.level}`,children:e.level.toUpperCase()}),(0,a.jsxs)("span",{className:"log-subsystem",children:["[",e.subsystem,"]"]}),(0,a.jsx)("span",{className:"log-message",children:e.message}),t&&(0,a.jsx)("span",{className:"log-expand-icon flex items-center justify-center",title:"Toggle JSON metadata",children:s?(0,a.jsx)(n.Mt,{size:12}):(0,a.jsx)(n.D3,{size:12})})]}),s&&t&&(0,a.jsxs)("div",{className:"log-metadata-card",children:[!!e.metadata?.stack&&(0,a.jsxs)("div",{className:"log-stack-trace",children:[(0,a.jsx)("strong",{children:"Stack trace:"}),(0,a.jsx)("pre",{children:String(e.metadata?.stack)})]}),(0,a.jsxs)("div",{className:"log-json-block",children:[(0,a.jsx)("strong",{children:"Payload / Metadata:"}),(0,a.jsx)("pre",{children:JSON.stringify(e.metadata,null,2)})]})]})]},e.id)})}):(0,a.jsx)(i,{title:"No system logs found",detail:r||"all"!==s||"all"!==t?"No logs match the current filters. Try resetting the search or level filter.":"No logs have been recorded yet. New perception cycles, Truth Gate decisions, and model queries will appear here."})]})]})}function y({onResetMemory:e,disabled:s}){return(0,a.jsxs)("div",{className:"console-view",children:[(0,a.jsx)("div",{className:"view-intro",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"console-eyebrow",children:"RUNTIME IDENTITY"}),(0,a.jsx)("h2",{children:"Companion Identity & Directives"}),(0,a.jsx)("p",{children:"Identity and behavioral preferences are governed dynamically through conversational teaching and reviewed in the Memory tab."})]})}),(0,a.jsxs)("section",{className:"console-panel profile-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsx)("strong",{children:"Identity Directives"}),(0,a.jsx)("span",{children:"Governed Memory Model"})]}),(0,a.jsx)(i,{title:"Dynamic identity active",detail:"Siduri establishes preferences and boundaries dynamically through conversation. Use the Private Chat to teach preferences, and the Memory tab to approve or revoke directives."})]}),(0,a.jsxs)("section",{className:"console-panel profile-panel mt-6",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsx)("strong",{children:"Danger Zone"}),(0,a.jsx)("span",{children:"Irreversible actions"})]}),(0,a.jsxs)("div",{className:"p-6 bg-red-900/20 border border-red-500/20 rounded-lg",children:[(0,a.jsx)("h3",{className:"text-red-400 font-medium mb-2",children:"Reset All Memory"}),(0,a.jsx)("p",{className:"text-sm text-gray-400 mb-4",children:"This will permanently delete all memory items, proposals, revisions, and claims from the database. The companion will forget all approved claims, directives, and proposals."}),(0,a.jsx)("button",{className:"bg-red-500/10 text-red-400 border border-red-500/50 hover:bg-red-500/20 px-4 py-2 rounded-md font-medium transition-colors",onClick:()=>void e(),disabled:s,children:"Reset Memory"})]})]})]})}},5612:(e,s,t)=>{Promise.resolve().then(t.bind(t,3449))}},e=>{e.O(0,[426,461,136,358],()=>e(e.s=5612)),_N_E=e.O()}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[939],{3449:(e,s,t)=>{"use strict";t.d(s,{default:()=>h});var a=t(2184),l=t(276),n=t(2914);function i({title:e,detail:s}){return(0,a.jsxs)("div",{className:"empty-state",children:[(0,a.jsx)("span",{className:"flex items-center justify-center","aria-hidden":"true",children:(0,a.jsx)(n.kN,{size:24})}),(0,a.jsx)("strong",{children:e}),(0,a.jsx)("p",{children:s})]})}var r=t(8839),c=t(3265);function o(e){return e?e.length>19?`${e.slice(0,9)}…${e.slice(-7)}`:e:"—"}function d(e){if(!e)return"—";let s=new Date(e);return Number.isNaN(s.valueOf())?e:new Intl.DateTimeFormat(void 0,{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"}).format(s)}function h(){let[e,s]=(0,l.useState)("overview"),[t,i]=(0,l.useState)({label:"Orchestrator",value:"Checking",tone:"warn"}),[c,o]=(0,l.useState)({label:"Voice",value:"Checking",tone:"warn"}),[d,h]=(0,l.useState)({label:"OBS capture",value:"Checking",tone:"warn"}),[m,x]=(0,l.useState)(""),[j,p]=(0,l.useState)([]),[f,w]=(0,l.useState)([]),[k,S]=(0,l.useState)([]),[C,T]=(0,l.useState)([]),[O,D]=(0,l.useState)([]),[E,R]=(0,l.useState)([]),[$,A]=(0,l.useState)([]),[L,I]=(0,l.useState)([]),[P,_]=(0,l.useState)([]),[z,B]=(0,l.useState)([]),[M,U]=(0,l.useState)([]),[F,J]=(0,l.useState)("all"),[q,V]=(0,l.useState)("all"),[G,Q]=(0,l.useState)(""),[H,Y]=(0,l.useState)(!0),[Z,K]=(0,l.useState)(new Set),[W,X]=(0,l.useState)("{}"),[ee,es]=(0,l.useState)(""),[et,ea]=(0,l.useState)(null),[el,en]=(0,l.useState)(null),[ei,er]=(0,l.useState)(!1);async function ec(){try{let e=new URLSearchParams;"all"!==F&&e.set("level",F),"all"!==q&&e.set("subsystem",q),G.trim()&&e.set("q",G.trim()),e.set("limit","150");let s=await (0,r.Tt)(`/system/logs?${e.toString()}`);U(s.logs||[])}catch(e){console.error("Failed to load system logs:",e)}}async function eo(){if(window.confirm("Are you sure you want to clear all system logs?"))try{await (0,r.B2)("/system/logs/clear",{}),U([]),es("Logs cleared.")}catch(e){es(`Failed to clear logs: ${e.message}`)}}async function ed(){try{let[e,s,t]=await Promise.all([(0,r.Tt)("/health"),(0,r.Tt)("/version"),(0,r.Tt)("/ready")]);i({label:"Orchestrator",value:"ok"===e.status?"Online":e.status,detail:`v${s.version}`,tone:"ok"===e.status?"good":"warn"}),x(s.version),t.dependencies?.model_provider?.ready===!1&&i(e=>({...e,detail:"Model provider degraded",tone:"warn"}))}catch{i({label:"Orchestrator",value:"Offline",detail:"Start the Python API",tone:"bad"})}try{let e=await (0,r.Tt)("/voice/health");o({label:"Voice",value:e.healthy?"Ready":"Fallback",detail:e.provider,tone:e.healthy?"good":"warn"})}catch{o({label:"Voice",value:"Unavailable",detail:"Subtitle fallback",tone:"warn"})}try{let e=await (0,r.Tt)("/obs/health");h({label:"OBS capture",value:e.connected?"Connected":e.configured?"Disconnected":"Disabled",detail:e.source_name?`Source: ${e.source_name}`:"No source configured",tone:e.connected?"good":"warn"})}catch{h({label:"OBS capture",value:"Unavailable",tone:"bad"})}}async function eh(){try{let[e,s,t,a]=await Promise.all([(0,r.Tt)("/memory/proposals"),(0,r.Tt)("/memory"),(0,r.Tt)("/memory/claims"),(0,r.Tt)("/memory/behavioral")]);p((e.proposals??[]).filter(e=>"pending"===(e.status||"").toLowerCase().replace(/_/g,"-"))),S(s.items??[]),w(t.claims??[]),T(a.directives??[])}catch{p([]),S([]),w([]),T([])}}async function em(){try{let[e,s]=await Promise.all([(0,r.Tt)("/evidence"),(0,r.Tt)("/observations")]);D(e.results??[]),R(s.observations??[])}catch{D([]),R([])}}async function ex(){try{X(JSON.stringify(await (0,r.Tt)("/me"),null,2))}catch{X("Unable to load profile.")}}async function ej(){try{let[e,s,t,a]=await Promise.all([(0,r.Tt)("/knowledge/entities").catch(()=>({entities:[]})),(0,r.Tt)("/knowledge/events").catch(()=>({events:[]})),(0,r.Tt)("/knowledge/tasks").catch(()=>({tasks:[]})),(0,r.Tt)("/knowledge/schedule").catch(()=>({items:[]}))]);A(e?.entities||[]),I(s?.events||[]),_(t?.tasks||[]),B(a?.items||[])}catch{}}async function eu(e){er(!0);try{await (0,r.B2)("/knowledge/entities",e),es(`Saved entity "${e.name}"`),await ej()}catch(e){es(`Error saving entity: ${e.message}`)}finally{er(!1)}}async function ep(e){er(!0);try{await (0,r.B2)("/knowledge/entities/delete",{id:e}),es("Entity deleted"),await ej()}catch(e){es(`Error deleting entity: ${e.message}`)}finally{er(!1)}}async function ev(e){er(!0);try{await (0,r.B2)("/knowledge/tasks",e),es(`Saved task "${e.title}"`),await ej()}catch(e){es(`Error saving task: ${e.message}`)}finally{er(!1)}}async function eb(e){let s="completed"===e.status?"todo":"completed";await ev({...e,status:s})}async function eg(e){er(!0);try{await (0,r.B2)("/knowledge/tasks/delete",{id:e}),es("Task deleted"),await ej()}catch(e){es(`Error deleting task: ${e.message}`)}finally{er(!1)}}async function eN(e){er(!0);try{await (0,r.B2)("/knowledge/events",e),es(`Logged event on stream "${e.stream}"`),await ej()}catch(e){es(`Error logging event: ${e.message}`)}finally{er(!1)}}async function ey(e){er(!0);try{await (0,r.B2)("/knowledge/schedule",e),es(`Saved schedule item "${e.title}"`),await ej()}catch(e){es(`Error saving schedule: ${e.message}`)}finally{er(!1)}}async function ef(e){er(!0);try{await (0,r.B2)("/knowledge/schedule/delete",{id:e}),es("Schedule item deleted"),await ej()}catch(e){es(`Error deleting schedule item: ${e.message}`)}finally{er(!1)}}async function ew(){er(!0);try{ea(await (0,r.B2)("/dev/mock-response"))}finally{er(!1)}}async function ek(){er(!0);try{let e=await (0,r.B2)("/dev/observe-and-respond");ea(e);let s="string"==typeof e?.metadata?.correlation_id?e.metadata.correlation_id:null;en(s)}finally{er(!1)}}async function eS(){if(el){er(!0);try{ea(await (0,r.B2)("/dev/approve-response",{correlation_id:el})),en(null)}finally{er(!1)}}}async function eC(e,s,t){await (0,r.vd)(e,{id:s.id||s.proposal_id,companionId:"default",...void 0===t?{}:{content:t}}),await eh()}async function eT(){await (0,r.vd)("/dev/mock-observation"),await em()}async function eO(){if(window.confirm("Are you sure you want to completely reset all memory? This action cannot be undone.")){er(!0);try{await (0,r.B2)("/dev/memory/reset"),await eh(),es("Memory has been completely reset.")}catch(e){es(String(e))}finally{er(!1)}}}return(0,l.useEffect)(()=>{ed(),eh(),ej(),em(),ex()},[]),(0,a.jsxs)("main",{className:"console-app",children:[(0,a.jsxs)("aside",{className:"console-sidebar",children:[(0,a.jsxs)("div",{className:"console-sidebar-header flex items-center justify-between w-full",children:[(0,a.jsxs)("a",{className:"console-brand",href:"/chat",children:[(0,a.jsx)("span",{className:"console-brand-mark",children:"S"}),(0,a.jsx)("span",{children:"SIDURI"})]}),(0,a.jsxs)("a",{href:"/chat",className:"console-mobile-back inline-flex items-center gap-1","aria-label":"Back to chat",children:[(0,a.jsx)(n.A6,{size:12}),"Chat"]})]}),(0,a.jsxs)("div",{className:"console-context",children:[(0,a.jsx)("span",{className:"console-context-dot"}),"Operator workspace"]}),(0,a.jsx)("nav",{className:"console-nav","aria-label":"Console sections",children:["overview","memory","lifedb","evidence","logs","settings"].map(t=>(0,a.jsxs)("button",{className:e===t?"active":"",onClick:()=>s(t),children:[(0,a.jsx)("span",{className:`nav-glyph nav-${t}`}),"lifedb"===t?"Life DB":t[0].toUpperCase()+t.slice(1)]},t))}),(0,a.jsxs)("div",{className:"console-sidebar-bottom",children:[(0,a.jsxs)("a",{href:"/chat",className:"inline-flex items-center gap-1",children:[(0,a.jsx)(n.A6,{size:12}),"Private chat"]}),(0,a.jsx)("span",{children:"Local operator surface"})]})]}),(0,a.jsxs)("section",{className:"console-main",children:[(0,a.jsxs)("header",{className:"console-topbar",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"console-eyebrow",children:"SIDURI / OPERATOR"}),(0,a.jsx)("h1",{children:"overview"===e?"Control room":"lifedb"===e?"Life Database (Sovereign Reality)":"logs"===e?"System Logs & Diagnostics":e[0].toUpperCase()+e.slice(1)})]}),(0,a.jsxs)("div",{className:"console-top-actions",children:[(0,a.jsxs)("a",{href:"/chat",className:"console-back-link inline-flex items-center gap-1",title:"Return to Private Chat",children:[(0,a.jsx)(n.A6,{size:12}),"Chat"]}),(0,a.jsxs)("span",{className:"console-version",children:["v",m||"—"]}),(0,a.jsx)("button",{type:"button",className:"console-refresh",onClick:()=>{ed(),eh(),ej(),em(),"logs"===e&&ec()},"aria-label":"Refresh dashboard",children:(0,a.jsx)(n.fN,{size:14})})]})]}),ee&&(0,a.jsx)("div",{className:"console-notice",children:ee}),"overview"===e&&(0,a.jsx)(b,{health:t,voice:c,obs:d,proposals:j,responseJson:et,pendingCorrelationId:el,busy:ei,onTrigger:ew,onObserve:ek,onApprove:eS,onNavigate:s}),"memory"===e&&(0,a.jsx)(u,{proposals:j,claims:f,items:k,directives:C,onAction:eC,onRefresh:eh}),"lifedb"===e&&(0,a.jsx)(g,{entities:$,events:L,tasks:P,schedule:z,busy:ei,onSaveEntity:eu,onDeleteEntity:ep,onSaveTask:ev,onToggleTask:eb,onDeleteTask:eg,onAddEvent:eN,onSaveSchedule:ey,onDeleteSchedule:ef,onRefresh:ej}),"evidence"===e&&(0,a.jsx)(v,{results:O,observations:E,onCreate:eT,onRefresh:em}),"logs"===e&&(0,a.jsx)(N,{logs:M,filterLevel:F,filterSubsystem:q,searchQuery:G,autoRefresh:H,expandedIds:Z,onToggleExpand:function(e){K(s=>{let t=new Set(s);return t.has(e)?t.delete(e):t.add(e),t})},onChangeLevel:J,onChangeSubsystem:V,onChangeSearch:Q,onToggleAutoRefresh:()=>Y(e=>!e),onRefresh:ec,onClear:eo,onExport:function(){try{let e=new Blob([JSON.stringify(M,null,2)],{type:"application/json"}),s=URL.createObjectURL(e),t=document.createElement("a");t.href=s,t.download=`siduri-logs-${new Date().toISOString().replace(/[:.]/g,"-")}.json`,t.click(),URL.revokeObjectURL(s)}catch(e){es(`Export failed: ${e.message}`)}}}),"settings"===e&&(0,a.jsx)(y,{onResetMemory:eO,disabled:ei})]})]})}function m({status:e}){return(0,a.jsxs)("article",{className:"status-card",children:[(0,a.jsxs)("div",{className:"status-card-top",children:[(0,a.jsx)("span",{children:e.label}),(0,a.jsx)("i",{className:`status-dot ${e.tone??"warn"}`})]}),(0,a.jsx)("strong",{children:e.value}),(0,a.jsx)("small",{children:e.detail??"—"})]})}function x({title:e,action:s,onClick:t}){return(0,a.jsxs)("div",{className:"panel-header",children:[(0,a.jsx)("h2",{children:e}),s&&(0,a.jsxs)("button",{onClick:t,className:"inline-flex items-center gap-1",children:[s," ",(0,a.jsx)(n.fl,{size:12})]})]})}function j({label:e,count:s,tone:t}){return(0,a.jsxs)("div",{className:"queue-row",children:[(0,a.jsx)("span",{children:e}),(0,a.jsx)("b",{className:`queue-count ${t}`,children:s})]})}function u({proposals:e,claims:s,items:t,directives:l,onAction:n,onRefresh:h}){async function m(e,s){await (0,r.B2)(e,{id:s,companionId:"default"}),await h()}return(0,a.jsxs)("div",{className:"console-view",children:[(0,a.jsxs)("div",{className:"view-intro",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"console-eyebrow",children:"COMPANION MEMORY"}),(0,a.jsx)("h2",{children:"Review candidates before they become facts."}),(0,a.jsx)("p",{children:"Every candidate stays isolated until you explicitly approve it."})]}),(0,a.jsxs)("span",{className:"count-badge",children:[e.length," pending"]})]}),(0,a.jsxs)("section",{className:"console-panel table-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsx)("strong",{children:"Pending memory"}),(0,a.jsx)("span",{children:"Local approval queue"})]}),e.length?(0,a.jsx)("div",{className:"data-table-wrap",children:(0,a.jsxs)("table",{className:"data-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Candidate"}),(0,a.jsx)("th",{children:"Provenance"}),(0,a.jsx)("th",{children:"Sensitivity"}),(0,a.jsx)("th",{children:"Action"})]})}),(0,a.jsx)("tbody",{children:e.map(e=>(0,a.jsx)(p,{item:e,onAction:n},e.id||e.proposal_id))})]})}):(0,a.jsx)(i,{title:"No pending candidates",detail:"Siduri memory suggestions will appear here for review."})]}),(0,a.jsxs)("section",{className:"console-panel table-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsx)("strong",{children:"Behavioral Directives"}),(0,a.jsx)("span",{children:"Active behaviors and learned relationships"})]}),l.length?(0,a.jsx)("div",{className:"data-table-wrap",children:(0,a.jsxs)("table",{className:"data-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Directive"}),(0,a.jsx)("th",{children:"Scope & Activation"}),(0,a.jsx)("th",{children:"Class"}),(0,a.jsx)("th",{children:"Status"}),(0,a.jsx)("th",{children:"Actions"})]})}),(0,a.jsx)("tbody",{children:l.map(e=>{let s=e.id||e.directive_id||"";return(0,a.jsxs)("tr",{children:[(0,a.jsxs)("td",{children:[(0,a.jsx)("strong",{children:(0,c.P)(e)}),(0,a.jsxs)("details",{className:"row-details",children:[(0,a.jsx)("summary",{children:o(s)}),(0,a.jsx)("pre",{children:JSON.stringify(e,null,2)})]})]}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:"tag",children:e.activation||"active"})}),(0,a.jsx)("td",{children:(0,a.jsxs)("span",{className:"tag",children:[e.domain||e.category||"general"," / ",e.memory_class||e.category||"directive"]})}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:`tag status-${(e.status||"").toLowerCase().replace(/_/g,"-")}`,children:e.status})}),(0,a.jsx)("td",{children:(0,a.jsxs)("div",{className:"table-actions",children:["pending"===(e.status||"").toLowerCase()&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{className:"tiny-button approve-button",onClick:()=>void m("/memory/behavioral/approve",s),children:"Approve"}),(0,a.jsx)("button",{className:"tiny-button danger-button",onClick:()=>void m("/memory/behavioral/reject",s),children:"Reject"})]}),("active"===(e.status||"").toLowerCase()||"confirmed"===(e.status||"").toLowerCase())&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{className:"tiny-button danger-button",onClick:()=>void m("/memory/behavioral/revoke",s),children:"Revoke"}),"disabled"!==e.activation&&(0,a.jsx)("button",{className:"tiny-button",onClick:()=>void m("/memory/behavioral/disable",s),children:"Disable"})]})]})})]},s)})})]})}):(0,a.jsx)(i,{title:"No behavioral directives",detail:"Behavioral rules taught in private chat will appear here."})]}),(0,a.jsxs)("section",{className:"console-panel table-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsx)("strong",{children:"Structured Claims"}),(0,a.jsx)("span",{children:"Queryable personal and game knowledge"})]}),s.length?(0,a.jsx)("div",{className:"data-table-wrap",children:(0,a.jsxs)("table",{className:"data-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Subject"}),(0,a.jsx)("th",{children:"Predicate"}),(0,a.jsx)("th",{children:"Value"}),(0,a.jsx)("th",{children:"Status"})]})}),(0,a.jsx)("tbody",{children:s.slice().reverse().map(e=>{let s=e.id||e.claim_id||"";return(0,a.jsxs)("tr",{children:[(0,a.jsxs)("td",{children:[(0,a.jsx)("strong",{children:e.subject}),(0,a.jsxs)("details",{className:"row-details",children:[(0,a.jsx)("summary",{children:o(s)}),(0,a.jsx)("pre",{children:JSON.stringify(e,null,2)})]})]}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:"tag",children:e.predicate})}),(0,a.jsx)("td",{children:e.value}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:`tag status-${(e.status||"").toLowerCase().replace(/_/g,"-")}`,children:e.status})})]},s)})})]})}):(0,a.jsx)(i,{title:"No structured claims",detail:"Approved teachings will become queryable claims here."})]}),(0,a.jsxs)("section",{className:"console-panel table-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsx)("strong",{children:"Compatibility Memory Items"}),(0,a.jsx)("span",{children:"Legacy text projection"})]}),t.length?(0,a.jsx)("div",{className:"data-table-wrap",children:(0,a.jsxs)("table",{className:"data-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Fact"}),(0,a.jsx)("th",{children:"Provenance"}),(0,a.jsx)("th",{children:"Sensitivity"}),(0,a.jsx)("th",{children:"Created"})]})}),(0,a.jsx)("tbody",{children:t.slice().reverse().map(e=>{let s=e.id||e.memory_id||"",t=e.content||(e.subject&&e.predicate?`${e.subject} ${e.predicate} ${e.value}`:e.value||"—");return(0,a.jsxs)("tr",{children:[(0,a.jsxs)("td",{children:[(0,a.jsx)("strong",{children:t}),(0,a.jsxs)("details",{className:"row-details",children:[(0,a.jsx)("summary",{children:o(s)}),(0,a.jsx)("pre",{children:JSON.stringify(e,null,2)})]})]}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:"tag",children:e.provenance||"conversation"})}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:"tag",children:e.sensitivity||"normal"})}),(0,a.jsx)("td",{children:d(e.created_at||e.assertedAt)})]},s)})})]})}):(0,a.jsx)(i,{title:"No compatibility items",detail:"Legacy approved memory text will appear here."})]})]})}function p({item:e,onAction:s}){let t=e.id||e.proposal_id||"",[n,i]=(0,l.useState)(e.content||"");return(0,a.jsxs)("tr",{children:[(0,a.jsxs)("td",{children:[(0,a.jsx)("strong",{children:(0,c.I)(e)}),(0,a.jsxs)("details",{className:"row-details",children:[(0,a.jsxs)("summary",{children:["Edit raw record \xb7 ",o(t)]}),(0,a.jsx)("textarea",{className:"table-editor",value:n,onChange:e=>i(e.target.value),"aria-label":`Memory candidate ${t}`}),(0,a.jsx)("pre",{children:JSON.stringify(e,null,2)})]})]}),(0,a.jsx)("td",{children:e.provenance||"conversation"}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:"tag",children:e.sensitivity||"normal"})}),(0,a.jsx)("td",{children:(0,a.jsxs)("div",{className:"table-actions",children:[(0,a.jsx)("button",{className:"tiny-button",onClick:()=>void s("/memory/proposals/update",e,n),children:"Save"}),(0,a.jsx)("button",{className:"tiny-button approve-button",onClick:()=>void s("/memory/proposals/approve",e),children:"Approve"}),(0,a.jsx)("button",{className:"tiny-button danger-button",onClick:()=>void s("/memory/proposals/reject",e),children:"Reject"})]})})]})}function v({results:e,observations:s,onCreate:t,onRefresh:l}){return(0,a.jsxs)("div",{className:"console-view",children:[(0,a.jsxs)("div",{className:"view-intro",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"console-eyebrow",children:"GROUNDING"}),(0,a.jsx)("h2",{children:"Evidence, with uncertainty intact."}),(0,a.jsx)("p",{children:"Inspect bounded citations and short-lived observations without exposing raw captures."})]}),(0,a.jsxs)("div",{className:"button-row",children:[(0,a.jsx)("button",{onClick:()=>void t(),children:"Create fixture"}),(0,a.jsx)("button",{className:"soft-button",onClick:()=>void l(),children:"Refresh"})]})]}),(0,a.jsxs)("section",{className:"console-panel table-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsx)("strong",{children:"Knowledge Base Citations"}),(0,a.jsxs)("span",{children:[e.length," results"]})]}),e.length?(0,a.jsx)("div",{className:"data-table-wrap",children:(0,a.jsxs)("table",{className:"data-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Source"}),(0,a.jsx)("th",{children:"Revision"}),(0,a.jsx)("th",{children:"Preview"}),(0,a.jsx)("th",{children:"Link"})]})}),(0,a.jsx)("tbody",{children:e.map(e=>(0,a.jsxs)("tr",{children:[(0,a.jsxs)("td",{children:[(0,a.jsx)("strong",{children:e.title}),(0,a.jsx)("small",{children:e.endpoint})]}),(0,a.jsx)("td",{children:e.revision||"—"}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:"tag",children:e.preview?"Preview":"Published"})}),(0,a.jsx)("td",{children:(0,a.jsxs)("a",{className:"table-link inline-flex items-center gap-1",href:e.url,target:"_blank",rel:"noreferrer",children:["Open ",(0,a.jsx)(n.pT,{size:12})]})})]},e.url))})]})}):(0,a.jsx)(i,{title:"No evidence loaded",detail:"Create a fixture observation or refresh the source."})]}),(0,a.jsxs)("section",{className:"console-panel table-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsx)("strong",{children:"Current observations"}),(0,a.jsx)("span",{children:"Raw frames are never shown here"})]}),s.length?(0,a.jsx)("div",{className:"data-table-wrap",children:(0,a.jsxs)("table",{className:"data-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Observation"}),(0,a.jsx)("th",{children:"Captured"}),(0,a.jsx)("th",{children:"Expires"}),(0,a.jsx)("th",{children:"Readings"})]})}),(0,a.jsx)("tbody",{children:s.map((e,s)=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:o(e.observation_id??"observation")}),(0,a.jsx)("td",{children:d(e.observed_at)}),(0,a.jsx)("td",{children:d(e.expires_at)}),(0,a.jsx)("td",{children:Array.isArray(e.readings)?e.readings.length:0})]},e.observation_id??s))})]})}):(0,a.jsx)(i,{title:"No active observations",detail:"Observations are bounded and expire automatically."})]})]})}function b({health:e,voice:s,obs:t,proposals:l,responseJson:i,pendingCorrelationId:r,busy:c,onTrigger:o,onObserve:d,onApprove:h,onNavigate:u}){return(0,a.jsxs)("div",{className:"console-view",children:[(0,a.jsxs)("div",{className:"status-grid",children:[(0,a.jsx)(m,{status:e}),(0,a.jsx)(m,{status:s}),(0,a.jsx)(m,{status:t})]}),(0,a.jsxs)("div",{className:"console-columns",children:[(0,a.jsxs)("section",{className:"console-panel approval-panel",children:[(0,a.jsx)(x,{title:"Response gate",action:"Review policy",onClick:()=>u("settings")}),(0,a.jsxs)("div",{className:"gate-row",children:[(0,a.jsx)("span",{className:`gate-icon flex items-center justify-center ${r?"pending":"ready"}`,children:r?"!":(0,a.jsx)(n.Sr,{size:14,className:"shrink-0"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:r?"Grounded response awaiting approval":"No response awaiting approval"}),(0,a.jsx)("p",{children:r?"Public output is held until you approve it.":"Local mock responses remain private."})]})]}),(0,a.jsxs)("div",{className:"button-row",children:[(0,a.jsx)("button",{onClick:()=>void o(),disabled:c,children:"Trigger mock response"}),(0,a.jsx)("button",{className:"soft-button",onClick:()=>void d(),disabled:c,children:"Observe and respond"}),r&&(0,a.jsx)("button",{className:"approve-button",onClick:()=>void h(),children:"Approve response"})]}),null!==i&&(0,a.jsxs)("details",{className:"technical-details",children:[(0,a.jsx)("summary",{children:"Technical details"}),(0,a.jsx)("pre",{children:JSON.stringify(i,null,2)})]})]}),(0,a.jsxs)("section",{className:"console-panel queue-panel",children:[(0,a.jsx)(x,{title:"Needs attention",action:"View memory",onClick:()=>u("memory")}),(0,a.jsx)(j,{label:"Memory proposals",count:l.length,tone:l.length?"warn":"quiet"})]})]}),(0,a.jsxs)("section",{className:"console-panel quick-panel",children:[(0,a.jsx)(x,{title:"Quick actions"}),(0,a.jsxs)("div",{className:"quick-actions",children:[(0,a.jsxs)("button",{onClick:()=>u("memory"),className:"inline-flex items-center justify-between",children:["Review memory ",(0,a.jsx)("span",{children:(0,a.jsx)(n.fl,{size:12})})]}),(0,a.jsxs)("button",{onClick:()=>u("lifedb"),className:"inline-flex items-center justify-between",children:["Inspect Life DB ",(0,a.jsx)("span",{children:(0,a.jsx)(n.fl,{size:12})})]}),(0,a.jsxs)("button",{onClick:()=>u("evidence"),className:"inline-flex items-center justify-between",children:["Inspect evidence ",(0,a.jsx)("span",{children:(0,a.jsx)(n.fl,{size:12})})]}),(0,a.jsxs)("button",{onClick:()=>u("settings"),className:"inline-flex items-center justify-between",children:["Identity & Directives ",(0,a.jsx)("span",{children:(0,a.jsx)(n.fl,{size:12})})]})]})]})]})}function g({entities:e,events:s,tasks:t,schedule:r,busy:c,onSaveEntity:o,onDeleteEntity:h,onSaveTask:m,onToggleTask:x,onDeleteTask:j,onAddEvent:u,onSaveSchedule:p,onDeleteSchedule:v,onRefresh:b}){let[N,y]=(0,l.useState)("tasks"),[f,w]=(0,l.useState)("all"),[k,S]=(0,l.useState)(!1),[C,T]=(0,l.useState)(!1),[O,D]=(0,l.useState)(!1),[E,R]=(0,l.useState)(!1),[$,A]=(0,l.useState)(""),[L,I]=(0,l.useState)("1"),[P,_]=(0,l.useState)("todo"),[z,B]=(0,l.useState)(""),[M,U]=(0,l.useState)(""),[F,J]=(0,l.useState)("item"),[q,V]=(0,l.useState)("general"),[G,Q]=(0,l.useState)("{}"),[H,Y]=(0,l.useState)("finance:expense"),[Z,K]=(0,l.useState)(""),[W,X]=(0,l.useState)("{}"),[ee,es]=(0,l.useState)(""),[et,ea]=(0,l.useState)(""),[el,en]=(0,l.useState)(""),ei=t.filter(e=>"all"===f||("active"===f?"completed"!==e.status&&"cancelled"!==e.status:e.status===f));return(0,a.jsxs)("div",{className:"console-view",children:[(0,a.jsxs)("div",{className:"view-intro",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"console-eyebrow",children:"LIFE DATABASE"}),(0,a.jsx)("h2",{children:"Sovereign Reality & Structured Primitives"}),(0,a.jsx)("p",{children:"Inspect and mutate your concrete user reality: actionable tasks, static entities, telemetry events, and temporal schedules."})]}),(0,a.jsx)("div",{className:"button-row",children:(0,a.jsx)("button",{className:"soft-button",onClick:()=>void b(),disabled:c,children:"Refresh"})})]}),(0,a.jsxs)("div",{className:"lifedb-nav",children:[(0,a.jsxs)("button",{className:`lifedb-tab-btn flex items-center gap-1.5 ${"tasks"===N?"active":""}`,onClick:()=>y("tasks"),children:[(0,a.jsx)(n.Sr,{size:13,className:"shrink-0"}),(0,a.jsxs)("span",{children:["Tasks & Goals (",t.length,")"]})]}),(0,a.jsxs)("button",{className:`lifedb-tab-btn flex items-center gap-1.5 ${"entities"===N?"active":""}`,onClick:()=>y("entities"),children:[(0,a.jsx)(n.qD,{size:13,className:"shrink-0"}),(0,a.jsxs)("span",{children:["Entities & Items (",e.length,")"]})]}),(0,a.jsxs)("button",{className:`lifedb-tab-btn flex items-center gap-1.5 ${"events"===N?"active":""}`,onClick:()=>y("events"),children:[(0,a.jsx)(n.O4,{size:13,className:"shrink-0"}),(0,a.jsxs)("span",{children:["Telemetry & Events (",s.length,")"]})]}),(0,a.jsxs)("button",{className:`lifedb-tab-btn flex items-center gap-1.5 ${"schedule"===N?"active":""}`,onClick:()=>y("schedule"),children:[(0,a.jsx)(n.CT,{size:13,className:"shrink-0"}),(0,a.jsxs)("span",{children:["Schedule & Calendar (",r.length,")"]})]})]}),"tasks"===N&&(0,a.jsxs)("section",{className:"console-panel table-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("strong",{children:"Actionable Tasks"}),(0,a.jsx)("div",{className:"flex gap-1",children:["all","active","todo","in_progress","completed"].map(e=>(0,a.jsx)("button",{className:`px-2 py-0.5 rounded text-[10px] ${f===e?"bg-amber-500/20 text-amber-300 font-semibold":"text-gray-400 hover:text-gray-200"}`,onClick:()=>w(e),children:e.toUpperCase()},e))})]}),(0,a.jsx)("button",{className:"tiny-button flex items-center gap-1",onClick:()=>S(!k),children:k?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.US,{size:12,className:"shrink-0"}),(0,a.jsx)("span",{children:"Close"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.c1,{size:12,className:"shrink-0"}),(0,a.jsx)("span",{children:"New Task"})]})})]}),k&&(0,a.jsxs)("div",{className:"lifedb-form-card m-4",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold text-amber-300 mb-2",children:"Create New Task"}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-3 mb-3",children:[(0,a.jsx)("input",{type:"text",placeholder:"Task title (e.g. Order fresh coffee)",value:$,onChange:e=>A(e.target.value),className:"lifedb-input md:col-span-2"}),(0,a.jsxs)("select",{value:P,onChange:e=>_(e.target.value),className:"lifedb-input",children:[(0,a.jsx)("option",{value:"todo",children:"To-Do"}),(0,a.jsx)("option",{value:"in_progress",children:"In Progress"}),(0,a.jsx)("option",{value:"completed",children:"Completed"}),(0,a.jsx)("option",{value:"cancelled",children:"Cancelled"})]}),(0,a.jsx)("input",{type:"number",placeholder:"Priority (1-5)",value:L,onChange:e=>I(e.target.value),className:"lifedb-input"})]}),(0,a.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,a.jsx)("button",{className:"tiny-button",onClick:()=>S(!1),children:"Cancel"}),(0,a.jsx)("button",{className:"tiny-button approve-button",disabled:!$.trim()||c,onClick:async()=>{await m({title:$.trim(),status:P,priority:Number(L)||1,targetDate:z||void 0}),A(""),S(!1)},children:"Save Task"})]})]}),ei.length?(0,a.jsx)("div",{className:"data-table-wrap",children:(0,a.jsxs)("table",{className:"data-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{style:{width:"40px"},children:"Done"}),(0,a.jsx)("th",{children:"Title"}),(0,a.jsx)("th",{children:"Status"}),(0,a.jsx)("th",{children:"Priority"}),(0,a.jsx)("th",{children:"Target Date"}),(0,a.jsx)("th",{children:"Updated"}),(0,a.jsx)("th",{children:"Actions"})]})}),(0,a.jsx)("tbody",{children:ei.map(e=>{let s="completed"===e.status;return(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)("input",{type:"checkbox",checked:s,onChange:()=>void x(e),className:"cursor-pointer accent-amber-500"})}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:s?"line-through text-gray-500":"font-medium text-gray-200",children:e.title})}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:`lifedb-pill lifedb-pill-${e.status||"todo"}`,children:e.status||"todo"})}),(0,a.jsx)("td",{children:(0,a.jsxs)("span",{className:"tag font-mono",children:["P",e.priority??1]})}),(0,a.jsx)("td",{children:d(e.targetDate)}),(0,a.jsx)("td",{children:d(e.updatedAt)}),(0,a.jsx)("td",{children:(0,a.jsxs)("div",{className:"table-actions",children:[(0,a.jsx)("button",{className:"tiny-button",onClick:()=>void x(e),children:s?"Reopen":"Complete"}),(0,a.jsx)("button",{className:"tiny-button danger-button",onClick:()=>void j(e.id),children:"Delete"})]})})]},e.id)})})]})}):(0,a.jsx)(i,{title:"No tasks match filter",detail:"Tasks learned through conversation or created above will appear here."})]}),"entities"===N&&(0,a.jsxs)("section",{className:"console-panel table-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Static Entities & Inventory"}),(0,a.jsx)("span",{children:"Nouns, devices, gaming items, and contacts"})]}),(0,a.jsx)("button",{className:"tiny-button flex items-center gap-1",onClick:()=>T(!C),children:C?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.US,{size:12,className:"shrink-0"}),(0,a.jsx)("span",{children:"Close"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.c1,{size:12,className:"shrink-0"}),(0,a.jsx)("span",{children:"New Entity"})]})})]}),C&&(0,a.jsxs)("div",{className:"lifedb-form-card m-4",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold text-amber-300 mb-2",children:"Create New Entity"}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3 mb-3",children:[(0,a.jsx)("input",{type:"text",placeholder:"Entity Name (e.g. MacBook Pro M3)",value:M,onChange:e=>U(e.target.value),className:"lifedb-input"}),(0,a.jsx)("input",{type:"text",placeholder:"Type (e.g. hardware, contact, item)",value:F,onChange:e=>J(e.target.value),className:"lifedb-input"}),(0,a.jsx)("input",{type:"text",placeholder:"Domain (e.g. workstation, gaming, home)",value:q,onChange:e=>V(e.target.value),className:"lifedb-input"})]}),(0,a.jsx)("div",{className:"mb-3",children:(0,a.jsx)("textarea",{placeholder:'Properties JSON (e.g. {"model": "16-inch", "ram": "36GB"})',value:G,onChange:e=>Q(e.target.value),className:"lifedb-input w-full font-mono text-xs",rows:2})}),(0,a.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,a.jsx)("button",{className:"tiny-button",onClick:()=>T(!1),children:"Cancel"}),(0,a.jsx)("button",{className:"tiny-button approve-button",disabled:!M.trim()||c,onClick:async()=>{let e={};try{e=JSON.parse(G||"{}")}catch{}await o({name:M.trim(),entityType:F.trim()||"item",domain:q.trim()||"general",properties:e}),U(""),T(!1)},children:"Save Entity"})]})]}),e.length?(0,a.jsx)("div",{className:"data-table-wrap",children:(0,a.jsxs)("table",{className:"data-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Name"}),(0,a.jsx)("th",{children:"Type"}),(0,a.jsx)("th",{children:"Domain"}),(0,a.jsx)("th",{children:"Properties"}),(0,a.jsx)("th",{children:"Updated"}),(0,a.jsx)("th",{children:"Actions"})]})}),(0,a.jsx)("tbody",{children:e.map(e=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{className:"font-medium text-gray-200",children:e.name}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:"tag font-mono",children:e.entityType})}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:"tag",children:e.domain})}),(0,a.jsx)("td",{children:(0,a.jsx)("pre",{className:"text-[10px] text-gray-400 font-mono max-w-xs overflow-hidden text-ellipsis whitespace-nowrap",children:JSON.stringify(e.properties||{})})}),(0,a.jsx)("td",{children:d(e.updatedAt)}),(0,a.jsx)("td",{children:(0,a.jsx)("button",{className:"tiny-button danger-button",onClick:()=>void h(e.id),children:"Delete"})})]},e.id))})]})}):(0,a.jsx)(i,{title:"No entities recorded",detail:"Hardware, game characters, contacts, and items stored in Life DB will appear here."})]}),"events"===N&&(0,a.jsxs)("section",{className:"console-panel table-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Time-Series Events & Telemetry"}),(0,a.jsx)("span",{children:"Biometrics, finances, workout telemetry, and logs"})]}),(0,a.jsx)("button",{className:"tiny-button flex items-center gap-1",onClick:()=>D(!O),children:O?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.US,{size:12,className:"shrink-0"}),(0,a.jsx)("span",{children:"Close"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.c1,{size:12,className:"shrink-0"}),(0,a.jsx)("span",{children:"Log Event"})]})})]}),O&&(0,a.jsxs)("div",{className:"lifedb-form-card m-4",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold text-amber-300 mb-2",children:"Log New Event"}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3 mb-3",children:[(0,a.jsx)("input",{type:"text",placeholder:"Stream (e.g. finance:expense, health:heartrate)",value:H,onChange:e=>Y(e.target.value),className:"lifedb-input"}),(0,a.jsx)("input",{type:"number",step:"any",placeholder:"Metric Value (optional, e.g. 25.5)",value:Z,onChange:e=>K(e.target.value),className:"lifedb-input"})]}),(0,a.jsx)("div",{className:"mb-3",children:(0,a.jsx)("textarea",{placeholder:'Metadata JSON (optional, e.g. {"category": "coffee", "currency": "USD"})',value:W,onChange:e=>X(e.target.value),className:"lifedb-input w-full font-mono text-xs",rows:2})}),(0,a.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,a.jsx)("button",{className:"tiny-button",onClick:()=>D(!1),children:"Cancel"}),(0,a.jsx)("button",{className:"tiny-button approve-button",disabled:!H.trim()||c,onClick:async()=>{let e={};try{e=JSON.parse(W||"{}")}catch{}await u({stream:H.trim(),metricValue:""!==Z?Number(Z):void 0,metadata:e}),K(""),D(!1)},children:"Log Event"})]})]}),s.length?(0,a.jsx)("div",{className:"data-table-wrap",children:(0,a.jsxs)("table",{className:"data-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Stream"}),(0,a.jsx)("th",{children:"Metric Value"}),(0,a.jsx)("th",{children:"Timestamp"}),(0,a.jsx)("th",{children:"Metadata"})]})}),(0,a.jsx)("tbody",{children:s.map(e=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{className:"font-mono text-amber-400 text-xs",children:e.stream}),(0,a.jsx)("td",{className:"font-mono text-xs",children:void 0!==e.metricValue&&null!==e.metricValue?(0,a.jsx)("strong",{children:e.metricValue}):"—"}),(0,a.jsx)("td",{children:d(e.timestamp)}),(0,a.jsx)("td",{children:(0,a.jsx)("pre",{className:"text-[10px] text-gray-400 font-mono max-w-xs overflow-hidden text-ellipsis whitespace-nowrap",children:JSON.stringify(e.metadata||{})})})]},e.id))})]})}):(0,a.jsx)(i,{title:"No events logged",detail:"Telemetry and time-series events will be displayed here."})]}),"schedule"===N&&(0,a.jsxs)("section",{className:"console-panel table-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Calendar Commitments & Routines"}),(0,a.jsx)("span",{children:"Upcoming time intervals and schedule items"})]}),(0,a.jsx)("button",{className:"tiny-button flex items-center gap-1",onClick:()=>R(!E),children:E?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.US,{size:12,className:"shrink-0"}),(0,a.jsx)("span",{children:"Close"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.c1,{size:12,className:"shrink-0"}),(0,a.jsx)("span",{children:"New Schedule Item"})]})})]}),E&&(0,a.jsxs)("div",{className:"lifedb-form-card m-4",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold text-amber-300 mb-2",children:"Create Schedule Item"}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3 mb-3",children:[(0,a.jsx)("input",{type:"text",placeholder:"Title (e.g. Flight to Tokyo)",value:ee,onChange:e=>es(e.target.value),className:"lifedb-input"}),(0,a.jsx)("input",{type:"text",placeholder:"Start Time (e.g. 2026-09-20T14:00:00Z)",value:et,onChange:e=>ea(e.target.value),className:"lifedb-input"}),(0,a.jsx)("input",{type:"text",placeholder:"End Time (optional)",value:el,onChange:e=>en(e.target.value),className:"lifedb-input"})]}),(0,a.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,a.jsx)("button",{className:"tiny-button",onClick:()=>R(!1),children:"Cancel"}),(0,a.jsx)("button",{className:"tiny-button approve-button",disabled:!ee.trim()||!et.trim()||c,onClick:async()=>{await p({title:ee.trim(),startTime:et.trim(),endTime:el.trim()||void 0,status:"active"}),es(""),ea(""),en(""),R(!1)},children:"Save Schedule"})]})]}),r.length?(0,a.jsx)("div",{className:"data-table-wrap",children:(0,a.jsxs)("table",{className:"data-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Title"}),(0,a.jsx)("th",{children:"Start Time"}),(0,a.jsx)("th",{children:"End Time"}),(0,a.jsx)("th",{children:"Status"}),(0,a.jsx)("th",{children:"Actions"})]})}),(0,a.jsx)("tbody",{children:r.map(e=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{className:"font-medium text-gray-200",children:e.title}),(0,a.jsx)("td",{children:d(e.startTime)}),(0,a.jsx)("td",{children:d(e.endTime)}),(0,a.jsx)("td",{children:(0,a.jsx)("span",{className:"tag font-mono",children:e.status||"active"})}),(0,a.jsx)("td",{children:(0,a.jsx)("button",{className:"tiny-button danger-button",onClick:()=>void v(e.id),children:"Delete"})})]},e.id))})]})}):(0,a.jsx)(i,{title:"No upcoming schedule items",detail:"Calendar commitments and schedule intervals will appear here."})]})]})}function N({logs:e,filterLevel:s,filterSubsystem:t,searchQuery:r,autoRefresh:c,expandedIds:o,onToggleExpand:d,onChangeLevel:h,onChangeSubsystem:m,onChangeSearch:x,onToggleAutoRefresh:j,onRefresh:u,onClear:p,onExport:v}){let b=(0,l.useMemo)(()=>e.filter(e=>"error"===e.level).length,[e]),g=(0,l.useMemo)(()=>e.filter(e=>"warn"===e.level).length,[e]);return(0,a.jsxs)("div",{className:"console-view",children:[(0,a.jsxs)("div",{className:"view-intro",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"console-eyebrow",children:"DIAGNOSTICS & AUDIT"}),(0,a.jsx)("h2",{children:"System Logs & Diagnostics"}),(0,a.jsx)("p",{children:"Real-time audit trail of perception cycles, LLM calls, Truth Gate decisions, and tool executions."})]}),(0,a.jsxs)("div",{className:"flex gap-2 items-center flex-wrap",children:[(0,a.jsxs)("button",{className:"tiny-button flex items-center gap-1",onClick:v,title:"Download current logs as JSON",children:[(0,a.jsx)(n.s3,{size:12,className:"shrink-0"}),(0,a.jsx)("span",{children:"Export JSON"})]}),(0,a.jsxs)("button",{className:"tiny-button danger-button flex items-center gap-1",onClick:p,title:"Purge stored logs",children:[(0,a.jsx)(n.uc,{size:12,className:"shrink-0"}),(0,a.jsx)("span",{children:"Clear Logs"})]})]})]}),(0,a.jsxs)("section",{className:"console-panel",children:[(0,a.jsxs)("div",{className:"logs-toolbar",children:[(0,a.jsxs)("div",{className:"logs-toolbar-left",children:[(0,a.jsx)("input",{type:"text",placeholder:"Search logs, metadata...",value:r,onChange:e=>x(e.target.value),className:"logs-search-input"}),(0,a.jsxs)("select",{value:t,onChange:e=>m(e.target.value),className:"logs-select",children:[(0,a.jsx)("option",{value:"all",children:"All Subsystems"}),(0,a.jsx)("option",{value:"perception",children:"Perception"}),(0,a.jsx)("option",{value:"brain",children:"Brain / LLM"}),(0,a.jsx)("option",{value:"truth_gate",children:"Truth Gate"}),(0,a.jsx)("option",{value:"memory",children:"Memory"}),(0,a.jsx)("option",{value:"hands",children:"Hands / Tools"}),(0,a.jsx)("option",{value:"server",children:"Server"})]})]}),(0,a.jsxs)("div",{className:"logs-toolbar-right",children:[(0,a.jsx)("div",{className:"logs-level-pills",children:["all","error","warn","info","debug"].map(e=>(0,a.jsxs)("button",{type:"button",className:`log-pill ${s===e?"active":""} ${"error"===e&&b>0?"has-errors":""}`,onClick:()=>h(e),children:[e.toUpperCase(),"error"===e&&b>0&&(0,a.jsx)("span",{className:"pill-badge",children:b}),"warn"===e&&g>0&&(0,a.jsx)("span",{className:"pill-badge",children:g})]},e))}),(0,a.jsxs)("label",{className:"logs-live-toggle",children:[(0,a.jsx)("input",{type:"checkbox",checked:c,onChange:j}),(0,a.jsx)("span",{className:`live-indicator ${c?"active":""}`}),"Live (3s)"]}),(0,a.jsx)("button",{type:"button",className:"tiny-button inline-flex items-center justify-center",onClick:u,title:"Fetch latest logs",children:(0,a.jsx)(n.fN,{size:12})})]})]}),e.length>0?(0,a.jsx)("div",{className:"logs-container",children:e.map(e=>{let s=o.has(e.id),t=!!(e.metadata&&Object.keys(e.metadata).length>0),l=new Date(e.createdAt).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit",fractionalSecondDigits:3});return(0,a.jsxs)("div",{className:`log-entry log-entry-${e.level} ${s?"expanded":""}`,children:[(0,a.jsxs)("div",{className:"log-header",onClick:()=>t&&d(e.id),style:{cursor:t?"pointer":"default"},children:[(0,a.jsx)("span",{className:"log-time",title:e.createdAt,children:l}),(0,a.jsx)("span",{className:`log-badge log-badge-${e.level}`,children:e.level.toUpperCase()}),(0,a.jsxs)("span",{className:"log-subsystem",children:["[",e.subsystem,"]"]}),(0,a.jsx)("span",{className:"log-message",children:e.message}),t&&(0,a.jsx)("span",{className:"log-expand-icon flex items-center justify-center",title:"Toggle JSON metadata",children:s?(0,a.jsx)(n.Mt,{size:12}):(0,a.jsx)(n.D3,{size:12})})]}),s&&t&&(0,a.jsxs)("div",{className:"log-metadata-card",children:[!!e.metadata?.stack&&(0,a.jsxs)("div",{className:"log-stack-trace",children:[(0,a.jsx)("strong",{children:"Stack trace:"}),(0,a.jsx)("pre",{children:String(e.metadata?.stack)})]}),(0,a.jsxs)("div",{className:"log-json-block",children:[(0,a.jsx)("strong",{children:"Payload / Metadata:"}),(0,a.jsx)("pre",{children:JSON.stringify(e.metadata,null,2)})]})]})]},e.id)})}):(0,a.jsx)(i,{title:"No system logs found",detail:r||"all"!==s||"all"!==t?"No logs match the current filters. Try resetting the search or level filter.":"No logs have been recorded yet. New perception cycles, Truth Gate decisions, and model queries will appear here."})]})]})}function y({onResetMemory:e,disabled:s}){return(0,a.jsxs)("div",{className:"console-view",children:[(0,a.jsx)("div",{className:"view-intro",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"console-eyebrow",children:"RUNTIME IDENTITY"}),(0,a.jsx)("h2",{children:"Companion Identity & Directives"}),(0,a.jsx)("p",{children:"Identity and behavioral preferences are governed dynamically through conversational teaching and reviewed in the Memory tab."})]})}),(0,a.jsxs)("section",{className:"console-panel profile-panel",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsx)("strong",{children:"Identity Directives"}),(0,a.jsx)("span",{children:"Governed Memory Model"})]}),(0,a.jsx)(i,{title:"Dynamic identity active",detail:"Siduri establishes preferences and boundaries dynamically through conversation. Use the Private Chat to teach preferences, and the Memory tab to approve or revoke directives."})]}),(0,a.jsxs)("section",{className:"console-panel profile-panel mt-6",children:[(0,a.jsxs)("div",{className:"table-toolbar",children:[(0,a.jsx)("strong",{children:"Danger Zone"}),(0,a.jsx)("span",{children:"Irreversible actions"})]}),(0,a.jsxs)("div",{className:"p-6 bg-red-900/20 border border-red-500/20 rounded-lg",children:[(0,a.jsx)("h3",{className:"text-red-400 font-medium mb-2",children:"Reset All Memory"}),(0,a.jsx)("p",{className:"text-sm text-gray-400 mb-4",children:"This will permanently delete all memory items, proposals, revisions, and claims from the database. The companion will forget all approved claims, directives, and proposals."}),(0,a.jsx)("button",{className:"bg-red-500/10 text-red-400 border border-red-500/50 hover:bg-red-500/20 px-4 py-2 rounded-md font-medium transition-colors",onClick:()=>void e(),disabled:s,children:"Reset Memory"})]})]})]})}},5064:(e,s,t)=>{Promise.resolve().then(t.bind(t,3449))}},e=>{e.O(0,[426,461,136,358],()=>e(e.s=5064)),_N_E=e.O()}]);
|
package/dist/web-dist/_next/static/chunks/app/{page-0ea61d6527029893.js → page-fc4bf56cf33ae27b.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{1872:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return _},MissingStaticPage:function(){return v},NormalizeError:function(){return m},PageNotFoundError:function(){return b},SP:function(){return h},ST:function(){return y},WEB_VITALS:function(){return o},execOnce:function(){return u},getDisplayName:function(){return s},getLocationOrigin:function(){return l},getURL:function(){return c},isAbsoluteUrl:function(){return i},isResSent:function(){return f},loadGetInitialProps:function(){return d},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return P}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let o=["CLS","FCP","FID","INP","LCP","TTFB"];function u(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&a.test(e)};function l(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=l();return e.substring(t.length)}function s(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function d(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await d(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${s(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let h="u">typeof performance,y=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class m extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class _ extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(e){return JSON.stringify({message:e.message,stack:e.stack})}},2926:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={assign:function(){return i},searchParamsToUrlQuery:function(){return o},urlQueryToSearchParams:function(){return a}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});function o(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function u(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function a(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,u(e));else t.set(r,u(n));return t}function i(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},4103:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return u}});let n=r(1872),o=r(4233);function u(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},6571:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=r(276);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=u(e,n)),t&&(o.current=u(t,n))},[e,t])}function u(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7443:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return m},useLinkStatus:function(){return v}};for(var o in n)Object.defineProperty(t,o,{enumerable:!0,get:n[o]});let u=r(9588),a=r(2184),i=u._(r(276)),l=r(7982),c=r(6280),s=r(6571),f=r(1872),p=r(706),d=r(351),h=r(1459),y=r(4103),g=r(6502);function m(e){var t;let n,o,u,[m,v]=(0,i.useOptimistic)(h.IDLE_LINK_STATUS),_=(0,i.useRef)(null),{href:P,as:E,children:O,prefetch:S=null,passHref:j,replace:C,shallow:N,scroll:T,onClick:R,onMouseEnter:L,onTouchStart:k,legacyBehavior:x=!1,onNavigate:w,transitionTypes:A,ref:M,unstable_dynamicOnHover:$,...I}=e;n=O,x&&("string"==typeof n||"number"==typeof n)&&(n=(0,a.jsx)("a",{children:n}));let U=i.default.useContext(c.AppRouterContext),F=!1!==S,D=!1===S?"none":!0===S?"full":"auto",B="none"!==D?"auto"===D?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,K="string"==typeof(t=E||P)?t:(0,l.formatUrl)(t);if(x){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=i.default.Children.only(n)}let z=x?o&&"object"==typeof o&&o.ref:M,Q,W=i.default.useCallback(e=>(null!==U&&(_.current=(0,h.mountLinkInstance)(e,K,U,B,F,v,Q)),()=>{_.current&&((0,h.unmountLinkForCurrentNavigation)(_.current),_.current=null),(0,h.unmountPrefetchableInstance)(e)}),[F,K,U,B,v,Q]),X={ref:(0,s.useMergedRef)(W,z),onClick(e){x||"function"!=typeof R||R(e),x&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(e),!U||e.defaultPrevented||function(e,t,n,o,u,a,l,c="none"){{let s,{nodeName:f}=e.currentTarget;if("A"===f.toUpperCase()&&((s=e.currentTarget.getAttribute("target"))&&"_self"!==s||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))return;if(!(0,y.isLocalURL)(t)){o&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:p}=r(2359);i.default.startTransition(()=>{p(t,o?"replace":"push",!1===u?d.ScrollBehavior.NoScroll:d.ScrollBehavior.Default,n.current,l,c)})}}(e,K,_,C,T,w,A,D)},onMouseEnter(e){x||"function"!=typeof L||L(e),x&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),U&&F&&(0,h.onNavigationIntent)(e.currentTarget,!0===$)},onTouchStart:function(e){x||"function"!=typeof k||k(e),x&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),U&&F&&(0,h.onNavigationIntent)(e.currentTarget,!0===$)}};return(0,f.isAbsoluteUrl)(K)?X.href=K:x&&!j&&("a"!==o.type||"href"in o.props)||(X.href=(0,p.addBasePath)(K)),u=x?i.default.cloneElement(o,X):(0,a.jsx)("a",{...I,...X,children:n}),(0,a.jsx)(b.Provider,{value:m,children:u})}let b=(0,i.createContext)(h.IDLE_LINK_STATUS),v=()=>(0,i.useContext)(b);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{1872:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return _},MissingStaticPage:function(){return v},NormalizeError:function(){return m},PageNotFoundError:function(){return b},SP:function(){return h},ST:function(){return y},WEB_VITALS:function(){return o},execOnce:function(){return u},getDisplayName:function(){return s},getLocationOrigin:function(){return l},getURL:function(){return c},isAbsoluteUrl:function(){return i},isResSent:function(){return f},loadGetInitialProps:function(){return d},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return P}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let o=["CLS","FCP","FID","INP","LCP","TTFB"];function u(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&a.test(e)};function l(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=l();return e.substring(t.length)}function s(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function d(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await d(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${s(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let h="u">typeof performance,y=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class m extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class _ extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(e){return JSON.stringify({message:e.message,stack:e.stack})}},2926:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={assign:function(){return i},searchParamsToUrlQuery:function(){return o},urlQueryToSearchParams:function(){return a}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});function o(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function u(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function a(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,u(e));else t.set(r,u(n));return t}function i(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},4103:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return u}});let n=r(1872),o=r(4233);function u(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},6571:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=r(276);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=u(e,n)),t&&(o.current=u(t,n))},[e,t])}function u(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7443:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return m},useLinkStatus:function(){return v}};for(var o in n)Object.defineProperty(t,o,{enumerable:!0,get:n[o]});let u=r(9588),a=r(2184),i=u._(r(276)),l=r(7982),c=r(6280),s=r(6571),f=r(1872),p=r(706),d=r(351),h=r(1459),y=r(4103),g=r(6502);function m(e){var t;let n,o,u,[m,v]=(0,i.useOptimistic)(h.IDLE_LINK_STATUS),_=(0,i.useRef)(null),{href:P,as:E,children:O,prefetch:S=null,passHref:j,replace:C,shallow:N,scroll:T,onClick:R,onMouseEnter:L,onTouchStart:k,legacyBehavior:x=!1,onNavigate:w,transitionTypes:A,ref:M,unstable_dynamicOnHover:$,...I}=e;n=O,x&&("string"==typeof n||"number"==typeof n)&&(n=(0,a.jsx)("a",{children:n}));let U=i.default.useContext(c.AppRouterContext),F=!1!==S,D=!1===S?"none":!0===S?"full":"auto",B="none"!==D?"auto"===D?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,K="string"==typeof(t=E||P)?t:(0,l.formatUrl)(t);if(x){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=i.default.Children.only(n)}let z=x?o&&"object"==typeof o&&o.ref:M,Q,W=i.default.useCallback(e=>(null!==U&&(_.current=(0,h.mountLinkInstance)(e,K,U,B,F,v,Q)),()=>{_.current&&((0,h.unmountLinkForCurrentNavigation)(_.current),_.current=null),(0,h.unmountPrefetchableInstance)(e)}),[F,K,U,B,v,Q]),X={ref:(0,s.useMergedRef)(W,z),onClick(e){x||"function"!=typeof R||R(e),x&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(e),!U||e.defaultPrevented||function(e,t,n,o,u,a,l,c="none"){{let s,{nodeName:f}=e.currentTarget;if("A"===f.toUpperCase()&&((s=e.currentTarget.getAttribute("target"))&&"_self"!==s||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))return;if(!(0,y.isLocalURL)(t)){o&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:p}=r(2359);i.default.startTransition(()=>{p(t,o?"replace":"push",!1===u?d.ScrollBehavior.NoScroll:d.ScrollBehavior.Default,n.current,l,c)})}}(e,K,_,C,T,w,A,D)},onMouseEnter(e){x||"function"!=typeof L||L(e),x&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),U&&F&&(0,h.onNavigationIntent)(e.currentTarget,!0===$)},onTouchStart:function(e){x||"function"!=typeof k||k(e),x&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),U&&F&&(0,h.onNavigationIntent)(e.currentTarget,!0===$)}};return(0,f.isAbsoluteUrl)(K)?X.href=K:x&&!j&&("a"!==o.type||"href"in o.props)||(X.href=(0,p.addBasePath)(K)),u=x?i.default.cloneElement(o,X):(0,a.jsx)("a",{...I,...X,children:n}),(0,a.jsx)(b.Provider,{value:m,children:u})}let b=(0,i.createContext)(h.IDLE_LINK_STATUS),v=()=>(0,i.useContext)(b);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7982:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={formatUrl:function(){return i},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}};for(var o in n)Object.defineProperty(t,o,{enumerable:!0,get:n[o]});let u=r(9588)._(r(2926)),a=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",i=e.hash||"",l=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=String(u.urlQueryToSearchParams(l)));let s=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==c?(c="//"+(c||""),o&&"/"!==o[0]&&(o="/"+o)):c||(c=""),i&&"#"!==i[0]&&(i="#"+i),s&&"?"!==s[0]&&(s="?"+s),o=o.replace(/[?#]/g,encodeURIComponent),s=s.replace("#","%23"),`${n}${c}${o}${s}${i}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return i(e)}},8831:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,7443,23))}},e=>{e.O(0,[461,136,358],()=>e(e.s=8831)),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[358],{
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[358],{2791:(e,s,n)=>{Promise.resolve().then(n.t.bind(n,6886,23)),Promise.resolve().then(n.t.bind(n,6703,23)),Promise.resolve().then(n.t.bind(n,5837,23)),Promise.resolve().then(n.t.bind(n,9990,23)),Promise.resolve().then(n.t.bind(n,8766,23)),Promise.resolve().then(n.t.bind(n,356,23)),Promise.resolve().then(n.t.bind(n,5127,23)),Promise.resolve().then(n.bind(n,3366))},6434:()=>{}},e=>{var s=s=>e(e.s=s);e.O(0,[461,136],()=>(s(1802),s(2791))),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[337],{7973:(e,s,_)=>{Promise.resolve().then(_.t.bind(_,6886,23))}},e=>{e.O(0,[461,136,358],()=>e(e.s=7973)),_N_E=e.O()}]);
|
|
@@ -9,7 +9,7 @@ c:I[6886,[],"default",1]
|
|
|
9
9
|
:HL["/_next/static/css/8ef96fc81e2b580f.css","style"]
|
|
10
10
|
:HL["https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap","style"]
|
|
11
11
|
7:X
|
|
12
|
-
0:{"P":null,"c":["","_not-found",""],"q":"","i":false,"f":[[["",{"children":["_not-found",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/8ef96fc81e2b580f.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"h-full antialiased dark","children":[["$","head",null,{"children":[["$","link",null,{"rel":"preconnect","href":"https://fonts.googleapis.com"}],["$","link",null,{"rel":"preconnect","href":"https://fonts.gstatic.com","crossOrigin":"anonymous"}],["$","link",null,{"href":"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap","rel":"stylesheet"}]]}],["$","body",null,{"className":"min-h-full flex flex-col bg-[#0b0b0e] text-[#eee8df] selection:bg-[#d99a68]/30 selection:text-[#f4c28d]","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$7"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],null]}],false]],"m":"$undefined","G":["$c",[]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"
|
|
12
|
+
0:{"P":null,"c":["","_not-found",""],"q":"","i":false,"f":[[["",{"children":["_not-found",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/8ef96fc81e2b580f.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"h-full antialiased dark","children":[["$","head",null,{"children":[["$","link",null,{"rel":"preconnect","href":"https://fonts.googleapis.com"}],["$","link",null,{"rel":"preconnect","href":"https://fonts.gstatic.com","crossOrigin":"anonymous"}],["$","link",null,{"href":"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap","rel":"stylesheet"}]]}],["$","body",null,{"className":"min-h-full flex flex-col bg-[#0b0b0e] text-[#eee8df] selection:bg-[#d99a68]/30 selection:text-[#f4c28d]","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$7"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],null]}],false]],"m":"$undefined","G":["$c",[]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"Tq3UpxBQzNTBn_z7F5dip"}
|
|
13
13
|
7:C
|
|
14
14
|
9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content"}],["$","meta","2",{"name":"theme-color","content":"#0b0b0e"}]]
|
|
15
15
|
d:I[3366,[],"IconMark"]
|
|
@@ -11,7 +11,7 @@ c:I[356,[],""]
|
|
|
11
11
|
6:X
|
|
12
12
|
e:X
|
|
13
13
|
e:C
|
|
14
|
-
0:{"buildId":"
|
|
14
|
+
0:{"buildId":"Tq3UpxBQzNTBn_z7F5dip","data":[{"rsc":["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"isPartial":"$@5","staleTime":"$6","varyParams":null},{"rsc":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L7",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content"}],["$","meta","2",{"name":"theme-color","content":"#0b0b0e"}]]}],["$","div",null,{"hidden":true,"children":["$","$L8",null,{"children":["$","$3",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Siduri — Local-First Companion"}],["$","meta","1",{"name":"description","content":"Siduri — a local-first companion with explicit memory, grounded knowledge, and optional presence."}],["$","link","2",{"rel":"icon","href":"/favicon.ico?7715e5163ea8ac02","type":"image/x-icon","sizes":"16x16"}],["$","link","3",{"rel":"icon","href":"/favicon.ico"}],["$","link","4",{"rel":"icon","href":"/favicon.svg","type":"image/svg+xml"}],["$","link","5",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png"}],["$","$L9","6",{}]]}]}]}],null]}],"isPartial":"$@a","staleTime":"$6","varyParams":null},{"rsc":["$","$1","c",{"children":[null,["$","$Lb",null,{"parallelRouterKey":"children","template":["$","$Lc",null,{}]}]]}],"isPartial":"$@d","staleTime":"$6","varyParams":"$e"},{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/8ef96fc81e2b580f.css","precedence":"next"}]],["$","html",null,{"lang":"en","className":"h-full antialiased dark","children":[["$","head",null,{"children":[["$","link",null,{"rel":"preconnect","href":"https://fonts.googleapis.com"}],["$","link",null,{"rel":"preconnect","href":"https://fonts.gstatic.com","crossOrigin":"anonymous"}],["$","link",null,{"href":"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap","rel":"stylesheet"}]]}],["$","body",null,{"className":"min-h-full flex flex-col bg-[#0b0b0e] text-[#eee8df] selection:bg-[#d99a68]/30 selection:text-[#f4c28d]","children":["$","$Lb",null,{"parallelRouterKey":"children","template":["$","$Lc",null,{}]}]}]]}]]}],"isPartial":"$@f","staleTime":"$6","varyParams":null}],"isUpgradeableISRFallback":false,"a":"$@10","rootVaryParams":null,"needsRuntimeRequest":"$@11"}
|
|
15
15
|
4:null
|
|
16
16
|
6:300
|
|
17
17
|
11:true
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
:HL["/_next/static/css/8ef96fc81e2b580f.css","style"]
|
|
2
2
|
:HL["https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap","style"]
|
|
3
|
-
0:{"tree":{"name":"","param":null,"prefetchHints":4176,"slots":{"children":{"name":"_not-found","param":null,"prefetchHints":4192,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}}}},"staleTime":300,"buildId":"
|
|
3
|
+
0:{"tree":{"name":"","param":null,"prefetchHints":4176,"slots":{"children":{"name":"_not-found","param":null,"prefetchHints":4192,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}}}},"staleTime":300,"buildId":"Tq3UpxBQzNTBn_z7F5dip"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en" class="h-full antialiased dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content"/><link rel="stylesheet" href="/_next/static/css/8ef96fc81e2b580f.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-f73cedc256be153e.js"/><script src="/_next/static/chunks/563b947f-8e2871a2ab7cd91e.js" async=""></script><script src="/_next/static/chunks/136-1d10af93b770a1c8.js" async=""></script><script src="/_next/static/chunks/main-app-
|
|
1
|
+
<!DOCTYPE html><html lang="en" class="h-full antialiased dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content"/><link rel="stylesheet" href="/_next/static/css/8ef96fc81e2b580f.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-f73cedc256be153e.js"/><script src="/_next/static/chunks/563b947f-8e2871a2ab7cd91e.js" async=""></script><script src="/_next/static/chunks/136-1d10af93b770a1c8.js" async=""></script><script src="/_next/static/chunks/main-app-9e6a144626e5a5b9.js" async=""></script><link rel="preload" href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap" as="style"/><meta name="robots" content="noindex"/><link rel="preconnect" href="https://fonts.googleapis.com"/><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous"/><title>404: This page could not be found.</title><meta name="theme-color" content="#0b0b0e"/><title>Siduri — Local-First Companion</title><meta name="description" content="Siduri — a local-first companion with explicit memory, grounded knowledge, and optional presence."/><link rel="icon" href="/favicon.ico?7715e5163ea8ac02" type="image/x-icon" sizes="16x16"/><link rel="icon" href="/favicon.ico"/><link rel="icon" href="/favicon.svg" type="image/svg+xml"/><link rel="apple-touch-icon" href="/apple-touch-icon.png"/><link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap" rel="stylesheet"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="min-h-full flex flex-col bg-[#0b0b0e] text-[#eee8df] selection:bg-[#d99a68]/30 selection:text-[#f4c28d]"><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-f73cedc256be153e.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[8766,[],\"\"]\n3:I[356,[],\"\"]\n4:I[5127,[],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[5127,[],\"ViewportBoundary\"]\na:I[5127,[],\"MetadataBoundary\"]\nc:I[6886,[],\"default\",1]\n:HL[\"/_next/static/css/8ef96fc81e2b580f.css\",\"style\"]\n:HL[\"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500\u0026family=Noto+Sans+JP:wght@400;500;700\u0026family=Noto+Serif+JP:wght@400;500;700\u0026display=swap\",\"style\"]\n7:X\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\",\"\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_not-found\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/8ef96fc81e2b580f.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"h-full antialiased dark\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"link\",null,{\"rel\":\"preconnect\",\"href\":\"https://fonts.googleapis.com\"}],[\"$\",\"link\",null,{\"rel\":\"preconnect\",\"href\":\"https://fonts.gstatic.com\",\"crossOrigin\":\"anonymous\"}],[\"$\",\"link\",null,{\"href\":\"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500\u0026family=Noto+Sans+JP:wght@400;500;700\u0026family=Noto+Serif+JP:wght@400;500;700\u0026display=swap\",\"rel\":\"stylesheet\"}]]}],[\"$\",\"body\",null,{\"className\":\"min-h-full flex flex-col bg-[#0b0b0e] text-[#eee8df] selection:bg-[#d99a68]/30 selection:text-[#f4c28d]\",\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"Tq3UpxBQzNTBn_z7F5dip\"}\n"])</script><script>self.__next_f.push([1,"7:C\n9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#0b0b0e\"}]]\n"])</script><script>self.__next_f.push([1,"d:I[3366,[],\"IconMark\"]\n6:null\nb:[[\"$\",\"title\",\"0\",{\"children\":\"Siduri — Local-First Companion\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Siduri — a local-first companion with explicit memory, grounded knowledge, and optional presence.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?7715e5163ea8ac02\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"link\",\"3\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\"}],[\"$\",\"link\",\"4\",{\"rel\":\"icon\",\"href\":\"/favicon.svg\",\"type\":\"image/svg+xml\"}],[\"$\",\"link\",\"5\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-touch-icon.png\"}],[\"$\",\"$Ld\",\"6\",{}]]\n"])</script></body></html>
|
|
@@ -9,7 +9,7 @@ c:I[6886,[],"default",1]
|
|
|
9
9
|
:HL["/_next/static/css/8ef96fc81e2b580f.css","style"]
|
|
10
10
|
:HL["https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap","style"]
|
|
11
11
|
7:X
|
|
12
|
-
0:{"P":null,"c":["","_not-found",""],"q":"","i":false,"f":[[["",{"children":["_not-found",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/8ef96fc81e2b580f.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"h-full antialiased dark","children":[["$","head",null,{"children":[["$","link",null,{"rel":"preconnect","href":"https://fonts.googleapis.com"}],["$","link",null,{"rel":"preconnect","href":"https://fonts.gstatic.com","crossOrigin":"anonymous"}],["$","link",null,{"href":"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap","rel":"stylesheet"}]]}],["$","body",null,{"className":"min-h-full flex flex-col bg-[#0b0b0e] text-[#eee8df] selection:bg-[#d99a68]/30 selection:text-[#f4c28d]","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$7"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],null]}],false]],"m":"$undefined","G":["$c",[]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"
|
|
12
|
+
0:{"P":null,"c":["","_not-found",""],"q":"","i":false,"f":[[["",{"children":["_not-found",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/8ef96fc81e2b580f.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"h-full antialiased dark","children":[["$","head",null,{"children":[["$","link",null,{"rel":"preconnect","href":"https://fonts.googleapis.com"}],["$","link",null,{"rel":"preconnect","href":"https://fonts.gstatic.com","crossOrigin":"anonymous"}],["$","link",null,{"href":"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap","rel":"stylesheet"}]]}],["$","body",null,{"className":"min-h-full flex flex-col bg-[#0b0b0e] text-[#eee8df] selection:bg-[#d99a68]/30 selection:text-[#f4c28d]","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$7"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],null]}],false]],"m":"$undefined","G":["$c",[]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"Tq3UpxBQzNTBn_z7F5dip"}
|
|
13
13
|
7:C
|
|
14
14
|
9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content"}],["$","meta","2",{"name":"theme-color","content":"#0b0b0e"}]]
|
|
15
15
|
d:I[3366,[],"IconMark"]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
2
|
2:I[8766,[],""]
|
|
3
3
|
3:I[356,[],""]
|
|
4
|
-
4:I[2186,["426","static/chunks/426-9f7f6e7fffd4c3c3.js","457","static/chunks/app/chat/page-
|
|
4
|
+
4:I[2186,["426","static/chunks/426-9f7f6e7fffd4c3c3.js","457","static/chunks/app/chat/page-26bbc63b0653d064.js"],"default"]
|
|
5
5
|
5:I[5127,[],"OutletBoundary"]
|
|
6
6
|
6:"$Sreact.suspense"
|
|
7
7
|
9:I[5127,[],"ViewportBoundary"]
|
|
@@ -10,7 +10,7 @@ d:I[6886,[],"default",1]
|
|
|
10
10
|
:HL["/_next/static/css/8ef96fc81e2b580f.css","style"]
|
|
11
11
|
:HL["https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap","style"]
|
|
12
12
|
8:X
|
|
13
|
-
0:{"P":null,"c":["","chat",""],"q":"","i":false,"f":[[["",{"children":["chat",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/8ef96fc81e2b580f.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"h-full antialiased dark","children":[["$","head",null,{"children":[["$","link",null,{"rel":"preconnect","href":"https://fonts.googleapis.com"}],["$","link",null,{"rel":"preconnect","href":"https://fonts.gstatic.com","crossOrigin":"anonymous"}],["$","link",null,{"href":"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap","rel":"stylesheet"}]]}],["$","body",null,{"className":"min-h-full flex flex-col bg-[#0b0b0e] text-[#eee8df] selection:bg-[#d99a68]/30 selection:text-[#f4c28d]","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{}],null,["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}]]}],{},null,false,null]},null,false,"$8"]},null,false,null],["$","$1","h",{"children":[null,["$","$L9",null,{"children":"$La"}],["$","div",null,{"hidden":true,"children":["$","$Lb",null,{"children":["$","$6",null,{"name":"Next.Metadata","children":"$Lc"}]}]}],null]}],false]],"m":"$undefined","G":["$d",[]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"
|
|
13
|
+
0:{"P":null,"c":["","chat",""],"q":"","i":false,"f":[[["",{"children":["chat",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/8ef96fc81e2b580f.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"h-full antialiased dark","children":[["$","head",null,{"children":[["$","link",null,{"rel":"preconnect","href":"https://fonts.googleapis.com"}],["$","link",null,{"rel":"preconnect","href":"https://fonts.gstatic.com","crossOrigin":"anonymous"}],["$","link",null,{"href":"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap","rel":"stylesheet"}]]}],["$","body",null,{"className":"min-h-full flex flex-col bg-[#0b0b0e] text-[#eee8df] selection:bg-[#d99a68]/30 selection:text-[#f4c28d]","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{}],null,["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}]]}],{},null,false,null]},null,false,"$8"]},null,false,null],["$","$1","h",{"children":[null,["$","$L9",null,{"children":"$La"}],["$","div",null,{"hidden":true,"children":["$","$Lb",null,{"children":["$","$6",null,{"name":"Next.Metadata","children":"$Lc"}]}]}],null]}],false]],"m":"$undefined","G":["$d",[]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"Tq3UpxBQzNTBn_z7F5dip"}
|
|
14
14
|
8:C
|
|
15
15
|
a:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content"}],["$","meta","2",{"name":"theme-color","content":"#0b0b0e"}]]
|
|
16
16
|
e:I[3366,[],"IconMark"]
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
:HL["/_next/static/css/8ef96fc81e2b580f.css","style"]
|
|
2
2
|
:HL["https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap","style"]
|
|
3
|
-
0:{"tree":{"name":"","param":null,"prefetchHints":4176,"slots":{"children":{"name":"chat","param":null,"prefetchHints":4192,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}}}},"staleTime":300,"buildId":"
|
|
3
|
+
0:{"tree":{"name":"","param":null,"prefetchHints":4176,"slots":{"children":{"name":"chat","param":null,"prefetchHints":4192,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}}}},"staleTime":300,"buildId":"Tq3UpxBQzNTBn_z7F5dip"}
|