Major feature additions across backend and frontend: Backend: - Unix domain socket admin server with JSON-RPC protocol - CLI subcommands: user/agent management, audit, backup, messages, channels - Managed API keys (sb_ prefix) with permissions, channel limits, expiry - Thread/reply support in messaging core (reply_to column) - Context-based trace owner_id propagation for proper audit filtering - Two-step auth middleware supporting both agent keys and managed API keys Frontend: - Complete Slack-like dark theme redesign with custom CSS properties - Sidebar with Channels, Direct Messages, and Admin sections - Thread panel (slide-in) for viewing message replies - API key management page with create form, key display, and ready-to-use MCP/Claude Code config snippets with copy-to-clipboard - All pages restyled: login, dashboard, agents, conversations, settings E2E Tests: - Fixed test runner binary path resolution - Added pyproject.toml for test dependencies Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
41 lines
945 B
JavaScript
41 lines
945 B
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
|
|
function withOpacityValue(variable) {
|
|
return ({ opacityValue }) => {
|
|
if (opacityValue !== undefined) {
|
|
return `rgba(var(${variable}), ${opacityValue})`;
|
|
}
|
|
return `rgb(var(${variable}))`;
|
|
};
|
|
}
|
|
|
|
export default {
|
|
content: ['./src/**/*.{html,js,svelte,ts}'],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
'bg-primary': '#1a1d21',
|
|
'bg-secondary': '#222529',
|
|
'bg-tertiary': '#2c2f33',
|
|
'bg-input': '#383b40',
|
|
'text-primary': '#e8e8e8',
|
|
'text-secondary': '#9b9da0',
|
|
'text-link': '#1d9bd1',
|
|
'accent-green': '#2eb67d',
|
|
'accent-yellow': '#ecb22e',
|
|
'accent-red': '#e01e5a',
|
|
'accent-blue': '#36c5f0',
|
|
'accent-purple': '#7c3aed',
|
|
'border': '#383b40',
|
|
'border-active': '#545760'
|
|
},
|
|
fontFamily: {
|
|
display: ['Instrument Sans', 'sans-serif'],
|
|
body: ['DM Sans', 'sans-serif'],
|
|
mono: ['JetBrains Mono', 'monospace']
|
|
}
|
|
}
|
|
},
|
|
plugins: []
|
|
};
|