-
Notifications
You must be signed in to change notification settings - Fork 4
fix: correct skills paths for all packs per official documentation #68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -130,7 +130,7 @@ ok "Pi config written: ${HOME}/.pi/agent/models.json" | |
| # Best-effort: pre-install skills as reference docs for Pi users. | ||
| # Skills are stored per-agent (not auto-discovered), so users must manually | ||
| # create TypeScript extensions to use them. This ensures they're always available. | ||
| PACK_SKILLS_DIR="${HOME}/.pi/agent/skills" | ||
| PACK_SKILLS_DIR="${HOME}/.pi/agent/extensions" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Pointing Useful? React with 👍 / 👎. |
||
| ensure_skills_clone "${PACK_SKILLS_DIR}" || true | ||
| log "Skills installed to ${PACK_SKILLS_DIR} (reference docs; manual extension creation needed)" | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When updating an existing skills repo, any
git fetch/checkouterror immediately moves the current checkout aside before attempting a fresh clone. In a transient outage (network/auth/remote hiccup), the subsequent clone can fail too, and because callers continue (ensure_skills_clone ... || true), the install completes with the original working skills tree removed fromtarget_dir. This turns a best-effort refresh into a destructive regression on reruns.Useful? React with 👍 / 👎.