loki-mode 7.4.8 → 7.4.9
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 +4 -0
- package/autonomy/run.sh +5 -1
- package/dashboard/__init__.py +1 -1
- package/docs/INSTALLATION.md +2 -2
- package/loki-ts/dist/loki.js +2 -2
- 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 v7.4.
|
|
6
|
+
# Loki Mode v7.4.9
|
|
7
7
|
|
|
8
8
|
**You are an autonomous agent. You make decisions. You do not ask questions. You do not stop.**
|
|
9
9
|
|
|
@@ -322,4 +322,4 @@ The following features are documented in skill modules but not yet fully automat
|
|
|
322
322
|
| Quality gates 3-reviewer system | Implemented (v5.35.0) | 5 specialist reviewers in `skills/quality-gates.md`; execution in run.sh |
|
|
323
323
|
| Benchmarks (HumanEval, SWE-bench) | Infrastructure only | Runner scripts and datasets exist in `benchmarks/`; no published results |
|
|
324
324
|
|
|
325
|
-
**v7.4.
|
|
325
|
+
**v7.4.9 | [Autonomi](https://www.autonomi.dev/) flagship product | ~260 lines core**
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.4.
|
|
1
|
+
7.4.9
|
package/autonomy/loki
CHANGED
|
@@ -6493,6 +6493,9 @@ cmd_doctor() {
|
|
|
6493
6493
|
|
|
6494
6494
|
echo -e "${CYAN}System:${NC}"
|
|
6495
6495
|
doctor_check "bash (>= 4.0)" bash recommended 4.0 || true
|
|
6496
|
+
# v7.4.9: Bun powers ported commands; warn if missing so users notice the
|
|
6497
|
+
# speedup is unavailable (bin/loki falls through to bash silently).
|
|
6498
|
+
doctor_check "Bun (>= 1.3)" bun recommended 1.3 || true
|
|
6496
6499
|
|
|
6497
6500
|
# Disk space check
|
|
6498
6501
|
local disk_avail
|
|
@@ -6589,6 +6592,7 @@ checks.append(check_tool('jq', 'jq', 'required'))
|
|
|
6589
6592
|
checks.append(check_tool('git', 'git', 'required'))
|
|
6590
6593
|
checks.append(check_tool('curl', 'curl', 'required'))
|
|
6591
6594
|
checks.append(check_tool('bash', 'bash', 'recommended', '4.0'))
|
|
6595
|
+
checks.append(check_tool('Bun', 'bun', 'recommended', '1.3'))
|
|
6592
6596
|
checks.append(check_tool('Claude CLI', 'claude', 'optional'))
|
|
6593
6597
|
checks.append(check_tool('Codex CLI', 'codex', 'optional'))
|
|
6594
6598
|
checks.append(check_tool('Gemini CLI', 'gemini', 'optional'))
|
package/autonomy/run.sh
CHANGED
|
@@ -9224,7 +9224,11 @@ except Exception:
|
|
|
9224
9224
|
spec_count=$(find "$magic_specs_dir" -maxdepth 1 -name "*.md" 2>/dev/null | wc -l | tr -d ' ')
|
|
9225
9225
|
if [ "$spec_count" -gt 0 ]; then
|
|
9226
9226
|
local spec_list
|
|
9227
|
-
|
|
9227
|
+
# v7.4.9: pipe through `sort` so output is filesystem-independent.
|
|
9228
|
+
# Pre-v7.4.9 this was raw `find` order which varies between macOS
|
|
9229
|
+
# (APFS creation order) and Linux (ext4 hash-table order). Sorting
|
|
9230
|
+
# alphabetically here matches the TS port which now also sorts.
|
|
9231
|
+
spec_list=$(find "$magic_specs_dir" -maxdepth 1 -name "*.md" -exec basename {} .md \; 2>/dev/null | sort | tr '\n' ',' | sed 's/,$//')
|
|
9228
9232
|
magic_context="MAGIC_MODULES: ${spec_count} component specs exist: ${spec_list}. To add or update a component: write markdown to ${magic_specs_dir}/<Name>.md and run 'loki magic update'. The spec becomes source of truth; implementation regenerates automatically. Debate runs in VERIFY phase -- if accessibility or performance blocks, refine the spec and re-run."
|
|
9229
9233
|
else
|
|
9230
9234
|
magic_context="MAGIC_MODULES: available. To create UI components, write spec at ${magic_specs_dir}/<Name>.md and run 'loki magic update'. Spec-driven generation produces React + Web Component variants with auto-generated tests. Debate gate runs in VERIFY."
|
package/dashboard/__init__.py
CHANGED
package/docs/INSTALLATION.md
CHANGED
|
@@ -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:** v7.4.
|
|
5
|
+
**Version:** v7.4.9
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -94,7 +94,7 @@ loki setup-skill
|
|
|
94
94
|
## PyPI / Python SDK
|
|
95
95
|
|
|
96
96
|
**The `loki` CLI is NOT available via `pip install loki-mode`.** PyPI hosts only the
|
|
97
|
-
Python REST client SDK at `loki-mode-sdk` (v7.4.
|
|
97
|
+
Python REST client SDK at `loki-mode-sdk` (v7.4.9+). The dashboard, MCP server,
|
|
98
98
|
and orchestrator components ship via npm, Docker, and Homebrew only.
|
|
99
99
|
|
|
100
100
|
```bash
|
package/loki-ts/dist/loki.js
CHANGED
|
@@ -262,7 +262,7 @@ Start a session with: loki start <prd>`}}let Z=m0(X);return{exitCode:0,stdout:Q?
|
|
|
262
262
|
`),0}async function $3(z){let Q=!1;for(let $ of z)if($==="--json")Q=!0;else if($==="--help"||$==="-h")return e0(),0;else return process.stderr.write(`${S}Unknown option: ${$}${K}
|
|
263
263
|
`),process.stderr.write(`Usage: loki doctor [--json]
|
|
264
264
|
`),1;if(Q){let $=await i1();return process.stdout.write(JSON.stringify($,null,2)+`
|
|
265
|
-
`),0}return z3()}var r0,s0,i0;var z0=g(()=>{m();Q1();p();r0=/(\d+\.\d+(?:\.\d+)*)/;s0=[{name:"Claude Code",dir:".claude/skills/loki-mode"},{name:"Codex CLI",dir:".codex/skills/loki-mode"},{name:"Gemini CLI",dir:".gemini/skills/loki-mode"},{name:"Cline CLI",dir:".cline/skills/loki-mode"},{name:"Aider CLI",dir:".aider/skills/loki-mode"}];i0=[{displayName:"Node.js (>= 18)",jsonName:"Node.js",cmd:"node",required:"required",min:"18.0"},{displayName:"Python 3 (>= 3.8)",jsonName:"Python 3",cmd:"python3",required:"required",min:"3.8"},{displayName:"jq",jsonName:"jq",cmd:"jq",required:"required"},{displayName:"git",jsonName:"git",cmd:"git",required:"required"},{displayName:"curl",jsonName:"curl",cmd:"curl",required:"required"},{displayName:"bash (>= 4.0)",jsonName:"bash",cmd:"bash",required:"recommended",min:"4.0"},{displayName:"Claude CLI",jsonName:"Claude CLI",cmd:"claude",required:"optional"},{displayName:"Codex CLI",jsonName:"Codex CLI",cmd:"codex",required:"optional"},{displayName:"Gemini CLI",jsonName:"Gemini CLI",cmd:"gemini",required:"optional"},{displayName:"Cline CLI",jsonName:"Cline CLI",cmd:"cline",required:"optional"},{displayName:"Aider CLI",jsonName:"Aider CLI",cmd:"aider",required:"optional"}]});h();import{readFileSync as U0}from"fs";import{resolve as V0,dirname as q0}from"path";import{fileURLToPath as G0}from"url";var v=null;function k1(){if(v!==null)return v;let z="7.4.
|
|
265
|
+
`),0}return z3()}var r0,s0,i0;var z0=g(()=>{m();Q1();p();r0=/(\d+\.\d+(?:\.\d+)*)/;s0=[{name:"Claude Code",dir:".claude/skills/loki-mode"},{name:"Codex CLI",dir:".codex/skills/loki-mode"},{name:"Gemini CLI",dir:".gemini/skills/loki-mode"},{name:"Cline CLI",dir:".cline/skills/loki-mode"},{name:"Aider CLI",dir:".aider/skills/loki-mode"}];i0=[{displayName:"Node.js (>= 18)",jsonName:"Node.js",cmd:"node",required:"required",min:"18.0"},{displayName:"Python 3 (>= 3.8)",jsonName:"Python 3",cmd:"python3",required:"required",min:"3.8"},{displayName:"jq",jsonName:"jq",cmd:"jq",required:"required"},{displayName:"git",jsonName:"git",cmd:"git",required:"required"},{displayName:"curl",jsonName:"curl",cmd:"curl",required:"required"},{displayName:"bash (>= 4.0)",jsonName:"bash",cmd:"bash",required:"recommended",min:"4.0"},{displayName:"Bun (>= 1.3)",jsonName:"Bun",cmd:"bun",required:"recommended",min:"1.3"},{displayName:"Claude CLI",jsonName:"Claude CLI",cmd:"claude",required:"optional"},{displayName:"Codex CLI",jsonName:"Codex CLI",cmd:"codex",required:"optional"},{displayName:"Gemini CLI",jsonName:"Gemini CLI",cmd:"gemini",required:"optional"},{displayName:"Cline CLI",jsonName:"Cline CLI",cmd:"cline",required:"optional"},{displayName:"Aider CLI",jsonName:"Aider CLI",cmd:"aider",required:"optional"}]});h();import{readFileSync as U0}from"fs";import{resolve as V0,dirname as q0}from"path";import{fileURLToPath as G0}from"url";var v=null;function k1(){if(v!==null)return v;let z="7.4.9";if(typeof z==="string"&&z.length>0)return v=z,v;try{let Q=q0(G0(import.meta.url)),$=W1(Q);v=U0(V0($,"VERSION"),"utf-8").trim()}catch{v="unknown"}return v}function R1(){return process.stdout.write(`Loki Mode v${k1()}
|
|
266
266
|
`),0}m();p();h();import{readFileSync as A0,existsSync as O0}from"fs";import{resolve as _0}from"path";var T0=["claude","codex","gemini","cline","aider"];function D1(){let z=_0(E(),"state","provider");if(!O0(z))return"";try{return A0(z,"utf-8").trim()}catch{return""}}function I0(z,Q){return z||Q||process.env.LOKI_PROVIDER||"claude"}function w0(z){let Q=D1(),$=I0(z,Q);switch(process.stdout.write(`${F}Current Provider${K}
|
|
267
267
|
`),process.stdout.write(`
|
|
268
268
|
`),process.stdout.write(`${G}Provider:${K} ${$}
|
|
@@ -338,4 +338,4 @@ Set LOKI_LEGACY_BASH=1 to force the bash CLI for every command.
|
|
|
338
338
|
`;async function Q3(z){let Q=z[0],$=z.slice(1);switch(Q){case void 0:case"help":case"--help":case"-h":return process.stdout.write($0),0;case"version":case"--version":case"-v":return R1();case"provider":return E1($);case"memory":return N1($);case"status":{let{runStatus:X}=await Promise.resolve().then(() => (m1(),v1));return X($)}case"stats":{let{runStats:X}=await Promise.resolve().then(() => (d1(),l1));return X($)}case"doctor":{let{runDoctor:X}=await Promise.resolve().then(() => (z0(),e1));return X($)}default:return process.stderr.write(`Unknown command: ${Q}
|
|
339
339
|
`),process.stderr.write($0),2}}process.on("SIGINT",()=>process.exit(130));process.on("SIGTERM",()=>process.exit(143));var X3=await Q3(Bun.argv.slice(2));process.exit(X3);
|
|
340
340
|
|
|
341
|
-
//# debugId=
|
|
341
|
+
//# debugId=0B12E4EB04EF6D2264756E2164756E21
|
package/mcp/__init__.py
CHANGED