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.
Files changed (130) hide show
  1. zerochat-7.3.0.dist-info/METADATA +70 -0
  2. zerochat-7.3.0.dist-info/RECORD +130 -0
  3. zerochat-7.3.0.dist-info/WHEEL +5 -0
  4. zerochat-7.3.0.dist-info/entry_points.txt +2 -0
  5. zerochat-7.3.0.dist-info/licenses/LICENSE +34 -0
  6. zerochat-7.3.0.dist-info/top_level.txt +2 -0
  7. zerochat.py +2004 -0
  8. zerochat_runtime/__init__.py +1 -0
  9. zerochat_runtime/assets/css/base.css +199 -0
  10. zerochat_runtime/assets/css/components/composer.css +1258 -0
  11. zerochat_runtime/assets/css/components/debug.css +777 -0
  12. zerochat_runtime/assets/css/components/header.css +97 -0
  13. zerochat_runtime/assets/css/components/icons.css +39 -0
  14. zerochat_runtime/assets/css/components/markdown.css +685 -0
  15. zerochat_runtime/assets/css/components/messages.css +473 -0
  16. zerochat_runtime/assets/css/components/modals.css +1319 -0
  17. zerochat_runtime/assets/css/components/sidebar.css +622 -0
  18. zerochat_runtime/assets/css/components/tools.css +1223 -0
  19. zerochat_runtime/assets/css/layout.css +171 -0
  20. zerochat_runtime/assets/css/print.css +120 -0
  21. zerochat_runtime/assets/css/styles.css +18 -0
  22. zerochat_runtime/assets/css/theme-overrides.css +555 -0
  23. zerochat_runtime/assets/css/tokens.css +165 -0
  24. zerochat_runtime/assets/help/architecture.html +247 -0
  25. zerochat_runtime/assets/help/composer.html +134 -0
  26. zerochat_runtime/assets/help/conversations.html +105 -0
  27. zerochat_runtime/assets/help/debug.html +108 -0
  28. zerochat_runtime/assets/help/en/architecture.html +247 -0
  29. zerochat_runtime/assets/help/en/composer.html +134 -0
  30. zerochat_runtime/assets/help/en/conversations.html +104 -0
  31. zerochat_runtime/assets/help/en/debug.html +105 -0
  32. zerochat_runtime/assets/help/en/gemini-free.html +39 -0
  33. zerochat_runtime/assets/help/en/index.html +191 -0
  34. zerochat_runtime/assets/help/en/learning.html +71 -0
  35. zerochat_runtime/assets/help/en/mcp.html +143 -0
  36. zerochat_runtime/assets/help/en/openrouter-free.html +39 -0
  37. zerochat_runtime/assets/help/en/profiles.html +173 -0
  38. zerochat_runtime/assets/help/en/rag.html +130 -0
  39. zerochat_runtime/assets/help/en/reasoning-telemetry.html +108 -0
  40. zerochat_runtime/assets/help/en/tools-agent.html +133 -0
  41. zerochat_runtime/assets/help/en/webllm.html +355 -0
  42. zerochat_runtime/assets/help/gemini-free.html +39 -0
  43. zerochat_runtime/assets/help/help.css +604 -0
  44. zerochat_runtime/assets/help/help.js +51 -0
  45. zerochat_runtime/assets/help/index.html +194 -0
  46. zerochat_runtime/assets/help/learning.html +71 -0
  47. zerochat_runtime/assets/help/mcp.html +143 -0
  48. zerochat_runtime/assets/help/openrouter-free.html +39 -0
  49. zerochat_runtime/assets/help/profiles.html +174 -0
  50. zerochat_runtime/assets/help/rag.html +130 -0
  51. zerochat_runtime/assets/help/reasoning-telemetry.html +111 -0
  52. zerochat_runtime/assets/help/tools-agent.html +133 -0
  53. zerochat_runtime/assets/help/webllm.html +359 -0
  54. zerochat_runtime/assets/js/agent-core.js +1553 -0
  55. zerochat_runtime/assets/js/api.js +844 -0
  56. zerochat_runtime/assets/js/app.js +2558 -0
  57. zerochat_runtime/assets/js/attachments.js +220 -0
  58. zerochat_runtime/assets/js/charts.js +338 -0
  59. zerochat_runtime/assets/js/chat-engine.js +566 -0
  60. zerochat_runtime/assets/js/config-store.js +207 -0
  61. zerochat_runtime/assets/js/context-manager.js +584 -0
  62. zerochat_runtime/assets/js/conversation-service.js +484 -0
  63. zerochat_runtime/assets/js/cookies.js +688 -0
  64. zerochat_runtime/assets/js/data-reset-service.js +136 -0
  65. zerochat_runtime/assets/js/debug.js +508 -0
  66. zerochat_runtime/assets/js/defaults.js +16 -0
  67. zerochat_runtime/assets/js/export.js +179 -0
  68. zerochat_runtime/assets/js/file-parser.js +2088 -0
  69. zerochat_runtime/assets/js/generation-controller.js +417 -0
  70. zerochat_runtime/assets/js/i18n.js +1483 -0
  71. zerochat_runtime/assets/js/icons.js +156 -0
  72. zerochat_runtime/assets/js/ingestionEngine.js +436 -0
  73. zerochat_runtime/assets/js/markdown.js +588 -0
  74. zerochat_runtime/assets/js/mcp.js +1271 -0
  75. zerochat_runtime/assets/js/message-turns.js +62 -0
  76. zerochat_runtime/assets/js/profile-backup.js +118 -0
  77. zerochat_runtime/assets/js/profile-export-bundle.js +481 -0
  78. zerochat_runtime/assets/js/profile-repository.js +213 -0
  79. zerochat_runtime/assets/js/providers-webllm.js +486 -0
  80. zerochat_runtime/assets/js/providers.js +1560 -0
  81. zerochat_runtime/assets/js/rag-index.js +295 -0
  82. zerochat_runtime/assets/js/rag-service.js +530 -0
  83. zerochat_runtime/assets/js/rag-ui.js +997 -0
  84. zerochat_runtime/assets/js/ragStorage.js +676 -0
  85. zerochat_runtime/assets/js/sandbox.js +449 -0
  86. zerochat_runtime/assets/js/state.js +704 -0
  87. zerochat_runtime/assets/js/storage-db.js +144 -0
  88. zerochat_runtime/assets/js/tool-cards.js +330 -0
  89. zerochat_runtime/assets/js/tool-security.js +653 -0
  90. zerochat_runtime/assets/js/tools/README.md +50 -0
  91. zerochat_runtime/assets/js/tools/builtin/agent-checkpoint.tool.js +212 -0
  92. zerochat_runtime/assets/js/tools/builtin/download-pdf.tool.js +111 -0
  93. zerochat_runtime/assets/js/tools/builtin/execute-javascript.tool.js +219 -0
  94. zerochat_runtime/assets/js/tools/builtin/fetch-web-page.tool.js +112 -0
  95. zerochat_runtime/assets/js/tools/builtin/list-documents.tool.js +117 -0
  96. zerochat_runtime/assets/js/tools/builtin/read-knowledge-chunk.tool.js +129 -0
  97. zerochat_runtime/assets/js/tools/builtin/read-knowledge-image.tool.js +95 -0
  98. zerochat_runtime/assets/js/tools/builtin/render-chart.tool.js +90 -0
  99. zerochat_runtime/assets/js/tools/builtin/search-knowledge-base.tool.js +124 -0
  100. zerochat_runtime/assets/js/tools/builtin/search-web.tool.js +125 -0
  101. zerochat_runtime/assets/js/tools/tool-manifest.js +53 -0
  102. zerochat_runtime/assets/js/tools/tool-runtime.js +77 -0
  103. zerochat_runtime/assets/js/ui-composer.js +319 -0
  104. zerochat_runtime/assets/js/ui-conversation.js +655 -0
  105. zerochat_runtime/assets/js/ui-dialogs.js +132 -0
  106. zerochat_runtime/assets/js/ui-generation-status.js +119 -0
  107. zerochat_runtime/assets/js/ui-inspector.js +804 -0
  108. zerochat_runtime/assets/js/ui-mcp.js +604 -0
  109. zerochat_runtime/assets/js/ui-profiles.js +824 -0
  110. zerochat_runtime/assets/js/ui-reasoning.js +146 -0
  111. zerochat_runtime/assets/js/ui-settings.js +825 -0
  112. zerochat_runtime/assets/js/ui-shell.js +215 -0
  113. zerochat_runtime/assets/js/ui-sidebar.js +429 -0
  114. zerochat_runtime/assets/js/ui-telemetry.js +404 -0
  115. zerochat_runtime/assets/js/ui-transfer.js +262 -0
  116. zerochat_runtime/assets/js/utils.js +216 -0
  117. zerochat_runtime/assets/js/vendor/orama.browser.js +11 -0
  118. zerochat_runtime/assets/js/web-browser.js +569 -0
  119. zerochat_runtime/assets/js/web-search.js +519 -0
  120. zerochat_runtime/assets/manifest.webmanifest +20 -0
  121. zerochat_runtime/assets/services/dummy_mcp/dummy_mcp_server.py +47 -0
  122. zerochat_runtime/assets/services/dummy_mcp/service.json +22 -0
  123. zerochat_runtime/assets/services/lsp/installer.json +9 -0
  124. zerochat_runtime/assets/services/lsp/service.json +22 -0
  125. zerochat_runtime/assets/services/memory/installer.json +9 -0
  126. zerochat_runtime/assets/services/memory/service.json +24 -0
  127. zerochat_runtime/assets/services/playwright/installer.json +10 -0
  128. zerochat_runtime/assets/services/playwright/service.json +39 -0
  129. zerochat_runtime/assets/sw.js +164 -0
  130. zerochat_runtime/assets/zerochat.html +671 -0
@@ -0,0 +1,171 @@
1
+ /* ==========================================================================
2
+ Contenedor Principal del Chat (Usa el 100% del alto disponible)
3
+ ========================================================================== */
4
+ .chat-container {
5
+ flex: 1 1 0%;
6
+ min-height: 0;
7
+ min-width: 0;
8
+ display: flex;
9
+ flex-direction: column;
10
+ width: 100%;
11
+ max-width: 100%;
12
+ margin: 0;
13
+ height: 100%;
14
+ max-height: 100%;
15
+ position: relative;
16
+ padding: 0;
17
+ background-color: var(--bg-app);
18
+ }
19
+
20
+ .messages-list {
21
+ flex: 1 1 0%;
22
+ min-height: 0;
23
+ min-width: 0;
24
+ height: 100%;
25
+ overflow-y: auto;
26
+ overflow-x: hidden;
27
+ -webkit-overflow-scrolling: touch;
28
+ padding: 0.5rem 1rem 1rem 1rem;
29
+ display: flex;
30
+ flex-direction: column;
31
+ gap: 0.75rem;
32
+ scroll-behavior: smooth;
33
+ width: 100%;
34
+ max-width: 100%;
35
+ }
36
+
37
+ /* Estado de Bienvenida */
38
+ .welcome-banner {
39
+ display: flex;
40
+ flex-direction: column;
41
+ align-items: center;
42
+ margin: auto auto;
43
+ text-align: center;
44
+ padding: 3rem 1.5rem;
45
+ max-width: var(--max-content-width, 68rem);
46
+ width: 100%;
47
+ align-self: center;
48
+ animation: fadeIn 0.3s ease-out;
49
+ }
50
+
51
+ .welcome-icon {
52
+ width: 60px;
53
+ height: 60px;
54
+ margin: 0 auto 1.25rem auto;
55
+ display: flex;
56
+ align-items: center;
57
+ justify-content: center;
58
+ background: linear-gradient(135deg, var(--primary-light), var(--bg-surface));
59
+ color: var(--primary);
60
+ border-radius: var(--radius-lg);
61
+ border: 1px solid var(--border-color);
62
+ box-shadow: var(--shadow-sm);
63
+ }
64
+
65
+ .welcome-banner h2 {
66
+ font-size: 1.75rem;
67
+ font-weight: 700;
68
+ letter-spacing: -0.025em;
69
+ margin-bottom: 0.35rem;
70
+ color: var(--text-main);
71
+ }
72
+
73
+ .welcome-desc {
74
+ color: var(--text-muted);
75
+ font-size: 0.95rem;
76
+ line-height: 1.5;
77
+ margin-bottom: 1.5rem;
78
+ }
79
+
80
+ .welcome-status-badge {
81
+ display: inline-flex;
82
+ align-items: center;
83
+ justify-content: center;
84
+ gap: 0.5rem;
85
+ padding: 0.45rem 1rem;
86
+ background-color: var(--bg-surface);
87
+ border: 1px solid var(--border-color);
88
+ border-radius: 9999px;
89
+ font-size: 0.825rem;
90
+ font-weight: 500;
91
+ color: var(--text-muted);
92
+ box-shadow: var(--shadow-sm);
93
+ }
94
+
95
+ .welcome-help-link {
96
+ display: inline-flex;
97
+ align-items: center;
98
+ justify-content: center;
99
+ gap: 0.5rem;
100
+ width: fit-content;
101
+ margin: 0.75rem auto 0;
102
+ cursor: pointer;
103
+ text-decoration: none;
104
+ color: var(--text-muted);
105
+ transition: all 0.2s ease;
106
+ }
107
+
108
+ .welcome-help-link:hover {
109
+ color: var(--primary);
110
+ border-color: var(--primary);
111
+ background-color: var(--primary-light);
112
+ }
113
+
114
+ .execution-info-body {
115
+ display: grid;
116
+ gap: 0.85rem;
117
+ }
118
+
119
+ .execution-info-body p {
120
+ margin: 0;
121
+ line-height: 1.5;
122
+ }
123
+
124
+ .execution-info-dialog [hidden] {
125
+ display: none;
126
+ }
127
+
128
+ .status-dot {
129
+ width: 7px;
130
+ height: 7px;
131
+ border-radius: 50%;
132
+ background-color: var(--success);
133
+ display: inline-block;
134
+ box-shadow: 0 0 6px var(--success);
135
+ }
136
+
137
+
138
+
139
+ /* ==========================================================================
140
+ Responsive
141
+ ========================================================================== */
142
+ @media (max-width: 640px) {
143
+
144
+
145
+
146
+
147
+ .messages-list {
148
+ padding: 0.5rem;
149
+ }
150
+
151
+ .message-content-wrapper {
152
+ max-width: 100%;
153
+ }
154
+
155
+ .message-content {
156
+ padding: 0.75rem 0.9rem;
157
+ }
158
+
159
+ .modal-footer {
160
+ flex-direction: column-reverse;
161
+ align-items: stretch;
162
+ gap: 0.75rem;
163
+ }
164
+
165
+ .footer-actions-left,
166
+ .footer-actions-right {
167
+ display: flex;
168
+ flex-direction: column;
169
+ gap: 0.5rem;
170
+ }
171
+ }
@@ -0,0 +1,120 @@
1
+ /* ==========================================================================
2
+ Estilos de Impresión (@media print)
3
+ ========================================================================== */
4
+ @media print {
5
+ @page {
6
+ margin: 1.5cm;
7
+ size: auto;
8
+ }
9
+
10
+ html, body {
11
+ height: auto !important;
12
+ min-height: 0 !important;
13
+ overflow: visible !important;
14
+ overflow-x: visible !important;
15
+ overflow-y: visible !important;
16
+ background: #ffffff !important;
17
+ color: #000000 !important;
18
+ position: static !important;
19
+ width: 100% !important;
20
+ display: block !important;
21
+ }
22
+
23
+ .chat-sidebar,
24
+ .debug-panel,
25
+ .app-header,
26
+ .chat-input-wrapper,
27
+ .message-actions,
28
+ .btn-msg-action,
29
+ .welcome-banner,
30
+ dialog {
31
+ display: none !important;
32
+ }
33
+
34
+ .chat-container {
35
+ height: auto !important;
36
+ min-height: 0 !important;
37
+ max-height: none !important;
38
+ overflow: visible !important;
39
+ padding: 0 !important;
40
+ margin: 0 !important;
41
+ max-width: 100% !important;
42
+ width: 100% !important;
43
+ display: block !important;
44
+ position: static !important;
45
+ }
46
+
47
+ .messages-list {
48
+ height: auto !important;
49
+ min-height: 0 !important;
50
+ max-height: none !important;
51
+ overflow: visible !important;
52
+ overflow-y: visible !important;
53
+ padding: 0 !important;
54
+ margin: 0 !important;
55
+ display: block !important;
56
+ gap: 0 !important;
57
+ }
58
+
59
+ .message-wrapper {
60
+ display: block !important;
61
+ width: 100% !important;
62
+ margin-bottom: 1.5rem !important;
63
+ page-break-inside: avoid;
64
+ break-inside: avoid;
65
+ animation: none !important;
66
+ }
67
+
68
+ .message-row {
69
+ display: block !important;
70
+ width: 100% !important;
71
+ }
72
+
73
+ .message-content-wrapper {
74
+ display: block !important;
75
+ width: 100% !important;
76
+ max-width: 100% !important;
77
+ }
78
+
79
+ .message-content {
80
+ width: 100% !important;
81
+ max-width: 100% !important;
82
+ display: block !important;
83
+ box-shadow: none !important;
84
+ border: 1px solid #e2e8f0 !important;
85
+ background-color: #f8fafc !important;
86
+ color: #0f172a !important;
87
+ border-radius: 6px !important;
88
+ padding: 0.8rem 1rem !important;
89
+ page-break-inside: auto;
90
+ break-inside: auto;
91
+ }
92
+
93
+ .message-row.user .message-content {
94
+ background-color: #f1f5f9 !important;
95
+ color: #0f172a !important;
96
+ border-left: 4px solid #3b82f6 !important;
97
+ }
98
+
99
+ .message-row.assistant .message-content {
100
+ background-color: #ffffff !important;
101
+ color: #0f172a !important;
102
+ border-left: 4px solid #10b981 !important;
103
+ }
104
+
105
+ .message-footer-row {
106
+ display: none !important;
107
+ }
108
+
109
+ pre, code {
110
+ white-space: pre-wrap !important;
111
+ word-break: break-word !important;
112
+ page-break-inside: avoid;
113
+ break-inside: avoid;
114
+ }
115
+
116
+ table {
117
+ page-break-inside: avoid;
118
+ break-inside: avoid;
119
+ }
120
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * ZeroChat Professional Modular Stylesheet
3
+ * Índice maestro para desarrollo y compatibilidad
4
+ */
5
+ @import "tokens.css";
6
+ @import "base.css";
7
+ @import "layout.css";
8
+ @import "components/icons.css";
9
+ @import "components/header.css";
10
+ @import "components/sidebar.css";
11
+ @import "components/messages.css";
12
+ @import "components/markdown.css";
13
+ @import "components/composer.css";
14
+ @import "components/modals.css";
15
+ @import "components/tools.css";
16
+ @import "components/debug.css";
17
+ @import "theme-overrides.css";
18
+ @import "print.css";