cortex-md 1.1.1
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 +172 -0
- package/bin/cortex.js +18 -0
- package/dist/electron/main.cjs +302 -0
- package/dist/electron/preload.cjs +15 -0
- package/dist/icons/icon-1024.png +0 -0
- package/dist/icons/icon-256.png +0 -0
- package/dist/icons/icon.ico +0 -0
- package/dist/icons/icon.png +0 -0
- package/dist/icons/icon.svg +15 -0
- package/dist/index.cjs +798 -0
- package/dist/public/assets/cortex-icon-BKk7C7Sc.png +0 -0
- package/dist/public/assets/index-B-Fl-W-j.css +1 -0
- package/dist/public/assets/index-BDi6a3Vh.js +121 -0
- package/dist/public/index.html +30 -0
- package/electron/icons/icon-1024.png +0 -0
- package/electron/icons/icon-256.png +0 -0
- package/electron/icons/icon.ico +0 -0
- package/electron/icons/icon.png +0 -0
- package/electron/icons/icon.svg +15 -0
- package/package.json +145 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<!--
|
|
5
|
+
______ __
|
|
6
|
+
/ ____/___ ____ ___ ____ __ __/ /____ _____
|
|
7
|
+
/ / / __ \/ __ `__ \/ __ \/ / / / __/ _ \/ ___/
|
|
8
|
+
/ /___/ /_/ / / / / / / /_/ / /_/ / /_/ __/ /
|
|
9
|
+
\____/\____/_/ /_/ /_/ .___/\__,_/\__/\___/_/
|
|
10
|
+
/_/
|
|
11
|
+
Created with Perplexity Computer
|
|
12
|
+
https://www.perplexity.ai/computer
|
|
13
|
+
-->
|
|
14
|
+
<meta name="generator" content="Perplexity Computer">
|
|
15
|
+
<meta name="author" content="Perplexity Computer">
|
|
16
|
+
<meta property="og:see_also" content="https://www.perplexity.ai/computer">
|
|
17
|
+
<link rel="author" href="https://www.perplexity.ai/computer">
|
|
18
|
+
<meta charset="UTF-8" />
|
|
19
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1" />
|
|
20
|
+
<link rel="icon" type="image/png" href="/favicon.png" />
|
|
21
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
22
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
23
|
+
<link href="https://fonts.googleapis.com/css2?family=Architects+Daughter&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Fira+Code:wght@300..700&family=Geist+Mono:wght@100..900&family=Geist:wght@100..900&family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Lora:ital,wght@0,400..700;1,400..700&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Outfit:wght@100..900&family=Oxanium:wght@200..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&family=Space+Grotesk:wght@300..700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
|
|
24
|
+
<script type="module" crossorigin src="./assets/index-BDi6a3Vh.js"></script>
|
|
25
|
+
<link rel="stylesheet" crossorigin href="./assets/index-B-Fl-W-j.css">
|
|
26
|
+
</head>
|
|
27
|
+
<body>
|
|
28
|
+
<div id="root"></div>
|
|
29
|
+
</body>
|
|
30
|
+
</html>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
|
2
|
+
<rect width="512" height="512" rx="108" fill="#111318"/>
|
|
3
|
+
<g fill="none" stroke="#e5e7eb" stroke-linecap="round" stroke-linejoin="round">
|
|
4
|
+
<!-- C arc -->
|
|
5
|
+
<path d="M 320,126 C 270,90 210,80 165,100 C 100,128 66,190 66,256 C 66,322 100,384 165,412 C 210,432 270,422 320,386" stroke-width="36"/>
|
|
6
|
+
<!-- Three connector lines from the C opening -->
|
|
7
|
+
<line x1="320" y1="126" x2="380" y2="126" stroke-width="28"/>
|
|
8
|
+
<line x1="345" y1="256" x2="405" y2="256" stroke-width="28"/>
|
|
9
|
+
<line x1="320" y1="386" x2="380" y2="386" stroke-width="28"/>
|
|
10
|
+
</g>
|
|
11
|
+
<!-- Terminal dots -->
|
|
12
|
+
<circle cx="388" cy="126" r="18" fill="#e5e7eb"/>
|
|
13
|
+
<circle cx="413" cy="256" r="18" fill="#e5e7eb"/>
|
|
14
|
+
<circle cx="388" cy="386" r="18" fill="#e5e7eb"/>
|
|
15
|
+
</svg>
|
package/package.json
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cortex-md",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"description": "Personal AI operating system — local-first, portable, with notes, tasks, chat, and MCP support",
|
|
7
|
+
"author": "Angshuman Sarkar <s42.ang@gmail.com>",
|
|
8
|
+
"main": "dist/electron/main.cjs",
|
|
9
|
+
"bin": {
|
|
10
|
+
"cortex": "bin/cortex.js"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"bin/",
|
|
14
|
+
"dist/",
|
|
15
|
+
"electron/icons/",
|
|
16
|
+
"README.md"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"dev": "cross-env NODE_ENV=development tsx server/index.ts",
|
|
20
|
+
"build": "tsx script/build.ts",
|
|
21
|
+
"start": "cross-env NODE_ENV=production node dist/index.cjs",
|
|
22
|
+
"check": "tsc",
|
|
23
|
+
"db:push": "drizzle-kit push",
|
|
24
|
+
"electron:dev": "tsx script/build-electron.ts && cross-env ELECTRON=1 electron dist/electron/main.cjs",
|
|
25
|
+
"electron:build": "tsx script/build-electron.ts",
|
|
26
|
+
"electron:pack": "tsx script/build-electron.ts && electron-builder --config electron-builder.yml",
|
|
27
|
+
"electron:pack:win": "tsx script/build-electron.ts && electron-builder --config electron-builder.yml --win",
|
|
28
|
+
"electron:pack:mac": "tsx script/build-electron.ts && electron-builder --config electron-builder.yml --mac",
|
|
29
|
+
"electron:pack:linux": "tsx script/build-electron.ts && electron-builder --config electron-builder.yml --linux",
|
|
30
|
+
"prepublishOnly": "npm run electron:build"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@anthropic-ai/sdk": "^0.79.0",
|
|
34
|
+
"@dnd-kit/core": "^6.3.1",
|
|
35
|
+
"@dnd-kit/sortable": "^10.0.0",
|
|
36
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
37
|
+
"@hookform/resolvers": "^3.10.0",
|
|
38
|
+
"@jridgewell/trace-mapping": "^0.3.25",
|
|
39
|
+
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
40
|
+
"@playwright/mcp": "^0.0.68",
|
|
41
|
+
"@radix-ui/react-accordion": "^1.2.4",
|
|
42
|
+
"@radix-ui/react-alert-dialog": "^1.1.7",
|
|
43
|
+
"@radix-ui/react-aspect-ratio": "^1.1.3",
|
|
44
|
+
"@radix-ui/react-avatar": "^1.1.4",
|
|
45
|
+
"@radix-ui/react-checkbox": "^1.1.5",
|
|
46
|
+
"@radix-ui/react-collapsible": "^1.1.4",
|
|
47
|
+
"@radix-ui/react-context-menu": "^2.2.7",
|
|
48
|
+
"@radix-ui/react-dialog": "^1.1.7",
|
|
49
|
+
"@radix-ui/react-dropdown-menu": "^2.1.7",
|
|
50
|
+
"@radix-ui/react-hover-card": "^1.1.7",
|
|
51
|
+
"@radix-ui/react-label": "^2.1.3",
|
|
52
|
+
"@radix-ui/react-menubar": "^1.1.7",
|
|
53
|
+
"@radix-ui/react-navigation-menu": "^1.2.6",
|
|
54
|
+
"@radix-ui/react-popover": "^1.1.7",
|
|
55
|
+
"@radix-ui/react-progress": "^1.1.3",
|
|
56
|
+
"@radix-ui/react-radio-group": "^1.2.4",
|
|
57
|
+
"@radix-ui/react-scroll-area": "^1.2.4",
|
|
58
|
+
"@radix-ui/react-select": "^2.1.7",
|
|
59
|
+
"@radix-ui/react-separator": "^1.1.3",
|
|
60
|
+
"@radix-ui/react-slider": "^1.2.4",
|
|
61
|
+
"@radix-ui/react-slot": "^1.2.0",
|
|
62
|
+
"@radix-ui/react-switch": "^1.1.4",
|
|
63
|
+
"@radix-ui/react-tabs": "^1.1.4",
|
|
64
|
+
"@radix-ui/react-toast": "^1.2.7",
|
|
65
|
+
"@radix-ui/react-toggle": "^1.1.3",
|
|
66
|
+
"@radix-ui/react-toggle-group": "^1.1.3",
|
|
67
|
+
"@radix-ui/react-tooltip": "^1.2.0",
|
|
68
|
+
"@tanstack/react-query": "^5.60.5",
|
|
69
|
+
"chokidar": "^5.0.0",
|
|
70
|
+
"class-variance-authority": "^0.7.1",
|
|
71
|
+
"clsx": "^2.1.1",
|
|
72
|
+
"cmdk": "^1.1.1",
|
|
73
|
+
"connect-pg-simple": "^10.0.0",
|
|
74
|
+
"date-fns": "^3.6.0",
|
|
75
|
+
"dotenv": "^17.3.1",
|
|
76
|
+
"drizzle-orm": "^0.39.3",
|
|
77
|
+
"drizzle-zod": "^0.7.0",
|
|
78
|
+
"embla-carousel-react": "^8.6.0",
|
|
79
|
+
"express": "^5.0.1",
|
|
80
|
+
"express-session": "^1.18.1",
|
|
81
|
+
"framer-motion": "^11.13.1",
|
|
82
|
+
"glob": "^13.0.6",
|
|
83
|
+
"input-otp": "^1.4.2",
|
|
84
|
+
"lucide-react": "^0.453.0",
|
|
85
|
+
"marked": "^17.0.4",
|
|
86
|
+
"memorystore": "^1.6.7",
|
|
87
|
+
"multer": "^2.1.1",
|
|
88
|
+
"next-themes": "^0.4.6",
|
|
89
|
+
"openai": "^6.32.0",
|
|
90
|
+
"passport": "^0.7.0",
|
|
91
|
+
"passport-local": "^1.0.0",
|
|
92
|
+
"pg": "^8.16.3",
|
|
93
|
+
"react": "^18.3.1",
|
|
94
|
+
"react-day-picker": "^8.10.1",
|
|
95
|
+
"react-dom": "^18.3.1",
|
|
96
|
+
"react-hook-form": "^7.55.0",
|
|
97
|
+
"react-icons": "^5.4.0",
|
|
98
|
+
"react-resizable-panels": "^2.1.7",
|
|
99
|
+
"recharts": "^2.15.2",
|
|
100
|
+
"tailwind-merge": "^2.6.0",
|
|
101
|
+
"tailwindcss-animate": "^1.0.7",
|
|
102
|
+
"tw-animate-css": "^1.2.5",
|
|
103
|
+
"electron": "^41.0.3",
|
|
104
|
+
"uuid": "^13.0.0",
|
|
105
|
+
"vaul": "^1.1.2",
|
|
106
|
+
"wouter": "^3.3.5",
|
|
107
|
+
"ws": "^8.18.0",
|
|
108
|
+
"zod": "^3.24.2",
|
|
109
|
+
"zod-validation-error": "^3.4.0"
|
|
110
|
+
},
|
|
111
|
+
"devDependencies": {
|
|
112
|
+
"@tailwindcss/typography": "^0.5.15",
|
|
113
|
+
"@tailwindcss/vite": "^4.1.18",
|
|
114
|
+
"@types/connect-pg-simple": "^7.0.3",
|
|
115
|
+
"@types/express": "^5.0.0",
|
|
116
|
+
"@types/express-session": "^1.18.0",
|
|
117
|
+
"@types/glob": "^8.1.0",
|
|
118
|
+
"@types/multer": "^2.1.0",
|
|
119
|
+
"@types/node": "20.19.27",
|
|
120
|
+
"@types/passport": "^1.0.16",
|
|
121
|
+
"@types/passport-local": "^1.0.38",
|
|
122
|
+
"@types/react": "^18.3.11",
|
|
123
|
+
"@types/react-dom": "^18.3.1",
|
|
124
|
+
"@types/uuid": "^10.0.0",
|
|
125
|
+
"@types/ws": "^8.5.13",
|
|
126
|
+
"@vitejs/plugin-react": "^4.7.0",
|
|
127
|
+
"autoprefixer": "^10.4.20",
|
|
128
|
+
"cross-env": "^10.1.0",
|
|
129
|
+
"drizzle-kit": "^0.31.8",
|
|
130
|
+
"esbuild": "^0.25.0",
|
|
131
|
+
"postcss": "^8.4.47",
|
|
132
|
+
"tailwindcss": "^3.4.17",
|
|
133
|
+
"tsx": "^4.20.5",
|
|
134
|
+
"typescript": "5.6.3",
|
|
135
|
+
"vite": "^7.3.0"
|
|
136
|
+
},
|
|
137
|
+
"overrides": {
|
|
138
|
+
"drizzle-kit": {
|
|
139
|
+
"@esbuild-kit/esm-loader": "npm:tsx@^4.20.4"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"optionalDependencies": {
|
|
143
|
+
"bufferutil": "^4.0.8"
|
|
144
|
+
}
|
|
145
|
+
}
|