zerochat 7.3.0__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.
- zerochat-7.3.0.dist-info/METADATA +70 -0
- zerochat-7.3.0.dist-info/RECORD +130 -0
- zerochat-7.3.0.dist-info/WHEEL +5 -0
- zerochat-7.3.0.dist-info/entry_points.txt +2 -0
- zerochat-7.3.0.dist-info/licenses/LICENSE +34 -0
- zerochat-7.3.0.dist-info/top_level.txt +2 -0
- zerochat.py +2004 -0
- zerochat_runtime/__init__.py +1 -0
- zerochat_runtime/assets/css/base.css +199 -0
- zerochat_runtime/assets/css/components/composer.css +1258 -0
- zerochat_runtime/assets/css/components/debug.css +777 -0
- zerochat_runtime/assets/css/components/header.css +97 -0
- zerochat_runtime/assets/css/components/icons.css +39 -0
- zerochat_runtime/assets/css/components/markdown.css +685 -0
- zerochat_runtime/assets/css/components/messages.css +473 -0
- zerochat_runtime/assets/css/components/modals.css +1319 -0
- zerochat_runtime/assets/css/components/sidebar.css +622 -0
- zerochat_runtime/assets/css/components/tools.css +1223 -0
- zerochat_runtime/assets/css/layout.css +171 -0
- zerochat_runtime/assets/css/print.css +120 -0
- zerochat_runtime/assets/css/styles.css +18 -0
- zerochat_runtime/assets/css/theme-overrides.css +555 -0
- zerochat_runtime/assets/css/tokens.css +165 -0
- zerochat_runtime/assets/help/architecture.html +247 -0
- zerochat_runtime/assets/help/composer.html +134 -0
- zerochat_runtime/assets/help/conversations.html +105 -0
- zerochat_runtime/assets/help/debug.html +108 -0
- zerochat_runtime/assets/help/en/architecture.html +247 -0
- zerochat_runtime/assets/help/en/composer.html +134 -0
- zerochat_runtime/assets/help/en/conversations.html +104 -0
- zerochat_runtime/assets/help/en/debug.html +105 -0
- zerochat_runtime/assets/help/en/gemini-free.html +39 -0
- zerochat_runtime/assets/help/en/index.html +191 -0
- zerochat_runtime/assets/help/en/learning.html +71 -0
- zerochat_runtime/assets/help/en/mcp.html +143 -0
- zerochat_runtime/assets/help/en/openrouter-free.html +39 -0
- zerochat_runtime/assets/help/en/profiles.html +173 -0
- zerochat_runtime/assets/help/en/rag.html +130 -0
- zerochat_runtime/assets/help/en/reasoning-telemetry.html +108 -0
- zerochat_runtime/assets/help/en/tools-agent.html +133 -0
- zerochat_runtime/assets/help/en/webllm.html +355 -0
- zerochat_runtime/assets/help/gemini-free.html +39 -0
- zerochat_runtime/assets/help/help.css +604 -0
- zerochat_runtime/assets/help/help.js +51 -0
- zerochat_runtime/assets/help/index.html +194 -0
- zerochat_runtime/assets/help/learning.html +71 -0
- zerochat_runtime/assets/help/mcp.html +143 -0
- zerochat_runtime/assets/help/openrouter-free.html +39 -0
- zerochat_runtime/assets/help/profiles.html +174 -0
- zerochat_runtime/assets/help/rag.html +130 -0
- zerochat_runtime/assets/help/reasoning-telemetry.html +111 -0
- zerochat_runtime/assets/help/tools-agent.html +133 -0
- zerochat_runtime/assets/help/webllm.html +359 -0
- zerochat_runtime/assets/js/agent-core.js +1553 -0
- zerochat_runtime/assets/js/api.js +844 -0
- zerochat_runtime/assets/js/app.js +2558 -0
- zerochat_runtime/assets/js/attachments.js +220 -0
- zerochat_runtime/assets/js/charts.js +338 -0
- zerochat_runtime/assets/js/chat-engine.js +566 -0
- zerochat_runtime/assets/js/config-store.js +207 -0
- zerochat_runtime/assets/js/context-manager.js +584 -0
- zerochat_runtime/assets/js/conversation-service.js +484 -0
- zerochat_runtime/assets/js/cookies.js +688 -0
- zerochat_runtime/assets/js/data-reset-service.js +136 -0
- zerochat_runtime/assets/js/debug.js +508 -0
- zerochat_runtime/assets/js/defaults.js +16 -0
- zerochat_runtime/assets/js/export.js +179 -0
- zerochat_runtime/assets/js/file-parser.js +2088 -0
- zerochat_runtime/assets/js/generation-controller.js +417 -0
- zerochat_runtime/assets/js/i18n.js +1483 -0
- zerochat_runtime/assets/js/icons.js +156 -0
- zerochat_runtime/assets/js/ingestionEngine.js +436 -0
- zerochat_runtime/assets/js/markdown.js +588 -0
- zerochat_runtime/assets/js/mcp.js +1271 -0
- zerochat_runtime/assets/js/message-turns.js +62 -0
- zerochat_runtime/assets/js/profile-backup.js +118 -0
- zerochat_runtime/assets/js/profile-export-bundle.js +481 -0
- zerochat_runtime/assets/js/profile-repository.js +213 -0
- zerochat_runtime/assets/js/providers-webllm.js +486 -0
- zerochat_runtime/assets/js/providers.js +1560 -0
- zerochat_runtime/assets/js/rag-index.js +295 -0
- zerochat_runtime/assets/js/rag-service.js +530 -0
- zerochat_runtime/assets/js/rag-ui.js +997 -0
- zerochat_runtime/assets/js/ragStorage.js +676 -0
- zerochat_runtime/assets/js/sandbox.js +449 -0
- zerochat_runtime/assets/js/state.js +704 -0
- zerochat_runtime/assets/js/storage-db.js +144 -0
- zerochat_runtime/assets/js/tool-cards.js +330 -0
- zerochat_runtime/assets/js/tool-security.js +653 -0
- zerochat_runtime/assets/js/tools/README.md +50 -0
- zerochat_runtime/assets/js/tools/builtin/agent-checkpoint.tool.js +212 -0
- zerochat_runtime/assets/js/tools/builtin/download-pdf.tool.js +111 -0
- zerochat_runtime/assets/js/tools/builtin/execute-javascript.tool.js +219 -0
- zerochat_runtime/assets/js/tools/builtin/fetch-web-page.tool.js +112 -0
- zerochat_runtime/assets/js/tools/builtin/list-documents.tool.js +117 -0
- zerochat_runtime/assets/js/tools/builtin/read-knowledge-chunk.tool.js +129 -0
- zerochat_runtime/assets/js/tools/builtin/read-knowledge-image.tool.js +95 -0
- zerochat_runtime/assets/js/tools/builtin/render-chart.tool.js +90 -0
- zerochat_runtime/assets/js/tools/builtin/search-knowledge-base.tool.js +124 -0
- zerochat_runtime/assets/js/tools/builtin/search-web.tool.js +125 -0
- zerochat_runtime/assets/js/tools/tool-manifest.js +53 -0
- zerochat_runtime/assets/js/tools/tool-runtime.js +77 -0
- zerochat_runtime/assets/js/ui-composer.js +319 -0
- zerochat_runtime/assets/js/ui-conversation.js +655 -0
- zerochat_runtime/assets/js/ui-dialogs.js +132 -0
- zerochat_runtime/assets/js/ui-generation-status.js +119 -0
- zerochat_runtime/assets/js/ui-inspector.js +804 -0
- zerochat_runtime/assets/js/ui-mcp.js +604 -0
- zerochat_runtime/assets/js/ui-profiles.js +824 -0
- zerochat_runtime/assets/js/ui-reasoning.js +146 -0
- zerochat_runtime/assets/js/ui-settings.js +825 -0
- zerochat_runtime/assets/js/ui-shell.js +215 -0
- zerochat_runtime/assets/js/ui-sidebar.js +429 -0
- zerochat_runtime/assets/js/ui-telemetry.js +404 -0
- zerochat_runtime/assets/js/ui-transfer.js +262 -0
- zerochat_runtime/assets/js/utils.js +216 -0
- zerochat_runtime/assets/js/vendor/orama.browser.js +11 -0
- zerochat_runtime/assets/js/web-browser.js +569 -0
- zerochat_runtime/assets/js/web-search.js +519 -0
- zerochat_runtime/assets/manifest.webmanifest +20 -0
- zerochat_runtime/assets/services/dummy_mcp/dummy_mcp_server.py +47 -0
- zerochat_runtime/assets/services/dummy_mcp/service.json +22 -0
- zerochat_runtime/assets/services/lsp/installer.json +9 -0
- zerochat_runtime/assets/services/lsp/service.json +22 -0
- zerochat_runtime/assets/services/memory/installer.json +9 -0
- zerochat_runtime/assets/services/memory/service.json +24 -0
- zerochat_runtime/assets/services/playwright/installer.json +10 -0
- zerochat_runtime/assets/services/playwright/service.json +39 -0
- zerochat_runtime/assets/sw.js +164 -0
- zerochat_runtime/assets/zerochat.html +671 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Recursos estáticos distribuidos con el ejecutable ZeroChat."""
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
ZeroChat Base Styles - Reseteo, Normalización, Animaciones y Accesibilidad
|
|
3
|
+
========================================================================== */
|
|
4
|
+
* {
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
margin: 0;
|
|
7
|
+
padding: 0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
img {
|
|
11
|
+
max-width: 100%;
|
|
12
|
+
height: auto;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
html, body {
|
|
16
|
+
height: 100%;
|
|
17
|
+
height: 100dvh;
|
|
18
|
+
height: var(--app-height, 100dvh);
|
|
19
|
+
min-height: -webkit-fill-available;
|
|
20
|
+
font-family: var(--font-sans);
|
|
21
|
+
background-color: var(--bg-app);
|
|
22
|
+
color: var(--text-main);
|
|
23
|
+
line-height: 1.5;
|
|
24
|
+
-webkit-font-smoothing: antialiased;
|
|
25
|
+
-moz-osx-font-smoothing: grayscale;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
body {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: row;
|
|
31
|
+
height: 100%;
|
|
32
|
+
height: 100dvh;
|
|
33
|
+
height: var(--app-height, 100dvh);
|
|
34
|
+
width: 100%;
|
|
35
|
+
width: 100vw;
|
|
36
|
+
overflow: hidden;
|
|
37
|
+
position: relative;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* ==========================================================================
|
|
41
|
+
Accesibilidad de Foco (WCAG 2.1 AA)
|
|
42
|
+
========================================================================== */
|
|
43
|
+
:focus-visible {
|
|
44
|
+
outline: 2px solid var(--primary);
|
|
45
|
+
outline-offset: 2px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
button:focus-visible,
|
|
49
|
+
a:focus-visible,
|
|
50
|
+
summary:focus-visible {
|
|
51
|
+
outline: 2px solid var(--primary);
|
|
52
|
+
outline-offset: 2px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
input:focus,
|
|
56
|
+
input:focus-visible,
|
|
57
|
+
textarea:focus,
|
|
58
|
+
textarea:focus-visible,
|
|
59
|
+
select:focus,
|
|
60
|
+
select:focus-visible {
|
|
61
|
+
outline: none;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.chat-textarea,
|
|
65
|
+
.chat-textarea:focus,
|
|
66
|
+
.chat-textarea:focus-visible {
|
|
67
|
+
outline: none !important;
|
|
68
|
+
box-shadow: none !important;
|
|
69
|
+
border: none !important;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/* ==========================================================================
|
|
73
|
+
Barras de Desplazamiento (Scrollbars) Sutiles
|
|
74
|
+
========================================================================== */
|
|
75
|
+
::-webkit-scrollbar {
|
|
76
|
+
width: 6px;
|
|
77
|
+
height: 6px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
::-webkit-scrollbar-track {
|
|
81
|
+
background: transparent;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
::-webkit-scrollbar-thumb {
|
|
85
|
+
background: var(--scrollbar-thumb);
|
|
86
|
+
border-radius: var(--radius-full);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
::-webkit-scrollbar-thumb:hover {
|
|
90
|
+
background: var(--scrollbar-thumb-hover);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* ==========================================================================
|
|
94
|
+
Animaciones del Sistema
|
|
95
|
+
========================================================================== */
|
|
96
|
+
@keyframes spin {
|
|
97
|
+
from { transform: rotate(0deg); }
|
|
98
|
+
to { transform: rotate(360deg); }
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* slideUpFadeIn: solo se aplica a mensajes nuevos via .is-new-message (nunca al historial) */
|
|
102
|
+
@keyframes slideUpFadeIn {
|
|
103
|
+
from { opacity: 0; translate: 0 6px; }
|
|
104
|
+
to { opacity: 1; translate: 0 0; }
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* typingBounce: para el indicador de escritura del asistente */
|
|
108
|
+
@keyframes typingBounce {
|
|
109
|
+
0%, 80%, 100% { transform: scale(1); opacity: 0.4; }
|
|
110
|
+
40% { transform: scale(1.3); opacity: 1; }
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* pulseStop: mantener para btn-stop-stream */
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
/* La interfaz responde inmediatamente: no se aplican animaciones ni transiciones. */
|
|
117
|
+
*,
|
|
118
|
+
*::before,
|
|
119
|
+
*::after {
|
|
120
|
+
animation: none !important;
|
|
121
|
+
transition: none !important;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/* ==========================================================================
|
|
125
|
+
Utilidades de Accesibilidad (WCAG 2.1 AA)
|
|
126
|
+
========================================================================== */
|
|
127
|
+
.sr-only {
|
|
128
|
+
position: absolute;
|
|
129
|
+
width: 1px;
|
|
130
|
+
height: 1px;
|
|
131
|
+
padding: 0;
|
|
132
|
+
margin: -1px;
|
|
133
|
+
overflow: hidden;
|
|
134
|
+
clip: rect(0, 0, 0, 0);
|
|
135
|
+
white-space: nowrap;
|
|
136
|
+
border-width: 0;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* ==========================================================================
|
|
140
|
+
Fundación UI y Consolidación de Clases Base
|
|
141
|
+
========================================================================== */
|
|
142
|
+
.btn-primary,
|
|
143
|
+
.btn-secondary,
|
|
144
|
+
.btn-close,
|
|
145
|
+
.btn-attach,
|
|
146
|
+
.btn-send,
|
|
147
|
+
.btn-stop-stream,
|
|
148
|
+
.btn-reasoning,
|
|
149
|
+
.btn-query-server,
|
|
150
|
+
.btn-profile-action,
|
|
151
|
+
.btn-mcp-action,
|
|
152
|
+
.btn-debug-action,
|
|
153
|
+
.btn-danger-outline,
|
|
154
|
+
.modal-btn-action,
|
|
155
|
+
.modal-btn-close,
|
|
156
|
+
.export-card-btn {
|
|
157
|
+
font-family: inherit;
|
|
158
|
+
cursor: pointer;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.btn-primary,
|
|
162
|
+
.btn-secondary,
|
|
163
|
+
.btn-close,
|
|
164
|
+
.btn-query-server,
|
|
165
|
+
.btn-profile-action,
|
|
166
|
+
.btn-mcp-action,
|
|
167
|
+
.btn-danger-outline {
|
|
168
|
+
display: inline-flex;
|
|
169
|
+
align-items: center;
|
|
170
|
+
justify-content: center;
|
|
171
|
+
border-radius: var(--radius-md);
|
|
172
|
+
font-weight: 500;
|
|
173
|
+
transition: all 0.15s ease;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.chat-chart-card,
|
|
177
|
+
.inspector-intro-card,
|
|
178
|
+
.setting-toggle-card,
|
|
179
|
+
.connection-active-card,
|
|
180
|
+
.rag-branch-details-card,
|
|
181
|
+
.rag-active-tip-card,
|
|
182
|
+
.mcp-status-card,
|
|
183
|
+
.mcp-config-card,
|
|
184
|
+
.mcp-instructions-card,
|
|
185
|
+
.mcp-tool-card {
|
|
186
|
+
background-color: var(--bg-surface);
|
|
187
|
+
border: 1px solid var(--border-color);
|
|
188
|
+
border-radius: var(--radius-md);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.chat-chart-card,
|
|
192
|
+
.inspector-intro-card,
|
|
193
|
+
.mcp-status-card,
|
|
194
|
+
.mcp-config-card,
|
|
195
|
+
.mcp-instructions-card {
|
|
196
|
+
border-radius: var(--radius-lg);
|
|
197
|
+
padding: 1rem;
|
|
198
|
+
box-shadow: var(--shadow-sm);
|
|
199
|
+
}
|