@maudecode/cowtail-cli 0.9.1 → 0.11.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.
- package/dist/cowtail.js +31 -3
- package/package.json +1 -1
package/dist/cowtail.js
CHANGED
|
@@ -16372,6 +16372,7 @@ var openclawEventTypes = [
|
|
|
16372
16372
|
"thread_created",
|
|
16373
16373
|
"thread_updated",
|
|
16374
16374
|
"message_created",
|
|
16375
|
+
"message_updated",
|
|
16375
16376
|
"message_acknowledged",
|
|
16376
16377
|
"reply_created",
|
|
16377
16378
|
"action_submitted",
|
|
@@ -16386,12 +16387,24 @@ var openclawTargetAgentSchema = exports_external.literal("default");
|
|
|
16386
16387
|
var openclawMessageDirectionSchema = exports_external.enum(["openclaw_to_user", "user_to_openclaw"]);
|
|
16387
16388
|
var openclawDeliveryStateSchema = exports_external.enum(["pending", "sent", "failed"]);
|
|
16388
16389
|
var openclawActionStateSchema = exports_external.enum(["pending", "submitted", "failed", "expired"]);
|
|
16390
|
+
var openclawToolCallStatusSchema = exports_external.enum(["pending", "running", "complete", "error"]);
|
|
16389
16391
|
var openclawEventTypeSchema = exports_external.enum(openclawEventTypes);
|
|
16390
16392
|
var openclawSequenceSchema = exports_external.number().int().nonnegative();
|
|
16391
16393
|
var openclawLinkSchema = exports_external.object({
|
|
16392
16394
|
label: nonEmptyStringSchema,
|
|
16393
16395
|
url: nonEmptyStringSchema
|
|
16394
16396
|
});
|
|
16397
|
+
var openclawToolCallRecordSchema = exports_external.object({
|
|
16398
|
+
id: nonEmptyStringSchema,
|
|
16399
|
+
name: nonEmptyStringSchema,
|
|
16400
|
+
args: jsonObjectSchema.optional(),
|
|
16401
|
+
result: exports_external.unknown().optional(),
|
|
16402
|
+
status: openclawToolCallStatusSchema,
|
|
16403
|
+
startedAt: timestampSchema.optional(),
|
|
16404
|
+
completedAt: timestampSchema.optional(),
|
|
16405
|
+
insertedAtContentLength: exports_external.number().int().nonnegative().optional(),
|
|
16406
|
+
contentSnapshotAtStart: exports_external.string().optional()
|
|
16407
|
+
});
|
|
16395
16408
|
var openclawPluginClientHelloSchema = exports_external.object({
|
|
16396
16409
|
protocolVersion: openclawProtocolVersionSchema,
|
|
16397
16410
|
clientKind: exports_external.literal("openclaw_plugin"),
|
|
@@ -16426,6 +16439,7 @@ var openclawMessageRecordSchema = exports_external.object({
|
|
|
16426
16439
|
authorLabel: nonEmptyStringSchema.optional(),
|
|
16427
16440
|
text: nonEmptyStringSchema,
|
|
16428
16441
|
links: exports_external.array(openclawLinkSchema).default([]),
|
|
16442
|
+
toolCalls: exports_external.array(openclawToolCallRecordSchema).default([]),
|
|
16429
16443
|
deliveryState: openclawDeliveryStateSchema,
|
|
16430
16444
|
createdAt: timestampSchema,
|
|
16431
16445
|
updatedAt: timestampSchema
|
|
@@ -16476,7 +16490,19 @@ var openclawPluginMessageCommandSchema = exports_external.object({
|
|
|
16476
16490
|
text: nonEmptyStringSchema,
|
|
16477
16491
|
authorLabel: nonEmptyStringSchema.optional(),
|
|
16478
16492
|
links: exports_external.array(openclawLinkSchema).default([]),
|
|
16479
|
-
|
|
16493
|
+
toolCalls: exports_external.array(openclawToolCallRecordSchema).default([]),
|
|
16494
|
+
actions: exports_external.array(openclawActionDraftSchema).default([]),
|
|
16495
|
+
deliveryState: openclawDeliveryStateSchema.optional()
|
|
16496
|
+
});
|
|
16497
|
+
var openclawPluginMessageUpdateCommandSchema = exports_external.object({
|
|
16498
|
+
type: exports_external.literal("openclaw_message_update"),
|
|
16499
|
+
requestId: openclawRequestIdSchema,
|
|
16500
|
+
messageId: nonEmptyStringSchema,
|
|
16501
|
+
text: nonEmptyStringSchema,
|
|
16502
|
+
links: exports_external.array(openclawLinkSchema).optional(),
|
|
16503
|
+
toolCalls: exports_external.array(openclawToolCallRecordSchema).optional(),
|
|
16504
|
+
actions: exports_external.array(openclawActionDraftSchema).optional(),
|
|
16505
|
+
deliveryState: openclawDeliveryStateSchema.optional()
|
|
16480
16506
|
});
|
|
16481
16507
|
var openclawIosNewThreadCommandSchema = exports_external.object({
|
|
16482
16508
|
type: exports_external.literal("ios_new_thread"),
|
|
@@ -16527,6 +16553,7 @@ var openclawActionResultCommandSchema = exports_external.object({
|
|
|
16527
16553
|
});
|
|
16528
16554
|
var openclawRealtimeClientMessageSchema = exports_external.discriminatedUnion("type", [
|
|
16529
16555
|
openclawPluginMessageCommandSchema,
|
|
16556
|
+
openclawPluginMessageUpdateCommandSchema,
|
|
16530
16557
|
openclawIosNewThreadCommandSchema,
|
|
16531
16558
|
openclawIosReplyCommandSchema,
|
|
16532
16559
|
openclawIosActionCommandSchema,
|
|
@@ -16539,7 +16566,8 @@ var openclawRealtimeClientMessageSchema = exports_external.discriminatedUnion("t
|
|
|
16539
16566
|
var openclawRealtimeAckSchema = exports_external.object({
|
|
16540
16567
|
type: exports_external.literal("ack"),
|
|
16541
16568
|
requestId: openclawRequestIdSchema,
|
|
16542
|
-
sequence: openclawSequenceSchema.optional()
|
|
16569
|
+
sequence: openclawSequenceSchema.optional(),
|
|
16570
|
+
payload: jsonObjectSchema.optional()
|
|
16543
16571
|
});
|
|
16544
16572
|
var openclawRealtimeErrorSchema = exports_external.object({
|
|
16545
16573
|
type: exports_external.literal("realtime_error"),
|
|
@@ -18009,7 +18037,7 @@ import { tmpdir } from "node:os";
|
|
|
18009
18037
|
import { basename, dirname, join as join2 } from "node:path";
|
|
18010
18038
|
|
|
18011
18039
|
// src/lib/version.ts
|
|
18012
|
-
var rawVersion = "v0.
|
|
18040
|
+
var rawVersion = "v0.11.0"?.trim() || "dev";
|
|
18013
18041
|
var cowtailVersionLabel = rawVersion === "dev" || rawVersion.startsWith("v") ? rawVersion : `v${rawVersion}`;
|
|
18014
18042
|
|
|
18015
18043
|
// src/lib/update.ts
|