@clipboard-health/ai-rules 1.6.37 → 1.6.38
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 +1 -1
- package/fullstack/AGENTS.md +1 -1
- package/package.json +1 -1
package/backend/AGENTS.md
CHANGED
|
@@ -151,7 +151,7 @@ Send notifications through [Knock](https://docs.knock.app) using the `@clipboard
|
|
|
151
151
|
} as const;
|
|
152
152
|
```
|
|
153
153
|
|
|
154
|
-
3. Build your `SerializableTriggerChunkedRequest` and enqueue your job
|
|
154
|
+
3. Build your `SerializableTriggerChunkedRequest` and enqueue your job. Think of queuing `TriggerNotificationJob` as a function call to send notifications in a best practices way. You should NOT call `triggerChunked` directly. If, for example, your notification is delayed, create a background job that runs in the future, does any necessary checks to ensure you should notify, and then queue `TriggerNotificationJob`.
|
|
155
155
|
|
|
156
156
|
```ts
|
|
157
157
|
import { type BackgroundJobsAdapter } from "@clipboard-health/background-jobs-adapter";
|
package/fullstack/AGENTS.md
CHANGED
|
@@ -151,7 +151,7 @@ Send notifications through [Knock](https://docs.knock.app) using the `@clipboard
|
|
|
151
151
|
} as const;
|
|
152
152
|
```
|
|
153
153
|
|
|
154
|
-
3. Build your `SerializableTriggerChunkedRequest` and enqueue your job
|
|
154
|
+
3. Build your `SerializableTriggerChunkedRequest` and enqueue your job. Think of queuing `TriggerNotificationJob` as a function call to send notifications in a best practices way. You should NOT call `triggerChunked` directly. If, for example, your notification is delayed, create a background job that runs in the future, does any necessary checks to ensure you should notify, and then queue `TriggerNotificationJob`.
|
|
155
155
|
|
|
156
156
|
```ts
|
|
157
157
|
import { type BackgroundJobsAdapter } from "@clipboard-health/background-jobs-adapter";
|
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.6.
|
|
4
|
+
"version": "1.6.38",
|
|
5
5
|
"bugs": "https://github.com/ClipboardHealth/core-utils/issues",
|
|
6
6
|
"devDependencies": {
|
|
7
7
|
"@intellectronica/ruler": "0.3.23"
|