Class: Silas::AgentScope

Inherits:
Data
  • Object
show all
Defined in:
lib/silas/agent_scope.rb

Overview

A subagent's capability bundle — its own tools, skills, config, and digest, built by the Registry from app/agent/subagents//. The nested run swaps these in as the active globals for the duration of the delegation.

Instance Attribute Summary collapse

Instance Attribute Details

#agentObject (readonly)

Returns the value of attribute agent

Returns:

  • (Object)

    the current value of agent



5
6
7
# File 'lib/silas/agent_scope.rb', line 5

def agent
  @agent
end

#definitionsObject (readonly)

Returns the value of attribute definitions

Returns:

  • (Object)

    the current value of definitions



5
6
7
# File 'lib/silas/agent_scope.rb', line 5

def definitions
  @definitions
end

#digestObject (readonly)

Returns the value of attribute digest

Returns:

  • (Object)

    the current value of digest



5
6
7
# File 'lib/silas/agent_scope.rb', line 5

def digest
  @digest
end

#dirObject (readonly)

Returns the value of attribute dir

Returns:

  • (Object)

    the current value of dir



5
6
7
# File 'lib/silas/agent_scope.rb', line 5

def dir
  @dir
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



5
6
7
# File 'lib/silas/agent_scope.rb', line 5

def name
  @name
end

#resolverObject (readonly)

Returns the value of attribute resolver

Returns:

  • (Object)

    the current value of resolver



5
6
7
# File 'lib/silas/agent_scope.rb', line 5

def resolver
  @resolver
end

#skillsObject (readonly)

Returns the value of attribute skills

Returns:

  • (Object)

    the current value of skills



5
6
7
# File 'lib/silas/agent_scope.rb', line 5

def skills
  @skills
end