@senticor/hive 1.63.0 → 1.64.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 (2) hide show
  1. package/hive.cjs +11 -6
  2. package/package.json +1 -1
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.63.0" : void 0
10379
+ true ? "1.64.0" : void 0
10380
10380
  ) || String(process.env.HIVE_CLI_PACKAGE_VERSION || "").trim() || readPackageVersion();
10381
10381
  var releaseVersion = injectedString(
10382
- true ? "1.63.0" : void 0
10382
+ true ? "1.64.0" : 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 ? "83ca1887a2b90341311268e63a07b257cd6264dd" : void 0
10388
+ true ? "3d760680afa033350cffda43d124abef9bed1c04" : void 0
10389
10389
  ) || String(process.env.HIVE_CLI_BUILD_COMMIT || "").trim() || "unknown";
10390
10390
  var buildTimestamp = injectedString(
10391
- true ? "2026-10-20T13:10:27Z" : void 0
10391
+ true ? "2026-10-20T17:46:52Z" : 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.63.0" : void 0
10394
+ true ? "registry.onstackit.cloud/senticor/hive-cli:1.64.0" : 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,
@@ -28767,11 +28767,13 @@ function missionSummaryPayload(params) {
28767
28767
  let ambiguousHasPart = 0;
28768
28768
  const documentIndex = buildDocumentIndex(documents);
28769
28769
  const referencedDocs = /* @__PURE__ */ new Set();
28770
+ let jobApplications = 0;
28770
28771
  for (const record3 of records) {
28771
28772
  const type = recordType(record3);
28772
28773
  byRecordType[type] = (byRecordType[type] ?? 0) + 1;
28773
28774
  if (!recordHasConnectorOrCase(record3)) directWriteRecords += 1;
28774
28775
  if (type !== "JobApplication") continue;
28776
+ jobApplications += 1;
28775
28777
  const data = recordData(record3);
28776
28778
  const hasPart = asArray(data.hasPart ?? asObject2(record3).hasPart);
28777
28779
  const sourceDocuments = sourceDocumentParts(data);
@@ -28794,7 +28796,8 @@ function missionSummaryPayload(params) {
28794
28796
  if (ambiguous) ambiguousHasPart += 1;
28795
28797
  }
28796
28798
  }
28797
- const orphanDocuments = documents.filter((doc) => !referencedDocs.has(doc)).map((doc) => ({
28799
+ const documentRulesApply = jobApplications > 0;
28800
+ const orphanDocuments = documents.filter((doc) => documentRulesApply && !referencedDocs.has(doc)).map((doc) => ({
28798
28801
  docId: String(asObject2(doc).docId ?? asObject2(doc).documentId ?? asObject2(doc).id ?? ""),
28799
28802
  name: docName(doc),
28800
28803
  storageKey: docStorageKey(doc)
@@ -28820,6 +28823,8 @@ function missionSummaryPayload(params) {
28820
28823
  integrity: {
28821
28824
  ok: complete && jobApplicationsWithEmptyHasPart.length === 0 && unresolvedHasPart.length === 0 && orphanDocuments.length === 0,
28822
28825
  complete,
28826
+ applicable: documentRulesApply,
28827
+ ...documentRulesApply ? {} : { reason: "no JobApplication records: the hasPart and orphan-document rules apply to JobApplication missions only" },
28823
28828
  jobApplicationsWithEmptyHasPart,
28824
28829
  unresolvedHasPart,
28825
28830
  ambiguousHasPart,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@senticor/hive",
3
- "version": "1.63.0",
3
+ "version": "1.64.0",
4
4
  "description": "Cognitive Hive OS — unified CLI",
5
5
  "type": "commonjs",
6
6
  "bin": {