0
Fork 0
mirror of https://github.com/oblien/openship.git synced 2026-11-18 06:55:56 +00:00
openship/packages/contracts
Hydra de lerne e19711e1c5
feat: add domain virtual responses with a compact editor (#1739)
* feat: add domain virtual responses with a compact editor and bounded edge matching

* fix: keep traffic working during rolling edge script updates

* refactor: centralize edge management transport
History 2026-11-12 21:20:24 +02:00
..
src feat: add domain virtual responses with a compact editor (#1739) 2026-11-12 21:20:24 +02:00
test fix(deploy): let webhook and CLI deploys approve reviewed Compose changes (#1675) 2026-11-11 18:57:58 +02:00
package.json fix(assistant): use Codex device login on remote hosts (#1600) 2026-11-04 13:20:37 +02:00
README.md ship sdk, intial scale panel 2026-09-14 01:34:59 +03:00
tsconfig.json ship sdk, intial scale panel 2026-09-14 01:34:59 +03:00

Application contracts

Shared runtime schemas and public data types for the SDK, platform, and HTTP adapters. The initial surface covers deployment creation and fixed-tenant protocol discovery. Contracts have no database, Hono, provider, or application dependencies.

parseCreateDeploymentInput snapshots and validates public fields. Unknown fields are ignored for existing HTTP compatibility; internal deployment-engine arguments are not part of this contract.

Deployment result types are inferred from runtime schemas. isCreateDeploymentResult validates the same response in the remote SDK and cloud gateway, including agreement between the envelope IDs and any full deployment record. ID-only responses remain supported, so deployment is optional in the common result type; a supplied record must be complete. The API composition also validates its masked, serialized presentation with isDeployment.

See SDK usage and the migration plan.