loki-mode 5.48.0 → 5.48.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/SKILL.md +2 -2
- package/VERSION +1 -1
- package/autonomy/loki +38 -1
- package/autonomy/run.sh +18 -1
- 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 zero human intervention. Requires --dangerously-skip-permissions flag.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Loki Mode v5.48.
|
|
6
|
+
# Loki Mode v5.48.1
|
|
7
7
|
|
|
8
8
|
**You are an autonomous agent. You make decisions. You do not ask questions. You do not stop.**
|
|
9
9
|
|
|
@@ -262,4 +262,4 @@ The following features are documented in skill modules but not yet fully automat
|
|
|
262
262
|
| Quality gates 3-reviewer system | Implemented (v5.35.0) | 5 specialist reviewers in `skills/quality-gates.md`; execution in run.sh |
|
|
263
263
|
| Benchmarks (HumanEval, SWE-bench) | Infrastructure only | Runner scripts and datasets exist in `benchmarks/`; no published results |
|
|
264
264
|
|
|
265
|
-
**v5.48.
|
|
265
|
+
**v5.48.1 | [Autonomi](https://www.autonomi.dev/) flagship product | ~260 lines core**
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.48.
|
|
1
|
+
5.48.1
|
package/autonomy/loki
CHANGED
|
@@ -1510,6 +1510,24 @@ cmd_dashboard_start() {
|
|
|
1510
1510
|
tls_info=" (TLS enabled)"
|
|
1511
1511
|
fi
|
|
1512
1512
|
|
|
1513
|
+
# Ensure dashboard Python dependencies are installed
|
|
1514
|
+
if ! "$python_cmd" -c "import fastapi" 2>/dev/null; then
|
|
1515
|
+
echo -e "${YELLOW}Installing dashboard dependencies...${NC}"
|
|
1516
|
+
local req_file="${SKILL_DIR}/dashboard/requirements.txt"
|
|
1517
|
+
if [ -f "$req_file" ]; then
|
|
1518
|
+
pip3 install -q -r "$req_file" 2>/dev/null || pip install -q -r "$req_file" 2>/dev/null || {
|
|
1519
|
+
echo -e "${RED}Failed to install dashboard dependencies${NC}"
|
|
1520
|
+
echo "Run manually: pip install fastapi uvicorn pydantic websockets"
|
|
1521
|
+
exit 1
|
|
1522
|
+
}
|
|
1523
|
+
else
|
|
1524
|
+
pip3 install -q fastapi uvicorn pydantic websockets 2>/dev/null || pip install -q fastapi uvicorn pydantic websockets 2>/dev/null || {
|
|
1525
|
+
echo -e "${RED}Failed to install dashboard dependencies${NC}"
|
|
1526
|
+
exit 1
|
|
1527
|
+
}
|
|
1528
|
+
fi
|
|
1529
|
+
fi
|
|
1530
|
+
|
|
1513
1531
|
echo -e "${GREEN}Starting dashboard server...${NC}"
|
|
1514
1532
|
echo -e "${CYAN}Host:${NC} $host"
|
|
1515
1533
|
echo -e "${CYAN}Port:${NC} $port"
|
|
@@ -3125,9 +3143,28 @@ cmd_api() {
|
|
|
3125
3143
|
fi
|
|
3126
3144
|
fi
|
|
3127
3145
|
|
|
3146
|
+
# Ensure dashboard Python dependencies are installed
|
|
3147
|
+
if ! python3 -c "import fastapi" 2>/dev/null; then
|
|
3148
|
+
echo -e "${YELLOW}Installing dashboard dependencies...${NC}"
|
|
3149
|
+
local req_file="${SKILL_DIR}/dashboard/requirements.txt"
|
|
3150
|
+
if [ -f "$req_file" ]; then
|
|
3151
|
+
pip3 install -q -r "$req_file" 2>/dev/null || pip install -q -r "$req_file" 2>/dev/null || {
|
|
3152
|
+
echo -e "${RED}Failed to install dashboard dependencies${NC}"
|
|
3153
|
+
echo "Run manually: pip install fastapi uvicorn pydantic websockets"
|
|
3154
|
+
exit 1
|
|
3155
|
+
}
|
|
3156
|
+
else
|
|
3157
|
+
pip3 install -q fastapi uvicorn pydantic websockets 2>/dev/null || {
|
|
3158
|
+
echo -e "${RED}Failed to install dashboard dependencies${NC}"
|
|
3159
|
+
exit 1
|
|
3160
|
+
}
|
|
3161
|
+
fi
|
|
3162
|
+
fi
|
|
3163
|
+
|
|
3128
3164
|
# Start server
|
|
3129
3165
|
mkdir -p "$LOKI_DIR/logs" "$LOKI_DIR/dashboard"
|
|
3130
|
-
local
|
|
3166
|
+
local host="${LOKI_DASHBOARD_HOST:-127.0.0.1}"
|
|
3167
|
+
local uvicorn_args="--host $host --port $port"
|
|
3131
3168
|
if [ -n "${LOKI_TLS_CERT:-}" ] && [ -n "${LOKI_TLS_KEY:-}" ]; then
|
|
3132
3169
|
uvicorn_args="$uvicorn_args --ssl-certfile ${LOKI_TLS_CERT} --ssl-keyfile ${LOKI_TLS_KEY}"
|
|
3133
3170
|
fi
|
package/autonomy/run.sh
CHANGED
|
@@ -5147,11 +5147,28 @@ start_dashboard() {
|
|
|
5147
5147
|
log_info "TLS enabled for dashboard"
|
|
5148
5148
|
fi
|
|
5149
5149
|
|
|
5150
|
+
# Ensure dashboard Python dependencies are installed
|
|
5151
|
+
local skill_dir="${SCRIPT_DIR%/*}"
|
|
5152
|
+
local req_file="${skill_dir}/dashboard/requirements.txt"
|
|
5153
|
+
if ! python3 -c "import fastapi" 2>/dev/null; then
|
|
5154
|
+
log_step "Installing dashboard dependencies..."
|
|
5155
|
+
if [ -f "$req_file" ]; then
|
|
5156
|
+
pip3 install -q -r "$req_file" 2>/dev/null || pip install -q -r "$req_file" 2>/dev/null || {
|
|
5157
|
+
log_warn "Failed to install dashboard dependencies"
|
|
5158
|
+
log_warn "Run manually: pip install fastapi uvicorn pydantic websockets"
|
|
5159
|
+
}
|
|
5160
|
+
else
|
|
5161
|
+
pip3 install -q fastapi uvicorn pydantic websockets 2>/dev/null || pip install -q fastapi uvicorn pydantic websockets 2>/dev/null || {
|
|
5162
|
+
log_warn "Failed to install dashboard dependencies"
|
|
5163
|
+
}
|
|
5164
|
+
fi
|
|
5165
|
+
fi
|
|
5166
|
+
|
|
5150
5167
|
# Start the FastAPI dashboard server
|
|
5151
5168
|
# Dashboard module is at project root (parent of autonomy/)
|
|
5152
5169
|
# LOKI_SKILL_DIR tells server.py where to find static files
|
|
5153
5170
|
LOKI_TLS_CERT="${LOKI_TLS_CERT:-}" LOKI_TLS_KEY="${LOKI_TLS_KEY:-}" \
|
|
5154
|
-
LOKI_SKILL_DIR="${
|
|
5171
|
+
LOKI_SKILL_DIR="${skill_dir}" PYTHONPATH="${skill_dir}" nohup python3 -m dashboard.server > "$log_file" 2>&1 &
|
|
5155
5172
|
DASHBOARD_PID=$!
|
|
5156
5173
|
|
|
5157
5174
|
# Save PID for later cleanup
|
package/dashboard/__init__.py
CHANGED
package/docs/INSTALLATION.md
CHANGED
package/mcp/__init__.py
CHANGED