@remnic/core 9.3.763 → 9.3.765
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.
- package/dist/access-admin-ops-surface.d.ts +2 -2
- package/dist/access-admin-ops-surface.js +1 -1
- package/dist/access-boundary.d.ts +2 -2
- package/dist/access-boundary.js +2 -2
- package/dist/access-cli.js +11 -11
- package/dist/access-http.d.ts +2 -2
- package/dist/access-http.js +6 -6
- package/dist/access-identity-continuity-surface.d.ts +1 -1
- package/dist/access-identity-continuity-surface.js +1 -1
- package/dist/access-lcm-surface.d.ts +2 -2
- package/dist/access-lcm-surface.js +1 -1
- package/dist/access-mcp.d.ts +2 -2
- package/dist/access-mcp.js +5 -5
- package/dist/access-observe-write-surface.d.ts +2 -2
- package/dist/access-observe-write-surface.js +1 -1
- package/dist/access-operations-batch.js +3 -3
- package/dist/access-operations.d.ts +6 -6
- package/dist/access-operations.js +4 -4
- package/dist/access-recall-surface.d.ts +2 -2
- package/dist/access-recall-surface.js +1 -1
- package/dist/access-schema.d.ts +68 -68
- package/dist/{access-service-CaWJP_f6.d.ts → access-service-CAoJ4qN8.d.ts} +1 -1
- package/dist/access-service.d.ts +2 -2
- package/dist/access-service.js +1 -1
- package/dist/access-surface-catalog.d.ts +2 -2
- package/dist/active-recall.js +1 -1
- package/dist/bootstrap.d.ts +1 -1
- package/dist/{chunk-LDCFFJ67.js → chunk-422OELQ3.js} +4 -4
- package/dist/{chunk-A4FMQIST.js → chunk-5JF4DIKZ.js} +2 -2
- package/dist/{chunk-K4EDULCP.js → chunk-CGLRKKMF.js} +3 -3
- package/dist/{chunk-6ZFE2TPO.js → chunk-P6ZZ4GX4.js} +3 -3
- package/dist/{chunk-6YEENRE3.js → chunk-RJCQPRLB.js} +3 -3
- package/dist/{chunk-D6YTILJO.js → chunk-SKT66QI5.js} +7 -7
- package/dist/{chunk-2HAG7JOI.js → chunk-T4AWNIXJ.js} +48 -58
- package/dist/chunk-T4AWNIXJ.js.map +1 -0
- package/dist/{chunk-N3QDLE2N.js → chunk-TOF25WKK.js} +2 -2
- package/dist/{chunk-BAF7MBEH.js → chunk-TUXRWLIQ.js} +15 -45
- package/dist/chunk-TUXRWLIQ.js.map +1 -0
- package/dist/{chunk-TIOXQPD7.js → chunk-UQEE4H6Z.js} +8 -8
- package/dist/chunk-UQEE4H6Z.js.map +1 -0
- package/dist/{chunk-4XL3CVII.js → chunk-WRBDUNSW.js} +2 -2
- package/dist/{cli-CvWpIbMD.d.ts → cli-WRmxvfc_.d.ts} +2 -2
- package/dist/cli.d.ts +3 -3
- package/dist/cli.js +10 -10
- package/dist/config.js +1 -1
- package/dist/explicit-capture.d.ts +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +11 -11
- package/dist/mcp-memory-inspector-app.d.ts +2 -2
- package/dist/operator-toolkit.js +2 -2
- package/dist/{orchestrator-C04Q4Zao.d.ts → orchestrator-Y9wyG4jK.d.ts} +102 -15
- package/dist/orchestrator.d.ts +1 -1
- package/dist/orchestrator.js +11 -11
- package/dist/resume-bundles.js +2 -2
- package/dist/schemas.d.ts +84 -84
- package/dist/shared-context/manager.d.ts +8 -8
- package/dist/transfer/types.d.ts +66 -66
- package/package.json +2 -2
- package/src/access-service.ts +7 -7
- package/src/config.ts +5 -261
- package/src/namespaces/scope-profile-config.test.ts +60 -0
- package/src/namespaces/scope-profile-config.ts +243 -0
- package/src/orchestration/recall-introspection.ts +3 -12
- package/src/orchestrator.ts +9 -57
- package/dist/chunk-2HAG7JOI.js.map +0 -1
- package/dist/chunk-BAF7MBEH.js.map +0 -1
- package/dist/chunk-TIOXQPD7.js.map +0 -1
- /package/dist/{chunk-LDCFFJ67.js.map → chunk-422OELQ3.js.map} +0 -0
- /package/dist/{chunk-A4FMQIST.js.map → chunk-5JF4DIKZ.js.map} +0 -0
- /package/dist/{chunk-K4EDULCP.js.map → chunk-CGLRKKMF.js.map} +0 -0
- /package/dist/{chunk-6ZFE2TPO.js.map → chunk-P6ZZ4GX4.js.map} +0 -0
- /package/dist/{chunk-6YEENRE3.js.map → chunk-RJCQPRLB.js.map} +0 -0
- /package/dist/{chunk-D6YTILJO.js.map → chunk-SKT66QI5.js.map} +0 -0
- /package/dist/{chunk-N3QDLE2N.js.map → chunk-TOF25WKK.js.map} +0 -0
- /package/dist/{chunk-4XL3CVII.js.map → chunk-WRBDUNSW.js.map} +0 -0
package/src/orchestrator.ts
CHANGED
|
@@ -611,7 +611,7 @@ export class Orchestrator {
|
|
|
611
611
|
}
|
|
612
612
|
|
|
613
613
|
getConsoleFaithfulnessDistribution(): FaithfulnessGateCounters | undefined {
|
|
614
|
-
return this.
|
|
614
|
+
return this.recallIntrospection.getConsoleFaithfulnessDistribution(
|
|
615
615
|
);
|
|
616
616
|
}
|
|
617
617
|
readonly modelRegistry: ModelRegistry;
|
|
@@ -2158,54 +2158,6 @@ export class Orchestrator {
|
|
|
2158
2158
|
}
|
|
2159
2159
|
}
|
|
2160
2160
|
|
|
2161
|
-
async getLastGraphRecallSnapshot(
|
|
2162
|
-
namespace?: string,
|
|
2163
|
-
): Promise<GraphRecallSnapshot | null> {
|
|
2164
|
-
return this.recallIntrospectionCoordinator.getLastGraphRecallSnapshot(
|
|
2165
|
-
namespace,
|
|
2166
|
-
);
|
|
2167
|
-
}
|
|
2168
|
-
|
|
2169
|
-
async getLastIntentSnapshot(
|
|
2170
|
-
namespace?: string,
|
|
2171
|
-
): Promise<IntentDebugSnapshot | null> {
|
|
2172
|
-
return this.recallIntrospectionCoordinator.getLastIntentSnapshot(
|
|
2173
|
-
namespace,
|
|
2174
|
-
);
|
|
2175
|
-
}
|
|
2176
|
-
|
|
2177
|
-
async getLastQmdRecallSnapshot(
|
|
2178
|
-
namespace?: string,
|
|
2179
|
-
): Promise<QmdRecallSnapshot | null> {
|
|
2180
|
-
return this.recallIntrospectionCoordinator.getLastQmdRecallSnapshot(
|
|
2181
|
-
namespace,
|
|
2182
|
-
);
|
|
2183
|
-
}
|
|
2184
|
-
|
|
2185
|
-
async explainLastGraphRecall(options?: {
|
|
2186
|
-
namespace?: string;
|
|
2187
|
-
maxExpanded?: number;
|
|
2188
|
-
}): Promise<string> {
|
|
2189
|
-
return this.recallIntrospectionCoordinator.explainLastGraphRecall(
|
|
2190
|
-
options,
|
|
2191
|
-
);
|
|
2192
|
-
}
|
|
2193
|
-
|
|
2194
|
-
async explainLastIntent(options?: { namespace?: string }): Promise<string> {
|
|
2195
|
-
return this.recallIntrospectionCoordinator.explainLastIntent(
|
|
2196
|
-
options,
|
|
2197
|
-
);
|
|
2198
|
-
}
|
|
2199
|
-
|
|
2200
|
-
async explainLastQmdRecall(options?: {
|
|
2201
|
-
namespace?: string;
|
|
2202
|
-
maxResults?: number;
|
|
2203
|
-
}): Promise<string> {
|
|
2204
|
-
return this.recallIntrospectionCoordinator.explainLastQmdRecall(
|
|
2205
|
-
options,
|
|
2206
|
-
);
|
|
2207
|
-
}
|
|
2208
|
-
|
|
2209
2161
|
private async searchConversationRecallResults(
|
|
2210
2162
|
retrievalQuery: string,
|
|
2211
2163
|
topK: number,
|
|
@@ -2341,7 +2293,7 @@ export class Orchestrator {
|
|
|
2341
2293
|
async waitForDirectAnswerObservationIdle(
|
|
2342
2294
|
timeoutMs: number = 60_000,
|
|
2343
2295
|
): Promise<boolean> {
|
|
2344
|
-
return this.
|
|
2296
|
+
return this.recallIntrospection.waitForDirectAnswerObservationIdle(
|
|
2345
2297
|
timeoutMs,
|
|
2346
2298
|
);
|
|
2347
2299
|
}
|
|
@@ -2354,7 +2306,7 @@ export class Orchestrator {
|
|
|
2354
2306
|
caps: CapabilitySet,
|
|
2355
2307
|
namespacesEnabled: boolean,
|
|
2356
2308
|
): void {
|
|
2357
|
-
return this.
|
|
2309
|
+
return this.recallIntrospection.enqueueDirectAnswerObservation(
|
|
2358
2310
|
prompt,
|
|
2359
2311
|
sessionKey,
|
|
2360
2312
|
namespaceOverride,
|
|
@@ -2374,7 +2326,7 @@ export class Orchestrator {
|
|
|
2374
2326
|
caps: CapabilitySet,
|
|
2375
2327
|
_parentAbortSignal?: AbortSignal,
|
|
2376
2328
|
): Promise<void> {
|
|
2377
|
-
return this.
|
|
2329
|
+
return this.recallIntrospection.annotateDirectAnswerTier(
|
|
2378
2330
|
prompt,
|
|
2379
2331
|
sessionKey,
|
|
2380
2332
|
namespaces,
|
|
@@ -2540,7 +2492,7 @@ export class Orchestrator {
|
|
|
2540
2492
|
finalResults?: GraphRecallRankedResult[];
|
|
2541
2493
|
shadowComparison?: GraphRecallShadowComparison;
|
|
2542
2494
|
}): Promise<void> {
|
|
2543
|
-
return this.
|
|
2495
|
+
return this.recallIntrospection.recordLastGraphRecallSnapshot(
|
|
2544
2496
|
options,
|
|
2545
2497
|
);
|
|
2546
2498
|
}
|
|
@@ -2548,7 +2500,7 @@ export class Orchestrator {
|
|
|
2548
2500
|
storage: StorageManager;
|
|
2549
2501
|
snapshot: IntentDebugSnapshot;
|
|
2550
2502
|
}): Promise<void> {
|
|
2551
|
-
return this.
|
|
2503
|
+
return this.recallIntrospection.recordLastIntentSnapshot(
|
|
2552
2504
|
options,
|
|
2553
2505
|
);
|
|
2554
2506
|
}
|
|
@@ -2557,7 +2509,7 @@ export class Orchestrator {
|
|
|
2557
2509
|
storage: StorageManager;
|
|
2558
2510
|
snapshot: QmdRecallSnapshot;
|
|
2559
2511
|
}): Promise<void> {
|
|
2560
|
-
return this.
|
|
2512
|
+
return this.recallIntrospection.recordLastQmdRecallSnapshot(
|
|
2561
2513
|
options,
|
|
2562
2514
|
);
|
|
2563
2515
|
}
|
|
@@ -2566,7 +2518,7 @@ export class Orchestrator {
|
|
|
2566
2518
|
namespace: string;
|
|
2567
2519
|
snapshot: IntentDebugSnapshot;
|
|
2568
2520
|
}): Promise<void> {
|
|
2569
|
-
return this.
|
|
2521
|
+
return this.recallIntrospection.recordLastIntentSnapshotForNamespace(
|
|
2570
2522
|
options,
|
|
2571
2523
|
);
|
|
2572
2524
|
}
|
|
@@ -2746,7 +2698,7 @@ export class Orchestrator {
|
|
|
2746
2698
|
*/
|
|
2747
2699
|
private _recallIntrospectionCoordinator: RecallIntrospectionCoordinator | undefined;
|
|
2748
2700
|
|
|
2749
|
-
|
|
2701
|
+
get recallIntrospection(): RecallIntrospectionCoordinator {
|
|
2750
2702
|
if (!this._recallIntrospectionCoordinator) {
|
|
2751
2703
|
this._recallIntrospectionCoordinator = new RecallIntrospectionCoordinator(
|
|
2752
2704
|
selfDeps<ConstructorParameters<typeof RecallIntrospectionCoordinator>[0]>(this),
|