Pins tomekdot/hermes-my-github-plugin at 639f0cf, which is what tag v1.2.5 peels to, and labels the entry version: "1.2.5". What the pinned commit carries: - UTF-8 decoding for gh output. Hermes Desktop launches the backend with `python -I`, which ignores PYTHONUTF8 and PYTHONIOENCODING, so locale.getpreferredencoding() inside the serving process is the Windows ANSI code page. The previous pin decoded gh's UTF-8 JSON through that code page, and repo descriptions rendered as mojibake — "Koło" as "KoĹ‚o", the em dash as "â€". Both subprocess.run calls now pass encoding="utf-8" plus errors="replace". - The review fixes from teknium1: _get_gh_token, _get_token and the token check in _api_get_gh are removed, since gh api authenticates itself, and the misleading GITHUB_TOKEN hint in the desktop error message is gone. The docstring now states the plugin uses gh api only and requires gh on PATH. - The four remaining Polish code comments translated to English. plugin.yaml and dashboard/manifest.json both report 1.2.5 at that commit. Verified before pinning: 639f0cf exists on the remote and its tree carries every path this entry claims — plugin.yaml, desktop/plugin.js, dashboard/manifest.json, dashboard/plugin_api.py, dashboard/dist/index.js and dashboard/dist/style.css. tests/test_utf8_decoding.py in that commit passes under `python -I` with a cp1250 locale: 61 repos, 0 mangled descriptions, 12 non-ASCII descriptions byte-identical to the raw gh response, HTTP 200 on /repos and /summary. name, repo, tier, category and capabilities are unchanged.
17 lines
552 B
YAML
17 lines
552 B
YAML
name: my-github
|
|
repo: https://github.com/tomekdot/hermes-my-github-plugin
|
|
sha: 639f0cf0eb580d209b8bc55bbb05d316501ca77c
|
|
description: 'Desktop and dashboard plugin: statusbar chip, palette command, and dashboard tab listing your GitHub repos (public + private) via the gh CLI.'
|
|
maintainer: tomekdot
|
|
tier: community
|
|
category: desktop
|
|
version: "1.2.5"
|
|
requires_hermes: ">=0.21"
|
|
docs_url: https://github.com/tomekdot/hermes-my-github-plugin
|
|
platforms: []
|
|
capabilities:
|
|
provides_tools: []
|
|
provides_hooks: []
|
|
provides_middleware: []
|
|
requires_env: []
|