docs

package
v0.16.123 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: Apache-2.0 Imports: 5 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.

README

Documentation

Page What it covers
Compared harnessly next to Happy, Paseo, T3 Code, Orca and Claude Code Remote Control
Getting started build, run the runtime standalone, open tabs, run agents, connect the machine agent
Architecture the runtime gate and its two modes, the core, tmux, the machine agent, the repository layout
Slices the slices of routes, switching them per machine, the shadow comparison
Configuration every RUNTIME_* and AGENT_* environment variable
Deploy plain commands, systemd, Docker, docker compose with boards and artifacts, Helm, Argo CD
Voice input the microphone in the message field: what it needs, the built-in recognition, how to change or turn it off
Build apps and plugins the guide: from an empty folder to a published app, UI and backend, with diagrams and examples; also harnessly app docs
Apps reference every manifest field, SDK call, limit and security layer of apps
Design pages the page model of a design project (meta/), the page commands, the migration, the canvas.json guard
The safe secrets for the agents without the chat: storage, the ask flow, the threat model
Connections the person's Jira, Confluence, YouTrack, Linear, GitLab, GitHub and wikis by a pasted link: detection, storage, routes, the agents' harnessly issues
MCP servers remote MCP servers connected in Settings → Connections: probing, OAuth sign-in in a popup, the proxy, how Claude Code and Codex get them
Integrations boards and artifacts beside the conversation, the agents' environment, the agent skills
The hub running a hub with sign-in for a team: deploy (compose, Caddy, systemd, Helm), connecting a machine, architecture, the contract of the hub, the agent link and the UI

Brand assets (wordmarks, the square avatar and the GitHub social preview) are in brand/.

Documentation

Overview

Package docs carries the documentation in the binary, so a machine with no source checkout and no network has it: the `harnessly app docs` command reads it for an agent, the runtime's page shows it to a person.

Index

Constants

View Source
const (
	LocaleEN = "en"
	LocaleRU = "ru"
)

Locales are the languages the guide is written in; English is the source and the fallback of any page.

Variables

View Source
var Guide embed.FS

Guide holds the guide for authors of apps (build-apps/) and the reference it leans on, with the example packages, and the Russian translation (ru/build-apps/, ru/apps.md) under the same file names. A page with no translation is read in English (pages.go). The `all:` prefix keeps ru/ embeddable while it holds only a placeholder.

Functions

func PageName

func PageName(file string) string

PageName drops the folder, the reading-order number and the extension: build-apps/03-views.md is views.

func Read

func Read(guide fs.FS, locale, name string) ([]byte, bool, error)

Read is the Markdown of the page called name in the locale; false when there is no such page. The name is matched against the listed pages, so nothing the caller sends reaches the file system.

Types

type Page

type Page struct {
	Name     string
	File     string
	Title    string
	Headings []string
}

Page is a page of the guide: its name (on the command line, in the address of the page), its file in the embedded docs, its title and its headings.

func Pages

func Pages(guide fs.FS, locale string) ([]Page, error)

Pages lists the guide in reading order (its files are numbered), and last the reference. The English files make the list; for another locale a page is that locale's file when it has one, else the English one.

Jump to

Keyboard shortcuts

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