internal/

directory
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: MIT

Directories

Path Synopsis
Package app runs the SupaCraft API server (REST, auth, files, pipeline functions and the cron scheduler) in-process.
Package app runs the SupaCraft API server (REST, auth, files, pipeline functions and the cron scheduler) in-process.
Package docs embeds the supacraft.json reference served to AI agents.
Package docs embeds the supacraft.json reference served to AI agents.
Package envref resolves "${NAME}" references: config strings that are entirely a reference to an environment variable or server-side secret.
Package envref resolves "${NAME}" references: config strings that are entirely a reference to an environment variable or server-side secret.
Package jobs runs the background jobs queued by job.enqueue steps: each job calls a PRIVATE function with its args, retrying with backoff until it succeeds or runs out of attempts.
Package jobs runs the background jobs queued by job.enqueue steps: each job calls a PRIVATE function with its args, retrying with backoff until it succeeds or runs out of attempts.
Package mcpserver exposes a SupaCraft project to AI agents over MCP (stdio).
Package mcpserver exposes a SupaCraft project to AI agents over MCP (stdio).
Package oauth talks to the sign-in providers: Google and any OpenID Connect provider (found through discovery) and GitHub (its own API).
Package oauth talks to the sign-in providers: Google and any OpenID Connect provider (found through discovery) and GitHub (its own API).
Package openapi describes a tenant's HTTP API as an OpenAPI 3.1 document: the auth, CRUD and file endpoints it has enabled and its pipeline functions.
Package openapi describes a tenant's HTTP API as an OpenAPI 3.1 document: the auth, CRUD and file endpoints it has enabled and its pipeline functions.
Package project is the local, file-based source of truth for a SupaCraft backend.
Package project is the local, file-based source of truth for a SupaCraft backend.
Package realtime streams table changes to subscribers.
Package realtime streams table changes to subscribers.
Package remote calls the signed /admin endpoints of a central SupaCraft server (see internal/studiosign for the scheme).
Package remote calls the signed /admin endpoints of a central SupaCraft server (see internal/studiosign for the scheme).
Package secrets stores the server-side values of "${NAME}" references for the tenants of a central data directory, one file per tenant: {dataDir}/env/{tenant}.json, readable only by the server's user.
Package secrets stores the server-side values of "${NAME}" references for the tenants of a central data directory, one file per tenant: {dataDir}/env/{tenant}.json, readable only by the server's user.
Package service installs SupaCraft as a systemd service (Linux).
Package service installs SupaCraft as a systemd service (Linux).
Package sqlitedb provisions per-tenant SQLite databases.
Package sqlitedb provisions per-tenant SQLite databases.
ddl
Package ddl is SupaCraft's SQLite DDL engine.
Package ddl is SupaCraft's SQLite DDL engine.
Package studio is a local, read-only database viewer for SupaCraft projects (Drizzle-Studio style).
Package studio is a local, read-only database viewer for SupaCraft projects (Drizzle-Studio style).
Package studiosign is the request-signing scheme shared by the studio proxy client (internal/studio) and the API's /admin/studio middleware.
Package studiosign is the request-signing scheme shared by the studio proxy client (internal/studio) and the API's /admin/studio middleware.
Package tenantfile reads and writes compiled tenant configs under {DataDir}/tenants/{id}.json — the same path internal/tenant.FileStore reads.
Package tenantfile reads and writes compiled tenant configs under {DataDir}/tenants/{id}.json — the same path internal/tenant.FileStore reads.
Package testrun loads a project's seed data and runs its tests (the "seed" and "tests" sections of supacraft.json).
Package testrun loads a project's seed data and runs its tests (the "seed" and "tests" sections of supacraft.json).

Jump to

Keyboard shortcuts

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