|
|
4 months ago | |
|---|---|---|
| .. | ||
| tests | 4 months ago | |
| README.md | 4 months ago | |
| auto-detect-components.sh | 4 months ago | |
| bump-version.sh | 4 months ago | |
| cleanup-stale-sessions.sh | 4 months ago | |
| dashboard.sh | 4 months ago | |
| register-component.sh | 4 months ago | |
| test.sh | 4 months ago | |
| uninstall.sh | 4 months ago | |
| validate-component.sh | 4 months ago | |
| validate-context-refs.sh | 4 months ago | |
| validate-registry.sh | 4 months ago | |
This directory contains utility scripts for the OpenAgents system.
test.sh - Main test runner with multi-agent support
./scripts/test.sh openagent./scripts/test.sh openagent --core (7 tests, ~5-8 min)./scripts/test.sh openagent opencode/grok-code-fast./scripts/test.sh openagent --core --debugSee tests/ subdirectory for installer test scripts.
register-component.sh - Register a new component in the registryvalidate-component.sh - Validate component structure and metadatacleanup-stale-sessions.sh - Remove stale agent sessions older than 24 hoursAgent 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.
# Run core test suite (fast, 7 tests, ~5-8 min)
./scripts/test.sh openagent --core
# Run all tests for OpenAgent
./scripts/test.sh openagent
# Run tests with specific model
./scripts/test.sh openagent anthropic/claude-sonnet-4-5
# Run core tests with debug mode
./scripts/test.sh openagent --core --debug
./scripts/register-component.sh path/to/component
./scripts/validate-component.sh path/to/component
./scripts/cleanup-stale-sessions.sh
The core test suite is a subset of 7 carefully selected tests that provide ~85% coverage of critical OpenAgent functionality in just 5-8 minutes.
Use the full test suite (71 tests) for:
See evals/agents/openagent/CORE_TESTS.md for detailed documentation.