pantheon-opencode 1.6.0-beta.2 → 1.6.0-beta.4

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.
Files changed (38) hide show
  1. package/CHANGELOG.md +112 -0
  2. package/README.md +47 -15
  3. package/README.pt-BR.md +43 -13
  4. package/package.json +13 -10
  5. package/plugin.json +1 -1
  6. package/pyproject.toml +1 -1
  7. package/scripts/code_mode_server.py +1 -1
  8. package/scripts/cost.mjs +244 -41
  9. package/scripts/install/agents-md.mjs +2 -2
  10. package/scripts/install/health-check.mjs +9 -2
  11. package/scripts/install/shared.mjs +5 -5
  12. package/scripts/mcp_persistence_server.py +1 -1
  13. package/scripts/mcp_resources_server.py +1 -1
  14. package/scripts/memory_mcp_server.py +1 -1
  15. package/scripts/probe-context-rehydrate.mjs +6 -0
  16. package/scripts/probe-pantheon-cost.mjs +71 -15
  17. package/scripts/validate-routing.mjs +3 -3
  18. package/src/mcp/code_mode_server.py +1 -1
  19. package/src/mcp/mcp_persistence_server.py +1 -1
  20. package/src/mcp/mcp_resources_server.py +1 -1
  21. package/src/mcp/memory_mcp_server.py +1 -1
  22. package/src/mcp/pantheon_vision_server.py +1 -1
  23. package/src/mcp/requirements-mcp.txt +6 -4
  24. package/src/mcp/requirements-vision.txt +2 -2
  25. package/src/pantheon/cost-command.ts +399 -101
  26. package/src/pantheon/delegation-enforce.ts +10 -1
  27. package/src/pantheon/presets.mjs +3 -3
  28. package/src/pantheon/v2-tools.ts +426 -0
  29. package/src/plugin-v2.ts +473 -190
  30. package/src/plugins/tui/dist/server.d.ts +1 -2
  31. package/src/plugins/tui/dist/server.d.ts.map +1 -1
  32. package/src/plugins/tui/dist/tui.d.ts +74 -74
  33. package/src/plugins/tui/dist/tui.d.ts.map +1 -1
  34. package/src/plugins/tui/dist/tui.js +17 -20
  35. package/src/plugins/tui/package-lock.json +364 -317
  36. package/src/plugins/tui/package.json +8 -5
  37. package/src/plugins/tui/tsconfig.build.json +5 -0
  38. package/src/plugins/tui/tsdown.config.ts +3 -0
@@ -24,7 +24,7 @@ from typing import Any
24
24
  from urllib.parse import unquote, urlparse
25
25
 
26
26
  import httpx
27
- from mcp.server.fastmcp import FastMCP
27
+ from fastmcp import FastMCP
28
28
 
29
29
  mcp = FastMCP("pantheon-vision")
30
30
 
@@ -1,10 +1,12 @@
1
1
  # Pantheon MCP runtime dependencies — EXACT pins (issue #21)
2
- # Pinned to the versions validated in the sandbox venv (2026-08-05).
3
- # Update deliberately via: pip install -U <pkg> && pip freeze | grep -iE '^(mcp|fastmcp|pyyaml)'
2
+ # Coordinated MCP SDK/FastMCP major migration (Dependabot PRs #140 and #188).
3
+ # Update deliberately via: pip install -U <pkg> && pip freeze | grep -iE '^(mcp|fastmcp|pyyaml|httpx)=='
4
4
  # Memory search is FTS5 (SQLite stdlib): sqlite-vec and fastembed were removed
5
5
  # with the vector pipeline — the server no longer imports either.
6
- mcp==1.29.0
7
- fastmcp==3.4.6
6
+ mcp==2.2.0
7
+ fastmcp==4.0.10
8
8
  pydantic==2.12.5
9
9
  pydantic-settings==2.14.2
10
10
  pyyaml==6.0.3
11
+ # Vision imports httpx; MCP 2.2.0 provides httpx2, a different package.
12
+ httpx==0.28.1
@@ -1,5 +1,5 @@
1
- mcp==1.29.0
2
- fastmcp==3.4.6
1
+ mcp==2.2.0
2
+ fastmcp==4.0.10
3
3
  pydantic==2.12.5
4
4
  pydantic-settings==2.14.2
5
5
  httpx==0.28.1