@ai-dev-methodologies/rlp-desk 0.5.3 → 0.5.4
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-dev-methodologies/rlp-desk",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"description": "Fresh-context iterative loops for Claude Code — autonomous task completion with independent verification",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"postinstall": "node scripts/postinstall.js",
|
|
@@ -58,10 +58,30 @@ IDLE_NUDGE_THRESHOLD="${IDLE_NUDGE_THRESHOLD:-30}"
|
|
|
58
58
|
MAX_NUDGES="${MAX_NUDGES:-3}"
|
|
59
59
|
WITH_SELF_VERIFICATION="${WITH_SELF_VERIFICATION:-0}"
|
|
60
60
|
|
|
61
|
-
# --- Engine Selection ---
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
61
|
+
# --- Engine Selection (auto-detect from model format: name=claude, name:reasoning=codex) ---
|
|
62
|
+
# If model contains ":", it's codex format — auto-set engine and split model/reasoning
|
|
63
|
+
_auto_detect_engine() {
|
|
64
|
+
local model_var="$1" engine_var="$2" codex_model_var="$3" codex_reasoning_var="$4"
|
|
65
|
+
local model_val="${(P)model_var}"
|
|
66
|
+
if [[ "$model_val" == *:* ]]; then
|
|
67
|
+
local model_part="${model_val%%:*}"
|
|
68
|
+
local reasoning_part="${model_val##*:}"
|
|
69
|
+
[[ "$model_part" == *spark* ]] && model_part="spark"
|
|
70
|
+
eval "$engine_var=codex"
|
|
71
|
+
eval "$model_var=$model_part"
|
|
72
|
+
[[ -n "$codex_model_var" ]] && eval "$codex_model_var=$model_part"
|
|
73
|
+
[[ -n "$codex_reasoning_var" ]] && eval "$codex_reasoning_var=$reasoning_part"
|
|
74
|
+
fi
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
WORKER_ENGINE="${WORKER_ENGINE:-claude}"
|
|
78
|
+
VERIFIER_ENGINE="${VERIFIER_ENGINE:-claude}"
|
|
79
|
+
FINAL_VERIFIER_ENGINE="${FINAL_VERIFIER_ENGINE:-claude}"
|
|
80
|
+
|
|
81
|
+
# Auto-detect engine from model format for env var path (CLI path uses parse_model_flag)
|
|
82
|
+
_auto_detect_engine WORKER_MODEL WORKER_ENGINE WORKER_CODEX_MODEL WORKER_CODEX_REASONING
|
|
83
|
+
_auto_detect_engine VERIFIER_MODEL VERIFIER_ENGINE VERIFIER_CODEX_MODEL VERIFIER_CODEX_REASONING
|
|
84
|
+
_auto_detect_engine FINAL_VERIFIER_MODEL FINAL_VERIFIER_ENGINE "" ""
|
|
65
85
|
WORKER_CODEX_MODEL="${WORKER_CODEX_MODEL:-gpt-5.4}"
|
|
66
86
|
WORKER_CODEX_REASONING="${WORKER_CODEX_REASONING:-high}" # low|medium|high
|
|
67
87
|
VERIFIER_CODEX_MODEL="${VERIFIER_CODEX_MODEL:-gpt-5.4}"
|