Cannot use in air-gapped environment
Reproduce steps:
VSCode version: 1.106.3 Python: 3.11.4 Already installed uv. Setup a virtual (.venv)
- download the spec-kit-template-copilot-ps-v0.0.90.zip
- unpack into project root.
- in copilot chat. run /speckit.specify
The instructions in speckit.specify.prompt.md outline a detailed process for creating a feature specification and branch. To proceed, I need a feature description (the text after /speckit.specify) to generate a branch name, create a feature structure, and follow the outlined steps.
I've also tried to run in my VSCode terminal (powershell) (.venv) PS F:\src\project_root> init --here --force --ai copilot --no-git
I can see selected AI assistant: copilot and Selected script type: ps
Error downloading template EOF occurred in violation of protocol (_ssl.c:1001)
How do I correctly use spec-kit in air-gapped machine?
Hi,
I have a modification to fix the issue. Here is the proposal:
I need to add an option, --load_tmpl to load local template zip file instead of load from internet. If --load_tmpl follows a directory, the file is matched line #672-675. If --load_tmpl follows a file, use the file as zip file path. When load_tmpl option is added, skip the download_tmplate_from_github and use the specified zip file (or matched file) as zip_path to do extraction and following steps.
You can use similar prompt with some AI code tool to update src/specify_cli/init.py. I checked how to create a PR but I found this project is not well maintained now. https://github.com/github/spec-kit/discussions/1482.
Thanks, David
This issue has been automatically marked as stale because it has not had any activity for 150 days. It will be closed in 30 days if no further activity occurs.
This issue has been automatically closed due to inactivity (180 days total). If you believe this issue is still relevant, please reopen it or create a new issue.