Local native workspace preview
Native application path: gRPC for live data and edits; PMTiles, GeoParquet and COG through the CDN. Start there for browser gRPC-Web setup, signed private URLs and regeneration after changes. OGC API and GeoServices REST examples below are compatibility workflows.
The manifest-pinned public server and MCP package do not yet prove the native
workspace contract. The default installer remains on its published pins. The
Node installer API accepts an explicit nativeWorkspace preview configuration
with serverImage, consoleImage (both immutable @sha256 references), a
releaseId, an absolute host-selected gatewayCommand and optional gatewayArgs,
and an optional loopback consolePort (default 8081). Supply actual
approved preview artifacts; no preview image names are built into the SDK.
The CLI exposes the same opt-in with --native-server-image,
--native-console-image, --native-release-id, --native-gateway-command,
repeatable --native-gateway-arg, and optionally --native-console-port.
Supply all four artifact/identity/executable flags together. The single MCP
registration uses that qualified executable and only its fixed installation
directory; neither credential material nor an unpublished npm pin is written
into the preview MCP configuration.
--dry-run renders the proposed Compose configuration without starting Docker.
For the same preview through an already registered agent gateway, configure the
host with HONUA_AGENT_PREVIEW_SERVER_IMAGE, HONUA_AGENT_PREVIEW_CONSOLE_IMAGE,
HONUA_AGENT_PREVIEW_RELEASE_ID, and HONUA_AGENT_PREVIEW_GATEWAY_COMMAND.
Optional HONUA_AGENT_PREVIEW_GATEWAY_ARGS is a JSON array of executable
arguments; HONUA_AGENT_PREVIEW_CONSOLE_PORT selects the loopback Console port.
These are host configuration, not prompt arguments. A partially supplied preview
configuration is an error. Once installed, the generated single registration
needs only the installation directory to reconnect using its persisted, verified
workspace credential. An incomplete or rejected workspace credential never falls
back to the legacy installer credential.
The installer records a stable deployment identity in its private .env, starts
PostGIS, Redis, the selected server and Console, checks the live workspace target,
and issues an independent honua-local-workspace-agent key. Its exact grants are
admin:read, admin:write, read:*, and agent:workspace. The existing
honua-local-agent key retains its existing grants and configuration. The new
key and issued ID are private file values, never result fields. Returned evidence
contains identity, grants, and a reference digest only. Reinstallation verifies
identity and effective grants before reuse; broader, revoked, or incomplete
credentials fail closed.
Server AgentWorkspace:LocalAgentPrincipalId uses the canonical actor
apikey:api-key:<issued UUID>. Console receives only the separate agent key and
its fixed internal server URL for native transport. It receives no administrator
fallback. The second Compose application recreates the server with this binding.
A failed recreation can be retried from the persisted key without reissuing it.
This setup returns preview-requires-human-pairing. A working Console human
session remains required. Preview Compose explicitly enables the Development-only
local human bridge: a separate random bridge secret is shared by server and
Console, while the independent operator-token signing key is supplied only to
the server. Console exchanges its authenticated development cookie for a bounded
human bearer with the server-owned public tenant. No bootstrap key or signer
is substituted into agent transport. API keys currently use the configured
default local tenant (public); the bridge issues the matching validated claim.
Preview Compose also enables Studio end-user authorization on the server and
the embedded Studio view in Console, so both surfaces use that human session.
Do not infer successful pairing or execution from a healthy Docker container.
The preview release, public gateway artifact, Console sign-in, shared workspace,
canonical approval inbox, and native turn must be qualified together before
advancing public installer pins or calling this release verified. A preview
release change currently requires a separate install directory.
Native model access is an optional explicit configuration. Set API
nativeWorkspace.modelProvider with kind (openai, anthropic, or bedrock),
model, an API endpoint for OpenAI-compatible/Anthropic providers, optional
region, and optional apiKeyEnvironmentVariable. The CLI equivalents are
--native-model-kind, --native-model-name, --native-model-endpoint,
--native-model-region, and --native-model-key-env. The last flag takes a host
environment variable name, never a credential value. The installer copies that
reference's value only into the verified private .env and passes it only to
the server. Bedrock can use the server's configured AWS credential chain;
no provider credential or identity is inferred from the Console session.
The preview generates an independent base64-encoded 32-byte Ed25519 transcript
seed and retains it across reinstalls. Server configuration references that
secret through env:HONUA_NATIVE_TRANSCRIPT_SEED; the Console receives only the
actual capability endpoint's public verification manifest. This seed is distinct
from the local operator HMAC signing key. With no model provider configured,
StudioAiProxy:Enabled remains false and native chat is explicitly unavailable.
Provider connectivity and signed real tool execution still require qualification
against the selected immutable preview images.
An optional native HTTP gateway uses API nativeWorkspace.gatewayHttp with
url and keyEnvironmentVariable, or CLI --native-gateway-url plus
--native-gateway-key-env. The URL must be an explicit HTTP(S) origin with no
extra path, credentials, query or fragment. The key argument names an independent
host environment secret of at least 32 UTF-8 bytes. Reserved Honua credentials
and known reused credential values are rejected. Only the private .env and
Console receive this bridge key; it is not passed to the server or MCP model.
The configured gateway must use the same bridge secret and actual scoped agent
credential, verify each captured workspace turn, and advertise authorized
families through its capability manifest.
Choose a private address reachable from the Console container and configure the gateway listener on that private interface. Its default loopback listener is not automatically reachable from Docker. The installer does not guess a Docker host address, alter host listeners, or open a public gateway port. Without this opt-in, Console uses the server's canonical MCP tools directly; optional infrastructure extension tools are not advertised to native chat.
When the installed Server advertises the optional Server-job import tools, the
control-plane SDK's DatasetImportServerJobSourceClient discovers bounded
artifact metadata and describes the selected output. Continuation retains the
original result-package version. The description carries a canonical reference,
content hash, producer identity and verified coordinate frame; it contains no
artifact URI or feature bytes. Capture that exact reference in the originating
workspace turn before creating its import task. Unknown CRS requires an explicit
source SRID choice; ordinary feature properties do not establish the CRS.
DatasetImportUploadClient.transferServerJobArtifact copies the original task's
output through the Server's existing upload coordinator and returns a sealed,
retained source receipt. Submission and any approval remain separate. A lost
transfer reply is unknown: read or reconcile that original upload before
explicitly resuming it. These optional APIs do not advance public installer pins
or qualify an installed output-to-query-to-map journey.