@cortexkit/magic-context 0.32.2 → 0.32.4
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 +7 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -166626,13 +166626,18 @@ function resolveTransformMode(args) {
|
|
|
166626
166626
|
}
|
|
166627
166627
|
}
|
|
166628
166628
|
if (args.configured === "rust" && args.cavemanCompressionEnabled) {
|
|
166629
|
-
|
|
166629
|
+
const projectKey = args.projectKey ?? "<unspecified-project>";
|
|
166630
|
+
if (!warnedCavemanProjects.has(projectKey)) {
|
|
166631
|
+
warnedCavemanProjects.add(projectKey);
|
|
166632
|
+
warnings.push(CAVEMAN_RUST_WARNING);
|
|
166633
|
+
}
|
|
166630
166634
|
}
|
|
166631
166635
|
return { mode: args.configured, warnings };
|
|
166632
166636
|
}
|
|
166633
|
-
var warnedShadowProjects, RUST_REQUIRES_USER_SUBC_WARNING = "rust mode requires user-level subc configuration; running ts.", SHADOW_TRANSFORM_WARNING = 'shadow_transform is ignored while transform_mode is "rust" (a session cannot shadow itself); shadow disabled for these sessions.', CAVEMAN_RUST_WARNING = "caveman_text_compression is TS-only and inert in rust mode.";
|
|
166637
|
+
var warnedShadowProjects, warnedCavemanProjects, RUST_REQUIRES_USER_SUBC_WARNING = "rust mode requires user-level subc configuration; running ts.", SHADOW_TRANSFORM_WARNING = 'shadow_transform is ignored while transform_mode is "rust" (a session cannot shadow itself); shadow disabled for these sessions.', CAVEMAN_RUST_WARNING = "caveman_text_compression is TS-only and inert in rust mode.";
|
|
166634
166638
|
var init_transform_mode = __esm(() => {
|
|
166635
166639
|
warnedShadowProjects = new Set;
|
|
166640
|
+
warnedCavemanProjects = new Set;
|
|
166636
166641
|
});
|
|
166637
166642
|
|
|
166638
166643
|
// ../plugin/src/config/variable.ts
|