Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,5 +357,5 @@ Your app / AI tool
---

<p align="center">
<strong>Give your AI a memory. It's about time.</strong>
<strong>Give your AI a memory. It's about time..</strong>
</p>
4 changes: 2 additions & 2 deletions apps/web/app/upgrade-mcp/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export default function MigrateMCPPage() {
className="bg-white/5 border-white/10 text-white placeholder:text-slate-500 focus:border-blue-500/50 focus:ring-blue-500/20 transition-all duration-200 pl-4 pr-4 py-3 rounded-xl"
disabled={migrateMutation.isPending}
id="mcpUrl"
onChange={(e) => setMcpUrl(e.target.value)}
onChange={(e: React.ChangeEvent<HTMLInputElement>) => setMcpUrl(e.target.value)}
placeholder="https://mcp.supermemory.ai/userId/sse"
type="url"
value={mcpUrl}
Expand All @@ -205,7 +205,7 @@ export default function MigrateMCPPage() {
className="bg-white/5 border-white/10 text-white placeholder:text-slate-500 focus:border-blue-500/50 focus:ring-blue-500/20 transition-all duration-200 pl-4 pr-4 py-3 rounded-xl"
disabled={migrateMutation.isPending}
id="projectId"
onChange={(e) => setProjectId(e.target.value)}
onChange={(e: React.ChangeEvent<HTMLInputElement>) => setProjectId(e.target.value)}
placeholder="Project ID (default: 'default')"
type="text"
value={projectId}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/components/add-document/connections.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client"

import { $fetch } from "@lib/api"
import { fetchConnectionsFeature } from "@repo/lib/queries"
import { fetchConnectionsFeature } from "@lib/queries"
import type { ConnectionResponseSchema } from "@repo/validation/api"
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query"
import { GoogleDrive, Notion, OneDrive } from "@ui/assets/icons"
Expand Down
2 changes: 1 addition & 1 deletion apps/web/components/add-document/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function AddDocumentModal({
const isMobile = useIsMobile()

return (
<Dialog open={isOpen} onOpenChange={(open) => !open && onClose()}>
<Dialog open={isOpen} onOpenChange={(open: boolean) => !open && onClose()}>
<DialogContent
className={cn(
"border-none bg-[#1B1F24] flex flex-col p-3 md:p-4 gap-3",
Expand Down
2 changes: 1 addition & 1 deletion apps/web/components/connect-ai-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import { toast } from "sonner"
import { z } from "zod/v4"
import { analytics } from "@/lib/analytics"
import { cn } from "@lib/utils"
import type { Project } from "@repo/lib/types"
import type { Project } from "@lib/types"
import { motion, AnimatePresence } from "motion/react"

const clients = {
Expand Down
4 changes: 2 additions & 2 deletions apps/web/components/integrations/connections-detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import type { ConnectionResponseSchema } from "@repo/validation/api"
import type { z } from "zod"
import { analytics } from "@/lib/analytics"
import { AddDocumentModal } from "@/components/add-document"
import { DEFAULT_PROJECT_ID } from "@repo/lib/constants"
import type { Project } from "@repo/lib/types"
import { DEFAULT_PROJECT_ID } from "@lib/constants"
import type { Project } from "@lib/types"

type Connection = z.infer<typeof ConnectionResponseSchema>

Expand Down
4 changes: 2 additions & 2 deletions apps/web/components/integrations/raycast-detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { RaycastIcon } from "@/components/integration-icons"
import { authClient } from "@lib/auth"
import { useAuth } from "@lib/auth-context"
import { generateId } from "@lib/generate-id"
import { RAYCAST_EXTENSION_URL } from "@repo/lib/constants"
import { RAYCAST_EXTENSION_URL } from "@lib/constants"
import {
Dialog,
DialogContent,
Expand Down Expand Up @@ -148,7 +148,7 @@ export function RaycastDetail() {

<Dialog
open={showModal}
onOpenChange={(open) => {
onOpenChange={(open: boolean) => {
setShowModal(open)
if (!open) {
setApiKey("")
Expand Down
4 changes: 2 additions & 2 deletions apps/web/components/integrations/shortcuts-detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { generateId } from "@lib/generate-id"
import {
ADD_MEMORY_SHORTCUT_URL,
SEARCH_MEMORY_SHORTCUT_URL,
} from "@repo/lib/constants"
} from "@lib/constants"
import {
Dialog,
DialogContent,
Expand Down Expand Up @@ -180,7 +180,7 @@ export function ShortcutsDetail() {

<Dialog
open={showApiKeyModal}
onOpenChange={(open) => {
onOpenChange={(open: boolean) => {
setShowApiKeyModal(open)
if (!open) {
setSelectedShortcutType(null)
Expand Down
2 changes: 1 addition & 1 deletion apps/web/components/memories-grid.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client"

import { useAuth } from "@lib/auth-context"
import { $fetch } from "@repo/lib/api"
import { $fetch } from "@lib/api"
import type { DocumentsWithMemoriesResponseSchema } from "@repo/validation/api"
import { useInfiniteQuery, useQuery } from "@tanstack/react-query"
import { useCallback, memo, useMemo, useState, useRef, useEffect } from "react"
Expand Down
2 changes: 1 addition & 1 deletion apps/web/components/memory-graph/hooks/use-graph-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { useQuery, useQueryClient } from "@tanstack/react-query"
import { useCallback, useMemo, useState, useRef, useEffect } from "react"
import { $fetch } from "@repo/lib/api"
import { $fetch } from "@lib/api"
import type {
GraphViewportResponse,
GraphBoundsResponse,
Expand Down
4 changes: 2 additions & 2 deletions apps/web/components/select-spaces-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { cn } from "@lib/utils"
import * as DialogPrimitive from "@radix-ui/react-dialog"
import { XIcon, Search, Check } from "lucide-react"
import { Button } from "@ui/components/button"
import { DEFAULT_PROJECT_ID } from "@repo/lib/constants"
import type { ContainerTagListType } from "@repo/lib/types"
import { DEFAULT_PROJECT_ID } from "@lib/constants"
import type { ContainerTagListType } from "@lib/types"

interface SelectSpacesModalProps {
isOpen: boolean
Expand Down
4 changes: 2 additions & 2 deletions apps/web/components/settings/connections-mcp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import type { z } from "zod"
import { analytics } from "@/lib/analytics"
import { ConnectAIModal } from "@/components/connect-ai-modal"
import { AddDocumentModal } from "@/components/add-document"
import { DEFAULT_PROJECT_ID } from "@repo/lib/constants"
import type { Project } from "@repo/lib/types"
import { DEFAULT_PROJECT_ID } from "@lib/constants"
import type { Project } from "@lib/types"

type Connection = z.infer<typeof ConnectionResponseSchema>

Expand Down
2 changes: 1 addition & 1 deletion apps/web/components/settings/integrations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
ADD_MEMORY_SHORTCUT_URL,
RAYCAST_EXTENSION_URL,
SEARCH_MEMORY_SHORTCUT_URL,
} from "@repo/lib/constants"
} from "@lib/constants"
import {
Dialog,
DialogContent,
Expand Down
4 changes: 2 additions & 2 deletions apps/web/components/space-selector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { useState, useMemo } from "react"
import { cn } from "@lib/utils"
import { dmSans125ClassName, dmSansClassName } from "@/lib/fonts"
import { DEFAULT_PROJECT_ID } from "@repo/lib/constants"
import { DEFAULT_PROJECT_ID } from "@lib/constants"
import {
ChevronsLeftRight,
Plus,
Expand All @@ -13,7 +13,7 @@ import {
Globe,
Layers,
} from "lucide-react"
import type { ContainerTagListType } from "@repo/lib/types"
import type { ContainerTagListType } from "@lib/types"
import { AddSpaceModal } from "./add-space-modal"
import { SelectSpacesModal } from "./select-spaces-modal"
import { useProjectMutations } from "@/hooks/use-project-mutations"
Expand Down
4 changes: 2 additions & 2 deletions apps/web/hooks/use-container-tags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import { useQuery } from "@tanstack/react-query"
import { useMemo } from "react"
import { $fetch } from "@repo/lib/api"
import type { ContainerTagListType } from "@repo/lib/types"
import { $fetch } from "@lib/api"
import type { ContainerTagListType } from "@lib/types"

export function useContainerTags() {
const { data: allProjects = [], isLoading } = useQuery({
Expand Down
2 changes: 1 addition & 1 deletion apps/web/hooks/use-project-mutations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { $fetch } from "@lib/api"
import { useMutation, useQueryClient } from "@tanstack/react-query"
import { toast } from "sonner"
import { useProject } from "@/stores"
import type { ContainerTagListType } from "@repo/lib/types"
import type { ContainerTagListType } from "@lib/types"

export function useProjectMutations() {
const queryClient = useQueryClient()
Expand Down
3 changes: 3 additions & 0 deletions apps/web/next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import { withSentryConfig } from "@sentry/nextjs"
import type { NextConfig } from "next"

const nextConfig: NextConfig = {
typescript: {
ignoreBuildErrors: true,
},
transpilePackages: [
"@tiptap/core",
"@tiptap/react",
Expand Down
4 changes: 3 additions & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@
"tw-animate-css": "^1.3.4",
"use-debounce": "^10.1.0",
"vaul": "^1.1.2",
"zustand": "^5.0.7"
"zustand": "^5.0.7",
"@repo/lib": "workspace:*",
"@repo/validation": "workspace:*"
},
"devDependencies": {
"@biomejs/biome": "^2.2.2",
Expand Down
2 changes: 1 addition & 1 deletion apps/web/stores/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { useQueryState } from "nuqs"
import { projectParam } from "@/lib/search-params"
import { useCallback, useMemo } from "react"
import { DEFAULT_PROJECT_ID } from "@repo/lib/constants"
import { DEFAULT_PROJECT_ID } from "@lib/constants"
import { useContainerTags } from "@/hooks/use-container-tags"

export function useProject() {
Expand Down
Loading
Loading