heyio 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/auth.js +6 -1
- package/dist/api/server.js +51 -0
- package/package.json +1 -1
- package/web-dist/assets/{ChatView-B9Jmzdk2.js → ChatView-BOjkWMyQ.js} +3 -3
- package/web-dist/assets/{FeedView-CrQePc7Q.js → FeedView-uKWKdQwv.js} +2 -2
- package/web-dist/assets/{LoginView-CRhhWTr8.js → LoginView-pYVaehEw.js} +1 -1
- package/web-dist/assets/{McpView-D4mCIH7x.js → McpView-nPxZGBX0.js} +1 -1
- package/web-dist/assets/{SchedulesView-4HPWN6_Z.js → SchedulesView-Dt7PEahE.js} +1 -1
- package/web-dist/assets/SettingsView-COTKGS-8.js +1 -0
- package/web-dist/assets/{SkillsView-DCixj2zS.js → SkillsView-DpdWP3V0.js} +1 -1
- package/web-dist/assets/{SquadDetailView-DfHZ-uwX.js → SquadDetailView-Dhq2NWpc.js} +2 -2
- package/web-dist/assets/{SquadsView-CNMI4rBM.js → SquadsView-DivyUzcx.js} +2 -2
- package/web-dist/assets/WikiView-CZSOKD5n.js +21 -0
- package/web-dist/assets/{api-Bzs62QeP.js → api-D2ouPK2m.js} +1 -1
- package/web-dist/assets/{index-D7M5O-_l.css → index-3PY8rYhY.css} +1 -1
- package/web-dist/assets/{index-BxzKpjKp.js → index-C7ISENGx.js} +30 -30
- package/web-dist/assets/{plus-C7dsO8j7.js → plus-BWRiMNg8.js} +1 -1
- package/web-dist/assets/{trash-2-C15lVsPO.js → trash-2-1wwkdg0F.js} +1 -1
- package/web-dist/index.html +2 -2
- package/web-dist/assets/SettingsView-DGNy9gZw.js +0 -1
- package/web-dist/assets/WikiView-DvoG-Zm8.js +0 -21
package/web-dist/index.html
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>IO — Dashboard</title>
|
|
7
7
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-C7ISENGx.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="/assets/index-3PY8rYhY.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body class="bg-background text-foreground">
|
|
12
12
|
<div id="app"></div>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as n,l,d as s,c as r,F as i,m,f as d,b as a,r as b,k as p,t as c}from"./index-BxzKpjKp.js";const x={class:"p-6"},f={class:"flex gap-1 border-b border-border mb-6"},g=["onClick"],v={key:0,class:"space-y-4 max-w-lg"},y={key:1,class:"space-y-4 max-w-lg"},w={key:2,class:"space-y-4 max-w-lg"},k={key:3,class:"space-y-4 max-w-lg"},h={key:4,class:"space-y-4 max-w-lg"},T=n({__name:"SettingsView",setup(_){const t=b("general"),u=[{id:"general",label:"General"},{id:"telegram",label:"Telegram"},{id:"auth",label:"Auth"},{id:"models",label:"Models"},{id:"advanced",label:"Advanced"}];return(S,e)=>(l(),s("div",x,[e[5]||(e[5]=r("h1",{class:"text-2xl font-bold mb-6"},"Settings",-1)),r("div",f,[(l(),s(i,null,m(u,o=>r("button",{key:o.id,onClick:A=>t.value=o.id,class:p(["px-4 py-2 text-sm font-medium border-b-2 transition-colors",t.value===o.id?"border-primary text-foreground":"border-transparent text-muted-foreground hover:text-foreground"])},c(o.label),11,g)),64))]),t.value==="general"?(l(),s("div",v,[...e[0]||(e[0]=[d('<div><label class="text-sm font-medium">Default Model</label><input value="gpt-4.1" class="mt-1 w-full rounded-md border border-input bg-background px-3 py-2 text-sm"></div><div><label class="text-sm font-medium">Port</label><input type="number" value="3170" class="mt-1 w-full rounded-md border border-input bg-background px-3 py-2 text-sm"></div><div><label class="text-sm font-medium">Background Notify Mode</label><select class="mt-1 w-full rounded-md border border-input bg-background px-3 py-2 text-sm"><option value="all">All</option><option value="meaningful" selected>Meaningful</option><option value="off">Off</option></select></div>',3)])])):a("",!0),t.value==="telegram"?(l(),s("div",y,[...e[1]||(e[1]=[d('<div><label class="text-sm font-medium">Bot Token</label><input type="password" placeholder="••••••••" class="mt-1 w-full rounded-md border border-input bg-background px-3 py-2 text-sm"></div><div><label class="text-sm font-medium">Authorized User ID</label><input type="number" placeholder="123456789" class="mt-1 w-full rounded-md border border-input bg-background px-3 py-2 text-sm"></div><div class="flex items-center gap-3"><label class="text-sm font-medium">Enable Telegram</label><button class="relative w-10 h-5 rounded-full bg-muted"><span class="absolute top-0.5 left-0.5 w-4 h-4 rounded-full bg-white"></span></button></div>',3)])])):a("",!0),t.value==="auth"?(l(),s("div",w,[...e[2]||(e[2]=[d('<div><label class="text-sm font-medium">Supabase URL</label><input placeholder="https://your-project.supabase.co" class="mt-1 w-full rounded-md border border-input bg-background px-3 py-2 text-sm"></div><div><label class="text-sm font-medium">Supabase Anon Key</label><input type="password" placeholder="••••••••" class="mt-1 w-full rounded-md border border-input bg-background px-3 py-2 text-sm"></div><div><label class="text-sm font-medium">Authorized Email</label><input type="email" placeholder="you@example.com" class="mt-1 w-full rounded-md border border-input bg-background px-3 py-2 text-sm"></div>',3)])])):a("",!0),t.value==="models"?(l(),s("div",k,[...e[3]||(e[3]=[d('<div><label class="text-sm font-medium">High Tier</label><p class="text-xs text-muted-foreground mb-1">Complex tasks (architecture, debugging)</p><input value="claude-opus-4.7, claude-opus-4.6" class="mt-1 w-full rounded-md border border-input bg-background px-3 py-2 text-sm"></div><div><label class="text-sm font-medium">Medium Tier</label><p class="text-xs text-muted-foreground mb-1">Standard tasks (features, tests)</p><input value="claude-sonnet-4.6, gpt-5.5, claude-opus-4.5" class="mt-1 w-full rounded-md border border-input bg-background px-3 py-2 text-sm"></div><div><label class="text-sm font-medium">Low Tier</label><p class="text-xs text-muted-foreground mb-1">Simple tasks (reads, formatting)</p><input value="claude-haiku-4.5, gpt-5.4-mini" class="mt-1 w-full rounded-md border border-input bg-background px-3 py-2 text-sm"></div>',3)])])):a("",!0),t.value==="advanced"?(l(),s("div",h,[...e[4]||(e[4]=[d('<div class="flex items-center justify-between"><div><label class="text-sm font-medium">Self-Edit Mode</label><p class="text-xs text-muted-foreground">Allow IO to modify its own source code</p></div><button class="relative w-10 h-5 rounded-full bg-muted"><span class="absolute top-0.5 left-0.5 w-4 h-4 rounded-full bg-white"></span></button></div><div class="flex items-center justify-between"><div><label class="text-sm font-medium">Watchdog</label><p class="text-xs text-muted-foreground">Monitor event loop and zombie instances</p></div><button class="relative w-10 h-5 rounded-full bg-primary"><span class="absolute top-0.5 w-4 h-4 rounded-full bg-white translate-x-5"></span></button></div>',2)])])):a("",!0)]))}});export{T as default};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import{e as h,i as S,o as V,l as o,d as s,c as e,h as c,u as i,z as k,x as b,b as z,F as m,m as L,B as $,t as x,r,k as B}from"./index-BxzKpjKp.js";import{b as y,d as D,a as I}from"./api-Bzs62QeP.js";import{T as j}from"./trash-2-C15lVsPO.js";/**
|
|
2
|
-
* @license lucide-vue-next v0.474.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const q=h("PencilIcon",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);/**
|
|
7
|
-
* @license lucide-vue-next v0.474.0 - ISC
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the ISC license.
|
|
10
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/const E=h("SaveIcon",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);/**
|
|
12
|
-
* @license lucide-vue-next v0.474.0 - ISC
|
|
13
|
-
*
|
|
14
|
-
* This source code is licensed under the ISC license.
|
|
15
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/const N=h("SearchIcon",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|
17
|
-
* @license lucide-vue-next v0.474.0 - ISC
|
|
18
|
-
*
|
|
19
|
-
* This source code is licensed under the ISC license.
|
|
20
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/const T=h("XIcon",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),F={class:"flex h-full"},H={class:"w-64 border-r border-border flex flex-col shrink-0"},U={class:"p-3 border-b border-border"},X={class:"relative"},G={class:"flex-1 overflow-y-auto p-2"},O={key:0,class:"text-xs text-muted-foreground p-2"},Q=["onClick"],W={class:"flex-1 flex flex-col"},A={key:0,class:"flex items-center justify-center h-full text-muted-foreground"},J={class:"text-center"},K={class:"flex items-center justify-between px-4 py-2 border-b border-border"},R={class:"text-sm font-medium font-mono"},Y={class:"flex gap-1"},Z={class:"flex-1 overflow-y-auto p-4"},ee={key:1,class:"prose prose-sm dark:prose-invert max-w-none whitespace-pre-wrap"},le=S({__name:"WikiView",setup(te){const d=r([]),a=r(null),v=r(""),u=r(!1),f=r(""),p=r(""),g=r(!0);V(async()=>{try{d.value=await y("/wiki/pages")}finally{g.value=!1}});async function _(l){a.value=l,u.value=!1;const t=await y(`/wiki/page/${l}`);v.value=t.content}function w(){f.value=v.value,u.value=!0}async function C(){a.value&&(await D(`/wiki/page/${a.value}`,{content:f.value}),v.value=f.value,u.value=!1)}async function M(){a.value&&confirm(`Delete "${a.value}"?`)&&(await I(`/wiki/page/${a.value}`),d.value=d.value.filter(l=>l!==a.value),a.value=null,v.value="")}const P=()=>{if(!p.value)return d.value;const l=p.value.toLowerCase();return d.value.filter(t=>t.toLowerCase().includes(l))};return(l,t)=>(o(),s("div",F,[e("div",H,[e("div",U,[e("div",X,[c(i(N),{class:"absolute left-2.5 top-2.5 w-3.5 h-3.5 text-muted-foreground"}),k(e("input",{"onUpdate:modelValue":t[0]||(t[0]=n=>p.value=n),placeholder:"Search pages...",class:"w-full rounded-md border border-input bg-background pl-8 pr-3 py-2 text-xs focus:outline-none focus:ring-1 focus:ring-ring"},null,512),[[b,p.value]])])]),e("div",G,[g.value?(o(),s("div",O,"Loading...")):z("",!0),(o(!0),s(m,null,L(P(),n=>(o(),s("button",{key:n,onClick:ae=>_(n),class:B(["w-full text-left px-2 py-1.5 text-xs rounded hover:bg-accent truncate transition-colors",{"bg-accent font-medium":a.value===n}])}," 📄 "+x(n),11,Q))),128))])]),e("div",W,[a.value?(o(),s(m,{key:1},[e("div",K,[e("span",R,x(a.value),1),e("div",Y,[u.value?(o(),s(m,{key:1},[e("button",{onClick:C,class:"p-1.5 rounded hover:bg-accent text-green-500",title:"Save"},[c(i(E),{class:"w-4 h-4"})]),e("button",{onClick:t[1]||(t[1]=n=>u.value=!1),class:"p-1.5 rounded hover:bg-accent text-muted-foreground",title:"Cancel"},[c(i(T),{class:"w-4 h-4"})])],64)):(o(),s(m,{key:0},[e("button",{onClick:w,class:"p-1.5 rounded hover:bg-accent text-muted-foreground",title:"Edit"},[c(i(q),{class:"w-4 h-4"})]),e("button",{onClick:M,class:"p-1.5 rounded hover:bg-destructive/10 text-muted-foreground hover:text-destructive",title:"Delete"},[c(i(j),{class:"w-4 h-4"})])],64))])]),e("div",Z,[u.value?k((o(),s("textarea",{key:0,"onUpdate:modelValue":t[2]||(t[2]=n=>f.value=n),class:"w-full h-full min-h-[400px] font-mono text-sm bg-background border border-input rounded-md p-3 focus:outline-none focus:ring-1 focus:ring-ring resize-none"},null,512)),[[b,f.value]]):(o(),s("div",ee,x(v.value),1))])],64)):(o(),s("div",A,[e("div",J,[c(i($),{class:"w-12 h-12 mx-auto mb-3 opacity-50"}),t[3]||(t[3]=e("p",null,"Select a page to view",-1))])]))])]))}});export{le as default};
|