@dudousxd/nestjs-agent-store-drizzle 0.19.0 → 0.19.1
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/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -904,6 +904,9 @@ var DrizzleAgentStore = class {
|
|
|
904
904
|
if (patch.attachments !== void 0) {
|
|
905
905
|
updates.attachments = patch.attachments === null || patch.attachments.length === 0 ? null : patch.attachments;
|
|
906
906
|
}
|
|
907
|
+
if (patch.interrupt !== void 0) {
|
|
908
|
+
updates.interrupt = patch.interrupt;
|
|
909
|
+
}
|
|
907
910
|
await this.db.update(agentQueuedMessage).set(updates).where((0, import_drizzle_orm2.eq)(agentQueuedMessage.id, id));
|
|
908
911
|
return this.getQueuedMessage(id);
|
|
909
912
|
}
|