Documentation
¶
Overview ¶
Package node runs on every machine: it drives herdr/claude locally and talks to the hub over stdio RPC.
Index ¶
- Constants
- func AgyHooksCommand(args []string, out interface{ ... }) error
- func AssistantTUI(args []string, stdin io.Reader, stdout, stderr io.Writer) int
- func AssistantsBusy() bool
- func Attach(ctx context.Context, newNode func() (*Node, error), extra <-chan net.Conn, ...) error
- func AttachSocketPath() string
- func AttachWithTransport(ctx context.Context, newNode func() (*Node, error), extra <-chan net.Conn, ...) error
- func ClaudePluginCommand(ctx context.Context, args []string, stdout, stderr io.Writer) int
- func ClaudePluginManager(logf func(string, ...any)) *claudeplugin.Manager
- func CodexCatalogWait() time.Duration
- func CodexStart(args []string) error
- func DoctorCommand(ctx context.Context, args []string, out io.Writer) (failed bool, err error)
- func GatewayAvailableAgain(text string, at time.Time) (time.Time, bool)
- func Launch(ctx context.Context, name string, args []string, ticket string) error
- func LaunchWithSecrets(ctx context.Context, ticket string, argv []string) error
- func LauncherDetail(p Probe) proto.LauncherDetail
- func LoadMachineUID(dir string) (string, error)
- func MachineUIDPath(dir string) string
- func ModelRecoveryExplanation(reason string) string
- func ModelRecoveryReason(result string) string
- func ModelSourceLaunch(args []string) error
- func NodeLaunchAgentPath(home, label string) string
- func PrintDoctor(out io.Writer, rep DoctorReport)
- func PrintDoctorIn(out io.Writer, rep DoctorReport, lang i18n.Lang)
- func Relay(ctx context.Context, r io.Reader, w io.Writer) (ok bool, err error)
- func ResetMachineUID(dir string) (string, error)
- func RuntimeSocketPath() string
- func ServeTailcat(ctx context.Context, logger *log.Logger, upgraded func()) (conns <-chan net.Conn, stopped <-chan struct{}, err error)
- func SetResident(program, version string)
- func SpoolPath() string
- func StartClaudePlugin(ctx context.Context, logger *log.Logger)
- func TabStart(args []string) error
- func TailcatAddr() (tailcat.Addr, error)
- type ClaudeSetting
- type DirEntry
- type DoctorCheck
- type DoctorOptions
- type DoctorReport
- type FileContent
- type FindResult
- type GitBranch
- type GitCheck
- type GitCommit
- type GitFile
- type GitPR
- type GitPRComment
- type GitPRThread
- type GitPullResult
- type GitShow
- type GitStashEntry
- type GitStatus
- type Handoff
- type HandoffTurn
- type MachineOps
- func (m *MachineOps) Network(ctx context.Context) (proto.MachineNetworkReport, error)
- func (m *MachineOps) Ports(ctx context.Context, params proto.MachinePortsParams) (proto.MachinePortsResult, error)
- func (m *MachineOps) Processes(ctx context.Context, params proto.MachineProcessesParams) (proto.MachineProcessesResult, error)
- func (m *MachineOps) ServiceLogs(ctx context.Context, params proto.MachineServiceLogsParams) (proto.MachineServiceLogsResult, error)
- func (m *MachineOps) Services(ctx context.Context) (proto.MachineServicesReport, error)
- func (m *MachineOps) Storage(ctx context.Context) (proto.MachineStorageReport, error)
- func (m *MachineOps) StorageHotspots(ctx context.Context, params proto.StorageHotspotsParams) (proto.MachineStorageHotspotsReport, error)
- func (m *MachineOps) Toolchain(ctx context.Context, params proto.MachineToolchainParams) (proto.MachineToolchainReport, error)
- type MemoryFile
- type Node
- type PathStat
- type Probe
- type ResidentFiles
- type ResidentReload
- func (r *ResidentReload) Announce(ctx context.Context) error
- func (r *ResidentReload) CancelAnnouncement()
- func (r *ResidentReload) Prepare(ctx context.Context) error
- func (r *ResidentReload) Preparing() bool
- func (r *ResidentReload) ReportUpdateDraining(ctx context.Context, id, target string)
- func (r *ResidentReload) ReportUpdatePreflightFailure(ctx context.Context, id string, err error)
- func (r *ResidentReload) Resume()
- func (r *ResidentReload) SetGrace(grace time.Duration)
- func (r *ResidentReload) SetHeadlessPaused(paused bool)
- func (r *ResidentReload) SetLogger(logger *log.Logger)
- func (r *ResidentReload) SetUpdateDraining(id, target string)
- func (r *ResidentReload) UpdateDraining() *proto.NodeUpdateDraining
- type ResidentTransport
- type RuntimeHost
Constants ¶
const ( DoctorOK = "ok" DoctorWarn = "warn" DoctorFail = "fail" )
Check statuses.
const ( RestoreConversation = "conversation" RestoreCodeAndConv = "code_and_conversation" )
Restore choices of session.rewind.
const ClaudeVersionUnanswered = "unanswered"
ClaudeVersionUnanswered is the claude-version check's state when no version was read but the shell did find claude (it ran out of time, or printed none): the assistant's readiness then says unknown, not claude_missing. The hub matches the literal (assistant/readiness.go); "" is every other outcome, as with nodes from before it.
const DaemonSubprotocol = "persona-runtime.v1"
DaemonSubprotocol is the WebSocket subprotocol a daemon's endpoint must answer with.
const NodeLaunchdLabel = "com.persona.node"
NodeLaunchdLabel is the resident node's launchd agent, as both installers name it (and write it on a new install).
const ResidentHandoverSupported = true
const RuntimeProtocol = 1
RuntimeProtocol is the runtime wire's version, answered to runtime.hello; it grows only for changes old runtimes misread.
Variables ¶
This section is empty.
Functions ¶
func AgyHooksCommand ¶
AgyHooksCommand is `personad node agy-hooks [status|install|uninstall]`: the entries in agy's hooks file. uninstall removes them and keeps the node from putting them back (agyHooksOffFile); install undoes that.
func AssistantTUI ¶
AssistantTUI runs the bridge; it returns the process's exit status.
func AssistantsBusy ¶
func AssistantsBusy() bool
AssistantsBusy: a conversation is answering or waiting on its background tasks or monitors; a resident node asked to restart (SIGHUP, a deploy) waits until none is (cmd/personad runResident). Idle ones resume on the next message.
func Attach ¶
func Attach(ctx context.Context, newNode func() (*Node, error), extra <-chan net.Conn, runtimes *RuntimeHost) error
Attach runs a resident node: it listens on AttachSocketPath and serves one hub connection at a time, each relayed by `personad node --stdio`, or arriving on extra (the hub dialing in over tailcat, tailcat.go; nil: none). A new connection replaces the one being served whichever way either came (the hub reconnected, maybe the other way; the old one may not have noticed yet), as a new ssh-started node used to replace the old one. newNode makes the Node for a connection. runtimes, when set, is the runtime socket (runtimehost.go): opened here, once this is the one resident node, and shared by every connection's Node, so runtimes connect before the hub does and stay connected while it reconnects.
func AttachSocketPath ¶
func AttachSocketPath() string
AttachSocketPath is where a resident node listens for relays.
func AttachWithTransport ¶
func AttachWithTransport(ctx context.Context, newNode func() (*Node, error), extra <-chan net.Conn, runtimes *RuntimeHost, transport *ResidentTransport) error
AttachWithTransport serves on a resident-owned listener that can retain duplicates through an executable handover.
func ClaudePluginCommand ¶
ClaudePluginCommand is `claude-plugin <op>` (nodecmd): the status after op, as JSON.
func ClaudePluginManager ¶
func ClaudePluginManager(logf func(string, ...any)) *claudeplugin.Manager
ClaudePluginManager is the plugin's manager for this computer: the user's Claude Code config directories, the CLI found the way the node finds it (or the desktop app's own), the plugin this build carries.
func CodexCatalogWait ¶
CodexCatalogWait is codexCatalogWait, for nodecmd's check that `personad launch` waits well longer for the node.
func CodexStart ¶
CodexStart is `personad codex-start <file>`: it claims a codexStartFile (renames it away, then reads and removes it), changes to its directory, then runs its words with any message as one more argument after "--", in place of itself. Neither is parsed as shell code. Claimed by a rename, the file is either this process's or withdrawn by the node (a switch whose start gave up on it, codexMessageMayHaveGone): never both. The file's agent replaces a HERDR_AGENT the shell had: appended, the inherited one would come first, and that is the one getenv and herdr read.
func DoctorCommand ¶
DoctorCommand is `personad node doctor [--json] [--fix]`: it prints the report to out and says whether a check failed (the caller exits non-zero then).
func GatewayAvailableAgain ¶
GatewayAvailableAgain shares the transcript parser used by worker usage-limit waits.
func Launch ¶
Launch is `personad launch [--ticket <ticket>] <name> [claude args…]`: the managed launcher's settings from the local node, a hand-off's values with a ticket (secretenv.go), then claude.
func LaunchWithSecrets ¶
LaunchWithSecrets is `personad launch --ticket <ticket> -- <command> [args…]`: plain claude (or what argv names) with a hand-off's values in its environment (secretenv.go), the rest of the environment as the shell gave it.
func LauncherDetail ¶
func LauncherDetail(p Probe) proto.LauncherDetail
LauncherDetail turns a probe into the page's fields: agent, gateway, how it authenticates, every model tier, the context window, effort, flags, and the other settings — secrets masked.
func LoadMachineUID ¶
LoadMachineUID reads the id, making it the first time. A file that does not hold one (edited by hand, cut short) is replaced: an id nobody can match is worse than a new one.
func MachineUIDPath ¶
MachineUIDPath is where the id lives, under dir (~/.persona).
func ModelRecoveryExplanation ¶
ModelRecoveryExplanation is the public, non-internal reason text for a recovery reason enum.
func ModelRecoveryReason ¶
ModelRecoveryReason classifies the failure that moved a conversation off its configured model.
func ModelSourceLaunch ¶
ModelSourceLaunch is the final CLI hop, after shell functions set their environment and provider flags. Provider credentials remain in memory/environment; only header-to-environment bindings reach argv.
func NodeLaunchAgentPath ¶
NodeLaunchAgentPath is where the resident node's launchd agent called label is described.
func PrintDoctor ¶
func PrintDoctor(out io.Writer, rep DoctorReport)
PrintDoctor writes the legacy zh-Hans text report. New display paths choose their language explicitly.
func PrintDoctorIn ¶
func PrintDoctorIn(out io.Writer, rep DoctorReport, lang i18n.Lang)
PrintDoctorIn writes rep, one line per check: label | name: what was found; what to do about it.
func Relay ¶
Relay pipes r / w to a resident node if one is listening. ok is false when there is none (the caller serves the connection itself); otherwise it returns when either side closes.
func ResetMachineUID ¶
ResetMachineUID writes a new id and returns it.
func RuntimeSocketPath ¶
func RuntimeSocketPath() string
RuntimeSocketPath is where runtimes reach the node.
func ServeTailcat ¶
func ServeTailcat(ctx context.Context, logger *log.Logger, upgraded func()) (conns <-chan net.Conn, stopped <-chan struct{}, err error)
ServeTailcat brings up this machine's tailcat endpoint for a resident node, when it was set up for it (`personad node tailcat init`, ~/.persona/tailcat.json): the hub's connections on tunnel.NodePort go to the returned channel (Attach's extra), a new binary on tunnel.UploadPort replaces this one and calls upgraded. Not set up: a nil channel. Starting needs the network (the DERP map, the relay), so it retries in the background until it works: relays over ssh are served meanwhile. stopped closes once ctx ended and the endpoint is down.
func SetResident ¶
func SetResident(program, version string)
SetResident says which program and build the resident node of this process is (nodecmd runResident, before Attach).
func SpoolPath ¶
func SpoolPath() string
SpoolPath is where a resident node keeps what it took while its manager was away.
func StartClaudePlugin ¶
StartClaudePlugin starts the resident node's keeper (runResident).
func TailcatAddr ¶
TailcatAddr is this machine's address for hub.json (machines[].tailcat_addr).
Types ¶
type ClaudeSetting ¶
type ClaudeSetting struct {
Key string `json:"key"`
Title string `json:"title"`
Detail string `json:"detail"`
Type string `json:"type"` // bool | enum | string
Options []string `json:"options,omitempty"`
Default any `json:"default"`
Value any `json:"value"` // nil when unset (Claude Code uses the default)
IgnoredValue string `json:"ignored_value,omitempty"` // stored but not applied by Claude Code
}
ClaudeSetting is one Claude Code /config option the app may change. Only these keys are read or written; everything else in settings.json (of each config directory, claudedirs.go) is preserved as is.
type DirEntry ¶
type DirEntry struct {
Name string `json:"name"`
Dir bool `json:"dir"`
Symlink bool `json:"symlink,omitempty"`
Size int64 `json:"size"`
ModTime time.Time `json:"mtime"`
// Ignored: Git ignores it (the tree dims it); never set outside a repository or without git (fsignore.go).
Ignored bool `json:"ignored,omitempty"`
// LinkTarget: what a symlink says (its text, as readlink gives it); LinkBroken: what it points to is not there, or
// a loop of links. A link is never followed for the listing beyond telling a folder from a file; Size and ModTime
// are its target's when that can be read, otherwise the link's own (#5827).
LinkTarget string `json:"link_target,omitempty"`
LinkBroken bool `json:"link_broken,omitempty"`
}
DirEntry is one row of the phone's file tree.
type DoctorCheck ¶
type DoctorCheck struct {
Name string `json:"name"`
Status string `json:"status"`
// State is current / stale / missing for a generated file or directory, "" for the other checks.
State string `json:"state"`
Detail string `json:"detail"`
Hint string `json:"hint"`
Items []string `json:"items"` // what differs, which commands, ...; never null
}
DoctorCheck is one line of the report; the names are stable for scripts.
type DoctorOptions ¶
type DoctorOptions struct {
// Lang words this run's human-readable fields. Empty keeps the legacy zh-Hans report; it never comes from the
// resident node's environment.
Lang i18n.Lang
Dir string // the node's directory (~/.persona)
Bin string // the program the generated files should run: this binary
// Sockets: node.sock, runtime.sock and herdr's API socket.
NodeSock, RuntimeSock, HerdrSock string
// ClaudeConfigDir is where the user's own Claude Code settings are (read, never written).
ClaudeConfigDir string
// ClaudeVersion asks claude's version ("" when unknown); ClaudeProbe, when set, is asked instead and also says
// whether the shell found no claude at all (claudeProbe), so a version that could not be read this time is not
// reported as Claude Code missing.
ClaudeVersion func(context.Context) string
ClaudeProbe func(context.Context) (version string, missing bool)
// LaunchAgent is the resident node's launchd agent on a Mac (NodeLaunchAgentPath; pickNodeLaunchdLabel says which
// when a Mac keeps its previously installed label); "" elsewhere, and the launchd-process-type check is
// left out.
LaunchAgent string
// LaunchdTarget is that agent as launchctl names it (gui/<uid>/com.persona.node, or the older label).
LaunchdTarget string
// Launchctl runs launchctl and returns its output; nil: launchd is not asked (the check reads the plist only).
Launchctl func(ctx context.Context, args ...string) (string, error)
// InsideNode: the doctor runs in the resident node (node.doctor) or under it. --fix then leaves the LaunchAgent
// alone: loading it again stops the node, and with it the doctor, half way.
InsideNode bool
// RestartWait caps the wait, after --fix loaded the agent again, for the new node to answer (0: nodeRestartWait).
RestartWait time.Duration
// Preflight is the path-access check (preflight.go); nil leaves it out. It receives this run's language so a
// terminal --json run can keep the legacy bytes even when the terminal is not Chinese.
Preflight func(context.Context, i18n.Lang) DoctorCheck
// AgyHooksFile is agy's global hooks file (node/agyhooks.go); "" leaves the check out (agy is not here).
AgyHooksFile string
// Fix writes the generated files again when they are stale or missing, and (outside the node) writes
// ProcessType=Interactive into the LaunchAgent and loads it again.
Fix bool
}
DoctorOptions says where to look; DefaultDoctorOptions fills them in for this machine (tests give their own).
func DefaultDoctorOptions ¶
func DefaultDoctorOptions() (DoctorOptions, error)
DefaultDoctorOptions is this machine's: the same places the node itself uses, without creating or moving any.
type DoctorReport ¶
type DoctorReport struct {
OK bool `json:"ok"` // no check failed
Dir string `json:"dir"`
Checks []DoctorCheck `json:"checks"`
// Fixed names what --fix put right: the generated files it wrote again; on a Mac launchd-process-type when it
// wrote ProcessType into the LaunchAgent and launchd-reload when it loaded the agent again.
Fixed []string `json:"fixed"`
}
DoctorReport is what `node doctor` prints (--json: as it is).
func RunDoctor ¶
func RunDoctor(ctx context.Context, opts DoctorOptions) DoctorReport
RunDoctor runs the checks. With opts.Fix it first puts right what it may (the generated files; outside the node, the LaunchAgent's ProcessType), then checks again.
type FileContent ¶
type FileContent struct {
Path string `json:"path"`
Name string `json:"name"`
Size int64 `json:"size"`
Mime string `json:"mime"`
Text string `json:"text,omitempty"` // UTF-8 text files
Data string `json:"data,omitempty"` // base64 for binary files (images, PDFs), unless asked with stream
Truncated bool `json:"truncated"` // there is more after this page
Offset int64 `json:"offset"` // where this page starts (bytes)
Next int64 `json:"next,omitempty"` // where the next page starts; 0 at the end
IsDir bool `json:"is_dir"`
Entries []string `json:"entries,omitempty"` // directory listing (names, dirs end with /)
// Stream: a binary file asked for with stream; its bytes come from file/download (Range), Revision pins them.
Stream bool `json:"stream,omitempty"`
Revision string `json:"revision,omitempty"`
}
FileContent is a file read for the phone's file viewer (paths mentioned in a conversation).
type FindResult ¶
type FindResult struct {
Cwd string `json:"cwd"`
Files []string `json:"files"`
Truncated bool `json:"truncated"`
Source string `json:"source"` // "git" or "walk"
}
FindResult is the list fs.find returns.
type GitFile ¶
type GitFile struct {
Path string `json:"path"`
OrigPath string `json:"orig_path,omitempty"` // renames
// Index / Worktree are the porcelain status letters (M A D R C U ? or "."), e.g. "M." staged, ".M" unstaged.
Index string `json:"index"`
Worktree string `json:"worktree"`
Added int `json:"added"`
Deleted int `json:"deleted"`
Binary bool `json:"binary,omitempty"`
}
type GitPR ¶
type GitPR struct {
Number int `json:"number"`
URL string `json:"url"`
Title string `json:"title"`
State string `json:"state"` // OPEN, CLOSED, MERGED
Draft bool `json:"draft,omitempty"`
Base string `json:"base"`
Head string `json:"head"`
HeadOID string `json:"head_oid,omitempty"`
Mergeable string `json:"mergeable,omitempty"` // MERGEABLE, CONFLICTING, UNKNOWN
MergeState string `json:"merge_state,omitempty"` // gh's mergeStateStatus: CLEAN, BLOCKED, BEHIND, DIRTY…
Review string `json:"review,omitempty"` // APPROVED, CHANGES_REQUESTED, REVIEW_REQUIRED
ReviewsComplete bool `json:"reviews_complete,omitempty"`
LastReviewAt *time.Time `json:"last_review_at,omitempty"`
AutoMerge bool `json:"auto_merge,omitempty"` // set to merge when ready
Checks []GitCheck `json:"checks"` // the head commit's checks
ChecksState string `json:"checks_state,omitempty"` // passing, failing, pending ("" when there are none)
ChecksComplete bool `json:"checks_complete,omitempty"` // every rollup context was returned and its status was checked
Threads []GitPRThread `json:"threads"` // the open (unresolved) review threads
ThreadsComplete bool `json:"threads_complete,omitempty"`
}
GitPR is the branch's pull request as the panel shows it.
type GitPRComment ¶
type GitPRThread ¶
type GitPRThread struct {
Path string `json:"path"`
Line int `json:"line,omitempty"`
Outdated bool `json:"outdated,omitempty"`
Comments []GitPRComment `json:"comments"`
}
GitPRThread is an unresolved review thread: where, and what was said.
type GitPullResult ¶
type GitStashEntry ¶
type GitStatus ¶
type GitStatus struct {
IsRepo bool `json:"is_repo"`
Root string `json:"root,omitempty"`
Branch string `json:"branch,omitempty"` // empty when detached
Head *GitCommit `json:"head,omitempty"`
Upstream string `json:"upstream,omitempty"`
Ahead int `json:"ahead"`
Behind int `json:"behind"`
Files []GitFile `json:"files"`
Stashes int `json:"stashes"`
Commits []GitCommit `json:"commits"`
// Gone: the upstream is configured but its ref is not there (the remote branch was deleted and pruned, as a merged
// pull request's branch is); ahead and behind are then 0 and mean nothing, and a push publishes the branch again.
Gone bool `json:"gone,omitempty"`
}
type Handoff ¶
type Handoff struct {
Summary string `json:"summary"`
Recent []HandoffTurn `json:"recent"`
}
Handoff is what assistant.handoff reads from a conversation: its latest compaction summary ("" when it was never compacted) and the messages after it, the newest last.
type HandoffTurn ¶
HandoffTurn is one recent message of a conversation handed off: role user or assistant.
type MachineOps ¶
type MachineOps struct {
// contains filtered or unexported fields
}
MachineOps exposes strictly read-only local machine diagnostics for the five machine-ops domains (#12349 storage/hotspots, #12350 toolchain, #12351 redacted network/proxy probes, #12352 listening ports and processes, #12353 user services/containers and bounded logs).
Mutating operations (storage cleanup, process kill, service start/stop/restart) and human-only file browser/write endpoints (#12354/#12403) are deliberately excluded from this surface.
func NewMachineOps ¶
func NewMachineOps() *MachineOps
NewMachineOps creates a standalone read-only diagnostics runner for the local machine without starting any node sockets, hub connections, or background loops.
func (*MachineOps) Network ¶
func (m *MachineOps) Network(ctx context.Context) (proto.MachineNetworkReport, error)
Network runs redacted proxy inspection and fixed allowlisted developer endpoint reachability probes.
func (*MachineOps) Ports ¶
func (m *MachineOps) Ports(ctx context.Context, params proto.MachinePortsParams) (proto.MachinePortsResult, error)
Ports lists active listening TCP/UDP sockets with bind scopes and redacted command lines.
func (*MachineOps) Processes ¶
func (m *MachineOps) Processes(ctx context.Context, params proto.MachineProcessesParams) (proto.MachineProcessesResult, error)
Processes lists running processes with orphan heuristics, protection flags, and redacted command lines.
func (*MachineOps) ServiceLogs ¶
func (m *MachineOps) ServiceLogs(ctx context.Context, params proto.MachineServiceLogsParams) (proto.MachineServiceLogsResult, error)
ServiceLogs fetches bounded tail logs for a validated systemd unit, launchd label, or Docker container.
func (*MachineOps) Services ¶
func (m *MachineOps) Services(ctx context.Context) (proto.MachineServicesReport, error)
Services lists user systemd/launchd services, Docker containers, and manager availability.
func (*MachineOps) Storage ¶
func (m *MachineOps) Storage(ctx context.Context) (proto.MachineStorageReport, error)
Storage collects fast read-only per-mount disk and inode utilization (statfs only).
func (*MachineOps) StorageHotspots ¶
func (m *MachineOps) StorageHotspots(ctx context.Context, params proto.StorageHotspotsParams) (proto.MachineStorageHotspotsReport, error)
StorageHotspots runs an on-demand bounded scan across allowlisted storage hotspot categories.
func (*MachineOps) Toolchain ¶
func (m *MachineOps) Toolchain(ctx context.Context, params proto.MachineToolchainParams) (proto.MachineToolchainReport, error)
Toolchain collects the redacted local development toolchain, agent CLI, Docker/gh, and hardware profile.
type MemoryFile ¶
type MemoryFile struct {
Name string `json:"name"` // file name, e.g. "lark-access.md"
Content string `json:"content"`
UpdatedAt time.Time `json:"updated_at"`
// CreatedAt is when the file was made, where the file system keeps it (fileBirth); absent otherwise.
CreatedAt *time.Time `json:"created_at,omitempty"`
}
type Node ¶
type Node struct {
Version string
// Program is what bin is (nodeproto.ProgramPersonad / ProgramPersonaNode), for node.info; "" says nothing.
Program string
// Edition is the edition bin was built as (nodeproto.EditionFull when nothing says), for node.info.
Edition nodeproto.Edition
// contains filtered or unexported fields
}
func (*Node) Serve ¶
Serve runs the node protocol for one hub connection on r / w until it ends. One Node serves one connection: `personad node --attach` makes a new one per connection (attach.go).
func (*Node) ServeStdio ¶
ServeStdio runs the node protocol on stdin/stdout until the hub disconnects.
func (*Node) SetResidentReload ¶
func (n *Node) SetResidentReload(r *ResidentReload)
func (*Node) SetUpdater ¶
func (n *Node) SetUpdater(updater *nodeupdate.Manager)
SetUpdater is used by the resident's Node factory, never by a stdio node.
func (*Node) StopUnusedHerdr ¶
StopUnusedHerdr is what a node serving one hub connection over stdio does as it ends (#10114): the herdr server it started itself in this process (startHerdr) is stopped when nothing is open in it, so a hub's own machine, or a throwaway hub run for a check, leaves no server behind that it made and nobody used. A server with any pane, one this process did not start, or one that does not answer is left as it is; a later start starts one again. The resident node (--attach) never calls it: its herdr is the user's working set.
type PathStat ¶
type PathStat struct {
Path string `json:"path"` // as asked
Kind string `json:"kind"` // with detail also "link": a symlink whose target is not there (LinkBroken)
Size int64 `json:"size,omitempty"`
// With detail (the Info sheet, files_info.go): permission bits as chmod takes them, owner and group names (numbers
// when unknown), the times the system keeps, a folder's item count, and for a symlink what it says, the real path
// it leads to and whether that is missing. Absent where the platform has no such thing.
Mode *int `json:"mode,omitempty"`
Owner string `json:"owner,omitempty"`
Group string `json:"group,omitempty"`
ModTime *time.Time `json:"mtime,omitempty"`
ChangeTime *time.Time `json:"ctime,omitempty"`
BirthTime *time.Time `json:"birthtime,omitempty"`
Items *int `json:"items,omitempty"`
ItemsMore bool `json:"items_more,omitempty"`
Symlink bool `json:"symlink,omitempty"`
LinkTarget string `json:"link_target,omitempty"`
LinkReal string `json:"link_real,omitempty"`
LinkBroken bool `json:"link_broken,omitempty"`
Mime string `json:"mime,omitempty"` // a regular file's type, as file.read would give it
}
PathStat is whether a path mentioned in a conversation is there on this machine: file, dir, denied (macOS keeps the folder from personad; opening it explains what to do) or missing (also: not resolvable, iCloud Drive).
type Probe ¶
type Probe struct {
Agent string
Args []string
Env map[string]string
File string
// Shell is the shell's environment before the launcher ran (what ~/.zshrc exports for everything); nil when it
// was not seen (a wrapper script read from its text).
Shell map[string]string
// Unset are the variables of Shell the agent did not get (`env -u NAME`, `unset NAME` in the launcher), sorted.
Unset []string
}
Probe is what a launcher would run: the agent, its arguments, the environment it sets. File: the launcher is a file on PATH, which the probe did not run (the stubs cannot reach into it): it is read instead (pathlaunchers.go).
type ResidentFiles ¶
type ResidentFiles struct {
// contains filtered or unexported fields
}
func (*ResidentFiles) Close ¶
func (f *ResidentFiles) Close()
type ResidentReload ¶
type ResidentReload struct {
// contains filtered or unexported fields
}
ResidentReload drains work while Attach is still serving. Only the final exec closes existing connections; idle conversations that need the SIGKILL fallback are reaped before that transport gap begins.
func (*ResidentReload) CancelAnnouncement ¶
func (r *ResidentReload) CancelAnnouncement()
func (*ResidentReload) Prepare ¶
func (r *ResidentReload) Prepare(ctx context.Context) error
Prepare never stops an answering conversation or an admitted RPC. Natural idle pauses admission immediately; after the grace it drains admitted RPCs and holds only headless admission for a bounded window so short continuous turns finish without locking out read-only RPCs, session.stop/session.interrupt, or unrelated conversations when a long-running background task or turn blocks reload. A pre-transfer headless pause stays in force until the manager clears it.
func (*ResidentReload) Preparing ¶
func (r *ResidentReload) Preparing() bool
Preparing reports whether Prepare is currently waiting to drain and restart the resident node.
func (*ResidentReload) ReportUpdateDraining ¶
func (r *ResidentReload) ReportUpdateDraining(ctx context.Context, id, target string)
ReportUpdateDraining records draining state and notifies connected peers without stalling the reload worker.
func (*ResidentReload) ReportUpdatePreflightFailure ¶
func (r *ResidentReload) ReportUpdatePreflightFailure(ctx context.Context, id string, err error)
ReportUpdatePreflightFailure lets the manager stop waiting for a replacement while the current node keeps serving.
func (*ResidentReload) Resume ¶
func (r *ResidentReload) Resume()
func (*ResidentReload) SetGrace ¶
func (r *ResidentReload) SetGrace(grace time.Duration)
SetGrace sets the next Prepare's admission grace. Zero preserves the indefinite natural-idle wait.
func (*ResidentReload) SetHeadlessPaused ¶
func (r *ResidentReload) SetHeadlessPaused(paused bool)
SetHeadlessPaused controls only new external assistant turns. Other RPCs and recovery of an admitted turn continue.
func (*ResidentReload) SetLogger ¶
func (r *ResidentReload) SetLogger(logger *log.Logger)
SetLogger routes reload wait diagnostics to logger instead of the process default logger.
func (*ResidentReload) SetUpdateDraining ¶
func (r *ResidentReload) SetUpdateDraining(id, target string)
SetUpdateDraining records the committed update transaction currently waiting for idle handover, or clears it when id is empty.
func (*ResidentReload) UpdateDraining ¶
func (r *ResidentReload) UpdateDraining() *proto.NodeUpdateDraining
UpdateDraining returns a copy of the active committed update waiting for idle handover, or nil.
type ResidentTransport ¶
ResidentTransport owns the attach listener and its run lock independently of a connection's Node. Keeping duplicates through exec leaves the same socket and accept backlog available to reconnecting relays.
func OpenResidentTransport ¶
func OpenResidentTransport() (*ResidentTransport, error)
func (*ResidentTransport) Close ¶
func (t *ResidentTransport) Close()
func (*ResidentTransport) PrepareExec ¶
func (t *ResidentTransport) PrepareExec() (*ResidentFiles, error)
type RuntimeHost ¶
type RuntimeHost struct {
// contains filtered or unexported fields
}
RuntimeHost is the runtime socket (runtime.sock, runtimes.go) and the runtimes connected to it. A resident node (`personad node --attach`, attach.go) makes one when it starts and shares it with the Node it makes for each hub connection, so runtimes connect before the hub does and stay connected while it reconnects: their sessions are in the first list the next connection sends, and nothing on the runtime's side notices the gap. A node serving its one connection itself (`--stdio` with no resident node) has one of its own, for that connection (listenRuntimeSocket).
Between hub connections runtimes are still answered: hello (with hub: false), their lists are kept, what they push for the phone is dropped (the hub re-watches from where the phone is when it is back), and an ask answers node_gone so the runtime asks again, with the same id, once a hub is connected. Runtimes are told when the hub comes and goes (runtime.hub), so they do not wait on a phone that cannot answer.
func NewRuntimeHost ¶
func NewRuntimeHost(version, path string) *RuntimeHost
NewRuntimeHost is a runtime socket at path (RuntimeSocketPath when empty) for a resident node; Attach starts it.
func (*RuntimeHost) EnableAutoCompanions ¶
func (rh *RuntimeHost) EnableAutoCompanions()
EnableAutoCompanions turns on automatic supervision of built-in CLI companions (Antigravity `agy` and `opencode`) once Listen runs. Production nodes (`personad node --attach` and `personad node --stdio`) enable this; unit test fixtures leave it off so the host machine's installed CLIs never join synthetic runtime tests.
func (*RuntimeHost) Listen ¶
func (rh *RuntimeHost) Listen(ctx context.Context) error
Listen serves runtimes on the socket until ctx ends, re-creating the socket file if something removes it (an older node shutting down), as the hook socket does. It dials the daemons in daemons.json beside the socket too.
Source Files
¶
- a2a_mcp.go
- agent_dispatch_guard.go
- agent_status.go
- agent_usage.go
- agentbots.go
- agentdirs.go
- agentenv.go
- agentfilters.go
- agentplugin.go
- agentsandbox.go
- agentsecrets.go
- agentworktree.go
- agy_model_switch.go
- agyaliases.go
- agybackground.go
- agybridge.go
- agycompanionstop.go
- agyfulltext.go
- agyhooks.go
- agyimage.go
- agyinput.go
- agyompconfig.go
- agypane.go
- agypresence.go
- agypresence_linux.go
- agyqueue.go
- agystopped.go
- agyswarm.go
- agytitle.go
- agytranscript.go
- agytrust.go
- agyturn.go
- agyusage.go
- allowwatch.go
- apikeyapproval.go
- archive.go
- assistant.go
- assistant_agent.go
- assistant_answer_again.go
- assistant_cache_keepalive.go
- assistant_codex.go
- assistant_codex_approve.go
- assistant_codex_compaction_loop.go
- assistant_codex_memory.go
- assistant_codex_notify.go
- assistant_codex_resume.go
- assistant_codex_spawn.go
- assistant_codex_speed.go
- assistant_codex_thread.go
- assistant_compact.go
- assistant_compaction_policy.go
- assistant_config_dir.go
- assistant_context.go
- assistant_control.go
- assistant_execution.go
- assistant_fallback_hold.go
- assistant_fallback_window.go
- assistant_guest.go
- assistant_idle_compact.go
- assistant_instruction_files.go
- assistant_instructions.go
- assistant_interject.go
- assistant_keep.go
- assistant_mcp.go
- assistant_mcp_config.go
- assistant_model_recovery.go
- assistant_permissions.go
- assistant_profile_hooks.go
- assistant_profile_probe.go
- assistant_queue.go
- assistant_read_outside.go
- assistant_reap.go
- assistant_recovery.go
- assistant_resume_model.go
- assistant_resume_signin.go
- assistant_round.go
- assistant_runtime.go
- assistant_runtime_compact.go
- assistant_runtime_memory.go
- assistant_segments.go
- assistant_space.go
- assistant_space_md.go
- assistant_space_recordings.go
- assistant_spare.go
- assistant_stale_turn.go
- assistant_start.go
- assistant_tasks.go
- assistant_tool_search.go
- assistant_tui.go
- assistant_tui_bridge.go
- assistant_tui_run.go
- assistant_tui_term.go
- assistant_tui_translate.go
- assistant_tui_watch.go
- assistant_turn_failure.go
- assistant_usage.go
- assistant_user_setup.go
- assistant_view_stop.go
- assistant_workspace_allow.go
- attach.go
- attach_resume.go
- awake.go
- bgmatch.go
- bgscan.go
- bgwait.go
- browser.go
- browser_cookies.go
- builtin.go
- cachedir.go
- carry.go
- categories_env.go
- ccplugin.go
- ccplugin_peer_unix.go
- ccplugin_perm.go
- checkpoint.go
- checkpoint_process_unix.go
- cindybridge.go
- cindybridge_calls.go
- cindybridge_discovery.go
- cindybridge_prompts.go
- cindybridge_sessions.go
- claude_desktop_envs.go
- claude_oneshot.go
- claude_policy_paths.go
- claude_refusal_prune.go
- claudeauth.go
- claudebg.go
- claudeconfig.go
- claudedesktop.go
- claudedesktop_attend_other.go
- claudedesktop_models.go
- claudedesktop_new.go
- claudedesktop_open.go
- claudedesktop_open_other.go
- claudedesktop_turnask.go
- claudedesktop_unread.go
- claudedirs.go
- claudeenv.go
- claudeenv_other.go
- claudefiles.go
- claudeonboarding.go
- claudeoutside_ask.go
- claudepeer.go
- claudepeer_other.go
- claudeplugin.go
- claudeready.go
- claudestatus.go
- clicall.go
- client.go
- clipboard.go
- close_after_exit.go
- closeout_start.go
- closeout_stop.go
- codex.go
- codex_appdb.go
- codex_apphistory.go
- codex_archive.go
- codex_backoff.go
- codex_backoff_unix.go
- codex_catalog.go
- codex_claim_other.go
- codex_daemon.go
- codex_daemon_socket.go
- codex_desktop.go
- codex_desktop_effort.go
- codex_desktop_native_queue.go
- codex_desktop_queue.go
- codex_desktop_unix.go
- codex_discovery.go
- codex_effort.go
- codex_events.go
- codex_hierarchy.go
- codex_history_lineage.go
- codex_home_index.go
- codex_identity.go
- codex_instance_claims.go
- codex_live_tools.go
- codex_models_cache.go
- codex_openfiles.go
- codex_orca_launch_defaults.go
- codex_paged_history.go
- codex_pane_home.go
- codex_projects.go
- codex_projectsdb.go
- codex_provider_retry.go
- codex_registry.go
- codex_remote.go
- codex_remote_asks.go
- codex_remote_compact.go
- codex_remote_unix.go
- codex_request_ids.go
- codex_resume.go
- codex_rewind.go
- codex_sandbox_guard.go
- codex_speed.go
- codex_sqlite.go
- codex_sqlite_other.go
- codex_start.go
- codex_start_cleanup.go
- codex_start_cmdline_other.go
- codex_start_effort.go
- codex_start_goal.go
- codex_start_input.go
- codex_start_thread.go
- codex_takeover.go
- codex_takeover_unix.go
- codex_terminal_modes.go
- codex_transcript_lookup.go
- codex_waiting.go
- codexapp_cli_other.go
- codexapp_new.go
- codexapp_server.go
- codexask.go
- codexconfig.go
- compact_before_send.go
- compact_recovery_hook.go
- computer.go
- computer_install.go
- connectors.go
- contextwindow.go
- control.go
- convert.go
- credential.go
- cua_extras.go
- cua_gate.go
- daemons.go
- dataless_other.go
- deadproxy.go
- desktop_exec_other.go
- desktop_start_error.go
- desktop_workspaces.go
- dialogmulti.go
- dialogstatus.go
- dirs.go
- displays.go
- doctor.go
- doctor_pluginhooks.go
- doctor_rpc.go
- download.go
- echo.go
- effort_change.go
- elicitation.go
- engine.go
- engine_handoff.go
- engine_handoff_build.go
- engine_switch.go
- external_adapter.go
- external_adapter_unix.go
- external_assistant.go
- external_inventory.go
- external_startup.go
- filebirth_linux.go
- filecopy.go
- fileedit.go
- filemake.go
- filemime.go
- fileoperation.go
- files.go
- files_find.go
- files_info.go
- files_info_linux.go
- files_sysfs_linux.go
- finished_close.go
- firstprompt.go
- focus.go
- fork.go
- fsignore.go
- fswatch.go
- fullclient.go
- gateproxy.go
- gaterelay.go
- ghpath.go
- git.go
- git_identity.go
- gitblob.go
- gitplace.go
- gitplace_cache.go
- gitpr.go
- gitreview.go
- gitstash.go
- gitwrite.go
- globalhooks.go
- grokconfig.go
- handle_clipboard.go
- handle_file.go
- handle_fs.go
- handle_git.go
- handle_preview.go
- handle_worktree.go
- healthdeny.go
- healthreports.go
- herdrchildren.go
- herdrevents.go
- herdrinstall.go
- herdrresume.go
- herdrsessions.go
- herdrstart.go
- herdrstart_unix.go
- hook_outbox.go
- hookdecided.go
- hooks.go
- hooksplugin.go
- hookturn.go
- hookwaiter.go
- hostbotmux.go
- hostbotmux_turns.go
- hostherdr.go
- hostherdr_launch.go
- hostherdr_layout.go
- hostherdr_sessions.go
- hostherdr_stream.go
- hostherdr_watch.go
- hostherdr_workspace_delete.go
- hostherdrcore.go
- hostherdrcore_foreground.go
- hostherdrcore_launch.go
- hostorca.go
- hostorca_keys.go
- hostorca_launch.go
- hostorca_procs.go
- hostorca_terminal.go
- hostorca_worktree.go
- hostrex.go
- hosts.go
- hosttern.go
- hosttmux.go
- inbox_policy.go
- inputhelper.go
- interrupted.go
- knowledge_files.go
- larkcligate.go
- larkgate.go
- larkgate_card_context.go
- larkgate_edit.go
- larkgate_env.go
- larkgate_inline.go
- larkgate_loops.go
- larkgate_normalize.go
- larkgate_parse.go
- larkgate_rules.go
- larkgate_text.go
- larkgate_wrappers.go
- launchagent.go
- launcher_gateway_models.go
- launcher_models.go
- launcher_models_default.go
- launcher_nodejs.go
- launcher_purpose.go
- launcher_settings.go
- launcher_switch.go
- launchercheck.go
- launchercheck_assistant.go
- launcherenv.go
- launcherprobe.go
- launcherquota.go
- launcherrepair.go
- launchers.go
- launchers_shell.go
- launchkey.go
- lcu_install.go
- lcu_installer_shape.go
- lcu_mcp.go
- lcu_status.go
- limit_question.go
- lines.go
- listkey.go
- livereply.go
- longpath_other.go
- lru.go
- machine_files.go
- machine_files_write.go
- machine_network.go
- machine_ops.go
- machine_procs.go
- machine_procs_linux.go
- machine_services.go
- machine_storage.go
- machine_storage_usage.go
- machine_toolchain.go
- machineuid.go
- mailattachment.go
- managed.go
- mcp_caller_cwd.go
- mcp_tools_changes.go
- mcp_wait.go
- memory.go
- memory_dream.go
- memory_merge.go
- meta_prune.go
- metrics.go
- mode_restart.go
- model_config.go
- model_probe.go
- model_refusal.go
- model_restore.go
- model_source.go
- model_source_codex.go
- model_switch.go
- modelhttp.go
- modelrun.go
- modes.go
- modules.go
- node.go
- node_methods.go
- offlauncher.go
- ompcalls.go
- ompdisk.go
- ompresume.go
- opencode.go
- opencodebridge.go
- openelsewhere.go
- opennoblock_unix.go
- orcabridge.go
- os_other.go
- ownership.go
- ownservice.go
- pane_start_exit.go
- panes.go
- panes_actions.go
- panes_bind.go
- panescreen.go
- paneshell_unix.go
- paseobridge.go
- pathguard.go
- pathlaunchers.go
- pathlaunchers_forward.go
- peer_linux.go
- personatab.go
- phonescreen.go
- pi.go
- pi_providers.go
- pifamily.go
- placement.go
- planthen.go
- plugins.go
- plugins_identity.go
- plugins_package.go
- plugins_run.go
- plugins_sync.go
- ports.go
- ports_other.go
- ports_procfs_linux.go
- ports_wintcp.go
- powershell_start.go
- preflight.go
- preview.go
- preview_browser.go
- preview_browser_unix.go
- preview_capture.go
- preview_cdp.go
- preview_events.go
- preview_input.go
- preview_launch.go
- proc_count.go
- procinfo.go
- procstart_linux.go
- project_walk.go
- prompt_files.go
- prompt_language.go
- questioncalls.go
- questiontranscript.go
- queue.go
- readonly_start.go
- rename.go
- renameexcl_linux.go
- repo_mirror.go
- resident_reload.go
- resident_transport.go
- resident_transport_unix.go
- resource_queue.go
- retire.go
- reviewsnapshot.go
- rewind.go
- rfbinput.go
- routine_check.go
- runtime_navigation.go
- runtime_usage.go
- runtime_user_inputs.go
- runtimealiases.go
- runtimeaway.go
- runtimecodex.go
- runtimecontrol.go
- runtimehost.go
- runtimepipe_other.go
- runtimes.go
- runtimes_calls.go
- runtimes_events.go
- runtimes_registry.go
- runtimes_samekind.go
- runtimes_start.go
- runtimetitle.go
- runtimetranscript.go
- runtimeunlisted.go
- runtimeworkspaces.go
- runtimeworkspaces_manage.go
- screen.go
- screenhelper.go
- screenlogin.go
- screenx264.go
- scriptcli.go
- secretenv.go
- secretrun.go
- selfprogram.go
- send.go
- sendnow_hint.go
- sendsafe.go
- sendsafe_submit.go
- sendsafe_turns.go
- session_mention.go
- session_meta.go
- session_model_norm.go
- session_navigation.go
- session_scope.go
- session_skills.go
- session_start_options.go
- session_state.go
- session_visualization.go
- session_watch.go
- sessions.go
- sessions_history.go
- sessions_offline.go
- sessions_sent.go
- sharing.go
- shell_script_path.go
- shellmiss.go
- shellsettle.go
- skill_mentions.go
- skill_mentions_agy.go
- skill_mentions_codex.go
- skills_import.go
- source_generation_other.go
- source_permission.go
- spool.go
- spool_replay.go
- spool_standby.go
- start_agent.go
- start_op.go
- start_speed.go
- startcontinue.go
- startdialogs.go
- startenv.go
- startevidence.go
- startgoal.go
- starthost.go
- starting.go
- startremedy.go
- stop_provenance.go
- stopped.go
- subagents.go
- suggestion.go
- switch_share.go
- sysproxy.go
- sysproxy_other.go
- t3codebridge.go
- t3codebridge_calls.go
- t3codebridge_mcp.go
- tailcat.go
- task_directory.go
- task_instructions.go
- task_terminal.go
- task_workspace.go
- task_workspace_delete_guard.go
- task_workspace_git.go
- task_workspace_git_route.go
- task_workspace_launch.go
- task_workspace_local.go
- task_workspace_session.go
- task_workspace_unix.go
- taskspace.go
- terminal.go
- terminal_speed.go
- terminalrewind.go
- thumb.go
- thumb_orientation.go
- todo_tokens.go
- tomltable.go
- tool_views.go
- toolloop.go
- toolpath.go
- track_inbox.go
- track_kind_env.go
- traex.go
- traex_history.go
- transcript_files.go
- transfer_pack.go
- transfer_unpack.go
- trash_other.go
- ttft.go
- typedstart.go
- ultracode.go
- ultracode_history.go
- update.go
- update_inventory.go
- update_inventory_argv.go
- update_inventory_argv_linux.go
- update_inventory_assistant.go
- update_inventory_codex.go
- update_inventory_hosts.go
- update_inventory_processes.go
- update_inventory_retained.go
- update_inventory_subagents.go
- update_inventory_terminal.go
- upload.go
- upload_sweep.go
- usage.go
- usage_adapters.go
- usage_backfill.go
- usage_dirs.go
- usage_opencode.go
- usage_resplit.go
- usagewindows.go
- usagewindows_claudestream.go
- usagewindows_codex.go
- userprocs.go
- userprocs_linux.go
- watch_tools.go
- workagent.go
- workagent_delivery.go
- workagent_first.go
- workflows.go
- worksent.go
- workspace_create.go
- workspace_naming.go
- workspaces.go
- worktree.go
- worktree_composer.go
- worktree_composer_delete.go
- worktree_links.go
- worktree_reuse.go
- writeguard.go
- zshrc.go
Directories
¶
| Path | Synopsis |
|---|---|
|
Package diskmap is a computer's disk usage map (#14576, docs/server/machine-usage-map.md): the node method machine.storage.usage sizes the disk as a tree the apps draw as a treemap, and the protection rules here decide what the map may offer to move to the trash or hand to an offload provider (machine.storage.check, and again before each trash).
|
Package diskmap is a computer's disk usage map (#14576, docs/server/machine-usage-map.md): the node method machine.storage.usage sizes the disk as a tree the apps draw as a treemap, and the protection rules here decide what the map may offer to move to the trash or hand to an offload provider (machine.storage.check, and again before each trash). |
|
Package imessageport is how the iMessage connector module reaches the node (docs/architecture/core-and-modules.md "Provider seams"): the node's composition root (internal/modules/all/node) provides the module's handler of the hub's connector.* RPCs, and the node answers them with it.
|
Package imessageport is how the iMessage connector module reaches the node (docs/architecture/core-and-modules.md "Provider seams"): the node's composition root (internal/modules/all/node) provides the module's handler of the hub's connector.* RPCs, and the node answers them with it. |
|
Package iphoneport is how the phone-extra module reaches the node (docs/architecture/core-and-modules.md "The node's modules"): the built-in program iphone (docs/extensions/iphone-bridge.md), this computer's paired iPhones over the bridge, which the hub asks over plugin.node.call.
|
Package iphoneport is how the phone-extra module reaches the node (docs/architecture/core-and-modules.md "The node's modules"): the built-in program iphone (docs/extensions/iphone-bridge.md), this computer's paired iPhones over the bridge, which the hub asks over plugin.node.call. |
|
Package larkgateport connects the lark module's node-side gate rules to internal/node without core importing internal/modules/lark (#13404).
|
Package larkgateport connects the lark module's node-side gate rules to internal/node without core importing internal/modules/lark (#13404). |
|
Package machdiag answers a computer's diagnosis and empties its rebuildable caches (#8037, docs/server/machines.md "Diagnosis and cleanup"): node methods machine.diagnose and machine.cleanup.
|
Package machdiag answers a computer's diagnosis and empties its rebuildable caches (#8037, docs/server/machines.md "Diagnosis and cleanup"): node methods machine.diagnose and machine.cleanup. |
|
Package screenport is how the screen-share module reaches the node (docs/architecture/core-and-modules.md "The node's modules"): a live screen whose phone asks for a session (#6398) gets one, with its RFB and video channels resumed across the hub's relays and the computer's direct routes.
|
Package screenport is how the screen-share module reaches the node (docs/architecture/core-and-modules.md "The node's modules"): a live screen whose phone asks for a session (#6398) gets one, with its RFB and video channels resumed across the hub's relays and the computer's direct routes. |
|
Package transcripttail recovers an agent's last words when they fall outside a transcript's quick tail.
|
Package transcripttail recovers an agent's last words when they fall outside a transcript's quick tail. |