darrenhinde d7e1aa7f19 feat: add monorepo structure with versioning and CI/CD 4 months ago
..
tests 2bc97007c1 refactor: simplify agent execution philosophy and reorganize context structure 4 months ago
README.md ca323285b2 Rename to OpenAgents, remove model specs, and update documentation 4 months ago
bump-version.sh d7e1aa7f19 feat: add monorepo structure with versioning and CI/CD 4 months ago
cleanup-stale-sessions.sh 5f2cec1404 ✨ feat: introduce OpenAgent universal agent with session management 4 months ago
dashboard.sh d7e1aa7f19 feat: add monorepo structure with versioning and CI/CD 4 months ago
register-component.sh 3ab70d24a9 fix: simplify registration script to preserve manual registry 4 months ago
test.sh d7e1aa7f19 feat: add monorepo structure with versioning and CI/CD 4 months ago
uninstall.sh bc8a322550 feat: enhance installation system with universal path transformation 4 months ago
validate-component.sh 777b3fc702 feat: add interactive installer with component registry system 4 months ago
validate-context-refs.sh bc8a322550 feat: enhance installation system with universal path transformation 4 months ago

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