aidevops 3.0.8 → 3.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/VERSION +1 -1
- package/aidevops.sh +7 -1
- package/package.json +1 -1
- package/setup-modules/migrations.sh +4 -0
- package/setup.sh +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.9
|
package/aidevops.sh
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# AI DevOps Framework CLI
|
|
4
4
|
# Usage: aidevops <command> [options]
|
|
5
5
|
#
|
|
6
|
-
# Version: 3.0.
|
|
6
|
+
# Version: 3.0.9
|
|
7
7
|
|
|
8
8
|
set -euo pipefail
|
|
9
9
|
|
|
@@ -1935,6 +1935,8 @@ SOPSEOF
|
|
|
1935
1935
|
|
|
1936
1936
|
# Add runtime artifact ignores
|
|
1937
1937
|
if ! grep -q "^\.agents/loop-state/" "$gitignore" 2>/dev/null; then
|
|
1938
|
+
# Ensure trailing newline before appending (prevents malformed entries like *.zip.agents/loop-state/)
|
|
1939
|
+
[[ -s "$gitignore" && $(tail -c1 "$gitignore" | wc -l) -eq 0 ]] && printf '\n' >>"$gitignore"
|
|
1938
1940
|
{
|
|
1939
1941
|
echo ""
|
|
1940
1942
|
echo "# aidevops runtime artifacts"
|
|
@@ -1955,6 +1957,8 @@ SOPSEOF
|
|
|
1955
1957
|
git -C "$project_root" rm --cached .aidevops.json &>/dev/null || true
|
|
1956
1958
|
print_info "Untracked .aidevops.json from git (was committed by older version)"
|
|
1957
1959
|
fi
|
|
1960
|
+
# Ensure trailing newline before appending
|
|
1961
|
+
[[ -s "$gitignore" && $(tail -c1 "$gitignore" | wc -l) -eq 0 ]] && printf '\n' >>"$gitignore"
|
|
1958
1962
|
echo ".aidevops.json" >>"$gitignore"
|
|
1959
1963
|
gitignore_updated=true
|
|
1960
1964
|
fi
|
|
@@ -1962,6 +1966,8 @@ SOPSEOF
|
|
|
1962
1966
|
# Add .beads if beads is enabled
|
|
1963
1967
|
if [[ "$enable_beads" == "true" ]]; then
|
|
1964
1968
|
if ! grep -q "^\.beads$" "$gitignore" 2>/dev/null; then
|
|
1969
|
+
# Ensure trailing newline before appending
|
|
1970
|
+
[[ -s "$gitignore" && $(tail -c1 "$gitignore" | wc -l) -eq 0 ]] && printf '\n' >>"$gitignore"
|
|
1965
1971
|
echo ".beads" >>"$gitignore"
|
|
1966
1972
|
print_success "Added .beads to .gitignore"
|
|
1967
1973
|
gitignore_updated=true
|
package/package.json
CHANGED
|
@@ -297,6 +297,8 @@ migrate_agent_to_agents_folder() {
|
|
|
297
297
|
|
|
298
298
|
# Add runtime artifact ignores if not present
|
|
299
299
|
if ! grep -q "^\.agents/loop-state/" "$gitignore" 2>/dev/null; then
|
|
300
|
+
# Ensure trailing newline before appending (prevents malformed entries like *.zip.agents/loop-state/)
|
|
301
|
+
[[ -s "$gitignore" && $(tail -c1 "$gitignore" | wc -l) -eq 0 ]] && printf '\n' >>"$gitignore"
|
|
300
302
|
{
|
|
301
303
|
echo ""
|
|
302
304
|
echo "# aidevops runtime artifacts"
|
|
@@ -887,6 +889,8 @@ migrate_loop_state_directories() {
|
|
|
887
889
|
local gitignore="$repo_dir/.gitignore"
|
|
888
890
|
if [[ -f "$gitignore" ]]; then
|
|
889
891
|
if ! grep -q "^\.agents/loop-state/" "$gitignore" 2>/dev/null; then
|
|
892
|
+
# Ensure trailing newline before appending (prevents malformed entries)
|
|
893
|
+
[[ -s "$gitignore" && $(tail -c1 "$gitignore" | wc -l) -eq 0 ]] && printf '\n' >>"$gitignore"
|
|
890
894
|
echo ".agents/loop-state/" >>"$gitignore"
|
|
891
895
|
print_info " Added .agents/loop-state/ to .gitignore"
|
|
892
896
|
fi
|
package/setup.sh
CHANGED
|
@@ -10,7 +10,7 @@ shopt -s inherit_errexit 2>/dev/null || true
|
|
|
10
10
|
# AI Assistant Server Access Framework Setup Script
|
|
11
11
|
# Helps developers set up the framework for their infrastructure
|
|
12
12
|
#
|
|
13
|
-
# Version: 3.0.
|
|
13
|
+
# Version: 3.0.9
|
|
14
14
|
#
|
|
15
15
|
# Quick Install:
|
|
16
16
|
# npm install -g aidevops && aidevops update (recommended)
|