@ternent/workspace
v0.1.0
Published
Framework-agnostic secure runtime for Ternent and Concord applications.
Downloads
35
Readme
@ternent/workspace
Framework-agnostic secure runtime for Ternent and Concord applications.
Install
pnpm add @ternent/workspaceUsage
import { createRuntimeCore } from "@ternent/workspace";
const runtime = createRuntimeCore({
storage,
});
await runtime.load();
await runtime.users.create({ identityKey: "did:key:z..." });
await runtime.permissions.createGroup({ title: "Editors" });
await runtime.commit();Scope
@ternent/workspace owns the reusable runtime contract:
- identity bootstrap, unlock, lock, and recovery
- Concord load, command, commit, discard, and replay
- ledger create, export, and import
- native
usersandpermissionsmodules - plugin registration, selectors, and subscriptions
Framework adapters and demo shells sit above this package.
Plugin authoring helpers are exported from the same package root.
