midsomar 0.1.10 → 0.1.12
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/dist/index.js +20 -4
- package/package.json +1 -1
- package/web-ui/_headers 2 +17 -0
- package/web-ui/_headers 3 +17 -0
- package/web-ui/apple-touch-icon 2.png +0 -0
- package/web-ui/apple-touch-icon 3.png +0 -0
- package/web-ui/apple-touch-icon-v3 2.png +0 -0
- package/web-ui/apple-touch-icon-v3 3.png +0 -0
- package/web-ui/assets/dialog-settings-C0ClHN8Q.js +1 -1
- package/web-ui/assets/index-BfNxi3ev.js +4 -4
- package/web-ui/favicon 2.ico +0 -0
- package/web-ui/favicon 2.svg +0 -0
- package/web-ui/favicon 3.ico +0 -0
- package/web-ui/favicon 3.svg +0 -0
- package/web-ui/favicon-96x96 2.png +0 -0
- package/web-ui/favicon-96x96 3.png +0 -0
- package/web-ui/favicon-96x96-v3 2.png +0 -0
- package/web-ui/favicon-96x96-v3 3.png +0 -0
- package/web-ui/favicon-v3 2.ico +0 -0
- package/web-ui/favicon-v3 2.svg +0 -0
- package/web-ui/favicon-v3 3.ico +0 -0
- package/web-ui/favicon-v3 3.svg +0 -0
- package/web-ui/index 2.html +81 -0
- package/web-ui/index 3.html +82 -0
- package/web-ui/index.html +17 -1
- package/web-ui/midsomar_black 2.png +0 -0
- package/web-ui/midsomar_black 3.png +0 -0
- package/web-ui/midsomar_logo 2.png +0 -0
- package/web-ui/midsomar_logo 3.png +0 -0
- package/web-ui/midsomar_white 2.png +0 -0
- package/web-ui/midsomar_white 3.png +0 -0
- package/web-ui/oc-theme-preload 2.js +40 -0
- package/web-ui/oc-theme-preload 3.js +40 -0
- package/web-ui/site 2.webmanifest +24 -0
- package/web-ui/site 3.webmanifest +24 -0
- package/web-ui/social-share 2.png +0 -0
- package/web-ui/social-share 3.png +0 -0
- package/web-ui/social-share-zen 2.png +0 -0
- package/web-ui/social-share-zen 3.png +0 -0
- package/web-ui/web-app-manifest-192x192 2.png +0 -0
- package/web-ui/web-app-manifest-192x192 3.png +0 -0
- package/web-ui/web-app-manifest-512x512 2.png +0 -0
- package/web-ui/web-app-manifest-512x512 3.png +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en" style="background-color: var(--v2-background-bg-deep, #fafafa)">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta
|
|
6
|
+
name="viewport"
|
|
7
|
+
content="width=device-width, initial-scale=1, interactive-widget=resizes-content, viewport-fit=cover"
|
|
8
|
+
/>
|
|
9
|
+
<title>midsomar</title>
|
|
10
|
+
<link rel="icon" type="image/png" href="/midsomar_logo.png">
|
|
11
|
+
<link rel="icon" type="image/svg+xml" href="/favicon-v3.svg" />
|
|
12
|
+
|
|
13
|
+
<link rel="apple-touch-icon" sizes="180x180" href="/midsomar_logo.png">
|
|
14
|
+
<link rel="manifest" href="/site.webmanifest" />
|
|
15
|
+
<meta name="theme-color" content="#fafafa" />
|
|
16
|
+
<meta name="mobile-web-app-capable" content="yes" />
|
|
17
|
+
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
18
|
+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
|
19
|
+
<meta property="og:image" content="/social-share.png" />
|
|
20
|
+
<meta property="twitter:image" content="/social-share.png" />
|
|
21
|
+
<script id="oc-theme-preload-script">;(function () {
|
|
22
|
+
var key = "opencode-theme-id"
|
|
23
|
+
var themeId = localStorage.getItem(key) || "oc-2"
|
|
24
|
+
|
|
25
|
+
if (themeId === "oc-1") {
|
|
26
|
+
themeId = "oc-2"
|
|
27
|
+
localStorage.setItem(key, themeId)
|
|
28
|
+
localStorage.removeItem("opencode-theme-css-light")
|
|
29
|
+
localStorage.removeItem("opencode-theme-css-dark")
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
var scheme = localStorage.getItem("opencode-color-scheme") || "system"
|
|
33
|
+
var isDark = scheme === "dark" || (scheme === "system" && matchMedia("(prefers-color-scheme: dark)").matches)
|
|
34
|
+
var mode = isDark ? "dark" : "light"
|
|
35
|
+
|
|
36
|
+
document.documentElement.dataset.theme = themeId
|
|
37
|
+
document.documentElement.dataset.colorScheme = mode
|
|
38
|
+
document.documentElement.style.backgroundColor = isDark ? "#080808" : "#fafafa"
|
|
39
|
+
|
|
40
|
+
// Update theme-color meta tag to match app color scheme
|
|
41
|
+
var metas = document.querySelectorAll("meta[name='theme-color']")
|
|
42
|
+
if (metas.length > 0) metas[0].setAttribute("content", isDark ? "#080808" : "#fafafa")
|
|
43
|
+
|
|
44
|
+
if (themeId === "oc-2") return
|
|
45
|
+
|
|
46
|
+
var css = localStorage.getItem("opencode-theme-css-" + mode)
|
|
47
|
+
if (css) {
|
|
48
|
+
var style = document.createElement("style")
|
|
49
|
+
style.id = "oc-theme-preload"
|
|
50
|
+
style.textContent =
|
|
51
|
+
":root{color-scheme:" +
|
|
52
|
+
mode +
|
|
53
|
+
";--text-mix-blend-mode:" +
|
|
54
|
+
(isDark ? "plus-lighter" : "multiply") +
|
|
55
|
+
";" +
|
|
56
|
+
css +
|
|
57
|
+
"}"
|
|
58
|
+
document.head.appendChild(style)
|
|
59
|
+
}
|
|
60
|
+
})()
|
|
61
|
+
</script>
|
|
62
|
+
<script type="module" crossorigin src="/assets/index-BfNxi3ev.js"></script>
|
|
63
|
+
<link rel="stylesheet" crossorigin href="/assets/index-S3QimprQ.css">
|
|
64
|
+
<script>;(function(){
|
|
65
|
+
var s=document.createElement('style');
|
|
66
|
+
s.textContent='[data-component="logo-mark"],[data-component="logo-splash"],[data-component="logo-wordmark"],[data-action="prompt-model"]{display:none!important}';
|
|
67
|
+
document.head.appendChild(s);
|
|
68
|
+
var o=new MutationObserver(function(){
|
|
69
|
+
document.querySelectorAll('[data-component="logo-mark"],[data-component="logo-splash"],[data-component="logo-wordmark"],[data-action="prompt-model"]').forEach(function(e){e.style.display='none'});
|
|
70
|
+
document.querySelectorAll('[id="opencode"],[id="opencode-go"]').forEach(function(e){
|
|
71
|
+
var p=e.closest('button,div,[role="option"],[data-provider-id]');
|
|
72
|
+
if(p){p.style.display='none'}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
o.observe(document.documentElement,{childList:true,subtree:true})
|
|
76
|
+
})()</script></head>
|
|
77
|
+
<body class="antialiased overscroll-none text-12-regular overflow-hidden bg-v2-background-bg-deep">
|
|
78
|
+
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
79
|
+
<div id="root" class="flex flex-col h-dvh bg-v2-background-bg-deep p-px"></div>
|
|
80
|
+
</body>
|
|
81
|
+
</html>
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en" style="background-color: var(--v2-background-bg-deep, #fafafa)">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta
|
|
6
|
+
name="viewport"
|
|
7
|
+
content="width=device-width, initial-scale=1, interactive-widget=resizes-content, viewport-fit=cover"
|
|
8
|
+
/>
|
|
9
|
+
<title>midsomar</title>
|
|
10
|
+
<link rel="icon" type="image/png" href="/midsomar_logo.png">
|
|
11
|
+
<link rel="icon" type="image/svg+xml" href="/favicon-v3.svg" />
|
|
12
|
+
|
|
13
|
+
<link rel="apple-touch-icon" sizes="180x180" href="/midsomar_logo.png">
|
|
14
|
+
<link rel="manifest" href="/site.webmanifest" />
|
|
15
|
+
<meta name="theme-color" content="#fafafa" />
|
|
16
|
+
<meta name="mobile-web-app-capable" content="yes" />
|
|
17
|
+
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
18
|
+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
|
19
|
+
<meta property="og:image" content="/social-share.png" />
|
|
20
|
+
<meta property="twitter:image" content="/social-share.png" />
|
|
21
|
+
<script id="oc-theme-preload-script">;(function () {
|
|
22
|
+
var key = "opencode-theme-id"
|
|
23
|
+
var themeId = localStorage.getItem(key) || "oc-2"
|
|
24
|
+
|
|
25
|
+
if (themeId === "oc-1") {
|
|
26
|
+
themeId = "oc-2"
|
|
27
|
+
localStorage.setItem(key, themeId)
|
|
28
|
+
localStorage.removeItem("opencode-theme-css-light")
|
|
29
|
+
localStorage.removeItem("opencode-theme-css-dark")
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
var scheme = localStorage.getItem("opencode-color-scheme") || "system"
|
|
33
|
+
var isDark = scheme === "dark" || (scheme === "system" && matchMedia("(prefers-color-scheme: dark)").matches)
|
|
34
|
+
var mode = isDark ? "dark" : "light"
|
|
35
|
+
|
|
36
|
+
document.documentElement.dataset.theme = themeId
|
|
37
|
+
document.documentElement.dataset.colorScheme = mode
|
|
38
|
+
document.documentElement.style.backgroundColor = isDark ? "#080808" : "#fafafa"
|
|
39
|
+
|
|
40
|
+
// Update theme-color meta tag to match app color scheme
|
|
41
|
+
var metas = document.querySelectorAll("meta[name='theme-color']")
|
|
42
|
+
if (metas.length > 0) metas[0].setAttribute("content", isDark ? "#080808" : "#fafafa")
|
|
43
|
+
|
|
44
|
+
if (themeId === "oc-2") return
|
|
45
|
+
|
|
46
|
+
var css = localStorage.getItem("opencode-theme-css-" + mode)
|
|
47
|
+
if (css) {
|
|
48
|
+
var style = document.createElement("style")
|
|
49
|
+
style.id = "oc-theme-preload"
|
|
50
|
+
style.textContent =
|
|
51
|
+
":root{color-scheme:" +
|
|
52
|
+
mode +
|
|
53
|
+
";--text-mix-blend-mode:" +
|
|
54
|
+
(isDark ? "plus-lighter" : "multiply") +
|
|
55
|
+
";" +
|
|
56
|
+
css +
|
|
57
|
+
"}"
|
|
58
|
+
document.head.appendChild(style)
|
|
59
|
+
}
|
|
60
|
+
})()
|
|
61
|
+
</script>
|
|
62
|
+
<script type="module" crossorigin src="/assets/index-BfNxi3ev.js"></script>
|
|
63
|
+
<link rel="stylesheet" crossorigin href="/assets/index-S3QimprQ.css">
|
|
64
|
+
<script>;(function(){
|
|
65
|
+
var s=document.createElement('style');
|
|
66
|
+
s.textContent='[data-component="logo-mark"],[data-component="logo-splash"],[data-component="logo-wordmark"],[data-action="prompt-model"]{display:none!important}';
|
|
67
|
+
document.head.appendChild(s);
|
|
68
|
+
var o=new MutationObserver(function(){
|
|
69
|
+
document.querySelectorAll('[data-component="logo-mark"],[data-component="logo-splash"],[data-component="logo-wordmark"],[data-action="prompt-model"]').forEach(function(e){e.style.display='none'});
|
|
70
|
+
document.querySelectorAll('[id="opencode"],[id="opencode-go"]').forEach(function(e){
|
|
71
|
+
var p=e.closest('button,div,[role="option"],[data-provider-id]');
|
|
72
|
+
if(p){p.style.display='none'}
|
|
73
|
+
});
|
|
74
|
+
document.querySelectorAll('svg[viewBox="0 0 720 129"]').forEach(function(e){e.style.display="none"});
|
|
75
|
+
});
|
|
76
|
+
o.observe(document.documentElement,{childList:true,subtree:true})
|
|
77
|
+
})()</script></head>
|
|
78
|
+
<body class="antialiased overscroll-none text-12-regular overflow-hidden bg-v2-background-bg-deep">
|
|
79
|
+
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
80
|
+
<div id="root" class="flex flex-col h-dvh bg-v2-background-bg-deep p-px"></div>
|
|
81
|
+
</body>
|
|
82
|
+
</html>
|
package/web-ui/index.html
CHANGED
|
@@ -61,7 +61,23 @@
|
|
|
61
61
|
</script>
|
|
62
62
|
<script type="module" crossorigin src="/assets/index-BfNxi3ev.js"></script>
|
|
63
63
|
<link rel="stylesheet" crossorigin href="/assets/index-S3QimprQ.css">
|
|
64
|
-
<script>;(function(){
|
|
64
|
+
<script>;(function(){
|
|
65
|
+
var s=document.createElement('style');
|
|
66
|
+
s.textContent='[data-component="logo-mark"],[data-component="logo-splash"],[data-component="logo-wordmark"],[data-action="prompt-model"]{display:none!important}';
|
|
67
|
+
document.head.appendChild(s);
|
|
68
|
+
var o=new MutationObserver(function(){
|
|
69
|
+
document.querySelectorAll('[data-component="logo-mark"],[data-component="logo-splash"],[data-component="logo-wordmark"],[data-action="prompt-model"]').forEach(function(e){e.style.display='none'});
|
|
70
|
+
document.querySelectorAll('[id="opencode"],[id="opencode-go"]').forEach(function(e){
|
|
71
|
+
var p=e.closest('button,div,[role="option"],[data-provider-id]');
|
|
72
|
+
if(p){p.style.display='none'}
|
|
73
|
+
});
|
|
74
|
+
document.querySelectorAll('svg[viewBox="0 0 720 129"]').forEach(function(e){e.style.display="none"});
|
|
75
|
+
});
|
|
76
|
+
o.observe(document.documentElement,{childList:true,subtree:true})
|
|
77
|
+
})()</script><meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
|
|
78
|
+
<meta http-equiv="Pragma" content="no-cache">
|
|
79
|
+
<meta http-equiv="Expires" content="0">
|
|
80
|
+
</head>
|
|
65
81
|
<body class="antialiased overscroll-none text-12-regular overflow-hidden bg-v2-background-bg-deep">
|
|
66
82
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
67
83
|
<div id="root" class="flex flex-col h-dvh bg-v2-background-bg-deep p-px"></div>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
;(function () {
|
|
2
|
+
var key = "opencode-theme-id"
|
|
3
|
+
var themeId = localStorage.getItem(key) || "oc-2"
|
|
4
|
+
|
|
5
|
+
if (themeId === "oc-1") {
|
|
6
|
+
themeId = "oc-2"
|
|
7
|
+
localStorage.setItem(key, themeId)
|
|
8
|
+
localStorage.removeItem("opencode-theme-css-light")
|
|
9
|
+
localStorage.removeItem("opencode-theme-css-dark")
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
var scheme = localStorage.getItem("opencode-color-scheme") || "system"
|
|
13
|
+
var isDark = scheme === "dark" || (scheme === "system" && matchMedia("(prefers-color-scheme: dark)").matches)
|
|
14
|
+
var mode = isDark ? "dark" : "light"
|
|
15
|
+
|
|
16
|
+
document.documentElement.dataset.theme = themeId
|
|
17
|
+
document.documentElement.dataset.colorScheme = mode
|
|
18
|
+
document.documentElement.style.backgroundColor = isDark ? "#080808" : "#fafafa"
|
|
19
|
+
|
|
20
|
+
// Update theme-color meta tag to match app color scheme
|
|
21
|
+
var metas = document.querySelectorAll("meta[name='theme-color']")
|
|
22
|
+
if (metas.length > 0) metas[0].setAttribute("content", isDark ? "#080808" : "#fafafa")
|
|
23
|
+
|
|
24
|
+
if (themeId === "oc-2") return
|
|
25
|
+
|
|
26
|
+
var css = localStorage.getItem("opencode-theme-css-" + mode)
|
|
27
|
+
if (css) {
|
|
28
|
+
var style = document.createElement("style")
|
|
29
|
+
style.id = "oc-theme-preload"
|
|
30
|
+
style.textContent =
|
|
31
|
+
":root{color-scheme:" +
|
|
32
|
+
mode +
|
|
33
|
+
";--text-mix-blend-mode:" +
|
|
34
|
+
(isDark ? "plus-lighter" : "multiply") +
|
|
35
|
+
";" +
|
|
36
|
+
css +
|
|
37
|
+
"}"
|
|
38
|
+
document.head.appendChild(style)
|
|
39
|
+
}
|
|
40
|
+
})()
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
;(function () {
|
|
2
|
+
var key = "opencode-theme-id"
|
|
3
|
+
var themeId = localStorage.getItem(key) || "oc-2"
|
|
4
|
+
|
|
5
|
+
if (themeId === "oc-1") {
|
|
6
|
+
themeId = "oc-2"
|
|
7
|
+
localStorage.setItem(key, themeId)
|
|
8
|
+
localStorage.removeItem("opencode-theme-css-light")
|
|
9
|
+
localStorage.removeItem("opencode-theme-css-dark")
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
var scheme = localStorage.getItem("opencode-color-scheme") || "system"
|
|
13
|
+
var isDark = scheme === "dark" || (scheme === "system" && matchMedia("(prefers-color-scheme: dark)").matches)
|
|
14
|
+
var mode = isDark ? "dark" : "light"
|
|
15
|
+
|
|
16
|
+
document.documentElement.dataset.theme = themeId
|
|
17
|
+
document.documentElement.dataset.colorScheme = mode
|
|
18
|
+
document.documentElement.style.backgroundColor = isDark ? "#080808" : "#fafafa"
|
|
19
|
+
|
|
20
|
+
// Update theme-color meta tag to match app color scheme
|
|
21
|
+
var metas = document.querySelectorAll("meta[name='theme-color']")
|
|
22
|
+
if (metas.length > 0) metas[0].setAttribute("content", isDark ? "#080808" : "#fafafa")
|
|
23
|
+
|
|
24
|
+
if (themeId === "oc-2") return
|
|
25
|
+
|
|
26
|
+
var css = localStorage.getItem("opencode-theme-css-" + mode)
|
|
27
|
+
if (css) {
|
|
28
|
+
var style = document.createElement("style")
|
|
29
|
+
style.id = "oc-theme-preload"
|
|
30
|
+
style.textContent =
|
|
31
|
+
":root{color-scheme:" +
|
|
32
|
+
mode +
|
|
33
|
+
";--text-mix-blend-mode:" +
|
|
34
|
+
(isDark ? "plus-lighter" : "multiply") +
|
|
35
|
+
";" +
|
|
36
|
+
css +
|
|
37
|
+
"}"
|
|
38
|
+
document.head.appendChild(style)
|
|
39
|
+
}
|
|
40
|
+
})()
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "midsomar",
|
|
3
|
+
"short_name": "midsomar",
|
|
4
|
+
"id": "/",
|
|
5
|
+
"start_url": "/",
|
|
6
|
+
"scope": "/",
|
|
7
|
+
"icons": [
|
|
8
|
+
{
|
|
9
|
+
"src": "/web-app-manifest-192x192.png",
|
|
10
|
+
"sizes": "192x192",
|
|
11
|
+
"type": "image/png",
|
|
12
|
+
"purpose": "maskable"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"src": "/web-app-manifest-512x512.png",
|
|
16
|
+
"sizes": "512x512",
|
|
17
|
+
"type": "image/png",
|
|
18
|
+
"purpose": "maskable"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"theme_color": "#080808",
|
|
22
|
+
"background_color": "#080808",
|
|
23
|
+
"display": "standalone"
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "midsomar",
|
|
3
|
+
"short_name": "midsomar",
|
|
4
|
+
"id": "/",
|
|
5
|
+
"start_url": "/",
|
|
6
|
+
"scope": "/",
|
|
7
|
+
"icons": [
|
|
8
|
+
{
|
|
9
|
+
"src": "/web-app-manifest-192x192.png",
|
|
10
|
+
"sizes": "192x192",
|
|
11
|
+
"type": "image/png",
|
|
12
|
+
"purpose": "maskable"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"src": "/web-app-manifest-512x512.png",
|
|
16
|
+
"sizes": "512x512",
|
|
17
|
+
"type": "image/png",
|
|
18
|
+
"purpose": "maskable"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"theme_color": "#080808",
|
|
22
|
+
"background_color": "#080808",
|
|
23
|
+
"display": "standalone"
|
|
24
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|