@robbeverhelst/do 1.275.0 → 1.276.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 +10 -3
  2. package/package.json +1 -1
package/dist/do.js CHANGED
@@ -22891,14 +22891,21 @@ var timeBlockStepSchema = object({
22891
22891
  title: string2(),
22892
22892
  refKind: _enum2(["free", "habit", "task"]),
22893
22893
  status: _enum2(["done", "skipped", "open"]),
22894
- at: exports_coerce.date().nullable()
22894
+ at: exports_coerce.date().nullable(),
22895
+ habitId: string2().nullable().optional()
22895
22896
  });
22897
+ var timeBlockEvidenceOriginSchema = discriminatedUnion("kind", [
22898
+ object({ kind: literal("habit"), id: string2() }),
22899
+ object({ kind: literal("thread"), id: string2() }),
22900
+ object({ kind: literal("url"), url: url({ protocol: /^https?$/ }) })
22901
+ ]);
22896
22902
  var timeBlockEvidenceSchema = object({
22897
22903
  source: _enum2(["habit", "check_in", "you", "agent", "device", "github", "do", "plan"]),
22898
22904
  label: string2(),
22899
22905
  at: exports_coerce.date().nullable(),
22900
22906
  agentName: string2().nullable(),
22901
- via: string2().nullable().optional()
22907
+ via: string2().nullable().optional(),
22908
+ origin: timeBlockEvidenceOriginSchema.nullable().optional()
22902
22909
  });
22903
22910
  var timeBlockReplacementSchema = object({
22904
22911
  id: string2(),
@@ -28226,7 +28233,7 @@ function parseCapture2(input, now) {
28226
28233
 
28227
28234
  // src/meta.ts
28228
28235
  var CLI_NAME = "do";
28229
- var VERSION = "1.275.0";
28236
+ var VERSION = "1.276.0";
28230
28237
  var API_PREFIX = "/api/v1";
28231
28238
  var DEFAULT_API_URL = "http://localhost:3001";
28232
28239
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robbeverhelst/do",
3
- "version": "1.275.0",
3
+ "version": "1.276.0",
4
4
  "private": false,
5
5
  "description": "do — the agent-drivable CLI over the public /api/v1 surface",
6
6
  "homepage": "https://github.com/robbeverhelst/do/tree/main/apps/cli",