Skip to content

Commit a5229a4

Browse files
committed
v1.1.7 fixes
1 parent eeae665 commit a5229a4

File tree

6 files changed

+25
-7
lines changed

6 files changed

+25
-7
lines changed

client/src/components/MetricsDialog.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -283,13 +283,13 @@ const getEndpointIcon = (modelId: string) => {
283283
<Bar
284284
dataKey="Output"
285285
stackId="tokens"
286-
fill="var(--color-Output)"
286+
className="fill-[--color-Output]"
287287
radius={[0, 0, 4, 4]}
288288
/>
289289
<Bar
290290
dataKey="Input"
291291
stackId="tokens"
292-
fill="var(--color-Input)"
292+
className="fill-[--color-Input]"
293293
radius={[4, 4, 0, 0]}
294294
/>
295295
</BarChart>

client/src/index.css

+11
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@
9393
--border: 240 3.7% 15.9%;
9494
--input: 240 3.7% 15.9%;
9595
--ring: 240 4.9% 83.9%;
96+
--color-Input: hsl(var(--chart-1));
97+
--color-Output: hsl(var(--chart-3));
9698
--chart-1: 220 70% 50%;
9799
--chart-5: 160 60% 45%;
98100
--chart-3: 30 80% 55%;
@@ -154,6 +156,8 @@
154156
--border: 240 3.7% 15.9%;
155157
--input: 240 3.7% 15.9%;
156158
--ring: 240 4.9% 83.9%;
159+
--color-Input: hsl(var(--chart-1));
160+
--color-Output: hsl(var(--chart-3));
157161
--chart-1: 220 70% 50%;
158162
--chart-5: 160 60% 45%;
159163
--chart-3: 30 80% 55%;
@@ -194,4 +198,11 @@
194198
--chart-38: 240 65% 55%;
195199
--chart-39: 160 70% 50%;
196200
--chart-40: 340 75% 45%;
201+
}
202+
203+
.chart-dot {
204+
height: 0.5rem;
205+
width: 0.5rem;
206+
border-radius: 9999px;
207+
background-color: var(--dot-color);
197208
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "curiso.ai",
3-
"version": "1.1.6",
3+
"version": "1.1.7",
44
"author": "Carsen Klock",
55
"type": "module",
66
"license": "MIT",

src-tauri/Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "curiso-ai"
3-
version = "1.1.6"
3+
version = "1.1.7"
44
description = "Curiso AI Desktop"
55
authors = ["Carsen Klock"]
66
license = "MIT"

src-tauri/tauri.conf.json

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"identifier": "com.curiso.ai",
33
"productName": "Curiso AI",
4-
"version": "1.1.6",
4+
"version": "1.1.7",
55
"build": {
66
"beforeBuildCommand": "bun run build",
77
"beforeDevCommand": "bun run dev",
@@ -11,7 +11,14 @@
1111
"app": {
1212
"withGlobalTauri": true,
1313
"security": {
14-
"csp": "default-src 'self' 'unsafe-inline' 'wasm-unsafe-eval' http://localhost:* https://*; script-src 'self' 'unsafe-inline' 'wasm-unsafe-eval' https://cdnjs.cloudflare.com https://cdn.jsdelivr.net blob:; img-src 'self' data: https:; style-src 'self' 'unsafe-inline' 'unsafe-hashes' https://cdnjs.cloudflare.com https://cdn.jsdelivr.net https://* http://* http://127.0.0.1:* http://localhost:* data: blob:; connect-src 'self' http://127.0.0.1:* http://localhost:* https://* http://* https://cdnjs.cloudflare.com https://cdn.jsdelivr.net; worker-src 'self' blob: data: https://cdnjs.cloudflare.com https://cdn.jsdelivr.net https://* http://* http://127.0.0.1:* http://localhost:*",
14+
"csp": {
15+
"default-src": ["'self'", "'unsafe-inline'", "'wasm-unsafe-eval'", "http://localhost:*", "https://*"],
16+
"script-src": ["'self'", "'unsafe-inline'", "'wasm-unsafe-eval'", "https://cdnjs.cloudflare.com", "https://cdn.jsdelivr.net", "blob:"],
17+
"img-src": ["'self'", "data:", "https:"],
18+
"style-src": ["'self'", "'unsafe-inline'", "https://cdnjs.cloudflare.com", "https://cdn.jsdelivr.net", "https://*", "http://*", "http://127.0.0.1:*", "http://localhost:*", "data:", "blob:"],
19+
"connect-src": ["'self'", "http://127.0.0.1:*", "http://localhost:*", "https://*", "http://*", "https://cdnjs.cloudflare.com", "https://cdn.jsdelivr.net"],
20+
"worker-src": ["'self'", "blob:", "data:", "https://cdnjs.cloudflare.com", "https://cdn.jsdelivr.net", "https://*", "http://*", "http://127.0.0.1:*", "http://localhost:*"]
21+
},
1522
"capabilities": [
1623
{
1724
"identifier": "fetch",

0 commit comments

Comments
 (0)