@hydranium/protocol 1.0.0-next.12 → 1.0.0-next.127
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/README.md +35 -1
- package/lib/client/data-connection.d.ts +145 -0
- package/lib/client/data-connection.d.ts.map +1 -0
- package/lib/client/data-connection.js +205 -0
- package/lib/client/data-connection.js.map +1 -0
- package/lib/client/data-events.d.ts +13 -1
- package/lib/client/data-events.d.ts.map +1 -1
- package/lib/client/data-events.js +21 -0
- package/lib/client/data-events.js.map +1 -1
- package/lib/client/data-port.d.ts +17 -22
- package/lib/client/data-port.d.ts.map +1 -1
- package/lib/client/data-session.d.ts +301 -80
- package/lib/client/data-session.d.ts.map +1 -1
- package/lib/client/data-session.js +425 -107
- package/lib/client/data-session.js.map +1 -1
- package/lib/client/index.d.ts +13 -8
- package/lib/client/index.d.ts.map +1 -1
- package/lib/client/index.js +13 -8
- package/lib/client/index.js.map +1 -1
- package/lib/client/message-relay.d.ts +9 -3
- package/lib/client/message-relay.d.ts.map +1 -1
- package/lib/client/message-relay.js +11 -5
- package/lib/client/message-relay.js.map +1 -1
- package/lib/client/post-message-transport.d.ts +64 -3
- package/lib/client/post-message-transport.d.ts.map +1 -1
- package/lib/client/post-message-transport.js +175 -1
- package/lib/client/post-message-transport.js.map +1 -1
- package/lib/client/rpc-connection.d.ts +149 -0
- package/lib/client/rpc-connection.d.ts.map +1 -0
- package/lib/client/rpc-connection.js +179 -0
- package/lib/client/rpc-connection.js.map +1 -0
- package/lib/client-ids.d.ts +41 -0
- package/lib/client-ids.d.ts.map +1 -0
- package/lib/client-ids.js +44 -0
- package/lib/client-ids.js.map +1 -0
- package/lib/clock.d.ts +38 -0
- package/lib/clock.d.ts.map +1 -1
- package/lib/clock.js +36 -1
- package/lib/clock.js.map +1 -1
- package/lib/data/data-protocol-methods.d.ts +4 -4
- package/lib/data/data-protocol-methods.d.ts.map +1 -1
- package/lib/data/data-protocol-methods.js +11 -1
- package/lib/data/data-protocol-methods.js.map +1 -1
- package/lib/data/data-server-protocol.d.ts +110 -31
- package/lib/data/data-server-protocol.d.ts.map +1 -1
- package/lib/data/events.d.ts +84 -3
- package/lib/data/events.d.ts.map +1 -1
- package/lib/data/requests.d.ts +67 -11
- package/lib/data/requests.d.ts.map +1 -1
- package/lib/errors.d.ts +102 -12
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +136 -18
- package/lib/errors.js.map +1 -1
- package/lib/glsp-save-model-actions.d.ts +50 -0
- package/lib/glsp-save-model-actions.d.ts.map +1 -0
- package/lib/glsp-save-model-actions.js +28 -0
- package/lib/glsp-save-model-actions.js.map +1 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +6 -0
- package/lib/index.js.map +1 -1
- package/lib/latency-collector.d.ts +8 -4
- package/lib/latency-collector.d.ts.map +1 -1
- package/lib/latency-collector.js.map +1 -1
- package/lib/messages/index.d.ts +29 -0
- package/lib/messages/index.d.ts.map +1 -0
- package/lib/messages/index.js +56 -0
- package/lib/messages/index.js.map +1 -0
- package/lib/messages/primitives.d.ts +188 -0
- package/lib/messages/primitives.d.ts.map +1 -0
- package/lib/messages/primitives.js +161 -0
- package/lib/messages/primitives.js.map +1 -0
- package/lib/model-server.d.ts +44 -13
- package/lib/model-server.d.ts.map +1 -1
- package/lib/model-server.js +4 -2
- package/lib/model-server.js.map +1 -1
- package/lib/model-service/based-on.d.ts +57 -0
- package/lib/model-service/based-on.d.ts.map +1 -0
- package/lib/model-service/based-on.js +37 -0
- package/lib/model-service/based-on.js.map +1 -0
- package/lib/model-service/index.d.ts +1 -1
- package/lib/model-service/index.d.ts.map +1 -1
- package/lib/model-service/index.js +4 -5
- package/lib/model-service/index.js.map +1 -1
- package/lib/patch-merge.d.ts +28 -27
- package/lib/patch-merge.d.ts.map +1 -1
- package/lib/patch-merge.js +66 -22
- package/lib/patch-merge.js.map +1 -1
- package/lib/profile-session.d.ts +8 -4
- package/lib/profile-session.d.ts.map +1 -1
- package/lib/profile-session.js.map +1 -1
- package/lib/rpc/bind-rpc-methods.d.ts +29 -3
- package/lib/rpc/bind-rpc-methods.d.ts.map +1 -1
- package/lib/rpc/bind-rpc-methods.js +22 -3
- package/lib/rpc/bind-rpc-methods.js.map +1 -1
- package/lib/rpc/create-rpc-proxy.d.ts +7 -0
- package/lib/rpc/create-rpc-proxy.d.ts.map +1 -1
- package/lib/rpc/create-rpc-proxy.js +6 -1
- package/lib/rpc/create-rpc-proxy.js.map +1 -1
- package/lib/testing/catalogue-audit.d.ts +80 -0
- package/lib/testing/catalogue-audit.d.ts.map +1 -0
- package/lib/testing/catalogue-audit.js +94 -0
- package/lib/testing/catalogue-audit.js.map +1 -0
- package/lib/testing/data-doubles.d.ts +13 -12
- package/lib/testing/data-doubles.d.ts.map +1 -1
- package/lib/testing/data-doubles.js +19 -5
- package/lib/testing/data-doubles.js.map +1 -1
- package/lib/testing/fake-clock.d.ts +9 -1
- package/lib/testing/fake-clock.d.ts.map +1 -1
- package/lib/testing/fake-clock.js +54 -45
- package/lib/testing/fake-clock.js.map +1 -1
- package/lib/testing/index.d.ts +1 -0
- package/lib/testing/index.d.ts.map +1 -1
- package/lib/testing/index.js +4 -1
- package/lib/testing/index.js.map +1 -1
- package/lib/testing/node/index.d.ts +1 -0
- package/lib/testing/node/index.d.ts.map +1 -1
- package/lib/testing/node/index.js +2 -2
- package/lib/testing/node/index.js.map +1 -1
- package/lib/testing/node/message-port-pair.d.ts +25 -0
- package/lib/testing/node/message-port-pair.d.ts.map +1 -0
- package/lib/testing/node/message-port-pair.js +26 -0
- package/lib/testing/node/message-port-pair.js.map +1 -0
- package/lib/transfer-diagnostic.d.ts +33 -0
- package/lib/transfer-diagnostic.d.ts.map +1 -1
- package/lib/transfer-diagnostic.js +23 -0
- package/lib/transfer-diagnostic.js.map +1 -1
- package/lib/transfer-document.d.ts +22 -5
- package/lib/transfer-document.d.ts.map +1 -1
- package/lib/transfer-document.js +14 -1
- package/lib/transfer-document.js.map +1 -1
- package/package.json +11 -2
- package/src/client/data-connection.ts +282 -0
- package/src/client/data-events.ts +33 -1
- package/src/client/data-port.ts +17 -23
- package/src/client/data-session.ts +549 -126
- package/src/client/index.ts +13 -8
- package/src/client/message-relay.ts +29 -7
- package/src/client/post-message-transport.ts +219 -4
- package/src/client/rpc-connection.ts +244 -0
- package/src/client-ids.ts +45 -0
- package/src/clock.ts +56 -0
- package/src/data/data-protocol-methods.ts +11 -3
- package/src/data/data-server-protocol.ts +131 -31
- package/src/data/events.ts +90 -3
- package/src/data/requests.ts +71 -11
- package/src/errors.ts +154 -20
- package/src/glsp-save-model-actions.ts +59 -0
- package/src/index.ts +6 -0
- package/src/latency-collector.ts +8 -3
- package/src/messages/index.ts +36 -0
- package/src/messages/primitives.ts +271 -0
- package/src/model-server.ts +47 -18
- package/src/model-service/based-on.ts +63 -0
- package/src/model-service/index.ts +4 -5
- package/src/patch-merge.ts +90 -37
- package/src/profile-session.ts +9 -4
- package/src/rpc/bind-rpc-methods.ts +49 -4
- package/src/rpc/create-rpc-proxy.ts +14 -1
- package/src/testing/catalogue-audit.ts +111 -0
- package/src/testing/data-doubles.ts +42 -17
- package/src/testing/fake-clock.ts +62 -47
- package/src/testing/index.ts +4 -1
- package/src/testing/node/index.ts +2 -2
- package/src/testing/node/message-port-pair.ts +40 -0
- package/src/transfer-diagnostic.ts +40 -0
- package/src/transfer-document.ts +29 -6
- package/lib/model-service/args.d.ts +0 -64
- package/lib/model-service/args.d.ts.map +0 -1
- package/lib/model-service/args.js +0 -11
- package/lib/model-service/args.js.map +0 -1
- package/src/model-service/args.ts +0 -67
package/lib/errors.js
CHANGED
|
@@ -8,9 +8,22 @@
|
|
|
8
8
|
* SPDX-License-Identifier: MIT
|
|
9
9
|
********************************************************************************/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.ConflictError = exports.CONFLICT_ERROR_CODE = void 0;
|
|
11
|
+
exports.DuplicateClientIdError = exports.DocumentNotOpenError = exports.SessionClosedError = exports.SESSION_CLOSED = exports.DUPLICATE_CLIENT_ID_ERROR_CODE = exports.DOCUMENT_NOT_OPEN_ERROR_CODE = exports.SESSION_CLOSED_ERROR_CODE = exports.ConflictError = exports.CONFLICT_ERROR_CODE = exports.STALE_BASED_UPDATE = void 0;
|
|
12
|
+
exports.isSessionClosedError = isSessionClosedError;
|
|
13
|
+
exports.isDocumentNotOpenError = isDocumentNotOpenError;
|
|
14
|
+
exports.isDuplicateClientIdError = isDuplicateClientIdError;
|
|
12
15
|
exports.isConflictError = isConflictError;
|
|
13
16
|
const vscode_jsonrpc_1 = require("vscode-jsonrpc");
|
|
17
|
+
const primitives_1 = require("./messages/primitives");
|
|
18
|
+
/**
|
|
19
|
+
* The catalogue declaration behind {@link ConflictError}'s sentence.
|
|
20
|
+
*
|
|
21
|
+
* Its English must keep containing {@link CONFLICT_ERROR_MESSAGE_MARKER}: the
|
|
22
|
+
* marker is tier 3 of {@link isConflictError}'s ladder, and it matches on text.
|
|
23
|
+
* That tier only ever works untranslated, which is why it is the last resort
|
|
24
|
+
* behind the numeric code rather than the primary check.
|
|
25
|
+
*/
|
|
26
|
+
exports.STALE_BASED_UPDATE = (0, primitives_1.defineMessage)('hydranium/protocol/stale-based-update', 'Stale-based update for {uri}: expected v{expectedVersion}, server is at v{actualVersion}');
|
|
14
27
|
/**
|
|
15
28
|
* Application-specific JSON-RPC error code for {@link ConflictError}.
|
|
16
29
|
* Outside the reserved range (-32768 .. -32000) per JSON-RPC 2.0.
|
|
@@ -22,7 +35,7 @@ const vscode_jsonrpc_1 = require("vscode-jsonrpc");
|
|
|
22
35
|
*/
|
|
23
36
|
exports.CONFLICT_ERROR_CODE = 1001;
|
|
24
37
|
/**
|
|
25
|
-
* Thrown by `
|
|
38
|
+
* Thrown by a client session's `update` / `save` when the caller-
|
|
26
39
|
* supplied based-on version no longer matches the server's current text-
|
|
27
40
|
* document version for the same URI — i.e. the snapshot the caller
|
|
28
41
|
* authored against has been superseded by an intervening edit.
|
|
@@ -35,11 +48,9 @@ exports.CONFLICT_ERROR_CODE = 1001;
|
|
|
35
48
|
* `err.data` (the instance is reconstructed as a generic
|
|
36
49
|
* `ResponseError`, so subclass getters / fields do not survive).
|
|
37
50
|
*
|
|
38
|
-
* Detection is
|
|
39
|
-
*
|
|
40
|
-
* no gating.
|
|
41
|
-
* posture, so headless / CLI / batch tooling with no meaningful based-on
|
|
42
|
-
* version can opt out explicitly.
|
|
51
|
+
* Detection is driven by the required `basedOn` field of every write
|
|
52
|
+
* request; a caller with no meaningful based-on version passes
|
|
53
|
+
* `'anything'` and gets no gating.
|
|
43
54
|
*
|
|
44
55
|
* Three reasonable adopter recovery strategies:
|
|
45
56
|
*
|
|
@@ -53,31 +64,138 @@ exports.CONFLICT_ERROR_CODE = 1001;
|
|
|
53
64
|
* No auto-retry or auto-merge ships by default.
|
|
54
65
|
*/
|
|
55
66
|
class ConflictError extends vscode_jsonrpc_1.ResponseError {
|
|
56
|
-
constructor(uri,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
});
|
|
67
|
+
constructor(uri, expectedVersion, actualVersion) {
|
|
68
|
+
const params = { uri, expectedVersion, actualVersion };
|
|
69
|
+
// The identity rides alongside the typed payload rather than replacing
|
|
70
|
+
// it: `isConflictError`'s name check is surface an adopter may bind, so
|
|
71
|
+
// adding the identity widens the payload rather than reshaping it.
|
|
72
|
+
super(exports.CONFLICT_ERROR_CODE, exports.STALE_BASED_UPDATE.format(params), { ...params, ...(0, primitives_1.messageData)(exports.STALE_BASED_UPDATE, params) });
|
|
62
73
|
this.name = 'ConflictError';
|
|
63
74
|
// ResponseError's constructor calls `Object.setPrototypeOf(this,
|
|
64
75
|
// ResponseError.prototype)` to keep its own prototype chain intact across
|
|
65
76
|
// transpilation targets; that resets us to ResponseError, hiding the
|
|
66
77
|
// ConflictError-specific getters. Restore the prototype here so
|
|
67
|
-
// `err.uri` / `.
|
|
78
|
+
// `err.uri` / `.expectedVersion` / `.actualVersion` resolve through this
|
|
79
|
+
// class.
|
|
68
80
|
Object.setPrototypeOf(this, ConflictError.prototype);
|
|
69
81
|
}
|
|
70
82
|
get uri() {
|
|
71
83
|
return this.data.uri;
|
|
72
84
|
}
|
|
73
|
-
|
|
74
|
-
|
|
85
|
+
/**
|
|
86
|
+
* The based-on version the caller authored against.
|
|
87
|
+
*
|
|
88
|
+
* Must not be renamed to `expected`, nor its sibling to `actual`: a test
|
|
89
|
+
* reporter reads an error carrying both as an assertion failure, and
|
|
90
|
+
* vitest's formatter then ASSIGNS to them, which throws on an accessor and
|
|
91
|
+
* replaces the real failure with a `TypeError`.
|
|
92
|
+
*/
|
|
93
|
+
get expectedVersion() {
|
|
94
|
+
return this.data.expectedVersion;
|
|
75
95
|
}
|
|
76
|
-
|
|
77
|
-
|
|
96
|
+
/** The server's version at the time of the throw. Not `actual` — see {@link expectedVersion}. */
|
|
97
|
+
get actualVersion() {
|
|
98
|
+
return this.data.actualVersion;
|
|
78
99
|
}
|
|
79
100
|
}
|
|
80
101
|
exports.ConflictError = ConflictError;
|
|
102
|
+
/**
|
|
103
|
+
* JSON-RPC code for {@link SessionClosedError}, beside {@link CONFLICT_ERROR_CODE}
|
|
104
|
+
* and for the same reason: the code survives reconstruction, the class does not.
|
|
105
|
+
*/
|
|
106
|
+
exports.SESSION_CLOSED_ERROR_CODE = 1004;
|
|
107
|
+
/** JSON-RPC code for {@link DocumentNotOpenError}. */
|
|
108
|
+
exports.DOCUMENT_NOT_OPEN_ERROR_CODE = 1005;
|
|
109
|
+
/** JSON-RPC code for {@link DuplicateClientIdError}. */
|
|
110
|
+
exports.DUPLICATE_CLIENT_ID_ERROR_CODE = 1006;
|
|
111
|
+
/**
|
|
112
|
+
* The catalogue declaration behind {@link SessionClosedError}'s default
|
|
113
|
+
* sentence. It names no client id: the sentence can reach an end user, and the
|
|
114
|
+
* id stays in {@link SessionClosedErrorData.clientId} for whoever needs it.
|
|
115
|
+
*/
|
|
116
|
+
exports.SESSION_CLOSED = (0, primitives_1.defineMessage)('hydranium/protocol/session-closed', 'The editing session has ended.');
|
|
117
|
+
/**
|
|
118
|
+
* Thrown by every call on a client session after it ended, and by an open that
|
|
119
|
+
* was still in flight when its session ended: by the server for its sessions,
|
|
120
|
+
* and by a client-side `DataSession` once disposed, so a caller handles both
|
|
121
|
+
* the same way. A caller recognises it with {@link isSessionClosedError}, never
|
|
122
|
+
* by its sentence.
|
|
123
|
+
*/
|
|
124
|
+
class SessionClosedError extends vscode_jsonrpc_1.ResponseError {
|
|
125
|
+
/**
|
|
126
|
+
* `message` replaces the default English, for a caller that knows more than
|
|
127
|
+
* that the session is gone. The identity stays {@link SESSION_CLOSED}'s, so a
|
|
128
|
+
* translating renderer renders the catalogue sentence in its place.
|
|
129
|
+
*/
|
|
130
|
+
constructor(clientId, message = exports.SESSION_CLOSED.format()) {
|
|
131
|
+
super(exports.SESSION_CLOSED_ERROR_CODE, message, { clientId, ...(0, primitives_1.messageData)(exports.SESSION_CLOSED) });
|
|
132
|
+
this.name = 'SessionClosedError';
|
|
133
|
+
// `ResponseError` resets the prototype to its own; see `ConflictError`.
|
|
134
|
+
Object.setPrototypeOf(this, SessionClosedError.prototype);
|
|
135
|
+
}
|
|
136
|
+
get clientId() {
|
|
137
|
+
return this.data.clientId;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
exports.SessionClosedError = SessionClosedError;
|
|
141
|
+
/**
|
|
142
|
+
* Thrown when a client session writes a document it does not have open.
|
|
143
|
+
*
|
|
144
|
+
* A session writes only what it has open, so this is the answer both to a write
|
|
145
|
+
* that never opened and to one whose open was closed underneath it — by the
|
|
146
|
+
* session itself, or by the document being deleted.
|
|
147
|
+
*/
|
|
148
|
+
class DocumentNotOpenError extends vscode_jsonrpc_1.ResponseError {
|
|
149
|
+
constructor(uri, clientId) {
|
|
150
|
+
super(exports.DOCUMENT_NOT_OPEN_ERROR_CODE, `Document ${uri} is not open in client session ${clientId}`, { uri, clientId });
|
|
151
|
+
this.name = 'DocumentNotOpenError';
|
|
152
|
+
Object.setPrototypeOf(this, DocumentNotOpenError.prototype);
|
|
153
|
+
}
|
|
154
|
+
get uri() {
|
|
155
|
+
return this.data.uri;
|
|
156
|
+
}
|
|
157
|
+
get clientId() {
|
|
158
|
+
return this.data.clientId;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
exports.DocumentNotOpenError = DocumentNotOpenError;
|
|
162
|
+
/**
|
|
163
|
+
* Thrown when a client session is started under an id that is already live in
|
|
164
|
+
* the process, or that the framework reserves for itself.
|
|
165
|
+
*
|
|
166
|
+
* Ids are unique process-wide because the id is also the author label on every
|
|
167
|
+
* version and the key a client recognises its own echoes by; two participants
|
|
168
|
+
* sharing one would each take the other's writes for their own.
|
|
169
|
+
*/
|
|
170
|
+
class DuplicateClientIdError extends vscode_jsonrpc_1.ResponseError {
|
|
171
|
+
constructor(clientId) {
|
|
172
|
+
super(exports.DUPLICATE_CLIENT_ID_ERROR_CODE, `Client id ${clientId} is already in use`, { clientId });
|
|
173
|
+
this.name = 'DuplicateClientIdError';
|
|
174
|
+
Object.setPrototypeOf(this, DuplicateClientIdError.prototype);
|
|
175
|
+
}
|
|
176
|
+
get clientId() {
|
|
177
|
+
return this.data.clientId;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
exports.DuplicateClientIdError = DuplicateClientIdError;
|
|
181
|
+
/**
|
|
182
|
+
* Whether `error` is a {@link SessionClosedError}: by name in-process, by code
|
|
183
|
+
* after an RPC, where it arrives as a plain `ResponseError`.
|
|
184
|
+
*/
|
|
185
|
+
function isSessionClosedError(error) {
|
|
186
|
+
return hasErrorIdentity(error, 'SessionClosedError', exports.SESSION_CLOSED_ERROR_CODE);
|
|
187
|
+
}
|
|
188
|
+
/** Whether `error` is a {@link DocumentNotOpenError}; see {@link isSessionClosedError}. */
|
|
189
|
+
function isDocumentNotOpenError(error) {
|
|
190
|
+
return hasErrorIdentity(error, 'DocumentNotOpenError', exports.DOCUMENT_NOT_OPEN_ERROR_CODE);
|
|
191
|
+
}
|
|
192
|
+
/** Whether `error` is a {@link DuplicateClientIdError}; see {@link isSessionClosedError}. */
|
|
193
|
+
function isDuplicateClientIdError(error) {
|
|
194
|
+
return hasErrorIdentity(error, 'DuplicateClientIdError', exports.DUPLICATE_CLIENT_ID_ERROR_CODE);
|
|
195
|
+
}
|
|
196
|
+
function hasErrorIdentity(error, name, code) {
|
|
197
|
+
return error instanceof Error && (error.name === name || error.code === code);
|
|
198
|
+
}
|
|
81
199
|
/** Marker substring present in every {@link ConflictError} message, used by
|
|
82
200
|
* {@link isConflictError} as a fallback when a transport re-wraps the error
|
|
83
201
|
* and drops the JSON-RPC code. */
|
package/lib/errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":";AAAA;;;;;;;kFAOkF;;;
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":";AAAA;;;;;;;kFAOkF;;;AA2MlF,oDAEC;AAGD,wDAEC;AAGD,4DAEC;AA0BD,0CAYC;AA3PD,mDAA+C;AAC/C,sDAA8F;AAE9F;;;;;;;GAOG;AACU,QAAA,kBAAkB,GAAG,IAAA,0BAAa,EAC5C,uCAAuC,EACvC,0FAA0F,CAC5F,CAAC;AAEF;;;;;;;;GAQG;AACU,QAAA,mBAAmB,GAAG,IAAI,CAAC;AAcxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,aAAc,SAAQ,8BAAgC;IAChE,YAAY,GAAW,EAAE,eAAuB,EAAE,aAAqB;QACpE,MAAM,MAAM,GAAG,EAAE,GAAG,EAAE,eAAe,EAAE,aAAa,EAAE,CAAC;QACvD,uEAAuE;QACvE,wEAAwE;QACxE,mEAAmE;QACnE,KAAK,CAAC,2BAAmB,EAAE,0BAAkB,CAAC,MAA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,CAAC,KAAK,EAAE,sBAAsB,EAAE,oCAA4B,CAAC,CAAC;AACxF,CAAC;AAED,6FAA6F;AAC7F,SAAgB,wBAAwB,CAAC,KAAc;IACpD,OAAO,gBAAgB,CAAC,KAAK,EAAE,wBAAwB,EAAE,sCAA8B,CAAC,CAAC;AAC5F,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAc,EAAE,IAAY,EAAE,IAAY;IACjE,OAAO,KAAK,YAAY,KAAK,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,IAAK,KAAyC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;AACtH,CAAC;AAED;;mCAEmC;AACnC,MAAM,6BAA6B,GAAG,yBAAyB,CAAC;AAEhE;;;;;;;;;;;;;;GAcG;AACH,SAAgB,eAAe,CAAC,KAAc;IAC3C,IAAI,CAAC,CAAC,KAAK,YAAY,KAAK,CAAC,EAAE,CAAC;QAC7B,OAAO,KAAK,CAAC;IAChB,CAAC;IACD,IAAI,KAAK,CAAC,IAAI,KAAK,eAAe,EAAE,CAAC;QAClC,OAAO,IAAI,CAAC;IACf,CAAC;IACD,MAAM,IAAI,GAAI,KAAyC,CAAC,IAAI,CAAC;IAC7D,IAAI,IAAI,KAAK,2BAAmB,EAAE,CAAC;QAChC,OAAO,IAAI,CAAC;IACf,CAAC;IACD,OAAO,OAAO,KAAK,CAAC,OAAO,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,6BAA6B,CAAC,CAAC;AACrG,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2026 CrossBreeze, EclipseSource and others.
|
|
3
|
+
*
|
|
4
|
+
* This program and the accompanying materials are made available under the
|
|
5
|
+
* terms of the MIT License which is available in the project root.
|
|
6
|
+
*
|
|
7
|
+
* SPDX-License-Identifier: MIT
|
|
8
|
+
********************************************************************************/
|
|
9
|
+
/**
|
|
10
|
+
* A save of a diagram's model that the server answers, with a
|
|
11
|
+
* {@link ModelSavedAction} once the save has finished or a GLSP
|
|
12
|
+
* `RejectAction` when it fails.
|
|
13
|
+
*
|
|
14
|
+
* It carries what GLSP's `SaveModelAction` carries, and the server saves it the
|
|
15
|
+
* same way. GLSP's `SaveModelAction` is not answered: the server's only
|
|
16
|
+
* reply is a dirty-state change, which the client drops when the dirty flag
|
|
17
|
+
* does not change, so a client cannot tell which save an answer belongs to or
|
|
18
|
+
* whether a save failed.
|
|
19
|
+
*/
|
|
20
|
+
export interface RequestSaveModelAction {
|
|
21
|
+
kind: typeof RequestSaveModelAction.KIND;
|
|
22
|
+
/** The id the response echoes as its `responseId`. Empty until the dispatcher assigns one. */
|
|
23
|
+
requestId: string;
|
|
24
|
+
/** How long the receiver waits for its own handler, in milliseconds. */
|
|
25
|
+
timeout?: number;
|
|
26
|
+
/** The file to save to, as in GLSP's `SaveModelAction`; absent saves to the diagram's source. */
|
|
27
|
+
fileUri?: string;
|
|
28
|
+
/** GLSP's typing marker for the response. Never set. */
|
|
29
|
+
readonly _?: ModelSavedAction;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace RequestSaveModelAction {
|
|
32
|
+
const KIND = "hydraniumRequestSaveModel";
|
|
33
|
+
function create(options?: {
|
|
34
|
+
fileUri?: string;
|
|
35
|
+
requestId?: string;
|
|
36
|
+
}): RequestSaveModelAction;
|
|
37
|
+
}
|
|
38
|
+
/** The server's answer to a {@link RequestSaveModelAction} that saved. */
|
|
39
|
+
export interface ModelSavedAction {
|
|
40
|
+
kind: typeof ModelSavedAction.KIND;
|
|
41
|
+
/** The `requestId` of the save this answers. The server's dispatcher sets it. */
|
|
42
|
+
responseId: string;
|
|
43
|
+
}
|
|
44
|
+
export declare namespace ModelSavedAction {
|
|
45
|
+
const KIND = "hydraniumModelSaved";
|
|
46
|
+
function create(options?: {
|
|
47
|
+
responseId?: string;
|
|
48
|
+
}): ModelSavedAction;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=glsp-save-model-actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"glsp-save-model-actions.d.ts","sourceRoot":"","sources":["../src/glsp-save-model-actions.ts"],"names":[],"mappings":"AAAA;;;;;;;kFAOkF;AAOlF;;;;;;;;;;GAUG;AACH,MAAM,WAAW,sBAAsB;IACpC,IAAI,EAAE,OAAO,sBAAsB,CAAC,IAAI,CAAC;IACzC,8FAA8F;IAC9F,SAAS,EAAE,MAAM,CAAC;IAClB,wEAAwE;IACxE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iGAAiG;IACjG,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wDAAwD;IACxD,QAAQ,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC;CAChC;AAED,yBAAiB,sBAAsB,CAAC;IAC9B,MAAM,IAAI,8BAA8B,CAAC;IAEhD,SAAgB,MAAM,CAAC,OAAO,GAAE;QAAE,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAO,GAAG,sBAAsB,CAErG;CACH;AAED,0EAA0E;AAC1E,MAAM,WAAW,gBAAgB;IAC9B,IAAI,EAAE,OAAO,gBAAgB,CAAC,IAAI,CAAC;IACnC,iFAAiF;IACjF,UAAU,EAAE,MAAM,CAAC;CACrB;AAED,yBAAiB,gBAAgB,CAAC;IACxB,MAAM,IAAI,wBAAwB,CAAC;IAE1C,SAAgB,MAAM,CAAC,OAAO,GAAE;QAAE,UAAU,CAAC,EAAE,MAAM,CAAA;KAAO,GAAG,gBAAgB,CAE9E;CACH"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/********************************************************************************
|
|
3
|
+
* Copyright (c) 2026 CrossBreeze, EclipseSource and others.
|
|
4
|
+
*
|
|
5
|
+
* This program and the accompanying materials are made available under the
|
|
6
|
+
* terms of the MIT License which is available in the project root.
|
|
7
|
+
*
|
|
8
|
+
* SPDX-License-Identifier: MIT
|
|
9
|
+
********************************************************************************/
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.ModelSavedAction = exports.RequestSaveModelAction = void 0;
|
|
12
|
+
var RequestSaveModelAction;
|
|
13
|
+
(function (RequestSaveModelAction) {
|
|
14
|
+
RequestSaveModelAction.KIND = 'hydraniumRequestSaveModel';
|
|
15
|
+
function create(options = {}) {
|
|
16
|
+
return { kind: RequestSaveModelAction.KIND, requestId: '', ...options };
|
|
17
|
+
}
|
|
18
|
+
RequestSaveModelAction.create = create;
|
|
19
|
+
})(RequestSaveModelAction || (exports.RequestSaveModelAction = RequestSaveModelAction = {}));
|
|
20
|
+
var ModelSavedAction;
|
|
21
|
+
(function (ModelSavedAction) {
|
|
22
|
+
ModelSavedAction.KIND = 'hydraniumModelSaved';
|
|
23
|
+
function create(options = {}) {
|
|
24
|
+
return { kind: ModelSavedAction.KIND, responseId: '', ...options };
|
|
25
|
+
}
|
|
26
|
+
ModelSavedAction.create = create;
|
|
27
|
+
})(ModelSavedAction || (exports.ModelSavedAction = ModelSavedAction = {}));
|
|
28
|
+
//# sourceMappingURL=glsp-save-model-actions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"glsp-save-model-actions.js","sourceRoot":"","sources":["../src/glsp-save-model-actions.ts"],"names":[],"mappings":";AAAA;;;;;;;kFAOkF;;;AA8BlF,IAAiB,sBAAsB,CAMtC;AAND,WAAiB,sBAAsB;IACvB,2BAAI,GAAG,2BAA2B,CAAC;IAEhD,SAAgB,MAAM,CAAC,UAAoD,EAAE;QAC1E,OAAO,EAAE,IAAI,EAAE,uBAAA,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,OAAO,EAAE,CAAC;IACpD,CAAC;IAFe,6BAAM,SAErB,CAAA;AACJ,CAAC,EANgB,sBAAsB,sCAAtB,sBAAsB,QAMtC;AASD,IAAiB,gBAAgB,CAMhC;AAND,WAAiB,gBAAgB;IACjB,qBAAI,GAAG,qBAAqB,CAAC;IAE1C,SAAgB,MAAM,CAAC,UAAmC,EAAE;QACzD,OAAO,EAAE,IAAI,EAAE,iBAAA,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,GAAG,OAAO,EAAE,CAAC;IACrD,CAAC;IAFe,uBAAM,SAErB,CAAA;AACJ,CAAC,EANgB,gBAAgB,gCAAhB,gBAAgB,QAMhC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -8,14 +8,17 @@
|
|
|
8
8
|
********************************************************************************/
|
|
9
9
|
export * from './abstract-logger';
|
|
10
10
|
export * from './client';
|
|
11
|
+
export * from './client-ids';
|
|
11
12
|
export * from './clock';
|
|
12
13
|
export * from './data';
|
|
13
14
|
export * from './browser-runtime';
|
|
14
15
|
export * from './debouncer';
|
|
16
|
+
export * from './glsp-save-model-actions';
|
|
15
17
|
export * from './errors';
|
|
16
18
|
export * from './host-diagnostics';
|
|
17
19
|
export * from './logger';
|
|
18
20
|
export * from './latency-collector';
|
|
21
|
+
export * from './messages/primitives';
|
|
19
22
|
export * from './patch-merge';
|
|
20
23
|
export * from './noop-logger';
|
|
21
24
|
export * from './observable-value';
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;kFAOkF;AASlF,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;kFAOkF;AASlF,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AAIpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -30,14 +30,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
30
30
|
// every production bundle that imports the root.
|
|
31
31
|
__exportStar(require("./abstract-logger"), exports);
|
|
32
32
|
__exportStar(require("./client"), exports);
|
|
33
|
+
__exportStar(require("./client-ids"), exports);
|
|
33
34
|
__exportStar(require("./clock"), exports);
|
|
34
35
|
__exportStar(require("./data"), exports);
|
|
35
36
|
__exportStar(require("./browser-runtime"), exports);
|
|
36
37
|
__exportStar(require("./debouncer"), exports);
|
|
38
|
+
__exportStar(require("./glsp-save-model-actions"), exports);
|
|
37
39
|
__exportStar(require("./errors"), exports);
|
|
38
40
|
__exportStar(require("./host-diagnostics"), exports);
|
|
39
41
|
__exportStar(require("./logger"), exports);
|
|
40
42
|
__exportStar(require("./latency-collector"), exports);
|
|
43
|
+
// The primitives only. The `./messages` subpath additionally enumerates this
|
|
44
|
+
// package's own declarations, which the root barrel already re-exports through
|
|
45
|
+
// the modules that raise them.
|
|
46
|
+
__exportStar(require("./messages/primitives"), exports);
|
|
41
47
|
__exportStar(require("./patch-merge"), exports);
|
|
42
48
|
__exportStar(require("./noop-logger"), exports);
|
|
43
49
|
__exportStar(require("./observable-value"), exports);
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;kFAOkF;;;;;;;;;;;;;;;;AAElF,kFAAkF;AAClF,+EAA+E;AAC/E,8EAA8E;AAC9E,+EAA+E;AAC/E,4EAA4E;AAC5E,iDAAiD;AAEjD,oDAAkC;AAClC,2CAAyB;AACzB,0CAAwB;AACxB,yCAAuB;AACvB,oDAAkC;AAClC,8CAA4B;AAC5B,2CAAyB;AACzB,qDAAmC;AACnC,2CAAyB;AACzB,sDAAoC;AACpC,gDAA8B;AAC9B,gDAA8B;AAC9B,qDAAmC;AACnC,oDAAkC;AAClC,8CAA4B;AAC5B,2CAAyB;AACzB,wDAAsC;AACtC,qDAAmC;AACnC,kDAAgC;AAChC,sDAAoC;AACpC,iDAA+B;AAC/B,4CAA0B;AAC1B,wCAAsB;AACtB,wCAAsB;AACtB,yCAAuB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;kFAOkF;;;;;;;;;;;;;;;;AAElF,kFAAkF;AAClF,+EAA+E;AAC/E,8EAA8E;AAC9E,+EAA+E;AAC/E,4EAA4E;AAC5E,iDAAiD;AAEjD,oDAAkC;AAClC,2CAAyB;AACzB,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,oDAAkC;AAClC,8CAA4B;AAC5B,4DAA0C;AAC1C,2CAAyB;AACzB,qDAAmC;AACnC,2CAAyB;AACzB,sDAAoC;AACpC,6EAA6E;AAC7E,+EAA+E;AAC/E,+BAA+B;AAC/B,wDAAsC;AACtC,gDAA8B;AAC9B,gDAA8B;AAC9B,qDAAmC;AACnC,oDAAkC;AAClC,8CAA4B;AAC5B,2CAAyB;AACzB,wDAAsC;AACtC,qDAAmC;AACnC,kDAAgC;AAChC,sDAAoC;AACpC,iDAA+B;AAC/B,4CAA0B;AAC1B,wCAAsB;AACtB,wCAAsB;AACtB,yCAAuB"}
|
|
@@ -76,8 +76,13 @@ export type LatencyRetention = {
|
|
|
76
76
|
readonly kind: 'ring-buffer';
|
|
77
77
|
readonly maxSamplesPerMethod: number;
|
|
78
78
|
};
|
|
79
|
-
/**
|
|
80
|
-
|
|
79
|
+
/**
|
|
80
|
+
* Per-method state: retained samples (bounded in ring-buffer mode) plus lifetime
|
|
81
|
+
* totals. The mutable tally behind {@link MethodLatency}, which is the derived
|
|
82
|
+
* report row. Held by the `protected` {@link LatencyCollector.durations}, so a
|
|
83
|
+
* subclass recording its own samples has to name it.
|
|
84
|
+
*/
|
|
85
|
+
export interface MethodLatencyTally {
|
|
81
86
|
/** Retained durations for percentile estimation; capped in ring-buffer mode. Order is irrelevant (report sorts). */
|
|
82
87
|
readonly samples: number[];
|
|
83
88
|
/** Next slot to overwrite once the ring buffer is full (ring-buffer mode only). */
|
|
@@ -100,7 +105,7 @@ interface MethodAccumulator {
|
|
|
100
105
|
export declare class LatencyCollector {
|
|
101
106
|
protected readonly clock: Clock;
|
|
102
107
|
protected readonly retention: LatencyRetention;
|
|
103
|
-
protected readonly durations: Map<string,
|
|
108
|
+
protected readonly durations: Map<string, MethodLatencyTally>;
|
|
104
109
|
protected window: Stopwatch;
|
|
105
110
|
constructor(clock?: Clock, retention?: LatencyRetention);
|
|
106
111
|
/** Record a pre-measured call duration (ms) for `method`. */
|
|
@@ -122,5 +127,4 @@ export declare class LatencyCollector {
|
|
|
122
127
|
* command channel — the latency counterpart to `formatProfileReport`.
|
|
123
128
|
*/
|
|
124
129
|
export declare function formatLatencyReport(report: LatencyReport, label?: string): string;
|
|
125
|
-
export {};
|
|
126
130
|
//# sourceMappingURL=latency-collector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"latency-collector.d.ts","sourceRoot":"","sources":["../src/latency-collector.ts"],"names":[],"mappings":"AAAA;;;;;;;kFAOkF;AAalF,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,SAAS,EAAe,MAAM,YAAY,CAAC;AAErE,oEAAoE;AACpE,MAAM,WAAW,aAAa;IAC3B;;;;;OAKG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,0EAA0E;IAC1E,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;CAClB;AAED,2FAA2F;AAC3F,MAAM,WAAW,aAAa;IAC3B;;;;;OAKG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,EAAE,aAAa,EAAE,CAAC;CAC3B;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAA;CAAE,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;IAAC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtI
|
|
1
|
+
{"version":3,"file":"latency-collector.d.ts","sourceRoot":"","sources":["../src/latency-collector.ts"],"names":[],"mappings":"AAAA;;;;;;;kFAOkF;AAalF,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,SAAS,EAAe,MAAM,YAAY,CAAC;AAErE,oEAAoE;AACpE,MAAM,WAAW,aAAa;IAC3B;;;;;OAKG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,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;OAIG;IACH,IAAI,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAC3D,IAAI,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC;IA2BzC,oHAAoH;IACpH,MAAM,IAAI,aAAa;IAiBvB,+CAA+C;IAC/C,KAAK,IAAI,IAAI;CAIf;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,SAAoB,GAAG,MAAM,CAa5F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"latency-collector.js","sourceRoot":"","sources":["../src/latency-collector.ts"],"names":[],"mappings":";AAAA;;;;;;;kFAOkF;;;
|
|
1
|
+
{"version":3,"file":"latency-collector.js","sourceRoot":"","sources":["../src/latency-collector.ts"],"names":[],"mappings":";AAAA;;;;;;;kFAOkF;;;AAuNlF,kDAaC;AAlOD;;;;;;;;;GASG;AAEH,yCAAqE;AAwFrE,wEAAwE;AACxE,SAAS,UAAU,CAAC,eAAkC,EAAE,OAAe;IACpE,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAChC,OAAO,CAAC,CAAC;IACZ,CAAC;IACD,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,OAAO,GAAG,GAAG,CAAC,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;IACjE,OAAO,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AACvF,CAAC;AAED;;;;;;;GAOG;AACH,MAAa,gBAAgB;IAKJ;IACA;IALH,SAAS,GAAG,IAAI,GAAG,EAA8B,CAAC;IAC3D,MAA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K,CAAC,aAAa,CAAC,OAAO,CAAC,MAAM;YAClG,OAAO,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,WAAW,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,WAAW,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,IAAI,CACnI,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC3B,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2026 CrossBreeze, EclipseSource and others.
|
|
3
|
+
*
|
|
4
|
+
* This program and the accompanying materials are made available under the
|
|
5
|
+
* terms of the MIT License which is available in the project root.
|
|
6
|
+
*
|
|
7
|
+
* SPDX-License-Identifier: MIT
|
|
8
|
+
********************************************************************************/
|
|
9
|
+
/**
|
|
10
|
+
* The message-externalization mechanism, plus every user-facing message
|
|
11
|
+
* `@hydranium/protocol` itself raises.
|
|
12
|
+
*
|
|
13
|
+
* Declarations stay beside their call sites and are re-exported here, so this is
|
|
14
|
+
* enumeration rather than centralization: a code's package segment has to name
|
|
15
|
+
* the package that raises it, and a shared module would make that segment a lie
|
|
16
|
+
* for every message in it. Adding a message therefore touches the file that
|
|
17
|
+
* raises it and this list, and nothing else.
|
|
18
|
+
*
|
|
19
|
+
* A barrel makes every code and English default public API, so renaming a code
|
|
20
|
+
* is a breaking change. That was already true — an adopter's catalogue keys on
|
|
21
|
+
* these codes either way — but it is now in the type system rather than implicit.
|
|
22
|
+
* The English is a fallback, not a contract; the code is the contract.
|
|
23
|
+
*/
|
|
24
|
+
export * from './primitives';
|
|
25
|
+
export { SESSION_CLOSED, STALE_BASED_UPDATE } from '../errors';
|
|
26
|
+
export { DATA_SERVER_CONNECT_FAILED, DATA_SERVER_NOT_READY } from '../client/rpc-connection';
|
|
27
|
+
export { DATA_SESSION_RESTORE_FAILED, DATA_SESSION_UNSAVED_LOST } from '../client/data-session';
|
|
28
|
+
export { RELAY_REPLAY_FAILED, RELAY_TRANSPORT_OPEN_FAILED, RELAY_TRANSPORT_READ_FAILED, RELAY_TRANSPORT_WRITE_FAILED } from '../client/message-relay';
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/messages/index.ts"],"names":[],"mappings":"AAAA;;;;;;;kFAOkF;AAElF;;;;;;;;;;;;;;GAcG;AAEH,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAC7F,OAAO,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAChG,OAAO,EACJ,mBAAmB,EACnB,2BAA2B,EAC3B,2BAA2B,EAC3B,4BAA4B,EAC9B,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/********************************************************************************
|
|
3
|
+
* Copyright (c) 2026 CrossBreeze, EclipseSource and others.
|
|
4
|
+
*
|
|
5
|
+
* This program and the accompanying materials are made available under the
|
|
6
|
+
* terms of the MIT License which is available in the project root.
|
|
7
|
+
*
|
|
8
|
+
* SPDX-License-Identifier: MIT
|
|
9
|
+
********************************************************************************/
|
|
10
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
13
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
14
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
15
|
+
}
|
|
16
|
+
Object.defineProperty(o, k2, desc);
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
22
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.RELAY_TRANSPORT_WRITE_FAILED = exports.RELAY_TRANSPORT_READ_FAILED = exports.RELAY_TRANSPORT_OPEN_FAILED = exports.RELAY_REPLAY_FAILED = exports.DATA_SESSION_UNSAVED_LOST = exports.DATA_SESSION_RESTORE_FAILED = exports.DATA_SERVER_NOT_READY = exports.DATA_SERVER_CONNECT_FAILED = exports.STALE_BASED_UPDATE = exports.SESSION_CLOSED = void 0;
|
|
26
|
+
/**
|
|
27
|
+
* The message-externalization mechanism, plus every user-facing message
|
|
28
|
+
* `@hydranium/protocol` itself raises.
|
|
29
|
+
*
|
|
30
|
+
* Declarations stay beside their call sites and are re-exported here, so this is
|
|
31
|
+
* enumeration rather than centralization: a code's package segment has to name
|
|
32
|
+
* the package that raises it, and a shared module would make that segment a lie
|
|
33
|
+
* for every message in it. Adding a message therefore touches the file that
|
|
34
|
+
* raises it and this list, and nothing else.
|
|
35
|
+
*
|
|
36
|
+
* A barrel makes every code and English default public API, so renaming a code
|
|
37
|
+
* is a breaking change. That was already true — an adopter's catalogue keys on
|
|
38
|
+
* these codes either way — but it is now in the type system rather than implicit.
|
|
39
|
+
* The English is a fallback, not a contract; the code is the contract.
|
|
40
|
+
*/
|
|
41
|
+
__exportStar(require("./primitives"), exports);
|
|
42
|
+
var errors_1 = require("../errors");
|
|
43
|
+
Object.defineProperty(exports, "SESSION_CLOSED", { enumerable: true, get: function () { return errors_1.SESSION_CLOSED; } });
|
|
44
|
+
Object.defineProperty(exports, "STALE_BASED_UPDATE", { enumerable: true, get: function () { return errors_1.STALE_BASED_UPDATE; } });
|
|
45
|
+
var rpc_connection_1 = require("../client/rpc-connection");
|
|
46
|
+
Object.defineProperty(exports, "DATA_SERVER_CONNECT_FAILED", { enumerable: true, get: function () { return rpc_connection_1.DATA_SERVER_CONNECT_FAILED; } });
|
|
47
|
+
Object.defineProperty(exports, "DATA_SERVER_NOT_READY", { enumerable: true, get: function () { return rpc_connection_1.DATA_SERVER_NOT_READY; } });
|
|
48
|
+
var data_session_1 = require("../client/data-session");
|
|
49
|
+
Object.defineProperty(exports, "DATA_SESSION_RESTORE_FAILED", { enumerable: true, get: function () { return data_session_1.DATA_SESSION_RESTORE_FAILED; } });
|
|
50
|
+
Object.defineProperty(exports, "DATA_SESSION_UNSAVED_LOST", { enumerable: true, get: function () { return data_session_1.DATA_SESSION_UNSAVED_LOST; } });
|
|
51
|
+
var message_relay_1 = require("../client/message-relay");
|
|
52
|
+
Object.defineProperty(exports, "RELAY_REPLAY_FAILED", { enumerable: true, get: function () { return message_relay_1.RELAY_REPLAY_FAILED; } });
|
|
53
|
+
Object.defineProperty(exports, "RELAY_TRANSPORT_OPEN_FAILED", { enumerable: true, get: function () { return message_relay_1.RELAY_TRANSPORT_OPEN_FAILED; } });
|
|
54
|
+
Object.defineProperty(exports, "RELAY_TRANSPORT_READ_FAILED", { enumerable: true, get: function () { return message_relay_1.RELAY_TRANSPORT_READ_FAILED; } });
|
|
55
|
+
Object.defineProperty(exports, "RELAY_TRANSPORT_WRITE_FAILED", { enumerable: true, get: function () { return message_relay_1.RELAY_TRANSPORT_WRITE_FAILED; } });
|
|
56
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/messages/index.ts"],"names":[],"mappings":";AAAA;;;;;;;kFAOkF;;;;;;;;;;;;;;;;;AAElF;;;;;;;;;;;;;;GAcG;AAEH,+CAA6B;AAE7B,oCAA+D;AAAtD,wGAAA,cAAc,OAAA;AAAE,4GAAA,kBAAkB,OAAA;AAC3C,2DAA6F;AAApF,4HAAA,0BAA0B,OAAA;AAAE,uHAAA,qBAAqB,OAAA;AAC1D,uDAAgG;AAAvF,2HAAA,2BAA2B,OAAA;AAAE,yHAAA,yBAAyB,OAAA;AAC/D,yDAKiC;AAJ9B,oHAAA,mBAAmB,OAAA;AACnB,4HAAA,2BAA2B,OAAA;AAC3B,4HAAA,2BAA2B,OAAA;AAC3B,6HAAA,4BAA4B,OAAA"}
|