@clipboard-health/ai-rules 1.4.16 → 1.4.19

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.
package/backend/AGENTS.md CHANGED
@@ -101,9 +101,12 @@ Send notifications through [Knock](https://docs.knock.app) using the `@clipboard
101
101
  * service instead of this manual calculation.
102
102
  */
103
103
  expiresAt: new Date(Date.now() + 60 * 60_000).toISOString(),
104
- // Set idempotencyKey at enqueue-time so it remains stable across job retries.
105
- idempotencyKey: {
106
- resourceId: "event-123",
104
+ // Set idempotencyKeyParts at enqueue-time so it remains stable across job retries.
105
+ idempotencyKeyParts: {
106
+ resource: {
107
+ type: "account",
108
+ id: "4e3ffeec-1426-4e54-ad28-83246f8f4e7c",
109
+ },
107
110
  },
108
111
  // Set recipients at enqueue-time so they respect our notification provider's limits.
109
112
  recipients: ["userId-1"],
@@ -101,9 +101,12 @@ Send notifications through [Knock](https://docs.knock.app) using the `@clipboard
101
101
  * service instead of this manual calculation.
102
102
  */
103
103
  expiresAt: new Date(Date.now() + 60 * 60_000).toISOString(),
104
- // Set idempotencyKey at enqueue-time so it remains stable across job retries.
105
- idempotencyKey: {
106
- resourceId: "event-123",
104
+ // Set idempotencyKeyParts at enqueue-time so it remains stable across job retries.
105
+ idempotencyKeyParts: {
106
+ resource: {
107
+ type: "account",
108
+ id: "4e3ffeec-1426-4e54-ad28-83246f8f4e7c",
109
+ },
107
110
  },
108
111
  // Set recipients at enqueue-time so they respect our notification provider's limits.
109
112
  recipients: ["userId-1"],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@clipboard-health/ai-rules",
3
3
  "description": "Pre-built AI agent rules for consistent coding standards.",
4
- "version": "1.4.16",
4
+ "version": "1.4.19",
5
5
  "bugs": "https://github.com/ClipboardHealth/core-utils/issues",
6
6
  "devDependencies": {
7
7
  "@intellectronica/ruler": "0.3.16"