nao-core 0.0.22__py3-none-any.whl → 0.0.26__py3-none-any.whl
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.
- nao_core/__init__.py +1 -1
- nao_core/bin/.nao-secret +1 -0
- nao_core/bin/fastapi/main.py +1 -2
- nao_core/bin/migrations-postgres/0001_message_feedback.sql +9 -0
- nao_core/bin/migrations-postgres/0002_chat_message_stop_reason_and_error_message.sql +2 -0
- nao_core/bin/migrations-postgres/0003_handle_slack_with_thread.sql +2 -0
- nao_core/bin/migrations-postgres/meta/0001_snapshot.json +766 -0
- nao_core/bin/migrations-postgres/meta/0002_snapshot.json +778 -0
- nao_core/bin/migrations-postgres/meta/0003_snapshot.json +799 -0
- nao_core/bin/migrations-postgres/meta/_journal.json +21 -0
- nao_core/bin/migrations-sqlite/0001_message_feedback.sql +8 -0
- nao_core/bin/migrations-sqlite/0002_chat_message_stop_reason_and_error_message.sql +2 -0
- nao_core/bin/migrations-sqlite/0003_handle_slack_with_thread.sql +2 -0
- nao_core/bin/migrations-sqlite/meta/0001_snapshot.json +735 -0
- nao_core/bin/migrations-sqlite/meta/0002_snapshot.json +749 -0
- nao_core/bin/migrations-sqlite/meta/0003_snapshot.json +763 -0
- nao_core/bin/migrations-sqlite/meta/_journal.json +21 -0
- nao_core/bin/nao-chat-server +0 -0
- nao_core/bin/public/assets/_chat-layout-BTlqRUE5.js +1 -0
- nao_core/bin/public/assets/{_chat-layout.index-CWlZ1WSD.js → _chat-layout.index-DOARokp1.js} +1 -1
- nao_core/bin/public/assets/agentProvider-C6dGIy-H.js +1 -0
- nao_core/bin/public/assets/button-By_1dzVx.js +1 -0
- nao_core/bin/public/assets/{code-block-F6WJLWQG-BdtbfwZl.js → code-block-F6WJLWQG-EQr6mTlQ.js} +3 -3
- nao_core/bin/public/assets/folder-DnRS5rg3.js +1 -0
- nao_core/bin/public/assets/index-CElAN2SH.css +1 -0
- nao_core/bin/public/assets/index-ZTHASguQ.js +59 -0
- nao_core/bin/public/assets/input-CUQA5tsi.js +1 -0
- nao_core/bin/public/assets/login-BUQDum3t.js +1 -0
- nao_core/bin/public/assets/{mermaid-FSSLJTFX-_2mzlJwk.js → mermaid-FSSLJTFX-Dc6ZvCPw.js} +120 -75
- nao_core/bin/public/assets/sidebar-bgEk7Xg8.js +1 -0
- nao_core/bin/public/assets/signinForm-CGAhnAkv.js +1 -0
- nao_core/bin/public/assets/signup-D2n11La3.js +1 -0
- nao_core/bin/public/assets/user-CYl8Tly2.js +1 -0
- nao_core/bin/public/index.html +2 -2
- nao_core/bin/public/nao-square-logo.png +0 -0
- nao_core/commands/chat.py +50 -0
- nao_core/commands/init.py +34 -1
- nao_core/config/__init__.py +2 -0
- nao_core/config/base.py +2 -0
- nao_core/config/llm/__init__.py +1 -0
- nao_core/config/slack/__init__.py +12 -0
- {nao_core-0.0.22.dist-info → nao_core-0.0.26.dist-info}/METADATA +1 -1
- nao_core-0.0.26.dist-info/RECORD +69 -0
- nao_core/bin/public/assets/_chat-layout-BSDXwLlM.js +0 -1
- nao_core/bin/public/assets/agentProvider-BkGOwLc-.js +0 -1
- nao_core/bin/public/assets/createLucideIcon-CAzRYUZ0.js +0 -1
- nao_core/bin/public/assets/index-DD1IB790.css +0 -1
- nao_core/bin/public/assets/index-gWi3S-SV.js +0 -59
- nao_core/bin/public/assets/login-BEFjZaUF.js +0 -1
- nao_core/bin/public/assets/signinForm-D97br205.js +0 -1
- nao_core/bin/public/assets/signup-CU4v0Hqr.js +0 -1
- nao_core-0.0.22.dist-info/RECORD +0 -50
- {nao_core-0.0.22.dist-info → nao_core-0.0.26.dist-info}/WHEEL +0 -0
- {nao_core-0.0.22.dist-info → nao_core-0.0.26.dist-info}/entry_points.txt +0 -0
- {nao_core-0.0.22.dist-info → nao_core-0.0.26.dist-info}/licenses/LICENSE +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{u as l,r as o,j as u,a as c}from"./index-gWi3S-SV.js";import{S as g}from"./signinForm-D97br205.js";import"./createLucideIcon-CAzRYUZ0.js";import"./utils-DzJYey0s.js";function h(){const n=l(),[e,r]=o.useState({email:"",password:""}),[s,a]=o.useState(""),i=async t=>{t.preventDefault(),a(""),await c.email({email:e.email,password:e.password},{onSuccess:()=>{n({to:"/"})},onError:p=>{a(p.error.message)}})},m=t=>{r({...e,[t.target.name]:t.target.value})};return u.jsx(g,{title:"Sign In",fields:[{name:"email",type:"email",placeholder:"Email"},{name:"password",type:"password",placeholder:"Password"}],formData:e,onSubmit:i,onChange:m,submitButtonText:"Sign In",footerText:"Don't have an account?",footerLinkText:"Sign up",footerLinkTo:"/signup",error:s})}export{h as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as b,j as e,c as h,t as g,h as v,L as y}from"./index-gWi3S-SV.js";import{c as x,B as c}from"./createLucideIcon-CAzRYUZ0.js";import{a as u}from"./utils-DzJYey0s.js";const j=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],w=x("eye-off",j);const N=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],k=x("eye",N);function S({className:a,type:s,...r}){const[i,o]=b.useState(!1),n=s==="password",l=n&&i?"text":s;return n?e.jsxs("div",{className:"relative",children:[e.jsx("input",{type:l,"data-slot":"input",className:u("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive","pr-10",a),...r}),e.jsx("button",{type:"button",onClick:()=>o(!i),className:"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground transition-colors",tabIndex:-1,children:i?e.jsx(w,{size:16}):e.jsx(k,{size:16})})]}):e.jsx("input",{type:s,"data-slot":"input",className:u("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",a),...r})}function M({title:a,fields:s,formData:r,onSubmit:i,onChange:o,submitButtonText:n,footerText:l,footerLinkText:m,footerLinkTo:p,error:d}){const f=h(g.hasGoogleSetup.queryOptions());return e.jsxs("div",{className:"container mx-auto w-full max-w-2xl p-12 my-auto",children:[e.jsx("div",{className:"text-3xl font-bold mb-8 text-center",children:a}),e.jsxs("form",{onSubmit:i,className:"space-y-6",children:[s.map(t=>e.jsx(S,{name:t.name,type:t.type,placeholder:t.placeholder,value:r[t.name],onChange:o,required:!0,className:"h-12 text-base"},t.name)),d&&e.jsx("p",{className:"text-red-500 text-center text-base",children:d}),e.jsx(c,{type:"submit",className:"w-full h-12 text-base",disabled:Object.values(r).some(t=>!t),children:n})]}),f.data&&e.jsxs("div",{className:"mt-8",children:[e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute inset-0 flex items-center",children:e.jsx("div",{className:"w-full border-t border-gray-300"})}),e.jsx("div",{className:"relative flex justify-center text-sm",children:e.jsx("span",{className:"px-2 bg-background text-muted-foreground",children:"Or continue with"})})]}),e.jsx("div",{className:"flex justify-center items-center gap-4 p-4",children:e.jsx(c,{type:"button",variant:"outline",onClick:v,children:e.jsx("img",{src:"/google-icon.svg",alt:"Google",className:"w-5 h-5"})})})]}),e.jsxs("p",{className:"text-center text-sm text-muted-foreground mt-8",children:[l," ",e.jsx(y,{to:p,className:"text-primary hover:underline font-medium",children:m})]})]})}export{M as S};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{u as l,r as o,j as c,s as g}from"./index-gWi3S-SV.js";import{S as u}from"./signinForm-D97br205.js";import"./createLucideIcon-CAzRYUZ0.js";import"./utils-DzJYey0s.js";function x(){const n=l(),[e,r]=o.useState({name:"",email:"",password:""}),[s,t]=o.useState(""),i=async a=>{a.preventDefault(),t(""),await g.email({name:e.name,email:e.email,password:e.password},{onSuccess:()=>{n({to:"/"})},onError:p=>{t(p.error.message)}})},m=a=>{r({...e,[a.target.name]:a.target.value})};return c.jsx(u,{title:"Sign Up",fields:[{name:"name",placeholder:"Name"},{name:"email",type:"email",placeholder:"Email"},{name:"password",type:"password",placeholder:"Password"}],formData:e,onSubmit:i,onChange:m,submitButtonText:"Sign Up",footerText:"Already have an account?",footerLinkText:"Sign in",footerLinkTo:"/login",error:s})}export{x as component};
|
nao_core-0.0.22.dist-info/RECORD
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
nao_core/__init__.py,sha256=hdybmf5-qJgomilObabCYSSY_vCmHTQxoUog5hK4mLA,46
|
|
2
|
-
nao_core/main.py,sha256=f00vLL4s2B2kCMa8y3lI56LX3TnUppWzYmqM6eOGomA,205
|
|
3
|
-
nao_core/bin/nao-chat-server,sha256=ET0vCn4UjNb9dS8eoEp1Tb_qDi2yC-zrn7mjjG6gViU,64772976
|
|
4
|
-
nao_core/bin/rg,sha256=bvQDRr8x_M552WFMd0XBmFQpJaDH1JEeH_55TFM5KsE,4528512
|
|
5
|
-
nao_core/bin/fastapi/main.py,sha256=HwLSVbzXYgQlKLi_UdBVGS5jhw4fLWSwUoKPr26hsBc,3623
|
|
6
|
-
nao_core/bin/migrations-postgres/0000_user_auth_and_chat_tables.sql,sha256=UEOxvNaQEKPeZimW-HgHmeCg_py2ToDZkxFXk2NoNSo,4601
|
|
7
|
-
nao_core/bin/migrations-postgres/meta/0000_snapshot.json,sha256=8bV8DQjaks4Id2aPPWbVcSb5xMhPKNf_V0loe01dnl8,17997
|
|
8
|
-
nao_core/bin/migrations-postgres/meta/_journal.json,sha256=BdeQ6ckHOwLSdkBP8vSl-stx3QQvJuqyFGtBCkdK2sI,219
|
|
9
|
-
nao_core/bin/migrations-sqlite/0000_user_auth_and_chat_tables.sql,sha256=8H7o4sTEfnqYc_Ks-0MUu85C8zHe5Ot94g3mlW33eCs,4458
|
|
10
|
-
nao_core/bin/migrations-sqlite/meta/0000_snapshot.json,sha256=tuziD4cmsnGH5Eq1p683ac1Q8R8DLuw_QLPZL_MG5X8,17872
|
|
11
|
-
nao_core/bin/migrations-sqlite/meta/_journal.json,sha256=0NLr2yzTglIFeULHcjyKb2FDfL_CXemFSQfMMdF9mtQ,215
|
|
12
|
-
nao_core/bin/public/favicon.ico,sha256=s-a2BQ71NeB_Y2uOC_EPF9isG5DavpF9GKwYgxNSOWk,15406
|
|
13
|
-
nao_core/bin/public/github-icon.svg,sha256=drFeRxLjsnngoGOh4heU3E5mX_xUsmGgFOc_mnjXKwU,1926
|
|
14
|
-
nao_core/bin/public/google-icon.svg,sha256=bTmcoH4gkdoV2Atl2kp-pLFpFZNL85FR_8GAKv9LL5I,1140
|
|
15
|
-
nao_core/bin/public/index.html,sha256=FfInXPwVmFDnesXOJ3tmel7ZxlHL-kAeg17y8RegYOM,670
|
|
16
|
-
nao_core/bin/public/nao-logo-greyscale.svg,sha256=hi_aq_RD83zpGUQB06znDEFC7MNdScdaZtGTyZUl1IY,1570
|
|
17
|
-
nao_core/bin/public/assets/_chat-layout-BSDXwLlM.js,sha256=O541tEcnrfPe640hZ8O10bR0WbZvVlqShHVqScJfvGg,11193
|
|
18
|
-
nao_core/bin/public/assets/_chat-layout.index-CWlZ1WSD.js,sha256=Ah3eSSPH6UsQghqAX6IfYr2tfNK4uTO0EJOb2HEbmgE,647
|
|
19
|
-
nao_core/bin/public/assets/agentProvider-BkGOwLc-.js,sha256=tyE1sO6odMMiSvm_MfIO6AoKEiJ3f0PElXIGf0rFPxc,476
|
|
20
|
-
nao_core/bin/public/assets/code-block-F6WJLWQG-BdtbfwZl.js,sha256=fmwDtohr1VqY1QkYUy4Ahx97xfndqhbxJRjcrTw-IDE,173814
|
|
21
|
-
nao_core/bin/public/assets/createLucideIcon-CAzRYUZ0.js,sha256=oJ09c9_UAjVVffE5IMPoEcs4mWhOhD_63lncqFiUkIo,5490
|
|
22
|
-
nao_core/bin/public/assets/index-DD1IB790.css,sha256=DmU-4gSs_KBhQnLEU1pXIHTMvf1Vr9zuK1-6iZV8XsQ,52754
|
|
23
|
-
nao_core/bin/public/assets/index-gWi3S-SV.js,sha256=SD4AX9VfT293FW_SXpz_TpODR8VOcVi70536GL0C9a0,543777
|
|
24
|
-
nao_core/bin/public/assets/login-BEFjZaUF.js,sha256=-Rao0v4e4vokcYvGmVjLnQsxfxXmjhCRTEhmmrO6_NM,783
|
|
25
|
-
nao_core/bin/public/assets/mermaid-FSSLJTFX-_2mzlJwk.js,sha256=09OKsjiNtfjnMg7sWkol7KF1Neeu3jrKEw1cUhTaGqE,1833338
|
|
26
|
-
nao_core/bin/public/assets/signinForm-D97br205.js,sha256=njXtMMUD2OWW7Ka87-ADCFvSrsd0QxpTXHusHrHCoJ4,4058
|
|
27
|
-
nao_core/bin/public/assets/signup-CU4v0Hqr.js,sha256=cS0FvByffFdyZwP32LVY3w71lPkj1_5iG8Di7o0grOE,837
|
|
28
|
-
nao_core/bin/public/assets/utils-DzJYey0s.js,sha256=-xZkeUik--c4EokvT2GIYT9hZZQ6ah86T6lhcP1QfCI,25772
|
|
29
|
-
nao_core/commands/__init__.py,sha256=rFCuUyA9wM4hS6CxCt2M_5W4VysyQXh6HkA_hyRCxPc,207
|
|
30
|
-
nao_core/commands/chat.py,sha256=TiV-0dEFPRmIirHMnPVbKNomNWO67OsaPT1SzA07EIM,5995
|
|
31
|
-
nao_core/commands/debug.py,sha256=Hdtb6_2F-a9Nr-aU_exdnPZY0-Lf9dgV1QX6QxPr9P8,4794
|
|
32
|
-
nao_core/commands/init.py,sha256=ZPD5jGCmkMbHvYX2sA-88jBPVL2LqJwdk3VfBuf1scU,8964
|
|
33
|
-
nao_core/commands/sync/__init__.py,sha256=Opg4j0xvNdSBtHXZ6FzCihW05c6UDONxKgkIACJ1pAE,1853
|
|
34
|
-
nao_core/commands/sync/accessors.py,sha256=3QrOA5-tsBy6A3OETvc9CJaeCG5hBrLm6k8my984hsE,6932
|
|
35
|
-
nao_core/commands/sync/databases.py,sha256=uLpFOr2YOy7N4b3mkPeigkvZ_V5A6E7L-LPfToTpi0k,4259
|
|
36
|
-
nao_core/commands/sync/registry.py,sha256=0yExoePzNZ_T0AswEr49ztOyHWaruz63ifVSGj1baO8,728
|
|
37
|
-
nao_core/commands/sync/repositories.py,sha256=GNzM5CouCK9zlQPW5B94c4Tye-bpmSWtAdZRXd0No30,3043
|
|
38
|
-
nao_core/config/__init__.py,sha256=qzM2sXRKfO5ZCKbIRwUS-Roh5ry0zVEqWJBobVlGbJM,308
|
|
39
|
-
nao_core/config/base.py,sha256=jS5leDqjc6wzU1iHw4rTun75s8hdv0N3Kjjb6kljQ8E,2842
|
|
40
|
-
nao_core/config/databases/__init__.py,sha256=t62wpLCTi9lAf6rzem7iu605ywtK4qo7DuTP-qSr3jc,1027
|
|
41
|
-
nao_core/config/databases/base.py,sha256=Y0BN8Zowi0n0GKT2sEJ2iqitPf-P4o1V9gCVhgiSzr8,2219
|
|
42
|
-
nao_core/config/databases/bigquery.py,sha256=RA07YMp24kQVPOQStdLCx27e50nUIIoO_U1io1wqtVk,1453
|
|
43
|
-
nao_core/config/llm/__init__.py,sha256=wBVFFmOWWUuIM19fNeXkdIWxg9nE_cR3roWFyUvAuIE,343
|
|
44
|
-
nao_core/config/repos/__init__.py,sha256=R3LyHr9JtQG0DQ5Ae7pD5vO-ZrChAth-U-dFPJ0fRQ4,55
|
|
45
|
-
nao_core/config/repos/base.py,sha256=kutfkSzOW2F2zFnD2vy69hjhsazV86-z-Mr2Nn8KBqU,353
|
|
46
|
-
nao_core-0.0.22.dist-info/METADATA,sha256=SLk_yVWR-4YNC1unO9rTX1Qq-KBSc2JlqGOovejRPTw,5206
|
|
47
|
-
nao_core-0.0.22.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
48
|
-
nao_core-0.0.22.dist-info/entry_points.txt,sha256=SZakIiNybgS3pl_OEZVLyLSweadeBFoEMBECMoj9czY,42
|
|
49
|
-
nao_core-0.0.22.dist-info/licenses/LICENSE,sha256=rn5YtWB6E5hPQI49tCTNSyqlArWGsB6HzA5FfSbRHRs,1066
|
|
50
|
-
nao_core-0.0.22.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|