@robbeverhelst/do 1.370.0 → 1.371.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 +17 -4
  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.370.0";
14423
+ var VERSION = "1.371.0";
14424
14424
  var API_PREFIX = "/api/v1";
14425
14425
  var DEFAULT_API_URL = "http://localhost:3001";
14426
14426
 
@@ -19781,6 +19781,14 @@ var postCardCodeSchema = object({
19781
19781
  lang: string2().trim().min(1).max(40).optional(),
19782
19782
  code: string2().min(1).max(8000)
19783
19783
  });
19784
+ var postCardCatchupSchema = object({
19785
+ title: line2,
19786
+ sub: line2.optional(),
19787
+ items: array(object({
19788
+ thread: string2().trim().min(1).max(64),
19789
+ text: string2().trim().min(1).max(500)
19790
+ })).min(1).max(20)
19791
+ });
19784
19792
  var POST_CARD_DATA = {
19785
19793
  text: postCardTextSchema,
19786
19794
  brief: postCardBriefSchema,
@@ -19804,7 +19812,8 @@ var POST_CARD_DATA = {
19804
19812
  gallery: postCardGallerySchema,
19805
19813
  design: postCardDesignSchema,
19806
19814
  voice: postCardVoiceSchema,
19807
- code: postCardCodeSchema
19815
+ code: postCardCodeSchema,
19816
+ catchup: postCardCatchupSchema
19808
19817
  };
19809
19818
 
19810
19819
  // ../../packages/schema/src/contracts/agent-gateway.ts
@@ -19855,7 +19864,8 @@ var postCardTypeSchema = _enum2([
19855
19864
  "digest",
19856
19865
  "handoff",
19857
19866
  "decision",
19858
- "answer"
19867
+ "answer",
19868
+ "catchup"
19859
19869
  ]);
19860
19870
  var postDigestKeySchema = string2().trim().min(1).max(40);
19861
19871
  var POST_CARD_DATA_MAX = 16000;
@@ -19886,6 +19896,7 @@ var postCardSchema = discriminatedUnion("type", [
19886
19896
  pinned("design"),
19887
19897
  pinned("voice"),
19888
19898
  pinned("code"),
19899
+ pinned("catchup"),
19889
19900
  object({
19890
19901
  type: postCardTypeSchema.exclude([
19891
19902
  "text",
@@ -19910,7 +19921,8 @@ var postCardSchema = discriminatedUnion("type", [
19910
19921
  "gallery",
19911
19922
  "design",
19912
19923
  "voice",
19913
- "code"
19924
+ "code",
19925
+ "catchup"
19914
19926
  ]),
19915
19927
  data: record(string2(), unknown()).default({})
19916
19928
  })
@@ -27733,6 +27745,7 @@ var echoThreadSummarySchema = object({
27733
27745
  notifyLevel: threadNotifyLevelSchema.default("now"),
27734
27746
  lastMessageAt: exports_coerce.date().nullable().default(null),
27735
27747
  lastLine: string2().nullable().default(null),
27748
+ lastByMember: boolean2().default(false),
27736
27749
  needsYou: number2().int().nonnegative().default(0),
27737
27750
  unseen: number2().int().nonnegative().default(0),
27738
27751
  turnCount: number2().int(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robbeverhelst/do",
3
- "version": "1.370.0",
3
+ "version": "1.371.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",