@cleocode/adapters 2026.5.82 → 2026.5.84
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 +2 -1
- package/dist/index.js.map +1 -1
- package/dist/providers/claude-code/context-monitor.d.ts.map +1 -1
- package/dist/providers/cursor/install.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/providers/claude-code/context-monitor.ts +2 -1
- package/src/providers/cursor/install.ts +5 -0
package/dist/index.js
CHANGED
|
@@ -27596,6 +27596,7 @@ import { existsSync as existsSync3, readFileSync as readFileSync3, writeFileSync
|
|
|
27596
27596
|
import { mkdir } from "node:fs/promises";
|
|
27597
27597
|
import { homedir as homedir4 } from "node:os";
|
|
27598
27598
|
import { dirname, join as join4 } from "node:path";
|
|
27599
|
+
import { resolveLegacyCleoDir } from "@cleocode/paths";
|
|
27599
27600
|
function getContextStatusFromPercentage(percentage) {
|
|
27600
27601
|
if (percentage >= THRESHOLDS.EMERGENCY) return "emergency";
|
|
27601
27602
|
if (percentage >= THRESHOLDS.CRITICAL) return "critical";
|
|
@@ -27697,7 +27698,7 @@ var init_context_monitor = __esm({
|
|
|
27697
27698
|
return {
|
|
27698
27699
|
statusLine: {
|
|
27699
27700
|
type: "command",
|
|
27700
|
-
command: join4(
|
|
27701
|
+
command: join4(resolveLegacyCleoDir(), "lib", "session", "context-monitor.sh")
|
|
27701
27702
|
}
|
|
27702
27703
|
};
|
|
27703
27704
|
}
|