@remnic/core 9.3.763 → 9.3.764

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 (57) hide show
  1. package/dist/access-admin-ops-surface.d.ts +2 -2
  2. package/dist/access-admin-ops-surface.js +1 -1
  3. package/dist/access-boundary.d.ts +2 -2
  4. package/dist/access-boundary.js +2 -2
  5. package/dist/access-cli.js +8 -8
  6. package/dist/access-http.d.ts +2 -2
  7. package/dist/access-http.js +6 -6
  8. package/dist/access-identity-continuity-surface.d.ts +1 -1
  9. package/dist/access-identity-continuity-surface.js +1 -1
  10. package/dist/access-lcm-surface.d.ts +2 -2
  11. package/dist/access-lcm-surface.js +1 -1
  12. package/dist/access-mcp.d.ts +2 -2
  13. package/dist/access-mcp.js +5 -5
  14. package/dist/access-observe-write-surface.d.ts +2 -2
  15. package/dist/access-observe-write-surface.js +1 -1
  16. package/dist/access-operations-batch.js +3 -3
  17. package/dist/access-operations.d.ts +2 -2
  18. package/dist/access-operations.js +4 -4
  19. package/dist/access-recall-surface.d.ts +2 -2
  20. package/dist/access-recall-surface.js +1 -1
  21. package/dist/{access-service-CaWJP_f6.d.ts → access-service-CAoJ4qN8.d.ts} +1 -1
  22. package/dist/access-service.d.ts +2 -2
  23. package/dist/access-service.js +1 -1
  24. package/dist/access-surface-catalog.d.ts +2 -2
  25. package/dist/bootstrap.d.ts +1 -1
  26. package/dist/{chunk-D6YTILJO.js → chunk-2V6CTSSA.js} +4 -4
  27. package/dist/{chunk-LDCFFJ67.js → chunk-422OELQ3.js} +4 -4
  28. package/dist/{chunk-A4FMQIST.js → chunk-5JF4DIKZ.js} +2 -2
  29. package/dist/{chunk-K4EDULCP.js → chunk-CGLRKKMF.js} +3 -3
  30. package/dist/{chunk-6ZFE2TPO.js → chunk-P6ZZ4GX4.js} +3 -3
  31. package/dist/{chunk-BAF7MBEH.js → chunk-RIOJRLJ6.js} +14 -44
  32. package/dist/chunk-RIOJRLJ6.js.map +1 -0
  33. package/dist/{chunk-6YEENRE3.js → chunk-RJCQPRLB.js} +3 -3
  34. package/dist/{chunk-TIOXQPD7.js → chunk-UQEE4H6Z.js} +8 -8
  35. package/dist/chunk-UQEE4H6Z.js.map +1 -0
  36. package/dist/{cli-CvWpIbMD.d.ts → cli-WRmxvfc_.d.ts} +2 -2
  37. package/dist/cli.d.ts +3 -3
  38. package/dist/cli.js +7 -7
  39. package/dist/explicit-capture.d.ts +1 -1
  40. package/dist/index.d.ts +4 -4
  41. package/dist/index.js +8 -8
  42. package/dist/mcp-memory-inspector-app.d.ts +2 -2
  43. package/dist/{orchestrator-C04Q4Zao.d.ts → orchestrator-Y9wyG4jK.d.ts} +102 -15
  44. package/dist/orchestrator.d.ts +1 -1
  45. package/dist/orchestrator.js +8 -8
  46. package/package.json +2 -2
  47. package/src/access-service.ts +7 -7
  48. package/src/orchestration/recall-introspection.ts +3 -12
  49. package/src/orchestrator.ts +9 -57
  50. package/dist/chunk-BAF7MBEH.js.map +0 -1
  51. package/dist/chunk-TIOXQPD7.js.map +0 -1
  52. /package/dist/{chunk-D6YTILJO.js.map → chunk-2V6CTSSA.js.map} +0 -0
  53. /package/dist/{chunk-LDCFFJ67.js.map → chunk-422OELQ3.js.map} +0 -0
  54. /package/dist/{chunk-A4FMQIST.js.map → chunk-5JF4DIKZ.js.map} +0 -0
  55. /package/dist/{chunk-K4EDULCP.js.map → chunk-CGLRKKMF.js.map} +0 -0
  56. /package/dist/{chunk-6ZFE2TPO.js.map → chunk-P6ZZ4GX4.js.map} +0 -0
  57. /package/dist/{chunk-6YEENRE3.js.map → chunk-RJCQPRLB.js.map} +0 -0
@@ -316,7 +316,7 @@ import {
316
316
  createCorrectionService,
317
317
  detectPassiveCorrections,
318
318
  qmdCollectionPathParts
319
- } from "./chunk-TIOXQPD7.js";
319
+ } from "./chunk-UQEE4H6Z.js";
320
320
  import {
321
321
  importCapsule
322
322
  } from "./chunk-M5QKGHCR.js";
@@ -12211,7 +12211,7 @@ var RecallIntrospectionCoordinator = class {
12211
12211
  }
12212
12212
  }
12213
12213
  async explainLastGraphRecall(options) {
12214
- const snapshot = await this.deps.getLastGraphRecallSnapshot(options?.namespace);
12214
+ const snapshot = await this.getLastGraphRecallSnapshot(options?.namespace);
12215
12215
  if (!snapshot) return "No graph-recall snapshot found yet.";
12216
12216
  const maxExpanded = Math.max(1, Math.min(50, options?.maxExpanded ?? 10));
12217
12217
  const expanded = snapshot.expanded.slice(0, maxExpanded);
@@ -12253,7 +12253,7 @@ var RecallIntrospectionCoordinator = class {
12253
12253
  ].join("\n");
12254
12254
  }
12255
12255
  async explainLastIntent(options) {
12256
- const snapshot = await this.deps.getLastIntentSnapshot(options?.namespace);
12256
+ const snapshot = await this.getLastIntentSnapshot(options?.namespace);
12257
12257
  if (!snapshot) return "No intent-debug snapshot found yet.";
12258
12258
  return [
12259
12259
  "## Last Intent Debug",
@@ -12271,7 +12271,7 @@ var RecallIntrospectionCoordinator = class {
12271
12271
  ].join("\n");
12272
12272
  }
12273
12273
  async explainLastQmdRecall(options) {
12274
- const snapshot = await this.deps.getLastQmdRecallSnapshot(options?.namespace);
12274
+ const snapshot = await this.getLastQmdRecallSnapshot(options?.namespace);
12275
12275
  if (!snapshot) return "No QMD recall snapshot found yet.";
12276
12276
  const maxResults = Math.max(1, Math.min(25, options?.maxResults ?? 10));
12277
12277
  const shown = snapshot.results.slice(0, maxResults);
@@ -15240,7 +15240,7 @@ var Orchestrator = class {
15240
15240
  return this._fastGatewayLlm;
15241
15241
  }
15242
15242
  getConsoleFaithfulnessDistribution() {
15243
- return this.recallIntrospectionCoordinator.getConsoleFaithfulnessDistribution();
15243
+ return this.recallIntrospection.getConsoleFaithfulnessDistribution();
15244
15244
  }
15245
15245
  modelRegistry;
15246
15246
  relevance;
@@ -16409,36 +16409,6 @@ ${doc.content}` : doc.content,
16409
16409
  return false;
16410
16410
  }
16411
16411
  }
16412
- async getLastGraphRecallSnapshot(namespace) {
16413
- return this.recallIntrospectionCoordinator.getLastGraphRecallSnapshot(
16414
- namespace
16415
- );
16416
- }
16417
- async getLastIntentSnapshot(namespace) {
16418
- return this.recallIntrospectionCoordinator.getLastIntentSnapshot(
16419
- namespace
16420
- );
16421
- }
16422
- async getLastQmdRecallSnapshot(namespace) {
16423
- return this.recallIntrospectionCoordinator.getLastQmdRecallSnapshot(
16424
- namespace
16425
- );
16426
- }
16427
- async explainLastGraphRecall(options) {
16428
- return this.recallIntrospectionCoordinator.explainLastGraphRecall(
16429
- options
16430
- );
16431
- }
16432
- async explainLastIntent(options) {
16433
- return this.recallIntrospectionCoordinator.explainLastIntent(
16434
- options
16435
- );
16436
- }
16437
- async explainLastQmdRecall(options) {
16438
- return this.recallIntrospectionCoordinator.explainLastQmdRecall(
16439
- options
16440
- );
16441
- }
16442
16412
  async searchConversationRecallResults(retrievalQuery, topK) {
16443
16413
  return this.conversationIndexCoordinator.search(retrievalQuery, topK);
16444
16414
  }
@@ -16493,12 +16463,12 @@ ${doc.content}` : doc.content,
16493
16463
  this.lastXraySnapshot = null;
16494
16464
  }
16495
16465
  async waitForDirectAnswerObservationIdle(timeoutMs = 6e4) {
16496
- return this.recallIntrospectionCoordinator.waitForDirectAnswerObservationIdle(
16466
+ return this.recallIntrospection.waitForDirectAnswerObservationIdle(
16497
16467
  timeoutMs
16498
16468
  );
16499
16469
  }
16500
16470
  enqueueDirectAnswerObservation(prompt, sessionKey, namespaceOverride, principalOverride, caps, namespacesEnabled) {
16501
- return this.recallIntrospectionCoordinator.enqueueDirectAnswerObservation(
16471
+ return this.recallIntrospection.enqueueDirectAnswerObservation(
16502
16472
  prompt,
16503
16473
  sessionKey,
16504
16474
  namespaceOverride,
@@ -16508,7 +16478,7 @@ ${doc.content}` : doc.content,
16508
16478
  );
16509
16479
  }
16510
16480
  async annotateDirectAnswerTier(prompt, sessionKey, namespaces, expectedIdentity, caps, _parentAbortSignal) {
16511
- return this.recallIntrospectionCoordinator.annotateDirectAnswerTier(
16481
+ return this.recallIntrospection.annotateDirectAnswerTier(
16512
16482
  prompt,
16513
16483
  sessionKey,
16514
16484
  namespaces,
@@ -16590,22 +16560,22 @@ ${doc.content}` : doc.content,
16590
16560
  return this.graphRecallCoordinator.expandResultsViaGraph(options);
16591
16561
  }
16592
16562
  async recordLastGraphRecallSnapshot(options) {
16593
- return this.recallIntrospectionCoordinator.recordLastGraphRecallSnapshot(
16563
+ return this.recallIntrospection.recordLastGraphRecallSnapshot(
16594
16564
  options
16595
16565
  );
16596
16566
  }
16597
16567
  async recordLastIntentSnapshot(options) {
16598
- return this.recallIntrospectionCoordinator.recordLastIntentSnapshot(
16568
+ return this.recallIntrospection.recordLastIntentSnapshot(
16599
16569
  options
16600
16570
  );
16601
16571
  }
16602
16572
  async recordLastQmdRecallSnapshot(options) {
16603
- return this.recallIntrospectionCoordinator.recordLastQmdRecallSnapshot(
16573
+ return this.recallIntrospection.recordLastQmdRecallSnapshot(
16604
16574
  options
16605
16575
  );
16606
16576
  }
16607
16577
  async recordLastIntentSnapshotForNamespace(options) {
16608
- return this.recallIntrospectionCoordinator.recordLastIntentSnapshotForNamespace(
16578
+ return this.recallIntrospection.recordLastIntentSnapshotForNamespace(
16609
16579
  options
16610
16580
  );
16611
16581
  }
@@ -16729,7 +16699,7 @@ ${doc.content}` : doc.content,
16729
16699
  * Lazy + accessor-wired (late-binding rule, seams 18–20).
16730
16700
  */
16731
16701
  _recallIntrospectionCoordinator;
16732
- get recallIntrospectionCoordinator() {
16702
+ get recallIntrospection() {
16733
16703
  if (!this._recallIntrospectionCoordinator) {
16734
16704
  this._recallIntrospectionCoordinator = new RecallIntrospectionCoordinator(
16735
16705
  selfDeps(this)
@@ -22723,4 +22693,4 @@ export {
22723
22693
  blendGraphExpandedRecallScore,
22724
22694
  Orchestrator
22725
22695
  };
22726
- //# sourceMappingURL=chunk-BAF7MBEH.js.map
22696
+ //# sourceMappingURL=chunk-RIOJRLJ6.js.map