@agentshouse/panel-contract
v0.1.0-alpha.153436428651083
Published
What one agents.house release serves to its panel: every application-door act with its input and answer schema, every House document type with each field's value format, every Human Notification kind with its value fields, and the App runtime, adapter and
Readme
@agentshouse/panel-contract
What one agents.house release serves to its panel. House generates it from its own code, and its version is derived from its content: two releases with equal contracts and recorded days carry one version.
import { contract, version } from '@agentshouse/panel-contract';contract holds these parts, each schema a JSON Schema (2020-12):
acts- every application-door act by name, posted to/door/<name>, with itsinputschema and, once the act states one, itsanswerschema, which covers each refusal it answers by code.documents- every House document type House writes, with the schema of its frontmatterfields, where it has them, and, where House writes one, its Markdownbody. A list entry's word grammar is apatternwhose named groups are its words; a field that holds JSON namescontentMediaTypeand itscontentSchema.room_documents- every document House reads or writes in a Room by its path rather than a House type: a Trigger and its routine and notification routes in a Room, a Routine in/privateand a Site Submission in its Site's Intake Room, each with thepathit lives at below its Room's root, the schema of its frontmatterfieldsand of its Markdownbody.notifications- every Human Notification kind with the value fields itshouse-notificationdocument carries.conversation_frames- every conversation frame the App runtime receives by itstype: a turn'sdraftview with its plansteps, aworking-note, amessage, and the CLI'sprocess,commandsandoptions, each option aselectwith its values or aboolean.served- the exact@agentshouse/mdruntime,@agentshouse/mdruntime-adapterand@agentshouse/app-bridgeversions this release serves.
index.d.ts types contract as its literal value, so a schema can be turned
into a TypeScript type at build time. contract.json holds the same value.
day.json (@agentshouse/panel-contract/day.json) is the recorded day: what
House produced for a scripted day of real acts by several Users. users holds
each User's House documents by path, acts each door answer with its act,
User, request and status, and frames each conversation frame a User's House
stream received, with its User. Identities are numbered from the day's start and
no credential is kept.
