@telorun/editor-protocol 0.3.0 → 0.3.1-rc.0
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 +6 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ version's engine produces every diagnostic and language feature, and the host
|
|
|
7
7
|
supplies everything the engine cannot do itself: files, imports, the hub.
|
|
8
8
|
|
|
9
9
|
This README is the specification. The TypeScript types in `src/index.ts` and
|
|
10
|
-
[`editor-protocol-schema.json`](
|
|
10
|
+
[`editor-protocol-schema.json`](https://github.com/telorun/telo/blob/v0.132.0-rc.0/packages/editor-protocol/editor-protocol-schema.json) (for hosts written
|
|
11
11
|
in other languages) are its projections; the package has no dependencies.
|
|
12
12
|
|
|
13
13
|
## The engine
|
|
@@ -45,9 +45,11 @@ The host sends a standard `initialize`. The engine answers:
|
|
|
45
45
|
was published as. A build made while that release is still pending — a
|
|
46
46
|
development checkout, a main-branch deployment — reports `X+unreleased`: it
|
|
47
47
|
implements `X` but is not the `X` that will be published, so it never shares
|
|
48
|
-
an identity with a published engine.
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
an identity with a published engine. An engine built as a release candidate
|
|
49
|
+
reports `X.Y.Z-rc.N`; hosts read its precedence as `X.Y.Z`. A host orders
|
|
50
|
+
identities and tests them against `requires: telo:` intervals by semver
|
|
51
|
+
precedence (build metadata ignored), and tells engines apart by the whole
|
|
52
|
+
string.
|
|
51
53
|
- `capabilities.experimental.telo.protocol: 1` — the generation it speaks.
|
|
52
54
|
- `capabilities.experimental.telo.viewModel: true` — the engine serves the
|
|
53
55
|
[engine-served requests](#engine-served-requests-host--engine) and sends
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telorun/editor-protocol",
|
|
3
|
-
"version": "0.3.0",
|
|
3
|
+
"version": "0.3.1-rc.0",
|
|
4
4
|
"description": "The Telo editor protocol: the contract between an editor host and a telo language-server engine — the telo/* requests, the telo/requirements notification and the protocol generation.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"telo",
|