diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d44ce8..2c70225 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [2.6.1] - 2026-11-13 + +### Fixed & Changed +- **Single-Source-of-Truth Release Parity (`src/version.ts`)**: Added `APP_VERSION` reading `package.json` dynamically so `src/http.ts`, `src/server.ts`, and `src/index.ts` remain 100% synchronized with `package.json`, `server.json`, `plugin.json`, Glama Releases, GitHub Releases, and the live web UI (`v2.6.1`). +- **Glama `pnpm` Docker Build Compatibility**: Explicit `Express` type export in `src/http.ts` eliminating `TS2742` under strict `.pnpm/` resolution. +- **Silicon Valley Iconography & Live Portal Polish**: Replaced legacy glyph badges with crisp inline SVGs, upgraded RedX to its custom `RX` monogram badge, prevented header nav wrap, and restored live `#hubmap` canvas network animation. +- **Config Identifier Parity**: Aligned all client snippets in `configs/*` and embedded portal drawers to `aura-courier-mcp@2.6.1` matching `package.json` and `server.json`. + ## [2.6.0] - 2026-11-10 ### Added diff --git a/README.md b/README.md index 47e690e..9156a27 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -# 🚚 AURA COURIER MCP v2.6.0 — THE ENTERPRISE LOGISTICS MASTER MANUAL +# 🚚 AURA COURIER MCP v2.6.1 — THE ENTERPRISE LOGISTICS MASTER MANUAL ### Universal Multi-Carrier Logistics Engine, Spatial Intelligence Hub & Zero-Risk COD Gateway **Published by Aura Agentic AI · Architected with DeepMind Principles & Google Maps Platform** [![Google Cloud Partner Advantage](https://img.shields.io/badge/Google_Cloud_Partner-Aura_Ajentic_AI-4285F4?logo=google-cloud&logoColor=white)](https://cloud.google.com/find-a-partner/partner/aura-ajentic-ai) [![auraajenticai/aura-courier-mcp MCP server](https://glama.ai/mcp/servers/auraajenticai/aura-courier-mcp/badges/score.svg)](https://glama.ai/mcp/servers/auraajenticai/aura-courier-mcp) -[![Antigravity Plugin](https://img.shields.io/badge/Antigravity_Plugin-v2.6.0-0676FF?logo=google&logoColor=white)](plugin.json) +[![Antigravity Plugin](https://img.shields.io/badge/Antigravity_Plugin-v2.6.1-0676FF?logo=google&logoColor=white)](plugin.json) [![User Guide BN/EN](https://img.shields.io/badge/User_Guide-বাংলা_%26_English-f59e0b)](https://courier.auraajenticai.cloud/guide) [![License: Apache-2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Status](https://img.shields.io/badge/Status-Production%20Active-success.svg)](https://courier.auraajenticai.cloud) @@ -227,15 +227,7 @@ curl -s https://courier.auraajenticai.cloud/health | jq ```json { "ok": true, - "service": "aura-courier-mcp", - "version": "2.6.0", - "tools_count": 9, - "spatial_engine": "Google Maps Platform (gmp_git_agentskills_v1)", - "fraud_engine": "Steadfast Nationwide API + BD Prefix Validator", - "webhooks": { - "steadfast": "/webhooks/steadfast", - "pathao": "/webhooks/pathao" - } + "version": "2.6.1" } ``` @@ -286,7 +278,7 @@ Add this configuration block to your client settings (`claude_desktop_config.jso "mcpServers": { "aura-courier": { "command": "npx", - "args": ["-y", "aura-courier-mcp@2.6.0"], + "args": ["-y", "aura-courier-mcp@2.6.1"], "env": { "PORT": "8080", "GOOGLE_MAPS_API_KEY": "", @@ -348,6 +340,9 @@ Bundles the complete `courier-ops` skill (9 tools), `rules/COURIER_RULES.md` (sm ## 9. Version History & Glama TDQS 5.0 Audit Log +* **v2.6.1 (Nov 13, 2026)**: + - **Single-Source-of-Truth Release Parity (`src/version.ts`)**: Unified version synchronization across `package.json`, `server.json`, `plugin.json`, `/health`, MCP Server metadata, GitHub Releases, Gitea, Glama Registry, and live web UI (`v2.6.1`). + - **TypeScript Strict `pnpm` Compatibility & Silicon Valley UI**: Explicit Express typing resolving Glama Dockerfile `TS2742`, inline SVG carrier/tool iconography, RedX monogram badge, and interactive `#hubmap` canvas animation. * **v2.6.0 (Nov 10, 2026)**: - **Bilingual User Guide & Business Benefits Hub (`GET /guide`)**: Interactive Bengali & English documentation (`https://courier.auraajenticai.cloud/guide`) covering 3-in-1 WooCommerce/Shopify integration, 6-Pillar WhatsApp/Messenger AI Bot harmony, Multi-Tenant Isolation, and MCP AI Agent setup. - **Bilingual Real-Time Fraud Risk Output (`🇧🇩 বাংলা | 🇬🇧 English`)**: Upgraded `FraudRiskEngine.evaluateRisk` and In-Dashboard Quick-Ship widget (`/api/courier/quick-ship`) with bilingual recommendations and 1-click language switching. diff --git a/configs/README.md b/configs/README.md index bddcc12..643b148 100644 --- a/configs/README.md +++ b/configs/README.md @@ -8,7 +8,7 @@ Connect any AI Agent / IDE to Aura Courier MCP in seconds. - **Server-Sent Events / SSE (Claude Desktop, Remote SSE)**: `https://courier.auraajenticai.cloud/sse` - **NPX Direct CLI**: - `npx -y @auraajenticai/aura-courier-mcp@2.6.0` + `npx -y aura-courier-mcp@2.6.1` --- diff --git a/configs/antigravity_gemini.json b/configs/antigravity_gemini.json index 59e9ad0..ad329bd 100644 --- a/configs/antigravity_gemini.json +++ b/configs/antigravity_gemini.json @@ -9,7 +9,7 @@ }, "aura-courier-local": { "command": "npx", - "args": ["-y", "@auraajenticai/aura-courier-mcp@2.6.0"], + "args": ["-y", "aura-courier-mcp@2.6.1"], "env": { "PORT": "8080" } diff --git a/configs/claude_desktop_config.json b/configs/claude_desktop_config.json index 00fc346..2ace93f 100644 --- a/configs/claude_desktop_config.json +++ b/configs/claude_desktop_config.json @@ -6,7 +6,7 @@ }, "aura-courier-stdio": { "command": "npx", - "args": ["-y", "@auraajenticai/aura-courier-mcp@2.6.0"] + "args": ["-y", "aura-courier-mcp@2.6.1"] } } } diff --git a/dist/http.js b/dist/http.js index edb54f6..ada1e19 100644 --- a/dist/http.js +++ b/dist/http.js @@ -9,6 +9,7 @@ import { buildMcpServer, executeToolCall, TOOLS } from "./server.js"; import { createRateLimiter } from "./middleware/rate_limit.js"; import { optionalAuthMiddleware, requireMcpAuth, isActionPermitted, resolveAuthContext, verifyWebhookSignature, recordAuditLog, } from "./middleware/auth.js"; import { McpToolError, wrapError, wrapSuccess, maskPhone } from "./envelope.js"; +import { APP_VERSION } from "./version.js"; import path from "node:path"; import { fileURLToPath } from "node:url"; import pg from "pg"; @@ -602,19 +603,19 @@ app.get("/health", (req, res) => { if (req.query.ui === "1" && req.headers.accept?.includes("text/html")) { return res.sendFile(HEALTH_HTML, (err) => { if (err && !res.headersSent) - res.json({ ok: true, version: "2.6.0" }); + res.json({ ok: true, version: APP_VERSION }); }); } return res.json({ ok: true, - version: "2.6.0", + version: APP_VERSION, }); } const mem = process.memoryUsage(); const detailed = { ok: true, service: "aura-courier-mcp", - version: "2.6.0", + version: APP_VERSION, tools_count: TOOLS.length, spatial_engine: "Google Maps Platform (gmp_git_agentskills_v1)", fraud_engine: "Pathao Nationwide v2 + Steadfast Nationwide API + BD Prefix Validator", @@ -637,7 +638,7 @@ app.get("/health", (req, res) => { app.get("/health.html", (_req, res) => { res.sendFile(HEALTH_HTML, (err) => { if (err && !res.headersSent) - res.json({ ok: true, version: "2.6.0" }); + res.json({ ok: true, version: APP_VERSION }); }); }); app.get("/privacy", (_req, res) => { @@ -668,7 +669,7 @@ app.get("/", (_req, res) => { .type("html") .send(`Aura Courier MCP` + `` + - `

🚚 Aura Courier MCP v2.6.0

Enterprise Bangladesh courier MCP & Google Maps Platform spatial hub.

` + + `

🚚 Aura Courier MCP v${APP_VERSION}

Enterprise Bangladesh courier MCP & Google Maps Platform spatial hub.

` + `

Connect your AI to POST /mcp with Streamable-HTTP.

` + `

Webhooks: POST /webhooks/steadfast · POST /webhooks/pathao

` + `

By Aura Ajentic AI · docs & setup

`); @@ -677,6 +678,6 @@ app.get("/", (_req, res) => { }); if (process.env.NODE_ENV !== "test") { app.listen(PORT, () => { - console.log(`Aura Courier MCP v2.6.0 (HTTP) listening on :${PORT} — POST /mcp`); + console.log(`Aura Courier MCP v${APP_VERSION} (HTTP) listening on :${PORT} — POST /mcp`); }); } diff --git a/dist/index.js b/dist/index.js index 75fbbb4..a329eb5 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2,13 +2,14 @@ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"; import { CourierRegistry } from "./registry.js"; import { buildMcpServer } from "./server.js"; +import { APP_VERSION } from "./version.js"; // STDIO / npx entrypoint (Claude Desktop, Cursor, Antigravity). // Credentials come from environment variables (STEADFAST_API_KEY, PATHAO_*). async function run() { const server = buildMcpServer(new CourierRegistry()); const transport = new StdioServerTransport(); await server.connect(transport); - console.error("Aura Courier MCP v2.6.0 running on STDIO"); + console.error(`Aura Courier MCP v${APP_VERSION} running on STDIO`); } run().catch((error) => { console.error("Fatal error running Aura Courier MCP:", error); diff --git a/dist/server.js b/dist/server.js index 66165bf..57c8c3a 100644 --- a/dist/server.js +++ b/dist/server.js @@ -1,6 +1,7 @@ import { Server } from "@modelcontextprotocol/sdk/server/index.js"; import { CallToolRequestSchema, ListToolsRequestSchema, } from "@modelcontextprotocol/sdk/types.js"; import { McpToolError, wrapError, wrapSuccess } from "./envelope.js"; +import { APP_VERSION } from "./version.js"; // Tool definitions — shared by the STDIO (npx) and HTTP (web-URL) entrypoints. export const TOOLS = [ { @@ -329,7 +330,7 @@ export async function executeToolCall(registry, name, args = {}, tenantId = "def * for HTTP it is built per-request from that client's keys. */ export function buildMcpServer(registry, authChecker, tenantId = "default") { - const server = new Server({ name: "aura-courier-mcp", version: "2.6.0" }, { capabilities: { tools: {} } }); + const server = new Server({ name: "aura-courier-mcp", version: APP_VERSION }, { capabilities: { tools: {} } }); server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: TOOLS })); server.setRequestHandler(CallToolRequestSchema, async (request) => { const { name, arguments: args } = request.params; diff --git a/dist/version.d.ts b/dist/version.d.ts new file mode 100644 index 0000000..3653604 --- /dev/null +++ b/dist/version.d.ts @@ -0,0 +1 @@ +export declare const APP_VERSION: string; diff --git a/dist/version.js b/dist/version.js new file mode 100644 index 0000000..94f046e --- /dev/null +++ b/dist/version.js @@ -0,0 +1,16 @@ +import { readFileSync } from "node:fs"; +function readPackageVersion() { + try { + const pkgUrl = new URL("../package.json", import.meta.url); + const raw = readFileSync(pkgUrl, "utf8"); + const parsed = JSON.parse(raw); + if (typeof parsed?.version === "string" && parsed.version.trim()) { + return parsed.version.trim(); + } + } + catch { + // Fallback if package.json is unavailable at runtime + } + return "2.6.1"; +} +export const APP_VERSION = readPackageVersion(); diff --git a/guide.html b/guide.html index eb3ecf2..560efde 100644 --- a/guide.html +++ b/guide.html @@ -1635,7 +1635,7 @@ Aura Courier MCP Logo
Aura Courier MCP - v2.6.0 + v2.6.1
Aura Courier MCP - v2.6.0 · Telemetry + v2.6.1 · Telemetry