weave-typescript 0.45.0 → 0.46.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.
|
@@ -43,6 +43,27 @@ export declare enum ChatArtifactKind {
|
|
|
43
43
|
}
|
|
44
44
|
export declare function chatArtifactKindFromJSON(object: any): ChatArtifactKind;
|
|
45
45
|
export declare function chatArtifactKindToJSON(object: ChatArtifactKind): string;
|
|
46
|
+
export declare enum ChatWorkspaceCommandKind {
|
|
47
|
+
CHAT_WORKSPACE_COMMAND_KIND_UNSPECIFIED = 0,
|
|
48
|
+
CHAT_WORKSPACE_COMMAND_KIND_SHOW_ARTIFACT = 1,
|
|
49
|
+
CHAT_WORKSPACE_COMMAND_KIND_SHOW_AGENT_DRAFT = 2,
|
|
50
|
+
CHAT_WORKSPACE_COMMAND_KIND_SHOW_WORKFLOW_DRAFT = 3,
|
|
51
|
+
CHAT_WORKSPACE_COMMAND_KIND_SHOW_WORKFLOW_GRAPH = 4,
|
|
52
|
+
CHAT_WORKSPACE_COMMAND_KIND_SHOW_RUN_TRACE = 5,
|
|
53
|
+
CHAT_WORKSPACE_COMMAND_KIND_CLOSE = 6,
|
|
54
|
+
CHAT_WORKSPACE_COMMAND_KIND_CLEAR = 7,
|
|
55
|
+
UNRECOGNIZED = -1
|
|
56
|
+
}
|
|
57
|
+
export declare function chatWorkspaceCommandKindFromJSON(object: any): ChatWorkspaceCommandKind;
|
|
58
|
+
export declare function chatWorkspaceCommandKindToJSON(object: ChatWorkspaceCommandKind): string;
|
|
59
|
+
export declare enum ChatWorkspaceRunKind {
|
|
60
|
+
CHAT_WORKSPACE_RUN_KIND_UNSPECIFIED = 0,
|
|
61
|
+
CHAT_WORKSPACE_RUN_KIND_AGENT = 1,
|
|
62
|
+
CHAT_WORKSPACE_RUN_KIND_WORKFLOW = 2,
|
|
63
|
+
UNRECOGNIZED = -1
|
|
64
|
+
}
|
|
65
|
+
export declare function chatWorkspaceRunKindFromJSON(object: any): ChatWorkspaceRunKind;
|
|
66
|
+
export declare function chatWorkspaceRunKindToJSON(object: ChatWorkspaceRunKind): string;
|
|
46
67
|
export interface ChatSession {
|
|
47
68
|
id: string;
|
|
48
69
|
organizationId: string;
|
|
@@ -118,6 +139,7 @@ export interface ChatStreamFrame {
|
|
|
118
139
|
artifactUpdated?: ChatStreamFrame_ArtifactUpdated | undefined;
|
|
119
140
|
messageComplete?: ChatStreamFrame_MessageComplete | undefined;
|
|
120
141
|
messageError?: ChatStreamFrame_MessageError | undefined;
|
|
142
|
+
workspaceCommand?: ChatStreamFrame_WorkspaceCommand | undefined;
|
|
121
143
|
}
|
|
122
144
|
export interface ChatStreamFrame_MessageStarted {
|
|
123
145
|
messageId: string;
|
|
@@ -174,6 +196,47 @@ export interface ChatStreamFrame_MessageError {
|
|
|
174
196
|
code: string;
|
|
175
197
|
message: string;
|
|
176
198
|
}
|
|
199
|
+
export interface ChatStreamFrame_WorkspaceCommand {
|
|
200
|
+
/** Generated discriminator for clients; the oneof carries the command payload. */
|
|
201
|
+
kind: ChatWorkspaceCommandKind;
|
|
202
|
+
showArtifact?: ChatStreamFrame_WorkspaceCommand_ShowArtifact | undefined;
|
|
203
|
+
showAgentDraft?: ChatStreamFrame_WorkspaceCommand_ShowAgentDraft | undefined;
|
|
204
|
+
showWorkflowDraft?: ChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft | undefined;
|
|
205
|
+
showWorkflowGraph?: ChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph | undefined;
|
|
206
|
+
showRunTrace?: ChatStreamFrame_WorkspaceCommand_ShowRunTrace | undefined;
|
|
207
|
+
close?: ChatStreamFrame_WorkspaceCommand_Close | undefined;
|
|
208
|
+
clear?: ChatStreamFrame_WorkspaceCommand_Clear | undefined;
|
|
209
|
+
}
|
|
210
|
+
export interface ChatStreamFrame_WorkspaceCommand_ShowArtifact {
|
|
211
|
+
artifactId: string;
|
|
212
|
+
}
|
|
213
|
+
export interface ChatStreamFrame_WorkspaceCommand_ShowAgentDraft {
|
|
214
|
+
agentTemplateId: string;
|
|
215
|
+
draftId: string;
|
|
216
|
+
title: string;
|
|
217
|
+
revision: number;
|
|
218
|
+
}
|
|
219
|
+
export interface ChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft {
|
|
220
|
+
workflowTemplateId: string;
|
|
221
|
+
draftId: string;
|
|
222
|
+
title: string;
|
|
223
|
+
revision: number;
|
|
224
|
+
}
|
|
225
|
+
export interface ChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph {
|
|
226
|
+
workflowTemplateId: string;
|
|
227
|
+
draftId: string;
|
|
228
|
+
title: string;
|
|
229
|
+
revision: number;
|
|
230
|
+
}
|
|
231
|
+
export interface ChatStreamFrame_WorkspaceCommand_ShowRunTrace {
|
|
232
|
+
runId: string;
|
|
233
|
+
title: string;
|
|
234
|
+
runKind: ChatWorkspaceRunKind;
|
|
235
|
+
}
|
|
236
|
+
export interface ChatStreamFrame_WorkspaceCommand_Close {
|
|
237
|
+
}
|
|
238
|
+
export interface ChatStreamFrame_WorkspaceCommand_Clear {
|
|
239
|
+
}
|
|
177
240
|
export declare const ChatSession: MessageFns<ChatSession>;
|
|
178
241
|
export declare const ChatMessage: MessageFns<ChatMessage>;
|
|
179
242
|
export declare const ChatArtifact: MessageFns<ChatArtifact>;
|
|
@@ -191,6 +254,14 @@ export declare const ChatStreamFrame_ArtifactCreated: MessageFns<ChatStreamFrame
|
|
|
191
254
|
export declare const ChatStreamFrame_ArtifactUpdated: MessageFns<ChatStreamFrame_ArtifactUpdated>;
|
|
192
255
|
export declare const ChatStreamFrame_MessageComplete: MessageFns<ChatStreamFrame_MessageComplete>;
|
|
193
256
|
export declare const ChatStreamFrame_MessageError: MessageFns<ChatStreamFrame_MessageError>;
|
|
257
|
+
export declare const ChatStreamFrame_WorkspaceCommand: MessageFns<ChatStreamFrame_WorkspaceCommand>;
|
|
258
|
+
export declare const ChatStreamFrame_WorkspaceCommand_ShowArtifact: MessageFns<ChatStreamFrame_WorkspaceCommand_ShowArtifact>;
|
|
259
|
+
export declare const ChatStreamFrame_WorkspaceCommand_ShowAgentDraft: MessageFns<ChatStreamFrame_WorkspaceCommand_ShowAgentDraft>;
|
|
260
|
+
export declare const ChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft: MessageFns<ChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft>;
|
|
261
|
+
export declare const ChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph: MessageFns<ChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph>;
|
|
262
|
+
export declare const ChatStreamFrame_WorkspaceCommand_ShowRunTrace: MessageFns<ChatStreamFrame_WorkspaceCommand_ShowRunTrace>;
|
|
263
|
+
export declare const ChatStreamFrame_WorkspaceCommand_Close: MessageFns<ChatStreamFrame_WorkspaceCommand_Close>;
|
|
264
|
+
export declare const ChatStreamFrame_WorkspaceCommand_Clear: MessageFns<ChatStreamFrame_WorkspaceCommand_Clear>;
|
|
194
265
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
195
266
|
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
196
267
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/chat/v1/chat.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.ChatStreamFrame_MessageError = exports.ChatStreamFrame_MessageComplete = exports.ChatStreamFrame_ArtifactUpdated = exports.ChatStreamFrame_ArtifactCreated = exports.ChatStreamFrame_ToolCallRejected = exports.ChatStreamFrame_ToolCallResult = exports.ChatStreamFrame_ToolCallExecuting = exports.ChatStreamFrame_ToolCallProposed = exports.ChatStreamFrame_MessageDelta = exports.ChatStreamFrame_MessageStarted = exports.ChatStreamFrame = exports.ChatEphemeralAttachment = exports.ChatDocumentReference = exports.ChatArtifactVersion = exports.ChatArtifact = exports.ChatMessage = exports.ChatSession = exports.ChatArtifactKind = exports.ChatStreamState = exports.ChatToolCallState = exports.ChatMessageRole = exports.protobufPackage = void 0;
|
|
8
|
+
exports.ChatStreamFrame_WorkspaceCommand_Clear = exports.ChatStreamFrame_WorkspaceCommand_Close = exports.ChatStreamFrame_WorkspaceCommand_ShowRunTrace = exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph = exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft = exports.ChatStreamFrame_WorkspaceCommand_ShowAgentDraft = exports.ChatStreamFrame_WorkspaceCommand_ShowArtifact = exports.ChatStreamFrame_WorkspaceCommand = exports.ChatStreamFrame_MessageError = exports.ChatStreamFrame_MessageComplete = exports.ChatStreamFrame_ArtifactUpdated = exports.ChatStreamFrame_ArtifactCreated = exports.ChatStreamFrame_ToolCallRejected = exports.ChatStreamFrame_ToolCallResult = exports.ChatStreamFrame_ToolCallExecuting = exports.ChatStreamFrame_ToolCallProposed = exports.ChatStreamFrame_MessageDelta = exports.ChatStreamFrame_MessageStarted = exports.ChatStreamFrame = exports.ChatEphemeralAttachment = exports.ChatDocumentReference = exports.ChatArtifactVersion = exports.ChatArtifact = exports.ChatMessage = exports.ChatSession = exports.ChatWorkspaceRunKind = exports.ChatWorkspaceCommandKind = exports.ChatArtifactKind = exports.ChatStreamState = exports.ChatToolCallState = exports.ChatMessageRole = exports.protobufPackage = void 0;
|
|
9
9
|
exports.chatMessageRoleFromJSON = chatMessageRoleFromJSON;
|
|
10
10
|
exports.chatMessageRoleToJSON = chatMessageRoleToJSON;
|
|
11
11
|
exports.chatToolCallStateFromJSON = chatToolCallStateFromJSON;
|
|
@@ -14,6 +14,10 @@ exports.chatStreamStateFromJSON = chatStreamStateFromJSON;
|
|
|
14
14
|
exports.chatStreamStateToJSON = chatStreamStateToJSON;
|
|
15
15
|
exports.chatArtifactKindFromJSON = chatArtifactKindFromJSON;
|
|
16
16
|
exports.chatArtifactKindToJSON = chatArtifactKindToJSON;
|
|
17
|
+
exports.chatWorkspaceCommandKindFromJSON = chatWorkspaceCommandKindFromJSON;
|
|
18
|
+
exports.chatWorkspaceCommandKindToJSON = chatWorkspaceCommandKindToJSON;
|
|
19
|
+
exports.chatWorkspaceRunKindFromJSON = chatWorkspaceRunKindFromJSON;
|
|
20
|
+
exports.chatWorkspaceRunKindToJSON = chatWorkspaceRunKindToJSON;
|
|
17
21
|
/* eslint-disable */
|
|
18
22
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
19
23
|
const struct_pb_1 = require("../../../google/protobuf/struct.pb");
|
|
@@ -228,6 +232,110 @@ function chatArtifactKindToJSON(object) {
|
|
|
228
232
|
return "UNRECOGNIZED";
|
|
229
233
|
}
|
|
230
234
|
}
|
|
235
|
+
var ChatWorkspaceCommandKind;
|
|
236
|
+
(function (ChatWorkspaceCommandKind) {
|
|
237
|
+
ChatWorkspaceCommandKind[ChatWorkspaceCommandKind["CHAT_WORKSPACE_COMMAND_KIND_UNSPECIFIED"] = 0] = "CHAT_WORKSPACE_COMMAND_KIND_UNSPECIFIED";
|
|
238
|
+
ChatWorkspaceCommandKind[ChatWorkspaceCommandKind["CHAT_WORKSPACE_COMMAND_KIND_SHOW_ARTIFACT"] = 1] = "CHAT_WORKSPACE_COMMAND_KIND_SHOW_ARTIFACT";
|
|
239
|
+
ChatWorkspaceCommandKind[ChatWorkspaceCommandKind["CHAT_WORKSPACE_COMMAND_KIND_SHOW_AGENT_DRAFT"] = 2] = "CHAT_WORKSPACE_COMMAND_KIND_SHOW_AGENT_DRAFT";
|
|
240
|
+
ChatWorkspaceCommandKind[ChatWorkspaceCommandKind["CHAT_WORKSPACE_COMMAND_KIND_SHOW_WORKFLOW_DRAFT"] = 3] = "CHAT_WORKSPACE_COMMAND_KIND_SHOW_WORKFLOW_DRAFT";
|
|
241
|
+
ChatWorkspaceCommandKind[ChatWorkspaceCommandKind["CHAT_WORKSPACE_COMMAND_KIND_SHOW_WORKFLOW_GRAPH"] = 4] = "CHAT_WORKSPACE_COMMAND_KIND_SHOW_WORKFLOW_GRAPH";
|
|
242
|
+
ChatWorkspaceCommandKind[ChatWorkspaceCommandKind["CHAT_WORKSPACE_COMMAND_KIND_SHOW_RUN_TRACE"] = 5] = "CHAT_WORKSPACE_COMMAND_KIND_SHOW_RUN_TRACE";
|
|
243
|
+
ChatWorkspaceCommandKind[ChatWorkspaceCommandKind["CHAT_WORKSPACE_COMMAND_KIND_CLOSE"] = 6] = "CHAT_WORKSPACE_COMMAND_KIND_CLOSE";
|
|
244
|
+
ChatWorkspaceCommandKind[ChatWorkspaceCommandKind["CHAT_WORKSPACE_COMMAND_KIND_CLEAR"] = 7] = "CHAT_WORKSPACE_COMMAND_KIND_CLEAR";
|
|
245
|
+
ChatWorkspaceCommandKind[ChatWorkspaceCommandKind["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
246
|
+
})(ChatWorkspaceCommandKind || (exports.ChatWorkspaceCommandKind = ChatWorkspaceCommandKind = {}));
|
|
247
|
+
function chatWorkspaceCommandKindFromJSON(object) {
|
|
248
|
+
switch (object) {
|
|
249
|
+
case 0:
|
|
250
|
+
case "CHAT_WORKSPACE_COMMAND_KIND_UNSPECIFIED":
|
|
251
|
+
return ChatWorkspaceCommandKind.CHAT_WORKSPACE_COMMAND_KIND_UNSPECIFIED;
|
|
252
|
+
case 1:
|
|
253
|
+
case "CHAT_WORKSPACE_COMMAND_KIND_SHOW_ARTIFACT":
|
|
254
|
+
return ChatWorkspaceCommandKind.CHAT_WORKSPACE_COMMAND_KIND_SHOW_ARTIFACT;
|
|
255
|
+
case 2:
|
|
256
|
+
case "CHAT_WORKSPACE_COMMAND_KIND_SHOW_AGENT_DRAFT":
|
|
257
|
+
return ChatWorkspaceCommandKind.CHAT_WORKSPACE_COMMAND_KIND_SHOW_AGENT_DRAFT;
|
|
258
|
+
case 3:
|
|
259
|
+
case "CHAT_WORKSPACE_COMMAND_KIND_SHOW_WORKFLOW_DRAFT":
|
|
260
|
+
return ChatWorkspaceCommandKind.CHAT_WORKSPACE_COMMAND_KIND_SHOW_WORKFLOW_DRAFT;
|
|
261
|
+
case 4:
|
|
262
|
+
case "CHAT_WORKSPACE_COMMAND_KIND_SHOW_WORKFLOW_GRAPH":
|
|
263
|
+
return ChatWorkspaceCommandKind.CHAT_WORKSPACE_COMMAND_KIND_SHOW_WORKFLOW_GRAPH;
|
|
264
|
+
case 5:
|
|
265
|
+
case "CHAT_WORKSPACE_COMMAND_KIND_SHOW_RUN_TRACE":
|
|
266
|
+
return ChatWorkspaceCommandKind.CHAT_WORKSPACE_COMMAND_KIND_SHOW_RUN_TRACE;
|
|
267
|
+
case 6:
|
|
268
|
+
case "CHAT_WORKSPACE_COMMAND_KIND_CLOSE":
|
|
269
|
+
return ChatWorkspaceCommandKind.CHAT_WORKSPACE_COMMAND_KIND_CLOSE;
|
|
270
|
+
case 7:
|
|
271
|
+
case "CHAT_WORKSPACE_COMMAND_KIND_CLEAR":
|
|
272
|
+
return ChatWorkspaceCommandKind.CHAT_WORKSPACE_COMMAND_KIND_CLEAR;
|
|
273
|
+
case -1:
|
|
274
|
+
case "UNRECOGNIZED":
|
|
275
|
+
default:
|
|
276
|
+
return ChatWorkspaceCommandKind.UNRECOGNIZED;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
function chatWorkspaceCommandKindToJSON(object) {
|
|
280
|
+
switch (object) {
|
|
281
|
+
case ChatWorkspaceCommandKind.CHAT_WORKSPACE_COMMAND_KIND_UNSPECIFIED:
|
|
282
|
+
return "CHAT_WORKSPACE_COMMAND_KIND_UNSPECIFIED";
|
|
283
|
+
case ChatWorkspaceCommandKind.CHAT_WORKSPACE_COMMAND_KIND_SHOW_ARTIFACT:
|
|
284
|
+
return "CHAT_WORKSPACE_COMMAND_KIND_SHOW_ARTIFACT";
|
|
285
|
+
case ChatWorkspaceCommandKind.CHAT_WORKSPACE_COMMAND_KIND_SHOW_AGENT_DRAFT:
|
|
286
|
+
return "CHAT_WORKSPACE_COMMAND_KIND_SHOW_AGENT_DRAFT";
|
|
287
|
+
case ChatWorkspaceCommandKind.CHAT_WORKSPACE_COMMAND_KIND_SHOW_WORKFLOW_DRAFT:
|
|
288
|
+
return "CHAT_WORKSPACE_COMMAND_KIND_SHOW_WORKFLOW_DRAFT";
|
|
289
|
+
case ChatWorkspaceCommandKind.CHAT_WORKSPACE_COMMAND_KIND_SHOW_WORKFLOW_GRAPH:
|
|
290
|
+
return "CHAT_WORKSPACE_COMMAND_KIND_SHOW_WORKFLOW_GRAPH";
|
|
291
|
+
case ChatWorkspaceCommandKind.CHAT_WORKSPACE_COMMAND_KIND_SHOW_RUN_TRACE:
|
|
292
|
+
return "CHAT_WORKSPACE_COMMAND_KIND_SHOW_RUN_TRACE";
|
|
293
|
+
case ChatWorkspaceCommandKind.CHAT_WORKSPACE_COMMAND_KIND_CLOSE:
|
|
294
|
+
return "CHAT_WORKSPACE_COMMAND_KIND_CLOSE";
|
|
295
|
+
case ChatWorkspaceCommandKind.CHAT_WORKSPACE_COMMAND_KIND_CLEAR:
|
|
296
|
+
return "CHAT_WORKSPACE_COMMAND_KIND_CLEAR";
|
|
297
|
+
case ChatWorkspaceCommandKind.UNRECOGNIZED:
|
|
298
|
+
default:
|
|
299
|
+
return "UNRECOGNIZED";
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
var ChatWorkspaceRunKind;
|
|
303
|
+
(function (ChatWorkspaceRunKind) {
|
|
304
|
+
ChatWorkspaceRunKind[ChatWorkspaceRunKind["CHAT_WORKSPACE_RUN_KIND_UNSPECIFIED"] = 0] = "CHAT_WORKSPACE_RUN_KIND_UNSPECIFIED";
|
|
305
|
+
ChatWorkspaceRunKind[ChatWorkspaceRunKind["CHAT_WORKSPACE_RUN_KIND_AGENT"] = 1] = "CHAT_WORKSPACE_RUN_KIND_AGENT";
|
|
306
|
+
ChatWorkspaceRunKind[ChatWorkspaceRunKind["CHAT_WORKSPACE_RUN_KIND_WORKFLOW"] = 2] = "CHAT_WORKSPACE_RUN_KIND_WORKFLOW";
|
|
307
|
+
ChatWorkspaceRunKind[ChatWorkspaceRunKind["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
308
|
+
})(ChatWorkspaceRunKind || (exports.ChatWorkspaceRunKind = ChatWorkspaceRunKind = {}));
|
|
309
|
+
function chatWorkspaceRunKindFromJSON(object) {
|
|
310
|
+
switch (object) {
|
|
311
|
+
case 0:
|
|
312
|
+
case "CHAT_WORKSPACE_RUN_KIND_UNSPECIFIED":
|
|
313
|
+
return ChatWorkspaceRunKind.CHAT_WORKSPACE_RUN_KIND_UNSPECIFIED;
|
|
314
|
+
case 1:
|
|
315
|
+
case "CHAT_WORKSPACE_RUN_KIND_AGENT":
|
|
316
|
+
return ChatWorkspaceRunKind.CHAT_WORKSPACE_RUN_KIND_AGENT;
|
|
317
|
+
case 2:
|
|
318
|
+
case "CHAT_WORKSPACE_RUN_KIND_WORKFLOW":
|
|
319
|
+
return ChatWorkspaceRunKind.CHAT_WORKSPACE_RUN_KIND_WORKFLOW;
|
|
320
|
+
case -1:
|
|
321
|
+
case "UNRECOGNIZED":
|
|
322
|
+
default:
|
|
323
|
+
return ChatWorkspaceRunKind.UNRECOGNIZED;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
function chatWorkspaceRunKindToJSON(object) {
|
|
327
|
+
switch (object) {
|
|
328
|
+
case ChatWorkspaceRunKind.CHAT_WORKSPACE_RUN_KIND_UNSPECIFIED:
|
|
329
|
+
return "CHAT_WORKSPACE_RUN_KIND_UNSPECIFIED";
|
|
330
|
+
case ChatWorkspaceRunKind.CHAT_WORKSPACE_RUN_KIND_AGENT:
|
|
331
|
+
return "CHAT_WORKSPACE_RUN_KIND_AGENT";
|
|
332
|
+
case ChatWorkspaceRunKind.CHAT_WORKSPACE_RUN_KIND_WORKFLOW:
|
|
333
|
+
return "CHAT_WORKSPACE_RUN_KIND_WORKFLOW";
|
|
334
|
+
case ChatWorkspaceRunKind.UNRECOGNIZED:
|
|
335
|
+
default:
|
|
336
|
+
return "UNRECOGNIZED";
|
|
337
|
+
}
|
|
338
|
+
}
|
|
231
339
|
function createBaseChatSession() {
|
|
232
340
|
return {
|
|
233
341
|
id: "",
|
|
@@ -1348,6 +1456,7 @@ function createBaseChatStreamFrame() {
|
|
|
1348
1456
|
artifactUpdated: undefined,
|
|
1349
1457
|
messageComplete: undefined,
|
|
1350
1458
|
messageError: undefined,
|
|
1459
|
+
workspaceCommand: undefined,
|
|
1351
1460
|
};
|
|
1352
1461
|
}
|
|
1353
1462
|
exports.ChatStreamFrame = {
|
|
@@ -1385,6 +1494,9 @@ exports.ChatStreamFrame = {
|
|
|
1385
1494
|
if (message.messageError !== undefined) {
|
|
1386
1495
|
exports.ChatStreamFrame_MessageError.encode(message.messageError, writer.uint32(82).fork()).join();
|
|
1387
1496
|
}
|
|
1497
|
+
if (message.workspaceCommand !== undefined) {
|
|
1498
|
+
exports.ChatStreamFrame_WorkspaceCommand.encode(message.workspaceCommand, writer.uint32(98).fork()).join();
|
|
1499
|
+
}
|
|
1388
1500
|
return writer;
|
|
1389
1501
|
},
|
|
1390
1502
|
decode(input, length) {
|
|
@@ -1471,6 +1583,13 @@ exports.ChatStreamFrame = {
|
|
|
1471
1583
|
message.messageError = exports.ChatStreamFrame_MessageError.decode(reader, reader.uint32());
|
|
1472
1584
|
continue;
|
|
1473
1585
|
}
|
|
1586
|
+
case 12: {
|
|
1587
|
+
if (tag !== 98) {
|
|
1588
|
+
break;
|
|
1589
|
+
}
|
|
1590
|
+
message.workspaceCommand = exports.ChatStreamFrame_WorkspaceCommand.decode(reader, reader.uint32());
|
|
1591
|
+
continue;
|
|
1592
|
+
}
|
|
1474
1593
|
}
|
|
1475
1594
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1476
1595
|
break;
|
|
@@ -1536,6 +1655,11 @@ exports.ChatStreamFrame = {
|
|
|
1536
1655
|
: isSet(object.message_error)
|
|
1537
1656
|
? exports.ChatStreamFrame_MessageError.fromJSON(object.message_error)
|
|
1538
1657
|
: undefined,
|
|
1658
|
+
workspaceCommand: isSet(object.workspaceCommand)
|
|
1659
|
+
? exports.ChatStreamFrame_WorkspaceCommand.fromJSON(object.workspaceCommand)
|
|
1660
|
+
: isSet(object.workspace_command)
|
|
1661
|
+
? exports.ChatStreamFrame_WorkspaceCommand.fromJSON(object.workspace_command)
|
|
1662
|
+
: undefined,
|
|
1539
1663
|
};
|
|
1540
1664
|
},
|
|
1541
1665
|
toJSON(message) {
|
|
@@ -1573,6 +1697,9 @@ exports.ChatStreamFrame = {
|
|
|
1573
1697
|
if (message.messageError !== undefined) {
|
|
1574
1698
|
obj.messageError = exports.ChatStreamFrame_MessageError.toJSON(message.messageError);
|
|
1575
1699
|
}
|
|
1700
|
+
if (message.workspaceCommand !== undefined) {
|
|
1701
|
+
obj.workspaceCommand = exports.ChatStreamFrame_WorkspaceCommand.toJSON(message.workspaceCommand);
|
|
1702
|
+
}
|
|
1576
1703
|
return obj;
|
|
1577
1704
|
},
|
|
1578
1705
|
create(base) {
|
|
@@ -1612,6 +1739,9 @@ exports.ChatStreamFrame = {
|
|
|
1612
1739
|
message.messageError = (object.messageError !== undefined && object.messageError !== null)
|
|
1613
1740
|
? exports.ChatStreamFrame_MessageError.fromPartial(object.messageError)
|
|
1614
1741
|
: undefined;
|
|
1742
|
+
message.workspaceCommand = (object.workspaceCommand !== undefined && object.workspaceCommand !== null)
|
|
1743
|
+
? exports.ChatStreamFrame_WorkspaceCommand.fromPartial(object.workspaceCommand)
|
|
1744
|
+
: undefined;
|
|
1615
1745
|
return message;
|
|
1616
1746
|
},
|
|
1617
1747
|
};
|
|
@@ -2481,6 +2611,755 @@ exports.ChatStreamFrame_MessageError = {
|
|
|
2481
2611
|
return message;
|
|
2482
2612
|
},
|
|
2483
2613
|
};
|
|
2614
|
+
function createBaseChatStreamFrame_WorkspaceCommand() {
|
|
2615
|
+
return {
|
|
2616
|
+
kind: 0,
|
|
2617
|
+
showArtifact: undefined,
|
|
2618
|
+
showAgentDraft: undefined,
|
|
2619
|
+
showWorkflowDraft: undefined,
|
|
2620
|
+
showWorkflowGraph: undefined,
|
|
2621
|
+
showRunTrace: undefined,
|
|
2622
|
+
close: undefined,
|
|
2623
|
+
clear: undefined,
|
|
2624
|
+
};
|
|
2625
|
+
}
|
|
2626
|
+
exports.ChatStreamFrame_WorkspaceCommand = {
|
|
2627
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2628
|
+
if (message.kind !== 0) {
|
|
2629
|
+
writer.uint32(64).int32(message.kind);
|
|
2630
|
+
}
|
|
2631
|
+
if (message.showArtifact !== undefined) {
|
|
2632
|
+
exports.ChatStreamFrame_WorkspaceCommand_ShowArtifact.encode(message.showArtifact, writer.uint32(10).fork()).join();
|
|
2633
|
+
}
|
|
2634
|
+
if (message.showAgentDraft !== undefined) {
|
|
2635
|
+
exports.ChatStreamFrame_WorkspaceCommand_ShowAgentDraft.encode(message.showAgentDraft, writer.uint32(18).fork()).join();
|
|
2636
|
+
}
|
|
2637
|
+
if (message.showWorkflowDraft !== undefined) {
|
|
2638
|
+
exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft.encode(message.showWorkflowDraft, writer.uint32(26).fork())
|
|
2639
|
+
.join();
|
|
2640
|
+
}
|
|
2641
|
+
if (message.showWorkflowGraph !== undefined) {
|
|
2642
|
+
exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph.encode(message.showWorkflowGraph, writer.uint32(34).fork())
|
|
2643
|
+
.join();
|
|
2644
|
+
}
|
|
2645
|
+
if (message.showRunTrace !== undefined) {
|
|
2646
|
+
exports.ChatStreamFrame_WorkspaceCommand_ShowRunTrace.encode(message.showRunTrace, writer.uint32(42).fork()).join();
|
|
2647
|
+
}
|
|
2648
|
+
if (message.close !== undefined) {
|
|
2649
|
+
exports.ChatStreamFrame_WorkspaceCommand_Close.encode(message.close, writer.uint32(50).fork()).join();
|
|
2650
|
+
}
|
|
2651
|
+
if (message.clear !== undefined) {
|
|
2652
|
+
exports.ChatStreamFrame_WorkspaceCommand_Clear.encode(message.clear, writer.uint32(58).fork()).join();
|
|
2653
|
+
}
|
|
2654
|
+
return writer;
|
|
2655
|
+
},
|
|
2656
|
+
decode(input, length) {
|
|
2657
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2658
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2659
|
+
const message = createBaseChatStreamFrame_WorkspaceCommand();
|
|
2660
|
+
while (reader.pos < end) {
|
|
2661
|
+
const tag = reader.uint32();
|
|
2662
|
+
switch (tag >>> 3) {
|
|
2663
|
+
case 8: {
|
|
2664
|
+
if (tag !== 64) {
|
|
2665
|
+
break;
|
|
2666
|
+
}
|
|
2667
|
+
message.kind = reader.int32();
|
|
2668
|
+
continue;
|
|
2669
|
+
}
|
|
2670
|
+
case 1: {
|
|
2671
|
+
if (tag !== 10) {
|
|
2672
|
+
break;
|
|
2673
|
+
}
|
|
2674
|
+
message.showArtifact = exports.ChatStreamFrame_WorkspaceCommand_ShowArtifact.decode(reader, reader.uint32());
|
|
2675
|
+
continue;
|
|
2676
|
+
}
|
|
2677
|
+
case 2: {
|
|
2678
|
+
if (tag !== 18) {
|
|
2679
|
+
break;
|
|
2680
|
+
}
|
|
2681
|
+
message.showAgentDraft = exports.ChatStreamFrame_WorkspaceCommand_ShowAgentDraft.decode(reader, reader.uint32());
|
|
2682
|
+
continue;
|
|
2683
|
+
}
|
|
2684
|
+
case 3: {
|
|
2685
|
+
if (tag !== 26) {
|
|
2686
|
+
break;
|
|
2687
|
+
}
|
|
2688
|
+
message.showWorkflowDraft = exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft.decode(reader, reader.uint32());
|
|
2689
|
+
continue;
|
|
2690
|
+
}
|
|
2691
|
+
case 4: {
|
|
2692
|
+
if (tag !== 34) {
|
|
2693
|
+
break;
|
|
2694
|
+
}
|
|
2695
|
+
message.showWorkflowGraph = exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph.decode(reader, reader.uint32());
|
|
2696
|
+
continue;
|
|
2697
|
+
}
|
|
2698
|
+
case 5: {
|
|
2699
|
+
if (tag !== 42) {
|
|
2700
|
+
break;
|
|
2701
|
+
}
|
|
2702
|
+
message.showRunTrace = exports.ChatStreamFrame_WorkspaceCommand_ShowRunTrace.decode(reader, reader.uint32());
|
|
2703
|
+
continue;
|
|
2704
|
+
}
|
|
2705
|
+
case 6: {
|
|
2706
|
+
if (tag !== 50) {
|
|
2707
|
+
break;
|
|
2708
|
+
}
|
|
2709
|
+
message.close = exports.ChatStreamFrame_WorkspaceCommand_Close.decode(reader, reader.uint32());
|
|
2710
|
+
continue;
|
|
2711
|
+
}
|
|
2712
|
+
case 7: {
|
|
2713
|
+
if (tag !== 58) {
|
|
2714
|
+
break;
|
|
2715
|
+
}
|
|
2716
|
+
message.clear = exports.ChatStreamFrame_WorkspaceCommand_Clear.decode(reader, reader.uint32());
|
|
2717
|
+
continue;
|
|
2718
|
+
}
|
|
2719
|
+
}
|
|
2720
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2721
|
+
break;
|
|
2722
|
+
}
|
|
2723
|
+
reader.skip(tag & 7);
|
|
2724
|
+
}
|
|
2725
|
+
return message;
|
|
2726
|
+
},
|
|
2727
|
+
fromJSON(object) {
|
|
2728
|
+
return {
|
|
2729
|
+
kind: isSet(object.kind) ? chatWorkspaceCommandKindFromJSON(object.kind) : 0,
|
|
2730
|
+
showArtifact: isSet(object.showArtifact)
|
|
2731
|
+
? exports.ChatStreamFrame_WorkspaceCommand_ShowArtifact.fromJSON(object.showArtifact)
|
|
2732
|
+
: isSet(object.show_artifact)
|
|
2733
|
+
? exports.ChatStreamFrame_WorkspaceCommand_ShowArtifact.fromJSON(object.show_artifact)
|
|
2734
|
+
: undefined,
|
|
2735
|
+
showAgentDraft: isSet(object.showAgentDraft)
|
|
2736
|
+
? exports.ChatStreamFrame_WorkspaceCommand_ShowAgentDraft.fromJSON(object.showAgentDraft)
|
|
2737
|
+
: isSet(object.show_agent_draft)
|
|
2738
|
+
? exports.ChatStreamFrame_WorkspaceCommand_ShowAgentDraft.fromJSON(object.show_agent_draft)
|
|
2739
|
+
: undefined,
|
|
2740
|
+
showWorkflowDraft: isSet(object.showWorkflowDraft)
|
|
2741
|
+
? exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft.fromJSON(object.showWorkflowDraft)
|
|
2742
|
+
: isSet(object.show_workflow_draft)
|
|
2743
|
+
? exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft.fromJSON(object.show_workflow_draft)
|
|
2744
|
+
: undefined,
|
|
2745
|
+
showWorkflowGraph: isSet(object.showWorkflowGraph)
|
|
2746
|
+
? exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph.fromJSON(object.showWorkflowGraph)
|
|
2747
|
+
: isSet(object.show_workflow_graph)
|
|
2748
|
+
? exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph.fromJSON(object.show_workflow_graph)
|
|
2749
|
+
: undefined,
|
|
2750
|
+
showRunTrace: isSet(object.showRunTrace)
|
|
2751
|
+
? exports.ChatStreamFrame_WorkspaceCommand_ShowRunTrace.fromJSON(object.showRunTrace)
|
|
2752
|
+
: isSet(object.show_run_trace)
|
|
2753
|
+
? exports.ChatStreamFrame_WorkspaceCommand_ShowRunTrace.fromJSON(object.show_run_trace)
|
|
2754
|
+
: undefined,
|
|
2755
|
+
close: isSet(object.close) ? exports.ChatStreamFrame_WorkspaceCommand_Close.fromJSON(object.close) : undefined,
|
|
2756
|
+
clear: isSet(object.clear) ? exports.ChatStreamFrame_WorkspaceCommand_Clear.fromJSON(object.clear) : undefined,
|
|
2757
|
+
};
|
|
2758
|
+
},
|
|
2759
|
+
toJSON(message) {
|
|
2760
|
+
const obj = {};
|
|
2761
|
+
if (message.kind !== 0) {
|
|
2762
|
+
obj.kind = chatWorkspaceCommandKindToJSON(message.kind);
|
|
2763
|
+
}
|
|
2764
|
+
if (message.showArtifact !== undefined) {
|
|
2765
|
+
obj.showArtifact = exports.ChatStreamFrame_WorkspaceCommand_ShowArtifact.toJSON(message.showArtifact);
|
|
2766
|
+
}
|
|
2767
|
+
if (message.showAgentDraft !== undefined) {
|
|
2768
|
+
obj.showAgentDraft = exports.ChatStreamFrame_WorkspaceCommand_ShowAgentDraft.toJSON(message.showAgentDraft);
|
|
2769
|
+
}
|
|
2770
|
+
if (message.showWorkflowDraft !== undefined) {
|
|
2771
|
+
obj.showWorkflowDraft = exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft.toJSON(message.showWorkflowDraft);
|
|
2772
|
+
}
|
|
2773
|
+
if (message.showWorkflowGraph !== undefined) {
|
|
2774
|
+
obj.showWorkflowGraph = exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph.toJSON(message.showWorkflowGraph);
|
|
2775
|
+
}
|
|
2776
|
+
if (message.showRunTrace !== undefined) {
|
|
2777
|
+
obj.showRunTrace = exports.ChatStreamFrame_WorkspaceCommand_ShowRunTrace.toJSON(message.showRunTrace);
|
|
2778
|
+
}
|
|
2779
|
+
if (message.close !== undefined) {
|
|
2780
|
+
obj.close = exports.ChatStreamFrame_WorkspaceCommand_Close.toJSON(message.close);
|
|
2781
|
+
}
|
|
2782
|
+
if (message.clear !== undefined) {
|
|
2783
|
+
obj.clear = exports.ChatStreamFrame_WorkspaceCommand_Clear.toJSON(message.clear);
|
|
2784
|
+
}
|
|
2785
|
+
return obj;
|
|
2786
|
+
},
|
|
2787
|
+
create(base) {
|
|
2788
|
+
return exports.ChatStreamFrame_WorkspaceCommand.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2789
|
+
},
|
|
2790
|
+
fromPartial(object) {
|
|
2791
|
+
var _a;
|
|
2792
|
+
const message = createBaseChatStreamFrame_WorkspaceCommand();
|
|
2793
|
+
message.kind = (_a = object.kind) !== null && _a !== void 0 ? _a : 0;
|
|
2794
|
+
message.showArtifact = (object.showArtifact !== undefined && object.showArtifact !== null)
|
|
2795
|
+
? exports.ChatStreamFrame_WorkspaceCommand_ShowArtifact.fromPartial(object.showArtifact)
|
|
2796
|
+
: undefined;
|
|
2797
|
+
message.showAgentDraft = (object.showAgentDraft !== undefined && object.showAgentDraft !== null)
|
|
2798
|
+
? exports.ChatStreamFrame_WorkspaceCommand_ShowAgentDraft.fromPartial(object.showAgentDraft)
|
|
2799
|
+
: undefined;
|
|
2800
|
+
message.showWorkflowDraft = (object.showWorkflowDraft !== undefined && object.showWorkflowDraft !== null)
|
|
2801
|
+
? exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft.fromPartial(object.showWorkflowDraft)
|
|
2802
|
+
: undefined;
|
|
2803
|
+
message.showWorkflowGraph = (object.showWorkflowGraph !== undefined && object.showWorkflowGraph !== null)
|
|
2804
|
+
? exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph.fromPartial(object.showWorkflowGraph)
|
|
2805
|
+
: undefined;
|
|
2806
|
+
message.showRunTrace = (object.showRunTrace !== undefined && object.showRunTrace !== null)
|
|
2807
|
+
? exports.ChatStreamFrame_WorkspaceCommand_ShowRunTrace.fromPartial(object.showRunTrace)
|
|
2808
|
+
: undefined;
|
|
2809
|
+
message.close = (object.close !== undefined && object.close !== null)
|
|
2810
|
+
? exports.ChatStreamFrame_WorkspaceCommand_Close.fromPartial(object.close)
|
|
2811
|
+
: undefined;
|
|
2812
|
+
message.clear = (object.clear !== undefined && object.clear !== null)
|
|
2813
|
+
? exports.ChatStreamFrame_WorkspaceCommand_Clear.fromPartial(object.clear)
|
|
2814
|
+
: undefined;
|
|
2815
|
+
return message;
|
|
2816
|
+
},
|
|
2817
|
+
};
|
|
2818
|
+
function createBaseChatStreamFrame_WorkspaceCommand_ShowArtifact() {
|
|
2819
|
+
return { artifactId: "" };
|
|
2820
|
+
}
|
|
2821
|
+
exports.ChatStreamFrame_WorkspaceCommand_ShowArtifact = {
|
|
2822
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2823
|
+
if (message.artifactId !== "") {
|
|
2824
|
+
writer.uint32(10).string(message.artifactId);
|
|
2825
|
+
}
|
|
2826
|
+
return writer;
|
|
2827
|
+
},
|
|
2828
|
+
decode(input, length) {
|
|
2829
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2830
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2831
|
+
const message = createBaseChatStreamFrame_WorkspaceCommand_ShowArtifact();
|
|
2832
|
+
while (reader.pos < end) {
|
|
2833
|
+
const tag = reader.uint32();
|
|
2834
|
+
switch (tag >>> 3) {
|
|
2835
|
+
case 1: {
|
|
2836
|
+
if (tag !== 10) {
|
|
2837
|
+
break;
|
|
2838
|
+
}
|
|
2839
|
+
message.artifactId = reader.string();
|
|
2840
|
+
continue;
|
|
2841
|
+
}
|
|
2842
|
+
}
|
|
2843
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2844
|
+
break;
|
|
2845
|
+
}
|
|
2846
|
+
reader.skip(tag & 7);
|
|
2847
|
+
}
|
|
2848
|
+
return message;
|
|
2849
|
+
},
|
|
2850
|
+
fromJSON(object) {
|
|
2851
|
+
return {
|
|
2852
|
+
artifactId: isSet(object.artifactId)
|
|
2853
|
+
? globalThis.String(object.artifactId)
|
|
2854
|
+
: isSet(object.artifact_id)
|
|
2855
|
+
? globalThis.String(object.artifact_id)
|
|
2856
|
+
: "",
|
|
2857
|
+
};
|
|
2858
|
+
},
|
|
2859
|
+
toJSON(message) {
|
|
2860
|
+
const obj = {};
|
|
2861
|
+
if (message.artifactId !== "") {
|
|
2862
|
+
obj.artifactId = message.artifactId;
|
|
2863
|
+
}
|
|
2864
|
+
return obj;
|
|
2865
|
+
},
|
|
2866
|
+
create(base) {
|
|
2867
|
+
return exports.ChatStreamFrame_WorkspaceCommand_ShowArtifact.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2868
|
+
},
|
|
2869
|
+
fromPartial(object) {
|
|
2870
|
+
var _a;
|
|
2871
|
+
const message = createBaseChatStreamFrame_WorkspaceCommand_ShowArtifact();
|
|
2872
|
+
message.artifactId = (_a = object.artifactId) !== null && _a !== void 0 ? _a : "";
|
|
2873
|
+
return message;
|
|
2874
|
+
},
|
|
2875
|
+
};
|
|
2876
|
+
function createBaseChatStreamFrame_WorkspaceCommand_ShowAgentDraft() {
|
|
2877
|
+
return { agentTemplateId: "", draftId: "", title: "", revision: 0 };
|
|
2878
|
+
}
|
|
2879
|
+
exports.ChatStreamFrame_WorkspaceCommand_ShowAgentDraft = {
|
|
2880
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2881
|
+
if (message.agentTemplateId !== "") {
|
|
2882
|
+
writer.uint32(10).string(message.agentTemplateId);
|
|
2883
|
+
}
|
|
2884
|
+
if (message.draftId !== "") {
|
|
2885
|
+
writer.uint32(18).string(message.draftId);
|
|
2886
|
+
}
|
|
2887
|
+
if (message.title !== "") {
|
|
2888
|
+
writer.uint32(26).string(message.title);
|
|
2889
|
+
}
|
|
2890
|
+
if (message.revision !== 0) {
|
|
2891
|
+
writer.uint32(32).int32(message.revision);
|
|
2892
|
+
}
|
|
2893
|
+
return writer;
|
|
2894
|
+
},
|
|
2895
|
+
decode(input, length) {
|
|
2896
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2897
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2898
|
+
const message = createBaseChatStreamFrame_WorkspaceCommand_ShowAgentDraft();
|
|
2899
|
+
while (reader.pos < end) {
|
|
2900
|
+
const tag = reader.uint32();
|
|
2901
|
+
switch (tag >>> 3) {
|
|
2902
|
+
case 1: {
|
|
2903
|
+
if (tag !== 10) {
|
|
2904
|
+
break;
|
|
2905
|
+
}
|
|
2906
|
+
message.agentTemplateId = reader.string();
|
|
2907
|
+
continue;
|
|
2908
|
+
}
|
|
2909
|
+
case 2: {
|
|
2910
|
+
if (tag !== 18) {
|
|
2911
|
+
break;
|
|
2912
|
+
}
|
|
2913
|
+
message.draftId = reader.string();
|
|
2914
|
+
continue;
|
|
2915
|
+
}
|
|
2916
|
+
case 3: {
|
|
2917
|
+
if (tag !== 26) {
|
|
2918
|
+
break;
|
|
2919
|
+
}
|
|
2920
|
+
message.title = reader.string();
|
|
2921
|
+
continue;
|
|
2922
|
+
}
|
|
2923
|
+
case 4: {
|
|
2924
|
+
if (tag !== 32) {
|
|
2925
|
+
break;
|
|
2926
|
+
}
|
|
2927
|
+
message.revision = reader.int32();
|
|
2928
|
+
continue;
|
|
2929
|
+
}
|
|
2930
|
+
}
|
|
2931
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2932
|
+
break;
|
|
2933
|
+
}
|
|
2934
|
+
reader.skip(tag & 7);
|
|
2935
|
+
}
|
|
2936
|
+
return message;
|
|
2937
|
+
},
|
|
2938
|
+
fromJSON(object) {
|
|
2939
|
+
return {
|
|
2940
|
+
agentTemplateId: isSet(object.agentTemplateId)
|
|
2941
|
+
? globalThis.String(object.agentTemplateId)
|
|
2942
|
+
: isSet(object.agent_template_id)
|
|
2943
|
+
? globalThis.String(object.agent_template_id)
|
|
2944
|
+
: "",
|
|
2945
|
+
draftId: isSet(object.draftId)
|
|
2946
|
+
? globalThis.String(object.draftId)
|
|
2947
|
+
: isSet(object.draft_id)
|
|
2948
|
+
? globalThis.String(object.draft_id)
|
|
2949
|
+
: "",
|
|
2950
|
+
title: isSet(object.title) ? globalThis.String(object.title) : "",
|
|
2951
|
+
revision: isSet(object.revision) ? globalThis.Number(object.revision) : 0,
|
|
2952
|
+
};
|
|
2953
|
+
},
|
|
2954
|
+
toJSON(message) {
|
|
2955
|
+
const obj = {};
|
|
2956
|
+
if (message.agentTemplateId !== "") {
|
|
2957
|
+
obj.agentTemplateId = message.agentTemplateId;
|
|
2958
|
+
}
|
|
2959
|
+
if (message.draftId !== "") {
|
|
2960
|
+
obj.draftId = message.draftId;
|
|
2961
|
+
}
|
|
2962
|
+
if (message.title !== "") {
|
|
2963
|
+
obj.title = message.title;
|
|
2964
|
+
}
|
|
2965
|
+
if (message.revision !== 0) {
|
|
2966
|
+
obj.revision = Math.round(message.revision);
|
|
2967
|
+
}
|
|
2968
|
+
return obj;
|
|
2969
|
+
},
|
|
2970
|
+
create(base) {
|
|
2971
|
+
return exports.ChatStreamFrame_WorkspaceCommand_ShowAgentDraft.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2972
|
+
},
|
|
2973
|
+
fromPartial(object) {
|
|
2974
|
+
var _a, _b, _c, _d;
|
|
2975
|
+
const message = createBaseChatStreamFrame_WorkspaceCommand_ShowAgentDraft();
|
|
2976
|
+
message.agentTemplateId = (_a = object.agentTemplateId) !== null && _a !== void 0 ? _a : "";
|
|
2977
|
+
message.draftId = (_b = object.draftId) !== null && _b !== void 0 ? _b : "";
|
|
2978
|
+
message.title = (_c = object.title) !== null && _c !== void 0 ? _c : "";
|
|
2979
|
+
message.revision = (_d = object.revision) !== null && _d !== void 0 ? _d : 0;
|
|
2980
|
+
return message;
|
|
2981
|
+
},
|
|
2982
|
+
};
|
|
2983
|
+
function createBaseChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft() {
|
|
2984
|
+
return { workflowTemplateId: "", draftId: "", title: "", revision: 0 };
|
|
2985
|
+
}
|
|
2986
|
+
exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft = {
|
|
2987
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2988
|
+
if (message.workflowTemplateId !== "") {
|
|
2989
|
+
writer.uint32(10).string(message.workflowTemplateId);
|
|
2990
|
+
}
|
|
2991
|
+
if (message.draftId !== "") {
|
|
2992
|
+
writer.uint32(18).string(message.draftId);
|
|
2993
|
+
}
|
|
2994
|
+
if (message.title !== "") {
|
|
2995
|
+
writer.uint32(26).string(message.title);
|
|
2996
|
+
}
|
|
2997
|
+
if (message.revision !== 0) {
|
|
2998
|
+
writer.uint32(32).int32(message.revision);
|
|
2999
|
+
}
|
|
3000
|
+
return writer;
|
|
3001
|
+
},
|
|
3002
|
+
decode(input, length) {
|
|
3003
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3004
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3005
|
+
const message = createBaseChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft();
|
|
3006
|
+
while (reader.pos < end) {
|
|
3007
|
+
const tag = reader.uint32();
|
|
3008
|
+
switch (tag >>> 3) {
|
|
3009
|
+
case 1: {
|
|
3010
|
+
if (tag !== 10) {
|
|
3011
|
+
break;
|
|
3012
|
+
}
|
|
3013
|
+
message.workflowTemplateId = reader.string();
|
|
3014
|
+
continue;
|
|
3015
|
+
}
|
|
3016
|
+
case 2: {
|
|
3017
|
+
if (tag !== 18) {
|
|
3018
|
+
break;
|
|
3019
|
+
}
|
|
3020
|
+
message.draftId = reader.string();
|
|
3021
|
+
continue;
|
|
3022
|
+
}
|
|
3023
|
+
case 3: {
|
|
3024
|
+
if (tag !== 26) {
|
|
3025
|
+
break;
|
|
3026
|
+
}
|
|
3027
|
+
message.title = reader.string();
|
|
3028
|
+
continue;
|
|
3029
|
+
}
|
|
3030
|
+
case 4: {
|
|
3031
|
+
if (tag !== 32) {
|
|
3032
|
+
break;
|
|
3033
|
+
}
|
|
3034
|
+
message.revision = reader.int32();
|
|
3035
|
+
continue;
|
|
3036
|
+
}
|
|
3037
|
+
}
|
|
3038
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3039
|
+
break;
|
|
3040
|
+
}
|
|
3041
|
+
reader.skip(tag & 7);
|
|
3042
|
+
}
|
|
3043
|
+
return message;
|
|
3044
|
+
},
|
|
3045
|
+
fromJSON(object) {
|
|
3046
|
+
return {
|
|
3047
|
+
workflowTemplateId: isSet(object.workflowTemplateId)
|
|
3048
|
+
? globalThis.String(object.workflowTemplateId)
|
|
3049
|
+
: isSet(object.workflow_template_id)
|
|
3050
|
+
? globalThis.String(object.workflow_template_id)
|
|
3051
|
+
: "",
|
|
3052
|
+
draftId: isSet(object.draftId)
|
|
3053
|
+
? globalThis.String(object.draftId)
|
|
3054
|
+
: isSet(object.draft_id)
|
|
3055
|
+
? globalThis.String(object.draft_id)
|
|
3056
|
+
: "",
|
|
3057
|
+
title: isSet(object.title) ? globalThis.String(object.title) : "",
|
|
3058
|
+
revision: isSet(object.revision) ? globalThis.Number(object.revision) : 0,
|
|
3059
|
+
};
|
|
3060
|
+
},
|
|
3061
|
+
toJSON(message) {
|
|
3062
|
+
const obj = {};
|
|
3063
|
+
if (message.workflowTemplateId !== "") {
|
|
3064
|
+
obj.workflowTemplateId = message.workflowTemplateId;
|
|
3065
|
+
}
|
|
3066
|
+
if (message.draftId !== "") {
|
|
3067
|
+
obj.draftId = message.draftId;
|
|
3068
|
+
}
|
|
3069
|
+
if (message.title !== "") {
|
|
3070
|
+
obj.title = message.title;
|
|
3071
|
+
}
|
|
3072
|
+
if (message.revision !== 0) {
|
|
3073
|
+
obj.revision = Math.round(message.revision);
|
|
3074
|
+
}
|
|
3075
|
+
return obj;
|
|
3076
|
+
},
|
|
3077
|
+
create(base) {
|
|
3078
|
+
return exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
3079
|
+
},
|
|
3080
|
+
fromPartial(object) {
|
|
3081
|
+
var _a, _b, _c, _d;
|
|
3082
|
+
const message = createBaseChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft();
|
|
3083
|
+
message.workflowTemplateId = (_a = object.workflowTemplateId) !== null && _a !== void 0 ? _a : "";
|
|
3084
|
+
message.draftId = (_b = object.draftId) !== null && _b !== void 0 ? _b : "";
|
|
3085
|
+
message.title = (_c = object.title) !== null && _c !== void 0 ? _c : "";
|
|
3086
|
+
message.revision = (_d = object.revision) !== null && _d !== void 0 ? _d : 0;
|
|
3087
|
+
return message;
|
|
3088
|
+
},
|
|
3089
|
+
};
|
|
3090
|
+
function createBaseChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph() {
|
|
3091
|
+
return { workflowTemplateId: "", draftId: "", title: "", revision: 0 };
|
|
3092
|
+
}
|
|
3093
|
+
exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph = {
|
|
3094
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3095
|
+
if (message.workflowTemplateId !== "") {
|
|
3096
|
+
writer.uint32(10).string(message.workflowTemplateId);
|
|
3097
|
+
}
|
|
3098
|
+
if (message.draftId !== "") {
|
|
3099
|
+
writer.uint32(18).string(message.draftId);
|
|
3100
|
+
}
|
|
3101
|
+
if (message.title !== "") {
|
|
3102
|
+
writer.uint32(26).string(message.title);
|
|
3103
|
+
}
|
|
3104
|
+
if (message.revision !== 0) {
|
|
3105
|
+
writer.uint32(32).int32(message.revision);
|
|
3106
|
+
}
|
|
3107
|
+
return writer;
|
|
3108
|
+
},
|
|
3109
|
+
decode(input, length) {
|
|
3110
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3111
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3112
|
+
const message = createBaseChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph();
|
|
3113
|
+
while (reader.pos < end) {
|
|
3114
|
+
const tag = reader.uint32();
|
|
3115
|
+
switch (tag >>> 3) {
|
|
3116
|
+
case 1: {
|
|
3117
|
+
if (tag !== 10) {
|
|
3118
|
+
break;
|
|
3119
|
+
}
|
|
3120
|
+
message.workflowTemplateId = reader.string();
|
|
3121
|
+
continue;
|
|
3122
|
+
}
|
|
3123
|
+
case 2: {
|
|
3124
|
+
if (tag !== 18) {
|
|
3125
|
+
break;
|
|
3126
|
+
}
|
|
3127
|
+
message.draftId = reader.string();
|
|
3128
|
+
continue;
|
|
3129
|
+
}
|
|
3130
|
+
case 3: {
|
|
3131
|
+
if (tag !== 26) {
|
|
3132
|
+
break;
|
|
3133
|
+
}
|
|
3134
|
+
message.title = reader.string();
|
|
3135
|
+
continue;
|
|
3136
|
+
}
|
|
3137
|
+
case 4: {
|
|
3138
|
+
if (tag !== 32) {
|
|
3139
|
+
break;
|
|
3140
|
+
}
|
|
3141
|
+
message.revision = reader.int32();
|
|
3142
|
+
continue;
|
|
3143
|
+
}
|
|
3144
|
+
}
|
|
3145
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3146
|
+
break;
|
|
3147
|
+
}
|
|
3148
|
+
reader.skip(tag & 7);
|
|
3149
|
+
}
|
|
3150
|
+
return message;
|
|
3151
|
+
},
|
|
3152
|
+
fromJSON(object) {
|
|
3153
|
+
return {
|
|
3154
|
+
workflowTemplateId: isSet(object.workflowTemplateId)
|
|
3155
|
+
? globalThis.String(object.workflowTemplateId)
|
|
3156
|
+
: isSet(object.workflow_template_id)
|
|
3157
|
+
? globalThis.String(object.workflow_template_id)
|
|
3158
|
+
: "",
|
|
3159
|
+
draftId: isSet(object.draftId)
|
|
3160
|
+
? globalThis.String(object.draftId)
|
|
3161
|
+
: isSet(object.draft_id)
|
|
3162
|
+
? globalThis.String(object.draft_id)
|
|
3163
|
+
: "",
|
|
3164
|
+
title: isSet(object.title) ? globalThis.String(object.title) : "",
|
|
3165
|
+
revision: isSet(object.revision) ? globalThis.Number(object.revision) : 0,
|
|
3166
|
+
};
|
|
3167
|
+
},
|
|
3168
|
+
toJSON(message) {
|
|
3169
|
+
const obj = {};
|
|
3170
|
+
if (message.workflowTemplateId !== "") {
|
|
3171
|
+
obj.workflowTemplateId = message.workflowTemplateId;
|
|
3172
|
+
}
|
|
3173
|
+
if (message.draftId !== "") {
|
|
3174
|
+
obj.draftId = message.draftId;
|
|
3175
|
+
}
|
|
3176
|
+
if (message.title !== "") {
|
|
3177
|
+
obj.title = message.title;
|
|
3178
|
+
}
|
|
3179
|
+
if (message.revision !== 0) {
|
|
3180
|
+
obj.revision = Math.round(message.revision);
|
|
3181
|
+
}
|
|
3182
|
+
return obj;
|
|
3183
|
+
},
|
|
3184
|
+
create(base) {
|
|
3185
|
+
return exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
3186
|
+
},
|
|
3187
|
+
fromPartial(object) {
|
|
3188
|
+
var _a, _b, _c, _d;
|
|
3189
|
+
const message = createBaseChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph();
|
|
3190
|
+
message.workflowTemplateId = (_a = object.workflowTemplateId) !== null && _a !== void 0 ? _a : "";
|
|
3191
|
+
message.draftId = (_b = object.draftId) !== null && _b !== void 0 ? _b : "";
|
|
3192
|
+
message.title = (_c = object.title) !== null && _c !== void 0 ? _c : "";
|
|
3193
|
+
message.revision = (_d = object.revision) !== null && _d !== void 0 ? _d : 0;
|
|
3194
|
+
return message;
|
|
3195
|
+
},
|
|
3196
|
+
};
|
|
3197
|
+
function createBaseChatStreamFrame_WorkspaceCommand_ShowRunTrace() {
|
|
3198
|
+
return { runId: "", title: "", runKind: 0 };
|
|
3199
|
+
}
|
|
3200
|
+
exports.ChatStreamFrame_WorkspaceCommand_ShowRunTrace = {
|
|
3201
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3202
|
+
if (message.runId !== "") {
|
|
3203
|
+
writer.uint32(10).string(message.runId);
|
|
3204
|
+
}
|
|
3205
|
+
if (message.title !== "") {
|
|
3206
|
+
writer.uint32(18).string(message.title);
|
|
3207
|
+
}
|
|
3208
|
+
if (message.runKind !== 0) {
|
|
3209
|
+
writer.uint32(24).int32(message.runKind);
|
|
3210
|
+
}
|
|
3211
|
+
return writer;
|
|
3212
|
+
},
|
|
3213
|
+
decode(input, length) {
|
|
3214
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3215
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3216
|
+
const message = createBaseChatStreamFrame_WorkspaceCommand_ShowRunTrace();
|
|
3217
|
+
while (reader.pos < end) {
|
|
3218
|
+
const tag = reader.uint32();
|
|
3219
|
+
switch (tag >>> 3) {
|
|
3220
|
+
case 1: {
|
|
3221
|
+
if (tag !== 10) {
|
|
3222
|
+
break;
|
|
3223
|
+
}
|
|
3224
|
+
message.runId = reader.string();
|
|
3225
|
+
continue;
|
|
3226
|
+
}
|
|
3227
|
+
case 2: {
|
|
3228
|
+
if (tag !== 18) {
|
|
3229
|
+
break;
|
|
3230
|
+
}
|
|
3231
|
+
message.title = reader.string();
|
|
3232
|
+
continue;
|
|
3233
|
+
}
|
|
3234
|
+
case 3: {
|
|
3235
|
+
if (tag !== 24) {
|
|
3236
|
+
break;
|
|
3237
|
+
}
|
|
3238
|
+
message.runKind = reader.int32();
|
|
3239
|
+
continue;
|
|
3240
|
+
}
|
|
3241
|
+
}
|
|
3242
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3243
|
+
break;
|
|
3244
|
+
}
|
|
3245
|
+
reader.skip(tag & 7);
|
|
3246
|
+
}
|
|
3247
|
+
return message;
|
|
3248
|
+
},
|
|
3249
|
+
fromJSON(object) {
|
|
3250
|
+
return {
|
|
3251
|
+
runId: isSet(object.runId)
|
|
3252
|
+
? globalThis.String(object.runId)
|
|
3253
|
+
: isSet(object.run_id)
|
|
3254
|
+
? globalThis.String(object.run_id)
|
|
3255
|
+
: "",
|
|
3256
|
+
title: isSet(object.title) ? globalThis.String(object.title) : "",
|
|
3257
|
+
runKind: isSet(object.runKind)
|
|
3258
|
+
? chatWorkspaceRunKindFromJSON(object.runKind)
|
|
3259
|
+
: isSet(object.run_kind)
|
|
3260
|
+
? chatWorkspaceRunKindFromJSON(object.run_kind)
|
|
3261
|
+
: 0,
|
|
3262
|
+
};
|
|
3263
|
+
},
|
|
3264
|
+
toJSON(message) {
|
|
3265
|
+
const obj = {};
|
|
3266
|
+
if (message.runId !== "") {
|
|
3267
|
+
obj.runId = message.runId;
|
|
3268
|
+
}
|
|
3269
|
+
if (message.title !== "") {
|
|
3270
|
+
obj.title = message.title;
|
|
3271
|
+
}
|
|
3272
|
+
if (message.runKind !== 0) {
|
|
3273
|
+
obj.runKind = chatWorkspaceRunKindToJSON(message.runKind);
|
|
3274
|
+
}
|
|
3275
|
+
return obj;
|
|
3276
|
+
},
|
|
3277
|
+
create(base) {
|
|
3278
|
+
return exports.ChatStreamFrame_WorkspaceCommand_ShowRunTrace.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
3279
|
+
},
|
|
3280
|
+
fromPartial(object) {
|
|
3281
|
+
var _a, _b, _c;
|
|
3282
|
+
const message = createBaseChatStreamFrame_WorkspaceCommand_ShowRunTrace();
|
|
3283
|
+
message.runId = (_a = object.runId) !== null && _a !== void 0 ? _a : "";
|
|
3284
|
+
message.title = (_b = object.title) !== null && _b !== void 0 ? _b : "";
|
|
3285
|
+
message.runKind = (_c = object.runKind) !== null && _c !== void 0 ? _c : 0;
|
|
3286
|
+
return message;
|
|
3287
|
+
},
|
|
3288
|
+
};
|
|
3289
|
+
function createBaseChatStreamFrame_WorkspaceCommand_Close() {
|
|
3290
|
+
return {};
|
|
3291
|
+
}
|
|
3292
|
+
exports.ChatStreamFrame_WorkspaceCommand_Close = {
|
|
3293
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
3294
|
+
return writer;
|
|
3295
|
+
},
|
|
3296
|
+
decode(input, length) {
|
|
3297
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3298
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3299
|
+
const message = createBaseChatStreamFrame_WorkspaceCommand_Close();
|
|
3300
|
+
while (reader.pos < end) {
|
|
3301
|
+
const tag = reader.uint32();
|
|
3302
|
+
switch (tag >>> 3) {
|
|
3303
|
+
}
|
|
3304
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3305
|
+
break;
|
|
3306
|
+
}
|
|
3307
|
+
reader.skip(tag & 7);
|
|
3308
|
+
}
|
|
3309
|
+
return message;
|
|
3310
|
+
},
|
|
3311
|
+
fromJSON(_) {
|
|
3312
|
+
return {};
|
|
3313
|
+
},
|
|
3314
|
+
toJSON(_) {
|
|
3315
|
+
const obj = {};
|
|
3316
|
+
return obj;
|
|
3317
|
+
},
|
|
3318
|
+
create(base) {
|
|
3319
|
+
return exports.ChatStreamFrame_WorkspaceCommand_Close.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
3320
|
+
},
|
|
3321
|
+
fromPartial(_) {
|
|
3322
|
+
const message = createBaseChatStreamFrame_WorkspaceCommand_Close();
|
|
3323
|
+
return message;
|
|
3324
|
+
},
|
|
3325
|
+
};
|
|
3326
|
+
function createBaseChatStreamFrame_WorkspaceCommand_Clear() {
|
|
3327
|
+
return {};
|
|
3328
|
+
}
|
|
3329
|
+
exports.ChatStreamFrame_WorkspaceCommand_Clear = {
|
|
3330
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
3331
|
+
return writer;
|
|
3332
|
+
},
|
|
3333
|
+
decode(input, length) {
|
|
3334
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3335
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3336
|
+
const message = createBaseChatStreamFrame_WorkspaceCommand_Clear();
|
|
3337
|
+
while (reader.pos < end) {
|
|
3338
|
+
const tag = reader.uint32();
|
|
3339
|
+
switch (tag >>> 3) {
|
|
3340
|
+
}
|
|
3341
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3342
|
+
break;
|
|
3343
|
+
}
|
|
3344
|
+
reader.skip(tag & 7);
|
|
3345
|
+
}
|
|
3346
|
+
return message;
|
|
3347
|
+
},
|
|
3348
|
+
fromJSON(_) {
|
|
3349
|
+
return {};
|
|
3350
|
+
},
|
|
3351
|
+
toJSON(_) {
|
|
3352
|
+
const obj = {};
|
|
3353
|
+
return obj;
|
|
3354
|
+
},
|
|
3355
|
+
create(base) {
|
|
3356
|
+
return exports.ChatStreamFrame_WorkspaceCommand_Clear.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
3357
|
+
},
|
|
3358
|
+
fromPartial(_) {
|
|
3359
|
+
const message = createBaseChatStreamFrame_WorkspaceCommand_Clear();
|
|
3360
|
+
return message;
|
|
3361
|
+
},
|
|
3362
|
+
};
|
|
2484
3363
|
function bytesFromBase64(b64) {
|
|
2485
3364
|
if (globalThis.Buffer) {
|
|
2486
3365
|
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
|