loki-mode 9.16.0 → 9.17.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/mcp/__init__.py CHANGED
@@ -75,4 +75,4 @@ try:
75
75
  except ImportError:
76
76
  __all__ = ['mcp']
77
77
 
78
- __version__ = '9.16.0'
78
+ __version__ = '9.17.2'
@@ -147,31 +147,6 @@ def _load_real_fastmcp():
147
147
  for _k in ("mcp", "mcp.server"):
148
148
  if _k in _saved_local:
149
149
  sys.modules[_k] = _saved_local[_k]
150
- elif _k in sys.modules:
151
- # The SDK claimed a name the local package had NOT yet loaded,
152
- # so there is no local module to re-pin and the old code left
153
- # the SDK's module cached under it PERMANENTLY, process-wide.
154
- #
155
- # Measured (issue #190, python3.12 + SDK, from the repo root):
156
- # any caller that reaches the loader before our own
157
- # mcp/server.py is imported -- mcp/lsp_proxy.py, or a test that
158
- # imports mcp._sdk_loader directly -- leaves the SDK's
159
- # site-packages/mcp/server/__init__.py under "mcp.server". Every
160
- # later `from mcp import server` in that process then silently
161
- # gets the SDK instead of ours. That is how
162
- # tests/test_mcp_agent_metrics_honesty.py skipped for its full
163
- # life: it passed 7/7 alone but hit its capability guard in a
164
- # full run, because tests/mcp/* ran first and poisoned the name.
165
- #
166
- # Deleting is correct where re-pinning is impossible: it leaves
167
- # the name UNCLAIMED, so the next `import mcp.server` resolves
168
- # through the local package exactly as it would have. Verified
169
- # this does not disturb the SDK's own runtime subtree --
170
- # mcp.types, mcp.server.lowlevel and mcp.server.fastmcp.* stay
171
- # cached and FastMCP still instantiates, because FastMCP holds
172
- # direct references to its dependencies rather than re-resolving
173
- # "mcp.server" by name.
174
- del sys.modules[_k]
175
150
  for _k, _v in _saved_local.items():
176
151
  # Restore any other purely-local submodules that the SDK import did
177
152
  # not legitimately replace (e.g. mcp.magic_tools, mcp.tools).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "loki-mode",
3
3
  "mcpName": "io.github.asklokesh/loki-mode",
4
- "version": "9.16.0",
4
+ "version": "9.17.2",
5
5
  "description": "Loki Mode by Autonomi. Autonomous spec-to-product system: takes a PRD, GitHub issue, OpenAPI/JSON/YAML, or one-line brief to a deployed app via the RARV-C closure loop with 8 quality gates. Provider-agnostic (Claude Code, OpenAI Codex, Cline, Aider).",
6
6
  "keywords": [
7
7
  "agent",
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
3
3
  "name": "loki-mode",
4
4
  "displayName": "Loki Mode",
5
- "version": "9.16.0",
5
+ "version": "9.17.2",
6
6
  "description": "Autonomous spec-to-product build system with a built-in trust layer (RARV-C closure loop, 8 quality gates, completion council). Ships Loki's spec-hardening, drift-detection, and deterministic PR verification commands plus the Loki MCP server.",
7
7
  "author": {
8
8
  "name": "Autonomi",