node

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Apache-2.0, Apache-2.0 Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	WorkspaceLockEffect = moduleapi.WorkspaceLockEffect
	WorkspaceLockLocal  = moduleapi.WorkspaceLockLocal
	WorkspaceLockChange = moduleapi.WorkspaceLockChange
)

Variables

View Source
var NewTerminalService = terminal.New
View Source
var OpenSSHTerminal = terminal.OpenSSH
View Source
var ValidateTerminalViewport = terminal.ValidateViewport

Functions

func FileReadMetadata

func FileReadMetadata(worktree protocol.WorktreeID, revisions map[string]string) *map[string]json.RawMessage

FileReadMetadata records the revisions of files whose source a native tool returned. Later edits can reuse those reads in the same worktree.

func ManagedWorktreePath

func ManagedWorktreePath(projectRoot string, id protocol.WorktreeID) string

func VerifyWorktreeMembership

func VerifyWorktreeMembership(ctx context.Context, root, path string) error

func WorkspaceDirectory

func WorkspaceDirectory(path string) (string, error)

Types

type AgentInvocation

type AgentInvocation = store.AgentInvocation

type Assembly

type Assembly = moduleapi.Assembly

func HarnessAssembly

func HarnessAssembly() Assembly

type BuiltInSkill

type BuiltInSkill = moduleapi.BuiltInSkill

func LoadBuiltInSkill

func LoadBuiltInSkill(tree fs.FS, pkg, name string) (BuiltInSkill, error)

LoadBuiltInSkill parses the skill document in a native module's embedded tree.

type CatalogSpec

type CatalogSpec = moduleapi.CatalogSpec

func LoadCatalog

func LoadCatalog(raw []byte) (CatalogSpec, error)

type CodeIndexServiceProvider

type CodeIndexServiceProvider = moduleapi.CodeIndexServiceProvider

type ConnectionToolConfig

type ConnectionToolConfig = moduleapi.ConnectionToolConfig

type DatabaseExecutor

type DatabaseExecutor = moduleapi.DatabaseExecutor

type DatabaseOperation

type DatabaseOperation = store.DatabaseOperation

type DatabaseServiceProvider

type DatabaseServiceProvider = moduleapi.DatabaseServiceProvider

type DefaultPlugin

type DefaultPlugin = plugins.DefaultPackage

type GitCommandResult

type GitCommandResult = moduleapi.GitCommandResult

type GitOptions

type GitOptions = moduleapi.GitOptions

type GitRunner

type GitRunner = moduleapi.GitRunner

type Host

type Host = moduleapi.Host

type Module

type Module = moduleapi.Module

type Node

type Node = node.Node

func StartWithOptions

func StartWithOptions(ctx context.Context, path string, options Options) (*Node, error)

type Options

type Options = node.Options

type ProjectSourcePreparer

type ProjectSourcePreparer = moduleapi.ProjectSourcePreparer

type ProjectWorktree

type ProjectWorktree = store.ProjectWorktree

type PromptPart

type PromptPart = prompt.Part

type RepositoryWatch

type RepositoryWatch = moduleapi.RepositoryWatch

type RepositoryWatchFilter

type RepositoryWatchFilter = moduleapi.RepositoryWatchFilter

type SSHFactory

type SSHFactory = moduleapi.SSHFactory

type SSHService

type SSHService = moduleapi.SSHService

type SSHServiceOptions

type SSHServiceOptions = moduleapi.SSHServiceOptions

type SSHServiceProvider

type SSHServiceProvider = moduleapi.SSHServiceProvider

type SkillProvider

type SkillProvider = moduleapi.SkillProvider

type TerminalFactory

type TerminalFactory = moduleapi.TerminalFactory

type TerminalLaunch

type TerminalLaunch = terminal.Launch

type TerminalService

type TerminalService = terminal.Service

type TerminalServiceProvider

type TerminalServiceProvider = moduleapi.TerminalServiceProvider

type Tool

type Tool = engine.Tool

func BuildCustomTool

func BuildCustomTool(spec ToolSpec, instruction string, execute func(context.Context, ToolRequest) ToolResult) (Tool, error)

type ToolMeta

type ToolMeta = moduleapi.ToolMeta

type ToolRequest

type ToolRequest = canonical.ToolRequest

type ToolResult

type ToolResult = engine.ToolResult

type ToolSpec

type ToolSpec = moduleapi.ToolSpec

type WorkspaceBinder

type WorkspaceBinder = moduleapi.WorkspaceBinder

type WorkspaceBindings

type WorkspaceBindings = moduleapi.WorkspaceBindings

type WorkspaceCommand

type WorkspaceCommand = moduleapi.WorkspaceCommand

type WorkspaceCommandScope

type WorkspaceCommandScope = moduleapi.WorkspaceCommandScope

type WorkspaceFactory

type WorkspaceFactory[T any] = moduleapi.WorkspaceFactory[T]

type WorkspaceLock

type WorkspaceLock = moduleapi.WorkspaceLock

type WorkspaceOptions

type WorkspaceOptions = moduleapi.WorkspaceOptions

type WorkspaceRuntime

type WorkspaceRuntime = moduleapi.WorkspaceRuntime

type WorkspaceServiceProvider

type WorkspaceServiceProvider = moduleapi.WorkspaceServiceProvider

type WorkspaceServices

type WorkspaceServices = moduleapi.WorkspaceServices

type WorkspaceToolConfig

type WorkspaceToolConfig = moduleapi.WorkspaceToolConfig

Jump to

Keyboard shortcuts

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