Directories
¶
| Path | Synopsis |
|---|---|
|
Package app is the main of a generated Surface binary: it starts Substrate (config, logging, health, the HTTP host, the database), hands the core what Substrate opened, and serves.
|
Package app is the main of a generated Surface binary: it starts Substrate (config, logging, health, the HTTP host, the database), hands the core what Substrate opened, and serves. |
|
apps
|
|
|
desk
command
Command desk is a Surface app: the Surface core plus the modules surface.yaml lists.
|
Command desk is a Surface app: the Surface core plus the modules surface.yaml lists. |
|
desk/webui
Package webui embeds the app's built page (dist/).
|
Package webui embeds the app's built page (dist/). |
|
studio
command
Command studio is a Surface app: the Surface core plus the modules surface.yaml lists.
|
Command studio is a Surface app: the Surface core plus the modules surface.yaml lists. |
|
studio/webui
Package webui embeds the app's built page (dist/).
|
Package webui embeds the app's built page (dist/). |
|
cmd
|
|
|
surface
command
Command surface generates and builds Surface apps.
|
Command surface generates and builds Surface apps. |
|
Package core assembles a Surface app: the kernel (desk, commands, settings, marks, events), the selected modules and the embedded agent, behind one HTTP handler.
|
Package core assembles a Surface app: the kernel (desk, commands, settings, marks, events), the selected modules and the embedded agent, behind one HTTP handler. |
|
internal/ade
Package ade lets the agent show the owner things on the desk: point at a window or at a part of one (an anchor its view declared), spotlight it, draw an arrow between two, and walk the owner through a short guide.
|
Package ade lets the agent show the owner things on the desk: point at a window or at a part of one (an anchor its view declared), spotlight it, draw an arrow between two, and walk the owner through a short guide. |
|
internal/agent
Package agent is the embedded agent of a Surface app: one agent the owner talks to in the agent panel, with every tool in the app, whose context changes with what is in front.
|
Package agent is the embedded agent of a Surface app: one agent the owner talks to in the agent panel, with every tool in the app, whose context changes with what is in front. |
|
internal/api
Package api is the core's HTTP surface: what the page draws from and what an outside client (a CLI, a script, another agent) drives the app through.
|
Package api is the core's HTTP surface: what the page draws from and what an outside client (a CLI, a script, another agent) drives the app through. |
|
internal/attend
Package attend keeps what needs the owner, or has not been seen by them yet, in one place with one vocabulary, so the desk can say "this is waiting for you" the same way wherever it comes from (docs/attention.md).
|
Package attend keeps what needs the owner, or has not been seen by them yet, in one place with one vocabulary, so the desk can say "this is waiting for you" the same way wherever it comes from (docs/attention.md). |
|
internal/cards
Package cards keeps the cards: what the app shows the user outside a window (a notice, a question, a request to approve, progress) and what they answered.
|
Package cards keeps the cards: what the app shows the user outside a window (a notice, a question, a request to approve, progress) and what they answered. |
|
internal/classifier
Package classifier labels the owner's messages to the embedded agent: what the message asks for (the act facet: command, question, task, correction, approval, chat) and which slot it belongs to (the slot facet: the app's slots and general).
|
Package classifier labels the owner's messages to the embedded agent: what the message asks for (the act facet: command, question, task, correction, approval, chat) and which slot it belongs to (the slot facet: the app's slots and general). |
|
internal/config
Package config is the app's live settings: declared by the core and by modules, kept in the app's database, and read at the moment of use.
|
Package config is the app's live settings: declared by the core and by modules, kept in the app's database, and read at the moment of use. |
|
internal/desk
Package desk is the window manager: which windows are open, which is in front, how they are laid out, and the layouts the user saved.
|
Package desk is the window manager: which windows are open, which is in front, how they are laid out, and the layouts the user saved. |
|
internal/events
Package events is the app's event bus: in-process publish and subscribe by topic prefix.
|
Package events is the app's event bus: in-process publish and subscribe by topic prefix. |
|
internal/genui
Package genui is Surface's host for generated UI: the reviewed GenUI contract and gateway from Substrate, given this app's storage, policy and effects.
|
Package genui is Surface's host for generated UI: the reviewed GenUI contract and gateway from Substrate, given this app's storage, policy and effects. |
|
internal/kernel
Package kernel is what the core's own services (the agent, slots, the router) are given: the app's shared state, already assembled.
|
Package kernel is what the core's own services (the agent, slots, the router) are given: the app's shared state, already assembled. |
|
internal/marks
Package marks keeps the collaboration marks: notes pinned to a part of something, by the owner or the agent, with replies, until resolved.
|
Package marks keeps the collaboration marks: notes pinned to a part of something, by the owner or the agent, with replies, until resolved. |
|
internal/reflex
Package reflex holds the agent's reflexes: standing rules that watch the conversation and the app, and act when their trigger fires.
|
Package reflex holds the agent's reflexes: standing rules that watch the conversation and the app, and act when their trigger fires. |
|
internal/router
Package router stands in front of the agent.
|
Package router stands in front of the agent. |
|
internal/script
Package script runs one walk-through three ways (docs/scripts.md):
|
Package script runs one walk-through three ways (docs/scripts.md): |
|
internal/slots
Package slots decides what the embedded agent has in mind for a turn.
|
Package slots decides what the embedded agent has in mind for a turn. |
|
internal/storage
Package storage opens SQLite databases and moves their schema forward.
|
Package storage opens SQLite databases and moves their schema forward. |
|
Package module is the contract between the Surface core and a module.
|
Package module is the contract between the Surface core and a module. |
|
moduletest
Package moduletest runs one Surface module in a test, without the core: a Host with an in-memory desk, live settings, an event bus and marks, and a temporary SQLite store with the module's migrations applied.
|
Package moduletest runs one Surface module in a test, without the core: a Host with an in-memory desk, live settings, an event bus and marks, and a temporary SQLite store with the module's migrations applied. |
|
tetherlink
Package tetherlink calls Tether's tools over MCP for a module: a stdio command (the local bridge, one process per call) or MCP's streamable HTTP.
|
Package tetherlink calls Tether's tools over MCP for a module: a stdio command (the local bridge, one process per call) or MCP's streamable HTTP. |
|
modules
|
|
|
browser
Package browser is the Browser module: web pages in windows, for the owner and the agent.
|
Package browser is the Browser module: web pages in windows, for the owner and the agent. |
|
builder
Package builder is the Interaction Builder: the owner describes a flow ("triage my inbox", "write an article") and the agent sets the app up for it.
|
Package builder is the Interaction Builder: the owner describes a flow ("triage my inbox", "write an article") and the agent sets the app up for it. |
|
design
Package design is the Design module: design work handed to a design team and reviewed live.
|
Package design is the Design module: design work handed to a design team and reviewed live. |
|
diagram
Package diagram is the Diagram module: architecture and flow drawings the owner and the agent keep together.
|
Package diagram is the Diagram module: architecture and flow drawings the owner and the agent keep together. |
|
drafts
Package drafts is the Drafts module: documents (prose, code, plans) the owner and the agent work on together.
|
Package drafts is the Drafts module: documents (prose, code, plans) the owner and the agent work on together. |
|
files
Package files is the Files module: a file browser over a small set of named places (root directories on this machine), for the owner and for the agent.
|
Package files is the Files module: a file browser over a small set of named places (root directories on this machine), for the owner and for the agent. |
|
inbox
Package inbox is the Inbox module: the owner's Tether mail, read through Tether's own message tools (tether_message_list and the rest), so nothing is consumed by reading: a message stays in its mailbox, read or unread, for every other reader too.
|
Package inbox is the Inbox module: the owner's Tether mail, read through Tether's own message tools (tether_message_list and the rest), so nothing is consumed by reading: a message stays in its mailbox, read or unread, for every other reader too. |
|
notes
Package notes is the Notes module: Markdown files in a folder, written by the owner and the agent, linked with [[wiki links]] and marked up with the core's marks.
|
Package notes is the Notes module: Markdown files in a folder, written by the owner and the agent, linked with [[wiki links]] and marked up with the core's marks. |
|
reader
Package reader is the Reader module: RSS and Atom feeds the owner follows, read in a window of their own.
|
Package reader is the Reader module: RSS and Atom feeds the owner follows, read in a window of their own. |
|
scratch
Package scratch is the Scratch module: quick notes, to-dos, ideas and follow-ups as small items, kept in the module's own store.
|
Package scratch is the Scratch module: quick notes, to-dos, ideas and follow-ups as small items, kept in the module's own store. |
|
terminal
Package terminal is the Terminal module: local shells in pseudo-terminals, drawn by xterm.js in a window of tabs.
|
Package terminal is the Terminal module: local shells in pseudo-terminals, drawn by xterm.js in a window of tabs. |
|
terminal/shell
Package shell runs local shells in pseudo-terminals and lets browser terminals attach to them.
|
Package shell runs local shells in pseudo-terminals and lets browser terminals attach to them. |
|
viewer
Package viewer is the Viewer module: look at an artifact (a picture, a video, a recording, a PDF, an HTML mock) and point at what you mean.
|
Package viewer is the Viewer module: look at an artifact (a picture, a video, a recording, a PDF, an HTML mock) and point at what you mean. |
Click to show internal directories.
Click to hide internal directories.