loki-mode 6.74.4 → 6.74.5

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 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.74.4
6
+ # Loki Mode v6.74.5
7
7
 
8
8
  **You are an autonomous agent. You make decisions. You do not ask questions. You do not stop.**
9
9
 
@@ -272,4 +272,4 @@ The following features are documented in skill modules but not yet fully automat
272
272
  | Quality gates 3-reviewer system | Implemented (v5.35.0) | 5 specialist reviewers in `skills/quality-gates.md`; execution in run.sh |
273
273
  | Benchmarks (HumanEval, SWE-bench) | Infrastructure only | Runner scripts and datasets exist in `benchmarks/`; no published results |
274
274
 
275
- **v6.74.4 | [Autonomi](https://www.autonomi.dev/) flagship product | ~260 lines core**
275
+ **v6.74.5 | [Autonomi](https://www.autonomi.dev/) flagship product | ~260 lines core**
package/VERSION CHANGED
@@ -1 +1 @@
1
- 6.74.4
1
+ 6.74.5
@@ -7,7 +7,7 @@ Modules:
7
7
  control: Session control API (start/stop/pause/resume)
8
8
  """
9
9
 
10
- __version__ = "6.74.4"
10
+ __version__ = "6.74.5"
11
11
 
12
12
  # Expose the control app for easy import
13
13
  try:
@@ -2,7 +2,7 @@
2
2
 
3
3
  The flagship product of [Autonomi](https://www.autonomi.dev/). Complete installation instructions for all platforms and use cases.
4
4
 
5
- **Version:** v6.74.4
5
+ **Version:** v6.74.5
6
6
 
7
7
  ---
8
8
 
package/mcp/__init__.py CHANGED
@@ -57,4 +57,4 @@ try:
57
57
  except ImportError:
58
58
  __all__ = ['mcp']
59
59
 
60
- __version__ = '6.74.4'
60
+ __version__ = '6.74.5'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loki-mode",
3
- "version": "6.74.4",
3
+ "version": "6.74.5",
4
4
  "description": "Loki Mode by Autonomi - Multi-agent autonomous startup system for Claude Code, Codex CLI, and Gemini CLI",
5
5
  "keywords": [
6
6
  "agent",
package/web-app/server.py CHANGED
@@ -2605,6 +2605,8 @@ def _cleanup_chat_tasks() -> None:
2605
2605
  @app.post("/api/session/start")
2606
2606
  async def start_session(req: StartRequest) -> JSONResponse:
2607
2607
  """Start a new loki session with the given PRD."""
2608
+ logger.info("START_SESSION called: provider=%s, projectDir=%s, mode=%s, prd_len=%d",
2609
+ req.provider, req.projectDir, req.mode, len(req.prd))
2608
2610
  if len(req.prd.encode()) > _MAX_PRD_BYTES:
2609
2611
  return JSONResponse(status_code=400, content={"error": "PRD exceeds 1 MB limit"})
2610
2612
 
@@ -2688,6 +2690,8 @@ async def start_session(req: StartRequest) -> JSONResponse:
2688
2690
  content={"error": f"Failed to start session: {e}"},
2689
2691
  )
2690
2692
 
2693
+ logger.info("START_SESSION: process spawned pid=%d, cmd=%s", proc.pid, cmd)
2694
+
2691
2695
  # Update session state
2692
2696
  session.reset()
2693
2697
  session.process = proc
@@ -2878,8 +2882,11 @@ async def get_status() -> JSONResponse:
2878
2882
  # Check if process is still alive (read-only -- do not mutate session.running
2879
2883
  # here; that is handled by _read_process_output under the lock)
2880
2884
  is_running = session.running
2885
+ poll_result = session.process.poll() if session.process else None
2881
2886
  if session.process and is_running:
2882
- if session.process.poll() is not None:
2887
+ if poll_result is not None:
2888
+ logger.info("STATUS: process pid=%d exited with code=%s, session.running=%s, elapsed=%.1fs",
2889
+ session.process.pid, poll_result, session.running, time.time() - session.start_time)
2883
2890
  # BUG-RACE-001: The process has exited, but if the session was
2884
2891
  # started very recently (within 5 seconds), report "running" with
2885
2892
  # a "starting" phase so the UI does not flash "stopped" before the