@allansantos-dev/smart-tool 0.9.35 → 0.9.37

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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.9.37 - beta
4
+
5
+ - The site no longer sends a human reader to the repository. The "Release notes" links (hero and footer) go to a
6
+ new release-notes section on the page itself, and "How it works, step by step" jumps to the tools section instead
7
+ of the README on GitHub. Guard tests in `tests/test_pages.py`: no `href`/`src` of the site may contain `/blob/`,
8
+ `README` or the owner's repositories, and the release-notes section must lead with the current version.
9
+
10
+ ## 0.9.36 - beta
11
+
12
+ - The "Smart Tool was updated" notice links to the public site (`update_check.SITE_URL`, the GitHub Pages page)
13
+ instead of the CHANGELOG blob of the distribution repository. Test `NoticeLinksTest` fails if an update notice links
14
+ to a README, a `/blob/` path or github.com.
15
+
3
16
  ## 0.9.35 - beta
4
17
 
5
18
  - Structured output in the model calls that must return JSON. The deep-research steps (researcher, critic, planner),
package/README.md CHANGED
@@ -16,7 +16,7 @@ registered as the `playwright` server where this machine lets a browser be drive
16
16
  An optional hook routes the agent's native Grep/Glob/Read/Bash/WebSearch/WebFetch calls to these tools when they
17
17
  are cheaper, or just tells the agent what Smart Tool would do.
18
18
 
19
- **Status:** 0.9.35 beta. Windows only. What changed in each version: [CHANGELOG.md](CHANGELOG.md).
19
+ **Status:** 0.9.37 beta. Windows only. What changed in each version: [CHANGELOG.md](CHANGELOG.md).
20
20
 
21
21
  ## How it works
22
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allansantos-dev/smart-tool",
3
- "version": "0.9.35",
3
+ "version": "0.9.37",
4
4
  "description": "Local MCP server that gives coding agents (Claude Code, Codex) cheaper, sharper tools than their built-in search. Windows.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Allan Santos",
package/update_check.py CHANGED
@@ -20,7 +20,7 @@ import version
20
20
  PACKAGE = "@allansantos-dev/smart-tool"
21
21
  REGISTRY_URL = "https://registry.npmjs.org/@allansantos-dev%2Fsmart-tool/latest"
22
22
  UPDATE_COMMAND = f"npx --yes {PACKAGE}@latest install"
23
- CHANGELOG_URL = "https://github.com/AllanSantos-DV/smart-tool-dist/blob/main/CHANGELOG.md"
23
+ SITE_URL = "https://allansantos-dv.github.io/smart-tool/"
24
24
  STATE_PATH = os.path.join(paths.DATA_DIR, "update-state.json")
25
25
  ENV_OPT_OUT = "SMART_TOOL_AUTO_UPDATE"
26
26
  RETRY_AFTER_S = 24 * 3600
@@ -118,7 +118,7 @@ def notices(now=None):
118
118
  updated = state.get("updated") or {}
119
119
  if updated.get("to") == version.VERSION and now - updated.get("at", 0) < UPDATED_NOTICE_S:
120
120
  found.append((f"updated:{version.VERSION}",
121
- f"Smart Tool was updated from {updated['from']} to {version.VERSION}. Changes: {CHANGELOG_URL}"))
121
+ f"Smart Tool was updated from {updated['from']} to {version.VERSION}. Changes: {SITE_URL}"))
122
122
  failed = failed_update()
123
123
  latest = state.get("latest")
124
124
  if failed:
package/version.py CHANGED
@@ -1,7 +1,7 @@
1
1
  """Single source of the Smart Tool version and of the User-Agent sent to public APIs."""
2
2
  import re
3
3
 
4
- VERSION = "0.9.35"
4
+ VERSION = "0.9.37"
5
5
  _CONTACT_RE = re.compile(r"^(?:[^\s@()<>;]+@[^\s@()<>;]+\.[^\s@()<>;]+|https?://[^\s()<>;]+)$")
6
6
 
7
7