@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/cli.js CHANGED
@@ -61,7 +61,7 @@ import {
61
61
  tokenizeCriteriaValue,
62
62
  updateInstructionsSingleOperation,
63
63
  validateSkill
64
- } from "./chunk-OLJZ23W3.js";
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-MFWBR2NY.js";
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-ER3FIOTM.js";
86
+ } from "./chunk-J7UN457C.js";
87
87
  import {
88
88
  buildSkillSubPathCandidates,
89
89
  resolvePreferredConfigScope,
90
90
  resolveProviderConfigPath,
91
91
  resolveProviderSkillsDir
92
- } from "./chunk-TRIXT4T7.js";
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-LV6VU7QJ.js");
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-LV6VU7QJ.js");
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") {