Top Level Namespace
Defined Under Namespace
Modules: Agents, AnalyticalBrain, Anima, ApplicationCable, Events, LLM, Mcp, Mneme, Providers, Skills, TUI, Tools, Workflows Classes: AgentLoop, AgentMessageDecorator, AgentRequestJob, AnalyticalBrainJob, ApplicationController, ApplicationDecorator, ApplicationJob, ApplicationRecord, CountMessageTokensJob, CredentialStore, EnvironmentSnapshot, Goal, GoalPinnedMessage, Message, MessageDecorator, MnemeJob, PassiveRecallJob, PendingMessage, PinnedMessage, Secret, Session, SessionChannel, ShellSession, Snapshot, SystemMessageDecorator, ToolCallDecorator, ToolDecorator, ToolResponseDecorator, UserMessageDecorator, WebGetToolDecorator
Instance Attribute Summary collapse
-
#branch ⇒ String?
readonly
Current git branch name.
-
#project_files ⇒ Array<String>
readonly
Sorted relative paths to project instruction files.
-
#pwd ⇒ String?
readonly
Current working directory.
-
#repo ⇒ String?
readonly
“owner/repo” extracted from git origin remote.
Instance Attribute Details
#branch ⇒ String? (readonly)
Returns current git branch name.
23 24 25 26 |
# File 'lib/shell_session.rb', line 23 EnvironmentSnapshot = Data.define(:pwd, :branch, :repo, :project_files) do # Sentinel for "never detected" — diffs against this produce a full snapshot. def self.blank = new(pwd: nil, branch: nil, repo: nil, project_files: []) end |
#project_files ⇒ Array<String> (readonly)
Returns sorted relative paths to project instruction files.
23 24 25 26 |
# File 'lib/shell_session.rb', line 23 EnvironmentSnapshot = Data.define(:pwd, :branch, :repo, :project_files) do # Sentinel for "never detected" — diffs against this produce a full snapshot. def self.blank = new(pwd: nil, branch: nil, repo: nil, project_files: []) end |
#pwd ⇒ String? (readonly)
Returns current working directory.
23 24 25 26 |
# File 'lib/shell_session.rb', line 23 EnvironmentSnapshot = Data.define(:pwd, :branch, :repo, :project_files) do # Sentinel for "never detected" — diffs against this produce a full snapshot. def self.blank = new(pwd: nil, branch: nil, repo: nil, project_files: []) end |
#repo ⇒ String? (readonly)
Returns “owner/repo” extracted from git origin remote.
23 24 25 26 |
# File 'lib/shell_session.rb', line 23 EnvironmentSnapshot = Data.define(:pwd, :branch, :repo, :project_files) do # Sentinel for "never detected" — diffs against this produce a full snapshot. def self.blank = new(pwd: nil, branch: nil, repo: nil, project_files: []) end |