@vibedeckx/linux-x64 0.3.37 → 0.3.38

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 (2) hide show
  1. package/dist/bin.js +5 -3
  2. package/package.json +1 -1
package/dist/bin.js CHANGED
@@ -154483,6 +154483,7 @@ var DB_PATH = path.join(VIBEDECKX_HOME, "data.sqlite");
154483
154483
  var DEFAULT_PORT = 5173;
154484
154484
  var MIN_WORKER_VERSION = "0.0.0";
154485
154485
  var WORKER_VERSION_REPORTING_SINCE = "2026-08-03";
154486
+ var TUNNEL_MAX_FRAME_BYTES = 32 * 1024 * 1024;
154486
154487
 
154487
154488
  // src/load-env.ts
154488
154489
  function getArg(argv, name25) {
@@ -249663,7 +249664,8 @@ import { chmod as chmod2, mkdir as mkdir6, open as open3 } from "node:fs/promise
249663
249664
  import { constants as fsConstants3 } from "node:fs";
249664
249665
  import path16 from "node:path";
249665
249666
  import { randomUUID as randomUUID16 } from "node:crypto";
249666
- var MAX_ATTACHMENT_BYTES = 8 * 1024 * 1024;
249667
+ var MAX_ATTACHMENT_BYTES = 20 * 1024 * 1024;
249668
+ var ATTACHMENT_BODY_LIMIT = Math.ceil(MAX_ATTACHMENT_BYTES * 4 / 3) + 1024 * 1024;
249667
249669
  var DIR_MODE2 = 448;
249668
249670
  var FILE_MODE2 = 384;
249669
249671
  var FILE_FLAGS2 = fsConstants3.O_WRONLY | fsConstants3.O_CREAT | fsConstants3.O_EXCL | fsConstants3.O_NOFOLLOW;
@@ -251454,7 +251456,7 @@ var routes11 = async (fastify2) => {
251454
251456
  return reply.code(500).send({ error: `Failed to write paste: ${msg}` });
251455
251457
  }
251456
251458
  });
251457
- fastify2.post("/api/agent-sessions/:sessionId/attachment", { bodyLimit: 12 * 1024 * 1024 }, async (req, reply) => {
251459
+ fastify2.post("/api/agent-sessions/:sessionId/attachment", { bodyLimit: ATTACHMENT_BODY_LIMIT }, async (req, reply) => {
251458
251460
  const { name: name25, mediaType, contentBase64 } = req.body ?? {};
251459
251461
  if (typeof name25 !== "string" || name25.length === 0) {
251460
251462
  return reply.code(400).send({ error: "name must be a non-empty string" });
@@ -264311,7 +264313,7 @@ var ReverseConnectClient = class {
264311
264313
  this.dialStartedAt = Date.now();
264312
264314
  this.closingSince = 0;
264313
264315
  const ws = new wrapper_default(connectUrl, {
264314
- maxPayload: 11 * 1024 * 1024,
264316
+ maxPayload: TUNNEL_MAX_FRAME_BYTES,
264315
264317
  handshakeTimeout: HANDSHAKE_TIMEOUT_MS
264316
264318
  });
264317
264319
  this.ws = ws;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibedeckx/linux-x64",
3
- "version": "0.3.37",
3
+ "version": "0.3.38",
4
4
  "description": "Vibedeckx platform binaries for Linux x64",
5
5
  "os": [
6
6
  "linux"