thebird 1.2.98 → 1.2.99
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/docs/index.html +13 -7
- package/docs/tui.css +24 -6
- package/package.json +1 -1
package/docs/index.html
CHANGED
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<meta name="
|
|
7
|
-
<
|
|
6
|
+
<meta name="theme-color" content="#247420" media="(prefers-color-scheme: light)">
|
|
7
|
+
<meta name="theme-color" content="#3FA93A" media="(prefers-color-scheme: dark)">
|
|
8
|
+
<meta name="color-scheme" content="light dark">
|
|
9
|
+
<title>acptoapi / chat</title>
|
|
10
|
+
<meta name="description" content="openai-compatible chat console — bring any provider, stream any model.">
|
|
11
|
+
<meta name="author" content="247420 / AnEntrypoint">
|
|
8
12
|
<link rel="stylesheet" href="vendor/xterm.css" />
|
|
9
13
|
<link rel="stylesheet" href="tui.css" />
|
|
10
14
|
<script>
|
|
@@ -26,12 +30,14 @@
|
|
|
26
30
|
</head>
|
|
27
31
|
<body>
|
|
28
32
|
<div style="display:flex;flex-direction:column;height:100%">
|
|
29
|
-
<div class="tui-header"
|
|
30
|
-
|
|
33
|
+
<div class="tui-header">
|
|
34
|
+
<span class="brand">247420<span class="slash"> / </span>acptoapi<span class="slash"> / </span><span class="leaf">chat</span></span>
|
|
35
|
+
<span class="tagline">openai-compatible chat console · any provider, any model</span>
|
|
36
|
+
</div>
|
|
31
37
|
<div class="tui-tabs">
|
|
32
|
-
<button id="tab-chat" class="tui-tab active" onclick="switchTab('chat')">
|
|
33
|
-
<button id="tab-term" class="tui-tab" onclick="switchTab('term')">
|
|
34
|
-
<button id="tab-preview" class="tui-tab" onclick="switchTab('preview')">
|
|
38
|
+
<button id="tab-chat" class="tui-tab active" onclick="switchTab('chat')">chat</button>
|
|
39
|
+
<button id="tab-term" class="tui-tab" onclick="switchTab('term')">terminal</button>
|
|
40
|
+
<button id="tab-preview" class="tui-tab" onclick="switchTab('preview')">preview</button>
|
|
35
41
|
<button class="tui-tab" style="margin-left:auto" onclick="toggleTheme()" title="Toggle dark/light">◐</button>
|
|
36
42
|
</div>
|
|
37
43
|
<div id="pane-chat" style="flex:1;overflow:hidden;display:flex;flex-direction:column">
|
package/docs/tui.css
CHANGED
|
@@ -44,15 +44,33 @@ html, body { background: var(--paper); color: var(--ink); height: 100%; margin:
|
|
|
44
44
|
.tui-header {
|
|
45
45
|
border-bottom: 1px solid var(--ink-hair);
|
|
46
46
|
background: var(--paper);
|
|
47
|
-
padding:
|
|
48
|
-
white-space: pre;
|
|
49
|
-
font-size: 10px;
|
|
50
|
-
line-height: 1.1;
|
|
47
|
+
padding: 10px 2ch;
|
|
51
48
|
color: var(--ink);
|
|
52
49
|
overflow: hidden;
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: baseline;
|
|
52
|
+
gap: 2ch;
|
|
53
|
+
flex-wrap: wrap;
|
|
54
|
+
}
|
|
55
|
+
.tui-header .brand {
|
|
56
|
+
font-family: var(--ff-mono);
|
|
57
|
+
font-weight: 700;
|
|
58
|
+
font-size: 13px;
|
|
59
|
+
letter-spacing: 0.02em;
|
|
60
|
+
text-transform: lowercase;
|
|
61
|
+
color: var(--ink);
|
|
62
|
+
display: inline-flex;
|
|
63
|
+
align-items: baseline;
|
|
64
|
+
}
|
|
65
|
+
.tui-header .brand .slash { color: var(--ink-dim); font-weight: 400; padding: 0 0.3ch; }
|
|
66
|
+
.tui-header .brand .leaf { color: var(--green); }
|
|
67
|
+
.tui-header .tagline {
|
|
68
|
+
font-family: var(--ff-mono);
|
|
69
|
+
font-size: 10px;
|
|
70
|
+
color: var(--ink-dim);
|
|
71
|
+
text-transform: lowercase;
|
|
72
|
+
letter-spacing: 0.04em;
|
|
53
73
|
}
|
|
54
|
-
.tui-header .logo { color: var(--ink); font-family: var(--ff-mono); font-weight: 700; }
|
|
55
|
-
.tui-header .ver { color: var(--green); font-weight: 600; }
|
|
56
74
|
.tui-tabs {
|
|
57
75
|
display: flex;
|
|
58
76
|
gap: 0;
|
package/package.json
CHANGED