Sha256: e419af42f5d155295e65f69897c9da91ff6175768e064be6f95d3e170530acdf

Contents?: true

Size: 1.46 KB

Versions: 1

Compression:

Stored size: 1.46 KB

Contents

# frozen_string_literal: true

require 'sequel'
require 'sqlite3'
require 'k_log'

require 'ad/agent_architecture/version'
require 'ad/agent_architecture/database/create_schema'

DB = Sequel.sqlite

Ad::AgentArchitecture::Database::CreateSchema.new(DB).execute

require 'ad/agent_architecture/database/models'
require 'ad/agent_architecture/database/sql_query'
require 'ad/agent_architecture/dsl/attribute_dsl'
require 'ad/agent_architecture/dsl/prompt_dsl'
require 'ad/agent_architecture/dsl/section_dsl'
require 'ad/agent_architecture/dsl/step_dsl'
require 'ad/agent_architecture/dsl/workflow_dsl'
require 'ad/agent_architecture/dsl/agent_dsl'
require 'ad/agent_architecture/dsl/actions/save_database'
require 'ad/agent_architecture/dsl/actions/save_json'
require 'ad/agent_architecture/dsl/actions/save_yaml'
# require 'ad/agent_architecture/report/workflow_detail_report'
# require 'ad/agent_architecture/report/workflow_list_report'

# Alias'
# AgentWorkflow = Ad::AgentArchitecture::Dsl::AgentWorkflowDsl

module Ad
  module AgentArchitecture
    # raise Ad::AgentArchitecture::Error, 'Sample message'
    Error = Class.new(StandardError)

    # Your code goes here...
  end
end

if ENV.fetch('KLUE_DEBUG', 'false').downcase == 'true'
  namespace = 'AdAgentArchitecture::Version'
  file_path = $LOADED_FEATURES.find { |f| f.include?('ad-agent_architecture/version') }
  version   = AdAgentArchitecture::VERSION.ljust(9)
  puts "#{namespace.ljust(35)} : #{version.ljust(9)} : #{file_path}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ad-agent_architecture-0.0.10 lib/ad/agent_architecture.rb