ai_co_discuss 0.3.16 → 0.3.17
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/backend/server.py +5 -0
- package/docs/THIRD_PARTY_NOTICES.md +1264 -1264
- package/package.json +1 -1
- package/runner/discussion_service.mjs +17 -7
- package/runner/remote_launch.mjs +4 -3
- package/web/app.js +46 -11
- package/web/index.html +3 -0
- package/web/katex/LICENSE +21 -0
- package/web/katex/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- package/web/katex/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/web/katex/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/web/katex/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/web/katex/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/web/katex/fonts/KaTeX_Main-Bold.woff2 +0 -0
- package/web/katex/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/web/katex/fonts/KaTeX_Main-Italic.woff2 +0 -0
- package/web/katex/fonts/KaTeX_Main-Regular.woff2 +0 -0
- package/web/katex/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/web/katex/fonts/KaTeX_Math-Italic.woff2 +0 -0
- package/web/katex/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/web/katex/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/web/katex/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/web/katex/fonts/KaTeX_Script-Regular.woff2 +0 -0
- package/web/katex/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- package/web/katex/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- package/web/katex/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- package/web/katex/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- package/web/katex/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/web/katex/katex.min.css +1 -0
- package/web/markdown.css +1 -1
package/backend/server.py
CHANGED
|
@@ -89,6 +89,11 @@ ASSETS.update({"/pdfjs/" + file.relative_to(WEB_ROOT / "pdfjs").as_posix():
|
|
|
89
89
|
(file.relative_to(WEB_ROOT).as_posix(),
|
|
90
90
|
{".mjs": "text/javascript", ".js": "text/javascript", ".wasm": "application/wasm"}.get(file.suffix, "application/octet-stream"))
|
|
91
91
|
for file in (WEB_ROOT / "pdfjs").rglob("*") if file.is_file()})
|
|
92
|
+
# KaTeX's stylesheet and the fonts it loads only when a formula is shown.
|
|
93
|
+
ASSETS.update({"/katex/" + file.relative_to(WEB_ROOT / "katex").as_posix():
|
|
94
|
+
(file.relative_to(WEB_ROOT).as_posix(),
|
|
95
|
+
{".css": "text/css", ".woff2": "font/woff2"}.get(file.suffix, "text/plain"))
|
|
96
|
+
for file in (WEB_ROOT / "katex").rglob("*") if file.is_file()})
|
|
92
97
|
SCHEMA = (Path(__file__).resolve().parent / "schema.sql").read_text(encoding="utf-8")
|
|
93
98
|
PHASES = {"preparing": "准备中", "initial": "独立观点", "discussing": "深入讨论",
|
|
94
99
|
"paused": "已暂停", "concluded": "已收束"}
|