@emend-ai/utim 1.46.19 → 1.46.21

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.
Files changed (2) hide show
  1. package/bin/utim.js +8 -5
  2. package/package.json +1 -1
package/bin/utim.js CHANGED
@@ -161,17 +161,20 @@ try:
161
161
  with urllib.request.urlopen(req) as r:
162
162
  data = json.loads(r.read().decode())
163
163
  wheel_url = None
164
+ wheel_filename = None
164
165
  for asset in data.get('assets', []):
165
166
  name = asset.get('name', '')
166
167
  if name.endswith('.whl') and py_tag in name and plat in name:
167
168
  wheel_url = asset.get('browser_download_url')
169
+ wheel_filename = name
168
170
  break
169
- if wheel_url:
171
+ if wheel_url and wheel_filename:
170
172
  print("[+] Found wheel:", wheel_url)
171
- urllib.request.urlretrieve(wheel_url, "pydantic_core_tmp.whl")
172
- subprocess.run([sys.executable, "-m", "pip", "install", "--force-reinstall", "pydantic_core_tmp.whl"], check=True)
173
- if os.path.exists("pydantic_core_tmp.whl"):
174
- os.remove("pydantic_core_tmp.whl")
173
+ # Save with the real wheel filename so pip can validate it correctly
174
+ urllib.request.urlretrieve(wheel_url, wheel_filename)
175
+ subprocess.run([sys.executable, "-m", "pip", "install", "--force-reinstall", wheel_filename], check=True)
176
+ if os.path.exists(wheel_filename):
177
+ os.remove(wheel_filename)
175
178
 
176
179
  # Determine the installed pydantic-core version dynamically
177
180
  import pydantic_core
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emend-ai/utim",
3
- "version": "1.46.19",
3
+ "version": "1.46.21",
4
4
  "description": "UTIM – Universal Terminal Intelligence Manager. An agentic AI coding assistant for your terminal.",
5
5
  "keywords": [
6
6
  "ai",