true-mem 1.0.13 → 1.0.14
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/adapters/opencode/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,KAAK,EAAE,WAAW,EAAE,KAAK,EAAwB,MAAM,gBAAgB,CAAC;AAC/E,OAAO,KAAK,EAAE,cAAc,EAA4D,MAAM,gBAAgB,CAAC;AA2F/G;;GAEG;AACH,wBAAsB,sBAAsB,CAC1C,GAAG,EAAE,WAAW,EAChB,eAAe,GAAE,OAAO,CAAC,cAAc,CAAM,GAC5C,OAAO,CAAC,KAAK,CAAC,CA6KhB;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/adapters/opencode/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,KAAK,EAAE,WAAW,EAAE,KAAK,EAAwB,MAAM,gBAAgB,CAAC;AAC/E,OAAO,KAAK,EAAE,cAAc,EAA4D,MAAM,gBAAgB,CAAC;AA2F/G;;GAEG;AACH,wBAAsB,sBAAsB,CAC1C,GAAG,EAAE,WAAW,EAChB,eAAe,GAAE,OAAO,CAAC,cAAc,CAAM,GAC5C,OAAO,CAAC,KAAK,CAAC,CA6KhB;AA4lBD,eAAe,sBAAsB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -2869,7 +2869,7 @@ async function processSessionIdle(state, sessionId) {
|
|
|
2869
2869
|
if (result.store) {
|
|
2870
2870
|
const userLevelClassifications = ["constraint", "preference", "learning", "procedural"];
|
|
2871
2871
|
const isExplicitIntent = confidence >= 0.85;
|
|
2872
|
-
const hasGlobalKeyword = hasGlobalScopeKeyword(
|
|
2872
|
+
const hasGlobalKeyword = hasGlobalScopeKeyword(text);
|
|
2873
2873
|
const isUserLevel = userLevelClassifications.includes(classification) || isExplicitIntent && hasGlobalKeyword;
|
|
2874
2874
|
const scope = isUserLevel ? null : state.worktree;
|
|
2875
2875
|
const autoPromoteClassifications = ["bugfix", "learning", "decision"];
|