pomera-ai-commander 1.2.4 → 1.2.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.
package/README.md CHANGED
@@ -71,6 +71,17 @@ npm install -g pomera-ai-commander
71
71
  pomera-mcp --help
72
72
  ```
73
73
 
74
+ ### Create Desktop Shortcut
75
+ After installing via pip or npm, create a desktop shortcut for quick access:
76
+
77
+ ```bash
78
+ # For pip install:
79
+ pomera-create-shortcut
80
+
81
+ # For npm install (from package directory):
82
+ python create_shortcut.py
83
+ ```
84
+
74
85
  ---
75
86
 
76
87
  ## MCP Server for AI Assistants
@@ -82,8 +93,7 @@ Pomera exposes 22 text processing tools via MCP. Configure your AI assistant:
82
93
  {
83
94
  "mcpServers": {
84
95
  "pomera": {
85
- "command": "pomera-ai-commander",
86
- "args": ["--mcp-server"]
96
+ "command": "pomera-ai-commander"
87
97
  }
88
98
  }
89
99
  }
@@ -94,13 +104,22 @@ Pomera exposes 22 text processing tools via MCP. Configure your AI assistant:
94
104
  {
95
105
  "mcpServers": {
96
106
  "pomera": {
97
- "command": "pomera-ai-commander",
98
- "args": ["--mcp-server"]
107
+ "command": "pomera-ai-commander"
99
108
  }
100
109
  }
101
110
  }
102
111
  ```
103
112
 
113
+ > **💡 Tip:** If the simple command doesn't work, use the full path. Find it with:
114
+ > ```bash
115
+ > # For npm install:
116
+ > npm root -g
117
+ > # Then use: <result>/pomera-ai-commander/pomera_mcp_server.py
118
+ >
119
+ > # For pip install:
120
+ > pip show pomera-ai-commander | grep Location
121
+ > ```
122
+
104
123
  See the full [MCP Server Guide](docs/MCP_SERVER_GUIDE.md) for Antigravity, executable configs, and troubleshooting.
105
124
 
106
125
  ---
package/mcp.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pomera-ai-commander",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "Text processing toolkit with 22 MCP tools including case transformation, encoding, hashing, text analysis, and notes management for AI assistants.",
5
5
  "homepage": "https://github.com/matbanik/Pomera-AI-Commander",
6
6
  "repository": "https://github.com/matbanik/Pomera-AI-Commander",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pomera-ai-commander",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "Text processing toolkit with 22 MCP tools for AI assistants - case transformation, encoding, hashing, text analysis, and notes management",
5
5
  "main": "pomera_mcp_server.py",
6
6
  "bin": {
@@ -12,6 +12,7 @@
12
12
  "mcp": "python pomera_mcp_server.py",
13
13
  "list-tools": "python pomera_mcp_server.py --list-tools",
14
14
  "test": "python -m pytest",
15
+ "create-shortcut": "node scripts/postinstall.js",
15
16
  "postinstall": "node scripts/postinstall.js"
16
17
  },
17
18
  "keywords": [
package/pomera.py CHANGED
@@ -1196,26 +1196,12 @@ class PromeraAIApp(tk.Tk):
1196
1196
 
1197
1197
  ttk.Label(main_frame, text="Pomera AI Commander", font=('TkDefaultFont', 14, 'bold')).pack(pady=(0, 10))
1198
1198
 
1199
- # Get current version - try pyproject.toml first (for local dev), then importlib.metadata
1200
- current_version = None
1199
+ # Get current version from unified version module
1201
1200
  try:
1202
- # Try reading from pyproject.toml (when running from source)
1203
- import re
1204
- pyproject_path = Path(__file__).parent / "pyproject.toml"
1205
- if pyproject_path.exists():
1206
- content = pyproject_path.read_text()
1207
- match = re.search(r'version = "1.2.4"]+)"', content)
1208
- if match:
1209
- current_version = match.group(1)
1210
- except Exception:
1211
- pass
1212
-
1213
- if not current_version:
1214
- try:
1215
- import importlib.metadata
1216
- current_version = importlib.metadata.version("pomera-ai-commander")
1217
- except Exception:
1218
- current_version = "1.2.4"
1201
+ from pomera.version import __version__
1202
+ current_version = __version__
1203
+ except ImportError:
1204
+ current_version = "unknown"
1219
1205
 
1220
1206
  # Detect OS for download link
1221
1207
  system = platform.system()
@@ -1353,8 +1339,12 @@ class PromeraAIApp(tk.Tk):
1353
1339
 
1354
1340
  def _show_about_dialog(self):
1355
1341
  """Show About dialog."""
1356
- # Version managed by bump_version.py script
1357
- version = "1.2.4"
1342
+ # Version from unified version module (managed by setuptools_scm)
1343
+ try:
1344
+ from pomera.version import __version__
1345
+ version = __version__
1346
+ except ImportError:
1347
+ version = "unknown"
1358
1348
 
1359
1349
  messagebox.showinfo(
1360
1350
  "About Pomera AI Commander",
@@ -56,6 +56,12 @@ logging.basicConfig(
56
56
  )
57
57
  logger = logging.getLogger(__name__)
58
58
 
59
+ # Import version from unified version module
60
+ try:
61
+ from pomera.version import __version__
62
+ except ImportError:
63
+ __version__ = "unknown"
64
+
59
65
 
60
66
  def main():
61
67
  """Main entry point for the Pomera MCP server."""
@@ -70,7 +76,7 @@ def main():
70
76
  parser.add_argument(
71
77
  "--version",
72
78
  action="version",
73
- version="pomera-mcp-server 1.2.4"
79
+ version=f"pomera-mcp-server {__version__}"
74
80
  )
75
81
  parser.add_argument(
76
82
  "--list-tools",
@@ -160,7 +166,7 @@ def main():
160
166
  server = StdioMCPServer(
161
167
  tool_registry=registry,
162
168
  server_name="pomera-mcp-server",
163
- server_version="1.2.4"
169
+ server_version=__version__
164
170
  )
165
171
 
166
172
  logger.info("Starting Pomera MCP Server...")