@robbeverhelst/do 1.55.0 → 1.57.0

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.
Files changed (2) hide show
  1. package/dist/do.js +3 -2
  2. package/package.json +1 -1
package/dist/do.js CHANGED
@@ -4413,7 +4413,8 @@ var tasks = pgTable("tasks", {
4413
4413
  index("tasks_tenant_area_idx").on(t.tenantId, t.areaId),
4414
4414
  index("tasks_tenant_status_idx").on(t.tenantId, t.status),
4415
4415
  index("tasks_tenant_scheduled_idx").on(t.tenantId, t.scheduledAt),
4416
- index("tasks_tenant_due_idx").on(t.tenantId, t.dueAt)
4416
+ index("tasks_tenant_due_idx").on(t.tenantId, t.dueAt),
4417
+ check("tasks_area_xor_project_chk", sql`${t.projectId} IS NULL OR ${t.areaId} IS NULL`)
4417
4418
  ]);
4418
4419
  var habits = pgTable("habits", {
4419
4420
  id: text("id").primaryKey().references(() => nodes.id),
@@ -23755,7 +23756,7 @@ function parseCapture2(input) {
23755
23756
 
23756
23757
  // src/meta.ts
23757
23758
  var CLI_NAME = "do";
23758
- var VERSION = "1.55.0";
23759
+ var VERSION = "1.57.0";
23759
23760
  var API_PREFIX = "/api/v1";
23760
23761
  var DEFAULT_API_URL = "http://localhost:3001";
23761
23762
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robbeverhelst/do",
3
- "version": "1.55.0",
3
+ "version": "1.57.0",
4
4
  "private": false,
5
5
  "description": "do — the agent-drivable CLI over the public /api/v1 surface",
6
6
  "type": "module",