axios+telemetry cleanup

This commit is contained in:
2026-04-02 15:19:11 +03:00
parent a3cbca1e11
commit 7e1eac8002
100 changed files with 3048 additions and 4491 deletions

View File

@@ -1,4 +1,5 @@
import { feature } from 'bun:bundle';
import { VERSION } from '../constants/product.js';
// Bugfix for corepack auto-pinning, which adds yarnpkg to peoples' package.jsons
// eslint-disable-next-line custom-rules/no-top-level-side-effects
@@ -35,9 +36,8 @@ async function main(): Promise<void> {
// Fast-path for --version/-v: zero module loading needed
if (args.length === 1 && (args[0] === '--version' || args[0] === '-v' || args[0] === '-V')) {
// MACRO.VERSION is inlined at build time
// biome-ignore lint/suspicious/noConsole:: intentional console output
console.log(`${MACRO.VERSION} (Claude Code)`);
console.log(`${VERSION} (Claude Code)`);
return;
}

View File

@@ -8,6 +8,7 @@ import {
type Tool,
} from '@modelcontextprotocol/sdk/types.js'
import { getDefaultAppState } from 'src/state/AppStateStore.js'
import { VERSION } from '../constants/product.js'
import review from '../commands/review.js'
import type { Command } from '../commands.js'
import {
@@ -47,7 +48,7 @@ export async function startMCPServer(
const server = new Server(
{
name: 'claude/tengu',
version: MACRO.VERSION,
version: VERSION,
},
{
capabilities: {