loki-mode 6.38.0 → 6.38.2
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/bin/postinstall.js +23 -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 minimal human intervention. Requires --dangerously-skip-permissions flag.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Loki Mode v6.38.
|
|
6
|
+
# Loki Mode v6.38.2
|
|
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.38.
|
|
270
|
+
**v6.38.2 | [Autonomi](https://www.autonomi.dev/) flagship product | ~260 lines core**
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.38.
|
|
1
|
+
6.38.2
|
package/bin/postinstall.js
CHANGED
|
@@ -85,13 +85,35 @@ if (results.some(r => !r.ok)) {
|
|
|
85
85
|
console.log(` loki setup-skill`);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
// PATH check: warn if npm global bin is not in PATH
|
|
88
|
+
// PATH check: warn if npm global bin is not in PATH, and auto-fix on macOS Homebrew
|
|
89
89
|
try {
|
|
90
90
|
const { execSync } = require('child_process');
|
|
91
91
|
const npmBin = execSync('npm bin -g 2>/dev/null || npm prefix -g', { encoding: 'utf8', stdio: ['pipe', 'pipe', 'pipe'] }).trim();
|
|
92
92
|
const npmBinDir = npmBin.endsWith('/bin') ? npmBin : npmBin + '/bin';
|
|
93
93
|
const pathDirs = (process.env.PATH || '').split(':');
|
|
94
94
|
const lokiBinInPath = pathDirs.some(d => d === npmBinDir || d === npmBin);
|
|
95
|
+
|
|
96
|
+
// On macOS with Homebrew Node, npm global bin path changes on every Node version upgrade.
|
|
97
|
+
// Auto-create stable symlinks in /opt/homebrew/bin/ so `loki` always works.
|
|
98
|
+
if (os.platform() === 'darwin') {
|
|
99
|
+
const stableDir = '/opt/homebrew/bin';
|
|
100
|
+
if (fs.existsSync(stableDir)) {
|
|
101
|
+
for (const bin of ['loki', 'loki-mode']) {
|
|
102
|
+
const src = path.join(npmBinDir, bin);
|
|
103
|
+
const dest = path.join(stableDir, bin);
|
|
104
|
+
try {
|
|
105
|
+
if (fs.existsSync(src)) {
|
|
106
|
+
// Remove stale symlink or existing file
|
|
107
|
+
try { fs.unlinkSync(dest); } catch {}
|
|
108
|
+
fs.symlinkSync(src, dest);
|
|
109
|
+
}
|
|
110
|
+
} catch {
|
|
111
|
+
// Silently skip if no permission (non-root)
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
95
117
|
if (!lokiBinInPath) {
|
|
96
118
|
console.log('');
|
|
97
119
|
console.log('[IMPORTANT] The `loki` command may not be in your PATH.');
|
package/dashboard/__init__.py
CHANGED
package/docs/INSTALLATION.md
CHANGED
package/mcp/__init__.py
CHANGED