@senticor/hive 1.96.0 → 1.99.0

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 +15 -11
  2. package/hive.cjs +5 -5
  3. package/package.json +1 -1
package/chive.cjs CHANGED
@@ -33,7 +33,7 @@ var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
33
33
 
34
34
  // src/chive.mts
35
35
  var import_node_fs2 = __toESM(require("fs"), 1);
36
- var import_node_path2 = __toESM(require("path"), 1);
36
+ var import_node_path3 = __toESM(require("path"), 1);
37
37
 
38
38
  // ../hive-kernel-code-context/src/index.ts
39
39
  var src_exports = {};
@@ -359,10 +359,10 @@ __export(graph_builder_exports, {
359
359
  BUILDER_VERSION: () => BUILDER_VERSION,
360
360
  buildGraph: () => buildGraph
361
361
  });
362
- var path4 = __toESM(require("path"), 1);
362
+ var path5 = __toESM(require("path"), 1);
363
363
 
364
364
  // ../hive-utils/dist/index.js
365
- var import_node_crypto3 = require("crypto");
365
+ var import_node_crypto4 = require("crypto");
366
366
 
367
367
  // ../hive-utils/dist/pagination.js
368
368
  var import_node_crypto = require("crypto");
@@ -445,13 +445,17 @@ var INGEST_LIMIT_SPEC = {
445
445
  maxKafkaTlsCaPemBytes: { env: "HIVE_MAX_KAFKA_TLS_CA_PEM_BYTES", default: 64 * 1024, ceiling: 64 * 1024 }
446
446
  };
447
447
 
448
+ // ../hive-utils/dist/masking-watch.js
449
+ var import_node_crypto2 = require("crypto");
450
+ var import_node_path = __toESM(require("path"), 1);
451
+
448
452
  // ../hive-utils/dist/metrics-auth.js
449
453
  var import_node_fs = require("fs");
450
- var import_node_crypto2 = require("crypto");
454
+ var import_node_crypto3 = require("crypto");
451
455
 
452
456
  // ../hive-utils/dist/cgroup-metrics.js
453
457
  var import_promises = require("fs/promises");
454
- var import_node_path = require("path");
458
+ var import_node_path2 = require("path");
455
459
 
456
460
  // ../hive-utils/dist/outbox-claim-ahead.js
457
461
  var OUTBOX_CLAIM_AHEAD_BAND_END = "2000-01-01T00:00:00.000Z";
@@ -459,7 +463,7 @@ var BAND_END_MS = Date.parse(OUTBOX_CLAIM_AHEAD_BAND_END);
459
463
 
460
464
  // ../hive-utils/dist/index.js
461
465
  function sha256Hex(input) {
462
- const h = (0, import_node_crypto3.createHash)("sha256");
466
+ const h = (0, import_node_crypto4.createHash)("sha256");
463
467
  h.update(input);
464
468
  return h.digest("hex");
465
469
  }
@@ -544,7 +548,7 @@ function buildGraph(params) {
544
548
  }
545
549
  }
546
550
  }
547
- const repoName = path4.basename(scan.repositoryRoot).toLowerCase().replace(/[^a-z0-9._-]/g, "-");
551
+ const repoName = path5.basename(scan.repositoryRoot).toLowerCase().replace(/[^a-z0-9._-]/g, "-");
548
552
  const finalGraphId = graphId || `cg.${repoName || "repo"}.v1`;
549
553
  return {
550
554
  schema: "hive.codeGraph.v1",
@@ -575,13 +579,13 @@ __export(context_builder_exports, {
575
579
  buildContextPacket: () => buildContextPacket
576
580
  });
577
581
  var fs4 = __toESM(require("fs"), 1);
578
- var path5 = __toESM(require("path"), 1);
582
+ var path6 = __toESM(require("path"), 1);
579
583
  var APPROX_CHARS_PER_TOKEN = 4;
580
584
  function _matchScope(node, scope) {
581
585
  if (!scope) return false;
582
586
  if (Array.isArray(scope.paths) && node.filePath) {
583
587
  for (const p of scope.paths) {
584
- if (node.filePath === p || node.filePath.startsWith(p + path5.sep) || node.filePath.startsWith(p + "/")) {
588
+ if (node.filePath === p || node.filePath.startsWith(p + path6.sep) || node.filePath.startsWith(p + "/")) {
585
589
  return true;
586
590
  }
587
591
  }
@@ -593,7 +597,7 @@ function _matchScope(node, scope) {
593
597
  }
594
598
  function _readSnippet(absRoot, node) {
595
599
  if (!node.filePath) return null;
596
- const abs = path5.isAbsolute(node.filePath) ? node.filePath : path5.join(absRoot || "", node.filePath);
600
+ const abs = path6.isAbsolute(node.filePath) ? node.filePath : path6.join(absRoot || "", node.filePath);
597
601
  let source;
598
602
  try {
599
603
  source = fs4.readFileSync(abs, "utf8");
@@ -1187,7 +1191,7 @@ function writeResult(obj) {
1187
1191
  const out = stringFlag("out");
1188
1192
  if (out) {
1189
1193
  import_node_fs2.default.writeFileSync(out, json + "\n");
1190
- console.error(`chive: wrote ${import_node_path2.default.resolve(out)}`);
1194
+ console.error(`chive: wrote ${import_node_path3.default.resolve(out)}`);
1191
1195
  } else {
1192
1196
  process.stdout.write(json + "\n");
1193
1197
  }
package/hive.cjs CHANGED
@@ -10429,22 +10429,22 @@ var artifactName = injectedString(
10429
10429
  true ? "hive-cli" : void 0
10430
10430
  ) || String(process.env.HIVE_CLI_ARTIFACT_NAME || "hive-cli").trim() || "hive-cli";
10431
10431
  var packageVersion = injectedString(
10432
- true ? "1.96.0" : void 0
10432
+ true ? "1.99.0" : void 0
10433
10433
  ) || String(process.env.HIVE_CLI_PACKAGE_VERSION || "").trim() || readPackageVersion();
10434
10434
  var releaseVersion = injectedString(
10435
- true ? "1.96.0" : void 0
10435
+ true ? "1.99.0" : void 0
10436
10436
  ) || String(process.env.HIVE_CLI_RELEASE_VERSION || "").trim() || packageVersion || "dev";
10437
10437
  var releaseChannel = injectedString(
10438
10438
  true ? "final" : void 0
10439
10439
  ) || String(process.env.HIVE_CLI_RELEASE_CHANNEL || "").trim() || (releaseVersion.includes("-rc.") ? "rc" : releaseVersion === "dev" ? "dev" : "final");
10440
10440
  var buildCommit = injectedString(
10441
- true ? "20062fc328d6979b495f831ef3822e7eeab8a1e7" : void 0
10441
+ true ? "82a62db7aeb3eab07e04090702257080ce938e4f" : void 0
10442
10442
  ) || String(process.env.HIVE_CLI_BUILD_COMMIT || "").trim() || "unknown";
10443
10443
  var buildTimestamp = injectedString(
10444
- true ? "2026-11-03T09:43:20Z" : void 0
10444
+ true ? "2026-11-03T17:20:58Z" : void 0
10445
10445
  ) || String(process.env.HIVE_CLI_BUILD_TIMESTAMP || "").trim() || "unknown";
10446
10446
  var ociRef = injectedString(
10447
- true ? "registry.onstackit.cloud/senticor/hive-cli:1.96.0" : void 0
10447
+ true ? "registry.onstackit.cloud/senticor/hive-cli:1.99.0" : void 0
10448
10448
  ) || String(process.env.HIVE_CLI_OCI_REF || "").trim() || `registry.onstackit.cloud/senticor/${artifactName}:${releaseVersion}`;
10449
10449
  var RELEASE_INFO = Object.freeze({
10450
10450
  packageVersion,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@senticor/hive",
3
- "version": "1.96.0",
3
+ "version": "1.99.0",
4
4
  "description": "Cognitive Hive OS — unified CLI",
5
5
  "type": "commonjs",
6
6
  "bin": {