@cortexkit/magic-context 0.17.1 → 0.17.2
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/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -161907,6 +161907,7 @@ function keyFor(providerID, modelID, agentName) {
|
|
|
161907
161907
|
}
|
|
161908
161908
|
function setDatabase(db) {
|
|
161909
161909
|
persistenceDb = db;
|
|
161910
|
+
cachedInsertStmt = null;
|
|
161910
161911
|
}
|
|
161911
161912
|
function loadToolDefinitionMeasurements(db) {
|
|
161912
161913
|
let rows = [];
|
|
@@ -161925,10 +161926,11 @@ function loadToolDefinitionMeasurements(db) {
|
|
|
161925
161926
|
inner.set(row.tool_id, row.token_count);
|
|
161926
161927
|
}
|
|
161927
161928
|
}
|
|
161928
|
-
var measurements, persistenceDb = null;
|
|
161929
|
+
var measurements, fingerprints, persistenceDb = null, cachedInsertStmt = null;
|
|
161929
161930
|
var init_tool_definition_tokens = __esm(() => {
|
|
161930
161931
|
init_read_session_formatting();
|
|
161931
161932
|
measurements = new Map;
|
|
161933
|
+
fingerprints = new Map;
|
|
161932
161934
|
});
|
|
161933
161935
|
|
|
161934
161936
|
// ../plugin/src/features/magic-context/tool-owner-backfill.ts
|