Module: Norn
- Defined in:
- lib/norn.rb,
lib/norn/cli.rb,
lib/norn/mode.rb,
lib/norn/tool.rb,
lib/norn/skill.rb,
lib/norn/config.rb,
lib/norn/errors.rb,
lib/norn/plugin.rb,
lib/norn/version.rb,
lib/norn/container.rb,
lib/norn/modes/dev.rb,
lib/norn/modes/chat.rb,
lib/norn/modes/task.rb,
lib/norn/diff_helper.rb,
lib/norn/skill_loader.rb,
lib/norn/config_loader.rb,
lib/norn/mode_registry.rb,
lib/norn/plugin_loader.rb,
lib/norn/tool_registry.rb,
lib/norn/ui/gatekeeper.rb,
lib/norn/error_renderer.rb,
lib/norn/global_options.rb,
lib/norn/plugin_manager.rb,
lib/norn/skill_registry.rb,
lib/norn/secret_scrubber.rb,
lib/norn/local_config_reader.rb
Defined Under Namespace
Modules: CLI, GlobalOptions, Modes, SecretScrubber, UI
Classes: Config, ConfigLoader, ConfigurationError, Container, DiffHelper, Error, ErrorRenderer, FailurePayload, LocalConfigReader, Mode, ModeRegistry, Plugin, PluginLoader, PluginManager, ProviderError, Skill, SkillLoader, SkillRegistry, Tool, ToolError, ToolRegistry, UsageError
Constant Summary
collapse
- VERSION =
"0.0.1.pre.20260715171657"
Class Method Summary
collapse
Class Method Details
.[](key) ⇒ Object
A simple helper to access registered dependencies from our container
33
34
35
|
# File 'lib/norn.rb', line 33
def self.[](key)
Container[key]
end
|
.config ⇒ Object
37
38
39
|
# File 'lib/norn.rb', line 37
def self.config
Config.config
end
|
45
46
47
|
# File 'lib/norn.rb', line 45
def self.configure
yield(Config.config)
end
|
.workspace_root ⇒ Object
41
42
43
|
# File 'lib/norn.rb', line 41
def self.workspace_root
config.workspace_root || Dir.pwd
end
|