@robbeverhelst/do 1.356.0 → 1.357.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.
Files changed (2) hide show
  1. package/dist/do.js +12 -2
  2. package/package.json +1 -1
package/dist/do.js CHANGED
@@ -14420,7 +14420,7 @@ var configError = (message) => new CliError("config", message, EXIT.CONFIG);
14420
14420
 
14421
14421
  // src/meta.ts
14422
14422
  var CLI_NAME = "do";
14423
- var VERSION = "1.356.0";
14423
+ var VERSION = "1.357.1";
14424
14424
  var API_PREFIX = "/api/v1";
14425
14425
  var DEFAULT_API_URL = "http://localhost:3001";
14426
14426
 
@@ -18050,6 +18050,7 @@ var habitEntries = pgTable("habit_entries", {
18050
18050
  createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
18051
18051
  externalId: text("external_id"),
18052
18052
  agentId: text("agent_id"),
18053
+ userId: text("user_id"),
18053
18054
  note: text("note"),
18054
18055
  matchedName: text("matched_name")
18055
18056
  }, (t) => [
@@ -21439,6 +21440,7 @@ var habitEntrySchema = createSelectSchema(habitEntries, {
21439
21440
  occurredAt: exports_coerce.date(),
21440
21441
  createdAt: exports_coerce.date(),
21441
21442
  externalId: string2().nullish(),
21443
+ userId: string2().nullish(),
21442
21444
  kind: habitEntryKindSchema.default("check_in"),
21443
21445
  agentId: string2().nullish(),
21444
21446
  note: string2().nullish(),
@@ -21540,7 +21542,14 @@ var createHabitEntryInputSchema = createInsertSchema(habitEntries, {
21540
21542
  source: habitEntrySourceSchema.default("manual"),
21541
21543
  occurredAt: exports_coerce.date().optional(),
21542
21544
  note: habitEntryNoteSchema.nullish()
21543
- }).omit({ tenantId: true, habitId: true, createdAt: true, agentId: true, kind: true });
21545
+ }).omit({
21546
+ tenantId: true,
21547
+ habitId: true,
21548
+ createdAt: true,
21549
+ agentId: true,
21550
+ userId: true,
21551
+ kind: true
21552
+ });
21544
21553
  var updateHabitEntryInputSchema = object({ note: habitEntryNoteSchema.nullable() }).strict();
21545
21554
  var habitStreakStateSchema = _enum2(["active", "recovering", "broken"]);
21546
21555
  var habitStreakSchema = object({
@@ -21567,6 +21576,7 @@ var habitLastCheckInSchema = object({
21567
21576
  value: number2(),
21568
21577
  source: habitEntrySourceSchema,
21569
21578
  by: string2().nullish(),
21579
+ byMember: boolean2().optional(),
21570
21580
  id: string2().optional(),
21571
21581
  note: string2().nullish()
21572
21582
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robbeverhelst/do",
3
- "version": "1.356.0",
3
+ "version": "1.357.1",
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",