Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e44e4ced17 | ||
|
|
f452c657ed | ||
|
|
1cd838e7a1 | ||
|
|
a8f460499b | ||
|
|
a977228a09 |
@@ -121,6 +121,8 @@ After changing an action name, parameter, result description/schema, example or
|
||||
|
||||
SDK breaking changes also update [CHANGELOG.md](packages/sdk/CHANGELOG.md) and [VERSIONING.md](packages/sdk/VERSIONING.md). WebUI changes follow its [interaction conventions](packages/webui/README.md). Keep user-facing documentation aligned with behavior.
|
||||
|
||||
Standalone WebUI branding uses the [SnowLuma mascot](assets/readme/mascot.png) and a lavender default accent. The default palette lightly tints neutral surfaces with the active accent, respecting sidebar-only scope and OLED black. Keep server defaults, frontend presets and pre-mount CSS aligned as described in [WebUI default appearance](packages/webui/README.md#default-appearance), while preserving saved user choices, named palettes and host appearance overlays.
|
||||
|
||||
The root [README.md](README.md) presents the project's purpose, overall capabilities, quick start and documentation entry points. Update it only when those overview details change; adding or fixing an individual feature does not justify adding a dedicated section there. Put feature-specific API usage, configuration, limitations and troubleshooting in the relevant package README or topic document, preferring existing documentation.
|
||||
|
||||
Edit sources rather than `dist` outputs. Native artifacts in `packages/runtime/native` are supplied build inputs; do not substitute arbitrary local binaries to make a build pass. Packaging changes must preserve the checks in [Core's build configuration](packages/core/vite.config.ts) and [the release layout validator](tools/check-release-layout.mjs).
|
||||
|
||||
28
README.md
@@ -1,8 +1,13 @@
|
||||
<p align="center">
|
||||
<img src="./assets/readme/hero.svg" width="100%" alt="SnowLuma 将 QQ 原生会话桥接到 OneBot、WebUI 与自动化工具" />
|
||||
</p>
|
||||
<img align="right" src="./assets/readme/mascot.png" width="34%" alt="SnowLuma 看板娘:紫发金瞳,戴着星饰贝雷帽的少女" />
|
||||
|
||||
<p align="center">
|
||||
# SnowLuma
|
||||
|
||||
**让 QQ 原生会话,连接你的应用。**
|
||||
|
||||
QQ 客户端的 TypeScript 互操作运行时。<br>
|
||||
OneBot v11 · WebUI · SDK · MCP
|
||||
|
||||
<p>
|
||||
<a href="https://github.com/SnowLuma/SnowLuma/releases"><img alt="最新版本" src="https://img.shields.io/github/v/release/SnowLuma/SnowLuma?label=release&style=flat-square"></a>
|
||||
<a href="https://github.com/SnowLuma/SnowLuma/actions/workflows/dev-build.yml"><img alt="构建状态" src="https://img.shields.io/github/actions/workflow/status/SnowLuma/SnowLuma/dev-build.yml?branch=dev&style=flat-square&label=build"></a>
|
||||
<a href="https://www.npmjs.com/package/@snowluma/sdk"><img alt="SnowLuma SDK 版本" src="https://img.shields.io/npm/v/%40snowluma%2Fsdk?style=flat-square&label=sdk&color=287fb8"></a>
|
||||
@@ -10,13 +15,16 @@
|
||||
<a href="https://github.com/SnowLuma/SnowLuma/stargazers"><img alt="GitHub Stars" src="https://img.shields.io/github/stars/SnowLuma/SnowLuma?style=flat-square"></a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="#快速开始">快速开始</a> ·
|
||||
<a href="https://snowluma.github.io/zh/docs/api">动作参考</a> ·
|
||||
<a href="https://github.com/SnowLuma/SnowLuma/issues">问题反馈</a>
|
||||
</p>
|
||||
将 QQ 原生会话转换为 [OneBot v11](https://github.com/botuniverse/onebot-11) 动作与事件,通过 WebSocket、HTTP、WebUI、SDK 和 MCP 提供统一入口。
|
||||
|
||||
SnowLuma 是面向 QQ 客户端的 TypeScript 互操作运行时,将 QQ 原生会话转换为 [OneBot v11](https://github.com/botuniverse/onebot-11) 动作与事件,并通过 WebSocket、HTTP、WebUI、SDK 和 MCP 提供统一入口。
|
||||
多账号会话、消息与媒体、连接配置和实时日志,在一个运行时中管理。
|
||||
|
||||
**[下载发行版](https://github.com/SnowLuma/SnowLuma/releases)** · **[快速开始](#快速开始)**<br>
|
||||
[部署指南](https://snowluma.github.io/zh/docs/guide/deploy) · [动作参考](https://snowluma.github.io/zh/docs/api) · [问题反馈](https://github.com/SnowLuma/SnowLuma/issues)
|
||||
|
||||
<sub>Windows x64 · Linux x64 / arm64</sub>
|
||||
|
||||
<br clear="both" />
|
||||
|
||||
> [!CAUTION]
|
||||
> SnowLuma 是独立的第三方项目,与腾讯 / QQ 无隶属或授权关系。项目仅供学习与技术研究,请遵守《QQ 用户协议》及适用法律;软件按“现状”提供,使用风险自负。详见 [`EULA.md`](EULA.md)。
|
||||
|
||||
BIN
assets/brand/mascot-avatar.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
assets/readme/mascot.png
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"license": "SEE LICENSE IN LICENSE",
|
||||
"name": "snowluma-monorepo",
|
||||
"version": "2.3.4",
|
||||
"version": "2.4.0",
|
||||
"description": "SnowLuma monorepo workspace (pnpm)",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"license": "SEE LICENSE IN LICENSE",
|
||||
"name": "@snowluma/bridge",
|
||||
"version": "2.3.4",
|
||||
"version": "2.4.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"description": "SnowLuma bridge — QQ NT desktop client lifecycle: hook injection (via native addon), per-PID HookSession orchestration, pipe-watcher for process discovery, and the BridgeManagerSink interface that lets the hook layer call back into a UIN-keyed session router without depending on @snowluma/core. Consumed by the top-level app entry (which constructs the BridgeManager from @snowluma/core and injects it as the sink) and by the WebUI server (read-only HookProcessInfo views).",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"license": "SEE LICENSE IN LICENSE",
|
||||
"name": "@snowluma/common",
|
||||
"version": "2.3.4",
|
||||
"version": "2.4.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"description": "SnowLuma shared infrastructure — leaf-package utilities with zero business dependencies. Logger / hex codec / log file transport / log line summariser / packet sender wire-protocol types / runtime config loader. Consumed by @snowluma/protocol, @snowluma/core, and @snowluma/onebot. Per-file subpath exports keep import sites unambiguous and let the bundler tree-shake aggressively (importing `@snowluma/common/hex` doesn't pull in `node:fs` from the logger transport).",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"license": "SEE LICENSE IN LICENSE",
|
||||
"name": "@snowluma/core",
|
||||
"version": "2.3.4",
|
||||
"version": "2.4.0",
|
||||
"description": "SnowLuma core - NTQQ packet sniffer with Node.js native addon",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
@@ -53,8 +53,7 @@
|
||||
"tar": "^7.5.22"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@hono/node-server": "^1.19.15",
|
||||
"@rollup/plugin-node-resolve": "^16.0.3",
|
||||
"@hono/node-server": "^2.1.4",
|
||||
"@types/node": "catalog:",
|
||||
"cross-env": "^10.1.0",
|
||||
"hono": "^4.13.11",
|
||||
|
||||
@@ -44,7 +44,7 @@ export type SidebarStyle = 'follow' | 'panel' | 'accent';
|
||||
export type BackgroundType = 'none' | 'solid' | 'gradient' | 'image';
|
||||
export type Density = 'cozy' | 'compact';
|
||||
export type TimeFormat = '12h' | '24h';
|
||||
/** Full color scheme. 'default' keeps the sky theme (driven by `mode`); the
|
||||
/** Full color scheme. 'default' keeps the lavender theme (driven by `mode`); the
|
||||
* Catppuccin flavors are complete palettes that also fix light/dark. */
|
||||
export type Palette =
|
||||
| 'default'
|
||||
@@ -85,7 +85,7 @@ export interface UiAppearance {
|
||||
accentCustom: string;
|
||||
accentScope: AccentScope;
|
||||
darkIntensity: DarkIntensity;
|
||||
/** Full color scheme; 'default' = the built-in sky theme. */
|
||||
/** Full color scheme; 'default' = the built-in lavender theme. */
|
||||
palette: Palette;
|
||||
sidebarStyle: SidebarStyle;
|
||||
background: UiBackground;
|
||||
@@ -203,12 +203,12 @@ export interface UiConfig {
|
||||
}
|
||||
|
||||
// ─── Defaults ────────────────────────────────────────────────────────────
|
||||
// Mirror the pre-existing ThemeContext defaults so an upgrade is a no-op
|
||||
// visually until the operator changes something.
|
||||
// Keep these defaults aligned with ThemeContext. Saved appearance choices
|
||||
// are normalized independently and remain the operator's preference.
|
||||
|
||||
const DEFAULT_BACKGROUND: UiBackground = {
|
||||
type: 'none',
|
||||
color: '#0ea5e9',
|
||||
color: '#b99ae6',
|
||||
gradient: 'none',
|
||||
imageOpacity: 0.15,
|
||||
imageBlur: 0,
|
||||
@@ -220,8 +220,8 @@ const DEFAULT_BACKGROUND: UiBackground = {
|
||||
const DEFAULT_APPEARANCE: UiAppearance = {
|
||||
mode: 'system',
|
||||
accentMode: 'preset',
|
||||
accentPreset: 'sky',
|
||||
accentCustom: '#38bdf8',
|
||||
accentPreset: 'lavender',
|
||||
accentCustom: '#8561bd',
|
||||
accentScope: 'global',
|
||||
darkIntensity: 'soft',
|
||||
palette: 'default',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { afterEach, beforeEach, describe, expect, it } from 'vitest';
|
||||
import { Hono } from 'hono';
|
||||
import { mkdtempSync, rmSync, writeFileSync } from 'node:fs';
|
||||
import { mkdirSync, mkdtempSync, rmSync, writeFileSync } from 'node:fs';
|
||||
import { tmpdir } from 'node:os';
|
||||
import path from 'node:path';
|
||||
import { registerStaticFrontend } from '../src/webui/static-frontend';
|
||||
@@ -44,4 +44,35 @@ describe('runtime target document delivery', () => {
|
||||
expect((await app.request(url)).status).toBe(404);
|
||||
}
|
||||
});
|
||||
|
||||
it('does not serve a protected static path through a second percent decode', async () => {
|
||||
mkdirSync(path.join(root, 'admin'));
|
||||
writeFileSync(path.join(root, 'admin', 'private.txt'), 'protected fixture');
|
||||
const app = new Hono();
|
||||
app.use('/admin/*', async (c) => c.text('unauthorized', 401));
|
||||
registerStaticFrontend(app, root, null);
|
||||
|
||||
for (const url of ['/admin/private.txt', '/%61dmin/private.txt']) {
|
||||
const response = await app.request(url);
|
||||
expect(response.status).toBe(401);
|
||||
expect(await response.text()).toBe('unauthorized');
|
||||
}
|
||||
|
||||
// The router sees /%61dmin; decoding again would reach /admin
|
||||
// after the middleware for that prefix has already been skipped.
|
||||
const response = await app.request('/%%36%31dmin/private.txt');
|
||||
expect(await response.text()).toBe(html);
|
||||
});
|
||||
|
||||
it.each(['hello world.js', '图标.js'])(
|
||||
'still serves ordinarily encoded asset names: %s',
|
||||
async (filename) => {
|
||||
writeFileSync(path.join(root, filename), 'window.encodedAsset = true;');
|
||||
const app = new Hono();
|
||||
registerStaticFrontend(app, root, null);
|
||||
const response = await app.request(`/${encodeURIComponent(filename)}`);
|
||||
expect(response.status).toBe(200);
|
||||
expect(await response.text()).toBe('window.encodedAsset = true;');
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"license": "SEE LICENSE IN LICENSE",
|
||||
"name": "@snowluma/mcp",
|
||||
"version": "2.3.4",
|
||||
"version": "2.4.0",
|
||||
"description": "MCP server exposing the SnowLuma OneBot action catalog (docs + JSON Schemas) and optional execution to LLM clients.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"license": "SEE LICENSE IN LICENSE",
|
||||
"name": "@snowluma/onebot",
|
||||
"version": "2.3.4",
|
||||
"version": "2.4.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"description": "SnowLuma OneBot v11 adapter — the protocol translation layer that maps the public OneBot vocabulary (HTTP / WebSocket actions, message segments, post events) onto @snowluma/core's typed Api hub (`bridge.apis.<area>.method()`). Owns network adapters (HTTP server / HTTP client / WS server / WS client), the registered action handlers, the receive-side event→OneBot converter, message-id hashing, message store (SQLite-backed event history), media store, and the OneBot instance + manager that ties one OneBotConfig to one Bridge. Per-file subpath exports mirror the legacy `core/src/onebot/*` layout 1:1 so the previous `import { … } from '../onebot/<x>'` collapses to `import { … } from '@snowluma/onebot/<x>'`.",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"license": "SEE LICENSE IN LICENSE",
|
||||
"name": "@snowluma/proto-defs",
|
||||
"version": "2.3.4",
|
||||
"version": "2.4.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"description": "SnowLuma QQ/Lagrange wire-protobuf type definitions. Pure TypeScript interfaces with proton's `pb<N, T>` marker types — `@snowluma/proton`'s vite plugin compiles them into zero-runtime encoder/decoder functions at the call sites in `@snowluma/core` (and any downstream consumer). Exposed as per-file subpaths (`@snowluma/proto-defs/oidb`, `@snowluma/proto-defs/message`, …) so the import-site shape mirrors the legacy `bridge/proto/proton/*` layout and avoids name collisions across files (notably `highway.ts` and `oidb-actions/media.ts` share NTV2-prefixed names).",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"license": "SEE LICENSE IN LICENSE",
|
||||
"name": "@snowluma/protocol",
|
||||
"version": "2.3.4",
|
||||
"version": "2.4.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"description": "SnowLuma protocol — the protocol-layer between QQ wire bytes and typed events. Owns: identity service (uid↔uin cache with SQLite persistence), event bus, packet pipeline (incoming SSO packet → QQEventVariant), msg-push decoders, element-builder (MessageElement → wire elems[]), highway upload protocol (file/image/video/ptt), OIDB envelope helper, and the event/notice/request type vocabulary. Consumers (@snowluma/core, @snowluma/onebot) talk to this package through `BridgeContext` for runtime calls and the standalone classes (IdentityService, BridgeEventBus, IncomingPacketPipeline) for composition. Per-file subpath exports mirror the legacy `core/src/bridge/*` layout 1:1 so the previous `import { …} from '../bridge/<x>'` collapses to `import { … } from '@snowluma/protocol/<x>'`.",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"license": "SEE LICENSE IN LICENSE",
|
||||
"name": "@snowluma/proton",
|
||||
"version": "2.3.4",
|
||||
"version": "2.4.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"description": "Compile-time protobuf encoder/decoder generator for SnowLuma. TypeScript interfaces → fully-inlined, zero-runtime protobuf codec functions. Vendored from SnowLuma/protobuf-dsl with edge-case fixes applied.",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"license": "SEE LICENSE IN LICENSE",
|
||||
"name": "@snowluma/runtime",
|
||||
"version": "2.3.4",
|
||||
"version": "2.4.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "index.mjs",
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"name": "MotricSeven",
|
||||
"email": "motricseven@gmail.com"
|
||||
},
|
||||
"version": "2.3.4",
|
||||
"version": "2.4.0",
|
||||
"description": "TypeScript SDK for SnowLuma OneBot HTTP and WebSocket transports",
|
||||
"keywords": [
|
||||
"snowluma",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"license": "SEE LICENSE IN LICENSE",
|
||||
"name": "@snowluma/sqlite",
|
||||
"version": "2.3.4",
|
||||
"version": "2.4.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"description": "SnowLuma asynchronous SQLite facade, native loader and release assets.",
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"name": "MotricSeven",
|
||||
"email": "motricseven@gmail.com"
|
||||
},
|
||||
"version": "2.3.4",
|
||||
"version": "2.4.0",
|
||||
"description": "Shared SnowLuma UI primitives — Tailwind 4 theme tokens + shadcn-style atomic components",
|
||||
"keywords": [
|
||||
"snowluma",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"license": "SEE LICENSE IN LICENSE",
|
||||
"name": "@snowluma/websocket",
|
||||
"version": "2.3.4",
|
||||
"version": "2.4.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "./src/index.ts",
|
||||
|
||||
@@ -3,6 +3,29 @@
|
||||
SnowLuma's browser console is a Vite + React application for managing runtime
|
||||
status, OneBot configuration, logs, storage, and server settings.
|
||||
|
||||
## Default appearance
|
||||
|
||||
New installations and appearance resets use the mascot's lavender accent.
|
||||
The light variant uses a deeper purple for readable button labels; dark mode
|
||||
uses a softer lavender. Existing saved accents and custom colors are preserved.
|
||||
The original sky-blue accent remains available in Settings.
|
||||
|
||||
With the default palette, page, card, input, popover and sidebar surfaces mix a
|
||||
small amount of the active accent into neutral light/dark backgrounds. Text stays
|
||||
neutral for readability. Sidebar-only accents tint only the sidebar; OLED keeps a
|
||||
true-black canvas. Named palettes, custom CSS variables and host appearance
|
||||
overlays retain control of their own surfaces.
|
||||
|
||||
Keep the server defaults in `packages/core/src/webui/ui-config.ts`, the frontend
|
||||
defaults and preset in `src/contexts/ThemeContext.tsx`, and the pre-mount tokens
|
||||
in `src/index.css` aligned when changing the default accent.
|
||||
|
||||
The browser favicon, home-screen icon and in-app logo share the mascot avatar
|
||||
in [`assets/brand/mascot-avatar.png`](../../assets/brand/mascot-avatar.png).
|
||||
Its exported sizes live in `public/`: `logo.png` (512 px), `favicon.png` (64 px),
|
||||
and `apple-touch-icon.png` (180 px). Export from the master without redrawing
|
||||
individual sizes.
|
||||
|
||||
## Host appearance integration
|
||||
|
||||
`SNOWLUMA_WEBUI_TARGET=maibot` opts a deployment into a reversible millennium
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
<html lang="zh-CN" class="light" data-theme="light">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/png" href="/logo.png" />
|
||||
<link rel="icon" type="image/png" sizes="64x64" href="/favicon.png" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
||||
<meta name="theme-color" content="#0ea5e9" />
|
||||
<meta name="theme-color" content="#8561bd" />
|
||||
<!-- WebUI is an admin surface; tell every compliant crawler to skip it. -->
|
||||
<meta name="robots" content="noindex, nofollow, noarchive, nosnippet" />
|
||||
<meta name="googlebot" content="noindex, nofollow, noarchive, nosnippet" />
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"license": "SEE LICENSE IN LICENSE",
|
||||
"name": "webui",
|
||||
"private": true,
|
||||
"version": "2.3.4",
|
||||
"version": "2.4.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
BIN
packages/webui/public/apple-touch-icon.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
packages/webui/public/favicon.png
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 9.3 KiB |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 269 KiB |
@@ -147,7 +147,7 @@ export function Sidebar({ collapsed = false, onItemClick }: SidebarProps) {
|
||||
<div className="flex h-16 shrink-0 items-center px-2">
|
||||
<div className="grid w-12 shrink-0 place-items-center">
|
||||
<div className="relative flex size-9 items-center justify-center overflow-hidden rounded-xl bg-primary/10 ring-1 ring-primary/20">
|
||||
<img src="/logo.png" alt="SnowLuma" className="size-7 object-contain" />
|
||||
<img src="/logo.png" alt="SnowLuma" className="size-full object-cover" />
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
|
||||
@@ -319,7 +319,7 @@ function LoginBrand({ subtitle }: { subtitle: string }) {
|
||||
return (
|
||||
<div className="flex flex-col items-center gap-3 text-center">
|
||||
<div className="flex size-14 items-center justify-center rounded-2xl bg-primary/10 shadow-sm ring-1 ring-primary/20">
|
||||
<img src="/logo.png" alt="SnowLuma" className="size-10 object-contain" />
|
||||
<img src="/logo.png" alt="SnowLuma" className="size-10 rounded-xl object-cover" />
|
||||
</div>
|
||||
<div>
|
||||
<div className="flex items-center justify-center gap-2">
|
||||
|
||||
@@ -671,7 +671,11 @@ function AppearancePanel() {
|
||||
</SettingRow>
|
||||
</Group>
|
||||
|
||||
<Group title="强调色" icon={Palette} description="按钮、链接与高亮使用的主色调。">
|
||||
<Group
|
||||
title="强调色"
|
||||
icon={Palette}
|
||||
description="按钮、链接与高亮使用的主色调;默认配色下,界面底色也会轻微跟随。"
|
||||
>
|
||||
<SettingRow label="预设色" layout="stack">
|
||||
<div className="flex flex-wrap items-center gap-2">
|
||||
{ACCENTS.map((spec) => {
|
||||
@@ -739,7 +743,7 @@ function AppearancePanel() {
|
||||
</SettingRow>
|
||||
<SettingRow
|
||||
label="应用范围"
|
||||
hint="“仅侧栏”时,按钮等全局元素保持默认蓝,强调色只染侧栏选中项。"
|
||||
hint="“仅侧栏”时,主区域保持默认色,仅调整侧栏的底色与高亮。"
|
||||
>
|
||||
<Segmented
|
||||
value={a.accentScope}
|
||||
@@ -2078,7 +2082,7 @@ function AboutPanel() {
|
||||
<img
|
||||
src="/logo.png"
|
||||
alt="SnowLuma"
|
||||
className="size-20 object-contain drop-shadow-sm"
|
||||
className="size-20 rounded-2xl object-cover drop-shadow-sm"
|
||||
/>
|
||||
</div>
|
||||
<div className="flex items-center gap-2">
|
||||
|
||||
@@ -46,7 +46,8 @@ export type AppearancePatch = Partial<Omit<UiAppearance, 'background'>> & {
|
||||
|
||||
// ─── Frontend catalogues (the server stores only ids; the visuals live here) ───
|
||||
|
||||
export type AccentColor = 'sky' | 'blue' | 'violet' | 'rose' | 'emerald' | 'amber' | 'orange';
|
||||
export type AccentColor =
|
||||
'lavender' | 'sky' | 'blue' | 'violet' | 'rose' | 'emerald' | 'amber' | 'orange';
|
||||
|
||||
export interface AccentSpec {
|
||||
id: AccentColor;
|
||||
@@ -57,6 +58,13 @@ export interface AccentSpec {
|
||||
}
|
||||
|
||||
export const ACCENTS: AccentSpec[] = [
|
||||
{
|
||||
id: 'lavender',
|
||||
label: '薰衣草',
|
||||
swatch: '#8561bd',
|
||||
light: { primary: 'oklch(57% 0.14 300)', ring: 'oklch(57% 0.14 300)' },
|
||||
dark: { primary: 'oklch(78% 0.115 300)', ring: 'oklch(78% 0.115 300)' },
|
||||
},
|
||||
{
|
||||
id: 'sky',
|
||||
label: '天蓝',
|
||||
@@ -198,15 +206,15 @@ export const UI_SCALE = { min: 0.9, max: 1.2, step: 0.05 } as const;
|
||||
export const DEFAULT_APPEARANCE: UiAppearance = {
|
||||
mode: 'system',
|
||||
accentMode: 'preset',
|
||||
accentPreset: 'sky',
|
||||
accentCustom: '#38bdf8',
|
||||
accentPreset: 'lavender',
|
||||
accentCustom: '#8561bd',
|
||||
accentScope: 'global',
|
||||
darkIntensity: 'soft',
|
||||
palette: 'default',
|
||||
sidebarStyle: 'follow',
|
||||
background: {
|
||||
type: 'none',
|
||||
color: '#0ea5e9',
|
||||
color: '#b99ae6',
|
||||
gradient: 'none',
|
||||
imageOpacity: 0.15,
|
||||
imageBlur: 0,
|
||||
@@ -327,7 +335,7 @@ function accentVarsCss(a: UiAppearance): string {
|
||||
const surf = a.palette === 'default';
|
||||
|
||||
if (a.accentMode === 'custom') {
|
||||
const hex = safeHex(a.accentCustom, '#38bdf8');
|
||||
const hex = safeHex(a.accentCustom, DEFAULT_APPEARANCE.accentCustom);
|
||||
const lightFg = readableForeground(hex);
|
||||
// Dark mode: lighten the accent for contrast on dark surfaces, and pick
|
||||
// the foreground from the *lightened* colour (a light accent needs dark text).
|
||||
@@ -590,7 +598,7 @@ export const PALETTE_OPTIONS: PaletteSpec[] = [
|
||||
{
|
||||
id: 'default',
|
||||
label: '默认',
|
||||
preview: { bg: '#f1f5f9', surface: '#ffffff', dots: ['#0ea5e9', '#10b981', '#f43f5e'] },
|
||||
preview: { bg: '#f1f5f9', surface: '#ffffff', dots: ['#8561bd', '#10b981', '#f43f5e'] },
|
||||
},
|
||||
{
|
||||
id: 'catppuccin-latte',
|
||||
@@ -784,13 +792,6 @@ function applyAppearance(
|
||||
a.reduceMotion || a.disableMotion || systemReduce ? '1' : '0',
|
||||
);
|
||||
root.setAttribute('data-no-motion', a.disableMotion ? '1' : '0');
|
||||
const themeMeta = document.querySelector('meta[name="theme-color"]');
|
||||
|
||||
if (themeMeta) {
|
||||
const canvas = getComputedStyle(root).getPropertyValue('--background').trim();
|
||||
themeMeta.setAttribute('content', canvas || (resolved === 'dark' ? '#0a0f1a' : '#f4f7fb'));
|
||||
}
|
||||
|
||||
// Mode-independent vars go inline on :root.
|
||||
root.style.setProperty('--radius', `${a.radius}rem`);
|
||||
root.style.setProperty(
|
||||
@@ -853,6 +854,14 @@ function applyAppearance(
|
||||
} else if (cssEl) {
|
||||
cssEl.textContent = '';
|
||||
}
|
||||
|
||||
// Read the rendered canvas after palette/accent/custom overrides are in
|
||||
// place, so the browser chrome follows the current (not previous) theme.
|
||||
const themeMeta = document.querySelector('meta[name="theme-color"]');
|
||||
|
||||
if (themeMeta) {
|
||||
themeMeta.setAttribute('content', getComputedStyle(document.body).backgroundColor);
|
||||
}
|
||||
}
|
||||
|
||||
/** Manage the fixed full-viewport background layer behind the app. */
|
||||
|
||||
@@ -4,32 +4,35 @@
|
||||
@custom-variant dark (&:where(.dark, .dark *));
|
||||
|
||||
/* ──────────────────────────────────────────────
|
||||
Theme tokens (sky-blue accent)
|
||||
Theme tokens (mascot lavender accent)
|
||||
────────────────────────────────────────────── */
|
||||
:root {
|
||||
--radius: 0.75rem;
|
||||
|
||||
--background: oklch(99% 0.004 240);
|
||||
--foreground: oklch(20% 0.03 250);
|
||||
/* Neutral surfaces carry a small amount of the active accent. Keep text
|
||||
neutral and use sidebar-primary separately to respect sidebar-only scope.
|
||||
Named palettes and host overlays still replace these semantic tokens. */
|
||||
--background: color-mix(in oklab, var(--primary) 3%, oklch(100% 0 0));
|
||||
--foreground: oklch(20% 0 0);
|
||||
|
||||
--card: oklch(100% 0 0);
|
||||
--card-foreground: oklch(20% 0.03 250);
|
||||
--card: color-mix(in oklab, var(--primary) 1%, oklch(100% 0 0));
|
||||
--card-foreground: oklch(20% 0 0);
|
||||
|
||||
--popover: oklch(100% 0 0);
|
||||
--popover-foreground: oklch(20% 0.03 250);
|
||||
--popover: color-mix(in oklab, var(--primary) 1%, oklch(100% 0 0));
|
||||
--popover-foreground: oklch(20% 0 0);
|
||||
|
||||
/* sky-500 */
|
||||
--primary: oklch(68.5% 0.155 230);
|
||||
--primary-foreground: oklch(99% 0.005 240);
|
||||
/* A deeper lavender keeps light-mode button labels readable. */
|
||||
--primary: oklch(57% 0.14 300);
|
||||
--primary-foreground: oklch(99% 0 0);
|
||||
|
||||
--secondary: oklch(96% 0.012 240);
|
||||
--secondary-foreground: oklch(25% 0.03 250);
|
||||
--secondary: color-mix(in oklab, var(--primary) 4%, oklch(97% 0 0));
|
||||
--secondary-foreground: oklch(25% 0 0);
|
||||
|
||||
--muted: oklch(96% 0.012 240);
|
||||
--muted-foreground: oklch(50% 0.02 250);
|
||||
--muted: color-mix(in oklab, var(--primary) 4%, oklch(97% 0 0));
|
||||
--muted-foreground: oklch(50% 0 0);
|
||||
|
||||
--accent: oklch(94% 0.03 230);
|
||||
--accent-foreground: oklch(35% 0.07 230);
|
||||
--accent: oklch(94% 0.03 300);
|
||||
--accent-foreground: oklch(35% 0.07 300);
|
||||
|
||||
--destructive: oklch(60% 0.22 27);
|
||||
--destructive-foreground: oklch(99% 0.005 240);
|
||||
@@ -47,49 +50,49 @@
|
||||
--log-warn: oklch(52% 0.16 80);
|
||||
--log-error: oklch(55% 0.22 27);
|
||||
|
||||
--border: oklch(92% 0.01 240);
|
||||
--input: oklch(94% 0.012 240);
|
||||
--ring: oklch(68.5% 0.155 230);
|
||||
--border: color-mix(in oklab, var(--primary) 5%, oklch(94% 0 0));
|
||||
--input: color-mix(in oklab, var(--primary) 4%, oklch(96% 0 0));
|
||||
--ring: oklch(57% 0.14 300);
|
||||
|
||||
--sidebar: oklch(94% 0.008 240);
|
||||
--sidebar-foreground: oklch(25% 0.03 250);
|
||||
--sidebar-primary: oklch(68.5% 0.155 230);
|
||||
--sidebar-primary-foreground: oklch(99% 0.005 240);
|
||||
--sidebar-accent: oklch(90% 0.025 230);
|
||||
--sidebar-accent-foreground: oklch(35% 0.08 230);
|
||||
--sidebar-border: oklch(92% 0.01 240);
|
||||
--sidebar-ring: oklch(68.5% 0.155 230);
|
||||
--sidebar: color-mix(in oklab, var(--sidebar-primary) 5%, oklch(96% 0 0));
|
||||
--sidebar-foreground: oklch(25% 0 0);
|
||||
--sidebar-primary: oklch(57% 0.14 300);
|
||||
--sidebar-primary-foreground: oklch(99% 0 0);
|
||||
--sidebar-accent: oklch(90% 0.025 300);
|
||||
--sidebar-accent-foreground: oklch(35% 0.08 300);
|
||||
--sidebar-border: color-mix(in oklab, var(--sidebar-primary) 5%, oklch(94% 0 0));
|
||||
--sidebar-ring: oklch(57% 0.14 300);
|
||||
--media-outline: oklch(0% 0 0 / 0.1);
|
||||
|
||||
/* Cards need depth without turning every surface into a hard outlined box.
|
||||
The short shadow separates the edge; the long, faint shadow establishes
|
||||
elevation without looking like a floating modal. */
|
||||
--shadow-card:
|
||||
0 1px 2px oklch(20% 0.03 250 / 0.05),
|
||||
0 12px 32px -22px oklch(20% 0.03 250 / 0.28);
|
||||
0 1px 2px oklch(20% 0 0 / 0.05),
|
||||
0 12px 32px -22px oklch(20% 0 0 / 0.28);
|
||||
}
|
||||
|
||||
.dark {
|
||||
--background: oklch(16% 0.02 250);
|
||||
--foreground: oklch(96% 0.01 240);
|
||||
--background: color-mix(in oklab, var(--primary) 7%, oklch(16% 0 0));
|
||||
--foreground: oklch(96% 0 0);
|
||||
|
||||
--card: oklch(20% 0.025 250);
|
||||
--card-foreground: oklch(96% 0.01 240);
|
||||
--card: color-mix(in oklab, var(--primary) 8%, oklch(20% 0 0));
|
||||
--card-foreground: oklch(96% 0 0);
|
||||
|
||||
--popover: oklch(20% 0.025 250);
|
||||
--popover-foreground: oklch(96% 0.01 240);
|
||||
--popover: color-mix(in oklab, var(--primary) 8%, oklch(20% 0 0));
|
||||
--popover-foreground: oklch(96% 0 0);
|
||||
|
||||
--primary: oklch(75% 0.14 230);
|
||||
--primary-foreground: oklch(15% 0.02 250);
|
||||
--primary: oklch(78% 0.115 300);
|
||||
--primary-foreground: oklch(15% 0 0);
|
||||
|
||||
--secondary: oklch(25% 0.025 250);
|
||||
--secondary-foreground: oklch(96% 0.01 240);
|
||||
--secondary: color-mix(in oklab, var(--primary) 7%, oklch(25% 0 0));
|
||||
--secondary-foreground: oklch(96% 0 0);
|
||||
|
||||
--muted: oklch(24% 0.02 250);
|
||||
--muted-foreground: oklch(68% 0.02 240);
|
||||
--muted: color-mix(in oklab, var(--primary) 7%, oklch(24% 0 0));
|
||||
--muted-foreground: oklch(68% 0 0);
|
||||
|
||||
--accent: oklch(28% 0.05 230);
|
||||
--accent-foreground: oklch(85% 0.1 230);
|
||||
--accent: oklch(28% 0.05 300);
|
||||
--accent-foreground: oklch(85% 0.1 300);
|
||||
|
||||
--destructive: oklch(62% 0.2 27);
|
||||
--destructive-foreground: oklch(98% 0.005 240);
|
||||
@@ -104,18 +107,18 @@
|
||||
--log-warn: oklch(80% 0.16 80);
|
||||
--log-error: oklch(62% 0.2 27);
|
||||
|
||||
--border: oklch(28% 0.02 250);
|
||||
--input: oklch(26% 0.02 250);
|
||||
--ring: oklch(75% 0.14 230);
|
||||
--border: color-mix(in oklab, var(--primary) 8%, oklch(28% 0 0));
|
||||
--input: color-mix(in oklab, var(--primary) 7%, oklch(26% 0 0));
|
||||
--ring: oklch(78% 0.115 300);
|
||||
|
||||
--sidebar: oklch(12% 0.018 250);
|
||||
--sidebar-foreground: oklch(92% 0.01 240);
|
||||
--sidebar-primary: oklch(75% 0.14 230);
|
||||
--sidebar-primary-foreground: oklch(15% 0.02 250);
|
||||
--sidebar-accent: oklch(28% 0.05 230);
|
||||
--sidebar-accent-foreground: oklch(85% 0.1 230);
|
||||
--sidebar-border: oklch(26% 0.02 250);
|
||||
--sidebar-ring: oklch(75% 0.14 230);
|
||||
--sidebar: color-mix(in oklab, var(--sidebar-primary) 6%, oklch(12% 0 0));
|
||||
--sidebar-foreground: oklch(92% 0 0);
|
||||
--sidebar-primary: oklch(78% 0.115 300);
|
||||
--sidebar-primary-foreground: oklch(15% 0 0);
|
||||
--sidebar-accent: oklch(28% 0.05 300);
|
||||
--sidebar-accent-foreground: oklch(85% 0.1 300);
|
||||
--sidebar-border: color-mix(in oklab, var(--sidebar-primary) 7%, oklch(26% 0 0));
|
||||
--sidebar-ring: oklch(78% 0.115 300);
|
||||
--media-outline: oklch(100% 0 0 / 0.12);
|
||||
|
||||
--shadow-card:
|
||||
@@ -768,33 +771,33 @@ html[data-cursor-system="custom"] .adaptive-cursor[data-visible="true"] {
|
||||
OLED screens. Only meaningful in dark mode. */
|
||||
.dark[data-dark-intensity="black"] {
|
||||
--background: oklch(0% 0 0);
|
||||
--foreground: oklch(97% 0.01 240);
|
||||
--card: oklch(13% 0.008 250);
|
||||
--card-foreground: oklch(96% 0.01 240);
|
||||
--popover: oklch(13% 0.008 250);
|
||||
--popover-foreground: oklch(96% 0.01 240);
|
||||
--secondary: oklch(17% 0.012 250);
|
||||
--muted: oklch(15% 0.01 250);
|
||||
--muted-foreground: oklch(66% 0.02 240);
|
||||
--border: oklch(22% 0.012 250);
|
||||
--input: oklch(19% 0.012 250);
|
||||
--foreground: oklch(97% 0 0);
|
||||
--card: color-mix(in oklab, var(--primary) 4%, oklch(13% 0 0));
|
||||
--card-foreground: oklch(96% 0 0);
|
||||
--popover: color-mix(in oklab, var(--primary) 4%, oklch(13% 0 0));
|
||||
--popover-foreground: oklch(96% 0 0);
|
||||
--secondary: color-mix(in oklab, var(--primary) 5%, oklch(17% 0 0));
|
||||
--muted: color-mix(in oklab, var(--primary) 4%, oklch(15% 0 0));
|
||||
--muted-foreground: oklch(66% 0 0);
|
||||
--border: color-mix(in oklab, var(--primary) 6%, oklch(22% 0 0));
|
||||
--input: color-mix(in oklab, var(--primary) 5%, oklch(19% 0 0));
|
||||
}
|
||||
/* OLED's near-black sidebar applies only when the sidebar follows the canvas;
|
||||
scoping it to "follow" lets the panel/accent styles below win in OLED too
|
||||
(otherwise this higher-specificity block would override them). */
|
||||
.dark[data-dark-intensity="black"][data-sidebar-style="follow"] {
|
||||
--sidebar: oklch(5% 0.006 250);
|
||||
--sidebar-border: oklch(20% 0.012 250);
|
||||
--sidebar: color-mix(in oklab, var(--sidebar-primary) 3%, oklch(5% 0 0));
|
||||
--sidebar-border: color-mix(in oklab, var(--sidebar-primary) 6%, oklch(20% 0 0));
|
||||
}
|
||||
|
||||
/* Sidebar style: how distinct the sidebar surface is from the main canvas. */
|
||||
html[data-sidebar-style="panel"] {
|
||||
--sidebar: color-mix(in oklab, var(--card) 90%, var(--primary) 4%);
|
||||
--sidebar: color-mix(in oklab, var(--card) 96%, var(--sidebar-primary) 4%);
|
||||
}
|
||||
html[data-sidebar-style="accent"] {
|
||||
--sidebar: color-mix(in oklab, var(--background) 76%, var(--primary) 24%);
|
||||
--sidebar-foreground: color-mix(in oklab, var(--foreground) 85%, var(--primary));
|
||||
--sidebar-border: color-mix(in oklab, var(--border) 60%, var(--primary) 40%);
|
||||
--sidebar: color-mix(in oklab, var(--background) 76%, var(--sidebar-primary) 24%);
|
||||
--sidebar-foreground: color-mix(in oklab, var(--foreground) 85%, var(--sidebar-primary));
|
||||
--sidebar-border: color-mix(in oklab, var(--border) 60%, var(--sidebar-primary) 40%);
|
||||
}
|
||||
|
||||
/* High contrast: strengthen borders + dim-text contrast for legibility. */
|
||||
|
||||
156
pnpm-lock.yaml
generated
@@ -20,9 +20,9 @@ overrides:
|
||||
tar: ^7.5.13
|
||||
esbuild@<0.28.1: ^0.28.1
|
||||
'@babel/core@<7.29.6': ^7.29.6
|
||||
qs@<=6.15.3: ^6.16.0
|
||||
qs@<=6.16.0: ^6.16.1
|
||||
fast-uri@<3.1.8: ^3.1.8
|
||||
'@hono/node-server@<1.19.15': ^1.19.15
|
||||
'@hono/node-server@<2.1.4': ^2.1.4
|
||||
hono: ~4.13.11
|
||||
postcss@<=8.5.22: ^8.5.23
|
||||
ip-address@<10.7.1: ^10.7.1
|
||||
@@ -33,7 +33,8 @@ overrides:
|
||||
'@humanfs/node@<0.16.8': 0.16.8
|
||||
baseline-browser-mapping@<2.11.0: 2.11.0
|
||||
figlet@<1.11.3: 1.11.3
|
||||
seroval@<1.6.3: 1.6.3
|
||||
seroval@<1.6.11: 1.6.11
|
||||
minimatch@<11.0.3: 11.0.3
|
||||
source-map-js@<1.2.2: 1.2.2
|
||||
proxy-addr@<2.0.8: 2.0.8
|
||||
zod@>=4.0.0 <4.6.6: ^4.6.6
|
||||
@@ -169,11 +170,8 @@ importers:
|
||||
version: 7.5.22
|
||||
devDependencies:
|
||||
'@hono/node-server':
|
||||
specifier: ^1.19.15
|
||||
version: 1.19.17(hono@4.13.13)
|
||||
'@rollup/plugin-node-resolve':
|
||||
specifier: ^16.0.3
|
||||
version: 16.0.3(rollup@4.60.4)
|
||||
specifier: ^2.1.4
|
||||
version: 2.1.5(hono@4.13.13)
|
||||
'@snowluma/sqlite':
|
||||
specifier: workspace:*
|
||||
version: link:../sqlite
|
||||
@@ -894,9 +892,9 @@ packages:
|
||||
'@floating-ui/utils@0.2.11':
|
||||
resolution: {integrity: sha512-RiB/yIh78pcIxl6lLMG0CgBXAZ2Y0eVHqMPYugu+9U0AeT6YBeiJpf7lbdJNIugFP5SIjwNRgo4DhR1Qxi26Gg==}
|
||||
|
||||
'@hono/node-server@1.19.17':
|
||||
resolution: {integrity: sha512-dSneS5qhiauZWGDCeK4o695Xd9nUNjviSZCMQrj10eetr8Uln1ucn6bbphOM6UynAMMtNIzZNSpL9vnASJwrPQ==}
|
||||
engines: {node: '>=18.14.1'}
|
||||
'@hono/node-server@2.1.5':
|
||||
resolution: {integrity: sha512-MgP/I06GdvsilDspMk/qmRzpk8LOUStP6jFAbSRi40W09DhoyUn+Mj7eyKICPqeYKybOjVFLVIAQzvu1bfIa7Q==}
|
||||
engines: {node: '>=20'}
|
||||
peerDependencies:
|
||||
hono: ~4.13.11
|
||||
|
||||
@@ -924,6 +922,9 @@ packages:
|
||||
resolution: {integrity: sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
|
||||
'@isaacs/nonrecursive-glob-match@1.0.3':
|
||||
resolution: {integrity: sha512-SI7kyKHq4XXDRozw+r9GlRZkia1ZkFrpLW98r2IC2Bpr8YkFGE3fvjzmxCG0x78A++69HmDNrDvSMYBZmHGpKA==}
|
||||
|
||||
'@istanbuljs/schema@0.1.6':
|
||||
resolution: {integrity: sha512-+Sg6GCR/wy1oSmQDFq4LQDAhm3ETKnorxN+y5nbLULOR3P0c14f2Wurzj3/xqPXtasLFfHd5iRFQ7AJt4KH2cw==}
|
||||
engines: {node: '>=8'}
|
||||
@@ -1742,24 +1743,6 @@ packages:
|
||||
'@rolldown/pluginutils@1.0.1':
|
||||
resolution: {integrity: sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==}
|
||||
|
||||
'@rollup/plugin-node-resolve@16.0.3':
|
||||
resolution: {integrity: sha512-lUYM3UBGuM93CnMPG1YocWu7X802BrNF3jW2zny5gQyLQgRFJhV1Sq0Zi74+dh/6NBx1DxFC4b4GXg9wUCG5Qg==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
peerDependencies:
|
||||
rollup: ^2.78.0||^3.0.0||^4.0.0
|
||||
peerDependenciesMeta:
|
||||
rollup:
|
||||
optional: true
|
||||
|
||||
'@rollup/pluginutils@5.3.0':
|
||||
resolution: {integrity: sha512-5EdhGZtnu3V88ces7s53hhfK5KSASnJZv8Lulpc04cWO3REESroJXg73DFsOmgbU2BhwV0E20bu2IDZb3VKW4Q==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
peerDependencies:
|
||||
rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
|
||||
peerDependenciesMeta:
|
||||
rollup:
|
||||
optional: true
|
||||
|
||||
'@rollup/rollup-android-arm-eabi@4.60.4':
|
||||
resolution: {integrity: sha512-F5QXMSiFebS9hKZj02XhWLLnRpJ3B3AROP0tWbFBSj+6kCbg5m9j5JoHKd4mmSVy5mS/IMQloYgYxCuJC0fxEQ==}
|
||||
cpu: [arm]
|
||||
@@ -2075,9 +2058,6 @@ packages:
|
||||
'@types/react@19.2.14':
|
||||
resolution: {integrity: sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==}
|
||||
|
||||
'@types/resolve@1.20.2':
|
||||
resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==}
|
||||
|
||||
'@types/semver@7.7.1':
|
||||
resolution: {integrity: sha512-FmgJfu+MOcQ370SD0ev7EI8TlCAfKYU+B4m5T3yXc1CiRN94g/SZPtsCkk506aUDtlMnFZvasDwHHUcZUEaYuA==}
|
||||
|
||||
@@ -2406,10 +2386,6 @@ packages:
|
||||
deep-is@0.1.4:
|
||||
resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==}
|
||||
|
||||
deepmerge@4.3.1:
|
||||
resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
|
||||
depd@2.0.0:
|
||||
resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==}
|
||||
engines: {node: '>= 0.8'}
|
||||
@@ -2557,9 +2533,6 @@ packages:
|
||||
resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==}
|
||||
engines: {node: '>=4.0'}
|
||||
|
||||
estree-walker@2.0.2:
|
||||
resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
|
||||
|
||||
estree-walker@3.0.3:
|
||||
resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==}
|
||||
|
||||
@@ -2788,10 +2761,6 @@ packages:
|
||||
resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==}
|
||||
engines: {node: '>= 0.10'}
|
||||
|
||||
is-core-module@2.16.1:
|
||||
resolution: {integrity: sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==}
|
||||
engines: {node: '>= 0.4'}
|
||||
|
||||
is-extglob@2.1.1:
|
||||
resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
@@ -2800,9 +2769,6 @@ packages:
|
||||
resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
|
||||
is-module@1.0.0:
|
||||
resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==}
|
||||
|
||||
is-promise@4.0.0:
|
||||
resolution: {integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==}
|
||||
|
||||
@@ -3010,8 +2976,8 @@ packages:
|
||||
resolution: {integrity: sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==}
|
||||
engines: {node: '>=18'}
|
||||
|
||||
minimatch@10.2.5:
|
||||
resolution: {integrity: sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==}
|
||||
minimatch@11.0.3:
|
||||
resolution: {integrity: sha512-iny/40PEGkNJQ5/Pv6z3nm6FbRAby32GeZRjCUJk2WnNDbgPSTcdI+DDvLqsgBdD4cD5sMtMheqPPnehCCa8Nw==}
|
||||
engines: {node: 18 || 20 || >=22}
|
||||
|
||||
minipass@7.1.3:
|
||||
@@ -3130,9 +3096,6 @@ packages:
|
||||
resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}
|
||||
engines: {node: '>=8'}
|
||||
|
||||
path-parse@1.0.7:
|
||||
resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}
|
||||
|
||||
path-to-regexp@8.4.2:
|
||||
resolution: {integrity: sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==}
|
||||
|
||||
@@ -3203,10 +3166,6 @@ packages:
|
||||
resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}
|
||||
engines: {node: '>=6'}
|
||||
|
||||
qs@6.16.0:
|
||||
resolution: {integrity: sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA==}
|
||||
engines: {node: '>=0.6'}
|
||||
|
||||
qs@6.16.1:
|
||||
resolution: {integrity: sha512-5Px6J7rfHBAGUhNQ3es4YzcOdBBw0SDcVtThJml4RdnKw4tKs2epA0kPZ+K8X+WiHktT93RHVcQ/3ym5aTCgtg==}
|
||||
engines: {node: '>=0.6'}
|
||||
@@ -3273,10 +3232,6 @@ packages:
|
||||
resolve-pkg-maps@1.0.0:
|
||||
resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==}
|
||||
|
||||
resolve@1.22.12:
|
||||
resolution: {integrity: sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==}
|
||||
engines: {node: '>= 0.4'}
|
||||
|
||||
rolldown@1.1.5:
|
||||
resolution: {integrity: sha512-t9z29cJjXf/vxQ8dyhCSpt6H6aSwHTk8cT5I3iy6SMXuFpk5mB6PL6XfC8PCwrPTx93udwKUm9HRteAlTGBLiA==}
|
||||
engines: {node: ^20.19.0 || >=22.12.0}
|
||||
@@ -3317,10 +3272,10 @@ packages:
|
||||
resolution: {integrity: sha512-S0xQPhUTefAhNvNWFg0c1J8qJArHt5KdtJ/cFAofo06KD1MVSeFWyl4iiu+ApDIuw0WhjpOfCdgConOfAnLgkw==}
|
||||
engines: {node: '>=10'}
|
||||
peerDependencies:
|
||||
seroval: 1.6.3
|
||||
seroval: 1.6.11
|
||||
|
||||
seroval@1.6.3:
|
||||
resolution: {integrity: sha512-5PwLbVPpT4DEki1hYVSSsoxWY6xCNMVucAVLK/CH0mXSDfp/I4KaAex72q80GNt5hpn7CCMGdSpIg4YGqH/wXQ==}
|
||||
seroval@1.6.11:
|
||||
resolution: {integrity: sha512-hpb6XnMCGN/A+79Uf8V7/iTGkyyyazNn5X0CoCAp7Uy9vT3RT8jZ9GLcnxGoVjg3P8AArbe4ZVHq6C8oT2a0kA==}
|
||||
engines: {node: '>=10'}
|
||||
|
||||
serve-static@2.2.1:
|
||||
@@ -3389,10 +3344,6 @@ packages:
|
||||
resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}
|
||||
engines: {node: '>=8'}
|
||||
|
||||
supports-preserve-symlinks-flag@1.0.0:
|
||||
resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
|
||||
engines: {node: '>= 0.4'}
|
||||
|
||||
tailwind-merge@3.5.0:
|
||||
resolution: {integrity: sha512-I8K9wewnVDkL1NTGoqWmVEIlUcB9gFriAEkXkfCjX5ib8ezGxtR3xD7iZIxrfArjEsH7F1CHD4RFUtxefdqV/A==}
|
||||
|
||||
@@ -3939,7 +3890,7 @@ snapshots:
|
||||
dependencies:
|
||||
'@eslint/object-schema': 3.0.5
|
||||
debug: 4.4.3(supports-color@7.2.0)
|
||||
minimatch: 10.2.5
|
||||
minimatch: 11.0.3
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
@@ -3979,7 +3930,7 @@ snapshots:
|
||||
|
||||
'@floating-ui/utils@0.2.11': {}
|
||||
|
||||
'@hono/node-server@1.19.17(hono@4.13.13)':
|
||||
'@hono/node-server@2.1.5(hono@4.13.13)':
|
||||
dependencies:
|
||||
hono: 4.13.13
|
||||
|
||||
@@ -4003,6 +3954,8 @@ snapshots:
|
||||
dependencies:
|
||||
minipass: 7.1.3
|
||||
|
||||
'@isaacs/nonrecursive-glob-match@1.0.3': {}
|
||||
|
||||
'@istanbuljs/schema@0.1.6': {}
|
||||
|
||||
'@jridgewell/gen-mapping@0.3.13':
|
||||
@@ -4051,7 +4004,7 @@ snapshots:
|
||||
|
||||
'@modelcontextprotocol/sdk@1.32.1(supports-color@7.2.0)(zod@4.6.7)':
|
||||
dependencies:
|
||||
'@hono/node-server': 1.19.17(hono@4.13.13)
|
||||
'@hono/node-server': 2.1.5(hono@4.13.13)
|
||||
ajv: 8.20.0
|
||||
ajv-formats: 3.0.1(ajv@8.20.0)
|
||||
content-type: 1.0.5
|
||||
@@ -4726,24 +4679,6 @@ snapshots:
|
||||
|
||||
'@rolldown/pluginutils@1.0.1': {}
|
||||
|
||||
'@rollup/plugin-node-resolve@16.0.3(rollup@4.60.4)':
|
||||
dependencies:
|
||||
'@rollup/pluginutils': 5.3.0(rollup@4.60.4)
|
||||
'@types/resolve': 1.20.2
|
||||
deepmerge: 4.3.1
|
||||
is-module: 1.0.0
|
||||
resolve: 1.22.12
|
||||
optionalDependencies:
|
||||
rollup: 4.60.4
|
||||
|
||||
'@rollup/pluginutils@5.3.0(rollup@4.60.4)':
|
||||
dependencies:
|
||||
'@types/estree': 1.0.8
|
||||
estree-walker: 2.0.2
|
||||
picomatch: 4.0.4
|
||||
optionalDependencies:
|
||||
rollup: 4.60.4
|
||||
|
||||
'@rollup/rollup-android-arm-eabi@4.60.4':
|
||||
optional: true
|
||||
|
||||
@@ -4927,8 +4862,8 @@ snapshots:
|
||||
dependencies:
|
||||
'@tanstack/history': 1.161.6
|
||||
cookie-es: 3.1.1
|
||||
seroval: 1.6.3
|
||||
seroval-plugins: 1.5.4(seroval@1.6.3)
|
||||
seroval: 1.6.11
|
||||
seroval-plugins: 1.5.4(seroval@1.6.11)
|
||||
|
||||
'@tanstack/store@0.9.3': {}
|
||||
|
||||
@@ -4979,8 +4914,6 @@ snapshots:
|
||||
dependencies:
|
||||
csstype: 3.2.3
|
||||
|
||||
'@types/resolve@1.20.2': {}
|
||||
|
||||
'@types/semver@7.7.1': {}
|
||||
|
||||
'@types/ws@8.18.2':
|
||||
@@ -5054,7 +4987,7 @@ snapshots:
|
||||
'@typescript-eslint/types': 8.58.2
|
||||
'@typescript-eslint/visitor-keys': 8.58.2
|
||||
debug: 4.4.3(supports-color@7.2.0)
|
||||
minimatch: 10.2.5
|
||||
minimatch: 11.0.3
|
||||
semver: 7.7.4
|
||||
tinyglobby: 0.2.17
|
||||
ts-api-utils: 2.5.0(typescript@6.0.2)
|
||||
@@ -5351,8 +5284,6 @@ snapshots:
|
||||
|
||||
deep-is@0.1.4: {}
|
||||
|
||||
deepmerge@4.3.1: {}
|
||||
|
||||
depd@2.0.0: {}
|
||||
|
||||
detect-libc@2.1.2: {}
|
||||
@@ -5507,7 +5438,7 @@ snapshots:
|
||||
imurmurhash: 0.1.4
|
||||
is-glob: 4.0.3
|
||||
json-stable-stringify-without-jsonify: 1.0.1
|
||||
minimatch: 10.2.5
|
||||
minimatch: 11.0.3
|
||||
natural-compare: 1.4.0
|
||||
optionator: 0.9.4
|
||||
optionalDependencies:
|
||||
@@ -5537,8 +5468,6 @@ snapshots:
|
||||
|
||||
estraverse@5.3.0: {}
|
||||
|
||||
estree-walker@2.0.2: {}
|
||||
|
||||
estree-walker@3.0.3:
|
||||
dependencies:
|
||||
'@types/estree': 1.0.8
|
||||
@@ -5585,7 +5514,7 @@ snapshots:
|
||||
once: 1.4.0
|
||||
parseurl: 1.3.3
|
||||
proxy-addr: 2.0.8
|
||||
qs: 6.16.0
|
||||
qs: 6.16.1
|
||||
range-parser: 1.2.1
|
||||
router: 2.2.0(supports-color@7.2.0)
|
||||
send: 1.2.1(supports-color@7.2.0)
|
||||
@@ -5771,18 +5700,12 @@ snapshots:
|
||||
|
||||
ipaddr.js@1.9.1: {}
|
||||
|
||||
is-core-module@2.16.1:
|
||||
dependencies:
|
||||
hasown: 2.0.2
|
||||
|
||||
is-extglob@2.1.1: {}
|
||||
|
||||
is-glob@4.0.3:
|
||||
dependencies:
|
||||
is-extglob: 2.1.1
|
||||
|
||||
is-module@1.0.0: {}
|
||||
|
||||
is-promise@4.0.0: {}
|
||||
|
||||
is-what-type@1.1.4: {}
|
||||
@@ -5939,8 +5862,9 @@ snapshots:
|
||||
dependencies:
|
||||
mime-db: 1.54.0
|
||||
|
||||
minimatch@10.2.5:
|
||||
minimatch@11.0.3:
|
||||
dependencies:
|
||||
'@isaacs/nonrecursive-glob-match': 1.0.3
|
||||
brace-expansion: 5.0.12
|
||||
|
||||
minipass@7.1.3: {}
|
||||
@@ -6053,8 +5977,6 @@ snapshots:
|
||||
|
||||
path-key@3.1.1: {}
|
||||
|
||||
path-parse@1.0.7: {}
|
||||
|
||||
path-to-regexp@8.4.2: {}
|
||||
|
||||
pathe@2.0.3: {}
|
||||
@@ -6103,11 +6025,6 @@ snapshots:
|
||||
|
||||
punycode@2.3.1: {}
|
||||
|
||||
qs@6.16.0:
|
||||
dependencies:
|
||||
es-define-property: 1.0.1
|
||||
side-channel: 1.1.1
|
||||
|
||||
qs@6.16.1:
|
||||
dependencies:
|
||||
es-define-property: 1.0.1
|
||||
@@ -6164,13 +6081,6 @@ snapshots:
|
||||
|
||||
resolve-pkg-maps@1.0.0: {}
|
||||
|
||||
resolve@1.22.12:
|
||||
dependencies:
|
||||
es-errors: 1.3.0
|
||||
is-core-module: 2.16.1
|
||||
path-parse: 1.0.7
|
||||
supports-preserve-symlinks-flag: 1.0.0
|
||||
|
||||
rolldown@1.1.5:
|
||||
dependencies:
|
||||
'@oxc-project/types': 0.139.0
|
||||
@@ -6266,11 +6176,11 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
seroval-plugins@1.5.4(seroval@1.6.3):
|
||||
seroval-plugins@1.5.4(seroval@1.6.11):
|
||||
dependencies:
|
||||
seroval: 1.6.3
|
||||
seroval: 1.6.11
|
||||
|
||||
seroval@1.6.3: {}
|
||||
seroval@1.6.11: {}
|
||||
|
||||
serve-static@2.2.1(supports-color@7.2.0):
|
||||
dependencies:
|
||||
@@ -6348,8 +6258,6 @@ snapshots:
|
||||
dependencies:
|
||||
has-flag: 4.0.0
|
||||
|
||||
supports-preserve-symlinks-flag@1.0.0: {}
|
||||
|
||||
tailwind-merge@3.5.0: {}
|
||||
|
||||
tailwindcss@4.2.2: {}
|
||||
|
||||
@@ -10,9 +10,9 @@ overrides:
|
||||
'tar': ^7.5.13
|
||||
'esbuild@<0.28.1': ^0.28.1
|
||||
'@babel/core@<7.29.6': ^7.29.6
|
||||
'qs@<=6.15.3': ^6.16.0
|
||||
'qs@<=6.16.0': ^6.16.1
|
||||
'fast-uri@<3.1.8': ^3.1.8
|
||||
'@hono/node-server@<1.19.15': ^1.19.15
|
||||
'@hono/node-server@<2.1.4': ^2.1.4
|
||||
'hono': ~4.13.11
|
||||
'postcss@<=8.5.22': ^8.5.23
|
||||
'ip-address@<10.7.1': ^10.7.1
|
||||
@@ -23,7 +23,8 @@ overrides:
|
||||
'@humanfs/node@<0.16.8': 0.16.8
|
||||
'baseline-browser-mapping@<2.11.0': 2.11.0
|
||||
'figlet@<1.11.3': 1.11.3
|
||||
'seroval@<1.6.3': 1.6.3
|
||||
'seroval@<1.6.11': 1.6.11
|
||||
'minimatch@<11.0.3': 11.0.3
|
||||
'source-map-js@<1.2.2': 1.2.2
|
||||
'proxy-addr@<2.0.8': 2.0.8
|
||||
'zod@>=4.0.0 <4.6.6': ^4.6.6
|
||||
|
||||