internal/

directory
v0.2.37 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package admin is the emulator's control plane and embedded admin console.
Package admin is the emulator's control plane and embedded admin console.
Package auth emulates altengine's data-plane authentication: a Bearer API key resolves to an org + a grants map.
Package auth emulates altengine's data-plane authentication: a Bearer API key resolves to an org + a grants map.
Package automation talks to a hosted automation instance: deploying scripts, starting runs, and reading what they produced.
Package automation talks to a hosted automation instance: deploying scripts, starting runs, and reading what they produced.
Package blob emulates altengine's blob service: a place to put a file, an upload that does not travel through the API, and a public URL for the ones you publish.
Package blob emulates altengine's blob service: a place to put a file, an upload that does not travel through the API, and a public URL for the ones you publish.
Package common holds cross-service primitives: the API error envelope, JSON request/response helpers, and small id/crypto utilities.
Package common holds cross-service primitives: the API error envelope, JSON request/response helpers, and small id/crypto utilities.
Package container emulates the altengine container service: a Docker image run as a background job for as long as the work takes.
Package container emulates the altengine container service: a Docker image run as a background job for as long as the work takes.
Package control is the emulator's control plane: the registry of service instances (search / channel / datastore / auth) and minted API keys for the single local dev org.
Package control is the emulator's control plane: the registry of service instances (search / channel / datastore / auth) and minted API keys for the single local dev org.
Package datastore emulates the altengine datastore data plane: a per-namespace JSON document store with a bounded, index-served query/aggregate/transaction engine.
Package datastore emulates the altengine datastore data plane: a per-namespace JSON document store with a bounded, index-served query/aggregate/transaction engine.
Package deploy pushes a function to a hosted altengine functions instance.
Package deploy pushes a function to a hosted altengine functions instance.
Package devsite serves a built site directory the way the hosted static service serves a deployment, so the local dev loop is the deployed behavior.
Package devsite serves a built site directory the way the hosted static service serves a deployment, so the local dev loop is the deployed behavior.
Package functions emulates the altengine functions service: sandboxed JavaScript, deployed as one bundled ES module and invoked over HTTP, with capability-scoped access to the other services and nothing else.
Package functions emulates the altengine functions service: sandboxed JavaScript, deployed as one bundled ES module and invoked over HTTP, with capability-scoped access to the other services and nothing else.
Package hosted is the one HTTP client the CLI's hosted-service commands (deploy, functions, static, automation) share: the URL check, the bearer header, the error envelope and retries.
Package hosted is the one HTTP client the CLI's hosted-service commands (deploy, functions, static, automation) share: the URL check, the bearer header, the error envelope and retries.
Package identity emulates the altengine auth data plane: per-tenant end-user accounts (`/v1/auth/{instance}`) that issue identity tokens the browser presents to the datastore and channel data planes instead of an org API key.
Package identity emulates the altengine auth data plane: per-tenant end-user accounts (`/v1/auth/{instance}`) that issue identity tokens the browser presents to the datastore and channel data planes instead of an org API key.
Package mailbox emulates the altengine mailbox service: email addresses an app or an agent owns.
Package mailbox emulates the altengine mailbox service: email addresses an app or an agent owns.
Package manifest deploys a "Deploy to AltEngine" manifest into the emulator: the same JSON file the hosted deploy page reads, parsed with the same rules, planned with the same create / update / adopt / conflict classification, and applied in the same step order — through the emulator's own MCP tools and REST routes, so a config the emulator refuses anywhere is refused here too.
Package manifest deploys a "Deploy to AltEngine" manifest into the emulator: the same JSON file the hosted deploy page reads, parsed with the same rules, planned with the same create / update / adopt / conflict classification, and applied in the same step order — through the emulator's own MCP tools and REST routes, so a config the emulator refuses anywhere is refused here too.
Package mcp serves the emulator's MCP endpoint: POST /mcp, JSON-RPC 2.0, stateless.
Package mcp serves the emulator's MCP endpoint: POST /mcp, JSON-RPC 2.0, stateless.
Package search emulates the altengine search data plane — an App Engine Search API feature-parity service.
Package search emulates the altengine search data plane — an App Engine Search API feature-parity service.
Package server wires the emulator's HTTP surface: the data planes (/v1/search, /v1/datastore, /v1/channel, /v1/auth, /v1/functions, /v1/blob, /v1/container, /v1/mailbox, /v1/tasks and the public /fn and /blob paths), the control-plane admin API (/admin), MCP, and the embedded admin console — mounted in the same order as the hosted platform (data plane, then admin, then static assets).
Package server wires the emulator's HTTP surface: the data planes (/v1/search, /v1/datastore, /v1/channel, /v1/auth, /v1/functions, /v1/blob, /v1/container, /v1/mailbox, /v1/tasks and the public /fn and /blob paths), the control-plane admin API (/admin), MCP, and the embedded admin console — mounted in the same order as the hosted platform (data plane, then admin, then static assets).
Package static deploys a built site to a hosted altengine static instance.
Package static deploys a built site to a hosted altengine static instance.
Package tasks emulates the tasks service: queues of work delivered to a function, a channel or a signed webhook (push queues), or leased by workers (pull queues), with retries, backoff, dead-letter queues and triggers from datastore writes, blob uploads and mailbox routes.
Package tasks emulates the tasks service: queues of work delivered to a function, a channel or a signed webhook (push queues), or leased by workers (pull queues), with retries, backoff, dead-letter queues and triggers from datastore writes, blob uploads and mailbox routes.

Jump to

Keyboard shortcuts

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