Documentation
¶
Index ¶
- func ClaudeContextPath() (string, error)
- func CodexContextPath() (string, error)
- func InstallClaudeContext() (string, string, error)
- func InstallClaudePointerAtPath(path string) (string, error)
- func InstallClaudeSkill(force bool) (string, error)
- func InstallCodexContext() (string, string, error)
- func InstallCodexSkill(force bool) (string, error)
- func InstallContextAtPath(path string) (string, error)
- func InstallHookConfigAtPath(path string) (string, error)
- type InstallOptions
- type InstallResult
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClaudeContextPath ¶ added in v0.3.0
ClaudeContextPath resolves the global Claude CLAUDE.md path.
func CodexContextPath ¶ added in v0.3.0
CodexContextPath resolves the global Codex AGENTS.md path.
func InstallClaudeContext ¶
InstallClaudeContext creates or updates the global Claude context policy block.
func InstallClaudePointerAtPath ¶ added in v0.3.0
InstallClaudePointerAtPath writes the local Claude pointer to AGENTS.md.
func InstallClaudeSkill ¶
InstallClaudeSkill installs the bundled treelines skill into Claude skills directory.
func InstallCodexContext ¶
InstallCodexContext creates or updates the global Codex context policy block.
func InstallCodexSkill ¶
InstallCodexSkill installs the bundled treelines skill into Codex skills directory.
func InstallContextAtPath ¶
InstallContextAtPath creates or updates the managed policy block at a given path.
func InstallHookConfigAtPath ¶ added in v0.3.0
InstallHookConfigAtPath merges the Treelines SessionStart hook into a JSON config.
Types ¶
type InstallOptions ¶ added in v0.3.0
InstallOptions configures a provider-level agent installation.
type InstallResult ¶ added in v0.3.0
type InstallResult struct {
SkillPath string
ContextPath string
ContextAction string
HookPath string
HookAction string
ClaudePointerPath string
ClaudePointerAction string
}
InstallResult reports all paths touched by a provider install.
func InstallProvider ¶ added in v0.3.0
func InstallProvider(options InstallOptions) (InstallResult, error)
InstallProvider installs skill, context, and hooks for one supported agent.