loki-mode 6.8.0 → 6.8.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 +37 -19
- package/dashboard/__init__.py +1 -1
- package/docs/INSTALLATION.md +1 -1
- package/mcp/__init__.py +1 -1
- package/package.json +1 -1
- package/src/observability/spans.js +9 -9
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.8.
|
|
6
|
+
# Loki Mode v6.8.1
|
|
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.8.
|
|
270
|
+
**v6.8.1 | [Autonomi](https://www.autonomi.dev/) flagship product | ~260 lines core**
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.8.
|
|
1
|
+
6.8.1
|
package/autonomy/loki
CHANGED
|
@@ -1932,29 +1932,47 @@ cmd_provider_models() {
|
|
|
1932
1932
|
for tier in planning development fast; do
|
|
1933
1933
|
local tier_upper
|
|
1934
1934
|
tier_upper=$(echo "$tier" | tr '[:lower:]' '[:upper:]')
|
|
1935
|
-
local provider_var="LOKI_${provider_upper}_MODEL_${tier_upper}"
|
|
1936
|
-
local generic_var="LOKI_MODEL_${tier_upper}"
|
|
1937
1935
|
local source="default"
|
|
1938
1936
|
|
|
1939
|
-
#
|
|
1940
|
-
|
|
1941
|
-
if [
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
if [ -n "$gval" ]; then
|
|
1947
|
-
source="$generic_var"
|
|
1937
|
+
# Single-model providers (aider, cline) only chain through their own env var
|
|
1938
|
+
# and LOKI_MODEL_DEVELOPMENT -- they ignore per-tier and generic tier vars
|
|
1939
|
+
if [ "$provider" = "aider" ]; then
|
|
1940
|
+
if [ -n "${LOKI_AIDER_MODEL+x}" ]; then
|
|
1941
|
+
source="LOKI_AIDER_MODEL"
|
|
1942
|
+
elif [ -n "${LOKI_MODEL_DEVELOPMENT+x}" ]; then
|
|
1943
|
+
source="LOKI_MODEL_DEVELOPMENT"
|
|
1948
1944
|
fi
|
|
1949
|
-
|
|
1945
|
+
elif [ "$provider" = "cline" ]; then
|
|
1946
|
+
if [ -n "${LOKI_CLINE_MODEL+x}" ]; then
|
|
1947
|
+
source="LOKI_CLINE_MODEL"
|
|
1948
|
+
elif [ -n "${LOKI_MODEL_DEVELOPMENT+x}" ]; then
|
|
1949
|
+
source="LOKI_MODEL_DEVELOPMENT"
|
|
1950
|
+
fi
|
|
1951
|
+
elif [ "$provider" = "codex" ]; then
|
|
1952
|
+
# Codex uses single LOKI_CODEX_MODEL or generic tier vars
|
|
1953
|
+
if [ -n "${LOKI_CODEX_MODEL+x}" ]; then
|
|
1954
|
+
source="LOKI_CODEX_MODEL"
|
|
1955
|
+
else
|
|
1956
|
+
local generic_var="LOKI_MODEL_${tier_upper}"
|
|
1957
|
+
eval "local gval=\${$generic_var+x}"
|
|
1958
|
+
if [ -n "$gval" ]; then
|
|
1959
|
+
source="$generic_var"
|
|
1960
|
+
fi
|
|
1961
|
+
fi
|
|
1962
|
+
else
|
|
1963
|
+
# Multi-tier providers (claude, gemini): check provider-specific per-tier, then generic
|
|
1964
|
+
local provider_var="LOKI_${provider_upper}_MODEL_${tier_upper}"
|
|
1965
|
+
local generic_var="LOKI_MODEL_${tier_upper}"
|
|
1950
1966
|
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1967
|
+
eval "local pval=\${$provider_var+x}"
|
|
1968
|
+
if [ -n "$pval" ]; then
|
|
1969
|
+
source="$provider_var"
|
|
1970
|
+
else
|
|
1971
|
+
eval "local gval=\${$generic_var+x}"
|
|
1972
|
+
if [ -n "$gval" ]; then
|
|
1973
|
+
source="$generic_var"
|
|
1974
|
+
fi
|
|
1975
|
+
fi
|
|
1958
1976
|
fi
|
|
1959
1977
|
|
|
1960
1978
|
local value
|
package/dashboard/__init__.py
CHANGED
package/docs/INSTALLATION.md
CHANGED
package/mcp/__init__.py
CHANGED
package/package.json
CHANGED
|
@@ -18,15 +18,15 @@ const otel = require('./otel');
|
|
|
18
18
|
// -------------------------------------------------------------------
|
|
19
19
|
|
|
20
20
|
function _createSpan(name, parentSpan, attributes) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
21
|
+
// Always use our custom Span class for consistent interface.
|
|
22
|
+
// The real OTEL SDK tracer (when available) returns span objects with
|
|
23
|
+
// a different API (spanContext(), etc.) that breaks our attribute access.
|
|
24
|
+
return new otel.Span(
|
|
25
|
+
name,
|
|
26
|
+
parentSpan ? parentSpan.traceId : undefined,
|
|
27
|
+
parentSpan ? parentSpan.spanId : undefined,
|
|
28
|
+
attributes || {}
|
|
29
|
+
);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
// -------------------------------------------------------------------
|