From 7c8960ae7ca4ceae934d7d7179c6375823ddbdf2 Mon Sep 17 00:00:00 2001 From: PsYcGoD Date: Sat, 1 Aug 2026 20:40:39 +0530 Subject: [PATCH] Release wrapper-only distributions 2.6.1 --- .github/workflows/pypi-publish.yml | 2 +- CHANGELOG.md | 6 ++++++ README.md | 2 ++ js/package-lock.json | 4 ++-- js/package.json | 3 ++- js/src/index.ts | 2 +- js/src/python/bridge.ts | 2 +- pyproject.toml | 2 +- sage-mcp.json | 2 +- scripts/check_release_versions.py | 6 ++++++ server.json | 29 +++++++++++++++++++++++++++++ src/sage/__init__.py | 2 +- 12 files changed, 53 insertions(+), 9 deletions(-) create mode 100644 server.json diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 1b8c869..6493cf4 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: inputs: version: - description: "Release version or tag (for example 2.6.0 or v2.6.0)" + description: "Release version or tag (for example 2.6.1 or v2.6.1)" required: true type: string release: diff --git a/CHANGELOG.md b/CHANGELOG.md index bc1350b..987a727 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v2.6.1 + +- Public distributions contain only the Python wrapper and thin npm launcher. +- Removed GUI, TUI, Electron, editor-extension, enterprise-preview, and legacy JavaScript code. +- Added synchronized PyPI, npm, and official MCP Registry metadata. + ## v2.6.0 ### Fixed diff --git a/README.md b/README.md index dca621d..71b7877 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # SAGE - Smart Agent Guidance Engine + + [![CI](https://github.com/PsYcGoD/sage/actions/workflows/ci.yml/badge.svg)](https://github.com/PsYcGoD/sage/actions/workflows/ci.yml) [![Python](https://img.shields.io/badge/python-3.10%2B-blue.svg)](https://github.com/PsYcGoD/sage/blob/main/pyproject.toml) [![PyPI](https://img.shields.io/pypi/v/psycgod-sage.svg)](https://pypi.org/project/psycgod-sage/) diff --git a/js/package-lock.json b/js/package-lock.json index 4ebabc3..2452c4a 100644 --- a/js/package-lock.json +++ b/js/package-lock.json @@ -1,12 +1,12 @@ { "name": "psycgod-sage", - "version": "2.6.0", + "version": "2.6.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "psycgod-sage", - "version": "2.6.0", + "version": "2.6.1", "license": "MIT", "bin": { "sage": "bin/sage.js" diff --git a/js/package.json b/js/package.json index eebc4f1..0cb0391 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,7 @@ { "name": "psycgod-sage", - "version": "2.6.0", + "version": "2.6.1", + "mcpName": "io.github.PsYcGoD/sage", "mcpName": "io.github.PsYcGoD/sage", "description": "npm/npx launcher for the canonical PyPI SAGE CLI wrapper for AI coding agents", "author": "PsYcGoD", diff --git a/js/src/index.ts b/js/src/index.ts index 3632cc8..d2b3ef1 100644 --- a/js/src/index.ts +++ b/js/src/index.ts @@ -1,5 +1,5 @@ export { ensurePythonSage, findPython, runPythonSage, setupPythonSage, showPythonSageApiStatus } from './python/bridge.js'; -export const VERSION = '2.6.0'; +export const VERSION = '2.6.1'; export const PYPI_PACKAGE = 'psycgod-sage'; export const NPM_RUN_PREFIX = 'npx -y psycgod-sage run --'; diff --git a/js/src/python/bridge.ts b/js/src/python/bridge.ts index 17a5861..8217c2a 100644 --- a/js/src/python/bridge.ts +++ b/js/src/python/bridge.ts @@ -1,7 +1,7 @@ import { spawnSync } from 'child_process'; import { existsSync, statSync } from 'fs'; -export const EXPECTED_SAGE_VERSION = '2.6.0'; +export const EXPECTED_SAGE_VERSION = '2.6.1'; interface PythonCommand { command: string; diff --git a/pyproject.toml b/pyproject.toml index 05a4ccd..7c020a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "psycgod-sage" -version = "2.6.0" +version = "2.6.1" description = "Local-first command wrapper for AI coding agents with compressed terminal output and privacy-safe proof metrics." readme = "README.md" requires-python = ">=3.10" diff --git a/sage-mcp.json b/sage-mcp.json index 2df5540..c086f00 100644 --- a/sage-mcp.json +++ b/sage-mcp.json @@ -1,6 +1,6 @@ { "name": "sage", - "version": "2.0.0", + "version": "2.6.1", "description": "Smart Agent Guidance Engine - MCP Server", "command": "python", "args": ["-m", "sage.mcp.server"], diff --git a/scripts/check_release_versions.py b/scripts/check_release_versions.py index 0b74de9..270102c 100644 --- a/scripts/check_release_versions.py +++ b/scripts/check_release_versions.py @@ -25,6 +25,8 @@ def versions() -> dict[str, str]: pyproject = tomllib.loads((ROOT / "pyproject.toml").read_text(encoding="utf-8")) package = json.loads((ROOT / "js" / "package.json").read_text(encoding="utf-8")) package_lock = json.loads((ROOT / "js" / "package-lock.json").read_text(encoding="utf-8")) + server = json.loads((ROOT / "server.json").read_text(encoding="utf-8")) + mcp_config = json.loads((ROOT / "sage-mcp.json").read_text(encoding="utf-8-sig")) return { "pyproject": str(pyproject["project"]["version"]), "python": _quoted_version(ROOT / "src" / "sage" / "__init__.py", "__version__"), @@ -34,6 +36,10 @@ def versions() -> dict[str, str]: "npm_python_core": _quoted_version( ROOT / "js" / "src" / "python" / "bridge.ts", "EXPECTED_SAGE_VERSION" ), + "mcp_registry": str(server["version"]), + "mcp_pypi": str(server["packages"][0]["version"]), + "mcp_npm": str(server["packages"][1]["version"]), + "mcp_config": str(mcp_config["version"]), } diff --git a/server.json b/server.json new file mode 100644 index 0000000..a98705a --- /dev/null +++ b/server.json @@ -0,0 +1,29 @@ +{ + "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", + "name": "io.github.PsYcGoD/sage", + "title": "SAGE Wrapper", + "description": "Command wrapper MCP server for coding agents, compression, workflows, and local automation.", + "repository": { + "url": "https://github.com/PsYcGoD/sage", + "source": "github" + }, + "version": "2.6.1", + "packages": [ + { + "registryType": "pypi", + "identifier": "psycgod-sage", + "version": "2.6.1", + "transport": { + "type": "stdio" + } + }, + { + "registryType": "npm", + "identifier": "psycgod-sage", + "version": "2.6.1", + "transport": { + "type": "stdio" + } + } + ] +} diff --git a/src/sage/__init__.py b/src/sage/__init__.py index e5e59e3..fab833f 100644 --- a/src/sage/__init__.py +++ b/src/sage/__init__.py @@ -1 +1 @@ -__version__ = "2.6.0" +__version__ = "2.6.1"