diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 7e82dccf..094ac0b8 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -49,7 +49,7 @@ jobs: - name: 📂 Copy Generated Files run: | mkdir -p src/khoj/interface/compiled - cp -r /opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/khoj/interface/compiled/* src/khoj/interface/compiled/ + cp -r /opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/site-packages/khoj/interface/compiled/* src/khoj/interface/compiled/ - name: ⚙️ Build Python Package run: | diff --git a/src/interface/web/app/agents/layout.tsx b/src/interface/web/app/agents/layout.tsx index 5749ef4c..04855b43 100644 --- a/src/interface/web/app/agents/layout.tsx +++ b/src/interface/web/app/agents/layout.tsx @@ -5,7 +5,8 @@ import { ContentSecurityPolicy } from "../common/layoutHelper"; export const metadata: Metadata = { title: "Khoj AI - Agents", - description: "Find a specialized agent that can help you address more specific needs.", + description: + "Find or create agents with custom knowledge, tools and personalities to help address your specific needs.", icons: { icon: "/static/assets/icons/khoj_lantern.ico", apple: "/static/assets/icons/khoj_lantern_256x256.png", @@ -13,10 +14,16 @@ export const metadata: Metadata = { openGraph: { siteName: "Khoj AI", title: "Khoj AI - Agents", - description: "Your Second Brain.", + description: + "Find or create agents with custom knowledge, tools and personalities to help address your specific needs.", url: "https://app.khoj.dev/agents", type: "website", images: [ + { + url: "https://assets.khoj.dev/khoj_hero.png", + width: 940, + height: 525, + }, { url: "https://assets.khoj.dev/khoj_lantern_256x256.png", width: 256, diff --git a/src/interface/web/app/agents/page.tsx b/src/interface/web/app/agents/page.tsx index 4a6c7619..58abe7fa 100644 --- a/src/interface/web/app/agents/page.tsx +++ b/src/interface/web/app/agents/page.tsx @@ -143,6 +143,7 @@ function CreateAgentCard(props: CreateAgentCardProps) { )} )} diff --git a/src/interface/web/app/automations/layout.tsx b/src/interface/web/app/automations/layout.tsx index aca8ec50..2d97af5c 100644 --- a/src/interface/web/app/automations/layout.tsx +++ b/src/interface/web/app/automations/layout.tsx @@ -6,7 +6,8 @@ import { ContentSecurityPolicy } from "../common/layoutHelper"; export const metadata: Metadata = { title: "Khoj AI - Automations", - description: "Use Autoomations with Khoj to simplify the process of running repetitive tasks.", + description: + "Use Khoj Automations to get tailored research and event based notifications directly in your inbox.", icons: { icon: "/static/assets/icons/khoj_lantern.ico", apple: "/static/assets/icons/khoj_lantern_256x256.png", @@ -14,10 +15,16 @@ export const metadata: Metadata = { openGraph: { siteName: "Khoj AI", title: "Khoj AI - Automations", - description: "Your Second Brain.", + description: + "Use Khoj Automations to get tailored research and event based notifications directly in your inbox.", url: "https://app.khoj.dev/automations", type: "website", images: [ + { + url: "https://assets.khoj.dev/khoj_hero.png", + width: 940, + height: 525, + }, { url: "https://assets.khoj.dev/khoj_lantern_256x256.png", width: 256, diff --git a/src/interface/web/app/automations/page.tsx b/src/interface/web/app/automations/page.tsx index 0ecf5809..0de15471 100644 --- a/src/interface/web/app/automations/page.tsx +++ b/src/interface/web/app/automations/page.tsx @@ -1064,6 +1064,7 @@ export default function Automations() { )} diff --git a/src/interface/web/app/chat/layout.tsx b/src/interface/web/app/chat/layout.tsx index 83778d80..25579510 100644 --- a/src/interface/web/app/chat/layout.tsx +++ b/src/interface/web/app/chat/layout.tsx @@ -6,7 +6,7 @@ import { ContentSecurityPolicy } from "../common/layoutHelper"; export const metadata: Metadata = { title: "Khoj AI - Chat", description: - "Ask anything. Khoj will use the internet and your docs to answer, paint and even automate stuff for you.", + "Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents.", icons: { icon: "/static/assets/icons/khoj_lantern.ico", apple: "/static/assets/icons/khoj_lantern_256x256.png", @@ -14,10 +14,16 @@ export const metadata: Metadata = { openGraph: { siteName: "Khoj AI", title: "Khoj AI - Chat", - description: "Your Second Brain.", + description: + "Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents.", url: "https://app.khoj.dev/chat", type: "website", images: [ + { + url: "https://assets.khoj.dev/khoj_hero.png", + width: 940, + height: 525, + }, { url: "https://assets.khoj.dev/khoj_lantern_256x256.png", width: 256, diff --git a/src/interface/web/app/common/layoutHelper.tsx b/src/interface/web/app/common/layoutHelper.tsx index 11b1043d..5c34e641 100644 --- a/src/interface/web/app/common/layoutHelper.tsx +++ b/src/interface/web/app/common/layoutHelper.tsx @@ -4,11 +4,12 @@ export function ContentSecurityPolicy() { httpEquiv="Content-Security-Policy" content="default-src 'self' https://assets.khoj.dev; media-src * blob:; - script-src 'self' https://assets.khoj.dev https://app.chatwoot.com 'unsafe-inline' 'unsafe-eval'; - connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110; - style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; - img-src 'self' data: blob: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; + script-src 'self' https://assets.khoj.dev https://app.chatwoot.com https://accounts.google.com 'unsafe-inline' 'unsafe-eval'; + connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110 https://accounts.google.com; + style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com https://accounts.google.com; + img-src 'self' data: blob: https://*.khoj.dev https://accounts.google.com https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; + frame-src 'self' https://accounts.google.com; child-src 'self' https://app.chatwoot.com; object-src 'none';" > diff --git a/src/interface/web/app/components/agentCard/agentCard.tsx b/src/interface/web/app/components/agentCard/agentCard.tsx index b151f02d..90888b27 100644 --- a/src/interface/web/app/components/agentCard/agentCard.tsx +++ b/src/interface/web/app/components/agentCard/agentCard.tsx @@ -328,6 +328,7 @@ export function AgentCard(props: AgentCardProps) { )} diff --git a/src/interface/web/app/components/chatInputArea/chatInputArea.tsx b/src/interface/web/app/components/chatInputArea/chatInputArea.tsx index 6bc19036..cb55386a 100644 --- a/src/interface/web/app/components/chatInputArea/chatInputArea.tsx +++ b/src/interface/web/app/components/chatInputArea/chatInputArea.tsx @@ -408,6 +408,7 @@ export const ChatInputArea = forwardRef((pr {showLoginPrompt && loginRedirectMessage && ( )} @@ -628,7 +629,7 @@ export const ChatInputArea = forwardRef((pr @@ -698,6 +699,7 @@ export const ChatInputArea = forwardRef((pr