cclaw-cli 4.0.0 → 5.0.0

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.
@@ -246,13 +246,25 @@ function sanitizeInteractionHints(value) {
246
246
  const skipQuestions = typed.skipQuestions === true ? true : undefined;
247
247
  const sourceStage = isFlowStage(typed.sourceStage) ? typed.sourceStage : undefined;
248
248
  const recordedAt = typeof typed.recordedAt === "string" ? typed.recordedAt : undefined;
249
- if (skipQuestions !== true && !sourceStage && !recordedAt) {
249
+ const fromIdeaArtifact = typeof typed.fromIdeaArtifact === "string" && typed.fromIdeaArtifact.trim().length > 0
250
+ ? typed.fromIdeaArtifact.trim()
251
+ : undefined;
252
+ const fromIdeaCandidateId = typeof typed.fromIdeaCandidateId === "string" && typed.fromIdeaCandidateId.trim().length > 0
253
+ ? typed.fromIdeaCandidateId.trim()
254
+ : undefined;
255
+ if (skipQuestions !== true &&
256
+ !sourceStage &&
257
+ !recordedAt &&
258
+ !fromIdeaArtifact &&
259
+ !fromIdeaCandidateId) {
250
260
  continue;
251
261
  }
252
262
  out[stage] = {
253
263
  ...(skipQuestions ? { skipQuestions } : {}),
254
264
  ...(sourceStage ? { sourceStage } : {}),
255
- ...(recordedAt ? { recordedAt } : {})
265
+ ...(recordedAt ? { recordedAt } : {}),
266
+ ...(fromIdeaArtifact ? { fromIdeaArtifact } : {}),
267
+ ...(fromIdeaCandidateId ? { fromIdeaCandidateId } : {})
256
268
  };
257
269
  }
258
270
  return out;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cclaw-cli",
3
- "version": "4.0.0",
3
+ "version": "5.0.0",
4
4
  "description": "Installer-first flow toolkit for coding agents",
5
5
  "type": "module",
6
6
  "bin": {