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 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.0
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.0 | [Autonomi](https://www.autonomi.dev/) flagship product | ~260 lines core**
270
+ **v6.8.1 | [Autonomi](https://www.autonomi.dev/) flagship product | ~260 lines core**
package/VERSION CHANGED
@@ -1 +1 @@
1
- 6.8.0
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
- # Check provider-specific var
1940
- eval "local pval=\${$provider_var+x}"
1941
- if [ -n "$pval" ]; then
1942
- source="$provider_var"
1943
- else
1944
- # Check generic var
1945
- eval "local gval=\${$generic_var+x}"
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
- fi
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
- # Special cases: codex uses single LOKI_CODEX_MODEL, aider/cline too
1952
- if [ "$provider" = "codex" ] && [ -n "${LOKI_CODEX_MODEL+x}" ] && [ "$source" = "default" ]; then
1953
- source="LOKI_CODEX_MODEL"
1954
- elif [ "$provider" = "aider" ] && [ -n "${LOKI_AIDER_MODEL+x}" ] && [ "$source" = "default" ]; then
1955
- source="LOKI_AIDER_MODEL"
1956
- elif [ "$provider" = "cline" ] && [ -n "${LOKI_CLINE_MODEL+x}" ] && [ "$source" = "default" ]; then
1957
- source="LOKI_CLINE_MODEL"
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
@@ -7,7 +7,7 @@ Modules:
7
7
  control: Session control API (start/stop/pause/resume)
8
8
  """
9
9
 
10
- __version__ = "6.8.0"
10
+ __version__ = "6.8.1"
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.8.0
5
+ **Version:** v6.8.1
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.8.0'
60
+ __version__ = '6.8.1'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loki-mode",
3
- "version": "6.8.0",
3
+ "version": "6.8.1",
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",
@@ -18,15 +18,15 @@ const otel = require('./otel');
18
18
  // -------------------------------------------------------------------
19
19
 
20
20
  function _createSpan(name, parentSpan, attributes) {
21
- const tracer = otel.tracerProvider.getTracer('loki-mode');
22
- const options = { attributes: attributes || {} };
23
-
24
- if (parentSpan) {
25
- options.traceId = parentSpan.traceId;
26
- options.parentSpanId = parentSpan.spanId;
27
- }
28
-
29
- return tracer.startSpan(name, options);
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
  // -------------------------------------------------------------------