index.ts 808 B

12345678910111213141516171819202122232425262728293031323334
  1. /**
  2. * @openagents/plugin-abilities - Minimal Version
  3. *
  4. * Enforced, validated workflows for OpenCode agents.
  5. * Stripped to essentials for testing core concept.
  6. */
  7. // Core types
  8. export type {
  9. Ability,
  10. Step,
  11. ScriptStep,
  12. InputDefinition,
  13. InputValues,
  14. AbilityExecution,
  15. StepResult,
  16. ExecutorContext,
  17. LoadedAbility,
  18. ValidationResult,
  19. } from './types/index.js'
  20. // Loader
  21. export { loadAbilities, loadAbility } from './loader/index.js'
  22. // Validator
  23. export { validateAbility, validateInputs } from './validator/index.js'
  24. // Executor
  25. export { executeAbility, formatExecutionResult } from './executor/index.js'
  26. export { ExecutionManager } from './executor/execution-manager.js'
  27. // Plugin
  28. export { AbilitiesPlugin } from './opencode-plugin.js'
  29. export { default } from './opencode-plugin.js'