pkg/

directory
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: Apache-2.0

Directories

Path Synopsis
audio
providers
Package audioproviders exposes seshat's stt.SpeechToText and tts.Generation implementations for direct use by a host application, independent of the agent/tool loop.
Package audioproviders exposes seshat's stt.SpeechToText and tts.Generation implementations for direct use by a host application, independent of the agent/tool loop.
stt
Package stt is the public, provider-agnostic speech-to-text interface - a standalone client library separate from the speech_to_text agent tool, for a host application transcribing audio directly (e.g.
Package stt is the public, provider-agnostic speech-to-text interface - a standalone client library separate from the speech_to_text agent tool, for a host application transcribing audio directly (e.g.
tts
Package tts is the public, provider-agnostic text-to-speech interface - a standalone client library separate from the text_to_speech agent tool, for a host application synthesising speech directly without an LLM tool-calling loop in the way.
Package tts is the public, provider-agnostic text-to-speech interface - a standalone client library separate from the text_to_speech agent tool, for a host application synthesising speech directly without an LLM tool-calling loop in the way.
auth
Package automation exposes the automation workflow primitives for use by external embedders, seshat-ai, and cmd/automation workflows.
Package automation exposes the automation workflow primitives for use by external embedders, seshat-ai, and cmd/automation workflows.
Azure Blob Storage connector: shared-key auth (an account name + account key, an admin pastes in once), the same static-credential shape as S3 - not SAS tokens or Entra ID/OAuth, deliberately (see this connector's entry in ROADMAP.md for why: this is an admin-configured infrastructure credential, not a per-employee identity, so the OAuth machinery SharePoint needs doesn't apply here).
Azure Blob Storage connector: shared-key auth (an account name + account key, an admin pastes in once), the same static-credential shape as S3 - not SAS tokens or Entra ID/OAuth, deliberately (see this connector's entry in ROADMAP.md for why: this is an admin-configured infrastructure credential, not a per-employee identity, so the OAuth machinery SharePoint needs doesn't apply here).
Package dataflow is a deterministic node-graph execution engine: HTTP calls, filters, data transforms, database queries, and similar steps that don't need an LLM turn to run.
Package dataflow is a deterministic node-graph execution engine: HTTP calls, filters, data transforms, database queries, and similar steps that don't need an LLM turn to run.
expr
Package expr evaluates JS boolean/value expressions (n8n's "{{ $json.x }}" convention, already used by seshat-backend's inbox event filter) for dataflow nodes that need per-item logic (filter/if/set/switch) — unlike event_filter.go's one-VM-per-call approach (fine for a single check per inbound message), a dataflow node may evaluate the same expression against many items in one run, so this pool reuses goja runtimes and caches compiled bytecode across evaluations.
Package expr evaluates JS boolean/value expressions (n8n's "{{ $json.x }}" convention, already used by seshat-backend's inbox event filter) for dataflow nodes that need per-item logic (filter/if/set/switch) — unlike event_filter.go's one-VM-per-call approach (fine for a single check per inbound message), a dataflow node may evaluate the same expression against many items in one run, so this pool reuses goja runtimes and caches compiled bytecode across evaluations.
nodes
Package nodes provides the generic, deterministic node types every dataflow graph can use regardless of tenant/product (http_request, filter, if, switch, set, merge, wait) — no credentials, no multi-tenant concerns.
Package nodes provides the generic, deterministic node types every dataflow graph can use regardless of tenant/product (http_request, filter, if, switch, set, merge, wait) — no credentials, no multi-tenant concerns.
nodes/database
Package database provides deterministic node executors for querying external databases from a dataflow graph — Postgres, MySQL, SQLite (pkg/database/sql, three thin drivers sharing one executor), Redis, and MongoDB (native drivers), and Elasticsearch (its own REST API, no client SDK needed).
Package database provides deterministic node executors for querying external databases from a dataflow graph — Postgres, MySQL, SQLite (pkg/database/sql, three thin drivers sharing one executor), Redis, and MongoDB (native drivers), and Elasticsearch (its own REST API, no client SDK needed).
Package documentreading decides how to turn a file's bytes into markdown text, cheapest path first.
Package documentreading decides how to turn a file's bytes into markdown text, cheapest path first.
fim
Package fim is the public Fill-in-the-Middle code completion interface - a standalone client library separate from the code_complete agent tool.
Package fim is the public Fill-in-the-Middle code completion interface - a standalone client library separate from the code_complete agent tool.
providers
Package fimproviders exposes seshat's fim.Completer implementations for direct use by a host application, independent of the agent/tool loop.
Package fimproviders exposes seshat's fim.Completer implementations for direct use by a host application, independent of the agent/tool loop.
Package gmail is a thin wrapper around the official Gmail API client (google.golang.org/api/gmail/v1) - unlike core/msgraph, there's a real SDK to build on here, so this package's job is the higher-level orchestration around it (history-based sync with bootstrap fallback, MIME parsing/translation, reply threading), not raw HTTP.
Package gmail is a thin wrapper around the official Gmail API client (google.golang.org/api/gmail/v1) - unlike core/msgraph, there's a real SDK to build on here, so this package's job is the higher-level orchestration around it (history-based sync with bootstrap fallback, MIME parsing/translation, reply threading), not raw HTTP.
grpc
Package image is the public, provider-agnostic image generation interface.
Package image is the public, provider-agnostic image generation interface.
providers
Package imageproviders exposes seshat's image.Generation implementations for direct use by a host application, independent of the agent/tool loop.
Package imageproviders exposes seshat's image.Generation implementations for direct use by a host application, independent of the agent/tool loop.
memory
Package model re-exports internal/model's LLM model-metadata registry (context windows, pricing, capability flags such as vision support) for external consumers that need to query or extend it directly - e.g.
Package model re-exports internal/model's LLM model-metadata registry (context windows, pricing, capability flags such as vision support) for external consumers that need to query or extend it directly - e.g.
Package msgraph is a minimal, hand-rolled Microsoft Graph client for Mail and Teams chat messaging - no official Go SDK is vendored in this module, same reasoning as core/connectors' sharepoint_graph.go: only a handful of call shapes are needed, not the full Graph surface a generated SDK would bring in.
Package msgraph is a minimal, hand-rolled Microsoft Graph client for Mail and Teams chat messaging - no official Go SDK is vendored in this module, same reasoning as core/connectors' sharepoint_graph.go: only a handful of call shapes are needed, not the full Graph surface a generated SDK would bring in.
Package netdiag runs a small, named sequence of layered connectivity checks (DNS, then TCP, then TLS, then HTTP) against one target, so the person who runs a deployment can see exactly which layer is broken instead of a single opaque "cannot reach it" failure.
Package netdiag runs a small, named sequence of layered connectivity checks (DNS, then TCP, then TLS, then HTTP) against one target, so the person who runs a deployment can see exactly which layer is broken instead of a single opaque "cannot reach it" failure.
Package officetext re-exports internal/officetext's native DOCX/PPTX/XLSX text extraction for external consumers (e.g.
Package officetext re-exports internal/officetext's native DOCX/PPTX/XLSX text extraction for external consumers (e.g.
Package pdfsmart re-exports internal/pdfsmart's page-aware PDF conversion for external consumers (e.g.
Package pdfsmart re-exports internal/pdfsmart's page-aware PDF conversion for external consumers (e.g.
Package pdftext re-exports internal/pdftext's native PDF text extraction for external consumers (e.g.
Package pdftext re-exports internal/pdftext's native PDF text extraction for external consumers (e.g.
rag
Package sdk embeds the Seshat agent runtime in a Go program.
Package sdk embeds the Seshat agent runtime in a Go program.
Package textquality re-exports internal/textquality's broken-extraction detection for external consumers (e.g.
Package textquality re-exports internal/textquality's broken-extraction detection for external consumers (e.g.
Package tools exposes the seshat agent's tool contract publicly, so an external consumer (e.g.
Package tools exposes the seshat agent's tool contract publicly, so an external consumer (e.g.
web

Jump to

Keyboard shortcuts

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