thinkpool-pair 0.7.146 → 0.7.147
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/bridge.mjs +1 -1
- package/package.json +1 -1
package/bridge.mjs
CHANGED
|
@@ -534,7 +534,7 @@ function readBranch() {
|
|
|
534
534
|
// announced `updir` without waiting on this round-trip. Spec:
|
|
535
535
|
// docs/specs/2026-06-11-code-file-drop.md
|
|
536
536
|
const UPDIR = path.join(os.tmpdir(), 'thinkpool-pair', room)
|
|
537
|
-
const FILE_MAX_BYTES =
|
|
537
|
+
const FILE_MAX_BYTES = 25 * 1024 * 1024 // must match web FILE_MB + bucket file_size_limit (25 MB) — see src/pages/code/code-constants.js
|
|
538
538
|
const safeName = (n) => String(n || 'file').replace(/[^a-zA-Z0-9._-]/g, '_').slice(-80)
|
|
539
539
|
|
|
540
540
|
const supabase = createClient(SUPABASE_URL, SUPABASE_ANON, {
|