@remnic/core 10.0.118 → 10.0.119
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.js +1 -1
- package/dist/access-cli.js +1 -1
- package/dist/access-extraction-force-flush.js +1 -1
- package/dist/access-http-briefing.js +1 -1
- package/dist/access-http-query.js +1 -1
- package/dist/access-http.js +1 -1
- package/dist/access-identity-continuity-surface.js +1 -1
- package/dist/access-lcm-surface.js +1 -1
- package/dist/access-mcp.js +1 -1
- package/dist/access-observe-write-surface.js +1 -1
- package/dist/access-operations-batch.js +1 -1
- package/dist/access-operations.js +1 -1
- package/dist/access-recall-concurrency.js +1 -1
- package/dist/access-recall-response.js +1 -1
- package/dist/access-recall-surface.js +1 -1
- package/dist/access-service.js +1 -1
- package/dist/{chunk-IRFCIJTX.js → chunk-HH6L3KV5.js} +18 -2
- package/dist/chunk-HH6L3KV5.js.map +1 -0
- package/dist/{chunk-VXMSMY65.js → chunk-MSXAR3M5.js} +2 -2
- package/dist/cli.js +1 -1
- package/dist/explicit-capture.js +1 -1
- package/dist/index.js +1 -1
- package/dist/orchestration/backlog-scheduler.js +2 -2
- package/dist/orchestration/buffer-drain-runner.js +2 -2
- package/dist/orchestration/drain-extraction.d.ts +16 -0
- package/dist/orchestration/drain-extraction.d.ts.map +1 -0
- package/dist/orchestrator.d.ts +1 -0
- package/dist/orchestrator.d.ts.map +1 -1
- package/dist/orchestrator.js +1 -1
- package/dist/recall-navigation.js +1 -1
- package/dist/testing/orchestrator-lite.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/buffer-drain-model-boundary.test.ts +7 -3
- package/src/orchestration/drain-extraction.test.ts +110 -0
- package/src/orchestration/drain-extraction.ts +28 -0
- package/src/orchestrator.ts +8 -9
- package/src/testing/orchestrator-lite.ts +3 -0
- package/dist/chunk-IRFCIJTX.js.map +0 -1
- /package/dist/{chunk-VXMSMY65.js.map → chunk-MSXAR3M5.js.map} +0 -0
package/dist/access-cli.js
CHANGED
package/dist/access-http.js
CHANGED
package/dist/access-mcp.js
CHANGED
package/dist/access-service.js
CHANGED
|
@@ -4635,6 +4635,14 @@ async function withBufferStorage(orchestrator, storage, task) {
|
|
|
4635
4635
|
}
|
|
4636
4636
|
}
|
|
4637
4637
|
|
|
4638
|
+
// src/orchestration/drain-extraction.ts
|
|
4639
|
+
function createDrainExtractionEngine(config, profiler, modelRegistry, shutdownSignal, fastChatCompletion) {
|
|
4640
|
+
const drainConfig = { ...config, localLlmRetry5xxCount: 0 };
|
|
4641
|
+
const client = new LocalLlmClient(drainConfig, modelRegistry, shutdownSignal);
|
|
4642
|
+
client.disableThinking = config.localLlmDisableThinking;
|
|
4643
|
+
return new ExtractionEngine(drainConfig, profiler, client, config.gatewayConfig, modelRegistry, fastChatCompletion);
|
|
4644
|
+
}
|
|
4645
|
+
|
|
4638
4646
|
// src/orchestration/tier-migration-coordinator.ts
|
|
4639
4647
|
import path4 from "path";
|
|
4640
4648
|
var TierMigrationCoordinator = class {
|
|
@@ -27784,6 +27792,7 @@ var Orchestrator = class {
|
|
|
27784
27792
|
embeddingFallback;
|
|
27785
27793
|
conversationIndexDir;
|
|
27786
27794
|
extraction;
|
|
27795
|
+
drainExtraction;
|
|
27787
27796
|
config;
|
|
27788
27797
|
profiler;
|
|
27789
27798
|
threading;
|
|
@@ -27924,7 +27933,14 @@ var Orchestrator = class {
|
|
|
27924
27933
|
/** An extraction run coordinator bound to `buffer` — per drain task, so a
|
|
27925
27934
|
* claim-backed drain never shares the live buffer's mutable state. */
|
|
27926
27935
|
extractionRunCoordinatorForBuffer(buffer) {
|
|
27927
|
-
|
|
27936
|
+
const getExtraction = () => this.drainExtraction ??= createDrainExtractionEngine(
|
|
27937
|
+
this.config,
|
|
27938
|
+
this.profiler,
|
|
27939
|
+
this.modelRegistry,
|
|
27940
|
+
this.shutdownSignal,
|
|
27941
|
+
this.fastChatCompletion.bind(this)
|
|
27942
|
+
);
|
|
27943
|
+
return new ExtractionRunCoordinator({ ...this.extractionRunDeps(() => buffer), getExtraction });
|
|
27928
27944
|
}
|
|
27929
27945
|
_consolidationRunCoordinator;
|
|
27930
27946
|
get consolidationRunCoordinator() {
|
|
@@ -67217,4 +67233,4 @@ export {
|
|
|
67217
67233
|
EngramAccessService,
|
|
67218
67234
|
AccessAdminOpsSurface
|
|
67219
67235
|
};
|
|
67220
|
-
//# sourceMappingURL=chunk-
|
|
67236
|
+
//# sourceMappingURL=chunk-HH6L3KV5.js.map
|