@robbeverhelst/do 1.22.0 → 1.24.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 +19 -2
  2. package/package.json +1 -1
package/dist/do.js CHANGED
@@ -21308,7 +21308,7 @@ function parseCapture2(input) {
21308
21308
 
21309
21309
  // src/meta.ts
21310
21310
  var CLI_NAME = "do";
21311
- var VERSION = "1.22.0";
21311
+ var VERSION = "1.24.0";
21312
21312
  var API_PREFIX = "/api/v1";
21313
21313
  var DEFAULT_API_URL = "http://localhost:3001";
21314
21314
 
@@ -21518,6 +21518,22 @@ var ENTITIES = [
21518
21518
  canDelete: true
21519
21519
  }
21520
21520
  },
21521
+ {
21522
+ name: "areas",
21523
+ path: "/areas",
21524
+ readScope: "areas:read",
21525
+ returns: "AreaView",
21526
+ canGet: true,
21527
+ listFlags: [],
21528
+ write: {
21529
+ scope: "areas:write",
21530
+ createSchema: createAreaInputSchema,
21531
+ createInput: "CreateAreaInput",
21532
+ updateSchema: updateAreaInputSchema,
21533
+ updateInput: "UpdateAreaInput",
21534
+ canDelete: true
21535
+ }
21536
+ },
21521
21537
  {
21522
21538
  name: "routines",
21523
21539
  path: "/routines",
@@ -22426,7 +22442,8 @@ var HANDLERS = {
22426
22442
  id: ulid3(),
22427
22443
  title: parsed.title,
22428
22444
  tags: parsed.tags,
22429
- ...parsed.priority ? { priority: parsed.priority } : {}
22445
+ ...parsed.priority ? { priority: parsed.priority } : {},
22446
+ ...parsed.area ? { areaName: parsed.area } : {}
22430
22447
  });
22431
22448
  return { data: await requireClient().post("/tasks", input), render: renderTask };
22432
22449
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robbeverhelst/do",
3
- "version": "1.22.0",
3
+ "version": "1.24.0",
4
4
  "private": false,
5
5
  "description": "do — the agent-drivable CLI over the public /api/v1 surface",
6
6
  "type": "module",