@maudecode/cowtail-cli 0.12.1 → 0.12.3
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.
- package/dist/cowtail.js +12 -1
- 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(),
|
|
@@ -16518,46 +16521,54 @@ var openclawPluginMessageUpdateCommandSchema = requireOpenClawRenderableContent(
|
|
|
16518
16521
|
var openclawIosNewThreadCommandSchema = exports_external.object({
|
|
16519
16522
|
type: exports_external.literal("ios_new_thread"),
|
|
16520
16523
|
requestId: openclawRequestIdSchema,
|
|
16524
|
+
idempotencyKey: openclawIdempotencyKeySchema,
|
|
16521
16525
|
title: nonEmptyStringSchema.optional(),
|
|
16522
16526
|
text: nonEmptyStringSchema
|
|
16523
16527
|
});
|
|
16524
16528
|
var openclawIosReplyCommandSchema = exports_external.object({
|
|
16525
16529
|
type: exports_external.literal("ios_reply"),
|
|
16526
16530
|
requestId: openclawRequestIdSchema,
|
|
16531
|
+
idempotencyKey: openclawIdempotencyKeySchema,
|
|
16527
16532
|
threadId: nonEmptyStringSchema,
|
|
16528
16533
|
text: nonEmptyStringSchema
|
|
16529
16534
|
});
|
|
16530
16535
|
var openclawIosActionCommandSchema = exports_external.object({
|
|
16531
16536
|
type: exports_external.literal("ios_action"),
|
|
16532
16537
|
requestId: openclawRequestIdSchema,
|
|
16538
|
+
idempotencyKey: openclawIdempotencyKeySchema,
|
|
16533
16539
|
actionId: nonEmptyStringSchema,
|
|
16534
16540
|
payload: jsonObjectSchema
|
|
16535
16541
|
});
|
|
16536
16542
|
var openclawIosMarkThreadReadCommandSchema = exports_external.object({
|
|
16537
16543
|
type: exports_external.literal("ios_mark_thread_read"),
|
|
16538
16544
|
requestId: openclawRequestIdSchema,
|
|
16545
|
+
idempotencyKey: openclawIdempotencyKeySchema,
|
|
16539
16546
|
threadId: nonEmptyStringSchema
|
|
16540
16547
|
});
|
|
16541
16548
|
var openclawIosRenameThreadCommandSchema = exports_external.object({
|
|
16542
16549
|
type: exports_external.literal("ios_rename_thread"),
|
|
16543
16550
|
requestId: openclawRequestIdSchema,
|
|
16551
|
+
idempotencyKey: openclawIdempotencyKeySchema,
|
|
16544
16552
|
threadId: nonEmptyStringSchema,
|
|
16545
16553
|
title: nonEmptyStringSchema
|
|
16546
16554
|
});
|
|
16547
16555
|
var openclawIosDeleteThreadCommandSchema = exports_external.object({
|
|
16548
16556
|
type: exports_external.literal("ios_delete_thread"),
|
|
16549
16557
|
requestId: openclawRequestIdSchema,
|
|
16558
|
+
idempotencyKey: openclawIdempotencyKeySchema,
|
|
16550
16559
|
threadId: nonEmptyStringSchema
|
|
16551
16560
|
});
|
|
16552
16561
|
var openclawSessionBoundCommandSchema = exports_external.object({
|
|
16553
16562
|
type: exports_external.literal("openclaw_session_bound"),
|
|
16554
16563
|
requestId: openclawRequestIdSchema,
|
|
16564
|
+
idempotencyKey: openclawIdempotencyKeySchema,
|
|
16555
16565
|
threadId: nonEmptyStringSchema,
|
|
16556
16566
|
sessionKey: nonEmptyStringSchema
|
|
16557
16567
|
});
|
|
16558
16568
|
var openclawActionResultCommandSchema = exports_external.object({
|
|
16559
16569
|
type: exports_external.literal("openclaw_action_result"),
|
|
16560
16570
|
requestId: openclawRequestIdSchema,
|
|
16571
|
+
idempotencyKey: openclawIdempotencyKeySchema,
|
|
16561
16572
|
actionId: nonEmptyStringSchema,
|
|
16562
16573
|
state: exports_external.enum(["submitted", "failed", "expired"]),
|
|
16563
16574
|
resultMetadata: jsonObjectSchema.optional()
|
|
@@ -18048,7 +18059,7 @@ import { tmpdir } from "node:os";
|
|
|
18048
18059
|
import { basename, dirname, join as join2 } from "node:path";
|
|
18049
18060
|
|
|
18050
18061
|
// src/lib/version.ts
|
|
18051
|
-
var rawVersion = "v0.12.
|
|
18062
|
+
var rawVersion = "v0.12.3"?.trim() || "dev";
|
|
18052
18063
|
var cowtailVersionLabel = rawVersion === "dev" || rawVersion.startsWith("v") ? rawVersion : `v${rawVersion}`;
|
|
18053
18064
|
|
|
18054
18065
|
// src/lib/update.ts
|