SyniSpecPersona class
Loads a SyniPersona from a bundled syni-spec JSON asset.
Consumers should prefer this over inlining persona fields (id,
system_prompt, output schema) in app code — the spec file is the
authoritative definition shared with the cloud, and keeping consumers
at arm's length from it means a single update in syni-spec
propagates everywhere on the next sync + rebuild.
V1 lookup is by id only (e.g. focus.coach.v1) and searches the
prod tier. Future versions may add research, environment
overrides, or a remote-fetched registry — call sites only need to
pass an id, so they don't need to change.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
load(
String id) → Future< SyniPersona> -
Resolve and parse the bundled persona JSON for
id. Throws SyniSpecPersonaException when the id is unknown or the JSON can't be projected onto SyniPersona.