You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 5, 2026. It is now read-only.
feat: version-tagged releases with update check and workflow (issue #87)
Adds VERSION file (2.0.0), SessionStart version check that notifies
when a newer release is available, /devkit-sync update workflow for
controlled upgrades, and CHANGELOG.md v2.0.0 entry documenting all
changes in this release.
Co-Authored-By: Claude <noreply@anthropic.com>
echo"DevKit: new version available (current: $current, latest: $remote)"
124
+
}
125
+
126
+
# Resolve devkit_path using the same logic as devkit_pull for the version check.
127
+
# This duplicates path resolution but keeps devkit_pull's local scope intact.
128
+
_devkit_resolve_path() {
129
+
local config="$HOME/.devkit-config.json"
130
+
if [ -f"$config" ];then
131
+
local devspace
132
+
devspace=$(grep -o '"devspacePath"[[:space:]]*:[[:space:]]*"[^"]*"'"$config"| head -1 | sed 's/.*"devspacePath"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/'| sed 's|\\\\|/|g')
133
+
if [ -z"$devspace" ];then
134
+
devspace=$(grep -o '"devspace"[[:space:]]*:[[:space:]]*"[^"]*"'"$config"| head -1 | sed 's/.*"devspace"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/'| sed 's|\\\\|/|g')
135
+
fi
136
+
if [ -n"$devspace" ] && [ -f"$devspace/devkit/.sync-manifest.json" ];then
0 commit comments