@senticor/hive 1.56.4 → 1.56.6

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 (3) hide show
  1. package/chive.cjs +14 -0
  2. package/hive.cjs +5 -5
  3. package/package.json +1 -1
package/chive.cjs CHANGED
@@ -391,6 +391,20 @@ var INGEST_LIMIT_SPEC = {
391
391
  manifestMaxApplicationIds: { env: "HIVE_MANIFEST_MAX_APPLICATION_IDS", default: 1e5, ceiling: 1e5 },
392
392
  /** Max attached documents per application. */
393
393
  maxDocsPerApplication: { env: "HIVE_MAX_DOCS_PER_APPLICATION", default: 50 },
394
+ /**
395
+ * Max decoded bytes for one REST application submit (#242) — the whole
396
+ * dossier travels as one base64 JSON body on
397
+ * POST /api/missions/:missionId/applications, so this is a heap/DoS bound:
398
+ * a ~35 MiB body (25 MiB of PDFs) costs ~65-70 MiB peak heap per request.
399
+ * The submit route sizes its own bodyLimit from this cap (base64 + JSON
400
+ * envelope), the decoded total is enforced on the door (413
401
+ * APPLICATION_TOO_LARGE — L4, an advertised cap is never unenforced), and an
402
+ * env override is clamped to `ceiling` so a typo cannot turn the door into an
403
+ * unbounded body sink (L3). Default 26 MiB: the realistic upper end is 25 MiB
404
+ * of PDFs (same figure as maxIngestFileBytes) plus headroom for the
405
+ * application form and file names.
406
+ */
407
+ maxApplicationBytes: { env: "HIVE_MAX_APPLICATION_BYTES", default: 26 * 1024 * 1024, ceiling: 100 * 1024 * 1024 },
394
408
  // NOTE: a per-jobposting application ceiling is intentionally NOT advertised
395
409
  // here yet — enforcing it needs a durable per-jobposting counter at ingest,
396
410
  // deferred to a follow-up. Advertising an unenforced limit would mislead
package/hive.cjs CHANGED
@@ -10376,22 +10376,22 @@ var artifactName = injectedString(
10376
10376
  true ? "hive-cli" : void 0
10377
10377
  ) || String(process.env.HIVE_CLI_ARTIFACT_NAME || "hive-cli").trim() || "hive-cli";
10378
10378
  var packageVersion = injectedString(
10379
- true ? "1.56.4" : void 0
10379
+ true ? "1.56.6" : void 0
10380
10380
  ) || String(process.env.HIVE_CLI_PACKAGE_VERSION || "").trim() || readPackageVersion();
10381
10381
  var releaseVersion = injectedString(
10382
- true ? "1.56.4" : void 0
10382
+ true ? "1.56.6" : void 0
10383
10383
  ) || String(process.env.HIVE_CLI_RELEASE_VERSION || "").trim() || packageVersion || "dev";
10384
10384
  var releaseChannel = injectedString(
10385
10385
  true ? "final" : void 0
10386
10386
  ) || String(process.env.HIVE_CLI_RELEASE_CHANNEL || "").trim() || (releaseVersion.includes("-rc.") ? "rc" : releaseVersion === "dev" ? "dev" : "final");
10387
10387
  var buildCommit = injectedString(
10388
- true ? "35bf880b5e0f12ae5c544f40d60665026228e617" : void 0
10388
+ true ? "073497b4b00ea31b2afe6c121da4a60ad4e2f6c5" : void 0
10389
10389
  ) || String(process.env.HIVE_CLI_BUILD_COMMIT || "").trim() || "unknown";
10390
10390
  var buildTimestamp = injectedString(
10391
- true ? "2026-10-08T20:23:26Z" : void 0
10391
+ true ? "2026-10-09T12:26:32Z" : void 0
10392
10392
  ) || String(process.env.HIVE_CLI_BUILD_TIMESTAMP || "").trim() || "unknown";
10393
10393
  var ociRef = injectedString(
10394
- true ? "registry.onstackit.cloud/senticor/hive-cli:1.56.4" : void 0
10394
+ true ? "registry.onstackit.cloud/senticor/hive-cli:1.56.6" : void 0
10395
10395
  ) || String(process.env.HIVE_CLI_OCI_REF || "").trim() || `registry.onstackit.cloud/senticor/${artifactName}:${releaseVersion}`;
10396
10396
  var RELEASE_INFO = Object.freeze({
10397
10397
  packageVersion,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@senticor/hive",
3
- "version": "1.56.4",
3
+ "version": "1.56.6",
4
4
  "description": "Cognitive Hive OS — unified CLI",
5
5
  "type": "commonjs",
6
6
  "bin": {