Class: PendingFromMeleteSkillDecorator

Inherits:
PendingFromMeleteDecorator show all
Defined in:
app/decorators/pending_from_melete_skill_decorator.rb

Overview

Decorates a from_melete_skill PendingMessage — a skill that Melete activated for the upcoming turn. Promotes into a phantom from_melete_skill tool_call/tool_response pair so the LLM sees it as its own past invocation; while pending, it shows in the TUI as a Melete badge so the user knows the skill is about to enter context.

TUI rendering shape lives in PendingFromMeleteDecorator — only the KIND constant and the Melete transcript line differ across the skill/workflow/goal trio.

Constant Summary collapse

KIND =
"skill"

Instance Method Summary collapse

Methods inherited from PendingFromMeleteDecorator

#render_basic, #render_debug, #render_verbose

Methods inherited from PendingMessageDecorator

#render, #render_basic, #render_debug, #render_mneme, #render_verbose

Instance Method Details

#render_meleteString

Returns Melete transcript line (header only — content is the skill body).

Returns:

  • (String)

    Melete transcript line (header only — content is the skill body)



16
17
18
# File 'app/decorators/pending_from_melete_skill_decorator.rb', line 16

def render_melete
  "Melete activated skill: #{source_name}"
end