@robbeverhelst/do 1.368.1 → 1.369.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 +22 -3
  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.368.1";
14423
+ var VERSION = "1.369.0";
14424
14424
  var API_PREFIX = "/api/v1";
14425
14425
  var DEFAULT_API_URL = "http://localhost:3001";
14426
14426
 
@@ -19727,6 +19727,22 @@ var postCardFileSchema = object({
19727
19727
  ]).optional(),
19728
19728
  href: href.optional()
19729
19729
  });
19730
+ var postCardAnswerSchema = object({
19731
+ title: line2,
19732
+ sub: line2.optional(),
19733
+ state: string2().trim().min(1).max(20).optional(),
19734
+ stateText: line2.optional(),
19735
+ lead: string2().trim().min(1).max(2000),
19736
+ chart: object({ label: line2, bars }).optional(),
19737
+ table: tableBody.optional(),
19738
+ gate: object({ title: line2, text: words.optional() }).optional(),
19739
+ risk: object({
19740
+ title: line2,
19741
+ text: words.optional(),
19742
+ actions: array(object({ label: line2, primary: boolean2().optional(), href: href.optional() })).max(4).optional()
19743
+ }).optional(),
19744
+ follow: array(line2).max(6).optional()
19745
+ });
19730
19746
  var POST_CARD_DATA = {
19731
19747
  text: postCardTextSchema,
19732
19748
  brief: postCardBriefSchema,
@@ -19744,7 +19760,8 @@ var POST_CARD_DATA = {
19744
19760
  invoice: postCardInvoiceSchema,
19745
19761
  mail: postCardMailSchema,
19746
19762
  link: postCardLinkSchema,
19747
- file: postCardFileSchema
19763
+ file: postCardFileSchema,
19764
+ answer: postCardAnswerSchema
19748
19765
  };
19749
19766
 
19750
19767
  // ../../packages/schema/src/contracts/agent-gateway.ts
@@ -19820,6 +19837,7 @@ var postCardSchema = discriminatedUnion("type", [
19820
19837
  pinned("mail"),
19821
19838
  pinned("link"),
19822
19839
  pinned("file"),
19840
+ pinned("answer"),
19823
19841
  object({
19824
19842
  type: postCardTypeSchema.exclude([
19825
19843
  "text",
@@ -19838,7 +19856,8 @@ var postCardSchema = discriminatedUnion("type", [
19838
19856
  "invoice",
19839
19857
  "mail",
19840
19858
  "link",
19841
- "file"
19859
+ "file",
19860
+ "answer"
19842
19861
  ]),
19843
19862
  data: record(string2(), unknown()).default({})
19844
19863
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robbeverhelst/do",
3
- "version": "1.368.1",
3
+ "version": "1.369.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",