workspace

package
v0.2.21 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 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"
	KindA2A      = "a2a"
)

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 workspace directory. The lookup order is:

  1. $AGENTLY_WORKSPACE 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.

Directories

Path Synopsis
Package hotswap aggregates imports that are required by the hot-swap feature but are not yet referenced in the early scaffolding stages.
Package hotswap aggregates imports that are required by the hot-swap feature but are not yet referenced in the early scaffolding stages.
loader
fs
a2a
mcp
service

Jump to

Keyboard shortcuts

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