darrenhinde bc8a322550 feat: enhance installation system with universal path transformation 10 ماه پیش
..
tests ca323285b2 Rename to OpenAgents, remove model specs, and update documentation 10 ماه پیش
README.md ca323285b2 Rename to OpenAgents, remove model specs, and update documentation 10 ماه پیش
cleanup-stale-sessions.sh 5f2cec1404 ✨ feat: introduce OpenAgent universal agent with session management 10 ماه پیش
register-component.sh 3ab70d24a9 fix: simplify registration script to preserve manual registry 10 ماه پیش
uninstall.sh bc8a322550 feat: enhance installation system with universal path transformation 10 ماه پیش
validate-component.sh 777b3fc702 feat: add interactive installer with component registry system 10 ماه پیش
validate-context-refs.sh bc8a322550 feat: enhance installation system with universal path transformation 10 ماه پیش

README.md

Scripts

This directory contains utility scripts for the OpenAgents system.

Available Scripts

Component Management

  • register-component.sh - Register a new component in the registry
  • validate-component.sh - Validate component structure and metadata

Session Management

  • cleanup-stale-sessions.sh - Remove stale agent sessions older than 24 hours

Testing

See tests/ subdirectory for test scripts.

Session Cleanup

Agent instances create temporary context files in .tmp/sessions/{session-id}/ for subagent delegation. These sessions are automatically cleaned up, but you can manually remove stale sessions:

# Clean up sessions older than 24 hours
./scripts/cleanup-stale-sessions.sh

# Or manually delete all sessions
rm -rf .tmp/sessions/

Sessions are safe to delete anytime - they only contain temporary context files for agent coordination.

Usage Examples

Register a Component

./scripts/register-component.sh path/to/component

Validate a Component

./scripts/validate-component.sh path/to/component

Clean Stale Sessions

./scripts/cleanup-stale-sessions.sh