@agent-marshal/marshal-prime-agent 0.48.4

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.
Files changed (245) hide show
  1. package/README.md +73 -0
  2. package/package.json +48 -0
  3. package/src/daemon.ts +358 -0
  4. package/src/entities.ts +197 -0
  5. package/src/generated/AckMessages.ts +16 -0
  6. package/src/generated/AckMessagesArgs.ts +16 -0
  7. package/src/generated/AckMessagesResult.ts +12 -0
  8. package/src/generated/AutoSource.ts +9 -0
  9. package/src/generated/BroadcastMessage.ts +10 -0
  10. package/src/generated/BroadcastMessageArgs.ts +10 -0
  11. package/src/generated/BroadcastMessageResult.ts +25 -0
  12. package/src/generated/CancelSubscription.ts +6 -0
  13. package/src/generated/ChildEntities.ts +6 -0
  14. package/src/generated/ChildEntitiesAllTime.ts +6 -0
  15. package/src/generated/ClearClientWindbackTime.ts +7 -0
  16. package/src/generated/ClearClientWindbackTimeArgs.ts +3 -0
  17. package/src/generated/Client.ts +14 -0
  18. package/src/generated/ClientCount.ts +3 -0
  19. package/src/generated/ClientId.ts +3 -0
  20. package/src/generated/ClientStatus.ts +7 -0
  21. package/src/generated/ClientStatusOutput.ts +3 -0
  22. package/src/generated/CommandError.ts +3 -0
  23. package/src/generated/CommandResponse.ts +4 -0
  24. package/src/generated/CountAllClients.ts +3 -0
  25. package/src/generated/CountAllMessageReads.ts +3 -0
  26. package/src/generated/CountAllMessages.ts +3 -0
  27. package/src/generated/CountAllRoomMembers.ts +3 -0
  28. package/src/generated/CountAllRooms.ts +3 -0
  29. package/src/generated/CountAllServers.ts +3 -0
  30. package/src/generated/CountAllSessionNicknames.ts +3 -0
  31. package/src/generated/CountAllSessions.ts +3 -0
  32. package/src/generated/CountClients.ts +4 -0
  33. package/src/generated/CountMessageReads.ts +4 -0
  34. package/src/generated/CountMessages.ts +4 -0
  35. package/src/generated/CountRoomMembers.ts +4 -0
  36. package/src/generated/CountRooms.ts +4 -0
  37. package/src/generated/CountServers.ts +4 -0
  38. package/src/generated/CountSessionNicknames.ts +4 -0
  39. package/src/generated/CountSessions.ts +4 -0
  40. package/src/generated/DeleteClient.ts +7 -0
  41. package/src/generated/DeleteClientArgs.ts +4 -0
  42. package/src/generated/DeleteClientResult.ts +6 -0
  43. package/src/generated/DeleteClients.ts +7 -0
  44. package/src/generated/DeleteClientsArgs.ts +4 -0
  45. package/src/generated/DeleteClientsResult.ts +6 -0
  46. package/src/generated/DeleteMessage.ts +7 -0
  47. package/src/generated/DeleteMessageArgs.ts +4 -0
  48. package/src/generated/DeleteMessageRead.ts +7 -0
  49. package/src/generated/DeleteMessageReadArgs.ts +4 -0
  50. package/src/generated/DeleteMessageReadResult.ts +6 -0
  51. package/src/generated/DeleteMessageReads.ts +7 -0
  52. package/src/generated/DeleteMessageReadsArgs.ts +4 -0
  53. package/src/generated/DeleteMessageReadsResult.ts +6 -0
  54. package/src/generated/DeleteMessageResult.ts +6 -0
  55. package/src/generated/DeleteMessages.ts +7 -0
  56. package/src/generated/DeleteMessagesArgs.ts +4 -0
  57. package/src/generated/DeleteMessagesResult.ts +6 -0
  58. package/src/generated/DeleteRoom.ts +7 -0
  59. package/src/generated/DeleteRoomArgs.ts +4 -0
  60. package/src/generated/DeleteRoomMember.ts +7 -0
  61. package/src/generated/DeleteRoomMemberArgs.ts +4 -0
  62. package/src/generated/DeleteRoomMemberResult.ts +6 -0
  63. package/src/generated/DeleteRoomMembers.ts +7 -0
  64. package/src/generated/DeleteRoomMembersArgs.ts +4 -0
  65. package/src/generated/DeleteRoomMembersResult.ts +6 -0
  66. package/src/generated/DeleteRoomResult.ts +6 -0
  67. package/src/generated/DeleteRooms.ts +7 -0
  68. package/src/generated/DeleteRoomsArgs.ts +4 -0
  69. package/src/generated/DeleteRoomsResult.ts +6 -0
  70. package/src/generated/DeleteServer.ts +7 -0
  71. package/src/generated/DeleteServerArgs.ts +4 -0
  72. package/src/generated/DeleteServerResult.ts +6 -0
  73. package/src/generated/DeleteServers.ts +7 -0
  74. package/src/generated/DeleteServersArgs.ts +4 -0
  75. package/src/generated/DeleteServersResult.ts +6 -0
  76. package/src/generated/DeleteSession.ts +7 -0
  77. package/src/generated/DeleteSessionArgs.ts +4 -0
  78. package/src/generated/DeleteSessionNickname.ts +7 -0
  79. package/src/generated/DeleteSessionNicknameArgs.ts +4 -0
  80. package/src/generated/DeleteSessionNicknameResult.ts +6 -0
  81. package/src/generated/DeleteSessionNicknames.ts +7 -0
  82. package/src/generated/DeleteSessionNicknamesArgs.ts +4 -0
  83. package/src/generated/DeleteSessionNicknamesResult.ts +6 -0
  84. package/src/generated/DeleteSessionResult.ts +6 -0
  85. package/src/generated/DeleteSessions.ts +7 -0
  86. package/src/generated/DeleteSessionsArgs.ts +4 -0
  87. package/src/generated/DeleteSessionsResult.ts +6 -0
  88. package/src/generated/DeliveredRecipient.ts +4 -0
  89. package/src/generated/EntitySearch.ts +21 -0
  90. package/src/generated/EntitySearchResult.ts +10 -0
  91. package/src/generated/EntitySnapshotDifference.ts +6 -0
  92. package/src/generated/EntitySnapshotDifferenceData.ts +7 -0
  93. package/src/generated/EntityTreeExport.ts +27 -0
  94. package/src/generated/EventContainer.ts +7 -0
  95. package/src/generated/EventOptions.ts +11 -0
  96. package/src/generated/EventsForTransaction.ts +6 -0
  97. package/src/generated/ExportEntityTree.ts +24 -0
  98. package/src/generated/ExportedEntity.ts +15 -0
  99. package/src/generated/FailedRecipient.ts +4 -0
  100. package/src/generated/FullChildEntities.ts +6 -0
  101. package/src/generated/GetAllClients.ts +3 -0
  102. package/src/generated/GetAllMessageReads.ts +3 -0
  103. package/src/generated/GetAllMessages.ts +3 -0
  104. package/src/generated/GetAllRoomMembers.ts +3 -0
  105. package/src/generated/GetAllRooms.ts +3 -0
  106. package/src/generated/GetAllServers.ts +3 -0
  107. package/src/generated/GetAllSessionNicknames.ts +3 -0
  108. package/src/generated/GetAllSessions.ts +3 -0
  109. package/src/generated/GetClientById.ts +4 -0
  110. package/src/generated/GetClientsByIds.ts +4 -0
  111. package/src/generated/GetClientsByQuery.ts +4 -0
  112. package/src/generated/GetConnectedServer.ts +3 -0
  113. package/src/generated/GetItemsByTypeAndIds.ts +14 -0
  114. package/src/generated/GetMessageById.ts +4 -0
  115. package/src/generated/GetMessageReadById.ts +4 -0
  116. package/src/generated/GetMessageReadsByIds.ts +4 -0
  117. package/src/generated/GetMessageReadsByQuery.ts +4 -0
  118. package/src/generated/GetMessagesByIds.ts +4 -0
  119. package/src/generated/GetMessagesByQuery.ts +4 -0
  120. package/src/generated/GetPeerServers.ts +3 -0
  121. package/src/generated/GetPersistHealth.ts +8 -0
  122. package/src/generated/GetRoomById.ts +4 -0
  123. package/src/generated/GetRoomMemberById.ts +4 -0
  124. package/src/generated/GetRoomMembersByIds.ts +4 -0
  125. package/src/generated/GetRoomMembersByQuery.ts +4 -0
  126. package/src/generated/GetRoomsByIds.ts +4 -0
  127. package/src/generated/GetRoomsByQuery.ts +4 -0
  128. package/src/generated/GetServerById.ts +4 -0
  129. package/src/generated/GetServersByIds.ts +4 -0
  130. package/src/generated/GetServersByQuery.ts +4 -0
  131. package/src/generated/GetSessionById.ts +4 -0
  132. package/src/generated/GetSessionNicknameById.ts +4 -0
  133. package/src/generated/GetSessionNicknamesByIds.ts +4 -0
  134. package/src/generated/GetSessionNicknamesByQuery.ts +4 -0
  135. package/src/generated/GetSessionsByIds.ts +4 -0
  136. package/src/generated/GetSessionsByQuery.ts +4 -0
  137. package/src/generated/HostInfo.ts +21 -0
  138. package/src/generated/ImportItems.ts +19 -0
  139. package/src/generated/ImportItemsArgs.ts +13 -0
  140. package/src/generated/ItemStub.ts +7 -0
  141. package/src/generated/JoinRoom.ts +19 -0
  142. package/src/generated/JoinRoomArgs.ts +19 -0
  143. package/src/generated/JoinRoomResult.ts +14 -0
  144. package/src/generated/LeaveRoom.ts +14 -0
  145. package/src/generated/LeaveRoomArgs.ts +14 -0
  146. package/src/generated/LeaveRoomResult.ts +9 -0
  147. package/src/generated/LivePushStatus.ts +3 -0
  148. package/src/generated/LogLevel.ts +6 -0
  149. package/src/generated/Loggers.ts +6 -0
  150. package/src/generated/MEvent.ts +5 -0
  151. package/src/generated/MEventType.ts +3 -0
  152. package/src/generated/Message.ts +60 -0
  153. package/src/generated/MessageCount.ts +3 -0
  154. package/src/generated/MessageId.ts +3 -0
  155. package/src/generated/MessageRead.ts +10 -0
  156. package/src/generated/MessageReadCount.ts +3 -0
  157. package/src/generated/MessageReadId.ts +3 -0
  158. package/src/generated/MessageView.ts +12 -0
  159. package/src/generated/MykoMessage.ts +19 -0
  160. package/src/generated/NotifyChannel.ts +10 -0
  161. package/src/generated/NotifyChannelArgs.ts +4 -0
  162. package/src/generated/PartialClient.ts +14 -0
  163. package/src/generated/PartialMessage.ts +60 -0
  164. package/src/generated/PartialMessageRead.ts +10 -0
  165. package/src/generated/PartialRoom.ts +23 -0
  166. package/src/generated/PartialRoomMember.ts +13 -0
  167. package/src/generated/PartialServer.ts +4 -0
  168. package/src/generated/PartialSession.ts +130 -0
  169. package/src/generated/PartialSessionNickname.ts +9 -0
  170. package/src/generated/PeerAlive.ts +7 -0
  171. package/src/generated/PersistHealthStatus.ts +34 -0
  172. package/src/generated/PingData.ts +14 -0
  173. package/src/generated/QueryError.ts +3 -0
  174. package/src/generated/QueryWindow.ts +3 -0
  175. package/src/generated/QueryWindowUpdate.ts +4 -0
  176. package/src/generated/ReadMessages.ts +48 -0
  177. package/src/generated/ReadMessagesArgs.ts +48 -0
  178. package/src/generated/ReadMessagesResult.ts +9 -0
  179. package/src/generated/ReportError.ts +3 -0
  180. package/src/generated/ReportResponse.ts +4 -0
  181. package/src/generated/Room.ts +23 -0
  182. package/src/generated/RoomCount.ts +3 -0
  183. package/src/generated/RoomId.ts +3 -0
  184. package/src/generated/RoomKind.ts +9 -0
  185. package/src/generated/RoomMember.ts +13 -0
  186. package/src/generated/RoomMemberCount.ts +3 -0
  187. package/src/generated/RoomMemberId.ts +3 -0
  188. package/src/generated/SearchServer.ts +8 -0
  189. package/src/generated/SearchServerResult.ts +4 -0
  190. package/src/generated/SendMessage.ts +12 -0
  191. package/src/generated/SendMessageArgs.ts +12 -0
  192. package/src/generated/SendMessageResult.ts +33 -0
  193. package/src/generated/Server.ts +4 -0
  194. package/src/generated/ServerCount.ts +3 -0
  195. package/src/generated/ServerId.ts +3 -0
  196. package/src/generated/ServerLogLevel.ts +6 -0
  197. package/src/generated/ServerStats.ts +27 -0
  198. package/src/generated/ServerStatsOutput.ts +20 -0
  199. package/src/generated/Session.ts +130 -0
  200. package/src/generated/SessionCount.ts +3 -0
  201. package/src/generated/SessionId.ts +3 -0
  202. package/src/generated/SessionNickname.ts +9 -0
  203. package/src/generated/SessionNicknameCount.ts +3 -0
  204. package/src/generated/SessionNicknameId.ts +3 -0
  205. package/src/generated/SetClientWindbackTime.ts +11 -0
  206. package/src/generated/SetClientWindbackTimeArgs.ts +7 -0
  207. package/src/generated/SetLogLevel.ts +7 -0
  208. package/src/generated/SetLogLevelArgs.ts +4 -0
  209. package/src/generated/SetRoomDescription.ts +7 -0
  210. package/src/generated/SetRoomDescriptionArgs.ts +4 -0
  211. package/src/generated/SetRoomName.ts +7 -0
  212. package/src/generated/SetRoomNameArgs.ts +4 -0
  213. package/src/generated/SetSessionActivity.ts +7 -0
  214. package/src/generated/SetSessionActivityArgs.ts +4 -0
  215. package/src/generated/SetSessionCurrentTask.ts +7 -0
  216. package/src/generated/SetSessionCurrentTaskArgs.ts +4 -0
  217. package/src/generated/SetSessionGitBranch.ts +7 -0
  218. package/src/generated/SetSessionGitBranchArgs.ts +4 -0
  219. package/src/generated/SetSessionLastActivityAt.ts +7 -0
  220. package/src/generated/SetSessionLastActivityAtArgs.ts +4 -0
  221. package/src/generated/SetSessionLastTool.ts +7 -0
  222. package/src/generated/SetSessionLastToolArgs.ts +4 -0
  223. package/src/generated/SetSessionLastToolAt.ts +7 -0
  224. package/src/generated/SetSessionLastToolAtArgs.ts +4 -0
  225. package/src/generated/SetSessionSessionName.ts +7 -0
  226. package/src/generated/SetSessionSessionNameArgs.ts +4 -0
  227. package/src/generated/StartProfile.ts +10 -0
  228. package/src/generated/StartProfileArgs.ts +7 -0
  229. package/src/generated/StopProfile.ts +6 -0
  230. package/src/generated/StopProfileArgs.ts +3 -0
  231. package/src/generated/StopProfileOutput.ts +14 -0
  232. package/src/generated/ViewError.ts +3 -0
  233. package/src/generated/ViewWindowUpdate.ts +4 -0
  234. package/src/generated/WakeStatus.ts +3 -0
  235. package/src/generated/WindbackStatus.ts +3 -0
  236. package/src/generated/WindbackStatusOutput.ts +11 -0
  237. package/src/generated/WrappedCommand.ts +4 -0
  238. package/src/generated/WrappedItem.ts +7 -0
  239. package/src/generated/WrappedQuery.ts +5 -0
  240. package/src/generated/WrappedReport.ts +4 -0
  241. package/src/generated/WrappedView.ts +5 -0
  242. package/src/generated/index.ts +1060 -0
  243. package/src/generated/serde_json/JsonValue.ts +3 -0
  244. package/src/identity.ts +61 -0
  245. package/src/index.ts +589 -0
@@ -0,0 +1,16 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { MessageId } from "./MessageId";
3
+ import type { SessionId } from "./SessionId";
4
+
5
+ export type AckMessagesArgs = {
6
+ /**
7
+ * Messages to mark read. Order doesn't matter; missing/unknown
8
+ * ids are silently skipped (idempotent — re-acking is fine).
9
+ */
10
+ messageIds: Array<MessageId>,
11
+ /**
12
+ * Self-identified caller for connectionless paths (HTTP-MCP agents,
13
+ * the daemon's `/hook/*` handlers acking on a session's behalf).
14
+ * WS shim callers omit it. See `resolve_caller`.
15
+ */
16
+ asSession?: SessionId | null, };
@@ -0,0 +1,12 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ export type AckMessagesResult = {
4
+ /**
5
+ * Number of `MessageRead` rows newly written. Re-acks of already-read
6
+ * messages don't count here.
7
+ */
8
+ newlyAcked: number,
9
+ /**
10
+ * Number of input ids that were already acked before this call.
11
+ */
12
+ alreadyAcked: number, };
@@ -0,0 +1,9 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Identity attribute that anchors an auto-room. The daemon's
5
+ * `AutoRoomSaga` recomputes membership whenever a `Session` SETs by
6
+ * reading its `operator` / `host` / `cwd` and (de)joining the
7
+ * matching auto-rooms.
8
+ */
9
+ export type AutoSource = { "anchor": "everyone" } | { "anchor": "host", name: string, } | { "anchor": "operator", name: string, } | { "anchor": "project", basename: string, };
@@ -0,0 +1,10 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { RoomId } from "./RoomId";
3
+ import type { SessionId } from "./SessionId";
4
+
5
+ export type BroadcastMessage = { toRoomId: RoomId, body: string,
6
+ /**
7
+ * Self-identified sender for connectionless paths (HTTP-MCP agents).
8
+ * WS shim callers omit it. See `resolve_caller`.
9
+ */
10
+ asSession?: SessionId | null, };
@@ -0,0 +1,10 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { RoomId } from "./RoomId";
3
+ import type { SessionId } from "./SessionId";
4
+
5
+ export type BroadcastMessageArgs = { toRoomId: RoomId, body: string,
6
+ /**
7
+ * Self-identified sender for connectionless paths (HTTP-MCP agents).
8
+ * WS shim callers omit it. See `resolve_caller`.
9
+ */
10
+ asSession?: SessionId | null, };
@@ -0,0 +1,25 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { DeliveredRecipient } from "./DeliveredRecipient";
3
+ import type { FailedRecipient } from "./FailedRecipient";
4
+ import type { MessageId } from "./MessageId";
5
+ import type { RoomId } from "./RoomId";
6
+ import type { SessionId } from "./SessionId";
7
+
8
+ export type BroadcastMessageResult = { messageId: MessageId, toRoomId: RoomId,
9
+ /**
10
+ * Room name at acceptance time. Rooms are user-named, not derived,
11
+ * so we DO echo this back — it's the routing label the caller
12
+ * addressed (`join_room`/`broadcast` accept names, not ids only).
13
+ */
14
+ toRoomName: string, sentAt: bigint,
15
+ /**
16
+ * Number of recipients the resolution found (excluding sender).
17
+ */
18
+ total: number, delivered: Array<DeliveredRecipient>, failed: Array<FailedRecipient>,
19
+ /**
20
+ * Sessions that an `@mention` in the body resolved to and got a direct
21
+ * ping (see the @mention escape hatch in `execute`). Empty for an
22
+ * un-mentioned broadcast. Lets the sender confirm a handle resolved — a
23
+ * typo'd `@name` simply won't appear here.
24
+ */
25
+ mentioned: Array<SessionId>, };
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Cancel subscription payload - just the transaction ID
5
+ */
6
+ export type CancelSubscription = { tx: string, };
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Report that fetches immediate child entities of a parent.
5
+ */
6
+ export type ChildEntities = { parentType: string, parentId: string, };
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Report that fetches all-time child entities (including deleted).
5
+ */
6
+ export type ChildEntitiesAllTime = { parentType: string, parentId: string, };
@@ -0,0 +1,7 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Command to clear the windback time for the current client.
5
+ * Returns the client to viewing live state.
6
+ */
7
+ export type ClearClientWindbackTime = Record<string, never>;
@@ -0,0 +1,3 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ export type ClearClientWindbackTimeArgs = Record<string, never>;
@@ -0,0 +1,14 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { ClientId } from "./ClientId";
3
+ import type { ServerId } from "./ServerId";
4
+
5
+ export type Client = { serverId: ServerId,
6
+ /**
7
+ * Remote address of the WebSocket connection (e.g., "192.168.1.5:54320").
8
+ */
9
+ address: string | null,
10
+ /**
11
+ * ISO timestamp for windback mode. When set, the client sees historical state
12
+ * as of this timestamp instead of live state.
13
+ */
14
+ windback: string | null, id: ClientId, };
@@ -0,0 +1,3 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ export type ClientCount = { count: number, };
@@ -0,0 +1,3 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ export type ClientId = string;
@@ -0,0 +1,7 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { ClientId } from "./ClientId";
3
+
4
+ /**
5
+ * Report that returns whether a client is currently connected
6
+ */
7
+ export type ClientStatus = { clientId: ClientId, };
@@ -0,0 +1,3 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ export type ClientStatusOutput = { online: boolean, };
@@ -0,0 +1,3 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ export type CommandError = { tx: string, commandId: string, message: string, };
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { JsonValue } from "./serde_json/JsonValue";
3
+
4
+ export type CommandResponse = { response: JsonValue, tx: string, };
@@ -0,0 +1,3 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ export type CountAllClients = Record<string, never>;
@@ -0,0 +1,3 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ export type CountAllMessageReads = Record<string, never>;
@@ -0,0 +1,3 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ export type CountAllMessages = Record<string, never>;
@@ -0,0 +1,3 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ export type CountAllRoomMembers = Record<string, never>;
@@ -0,0 +1,3 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ export type CountAllRooms = Record<string, never>;
@@ -0,0 +1,3 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ export type CountAllServers = Record<string, never>;
@@ -0,0 +1,3 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ export type CountAllSessionNicknames = Record<string, never>;
@@ -0,0 +1,3 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ export type CountAllSessions = Record<string, never>;
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { PartialClient } from "./PartialClient";
3
+
4
+ export type CountClients = PartialClient;
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { PartialMessageRead } from "./PartialMessageRead";
3
+
4
+ export type CountMessageReads = PartialMessageRead;
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { PartialMessage } from "./PartialMessage";
3
+
4
+ export type CountMessages = PartialMessage;
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { PartialRoomMember } from "./PartialRoomMember";
3
+
4
+ export type CountRoomMembers = PartialRoomMember;
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { PartialRoom } from "./PartialRoom";
3
+
4
+ export type CountRooms = PartialRoom;
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { PartialServer } from "./PartialServer";
3
+
4
+ export type CountServers = PartialServer;
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { PartialSessionNickname } from "./PartialSessionNickname";
3
+
4
+ export type CountSessionNicknames = PartialSessionNickname;
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { PartialSession } from "./PartialSession";
3
+
4
+ export type CountSessions = PartialSession;
@@ -0,0 +1,7 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { ClientId } from "./ClientId";
3
+
4
+ /**
5
+ * Command to delete a single entity by ID
6
+ */
7
+ export type DeleteClient = { id: ClientId, };
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { ClientId } from "./ClientId";
3
+
4
+ export type DeleteClientArgs = { id: ClientId, };
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Result type for Delete command
5
+ */
6
+ export type DeleteClientResult = { deleted: boolean, };
@@ -0,0 +1,7 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { ClientId } from "./ClientId";
3
+
4
+ /**
5
+ * Command to delete multiple entities by ID
6
+ */
7
+ export type DeleteClients = { ids: Array<ClientId>, };
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { ClientId } from "./ClientId";
3
+
4
+ export type DeleteClientsArgs = { ids: Array<ClientId>, };
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Result type for bulk Delete command
5
+ */
6
+ export type DeleteClientsResult = { deletedCount: number, };
@@ -0,0 +1,7 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { MessageId } from "./MessageId";
3
+
4
+ /**
5
+ * Command to delete a single entity by ID
6
+ */
7
+ export type DeleteMessage = { id: MessageId, };
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { MessageId } from "./MessageId";
3
+
4
+ export type DeleteMessageArgs = { id: MessageId, };
@@ -0,0 +1,7 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { MessageReadId } from "./MessageReadId";
3
+
4
+ /**
5
+ * Command to delete a single entity by ID
6
+ */
7
+ export type DeleteMessageRead = { id: MessageReadId, };
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { MessageReadId } from "./MessageReadId";
3
+
4
+ export type DeleteMessageReadArgs = { id: MessageReadId, };
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Result type for Delete command
5
+ */
6
+ export type DeleteMessageReadResult = { deleted: boolean, };
@@ -0,0 +1,7 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { MessageReadId } from "./MessageReadId";
3
+
4
+ /**
5
+ * Command to delete multiple entities by ID
6
+ */
7
+ export type DeleteMessageReads = { ids: Array<MessageReadId>, };
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { MessageReadId } from "./MessageReadId";
3
+
4
+ export type DeleteMessageReadsArgs = { ids: Array<MessageReadId>, };
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Result type for bulk Delete command
5
+ */
6
+ export type DeleteMessageReadsResult = { deletedCount: number, };
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Result type for Delete command
5
+ */
6
+ export type DeleteMessageResult = { deleted: boolean, };
@@ -0,0 +1,7 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { MessageId } from "./MessageId";
3
+
4
+ /**
5
+ * Command to delete multiple entities by ID
6
+ */
7
+ export type DeleteMessages = { ids: Array<MessageId>, };
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { MessageId } from "./MessageId";
3
+
4
+ export type DeleteMessagesArgs = { ids: Array<MessageId>, };
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Result type for bulk Delete command
5
+ */
6
+ export type DeleteMessagesResult = { deletedCount: number, };
@@ -0,0 +1,7 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { RoomId } from "./RoomId";
3
+
4
+ /**
5
+ * Command to delete a single entity by ID
6
+ */
7
+ export type DeleteRoom = { id: RoomId, };
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { RoomId } from "./RoomId";
3
+
4
+ export type DeleteRoomArgs = { id: RoomId, };
@@ -0,0 +1,7 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { RoomMemberId } from "./RoomMemberId";
3
+
4
+ /**
5
+ * Command to delete a single entity by ID
6
+ */
7
+ export type DeleteRoomMember = { id: RoomMemberId, };
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { RoomMemberId } from "./RoomMemberId";
3
+
4
+ export type DeleteRoomMemberArgs = { id: RoomMemberId, };
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Result type for Delete command
5
+ */
6
+ export type DeleteRoomMemberResult = { deleted: boolean, };
@@ -0,0 +1,7 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { RoomMemberId } from "./RoomMemberId";
3
+
4
+ /**
5
+ * Command to delete multiple entities by ID
6
+ */
7
+ export type DeleteRoomMembers = { ids: Array<RoomMemberId>, };
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { RoomMemberId } from "./RoomMemberId";
3
+
4
+ export type DeleteRoomMembersArgs = { ids: Array<RoomMemberId>, };
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Result type for bulk Delete command
5
+ */
6
+ export type DeleteRoomMembersResult = { deletedCount: number, };
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Result type for Delete command
5
+ */
6
+ export type DeleteRoomResult = { deleted: boolean, };
@@ -0,0 +1,7 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { RoomId } from "./RoomId";
3
+
4
+ /**
5
+ * Command to delete multiple entities by ID
6
+ */
7
+ export type DeleteRooms = { ids: Array<RoomId>, };
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { RoomId } from "./RoomId";
3
+
4
+ export type DeleteRoomsArgs = { ids: Array<RoomId>, };
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Result type for bulk Delete command
5
+ */
6
+ export type DeleteRoomsResult = { deletedCount: number, };
@@ -0,0 +1,7 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { ServerId } from "./ServerId";
3
+
4
+ /**
5
+ * Command to delete a single entity by ID
6
+ */
7
+ export type DeleteServer = { id: ServerId, };
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { ServerId } from "./ServerId";
3
+
4
+ export type DeleteServerArgs = { id: ServerId, };
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Result type for Delete command
5
+ */
6
+ export type DeleteServerResult = { deleted: boolean, };
@@ -0,0 +1,7 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { ServerId } from "./ServerId";
3
+
4
+ /**
5
+ * Command to delete multiple entities by ID
6
+ */
7
+ export type DeleteServers = { ids: Array<ServerId>, };
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { ServerId } from "./ServerId";
3
+
4
+ export type DeleteServersArgs = { ids: Array<ServerId>, };
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Result type for bulk Delete command
5
+ */
6
+ export type DeleteServersResult = { deletedCount: number, };
@@ -0,0 +1,7 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { SessionId } from "./SessionId";
3
+
4
+ /**
5
+ * Command to delete a single entity by ID
6
+ */
7
+ export type DeleteSession = { id: SessionId, };
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { SessionId } from "./SessionId";
3
+
4
+ export type DeleteSessionArgs = { id: SessionId, };
@@ -0,0 +1,7 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { SessionNicknameId } from "./SessionNicknameId";
3
+
4
+ /**
5
+ * Command to delete a single entity by ID
6
+ */
7
+ export type DeleteSessionNickname = { id: SessionNicknameId, };
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { SessionNicknameId } from "./SessionNicknameId";
3
+
4
+ export type DeleteSessionNicknameArgs = { id: SessionNicknameId, };
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Result type for Delete command
5
+ */
6
+ export type DeleteSessionNicknameResult = { deleted: boolean, };
@@ -0,0 +1,7 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { SessionNicknameId } from "./SessionNicknameId";
3
+
4
+ /**
5
+ * Command to delete multiple entities by ID
6
+ */
7
+ export type DeleteSessionNicknames = { ids: Array<SessionNicknameId>, };
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { SessionNicknameId } from "./SessionNicknameId";
3
+
4
+ export type DeleteSessionNicknamesArgs = { ids: Array<SessionNicknameId>, };
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Result type for bulk Delete command
5
+ */
6
+ export type DeleteSessionNicknamesResult = { deletedCount: number, };