loki-mode 6.37.5 → 6.37.6
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/SKILL.md +2 -2
- package/VERSION +1 -1
- package/autonomy/completion-council.sh +3 -2
- package/autonomy/loki +17 -5
- package/dashboard/__init__.py +1 -1
- package/docs/INSTALLATION.md +1 -1
- package/mcp/__init__.py +1 -1
- package/package.json +1 -1
package/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: loki-mode
|
|
|
3
3
|
description: Multi-agent autonomous startup system. Triggers on "Loki Mode". Takes PRD to deployed product with minimal human intervention. Requires --dangerously-skip-permissions flag.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Loki Mode v6.37.
|
|
6
|
+
# Loki Mode v6.37.6
|
|
7
7
|
|
|
8
8
|
**You are an autonomous agent. You make decisions. You do not ask questions. You do not stop.**
|
|
9
9
|
|
|
@@ -267,4 +267,4 @@ The following features are documented in skill modules but not yet fully automat
|
|
|
267
267
|
| Quality gates 3-reviewer system | Implemented (v5.35.0) | 5 specialist reviewers in `skills/quality-gates.md`; execution in run.sh |
|
|
268
268
|
| Benchmarks (HumanEval, SWE-bench) | Infrastructure only | Runner scripts and datasets exist in `benchmarks/`; no published results |
|
|
269
269
|
|
|
270
|
-
**v6.37.
|
|
270
|
+
**v6.37.6 | [Autonomi](https://www.autonomi.dev/) flagship product | ~260 lines core**
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.37.
|
|
1
|
+
6.37.6
|
|
@@ -42,8 +42,9 @@ COUNCIL_ENABLED=${LOKI_COUNCIL_ENABLED:-true}
|
|
|
42
42
|
COUNCIL_SIZE=${LOKI_COUNCIL_SIZE:-3}
|
|
43
43
|
COUNCIL_THRESHOLD=${LOKI_COUNCIL_THRESHOLD:-2}
|
|
44
44
|
COUNCIL_CHECK_INTERVAL=${LOKI_COUNCIL_CHECK_INTERVAL:-5}
|
|
45
|
-
# Guard against
|
|
46
|
-
if [ "$COUNCIL_CHECK_INTERVAL" -
|
|
45
|
+
# Guard against invalid interval (must be positive integer)
|
|
46
|
+
if ! [[ "$COUNCIL_CHECK_INTERVAL" =~ ^[1-9][0-9]*$ ]]; then
|
|
47
|
+
echo "Warning: invalid COUNCIL_CHECK_INTERVAL '$COUNCIL_CHECK_INTERVAL', using default 5" >&2
|
|
47
48
|
COUNCIL_CHECK_INTERVAL=5
|
|
48
49
|
fi
|
|
49
50
|
COUNCIL_MIN_ITERATIONS=${LOKI_COUNCIL_MIN_ITERATIONS:-3}
|
package/autonomy/loki
CHANGED
|
@@ -1144,8 +1144,9 @@ cmd_stop() {
|
|
|
1144
1144
|
if [ -n "$target_session" ]; then
|
|
1145
1145
|
if is_session_running "$target_session"; then
|
|
1146
1146
|
_stop_session_by_id "$target_session"
|
|
1147
|
+
echo "Stopped session: $target_session"
|
|
1147
1148
|
else
|
|
1148
|
-
echo
|
|
1149
|
+
echo "No active session found"
|
|
1149
1150
|
fi
|
|
1150
1151
|
return 0
|
|
1151
1152
|
fi
|
|
@@ -3035,6 +3036,10 @@ cmd_web_start() {
|
|
|
3035
3036
|
echo -e "${RED}Error: Port must be between 1 and 65535, got $port${NC}"
|
|
3036
3037
|
exit 1
|
|
3037
3038
|
fi
|
|
3039
|
+
if lsof -Pi :"$port" -sTCP:LISTEN -t >/dev/null 2>&1; then
|
|
3040
|
+
echo -e "${RED}Error: Port $port is already in use${NC}"
|
|
3041
|
+
exit 1
|
|
3042
|
+
fi
|
|
3038
3043
|
|
|
3039
3044
|
# Validate --prd file if provided
|
|
3040
3045
|
if [ -n "$prd_file" ]; then
|
|
@@ -4449,12 +4454,12 @@ cmd_watch() {
|
|
|
4449
4454
|
esac
|
|
4450
4455
|
done
|
|
4451
4456
|
|
|
4452
|
-
# Validate numeric arguments
|
|
4453
|
-
if ! [[ "$poll_interval" =~ ^[0-9]
|
|
4457
|
+
# Validate numeric arguments (no leading zeros, no decimals, positive integers only)
|
|
4458
|
+
if ! [[ "$poll_interval" =~ ^[1-9][0-9]*$ ]]; then
|
|
4454
4459
|
echo -e "${RED}Invalid --interval: $poll_interval (expected positive integer)${NC}"
|
|
4455
4460
|
return 1
|
|
4456
4461
|
fi
|
|
4457
|
-
if ! [[ "$debounce" =~ ^[0-9]
|
|
4462
|
+
if ! [[ "$debounce" =~ ^[1-9][0-9]*$ ]] && [ "$debounce" != "0" ]; then
|
|
4458
4463
|
echo -e "${RED}Invalid --debounce: $debounce (expected non-negative integer)${NC}"
|
|
4459
4464
|
return 1
|
|
4460
4465
|
fi
|
|
@@ -13980,6 +13985,13 @@ cmd_remote() {
|
|
|
13980
13985
|
# Emit event
|
|
13981
13986
|
emit_event session cli remote_start "prd=${prd_abs:-none}"
|
|
13982
13987
|
|
|
13988
|
+
# Check SSH directory exists (needed for remote connections)
|
|
13989
|
+
if [ ! -d "$HOME/.ssh" ]; then
|
|
13990
|
+
echo -e "${RED}Error: ~/.ssh directory not found${NC}"
|
|
13991
|
+
echo "Create it with: mkdir -p ~/.ssh && chmod 700 ~/.ssh"
|
|
13992
|
+
return 1
|
|
13993
|
+
fi
|
|
13994
|
+
|
|
13983
13995
|
# Always use bypassPermissions so Loki Mode can operate autonomously
|
|
13984
13996
|
rc_flags+=("--permission-mode" "bypassPermissions")
|
|
13985
13997
|
|
|
@@ -15757,7 +15769,7 @@ cmd_explain() {
|
|
|
15757
15769
|
|
|
15758
15770
|
while [[ $# -gt 0 ]]; do
|
|
15759
15771
|
case "$1" in
|
|
15760
|
-
--json) output_json=true; shift ;;
|
|
15772
|
+
--json) output_json=true; require_jq || return 1; shift ;;
|
|
15761
15773
|
--brief) output_brief=true; shift ;;
|
|
15762
15774
|
--save) output_save=true; shift ;;
|
|
15763
15775
|
--help|-h)
|
package/dashboard/__init__.py
CHANGED
package/docs/INSTALLATION.md
CHANGED
package/mcp/__init__.py
CHANGED