@robbeverhelst/do 1.176.0 → 1.177.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/do.js +7 -3
- package/package.json +1 -1
package/dist/do.js
CHANGED
|
@@ -20134,8 +20134,11 @@ var agentPageContextSchema = object({
|
|
|
20134
20134
|
var agentChatInputSchema = object({
|
|
20135
20135
|
message: string2().trim().min(1).max(8000),
|
|
20136
20136
|
context: agentPageContextSchema,
|
|
20137
|
-
threadId: string2().trim().min(1).max(64).optional()
|
|
20137
|
+
threadId: string2().trim().min(1).max(64).optional(),
|
|
20138
|
+
steer: boolean3().optional()
|
|
20138
20139
|
}).strict();
|
|
20140
|
+
var agentChatStopInputSchema = object({ threadId: string2().trim().min(1).max(64) }).strict();
|
|
20141
|
+
var agentChatStopResultSchema = object({ stop: _enum2(["sent", "offline"]) });
|
|
20139
20142
|
var agentChatEventSchema = discriminatedUnion("type", [
|
|
20140
20143
|
object({
|
|
20141
20144
|
type: literal("turn"),
|
|
@@ -20276,7 +20279,8 @@ var inboundMessageSchema = object({
|
|
|
20276
20279
|
attachments: array(gatewayAttachmentSchema).default([]),
|
|
20277
20280
|
replyToPostId: ulidSchema.optional(),
|
|
20278
20281
|
context: agentPageContextSchema.optional(),
|
|
20279
|
-
history: array(object({ role: _enum2(["member", "agent"]), text: string2() })).optional()
|
|
20282
|
+
history: array(object({ role: _enum2(["member", "agent"]), text: string2() })).optional(),
|
|
20283
|
+
steer: boolean3().optional()
|
|
20280
20284
|
});
|
|
20281
20285
|
var threadTargetSchema = union([
|
|
20282
20286
|
object({ id: ulidSchema }).strict(),
|
|
@@ -21604,7 +21608,7 @@ function parseCapture2(input, now) {
|
|
|
21604
21608
|
|
|
21605
21609
|
// src/meta.ts
|
|
21606
21610
|
var CLI_NAME = "do";
|
|
21607
|
-
var VERSION = "1.
|
|
21611
|
+
var VERSION = "1.177.0";
|
|
21608
21612
|
var API_PREFIX = "/api/v1";
|
|
21609
21613
|
var DEFAULT_API_URL = "http://localhost:3001";
|
|
21610
21614
|
|
package/package.json
CHANGED