@theglitchking/babel-fish 2.0.1 → 2.0.3

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.
@@ -13,7 +13,6 @@ import ast
13
13
  import argparse
14
14
  import hashlib
15
15
  import json
16
- import os
17
16
  import re
18
17
  import subprocess
19
18
  import sys
@@ -565,7 +564,6 @@ class MigrationParser:
565
564
  source = f.read_text(encoding='utf-8', errors='replace')
566
565
  rev = re.search(r'revision\s*=\s*[\'"]([^\'"]+)[\'"]', source)
567
566
  down = re.search(r'down_revision\s*=\s*[\'"]?([^\'")\n]+)[\'"]?', source)
568
- msg = re.search(r'Create Date.*\n.*"""(.+?)"""', source, re.DOTALL)
569
567
  tables = re.findall(r'op\.(?:create_table|drop_table|add_column)\s*\(\s*[\'"]([^\'"]+)[\'"]', source)
570
568
  migrations.append({
571
569
  'revision': rev.group(1) if rev else f.stem,
@@ -1213,7 +1211,7 @@ def build_auth_section(auth_info: dict) -> str:
1213
1211
 
1214
1212
  def build_infra_section(stack: dict, services: list[dict]) -> str:
1215
1213
  lines = ["# Section 16 — Infrastructure Profile\n\n",
1216
- f"| Property | Value |",
1214
+ "| Property | Value |",
1217
1215
  "|----------|-------|",
1218
1216
  f"| **Language** | {stack.get('language','?')} |",
1219
1217
  f"| **Framework** | {stack.get('framework','?')} |",
@@ -1302,14 +1300,13 @@ def build_project_map(
1302
1300
  ) -> str:
1303
1301
  now = datetime.now().strftime('%Y-%m-%d %H:%M')
1304
1302
  name = stack.get('name', PROJECT_ROOT.name)
1305
- slug = stack.get('slug', name)
1306
1303
 
1307
1304
  lines = [
1308
1305
  f"# {name} — Project Map\n",
1309
1306
  f"> Auto-generated by `generate.py` on {now}. Do not edit manually.\n\n",
1310
- f"## Stats\n",
1311
- f"| Metric | Count |",
1312
- f"|--------|-------|",
1307
+ "## Stats\n",
1308
+ "| Metric | Count |",
1309
+ "|--------|-------|",
1313
1310
  f"| API Routes | {len(routes)} |",
1314
1311
  f"| Data Models | {len(models)} |",
1315
1312
  f"| Schemas/DTOs | {len(schemas)} |",
@@ -1367,7 +1364,7 @@ def build_project_map(
1367
1364
  "| Background jobs | 08 |",
1368
1365
  "| Migration history | 11 |",
1369
1366
  "",
1370
- f"## Regenerate\n",
1367
+ "## Regenerate\n",
1371
1368
  "```bash",
1372
1369
  "python .claude/project-map/generate.py # skip if unchanged",
1373
1370
  "python .claude/project-map/generate.py --force # always regenerate",
@@ -6,13 +6,13 @@
6
6
  },
7
7
  "metadata": {
8
8
  "description": "Official marketplace for babel-fish - Codebase introspection and vocabulary translation for AI coding assistants",
9
- "version": "2.0.0"
9
+ "version": "2.0.3"
10
10
  },
11
11
  "plugins": [
12
12
  {
13
13
  "name": "babel-fish",
14
14
  "description": "Auto-generates a project map, vocabulary translation layer, and developer skill for any codebase. Introspects routes, models, services, features, infrastructure, and session history to give Claude instant full-stack context. Self-updates via pre-commit hook.",
15
- "version": "2.0.0",
15
+ "version": "2.0.3",
16
16
  "author": {
17
17
  "name": "TheGlitchKing"
18
18
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "babel-fish",
3
3
  "description": "Auto-generates a project map, vocabulary translation layer, and developer skill for any codebase. Introspects routes, models, services, features, infrastructure, and session history to give Claude instant full-stack context. Self-updates via pre-commit hook.",
4
- "version": "2.0.0",
4
+ "version": "2.0.3",
5
5
  "author": {
6
6
  "name": "TheGlitchKing",
7
7
  "email": "theglitchking@users.noreply.github.com"
package/CHANGELOG.md CHANGED
@@ -2,6 +2,26 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [2.0.3] - 2026-06-08
6
+
7
+ ### Fixed
8
+
9
+ - Release-metadata consistency: the 2.0.2 npm payload shipped with
10
+ `.claude-plugin/plugin.json` still at version 2.0.0 (the manifest bump landed
11
+ after the 2.0.2 publish), so Claude Code read the installed plugin as 2.0.0
12
+ and `claude plugin update` never advanced. 2.0.3 bumps `package.json`,
13
+ `.claude-plugin/plugin.json`, and `.claude-plugin/marketplace.json` together
14
+ before publishing so the plugin version resolves correctly. No code change
15
+ from 2.0.2.
16
+
17
+ ## [2.0.2] - 2026-06-08
18
+
19
+ ### Fixed
20
+
21
+ - Internal lint cleanup in `generate.py`: removed an unused `os` import and
22
+ two unused local variables, and dropped the `f` prefix from five
23
+ placeholder-less f-strings (ruff F401/F841/F541). No behavior change.
24
+
5
25
  ## [2.0.1] - 2026-06-08
6
26
 
7
27
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theglitchking/babel-fish",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "Gives your AI coding assistant instant, accurate knowledge of every route, model, service, feature, and infrastructure element in your codebase.",
5
5
  "type": "module",
6
6
  "bin": {