bloby-bot 0.39.1 → 0.40.0

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.
Files changed (28) hide show
  1. package/package.json +1 -1
  2. package/workspace/client/index.html +0 -3
  3. package/workspace/client/src/App.tsx +9 -20
  4. package/workspace/client/src/components/Dashboard/DashboardPage.tsx +113 -117
  5. package/workspace/client/src/components/Layout/DashboardLayout.tsx +34 -32
  6. package/workspace/client/src/components/Layout/MobileNav.tsx +6 -103
  7. package/workspace/client/src/components/Layout/Sidebar.tsx +10 -11
  8. package/workspace/client/src/styles/globals.css +4 -89
  9. package/workspace/client/public/.well-known/assetlinks.json +0 -8
  10. package/workspace/client/public/bloby-cyberpunk.png +0 -0
  11. package/workspace/client/public/brand/blackrock.svg +0 -8
  12. package/workspace/client/public/kid-breakfast.png +0 -0
  13. package/workspace/client/public/wallpapers/bg.jpg +0 -0
  14. package/workspace/client/public/wallpapers/crypto_bg.png +0 -0
  15. package/workspace/client/public/wallpapers/wp-dusk.jpg +0 -0
  16. package/workspace/client/public/wallpapers/wp-mountain.jpg +0 -0
  17. package/workspace/client/public/wallpapers/wp-ocean.jpg +0 -0
  18. package/workspace/client/src/components/Dashboard/AiChatPage.tsx +0 -145
  19. package/workspace/client/src/components/Dashboard/CryptoPage.tsx +0 -470
  20. package/workspace/client/src/components/Dashboard/WishlistPage.tsx +0 -464
  21. package/workspace/client/src/components/Layout/MiniSidebar.tsx +0 -64
  22. package/workspace/client/src/components/Lock/PinInput.tsx +0 -107
  23. package/workspace/client/src/components/Lock/WorkspaceLock.tsx +0 -484
  24. package/workspace/client/src/components/StickyNotes/StickyNotesOverlay.tsx +0 -396
  25. package/workspace/client/src/components/StickyNotes/StickyNotesSettingsPage.tsx +0 -427
  26. package/workspace/client/src/components/Wallpaper/WallpaperBackground.tsx +0 -12
  27. package/workspace/client/src/components/Wallpaper/WallpaperContext.tsx +0 -160
  28. package/workspace/client/src/components/Wallpaper/WallpaperPicker.tsx +0 -67
@@ -3,7 +3,7 @@
3
3
  @custom-variant dark (&:is(.dark *));
4
4
 
5
5
  @theme inline {
6
- --font-sans: 'Inter', 'Inter Display', system-ui, -apple-system, sans-serif;
6
+ --font-sans: system-ui, -apple-system, sans-serif;
7
7
  --color-background: #0A0A0A;
8
8
  --color-foreground: #f5f5f5;
9
9
  --color-card: #2a2a2a;
@@ -44,76 +44,16 @@ html {
44
44
  -ms-touch-action: manipulation;
45
45
  }
46
46
 
47
- html {
48
- background-color: #000;
49
- }
50
-
51
47
  body {
52
- background-color: transparent;
53
- isolation: isolate;
48
+ background-color: var(--color-background);
49
+ background-image: radial-gradient(circle, #1f1f1f 1.2px, transparent 1.2px);
50
+ background-size: 20px 20px;
54
51
  color: var(--color-foreground);
55
- font-family: 'Inter', 'Inter Display', system-ui, -apple-system, sans-serif;
56
- font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
57
52
  -webkit-font-smoothing: antialiased;
58
53
  -moz-osx-font-smoothing: grayscale;
59
54
  overscroll-behavior: none;
60
55
  }
61
56
 
62
- h1, h2, h3, h4, h5, h6 {
63
- letter-spacing: -0.02em;
64
- }
65
-
66
- /* ── Glass utilities ── */
67
- .glass-card {
68
- position: relative;
69
- background: rgba(20, 20, 25, 0.35);
70
- backdrop-filter: blur(24px) saturate(140%);
71
- -webkit-backdrop-filter: blur(24px) saturate(140%);
72
- border: 1px solid rgba(255, 255, 255, 0.08);
73
- border-radius: 28px;
74
- box-shadow:
75
- 0 1px 0 0 rgba(255, 255, 255, 0.06) inset,
76
- 0 20px 60px -20px rgba(0, 0, 0, 0.45);
77
- }
78
- .glass-card::before {
79
- content: '';
80
- position: absolute;
81
- inset: 0;
82
- border-radius: inherit;
83
- pointer-events: none;
84
- background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.02) 35%, transparent 100%);
85
- mask: linear-gradient(180deg, #000, transparent 60%);
86
- -webkit-mask: linear-gradient(180deg, #000, transparent 60%);
87
- }
88
-
89
- .glass-card-md {
90
- border-radius: 20px;
91
- }
92
-
93
- .glass-pill {
94
- position: relative;
95
- background: rgba(20, 20, 25, 0.35);
96
- backdrop-filter: blur(24px) saturate(140%);
97
- -webkit-backdrop-filter: blur(24px) saturate(140%);
98
- border: 1px solid rgba(255, 255, 255, 0.10);
99
- box-shadow:
100
- 0 1px 0 0 rgba(255, 255, 255, 0.08) inset,
101
- 0 10px 40px -15px rgba(0, 0, 0, 0.4);
102
- }
103
- .glass-pill::before {
104
- content: '';
105
- position: absolute;
106
- inset: 0;
107
- border-radius: inherit;
108
- pointer-events: none;
109
- background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.02) 35%, transparent 100%);
110
- }
111
-
112
- .glass-inner-active {
113
- background: rgba(255, 255, 255, 0.14);
114
- box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.12) inset;
115
- }
116
-
117
57
  ::selection {
118
58
  background-color: rgba(175, 39, 227, 0.25);
119
59
  }
@@ -177,28 +117,3 @@ h1, h2, h3, h4, h5, h6 {
177
117
  0% { transform: rotate(0deg); }
178
118
  100% { transform: rotate(360deg); }
179
119
  }
180
-
181
- /* ── Workspace Lock animations ── */
182
- @keyframes shake {
183
- 0%, 100% { transform: translateX(0); }
184
- 10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
185
- 20%, 40%, 60%, 80% { transform: translateX(4px); }
186
- }
187
-
188
- .animate-shake {
189
- animation: shake 0.45s cubic-bezier(.36,.07,.19,.97);
190
- }
191
-
192
- @keyframes scale-in-dot {
193
- from { transform: scale(0); opacity: 0; }
194
- to { transform: scale(1); opacity: 1; }
195
- }
196
-
197
- .animate-scale-in {
198
- animation: scale-in-dot 0.15s ease-out forwards;
199
- }
200
-
201
- @keyframes fadeIn {
202
- from { opacity: 0; transform: translateY(4px); }
203
- to { opacity: 1; transform: translateY(0); }
204
- }
@@ -1,8 +0,0 @@
1
- [{
2
- "relation": ["delegate_permission/common.handle_all_urls"],
3
- "target": {
4
- "namespace": "android_app",
5
- "package_name": "bot.bloby.consensus",
6
- "sha256_cert_fingerprints": ["1A:5D:3C:F4:D3:60:A2:65:2D:34:8F:D5:7C:18:8F:3C:01:99:9E:5B:02:0C:D0:AA:E7:8F:F4:74:EE:C3:C0:7F"]
7
- }
8
- }]
@@ -1,8 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 520 80" role="img" aria-label="BlackRock">
2
- <text x="0" y="60"
3
- font-family="'Times New Roman', Georgia, serif"
4
- font-weight="700"
5
- font-size="72"
6
- letter-spacing="-2"
7
- fill="#ffffff">BlackRock</text>
8
- </svg>
@@ -1,145 +0,0 @@
1
- import { useState, useRef, useEffect } from 'react';
2
- import { Send, Loader2, Sparkles } from 'lucide-react';
3
-
4
- interface Message {
5
- role: 'user' | 'assistant';
6
- content: string;
7
- }
8
-
9
- export default function AiChatPage() {
10
- const [messages, setMessages] = useState<Message[]>([]);
11
- const [input, setInput] = useState('');
12
- const [loading, setLoading] = useState(false);
13
- const [sessionId, setSessionId] = useState<string | undefined>();
14
- const bottomRef = useRef<HTMLDivElement>(null);
15
- const inputRef = useRef<HTMLTextAreaElement>(null);
16
-
17
- useEffect(() => {
18
- bottomRef.current?.scrollIntoView({ behavior: 'smooth' });
19
- }, [messages, loading]);
20
-
21
- useEffect(() => {
22
- inputRef.current?.focus();
23
- }, []);
24
-
25
- const sendMessage = async () => {
26
- const text = input.trim();
27
- if (!text || loading) return;
28
-
29
- setInput('');
30
- setMessages((prev) => [...prev, { role: 'user', content: text }]);
31
- setLoading(true);
32
-
33
- try {
34
- const res = await fetch('/app/api/aichat', {
35
- method: 'POST',
36
- headers: { 'Content-Type': 'application/json' },
37
- body: JSON.stringify({ message: text, sessionId }),
38
- });
39
- const data = await res.json();
40
-
41
- if (data.sessionId) setSessionId(data.sessionId);
42
-
43
- const reply = data.response || data.error || 'No response';
44
- setMessages((prev) => [...prev, { role: 'assistant', content: reply }]);
45
- } catch {
46
- setMessages((prev) => [
47
- ...prev,
48
- { role: 'assistant', content: 'Failed to reach the server.' },
49
- ]);
50
- } finally {
51
- setLoading(false);
52
- inputRef.current?.focus();
53
- }
54
- };
55
-
56
- const handleKeyDown = (e: React.KeyboardEvent) => {
57
- if (e.key === 'Enter' && !e.shiftKey) {
58
- e.preventDefault();
59
- sendMessage();
60
- }
61
- };
62
-
63
- return (
64
- <div className="flex flex-col h-full px-4 sm:px-6 md:px-20 pt-10 sm:pt-16 pb-32 max-w-5xl mx-auto w-full">
65
- {/* Header */}
66
- <div className="flex items-start gap-4 mb-6 shrink-0">
67
- <div className="h-12 w-12 rounded-2xl flex items-center justify-center bg-gradient-to-br from-violet-300/40 to-fuchsia-500/20 border border-white/10 backdrop-blur-xl shrink-0">
68
- <Sparkles className="h-5 w-5 text-violet-200" />
69
- </div>
70
- <div>
71
- <h1 className="text-2xl sm:text-3xl font-semibold text-white tracking-tight">AI Chat</h1>
72
- <p className="text-sm text-white/60 mt-1">Chat with Claude.</p>
73
- </div>
74
- </div>
75
-
76
- {/* Messages */}
77
- <div className="flex-1 overflow-y-auto space-y-4 pr-1">
78
- {messages.length === 0 && !loading && (
79
- <div className="flex items-center justify-center h-full">
80
- <div className="glass-card glass-card-md px-5 py-4">
81
- <p className="relative text-sm text-white/60">Send a message to start chatting.</p>
82
- </div>
83
- </div>
84
- )}
85
- {messages.map((msg, i) => (
86
- <div
87
- key={i}
88
- className={`flex ${msg.role === 'user' ? 'justify-end' : 'justify-start'}`}
89
- >
90
- {msg.role === 'user' ? (
91
- <div
92
- className="relative max-w-[80%] rounded-2xl px-4 py-2.5 text-sm leading-relaxed whitespace-pre-wrap text-white border border-white/10 backdrop-blur-xl"
93
- style={{
94
- background:
95
- 'linear-gradient(135deg, rgba(236, 72, 153, 0.35), rgba(225, 29, 72, 0.25))',
96
- boxShadow:
97
- '0 1px 0 0 rgba(255,255,255,0.1) inset, 0 10px 30px -10px rgba(244, 63, 94, 0.35)',
98
- }}
99
- >
100
- {msg.content}
101
- </div>
102
- ) : (
103
- <div className="relative max-w-[80%] glass-card glass-card-md px-4 py-2.5">
104
- <p className="relative text-sm leading-relaxed whitespace-pre-wrap text-white/90">
105
- {msg.content}
106
- </p>
107
- </div>
108
- )}
109
- </div>
110
- ))}
111
- {loading && (
112
- <div className="flex justify-start">
113
- <div className="relative glass-card glass-card-md px-4 py-2.5 flex items-center gap-2">
114
- <Loader2 className="h-4 w-4 animate-spin text-white/60 relative" />
115
- <span className="text-sm text-white/60 relative">Thinking…</span>
116
- </div>
117
- </div>
118
- )}
119
- <div ref={bottomRef} />
120
- </div>
121
-
122
- {/* Input */}
123
- <div className="shrink-0 pt-4">
124
- <div className="glass-pill rounded-full flex items-end gap-2 max-w-3xl mx-auto px-2 py-2">
125
- <textarea
126
- ref={inputRef}
127
- value={input}
128
- onChange={(e) => setInput(e.target.value)}
129
- onKeyDown={handleKeyDown}
130
- placeholder="Type a message…"
131
- rows={1}
132
- className="relative flex-1 resize-none bg-transparent border-none outline-none px-3 py-2 text-sm text-white placeholder-white/40 max-h-40"
133
- />
134
- <button
135
- onClick={sendMessage}
136
- disabled={loading || !input.trim()}
137
- className="relative shrink-0 h-9 w-9 rounded-full bg-gradient-to-br from-violet-500 to-fuchsia-500 hover:brightness-110 disabled:opacity-40 disabled:hover:brightness-100 flex items-center justify-center transition shadow-lg shadow-fuchsia-500/20"
138
- >
139
- <Send className="h-4 w-4 text-white" />
140
- </button>
141
- </div>
142
- </div>
143
- </div>
144
- );
145
- }