@cleocode/caamp 2026.5.28 → 2026.5.33

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.
@@ -3,7 +3,7 @@ import {
3
3
  getPrimaryProvider,
4
4
  groupByInstructFile,
5
5
  injectAll
6
- } from "./chunk-YXWL2IXL.js";
6
+ } from "./chunk-OPUPNLUJ.js";
7
7
  import {
8
8
  __export,
9
9
  getAgentsConfigPath,
@@ -16,7 +16,7 @@ import {
16
16
  resolveProviderConfigPath,
17
17
  resolveProviderProjectPath,
18
18
  resolveProviderSkillsDirs
19
- } from "./chunk-OCQI7UDH.js";
19
+ } from "./chunk-OCI4RYI5.js";
20
20
 
21
21
  // src/core/logger.ts
22
22
  var verboseMode = false;
@@ -588,6 +588,7 @@ import { provisionIsolatedShell } from "@cleocode/contracts";
588
588
  // src/core/harness/scope.ts
589
589
  import { homedir } from "os";
590
590
  import { join as join4 } from "path";
591
+ import { getCleoHome } from "@cleocode/paths";
591
592
  var TIER_PRECEDENCE = ["project", "user", "global"];
592
593
  function getPiAgentDir() {
593
594
  const env = process.env["PI_CODING_AGENT_DIR"];
@@ -599,25 +600,7 @@ function getPiAgentDir() {
599
600
  return join4(homedir(), ".pi", "agent");
600
601
  }
601
602
  function getCleoHomeDir() {
602
- const env = process.env["CLEO_HOME"];
603
- if (env !== void 0 && env.trim().length > 0) {
604
- return env.trim();
605
- }
606
- if (process.platform === "win32") {
607
- const localAppData = process.env["LOCALAPPDATA"];
608
- if (localAppData !== void 0 && localAppData.length > 0) {
609
- return join4(localAppData, "cleo", "Data");
610
- }
611
- return join4(homedir(), "AppData", "Local", "cleo", "Data");
612
- }
613
- if (process.platform === "darwin") {
614
- return join4(homedir(), "Library", "Application Support", "cleo");
615
- }
616
- const xdgData = process.env["XDG_DATA_HOME"];
617
- if (xdgData !== void 0 && xdgData.length > 0) {
618
- return join4(xdgData, "cleo");
619
- }
620
- return join4(homedir(), ".local", "share", "cleo");
603
+ return getCleoHome();
621
604
  }
622
605
  function assetDirName(kind) {
623
606
  switch (kind) {
@@ -4722,4 +4705,4 @@ export {
4722
4705
  discoverSkillsMulti,
4723
4706
  validateSkill
4724
4707
  };
4725
- //# sourceMappingURL=chunk-HFC3WUME.js.map
4708
+ //# sourceMappingURL=chunk-4W35AEYA.js.map