Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# SAGE - Smart Agent Guidance Engine

<!-- mcp-name: io.github.PsYcGoD/sage -->

[![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/)
Expand Down
4 changes: 2 additions & 2 deletions js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion js/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion js/src/index.ts
Original file line number Diff line number Diff line change
@@ -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 --';
2 changes: 1 addition & 1 deletion js/src/python/bridge.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion sage-mcp.json
Original file line number Diff line number Diff line change
@@ -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"],
Expand Down
6 changes: 6 additions & 0 deletions scripts/check_release_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__"),
Expand All @@ -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"]),
}


Expand Down
29 changes: 29 additions & 0 deletions server.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
]
}
2 changes: 1 addition & 1 deletion src/sage/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.6.0"
__version__ = "2.6.1"