@maudecode/cowtail-cli 0.12.1 → 0.13.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/cowtail.js +28 -1
  2. package/package.json +1 -1
package/dist/cowtail.js CHANGED
@@ -16488,6 +16488,7 @@ var openclawActionSubmittedEventSchema = openclawEventEnvelopeSchema.extend({
16488
16488
  payload: jsonObjectSchema
16489
16489
  });
16490
16490
  var openclawRequestIdSchema = nonEmptyStringSchema;
16491
+ var openclawIdempotencyKeySchema = nonEmptyStringSchema;
16491
16492
  var openclawActionDraftSchema = exports_external.object({
16492
16493
  label: nonEmptyStringSchema,
16493
16494
  kind: nonEmptyStringSchema,
@@ -16496,6 +16497,7 @@ var openclawActionDraftSchema = exports_external.object({
16496
16497
  var openclawPluginMessageCommandSchema = requireOpenClawRenderableContent(exports_external.object({
16497
16498
  type: exports_external.literal("openclaw_message"),
16498
16499
  requestId: openclawRequestIdSchema,
16500
+ idempotencyKey: openclawIdempotencyKeySchema,
16499
16501
  sessionKey: nonEmptyStringSchema,
16500
16502
  title: nonEmptyStringSchema.optional(),
16501
16503
  text: openclawMessageTextSchema,
@@ -16508,6 +16510,7 @@ var openclawPluginMessageCommandSchema = requireOpenClawRenderableContent(export
16508
16510
  var openclawPluginMessageUpdateCommandSchema = requireOpenClawRenderableContent(exports_external.object({
16509
16511
  type: exports_external.literal("openclaw_message_update"),
16510
16512
  requestId: openclawRequestIdSchema,
16513
+ idempotencyKey: openclawIdempotencyKeySchema,
16511
16514
  messageId: nonEmptyStringSchema,
16512
16515
  text: openclawMessageTextSchema,
16513
16516
  links: exports_external.array(openclawLinkSchema).optional(),
@@ -16515,49 +16518,71 @@ var openclawPluginMessageUpdateCommandSchema = requireOpenClawRenderableContent(
16515
16518
  actions: exports_external.array(openclawActionDraftSchema).optional(),
16516
16519
  deliveryState: openclawDeliveryStateSchema.optional()
16517
16520
  }));
16521
+ var openclawMessageStreamSnapshotCommandBaseSchema = exports_external.object({
16522
+ type: exports_external.literal("openclaw_message_stream_snapshot"),
16523
+ requestId: openclawRequestIdSchema,
16524
+ streamId: nonEmptyStringSchema,
16525
+ sessionKey: nonEmptyStringSchema,
16526
+ threadId: nonEmptyStringSchema,
16527
+ text: openclawMessageTextSchema,
16528
+ links: exports_external.array(openclawLinkSchema).default([]),
16529
+ toolCalls: exports_external.array(openclawToolCallRecordSchema).default([]),
16530
+ isFinal: exports_external.boolean(),
16531
+ updatedAt: timestampSchema
16532
+ });
16533
+ var openclawMessageStreamSnapshotCommandSchema = requireOpenClawRenderableContent(openclawMessageStreamSnapshotCommandBaseSchema);
16534
+ var openclawMessageStreamSnapshotServerMessageSchema = requireOpenClawRenderableContent(openclawMessageStreamSnapshotCommandBaseSchema.omit({ requestId: true }));
16518
16535
  var openclawIosNewThreadCommandSchema = exports_external.object({
16519
16536
  type: exports_external.literal("ios_new_thread"),
16520
16537
  requestId: openclawRequestIdSchema,
16538
+ idempotencyKey: openclawIdempotencyKeySchema,
16521
16539
  title: nonEmptyStringSchema.optional(),
16522
16540
  text: nonEmptyStringSchema
16523
16541
  });
16524
16542
  var openclawIosReplyCommandSchema = exports_external.object({
16525
16543
  type: exports_external.literal("ios_reply"),
16526
16544
  requestId: openclawRequestIdSchema,
16545
+ idempotencyKey: openclawIdempotencyKeySchema,
16527
16546
  threadId: nonEmptyStringSchema,
16528
16547
  text: nonEmptyStringSchema
16529
16548
  });
16530
16549
  var openclawIosActionCommandSchema = exports_external.object({
16531
16550
  type: exports_external.literal("ios_action"),
16532
16551
  requestId: openclawRequestIdSchema,
16552
+ idempotencyKey: openclawIdempotencyKeySchema,
16533
16553
  actionId: nonEmptyStringSchema,
16534
16554
  payload: jsonObjectSchema
16535
16555
  });
16536
16556
  var openclawIosMarkThreadReadCommandSchema = exports_external.object({
16537
16557
  type: exports_external.literal("ios_mark_thread_read"),
16538
16558
  requestId: openclawRequestIdSchema,
16559
+ idempotencyKey: openclawIdempotencyKeySchema,
16539
16560
  threadId: nonEmptyStringSchema
16540
16561
  });
16541
16562
  var openclawIosRenameThreadCommandSchema = exports_external.object({
16542
16563
  type: exports_external.literal("ios_rename_thread"),
16543
16564
  requestId: openclawRequestIdSchema,
16565
+ idempotencyKey: openclawIdempotencyKeySchema,
16544
16566
  threadId: nonEmptyStringSchema,
16545
16567
  title: nonEmptyStringSchema
16546
16568
  });
16547
16569
  var openclawIosDeleteThreadCommandSchema = exports_external.object({
16548
16570
  type: exports_external.literal("ios_delete_thread"),
16549
16571
  requestId: openclawRequestIdSchema,
16572
+ idempotencyKey: openclawIdempotencyKeySchema,
16550
16573
  threadId: nonEmptyStringSchema
16551
16574
  });
16552
16575
  var openclawSessionBoundCommandSchema = exports_external.object({
16553
16576
  type: exports_external.literal("openclaw_session_bound"),
16554
16577
  requestId: openclawRequestIdSchema,
16578
+ idempotencyKey: openclawIdempotencyKeySchema,
16555
16579
  threadId: nonEmptyStringSchema,
16556
16580
  sessionKey: nonEmptyStringSchema
16557
16581
  });
16558
16582
  var openclawActionResultCommandSchema = exports_external.object({
16559
16583
  type: exports_external.literal("openclaw_action_result"),
16560
16584
  requestId: openclawRequestIdSchema,
16585
+ idempotencyKey: openclawIdempotencyKeySchema,
16561
16586
  actionId: nonEmptyStringSchema,
16562
16587
  state: exports_external.enum(["submitted", "failed", "expired"]),
16563
16588
  resultMetadata: jsonObjectSchema.optional()
@@ -16565,6 +16590,7 @@ var openclawActionResultCommandSchema = exports_external.object({
16565
16590
  var openclawRealtimeClientMessageSchema = exports_external.union([
16566
16591
  openclawPluginMessageCommandSchema,
16567
16592
  openclawPluginMessageUpdateCommandSchema,
16593
+ openclawMessageStreamSnapshotCommandSchema,
16568
16594
  openclawIosNewThreadCommandSchema,
16569
16595
  openclawIosReplyCommandSchema,
16570
16596
  openclawIosActionCommandSchema,
@@ -16587,6 +16613,7 @@ var openclawRealtimeErrorSchema = exports_external.object({
16587
16613
  });
16588
16614
  var openclawRealtimeServerMessageSchema = exports_external.union([
16589
16615
  openclawEventEnvelopeSchema,
16616
+ openclawMessageStreamSnapshotServerMessageSchema,
16590
16617
  openclawRealtimeAckSchema,
16591
16618
  openclawRealtimeErrorSchema
16592
16619
  ]);
@@ -18048,7 +18075,7 @@ import { tmpdir } from "node:os";
18048
18075
  import { basename, dirname, join as join2 } from "node:path";
18049
18076
 
18050
18077
  // src/lib/version.ts
18051
- var rawVersion = "v0.12.1"?.trim() || "dev";
18078
+ var rawVersion = "v0.13.0"?.trim() || "dev";
18052
18079
  var cowtailVersionLabel = rawVersion === "dev" || rawVersion.startsWith("v") ? rawVersion : `v${rawVersion}`;
18053
18080
 
18054
18081
  // src/lib/update.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maudecode/cowtail-cli",
3
- "version": "0.12.1",
3
+ "version": "0.13.0",
4
4
  "type": "module",
5
5
  "description": "Cowtail CLI",
6
6
  "repository": {