@cleocode/caamp 1.9.0 → 1.9.1
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-ER3FIOTM.js → chunk-J7UN457C.js} +2 -2
- package/dist/chunk-J7UN457C.js.map +1 -0
- package/dist/{chunk-MFWBR2NY.js → chunk-O7IVK5JY.js} +2 -2
- package/dist/chunk-O7IVK5JY.js.map +1 -0
- package/dist/{chunk-TRIXT4T7.js → chunk-TI6WOJDG.js} +1 -1
- package/dist/chunk-TI6WOJDG.js.map +1 -0
- package/dist/{chunk-OLJZ23W3.js → chunk-ZF4W3K5H.js} +36 -3
- package/dist/chunk-ZF4W3K5H.js.map +1 -0
- package/dist/cli.js +12 -6
- package/dist/cli.js.map +1 -1
- package/dist/{hooks-LV6VU7QJ.js → hooks-E2XQ7TQG.js} +3 -3
- package/dist/index.d.ts +3492 -198
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/{injector-P2OL6RK3.js → injector-NSDP5Z2P.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-ER3FIOTM.js.map +0 -1
- package/dist/chunk-MFWBR2NY.js.map +0 -1
- package/dist/chunk-OLJZ23W3.js.map +0 -1
- package/dist/chunk-TRIXT4T7.js.map +0 -1
- /package/dist/{hooks-LV6VU7QJ.js.map → hooks-E2XQ7TQG.js.map} +0 -0
- /package/dist/{injector-P2OL6RK3.js.map → injector-NSDP5Z2P.js.map} +0 -0
package/dist/cli.js
CHANGED
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
tokenizeCriteriaValue,
|
|
62
62
|
updateInstructionsSingleOperation,
|
|
63
63
|
validateSkill
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-ZF4W3K5H.js";
|
|
65
65
|
import {
|
|
66
66
|
buildSkillsMap,
|
|
67
67
|
checkAllInjections,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
groupByInstructFile,
|
|
75
75
|
injectAll,
|
|
76
76
|
providerSupports
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-O7IVK5JY.js";
|
|
78
78
|
import {
|
|
79
79
|
CANONICAL_HOOK_EVENTS,
|
|
80
80
|
buildHookMatrix,
|
|
@@ -83,13 +83,13 @@ import {
|
|
|
83
83
|
getHookSupport,
|
|
84
84
|
getProviderSummary,
|
|
85
85
|
translateToAll
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-J7UN457C.js";
|
|
87
87
|
import {
|
|
88
88
|
buildSkillSubPathCandidates,
|
|
89
89
|
resolvePreferredConfigScope,
|
|
90
90
|
resolveProviderConfigPath,
|
|
91
91
|
resolveProviderSkillsDir
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-TI6WOJDG.js";
|
|
93
93
|
|
|
94
94
|
// src/cli.ts
|
|
95
95
|
import { Command } from "commander";
|
|
@@ -103,11 +103,17 @@ import {
|
|
|
103
103
|
isRegisteredErrorCode
|
|
104
104
|
} from "@cleocode/lafs-protocol";
|
|
105
105
|
var LAFSCommandError = class extends Error {
|
|
106
|
+
/** LAFS error code identifying the failure type. */
|
|
106
107
|
code;
|
|
108
|
+
/** LAFS error category inferred from the error code. */
|
|
107
109
|
category;
|
|
110
|
+
/** Whether the operation can be retried after fixing the root cause. */
|
|
108
111
|
recoverable;
|
|
112
|
+
/** Human-readable suggestion for resolving the error. */
|
|
109
113
|
suggestion;
|
|
114
|
+
/** Optional delay in milliseconds before retrying, or null. */
|
|
110
115
|
retryAfterMs;
|
|
116
|
+
/** Optional additional error details payload. */
|
|
111
117
|
details;
|
|
112
118
|
constructor(code, message, suggestion, recoverable = true, details) {
|
|
113
119
|
super(message);
|
|
@@ -3098,7 +3104,7 @@ CAMP Hook Support (mappings v${getHookMappingsVersion()})
|
|
|
3098
3104
|
return;
|
|
3099
3105
|
}
|
|
3100
3106
|
if (opts.from) {
|
|
3101
|
-
const { toCanonical } = await import("./hooks-
|
|
3107
|
+
const { toCanonical } = await import("./hooks-E2XQ7TQG.js");
|
|
3102
3108
|
const canonical2 = toCanonical(event, opts.from);
|
|
3103
3109
|
if (format === "json") {
|
|
3104
3110
|
const envelope = buildEnvelope4(operation, mvi, {
|
|
@@ -3131,7 +3137,7 @@ CAMP Hook Support (mappings v${getHookMappingsVersion()})
|
|
|
3131
3137
|
}
|
|
3132
3138
|
process.exit(1);
|
|
3133
3139
|
}
|
|
3134
|
-
const { getMappedProviderIds } = await import("./hooks-
|
|
3140
|
+
const { getMappedProviderIds } = await import("./hooks-E2XQ7TQG.js");
|
|
3135
3141
|
const allIds = getMappedProviderIds();
|
|
3136
3142
|
const translations = translateToAll(canonical, allIds);
|
|
3137
3143
|
if (format === "json") {
|