@danhachuel/thunderbolt 0.7.40 → 0.7.43
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/hermes_ui/storage.py +1 -1
- package/package.json +1 -1
- package/scripts/cli.mjs +1 -2
package/hermes_ui/storage.py
CHANGED
|
@@ -856,7 +856,7 @@ def load_blueprint_file(path: Path) -> dict[str, Any]:
|
|
|
856
856
|
def list_prompt_master_files() -> list[Path]:
|
|
857
857
|
"""List only Markdown Prompt Master files stored in the TikTok area."""
|
|
858
858
|
ensure_storage()
|
|
859
|
-
return sorted(TIKTOK_PROMPT_MASTERS.glob("*.md"), key=lambda p: p.
|
|
859
|
+
return sorted(TIKTOK_PROMPT_MASTERS.glob("*.md"), key=lambda p: (p.name.casefold(), p.name))
|
|
860
860
|
|
|
861
861
|
|
|
862
862
|
def load_prompt_master_file(path: Path) -> str:
|
package/package.json
CHANGED
package/scripts/cli.mjs
CHANGED
|
@@ -228,7 +228,6 @@ const dynamicChunkRecoveryScript = `<script data-thunderbolt-recovery="${package
|
|
|
228
228
|
const message = String(event.message || "");
|
|
229
229
|
if (/dynamically imported module|module script failed/i.test(message)) recover();
|
|
230
230
|
});
|
|
231
|
-
window.setTimeout(() => { try { sessionStorage.removeItem(key); } catch (_) {} }, 3500);
|
|
232
231
|
})();
|
|
233
232
|
</script>`;
|
|
234
233
|
|
|
@@ -260,7 +259,7 @@ const proxy = http.createServer((request, response) => {
|
|
|
260
259
|
port: backendPort,
|
|
261
260
|
method: request.method,
|
|
262
261
|
path: `${requestUrl.pathname}${requestUrl.search}`,
|
|
263
|
-
headers: { ...request.headers, host: `127.0.0.1:${backendPort}
|
|
262
|
+
headers: { ...request.headers, host: `127.0.0.1:${backendPort}`, "accept-encoding": "identity" },
|
|
264
263
|
}, (upstreamResponse) => {
|
|
265
264
|
const responseHeaders = { ...upstreamResponse.headers };
|
|
266
265
|
// Streamlit entrega HTML/JS de uma instância local que pode mudar após
|