@wudao-org/web 0.0.0-stage → 0.4.20
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/LICENSE +21 -0
- package/README.md +87 -2
- package/dist/assets/index-DILA5KBt.css +1 -0
- package/dist/assets/index-Dy-Ll1qR.js +339 -0
- package/dist/assets/pet-CmLZS41k.js +3 -0
- package/dist/assets/pet-GasEBuc7.css +1 -0
- package/dist/assets/tokens-D-f0h-_m.js +64 -0
- package/dist/assets/tokens-DFnD5kXz.css +1 -0
- package/dist/index.html +16 -0
- package/dist/pet/skin-default.png +0 -0
- package/dist/pet/skin-honey.png +0 -0
- package/dist/pet/skin-lake.png +0 -0
- package/dist/pet/skin-sakura.png +0 -0
- package/dist/pet.html +23 -0
- package/package.json +43 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root,[data-theme=dark]{--bg: #141519;--surface: #1C1D21;--surface-2: #25262A;--text-1: #EAEAE6;--text-2: #A6A6A0;--text-3: #94948E;--hair-1: rgba(255,255,255,.07);--hair-2: rgba(255,255,255,.13);--hair-3: rgba(255,255,255,.22);--hover: rgba(255,255,255,.08);--accent: #12A874;--accent-ink: #141519;--accent-weak: #12A8741A;--bubble-user-bg: rgba(255,255,255,.09);--bubble-user-ink: #EAEAE6;--ok: #4ADE80;--warn: #FBBF24;--danger: #F87171;--accent-rgb: 18 168 116;--ok-rgb: 74 222 128;--warn-rgb: 251 191 36;--danger-rgb: 248 113 113;--bg-rgb: 20 21 25;--swatch-ink-rgb: 17 17 17;--swatch-royal-rgb: 47 84 235;--swatch-jade-rgb: 18 168 116;--content-max: clamp(680px, 64%, 920px);--shade: #000000;--font: -apple-system, "PingFang SC", "SF Pro Text", sans-serif;--tok-key: #c678dd;--tok-str: #98c379;--tok-com: #848e9a;--tok-num: #d19a66;--tok-fn: #61afef;--fs-caption:12px;--fs-ui:13px;--fs-body:14px;--fs-title:16px;--fs-head:20px;--lh-caption:1.4;--lh-ui:1.4;--lh-body:1.55;--lh-title:1.4;--lh-head:1.3;--fw-regular:400;--fw-medium:500;--fw-strong:600;--glass-fill:rgba(28,29,33,.78);--glass-blur:18px;--sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:20px;--sp-6:24px;--sp-8:32px;--dur-fast:.12s;--dur-med:.18s;--dur-slow:.24s;--ease:cubic-bezier(.2,.8,.2,1);--dur-shimmer:1.5s;--dur-sweep:2.6s;--radius-sm:6px;--radius-md:8px;--radius-lg:12px;--radius-bubble: 8px;--z-jump: 4;--z-float: 5;--z-toggle: 6;--z-legend: 20;--z-ws-menu: 26;--z-modal: 30;--z-ctx-menu: 36;--z-palette: 40;--z-wizard: 60;--elev-1: 0 0 0 .5px rgba(255,255,255,.09), 0 2px 6px 0 rgba(0,0,0,.05), 0 0 12px 0 rgba(0,0,0,.02);--elev-2: 0 0 0 .5px rgba(255,255,255,.11), 0 4px 16px 0 rgba(0,0,0,.05), 0 0 24px 0 rgba(0,0,0,.03);--elev-2-soft: 0 4px 16px 0 rgba(0,0,0,.05), 0 0 24px 0 rgba(0,0,0,.03);--elev-3: 0 0 0 .5px rgba(255,255,255,.13), 0 8px 24px 0 rgba(0,0,0,.05), 0 0 40px 0 rgba(0,0,0,.04);--mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;--overlay: rgba(4, 6, 9, .72)}[data-theme=light]{--bg: #F5F6F8;--surface: #FFFFFF;--surface-2: #EEF0F3;--text-1: #1A1A18;--text-2: #52524E;--text-3: #6B6B65;--hair-1: rgba(0,0,0,.08);--hair-2: rgba(0,0,0,.14);--hair-3: rgba(0,0,0,.22);--hover: rgba(0,0,0,.05);--ok: #146C38;--warn: #92600A;--danger: #C81E1E;--ok-rgb: 20 108 56;--warn-rgb: 146 96 10;--danger-rgb: 200 30 30;--bg-rgb: 245 246 248;--bubble-user-bg: #E9EAEF;--bubble-user-ink: #1B1C22;--elev-1: 0 0 0 .5px rgba(0,0,0,.09), 0 2px 6px 0 rgba(0,0,0,.04), 0 0 12px 0 rgba(0,0,0,.02);--elev-2: 0 0 0 .5px rgba(0,0,0,.11), 0 4px 16px 0 rgba(0,0,0,.05), 0 0 24px 0 rgba(0,0,0,.03);--elev-2-soft: 0 4px 16px 0 rgba(0,0,0,.05), 0 0 24px 0 rgba(0,0,0,.03);--elev-3: 0 0 0 .5px rgba(0,0,0,.13), 0 8px 24px 0 rgba(0,0,0,.05), 0 0 40px 0 rgba(0,0,0,.04);--tok-key: #a626a4;--tok-str: #41803E;--tok-com: #6f7076;--tok-num: #986801;--tok-fn: #325FDE;--overlay: rgba(23, 23, 22, .5);--glass-fill: rgba(255, 255, 255, .78)}[data-accent=black][data-theme=dark]{--accent: #E8E8E4;--accent-ink: #141519;--accent-weak: #E8E8E41A;--accent-rgb: 232 232 228}[data-accent=black][data-theme=light]{--accent: #111111;--accent-ink: #FFFFFF;--accent-weak: #11111114;--accent-rgb: 17 17 17}[data-accent=blue]{--accent: #2F54EB;--accent-ink: #FFFFFF;--accent-weak: #2F54EB1A;--accent-rgb: 47 84 235}[data-accent=green]{--accent: #12A874;--accent-ink: #141519;--accent-weak: #12A8741A;--accent-rgb: 18 168 116}[data-accent=green][data-theme=light]{--accent: #0B7A55;--accent-ink: #FFFFFF;--accent-weak: #0B7A551A;--accent-rgb: 11 122 85}[data-accent=blue]:not([data-theme=light]){--accent: #6C8CFA;--accent-ink: #141519;--accent-weak: #6C8CFA1A;--accent-rgb: 108 140 250}.num{font-variant-numeric:tabular-nums}
|
package/dist/index.html
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
+
<title>悟道Harness</title>
|
|
7
|
+
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ctext y='13' font-size='13'%3E%E2%8C%98%3C/text%3E%3C/svg%3E" />
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-Dy-Ll1qR.js"></script>
|
|
9
|
+
<link rel="modulepreload" crossorigin href="/assets/tokens-D-f0h-_m.js">
|
|
10
|
+
<link rel="stylesheet" crossorigin href="/assets/tokens-DFnD5kXz.css">
|
|
11
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DILA5KBt.css">
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
</body>
|
|
16
|
+
</html>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/pet.html
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<!-- ω99-97: the pet window's page. Served by the sidecar at /pet.html; the
|
|
3
|
+
shell navigates the pet window here with
|
|
4
|
+
/pet.html?shell=desktop&view=pet#<token>. html/body stay transparent so
|
|
5
|
+
the transparent always-on-top window shows only the sprite (no black
|
|
6
|
+
frame). This is NOT the main shell — no #root, no App. -->
|
|
7
|
+
<html lang="en">
|
|
8
|
+
<head>
|
|
9
|
+
<meta charset="utf-8" />
|
|
10
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
11
|
+
<title>wudao pet</title>
|
|
12
|
+
<style>
|
|
13
|
+
html, body { height: 100%; margin: 0; background: transparent; overflow: hidden; }
|
|
14
|
+
</style>
|
|
15
|
+
<script type="module" crossorigin src="/assets/pet-CmLZS41k.js"></script>
|
|
16
|
+
<link rel="modulepreload" crossorigin href="/assets/tokens-D-f0h-_m.js">
|
|
17
|
+
<link rel="stylesheet" crossorigin href="/assets/tokens-DFnD5kXz.css">
|
|
18
|
+
<link rel="stylesheet" crossorigin href="/assets/pet-GasEBuc7.css">
|
|
19
|
+
</head>
|
|
20
|
+
<body>
|
|
21
|
+
<div id="pet-root"></div>
|
|
22
|
+
</body>
|
|
23
|
+
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wudao-org/web",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
3
|
+
"version": "0.4.20",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "wudao ui — the web frontend (M43-B): a pure WS-protocol consumer (PROTOCOL.md) with TUI-full-parity surface, served statically by @wudao-org/server.",
|
|
6
|
+
"devDependencies": {
|
|
7
|
+
"@types/react": "^19.2.18",
|
|
8
|
+
"@types/react-dom": "^19.2.4",
|
|
9
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
10
|
+
"jsdom": "^25.0.1",
|
|
11
|
+
"lucide-static": "^1.48.0",
|
|
12
|
+
"react": "19.2.8",
|
|
13
|
+
"react-dom": "19.2.8",
|
|
14
|
+
"typescript": "5.6.3",
|
|
15
|
+
"vite": "5.0.0",
|
|
16
|
+
"vitest": "2.1.8"
|
|
17
|
+
},
|
|
18
|
+
"engines": {
|
|
19
|
+
"node": ">=22"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist"
|
|
23
|
+
],
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"author": "feiniaojin",
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "git+https://github.com/feiniaojin/wudao-harness.git"
|
|
29
|
+
},
|
|
30
|
+
"keywords": [
|
|
31
|
+
"agent",
|
|
32
|
+
"harness",
|
|
33
|
+
"web",
|
|
34
|
+
"ui",
|
|
35
|
+
"llm"
|
|
36
|
+
],
|
|
37
|
+
"scripts": {
|
|
38
|
+
"dev": "vite",
|
|
39
|
+
"build": "tsc --noEmit && vite build",
|
|
40
|
+
"icons:vendor": "node scripts/vendor-icons.mjs",
|
|
41
|
+
"check": "tsc --noEmit",
|
|
42
|
+
"test": "vitest run",
|
|
43
|
+
"test:watch": "vitest",
|
|
44
|
+
"test:e2e": "vitest run --config vitest.config.e2e.ts"
|
|
45
|
+
}
|
|
6
46
|
}
|