@0xmaxma/claude-gateway 1.7.3 → 1.7.5

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.
@@ -66,6 +66,7 @@ export function openTagStack(html: string): string[] {
66
66
  /** Strip Telegram-HTML tags and unescape entities → plain-text equivalent. */
67
67
  export function htmlToPlain(html: string): string {
68
68
  return html
69
+ .replace(/<br\s*\/?>/gi, '\n')
69
70
  .replace(/<[^>]+>/g, '')
70
71
  .replace(/&lt;/g, '<')
71
72
  .replace(/&gt;/g, '>')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xmaxma/claude-gateway",
3
- "version": "1.7.3",
3
+ "version": "1.7.5",
4
4
  "description": "Multi-agent gateway for Claude",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,7 +31,7 @@
31
31
  "start": "node --no-warnings=ExperimentalWarning --env-file-if-exists=.env dist/index.js",
32
32
  "postinstall": "if command -v bun >/dev/null 2>&1; then bun install --cwd mcp; else echo 'Warning: bun not found. Run `cd mcp && bun install` manually to enable MCP tools.'; fi",
33
33
  "pretest": "npm run build",
34
- "test": "jest",
34
+ "test": "NODE_OPTIONS=--max-old-space-size=2560 jest",
35
35
  "pretest:unit": "npm run build",
36
36
  "test:unit": "jest --testPathPattern=unit",
37
37
  "test:e2e": "jest --testPathPattern=tests/e2e --forceExit",