@cleocode/caamp 2026.9.20 → 2026.9.21
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/{chunk-JELNPPLN.js → chunk-UIXTFV35.js} +128 -1
- package/dist/chunk-UIXTFV35.js.map +1 -0
- package/dist/{chunk-QC6CHW72.js → chunk-UYVHBBJE.js} +14 -3
- package/dist/chunk-UYVHBBJE.js.map +1 -0
- package/dist/cli.js +6 -4
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +103 -5
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/dist/{injector-7NNSGPGQ.js → injector-KSFK5LF2.js} +2 -2
- package/package.json +7 -7
- package/dist/chunk-JELNPPLN.js.map +0 -1
- package/dist/chunk-QC6CHW72.js.map +0 -1
- /package/dist/{injector-7NNSGPGQ.js.map → injector-KSFK5LF2.js.map} +0 -0
package/dist/cli.js
CHANGED
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
tokenizeCriteriaValue,
|
|
60
60
|
updateInstructionsSingleOperation,
|
|
61
61
|
validateSkill
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-UYVHBBJE.js";
|
|
63
63
|
import {
|
|
64
64
|
buildSkillsMap,
|
|
65
65
|
checkAllInjections,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
groupByInstructFile,
|
|
73
73
|
injectAll,
|
|
74
74
|
providerSupports
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-UIXTFV35.js";
|
|
76
76
|
import {
|
|
77
77
|
CANONICAL_HOOK_EVENTS,
|
|
78
78
|
buildHookMatrix,
|
|
@@ -1843,6 +1843,7 @@ import { existsSync as existsSync4 } from "fs";
|
|
|
1843
1843
|
import { writeFile } from "fs/promises";
|
|
1844
1844
|
import { tmpdir } from "os";
|
|
1845
1845
|
import { isAbsolute, join as join3 } from "path";
|
|
1846
|
+
import { expandTildePath } from "@cleocode/paths";
|
|
1846
1847
|
|
|
1847
1848
|
// src/commands/pi/common.ts
|
|
1848
1849
|
var PI_ERROR_CODES = {
|
|
@@ -1905,7 +1906,7 @@ function resolveProjectDir2(tier, explicit) {
|
|
|
1905
1906
|
// src/commands/pi/cant.ts
|
|
1906
1907
|
async function resolveCantSource(source) {
|
|
1907
1908
|
if (isAbsolute(source) || source.startsWith("./") || source.startsWith("../") || source.startsWith("~")) {
|
|
1908
|
-
const expanded =
|
|
1909
|
+
const expanded = expandTildePath(source);
|
|
1909
1910
|
if (!existsSync4(expanded)) {
|
|
1910
1911
|
throw new LAFSCommandError(
|
|
1911
1912
|
PI_ERROR_CODES.NOT_FOUND,
|
|
@@ -2152,9 +2153,10 @@ import { existsSync as existsSync5 } from "fs";
|
|
|
2152
2153
|
import { writeFile as writeFile2 } from "fs/promises";
|
|
2153
2154
|
import { tmpdir as tmpdir2 } from "os";
|
|
2154
2155
|
import { isAbsolute as isAbsolute2, join as join4 } from "path";
|
|
2156
|
+
import { expandTildePath as expandTildePath2 } from "@cleocode/paths";
|
|
2155
2157
|
async function resolveExtensionSource(source) {
|
|
2156
2158
|
if (isAbsolute2(source) || source.startsWith("./") || source.startsWith("../") || source.startsWith("~")) {
|
|
2157
|
-
const expanded =
|
|
2159
|
+
const expanded = expandTildePath2(source);
|
|
2158
2160
|
if (!existsSync5(expanded)) {
|
|
2159
2161
|
throw new LAFSCommandError(
|
|
2160
2162
|
PI_ERROR_CODES.NOT_FOUND,
|