ai/

directory
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: AGPL-3.0

Directories

Path Synopsis
acp
Package acp is SSHYard's client for one external local agent process speaking the Agent Client Protocol (github.com/coder/acp-go-sdk).
Package acp is SSHYard's client for one external local agent process speaking the Agent Client Protocol (github.com/coder/acp-go-sdk).
detect
Package detect finds ACP agents installed on this computer, so the user picks one instead of typing a command line.
Package detect finds ACP agents installed on this computer, so the user picks one instead of typing a command line.
internal/fakeagent command
Command fakeagent is a scripted ACP agent for tests.
Command fakeagent is a scripted ACP agent for tests.
Package agent is SSHYard's built-in assistant: one host, one tool loop, every call checked by a policy.Gate.
Package agent is SSHYard's built-in assistant: one host, one tool loop, every call checked by a policy.Gate.
Package audit is the local JSONL log of AI actions.
Package audit is the local JSONL log of AI actions.
Package console drives an interactive terminal for the AI: it types one line as the user would, waits until the device or shell is back at its prompt, pages through "--More--", and stops where the terminal asks for a password or an answer.
Package console drives an interactive terminal for the AI: it types one line as the user would, waits until the device or shell is back at its prompt, pages through "--More--", and stops where the terminal asks for a password or an answer.
Package history keeps the AI conversations of each host, to look back on and carry on.
Package history keeps the AI conversations of each host, to look back on and carry on.
Package llm is the model client: one streaming completion against the configured base URL, with function tools, in one of three wire formats (OpenAI Chat Completions, OpenAI Responses and Anthropic Messages), and one decision from a decision model (OpenAI Decisions, TypeSafe Jev).
Package llm is the model client: one streaming completion against the configured base URL, with function tools, in one of three wire formats (OpenAI Chat Completions, OpenAI Responses and Anthropic Messages), and one decision from a decision model (OpenAI Decisions, TypeSafe Jev).
Package policy grades what an AI agent wants to do by risk and decides, under the session's permission mode, whether SSHYard runs it, asks the user, or asks the review model.
Package policy grades what an AI agent wants to do by risk and decides, under the session's permission mode, whether SSHYard runs it, asks the user, or asks the review model.
Package remote runs an AI command on a host's existing SSH connection.
Package remote runs an AI command on a host's existing SSH connection.

Jump to

Keyboard shortcuts

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