fluxy-bot 0.12.7 → 0.13.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.
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fluxy-bot",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"releaseNotes": [
|
|
5
|
-
"
|
|
6
|
-
"2. ",
|
|
7
|
-
"3. ",
|
|
8
|
-
"4. "
|
|
5
|
+
"1. react router implemented",
|
|
6
|
+
"2. new workspace design",
|
|
7
|
+
"3. tour",
|
|
8
|
+
"4. worspace helth checker"
|
|
9
9
|
],
|
|
10
10
|
"description": "Self-hosted, self-evolving AI agent with its own dashboard.",
|
|
11
11
|
"type": "module",
|
|
@@ -16,12 +16,65 @@ const TOUR_KEY = 'fluxy_workspace_tour_done';
|
|
|
16
16
|
|
|
17
17
|
export default function WorkspaceTour() {
|
|
18
18
|
useEffect(() => {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
// Mark immediately to prevent StrictMode double-fire
|
|
22
|
-
localStorage.setItem(TOUR_KEY, 'pending');
|
|
19
|
+
const val = localStorage.getItem(TOUR_KEY);
|
|
20
|
+
if (val === '1') return;
|
|
23
21
|
|
|
24
22
|
const timer = setTimeout(() => {
|
|
23
|
+
// Prevent StrictMode double-fire
|
|
24
|
+
if (localStorage.getItem(TOUR_KEY) === '1') return;
|
|
25
|
+
|
|
26
|
+
// Build steps dynamically — skip missing elements
|
|
27
|
+
const steps: any[] = [
|
|
28
|
+
{
|
|
29
|
+
element: '#tour-sidebar',
|
|
30
|
+
popover: {
|
|
31
|
+
title: 'Your Sidebar',
|
|
32
|
+
description: 'When you ask Fluxy to build something, it creates an App that shows up right here. Think of it as your personal app launcher.',
|
|
33
|
+
side: 'right',
|
|
34
|
+
align: 'start',
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
element: '#tour-dashboard',
|
|
39
|
+
popover: {
|
|
40
|
+
title: 'Your Dashboard',
|
|
41
|
+
description: 'Fluxy can add widgets here with a summary of your apps, the weather in your city, home automation controls... whatever you need at a glance.',
|
|
42
|
+
side: 'left',
|
|
43
|
+
align: 'start',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
];
|
|
47
|
+
|
|
48
|
+
// Only add chat step if the widget exists (not present in dev:workspace mode)
|
|
49
|
+
if (document.getElementById('fluxy-widget-toggle')) {
|
|
50
|
+
steps.push({
|
|
51
|
+
element: '#fluxy-widget-toggle',
|
|
52
|
+
popover: {
|
|
53
|
+
title: 'Chat with Fluxy',
|
|
54
|
+
description: 'This is where you talk to your Fluxy. Tell it what to build, ask questions, or just chat. It is always here for you.',
|
|
55
|
+
side: 'left',
|
|
56
|
+
align: 'end',
|
|
57
|
+
},
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
steps.push({
|
|
62
|
+
popover: {
|
|
63
|
+
title: 'A few things to know',
|
|
64
|
+
description: `
|
|
65
|
+
<div style="display:flex;flex-direction:column;gap:12px;font-size:13px;line-height:1.5">
|
|
66
|
+
<p><strong>Make it yours.</strong> These widgets are just examples. You own this workspace and Fluxy can transform it into anything you want.</p>
|
|
67
|
+
<p><strong>Set a workspace password.</strong> By default, your workspace is open. Ask Fluxy to add a password so only you can see your apps and data.</p>
|
|
68
|
+
<p><strong>Keep your chat password safe.</strong> It controls access to Fluxy, which has full access to this machine. Use a strong one. If you ever lose it, run <code style="background:rgba(255,255,255,0.1);padding:2px 6px;border-radius:4px;font-size:12px">fluxy password-reset</code> in your terminal.</p>
|
|
69
|
+
<p><strong>Fluxy does more than build apps.</strong> It can research topics, manage files, run commands, and help with just about anything. Just ask.</p>
|
|
70
|
+
<p><strong>Fluxy wakes up on its own.</strong> Every 30 minutes, it checks in and can take action proactively. You can adjust this anytime.</p>
|
|
71
|
+
<p><strong>Schedule anything.</strong> Ask things like "Every day at 6am, send me a briefing" or "In 40 minutes, remind me to call the dentist." Fluxy handles cron jobs and one-time reminders.</p>
|
|
72
|
+
<p><strong>Install it on your phone.</strong> Fluxy is a PWA. You can add it to your home screen and enable push notifications. It only pings you when something actually matters, and you can tune that by asking.</p>
|
|
73
|
+
</div>
|
|
74
|
+
`,
|
|
75
|
+
},
|
|
76
|
+
});
|
|
77
|
+
|
|
25
78
|
const d = driver({
|
|
26
79
|
showProgress: true,
|
|
27
80
|
animate: true,
|
|
@@ -37,51 +90,7 @@ export default function WorkspaceTour() {
|
|
|
37
90
|
onDestroyed: () => {
|
|
38
91
|
localStorage.setItem(TOUR_KEY, '1');
|
|
39
92
|
},
|
|
40
|
-
steps
|
|
41
|
-
{
|
|
42
|
-
element: '#tour-sidebar',
|
|
43
|
-
popover: {
|
|
44
|
-
title: 'Your Sidebar',
|
|
45
|
-
description: 'When you ask Fluxy to build something, it creates an App that shows up right here. Think of it as your personal app launcher.',
|
|
46
|
-
side: 'right',
|
|
47
|
-
align: 'start',
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
element: '#tour-dashboard',
|
|
52
|
-
popover: {
|
|
53
|
-
title: 'Your Dashboard',
|
|
54
|
-
description: 'Fluxy can add widgets here with a summary of your apps, the weather in your city, home automation controls... whatever you need at a glance.',
|
|
55
|
-
side: 'left',
|
|
56
|
-
align: 'start',
|
|
57
|
-
},
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
element: '#fluxy-widget-toggle',
|
|
61
|
-
popover: {
|
|
62
|
-
title: 'Chat with Fluxy',
|
|
63
|
-
description: 'This is where you talk to your Fluxy. Tell it what to build, ask questions, or just chat. It is always here for you.',
|
|
64
|
-
side: 'left',
|
|
65
|
-
align: 'end',
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
popover: {
|
|
70
|
-
title: 'A few things to know',
|
|
71
|
-
description: `
|
|
72
|
-
<div style="display:flex;flex-direction:column;gap:12px;font-size:13px;line-height:1.5">
|
|
73
|
-
<p><strong>Make it yours.</strong> These widgets are just examples. You own this workspace and Fluxy can transform it into anything you want.</p>
|
|
74
|
-
<p><strong>Set a workspace password.</strong> By default, your workspace is open. Ask Fluxy to add a password so only you can see your apps and data.</p>
|
|
75
|
-
<p><strong>Keep your chat password safe.</strong> It controls access to Fluxy, which has full access to this machine. Use a strong one. If you ever lose it, run <code style="background:rgba(255,255,255,0.1);padding:2px 6px;border-radius:4px;font-size:12px">fluxy password-reset</code> in your terminal.</p>
|
|
76
|
-
<p><strong>Fluxy does more than build apps.</strong> It can research topics, manage files, run commands, and help with just about anything. Just ask.</p>
|
|
77
|
-
<p><strong>Fluxy wakes up on its own.</strong> Every 30 minutes, it checks in and can take action proactively. You can adjust this anytime.</p>
|
|
78
|
-
<p><strong>Schedule anything.</strong> Ask things like "Every day at 6am, send me a briefing" or "In 40 minutes, remind me to call the dentist." Fluxy handles cron jobs and one-time reminders.</p>
|
|
79
|
-
<p><strong>Install it on your phone.</strong> Fluxy is a PWA. You can add it to your home screen and enable push notifications. It only pings you when something actually matters, and you can tune that by asking.</p>
|
|
80
|
-
</div>
|
|
81
|
-
`,
|
|
82
|
-
},
|
|
83
|
-
},
|
|
84
|
-
],
|
|
93
|
+
steps,
|
|
85
94
|
});
|
|
86
95
|
|
|
87
96
|
d.drive();
|
|
@@ -59,7 +59,7 @@ function SheetContent({
|
|
|
59
59
|
data-slot="sheet-content"
|
|
60
60
|
aria-describedby={undefined}
|
|
61
61
|
className={cn(
|
|
62
|
-
"
|
|
62
|
+
"data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 bg-[#1A1A1A]",
|
|
63
63
|
side === "right" &&
|
|
64
64
|
"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
|
|
65
65
|
side === "left" &&
|