video-agent-kit (0.4.3): hooks invoke python3, which doesn't exist on Windows — SessionStart/UserPromptSubmit/Stop hooks fail on every trigger
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 85/100
Research direction
Start with hooks/hooks.json and inspect the commands for env_check.py, check_video_input.py, and check_closeout.py. Reproduce the hook invocations on Windows with the available Python launchers, then verify that SessionStart, UserPromptSubmit, and Stop no longer produce command-not-found failures.
Written by the indexing model from the issue text.
Description
Environment
- OS: Windows 11 (build 10.0.26200)
- ZCode: desktop client
- Plugin: video-agent-kit 0.4.3
- Python: 3.14 (python.org install — exposes
python.exeand thepylauncher; there is nopython3on PATH)
Symptom
Every SessionStart, UserPromptSubmit, and Stop event logs a hook failure (hook.run.failed in the ZCode log, source plugin.video-agent-kit@zcode-plugins-official.*, ~50 ms duration = command-not-found). Across one day of normal use this produced ~75 failure entries across all open sessions.
Root cause
hooks/hooks.json invokes all three hook scripts through python3:
env_check.py(SessionStart)check_video_input.py(UserPromptSubmit)check_closeout.py(Stop)
Windows Python installers do not create a python3 executable, so the command never resolves.
Suggested fix
Any of:
- Invoke the scripts with
python(present on Windows and nearly all dev machines), or - Resolve the interpreter dynamically at hook time (prefer
python3, fall back topython/py), or - Document a
python3-on-PATH requirement for Windows users.
Side note: env_doctor.py correctly pins the MCP SDK to >=1.0.0,<2.0.0 — installing MCP SDK 2.x satisfies import mcp but breaks the 1.x Server API the plugin uses, so that version-pinned check is doing real work.
Local workaround (for anyone hitting this)
Patch the three interpreter refs in the plugin's hooks/hooks.json from python3 to python, and/or drop a python3.cmd shim (@python %*) into a PATH directory that Windows processes can see (e.g. the Python install dir). Both verified working on 0.4.3.
- Dominant language
- Python
- Stars
- 39
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from zai-org/zcode-plugins
-
Difficulty 5/5 Over a week Newbie friendliness 1/100
zai-org/zcode-plugins#23 · 1 comment · 11 reactions ·
-
你偷用户代码放到服务器,你妈知道吗? Open
Difficulty 5/5 Over a week Newbie friendliness 10/100
zai-org/zcode-plugins#22 · 1 comment · 30 reactions ·
-
日本智谱 Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
zai-org/zcode-plugins#20 · 3 comments · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
zai-org/zcode-plugins#17 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
zai-org/zcode-plugins#16 · 1 comment · 19 reactions ·
All issues in zai-org/zcode-plugins
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
use-agent-os/agent-os#3314 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BasedHardware/omi#15662 · 1 comment ·
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AiursoftWeb/AnduinOS-2#19 ·