@agent-marshal/marshal-prime-agent 0.55.0 → 0.55.2
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/package.json +1 -1
- package/src/generated/Message.ts +8 -6
- package/src/generated/MessageRead.ts +18 -1
- package/src/generated/Session.ts +13 -1
- package/src/generated/SessionQuery.ts +1 -1
- package/src/generated/index.ts +325 -325
package/package.json
CHANGED
package/src/generated/Message.ts
CHANGED
|
@@ -26,28 +26,30 @@ export type Message = {
|
|
|
26
26
|
* pull it. In the pull-via-hook model the recipient reads on its
|
|
27
27
|
* next turn — which can be after the sender's SessionEnd — so
|
|
28
28
|
* cascading on the sender would silently delete unread messages in
|
|
29
|
-
* that window.
|
|
30
|
-
* instead (the `to_session_id` / `to_room_id` cascades below).
|
|
29
|
+
* that window. No recipient-session cascade either (see `to_session_id`).
|
|
31
30
|
*/
|
|
32
31
|
fromSessionId: SessionId,
|
|
33
32
|
/**
|
|
34
33
|
* Direct recipient — set for 1:1 sends, `None` for broadcasts.
|
|
35
|
-
*
|
|
34
|
+
* NOT a `belongs_to(Session)` cascade: a recipient's session row is DEL'd
|
|
35
|
+
* and re-SET under the same id on a reload, a resume or a reaped pull
|
|
36
|
+
* session's next hook, and its direct messages must still be there. A
|
|
37
|
+
* message lives until the daemon's TTL sweep prunes it.
|
|
36
38
|
*/
|
|
37
39
|
toSessionId?: SessionId | null,
|
|
38
40
|
/**
|
|
39
41
|
* Broadcast recipient — set for room sends, `None` for direct
|
|
40
42
|
* sends. Cascade-DELs when the room is DEL'd. (Auto-rooms like
|
|
41
43
|
* `everyone` and `host:*` are never DEL'd, so broadcasts to them
|
|
42
|
-
*
|
|
44
|
+
* persist until the daemon's TTL sweep prunes them.)
|
|
43
45
|
*/
|
|
44
46
|
toRoomId?: RoomId | null,
|
|
45
47
|
/**
|
|
46
48
|
* When this direct message was addressed to a *human* — via their operator
|
|
47
49
|
* identity (the `op:`/`human:`/email tier of recipient resolution) rather
|
|
48
50
|
* than to one specific agent — this holds that operator string (e.g.
|
|
49
|
-
* `max@lucid.rocks`). The message is still routed to
|
|
50
|
-
*
|
|
51
|
+
* `max@lucid.rocks`). The message is still routed to the operator's
|
|
52
|
+
* most-active session via `to_session_id`; this marks it as
|
|
51
53
|
* human-addressed so the receiving agent surfaces it to its operator
|
|
52
54
|
* instead of treating it as ordinary peer chatter, and the UI console can
|
|
53
55
|
* toast it for that operator regardless of which agent it landed on. `None`
|
|
@@ -3,7 +3,24 @@ import type { MessageId } from "./MessageId";
|
|
|
3
3
|
import type { MessageReadId } from "./MessageReadId";
|
|
4
4
|
import type { SessionId } from "./SessionId";
|
|
5
5
|
|
|
6
|
-
export type MessageRead = {
|
|
6
|
+
export type MessageRead = {
|
|
7
|
+
/**
|
|
8
|
+
* Cascade on the *message*: an ack is meaningless once its message is gone,
|
|
9
|
+
* so it dies with the message. This is the ack's primary lifetime owner.
|
|
10
|
+
* The TTL prune deletes messages without cascading, so the daemon's
|
|
11
|
+
* cleanup also sweeps acks whose message is gone (`sweep_orphan_reads`).
|
|
12
|
+
*/
|
|
13
|
+
messageId: MessageId,
|
|
14
|
+
/**
|
|
15
|
+
* NOT a `belongs_to(Session)` cascade: an ack is a fact about (message,
|
|
16
|
+
* reader) and outlives the reader's session row. Harnesses re-register
|
|
17
|
+
* under the same session id after a reload or resume (marshal-pi across
|
|
18
|
+
* `/reload`, the Claude shim on `--resume`, a pull session repaired after
|
|
19
|
+
* the reap backstop), so a session DEL is often a reconnect. Cascading
|
|
20
|
+
* here made every re-registration see the direct messages it had already
|
|
21
|
+
* read as unread, and the inbox handed them over again.
|
|
22
|
+
*/
|
|
23
|
+
sessionId: SessionId,
|
|
7
24
|
/**
|
|
8
25
|
* Wall-clock millis when this session marked the message read.
|
|
9
26
|
*/
|
package/src/generated/Session.ts
CHANGED
|
@@ -127,4 +127,16 @@ project?: string | null,
|
|
|
127
127
|
* channels OFF still can't render a push, so the message is queued to
|
|
128
128
|
* the inbox (delivered_live = false) rather than claimed as live.
|
|
129
129
|
*/
|
|
130
|
-
channelsEnabled?: boolean | null,
|
|
130
|
+
channelsEnabled?: boolean | null,
|
|
131
|
+
/**
|
|
132
|
+
* Whether this session's client acks each live push itself, once it has
|
|
133
|
+
* passed it on (the Claude shim: once it has flushed it to Claude's
|
|
134
|
+
* stdin). When set, `SendMessage` leaves a pushed message unread until
|
|
135
|
+
* that ack instead of marking it read as soon as the push is handed to
|
|
136
|
+
* the connection, so a push lost before the client gets it (a connection
|
|
137
|
+
* that stops being read and then dies) comes back in the next inbox
|
|
138
|
+
* pull. What happens after the client's ack is past the daemon's view.
|
|
139
|
+
* `None` = a client that doesn't ack pushes; the daemon marks them read
|
|
140
|
+
* for it.
|
|
141
|
+
*/
|
|
142
|
+
acksPushes?: boolean | null, id: SessionId, };
|
|
@@ -6,4 +6,4 @@ import type { SessionId } from "./SessionId";
|
|
|
6
6
|
import type { StringFilter } from "./StringFilter";
|
|
7
7
|
import type { Unfilterable } from "./Unfilterable";
|
|
8
8
|
|
|
9
|
-
export type SessionQuery = { clientId?: IdFilter<ClientId> | null, pid?: NumericFilter<number> | null, cwd?: StringFilter | null, gitBranch?: StringFilter | null, currentTask?: StringFilter | null, sessionName?: StringFilter | null, activity?: StringFilter | null, kind?: StringFilter | null, connectedAt?: NumericFilter<bigint> | null, lastActivityAt?: NumericFilter<bigint> | null, lastTool?: StringFilter | null, lastToolAt?: NumericFilter<bigint> | null, operator?: StringFilter | null, host?: Unfilterable | null, project?: StringFilter | null, channelsEnabled?: boolean | null, id?: IdFilter<SessionId> | null, };
|
|
9
|
+
export type SessionQuery = { clientId?: IdFilter<ClientId> | null, pid?: NumericFilter<number> | null, cwd?: StringFilter | null, gitBranch?: StringFilter | null, currentTask?: StringFilter | null, sessionName?: StringFilter | null, activity?: StringFilter | null, kind?: StringFilter | null, connectedAt?: NumericFilter<bigint> | null, lastActivityAt?: NumericFilter<bigint> | null, lastTool?: StringFilter | null, lastToolAt?: NumericFilter<bigint> | null, operator?: StringFilter | null, host?: Unfilterable | null, project?: StringFilter | null, channelsEnabled?: boolean | null, acksPushes?: boolean | null, id?: IdFilter<SessionId> | null, };
|
package/src/generated/index.ts
CHANGED
|
@@ -217,80 +217,80 @@ import type { SetSessionLastToolAt as _SetSessionLastToolAt } from "./SetSession
|
|
|
217
217
|
import type { SetSessionSessionName as _SetSessionSessionName } from "./SetSessionSessionName";
|
|
218
218
|
|
|
219
219
|
// Query classes
|
|
220
|
-
export class
|
|
221
|
-
static readonly queryId = "
|
|
222
|
-
static readonly queryItemType = "
|
|
223
|
-
readonly queryId = "
|
|
224
|
-
readonly queryItemType = "
|
|
225
|
-
readonly query: Omit<
|
|
226
|
-
declare readonly $res: () =>
|
|
220
|
+
export class GetSandboxRunsByQuery {
|
|
221
|
+
static readonly queryId = "GetSandboxRunsByQuery" as const;
|
|
222
|
+
static readonly queryItemType = "SandboxRun" as const;
|
|
223
|
+
readonly queryId = "GetSandboxRunsByQuery" as const;
|
|
224
|
+
readonly queryItemType = "SandboxRun" as const;
|
|
225
|
+
readonly query: Omit<_GetSandboxRunsByQuery, "tx" | "createdAt">;
|
|
226
|
+
declare readonly $res: () => SandboxRun[];
|
|
227
227
|
|
|
228
|
-
constructor(args: Omit<
|
|
228
|
+
constructor(args: Omit<_GetSandboxRunsByQuery, "tx" | "createdAt">) {
|
|
229
229
|
this.query = args;
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
export class
|
|
234
|
-
static readonly queryId = "
|
|
235
|
-
static readonly queryItemType = "
|
|
236
|
-
readonly queryId = "
|
|
237
|
-
readonly queryItemType = "
|
|
238
|
-
readonly query: Omit<
|
|
239
|
-
declare readonly $res: () =>
|
|
233
|
+
export class GetSandboxRunsByIds {
|
|
234
|
+
static readonly queryId = "GetSandboxRunsByIds" as const;
|
|
235
|
+
static readonly queryItemType = "SandboxRun" as const;
|
|
236
|
+
readonly queryId = "GetSandboxRunsByIds" as const;
|
|
237
|
+
readonly queryItemType = "SandboxRun" as const;
|
|
238
|
+
readonly query: Omit<_GetSandboxRunsByIds, "tx" | "createdAt">;
|
|
239
|
+
declare readonly $res: () => SandboxRun[];
|
|
240
240
|
|
|
241
|
-
constructor(args: Omit<
|
|
241
|
+
constructor(args: Omit<_GetSandboxRunsByIds, "tx" | "createdAt">) {
|
|
242
242
|
this.query = args;
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
export class
|
|
247
|
-
static readonly queryId = "
|
|
248
|
-
static readonly queryItemType = "
|
|
249
|
-
readonly queryId = "
|
|
250
|
-
readonly queryItemType = "
|
|
251
|
-
readonly query: Omit<
|
|
252
|
-
declare readonly $res: () =>
|
|
246
|
+
export class GetAllSandboxRuns {
|
|
247
|
+
static readonly queryId = "GetAllSandboxRuns" as const;
|
|
248
|
+
static readonly queryItemType = "SandboxRun" as const;
|
|
249
|
+
readonly queryId = "GetAllSandboxRuns" as const;
|
|
250
|
+
readonly queryItemType = "SandboxRun" as const;
|
|
251
|
+
readonly query: Omit<_GetAllSandboxRuns, "tx" | "createdAt">;
|
|
252
|
+
declare readonly $res: () => SandboxRun[];
|
|
253
253
|
|
|
254
|
-
constructor(args: Omit<
|
|
254
|
+
constructor(args: Omit<_GetAllSandboxRuns, "tx" | "createdAt">) {
|
|
255
255
|
this.query = args;
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
export class
|
|
260
|
-
static readonly queryId = "
|
|
261
|
-
static readonly queryItemType = "
|
|
262
|
-
readonly queryId = "
|
|
263
|
-
readonly queryItemType = "
|
|
264
|
-
readonly query: Omit<
|
|
265
|
-
declare readonly $res: () =>
|
|
259
|
+
export class GetMessagesByQuery {
|
|
260
|
+
static readonly queryId = "GetMessagesByQuery" as const;
|
|
261
|
+
static readonly queryItemType = "Message" as const;
|
|
262
|
+
readonly queryId = "GetMessagesByQuery" as const;
|
|
263
|
+
readonly queryItemType = "Message" as const;
|
|
264
|
+
readonly query: Omit<_GetMessagesByQuery, "tx" | "createdAt">;
|
|
265
|
+
declare readonly $res: () => Message[];
|
|
266
266
|
|
|
267
|
-
constructor(args: Omit<
|
|
267
|
+
constructor(args: Omit<_GetMessagesByQuery, "tx" | "createdAt">) {
|
|
268
268
|
this.query = args;
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export class
|
|
273
|
-
static readonly queryId = "
|
|
274
|
-
static readonly queryItemType = "
|
|
275
|
-
readonly queryId = "
|
|
276
|
-
readonly queryItemType = "
|
|
277
|
-
readonly query: Omit<
|
|
278
|
-
declare readonly $res: () =>
|
|
272
|
+
export class GetMessagesByIds {
|
|
273
|
+
static readonly queryId = "GetMessagesByIds" as const;
|
|
274
|
+
static readonly queryItemType = "Message" as const;
|
|
275
|
+
readonly queryId = "GetMessagesByIds" as const;
|
|
276
|
+
readonly queryItemType = "Message" as const;
|
|
277
|
+
readonly query: Omit<_GetMessagesByIds, "tx" | "createdAt">;
|
|
278
|
+
declare readonly $res: () => Message[];
|
|
279
279
|
|
|
280
|
-
constructor(args: Omit<
|
|
280
|
+
constructor(args: Omit<_GetMessagesByIds, "tx" | "createdAt">) {
|
|
281
281
|
this.query = args;
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export class
|
|
286
|
-
static readonly queryId = "
|
|
287
|
-
static readonly queryItemType = "
|
|
288
|
-
readonly queryId = "
|
|
289
|
-
readonly queryItemType = "
|
|
290
|
-
readonly query: Omit<
|
|
291
|
-
declare readonly $res: () =>
|
|
285
|
+
export class GetAllMessages {
|
|
286
|
+
static readonly queryId = "GetAllMessages" as const;
|
|
287
|
+
static readonly queryItemType = "Message" as const;
|
|
288
|
+
readonly queryId = "GetAllMessages" as const;
|
|
289
|
+
readonly queryItemType = "Message" as const;
|
|
290
|
+
readonly query: Omit<_GetAllMessages, "tx" | "createdAt">;
|
|
291
|
+
declare readonly $res: () => Message[];
|
|
292
292
|
|
|
293
|
-
constructor(args: Omit<
|
|
293
|
+
constructor(args: Omit<_GetAllMessages, "tx" | "createdAt">) {
|
|
294
294
|
this.query = args;
|
|
295
295
|
}
|
|
296
296
|
}
|
|
@@ -412,80 +412,80 @@ export class GetAllRooms {
|
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
414
|
|
|
415
|
-
export class
|
|
416
|
-
static readonly queryId = "
|
|
417
|
-
static readonly queryItemType = "
|
|
418
|
-
readonly queryId = "
|
|
419
|
-
readonly queryItemType = "
|
|
420
|
-
readonly query: Omit<
|
|
421
|
-
declare readonly $res: () =>
|
|
415
|
+
export class GetSessionsByQuery {
|
|
416
|
+
static readonly queryId = "GetSessionsByQuery" as const;
|
|
417
|
+
static readonly queryItemType = "Session" as const;
|
|
418
|
+
readonly queryId = "GetSessionsByQuery" as const;
|
|
419
|
+
readonly queryItemType = "Session" as const;
|
|
420
|
+
readonly query: Omit<_GetSessionsByQuery, "tx" | "createdAt">;
|
|
421
|
+
declare readonly $res: () => Session[];
|
|
422
422
|
|
|
423
|
-
constructor(args: Omit<
|
|
423
|
+
constructor(args: Omit<_GetSessionsByQuery, "tx" | "createdAt">) {
|
|
424
424
|
this.query = args;
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
427
|
|
|
428
|
-
export class
|
|
429
|
-
static readonly queryId = "
|
|
430
|
-
static readonly queryItemType = "
|
|
431
|
-
readonly queryId = "
|
|
432
|
-
readonly queryItemType = "
|
|
433
|
-
readonly query: Omit<
|
|
434
|
-
declare readonly $res: () =>
|
|
428
|
+
export class GetSessionsByIds {
|
|
429
|
+
static readonly queryId = "GetSessionsByIds" as const;
|
|
430
|
+
static readonly queryItemType = "Session" as const;
|
|
431
|
+
readonly queryId = "GetSessionsByIds" as const;
|
|
432
|
+
readonly queryItemType = "Session" as const;
|
|
433
|
+
readonly query: Omit<_GetSessionsByIds, "tx" | "createdAt">;
|
|
434
|
+
declare readonly $res: () => Session[];
|
|
435
435
|
|
|
436
|
-
constructor(args: Omit<
|
|
436
|
+
constructor(args: Omit<_GetSessionsByIds, "tx" | "createdAt">) {
|
|
437
437
|
this.query = args;
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
export class
|
|
442
|
-
static readonly queryId = "
|
|
443
|
-
static readonly queryItemType = "
|
|
444
|
-
readonly queryId = "
|
|
445
|
-
readonly queryItemType = "
|
|
446
|
-
readonly query: Omit<
|
|
447
|
-
declare readonly $res: () =>
|
|
441
|
+
export class GetAllSessions {
|
|
442
|
+
static readonly queryId = "GetAllSessions" as const;
|
|
443
|
+
static readonly queryItemType = "Session" as const;
|
|
444
|
+
readonly queryId = "GetAllSessions" as const;
|
|
445
|
+
readonly queryItemType = "Session" as const;
|
|
446
|
+
readonly query: Omit<_GetAllSessions, "tx" | "createdAt">;
|
|
447
|
+
declare readonly $res: () => Session[];
|
|
448
448
|
|
|
449
|
-
constructor(args: Omit<
|
|
449
|
+
constructor(args: Omit<_GetAllSessions, "tx" | "createdAt">) {
|
|
450
450
|
this.query = args;
|
|
451
451
|
}
|
|
452
452
|
}
|
|
453
453
|
|
|
454
|
-
export class
|
|
455
|
-
static readonly queryId = "
|
|
456
|
-
static readonly queryItemType = "
|
|
457
|
-
readonly queryId = "
|
|
458
|
-
readonly queryItemType = "
|
|
459
|
-
readonly query: Omit<
|
|
460
|
-
declare readonly $res: () =>
|
|
454
|
+
export class GetMessageReadsByQuery {
|
|
455
|
+
static readonly queryId = "GetMessageReadsByQuery" as const;
|
|
456
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
457
|
+
readonly queryId = "GetMessageReadsByQuery" as const;
|
|
458
|
+
readonly queryItemType = "MessageRead" as const;
|
|
459
|
+
readonly query: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">;
|
|
460
|
+
declare readonly $res: () => MessageRead[];
|
|
461
461
|
|
|
462
|
-
constructor(args: Omit<
|
|
462
|
+
constructor(args: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">) {
|
|
463
463
|
this.query = args;
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
466
|
|
|
467
|
-
export class
|
|
468
|
-
static readonly queryId = "
|
|
469
|
-
static readonly queryItemType = "
|
|
470
|
-
readonly queryId = "
|
|
471
|
-
readonly queryItemType = "
|
|
472
|
-
readonly query: Omit<
|
|
473
|
-
declare readonly $res: () =>
|
|
467
|
+
export class GetMessageReadsByIds {
|
|
468
|
+
static readonly queryId = "GetMessageReadsByIds" as const;
|
|
469
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
470
|
+
readonly queryId = "GetMessageReadsByIds" as const;
|
|
471
|
+
readonly queryItemType = "MessageRead" as const;
|
|
472
|
+
readonly query: Omit<_GetMessageReadsByIds, "tx" | "createdAt">;
|
|
473
|
+
declare readonly $res: () => MessageRead[];
|
|
474
474
|
|
|
475
|
-
constructor(args: Omit<
|
|
475
|
+
constructor(args: Omit<_GetMessageReadsByIds, "tx" | "createdAt">) {
|
|
476
476
|
this.query = args;
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
export class
|
|
481
|
-
static readonly queryId = "
|
|
482
|
-
static readonly queryItemType = "
|
|
483
|
-
readonly queryId = "
|
|
484
|
-
readonly queryItemType = "
|
|
485
|
-
readonly query: Omit<
|
|
486
|
-
declare readonly $res: () =>
|
|
480
|
+
export class GetAllMessageReads {
|
|
481
|
+
static readonly queryId = "GetAllMessageReads" as const;
|
|
482
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
483
|
+
readonly queryId = "GetAllMessageReads" as const;
|
|
484
|
+
readonly queryItemType = "MessageRead" as const;
|
|
485
|
+
readonly query: Omit<_GetAllMessageReads, "tx" | "createdAt">;
|
|
486
|
+
declare readonly $res: () => MessageRead[];
|
|
487
487
|
|
|
488
|
-
constructor(args: Omit<
|
|
488
|
+
constructor(args: Omit<_GetAllMessageReads, "tx" | "createdAt">) {
|
|
489
489
|
this.query = args;
|
|
490
490
|
}
|
|
491
491
|
}
|
|
@@ -493,68 +493,68 @@ export class GetAllMessages {
|
|
|
493
493
|
// View classes
|
|
494
494
|
|
|
495
495
|
// Report classes
|
|
496
|
-
export class
|
|
497
|
-
static readonly reportId = "
|
|
498
|
-
readonly reportId = "
|
|
499
|
-
readonly report: Omit<
|
|
500
|
-
declare readonly $res: () =>
|
|
496
|
+
export class GetSandboxRunById {
|
|
497
|
+
static readonly reportId = "GetSandboxRunById" as const;
|
|
498
|
+
readonly reportId = "GetSandboxRunById" as const;
|
|
499
|
+
readonly report: Omit<_GetSandboxRunById, "tx">;
|
|
500
|
+
declare readonly $res: () => SandboxRun | null;
|
|
501
501
|
|
|
502
|
-
constructor(args: Omit<
|
|
502
|
+
constructor(args: Omit<_GetSandboxRunById, "tx">) {
|
|
503
503
|
this.report = args;
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
506
|
|
|
507
|
-
export class
|
|
508
|
-
static readonly reportId = "
|
|
509
|
-
readonly reportId = "
|
|
510
|
-
readonly report: Omit<
|
|
511
|
-
declare readonly $res: () =>
|
|
507
|
+
export class CountSandboxRuns {
|
|
508
|
+
static readonly reportId = "CountSandboxRuns" as const;
|
|
509
|
+
readonly reportId = "CountSandboxRuns" as const;
|
|
510
|
+
readonly report: Omit<_CountSandboxRuns, "tx">;
|
|
511
|
+
declare readonly $res: () => SandboxRunCount;
|
|
512
512
|
|
|
513
|
-
constructor(args: Omit<
|
|
513
|
+
constructor(args: Omit<_CountSandboxRuns, "tx">) {
|
|
514
514
|
this.report = args;
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
517
|
|
|
518
|
-
export class
|
|
519
|
-
static readonly reportId = "
|
|
520
|
-
readonly reportId = "
|
|
521
|
-
readonly report: Omit<
|
|
522
|
-
declare readonly $res: () =>
|
|
518
|
+
export class CountAllSandboxRuns {
|
|
519
|
+
static readonly reportId = "CountAllSandboxRuns" as const;
|
|
520
|
+
readonly reportId = "CountAllSandboxRuns" as const;
|
|
521
|
+
readonly report: Omit<_CountAllSandboxRuns, "tx">;
|
|
522
|
+
declare readonly $res: () => SandboxRunCount;
|
|
523
523
|
|
|
524
|
-
constructor(args: Omit<
|
|
524
|
+
constructor(args: Omit<_CountAllSandboxRuns, "tx">) {
|
|
525
525
|
this.report = args;
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
528
|
|
|
529
|
-
export class
|
|
530
|
-
static readonly reportId = "
|
|
531
|
-
readonly reportId = "
|
|
532
|
-
readonly report: Omit<
|
|
533
|
-
declare readonly $res: () =>
|
|
529
|
+
export class GetMessageById {
|
|
530
|
+
static readonly reportId = "GetMessageById" as const;
|
|
531
|
+
readonly reportId = "GetMessageById" as const;
|
|
532
|
+
readonly report: Omit<_GetMessageById, "tx">;
|
|
533
|
+
declare readonly $res: () => Message | null;
|
|
534
534
|
|
|
535
|
-
constructor(args: Omit<
|
|
535
|
+
constructor(args: Omit<_GetMessageById, "tx">) {
|
|
536
536
|
this.report = args;
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
|
|
540
|
-
export class
|
|
541
|
-
static readonly reportId = "
|
|
542
|
-
readonly reportId = "
|
|
543
|
-
readonly report: Omit<
|
|
544
|
-
declare readonly $res: () =>
|
|
540
|
+
export class CountMessages {
|
|
541
|
+
static readonly reportId = "CountMessages" as const;
|
|
542
|
+
readonly reportId = "CountMessages" as const;
|
|
543
|
+
readonly report: Omit<_CountMessages, "tx">;
|
|
544
|
+
declare readonly $res: () => MessageCount;
|
|
545
545
|
|
|
546
|
-
constructor(args: Omit<
|
|
546
|
+
constructor(args: Omit<_CountMessages, "tx">) {
|
|
547
547
|
this.report = args;
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
|
|
551
|
-
export class
|
|
552
|
-
static readonly reportId = "
|
|
553
|
-
readonly reportId = "
|
|
554
|
-
readonly report: Omit<
|
|
555
|
-
declare readonly $res: () =>
|
|
551
|
+
export class CountAllMessages {
|
|
552
|
+
static readonly reportId = "CountAllMessages" as const;
|
|
553
|
+
readonly reportId = "CountAllMessages" as const;
|
|
554
|
+
readonly report: Omit<_CountAllMessages, "tx">;
|
|
555
|
+
declare readonly $res: () => MessageCount;
|
|
556
556
|
|
|
557
|
-
constructor(args: Omit<
|
|
557
|
+
constructor(args: Omit<_CountAllMessages, "tx">) {
|
|
558
558
|
this.report = args;
|
|
559
559
|
}
|
|
560
560
|
}
|
|
@@ -658,212 +658,135 @@ export class CountAllRooms {
|
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
660
|
|
|
661
|
-
export class
|
|
662
|
-
static readonly reportId = "
|
|
663
|
-
readonly reportId = "
|
|
664
|
-
readonly report: Omit<
|
|
665
|
-
declare readonly $res: () =>
|
|
661
|
+
export class GetSessionById {
|
|
662
|
+
static readonly reportId = "GetSessionById" as const;
|
|
663
|
+
readonly reportId = "GetSessionById" as const;
|
|
664
|
+
readonly report: Omit<_GetSessionById, "tx">;
|
|
665
|
+
declare readonly $res: () => Session | null;
|
|
666
666
|
|
|
667
|
-
constructor(args: Omit<
|
|
667
|
+
constructor(args: Omit<_GetSessionById, "tx">) {
|
|
668
668
|
this.report = args;
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
|
|
672
|
-
export class
|
|
673
|
-
static readonly reportId = "
|
|
674
|
-
readonly reportId = "
|
|
675
|
-
readonly report: Omit<
|
|
676
|
-
declare readonly $res: () =>
|
|
672
|
+
export class CountSessions {
|
|
673
|
+
static readonly reportId = "CountSessions" as const;
|
|
674
|
+
readonly reportId = "CountSessions" as const;
|
|
675
|
+
readonly report: Omit<_CountSessions, "tx">;
|
|
676
|
+
declare readonly $res: () => SessionCount;
|
|
677
677
|
|
|
678
|
-
constructor(args: Omit<
|
|
678
|
+
constructor(args: Omit<_CountSessions, "tx">) {
|
|
679
679
|
this.report = args;
|
|
680
680
|
}
|
|
681
681
|
}
|
|
682
682
|
|
|
683
|
-
export class
|
|
684
|
-
static readonly reportId = "
|
|
685
|
-
readonly reportId = "
|
|
686
|
-
readonly report: Omit<
|
|
687
|
-
declare readonly $res: () =>
|
|
683
|
+
export class CountAllSessions {
|
|
684
|
+
static readonly reportId = "CountAllSessions" as const;
|
|
685
|
+
readonly reportId = "CountAllSessions" as const;
|
|
686
|
+
readonly report: Omit<_CountAllSessions, "tx">;
|
|
687
|
+
declare readonly $res: () => SessionCount;
|
|
688
688
|
|
|
689
|
-
constructor(args: Omit<
|
|
689
|
+
constructor(args: Omit<_CountAllSessions, "tx">) {
|
|
690
690
|
this.report = args;
|
|
691
691
|
}
|
|
692
692
|
}
|
|
693
693
|
|
|
694
|
-
export class
|
|
695
|
-
static readonly reportId = "
|
|
696
|
-
readonly reportId = "
|
|
697
|
-
readonly report: Omit<
|
|
698
|
-
declare readonly $res: () =>
|
|
694
|
+
export class GetMessageReadById {
|
|
695
|
+
static readonly reportId = "GetMessageReadById" as const;
|
|
696
|
+
readonly reportId = "GetMessageReadById" as const;
|
|
697
|
+
readonly report: Omit<_GetMessageReadById, "tx">;
|
|
698
|
+
declare readonly $res: () => MessageRead | null;
|
|
699
699
|
|
|
700
|
-
constructor(args: Omit<
|
|
700
|
+
constructor(args: Omit<_GetMessageReadById, "tx">) {
|
|
701
701
|
this.report = args;
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
704
|
|
|
705
|
-
export class
|
|
706
|
-
static readonly reportId = "
|
|
707
|
-
readonly reportId = "
|
|
708
|
-
readonly report: Omit<
|
|
709
|
-
declare readonly $res: () =>
|
|
705
|
+
export class CountMessageReads {
|
|
706
|
+
static readonly reportId = "CountMessageReads" as const;
|
|
707
|
+
readonly reportId = "CountMessageReads" as const;
|
|
708
|
+
readonly report: Omit<_CountMessageReads, "tx">;
|
|
709
|
+
declare readonly $res: () => MessageReadCount;
|
|
710
710
|
|
|
711
|
-
constructor(args: Omit<
|
|
711
|
+
constructor(args: Omit<_CountMessageReads, "tx">) {
|
|
712
712
|
this.report = args;
|
|
713
713
|
}
|
|
714
714
|
}
|
|
715
715
|
|
|
716
|
-
export class
|
|
717
|
-
static readonly reportId = "
|
|
718
|
-
readonly reportId = "
|
|
719
|
-
readonly report: Omit<
|
|
720
|
-
declare readonly $res: () =>
|
|
716
|
+
export class CountAllMessageReads {
|
|
717
|
+
static readonly reportId = "CountAllMessageReads" as const;
|
|
718
|
+
readonly reportId = "CountAllMessageReads" as const;
|
|
719
|
+
readonly report: Omit<_CountAllMessageReads, "tx">;
|
|
720
|
+
declare readonly $res: () => MessageReadCount;
|
|
721
721
|
|
|
722
|
-
constructor(args: Omit<
|
|
722
|
+
constructor(args: Omit<_CountAllMessageReads, "tx">) {
|
|
723
723
|
this.report = args;
|
|
724
724
|
}
|
|
725
725
|
}
|
|
726
726
|
|
|
727
727
|
// Command classes
|
|
728
|
-
export class
|
|
729
|
-
static readonly commandId = "
|
|
730
|
-
readonly commandId = "
|
|
731
|
-
readonly command: Omit<
|
|
732
|
-
declare readonly $res: () =>
|
|
733
|
-
|
|
734
|
-
constructor(args: Omit<_BroadcastMessage, "tx" | "createdAt">) {
|
|
735
|
-
this.command = args;
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
export class SendMessage {
|
|
740
|
-
static readonly commandId = "SendMessage" as const;
|
|
741
|
-
readonly commandId = "SendMessage" as const;
|
|
742
|
-
readonly command: Omit<_SendMessage, "tx" | "createdAt">;
|
|
743
|
-
declare readonly $res: () => SendMessageResult;
|
|
744
|
-
|
|
745
|
-
constructor(args: Omit<_SendMessage, "tx" | "createdAt">) {
|
|
746
|
-
this.command = args;
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
export class SetSessionLastToolAt {
|
|
751
|
-
static readonly commandId = "SetSessionLastToolAt" as const;
|
|
752
|
-
readonly commandId = "SetSessionLastToolAt" as const;
|
|
753
|
-
readonly command: Omit<_SetSessionLastToolAt, "tx" | "createdAt">;
|
|
754
|
-
declare readonly $res: () => void;
|
|
755
|
-
|
|
756
|
-
constructor(args: Omit<_SetSessionLastToolAt, "tx" | "createdAt">) {
|
|
757
|
-
this.command = args;
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
export class SetSessionLastTool {
|
|
762
|
-
static readonly commandId = "SetSessionLastTool" as const;
|
|
763
|
-
readonly commandId = "SetSessionLastTool" as const;
|
|
764
|
-
readonly command: Omit<_SetSessionLastTool, "tx" | "createdAt">;
|
|
765
|
-
declare readonly $res: () => void;
|
|
766
|
-
|
|
767
|
-
constructor(args: Omit<_SetSessionLastTool, "tx" | "createdAt">) {
|
|
768
|
-
this.command = args;
|
|
769
|
-
}
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
export class SetSessionLastActivityAt {
|
|
773
|
-
static readonly commandId = "SetSessionLastActivityAt" as const;
|
|
774
|
-
readonly commandId = "SetSessionLastActivityAt" as const;
|
|
775
|
-
readonly command: Omit<_SetSessionLastActivityAt, "tx" | "createdAt">;
|
|
776
|
-
declare readonly $res: () => void;
|
|
728
|
+
export class ImportSandboxRun {
|
|
729
|
+
static readonly commandId = "ImportSandboxRun" as const;
|
|
730
|
+
readonly commandId = "ImportSandboxRun" as const;
|
|
731
|
+
readonly command: Omit<_ImportSandboxRun, "tx" | "createdAt">;
|
|
732
|
+
declare readonly $res: () => SandboxRunId;
|
|
777
733
|
|
|
778
|
-
constructor(args: Omit<
|
|
734
|
+
constructor(args: Omit<_ImportSandboxRun, "tx" | "createdAt">) {
|
|
779
735
|
this.command = args;
|
|
780
736
|
}
|
|
781
737
|
}
|
|
782
738
|
|
|
783
|
-
export class
|
|
784
|
-
static readonly commandId = "
|
|
785
|
-
readonly commandId = "
|
|
786
|
-
readonly command: Omit<
|
|
787
|
-
declare readonly $res: () =>
|
|
739
|
+
export class DeleteSandboxRuns {
|
|
740
|
+
static readonly commandId = "DeleteSandboxRuns" as const;
|
|
741
|
+
readonly commandId = "DeleteSandboxRuns" as const;
|
|
742
|
+
readonly command: Omit<_DeleteSandboxRuns, "tx" | "createdAt">;
|
|
743
|
+
declare readonly $res: () => DeleteSandboxRunsResult;
|
|
788
744
|
|
|
789
|
-
constructor(args: Omit<
|
|
745
|
+
constructor(args: Omit<_DeleteSandboxRuns, "tx" | "createdAt">) {
|
|
790
746
|
this.command = args;
|
|
791
747
|
}
|
|
792
748
|
}
|
|
793
749
|
|
|
794
|
-
export class
|
|
795
|
-
static readonly commandId = "
|
|
796
|
-
readonly commandId = "
|
|
797
|
-
readonly command: Omit<
|
|
798
|
-
declare readonly $res: () =>
|
|
750
|
+
export class DeleteSandboxRun {
|
|
751
|
+
static readonly commandId = "DeleteSandboxRun" as const;
|
|
752
|
+
readonly commandId = "DeleteSandboxRun" as const;
|
|
753
|
+
readonly command: Omit<_DeleteSandboxRun, "tx" | "createdAt">;
|
|
754
|
+
declare readonly $res: () => DeleteSandboxRunResult;
|
|
799
755
|
|
|
800
|
-
constructor(args: Omit<
|
|
756
|
+
constructor(args: Omit<_DeleteSandboxRun, "tx" | "createdAt">) {
|
|
801
757
|
this.command = args;
|
|
802
758
|
}
|
|
803
759
|
}
|
|
804
760
|
|
|
805
|
-
export class
|
|
806
|
-
static readonly commandId = "
|
|
807
|
-
readonly commandId = "
|
|
808
|
-
readonly command: Omit<
|
|
809
|
-
declare readonly $res: () =>
|
|
761
|
+
export class DeleteMessage {
|
|
762
|
+
static readonly commandId = "DeleteMessage" as const;
|
|
763
|
+
readonly commandId = "DeleteMessage" as const;
|
|
764
|
+
readonly command: Omit<_DeleteMessage, "tx" | "createdAt">;
|
|
765
|
+
declare readonly $res: () => DeleteMessageResult;
|
|
810
766
|
|
|
811
|
-
constructor(args: Omit<
|
|
767
|
+
constructor(args: Omit<_DeleteMessage, "tx" | "createdAt">) {
|
|
812
768
|
this.command = args;
|
|
813
769
|
}
|
|
814
770
|
}
|
|
815
771
|
|
|
816
|
-
export class
|
|
817
|
-
static readonly commandId = "
|
|
818
|
-
readonly commandId = "
|
|
819
|
-
readonly command: Omit<
|
|
820
|
-
declare readonly $res: () =>
|
|
772
|
+
export class DeleteMessages {
|
|
773
|
+
static readonly commandId = "DeleteMessages" as const;
|
|
774
|
+
readonly commandId = "DeleteMessages" as const;
|
|
775
|
+
readonly command: Omit<_DeleteMessages, "tx" | "createdAt">;
|
|
776
|
+
declare readonly $res: () => DeleteMessagesResult;
|
|
821
777
|
|
|
822
|
-
constructor(args: Omit<
|
|
778
|
+
constructor(args: Omit<_DeleteMessages, "tx" | "createdAt">) {
|
|
823
779
|
this.command = args;
|
|
824
780
|
}
|
|
825
781
|
}
|
|
826
782
|
|
|
827
|
-
export class
|
|
828
|
-
static readonly commandId = "
|
|
829
|
-
readonly commandId = "
|
|
830
|
-
readonly command: Omit<
|
|
783
|
+
export class NotifyChannel {
|
|
784
|
+
static readonly commandId = "NotifyChannel" as const;
|
|
785
|
+
readonly commandId = "NotifyChannel" as const;
|
|
786
|
+
readonly command: Omit<_NotifyChannel, "tx" | "createdAt">;
|
|
831
787
|
declare readonly $res: () => void;
|
|
832
788
|
|
|
833
|
-
constructor(args: Omit<
|
|
834
|
-
this.command = args;
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
export class DeleteSession {
|
|
839
|
-
static readonly commandId = "DeleteSession" as const;
|
|
840
|
-
readonly commandId = "DeleteSession" as const;
|
|
841
|
-
readonly command: Omit<_DeleteSession, "tx" | "createdAt">;
|
|
842
|
-
declare readonly $res: () => DeleteSessionResult;
|
|
843
|
-
|
|
844
|
-
constructor(args: Omit<_DeleteSession, "tx" | "createdAt">) {
|
|
845
|
-
this.command = args;
|
|
846
|
-
}
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
export class DeleteMessageRead {
|
|
850
|
-
static readonly commandId = "DeleteMessageRead" as const;
|
|
851
|
-
readonly commandId = "DeleteMessageRead" as const;
|
|
852
|
-
readonly command: Omit<_DeleteMessageRead, "tx" | "createdAt">;
|
|
853
|
-
declare readonly $res: () => DeleteMessageReadResult;
|
|
854
|
-
|
|
855
|
-
constructor(args: Omit<_DeleteMessageRead, "tx" | "createdAt">) {
|
|
856
|
-
this.command = args;
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
export class DeleteMessageReads {
|
|
861
|
-
static readonly commandId = "DeleteMessageReads" as const;
|
|
862
|
-
readonly commandId = "DeleteMessageReads" as const;
|
|
863
|
-
readonly command: Omit<_DeleteMessageReads, "tx" | "createdAt">;
|
|
864
|
-
declare readonly $res: () => DeleteMessageReadsResult;
|
|
865
|
-
|
|
866
|
-
constructor(args: Omit<_DeleteMessageReads, "tx" | "createdAt">) {
|
|
789
|
+
constructor(args: Omit<_NotifyChannel, "tx" | "createdAt">) {
|
|
867
790
|
this.command = args;
|
|
868
791
|
}
|
|
869
792
|
}
|
|
@@ -989,92 +912,169 @@ export class DeleteRooms {
|
|
|
989
912
|
}
|
|
990
913
|
}
|
|
991
914
|
|
|
992
|
-
export class
|
|
993
|
-
static readonly commandId = "
|
|
994
|
-
readonly commandId = "
|
|
995
|
-
readonly command: Omit<
|
|
996
|
-
declare readonly $res: () =>
|
|
915
|
+
export class SetSessionLastToolAt {
|
|
916
|
+
static readonly commandId = "SetSessionLastToolAt" as const;
|
|
917
|
+
readonly commandId = "SetSessionLastToolAt" as const;
|
|
918
|
+
readonly command: Omit<_SetSessionLastToolAt, "tx" | "createdAt">;
|
|
919
|
+
declare readonly $res: () => void;
|
|
997
920
|
|
|
998
|
-
constructor(args: Omit<
|
|
921
|
+
constructor(args: Omit<_SetSessionLastToolAt, "tx" | "createdAt">) {
|
|
999
922
|
this.command = args;
|
|
1000
923
|
}
|
|
1001
924
|
}
|
|
1002
925
|
|
|
1003
|
-
export class
|
|
1004
|
-
static readonly commandId = "
|
|
1005
|
-
readonly commandId = "
|
|
1006
|
-
readonly command: Omit<
|
|
1007
|
-
declare readonly $res: () =>
|
|
926
|
+
export class SetSessionLastTool {
|
|
927
|
+
static readonly commandId = "SetSessionLastTool" as const;
|
|
928
|
+
readonly commandId = "SetSessionLastTool" as const;
|
|
929
|
+
readonly command: Omit<_SetSessionLastTool, "tx" | "createdAt">;
|
|
930
|
+
declare readonly $res: () => void;
|
|
1008
931
|
|
|
1009
|
-
constructor(args: Omit<
|
|
932
|
+
constructor(args: Omit<_SetSessionLastTool, "tx" | "createdAt">) {
|
|
1010
933
|
this.command = args;
|
|
1011
934
|
}
|
|
1012
935
|
}
|
|
1013
936
|
|
|
1014
|
-
export class
|
|
1015
|
-
static readonly commandId = "
|
|
1016
|
-
readonly commandId = "
|
|
1017
|
-
readonly command: Omit<
|
|
1018
|
-
declare readonly $res: () =>
|
|
937
|
+
export class SetSessionLastActivityAt {
|
|
938
|
+
static readonly commandId = "SetSessionLastActivityAt" as const;
|
|
939
|
+
readonly commandId = "SetSessionLastActivityAt" as const;
|
|
940
|
+
readonly command: Omit<_SetSessionLastActivityAt, "tx" | "createdAt">;
|
|
941
|
+
declare readonly $res: () => void;
|
|
1019
942
|
|
|
1020
|
-
constructor(args: Omit<
|
|
943
|
+
constructor(args: Omit<_SetSessionLastActivityAt, "tx" | "createdAt">) {
|
|
1021
944
|
this.command = args;
|
|
1022
945
|
}
|
|
1023
946
|
}
|
|
1024
947
|
|
|
1025
|
-
export class
|
|
1026
|
-
static readonly commandId = "
|
|
1027
|
-
readonly commandId = "
|
|
1028
|
-
readonly command: Omit<
|
|
1029
|
-
declare readonly $res: () =>
|
|
948
|
+
export class SetSessionGitBranch {
|
|
949
|
+
static readonly commandId = "SetSessionGitBranch" as const;
|
|
950
|
+
readonly commandId = "SetSessionGitBranch" as const;
|
|
951
|
+
readonly command: Omit<_SetSessionGitBranch, "tx" | "createdAt">;
|
|
952
|
+
declare readonly $res: () => void;
|
|
1030
953
|
|
|
1031
|
-
constructor(args: Omit<
|
|
954
|
+
constructor(args: Omit<_SetSessionGitBranch, "tx" | "createdAt">) {
|
|
1032
955
|
this.command = args;
|
|
1033
956
|
}
|
|
1034
957
|
}
|
|
1035
958
|
|
|
1036
|
-
export class
|
|
1037
|
-
static readonly commandId = "
|
|
1038
|
-
readonly commandId = "
|
|
1039
|
-
readonly command: Omit<
|
|
1040
|
-
declare readonly $res: () =>
|
|
959
|
+
export class DeleteSessions {
|
|
960
|
+
static readonly commandId = "DeleteSessions" as const;
|
|
961
|
+
readonly commandId = "DeleteSessions" as const;
|
|
962
|
+
readonly command: Omit<_DeleteSessions, "tx" | "createdAt">;
|
|
963
|
+
declare readonly $res: () => DeleteSessionsResult;
|
|
1041
964
|
|
|
1042
|
-
constructor(args: Omit<
|
|
965
|
+
constructor(args: Omit<_DeleteSessions, "tx" | "createdAt">) {
|
|
1043
966
|
this.command = args;
|
|
1044
967
|
}
|
|
1045
968
|
}
|
|
1046
969
|
|
|
1047
|
-
export class
|
|
1048
|
-
static readonly commandId = "
|
|
1049
|
-
readonly commandId = "
|
|
1050
|
-
readonly command: Omit<
|
|
1051
|
-
declare readonly $res: () =>
|
|
970
|
+
export class SetSessionActivity {
|
|
971
|
+
static readonly commandId = "SetSessionActivity" as const;
|
|
972
|
+
readonly commandId = "SetSessionActivity" as const;
|
|
973
|
+
readonly command: Omit<_SetSessionActivity, "tx" | "createdAt">;
|
|
974
|
+
declare readonly $res: () => void;
|
|
1052
975
|
|
|
1053
|
-
constructor(args: Omit<
|
|
976
|
+
constructor(args: Omit<_SetSessionActivity, "tx" | "createdAt">) {
|
|
1054
977
|
this.command = args;
|
|
1055
978
|
}
|
|
1056
979
|
}
|
|
1057
980
|
|
|
1058
|
-
export class
|
|
1059
|
-
static readonly commandId = "
|
|
1060
|
-
readonly commandId = "
|
|
1061
|
-
readonly command: Omit<
|
|
981
|
+
export class SetSessionSessionName {
|
|
982
|
+
static readonly commandId = "SetSessionSessionName" as const;
|
|
983
|
+
readonly commandId = "SetSessionSessionName" as const;
|
|
984
|
+
readonly command: Omit<_SetSessionSessionName, "tx" | "createdAt">;
|
|
1062
985
|
declare readonly $res: () => void;
|
|
1063
986
|
|
|
1064
|
-
constructor(args: Omit<
|
|
987
|
+
constructor(args: Omit<_SetSessionSessionName, "tx" | "createdAt">) {
|
|
988
|
+
this.command = args;
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
export class SetSessionCurrentTask {
|
|
993
|
+
static readonly commandId = "SetSessionCurrentTask" as const;
|
|
994
|
+
readonly commandId = "SetSessionCurrentTask" as const;
|
|
995
|
+
readonly command: Omit<_SetSessionCurrentTask, "tx" | "createdAt">;
|
|
996
|
+
declare readonly $res: () => void;
|
|
997
|
+
|
|
998
|
+
constructor(args: Omit<_SetSessionCurrentTask, "tx" | "createdAt">) {
|
|
999
|
+
this.command = args;
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
export class DeleteSession {
|
|
1004
|
+
static readonly commandId = "DeleteSession" as const;
|
|
1005
|
+
readonly commandId = "DeleteSession" as const;
|
|
1006
|
+
readonly command: Omit<_DeleteSession, "tx" | "createdAt">;
|
|
1007
|
+
declare readonly $res: () => DeleteSessionResult;
|
|
1008
|
+
|
|
1009
|
+
constructor(args: Omit<_DeleteSession, "tx" | "createdAt">) {
|
|
1010
|
+
this.command = args;
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
export class ReadMessages {
|
|
1015
|
+
static readonly commandId = "ReadMessages" as const;
|
|
1016
|
+
readonly commandId = "ReadMessages" as const;
|
|
1017
|
+
readonly command: Omit<_ReadMessages, "tx" | "createdAt">;
|
|
1018
|
+
declare readonly $res: () => ReadMessagesResult;
|
|
1019
|
+
|
|
1020
|
+
constructor(args: Omit<_ReadMessages, "tx" | "createdAt">) {
|
|
1021
|
+
this.command = args;
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
export class DeleteMessageRead {
|
|
1026
|
+
static readonly commandId = "DeleteMessageRead" as const;
|
|
1027
|
+
readonly commandId = "DeleteMessageRead" as const;
|
|
1028
|
+
readonly command: Omit<_DeleteMessageRead, "tx" | "createdAt">;
|
|
1029
|
+
declare readonly $res: () => DeleteMessageReadResult;
|
|
1030
|
+
|
|
1031
|
+
constructor(args: Omit<_DeleteMessageRead, "tx" | "createdAt">) {
|
|
1032
|
+
this.command = args;
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
export class DeleteMessageReads {
|
|
1037
|
+
static readonly commandId = "DeleteMessageReads" as const;
|
|
1038
|
+
readonly commandId = "DeleteMessageReads" as const;
|
|
1039
|
+
readonly command: Omit<_DeleteMessageReads, "tx" | "createdAt">;
|
|
1040
|
+
declare readonly $res: () => DeleteMessageReadsResult;
|
|
1041
|
+
|
|
1042
|
+
constructor(args: Omit<_DeleteMessageReads, "tx" | "createdAt">) {
|
|
1043
|
+
this.command = args;
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
export class BroadcastMessage {
|
|
1048
|
+
static readonly commandId = "BroadcastMessage" as const;
|
|
1049
|
+
readonly commandId = "BroadcastMessage" as const;
|
|
1050
|
+
readonly command: Omit<_BroadcastMessage, "tx" | "createdAt">;
|
|
1051
|
+
declare readonly $res: () => BroadcastMessageResult;
|
|
1052
|
+
|
|
1053
|
+
constructor(args: Omit<_BroadcastMessage, "tx" | "createdAt">) {
|
|
1054
|
+
this.command = args;
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
export class SendMessage {
|
|
1059
|
+
static readonly commandId = "SendMessage" as const;
|
|
1060
|
+
readonly commandId = "SendMessage" as const;
|
|
1061
|
+
readonly command: Omit<_SendMessage, "tx" | "createdAt">;
|
|
1062
|
+
declare readonly $res: () => SendMessageResult;
|
|
1063
|
+
|
|
1064
|
+
constructor(args: Omit<_SendMessage, "tx" | "createdAt">) {
|
|
1065
1065
|
this.command = args;
|
|
1066
1066
|
}
|
|
1067
1067
|
}
|
|
1068
1068
|
|
|
1069
1069
|
// Item constructors
|
|
1070
1070
|
export const items = {
|
|
1071
|
-
|
|
1072
|
-
|
|
1071
|
+
SandboxRun: (args: SandboxRun) => ({ item: args, itemType: "SandboxRun" }),
|
|
1072
|
+
Message: (args: Message) => ({ item: args, itemType: "Message" }),
|
|
1073
1073
|
SessionNickname: (args: SessionNickname) => ({ item: args, itemType: "SessionNickname" }),
|
|
1074
1074
|
RoomMember: (args: RoomMember) => ({ item: args, itemType: "RoomMember" }),
|
|
1075
1075
|
Room: (args: Room) => ({ item: args, itemType: "Room" }),
|
|
1076
|
-
|
|
1077
|
-
|
|
1076
|
+
Session: (args: Session) => ({ item: args, itemType: "Session" }),
|
|
1077
|
+
MessageRead: (args: MessageRead) => ({ item: args, itemType: "MessageRead" }),
|
|
1078
1078
|
};
|
|
1079
1079
|
|
|
1080
1080
|
// Message events
|