siduri 1.0.0 → 1.0.1
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/README.md +6 -5
- package/dist/clean-machine-smoke.test.js +3 -3
- package/dist/configurators/archive.d.ts +6 -0
- package/dist/configurators/archive.js +31 -0
- package/dist/configurators/index.d.ts +1 -0
- package/dist/configurators/index.js +4 -2
- package/dist/configurators/memory.d.ts +5 -2
- package/dist/configurators/memory.js +18 -23
- package/dist/generator.js +19 -19
- package/dist/generator.test.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -5
- package/dist/release-check.js +2 -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 +31 -29
- package/dist/web-dist/__next._full.txt +20 -19
- package/dist/web-dist/__next._tree.txt +1 -1
- package/dist/web-dist/_next/static/chunks/app/chat/{page-ab56048b707a3ddd.js → page-c2c01bacc6562e40.js} +1 -1
- package/dist/web-dist/_next/static/chunks/app/operator/page-e18364329865cb68.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 +20 -19
- 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/operator/page-6b2d0ba884183ad7.js +0 -1
- /package/dist/web-dist/_next/static/{4aL_iP3FHsLSyHzCnRQYD → TAssFHX71jXsDINzGLNGT}/_buildManifest.js +0 -0
- /package/dist/web-dist/_next/static/{4aL_iP3FHsLSyHzCnRQYD → TAssFHX71jXsDINzGLNGT}/_ssgManifest.js +0 -0
package/dist/web-dist/index.txt
CHANGED
|
@@ -6,27 +6,28 @@
|
|
|
6
6
|
:HL["/_next/static/css/ceeb8e5596664b11.css","style"]
|
|
7
7
|
: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"]
|
|
8
8
|
:HL["/logo-circle.svg","image"]
|
|
9
|
-
0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ceeb8e5596664b11.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":[["$","div",null,{"className":"home-page bg-[#09090c] min-h-screen text-[var(--siduri-text-primary)] font-sans","children":[["$","header",null,{"className":"home-nav","children":["$","div",null,{"className":"home-container home-nav-inner flex items-center justify-between py-3 sm:py-4","children":[["$","$L4",null,{"href":"/","className":"brand-link flex items-center gap-2","aria-label":"Siduri Home","children":[["$","img",null,{"src":"/logo-circle.svg","alt":"Siduri-X Logo","className":"w-6 h-6 rounded-full shrink-0","width":24,"height":24}],["$","span",null,{"className":"font-bold tracking-widest text-sm","children":"SIDURI-X"}]]}],["$","nav",null,{"className":"nav-links hidden sm:flex gap-6 text-sm text-[var(--siduri-text-muted)]","aria-label":"Main Navigation","children":[["$","$L4",null,{"href":"/chat","className":"hover:text-[var(--siduri-text-primary)] transition-colors","children":"Chat"}],["$","$L4",null,{"href":"/operator","className":"hover:text-[var(--siduri-text-primary)] transition-colors","children":"Operator Console"}]]}],["$","div",null,{"className":"flex items-center gap-3","children":["$","$L4",null,{"href":"/chat","className":"nav-cta inline-flex items-center gap-1.5 text-xs font-mono border border-[var(--siduri-border-subtle)] px-3 sm:px-4 py-2 rounded-full hover:bg-[var(--siduri-surface)] transition-all","children":[["$","span",null,{"children":"Chat"}]," ",["$","svg",null,{"width":12,"height":12,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","className":"$undefined","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]}]]}]}],["$","main",null,{"children":[["$","section",null,{"className":"py-16 sm:py-24 md:py-32 border-b border-[var(--siduri-border-subtle)] relative overflow-hidden","children":["$","div",null,{"className":"home-container relative z-10 text-center flex flex-col items-center","children":[["$","div",null,{"className":"inline-flex items-center gap-2 px-3 py-1 rounded-full border border-[var(--siduri-border-ember)] bg-[var(--siduri-tint-low)] text-[var(--siduri-ember-light)] text-[10px] font-mono tracking-widest uppercase mb-6 sm:mb-8 text-center max-w-full","children":["$L5","$L6"]}],"$L7","$L8","$L9"]}]}],"$La","$Lb","$Lc"]}],"$Ld"]}],null,"$Le"]}],{},null,false,null]},null,false,null],"$Lf",false]],"m":"$undefined","G":["$10",[]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ceeb8e5596664b11.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":[["$","div",null,{"className":"home-page bg-[#09090c] min-h-screen text-[var(--siduri-text-primary)] font-sans","children":[["$","header",null,{"className":"home-nav","children":["$","div",null,{"className":"home-container home-nav-inner flex items-center justify-between py-3 sm:py-4","children":[["$","$L4",null,{"href":"/","className":"brand-link flex items-center gap-2","aria-label":"Siduri Home","children":[["$","img",null,{"src":"/logo-circle.svg","alt":"Siduri-X Logo","className":"w-6 h-6 rounded-full shrink-0","width":24,"height":24}],["$","span",null,{"className":"font-bold tracking-widest text-sm","children":"SIDURI-X"}]]}],["$","nav",null,{"className":"nav-links hidden sm:flex gap-6 text-sm text-[var(--siduri-text-muted)]","aria-label":"Main Navigation","children":[["$","$L4",null,{"href":"/chat","className":"hover:text-[var(--siduri-text-primary)] transition-colors","children":"Chat"}],["$","$L4",null,{"href":"/operator","className":"hover:text-[var(--siduri-text-primary)] transition-colors","children":"Operator Console"}]]}],["$","div",null,{"className":"flex items-center gap-3","children":["$","$L4",null,{"href":"/chat","className":"nav-cta inline-flex items-center gap-1.5 text-xs font-mono border border-[var(--siduri-border-subtle)] px-3 sm:px-4 py-2 rounded-full hover:bg-[var(--siduri-surface)] transition-all","children":[["$","span",null,{"children":"Chat"}]," ",["$","svg",null,{"width":12,"height":12,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","className":"$undefined","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]}]]}]}],["$","main",null,{"children":[["$","section",null,{"className":"py-16 sm:py-24 md:py-32 border-b border-[var(--siduri-border-subtle)] relative overflow-hidden","children":["$","div",null,{"className":"home-container relative z-10 text-center flex flex-col items-center","children":[["$","div",null,{"className":"inline-flex items-center gap-2 px-3 py-1 rounded-full border border-[var(--siduri-border-ember)] bg-[var(--siduri-tint-low)] text-[var(--siduri-ember-light)] text-[10px] font-mono tracking-widest uppercase mb-6 sm:mb-8 text-center max-w-full","children":["$L5","$L6"]}],"$L7","$L8","$L9"]}]}],"$La","$Lb","$Lc"]}],"$Ld"]}],null,"$Le"]}],{},null,false,null]},null,false,null],"$Lf",false]],"m":"$undefined","G":["$10",[]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"TAssFHX71jXsDINzGLNGT"}
|
|
10
|
+
16:I[5127,[],"OutletBoundary"]
|
|
11
|
+
17:"$Sreact.suspense"
|
|
12
|
+
19:I[5127,[],"ViewportBoundary"]
|
|
13
|
+
1b:I[5127,[],"MetadataBoundary"]
|
|
14
14
|
5:["$","span",null,{"className":"w-1.5 h-1.5 rounded-full bg-[var(--siduri-online)] shadow-[0_0_8px_rgba(127,199,154,0.6)] shrink-0"}]
|
|
15
15
|
6:["$","span",null,{"className":"truncate","children":"Standalone Companion · Version 1.0"}]
|
|
16
|
-
7:["$","h1",null,{"className":"text-3xl sm:text-5xl md:text-6xl font-normal font-serif text-[var(--siduri-text-primary)] tracking-tight leading-[1.2] sm:leading-[1.15] mb-6 max-w-4xl px-2","children":"A companion grown
|
|
17
|
-
8:["$","p",null,{"className":"text-sm sm:text-lg text-[var(--siduri-text-secondary)] font-sans leading-relaxed mb-8 sm:mb-10 max-w-2xl font-light px-2","children":"Siduri-X is an intelligent companion designed with
|
|
16
|
+
7:["$","h1",null,{"className":"text-3xl sm:text-5xl md:text-6xl font-normal font-serif text-[var(--siduri-text-primary)] tracking-tight leading-[1.2] sm:leading-[1.15] mb-6 max-w-4xl px-2","children":"A companion grown through interaction, powered by sovereign primitives."}]
|
|
17
|
+
8:["$","p",null,{"className":"text-sm sm:text-lg text-[var(--siduri-text-secondary)] font-sans leading-relaxed mb-8 sm:mb-10 max-w-2xl font-light px-2","children":"Siduri-X is an intelligent companion designed with sovereign life state, self-governing directives, and a modular organ architecture. She starts as a blank slate and forms her identity entirely through your interactions."}]
|
|
18
18
|
9:["$","div",null,{"className":"flex flex-col sm:flex-row justify-center items-stretch sm:items-center gap-3 sm:gap-4 w-full max-w-md sm:max-w-none px-4","children":[["$","$L4",null,{"href":"/chat","className":"inline-flex justify-center items-center gap-3 px-6 py-3.5 rounded-xl bg-[var(--siduri-ember)] text-[#1b1619] font-sans font-semibold text-sm tracking-wide transition-all hover:brightness-110 shadow-[0_4px_20px_rgba(217,154,104,0.2)]","children":["Launch Companion",["$","svg",null,{"width":16,"height":16,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","className":"$undefined","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","$L4",null,{"href":"/operator","className":"inline-flex justify-center items-center gap-2.5 px-6 py-3.5 rounded-xl border border-[var(--siduri-border-subtle)] bg-[var(--siduri-surface)] text-[var(--siduri-text-primary)] font-sans font-medium text-sm transition-all hover:border-[var(--siduri-border-ember)] hover:bg-[var(--siduri-tint-low)]","children":[["$","svg",null,{"width":14,"height":14,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","className":"shrink-0","aria-hidden":"true","children":["$","path",null,{"d":"M18 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3H6a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3V6a3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 3 3 0 0 0-3-3z"}]}],"Operator Console"]}]]}]
|
|
19
|
-
a:["$","section",null,{"className":"py-20 md:py-28 border-b border-[var(--siduri-border-subtle)] bg-[#0e0e12]","children":["$","div",null,{"className":"home-container","children":[["$","div",null,{"className":"mb-14 text-center max-w-3xl mx-auto","children":[["$","p",null,{"className":"text-[10px] font-mono uppercase tracking-widest text-[var(--siduri-ember)] mb-2","children":"Decoupled Philosophy"}],["$","h2",null,{"className":"text-2xl sm:text-3xl font-serif font-normal text-[var(--siduri-text-primary)] mb-4","children":"The 10-Organ Architecture"}],["$","p",null,{"className":"text-sm text-[var(--siduri-text-secondary)] leading-relaxed","children":"Siduri is not a chatbot. She is a cognition runtime composed of independent organs. Every decision originates from the Brain, while other organs perceive, remember, act, and embody."}]]}],["$","div",null,{"className":"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-3 sm:gap-4","children":[["$","div","Brain",{"className":"p-4 sm:p-5 rounded-xl border border-[var(--siduri-border-subtle)] bg-[var(--siduri-surface)] transition-all hover:border-[var(--siduri-border-ember)]","children":[["$","h3",null,{"className":"text-sm font-bold font-mono text-[var(--siduri-ember-light)] mb-2","children":"Brain"}],["$","p",null,{"className":"text-xs text-[var(--siduri-text-secondary)] leading-relaxed","children":"Cognition, planning, and authoritative decision making."}]]}],["$","div","
|
|
20
|
-
b:["$","section",null,{"className":"py-16 sm:py-20 md:py-28 border-b border-[var(--siduri-border-subtle)]","children":["$","div",null,{"className":"home-container grid grid-cols-1 lg:grid-cols-2 gap-10 sm:gap-16 items-center","children":[["$","div",null,{"children":[["$","p",null,{"className":"text-[10px] font-mono uppercase tracking-widest text-[var(--siduri-ember)] mb-2","children":"Authoritative State"}],["$","h2",null,{"className":"text-2xl sm:text-3xl font-serif font-normal text-[var(--siduri-text-primary)] mb-5","children":"Blank Slate Identity"}],["$","p",null,{"className":"text-sm text-[var(--siduri-text-secondary)] leading-relaxed mb-6","children":"Unlike standard conversational agents, Siduri starts with no pre-baked persona. She
|
|
19
|
+
a:["$","section",null,{"className":"py-20 md:py-28 border-b border-[var(--siduri-border-subtle)] bg-[#0e0e12]","children":["$","div",null,{"className":"home-container","children":[["$","div",null,{"className":"mb-14 text-center max-w-3xl mx-auto","children":[["$","p",null,{"className":"text-[10px] font-mono uppercase tracking-widest text-[var(--siduri-ember)] mb-2","children":"Decoupled Philosophy"}],["$","h2",null,{"className":"text-2xl sm:text-3xl font-serif font-normal text-[var(--siduri-text-primary)] mb-4","children":"The 10-Organ Architecture"}],["$","p",null,{"className":"text-sm text-[var(--siduri-text-secondary)] leading-relaxed","children":"Siduri is not a chatbot. She is a cognition runtime composed of independent organs. Every decision originates from the Brain, while other organs perceive, remember, act, and embody."}]]}],["$","div",null,{"className":"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-3 sm:gap-4","children":[["$","div","Brain",{"className":"p-4 sm:p-5 rounded-xl border border-[var(--siduri-border-subtle)] bg-[var(--siduri-surface)] transition-all hover:border-[var(--siduri-border-ember)]","children":[["$","h3",null,{"className":"text-sm font-bold font-mono text-[var(--siduri-ember-light)] mb-2","children":"Brain"}],["$","p",null,{"className":"text-xs text-[var(--siduri-text-secondary)] leading-relaxed","children":"Cognition, planning, and authoritative decision making."}]]}],["$","div","Self",{"className":"p-4 sm:p-5 rounded-xl border border-[var(--siduri-border-subtle)] bg-[var(--siduri-surface)] transition-all hover:border-[var(--siduri-border-ember)]","children":[["$","h3",null,{"className":"text-sm font-bold font-mono text-[var(--siduri-ember-light)] mb-2","children":"Self"}],["$","p",null,{"className":"text-xs text-[var(--siduri-text-secondary)] leading-relaxed","children":"Standing identity, demeanor, trust posture, and behavioral directives."}]]}],["$","div","Knowledge",{"className":"p-4 sm:p-5 rounded-xl border border-[var(--siduri-border-subtle)] bg-[var(--siduri-surface)] transition-all hover:border-[var(--siduri-border-ember)]","children":[["$","h3",null,{"className":"text-sm font-bold font-mono text-[var(--siduri-ember-light)] mb-2","children":"Knowledge"}],["$","p",null,{"className":"text-xs text-[var(--siduri-text-secondary)] leading-relaxed","children":"Sovereign Life Database (inventory, finances, schedule) and external facts."}]]}],["$","div","Archive",{"className":"p-4 sm:p-5 rounded-xl border border-[var(--siduri-border-subtle)] bg-[var(--siduri-surface)] transition-all hover:border-[var(--siduri-border-ember)]","children":[["$","h3",null,{"className":"text-sm font-bold font-mono text-[var(--siduri-ember-light)] mb-2","children":"Archive"}],["$","p",null,{"className":"text-xs text-[var(--siduri-text-secondary)] leading-relaxed","children":"SQLite FTS5 append-only audit ledger of past occurrences and interaction history."}]]}],["$","div","Hands",{"className":"p-4 sm:p-5 rounded-xl border border-[var(--siduri-border-subtle)] bg-[var(--siduri-surface)] transition-all hover:border-[var(--siduri-border-ember)]","children":[["$","h3",null,{"className":"text-sm font-bold font-mono text-[var(--siduri-ember-light)] mb-2","children":"Hands"}],["$","p",null,{"className":"text-xs text-[var(--siduri-text-secondary)] leading-relaxed","children":"Tool execution and strict cryptographic action policy capabilities."}]]}],["$","div","Ear",{"className":"p-4 sm:p-5 rounded-xl border border-[var(--siduri-border-subtle)] bg-[var(--siduri-surface)] transition-all hover:border-[var(--siduri-border-ember)]","children":[["$","h3",null,{"className":"text-sm font-bold font-mono text-[var(--siduri-ember-light)] mb-2","children":"Ear"}],"$L11"]}],"$L12","$L13","$L14","$L15"]}]]}]}]
|
|
20
|
+
b:["$","section",null,{"className":"py-16 sm:py-20 md:py-28 border-b border-[var(--siduri-border-subtle)]","children":["$","div",null,{"className":"home-container grid grid-cols-1 lg:grid-cols-2 gap-10 sm:gap-16 items-center","children":[["$","div",null,{"children":[["$","p",null,{"className":"text-[10px] font-mono uppercase tracking-widest text-[var(--siduri-ember)] mb-2","children":"Authoritative State"}],["$","h2",null,{"className":"text-2xl sm:text-3xl font-serif font-normal text-[var(--siduri-text-primary)] mb-5","children":"Blank Slate Identity"}],["$","p",null,{"className":"text-sm text-[var(--siduri-text-secondary)] leading-relaxed mb-6","children":"Unlike standard conversational agents, Siduri starts with no pre-baked persona. She establishes directives and life state over time. When you share preferences, they are staged as structured candidates. You decide what shapes her standing disposition with explicit single-click approval."}],["$","ul",null,{"className":"space-y-3 text-xs text-[var(--siduri-text-muted)] font-mono","children":[["$","li",null,{"className":"flex items-center gap-2.5","children":[["$","svg",null,{"width":14,"height":14,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","className":"text-[var(--siduri-online)] shrink-0","aria-hidden":"true","children":["$","polyline",null,{"points":"20 6 9 17 4 12"}]}],["$","span",null,{"children":"No hidden relationship assumptions"}]]}],["$","li",null,{"className":"flex items-center gap-2.5","children":[["$","svg",null,{"width":14,"height":14,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","className":"text-[var(--siduri-online)] shrink-0","aria-hidden":"true","children":["$","polyline",null,{"points":"20 6 9 17 4 12"}]}],["$","span",null,{"children":"Audited interaction history & sovereign Life DB"}]]}],["$","li",null,{"className":"flex items-center gap-2.5","children":[["$","svg",null,{"width":14,"height":14,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","className":"text-[var(--siduri-online)] shrink-0","aria-hidden":"true","children":["$","polyline",null,{"points":"20 6 9 17 4 12"}]}],["$","span",null,{"children":"Full revocation and override controls"}]]}]]}]]}],["$","div",null,{"className":"p-5 sm:p-8 rounded-2xl border border-[var(--siduri-border-ember)] bg-[var(--siduri-surface)] shadow-[0_10px_35px_rgba(0,0,0,0.4)] relative","children":[["$","div",null,{"className":"absolute top-0 right-6 sm:right-8 -translate-y-1/2 bg-[var(--siduri-bg)] px-3 text-[10px] font-mono text-[var(--siduri-ember)] tracking-widest uppercase","children":"Operator View"}],["$","div",null,{"className":"space-y-4 font-mono text-xs","children":["$","div",null,{"className":"p-3 border border-[var(--siduri-border-subtle)] rounded bg-[#13131a]","children":[["$","div",null,{"className":"text-[var(--siduri-text-muted)] mb-1","children":"Incoming Claim"}],["$","div",null,{"className":"text-[var(--siduri-online)] font-bold break-words","children":"“User prefers concise, technical explanations.”"}],["$","div",null,{"className":"flex flex-wrap gap-2 mt-3","children":[["$","span",null,{"className":"bg-[var(--siduri-online)] text-black px-2.5 py-1 rounded font-bold cursor-pointer text-xs","children":"APPROVE"}],["$","span",null,{"className":"border border-[var(--siduri-border-subtle)] text-[var(--siduri-text-muted)] px-2.5 py-1 rounded cursor-pointer text-xs","children":"REJECT"}]]}]]}]}]]}]]}]}]
|
|
21
21
|
c:["$","section",null,{"className":"py-16 sm:py-20 md:py-28 bg-[#09090c]","children":["$","div",null,{"className":"home-container text-center max-w-2xl mx-auto px-4","children":[["$","h2",null,{"className":"text-2xl sm:text-4xl font-serif font-normal text-[var(--siduri-text-primary)] mb-5","children":"Private, local, and yours."}],["$","p",null,{"className":"text-sm text-[var(--siduri-text-secondary)] leading-relaxed mb-8","children":"Siduri is designed for local-first operations and explicit consent. The CLI dynamically generates a standalone companion instance leveraging only the organ packages you need. Run it completely on your own machine."}],["$","div",null,{"className":"bg-[#13131a] p-3.5 sm:p-4 rounded-xl border border-[var(--siduri-border-subtle)] inline-block text-left text-xs sm:text-sm font-mono text-[var(--siduri-text-primary)] shadow-lg mx-auto max-w-full overflow-x-auto","children":[["$","span",null,{"className":"text-emerald-400","children":"$$"}]," npx @vxnus/siduri create my-companion"]}]]}]}]
|
|
22
22
|
d:["$","footer",null,{"className":"py-14 border-t border-[var(--siduri-border-subtle)] bg-[#0e0e12]","children":["$","div",null,{"className":"home-container flex flex-col sm:flex-row items-center justify-between gap-6","children":[["$","div",null,{"className":"flex items-center gap-3","children":[["$","img",null,{"src":"/logo-circle.svg","alt":"Siduri-X Logo","className":"w-5 h-5 rounded-full shrink-0","width":20,"height":20}],["$","span",null,{"className":"font-bold tracking-widest text-xs text-[var(--siduri-text-primary)]","children":"SIDURI-X"}]]}],["$","p",null,{"className":"text-xs text-[var(--siduri-text-dim)] font-sans text-center sm:text-left","children":"Local-first AI companion framework."}],["$","div",null,{"className":"flex items-center gap-5 text-xs text-[var(--siduri-text-muted)]","children":[["$","$L4",null,{"href":"/chat","className":"hover:text-[var(--siduri-text-primary)]","children":"Chat"}],["$","$L4",null,{"href":"/operator","className":"hover:text-[var(--siduri-text-primary)]","children":"Operator"}]]}]]}]}]
|
|
23
|
-
e:["$","$
|
|
24
|
-
f:["$","$1","h",{"children":[null,["$","$
|
|
25
|
-
11:["$","
|
|
26
|
-
12:["$","div","
|
|
27
|
-
13:["$","div","
|
|
28
|
-
14:["$","div","
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
23
|
+
e:["$","$L16",null,{"children":["$","$17",null,{"name":"Next.MetadataOutlet","children":"$@18"}]}]
|
|
24
|
+
f:["$","$1","h",{"children":[null,["$","$L19",null,{"children":"$L1a"}],["$","div",null,{"hidden":true,"children":["$","$L1b",null,{"children":["$","$17",null,{"name":"Next.Metadata","children":"$L1c"}]}]}],null]}]
|
|
25
|
+
11:["$","p",null,{"className":"text-xs text-[var(--siduri-text-secondary)] leading-relaxed","children":"Audio transcription, perception, and sensory input ingestion."}]
|
|
26
|
+
12:["$","div","Vision",{"className":"p-4 sm:p-5 rounded-xl border border-[var(--siduri-border-subtle)] bg-[var(--siduri-surface)] transition-all hover:border-[var(--siduri-border-ember)]","children":[["$","h3",null,{"className":"text-sm font-bold font-mono text-[var(--siduri-ember-light)] mb-2","children":"Vision"}],["$","p",null,{"className":"text-xs text-[var(--siduri-text-secondary)] leading-relaxed","children":"Visual observation, cropping, and OCR interpretation."}]]}]
|
|
27
|
+
13:["$","div","Voice",{"className":"p-4 sm:p-5 rounded-xl border border-[var(--siduri-border-subtle)] bg-[var(--siduri-surface)] transition-all hover:border-[var(--siduri-border-ember)]","children":[["$","h3",null,{"className":"text-sm font-bold font-mono text-[var(--siduri-ember-light)] mb-2","children":"Voice"}],["$","p",null,{"className":"text-xs text-[var(--siduri-text-secondary)] leading-relaxed","children":"Queued speech synthesis (Edge-TTS, Kokoro, Piper, VOICEVOX) and auditory expression."}]]}]
|
|
28
|
+
14:["$","div","Body",{"className":"p-4 sm:p-5 rounded-xl border border-[var(--siduri-border-subtle)] bg-[var(--siduri-surface)] transition-all hover:border-[var(--siduri-border-ember)]","children":[["$","h3",null,{"className":"text-sm font-bold font-mono text-[var(--siduri-ember-light)] mb-2","children":"Body"}],["$","p",null,{"className":"text-xs text-[var(--siduri-text-secondary)] leading-relaxed","children":"Renderer-agnostic avatar expression (Live2D) and embodiment."}]]}]
|
|
29
|
+
15:["$","div","Observation",{"className":"p-4 sm:p-5 rounded-xl border border-[var(--siduri-border-subtle)] bg-[var(--siduri-surface)] transition-all hover:border-[var(--siduri-border-ember)]","children":[["$","h3",null,{"className":"text-sm font-bold font-mono text-[var(--siduri-ember-light)] mb-2","children":"Observation"}],["$","p",null,{"className":"text-xs text-[var(--siduri-text-secondary)] leading-relaxed","children":"Event frame deduplication and real-time evidence extraction."}]]}]
|
|
30
|
+
1a:[["$","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"}]]
|
|
31
|
+
1d:I[3366,[],"IconMark"]
|
|
32
|
+
18:null
|
|
33
|
+
1c:[["$","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"}],["$","$L1d","6",{}]]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
2
|
2:I[8766,[],""]
|
|
3
3
|
3:I[356,[],""]
|
|
4
|
-
4:I[3449,["426","static/chunks/426-9f7f6e7fffd4c3c3.js","939","static/chunks/app/operator/page-
|
|
4
|
+
4:I[3449,["426","static/chunks/426-9f7f6e7fffd4c3c3.js","939","static/chunks/app/operator/page-e18364329865cb68.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/ceeb8e5596664b11.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":["","operator",""],"q":"","i":false,"f":[[["",{"children":["operator",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ceeb8e5596664b11.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":["","operator",""],"q":"","i":false,"f":[[["",{"children":["operator",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ceeb8e5596664b11.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":"TAssFHX71jXsDINzGLNGT"}
|
|
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/ceeb8e5596664b11.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":"operator","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":"operator","param":null,"prefetchHints":4192,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}}}},"staleTime":300,"buildId":"TAssFHX71jXsDINzGLNGT"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[3449,["426","static/chunks/426-9f7f6e7fffd4c3c3.js","939","static/chunks/app/operator/page-
|
|
2
|
+
2:I[3449,["426","static/chunks/426-9f7f6e7fffd4c3c3.js","939","static/chunks/app/operator/page-e18364329865cb68.js"],"default"]
|
|
3
3
|
3:I[5127,[],"OutletBoundary"]
|
|
4
4
|
4:"$Sreact.suspense"
|
|
5
5
|
8:I[5127,[],"ViewportBoundary"]
|
|
@@ -12,7 +12,7 @@ d:I[356,[],""]
|
|
|
12
12
|
7:X
|
|
13
13
|
f:X
|
|
14
14
|
f:C
|
|
15
|
-
0:{"buildId":"
|
|
15
|
+
0:{"buildId":"TAssFHX71jXsDINzGLNGT","data":[{"rsc":["$","$1","c",{"children":[["$","$L2",null,{}],null,["$","$L3",null,{"children":["$","$4",null,{"name":"Next.MetadataOutlet","children":"$@5"}]}]]}],"isPartial":"$@6","staleTime":"$7","varyParams":null},{"rsc":["$","$1","h",{"children":[null,["$","$L8",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":["$","$L9",null,{"children":["$","$4",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"}],["$","$La","6",{}]]}]}]}],null]}],"isPartial":"$@b","staleTime":"$7","varyParams":null},{"rsc":["$","$1","c",{"children":[null,["$","$Lc",null,{"parallelRouterKey":"children","template":["$","$Ld",null,{}]}]]}],"isPartial":"$@e","staleTime":"$7","varyParams":"$f"},{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ceeb8e5596664b11.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":["$","$Lc",null,{"parallelRouterKey":"children","template":["$","$Ld",null,{}],"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."}]}]]}]}]],[]]}]}]]}]]}],"isPartial":"$@10","staleTime":"$7","varyParams":null}],"isUpgradeableISRFallback":false,"a":"$@11","rootVaryParams":null,"needsRuntimeRequest":"$@12"}
|
|
16
16
|
5:null
|
|
17
17
|
7:300
|
|
18
18
|
12:true
|
|
@@ -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/ceeb8e5596664b11.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-9073f434bc17ce16.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><script src="/_next/static/chunks/426-9f7f6e7fffd4c3c3.js" async=""></script><script src="/_next/static/chunks/app/operator/page-6b2d0ba884183ad7.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"/><link rel="preconnect" href="https://fonts.googleapis.com"/><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous"/><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><main class="console-app"><aside class="console-sidebar"><div class="console-sidebar-header flex items-center justify-between w-full"><a class="console-brand" href="/chat"><span class="console-brand-mark">S</span><span>SIDURI</span></a><a href="/chat" class="console-mobile-back inline-flex items-center gap-1" aria-label="Back to chat"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></svg>Chat</a></div><div class="console-context"><span class="console-context-dot"></span>Operator workspace</div><nav class="console-nav" aria-label="Console sections"><button class="active"><span class="nav-glyph nav-overview"></span>Overview</button><button class=""><span class="nav-glyph nav-memory"></span>Memory</button><button class=""><span class="nav-glyph nav-lifedb"></span>Life DB</button><button class=""><span class="nav-glyph nav-evidence"></span>Evidence</button><button class=""><span class="nav-glyph nav-logs"></span>Logs</button><button class=""><span class="nav-glyph nav-settings"></span>Settings</button></nav><div class="console-sidebar-bottom"><a href="/chat" class="inline-flex items-center gap-1"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></svg>Private chat</a><span>Local operator surface</span></div></aside><section class="console-main"><header class="console-topbar"><div><p class="console-eyebrow">SIDURI / OPERATOR</p><h1>Control room</h1></div><div class="console-top-actions"><a href="/chat" class="console-back-link inline-flex items-center gap-1" title="Return to Private Chat"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></svg>Chat</a><span class="console-version">v<!-- -->—</span><button type="button" class="console-refresh" aria-label="Refresh dashboard"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="23 4 23 10 17 10"></polyline><polyline points="1 20 1 14 7 14"></polyline><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"></path></svg></button></div></header><div class="console-view"><div class="status-grid"><article class="status-card"><div class="status-card-top"><span>Orchestrator</span><i class="status-dot warn"></i></div><strong>Checking</strong><small>—</small></article><article class="status-card"><div class="status-card-top"><span>Voice</span><i class="status-dot warn"></i></div><strong>Checking</strong><small>—</small></article><article class="status-card"><div class="status-card-top"><span>OBS capture</span><i class="status-dot warn"></i></div><strong>Checking</strong><small>—</small></article></div><div class="console-columns"><section class="console-panel approval-panel"><div class="panel-header"><h2>Response gate</h2><button class="inline-flex items-center gap-1">Review policy<!-- --> <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg></button></div><div class="gate-row"><span class="gate-icon flex items-center justify-center ready"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="shrink-0" aria-hidden="true"><polyline points="20 6 9 17 4 12"></polyline></svg></span><div><strong>No response awaiting approval</strong><p>Local mock responses remain private.</p></div></div><div class="button-row"><button>Trigger mock response</button><button class="soft-button">Observe and respond</button></div></section><section class="console-panel queue-panel"><div class="panel-header"><h2>Needs attention</h2><button class="inline-flex items-center gap-1">View memory<!-- --> <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg></button></div><div class="queue-row"><span>Memory proposals</span><b class="queue-count quiet">0</b></div></section></div><section class="console-panel quick-panel"><div class="panel-header"><h2>Quick actions</h2></div><div class="quick-actions"><button class="inline-flex items-center justify-between">Review memory <span><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg></span></button><button class="inline-flex items-center justify-between">Inspect Life DB <span><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg></span></button><button class="inline-flex items-center justify-between">Inspect evidence <span><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg></span></button><button class="inline-flex items-center justify-between">Identity & Directives <span><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg></span></button></div></section></div></section></main><!--$--><!--/$--><script src="/_next/static/chunks/webpack-9073f434bc17ce16.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[3449,[\"426\",\"static/chunks/426-9f7f6e7fffd4c3c3.js\",\"939\",\"static/chunks/app/operator/page-6b2d0ba884183ad7.js\"],\"default\"]\n5:I[5127,[],\"OutletBoundary\"]\n6:\"$Sreact.suspense\"\n9:I[5127,[],\"ViewportBoundary\"]\nb:I[5127,[],\"MetadataBoundary\"]\nd:I[6886,[],\"default\",1]\n:HL[\"/_next/static/css/ceeb8e5596664b11.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\"]\n8:X\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"operator\",\"\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"operator\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/ceeb8e5596664b11.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\":[[[\"$\",\"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\":\"4aL_iP3FHsLSyHzCnRQYD\"}\n"])</script><script>self.__next_f.push([1,"8:C\na:[[\"$\",\"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,"e:I[3366,[],\"IconMark\"]\n7:null\nc:[[\"$\",\"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\"}],[\"$\",\"$Le\",\"6\",{}]]\n"])</script></body></html>
|
|
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/ceeb8e5596664b11.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-9073f434bc17ce16.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><script src="/_next/static/chunks/426-9f7f6e7fffd4c3c3.js" async=""></script><script src="/_next/static/chunks/app/operator/page-e18364329865cb68.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"/><link rel="preconnect" href="https://fonts.googleapis.com"/><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous"/><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><main class="console-app"><aside class="console-sidebar"><div class="console-sidebar-header flex items-center justify-between w-full"><a class="console-brand" href="/chat"><span class="console-brand-mark">S</span><span>SIDURI</span></a><a href="/chat" class="console-mobile-back inline-flex items-center gap-1" aria-label="Back to chat"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></svg>Chat</a></div><div class="console-context"><span class="console-context-dot"></span>Operator workspace</div><nav class="console-nav" aria-label="Console sections"><button class="active"><span class="nav-glyph nav-overview"></span>Overview</button><button class=""><span class="nav-glyph nav-memory"></span>Directives & Self</button><button class=""><span class="nav-glyph nav-lifedb"></span>Life DB</button><button class=""><span class="nav-glyph nav-evidence"></span>Evidence</button><button class=""><span class="nav-glyph nav-logs"></span>Logs</button><button class=""><span class="nav-glyph nav-settings"></span>Settings</button></nav><div class="console-sidebar-bottom"><a href="/chat" class="inline-flex items-center gap-1"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></svg>Private chat</a><span>Local operator surface</span></div></aside><section class="console-main"><header class="console-topbar"><div><p class="console-eyebrow">SIDURI / OPERATOR</p><h1>Control room</h1></div><div class="console-top-actions"><a href="/chat" class="console-back-link inline-flex items-center gap-1" title="Return to Private Chat"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></svg>Chat</a><span class="console-version">v<!-- -->—</span><button type="button" class="console-refresh" aria-label="Refresh dashboard"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="23 4 23 10 17 10"></polyline><polyline points="1 20 1 14 7 14"></polyline><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"></path></svg></button></div></header><div class="console-view"><div class="status-grid"><article class="status-card"><div class="status-card-top"><span>Orchestrator</span><i class="status-dot warn"></i></div><strong>Checking</strong><small>—</small></article><article class="status-card"><div class="status-card-top"><span>Voice</span><i class="status-dot warn"></i></div><strong>Checking</strong><small>—</small></article><article class="status-card"><div class="status-card-top"><span>OBS capture</span><i class="status-dot warn"></i></div><strong>Checking</strong><small>—</small></article></div><div class="console-columns"><section class="console-panel approval-panel"><div class="panel-header"><h2>Response gate</h2><button class="inline-flex items-center gap-1">Review policy<!-- --> <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg></button></div><div class="gate-row"><span class="gate-icon flex items-center justify-center ready"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="shrink-0" aria-hidden="true"><polyline points="20 6 9 17 4 12"></polyline></svg></span><div><strong>No response awaiting approval</strong><p>Local mock responses remain private.</p></div></div><div class="button-row"><button>Trigger mock response</button><button class="soft-button">Observe and respond</button></div></section><section class="console-panel queue-panel"><div class="panel-header"><h2>Needs attention</h2><button class="inline-flex items-center gap-1">View memory<!-- --> <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg></button></div><div class="queue-row"><span>Memory proposals</span><b class="queue-count quiet">0</b></div></section></div><section class="console-panel quick-panel"><div class="panel-header"><h2>Quick actions</h2></div><div class="quick-actions"><button class="inline-flex items-center justify-between">Review memory <span><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg></span></button><button class="inline-flex items-center justify-between">Inspect Life DB <span><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg></span></button><button class="inline-flex items-center justify-between">Inspect evidence <span><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg></span></button><button class="inline-flex items-center justify-between">Identity & Directives <span><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg></span></button></div></section></div></section></main><!--$--><!--/$--><script src="/_next/static/chunks/webpack-9073f434bc17ce16.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[3449,[\"426\",\"static/chunks/426-9f7f6e7fffd4c3c3.js\",\"939\",\"static/chunks/app/operator/page-e18364329865cb68.js\"],\"default\"]\n5:I[5127,[],\"OutletBoundary\"]\n6:\"$Sreact.suspense\"\n9:I[5127,[],\"ViewportBoundary\"]\nb:I[5127,[],\"MetadataBoundary\"]\nd:I[6886,[],\"default\",1]\n:HL[\"/_next/static/css/ceeb8e5596664b11.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\"]\n8:X\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"operator\",\"\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"operator\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/ceeb8e5596664b11.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\":[[[\"$\",\"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\":\"TAssFHX71jXsDINzGLNGT\"}\n"])</script><script>self.__next_f.push([1,"8:C\na:[[\"$\",\"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,"e:I[3366,[],\"IconMark\"]\n7:null\nc:[[\"$\",\"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\"}],[\"$\",\"$Le\",\"6\",{}]]\n"])</script></body></html>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
2
|
2:I[8766,[],""]
|
|
3
3
|
3:I[356,[],""]
|
|
4
|
-
4:I[3449,["426","static/chunks/426-9f7f6e7fffd4c3c3.js","939","static/chunks/app/operator/page-
|
|
4
|
+
4:I[3449,["426","static/chunks/426-9f7f6e7fffd4c3c3.js","939","static/chunks/app/operator/page-e18364329865cb68.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/ceeb8e5596664b11.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":["","operator",""],"q":"","i":false,"f":[[["",{"children":["operator",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ceeb8e5596664b11.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":["","operator",""],"q":"","i":false,"f":[[["",{"children":["operator",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ceeb8e5596664b11.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":"TAssFHX71jXsDINzGLNGT"}
|
|
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"]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "siduri",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Experimental CLI for installing and configuring Siduri companions",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -23,11 +23,6 @@
|
|
|
23
23
|
"siduri": "dist/index.js"
|
|
24
24
|
},
|
|
25
25
|
"main": "dist/index.js",
|
|
26
|
-
"scripts": {
|
|
27
|
-
"build": "tsc && node ./scripts/copy-web-dist.cjs",
|
|
28
|
-
"dev": "tsc -w",
|
|
29
|
-
"test": "jest --config jest.config.json"
|
|
30
|
-
},
|
|
31
26
|
"dependencies": {
|
|
32
27
|
"@vxnus/e": "^0.1.5",
|
|
33
28
|
"@vxnus/e-knowledge": "^0.1.5",
|
|
@@ -40,5 +35,10 @@
|
|
|
40
35
|
"ts-jest": "^29.4.12",
|
|
41
36
|
"typescript": "^5.9.3",
|
|
42
37
|
"@types/inquirer": "^9.0.10"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"build": "tsc && node ./scripts/copy-web-dist.cjs",
|
|
41
|
+
"dev": "tsc -w",
|
|
42
|
+
"test": "jest --config jest.config.json"
|
|
43
43
|
}
|
|
44
|
-
}
|
|
44
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
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()}]);
|