internal/

directory
v0.7.19 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: MIT

Directories

Path Synopsis
Package api hosts the /internal HTTP surface used by runner subprocesses to fetch their context, request scoped secrets, stream events, and finalize.
Package api hosts the /internal HTTP surface used by runner subprocesses to fetch their context, request scoped secrets, stream events, and finalize.
Package audit centralizes audit_log writes so mutating handlers can record their actions with a single call.
Package audit centralizes audit_log writes so mutating handlers can record their actions with a single call.
bootstrap
azure
internal/bootstrap/azure/admininit.go
internal/bootstrap/azure/admininit.go
Package chat implements the in-app assistant: a stateless tool-using agent loop that helps operators set up jobs and troubleshoot failures.
Package chat implements the in-app assistant: a stateless tool-using agent loop that helps operators set up jobs and troubleshoot failures.
Package cloud defines pluggable interfaces for cloud-specific concerns — job dispatch, secret storage, and identity.
Package cloud defines pluggable interfaces for cloud-specific concerns — job dispatch, secret storage, and identity.
azure
Package azure provides an Azure Container Apps Jobs implementation of cloud.JobDispatcher.
Package azure provides an Azure Container Apps Jobs implementation of cloud.JobDispatcher.
Package config parses CronFoundry manifest and skill files and resolves single-level `{{ include "..." }}` directives inside skill bodies.
Package config parses CronFoundry manifest and skill files and resolves single-level `{{ include "..." }}` directives inside skill bodies.
db
Package db wraps the Postgres connection pool and migration runner used by the CronFoundry service process.
Package db wraps the Postgres connection pool and migration runner used by the CronFoundry service process.
gen
Package github wraps the GitHub App authentication + REST API calls CronFoundry needs for repo sync and writeback.
Package github wraps the GitHub App authentication + REST API calls CronFoundry needs for repo sync and writeback.
Package githubapp drives the GitHub App "create from manifest" flow used by the install script's step 5.
Package githubapp drives the GitHub App "create from manifest" flow used by the install script's step 5.
Package githubtest provides test helpers for code that uses internal/github.
Package githubtest provides test helpers for code that uses internal/github.
jobdispatch
flymachines
Package flymachines implements cloud.JobDispatcher using the Fly Machines API.
Package flymachines implements cloud.JobDispatcher using the Fly Machines API.
k8sjobs
Package k8sjobs implements cloud.JobDispatcher using Kubernetes batch/v1 Jobs.
Package k8sjobs implements cloud.JobDispatcher using Kubernetes batch/v1 Jobs.
Package llm defines a provider-agnostic interface for streaming chat completions against OpenAI, Anthropic, and Azure AI Foundry.
Package llm defines a provider-agnostic interface for streaming chat completions against OpenAI, Anthropic, and Azure AI Foundry.
Package mcp implements a minimal MCP 2024-11-05 stdio client: just enough of the protocol to initialize a server, enumerate its tools, call tools, and cancel in-flight calls.
Package mcp implements a minimal MCP 2024-11-05 stdio client: just enough of the protocol to initialize a server, enumerate its tools, call tools, and cancel in-flight calls.
Package memory extracts the reserved <memory>...</memory> writeback block from an LLM's output.
Package memory extracts the reserved <memory>...</memory> writeback block from an LLM's output.
Package metrics defines all Prometheus metrics emitted by cronfoundry and exposes a /metrics handler.
Package metrics defines all Prometheus metrics emitted by cronfoundry and exposes a /metrics handler.
Package publish fans output to destinations (GitHub issue, Slack, Discord, Teams), isolating per-destination failures.
Package publish fans output to destinations (GitHub issue, Slack, Discord, Teams), isolating per-destination failures.
Package redact scrubs known secret values from strings before logging.
Package redact scrubs known secret values from strings before logging.
Package runner orchestrates a single end-to-end skill execution: load manifest + skill, call LLM, parse memory, publish, writeback.
Package runner orchestrates a single end-to-end skill execution: load manifest + skill, call LLM, parse memory, publish, writeback.
Package scheduler implements the tick loop that turns due schedules into run rows and dispatches them via the JobDispatcher.
Package scheduler implements the tick loop that turns due schedules into run rows and dispatches them via the JobDispatcher.
Package secrets is the umbrella for cronfoundry's secret subsystem.
Package secrets is the umbrella for cronfoundry's secret subsystem.
runner
Package runner resolves skill-declared secrets from environment variables in the form CRONFOUNDRY_SECRET_<UPPER(name)>.
Package runner resolves skill-declared secrets from environment variables in the form CRONFOUNDRY_SECRET_<UPPER(name)>.
server
Package server persists and retrieves secrets under envelope encryption.
Package server persists and retrieves secrets under envelope encryption.
server/azurekv
Package azurekv provides an Azure Key Vault implementation of server.SecretStore.
Package azurekv provides an Azure Key Vault implementation of server.SecretStore.
Package skillrepo composes go-github calls into the specific "open a PR with a single-file change" pipeline used by POST /api/skill-repo/jobs.
Package skillrepo composes go-github calls into the specific "open a PR with a single-file change" pipeline used by POST /api/skill-repo/jobs.
Package sync implements the repo sync poller (Loop 1 in the P2 design): periodically HEAD-check each connected repo, shallow-clone on SHA change, parse cronfoundry.yaml + referenced SKILL.md files, upsert skill + schedule rows.
Package sync implements the repo sync poller (Loop 1 in the P2 design): periodically HEAD-check each connected repo, shallow-clone on SHA change, parse cronfoundry.yaml + referenced SKILL.md files, upsert skill + schedule rows.
Package template renders destination templates with a fixed, safe variable set — no logic, no loops.
Package template renders destination templates with a fixed, safe variable set — no logic, no loops.
Package testdb provides shared test helpers for booting a throwaway Postgres container and running migrations.
Package testdb provides shared test helpers for booting a throwaway Postgres container and running migrations.
Package token mints and verifies per-run bearer JWTs.
Package token mints and verifies per-run bearer JWTs.
Package webapi hosts the /api/* and /oauth/* browser-facing HTTP surface.
Package webapi hosts the /api/* and /oauth/* browser-facing HTTP surface.
Package writeback commits a <memory> block's content back to the skill repository using go-git.
Package writeback commits a <memory> block's content back to the skill repository using go-git.
Package yamledit edits cronfoundry.yaml manifests with comment- and formatting-preserving precision via yaml.v3's Node API.
Package yamledit edits cronfoundry.yaml manifests with comment- and formatting-preserving precision via yaml.v3's Node API.

Jump to

Keyboard shortcuts

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