@agent-marshal/marshal-prime-agent 0.49.5 → 0.49.9
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/CountAllMessageReads.ts +1 -1
- package/src/generated/CountAllMessages.ts +1 -1
- package/src/generated/CountAllRoomMembers.ts +1 -1
- package/src/generated/CountAllRooms.ts +1 -1
- package/src/generated/CountAllSessionNicknames.ts +1 -1
- package/src/generated/CountAllSessions.ts +1 -1
- package/src/generated/CountMessageReads.ts +2 -2
- package/src/generated/CountMessages.ts +2 -2
- package/src/generated/CountRoomMembers.ts +2 -2
- package/src/generated/CountRooms.ts +2 -2
- package/src/generated/CountSessionNicknames.ts +2 -2
- package/src/generated/CountSessions.ts +2 -2
- package/src/generated/DeleteMessage.ts +0 -3
- package/src/generated/DeleteMessageRead.ts +0 -3
- package/src/generated/DeleteMessageReadResult.ts +0 -3
- package/src/generated/DeleteMessageReads.ts +0 -3
- package/src/generated/DeleteMessageReadsResult.ts +0 -3
- package/src/generated/DeleteMessageResult.ts +0 -3
- package/src/generated/DeleteMessages.ts +0 -3
- package/src/generated/DeleteMessagesResult.ts +0 -3
- package/src/generated/DeleteRoom.ts +0 -3
- package/src/generated/DeleteRoomMember.ts +0 -3
- package/src/generated/DeleteRoomMemberResult.ts +0 -3
- package/src/generated/DeleteRoomMembers.ts +0 -3
- package/src/generated/DeleteRoomMembersResult.ts +0 -3
- package/src/generated/DeleteRoomResult.ts +0 -3
- package/src/generated/DeleteRooms.ts +0 -3
- package/src/generated/DeleteRoomsResult.ts +0 -3
- package/src/generated/DeleteSession.ts +0 -3
- package/src/generated/DeleteSessionNickname.ts +0 -3
- package/src/generated/DeleteSessionNicknameResult.ts +0 -3
- package/src/generated/DeleteSessionNicknames.ts +0 -3
- package/src/generated/DeleteSessionNicknamesResult.ts +0 -3
- package/src/generated/DeleteSessionResult.ts +0 -3
- package/src/generated/DeleteSessions.ts +0 -3
- package/src/generated/DeleteSessionsResult.ts +0 -3
- package/src/generated/GetAllMessageReads.ts +1 -1
- package/src/generated/GetAllMessages.ts +1 -1
- package/src/generated/GetAllRoomMembers.ts +1 -1
- package/src/generated/GetAllRooms.ts +1 -1
- package/src/generated/GetAllSessionNicknames.ts +1 -1
- package/src/generated/GetAllSessions.ts +1 -1
- package/src/generated/GetMessageReadsByQuery.ts +2 -2
- package/src/generated/GetMessagesByQuery.ts +2 -2
- package/src/generated/GetRoomMembersByQuery.ts +2 -2
- package/src/generated/GetRoomsByQuery.ts +2 -2
- package/src/generated/GetSessionNicknamesByQuery.ts +2 -2
- package/src/generated/GetSessionsByQuery.ts +2 -2
- package/src/generated/{GetAllServers.ts → IdFilter.ts} +1 -1
- package/src/generated/MessageQuery.ts +9 -0
- package/src/generated/MessageReadQuery.ts +8 -0
- package/src/generated/{CommandError.ts → NumericFilter.ts} +1 -1
- package/src/generated/RoomMemberQuery.ts +8 -0
- package/src/generated/RoomQuery.ts +8 -0
- package/src/generated/SessionNicknameQuery.ts +6 -0
- package/src/generated/SessionQuery.ts +9 -0
- package/src/generated/SetRoomDescription.ts +1 -1
- package/src/generated/SetRoomDescriptionArgs.ts +1 -1
- package/src/generated/SetSessionActivity.ts +1 -1
- package/src/generated/SetSessionActivityArgs.ts +1 -1
- package/src/generated/SetSessionCurrentTask.ts +1 -1
- package/src/generated/SetSessionCurrentTaskArgs.ts +1 -1
- package/src/generated/SetSessionGitBranch.ts +1 -1
- package/src/generated/SetSessionGitBranchArgs.ts +1 -1
- package/src/generated/SetSessionLastActivityAt.ts +1 -1
- package/src/generated/SetSessionLastActivityAtArgs.ts +1 -1
- package/src/generated/SetSessionLastTool.ts +1 -1
- package/src/generated/SetSessionLastToolArgs.ts +1 -1
- package/src/generated/SetSessionLastToolAt.ts +1 -1
- package/src/generated/SetSessionLastToolAtArgs.ts +1 -1
- package/src/generated/SetSessionSessionName.ts +1 -1
- package/src/generated/SetSessionSessionNameArgs.ts +1 -1
- package/src/generated/StringFilter.ts +3 -0
- package/src/generated/{ServerId.ts → Unfilterable.ts} +1 -1
- package/src/generated/index.ts +287 -372
- package/src/generated/serde_json/JsonValue.ts +1 -1
- package/src/generated/CancelSubscription.ts +0 -6
- package/src/generated/ChildEntities.ts +0 -6
- package/src/generated/ChildEntitiesAllTime.ts +0 -6
- package/src/generated/ClearClientWindbackTime.ts +0 -7
- package/src/generated/ClearClientWindbackTimeArgs.ts +0 -3
- package/src/generated/Client.ts +0 -14
- package/src/generated/ClientCount.ts +0 -3
- package/src/generated/ClientStatus.ts +0 -7
- package/src/generated/ClientStatusOutput.ts +0 -3
- package/src/generated/CommandResponse.ts +0 -4
- package/src/generated/CountAllClients.ts +0 -3
- package/src/generated/CountAllServers.ts +0 -3
- package/src/generated/CountClients.ts +0 -4
- package/src/generated/CountServers.ts +0 -4
- package/src/generated/DeleteClient.ts +0 -7
- package/src/generated/DeleteClientArgs.ts +0 -4
- package/src/generated/DeleteClientResult.ts +0 -6
- package/src/generated/DeleteClients.ts +0 -7
- package/src/generated/DeleteClientsArgs.ts +0 -4
- package/src/generated/DeleteClientsResult.ts +0 -6
- package/src/generated/DeleteServer.ts +0 -7
- package/src/generated/DeleteServerArgs.ts +0 -4
- package/src/generated/DeleteServerResult.ts +0 -6
- package/src/generated/DeleteServers.ts +0 -7
- package/src/generated/DeleteServersArgs.ts +0 -4
- package/src/generated/DeleteServersResult.ts +0 -6
- package/src/generated/EntitySearch.ts +0 -21
- package/src/generated/EntitySearchResult.ts +0 -10
- package/src/generated/EntitySnapshotDifference.ts +0 -6
- package/src/generated/EntitySnapshotDifferenceData.ts +0 -7
- package/src/generated/EntityTreeExport.ts +0 -27
- package/src/generated/EventContainer.ts +0 -7
- package/src/generated/EventOptions.ts +0 -11
- package/src/generated/EventsForTransaction.ts +0 -6
- package/src/generated/ExportEntityTree.ts +0 -24
- package/src/generated/ExportedEntity.ts +0 -15
- package/src/generated/FullChildEntities.ts +0 -6
- package/src/generated/GetAllClients.ts +0 -3
- package/src/generated/GetClientById.ts +0 -4
- package/src/generated/GetClientsByIds.ts +0 -4
- package/src/generated/GetClientsByQuery.ts +0 -4
- package/src/generated/GetConnectedServer.ts +0 -3
- package/src/generated/GetItemsByTypeAndIds.ts +0 -14
- package/src/generated/GetPeerServers.ts +0 -3
- package/src/generated/GetPersistHealth.ts +0 -8
- package/src/generated/GetServerById.ts +0 -4
- package/src/generated/GetServersByIds.ts +0 -4
- package/src/generated/GetServersByQuery.ts +0 -4
- package/src/generated/ImportItems.ts +0 -19
- package/src/generated/ImportItemsArgs.ts +0 -13
- package/src/generated/ItemStub.ts +0 -7
- package/src/generated/LogLevel.ts +0 -6
- package/src/generated/Loggers.ts +0 -6
- package/src/generated/MEvent.ts +0 -5
- package/src/generated/MEventType.ts +0 -3
- package/src/generated/MykoMessage.ts +0 -19
- package/src/generated/PartialClient.ts +0 -14
- package/src/generated/PartialMessage.ts +0 -60
- package/src/generated/PartialMessageRead.ts +0 -10
- package/src/generated/PartialRoom.ts +0 -23
- package/src/generated/PartialRoomMember.ts +0 -13
- package/src/generated/PartialServer.ts +0 -4
- package/src/generated/PartialSession.ts +0 -130
- package/src/generated/PartialSessionNickname.ts +0 -9
- package/src/generated/PeerAlive.ts +0 -7
- package/src/generated/PersistHealthStatus.ts +0 -34
- package/src/generated/PingData.ts +0 -14
- package/src/generated/QueryError.ts +0 -3
- package/src/generated/QueryWindow.ts +0 -3
- package/src/generated/QueryWindowUpdate.ts +0 -4
- package/src/generated/ReportError.ts +0 -3
- package/src/generated/ReportResponse.ts +0 -4
- package/src/generated/SearchServer.ts +0 -8
- package/src/generated/SearchServerResult.ts +0 -4
- package/src/generated/Server.ts +0 -4
- package/src/generated/ServerCount.ts +0 -3
- package/src/generated/ServerLogLevel.ts +0 -6
- package/src/generated/ServerStats.ts +0 -27
- package/src/generated/ServerStatsOutput.ts +0 -20
- package/src/generated/SetClientWindbackTime.ts +0 -11
- package/src/generated/SetClientWindbackTimeArgs.ts +0 -7
- package/src/generated/SetLogLevel.ts +0 -7
- package/src/generated/SetLogLevelArgs.ts +0 -4
- package/src/generated/StartProfile.ts +0 -10
- package/src/generated/StartProfileArgs.ts +0 -7
- package/src/generated/StopProfile.ts +0 -6
- package/src/generated/StopProfileArgs.ts +0 -3
- package/src/generated/StopProfileOutput.ts +0 -14
- package/src/generated/ViewError.ts +0 -3
- package/src/generated/ViewWindowUpdate.ts +0 -4
- package/src/generated/WindbackStatus.ts +0 -3
- package/src/generated/WindbackStatusOutput.ts +0 -11
- package/src/generated/WrappedCommand.ts +0 -4
- package/src/generated/WrappedItem.ts +0 -7
- package/src/generated/WrappedQuery.ts +0 -5
- package/src/generated/WrappedReport.ts +0 -4
- package/src/generated/WrappedView.ts +0 -5
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
2
|
|
|
3
|
-
export type JsonValue = number | string | boolean | Array<JsonValue> | { [key in string]
|
|
3
|
+
export type JsonValue = number | string | boolean | Array<JsonValue> | { [key in string]: JsonValue } | null;
|
|
@@ -1,6 +0,0 @@
|
|
|
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, };
|
|
@@ -1,7 +0,0 @@
|
|
|
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>;
|
package/src/generated/Client.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
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, };
|
|
@@ -1,7 +0,0 @@
|
|
|
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, };
|
|
@@ -1,7 +0,0 @@
|
|
|
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>, };
|
|
@@ -1,7 +0,0 @@
|
|
|
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>, };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Search for entities by full-text query.
|
|
5
|
-
*
|
|
6
|
-
* Returns matching entity IDs up to the specified limit.
|
|
7
|
-
* If the entity type is not indexed for search, returns an empty result.
|
|
8
|
-
*/
|
|
9
|
-
export type EntitySearch = {
|
|
10
|
-
/**
|
|
11
|
-
* Entity type to search (e.g., "Target", "Scene")
|
|
12
|
-
*/
|
|
13
|
-
entityType: string,
|
|
14
|
-
/**
|
|
15
|
-
* Search query string
|
|
16
|
-
*/
|
|
17
|
-
query: string,
|
|
18
|
-
/**
|
|
19
|
-
* Maximum number of results to return (default: 100)
|
|
20
|
-
*/
|
|
21
|
-
limit: number, };
|
|
@@ -1,10 +0,0 @@
|
|
|
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 of an entity search.
|
|
5
|
-
*/
|
|
6
|
-
export type EntitySearchResult = {
|
|
7
|
-
/**
|
|
8
|
-
* IDs of entities matching the search query
|
|
9
|
-
*/
|
|
10
|
-
ids: Array<string>, };
|
|
@@ -1,6 +0,0 @@
|
|
|
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 computes the difference between entity snapshots.
|
|
5
|
-
*/
|
|
6
|
-
export type EntitySnapshotDifference = { parentType: string, parentId: string, };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
-
import type { ItemStub } from "./ItemStub";
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Data returned by EntitySnapshotDifference report.
|
|
6
|
-
*/
|
|
7
|
-
export type EntitySnapshotDifferenceData = { changed: Array<ItemStub>, added: Array<ItemStub>, removed: Array<ItemStub>, };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
-
import type { ExportedEntity } from "./ExportedEntity";
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* The complete tree export containing all entities reachable from the root.
|
|
6
|
-
*/
|
|
7
|
-
export type EntityTreeExport = {
|
|
8
|
-
/**
|
|
9
|
-
* Export format version.
|
|
10
|
-
*/
|
|
11
|
-
version: number,
|
|
12
|
-
/**
|
|
13
|
-
* Entity type of the root (e.g., "Project").
|
|
14
|
-
*/
|
|
15
|
-
rootType: string,
|
|
16
|
-
/**
|
|
17
|
-
* ID of the root entity.
|
|
18
|
-
*/
|
|
19
|
-
rootId: string,
|
|
20
|
-
/**
|
|
21
|
-
* ISO 8601 timestamp of when the export was created.
|
|
22
|
-
*/
|
|
23
|
-
exportedAt: string,
|
|
24
|
-
/**
|
|
25
|
-
* All entities in the tree, flattened.
|
|
26
|
-
*/
|
|
27
|
-
entities: Array<ExportedEntity>, };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
-
import type { MEvent } from "./MEvent";
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Container for an event with associated metadata.
|
|
6
|
-
*/
|
|
7
|
-
export type EventContainer = { id: string, event: MEvent, };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Options that can be attached to an event
|
|
5
|
-
*/
|
|
6
|
-
export type EventOptions = {
|
|
7
|
-
/**
|
|
8
|
-
* When true, relationship cascades are skipped for this event.
|
|
9
|
-
* Used to prevent infinite loops during cascade processing.
|
|
10
|
-
*/
|
|
11
|
-
preventRelationshipUpdates: boolean, };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Export the full entity tree rooted at a given entity.
|
|
5
|
-
*
|
|
6
|
-
* Performs a BFS walk over the relationship graph, collecting every
|
|
7
|
-
* reachable descendant. Respects `exclude_from_tree` on `BelongsTo`
|
|
8
|
-
* relations and follows `EnsureFor` on a single-axis basis to prevent
|
|
9
|
-
* Cartesian explosion.
|
|
10
|
-
*/
|
|
11
|
-
export type ExportEntityTree = {
|
|
12
|
-
/**
|
|
13
|
-
* Entity type of the root (e.g., "Project").
|
|
14
|
-
*/
|
|
15
|
-
rootType: string,
|
|
16
|
-
/**
|
|
17
|
-
* ID of the root entity.
|
|
18
|
-
*/
|
|
19
|
-
rootId: string,
|
|
20
|
-
/**
|
|
21
|
-
* ISO 8601 timestamp — when set, replays events up to this time
|
|
22
|
-
* into a temporary store and exports from that instead of the live store.
|
|
23
|
-
*/
|
|
24
|
-
asOf?: string | null, };
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
/**
|
|
5
|
-
* A single exported entity within the tree.
|
|
6
|
-
*/
|
|
7
|
-
export type ExportedEntity = {
|
|
8
|
-
/**
|
|
9
|
-
* The entity type name (e.g., "Scene", "Binding").
|
|
10
|
-
*/
|
|
11
|
-
entityType: string,
|
|
12
|
-
/**
|
|
13
|
-
* The full serialized entity data.
|
|
14
|
-
*/
|
|
15
|
-
data: JsonValue, };
|
|
@@ -1,14 +0,0 @@
|
|
|
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 items by type and IDs.
|
|
5
|
-
*/
|
|
6
|
-
export type GetItemsByTypeAndIds = {
|
|
7
|
-
/**
|
|
8
|
-
* The entity type name (e.g., "Scene", "Target")
|
|
9
|
-
*/
|
|
10
|
-
type: string,
|
|
11
|
-
/**
|
|
12
|
-
* List of entity IDs to fetch
|
|
13
|
-
*/
|
|
14
|
-
ids: Array<string>, };
|
|
@@ -1,8 +0,0 @@
|
|
|
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 returns the current health of the persist subsystem.
|
|
5
|
-
* Polls every 500ms and deduplicates, so subscribers only receive updates
|
|
6
|
-
* when values actually change.
|
|
7
|
-
*/
|
|
8
|
-
export type GetPersistHealth = Record<string, never>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
-
import type { WrappedItem } from "./WrappedItem";
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Command to import items into the system as SET events, and optionally
|
|
6
|
-
* delete items as DEL events. Returns the total number of events applied.
|
|
7
|
-
*
|
|
8
|
-
* Used by the entity tree import/export system to apply diffs.
|
|
9
|
-
*/
|
|
10
|
-
export type ImportItems = {
|
|
11
|
-
/**
|
|
12
|
-
* Items to SET (add or update).
|
|
13
|
-
*/
|
|
14
|
-
items: Array<WrappedItem>,
|
|
15
|
-
/**
|
|
16
|
-
* Items to DEL (remove). Only the shallowest removed entities should be
|
|
17
|
-
* included — the relationship manager cascades deletions to children.
|
|
18
|
-
*/
|
|
19
|
-
deleteItems: Array<WrappedItem>, };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
-
import type { WrappedItem } from "./WrappedItem";
|
|
3
|
-
|
|
4
|
-
export type ImportItemsArgs = {
|
|
5
|
-
/**
|
|
6
|
-
* Items to SET (add or update).
|
|
7
|
-
*/
|
|
8
|
-
items: Array<WrappedItem>,
|
|
9
|
-
/**
|
|
10
|
-
* Items to DEL (remove). Only the shallowest removed entities should be
|
|
11
|
-
* included — the relationship manager cascades deletions to children.
|
|
12
|
-
*/
|
|
13
|
-
deleteItems: Array<WrappedItem>, };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Stub representation of an entity for tree traversal.
|
|
5
|
-
* Contains minimal identifying information without full entity data.
|
|
6
|
-
*/
|
|
7
|
-
export type ItemStub = { id: string, itemType: string, name: string | null, };
|
package/src/generated/Loggers.ts
DELETED
package/src/generated/MEvent.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
-
import type { MEventType } from "./MEventType";
|
|
3
|
-
import type { JsonValue } from "./serde_json/JsonValue";
|
|
4
|
-
|
|
5
|
-
export type MEvent = { item: JsonValue, changeType: MEventType, itemType: string, createdAt: string, tx: string, sourceId: string | null, };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
-
import type { CancelSubscription } from "./CancelSubscription";
|
|
3
|
-
import type { CommandError } from "./CommandError";
|
|
4
|
-
import type { CommandResponse } from "./CommandResponse";
|
|
5
|
-
import type { MEvent } from "./MEvent";
|
|
6
|
-
import type { PingData } from "./PingData";
|
|
7
|
-
import type { QueryError } from "./QueryError";
|
|
8
|
-
import type { QueryWindowUpdate } from "./QueryWindowUpdate";
|
|
9
|
-
import type { ReportError } from "./ReportError";
|
|
10
|
-
import type { ReportResponse } from "./ReportResponse";
|
|
11
|
-
import type { ViewError } from "./ViewError";
|
|
12
|
-
import type { ViewWindowUpdate } from "./ViewWindowUpdate";
|
|
13
|
-
import type { WrappedCommand } from "./WrappedCommand";
|
|
14
|
-
import type { WrappedQuery } from "./WrappedQuery";
|
|
15
|
-
import type { WrappedReport } from "./WrappedReport";
|
|
16
|
-
import type { WrappedView } from "./WrappedView";
|
|
17
|
-
import type { JsonValue } from "./serde_json/JsonValue";
|
|
18
|
-
|
|
19
|
-
export type MykoMessage = { "event": "ws:m:query", "data": WrappedQuery } | { "event": "ws:m:query-response", "data": any } | { "event": "ws:m:query-cancel", "data": CancelSubscription } | { "event": "ws:m:query-window", "data": QueryWindowUpdate } | { "event": "ws:m:view", "data": WrappedView } | { "event": "ws:m:view-response", "data": any } | { "event": "ws:m:view-cancel", "data": CancelSubscription } | { "event": "ws:m:view-window", "data": ViewWindowUpdate } | { "event": "ws:m:report", "data": WrappedReport } | { "event": "ws:m:report-response", "data": ReportResponse } | { "event": "ws:m:report-cancel", "data": CancelSubscription } | { "event": "ws:m:report-error", "data": ReportError } | { "event": "ws:m:query-error", "data": QueryError } | { "event": "ws:m:view-error", "data": ViewError } | { "event": "ws:m:event", "data": MEvent } | { "event": "ws:m:event-batch", "data": Array<MEvent> } | { "event": "ws:m:command", "data": WrappedCommand } | { "event": "ws:m:command-response", "data": CommandResponse } | { "event": "ws:m:command-error", "data": CommandError } | { "event": "ws:m:ping", "data": PingData } | { "event": "ws:m:benchmark", "data": JsonValue };
|
|
@@ -1,14 +0,0 @@
|
|
|
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 PartialClient = { 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, };
|
|
@@ -1,60 +0,0 @@
|
|
|
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 { RoomId } from "./RoomId";
|
|
4
|
-
import type { SessionId } from "./SessionId";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* A message in the bus. Polymorphic recipient — either a peer session
|
|
8
|
-
* (direct send) or a room (broadcast). Exactly one of `to_session_id`
|
|
9
|
-
* and `to_room_id` is set; serde defaults to `None` on the absent
|
|
10
|
-
* side so legacy direct-only payloads from before broadcast existed
|
|
11
|
-
* replay clean.
|
|
12
|
-
*
|
|
13
|
-
* Read state lives on the `MessageRead` join entity, not here, so a
|
|
14
|
-
* broadcast can have per-recipient acks without ambiguity.
|
|
15
|
-
*
|
|
16
|
-
* No denormalized display fields. Sender/recipient labels are computed
|
|
17
|
-
* at read time from the live Session row (and degrade to the session_id
|
|
18
|
-
* itself when the row is gone). Snapshotting nicknames at send time was
|
|
19
|
-
* the source of consistency drift after rename/disconnect; with
|
|
20
|
-
* session_id as the sole stored identity there is nothing to drift.
|
|
21
|
-
*/
|
|
22
|
-
export type PartialMessage = {
|
|
23
|
-
/**
|
|
24
|
-
* Sender's session id. NOT a `belongs_to(Session)` cascade: a sent
|
|
25
|
-
* message must survive the sender exiting so the recipient can still
|
|
26
|
-
* pull it. In the pull-via-hook model the recipient reads on its
|
|
27
|
-
* next turn — which can be after the sender's SessionEnd — so
|
|
28
|
-
* cascading on the sender would silently delete unread messages in
|
|
29
|
-
* that window. The message's lifetime is governed by the *recipient*
|
|
30
|
-
* instead (the `to_session_id` / `to_room_id` cascades below).
|
|
31
|
-
*/
|
|
32
|
-
fromSessionId?: SessionId,
|
|
33
|
-
/**
|
|
34
|
-
* Direct recipient — set for 1:1 sends, `None` for broadcasts.
|
|
35
|
-
* Cascade-DELs the message when the recipient session is DEL'd.
|
|
36
|
-
*/
|
|
37
|
-
toSessionId?: SessionId | null,
|
|
38
|
-
/**
|
|
39
|
-
* Broadcast recipient — set for room sends, `None` for direct
|
|
40
|
-
* sends. Cascade-DELs when the room is DEL'd. (Auto-rooms like
|
|
41
|
-
* `everyone` and `host:*` are never DEL'd, so broadcasts to them
|
|
42
|
-
* effectively persist forever.)
|
|
43
|
-
*/
|
|
44
|
-
toRoomId?: RoomId | null,
|
|
45
|
-
/**
|
|
46
|
-
* When this direct message was addressed to a *human* — via their operator
|
|
47
|
-
* identity (the `op:`/`human:`/email tier of recipient resolution) rather
|
|
48
|
-
* than to one specific agent — this holds that operator string (e.g.
|
|
49
|
-
* `max@lucid.rocks`). The message is still routed to, and cascades on, the
|
|
50
|
-
* operator's most-active session via `to_session_id`; this marks it as
|
|
51
|
-
* human-addressed so the receiving agent surfaces it to its operator
|
|
52
|
-
* instead of treating it as ordinary peer chatter, and the UI console can
|
|
53
|
-
* toast it for that operator regardless of which agent it landed on. `None`
|
|
54
|
-
* for agent-to-agent mail. serde-default so pre-field payloads replay clean.
|
|
55
|
-
*/
|
|
56
|
-
toOperator?: string | null, body?: string,
|
|
57
|
-
/**
|
|
58
|
-
* Wall-clock millis when the daemon accepted the message.
|
|
59
|
-
*/
|
|
60
|
-
sentAt?: bigint, id?: MessageId, };
|
|
@@ -1,10 +0,0 @@
|
|
|
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 { MessageReadId } from "./MessageReadId";
|
|
4
|
-
import type { SessionId } from "./SessionId";
|
|
5
|
-
|
|
6
|
-
export type PartialMessageRead = { messageId?: MessageId, sessionId?: SessionId,
|
|
7
|
-
/**
|
|
8
|
-
* Wall-clock millis when this session marked the message read.
|
|
9
|
-
*/
|
|
10
|
-
readAt?: bigint, id?: MessageReadId, };
|