@robbeverhelst/do 1.369.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 +70 -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.369.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
 
@@ -19743,6 +19743,52 @@ var postCardAnswerSchema = object({
19743
19743
  }).optional(),
19744
19744
  follow: array(line2).max(6).optional()
19745
19745
  });
19746
+ var shot = href;
19747
+ var cardActions = array(object({ label: line2, primary: boolean2().optional(), href: href.optional() })).max(4);
19748
+ var postCardCompareSchema = object({
19749
+ title: line2,
19750
+ sub: line2.optional(),
19751
+ before: shot.optional(),
19752
+ after: shot.optional(),
19753
+ beforeLabel: line2.optional(),
19754
+ afterLabel: line2.optional(),
19755
+ pos: number2().min(0).max(100).optional(),
19756
+ notes: array(line2).max(12).optional(),
19757
+ actions: cardActions.optional()
19758
+ });
19759
+ var postCardGallerySchema = object({
19760
+ title: line2,
19761
+ sub: line2.optional(),
19762
+ items: array(object({ label: line2, image: shot.optional(), href: href.optional() })).min(1).max(24)
19763
+ });
19764
+ var postCardDesignSchema = object({
19765
+ title: line2,
19766
+ sub: line2.optional(),
19767
+ state: string2().trim().min(1).max(20).optional(),
19768
+ stateText: line2.optional(),
19769
+ screens: array(object({ label: line2, image: shot.optional(), href: href.optional() })).min(1).max(8),
19770
+ openHref: href.optional(),
19771
+ approve: boolean2().optional()
19772
+ });
19773
+ var postCardVoiceSchema = object({
19774
+ length: string2().trim().min(1).max(20),
19775
+ seed: number2().int().nonnegative().max(1e6).optional(),
19776
+ transcript: string2().max(8000),
19777
+ open: boolean2().optional()
19778
+ });
19779
+ var postCardCodeSchema = object({
19780
+ title: line2.optional(),
19781
+ lang: string2().trim().min(1).max(40).optional(),
19782
+ code: string2().min(1).max(8000)
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
+ });
19746
19792
  var POST_CARD_DATA = {
19747
19793
  text: postCardTextSchema,
19748
19794
  brief: postCardBriefSchema,
@@ -19761,7 +19807,13 @@ var POST_CARD_DATA = {
19761
19807
  mail: postCardMailSchema,
19762
19808
  link: postCardLinkSchema,
19763
19809
  file: postCardFileSchema,
19764
- answer: postCardAnswerSchema
19810
+ answer: postCardAnswerSchema,
19811
+ compare: postCardCompareSchema,
19812
+ gallery: postCardGallerySchema,
19813
+ design: postCardDesignSchema,
19814
+ voice: postCardVoiceSchema,
19815
+ code: postCardCodeSchema,
19816
+ catchup: postCardCatchupSchema
19765
19817
  };
19766
19818
 
19767
19819
  // ../../packages/schema/src/contracts/agent-gateway.ts
@@ -19812,7 +19864,8 @@ var postCardTypeSchema = _enum2([
19812
19864
  "digest",
19813
19865
  "handoff",
19814
19866
  "decision",
19815
- "answer"
19867
+ "answer",
19868
+ "catchup"
19816
19869
  ]);
19817
19870
  var postDigestKeySchema = string2().trim().min(1).max(40);
19818
19871
  var POST_CARD_DATA_MAX = 16000;
@@ -19838,6 +19891,12 @@ var postCardSchema = discriminatedUnion("type", [
19838
19891
  pinned("link"),
19839
19892
  pinned("file"),
19840
19893
  pinned("answer"),
19894
+ pinned("compare"),
19895
+ pinned("gallery"),
19896
+ pinned("design"),
19897
+ pinned("voice"),
19898
+ pinned("code"),
19899
+ pinned("catchup"),
19841
19900
  object({
19842
19901
  type: postCardTypeSchema.exclude([
19843
19902
  "text",
@@ -19857,7 +19916,13 @@ var postCardSchema = discriminatedUnion("type", [
19857
19916
  "mail",
19858
19917
  "link",
19859
19918
  "file",
19860
- "answer"
19919
+ "answer",
19920
+ "compare",
19921
+ "gallery",
19922
+ "design",
19923
+ "voice",
19924
+ "code",
19925
+ "catchup"
19861
19926
  ]),
19862
19927
  data: record(string2(), unknown()).default({})
19863
19928
  })
@@ -27680,6 +27745,7 @@ var echoThreadSummarySchema = object({
27680
27745
  notifyLevel: threadNotifyLevelSchema.default("now"),
27681
27746
  lastMessageAt: exports_coerce.date().nullable().default(null),
27682
27747
  lastLine: string2().nullable().default(null),
27748
+ lastByMember: boolean2().default(false),
27683
27749
  needsYou: number2().int().nonnegative().default(0),
27684
27750
  unseen: number2().int().nonnegative().default(0),
27685
27751
  turnCount: number2().int(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robbeverhelst/do",
3
- "version": "1.369.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",