aidevops 2.69.0 → 2.70.0
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/README.md +21 -0
- package/VERSION +1 -1
- package/aidevops.sh +1 -1
- package/package.json +1 -1
- package/setup.sh +79 -1
package/README.md
CHANGED
|
@@ -443,6 +443,27 @@ See `.agent/tools/terminal/terminal-title.md` for customization options.
|
|
|
443
443
|
- **Performance Auditing**: PageSpeed Insights and Lighthouse integration
|
|
444
444
|
- **Uptime Monitoring**: Updown.io integration for website and SSL monitoring
|
|
445
445
|
|
|
446
|
+
## **Imported Skills**
|
|
447
|
+
|
|
448
|
+
aidevops includes curated skills imported from external repositories, with automatic update tracking:
|
|
449
|
+
|
|
450
|
+
| Skill | Source | Description |
|
|
451
|
+
|-------|--------|-------------|
|
|
452
|
+
| **cloudflare-platform** | [dmmulroy/cloudflare-skill](https://github.com/dmmulroy/cloudflare-skill) | 60 Cloudflare products: Workers, Pages, D1, R2, KV, Durable Objects, AI, networking, security |
|
|
453
|
+
| **remotion** | [remotion-dev/skills](https://github.com/remotion-dev/skills) | Programmatic video creation with React, animations, rendering |
|
|
454
|
+
| **animejs** | [Context7 docs](https://animejs.com) | JavaScript animation library patterns and API |
|
|
455
|
+
|
|
456
|
+
**Skill Commands:**
|
|
457
|
+
|
|
458
|
+
```bash
|
|
459
|
+
/add-skill <owner/repo> # Import a skill from GitHub
|
|
460
|
+
/add-skill list # List imported skills
|
|
461
|
+
/add-skill check-updates # Check for upstream updates
|
|
462
|
+
/add-skill <repo> --force # Update an existing skill
|
|
463
|
+
```
|
|
464
|
+
|
|
465
|
+
Skills are registered in `.agent/configs/skill-sources.json` and checked for updates during `./setup.sh`.
|
|
466
|
+
|
|
446
467
|
## **Agent Design Patterns**
|
|
447
468
|
|
|
448
469
|
aidevops implements proven agent design patterns identified by [Lance Martin (LangChain)](https://x.com/RLanceMartin/status/2009683038272401719) and validated across successful agents like Claude Code, Manus, and Cursor.
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.70.0
|
package/aidevops.sh
CHANGED
package/package.json
CHANGED
package/setup.sh
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# AI Assistant Server Access Framework Setup Script
|
|
4
4
|
# Helps developers set up the framework for their infrastructure
|
|
5
5
|
#
|
|
6
|
-
# Version: 2.
|
|
6
|
+
# Version: 2.70.0
|
|
7
7
|
#
|
|
8
8
|
# Quick Install (one-liner):
|
|
9
9
|
# bash <(curl -fsSL https://aidevops.dev/install)
|
|
@@ -1556,6 +1556,83 @@ create_skill_symlinks() {
|
|
|
1556
1556
|
return 0
|
|
1557
1557
|
}
|
|
1558
1558
|
|
|
1559
|
+
# Check for updates to imported skills from upstream repositories
|
|
1560
|
+
check_skill_updates() {
|
|
1561
|
+
print_info "Checking for skill updates..."
|
|
1562
|
+
|
|
1563
|
+
local skill_sources="$HOME/.aidevops/agents/configs/skill-sources.json"
|
|
1564
|
+
|
|
1565
|
+
# Skip if no skill-sources.json or required tools not available
|
|
1566
|
+
if [[ ! -f "$skill_sources" ]]; then
|
|
1567
|
+
print_info "No imported skills to check"
|
|
1568
|
+
return 0
|
|
1569
|
+
fi
|
|
1570
|
+
|
|
1571
|
+
if ! command -v jq &>/dev/null; then
|
|
1572
|
+
print_warning "jq not found - cannot check skill updates"
|
|
1573
|
+
return 0
|
|
1574
|
+
fi
|
|
1575
|
+
|
|
1576
|
+
if ! command -v curl &>/dev/null; then
|
|
1577
|
+
print_warning "curl not found - cannot check skill updates"
|
|
1578
|
+
return 0
|
|
1579
|
+
fi
|
|
1580
|
+
|
|
1581
|
+
local skill_count
|
|
1582
|
+
skill_count=$(jq '.skills | length' "$skill_sources" 2>/dev/null || echo "0")
|
|
1583
|
+
|
|
1584
|
+
if [[ "$skill_count" -eq 0 ]]; then
|
|
1585
|
+
print_info "No imported skills to check"
|
|
1586
|
+
return 0
|
|
1587
|
+
fi
|
|
1588
|
+
|
|
1589
|
+
local updates_available=0
|
|
1590
|
+
local update_list=""
|
|
1591
|
+
|
|
1592
|
+
# Check each skill for updates
|
|
1593
|
+
while IFS= read -r skill_json; do
|
|
1594
|
+
local name upstream_url upstream_commit
|
|
1595
|
+
name=$(echo "$skill_json" | jq -r '.name')
|
|
1596
|
+
upstream_url=$(echo "$skill_json" | jq -r '.upstream_url')
|
|
1597
|
+
upstream_commit=$(echo "$skill_json" | jq -r '.upstream_commit // empty')
|
|
1598
|
+
|
|
1599
|
+
# Skip skills without upstream URL or commit (e.g., context7 imports)
|
|
1600
|
+
if [[ -z "$upstream_url" || "$upstream_url" == "null" ]]; then
|
|
1601
|
+
continue
|
|
1602
|
+
fi
|
|
1603
|
+
if [[ -z "$upstream_commit" ]]; then
|
|
1604
|
+
continue
|
|
1605
|
+
fi
|
|
1606
|
+
|
|
1607
|
+
# Extract owner/repo from GitHub URL
|
|
1608
|
+
local owner_repo
|
|
1609
|
+
owner_repo=$(echo "$upstream_url" | sed -E 's|https://github.com/||; s|\.git$||; s|/tree/.*||')
|
|
1610
|
+
|
|
1611
|
+
if [[ -z "$owner_repo" || ! "$owner_repo" =~ / ]]; then
|
|
1612
|
+
continue
|
|
1613
|
+
fi
|
|
1614
|
+
|
|
1615
|
+
# Get latest commit from GitHub API (silent, with timeout)
|
|
1616
|
+
local latest_commit
|
|
1617
|
+
latest_commit=$(curl -s --max-time 5 "https://api.github.com/repos/$owner_repo/commits?per_page=1" 2>/dev/null | jq -r '.[0].sha // empty')
|
|
1618
|
+
|
|
1619
|
+
if [[ -n "$latest_commit" && "$latest_commit" != "$upstream_commit" ]]; then
|
|
1620
|
+
((updates_available++))
|
|
1621
|
+
update_list="${update_list}\n - $name (${upstream_commit:0:7} → ${latest_commit:0:7})"
|
|
1622
|
+
fi
|
|
1623
|
+
done < <(jq -c '.skills[]' "$skill_sources" 2>/dev/null)
|
|
1624
|
+
|
|
1625
|
+
if [[ $updates_available -gt 0 ]]; then
|
|
1626
|
+
print_warning "Skill updates available:$update_list"
|
|
1627
|
+
print_info "Run: ~/.aidevops/agents/scripts/add-skill-helper.sh check-updates"
|
|
1628
|
+
print_info "To update a skill: ~/.aidevops/agents/scripts/add-skill-helper.sh add <url> --force"
|
|
1629
|
+
else
|
|
1630
|
+
print_success "All imported skills are up to date"
|
|
1631
|
+
fi
|
|
1632
|
+
|
|
1633
|
+
return 0
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1559
1636
|
# Inject aidevops reference into AI assistant AGENTS.md files
|
|
1560
1637
|
inject_agents_reference() {
|
|
1561
1638
|
print_info "Adding aidevops reference to AI assistant configurations..."
|
|
@@ -2663,6 +2740,7 @@ main() {
|
|
|
2663
2740
|
confirm_step "Deploy aidevops agents to ~/.aidevops/agents/" && deploy_aidevops_agents
|
|
2664
2741
|
confirm_step "Generate agent skills (SKILL.md files)" && generate_agent_skills
|
|
2665
2742
|
confirm_step "Create symlinks for imported skills" && create_skill_symlinks
|
|
2743
|
+
confirm_step "Check for skill updates from upstream" && check_skill_updates
|
|
2666
2744
|
confirm_step "Inject agents reference into AI configs" && inject_agents_reference
|
|
2667
2745
|
confirm_step "Update OpenCode configuration" && update_opencode_config
|
|
2668
2746
|
confirm_step "Setup Python environment (DSPy, crawl4ai)" && setup_python_env
|