@vuagent/console 0.0.0-stage → 0.7.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/LICENSE +21 -0
- package/dist/assets/index-CacCpTCH.css +1 -0
- package/dist/assets/index-sPXJZ0vK.js +49 -0
- package/dist/favicon-32.png +0 -0
- package/dist/favicon.ico +0 -0
- package/dist/favicon.svg +9 -0
- package/dist/index.html +36 -0
- package/package.json +43 -3
- package/README.md +0 -3
|
Binary file
|
package/dist/favicon.ico
ADDED
|
Binary file
|
package/dist/favicon.svg
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" role="img" aria-label="Vuagent">
|
|
2
|
+
<!-- Vuagent favicon: 简化 V 轨迹,去掉虚线纹理保证 16px 可读 -->
|
|
3
|
+
<g fill="none" stroke-linecap="round" stroke-width="2.4">
|
|
4
|
+
<path d="M9 7 L14.4 25.4" stroke="#1A1917"/>
|
|
5
|
+
<path d="M17.6 22.6 L23 7" stroke="#C2410C"/>
|
|
6
|
+
<circle cx="16" cy="24" r="3.1" stroke="#C2410C" stroke-width="2.1"/>
|
|
7
|
+
<circle cx="23" cy="7" r="1.9" fill="#C2410C" stroke="none"/>
|
|
8
|
+
</g>
|
|
9
|
+
</svg>
|
package/dist/index.html
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
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.0" />
|
|
6
|
+
<meta name="theme-color" content="#c2410c" />
|
|
7
|
+
<link rel="icon" href="/favicon.ico" sizes="32x32" />
|
|
8
|
+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
9
|
+
<title>Vuagent Console</title>
|
|
10
|
+
<script>
|
|
11
|
+
// FOUC 防护:首帧前同步主题(与 useTheme.ts 同一 storage key 与解析规则)
|
|
12
|
+
(function () {
|
|
13
|
+
try {
|
|
14
|
+
var pref = localStorage.getItem("vuagent:theme");
|
|
15
|
+
if (pref !== "light" && pref !== "dark" && pref !== "system") pref = "system";
|
|
16
|
+
var dark =
|
|
17
|
+
pref === "dark" ||
|
|
18
|
+
(pref === "system" &&
|
|
19
|
+
window.matchMedia &&
|
|
20
|
+
window.matchMedia("(prefers-color-scheme: dark)").matches);
|
|
21
|
+
var theme = dark ? "dark" : "light";
|
|
22
|
+
var root = document.documentElement;
|
|
23
|
+
root.dataset.theme = theme;
|
|
24
|
+
root.style.colorScheme = theme;
|
|
25
|
+
} catch (e) {
|
|
26
|
+
/* storage 不可用等场景:维持亮色默认 */
|
|
27
|
+
}
|
|
28
|
+
})();
|
|
29
|
+
</script>
|
|
30
|
+
<script type="module" crossorigin src="/assets/index-sPXJZ0vK.js"></script>
|
|
31
|
+
<link rel="stylesheet" crossorigin href="/assets/index-CacCpTCH.css">
|
|
32
|
+
</head>
|
|
33
|
+
<body>
|
|
34
|
+
<div id="app"></div>
|
|
35
|
+
</body>
|
|
36
|
+
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuagent/console",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.7.0",
|
|
4
|
+
"description": "Vuagent Console — the web console for a Vuagent harness server (static bundle consumed by @vuagent/cli)",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
10
|
+
"exports": {
|
|
11
|
+
"./dist/index.html": "./dist/index.html",
|
|
12
|
+
"./package.json": "./package.json"
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/HelloTomBruce/vuagent.git",
|
|
17
|
+
"directory": "apps/console"
|
|
18
|
+
},
|
|
19
|
+
"homepage": "https://hellotombruce.github.io/vuagent",
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/HelloTomBruce/vuagent/issues"
|
|
22
|
+
},
|
|
23
|
+
"keywords": [
|
|
24
|
+
"vuagent",
|
|
25
|
+
"agent",
|
|
26
|
+
"harness",
|
|
27
|
+
"console",
|
|
28
|
+
"web"
|
|
29
|
+
],
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@vitejs/plugin-vue": "^6.0.1",
|
|
32
|
+
"@vuagent/console-app": "0.6.0",
|
|
33
|
+
"typescript": "~5.9.2",
|
|
34
|
+
"vite": "^7.1.0",
|
|
35
|
+
"vue": "^3.5.21",
|
|
36
|
+
"vue-tsc": "^3.0.0"
|
|
37
|
+
},
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"access": "public"
|
|
40
|
+
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"dev": "vite",
|
|
43
|
+
"build": "vite build",
|
|
44
|
+
"typecheck": "vue-tsc --noEmit"
|
|
45
|
+
}
|
|
6
46
|
}
|
package/README.md
DELETED