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