Skip to content

A local-first multi-agent app development platform, built on PenguinHarness

2.1 KB
Raw Blame
/**
 * Hot-update kernel: Park + boot + a static instance tree, ~300 lines.
 *
 * No Node/React/SDK dependencies (arktype is the one library, for context
 * schemas) so both the server platform and the web platform run the same
 * code. See the architecture proposal ("可热更新、可分发的 Agent Harness").
 */
export type { Json, JsonObject } from "./json.js";
export { isJsonObject } from "./json.js";
export type { ParseFail, ParseResult, Schema } from "./schema.js";
export { schema, type } from "./schema.js";
export type { AnyIface, ChildDecl, Iface, KeyedDecl, Park } from "./iface.js";
export { defineIface, ifaceData, isKeyed, keyed } from "./iface.js";
export type {
  AnyImpl,
  Impl,
  Instance,
  KeyedHandle,
  NodeCtx,
  ParkedNode,
  Resources,
} from "./boot.js";
export { boot, BootError, initialDoc } from "./boot.js";
export type { UpgradeBlocked, UpgradeFailed, UpgradeResult } from "./upgrade.js";
export { upgrade } from "./upgrade.js";
export type { IfaceDecl, IfaceTable, Mismatch, Sig, SlotDecl, TableLike, TypeExpr } from "./sig.js";
export { assignable, extendsExpr, satisfies, show, tableOf } from "./sig.js";
export type { ChildRef, ContextDecl, Manifest, Requirement } from "./manifest.js";
export { ifaceKey, parseManifest, splitSlotKey } from "./manifest.js";
export type { CheckResult, ManifestNode, Problem, Published } from "./check.js";
export { checkTree, describeProblem, inlineRefs } from "./check.js";
export type {
  BootModulesOptions,
  Contributed,
  ModuleCtx,
  ModuleDef,
  ModuleInstance,
  ModuleTree,
  UseOf,
  ApiOf,
  IfaceRegistry,
  ModuleImplOf,
} from "./module.js";
export {
  Bind,
  Component,
  bootModules,
  defineModule,
  Module,
  moduleDefiner,
  moduleDefOf,
  moduleMetaOf,
  ModuleBootError,
  Provide,
  Use,
  wire,
} from "./module.js";
export type {
  ClassCtx,
  ComponentMeta,
  IfaceClass,
  ManifestTable,
  ModuleClass,
  ModuleMeta,
} from "./module.js";
export type { Opaque, Slot } from "./markers.js";
export { Interface } from "./markers.js";
export { dataExtends } from "./data.js";
export type { TypeTable } from "./data.js";