@seqyuan/ennote 0.5.0 → 0.6.0
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 +10 -0
- package/bin/ennote.js +122 -26
- package/out/404.html +1 -1
- package/out/__next.__PAGE__.txt +4 -4
- package/out/__next._full.txt +13 -13
- package/out/__next._head.txt +4 -4
- package/out/__next._index.txt +6 -6
- package/out/__next._tree.txt +2 -2
- package/out/_next/static/chunks/{0bxrnkjb.apni.css → 042svogz3qv71.css} +1 -0
- package/out/_next/static/chunks/05rc5pno5-uub.js +8 -0
- package/out/_next/static/chunks/{0l9r.o-l3s.5h.js → 0gee9kb6nwlbz.js} +1 -1
- package/out/_not-found/__next._full.txt +11 -11
- package/out/_not-found/__next._head.txt +4 -4
- package/out/_not-found/__next._index.txt +6 -6
- package/out/_not-found/__next._not-found.__PAGE__.txt +2 -2
- package/out/_not-found/__next._not-found.txt +3 -3
- package/out/_not-found/__next._tree.txt +1 -1
- package/out/_not-found.html +1 -1
- package/out/_not-found.txt +11 -11
- package/out/graphs/__next._full.txt +13 -13
- package/out/graphs/__next._head.txt +4 -4
- package/out/graphs/__next._index.txt +6 -6
- package/out/graphs/__next._tree.txt +2 -2
- package/out/graphs/__next.graphs.__PAGE__.txt +4 -4
- package/out/graphs/__next.graphs.txt +3 -3
- package/out/graphs.html +1 -1
- package/out/graphs.txt +13 -13
- package/out/index.html +2 -2
- package/out/index.txt +13 -13
- package/out/roles/__next._full.txt +13 -13
- package/out/roles/__next._head.txt +4 -4
- package/out/roles/__next._index.txt +6 -6
- package/out/roles/__next._tree.txt +2 -2
- package/out/roles/__next.roles.__PAGE__.txt +4 -4
- package/out/roles/__next.roles.txt +3 -3
- package/out/roles.html +1 -1
- package/out/roles.txt +13 -13
- package/package.json +17 -3
- package/out/_next/static/chunks/01j7xr5p-4q8-.js +0 -8
- /package/out/_next/static/{I9_aKPkRc3su-s0AsXKQM → 1IULeStFBlnqxNnZLaKnI}/_buildManifest.js +0 -0
- /package/out/_next/static/{I9_aKPkRc3su-s0AsXKQM → 1IULeStFBlnqxNnZLaKnI}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{I9_aKPkRc3su-s0AsXKQM → 1IULeStFBlnqxNnZLaKnI}/_ssgManifest.js +0 -0
package/out/roles.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/0r3uxu723bo0o.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/0k-~g5-_lbznv.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/0bxrnkjb.apni.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0j-yjan8jn-8-.js"/><script src="/_next/static/chunks/0398hkm93nbvg.js" async=""></script><script src="/_next/static/chunks/0-j.wjqnc6zff.js" async=""></script><script src="/_next/static/chunks/turbopack-0~_.ya0bk7q2w.js" async=""></script><script src="/_next/static/chunks/0_yt3a8a9j1yd.js" async=""></script><script src="/_next/static/chunks/0e~k9df0bajhc.js" async=""></script><script src="/_next/static/chunks/0l9r.o-l3s.5h.js" async=""></script><script src="/_next/static/chunks/0twsdyb7~zp7n.js" async=""></script><script src="/_next/static/chunks/01j7xr5p-4q8-.js" async=""></script><title>Ennote</title><meta name="description" content="Auditable local agent runtime built around Agent Flow"/><link rel="icon" href="/icon.png?icon.0l6z533ta5iiy.png" sizes="64x64" type="image/png"/><script id="theme-init">(function(){try{var t=localStorage.getItem("ennote-theme");var d=t==="dark"||(t!=="light"&&matchMedia("(prefers-color-scheme:dark)").matches);document.documentElement.classList.toggle("dark",d);document.documentElement.dataset.theme=d?"dark":"light"}catch(e){}})();</script><script id="locale-init">(function(){try{var l=localStorage.getItem("ennote-locale");document.documentElement.lang=(l==="zh-CN")?"zh-CN":"en"}catch(e){}})();</script><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body style="height:100dvh;display:flex;flex-direction:column"><div hidden=""><!--$--><!--/$--></div><div class="app-shell" data-testid="ennote-shell"><div class="sidebar-overlay-backdrop" data-open="true"></div><div class="sidebar-container sidebar-open" id="workspace-navigation" style="width:280px;min-width:280px;transition:none"><aside class="sidebar quiet-bars" aria-label="Projects and sessions"><div class="sidebar-logo-row"><div class="sidebar-brand"><span class="sidebar-brand-identity"><span class="brand-mark"><svg width="20" height="20" viewBox="0 0 32 32" fill="none" aria-hidden="true" focusable="false"><rect x="1" y="1" width="30" height="30" rx="9" fill="currentColor" opacity="0.10"></rect><path d="M11 9.5h10.5M11 16h8M11 22.5h10.5M11 9.5v13" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"></path></svg></span><span class="sidebar-brand-name">Ennote</span></span></div><button type="button" class="sidebar-collapse-toggle" title="Collapse sidebar" aria-label="Collapse navigation" aria-expanded="true" aria-controls="workspace-navigation"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-panel-left" aria-hidden="true"><rect width="18" height="18" x="3" y="3" rx="2"></rect><path d="M9 3v18"></path></svg></button><button type="button" class="sidebar-close-nav navigation-close" aria-label="Close navigation"><svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-x" aria-hidden="true"><path d="M18 6 6 18"></path><path d="m6 6 12 12"></path></svg></button></div><button type="button" class="sidebar-new-session" disabled="" aria-label="New chat" title="Select a project first"><svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-message-square-plus" aria-hidden="true"><path d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z"></path><path d="M12 8v6"></path><path d="M9 11h6"></path></svg><span>New Chat</span></button><nav class="sidebar-nav" aria-label="Workspace"><button type="button" class="sidebar-nav-item active" aria-current="page"><span class="nav-icon"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-bot" aria-hidden="true"><path d="M12 8V4H8"></path><rect width="16" height="12" x="4" y="8" rx="2"></rect><path d="M2 14h2"></path><path d="M20 14h2"></path><path d="M15 13v2"></path><path d="M9 13v2"></path></svg></span><span>Roles</span></button><button type="button" class="sidebar-nav-item "><span class="nav-icon"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-workflow" aria-hidden="true"><rect width="8" height="8" x="3" y="3" rx="2"></rect><path d="M7 11v4a2 2 0 0 0 2 2h4"></path><rect width="8" height="8" x="13" y="13" rx="2"></rect></svg></span><span>Graphs</span></button></nav><div class="sidebar-workspace-head"><span class="workspace-label">Workspaces</span><div class="workspace-search-slot"><div class="workspace-search"><button type="button" class="workspace-action-button workspace-search-button" aria-label="Search sessions" aria-expanded="false" title="Search sessions"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-search" aria-hidden="true"><path d="m21 21-4.34-4.34"></path><circle cx="11" cy="11" r="8"></circle></svg></button><input type="text" tabindex="-1" placeholder="Search sessions" aria-label="Search sessions" value=""/></div></div><div class="workspace-head-actions"><button type="button" class="workspace-action-button" aria-label="Add workspace" title="Add workspace"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-folder-plus" aria-hidden="true"><path d="M12 10v6"></path><path d="M9 13h6"></path><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"></path></svg></button></div></div><div class="sidebar-project-selector ProjectSelector-module__RVW5Pa__root"><button type="button" class="ProjectSelector-module__RVW5Pa__trigger" title="Select project" aria-haspopup="menu" aria-expanded="false"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-folder ProjectSelector-module__RVW5Pa__folder" aria-hidden="true"><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"></path></svg><span class="ProjectSelector-module__RVW5Pa__label">Select project…</span><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down ProjectSelector-module__RVW5Pa__chevron" aria-hidden="true"><path d="m6 9 6 6 6-6"></path></svg></button></div><div class="sidebar-empty-project"><div>Choose a project to start.</div></div><span class="sr-only" role="status" aria-live="polite"></span><div class="sidebar-settings"><button type="button" class="sidebar-settings-trigger" aria-haspopup="dialog" aria-expanded="false"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings2 lucide-settings-2" aria-hidden="true"><path d="M14 17H5"></path><path d="M19 7h-9"></path><circle cx="17" cy="17" r="3"></circle><circle cx="7" cy="7" r="3"></circle></svg><span>Settings</span></button></div></aside></div><div role="separator" aria-label="Resize sidebar" aria-orientation="vertical" aria-valuemin="264" aria-valuemax="420" aria-valuenow="280" tabindex="0" class="resize-handle" data-side="right" style="align-self:stretch;cursor:col-resize;display:flex;flex-shrink:0;justify-content:center;margin-left:-5px;margin-right:-5px;position:relative;touch-action:none;width:10px;z-index:var(--layer-drag-overlay)"><div class="resize-handle-line"></div></div><div class="workspace-content"><div class="settings-view" data-testid="roles-page"><button type="button" class="workspace-mobile-menu" aria-label="Open navigation"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-menu" aria-hidden="true"><path d="M4 5h16"></path><path d="M4 12h16"></path><path d="M4 19h16"></path></svg></button><header class="workspace-page-header"><div><h1>Roles</h1><p>Global reusable execution presets for Chat and Graph Tasks.</p></div><button type="button" class="settings-view-back"><svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-left" aria-hidden="true"><path d="m12 19-7-7 7-7"></path><path d="M19 12H5"></path></svg> Chat</button></header><div class="workspace-page-body"><div class="global-roles "><aside class="global-roles-list"><header><div><strong>Role catalog</strong><span>0<!-- --> global Roles</span></div><button type="button" aria-label="Add Role"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus" aria-hidden="true"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg></button></header><label class="global-role-search"><svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-search" aria-hidden="true"><path d="m21 21-4.34-4.34"></path><circle cx="11" cy="11" r="8"></circle></svg><input placeholder="Search Roles" value=""/></label><div role="listbox" aria-label="Global Roles"><div class="roles-empty">No global Roles</div></div></aside><section class="global-role-detail"><div class="roles-detail-empty"><svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-bot" aria-hidden="true"><path d="M12 8V4H8"></path><rect width="16" height="12" x="4" y="8" rx="2"></rect><path d="M2 14h2"></path><path d="M20 14h2"></path><path d="M15 13v2"></path><path d="M9 13v2"></path></svg> Select or create a Role</div></section></div></div></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/0j-yjan8jn-8-.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[26356,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0l9r.o-l3s.5h.js\"],\"WorkerGenerationGuard\"]\n3:I[27437,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0l9r.o-l3s.5h.js\"],\"LocaleProvider\"]\n4:I[85026,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0l9r.o-l3s.5h.js\"],\"WorkspaceProvider\"]\n5:I[39756,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0l9r.o-l3s.5h.js\"],\"default\"]\n6:I[37457,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0l9r.o-l3s.5h.js\"],\"default\"]\n7:I[59665,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0l9r.o-l3s.5h.js\",\"/_next/static/chunks/0twsdyb7~zp7n.js\",\"/_next/static/chunks/01j7xr5p-4q8-.js\"],\"AppShell\"]\n8:I[97367,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0l9r.o-l3s.5h.js\"],\"OutletBoundary\"]\n9:\"$Sreact.suspense\"\nc:I[97367,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0l9r.o-l3s.5h.js\"],\"ViewportBoundary\"]\ne:I[97367,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0l9r.o-l3s.5h.js\"],\"MetadataBoundary\"]\n10:I[68027,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0l9r.o-l3s.5h.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/0r3uxu723bo0o.css\",\"style\"]\n:HL[\"/_next/static/chunks/0k-~g5-_lbznv.css\",\"style\"]\n:HL[\"/_next/static/chunks/0bxrnkjb.apni.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"roles\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"roles\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0r3uxu723bo0o.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0k-~g5-_lbznv.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/0e~k9df0bajhc.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/0l9r.o-l3s.5h.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"script\",null,{\"id\":\"theme-init\",\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{var t=localStorage.getItem(\\\"ennote-theme\\\");var d=t===\\\"dark\\\"||(t!==\\\"light\\\"\u0026\u0026matchMedia(\\\"(prefers-color-scheme:dark)\\\").matches);document.documentElement.classList.toggle(\\\"dark\\\",d);document.documentElement.dataset.theme=d?\\\"dark\\\":\\\"light\\\"}catch(e){}})();\"}}],[\"$\",\"script\",null,{\"id\":\"locale-init\",\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{var l=localStorage.getItem(\\\"ennote-locale\\\");document.documentElement.lang=(l===\\\"zh-CN\\\")?\\\"zh-CN\\\":\\\"en\\\"}catch(e){}})();\"}}]]}],[\"$\",\"body\",null,{\"style\":{\"height\":\"100dvh\",\"display\":\"flex\",\"flexDirection\":\"column\"},\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",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,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L7\",null,{\"initialView\":\"roles\"}],[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0bxrnkjb.apni.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0twsdyb7~zp7n.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/01j7xr5p-4q8-.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@a\"}]}]]}],{},null,false,null]},null,false,\"$@b\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Le\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lf\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$10\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0r3uxu723bo0o.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0k-~g5-_lbznv.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"I9_aKPkRc3su-s0AsXKQM\"}\n"])</script><script>self.__next_f.push([1,"11:[]\nb:\"$W11\"\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"12:I[27201,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0l9r.o-l3s.5h.js\"],\"IconMark\"]\na:null\nf:[[\"$\",\"title\",\"0\",{\"children\":\"Ennote\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Auditable local agent runtime built around Agent Flow\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/icon.png?icon.0l6z533ta5iiy.png\",\"sizes\":\"64x64\",\"type\":\"image/png\"}],[\"$\",\"$L12\",\"3\",{}]]\n"])</script></body></html>
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/0r3uxu723bo0o.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/0k-~g5-_lbznv.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/042svogz3qv71.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0j-yjan8jn-8-.js"/><script src="/_next/static/chunks/0398hkm93nbvg.js" async=""></script><script src="/_next/static/chunks/0-j.wjqnc6zff.js" async=""></script><script src="/_next/static/chunks/turbopack-0~_.ya0bk7q2w.js" async=""></script><script src="/_next/static/chunks/0_yt3a8a9j1yd.js" async=""></script><script src="/_next/static/chunks/0e~k9df0bajhc.js" async=""></script><script src="/_next/static/chunks/0gee9kb6nwlbz.js" async=""></script><script src="/_next/static/chunks/0twsdyb7~zp7n.js" async=""></script><script src="/_next/static/chunks/05rc5pno5-uub.js" async=""></script><title>Ennote</title><meta name="description" content="Auditable local agent runtime built around Agent Flow"/><link rel="icon" href="/icon.png?icon.0l6z533ta5iiy.png" sizes="64x64" type="image/png"/><script id="theme-init">(function(){try{var t=localStorage.getItem("ennote-theme");var d=t==="dark"||(t!=="light"&&matchMedia("(prefers-color-scheme:dark)").matches);document.documentElement.classList.toggle("dark",d);document.documentElement.dataset.theme=d?"dark":"light"}catch(e){}})();</script><script id="locale-init">(function(){try{var l=localStorage.getItem("ennote-locale");document.documentElement.lang=(l==="zh-CN")?"zh-CN":"en"}catch(e){}})();</script><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body style="height:100dvh;display:flex;flex-direction:column"><div hidden=""><!--$--><!--/$--></div><div class="app-shell" data-testid="ennote-shell"><div class="sidebar-overlay-backdrop" data-open="true"></div><div class="sidebar-container sidebar-open" id="workspace-navigation" style="width:280px;min-width:280px;transition:none"><aside class="sidebar quiet-bars" aria-label="Projects and sessions"><div class="sidebar-logo-row"><div class="sidebar-brand"><span class="sidebar-brand-identity"><span class="brand-mark"><svg width="20" height="20" viewBox="0 0 32 32" fill="none" aria-hidden="true" focusable="false"><rect x="1" y="1" width="30" height="30" rx="9" fill="currentColor" opacity="0.10"></rect><path d="M11 9.5h10.5M11 16h8M11 22.5h10.5M11 9.5v13" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"></path></svg></span><span class="sidebar-brand-name">Ennote</span></span></div><button type="button" class="sidebar-collapse-toggle" title="Collapse sidebar" aria-label="Collapse navigation" aria-expanded="true" aria-controls="workspace-navigation"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-panel-left" aria-hidden="true"><rect width="18" height="18" x="3" y="3" rx="2"></rect><path d="M9 3v18"></path></svg></button><button type="button" class="sidebar-close-nav navigation-close" aria-label="Close navigation"><svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-x" aria-hidden="true"><path d="M18 6 6 18"></path><path d="m6 6 12 12"></path></svg></button></div><button type="button" class="sidebar-new-session" disabled="" aria-label="New chat" title="Select a project first"><svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-message-square-plus" aria-hidden="true"><path d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z"></path><path d="M12 8v6"></path><path d="M9 11h6"></path></svg><span>New Chat</span></button><nav class="sidebar-nav" aria-label="Workspace"><button type="button" class="sidebar-nav-item active" aria-current="page"><span class="nav-icon"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-bot" aria-hidden="true"><path d="M12 8V4H8"></path><rect width="16" height="12" x="4" y="8" rx="2"></rect><path d="M2 14h2"></path><path d="M20 14h2"></path><path d="M15 13v2"></path><path d="M9 13v2"></path></svg></span><span>Roles</span></button><button type="button" class="sidebar-nav-item "><span class="nav-icon"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-workflow" aria-hidden="true"><rect width="8" height="8" x="3" y="3" rx="2"></rect><path d="M7 11v4a2 2 0 0 0 2 2h4"></path><rect width="8" height="8" x="13" y="13" rx="2"></rect></svg></span><span>Graphs</span></button></nav><div class="sidebar-workspace-head"><span class="workspace-label">Workspaces</span><div class="workspace-search-slot"><div class="workspace-search"><button type="button" class="workspace-action-button workspace-search-button" aria-label="Search sessions" aria-expanded="false" title="Search sessions"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-search" aria-hidden="true"><path d="m21 21-4.34-4.34"></path><circle cx="11" cy="11" r="8"></circle></svg></button><input type="text" tabindex="-1" placeholder="Search sessions" aria-label="Search sessions" value=""/></div></div><div class="workspace-head-actions"><button type="button" class="workspace-action-button" aria-label="Add workspace" title="Add workspace"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-folder-plus" aria-hidden="true"><path d="M12 10v6"></path><path d="M9 13h6"></path><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"></path></svg></button></div></div><div class="sidebar-project-selector ProjectSelector-module__RVW5Pa__root"><button type="button" class="ProjectSelector-module__RVW5Pa__trigger" title="Select project" aria-haspopup="menu" aria-expanded="false"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-folder ProjectSelector-module__RVW5Pa__folder" aria-hidden="true"><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"></path></svg><span class="ProjectSelector-module__RVW5Pa__label">Select project…</span><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down ProjectSelector-module__RVW5Pa__chevron" aria-hidden="true"><path d="m6 9 6 6 6-6"></path></svg></button></div><div class="sidebar-empty-project"><div>Choose a project to start.</div></div><span class="sr-only" role="status" aria-live="polite"></span><div class="sidebar-settings"><button type="button" class="sidebar-settings-trigger" aria-haspopup="dialog" aria-expanded="false"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings2 lucide-settings-2" aria-hidden="true"><path d="M14 17H5"></path><path d="M19 7h-9"></path><circle cx="17" cy="17" r="3"></circle><circle cx="7" cy="7" r="3"></circle></svg><span>Settings</span></button></div></aside></div><div role="separator" aria-label="Resize sidebar" aria-orientation="vertical" aria-valuemin="264" aria-valuemax="420" aria-valuenow="280" tabindex="0" class="resize-handle" data-side="right" style="align-self:stretch;cursor:col-resize;display:flex;flex-shrink:0;justify-content:center;margin-left:-5px;margin-right:-5px;position:relative;touch-action:none;width:10px;z-index:var(--layer-drag-overlay)"><div class="resize-handle-line"></div></div><div class="workspace-content"><div class="settings-view" data-testid="roles-page"><button type="button" class="workspace-mobile-menu" aria-label="Open navigation"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-menu" aria-hidden="true"><path d="M4 5h16"></path><path d="M4 12h16"></path><path d="M4 19h16"></path></svg></button><header class="workspace-page-header"><div><h1>Roles</h1><p>Global reusable execution presets for Chat and Graph Tasks.</p></div><button type="button" class="settings-view-back"><svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-left" aria-hidden="true"><path d="m12 19-7-7 7-7"></path><path d="M19 12H5"></path></svg> Chat</button></header><div class="workspace-page-body"><div class="global-roles "><aside class="global-roles-list"><header><div><strong>Role catalog</strong><span>0<!-- --> global Roles</span></div><button type="button" aria-label="Add Role"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus" aria-hidden="true"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg></button></header><label class="global-role-search"><svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-search" aria-hidden="true"><path d="m21 21-4.34-4.34"></path><circle cx="11" cy="11" r="8"></circle></svg><input placeholder="Search Roles" value=""/></label><div role="listbox" aria-label="Global Roles"><div class="roles-empty">No global Roles</div></div></aside><section class="global-role-detail"><div class="roles-detail-empty"><svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-bot" aria-hidden="true"><path d="M12 8V4H8"></path><rect width="16" height="12" x="4" y="8" rx="2"></rect><path d="M2 14h2"></path><path d="M20 14h2"></path><path d="M15 13v2"></path><path d="M9 13v2"></path></svg> Select or create a Role</div></section></div></div></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/0j-yjan8jn-8-.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[26356,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0gee9kb6nwlbz.js\"],\"WorkerGenerationGuard\"]\n3:I[27437,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0gee9kb6nwlbz.js\"],\"LocaleProvider\"]\n4:I[85026,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0gee9kb6nwlbz.js\"],\"WorkspaceProvider\"]\n5:I[39756,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0gee9kb6nwlbz.js\"],\"default\"]\n6:I[37457,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0gee9kb6nwlbz.js\"],\"default\"]\n7:I[59665,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0gee9kb6nwlbz.js\",\"/_next/static/chunks/0twsdyb7~zp7n.js\",\"/_next/static/chunks/05rc5pno5-uub.js\"],\"AppShell\"]\n8:I[97367,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0gee9kb6nwlbz.js\"],\"OutletBoundary\"]\n9:\"$Sreact.suspense\"\nc:I[97367,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0gee9kb6nwlbz.js\"],\"ViewportBoundary\"]\ne:I[97367,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0gee9kb6nwlbz.js\"],\"MetadataBoundary\"]\n10:I[68027,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0gee9kb6nwlbz.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/0r3uxu723bo0o.css\",\"style\"]\n:HL[\"/_next/static/chunks/0k-~g5-_lbznv.css\",\"style\"]\n:HL[\"/_next/static/chunks/042svogz3qv71.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"roles\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"roles\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0r3uxu723bo0o.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0k-~g5-_lbznv.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/0e~k9df0bajhc.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/0gee9kb6nwlbz.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"script\",null,{\"id\":\"theme-init\",\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{var t=localStorage.getItem(\\\"ennote-theme\\\");var d=t===\\\"dark\\\"||(t!==\\\"light\\\"\u0026\u0026matchMedia(\\\"(prefers-color-scheme:dark)\\\").matches);document.documentElement.classList.toggle(\\\"dark\\\",d);document.documentElement.dataset.theme=d?\\\"dark\\\":\\\"light\\\"}catch(e){}})();\"}}],[\"$\",\"script\",null,{\"id\":\"locale-init\",\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{var l=localStorage.getItem(\\\"ennote-locale\\\");document.documentElement.lang=(l===\\\"zh-CN\\\")?\\\"zh-CN\\\":\\\"en\\\"}catch(e){}})();\"}}]]}],[\"$\",\"body\",null,{\"style\":{\"height\":\"100dvh\",\"display\":\"flex\",\"flexDirection\":\"column\"},\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",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,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L7\",null,{\"initialView\":\"roles\"}],[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/042svogz3qv71.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0twsdyb7~zp7n.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/05rc5pno5-uub.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@a\"}]}]]}],{},null,false,null]},null,false,\"$@b\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Le\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lf\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$10\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0r3uxu723bo0o.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0k-~g5-_lbznv.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"1IULeStFBlnqxNnZLaKnI\"}\n"])</script><script>self.__next_f.push([1,"11:[]\nb:\"$W11\"\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"12:I[27201,[\"/_next/static/chunks/0_yt3a8a9j1yd.js\",\"/_next/static/chunks/0e~k9df0bajhc.js\",\"/_next/static/chunks/0gee9kb6nwlbz.js\"],\"IconMark\"]\na:null\nf:[[\"$\",\"title\",\"0\",{\"children\":\"Ennote\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Auditable local agent runtime built around Agent Flow\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/icon.png?icon.0l6z533ta5iiy.png\",\"sizes\":\"64x64\",\"type\":\"image/png\"}],[\"$\",\"$L12\",\"3\",{}]]\n"])</script></body></html>
|
package/out/roles.txt
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[26356,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/
|
|
3
|
-
3:I[27437,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/
|
|
4
|
-
4:I[85026,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/
|
|
5
|
-
5:I[39756,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/
|
|
6
|
-
6:I[37457,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/
|
|
7
|
-
7:I[59665,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/
|
|
8
|
-
8:I[97367,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/
|
|
2
|
+
2:I[26356,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/0gee9kb6nwlbz.js"],"WorkerGenerationGuard"]
|
|
3
|
+
3:I[27437,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/0gee9kb6nwlbz.js"],"LocaleProvider"]
|
|
4
|
+
4:I[85026,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/0gee9kb6nwlbz.js"],"WorkspaceProvider"]
|
|
5
|
+
5:I[39756,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/0gee9kb6nwlbz.js"],"default"]
|
|
6
|
+
6:I[37457,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/0gee9kb6nwlbz.js"],"default"]
|
|
7
|
+
7:I[59665,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/0gee9kb6nwlbz.js","/_next/static/chunks/0twsdyb7~zp7n.js","/_next/static/chunks/05rc5pno5-uub.js"],"AppShell"]
|
|
8
|
+
8:I[97367,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/0gee9kb6nwlbz.js"],"OutletBoundary"]
|
|
9
9
|
9:"$Sreact.suspense"
|
|
10
|
-
c:I[97367,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/
|
|
11
|
-
e:I[97367,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/
|
|
12
|
-
10:I[68027,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/
|
|
10
|
+
c:I[97367,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/0gee9kb6nwlbz.js"],"ViewportBoundary"]
|
|
11
|
+
e:I[97367,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/0gee9kb6nwlbz.js"],"MetadataBoundary"]
|
|
12
|
+
10:I[68027,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/0gee9kb6nwlbz.js"],"default",1]
|
|
13
13
|
:HL["/_next/static/chunks/0r3uxu723bo0o.css","style"]
|
|
14
14
|
:HL["/_next/static/chunks/0k-~g5-_lbznv.css","style"]
|
|
15
|
-
:HL["/_next/static/chunks/
|
|
16
|
-
0:{"P":null,"c":["","roles"],"q":"","i":false,"f":[[["",{"children":["roles",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0r3uxu723bo0o.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0k-~g5-_lbznv.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0_yt3a8a9j1yd.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0e~k9df0bajhc.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/
|
|
15
|
+
:HL["/_next/static/chunks/042svogz3qv71.css","style"]
|
|
16
|
+
0:{"P":null,"c":["","roles"],"q":"","i":false,"f":[[["",{"children":["roles",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0r3uxu723bo0o.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0k-~g5-_lbznv.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0_yt3a8a9j1yd.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0e~k9df0bajhc.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/0gee9kb6nwlbz.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{"children":[["$","script",null,{"id":"theme-init","dangerouslySetInnerHTML":{"__html":"(function(){try{var t=localStorage.getItem(\"ennote-theme\");var d=t===\"dark\"||(t!==\"light\"&&matchMedia(\"(prefers-color-scheme:dark)\").matches);document.documentElement.classList.toggle(\"dark\",d);document.documentElement.dataset.theme=d?\"dark\":\"light\"}catch(e){}})();"}}],["$","script",null,{"id":"locale-init","dangerouslySetInnerHTML":{"__html":"(function(){try{var l=localStorage.getItem(\"ennote-locale\");document.documentElement.lang=(l===\"zh-CN\")?\"zh-CN\":\"en\"}catch(e){}})();"}}]]}],["$","body",null,{"style":{"height":"100dvh","display":"flex","flexDirection":"column"},"children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",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,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L7",null,{"initialView":"roles"}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/042svogz3qv71.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0twsdyb7~zp7n.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/05rc5pno5-uub.js","async":true,"nonce":"$undefined"}]],["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,null]},null,false,"$@b"]},null,false,null],["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","div",null,{"hidden":true,"children":["$","$Le",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Lf"}]}]}],null]}],false]],"m":"$undefined","G":["$10",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0r3uxu723bo0o.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0k-~g5-_lbznv.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"1IULeStFBlnqxNnZLaKnI"}
|
|
17
17
|
11:[]
|
|
18
18
|
b:"$W11"
|
|
19
19
|
d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
20
|
-
12:I[27201,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/
|
|
20
|
+
12:I[27201,["/_next/static/chunks/0_yt3a8a9j1yd.js","/_next/static/chunks/0e~k9df0bajhc.js","/_next/static/chunks/0gee9kb6nwlbz.js"],"IconMark"]
|
|
21
21
|
a:null
|
|
22
22
|
f:[["$","title","0",{"children":"Ennote"}],["$","meta","1",{"name":"description","content":"Auditable local agent runtime built around Agent Flow"}],["$","link","2",{"rel":"icon","href":"/icon.png?icon.0l6z533ta5iiy.png","sizes":"64x64","type":"image/png"}],["$","$L12","3",{}]]
|
package/package.json
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seqyuan/ennote",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Auditable local agent runtime built around Agent Flow",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/seqyuan/ennote.git"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/seqyuan/ennote#readme",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/seqyuan/ennote/issues"
|
|
12
|
+
},
|
|
5
13
|
"keywords": [
|
|
6
14
|
"agent",
|
|
7
15
|
"agent-flow",
|
|
@@ -25,15 +33,21 @@
|
|
|
25
33
|
"build:web": "next build",
|
|
26
34
|
"build:go": "cd ennoworker && go build -o ennogate ./cmd/ennogate && go build -o ennoworker ./cmd/ennoworker",
|
|
27
35
|
"build": "npm run build:web && npm run build:go",
|
|
28
|
-
"lint": "eslint . && npm run check:design",
|
|
36
|
+
"lint": "eslint . && npm run check:design && npm run check:file-sizes",
|
|
29
37
|
"check:design": "node scripts/check-design-tokens.mjs",
|
|
30
38
|
"typecheck": "tsc --noEmit",
|
|
31
39
|
"test": "vitest run",
|
|
32
40
|
"test:watch": "vitest",
|
|
33
41
|
"test:go": "cd ennoworker && go test ./...",
|
|
34
42
|
"test:e2e": "playwright test",
|
|
35
|
-
"check:
|
|
43
|
+
"check:file-sizes": "node scripts/check-file-sizes.mjs",
|
|
44
|
+
"check:repo-hygiene": "node scripts/check-repo-hygiene.mjs",
|
|
45
|
+
"check:worker-loopback": "node scripts/check-worker-loopback.mjs",
|
|
46
|
+
"check:test-pairing": "node scripts/check-chat-messages-pairing.mjs",
|
|
47
|
+
"check:commit-message": "node scripts/check-commit-message.mjs",
|
|
36
48
|
"generate:api": "openapi-typescript contracts/openapi.yaml -o lib/worker-api.gen.ts",
|
|
49
|
+
"generate:error-codes": "node scripts/generate-error-codes.mjs",
|
|
50
|
+
"check:error-codes": "node scripts/generate-error-codes.mjs --check",
|
|
37
51
|
"release:build-worker": "node scripts/build-workers.mjs",
|
|
38
52
|
"release:prepare": "npm run build:web && npm run release:build-worker && npm run pack:check",
|
|
39
53
|
"pack:check": "node scripts/check-npm-pack.mjs",
|