loki-mode 6.12.3 → 6.12.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.12.3
6
+ # Loki Mode v6.12.5
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.12.3 | [Autonomi](https://www.autonomi.dev/) flagship product | ~260 lines core**
270
+ **v6.12.5 | [Autonomi](https://www.autonomi.dev/) flagship product | ~260 lines core**
package/VERSION CHANGED
@@ -1 +1 @@
1
- 6.12.3
1
+ 6.12.5
package/autonomy/loki CHANGED
@@ -11584,6 +11584,9 @@ cmd_remote() {
11584
11584
  # Emit event
11585
11585
  emit_event session cli remote_start "prd=${prd_abs:-none}"
11586
11586
 
11587
+ # Always use bypassPermissions so Loki Mode can operate autonomously
11588
+ rc_flags+=("--permission-mode" "bypassPermissions")
11589
+
11587
11590
  # Launch remote-control
11588
11591
  # If workspace isn't trusted, it exits immediately with an error.
11589
11592
  # Use || true to prevent set -e from killing the script before auto-recovery.
@@ -11595,11 +11598,36 @@ cmd_remote() {
11595
11598
  exit 0
11596
11599
  fi
11597
11600
 
11598
- # Failed -- most likely workspace trust. Auto-recover.
11599
- # Launch claude with /exit piped in to auto-accept trust and quit immediately.
11601
+ # Failed -- most likely workspace trust. Auto-recover by writing trust flag
11602
+ # directly into ~/.claude.json (projects.<cwd>.hasTrustDialogAccepted = true).
11600
11603
  echo ""
11601
11604
  echo -e "${DIM}Auto-trusting workspace...${NC}"
11602
- printf '/exit\n' | claude --no-session-persistence 2>/dev/null || true
11605
+
11606
+ local cwd
11607
+ cwd="$(python3 -c 'import os; print(os.path.realpath("."))')"
11608
+ python3 -c "
11609
+ import json, os, sys
11610
+
11611
+ config_path = os.path.expanduser('~/.claude.json')
11612
+ try:
11613
+ with open(config_path) as f:
11614
+ data = json.load(f)
11615
+ except (FileNotFoundError, json.JSONDecodeError):
11616
+ data = {}
11617
+
11618
+ projects = data.setdefault('projects', {})
11619
+ project = projects.setdefault(sys.argv[1], {})
11620
+ project['hasTrustDialogAccepted'] = True
11621
+ project.setdefault('allowedTools', [])
11622
+
11623
+ with open(config_path, 'w') as f:
11624
+ json.dump(data, f, indent=2)
11625
+ print('ok')
11626
+ " "$cwd" 2>/dev/null || {
11627
+ echo -e "${YELLOW}Auto-trust failed. Please run 'claude' in this directory first to accept the trust dialog.${NC}"
11628
+ exit 1
11629
+ }
11630
+
11603
11631
  echo ""
11604
11632
  echo -e "${GREEN}Launching remote control...${NC}"
11605
11633
  echo ""
@@ -7,7 +7,7 @@ Modules:
7
7
  control: Session control API (start/stop/pause/resume)
8
8
  """
9
9
 
10
- __version__ = "6.12.3"
10
+ __version__ = "6.12.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.12.3
5
+ **Version:** v6.12.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.12.3'
60
+ __version__ = '6.12.5'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loki-mode",
3
- "version": "6.12.3",
3
+ "version": "6.12.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",