"Import Trigger" dialog — lets a user copy a system-generated prompt describing
this system's trigger JSON schema, paste it (plus their own request) into an
external LLM, then paste the LLM's JSON response back in to validate and append
it as one or more real triggers on the target document.
Not wired into any sheet yet — instantiate directly:
new ImportTriggerDialog({ document, surface: "standard" }).render(true)
new ImportTriggerDialog({ document, surface: "swing", extra: { swingIndex: 0, triggersKey: "triggers" } }).render(true)
new ImportTriggerDialog({ document, surface: "stage", extra: { threshold: "50" } }).render(true)
"Import Trigger" dialog — lets a user copy a system-generated prompt describing this system's trigger JSON schema, paste it (plus their own request) into an external LLM, then paste the LLM's JSON response back in to validate and append it as one or more real triggers on the target document.
Not wired into any sheet yet — instantiate directly: new ImportTriggerDialog({ document, surface: "standard" }).render(true) new ImportTriggerDialog({ document, surface: "swing", extra: { swingIndex: 0, triggersKey: "triggers" } }).render(true) new ImportTriggerDialog({ document, surface: "stage", extra: { threshold: "50" } }).render(true)