server

module
v0.0.0-...-e267048 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: MIT

Directories

Path Synopsis
cmd
password-wasm command
This is the browser-only OPAQUE client.
This is the browser-only OPAQUE client.
persona-hub command
Command persona-hub is the hub's program: the hub, its edge and its commands, without the manager (the assistant, the extensions, the computers: persona-manager) or the device's node (persona-node).
Command persona-hub is the hub's program: the hub, its edge and its commands, without the manager (the assistant, the extensions, the computers: persona-manager) or the device's node (persona-node).
persona-link command
Command persona-link (persona-link before #1159; cmd/persona-link is a link to this directory) keeps this computer reachable from the Persona hub when the hub cannot reach it — a laptop on whatever network it is on, a server or NAS behind NAT (docs/operations/link.md).
Command persona-link (persona-link before #1159; cmd/persona-link is a link to this directory) keeps this computer reachable from the Persona hub when the hub cannot reach it — a laptop on whatever network it is on, a server or NAS behind NAT (docs/operations/link.md).
persona-manager command
Command persona-manager is the managers' program: the built-in manager (the assistant), a manager made in the app, their extensions and the computers they connect (and the node of this computer they start), without the hub (persona-hub).
Command persona-manager is the managers' program: the built-in manager (the assistant), a manager made in the app, their extensions and the computers they connect (and the node of this computer they start), without the hub (persona-hub).
persona-node command
Command persona-node is the device's program: the node and the commands a computer runs for its Agents (hook, mcp, ask, notify, launch, …), without the hub or the manager (internal/nodecmd; personad runs the same commands).
Command persona-node is the device's program: the node and the commands a computer runs for its Agents (hook, mcp, ask, notify, launch, …), without the hub or the manager (internal/nodecmd; personad runs the same commands).
persona-projects command
Command persona-projects serves team documents and manages their membership and revisions.
Command persona-projects serves team documents and manages their membership and revisions.
personad command
Command personad is the Persona server: hub, node, hook and mcp modes in one binary.
Command personad is the Persona server: hub, node, hook and mcp modes in one binary.
internal
acceptloop
Package acceptloop serves a listener until it closes, riding out the transient Accept errors that would otherwise stop the loop or make it spin.
Package acceptloop serves a listener until it closes, riding out the transient Accept errors that would otherwise stop the loop or make it spin.
agentprompt
Package agentprompt holds the prompt-shape rules both the manager and the node must agree on.
Package agentprompt holds the prompt-shape rules both the manager and the node must agree on.
agentref
Package agentref names one Agent session on one of the owner's computers: the shared kernel every context uses for a session's identity.
Package agentref names one Agent session on one of the owner's computers: the shared kernel every context uses for a session's identity.
agentref/agentrefadapt
Package agentrefadapt converts between agentref and the wire: a computer's session rows and the pending cards in, assistantwire.SessionRef both ways, and the text of a log line.
Package agentrefadapt converts between agentref and the wire: a computer's session rows and the pending cards in, assistantwire.SessionRef both ways, and the text of a log line.
agents
Package agents is Persona's single view of the agents it can reach.
Package agents is Persona's single view of the agents it can reach.
agentsend
Package agentsend lets scripts send one message and recover its hub receipt.
Package agentsend lets scripts send one message and recover its hub receipt.
agentviewwire
Package agentviewwire is the contract of an Agent's five-phase view: AgentPhase, AgentReason and AgentView, which the manager computes onto Session.view (docs/protocol/agent-states.md "Five phases", docs/plans/plan-typed-core.md 2.1, #15397).
Package agentviewwire is the contract of an Agent's five-phase view: AgentPhase, AgentReason and AgentView, which the manager computes onto Session.view (docs/protocol/agent-states.md "Five phases", docs/plans/plan-typed-core.md 2.1, #15397).
ai
Package ai calls Messages, Responses or Chat Completions APIs for small structured tasks in the app (e.g.
Package ai calls Messages, Responses or Chat Completions APIs for small structured tasks in the app (e.g.
aiwire
Package aiwire is the model configuration as the contract carries it (docs/server/architecture.md "Contract packages"): the manager's model settings travel over the bus in it.
Package aiwire is the model configuration as the contract carries it (docs/server/architecture.md "Contract packages"): the manager's model settings travel over the bus in it.
apierr
Package apierr writes the JSON bodies of the hub's HTTP API (docs/protocol/protocol.md "Error body"): a result, or an error with a stable code.
Package apierr writes the JSON bodies of the hub's HTTP API (docs/protocol/protocol.md "Error body"): a result, or an error with a stable code.
apns
Package apns sends to Apple Push Notification service with a token-based (.p8) key.
Package apns sends to Apple Push Notification service with a token-based (.p8) key.
approval
Package approval carries a prepared assistant mutation between its owner and the interaction coordinator.
Package approval carries a prepared assistant mutation between its owner and the interaction coordinator.
archguard
Package archguard holds only tests that read the server's source: they pin the import boundaries between the contract packages and the parts (the hub, the manager, the node), docs/server/architecture.md "Contract packages", where the entry points reap inherited children (osproc.ReapInherited), ahead of any child they start, and that every listener comes from osproc.Listen or osproc.FileListener, so no child inherits a connection on macOS.
Package archguard holds only tests that read the server's source: they pin the import boundaries between the contract packages and the parts (the hub, the manager, the node), docs/server/architecture.md "Contract packages", where the entry points reap inherited children (osproc.ReapInherited), ahead of any child they start, and that every listener comes from osproc.Listen or osproc.FileListener, so no child inherits a connection on macOS.
archguard/domainrules
Package domainrules is the server's domain rules as code (docs/server/architecture.md "Domain model"): every package declares its layer with a //persona:layer line in its package comment, and the rules for each layer are checked from the source alone, with go/parser and no type information.
Package domainrules is the server's domain rules as code (docs/server/architecture.md "Domain model"): every package declares its layer with a //persona:layer line in its package comment, and the rules for each layer are checked from the source alone, with go/parser and no type information.
archguard/wirecount
Package wirecount counts the weak types in the contract packages and the weak call shapes in the hub's handler layer, for the wire-types ratchet (scripts/ci/wire_types_ratchet.py, docs/operations/testing.md "Count ratchets").
Package wirecount counts the weak types in the contract packages and the weak call shapes in the hub's handler layer, for the wire-types ratchet (scripts/ci/wire_types_ratchet.py, docs/operations/testing.md "Count ratchets").
assistant/agentview
Package agentview decides where an Agent stands in one of five phases (needs you, working, done, error, idle), why, whether its row counts in the Agents list's Needs you, and where it sorts (docs/protocol/agent-states.md "Five phases", docs/plans/plan-typed-core.md 2.1, #15397).
Package agentview decides where an Agent stands in one of five phases (needs you, working, done, error, idle), why, whether its row counts in the Agents list's Needs you, and where it sorts (docs/protocol/agent-states.md "Five phases", docs/plans/plan-typed-core.md 2.1, #15397).
assistant/chatsearch
Package chatsearch is what the assistant's chat search index keeps of a message and how a search matches it: the owner's words and the assistant's replies as the chat shows them, never a hidden tag, a quoted context, a thought or a message Persona wrote for the model (docs/design/proposals/assistant-search.md "One rule for what is searchable").
Package chatsearch is what the assistant's chat search index keeps of a message and how a search matches it: the owner's words and the assistant's replies as the chat shows them, never a hidden tag, a quoted context, a thought or a message Persona wrote for the model (docs/design/proposals/assistant-search.md "One rule for what is searchable").
assistant/externalbinding
Package externalbinding validates external source identities and resolves forwarding policies.
Package externalbinding validates external source identities and resolves forwarding policies.
assistant/externalbinding/externalbindingadapt
Package externalbindingadapt translates external references and forwarding policies between core values and wire data.
Package externalbindingadapt translates external references and forwarding policies between core values and wire data.
assistant/externalsourcestore
Package externalsourcestore stores the assistant manager's external source policy and binding index.
Package externalsourcestore stores the assistant manager's external source policy and binding index.
assistant/fleetcount
Package fleetcount decides which agents and cards need the owner on each surface, and why.
Package fleetcount decides which agents and cards need the owner on each surface, and why.
assistant/fleetcount/fleetcountadapt
Package fleetcountadapt converts between fleetcount and the wire: the hub's sessions and pending cards in, as fleetcount's agents and cards, and the rows fleetcount decides out, as the Live Activity's state, Persona Link's summary and the manager's counts view (docs/protocol/counts.md), and each session's five-phase view (agentview, AttachViews) out, as Session.view.
Package fleetcountadapt converts between fleetcount and the wire: the hub's sessions and pending cards in, as fleetcount's agents and cards, and the rows fleetcount decides out, as the Live Activity's state, Persona Link's summary and the manager's counts view (docs/protocol/counts.md), and each session's five-phase view (agentview, AttachViews) out, as Session.view.
assistant/fleetcount/fleetcounttest
Package fleetcounttest is fleetcount's values for its tests: places in a caller's list, and a visitor that writes a tally's rows down as text.
Package fleetcounttest is fleetcount's values for its tests: places in a caller's list, and a visitor that writes a tally's rows down as text.
assistant/fleetview
Package fleetview is the text the fleet's surfaces write for an agent and a card: its title and place, what a card asks, and its time, in the lengths the Live Activity and Persona Link have room for.
Package fleetview is the text the fleet's surfaces write for an agent and a card: its title and place, what a card asks, and its time, in the lengths the Live Activity and Persona Link have room for.
assistant/kblark
Package kblark imports the owner's Lark (Feishu) meeting minutes and document titles into the knowledge base through lark-cli, the same login the Lark connector uses (docs/assistant/knowledge.md "Lark minutes and documents").
Package kblark imports the owner's Lark (Feishu) meeting minutes and document titles into the knowledge base through lark-cli, the same login the Lark connector uses (docs/assistant/knowledge.md "Lark minutes and documents").
assistant/kernel
Package kernel is the host side of the module contract (internal/modapi; docs/architecture/core-and-modules.md): it loads the built-in modules that are compiled in and switched on, serves modapi.Host to each, and answers the core's questions about what they added.
Package kernel is the host side of the module contract (internal/modapi; docs/architecture/core-and-modules.md): it loads the built-in modules that are compiled in and switched on, serves modapi.Host to each, and answers the core's questions about what they added.
assistant/kernel/seam
Package seam is the assistant's typed registration seam: the modules inside the manager's tree register through it while assistant.New runs, and New seals it before it returns.
Package seam is the assistant's typed registration seam: the modules inside the manager's tree register through it while assistant.New runs, and New seals it before it returns.
assistant/repository
Package repository checks repository metadata for the assistant.
Package repository checks repository metadata for the assistant.
assistant/repositorystore
Package repositorystore keeps to-do repository associations in the assistant manager's database.
Package repositorystore keeps to-do repository associations in the assistant manager's database.
assistant/saved
Package saved holds the assistant's saved prompts (the user's own "/" prompts) saved Agent searches, and starred messages: their rules, storage and HTTP routes.
Package saved holds the assistant's saved prompts (the user's own "/" prompts) saved Agent searches, and starred messages: their rules, storage and HTTP routes.
assistant/supervisionrole
Package supervisionrole names the supervision role a conversation's policy is written for: main, leader, background or side.
Package supervisionrole names the supervision role a conversation's policy is written for: main, leader, background or side.
assistant/supervisionrole/supervisionroleadapt
Package supervisionroleadapt converts between supervisionrole and the words the manager stores for it.
Package supervisionroleadapt converts between supervisionrole and the words the manager stores for it.
assistant/todo/conflict
Package conflict detects write-scope conflicts between concurrent tasks targeting the same repository.
Package conflict detects write-scope conflicts between concurrent tasks targeting the same repository.
assistant/todo/mergetrain
Package mergetrain implements a pure, deterministic state machine for per-repository serial PR merge queues, conflict-driven serialization, tiered merge-policy guards, and a consecutive rebase-failure circuit breaker.
Package mergetrain implements a pure, deterministic state machine for per-repository serial PR merge queues, conflict-driven serialization, tiered merge-policy guards, and a consecutive rebase-failure circuit breaker.
assistant/todo/projection
Package projection works out the To-dos view (#10226): for each to-do its phase, section, reason, line 2, times, marks, asks and steps (assistantwire.TodoSummary), its rank in its section, and the list's counts and places, by the decision table of docs/design/proposals/todos-redesign.md 6.3.
Package projection works out the To-dos view (#10226): for each to-do its phase, section, reason, line 2, times, marks, asks and steps (assistantwire.TodoSummary), its rank in its section, and the list's counts and places, by the decision table of docs/design/proposals/todos-redesign.md 6.3.
assistant/todo/stagegate
Package stagegate evaluates task dependency unlock readiness for part_of / after edges under two modes: default completion/acceptance unlock and todos_v2 contract/stage unlock.
Package stagegate evaluates task dependency unlock readiness for part_of / after edges under two modes: default completion/acceptance unlock and todos_v2 contract/stage unlock.
assistant/todo/timeline
Package timeline groups a to-do's history into the rounds of its conversation (#10465, proposal 3.6 of docs/design/proposals/todos-redesign.md): each instruction or answer of the owner's heads a round, and what followed folds under it (relays, one line per run, asks, decisions, results, scope changes); supervision nobody asked for forms one Background round a day.
Package timeline groups a to-do's history into the rounds of its conversation (#10465, proposal 3.6 of docs/design/proposals/todos-redesign.md): each instruction or answer of the owner's heads a round, and what followed folds under it (relays, one line per run, asks, decisions, results, scope changes); supervision nobody asked for forms one Background round a day.
assistantskills
Package assistantskills puts the assistant's skills in its directory (<assistant dir>/.claude/skills, docs/operations/hub-update.md "Skills move out of the binary"): the user's own, kept in ~/.persona/skills/<name> on the machine that runs the assistant and linked in, and the built-in ones this binary carries, copied in.
Package assistantskills puts the assistant's skills in its directory (<assistant dir>/.claude/skills, docs/operations/hub-update.md "Skills move out of the binary"): the user's own, kept in ~/.persona/skills/<name> on the machine that runs the assistant and linked in, and the built-in ones this binary carries, copied in.
assistantwire
Package assistantwire is what the hub and the assistant (internal/assistant, its own process) say to each other over the bus (docs/protocol/protocol.md "Bus", docs/assistant/assistant.md "Boundary with hub"): each method's and event's name, params and result, the error codes that cross it, and the routes the hub relays.
Package assistantwire is what the hub and the assistant (internal/assistant, its own process) say to each other over the bus (docs/protocol/protocol.md "Bus", docs/assistant/assistant.md "Boundary with hub"): each method's and event's name, params and result, the error codes that cross it, and the routes the hub relays.
botport
Package botport is what the core (internal/extmgr) needs of the chat bot's client: the open platform's REST calls, the long connection that delivers its events, and the device-code registration that creates an app (docs/architecture/core-and-modules.md "Provider seams", #13404).
Package botport is what the core (internal/extmgr) needs of the chat bot's client: the open platform's REST calls, the long connection that delivers its events, and the device-code registration that creates an app (docs/architecture/core-and-modules.md "Provider seams", #13404).
buildtags
Package buildtags computes the -tags value every program in server/cmd is built with, the one line in server/build-tags.txt: the public marker plus a ts_omit_ tag for each tailscale.com feature persona never uses.
Package buildtags computes the -tags value every program in server/cmd is built with, the one line in server/build-tags.txt: the public marker plus a ts_omit_ tag for each tailscale.com feature persona never uses.
buildtags/printtags command
Command printtags prints the -tags line of server/build-tags.txt (package buildtags):
Command printtags prints the -tags line of server/build-tags.txt (package buildtags):
builtinext
Package builtinext is where a built-in module hands the core what the core needs of it to run the module's built-in extension (docs/architecture/core-and-modules.md "Provider seams"): the program a subcommand of personad and persona-manager runs (`personad volc`, `personad voice`), and what the extension host (internal/extmgr) shows of the extension.
Package builtinext is where a built-in module hands the core what the core needs of it to run the module's built-in extension (docs/architecture/core-and-modules.md "Provider seams"): the program a subcommand of personad and persona-manager runs (`personad volc`, `personad voice`), and what the extension host (internal/extmgr) shows of the extension.
bus
Package bus is how a service reaches the hub (docs/protocol/protocol.md "Bus"): it dials GET /api/v1/bus with a token of its own and keeps the connection up.
Package bus is how a service reaches the hub (docs/protocol/protocol.md "Bus"): it dials GET /api/v1/bus with a token of its own and keeps the connection up.
buswire
Package buswire binds bus and RPC method names to their request and reply types.
Package buswire binds bus and RPC method names to their request and reply types.
cachewarm
Package cachewarm refreshes captured provider requests outside the agent turn loop.
Package cachewarm refreshes captured provider requests outside the agent turn loop.
channel
Package channel is what every way of talking to Persona has in common (docs/extensions/channels.md): the Persona apps, the WeChat bot, the Feishu bot, /agent in Feishu, voice.
Package channel is what every way of talking to Persona has in common (docs/extensions/channels.md): the Persona apps, the WeChat bot, the Feishu bot, /agent in Feishu, voice.
channel/conformance
Package conformance holds a channel program to the channel extension point's protocol (docs/extensions/channels.md "Protocol"), after the plugin protocol's own checks (plugin/conformance): every channel the manifest contributes answers channel.send (sent, or cannot_send while there is nowhere to send to) the same way for the same ref, takes channel.typing, refuses a channel it does not have and a method it does not know; what both sides send holds to schema/extension/channel.schema.json.
Package conformance holds a channel program to the channel extension point's protocol (docs/extensions/channels.md "Protocol"), after the plugin protocol's own checks (plugin/conformance): every channel the manifest contributes answers channel.send (sent, or cannot_send while there is nowhere to send to) the same way for the same ref, takes channel.typing, refuses a channel it does not have and a method it does not know; what both sides send holds to schema/extension/channel.schema.json.
chatexport
Package chatexport exports one hub conversation for people working from a terminal.
Package chatexport exports one hub conversation for people working from a terminal.
claudeplugin
Package claudeplugin keeps the Persona plugin for Claude Code installed on a computer (docs/operations/link.md "Claude Code plugin").
Package claudeplugin keeps the Persona plugin for Claude Code installed on a computer (docs/operations/link.md "Claude Code plugin").
cliport
Package cliport is what the core (internal/extmgr, and internal/assistant for the knowledge base's Lark import, kb_lark.go) needs of the lark-cli adapter and its connector: a runner for the profile and identity checks the extension host makes and the commands the import runs (internal/assistant/kblark), and the connector the host registers (docs/architecture/core-and-modules.md "Provider seams", #13404).
Package cliport is what the core (internal/extmgr, and internal/assistant for the knowledge base's Lark import, kb_lark.go) needs of the lark-cli adapter and its connector: a runner for the profile and identity checks the extension host makes and the commands the import runs (internal/assistant/kblark), and the connector the host registers (docs/architecture/core-and-modules.md "Provider seams", #13404).
clitext
Package clitext is what every program's command line shares (personad, persona-node, persona-hub, persona-manager, persona-link): a usage mistake, the program's name in what it prints, and untrusted text made inert before it is printed (Inert).
Package clitext is what every program's command line shares (personad, persona-node, persona-hub, persona-manager, persona-link): a usage mistake, the program's name in what it prints, and untrusted text made inert before it is printed (Inert).
cliwire
Package cliwire is the contract of the lark-cli adapter (internal/modules/lark/larkcli): the runner's configuration, the values it returns and its error kinds, which the extension host (internal/extmgr) reads through internal/cliport (#13404).
Package cliwire is the contract of the lark-cli adapter (internal/modules/lark/larkcli): the runner's configuration, the values it returns and its error kinds, which the extension host (internal/extmgr) reads through internal/cliport (#13404).
closeout
Package closeout reads the structured record an agent ends a turn with (docs/assistant/agent-work.md "Closeout"): whether the work is done, what changed, whether it is merged and deployed, what was verified and what is missing.
Package closeout reads the structured record an agent ends a turn with (docs/assistant/agent-work.md "Closeout"): whether the work is done, what changed, whether it is merged and deployed, what was verified and what is missing.
compat
Package compat contains only the pre-cutover runtime identities required for rolling upgrades.
Package compat contains only the pre-cutover runtime identities required for rolling upgrades.
compatprobe command
This test-only executable builds against both the frozen baseline and the current modules.
This test-only executable builds against both the frozen baseline and the current modules.
configuration
Package configuration defines the portable settings form contract.
Package configuration defines the portable settings form contract.
connector
Package connector is how a source of the user's information (GitHub, iMessage, later Feishu and mail) plugs into the hub: one connector per source, and each pipe the hub has — the assistant's tools, writes behind a gate, the settings page's status, realtime kicks — picks up what the connector implements, so adding a source does not touch those pipes (docs/extensions/connectors.md).
Package connector is how a source of the user's information (GitHub, iMessage, later Feishu and mail) plugs into the hub: one connector per source, and each pipe the hub has — the assistant's tools, writes behind a gate, the settings page's status, realtime kicks — picks up what the connector implements, so adding a source does not touch those pipes (docs/extensions/connectors.md).
connector/conformance
Package conformance holds a connector to the protocol (docs/protocol/connector-protocol.md): it runs the connector on the program's side of the protocol (connector/serve) over a pipe, calls every capability its manifest declares both through the wire and directly, and fails when the two differ — a field the wire loses, a type it changes.
Package conformance holds a connector to the protocol (docs/protocol/connector-protocol.md): it runs the connector on the program's side of the protocol (connector/serve) over a pipe, calls every capability its manifest declares both through the wire and directly, and fails when the two differ — a field the wire loses, a type it changes.
connector/proc
Package proc is a connector that runs in a program of its own and answers for it in the hub.
Package proc is a connector that runs in a program of its own and answers for it in the hub.
connector/serve
Package serve runs a connector in a program of its own, for the hub (connector/proc): the hub starts the program and talks to it over its stdin / stdout with the hub↔node JSON-lines RPC (internal/rpc).
Package serve runs a connector in a program of its own, for the hub (connector/proc): the hub starts the program and talks to it over its stdin / stdout with the hub↔node JSON-lines RPC (internal/rpc).
connectorwire
Package connectorwire is the connectors' part of the contract (docs/server/architecture.md "Contract packages", docs/protocol/connector-protocol.md): inbox things and replies, conversation batches, posts and snapshots as a connector's program, the manager and the hub pass them on.
Package connectorwire is the connectors' part of the contract (docs/server/architecture.md "Contract packages", docs/protocol/connector-protocol.md): inbox things and replies, conversation batches, posts and snapshots as a connector's program, the manager and the hub pass them on.
conversationlog
Package conversationlog describes the manager's durable, runtime-neutral assistant history.
Package conversationlog describes the manager's durable, runtime-neutral assistant history.
db
Package db is the hub's Postgres store (docker container persona-postgres on the hub machine, see docs/server/server.md).
Package db is the hub's Postgres store (docker container persona-postgres on the hub machine, see docs/server/server.md).
db/dbtest
Package dbtest gives a test binary a Postgres database of its own (#583).
Package dbtest gives a test binary a Postgres database of its own (#583).
deeplink
Package deeplink builds the links the hub writes to Persona's pages: the paths of the route table in docs/protocol/deep-links.md (#9926), and their two forms.
Package deeplink builds the links the hub writes to Persona's pages: the paths of the route table in docs/protocol/deep-links.md (#9926), and their two forms.
depguard
Package depguard checks what a program links (go list -deps), for the tests that keep the hub's and the manager's programs apart (cmd/persona-hub, cmd/persona-manager; docs/server/server.md "Programs").
Package depguard checks what a program links (go list -deps), for the tests that keep the hub's and the manager's programs apart (cmd/persona-hub, cmd/persona-manager; docs/server/server.md "Programs").
devices
Package devices is the manager's side of the user's computers (docs/server/machines.md "Who connects to computers"): it connects each one — the hub machine's own node as a child process, ssh, tailcat, a Persona Link that dialed the hub (relayed to the manager as it is), a connector of kind service, a member hub's computer through that hub — keeps it connected, and holds what is known of it: online, node.info, its sessions and their revs, warm start across restarts, the engine, herdr autostart, the Claude config directories, the sessions it keeps listing, its node updates.
Package devices is the manager's side of the user's computers (docs/server/machines.md "Who connects to computers"): it connects each one — the hub machine's own node as a child process, ssh, tailcat, a Persona Link that dialed the hub (relayed to the manager as it is), a connector of kind service, a member hub's computer through that hub — keeps it connected, and holds what is known of it: online, node.info, its sessions and their revs, warm start across restarts, the engine, herdr autostart, the Claude config directories, the sessions it keeps listing, its node updates.
devicewire
Package devicewire is what the hub and the manager that carries the user's computers say to each other over the bus about them (docs/protocol/protocol.md "Computers (devices.*)", docs/server/machines.md "Who connects to computers"): the manager (internal/devices, in `personad assistant`) connects every computer — the local node, ssh, tailcat, Persona Link in both modes, the ones reached through another hub of the mesh — and holds what is known of each; the hub never dials or accepts a computer.
Package devicewire is what the hub and the manager that carries the user's computers say to each other over the bus about them (docs/protocol/protocol.md "Computers (devices.*)", docs/server/machines.md "Who connects to computers"): the manager (internal/devices, in `personad assistant`) connects every computer — the local node, ssh, tailcat, Persona Link in both modes, the ones reached through another hub of the mesh — and holds what is known of each; the hub never dials or accepts a computer.
dialogwire
Package dialogwire is a terminal dialog as the node protocol and the client API carry it (docs/server/architecture.md "Contract packages"): internal/screen reads it off a screen, the node checks it before pressing keys, the apps show it as a card.
Package dialogwire is a terminal dialog as the node protocol and the client API carry it (docs/server/architecture.md "Contract packages"): internal/screen reads it off a screen, the node checks it before pressing keys, the apps show it as a card.
domainkit/clock
Package clock is where the application reads the time: a Clock gives one instant.Now per operation, which the application passes into the cores it calls.
Package clock is where the application reads the time: a Clock gives one instant.Now per operation, which the application passes into the cores it calls.
domainkit/clock/clocktest
Package clocktest is clocks for tests: one fixed at an instant, and a fake one a test moves forward.
Package clocktest is clocks for tests: one fixed at an instant, and a fake one a test moves forward.
domainkit/defect
Package defect raises programmer errors: a wiring mistake, an outcome nobody set, a zero value where the domain refuses one.
Package defect raises programmer errors: a wiring mistake, an outcome nobody set, a zero value where the domain refuses one.
domainkit/domaintest
Package domaintest is short test lines for cores: the value of an outcome that must hold one, and a failure by its kind and code ("refused inbox.item.not_done"), so a test asserts what a core did without a getter added for it (docs/server/architecture.md "Domain model", "Tests").
Package domaintest is short test lines for cores: the value of an outcome that must hold one, and a failure by its kind and code ("refused inbox.item.not_done"), so a test asserts what a core did without a getter added for it (docs/server/architecture.md "Domain model", "Tests").
domainkit/fail
Package fail is the vocabulary of expected failures: a core says why it refused, and only by visiting the failure can a caller tell which kind it was.
Package fail is the vocabulary of expected failures: a core says why it refused, and only by visiting the failure can a caller tell which kind it was.
domainkit/instant
Package instant is time inside cores: an Instant is a point in time, a Span a stretch of it, and Now the reading the application's clock took for one operation.
Package instant is time inside cores: an Instant is a point in time, a Span a stretch of it, and Now the reading the application's clock took for one operation.
domainkit/opt
Package opt is absence inside cores: an Option holds a value or none, without nil pointers or zero markers.
Package opt is absence inside cores: an Option holds a value or none, without nil pointers or zero markers.
domainkit/outcome
Package outcome is the one channel for expected failures: an Of is a value or a failure of the producer's sealed family, never both, and an Of nobody set is a defect wherever it is read, never a success.
Package outcome is the one channel for expected failures: an Of is a value or a failure of the producer's sealed family, never both, and an Of nobody set is a defect wherever it is read, never a success.
domainkit/slot
Package slot is the caller's place for one entry: a core that renders rows for its caller keeps the Slot an adapter gave it per entry and hands it back through its visitor without reading it, and the adapter indexes its own list with it.
Package slot is the caller's place for one entry: a core that renders rows for its caller keeps the Slot an adapter gave it per entry and hands it back through its visitor without reading it, and the adapter indexes its own list with it.
errreport
Package errreport is the generic error and crash reporting of Persona (docs/extensions/extensions.md "Error reports"): the reports of the hub, the manager and the apps are trimmed, scrubbed, fingerprinted, deduplicated and rate limited here before an extension with an error_reports contribution is given them.
Package errreport is the generic error and crash reporting of Persona (docs/extensions/extensions.md "Error reports"): the reports of the hub, the manager and the apps are trimmed, scrubbed, fingerprinted, deduplicated and rate limited here before an extension with an error_reports contribution is given them.
exportfile
Package exportfile creates private export files in an owner-selected directory.
Package exportfile creates private export files in an owner-selected directory.
extension
Package extension is the extension base (docs/extensions/extensions.md, docs/plans/plan-extensions.md): the manifest (persona-extension.json, formerly persona-plugin.json) and its rules, the configuration form's JSON Schema subset, permissions, the registry of installed extensions, and the wire types of the process extension protocol.
Package extension is the extension base (docs/extensions/extensions.md, docs/plans/plan-extensions.md): the manifest (persona-extension.json, formerly persona-plugin.json) and its rules, the configuration form's JSON Schema subset, permissions, the registry of installed extensions, and the wire types of the process extension protocol.
extension/conformance
Package conformance holds a plugin program to the plugin protocol (docs/extensions/extensions.md "Conformance tests"): the handshake, the error codes, the shape of what it answers, and that it exits when the hub goes away.
Package conformance holds a plugin program to the plugin protocol (docs/extensions/extensions.md "Conformance tests"): the handshake, the error codes, the shape of what it answers, and that it exits when the hub goes away.
extension/denohost
Package denohost prepares a pinned shared engine and the trusted stdio adapter.
Package denohost prepares a pinned shared engine and the trusted stdio adapter.
extension/egress
Package egress is the hub's proxy for extensions' outbound connections (docs/extensions/extensions.md "Egress"): each extension it knows reaches only the hosts of its permissions.network, the hub's own API under the name HubHost when it was granted any of it, and the hub machine's loopback under the name LocalHost when its permissions.network lists a loopback address.
Package egress is the hub's proxy for extensions' outbound connections (docs/extensions/extensions.md "Egress"): each extension it knows reaches only the hosts of its permissions.network, the hub's own API under the name HubHost when it was granted any of it, and the hub machine's loopback under the name LocalHost when its permissions.network lists a loopback address.
extension/host
Package host runs plugins for the hub (docs/plans/plan-extensions.md "4" and "6"): it starts a plugin's program when something needs it and stops it when nothing does, restarts it with a backoff when it exits, speaks the plugin protocol with it (initialize, ping, namespaced calls over internal/rpc), and keeps the HTTP side of a plugin that serves one (GET /health).
Package host runs plugins for the hub (docs/plans/plan-extensions.md "4" and "6"): it starts a plugin's program when something needs it and stops it when nothing does, restarts it with a backoff when it exits, speaks the plugin protocol with it (initialize, ping, namespaced calls over internal/rpc), and keeps the HTTP side of a plugin that serves one (GET /health).
extension/hubrelay
Package hubrelay is a manager's relay to the hub's API for its extensions (docs/assistant/managers.md "Extensions and the hub's API").
Package hubrelay is a manager's relay to the hub's API for its extensions (docs/assistant/managers.md "Extensions and the hub's API").
extension/sandbox
Package sandbox runs an extension's program walled off from the hub's machine (docs/extensions/extensions.md "Sandbox"): on Linux in bubblewrap (the system read-only, its package read-only, its own data and run directories writable, no network but the hub's egress proxy) inside a systemd user scope that caps its memory and CPU; on macOS under sandbox-exec.
Package sandbox runs an extension's program walled off from the hub's machine (docs/extensions/extensions.md "Sandbox"): on Linux in bubblewrap (the system read-only, its package read-only, its own data and run directories writable, no network but the hub's egress proxy) inside a systemd user scope that caps its memory and CPU; on macOS under sandbox-exec.
extension/serve
Package serve runs a program on the process protocol (docs/extensions/extensions.md "Process extension protocol") for the conformance kit (extension/conformance) and the hub's tests.
Package serve runs a program on the process protocol (docs/extensions/extensions.md "Process extension protocol") for the conformance kit (extension/conformance) and the hub's tests.
extension/sourcevalidate
Package sourcevalidate validates untrusted module syntax only in a disposable, independently limited native process.
Package sourcevalidate validates untrusted module syntax only in a disposable, independently limited native process.
extension/uistream
Package uistream implements the bounded, immutable native keyed-tree core.
Package uistream implements the bounded, immutable native keyed-tree core.
extmgr
Package extmgr is the manager's extensions, connectors and bots (docs/extensions/extensions.md "Who owns what"), moved here from the hub as they were: the extension registry and its tables (plugins, plugin_secrets, plugin_audit, the markets), installing, upgrading, rolling back and removing, the markets and auto-upgrade, the programs (extension/host, their sandbox and egress proxy, metrics, logs, dev taps), their settings and secrets (only this package opens them), the extensions' tokens and their scopes, every contribution's consumer (UI, themes, widgets, shortcuts, the personal agents' sources, agent filters, model providers and quota, cua / ego / imessage, programs on computers, the assistant's skills, the knowledge base's and the channels' parts); the connector framework with every source (connector_secrets, the inbox's rounds, mail, GitHub, iMessage, the lark-cli path, the sign-ins); the Feishu bot's long connection and the WeChat bot, their pairing and credentials.
Package extmgr is the manager's extensions, connectors and bots (docs/extensions/extensions.md "Who owns what"), moved here from the hub as they were: the extension registry and its tables (plugins, plugin_secrets, plugin_audit, the markets), installing, upgrading, rolling back and removing, the markets and auto-upgrade, the programs (extension/host, their sandbox and egress proxy, metrics, logs, dev taps), their settings and secrets (only this package opens them), the extensions' tokens and their scopes, every contribution's consumer (UI, themes, widgets, shortcuts, the personal agents' sources, agent filters, model providers and quota, cua / ego / imessage, programs on computers, the assistant's skills, the knowledge base's and the channels' parts); the connector framework with every source (connector_secrets, the inbox's rounds, mail, GitHub, iMessage, the lark-cli path, the sign-ins); the Feishu bot's long connection and the WeChat bot, their pairing and credentials.
extmgr/githubport
Package githubport is how the GitHub connector module reaches the extension manager (docs/architecture/core-and-modules.md "Provider seams"): the composition root (internal/modules/all) provides the module's factory, and extmgr makes the built-in GitHub connector with it when the manager runs.
Package githubport is how the GitHub connector module reaches the extension manager (docs/architecture/core-and-modules.md "Provider seams"): the composition root (internal/modules/all) provides the module's factory, and extmgr makes the built-in GitHub connector with it when the manager runs.
extmgr/imessageport
Package imessageport is how the iMessage connector module reaches the extension manager (docs/architecture/core-and-modules.md "Provider seams"): the composition root (internal/modules/all) provides the module's factory, and extmgr makes the connector with it for the Mac the user picked.
Package imessageport is how the iMessage connector module reaches the extension manager (docs/architecture/core-and-modules.md "Provider seams"): the composition root (internal/modules/all) provides the module's factory, and extmgr makes the connector with it for the Mac the user picked.
extmgr/mailport
Package mailport is how the mail module reaches the extension manager (docs/architecture/core-and-modules.md "Provider seams"): the composition root (internal/modules/all) provides the module's factory, and extmgr opens mail with it when the manager runs.
Package mailport is how the mail module reaches the extension manager (docs/architecture/core-and-modules.md "Provider seams"): the composition root (internal/modules/all) provides the module's factory, and extmgr opens mail with it when the manager runs.
extmgr/storage
Package storage implements the manager-owned logical data contract.
Package storage implements the manager-owned logical data contract.
extwire
Package extwire is what the hub and the manager say to each other about the extensions, the connectors and the bots (docs/extensions/extensions.md "Who owns what"): the manager (internal/extmgr, in `personad assistant`) has all of them — the registry with its secrets, the programs, the connectors and their credentials, mail, the Feishu and WeChat bots — and answers their routes; the hub relays the apps' requests to it as they are and keeps the last of what the manager reports for the apps (features, the extensions' parts of the API).
Package extwire is what the hub and the manager say to each other about the extensions, the connectors and the bots (docs/extensions/extensions.md "Who owns what"): the manager (internal/extmgr, in `personad assistant`) has all of them — the registry with its secrets, the programs, the connectors and their credentials, mail, the Feishu and WeChat bots — and answers their routes; the hub relays the apps' requests to it as they are and keeps the last of what the manager reports for the apps (features, the extensions' parts of the API).
githubwire
Package githubwire is the contract between the core and the GitHub connector module (internal/modules/github): the manager.json section the extension manager reads, the built-in connector's methods it calls, the token source it hands the connector, and the CI-check snapshot the assistant reads (docs/architecture/core-and-modules.md "Provider seams").
Package githubwire is the contract between the core and the GitHub connector module (internal/modules/github): the manager.json section the extension manager reads, the built-in connector's methods it calls, the token source it hands the connector, and the CI-check snapshot the assistant reads (docs/architecture/core-and-modules.md "Provider seams").
healthhost
Package healthhost is the seam between the core and the Health module (internal/modules/health, docs/architecture/core-and-modules.md "Health"): what the core asks of the module (Layer) and what the module asks of the core (Host), each in terms both sides name (the standard library, the contracts and the leaf libraries).
Package healthhost is the seam between the core and the Health module (internal/modules/health, docs/architecture/core-and-modules.md "Health"): what the core asks of the module (Layer) and what the module asks of the core (Host), each in terms both sides name (the standard library, the contracts and the leaf libraries).
herdr
Package herdr drives herdr's terminals and agents: over its socket API (one JSON line each way; a unix socket, a named pipe on Windows), or the herdr CLI when the socket is not there (older herdr, another session) — the CLI is a thin client of the same API.
Package herdr drives herdr's terminals and agents: over its socket API (one JSON line each way; a unix socket, a named pipe on Windows), or the herdr CLI when the socket is not there (older herdr, another session) — the CLI is a thin client of the same API.
herdrcore
Package herdrcore talks to herdr-core (`hc`), the terminal runtime behind the Herdr desktop app: JSON-RPC 2.0, one message per line on its unix socket.
Package herdrcore talks to herdr-core (`hc`), the terminal runtime behind the Herdr desktop app: JSON-RPC 2.0, one message per line on its unix socket.
host
Package host is what the node needs from a terminal host — where the terminals run (herdr, later Orca): its panes, reading their screens, typing into them, opening and closing them.
Package host is what the node needs from a terminal host — where the terminals run (herdr, later Orca): its panes, reading their screens, typing into them, opening and closing them.
hub
Package hub serves the iPhone / Watch apps and coordinates the nodes on every machine.
Package hub serves the iPhone / Watch apps and coordinates the nodes on every machine.
hubcli
Package hubcli is the hub's command line: `persona-hub <command>` (cmd/persona-hub) and `personad hub <command>` (cmd/personad, the compatibility entry) run the same code.
Package hubcli is the hub's command line: `persona-hub <command>` (cmd/persona-hub) and `personad hub <command>` (cmd/personad, the compatibility entry) run the same code.
hubclient
Package hubclient shares the paired-device transport for terminal commands.
Package hubclient shares the paired-device transport for terminal commands.
hubedge
Package hubedge is the hub's edge (docs/operations/hub-restart.md "Blue-green switching: the hub's edge"): a thin process that holds the hub's listening sockets for as long as the service runs and relays every connection, byte for byte, to the hub process serving now (the active slot).
Package hubedge is the hub's edge (docs/operations/hub-restart.md "Blue-green switching: the hub's edge"): a thin process that holds the hub's listening sockets for as long as the service runs and relays every connection, byte for byte, to the hub process serving now (the active slot).
i18n
Package i18n is the hub's text for people in the user's language (docs/protocol/i18n.md): pushes, task notifications, injected messages, status and error text.
Package i18n is the hub's text for people in the user's language (docs/protocol/i18n.md): pushes, task notifications, injected messages, status and error text.
imageorient
Package imageorient applies a JPEG's EXIF orientation: the node's file thumbnails (node/thumb.go) and the remote image route (remoteimage) read it from the headers and draw the picture upright before scaling it.
Package imageorient applies a JPEG's EXIF orientation: the node's file thumbnails (node/thumb.go) and the remote image route (remoteimage) read it from the headers and draw the picture upright before scaling it.
imessagewire
Package imessagewire is the contract between the core and the iMessage connector module (internal/modules/imessage): manager.json's section, the connector's id, how the manager asks the Mac's node and the errors that come back, the connector the extension manager drives, and the node's handler of the hub's connector.* RPCs on a Mac (docs/architecture/core-and-modules.md "Provider seams").
Package imessagewire is the contract between the core and the iMessage connector module (internal/modules/imessage): manager.json's section, the connector's id, how the manager asks the Mac's node and the errors that come back, the connector the extension manager drives, and the node's handler of the hub's connector.* RPCs on a Mac (docs/architecture/core-and-modules.md "Provider seams").
jsonsubset
Package jsonsubset checks JSON values against a subset of JSON Schema: model.complete's json_schema (#6102, the assistant's model_rpc.go) and a subscription's tool arguments against the tool's input_schema (internal/subscriptions) use the same rules.
Package jsonsubset checks JSON values against a subset of JSON Schema: model.complete's json_schema (#6102, the assistant's model_rpc.go) and a subscription's tool arguments against the tool's input_schema (internal/subscriptions) use the same rules.
kb
Package kb is Persona' knowledge base under ~/.persona/data (docs/assistant/knowledge.md): every chat's full text by day, AI-compressed context per chat, person and project, and the tags (importance, relevance, free tags) that rank them.
Package kb is Persona' knowledge base under ~/.persona/data (docs/assistant/knowledge.md): every chat's full text by day, AI-compressed context per chat, person and project, and the tags (importance, relevance, free tags) that rank them.
kbwire
Package kbwire is the knowledge base's part of the contract (docs/server/architecture.md "Contract packages"): the entities, hints and requests as they cross the bus and the connector protocol.
Package kbwire is the knowledge base's part of the contract (docs/server/architecture.md "Contract packages"): the entities, hints and requests as they cross the bus and the connector protocol.
knowledgeuihost
Package knowledgeuihost is the seam between the core and the knowledge pages' module (internal/modules/knowledge-ui, docs/architecture/core-and-modules.md "Knowledge UI"): what the core asks of the module (Layer) and what the module asks of the core (Host), each in terms both sides name (the standard library, the knowledge base, the contracts).
Package knowledgeuihost is the seam between the core and the knowledge pages' module (internal/modules/knowledge-ui, docs/architecture/core-and-modules.md "Knowledge UI"): what the core asks of the module (Layer) and what the module asks of the core (Host), each in terms both sides name (the standard library, the knowledge base, the contracts).
lark
Package lark is hub.json's "lark": how the hub and the assistant run lark-cli, Feishu's official open-platform CLI (docs/plans/plan-lark-cli.md).
Package lark is hub.json's "lark": how the hub and the assistant run lark-cli, Feishu's official open-platform CLI (docs/plans/plan-lark-cli.md).
larkhost
Package larkhost is the seam between the core and the Feishu / Lark module's assistant layer (internal/modules/lark, docs/architecture/core-and-modules.md "Lark", #13404): what the core asks of the module (Layer, whose outbound half is the channel port Outbound) and what the module asks of the core (Host), each in terms both sides name (the standard library, internal/botcard and the contracts).
Package larkhost is the seam between the core and the Feishu / Lark module's assistant layer (internal/modules/lark, docs/architecture/core-and-modules.md "Lark", #13404): what the core asks of the module (Layer, whose outbound half is the channel port Outbound) and what the module asks of the core (Host), each in terms both sides name (the standard library, internal/botcard and the contracts).
larksyncwire
Package larksyncwire is the contract between the extension manager (internal/extmgr) and the Lark module's user sync (internal/modules/lark/larksync): the owner authorizes a bot's app to read as them once, and every day the sync reads what changed in their chats, drive, documents, wiki and minutes into the knowledge base (docs/extensions/bots.md "Reading as you: daily sync").
Package larksyncwire is the contract between the extension manager (internal/extmgr) and the Lark module's user sync (internal/modules/lark/larksync): the owner authorizes a bot's app to read as them once, and every day the sync reads what changed in their chats, drive, documents, wiki and minutes into the knowledge base (docs/extensions/bots.md "Reading as you: daily sync").
lazyre
Package lazyre is a regular expression compiled the first time it is used, for package-level patterns.
Package lazyre is a regular expression compiled the first time it is used, for package-level patterns.
lcuconfirm
Package lcuconfirm maps an LCU (amontlabs/lcu) MCP elicitation onto the permission and question cards Persona already shows, and maps the user's answer back.
Package lcuconfirm maps an LCU (amontlabs/lcu) MCP elicitation onto the permission and question cards Persona already shows, and maps the user's answer back.
link
Package link is persona-link, the small program that keeps a computer reachable from the hub when the hub cannot reach it (a laptop on whatever network it is on), and the protocol it speaks with the hub.
Package link is persona-link, the small program that keeps a computer reachable from the hub when the hub cannot reach it (a laptop on whatever network it is on), and the protocol it speaks with the hub.
linktray
Package linktray is the Windows tray for Persona Link (docs/operations/windows.md "Tray"): what persona-link and the scheduled task say, turned into the tray icon, the panel's lines and its actions.
Package linktray is the Windows tray for Persona Link (docs/operations/windows.md "Tray"): what persona-link and the scheduled task say, turned into the tray icon, the panel's lines and its actions.
linkwire
Package linkwire is Persona Link's "Needs you" summary as the wire carries it (docs/operations/link.md "Needs you"): the manager works it out, the devices hand it to each computer's Persona Link, and the menu bar app and the Windows tray show it.
Package linkwire is Persona Link's "Needs you" summary as the wire carries it (docs/operations/link.md "Needs you"): the manager works it out, the devices hand it to each computer's Persona Link, and the menu bar app and the Windows tray show it.
lookmedia
Package lookmedia decodes still and animated avatar uploads (PNG/APNG, JPEG, GIF, WebP), normalizes animation bounds, encodes looping APNG files within byte budgets, and extracts contrast-safe theme color palettes in pure Go.
Package lookmedia decodes still and animated avatar uploads (PNG/APNG, JPEG, GIF, WebP), normalizes animation bounds, encodes looping APNG files within byte budgets, and extracts contrast-safe theme color palettes in pure Go.
machineops
Package machineops provides the opt-in, on-demand read-only machine diagnostics CLI and stdio MCP server (#13053).
Package machineops provides the opt-in, on-demand read-only machine diagnostics CLI and stdio MCP server (#13053).
mailwire
Package mailwire is the contract between the server core and the mail module (server/internal/modules/mail): the values both sides pass, and the Service the extension manager reaches mail through (docs/extensions/mail.md, docs/architecture/core-and-modules.md).
Package mailwire is the contract between the server core and the mail module (server/internal/modules/mail): the values both sides pass, and the Service the extension manager reaches mail through (docs/extensions/mail.md, docs/architecture/core-and-modules.md).
manager
Package manager is `personad manager …`: a manager made in the app (docs/assistant/managers.md, "A second manager") joins the hub with its one-time install code, runs, and is installed as a service of its own (systemd user unit, launchd agent, or a container).
Package manager is `personad manager …`: a manager made in the app (docs/assistant/managers.md, "A second manager") joins the hub with its one-time install code, runs, and is installed as a service of its own (systemd user unit, launchd agent, or a container).
managercli
Package managercli is the managers' command line: `persona-manager <command>` (cmd/persona-manager) and personad's `assistant`, `manager …` and `hub tailcat-key` (cmd/personad, the compatibility entry) run the same code.
Package managercli is the managers' command line: `persona-manager <command>` (cmd/persona-manager) and personad's `assistant`, `manager …` and `hub tailcat-key` (cmd/personad, the compatibility entry) run the same code.
managerconf
Package managerconf is a manager's own configuration file, manager.json (docs/operations/config.md "manager.json"): the sections of the configuration that only the manager uses (connectors, extensions, bots, mail sign-ins, Lark, usage sources), which the built-in manager used to read and write in the hub's hub.json.
Package managerconf is a manager's own configuration file, manager.json (docs/operations/config.md "manager.json"): the sections of the configuration that only the manager uses (connectors, extensions, bots, mail sign-ins, Lark, usage sources), which the built-in manager used to read and write in the hub's hub.json.
managerupdate
Package managerupdate controls an explicitly authorized update of one independent manager.
Package managerupdate controls an explicitly authorized update of one independent manager.
mcpserver
Package mcpserver is the stdio MCP server Claude Code starts (`personad mcp`); it proxies tools to the local node.
Package mcpserver is the stdio MCP server Claude Code starts (`personad mcp`); it proxies tools to the local node.
mcptoolgolden
Package mcptoolgolden keeps the hub's MCP tool lists as goldens of one tool a file (#11252).
Package mcptoolgolden keeps the hub's MCP tool lists as goldens of one tool a file (#11252).
mcpwait
Package mcpwait carries an opted-in MCP call's opaque correlator and enum-only in-process transitions.
Package mcpwait carries an opted-in MCP call's opaque correlator and enum-only in-process transitions.
mdns
Package mdns is a minimal Multicast DNS (RFC 6762) / DNS-SD (RFC 6763) responder and browser: enough for hubs on the same LAN to see each other.
Package mdns is a minimal Multicast DNS (RFC 6762) / DNS-SD (RFC 6763) responder and browser: enough for hubs on the same LAN to see each other.
memtrim
Package memtrim gives the memory of a large request back to the operating system once it is done with.
Package memtrim gives the memory of a large request back to the operating system once it is done with.
modapi
Package modapi is the module contract of Persona Core (docs/architecture/core-and-modules.md): what a built-in feature module declares about itself (Info, the manifest of schema/module.schema.json), what it is (Module), and the one way it reaches the core (Host).
Package modapi is the module contract of Persona Core (docs/architecture/core-and-modules.md): what a built-in feature module declares about itself (Info, the manifest of schema/module.schema.json), what it is (Module), and the one way it reaches the core (Host).
modelhttp
Package modelhttp identifies Persona's own requests to model gateways.
Package modelhttp identifies Persona's own requests to model gateways.
modelretry
Package modelretry classifies temporary model failures and bounds retry delays.
Package modelretry classifies temporary model failures and bounds retry delays.
modules/all
Package all is the composition root of the built-in modules (docs/architecture/core-and-modules.md): the one list of the modules compiled into the manager.
Package all is the composition root of the built-in modules (docs/architecture/core-and-modules.md): the one list of the modules compiled into the manager.
modules/all/node
Package node is the node's composition root of the built-in modules (docs/architecture/core-and-modules.md "Provider seams"): the modules that also run on the user's computers, each added by a file of its own whose build constraint leaves it out with persona_without_<id> or persona_core_only, provide what the node needs through the node's ports.
Package node is the node's composition root of the built-in modules (docs/architecture/core-and-modules.md "Provider seams"): the modules that also run on the user's computers, each added by a file of its own whose build constraint leaves it out with persona_without_<id> or persona_core_only, provide what the node needs through the node's ports.
modules/briefing
Package briefing is the daily briefing module (docs/architecture/core-and-modules.md, #13408, #13845): the facts a scheduled routine with facts on opens with, its evening all-day recording summary, its chat feed item, its model-failure fallback, and its wait-row setting.
Package briefing is the daily briefing module (docs/architecture/core-and-modules.md, #13408, #13845): the facts a scheduled routine with facts on opens with, its evening all-day recording summary, its chat feed item, its model-failure fallback, and its wait-row setting.
modules/github
Package github is the GitHub connector: the user's PRs, issues, reviews and checks, read with the token of a machine's gh login (docs/plans/plan-connectors.md "4.
Package github is the GitHub connector: the user's PRs, issues, reviews and checks, read with the token of a machine's gh login (docs/plans/plan-connectors.md "4.
modules/health
Package health is the Health module (docs/architecture/core-and-modules.md "Health", #14406): the manager's Health intake (docs/assistant/health.md): water and protein entries with their undo markers, the water reminders the owner switches on, the Health intake page, the legacy water extension's import and the health_intake tool.
Package health is the Health module (docs/architecture/core-and-modules.md "Health", #14406): the manager's Health intake (docs/assistant/health.md): water and protein entries with their undo markers, the water reminders the owner switches on, the Health intake page, the legacy water extension's import and the health_intake tool.
modules/imessage
Package imessage reads the Messages app's data on a Mac (docs/plans/plan-connectors.md "5.
Package imessage reads the Messages app's data on a Mac (docs/plans/plan-connectors.md "5.
modules/knowledge-ui
Package knowledgeui is the knowledge pages' module (docs/architecture/core-and-modules.md "Knowledge UI", #14407): the pipelines of the knowledge pages that are not the core's memory.
Package knowledgeui is the knowledge pages' module (docs/architecture/core-and-modules.md "Knowledge UI", #14407): the pipelines of the knowledge pages that are not the core's memory.
modules/lark
Package lark is the Feishu / Lark module (docs/architecture/core-and-modules.md, #13404): the bot's client (feishubot), which the extension host drives through internal/botport, and the assistant's layer (Layer), which the assistant reaches through internal/larkhost.
Package lark is the Feishu / Lark module (docs/architecture/core-and-modules.md, #13404): the bot's client (feishubot), which the extension host drives through internal/botport, and the assistant's layer (Layer), which the assistant reaches through internal/larkhost.
modules/lark/connector/larkcli
Package larkcli exposes the read-only Lark tools backed by the user's lark-cli login (docs/plans/plan-lark-cli.md, L2).
Package larkcli exposes the read-only Lark tools backed by the user's lark-cli login (docs/plans/plan-lark-cli.md, L2).
modules/lark/feishubot
Package feishubot talks to a Feishu / Lark open platform app (a custom app with a bot): its long connection for events and card callbacks, and the REST calls a bot makes (send, reply, update a card, reactions, resources).
Package feishubot talks to a Feishu / Lark open platform app (a custom app with a bot): its long connection for events and card callbacks, and the REST calls a bot makes (send, reply, update a card, reactions, resources).
modules/lark/larkauth
Package larkauth is the user OAuth of the Feishu / Lark open platform for the daily sync (docs/extensions/bots.md "Reading as you: daily sync"): the authorization page with PKCE, the code and refresh-token exchanges, the device flow for an app whose redirect URL could not be set, and adding the redirect URL and the user scopes to the app.
Package larkauth is the user OAuth of the Feishu / Lark open platform for the daily sync (docs/extensions/bots.md "Reading as you: daily sync"): the authorization page with PKCE, the code and refresh-token exchanges, the device flow for an app whose redirect URL could not be set, and adding the redirect URL and the user scopes to the app.
modules/lark/larkcli
Package larkcli is the small, subprocess-only adapter for the official lark-cli.
Package larkcli is the small, subprocess-only adapter for the official lark-cli.
modules/lark/larkgate
Package larkgate holds the module's lark-cli node command gate rules, bypass exemptions, and lark-cli phone-card wording (#13404).
Package larkgate holds the module's lark-cli node command gate rules, bypass exemptions, and lark-cli phone-card wording (#13404).
modules/lark/larksync
Package larksync reads what changed for one Lark user sync binding: the owner's chats (with their threads and attachments) and message search, Drive, Docx, Sheets, Bitable, Wiki and Minutes, read as the owner with their user access token (internal/larksyncwire, docs/extensions/bots.md "Reading as you: daily sync").
Package larksync reads what changed for one Lark user sync binding: the owner's chats (with their threads and attachments) and message search, Drive, Docx, Sheets, Bitable, Wiki and Minutes, read as the owner with their user access token (internal/larksyncwire, docs/extensions/bots.md "Reading as you: daily sync").
modules/office
Package office is the Office files module (docs/assistant/office.md): `personad office …` writes Word documents and decks from Markdown and workbooks from JSON / CSV, and says what is in one.
Package office is the Office files module (docs/assistant/office.md): `personad office …` writes Word documents and decks from Markdown and workbooks from JSON / CSV, and says what is in one.
modules/office/office
Package office writes Word, PowerPoint and Excel files for the assistant and agents (`personad office`, the office skill, #1300): a document or a deck from Markdown, a workbook from JSON or CSV, and reads any of them back for a look at what is in it (check).
Package office writes Word, PowerPoint and Excel files for the assistant and agents (`personad office`, the office skill, #1300): a document or a deck from Markdown, a workbook from JSON or CSV, and reads any of them back for a look at what is in it (check).
modules/phone-extra
Package phoneextra is the iPhone control module (docs/extensions/iphone.md): the built-in program iphone that operates this computer's paired iPhones (phone-extra/nodeiphone over the device bridge, phone-extra/iphone and phone-extra/iphonectl) and `personad iphone …`, which pairs them (docs/extensions/iphone-pairing.md).
Package phoneextra is the iPhone control module (docs/extensions/iphone.md): the built-in program iphone that operates this computer's paired iPhones (phone-extra/nodeiphone over the device bridge, phone-extra/iphone and phone-extra/iphonectl) and `personad iphone …`, which pairs them (docs/extensions/iphone-pairing.md).
modules/phone-extra/iphone
Package iphone keeps this computer's paired iPhones: the pairing records made once over trusted USB, finding each phone again on the network (Bonjour, a manual address) and one resident session per phone through the device bridge (docs/extensions/iphone-pairing.md).
Package iphone keeps this computer's paired iPhones: the pairing records made once over trusted USB, finding each phone again on the network (Bonjour, a manual address) and one resident session per phone through the device bridge (docs/extensions/iphone-pairing.md).
modules/phone-extra/iphonectl
Package iphonectl is the core of operating a paired iPhone for the assistant.
Package iphonectl is the core of operating a paired iPhone for the assistant.
modules/recording
Package recording is the meeting recording module (docs/architecture/core-and-modules.md "Recording", #13407): the manager's side of recordings, meetings, minutes and all-day recordings with their day recaps (docs/assistant/meeting-minutes.md, docs/assistant/day-recap.md).
Package recording is the meeting recording module (docs/architecture/core-and-modules.md "Recording", #13407): the manager's side of recordings, meetings, minutes and all-day recordings with their day recaps (docs/assistant/meeting-minutes.md, docs/assistant/day-recap.md).
modules/recording/writers
Package writers is the recording module's writers: the upload of a recording and a day recording's appends, with the rule that marks Persona's echo; the live log and meeting.json of a meeting, and the material of an answer asked in one; the rounds that make a meeting's minutes and a day recording's recap with a language model and store them next to the recording, and the requests that ask for them again or record the to-dos made of them; the live titles and the owner's rename; the photo intake; a hub-mode meeting's audio (the phone's socket, the gap uploads, the final pass's reads) and the hub's own transcript of it.
Package writers is the recording module's writers: the upload of a recording and a day recording's appends, with the rule that marks Persona's echo; the live log and meeting.json of a meeting, and the material of an answer asked in one; the rounds that make a meeting's minutes and a day recording's recap with a language model and store them next to the recording, and the requests that ask for them again or record the to-dos made of them; the live titles and the owner's rename; the photo intake; a hub-mode meeting's audio (the phone's socket, the gap uploads, the final pass's reads) and the hub's own transcript of it.
modules/screen-share
Package screenshare is the screen sharing module (docs/extensions/computer-use.md): the node's live screen sessions (#6398; screen-share/screenlink), which the node's composition root (internal/modules/all/node) provides through internal/node/screenport, and vncbench (screen-share/vncbench), the tool that measures a VNC server the way the app uses it.
Package screenshare is the screen sharing module (docs/extensions/computer-use.md): the node's live screen sessions (#6398; screen-share/screenlink), which the node's composition root (internal/modules/all/node) provides through internal/node/screenport, and vncbench (screen-share/vncbench), the tool that measures a VNC server the way the app uses it.
modules/screen-share/screenlink
Package screenlink carries one live screen over several routes at once: the node's end of a screen session (#6398, docs/extensions/computer-use.md "Live screen routes (#6398)").
Package screenlink carries one live screen over several routes at once: the node's end of a screen session (#6398, docs/extensions/computer-use.md "Live screen routes (#6398)").
modules/screen-share/vncbench command
Command vncbench measures a VNC server the way the app's live screen uses it (apple/Persona/Screen, docs/extensions/computer-use.md "Live view"): which encodings and pseudo-encodings it really supports, and, scene by scene, the bytes on the wire, the frame rate, the time from an input to the pixels it changes, and the picture's quality against a lossless copy of the same moment.
Command vncbench measures a VNC server the way the app's live screen uses it (apple/Persona/Screen, docs/extensions/computer-use.md "Live view"): which encodings and pseudo-encodings it really supports, and, scene by scene, the bytes on the wire, the frame rate, the time from an input to the pixels it changes, and the picture's quality against a lossless copy of the same moment.
modules/voice
Package voice is the built-in voice plugin (`personad voice`, docs/extensions/extensions.md "Built-in voice extension"): full-duplex voice conversations in the app over a realtime service that speaks the GPT-Live wire.
Package voice is the built-in voice plugin (`personad voice`, docs/extensions/extensions.md "Built-in voice extension"): full-duplex voice conversations in the app over a realtime service that speaks the GPT-Live wire.
modules/voice/voicetest
Package voicetest is a scripted stand-in for a GPT-Live-compatible upstream, for tests of the built-in voice extension's meeting transcription and of the manager that runs it (docs/assistant/voice.md "Transcription").
Package voicetest is a scripted stand-in for a GPT-Live-compatible upstream, for tests of the built-in voice extension's meeting transcription and of the manager that runs it (docs/assistant/voice.md "Transcription").
modules/volc/volctest
Package volctest stands in for Volcengine's speech service in tests (docs/extensions/volcengine-speech.md "Tests"): streaming recognition over its binary WebSocket protocol and synthesis over its HTTP lines, written from the service's documentation independently of the client in package volc.
Package volctest stands in for Volcengine's speech service in tests (docs/extensions/volcengine-speech.md "Tests"): streaming recognition over its binary WebSocket protocol and synthesis over its HTTP lines, written from the service's documentation independently of the client in package volc.
moduleswitch
Package moduleswitch is the run-time module switch as the core's provider seams read it (docs/architecture/ core-and-modules.md, "The switch"): the ids the `modules` settings row switched off when a manager started, and the one predicate every seam asks, Set.On.
Package moduleswitch is the run-time module switch as the core's provider seams read it (docs/architecture/ core-and-modules.md, "The switch"): the ids the `modules` settings row switched off when a manager started, and the one predicate every seam asks, Set.On.
moduleswitch/switchtest
Package switchtest checks a composition root against the run-time module switch (moduleswitch): every provider seam a module fills is present while the module is on and absent once it is switched off, and every call a root's init makes is such a seam.
Package switchtest checks a composition root against the run-time module switch (moduleswitch): every provider seam a module fills is present while the module is on and absent once it is switched off, and every call a root's init makes is such a seam.
netaddr
Package netaddr discovers local addresses and selects stable public IPv6 candidates.
Package netaddr discovers local addresses and selects stable public IPv6 candidates.
netproxy
Package netproxy parses outbound HTTP proxies, plus SOCKS5 where a caller supports it, and builds HTTP clients.
Package netproxy parses outbound HTTP proxies, plus SOCKS5 where a caller supports it, and builds HTTP clients.
netshape
Package netshape is an in-process connection shaped like a slow link, for tests and debug tools: what a real network does to a protocol (head-of-line blocking, round trips, back-pressure) without root or the system's traffic control.
Package netshape is an in-process connection shaped like a slow link, for tests and debug tools: what a real network does to a protocol (head-of-line blocking, round trips, back-pressure) without root or the system's traffic control.
node
Package node runs on every machine: it drives herdr/claude locally and talks to the hub over stdio RPC.
Package node runs on every machine: it drives herdr/claude locally and talks to the hub over stdio RPC.
node/diskmap
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).
node/imessageport
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.
node/iphoneport
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.
node/larkgateport
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).
node/machdiag
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.
node/screenport
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.
node/transcripttail
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.
nodeclient
Package nodeclient is the client side of the node's local socket (node.sock): what the short-lived commands a computer runs for its Agents (`personad hook`, `personad mcp`, `personad ask`, `personad notify`) use to reach the node.
Package nodeclient is the client side of the node's local socket (node.sock): what the short-lived commands a computer runs for its Agents (`personad hook`, `personad mcp`, `personad ask`, `personad notify`) use to reach the node.
nodecmd
Package nodecmd is the device's command line: what a computer runs for its node and its Agents (`node --stdio`, `node --attach`, `hook`, `mcp`, `ask`, `notify`, `create-direction`, `write-progress`, `launch`, …).
Package nodecmd is the device's command line: what a computer runs for its node and its Agents (`node --stdio`, `node --attach`, `hook`, `mcp`, `ask`, `notify`, `create-direction`, `write-progress`, `launch`, …).
nodecmd/commandport
Package commandport is where a node-side module hands the device's command line (internal/nodecmd) the commands it adds to `personad` / `persona-node`, such as `personad office …` (docs/architecture/core-and-modules.md "The node's modules").
Package commandport is where a node-side module hands the device's command line (internal/nodecmd) the commands it adds to `personad` / `persona-node`, such as `personad office …` (docs/architecture/core-and-modules.md "The node's modules").
nodeproto
Package nodeproto is the node protocol's handshake contract (manager ↔ device, docs/protocol/protocol.md "Node handshake"): the protocol version and the capability names a node announces in node.info, and the version a manager speaks.
Package nodeproto is the node protocol's handshake contract (manager ↔ device, docs/protocol/protocol.md "Node handshake"): the protocol version and the capability names a node announces in node.info, and the version a manager speaks.
nodesign
Package nodesign signs the resident node's own program on a Mac with a code signing certificate of that Mac, under a fixed identifier (docs/operations/mac-node-signing.md).
Package nodesign signs the resident node's own program on a Mac with a code signing certificate of that Mac, under a fixed identifier (docs/operations/mac-node-signing.md).
nodeupdate
Package nodeupdate owns one resident process's executable update transaction.
Package nodeupdate owns one resident process's executable update transaction.
operations/backup
Package backup implements verified, whole-install backup and recovery as an operations command.
Package backup implements verified, whole-install backup and recovery as an operations command.
operations/recovery
Package recovery owns the read-only, whole-install Recovery inventory.
Package recovery owns the read-only, whole-install Recovery inventory.
orcart
Package orcart talks to the runtime of the Orca desktop app (a git-worktree and terminal manager for coding agents) over its local socket (a unix socket on macOS and Linux, a named pipe on Windows): one JSON request per line {id, authToken, method, params}, answered by one JSON line {id, ok, result | error{code, message}} (slow calls send {"_keepalive": true} lines first).
Package orcart talks to the runtime of the Orca desktop app (a git-worktree and terminal manager for coding agents) over its local socket (a unix socket on macOS and Linux, a named pipe on Windows): one JSON request per line {id, authToken, method, params}, answered by one JSON line {id, ok, result | error{code, message}} (slow calls send {"_keepalive": true} lines first).
orcart/orcarttest
Package orcarttest is a scriptable fake of Orca's runtime socket for tests (a unix socket, a named pipe on Windows, as Orca itself serves there): it writes its own orca-runtime.json, checks the auth token, answers status.get, terminal.list, worktree.ps and terminal.read from its state, records every call in order, and lets a test replace any method's answer.
Package orcarttest is a scriptable fake of Orca's runtime socket for tests (a unix socket, a named pipe on Windows, as Orca itself serves there): it writes its own orca-runtime.json, checks the auth token, answers status.get, terminal.list, worktree.ps and terminal.read from its state, records every call in order, and lets a test replace any method's answer.
osproc
Package osproc holds the few process and file-ownership calls that differ between Unix and Windows.
Package osproc holds the few process and file-ownership calls that differ between Unix and Windows.
osproc/osproctest
Package osproctest shows a test what a process inherited from the one that started it: its descriptors past stderr and socket activation's variables (osproc.SealInherited, the sockets systemd passes the hub).
Package osproctest shows a test what a process inherited from the one that started it: its descriptors past stderr and socket activation's variables (osproc.SealInherited, the sockets systemd passes the hub).
outboxcli
Package outboxcli gives the owner terminal access to Agent messages the manager is still holding.
Package outboxcli gives the owner terminal access to Agent messages the manager is still holding.
passwordpake
Package passwordpake pins the OPAQUE suite shared by the hub and its browser WASM client.
Package passwordpake pins the OPAQUE suite shared by the hub and its browser WASM client.
pgdocker
Package pgdocker is a Postgres of one's own in Docker: one container, one volume, its port published on 127.0.0.1.
Package pgdocker is a Postgres of one's own in Docker: one container, one volume, its port published on 127.0.0.1.
pinneddial
Package pinneddial dials addresses a caller has already checked: the numeric addresses a host name resolved to, raced a little apart (Pinned), straight or through the operator's proxy with a CONNECT to the checked address (ThroughProxy).
Package pinneddial dials addresses a caller has already checked: the numeric addresses a host name resolved to, raced a little apart (Pinned), straight or through the operator's proxy with a CONNECT to the checked address (ThroughProxy).
preview
Package preview holds what the hub and the node share about a dev server preview (docs/web/preview.md): the frames a preview stream carries.
Package preview holds what the hub and the node share about a dev server preview (docs/web/preview.md): the frames a preview stream carries.
procinfo
Package procinfo reads what the system says about a process: its parent and when it started.
Package procinfo reads what the system says about a process: its parent and when it started.
procs
Package procs caps GOMAXPROCS for Persona's own long-running processes: the hub's edge and slot, the built-in manager and the node.
Package procs caps GOMAXPROCS for Persona's own long-running processes: the hub's edge and slot, the built-in manager and the node.
promptcontent
Package promptcontent reads the shared leading context envelope used by composers and headless turns.
Package promptcontent reads the shared leading context envelope used by composers and headless turns.
prompts
Package prompts holds every prompt personad writes for a model: one file per prompt under a directory per scene (assistant/, bot/, lark/, inbox/, kb/, tools/, shared/, voice/, wechat/, todo/), Go text/template syntax, embedded in the binary.
Package prompts holds every prompt personad writes for a model: one file per prompt under a directory per scene (assistant/, bot/, lark/, inbox/, kb/, tools/, shared/, voice/, wechat/, todo/), Go text/template syntax, embedded in the binary.
protectedapps
Package protectedapps is the rule that Persona never operates System Settings or macOS's permission and authorization prompts for anyone (#4336, #4349, #7560; docs/extensions/computer-use.md "c) Per-App approval").
Package protectedapps is the rule that Persona never operates System Settings or macOS's permission and authorization prompts for anyone (#4336, #4349, #7560; docs/extensions/computer-use.md "c) Per-App approval").
proto
Package proto holds the wire types shared by hub, node and clients.
Package proto holds the wire types shared by hub, node and clients.
proxyproto
Package proxyproto reads the PROXY protocol header (versions 1 and 2) that a TCP proxy or port forward sends ahead of a connection's own bytes to say whom it relays (https://www.haproxy.org/download/2.9/doc/proxy-protocol.txt), and wraps a listener so that connections from trusted upstreams report that client as their RemoteAddr.
Package proxyproto reads the PROXY protocol header (versions 1 and 2) that a TCP proxy or port forward sends ahead of a connection's own bytes to say whom it relays (https://www.haproxy.org/download/2.9/doc/proxy-protocol.txt), and wraps a listener so that connections from trusted upstreams report that client as their RemoteAddr.
pushcrypto
Package pushcrypto seals push payloads to a phone's public key (docs/operations/push-relay.md): HPKE base mode, DHKEM(P-256, HKDF-SHA256) + HKDF-SHA256 + AES-256-GCM.
Package pushcrypto seals push payloads to a phone's public key (docs/operations/push-relay.md): HPKE base mode, DHKEM(P-256, HKDF-SHA256) + HKDF-SHA256 + AES-256-GCM.
quota
Package quota is what a launcher's quota looks like (docs/integrations/launchers.md "Quota") and how a quota plugin reaches the launcher's gateway without ever seeing its key.
Package quota is what a launcher's quota looks like (docs/integrations/launchers.md "Quota") and how a quota plugin reaches the launcher's gateway without ever seeing its key.
recordingcli
Package recordingcli lists and exports recordings through the paired-device knowledge base API.
Package recordingcli lists and exports recordings through the paired-device knowledge base API.
recordinghost
Package recordinghost is the seam between the core and the meeting recording module (internal/modules/recording, docs/architecture/core-and-modules.md "Recording"): what the core asks of the module (Layer) and what the module asks of the core (Host), each in terms both sides name (the standard library, the knowledge base, the contracts).
Package recordinghost is the seam between the core and the meeting recording module (internal/modules/recording, docs/architecture/core-and-modules.md "Recording"): what the core asks of the module (Layer) and what the module asks of the core (Host), each in terms both sides name (the standard library, the knowledge base, the contracts).
recordingwire
Package recordingwire is the meeting recording's part of the contract (docs/server/architecture.md "Contract packages"): the data types of a recording and its files (meta.json, meeting.json, minutes, day recap, photos, live log, meeting room, hub segments, the upload and its timeline), their constants, sentinel errors and the error types that carry a position.
Package recordingwire is the meeting recording's part of the contract (docs/server/architecture.md "Contract packages"): the data types of a recording and its files (meta.json, meeting.json, minutes, day recap, photos, live log, meeting room, hub segments, the upload and its timeline), their constants, sentinel errors and the error types that carry a position.
relay
Package relay is the push relay (personad relay, docs/operations/push-relay.md): it holds the app's APNs key and pushes for hubs that have none.
Package relay is the push relay (personad relay, docs/operations/push-relay.md): it holds the app's APNs key and pushes for hubs that have none.
relayproto
Package relayproto is what a hub and the push relay (internal/relay, docs/operations/push-relay.md) say to each other, so the hub does not link the relay's server.
Package relayproto is what a hub and the push relay (internal/relay, docs/operations/push-relay.md) say to each other, so the hub does not link the relay's server.
remoteimage
Package remoteimage fetches the pictures a reply names by address (Markdown `![alt](https://…)`) for the apps, so they only ever talk to their own hub (#9473, docs/protocol/protocol.md "Remote images").
Package remoteimage fetches the pictures a reply names by address (Markdown `![alt](https://…)`) for the apps, so they only ever talk to their own hub (#9473, docs/protocol/protocol.md "Remote images").
repositorywire
Package repositorywire owns the shared repository identity and task binding contract.
Package repositorywire owns the shared repository identity and task binding contract.
resourcequeue
Package resourcequeue defines the shared runner protocol, without hub or database dependencies.
Package resourcequeue defines the shared runner protocol, without hub or database dependencies.
rexcli
Package rexcli drives Rex, a multiplexing terminal (docs/integrations/engines.md "Rex"), through its `rex` command line and control API: listing sessions and window layouts, inspecting a terminal block's foreground process and title, capturing colored screens, sending text/pastes/keys, opening/splitting/renaming/closing blocks and sessions, and streaming server events.
Package rexcli drives Rex, a multiplexing terminal (docs/integrations/engines.md "Rex"), through its `rex` command line and control API: listing sessions and window layouts, inspecting a terminal block's foreground process and title, capturing colored screens, sending text/pastes/keys, opening/splitting/renaming/closing blocks and sessions, and streaming server events.
rpc
Package rpc is a tiny bidirectional JSON-lines RPC used between hub and node over SSH stdio.
Package rpc is a tiny bidirectional JSON-lines RPC used between hub and node over SSH stdio.
runtimepkg
Package runtimepkg is the code of the runtimes personad keeps up to date itself (docs/integrations/runtimes.md "Auto-update"): a runtime's plugin loaded into another program (DSH's), which that program would otherwise only reload by hand.
Package runtimepkg is the code of the runtimes personad keeps up to date itself (docs/integrations/runtimes.md "Auto-update"): a runtime's plugin loaded into another program (DSH's), which that program would otherwise only reload by hand.
runtimepkg/gen command
Command gen packs the runtime packages' files (runtimepkg.Packages) from integrations/ into dist/, which personad embeds: `go generate ./internal/runtimepkg`, run from server/ before building (the Dockerfile and the deploy and publish scripts do).
Command gen packs the runtime packages' files (runtimepkg.Packages) from integrations/ into dist/, which personad embeds: `go generate ./internal/runtimepkg`, run from server/ before building (the Dockerfile and the deploy and publish scripts do).
screen
Package screen reads Claude Code / Codex terminal screens (herdr pane reads): the input box and the dialogs.
Package screen reads Claude Code / Codex terminal screens (herdr pane reads): the input box and the dialogs.
scriptcli
Package scriptcli is `personad ask` and `personad notify`: a script's way to the phone, through the node on this machine (node/scriptcli.go; the design is docs/integrations/script-cli.md).
Package scriptcli is `personad ask` and `personad notify`: a script's way to the phone, through the node on this machine (node/scriptcli.go; the design is docs/integrations/script-cli.md).
secretkey
Package secretkey seals secrets kept in Postgres with a part's own secret.key (32 bytes, AES-256-GCM, base64 of nonce + ciphertext).
Package secretkey seals secrets kept in Postgres with a part's own secret.key (32 bytes, AES-256-GCM, base64 of nonce + ciphertext).
sessionhistory
Package sessionhistory pages Agent sessions active in a time window, including inactive ones (docs/protocol/protocol.md "Session history"): the window, the order, the cursor and the merge of several sources that the node (its own Claude Code / Codex records and its runtimes) and the hub (its machines) share.
Package sessionhistory pages Agent sessions active in a time window, including inactive ones (docs/protocol/protocol.md "Session history"): the window, the order, the cursor and the merge of several sources that the node (its own Claude Code / Codex records and its runtimes) and the hub (its machines) share.
sessionlist
Package sessionlist provides a bounded, in-memory transport index for session adapters.
Package sessionlist provides a bounded, in-memory transport index for session adapters.
sessionorigin
Package sessionorigin classifies where runtime sessions were opened.
Package sessionorigin classifies where runtime sessions were opened.
sessionsearch
Package sessionsearch projects runtime row metadata for the transport search index.
Package sessionsearch projects runtime row metadata for the transport search index.
shareproof
Package shareproof authenticates only the peer IP of a local public-sharing ingress.
Package shareproof authenticates only the peer IP of a local public-sharing ingress.
shareproxy
Package shareproxy exposes only the isolated public-sharing graph on a separate HTTP port.
Package shareproxy exposes only the isolated public-sharing graph on a separate HTTP port.
shellcmd
Package shellcmd reads shell command lines the way a POSIX shell splits them, before it expands anything: nothing is expanded or run.
Package shellcmd reads shell command lines the way a POSIX shell splits them, before it expands anything: nothing is expanded or run.
slowlinksoak command
Command slowlinksoak reproduces #13677 end to end: a computer on Persona Link behind a slow, long link with a large Agent session full of screenshots, opened in a chat.
Command slowlinksoak reproduces #13677 end to end: a computer on Persona Link behind a slow, long link with a large Agent session full of screenshots, opened in a chat.
streams
Package streams carries byte streams over the hub↔node RPC connection (docs/operations/ports.md "Forwarding"): a TCP connection the hub forwards to a port on a node is one stream there, its bytes in stream.data events.
Package streams carries byte streams over the hub↔node RPC connection (docs/operations/ports.md "Forwarding"): a TCP connection the hub forwards to a port on a node is one stream there, its bytes in stream.data events.
subscriptions
Package subscriptions is the manager's source subscriptions core (#2038, docs/extensions/subscriptions.md): a subscription pulls one connector source's read-only tool on a schedule by a recipe (#2037), keeps what is new, and holds it for the destinations (#2039).
Package subscriptions is the manager's source subscriptions core (#2038, docs/extensions/subscriptions.md): a subscription pulls one connector source's read-only tool on a schedule by a recipe (#2037), keeps what is new, and holds it for the destinations (#2039).
subscriptionsui
Package subscriptionsui draws the source subscription pages (#2041, docs/extensions/subscriptions.md "Pages") as declarative UI: Inbox Sources (#5278: every built-in source and subscription), a source, its recipe, picking a tool and setting it up, its runs, and the small pickers.
Package subscriptionsui draws the source subscription pages (#2041, docs/extensions/subscriptions.md "Pages") as declarative UI: Inbox Sources (#5278: every built-in source and subscription), a source, its recipe, picking a tool and setting it up, its runs, and the small pickers.
supervise
Package supervise is `personad supervise`: the hub and the built-in manager as two processes side by side in one container (docs/operations/docker.md "The hub and the built-in manager in one container").
Package supervise is `personad supervise`: the hub and the built-in manager as two processes side by side in one container (docs/operations/docker.md "The hub and the built-in manager in one container").
sysmon
Package sysmon reads what a machine is (OS, hardware) and how busy it is (CPU, memory, network, disk), for the machine pages and their 24-hour history (docs/server/machines.md).
Package sysmon reads what a machine is (OS, hardware) and how busy it is (CPU, memory, network, disk), for the machine pages and their 24-hour history (docs/server/machines.md).
taskworkspace
Package taskworkspace defines the opt-in backend preparation contract.
Package taskworkspace defines the opt-in backend preparation contract.
teamdocs
Package teamdocs stores project-scoped document revisions and approvals.
Package teamdocs stores project-scoped document revisions and approvals.
terminalmaintenance
Package terminalmaintenance preserves recovery material without treating a terminal's departure, history or display state as authoritative idle evidence.
Package terminalmaintenance preserves recovery material without treating a terminal's departure, history or display state as authoritative idle evidence.
terncli
Package terncli drives Tern, Stencil's multiplexing terminal, through its `tern` command line (docs/integrations/engines.md "Tern"): the layout (`tern inspect`), a block's foreground process (`tern process`), screen captures, input, opening and closing blocks, renames and the event stream.
Package terncli drives Tern, Stencil's multiplexing terminal, through its `tern` command line (docs/integrations/engines.md "Tern"): the layout (`tern inspect`), a block's foreground process (`tern process`), screen captures, input, opening and closing blocks, renames and the event stream.
testhome
Package testhome keeps a test binary off the developer's real ~/.persona.
Package testhome keeps a test binary off the developer's real ~/.persona.
textfmt
Package textfmt is the small text formatting the hub and the assistant (internal/assistant, a process of its own) both write with, for people and for models: a clip or a cut, one line, how long ago, a short id, how an agent's session is named and its state.
Package textfmt is the small text formatting the hub and the assistant (internal/assistant, a process of its own) both write with, for people and for models: a clip or a cut, one line, how long ago, a short id, how an agent's session is named and its state.
tmux
Package tmux drives a pane of a tmux server through the tmux command: what its screen shows and the keys pressed in it.
Package tmux drives a pane of a tmux server through the tmux command: what its screen shows and the keys pressed in it.
tokenuse
Package tokenuse is the one model of an agent's token usage and the parsers of the records agents keep it in (docs/server/machines.md "Token usage").
Package tokenuse is the one model of an agent's token usage and the parsers of the records agents keep it in (docs/server/machines.md "Token usage").
toolcli
Package toolcli is `personad tool`: a connector's tools from the assistant's shell, through the node on this machine (node/clicall.go lets only the assistant's processes through and only the tools of the connectors signed in), which asks the hub, whose gate decides each write (connector_gate: by default the user allows it on the phone).
Package toolcli is `personad tool`: a connector's tools from the assistant's shell, through the node on this machine (node/clicall.go lets only the assistant's processes through and only the tools of the connectors signed in), which asks the hub, whose gate decides each write (connector_gate: by default the user allows it on the phone).
toolschema
Package toolschema keeps MCP tool input schemas within what every model API Persona's agents use accepts.
Package toolschema keeps MCP tool input schemas within what every model API Persona's agents use accepts.
transcribejob
Package transcribejob is one job of a transcription contribution (docs/assistant/meeting-minutes.md "The `transcription` extension point"): the socket the manager talks to it over, for a meeting's live job and final pass (the recording module) and for an extension's own audio (transcription for extensions, in the core).
Package transcribejob is one job of a transcription contribution (docs/assistant/meeting-minutes.md "The `transcription` extension point"): the socket the manager talks to it over, for a meeting's live job and final pass (the recording module) and for an extension's own audio (transcription for extensions, in the core).
transcript
Package transcript turns Claude Code session JSONL files into normalized proto.Items.
Package transcript turns Claude Code session JSONL files into normalized proto.Items.
tunnel
Package tunnel is the hub↔node link over tailcat (github.com/tailscale/tailcat): WireGuard through Tailscale's DERP relays, upgraded to a direct path when NAT traversal works, with no public IP, open port or ssh needed on either side.
Package tunnel is the hub↔node link over tailcat (github.com/tailscale/tailcat): WireGuard through Tailscale's DERP relays, upgraded to a direct path when NAT traversal works, with no public IP, open port or ssh needed on either side.
update
Package update is how a hub knows what it is and whether a newer one is out (docs/operations/hub-update.md): the build it was made as (channel, build number), the manifest the publisher puts next to the downloads (latest.json, with every file's sha256), the publisher's checks before a release, and installing one (download, swap, the watchdog).
Package update is how a hub knows what it is and whether a newer one is out (docs/operations/hub-update.md): the build it was made as (channel, build number), the manifest the publisher puts next to the downloads (latest.json, with every file's sha256), the publisher's checks before a release, and installing one (download, swap, the watchdog).
update/updatetest
Package updatetest builds tiny Go programs whose build info names their package the way builds of server/cmd/personad and server/cmd/persona-node do, for tests of update.ProgramOf and of what refuses or picks a program by it; and serves releases the way an update source does (Releases), for tests of what is downloaded while a newer one comes out.
Package updatetest builds tiny Go programs whose build info names their package the way builds of server/cmd/personad and server/cmd/persona-node do, for tests of update.ProgramOf and of what refuses or picks a program by it; and serves releases the way an update source does (Releases), for tests of what is downloaded while a newer one comes out.
usagesource
Package usagesource reads subscription usage windows from an account-pool gateway (#2595, docs/server/usage-windows.md "Account-pool gateways"): a service that holds several agent accounts and already knows how much of each one's 5-hour and weekly allowance is used.
Package usagesource reads subscription usage windows from an account-pool gateway (#2595, docs/server/usage-windows.md "Account-pool gateways"): a service that holds several agent accounts and already knows how much of each one's 5-hour and weekly allowance is used.
webasset
Package webasset is what the hub and the build agree on about the web client's files: which responses gzip makes worth sending compressed (CompressibleType, MinSize), which of the built files are kept only gzipped in a published personad (Precompressible, Precompress; docs/web/web.md "Precompressed assets"), and the brotli copies the web build writes of the first screen's files (BrotliSuffix).
Package webasset is what the hub and the build agree on about the web client's files: which responses gzip makes worth sending compressed (CompressibleType, MinSize), which of the built files are kept only gzipped in a published personad (Precompressible, Precompress; docs/web/web.md "Precompressed assets"), and the brotli copies the web build writes of the first screen's files (BrotliSuffix).
webasset/precompress command
Command precompress keeps the built web client's hashed assets gzipped, as the hub sends them (webasset.Precompress): `go run ./internal/webasset/precompress <dir>`, from server/, on the copy that go build embeds (internal/hub/webdist), after the web client was copied there and its privacy was checked.
Command precompress keeps the built web client's hashed assets gzipped, as the hub sends them (webasset.Precompress): `go run ./internal/webasset/precompress <dir>`, from server/, on the copy that go build embeds (internal/hub/webdist), after the web client was copied there and its privacy was checked.
webpush
Package webpush sends a push to a browser's push subscription (docs/web/web.md "Web Push"): RFC 8030 delivery, RFC 8291 message encryption (aes128gcm) and RFC 8292 VAPID, with the standard library only.
Package webpush sends a push to a browser's push subscription (docs/web/web.md "Web Push"): RFC 8030 delivery, RFC 8291 message encryption (aes128gcm) and RFC 8292 VAPID, with the standard library only.
webpush/webpushtest
Package webpushtest is a browser for tests of Web Push senders: a subscription with keys of its own, and the receiving side of RFC 8291, written apart from the package's encryption so each checks the other.
Package webpushtest is a browser for tests of Web Push senders: a subscription with keys of its own, and the receiving side of RFC 8291, written apart from the package's encryption so each checks the other.
wireids
Package wireids is the contract's ID types: MachineID, SessionID, InteractionID, TodoID, ConversationID, HubID, DeviceID, ExtensionID, ClientMsgID, InboxItemID, ConnectorID and SubscriptionID, and AgentRef, the one shape for "points at an Agent".
Package wireids is the contract's ID types: MachineID, SessionID, InteractionID, TodoID, ConversationID, HubID, DeviceID, ExtensionID, ClientMsgID, InboxItemID, ConnectorID and SubscriptionID, and AgentRef, the one shape for "points at an Agent".
workspaceboard
Package workspaceboard implements the board without database or session side effects.
Package workspaceboard implements the board without database or session side effects.
workspacenaming
Package workspacenaming resolves metadata only.
Package workspacenaming resolves metadata only.
scripts
fleetsoak command
Command fleetsoak measures what a fleet's churn costs the hub and its manager: it runs a throwaway hub (its own home directory, port and Postgres container) from the tree under test, with computers whose nodes it plays itself and app connections that read what the hub pushes, and reports the manager's and the hub's allocation and CPU time per minute (docs/operations/testing.md "Fleet soak").
Command fleetsoak measures what a fleet's churn costs the hub and its manager: it runs a throwaway hub (its own home directory, port and Postgres container) from the tree under test, with computers whose nodes it plays itself and app connections that read what the hub pushes, and reports the manager's and the hub's allocation and CPU time per minute (docs/operations/testing.md "Fleet soak").
pushrec command
Command pushrec records what an app gets from a hub over its WebSocket, for replaying it through the hub's push logic (internal/hub/pushreplay_test.go, docs/operations/testing.md "Push replay").
Command pushrec records what an app gets from a hub over its WebSocket, for replaying it through the hub's push logic (internal/hub/pushreplay_test.go, docs/operations/testing.md "Push replay").
transcribelive command
Command transcribelive checks hub transcription (#3862 phase 5) against a running hub whose voice extension is set up with a real GPT-Live-compatible service (docs/operations/testing.md "Hub transcription live check").
Command transcribelive checks hub transcription (#3862 phase 5) against a running hub whose voice extension is set up with a real GPT-Live-compatible service (docs/operations/testing.md "Hub transcription live check").

Jump to

Keyboard shortcuts

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