@oikina/runtime
v0.0.2
Published
Experimental provider-adapter contract for the Oikina runtime.
Readme
@oikina/runtime
Provider-neutral contracts and a local filesystem implementation for the V0 hosted static runtime.
import {
createLocalFilesystemRegistry,
resolveHostedRequest,
} from "@oikina/runtime";
const registry = createLocalFilesystemRegistry(".oikina/registry");
await registry.publish(manifest, "dist");
const response = await resolveHostedRequest(
{ host: "incident-tracker.oikina.com", path: "/incidents/42" },
registry,
);Artifacts are content-addressed and immutable. A small mutable deployment record selects the artifact currently served for each app slug.
