@polderlabs/bizar 4.4.13 → 4.5.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/bizar-dash/CHANGELOG.md +37 -276
- package/bizar-dash/dist/assets/__vite-browser-external-BIHI7g3E.js +2 -0
- package/bizar-dash/dist/assets/__vite-browser-external-BIHI7g3E.js.map +1 -0
- package/bizar-dash/dist/assets/main-eWZ4NlCL.css +1 -0
- package/bizar-dash/dist/assets/main-usWhlPWa.js +362 -0
- package/bizar-dash/dist/assets/main-usWhlPWa.js.map +1 -0
- package/bizar-dash/dist/assets/{mobile-DSb-t42Y.js → mobile-DQLFCjwJ.js} +2 -2
- package/bizar-dash/dist/assets/{mobile-DSb-t42Y.js.map → mobile-DQLFCjwJ.js.map} +1 -1
- package/bizar-dash/dist/assets/mobile-O6ANdD4W.js +352 -0
- package/bizar-dash/dist/assets/mobile-O6ANdD4W.js.map +1 -0
- package/bizar-dash/dist/index.html +3 -3
- package/bizar-dash/dist/mobile.html +2 -2
- package/bizar-dash/skills/agent-baseline/SKILL.md +80 -0
- package/bizar-dash/skills/bizar/SKILL.md +116 -0
- package/bizar-dash/skills/chat/SKILL.md +74 -0
- package/bizar-dash/skills/headroom/SKILL.md +94 -0
- package/bizar-dash/skills/lightrag/SKILL.md +86 -0
- package/bizar-dash/skills/minimax/SKILL.md +80 -0
- package/bizar-dash/skills/obsidian/SKILL.md +68 -0
- package/bizar-dash/skills/providers/SKILL.md +75 -0
- package/bizar-dash/skills/sdk/SKILL.md +138 -0
- package/bizar-dash/skills/self-improvement/SKILL.md +53 -0
- package/bizar-dash/skills/skills-cli/SKILL.md +94 -0
- package/bizar-dash/skills/usage/SKILL.md +62 -0
- package/bizar-dash/src/server/api.mjs +18 -0
- package/bizar-dash/src/server/headroom.mjs +645 -0
- package/bizar-dash/src/server/memory-lightrag.mjs +272 -2
- package/bizar-dash/src/server/memory-obsidian.mjs +230 -0
- package/bizar-dash/src/server/memory-store.mjs +189 -0
- package/bizar-dash/src/server/minimax-usage-store.mjs +372 -0
- package/bizar-dash/src/server/minimax.mjs +196 -5
- package/bizar-dash/src/server/providers-store.mjs +956 -0
- package/bizar-dash/src/server/routes/_shared.mjs +17 -0
- package/bizar-dash/src/server/routes/config.mjs +52 -1
- package/bizar-dash/src/server/routes/env-vars.mjs +165 -0
- package/bizar-dash/src/server/routes/headroom.mjs +126 -0
- package/bizar-dash/src/server/routes/lightrag.mjs +154 -0
- package/bizar-dash/src/server/routes/memory.mjs +668 -1
- package/bizar-dash/src/server/routes/opencode-session-detail.mjs +14 -29
- package/bizar-dash/src/server/routes/opencode-sessions.mjs +205 -3
- package/bizar-dash/src/server/routes/providers.mjs +266 -5
- package/bizar-dash/src/server/routes/skills.mjs +32 -43
- package/bizar-dash/src/server/routes/update.mjs +340 -0
- package/bizar-dash/src/server/routes/usage.mjs +136 -0
- package/bizar-dash/src/server/serve-info.mjs +135 -4
- package/bizar-dash/src/server/server.mjs +20 -0
- package/bizar-dash/src/server/skills-store.mjs +152 -262
- package/bizar-dash/src/web/App.tsx +120 -29
- package/bizar-dash/src/web/components/EnvVarManager.tsx +247 -0
- package/bizar-dash/src/web/components/HeadroomSettings.tsx +418 -0
- package/bizar-dash/src/web/components/HeadroomStatus.tsx +158 -0
- package/bizar-dash/src/web/components/SettingsSearch.tsx +213 -0
- package/bizar-dash/src/web/components/Topbar.tsx +2 -1
- package/bizar-dash/src/web/components/UsageChart.tsx +250 -0
- package/bizar-dash/src/web/components/UsageTable.tsx +90 -0
- package/bizar-dash/src/web/components/chat/ChatComposer.tsx +21 -25
- package/bizar-dash/src/web/components/chat/ChatInfoPanel.tsx +199 -37
- package/bizar-dash/src/web/components/chat/ChatThread.tsx +29 -17
- package/bizar-dash/src/web/components/chat/FloatingComposer.tsx +7 -1
- package/bizar-dash/src/web/components/chat/InfoPanel.tsx +71 -6
- package/bizar-dash/src/web/components/chat/useChat.ts +751 -257
- package/bizar-dash/src/web/lib/api.ts +43 -0
- package/bizar-dash/src/web/lib/types.ts +16 -0
- package/bizar-dash/src/web/main.tsx +2 -0
- package/bizar-dash/src/web/mobile/views/MobileChat.tsx +110 -35
- package/bizar-dash/src/web/styles/chat.css +135 -1
- package/bizar-dash/src/web/styles/main.css +46 -0
- package/bizar-dash/src/web/styles/memory.css +955 -0
- package/bizar-dash/src/web/styles/minimax-usage.css +335 -0
- package/bizar-dash/src/web/styles/settings.css +418 -0
- package/bizar-dash/src/web/styles/skills.css +302 -0
- package/bizar-dash/src/web/styles/tasks.css +288 -0
- package/bizar-dash/src/web/views/Chat.tsx +276 -48
- package/bizar-dash/src/web/views/Config.tsx +3 -2065
- package/bizar-dash/src/web/views/Memory.tsx +140 -0
- package/bizar-dash/src/web/views/MiniMaxUsage.tsx +476 -461
- package/bizar-dash/src/web/views/Overview.tsx +3 -0
- package/bizar-dash/src/web/views/Settings.tsx +36 -0
- package/bizar-dash/src/web/views/Skills.tsx +208 -260
- package/bizar-dash/src/web/views/Tasks.tsx +348 -1119
- package/bizar-dash/src/web/views/memory/ConfigPanel.tsx +289 -0
- package/bizar-dash/src/web/views/memory/GitSyncPanel.tsx +220 -0
- package/bizar-dash/src/web/views/memory/LightragPanel.tsx +307 -0
- package/bizar-dash/src/web/views/memory/MemoryOverview.tsx +354 -0
- package/bizar-dash/src/web/views/memory/MemoryStatusCard.tsx +160 -0
- package/bizar-dash/src/web/views/memory/ObsidianPanel.tsx +642 -0
- package/bizar-dash/src/web/views/memory/SemanticSearchPanel.tsx +194 -0
- package/bizar-dash/tests/chat-session-create.test.mjs +391 -0
- package/bizar-dash/tests/chat-session-stream.test.mjs +308 -0
- package/bizar-dash/tests/env-vars-store.test.mjs +216 -0
- package/bizar-dash/tests/headroom-install.test.mjs +173 -0
- package/bizar-dash/tests/headroom-settings.test.mjs +126 -0
- package/bizar-dash/tests/headroom-status.test.mjs +117 -0
- package/bizar-dash/tests/lightrag-defaults.node.test.mjs +118 -0
- package/bizar-dash/tests/memory-lightrag-extended.test.mjs +162 -0
- package/bizar-dash/tests/memory-obsidian.test.mjs +269 -0
- package/bizar-dash/tests/memory-tab.test.mjs +322 -0
- package/bizar-dash/tests/minimax-chat-usage.test.mjs +178 -0
- package/bizar-dash/tests/minimax-usage-store.node.test.mjs +293 -0
- package/bizar-dash/tests/mod-upgrade.node.test.mjs +1 -1
- package/bizar-dash/tests/opencode-sessions-detail.test.mjs +12 -9
- package/bizar-dash/tests/providers-store-backup-keys.node.test.mjs +479 -3
- package/bizar-dash/tests/providers-store-search.node.test.mjs +166 -0
- package/bizar-dash/tests/skills-list.test.mjs +232 -0
- package/bizar-dash/tests/skills-search.test.mjs +222 -0
- package/bizar-dash/tests/submit-feedback.test.mjs +6 -6
- package/bizar-dash/tests/tasks-create.test.mjs +187 -0
- package/bizar-dash/tests/update-check.test.mjs +127 -0
- package/bizar-dash/tests/update-run.test.mjs +266 -0
- package/cli/bin.mjs +247 -1
- package/cli/provision.mjs +118 -4
- package/config/agents/_shared/SKILLS.md +109 -0
- package/package.json +1 -1
- package/bizar-dash/dist/assets/main-BB5mJurD.js +0 -352
- package/bizar-dash/dist/assets/main-BB5mJurD.js.map +0 -1
- package/bizar-dash/dist/assets/main-BsnQLXdh.css +0 -1
- package/bizar-dash/dist/assets/mobile-Dl1q7Cyq.js +0 -354
- package/bizar-dash/dist/assets/mobile-Dl1q7Cyq.js.map +0 -1
|
@@ -30,6 +30,7 @@ import {
|
|
|
30
30
|
} from 'lucide-react';
|
|
31
31
|
import { Card, CardTitle, CardMeta } from '../components/Card';
|
|
32
32
|
import { Button } from '../components/Button';
|
|
33
|
+
import { MemoryStatusCard } from './memory/MemoryStatusCard';
|
|
33
34
|
import { EmptyState } from '../components/EmptyState';
|
|
34
35
|
import { Spinner } from '../components/Spinner';
|
|
35
36
|
import { useToast } from '../components/Toast';
|
|
@@ -461,6 +462,8 @@ export function Overview({
|
|
|
461
462
|
)}
|
|
462
463
|
</Card>
|
|
463
464
|
|
|
465
|
+
<MemoryStatusCard setActiveTab={setActiveTab} />
|
|
466
|
+
|
|
464
467
|
<div className="overview-cols">
|
|
465
468
|
<Card>
|
|
466
469
|
<CardTitle>Mods</CardTitle>
|
|
@@ -36,6 +36,7 @@ import { Card, CardTitle, CardMeta } from '../components/Card';
|
|
|
36
36
|
import { useToast } from '../components/Toast';
|
|
37
37
|
import { api } from '../lib/api';
|
|
38
38
|
import { cn } from '../lib/utils';
|
|
39
|
+
import { HeadroomSettingsCard } from '../components/HeadroomSettings';
|
|
39
40
|
import { Ws } from '../lib/ws';
|
|
40
41
|
import {
|
|
41
42
|
applyTheme,
|
|
@@ -73,6 +74,21 @@ const PRESET_THEMES = [
|
|
|
73
74
|
{ name: 'Mono', accent: '#6b7280' },
|
|
74
75
|
];
|
|
75
76
|
|
|
77
|
+
// v5.0.0 — Headroom default settings
|
|
78
|
+
const DEFAULT_HEADROOM_SETTINGS = {
|
|
79
|
+
enabled: true,
|
|
80
|
+
autoInstall: true,
|
|
81
|
+
port: 8787,
|
|
82
|
+
host: '127.0.0.1',
|
|
83
|
+
outputShaper: false,
|
|
84
|
+
telemetry: false,
|
|
85
|
+
budget: 0,
|
|
86
|
+
backend: 'anthropic',
|
|
87
|
+
autoStart: true,
|
|
88
|
+
autoWrap: true,
|
|
89
|
+
routeAllProviders: true,
|
|
90
|
+
};
|
|
91
|
+
|
|
76
92
|
const FONT_FAMILIES = [
|
|
77
93
|
'Inter',
|
|
78
94
|
'system-ui',
|
|
@@ -552,6 +568,7 @@ export function SettingsView({ settings: initial, refreshSnapshot }: Props) {
|
|
|
552
568
|
{ id: 'dashboard', label: 'Dashboard' },
|
|
553
569
|
{ id: 'background', label: 'Background' },
|
|
554
570
|
{ id: 'system-llm', label: 'System LLM' },
|
|
571
|
+
{ id: 'headroom', label: 'Headroom' },
|
|
555
572
|
{ id: 'updates', label: 'Updates' },
|
|
556
573
|
{ id: 'activity-log', label: 'Activity' },
|
|
557
574
|
{ id: 'about', label: 'About' },
|
|
@@ -1209,6 +1226,12 @@ export function SettingsView({ settings: initial, refreshSnapshot }: Props) {
|
|
|
1209
1226
|
Dashboard tokens are generated on first boot and saved to{' '}
|
|
1210
1227
|
<code>~/.config/bizar/dashboard-secret</code> (mode 0600).
|
|
1211
1228
|
</p>
|
|
1229
|
+
{/* v3.6.2 */}
|
|
1230
|
+
<p className="muted" style={{ fontSize: 12, margin: '4px 0' }}>
|
|
1231
|
+
For Tailscale Serve or any reverse-proxy access, paste this token
|
|
1232
|
+
once via the boot screen — it is saved per-origin and works for all
|
|
1233
|
+
subsequent visits.
|
|
1234
|
+
</p>
|
|
1212
1235
|
</div>
|
|
1213
1236
|
<div className="field" data-setting-id="auth.token">
|
|
1214
1237
|
<label className="field-label">Token (this browser)</label>
|
|
@@ -1580,6 +1603,19 @@ export function SettingsView({ settings: initial, refreshSnapshot }: Props) {
|
|
|
1580
1603
|
</Card>
|
|
1581
1604
|
</div>
|
|
1582
1605
|
|
|
1606
|
+
<div data-section="headroom" style={{display: (activeSection === null || activeSection === 'headroom') ? 'block' : 'none'}}>
|
|
1607
|
+
<HeadroomSettingsCard
|
|
1608
|
+
settings={settings.headroom || DEFAULT_HEADROOM_SETTINGS}
|
|
1609
|
+
onPatch={(patch) => {
|
|
1610
|
+
setSettings((cur) => ({
|
|
1611
|
+
...cur,
|
|
1612
|
+
headroom: { ...(cur.headroom || DEFAULT_HEADROOM_SETTINGS), ...patch },
|
|
1613
|
+
}));
|
|
1614
|
+
setDirty(true);
|
|
1615
|
+
}}
|
|
1616
|
+
/>
|
|
1617
|
+
</div>
|
|
1618
|
+
|
|
1583
1619
|
<PairDeviceCard />
|
|
1584
1620
|
|
|
1585
1621
|
<div style={{display: (activeSection === null || activeSection === 'activity-log') ? 'block' : 'none'}}>
|