oh-my-agent-web 0.2.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/README.md +484 -0
- package/bin/oh-my-agent-web-ps.mjs +203 -0
- package/bin/oh-my-agent-web-ws.mjs +593 -0
- package/bin/oh-my-agent-web.mjs +321 -0
- package/bin/update-check.mjs +142 -0
- package/dist/server/codex-client.js +310 -0
- package/dist/server/codex-supervisor.js +446 -0
- package/dist/server/fs-service.js +144 -0
- package/dist/server/index.js +543 -0
- package/dist/server/request-inspector.js +458 -0
- package/dist/shared/protocol.js +112 -0
- package/package.json +82 -0
- package/scripts/manage-server.mjs +155 -0
- package/scripts/omaw.mjs +74 -0
- package/shared/protocol.ts +228 -0
- package/web/dist/assets/index-B8-VzDf2.css +1 -0
- package/web/dist/assets/index-DeC2eiiq.js +42 -0
- package/web/dist/assets/markdown-CYXe6JZx.js +55 -0
- package/web/dist/favicon.svg +12 -0
- package/web/dist/index.html +35 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
|
|
4
|
+
<stop offset="0" stop-color="#8b7bff"/>
|
|
5
|
+
<stop offset="1" stop-color="#4c8dff"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect x="4" y="4" width="56" height="56" rx="15" fill="url(#g)"/>
|
|
9
|
+
<path d="M24 20 14 32l10 12" fill="none" stroke="#fff" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
10
|
+
<path d="M40 20l10 12-10 12" fill="none" stroke="#fff" stroke-width="5" stroke-linecap="round" stroke-linejoin="round" opacity="0.65"/>
|
|
11
|
+
<path d="M35 18 29 46" fill="none" stroke="#fff" stroke-width="5" stroke-linecap="round"/>
|
|
12
|
+
</svg>
|
|
@@ -0,0 +1,35 @@
|
|
|
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, viewport-fit=cover" />
|
|
6
|
+
<meta name="color-scheme" content="dark light" />
|
|
7
|
+
<title>Oh My Agent Web</title>
|
|
8
|
+
<link rel="icon" href="/favicon.svg" />
|
|
9
|
+
<script>
|
|
10
|
+
// Apply the skin before first paint. Without this the page renders with the
|
|
11
|
+
// `:root` (dark) fallback for a frame and flashes when React mounts.
|
|
12
|
+
// Keep the skin ids in sync with web/src/lib/theme.ts.
|
|
13
|
+
(function () {
|
|
14
|
+
try {
|
|
15
|
+
var t = localStorage.getItem("cw-theme") || "light";
|
|
16
|
+
var light = t === "light" || t === "paper" || t === "mist";
|
|
17
|
+
var r = document.documentElement;
|
|
18
|
+
r.dataset.theme = light || t === "dark" ? t : "light";
|
|
19
|
+
r.dataset.scheme = light ? "light" : "dark";
|
|
20
|
+
r.style.colorScheme = light ? "light" : "dark";
|
|
21
|
+
} catch (e) {
|
|
22
|
+
var r2 = document.documentElement;
|
|
23
|
+
r2.dataset.theme = "light";
|
|
24
|
+
r2.dataset.scheme = "light";
|
|
25
|
+
}
|
|
26
|
+
})();
|
|
27
|
+
</script>
|
|
28
|
+
<script type="module" crossorigin src="/assets/index-DeC2eiiq.js"></script>
|
|
29
|
+
<link rel="modulepreload" crossorigin href="/assets/markdown-CYXe6JZx.js">
|
|
30
|
+
<link rel="stylesheet" crossorigin href="/assets/index-B8-VzDf2.css">
|
|
31
|
+
</head>
|
|
32
|
+
<body>
|
|
33
|
+
<div id="root"></div>
|
|
34
|
+
</body>
|
|
35
|
+
</html>
|