@kody-ade/kody-engine-lite 0.1.12 → 0.1.13

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/templates/kody.yml +12 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine-lite",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "Autonomous SDLC pipeline: Kody orchestration + Claude Code + LiteLLM",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -117,15 +117,24 @@ jobs:
117
117
 
118
118
  # For approve mode: extract answer body and convert to rerun
119
119
  # Must run BEFORE task-id generation so we don't create a new task
120
+ # approve: extract answers, convert to rerun
120
121
  if [ "$MODE" = "approve" ]; then
121
122
  APPROVE_BODY=$(echo "$BODY" | sed -n '/\(@kody\|\/kody\)\s*approve/,$p' | tail -n +2)
122
123
  FEEDBACK="$APPROVE_BODY"
123
124
  MODE="rerun"
124
- # Leave TASK_ID empty — entry.ts findLatestTaskForIssue will find the paused task
125
125
  fi
126
126
 
127
- # Auto-generate task-id if not provided (only for non-rerun modes)
128
- if [ -z "$TASK_ID" ] && [ "$MODE" != "rerun" ]; then
127
+ # fix: extract description as feedback, convert to fix command
128
+ if [ "$MODE" = "fix" ]; then
129
+ FIX_BODY=$(echo "$BODY" | sed -n '/\(@kody\|\/kody\)\s*fix/,$p' | tail -n +2)
130
+ if [ -n "$FIX_BODY" ]; then
131
+ FEEDBACK="$FIX_BODY"
132
+ fi
133
+ # Leave TASK_ID empty — entry.ts finds latest task for issue
134
+ fi
135
+
136
+ # Auto-generate task-id if not provided (only for full mode)
137
+ if [ -z "$TASK_ID" ] && [ "$MODE" = "full" ]; then
129
138
  TASK_ID="${ISSUE_NUM}-$(date +%y%m%d-%H%M%S)"
130
139
  fi
131
140