workspace

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KindAgent    = "agents"
	KindModel    = "models"
	KindEmbedder = "embedders"
	KindMCP      = "mcp"
	KindWorkflow = "workflows"
	KindTool     = "tools"
	KindOAuth    = "oauth"
	KindFeeds    = "feeds"
)

Predefined kinds. Callers may still supply arbitrary sub-folder names when they need custom separation.

Variables

This section is empty.

Functions

func EnsureDefault

func EnsureDefault(fs afs.Service)

EnsureDefault

func Path

func Path(kind string) string

Path returns a sub-path under the root for the given kind (e.g. "agents").

func Root

func Root() string

Root returns the absolute path to the Agently root directory. The lookup order is:

  1. $AGENTLY_ROOT environment variable, if set and non-empty
  2. $HOME/.agently

The result is cached for the lifetime of the process.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL