Directories
¶
| Path | Synopsis |
|---|---|
|
Package acpserver will adapt Suga's personal agent to ACP over stdio.
|
Package acpserver will adapt Suga's personal agent to ACP over stdio. |
|
adapters
|
|
|
gofermem
Package gofermem is the gofer memory backend: project memory stored as gofer notes through the `gofer memory` CLI, so every agent working in the repository sees it in its gofer prime context.
|
Package gofermem is the gofer memory backend: project memory stored as gofer notes through the `gofer memory` CLI, so every agent working in the repository sees it in its gofer prime context. |
|
memindex
Package memindex adds a rebuildable SQLite FTS projection to a memory Store.
|
Package memindex adds a rebuildable SQLite FTS projection to a memory Store. |
|
Package adddir resolves the additional directories of one session: the repeatable --add-dir flag and the SUGA_ADD_DIRS environment variable, both "<absolute directory>[:ro|:rw]" (default :ro), plus the set a session already carries in its metadata.
|
Package adddir resolves the additional directories of one session: the repeatable --add-dir flag and the SUGA_ADD_DIRS environment variable, both "<absolute directory>[:ro|:rw]" (default :ro), plus the set a session already carries in its metadata. |
|
lineedit
Package lineedit is a copy of the VT100 line editor (Terminal) from golang.org/x/term v0.29.0 (terminal.go), made display-width aware.
|
Package lineedit is a copy of the VT100 line editor (Terminal) from golang.org/x/term v0.29.0 (terminal.go), made display-width aware. |
|
Package cli defines the suga command tree; cmd/suga only assembles and runs it.
|
Package cli defines the suga command tree; cmd/suga only assembles and runs it. |
|
Package clipboardimage reads a picture from the system clipboard for chat's Alt+V paste (image input design 0.3).
|
Package clipboardimage reads a picture from the system clipboard for chat's Alt+V paste (image input design 0.3). |
|
Package diffview builds what one file tool call changes on disk and renders it as a unified diff.
|
Package diffview builds what one file tool call changes on disk and renders it as a unified diff. |
|
Package hooks runs the user-configured hook command for chat events.
|
Package hooks runs the user-configured hook command for chat events. |
|
termtext
Package termtext removes terminal control sequences from text that came from a model, a tool or another external source before chat writes it to a terminal.
|
Package termtext removes terminal control sequences from text that came from a model, a tool or another external source before chat writes it to a terminal. |
|
backup
Package backup owns the portable, verified suga data backup archive format.
|
Package backup owns the portable, verified suga data backup archive format. |
|
outschema
Package outschema implements the output contract of `suga run --output-schema` and sugasdk.Prompt.OutputSchema (design docs/design/2026-10-22-output-schema-design.md): compile a caller's JSON Schema in a sandbox, extract JSON from a model answer, check it, and render what a report, a trace event and a correction message need.
|
Package outschema implements the output contract of `suga run --output-schema` and sugasdk.Prompt.OutputSchema (design docs/design/2026-10-22-output-schema-design.md): compile a caller's JSON Schema in a sandbox, extract JSON from a model answer, check it, and render what a report, a trace event and a correction message need. |
|
store
Package store is the single-file SQLite core store for personal sessions: sessions, a linear entry log, turns (agentcore run state) and events.
|
Package store is the single-file SQLite core store for personal sessions: sessions, a linear entry log, turns (agentcore run state) and events. |
|
Package wiring assembles the personal runner (provider, tools, store, rules) shared by the CLI and ACP front ends.
|
Package wiring assembles the personal runner (provider, tools, store, rules) shared by the CLI and ACP front ends. |
Click to show internal directories.
Click to hide internal directories.