syntaxmatrix 1.4.6__py3-none-any.whl → 2.5.5.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.
- syntaxmatrix/__init__.py +13 -8
- syntaxmatrix/agentic/__init__.py +0 -0
- syntaxmatrix/agentic/agent_tools.py +24 -0
- syntaxmatrix/agentic/agents.py +810 -0
- syntaxmatrix/agentic/code_tools_registry.py +37 -0
- syntaxmatrix/agentic/model_templates.py +1790 -0
- syntaxmatrix/auth.py +308 -14
- syntaxmatrix/commentary.py +328 -0
- syntaxmatrix/core.py +993 -375
- syntaxmatrix/dataset_preprocessing.py +218 -0
- syntaxmatrix/db.py +92 -95
- syntaxmatrix/display.py +95 -121
- syntaxmatrix/generate_page.py +634 -0
- syntaxmatrix/gpt_models_latest.py +46 -0
- syntaxmatrix/history_store.py +26 -29
- syntaxmatrix/kernel_manager.py +96 -17
- syntaxmatrix/llm_store.py +1 -1
- syntaxmatrix/plottings.py +6 -0
- syntaxmatrix/profiles.py +64 -8
- syntaxmatrix/project_root.py +55 -43
- syntaxmatrix/routes.py +5072 -1398
- syntaxmatrix/session.py +19 -0
- syntaxmatrix/settings/logging.py +40 -0
- syntaxmatrix/settings/model_map.py +300 -33
- syntaxmatrix/settings/prompts.py +273 -62
- syntaxmatrix/settings/string_navbar.py +3 -3
- syntaxmatrix/static/docs.md +272 -0
- syntaxmatrix/static/icons/favicon.png +0 -0
- syntaxmatrix/static/icons/hero_bg.jpg +0 -0
- syntaxmatrix/templates/dashboard.html +608 -147
- syntaxmatrix/templates/docs.html +71 -0
- syntaxmatrix/templates/error.html +2 -3
- syntaxmatrix/templates/login.html +1 -0
- syntaxmatrix/templates/register.html +1 -0
- syntaxmatrix/ui_modes.py +14 -0
- syntaxmatrix/utils.py +2482 -159
- syntaxmatrix/vectorizer.py +16 -12
- {syntaxmatrix-1.4.6.dist-info → syntaxmatrix-2.5.5.4.dist-info}/METADATA +20 -17
- syntaxmatrix-2.5.5.4.dist-info/RECORD +68 -0
- syntaxmatrix/model_templates.py +0 -30
- syntaxmatrix/static/icons/favicon.ico +0 -0
- syntaxmatrix-1.4.6.dist-info/RECORD +0 -54
- {syntaxmatrix-1.4.6.dist-info → syntaxmatrix-2.5.5.4.dist-info}/WHEEL +0 -0
- {syntaxmatrix-1.4.6.dist-info → syntaxmatrix-2.5.5.4.dist-info}/licenses/LICENSE.txt +0 -0
- {syntaxmatrix-1.4.6.dist-info → syntaxmatrix-2.5.5.4.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>{{ page_title or "Docs" }} — {{ config.get('PROJECT_NAME','SyntaxMatrix') }}</title>
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
|
+
</head>
|
|
8
|
+
<body style="margin:0;">
|
|
9
|
+
<div id="syntaxmatrix-docs-root"></div>
|
|
10
|
+
<script>
|
|
11
|
+
(function () {
|
|
12
|
+
const host = document.getElementById('syntaxmatrix-docs-root');
|
|
13
|
+
const shadow = host.attachShadow({ mode: 'open' });
|
|
14
|
+
shadow.innerHTML = `
|
|
15
|
+
<style>
|
|
16
|
+
:host { all: initial; }
|
|
17
|
+
.doc { box-sizing:border-box; max-width: 980px; margin: 0 auto; padding: 24px;
|
|
18
|
+
color:#1b1f23; background:#fff; font: 16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Helvetica,Arial,Noto Sans,sans-serif; }
|
|
19
|
+
.doc * { box-sizing: inherit; text-align: left; }
|
|
20
|
+
.doc h1 { font-size: 2rem; margin: 0 0 .75rem }
|
|
21
|
+
.doc h2 { margin-top: 2rem; padding-bottom: .4rem; border-bottom: 1px solid #e1e4e8; }
|
|
22
|
+
.doc h3 { margin-top: 1.25rem; }
|
|
23
|
+
.doc p, .doc li { line-height: 1.65; }
|
|
24
|
+
.doc ul, .doc ol { padding-left: 24px; }
|
|
25
|
+
.doc blockquote { border-left: 4px solid #e1e4e8; margin: 1rem 0; padding: .25rem 1rem; color: #586069; background: #fafbfc; }
|
|
26
|
+
.doc code, .doc pre { font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace; }
|
|
27
|
+
.doc pre { white-space: pre; background:#f6f8fa; border:1px solid #e1e4e8; padding:12px; border-radius:8px; overflow:auto; position: relative; }
|
|
28
|
+
.copy-btn { position:absolute; top:8px; right:8px; border:1px solid #e1e4e8; background:#fff; padding:2px 8px; border-radius:6px; font-size:.8rem; cursor:pointer; }
|
|
29
|
+
.doc table { border-collapse: collapse; width: 100%; }
|
|
30
|
+
.doc th, .doc td { border:1px solid #e1e4e8; padding:6px 10px; vertical-align: top; }
|
|
31
|
+
.doc img { max-width:100%; height:auto; }
|
|
32
|
+
.note { background:#f6f8fa; border:1px solid #e1e4e8; padding:10px 12px; border-radius:8px; }
|
|
33
|
+
@media (prefers-color-scheme: dark) {
|
|
34
|
+
.doc { background:#0d1117; color:#c9d1d9; }
|
|
35
|
+
.doc h2 { border-color:#30363d; }
|
|
36
|
+
.doc pre, .note { background:#161b22; border-color:#30363d; }
|
|
37
|
+
.copy-btn { background:#0d1117; border-color:#30363d; color:#c9d1d9; }
|
|
38
|
+
.doc th, .doc td { border-color:#30363d; }
|
|
39
|
+
}
|
|
40
|
+
</style>
|
|
41
|
+
<article class="doc"><p class="note">Loading documentation…</p></article>
|
|
42
|
+
`;
|
|
43
|
+
const container = shadow.querySelector('.doc');
|
|
44
|
+
|
|
45
|
+
function addCopyButtons() {
|
|
46
|
+
shadow.querySelectorAll('pre > code').forEach(code => {
|
|
47
|
+
const btn = document.createElement('button');
|
|
48
|
+
btn.className = 'copy-btn';
|
|
49
|
+
btn.textContent = 'Copy';
|
|
50
|
+
btn.addEventListener('click', () => {
|
|
51
|
+
navigator.clipboard.writeText(code.textContent || '');
|
|
52
|
+
btn.textContent = 'Copied';
|
|
53
|
+
setTimeout(() => btn.textContent = 'Copy', 900);
|
|
54
|
+
});
|
|
55
|
+
code.parentElement.appendChild(btn);
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
const mk = document.createElement('script');
|
|
60
|
+
mk.src = 'https://cdn.jsdelivr.net/npm/marked/marked.min.js';
|
|
61
|
+
mk.onload = () => {
|
|
62
|
+
fetch('/static/docs.md', { cache: 'no-cache' })
|
|
63
|
+
.then(r => r.text())
|
|
64
|
+
.then(md => { container.innerHTML = window.marked.parse(md); addCopyButtons(); })
|
|
65
|
+
.catch(() => { container.innerHTML = '<p style="color:#b00">Could not load <code>static/docs.md</code>.</p>'; });
|
|
66
|
+
};
|
|
67
|
+
shadow.appendChild(mk);
|
|
68
|
+
})();
|
|
69
|
+
</script>
|
|
70
|
+
</body>
|
|
71
|
+
</html>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
6
|
-
<title>Error
|
|
6
|
+
<title>Error - SyntaxMatrix</title>
|
|
7
7
|
|
|
8
8
|
<style>
|
|
9
9
|
:root {
|
|
@@ -107,7 +107,6 @@
|
|
|
107
107
|
</style>
|
|
108
108
|
</head>
|
|
109
109
|
<body>
|
|
110
|
-
<!-- your normal navbar -->
|
|
111
110
|
{{ nav | safe }}
|
|
112
111
|
|
|
113
112
|
<div class="error-page">
|
|
@@ -119,7 +118,7 @@
|
|
|
119
118
|
{% endif %}
|
|
120
119
|
<p><a class="btn" href="{{ url_for('home') }}">← Back to Home</a></p>
|
|
121
120
|
</div>
|
|
122
|
-
|
|
121
|
+
{{ footer | safe }}
|
|
123
122
|
<!-- toggle script for hamburger -->
|
|
124
123
|
<script src="{{ url_for('static', filename='js/sidebar.js') }}"></script>
|
|
125
124
|
<script>
|