command

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: MIT Imports: 56 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "0.0.1"
	BuildTime = "unknown"
	GitCommit = "unknown"
)

Functions

func HandleSSHConnect

func HandleSSHConnect(
	ctx context.Context,
	env *tools.Env,
	addr, path string,
	p *tea.Program,
	systemPrompt *string,
	ag **adk.ChatModelAgent,
	chatModel einomodel.ToolCallingChatModel,
	createAgent func() (*adk.ChatModelAgent, error),
	skillDescriptions string,
)

HandleSSHConnect connects to a remote machine via SSH and reconfigures the env. The pure connection + directory-listing logic lives in internal/remote so the web server can reuse it; this function keeps only the TUI glue (p.Send of status/dir messages).

func HandleSSHListDir

func HandleSSHListDir(ctx context.Context, env *tools.Env, path string, p *tea.Program)

HandleSSHListDir runs `ls` on the remote host and sends the results to the TUI directory picker.

func NewACPCmd

func NewACPCmd() *cobra.Command

func NewAutomationCmd added in v0.7.1

func NewAutomationCmd() *cobra.Command

NewAutomationCmd builds the `jcode automation` command tree for managing automations from the terminal. Definition management works standalone (it only touches ~/.jcode/automations.json); periodic firing is owned by a running `jcode web` process.

func NewDoctorCmd

func NewDoctorCmd() *cobra.Command

func NewMCPCmd

func NewMCPCmd() *cobra.Command

func NewMemoryCmd added in v0.9.2

func NewMemoryCmd() *cobra.Command

NewMemoryCmd returns the `jcode memory` command group: inspect, clear and (M2+) synchronize the cross-session learned memory store.

func NewSessionsCmd

func NewSessionsCmd() *cobra.Command

func NewUpdateCmd added in v0.0.3

func NewUpdateCmd() *cobra.Command

func NewVersionCmd

func NewVersionCmd() *cobra.Command

func NewWebCmd

func NewWebCmd() *cobra.Command

func NewWorkflowCmd added in v0.9.2

func NewWorkflowCmd() *cobra.Command

NewWorkflowCmd builds the `jcode workflow` (alias `flow`) command tree for listing, inspecting, and running dynamic workflows from the terminal.

func RunInteractive

func RunInteractive(prompt, resumeUUID string, unsafe bool) error

RunInteractive starts the interactive TUI session. The unsafe flag enables auto-approve for all tool calls and takes precedence over config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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