internal/

directory
v0.0.122 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: GPL-3.0

Directories

Path Synopsis
Package agents is the agent subsystem: agents-as-users and their templates, skills and standing orders (AgentService), the run orchestrator with its approval gates, cross-instance turn coordination and coding-task layer, runner pairing tokens, shared channel context, connectors (API docs bundles plus per-user credentials, synced from the connector provider), server-side Bedrock execution (ServerEngine) and projects.
Package agents is the agent subsystem: agents-as-users and their templates, skills and standing orders (AgentService), the run orchestrator with its approval gates, cross-instance turn coordination and coding-task layer, runner pairing tokens, shared channel context, connectors (API docs bundles plus per-user credentials, synced from the connector provider), server-side Bedrock execution (ServerEngine) and projects.
Package app wires the server process: it builds every store, service and handler from the configuration (one builder per subsystem), refuses to boot while a dependency production needs is missing, runs the background workers and the HTTP server, and shuts everything down in order.
Package app wires the server process: it builds every store, service and handler from the configuration (one builder per subsystem), refuses to boot while a dependency production needs is missing, runs the background workers and the HTTP server, and shuts everything down in order.
Package apperr holds the error kinds every layer shares.
Package apperr holds the error kinds every layer shares.
Package bedrock runs an agent loop against AWS Bedrock's Converse API.
Package bedrock runs an agent loop against AWS Bedrock's Converse API.
Package connectordocs is the server-side twin of the desktop runner's connector_lookup (ex-electron src/runner/connector-docs.ts): instead of the model discovering an endpoint by reading whole doc files turn after turn (_USAGE.md, grep _catalog.tsv, the service YAML, _enums.yaml — each one a full tool result carried in context), one lookup does that walk in-process and hands back only the matching catalog rows, the chosen endpoint's contract block, and the enum values it references.
Package connectordocs is the server-side twin of the desktop runner's connector_lookup (ex-electron src/runner/connector-docs.ts): instead of the model discovering an endpoint by reading whole doc files turn after turn (_USAGE.md, grep _catalog.tsv, the service YAML, _enums.yaml — each one a full tool result carried in context), one lookup does that walk in-process and hands back only the matching catalog rows, the chosen endpoint's contract block, and the enum values it references.
Package cron parses the five-field cron specs that drive scheduled agent orders ("0 8 * * 1-5" — 08:00 on weekdays) and computes the next firing in a given timezone.
Package cron parses the five-field cron specs that drive scheduled agent orders ("0 8 * * 1-5" — 08:00 on weekdays) and computes the next firing in a given timezone.
Package email delivers transactional mail (guest invites, password resets).
Package email delivers transactional mail (guest invites, password resets).
Package eventlog provides a Redis Streams–backed per-user durable inbox for real-time events.
Package eventlog provides a Redis Streams–backed per-user durable inbox for real-time events.
Package limits holds the hard input ceilings and their validators, shared by the service layer and the history importer so both enforce identical rules.
Package limits holds the hard input ceilings and their validators, shared by the service layer and the history importer so both enforce identical rules.
Package msgraph is a minimal Microsoft Graph client.
Package msgraph is a minimal Microsoft Graph client.
Package netguard is the one outbound-HTTP policy for requests whose destination someone other than the operator chose: link unfurls and their preview images (any user), connector calls, the connector-provider sync and the server engine's tool calls (admin- or provider-supplied URLs that carry a user's credential).
Package netguard is the one outbound-HTTP policy for requests whose destination someone other than the operator chose: link unfurls and their preview images (any user), connector calls, the connector-provider sync and the server engine's tool calls (admin- or provider-supplied URLs that carry a user's credential).
Package paginate centralizes the cursor-loop pattern used by every "drain a paginated source" caller.
Package paginate centralizes the cursor-loop pattern used by every "drain a paginated source" caller.
Package redisx centralizes go-redis quirks every Redis-backed package (cache, pubsub, store, migrate) must handle identically: client options hardened against the maintenance-notifications handshake, and Lua script execution hardened against NOSCRIPT errors surfacing to callers.
Package redisx centralizes go-redis quirks every Redis-backed package (cache, pubsub, store, migrate) must handle identically: client options hardened against the maintenance-notifications handshake, and Lua script execution hardened against NOSCRIPT errors surfacing to callers.
Package safe provides panic-isolated goroutine spawning.
Package safe provides panic-isolated goroutine spawning.
Package search wraps the small set of OpenSearch operations the app uses (index, delete, get and search documents, bulk writes, alias-swap index rebuilds) on top of github.com/opensearch-project/opensearch-go/v4.
Package search wraps the small set of OpenSearch operations the app uses (index, delete, get and search documents, bulk writes, alias-swap index rebuilds) on top of github.com/opensearch-project/opensearch-go/v4.
Package searchaccess resolves which parents (channels + conversations) a user may see search results from.
Package searchaccess resolves which parents (channels + conversations) a user may see search results from.
Package service (directory webhookcompat) is a frozen copy of the shape a classic incoming webhook's payload had before rich webhooks existed (origin/main at 933dc8a).
Package service (directory webhookcompat) is a frozen copy of the shape a classic incoming webhook's payload had before rich webhooks existed (origin/main at 933dc8a).
model
Package model (directory webhookcompat/model) is a frozen copy of the attachment types of main's classic webhook payload; see the parent package.
Package model (directory webhookcompat/model) is a frozen copy of the attachment types of main's classic webhook payload; see the parent package.
Package wiring is the boot-time completeness check for setter-injected dependencies.
Package wiring is the boot-time completeness check for setter-injected dependencies.

Jump to

Keyboard shortcuts

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