@ai-matrx/records 0.96.0 → 0.96.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -769,9 +769,18 @@ interface TemplateAutomation {
769
769
  kind: "automation";
770
770
  token: string;
771
771
  name: string;
772
+ /**
773
+ * When it runs (custom.automation_declare): `created` → row_added; `due` → date_arrives on `field`
774
+ * `daysBefore` days ahead ("remind me 2 days before"); `overdue` → date_arrives the day after `field`.
775
+ * `updated` and `stage_entered` are not automation triggers a template installs (use a notification).
776
+ */
772
777
  when: UseCaseNotificationTrigger;
773
778
  /** What happens, in the business's words: "text the owner the pickup window". */
774
779
  then: string;
780
+ /** The reminder's words as the person reads them (≤ 600 chars); defaults to `then`. */
781
+ message?: string;
782
+ /** Time of day a date reminder fires, HH:MM on a 24-hour clock; defaults to 09:00. */
783
+ at?: string;
775
784
  }
776
785
  type TemplateExtra = TemplateBooking | TemplatePortal | TemplateDashboard | TemplateDrillDown | TemplateDigest | TemplateChecklist | TemplateDocument | TemplateNotification | TemplateStageRules | TemplateRowAction | TemplateAutomation;
777
786
  type TemplateExtraKind = TemplateExtra["kind"];
@@ -769,9 +769,18 @@ interface TemplateAutomation {
769
769
  kind: "automation";
770
770
  token: string;
771
771
  name: string;
772
+ /**
773
+ * When it runs (custom.automation_declare): `created` → row_added; `due` → date_arrives on `field`
774
+ * `daysBefore` days ahead ("remind me 2 days before"); `overdue` → date_arrives the day after `field`.
775
+ * `updated` and `stage_entered` are not automation triggers a template installs (use a notification).
776
+ */
772
777
  when: UseCaseNotificationTrigger;
773
778
  /** What happens, in the business's words: "text the owner the pickup window". */
774
779
  then: string;
780
+ /** The reminder's words as the person reads them (≤ 600 chars); defaults to `then`. */
781
+ message?: string;
782
+ /** Time of day a date reminder fires, HH:MM on a 24-hour clock; defaults to 09:00. */
783
+ at?: string;
775
784
  }
776
785
  type TemplateExtra = TemplateBooking | TemplatePortal | TemplateDashboard | TemplateDrillDown | TemplateDigest | TemplateChecklist | TemplateDocument | TemplateNotification | TemplateStageRules | TemplateRowAction | TemplateAutomation;
777
786
  type TemplateExtraKind = TemplateExtra["kind"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/records",
3
- "version": "0.96.0",
3
+ "version": "0.96.2",
4
4
  "description": "The headless client of the AI Matrx record store: the Table / Field / Rule / Record / Relation / Home types, the closed vocabularies and refusal codes read from the store itself, the typed calls over the store's doors and nothing else, the merge-field declaration, a validation mirror that predicts only what the store's own triggers refuse, and the never-throw result envelope. Zero React, zero DOM in the root and /core.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -276,9 +276,9 @@
276
276
  },
277
277
  "sideEffects": false,
278
278
  "dependencies": {
279
- "@ai-matrx/realtime": "latest",
279
+ "@ai-matrx/kit": "latest",
280
280
  "@ai-matrx/print": "latest",
281
- "@ai-matrx/kit": "latest"
281
+ "@ai-matrx/realtime": "latest"
282
282
  },
283
283
  "matrx": {
284
284
  "charter": "The headless client of the record store.",
@@ -320,5 +320,5 @@
320
320
  "describe-bench:run": "../../../.venv/bin/python scripts/describe-bench/score-env.py run",
321
321
  "describe-bench:arms": "../../../.venv/bin/python scripts/describe-bench/score-env.py arms"
322
322
  },
323
- "gitHead": "266e2fe160e28be639dda702664851968347b6aa"
323
+ "gitHead": "45e90573b65199c247bdeefbcbc7b83c2885895b"
324
324
  }