@geravant/sinain 1.7.0 → 1.7.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/package.json +1 -1
- package/sinain-agent/run.sh +5 -1
package/package.json
CHANGED
package/sinain-agent/run.sh
CHANGED
|
@@ -72,10 +72,14 @@ invoke_agent() {
|
|
|
72
72
|
;;
|
|
73
73
|
codex)
|
|
74
74
|
codex exec -s danger-full-access \
|
|
75
|
+
--dangerously-bypass-approvals-and-sandbox \
|
|
75
76
|
"$prompt"
|
|
76
77
|
;;
|
|
77
78
|
junie)
|
|
78
79
|
if $JUNIE_HAS_MCP; then
|
|
80
|
+
if [ ! -f "$HOME/.junie/allowlist.json" ]; then
|
|
81
|
+
echo " ⚠ Junie: no allowlist.json — MCP tools may prompt. Run junie --brave once to create it." >&2
|
|
82
|
+
fi
|
|
79
83
|
junie --output-format text \
|
|
80
84
|
--mcp-location "$JUNIE_MCP_DIR" \
|
|
81
85
|
--task "$prompt"
|
|
@@ -84,7 +88,7 @@ invoke_agent() {
|
|
|
84
88
|
fi
|
|
85
89
|
;;
|
|
86
90
|
goose)
|
|
87
|
-
goose run --text "$prompt" \
|
|
91
|
+
GOOSE_MODE=auto goose run --text "$prompt" \
|
|
88
92
|
--output-format text \
|
|
89
93
|
--max-turns 10
|
|
90
94
|
;;
|