@north-light/crouter-api 0.3.185 → 0.3.187

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.
@@ -28,38 +28,6 @@ export interface BrokerWelcomeSnapshot<M = unknown> {
28
28
  export interface BrokerWelcomeFrame<M = unknown> {
29
29
  type: 'welcome';
30
30
  snapshot?: BrokerWelcomeSnapshot<M>;
31
- /** The last few id-bearing user-message dispatches from the broker's message
32
- * ledger, oldest first — so a reattaching follower can key the snapshot's
33
- * trailing user wakes by id (the id a sender minted via `message_id` on
34
- * `POST .../messages`) instead of discarding them heuristically. Live-process
35
- * memory only: a broker restart loses it. Absent on a broker pinned to an
36
- * older runtime generation. */
37
- recentUserMessages?: Array<{
38
- id: string;
39
- text: string;
40
- }>;
41
- }
42
- /**
43
- * The additive identity fields the broker sets on a relayed pi `queue_update`:
44
- * id arrays PARALLEL to pi's text arrays (`steeringIds[i]` identifies
45
- * `steering[i]`). Sender-minted when the send carried `message_id`,
46
- * broker-minted otherwise. Absent on a broker pinned to an older runtime
47
- * generation — consumers fall back to bare texts. Intersect with the pinned pi
48
- * `queue_update` event shape to read them typed.
49
- */
50
- export interface RelayedQueueUpdateIdentity {
51
- steeringIds?: string[];
52
- followUpIds?: string[];
53
- }
54
- /**
55
- * The additive identity field the broker sets on a relayed USER-role
56
- * `message_start`: the message's crouter id — the `message_id` its sender
57
- * minted, or a broker-minted one. Absent when the message carries none (an
58
- * engine-command expansion, a pre-ledger replay, an older broker). Intersect
59
- * with the pinned pi `message_start` event shape to read it typed.
60
- */
61
- export interface RelayedUserMessageStartIdentity {
62
- crtrMessageId?: string;
63
31
  }
64
32
  /**
65
33
  * The broker-control frames a relay consumer reads: `welcome` (catch-up snapshot)
@@ -26,11 +26,6 @@ export interface SendMessageRequest {
26
26
  * body only — rejected with fresh/reopen/situational_context/
27
27
  * output_schema or tier 'deferred'. Absent → durable inbox (unchanged). */
28
28
  delivery?: 'interactive';
29
- /** Sender-minted message identity for a `delivery:'interactive'` send. The
30
- * broker mirrors it through pi's queues and echoes it on the relayed user
31
- * `message_start` (`crtrMessageId`), so an optimistic sender (the gateway)
32
- * retires its pending entry by exact id. Ignored on the durable-inbox path. */
33
- message_id?: string;
34
29
  }
35
30
  /** Result of an immediate message send. */
36
31
  export interface MessageResultDTO {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@north-light/crouter-api",
3
- "version": "0.3.185",
3
+ "version": "0.3.187",
4
4
  "description": "Typed crtrd /v1 API contract — DTOs, route builders, the error contract, and the CrtrClient. Zero runtime dependencies.",
5
5
  "type": "module",
6
6
  "main": "./dist/api/index.js",