zettcode-gateway 0.3.4__py3-none-any.whl
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.
- zettcode/gateway/__init__.py +22 -0
- zettcode/gateway/app.py +454 -0
- zettcode/gateway/backend.py +368 -0
- zettcode/gateway/chat.py +142 -0
- zettcode/gateway/cli.py +495 -0
- zettcode/gateway/py.typed +0 -0
- zettcode/gateway/runfile.py +145 -0
- zettcode/gateway/service.py +1219 -0
- zettcode/gateway/settings.py +62 -0
- zettcode/gateway/static/app.css +1434 -0
- zettcode/gateway/static/app.js +3 -0
- zettcode/gateway/static/assets/KaTeX_AMS-Regular-U6PRYMIZ.woff2 +0 -0
- zettcode/gateway/static/assets/KaTeX_Caligraphic-Bold-5QL5CMTE.woff2 +0 -0
- zettcode/gateway/static/assets/KaTeX_Caligraphic-Regular-KX5MEWCF.woff2 +0 -0
- zettcode/gateway/static/assets/KaTeX_Fraktur-Bold-2QVFK6NQ.woff2 +0 -0
- zettcode/gateway/static/assets/KaTeX_Fraktur-Regular-2PEIFJSJ.woff2 +0 -0
- zettcode/gateway/static/assets/KaTeX_Main-Bold-YP5VVQRP.woff2 +0 -0
- zettcode/gateway/static/assets/KaTeX_Main-BoldItalic-N4V3DX7S.woff2 +0 -0
- zettcode/gateway/static/assets/KaTeX_Main-Italic-RELBIK7M.woff2 +0 -0
- zettcode/gateway/static/assets/KaTeX_Main-Regular-ARRPAO67.woff2 +0 -0
- zettcode/gateway/static/assets/KaTeX_Math-BoldItalic-K4WTGH3J.woff2 +0 -0
- zettcode/gateway/static/assets/KaTeX_Math-Italic-6KGCHLFN.woff2 +0 -0
- zettcode/gateway/static/assets/KaTeX_SansSerif-Bold-RRNVJFFW.woff2 +0 -0
- zettcode/gateway/static/assets/KaTeX_SansSerif-Italic-HMPFTM52.woff2 +0 -0
- zettcode/gateway/static/assets/KaTeX_SansSerif-Regular-XIQ62X4E.woff2 +0 -0
- zettcode/gateway/static/assets/KaTeX_Script-Regular-APUWIHLP.woff2 +0 -0
- zettcode/gateway/static/assets/KaTeX_Size1-Regular-5LRUTBFT.woff2 +0 -0
- zettcode/gateway/static/assets/KaTeX_Size2-Regular-LELKET5D.woff2 +0 -0
- zettcode/gateway/static/assets/KaTeX_Size3-Regular-WQRQ47UD.woff2 +0 -0
- zettcode/gateway/static/assets/KaTeX_Size4-Regular-CDMV7U5C.woff2 +0 -0
- zettcode/gateway/static/assets/KaTeX_Typewriter-Regular-VBYJ4NRC.woff2 +0 -0
- zettcode/gateway/static/chunks/chunk-Y6SLVHK3.js +1 -0
- zettcode/gateway/static/chunks/render-G6G3TSB3.js +341 -0
- zettcode/gateway/static/icon.png +0 -0
- zettcode/gateway/static/index.html +23 -0
- zettcode/gateway/static/logo.svg +205 -0
- zettcode/gateway/static/manifest.webmanifest +11 -0
- zettcode_gateway-0.3.4.dist-info/METADATA +21 -0
- zettcode_gateway-0.3.4.dist-info/RECORD +40 -0
- zettcode_gateway-0.3.4.dist-info/WHEEL +4 -0
|
Binary file
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, viewport-fit=cover, interactive-widget=resizes-content">
|
|
6
|
+
<meta name="color-scheme" content="light dark">
|
|
7
|
+
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)">
|
|
8
|
+
<meta name="theme-color" content="#17212b" media="(prefers-color-scheme: dark)">
|
|
9
|
+
<meta name="mobile-web-app-capable" content="yes">
|
|
10
|
+
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
11
|
+
<meta name="apple-mobile-web-app-title" content="ZettCode">
|
|
12
|
+
<link rel="manifest" href="/manifest.webmanifest">
|
|
13
|
+
<link rel="icon" href="/static/icon.png" type="image/png">
|
|
14
|
+
<link rel="apple-touch-icon" href="/static/icon.png">
|
|
15
|
+
<title>ZettCode Gateway</title>
|
|
16
|
+
<link rel="stylesheet" href="/static/app.css">
|
|
17
|
+
</head>
|
|
18
|
+
<body>
|
|
19
|
+
<div id="app"></div>
|
|
20
|
+
<noscript><p class="noscript">ZettCode Gateway needs JavaScript.</p></noscript>
|
|
21
|
+
<script type="module" src="/static/app.js"></script>
|
|
22
|
+
</body>
|
|
23
|
+
</html>
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="392" height="392" viewBox="36 3 392 392">
|
|
2
|
+
<title>ZettCode</title>
|
|
3
|
+
<defs>
|
|
4
|
+
<!-- 剑 -->
|
|
5
|
+
<linearGradient id="blade" x1="0" y1="0" x2="1" y2="0">
|
|
6
|
+
<stop offset="0" stop-color="#cdeee6"/>
|
|
7
|
+
<stop offset="0.35" stop-color="#f4fbf8"/>
|
|
8
|
+
<stop offset="0.62" stop-color="#f8f3dc"/>
|
|
9
|
+
<stop offset="0.82" stop-color="#f6cf78"/>
|
|
10
|
+
<stop offset="1" stop-color="#f09a26"/>
|
|
11
|
+
</linearGradient>
|
|
12
|
+
<linearGradient id="bladeShade" x1="0" y1="0" x2="1" y2="0">
|
|
13
|
+
<stop offset="0" stop-color="#7fcabd"/>
|
|
14
|
+
<stop offset="0.5" stop-color="#a9dccf"/>
|
|
15
|
+
<stop offset="0.8" stop-color="#e9c27a"/>
|
|
16
|
+
<stop offset="1" stop-color="#e48a1c"/>
|
|
17
|
+
</linearGradient>
|
|
18
|
+
<linearGradient id="bladeHi" x1="0" y1="0" x2="1" y2="0">
|
|
19
|
+
<stop offset="0" stop-color="#fff" stop-opacity="0.9"/>
|
|
20
|
+
<stop offset="0.7" stop-color="#fff" stop-opacity="0.6"/>
|
|
21
|
+
<stop offset="1" stop-color="#fff" stop-opacity="0"/>
|
|
22
|
+
</linearGradient>
|
|
23
|
+
<linearGradient id="grip" x1="0" y1="0" x2="0" y2="1">
|
|
24
|
+
<stop offset="0" stop-color="#6fd09b"/>
|
|
25
|
+
<stop offset="1" stop-color="#2b8f5e"/>
|
|
26
|
+
</linearGradient>
|
|
27
|
+
<radialGradient id="pommel" cx="35%" cy="30%" r="75%">
|
|
28
|
+
<stop offset="0" stop-color="#8fe6b4"/>
|
|
29
|
+
<stop offset="1" stop-color="#2a8a5a"/>
|
|
30
|
+
</radialGradient>
|
|
31
|
+
<linearGradient id="guard" x1="0" y1="0" x2="1" y2="0">
|
|
32
|
+
<stop offset="0" stop-color="#ffffff"/>
|
|
33
|
+
<stop offset="1" stop-color="#b6e3d8"/>
|
|
34
|
+
</linearGradient>
|
|
35
|
+
|
|
36
|
+
<!-- 机器人 -->
|
|
37
|
+
<linearGradient id="botHead" x1="0.2" y1="0" x2="0.6" y2="1">
|
|
38
|
+
<stop offset="0" stop-color="#b4ead0"/>
|
|
39
|
+
<stop offset="0.45" stop-color="#7fcca0"/>
|
|
40
|
+
<stop offset="1" stop-color="#4a9a6e"/>
|
|
41
|
+
</linearGradient>
|
|
42
|
+
<linearGradient id="botEar" x1="0" y1="0" x2="0" y2="1">
|
|
43
|
+
<stop offset="0" stop-color="#5eaa7f"/>
|
|
44
|
+
<stop offset="1" stop-color="#3a7d5a"/>
|
|
45
|
+
</linearGradient>
|
|
46
|
+
<linearGradient id="botBody" x1="0.2" y1="0" x2="0.6" y2="1">
|
|
47
|
+
<stop offset="0" stop-color="#9cdcb8"/>
|
|
48
|
+
<stop offset="1" stop-color="#4a9a6e"/>
|
|
49
|
+
</linearGradient>
|
|
50
|
+
<linearGradient id="botLimb" x1="0" y1="0" x2="0" y2="1">
|
|
51
|
+
<stop offset="0" stop-color="#4f9f73"/>
|
|
52
|
+
<stop offset="1" stop-color="#9adab6"/>
|
|
53
|
+
</linearGradient>
|
|
54
|
+
<linearGradient id="botArm" gradientUnits="userSpaceOnUse" x1="20" y1="-58" x2="60" y2="-92">
|
|
55
|
+
<stop offset="0" stop-color="#6cbf91"/>
|
|
56
|
+
<stop offset="1" stop-color="#c4f0da"/>
|
|
57
|
+
</linearGradient>
|
|
58
|
+
<linearGradient id="botArmBack" gradientUnits="userSpaceOnUse" x1="-20" y1="-56" x2="-48" y2="-38">
|
|
59
|
+
<stop offset="0" stop-color="#4f9f73"/>
|
|
60
|
+
<stop offset="1" stop-color="#7cc49c"/>
|
|
61
|
+
</linearGradient>
|
|
62
|
+
<linearGradient id="screen" x1="0" y1="0" x2="0" y2="1">
|
|
63
|
+
<stop offset="0" stop-color="#22362d"/>
|
|
64
|
+
<stop offset="1" stop-color="#14221c"/>
|
|
65
|
+
</linearGradient>
|
|
66
|
+
<linearGradient id="gloss" x1="0" y1="0" x2="0" y2="1">
|
|
67
|
+
<stop offset="0" stop-color="#ffffff" stop-opacity="0.16"/>
|
|
68
|
+
<stop offset="1" stop-color="#ffffff" stop-opacity="0"/>
|
|
69
|
+
</linearGradient>
|
|
70
|
+
<linearGradient id="botEye" x1="0" y1="0" x2="0" y2="1">
|
|
71
|
+
<stop offset="0" stop-color="#e2fbdc"/>
|
|
72
|
+
<stop offset="1" stop-color="#a6dd9f"/>
|
|
73
|
+
</linearGradient>
|
|
74
|
+
<linearGradient id="mouth" x1="0" y1="0" x2="0" y2="1">
|
|
75
|
+
<stop offset="0" stop-color="#f7c987"/>
|
|
76
|
+
<stop offset="1" stop-color="#e0994f"/>
|
|
77
|
+
</linearGradient>
|
|
78
|
+
<linearGradient id="neckScarf" x1="0" y1="0" x2="1" y2="0">
|
|
79
|
+
<stop offset="0" stop-color="#3fa877"/>
|
|
80
|
+
<stop offset="1" stop-color="#6fd4a2"/>
|
|
81
|
+
</linearGradient>
|
|
82
|
+
|
|
83
|
+
<!-- 飘带 -->
|
|
84
|
+
<linearGradient id="ribbonMain" gradientUnits="userSpaceOnUse" x1="-4" y1="0" x2="-192" y2="0">
|
|
85
|
+
<stop offset="0" stop-color="#9fe3c6" stop-opacity="0.55"/>
|
|
86
|
+
<stop offset="0.18" stop-color="#4fbf88" stop-opacity="0.9"/>
|
|
87
|
+
<stop offset="0.5" stop-color="#5fca94"/>
|
|
88
|
+
<stop offset="0.8" stop-color="#5fca94" stop-opacity="0.5"/>
|
|
89
|
+
<stop offset="1" stop-color="#7fd9b0" stop-opacity="0"/>
|
|
90
|
+
</linearGradient>
|
|
91
|
+
<linearGradient id="ribbonEdge" gradientUnits="userSpaceOnUse" x1="-10" y1="0" x2="-170" y2="0">
|
|
92
|
+
<stop offset="0" stop-color="#d4f7e8" stop-opacity="0.2"/>
|
|
93
|
+
<stop offset="0.4" stop-color="#d4f7e8" stop-opacity="0.75"/>
|
|
94
|
+
<stop offset="1" stop-color="#d4f7e8" stop-opacity="0"/>
|
|
95
|
+
</linearGradient>
|
|
96
|
+
<linearGradient id="ribbonSub" gradientUnits="userSpaceOnUse" x1="-10" y1="0" x2="-142" y2="0">
|
|
97
|
+
<stop offset="0" stop-color="#9fe3c6" stop-opacity="0.5"/>
|
|
98
|
+
<stop offset="0.25" stop-color="#3fa877" stop-opacity="0.85"/>
|
|
99
|
+
<stop offset="0.6" stop-color="#46b47f" stop-opacity="0.8"/>
|
|
100
|
+
<stop offset="1" stop-color="#5cc794" stop-opacity="0"/>
|
|
101
|
+
</linearGradient>
|
|
102
|
+
|
|
103
|
+
<!-- 腿部沿剑身法线方向渐隐,融入剑身 -->
|
|
104
|
+
<linearGradient id="legFadeG" gradientUnits="userSpaceOnUse" x1="221" y1="222" x2="233" y2="248">
|
|
105
|
+
<stop offset="0" stop-color="#fff"/>
|
|
106
|
+
<stop offset="1" stop-color="#555"/>
|
|
107
|
+
</linearGradient>
|
|
108
|
+
<mask id="legFade" maskUnits="userSpaceOnUse" x="0" y="0" width="455" height="436">
|
|
109
|
+
<rect width="455" height="436" fill="url(#legFadeG)"/>
|
|
110
|
+
</mask>
|
|
111
|
+
|
|
112
|
+
<radialGradient id="dot" cx="38%" cy="32%" r="70%">
|
|
113
|
+
<stop offset="0" stop-color="#ffd977"/>
|
|
114
|
+
<stop offset="1" stop-color="#f0951c"/>
|
|
115
|
+
</radialGradient>
|
|
116
|
+
|
|
117
|
+
<!-- 月亮 -->
|
|
118
|
+
<radialGradient id="moonWarm" cx="42%" cy="35%" r="72%">
|
|
119
|
+
<stop offset="0" stop-color="#fff6d2"/>
|
|
120
|
+
<stop offset="0.6" stop-color="#fbe6a4"/>
|
|
121
|
+
<stop offset="1" stop-color="#f5cf74"/>
|
|
122
|
+
</radialGradient>
|
|
123
|
+
|
|
124
|
+
<filter id="soft2" x="-30%" y="-30%" width="160%" height="160%"><feGaussianBlur stdDeviation="4"/></filter>
|
|
125
|
+
<filter id="blur6" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="6"/></filter>
|
|
126
|
+
<filter id="glow" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="18"/></filter>
|
|
127
|
+
<filter id="dotGlow" x="-100%" y="-100%" width="300%" height="300%"><feGaussianBlur stdDeviation="4"/></filter>
|
|
128
|
+
<filter id="eyeGlow" x="-100%" y="-100%" width="300%" height="300%"><feGaussianBlur stdDeviation="3"/></filter>
|
|
129
|
+
<filter id="botShadow" x="-30%" y="-30%" width="160%" height="160%">
|
|
130
|
+
<feDropShadow dx="0" dy="3" stdDeviation="4" flood-color="#1f4a38" flood-opacity="0.18"/>
|
|
131
|
+
</filter>
|
|
132
|
+
|
|
133
|
+
<!-- 御剑机器人 -->
|
|
134
|
+
<g id="rider">
|
|
135
|
+
<!-- 剑 -->
|
|
136
|
+
<g transform="translate(55,335) rotate(-24.4)">
|
|
137
|
+
<ellipse cx="200" cy="34" rx="190" ry="12" fill="#2a5a48" opacity="0.14" filter="url(#blur6)"/>
|
|
138
|
+
<path d="M92,-22 L330,-18 L398,0 L330,18 L92,22 Z" fill="url(#blade)" stroke="#9cd2c4" stroke-width="1.6" stroke-linejoin="round"/>
|
|
139
|
+
<path d="M92,4 L396,0 L330,18 L92,22 Z" fill="url(#bladeShade)" opacity="0.6"/>
|
|
140
|
+
<path d="M100,-16 L320,-13 L370,-4" fill="none" stroke="url(#bladeHi)" stroke-width="3" stroke-linecap="round"/>
|
|
141
|
+
<rect x="6" y="-8" width="70" height="16" rx="8" fill="url(#grip)"/>
|
|
142
|
+
<circle cx="0" cy="0" r="16" fill="url(#pommel)"/>
|
|
143
|
+
<ellipse cx="88" cy="4" rx="12" ry="32" fill="#000" opacity="0.18" filter="url(#soft2)"/>
|
|
144
|
+
<rect x="72" y="-31" width="22" height="62" rx="11" fill="url(#guard)" stroke="#9cd2c4" stroke-width="1.5"/>
|
|
145
|
+
</g>
|
|
146
|
+
|
|
147
|
+
<!-- 机器人:以脚底为原点,整体前倾 -->
|
|
148
|
+
<g mask="url(#legFade)">
|
|
149
|
+
<g transform="translate(238,238) rotate(-12)" filter="url(#botShadow)">
|
|
150
|
+
<!-- 身后飘带 -->
|
|
151
|
+
<path d="M-12,-66 C-40,-60 -62,-50 -84,-36 C-100,-26 -118,-20 -140,-20 C-118,-28 -100,-40 -84,-54 C-62,-70 -36,-76 -12,-76 Z" fill="url(#ribbonSub)"/>
|
|
152
|
+
<path d="M-6,-66 C-40,-74 -72,-82 -102,-76 C-128,-70 -154,-66 -190,-76 C-158,-88 -132,-98 -104,-98 C-72,-98 -40,-88 -6,-80 Z" fill="url(#ribbonMain)"/>
|
|
153
|
+
<path d="M-10,-79 C-40,-87 -72,-96 -104,-96 C-128,-96 -150,-88 -170,-82" fill="none" stroke="url(#ribbonEdge)" stroke-width="2.4" stroke-linecap="round"/>
|
|
154
|
+
|
|
155
|
+
<!-- 冲浪式站姿 -->
|
|
156
|
+
<path d="M-20,-58 C-34,-56 -46,-50 -56,-40" fill="none" stroke="url(#botArmBack)" stroke-width="10" stroke-linecap="round"/>
|
|
157
|
+
<circle cx="-58" cy="-38" r="6.5" fill="#7cc49c"/>
|
|
158
|
+
<path d="M-10,-28 C-14,-18 -20,-8 -24,2" fill="none" stroke="url(#botLimb)" stroke-width="13" stroke-linecap="round"/>
|
|
159
|
+
<path d="M10,-28 C16,-22 20,-14 22,-6" fill="none" stroke="url(#botLimb)" stroke-width="13" stroke-linecap="round"/>
|
|
160
|
+
<ellipse cx="-24" cy="4" rx="11" ry="5.5" transform="rotate(-12 -24 4)" fill="#9adab6"/>
|
|
161
|
+
<ellipse cx="24" cy="-6" rx="11" ry="5.5" transform="rotate(-12 24 -6)" fill="#9adab6"/>
|
|
162
|
+
<rect x="-25" y="-72" width="50" height="50" rx="17" fill="url(#botBody)"/>
|
|
163
|
+
<rect x="-19" y="-68" width="38" height="12" rx="6" fill="#ffffff" opacity="0.18"/>
|
|
164
|
+
<rect x="-12" y="-52" width="24" height="16" rx="5" fill="url(#screen)"/>
|
|
165
|
+
<rect x="-7" y="-46" width="10" height="4" rx="2" fill="url(#mouth)"/>
|
|
166
|
+
<circle cx="7" cy="-44" r="1.8" fill="#b8e6b0"/>
|
|
167
|
+
<path d="M20,-60 C32,-60 44,-56 54,-50" fill="none" stroke="url(#botArm)" stroke-width="10" stroke-linecap="round"/>
|
|
168
|
+
<circle cx="57" cy="-48" r="7" fill="#d9f6e8"/>
|
|
169
|
+
<!-- 颈部围巾 -->
|
|
170
|
+
<path d="M-27,-78 C-10,-70 10,-70 27,-78 L26,-67 C10,-60 -10,-60 -26,-67 Z" fill="url(#neckScarf)"/>
|
|
171
|
+
<circle cx="-24" cy="-71" r="5" fill="#3fa877"/>
|
|
172
|
+
|
|
173
|
+
<!-- 头 -->
|
|
174
|
+
<rect x="-57" y="-128" width="11" height="32" rx="5" fill="url(#botEar)"/>
|
|
175
|
+
<rect x="46" y="-128" width="11" height="32" rx="5" fill="url(#botEar)"/>
|
|
176
|
+
<rect x="-49" y="-156" width="98" height="82" rx="28" fill="url(#botHead)"/>
|
|
177
|
+
<path d="M-34,-150 C-20,-154 20,-154 34,-150" fill="none" stroke="#ffffff" stroke-width="3" stroke-linecap="round" opacity="0.45"/>
|
|
178
|
+
<rect x="-37" y="-143" width="74" height="56" rx="17" fill="url(#screen)"/>
|
|
179
|
+
<path d="M-37,-126 C-37,-136 -30,-143 -20,-143 L28,-143 C20,-136 0,-130 -37,-122 Z" fill="url(#gloss)"/>
|
|
180
|
+
<!-- 笑眼 -->
|
|
181
|
+
<path d="M-17,-131 H-9 Q-5,-131 -5,-127 V-115 Q-13,-122 -21,-115 V-127 Q-21,-131 -17,-131 Z" fill="#b8eab0" opacity="0.55" filter="url(#eyeGlow)"/>
|
|
182
|
+
<path d="M15,-131 H23 Q27,-131 27,-127 V-115 Q19,-122 11,-115 V-127 Q11,-131 15,-131 Z" fill="#b8eab0" opacity="0.55" filter="url(#eyeGlow)"/>
|
|
183
|
+
<path d="M-17,-131 H-9 Q-5,-131 -5,-127 V-115 Q-13,-122 -21,-115 V-127 Q-21,-131 -17,-131 Z" fill="url(#botEye)"/>
|
|
184
|
+
<path d="M15,-131 H23 Q27,-131 27,-127 V-115 Q19,-122 11,-115 V-127 Q11,-131 15,-131 Z" fill="url(#botEye)"/>
|
|
185
|
+
<!-- 腮红 + 橙色微笑 -->
|
|
186
|
+
<rect x="-31" y="-110" width="9" height="4" rx="2" fill="#ff9f8a" opacity="0.6"/>
|
|
187
|
+
<rect x="26" y="-110" width="9" height="4" rx="2" fill="#ff9f8a" opacity="0.6"/>
|
|
188
|
+
<path d="M-5,-104 Q3,-95 11,-104" fill="none" stroke="url(#mouth)" stroke-width="4" stroke-linecap="round"/>
|
|
189
|
+
</g>
|
|
190
|
+
</g>
|
|
191
|
+
|
|
192
|
+
<!-- 金色小点 -->
|
|
193
|
+
<circle cx="348" cy="60" r="11" fill="#f5a623" opacity="0.35" filter="url(#dotGlow)"/>
|
|
194
|
+
<circle cx="390" cy="92" r="14" fill="#f5a623" opacity="0.35" filter="url(#dotGlow)"/>
|
|
195
|
+
<circle cx="348" cy="60" r="9" fill="url(#dot)"/>
|
|
196
|
+
<circle cx="390" cy="92" r="12" fill="url(#dot)"/>
|
|
197
|
+
<circle cx="418" cy="132" r="7.5" fill="url(#dot)"/>
|
|
198
|
+
</g>
|
|
199
|
+
</defs>
|
|
200
|
+
<g>
|
|
201
|
+
<circle cx="240" cy="182" r="138" fill="#f5c46a" opacity="0.35" filter="url(#glow)"/>
|
|
202
|
+
<circle cx="234" cy="182" r="134" fill="url(#moonWarm)"/>
|
|
203
|
+
<use href="#rider" xlink:href="#rider"/>
|
|
204
|
+
</g>
|
|
205
|
+
</svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ZettCode Gateway",
|
|
3
|
+
"short_name": "ZettCode",
|
|
4
|
+
"description": "Talk to the background agents on your machine.",
|
|
5
|
+
"start_url": "/",
|
|
6
|
+
"scope": "/",
|
|
7
|
+
"display": "standalone",
|
|
8
|
+
"background_color": "#17212b",
|
|
9
|
+
"theme_color": "#3390ec",
|
|
10
|
+
"icons": [{ "src": "/static/icon.png", "sizes": "256x256", "type": "image/png", "purpose": "any" }]
|
|
11
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: zettcode-gateway
|
|
3
|
+
Version: 0.3.4
|
|
4
|
+
Summary: The web gateway of ZettCode: the chat page and the graph over a running server
|
|
5
|
+
Project-URL: Repository, https://github.com/Chang-LeHung/zettcode
|
|
6
|
+
Author: Chang-LeHung
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
Keywords: gateway,web,zettcode
|
|
9
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
16
|
+
Classifier: Typing :: Typed
|
|
17
|
+
Requires-Python: >=3.10
|
|
18
|
+
Requires-Dist: starlette<2,>=0.48
|
|
19
|
+
Requires-Dist: uvicorn<1,>=0.35
|
|
20
|
+
Requires-Dist: zettcode-engine
|
|
21
|
+
Requires-Dist: zettcode-sdk
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
zettcode/gateway/__init__.py,sha256=wpZzEx20UC2RRRp3w2yv6uBZ3yrFiBsnz21zzcRen7c,1350
|
|
2
|
+
zettcode/gateway/app.py,sha256=BlZ0WWyAN32dU2L7QWLgVA_O17dt3vJqf1x_7zWhlu0,20209
|
|
3
|
+
zettcode/gateway/backend.py,sha256=lLCHF4mssNluQsXRlZaG3jn-pQesEA80Yb7ynbCiDFU,15717
|
|
4
|
+
zettcode/gateway/chat.py,sha256=4Ht7Ie_pYgvIYx5Ue_4SQXm5tu1KYQOpILOobRuNToo,6443
|
|
5
|
+
zettcode/gateway/cli.py,sha256=37chAz4RFTA9qcDctcTuT74-_gEWjtfw-xZDSvMopfo,19768
|
|
6
|
+
zettcode/gateway/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
+
zettcode/gateway/runfile.py,sha256=EWgFVkAQowsdHPBjfIOkjeq_I1FMJ4DJInWCf0CewPY,5213
|
|
8
|
+
zettcode/gateway/service.py,sha256=YDOTYJ9h2Ja6u2iAveiKZwXF1KtjkVlcrB2FnkNuZCI,59647
|
|
9
|
+
zettcode/gateway/settings.py,sha256=hNSB1wFDG-stZieehEzp7piWS2emf7JencrXYXkSSjc,2440
|
|
10
|
+
zettcode/gateway/static/app.css,sha256=rY86cd3cimmieRVkWOvDo3oe6gjjewGaTyf4uVP6PpA,89183
|
|
11
|
+
zettcode/gateway/static/app.js,sha256=BpF_9obKWUl-L5IdcwcORbdDuKi79tBff2TsDLYNrsg,242458
|
|
12
|
+
zettcode/gateway/static/icon.png,sha256=NJFONgCvET0mjWRS_-DpTalmQDXa1X-SCyr38n6Rt1s,63258
|
|
13
|
+
zettcode/gateway/static/index.html,sha256=VrIE02BxopCsgNLCBu1OMvY9ypZwqL6UqLtXipNtogo,1029
|
|
14
|
+
zettcode/gateway/static/logo.svg,sha256=6lyX_DPnpbg9ZJU8qsaLpj_LQ07eVsRaOnYaI365Yec,11682
|
|
15
|
+
zettcode/gateway/static/manifest.webmanifest,sha256=h7XPyj-FAAEbzo_W_4YyCLzk7CVi1JwEAJbLc7JsEFg,355
|
|
16
|
+
zettcode/gateway/static/assets/KaTeX_AMS-Regular-U6PRYMIZ.woff2,sha256=DN04fJWQoan5eUVgAi27WWVKfYbxh6oMgUla1C06cwg,28076
|
|
17
|
+
zettcode/gateway/static/assets/KaTeX_Caligraphic-Bold-5QL5CMTE.woff2,sha256=3ncB5Czx9M8LdmwD-yeXcgfu4vT9XXb6ghiEBtpD6kw,6912
|
|
18
|
+
zettcode/gateway/static/assets/KaTeX_Caligraphic-Regular-KX5MEWCF.woff2,sha256=XVPnCtYHwjUhYt7J4JI_tU7Nr6zL9gTNjc99APrLmJs,6908
|
|
19
|
+
zettcode/gateway/static/assets/KaTeX_Fraktur-Bold-2QVFK6NQ.woff2,sha256=dERO_Vk8AF4_RXO0RSRwTArwqTf-kRzKnpQGjQ0UDT8,11348
|
|
20
|
+
zettcode/gateway/static/assets/KaTeX_Fraktur-Regular-2PEIFJSJ.woff2,sha256=UYFNJw0G_wJV26B5mZT6TYyE0R8JlR1HWV9Kux82Atw,11316
|
|
21
|
+
zettcode/gateway/static/assets/KaTeX_Main-Bold-YP5VVQRP.woff2,sha256=D2DRuJeTjskYyM4HMJJBG6-UOPZzlGVpP_GLD50gsCE,25324
|
|
22
|
+
zettcode/gateway/static/assets/KaTeX_Main-BoldItalic-N4V3DX7S.woff2,sha256=mc1Co8By2Rjy9EmEqAfPeqFuE1Rf0IdfwHxsZfmecVs,16780
|
|
23
|
+
zettcode/gateway/static/assets/KaTeX_Main-Italic-RELBIK7M.woff2,sha256=l0ecpszpBqvJYeyslvql-couYbjnZw1HWCa83umnwmc,16988
|
|
24
|
+
zettcode/gateway/static/assets/KaTeX_Main-Regular-ARRPAO67.woff2,sha256=wjQs2Lhp4BdSqTIdwXIT_EDU0Ex5aIwdQ_LPMWq9eGY,26272
|
|
25
|
+
zettcode/gateway/static/assets/KaTeX_Math-BoldItalic-K4WTGH3J.woff2,sha256=3Ec0TbtstbZVyEYNVh9N9fUBuQyAStPGzsZf4yI1GrE,16400
|
|
26
|
+
zettcode/gateway/static/assets/KaTeX_Math-Italic-6KGCHLFN.woff2,sha256=evWMXsjxMqLd3pAnxteBTezOTTuCKhEZKkKiDi6XMmQ,16440
|
|
27
|
+
zettcode/gateway/static/assets/KaTeX_SansSerif-Bold-RRNVJFFW.woff2,sha256=6ZrlEUS_EjLvzBv-Wt02JixoZrD6qyT6dXQOG5hXemI,12216
|
|
28
|
+
zettcode/gateway/static/assets/KaTeX_SansSerif-Italic-HMPFTM52.woff2,sha256=ALJqyCXiCVBWOW4FU7isJtP4rRWMOCbii0xFs4XEcUo,12028
|
|
29
|
+
zettcode/gateway/static/assets/KaTeX_SansSerif-Regular-XIQ62X4E.woff2,sha256=aOjHPvQq_TzOxYvw-6MCzORIk45_wCCl4x-KlS7uE0I,10344
|
|
30
|
+
zettcode/gateway/static/assets/KaTeX_Script-Regular-APUWIHLP.woff2,sha256=A21OlRSbaf-bzAzVV3Hv6yX_o5Ryk-aazXjVrDKMaEs,9644
|
|
31
|
+
zettcode/gateway/static/assets/KaTeX_Size1-Regular-5LRUTBFT.woff2,sha256=a0fEAWa22-IaXfyncYQT8hR_0jmb4bpgXYrTnO3yXf4,5468
|
|
32
|
+
zettcode/gateway/static/assets/KaTeX_Size2-Regular-LELKET5D.woff2,sha256=0ExUIZ-ersbU1P1C37KHhZdaR5TWsvxx5Wa5zW24Qt0,5208
|
|
33
|
+
zettcode/gateway/static/assets/KaTeX_Size3-Regular-WQRQ47UD.woff2,sha256=c9WRJxsWBJYMsQu5D-4CFnCvcpcBfg6YSAszLRH1GZU,3624
|
|
34
|
+
zettcode/gateway/static/assets/KaTeX_Size4-Regular-CDMV7U5C.woff2,sha256=pK99QURAocF5CCXPtwDPnPQ7DyxLBPDrxSMBGtmFPsA,4928
|
|
35
|
+
zettcode/gateway/static/assets/KaTeX_Typewriter-Regular-VBYJ4NRC.woff2,sha256=cdUX1ngneHz6vfGGkUzDNY7aU543kxlB8rL9SiH2jAs,13568
|
|
36
|
+
zettcode/gateway/static/chunks/chunk-Y6SLVHK3.js,sha256=BrG_ObfO4bPHfbRbXc0Ae1ta8swysqljhje6epAGQ2w,544
|
|
37
|
+
zettcode/gateway/static/chunks/render-G6G3TSB3.js,sha256=pTG-mofzTOGTBAc7l2JlZP1AuDPbsxr_vShZ3_tznZc,1440119
|
|
38
|
+
zettcode_gateway-0.3.4.dist-info/METADATA,sha256=td7vmAZ8ltjCLMzlJzOaZtWsVWNfy-1ULM899x8I0hE,829
|
|
39
|
+
zettcode_gateway-0.3.4.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
40
|
+
zettcode_gateway-0.3.4.dist-info/RECORD,,
|