mindstudio.jewels.propose
Hand a decision moment the app detects itself to a method's jewel, routed by the method's autonomy.
mindstudio.jewels.propose(methodId, subject, opts?) → Promise<JewelProposeResult>
Sends a decision moment the app detected on its own (a new row, an inbound event) to a method's jewel, routed by that method's autonomy — recorded, queued, or applied. Use it when the trigger is something the app noticed rather than a human sitting at the method, so the jewel still gets a proposal on the record.
Parameters
methodId
string
RequiredThe kebab-case id of the jeweled method.
subject
object
RequiredThe subject the jewel's projection produces from the method input.
opts
object
Options such as idempotencyKey, shared across a moment's verbs.
Propose from an ingest path
import { mindstudio } from '@mindstudio-ai/agent'; mindstudio.waitUntil( mindstudio.jewels.propose('categorize-record', { recordId }, { idempotencyKey: recordId }), );