Class: Melaya::AgentsNamespace

Inherits:
Struct
  • Object
show all
Defined in:
lib/melaya/namespaces.rb

Overview

Namespace grouping all agent-plane modules.

Modules:

  • pipelines — Pipeline runs, traces, schedules, and overview dashboard. (also aliased as runs for ergonomics)
  • hitl — Human-in-the-loop approval queue: list pending, approve, reject.
  • assistant — Assistant onboarding profile (get + set).
  • phone — Phone device control: pair, list, screen-tree, apps.
  • evals — Agent evaluation runs and benchmarks.
  • models — AI model list (reached via credentials#list_models; this is the CredentialsAPI instance filtered by convention — call models.list_models(provider: "anthropic") etc.)

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#assistantObject

Returns the value of attribute assistant

Returns:

  • (Object)

    the current value of assistant



63
64
65
# File 'lib/melaya/namespaces.rb', line 63

def assistant
  @assistant
end

#evalsObject

Returns the value of attribute evals

Returns:

  • (Object)

    the current value of evals



63
64
65
# File 'lib/melaya/namespaces.rb', line 63

def evals
  @evals
end

#hitlObject

Returns the value of attribute hitl

Returns:

  • (Object)

    the current value of hitl



63
64
65
# File 'lib/melaya/namespaces.rb', line 63

def hitl
  @hitl
end

#modelsObject

Returns the value of attribute models

Returns:

  • (Object)

    the current value of models



63
64
65
# File 'lib/melaya/namespaces.rb', line 63

def models
  @models
end

#phoneObject

Returns the value of attribute phone

Returns:

  • (Object)

    the current value of phone



63
64
65
# File 'lib/melaya/namespaces.rb', line 63

def phone
  @phone
end

#pipelinesObject

Returns the value of attribute pipelines

Returns:

  • (Object)

    the current value of pipelines



63
64
65
# File 'lib/melaya/namespaces.rb', line 63

def pipelines
  @pipelines
end

Instance Method Details

#runsObject

runs is an ergonomic alias for pipelines (agents call them "runs").



73
74
75
# File 'lib/melaya/namespaces.rb', line 73

def runs
  pipelines
end