@tiny-fish/hermes 0.2.1 → 0.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiny-fish/hermes",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "TinyFish web provider plugin for Hermes Agent, delivered via npm for the TinyFish CLI. Installed by `tinyfish connect hermes`; not a JavaScript library.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://docs.tinyfish.ai",
package/plugin.yaml CHANGED
@@ -1,6 +1,6 @@
1
1
  name: tinyfish
2
- version: 0.2.1
3
- description: "First-party TinyFish plugin for Hermes Agent: free Search and Fetch, plus credit-gated Browser sessions and the tinyfish_agent web agent."
2
+ version: 0.2.3
3
+ description: "TinyFish: the web, built into Hermes. Free Search and Fetch power Hermes's own web_search and web_extract, and when a site needs clicks, forms or a login, a remote browser and the tinyfish_agent web agent handle it."
4
4
  author: TinyFish
5
5
  kind: backend
6
6
  # 0.19 added the pre_tool_call approve directive; older Hermes would skip credit approval.
package/pyproject.toml CHANGED
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "tinyfish-hermes"
7
- version = "0.2.1"
7
+ version = "0.2.3"
8
8
  description = "TinyFish plugin for Hermes Agent - Search, Fetch, Browser, and the tinyfish_agent web agent"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -559,7 +559,9 @@ def _hermes(*args: str, capture: bool = True) -> subprocess.CompletedProcess[str
559
559
  return subprocess.run(
560
560
  [sys.executable, "-m", "hermes_cli.main", *args],
561
561
  capture_output=capture,
562
- text=True,
562
+ # Hermes prints UTF-8 glyphs; Windows defaults to cp1252 and crashes.
563
+ encoding="utf-8",
564
+ errors="replace",
563
565
  check=False,
564
566
  )
565
567