Skip to content

augment

Description

Commands for augmenting project components.

Available Commands:

logging: Add logging handlers to AEA configuration
customs: Augment customs components with OpenAPI3 handlers

Subcommands

connection

Augment an AEA configuration with connections.

customs

Augment a customs component with generated code.

Usage:

adev augment customs openapi3

With Data Access Object integration:

adev augment customs openapi3 --use-daos

Features:

  • Generates handlers for each OpenAPI operation
  • Creates dialogue classes for request/response handling
  • Optionally adds Data Access Object integration
  • Includes error handling and logging

logging

Augment AEA logging configuration with additional handlers.

Required Parameters:

handlers: One or more handlers to add (console, http, logfile)

Usage:

Add console handler:

adev augment logging console


Add multiple handlers:

adev augment logging console http logfile

Notes

- Modifies aea-config.yaml logging configuration
- Available handlers:
    - console: Rich console output
    - http: HTTP POST logging to server
    - logfile: File-based logging
- Each handler can be configured via environment variables

skill-from-fsm

Augment a skill with a new handler.

Required Parameters:

spec_file: Path to the FSM specification file

skill_public_id: Public ID of the skill to augment

Optional Parameters:

auto_confirm (--auto-confirm): Auto confirm the augmentation

verbose (--verbose): Verbose output
force (--force): Force the augmentation

Usage:

adev augment skill_from_fsm fsm_spec.yaml author/skill_name:0.1.0