@telorun/editor-protocol 0.1.1 → 0.2.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 CHANGED
@@ -49,6 +49,10 @@ The host sends a standard `initialize`. The engine answers:
49
49
  against `requires: telo:` intervals by semver precedence (build metadata
50
50
  ignored), and tells engines apart by the whole string.
51
51
  - `capabilities.experimental.telo.protocol: 1` — the generation it speaks.
52
+ - `capabilities.experimental.telo.viewModel: true` — the engine serves the
53
+ [engine-served requests](#engine-served-requests-host--engine) and sends
54
+ [`telo/viewModelChanged`](#teloviewmodelchanged-engine--host-notification).
55
+ Absent, a host sends neither request.
52
56
  - The standard capabilities it serves: full text sync, completion, hover,
53
57
  definition, rename with `prepareRename`, signature help, `semanticTokens/full`
54
58
  (the legend is in the capabilities), `codeAction` (quick fixes),
@@ -149,6 +153,119 @@ analysed standalone:
149
153
  A range the analyzer refuses as malformed is reported as a diagnostic and does
150
154
  not appear here.
151
155
 
156
+ ## `telo/viewModelChanged` (engine → host notification)
157
+
158
+ `{ owner, revision }` — sent after each analysis of an owner module (beside
159
+ `telo/requirements`) and when the engine stops analysing an owner. `owner` is
160
+ the owner's canonical URI; `revision` is an integer that increases with every
161
+ send for that owner. A host holding a view model for `owner` at a lower
162
+ revision asks for it again; after an owner is dropped, `telo/viewModel` answers
163
+ `null`.
164
+
165
+ ## Engine-served requests (host → engine)
166
+
167
+ Sent by a host, served by an engine, and only to an engine advertising
168
+ `viewModel`. Each names an `owner` and is routed to the engine the host chose
169
+ for that owner, like the owner's documents.
170
+
171
+ | Method | Params | Result |
172
+ | --- | --- | --- |
173
+ | `telo/viewModel` | `{ owner }` | the owner's [view model](#the-view-model), or `null` when the engine is not analysing `owner`. |
174
+ | `telo/celCompletion` | `{ owner, resource: { kind, name }, path, tag, text, offset }` | LSP `CompletionItem[]` for a CEL value typed into a structured form field, which is not document text yet; `[]` when the engine is not analysing `owner`. |
175
+
176
+ `telo/celCompletion` answers what completion inside that value would offer were
177
+ it written in the document: `path` is the field's concrete path within the
178
+ resource (`routes[0].handler.inputs.x`), `tag` the tag it is written under
179
+ without its `!` (`cel`, `interpolate`), `text` the value without its tag and
180
+ `offset` the cursor's offset into `text`. A `textEdit` range is a
181
+ line/character range in `text`.
182
+
183
+ ## The view model
184
+
185
+ What a structured editor — a module canvas, a schema form, a reference picker —
186
+ reads about one owner module. It is computed from the same analysis the
187
+ engine's diagnostics come from, at the module's own telo version, and is plain
188
+ JSON. JSON Schemas in it are plain JSON objects.
189
+
190
+ - `owner`, `revision` — as in `telo/viewModelChanged`.
191
+ - `moduleGraph` — the owner module drawn as a graph (below), or `null`.
192
+ - `moduleRootSchema` — the schema of the owner's module document kind
193
+ (`Telo.Application` / `Telo.Library`), or `null`.
194
+ - `kindSpellings` — every `kind:` spelling in the owner's import closure
195
+ (template bodies' entries included), every constraint key of
196
+ `refConstraints` and every spelling in their `userFacing` lists, mapped to
197
+ the canonical `<module>.<Kind>` it resolves to in the owner's scope; a
198
+ spelling only a graph node carries (a body entry of another module's
199
+ template) maps to that node's `canonicalKind`. A spelling that resolves to
200
+ nothing is absent.
201
+ - `refConstraints` — per reference-slot constraint (each kind an `x-telo-ref`
202
+ in the closure's kinds names, as written and canonical, and each kind a port
203
+ or a row's dispatch site in the graphs names): `accepted`, the canonical kinds
204
+ that satisfy it, sorted; `userFacing`, the alias-form kinds a new resource
205
+ satisfying it could be declared with. A constraint that resolves to nothing
206
+ is absent.
207
+ - `contracts` — per canonical kind declaring an invocation contract,
208
+ `{ inputType?, outputType? }`, resolved along `extends`.
209
+ - `outputRefusals` — one entry per `x-telo-ref` in the closure's kinds that
210
+ declares an `outputType`: `kind` (the canonical kind declaring it),
211
+ `pointer` (the JSON Pointer of the `x-telo-ref` node within that kind's
212
+ `schema`, as the kind's author wrote it — a host finds a slot by where it
213
+ sits, never by comparing `outputType`s, which the engine reads after
214
+ migration), and `refusals`, mapping a resource name of the owner module to
215
+ why it cannot fill that slot by what it returns, one line per definite
216
+ mismatch. A resource absent from `refusals` can fill it. The verdict
217
+ `telo check` reports as `REFERENCE_OUTPUT_MISMATCH`.
218
+ - `templates` — per canonical kind with a template body in the closure:
219
+ `kindId`, `name`, `module?`, `capability?` (inherited along `extends`),
220
+ `definition` (the definition document as analysed, its `metadata.source` a
221
+ document URI), `graph`, the body drawn as a module, and `outputRefusals`,
222
+ shaped as the owner's but judging the body's entries, keyed by entry name —
223
+ a name in a body is never looked up among the owner's resources.
224
+ - `referenceSites` — every reference written in the owner module's resources
225
+ and in its module document (`targets:`, `imports:` and the rest): `source`
226
+ (`{ kind, name }` of the resource writing it, the module document as itself),
227
+ `path` (the slot's concrete path within it) and `target` (the name held, as
228
+ written — `Alias.name` across an import).
229
+ - `documents` — the canonical URI of each document the analysis read from an
230
+ open buffer, mapped to the LSP version it read (the `version` of the
231
+ `didOpen` / `didChange` that carried that text). A host that has since sent
232
+ a later version of any of them holds text this model was not computed from:
233
+ the model is **stale**, and a host acting on its paths (writing at a
234
+ `referenceSites` path, deciding a resource is unreferenced) waits for the
235
+ next revision. A document read from the host rather than a buffer is
236
+ absent.
237
+
238
+ A **module graph** is `{ root?, nodes, edges, regions, kinds }`:
239
+
240
+ - a **node** is a resource or the module root: `id`, `kind` (as written),
241
+ `name`, `capability?`, `canonicalKind?` (when `kind` is not already
242
+ canonical), `unknownKind?`, `ownership` (`root`, `named`, `inline`, `scoped`,
243
+ `imported`, `injected`, `enclosing`, `forwarded`), `owner?` / `ownerSite?`
244
+ (the node and site declaring an owned declaration), `module?`, `external?`,
245
+ `alias?`, `ports`, `rows`, `rowArrays` (`{ field, kind }` per array the kind
246
+ can hold rows in), `throws?` (`{ codes, unbounded }`) and `root?`;
247
+ - a **port** is a reference slot the kind declares, filled or not: `slot` (its
248
+ field-map path), `refs` (accepted constraints, canonical), `capabilities`,
249
+ `array`, `class`, `slots` (`{ path, target?, targetNode?, inline? }` per
250
+ occupancy), `addPath?` and `rowOwned?`;
251
+ - a **row** is an ordered entry of a node: `id`, `kind` (`step`, `entry`,
252
+ `target`, `inline`, `reference`, `export`), `name?`, `path`, `array`,
253
+ `index`, `depth`, `parent?`, `target?`, `targetNode?`, `inputs?`, `match?`,
254
+ `variant?`, `variantLabel?`, `predicate?`, `catches?`, `dispatch?`
255
+ (`{ path, refs, inline?, alternatives? }`, where the call is written and
256
+ what may fill it), `declares?` and `unknownKind?`;
257
+ - an **edge** is a reference site, classed: `id`, `from`, `to?`, `toName`,
258
+ `class` (`flow`, `holds`, `shape`, `data`), `use` (the slot's declared uses:
259
+ `schema`, `dependency`, `call`, `detached`, `trigger.inbound`,
260
+ `trigger.consumer`), `slot`, `path`, `row?`, `inputs?`, `boot?`, `scoped?`,
261
+ `read?` and `call?`;
262
+ - a **region** is a containment: `id`, `kind` (`inline`, `scope`, `zone`),
263
+ `owner`, `site`, `members`, and for a zone `attributes?` (attribute → the
264
+ author's reason) and `boundaries?` (`{ from, toName, escaping }`);
265
+ - a **kind** is a kind declaration in scope: `id` (canonical), `name`,
266
+ `module?`, `abstract`, `capability?`, `extendsId?`, `extendsName?`,
267
+ `instances` (node ids), `template`, `own` and `exported?`.
268
+
152
269
  ## `Diagnostic.data`
153
270
 
154
271
  Every diagnostic the engine publishes may carry:
package/dist/index.d.ts CHANGED
@@ -8,6 +8,9 @@ export interface TeloExperimentalCapabilities {
8
8
  export interface TeloProtocolCapability {
9
9
  /** The generation the engine speaks. */
10
10
  protocol: number;
11
+ /** The engine serves `telo/viewModel` and `telo/celCompletion` and sends
12
+ * `telo/viewModelChanged`. */
13
+ viewModel?: boolean;
11
14
  }
12
15
  /** The file a module directory is read as: `telo/read` of a directory answers
13
16
  * with this file inside it. */
@@ -17,8 +20,9 @@ export declare const TELO_MODULE_FILENAME = "telo.yaml";
17
20
  * release build, `X+unreleased` for a build made while that release is still
18
21
  * pending. */
19
22
  export declare const TELO_SERVER_NAME = "telo";
20
- /** Method names of the requests an engine sends and a host serves, and of the
21
- * notification an engine sends. */
23
+ /** Method names of every `telo/*` message: the requests an engine sends and a
24
+ * host serves, the requests a host sends and an engine serves, and the
25
+ * notifications an engine sends. */
22
26
  export declare const TeloMethod: {
23
27
  readonly read: "telo/read";
24
28
  readonly exists: "telo/exists";
@@ -26,6 +30,9 @@ export declare const TeloMethod: {
26
30
  readonly hubSearchRefs: "telo/hub/searchRefs";
27
31
  readonly hubListVersions: "telo/hub/listVersions";
28
32
  readonly requirements: "telo/requirements";
33
+ readonly viewModel: "telo/viewModel";
34
+ readonly celCompletion: "telo/celCompletion";
35
+ readonly viewModelChanged: "telo/viewModelChanged";
29
36
  };
30
37
  export type TeloMethod = (typeof TeloMethod)[keyof typeof TeloMethod];
31
38
  /** `telo/read`: the text at `uri`. `uri` is a document URI (`file:///…`) or an
@@ -122,6 +129,290 @@ export interface RequirementsParams {
122
129
  * itself declares one exactly when an entry's `module` equals `owner`. */
123
130
  ranges: RequirementsRange[];
124
131
  }
132
+ /** `telo/viewModelChanged`: the owner's view model moved — sent after each
133
+ * analysis of the owner, and when the owner stops being analysed (a
134
+ * `telo/viewModel` for it then answers `null`). */
135
+ export interface ViewModelChangedParams {
136
+ /** Canonical `file:` URI of the owner module's document. */
137
+ owner: string;
138
+ /** Increases with every analysis of the owner, and when it is dropped. */
139
+ revision: number;
140
+ }
141
+ /** `telo/viewModel`: the structured-view model of one owner module. */
142
+ export interface ViewModelParams {
143
+ owner: string;
144
+ }
145
+ /** `null` when the engine is not analysing `owner`. */
146
+ export type ViewModelResult = ViewModel | null;
147
+ /** `telo/celCompletion`: completion for a CEL value typed into a structured
148
+ * form field, which is not document text yet. */
149
+ export interface CelCompletionParams {
150
+ owner: string;
151
+ /** The resource the field belongs to. */
152
+ resource: {
153
+ kind: string;
154
+ name: string;
155
+ };
156
+ /** Concrete path of the field within the resource (`routes[0].handler.inputs.x`). */
157
+ path: string;
158
+ /** The tag the value is written under, without its `!` (`cel`, `interpolate`). */
159
+ tag: string;
160
+ /** The field's value without its tag. */
161
+ text: string;
162
+ /** Cursor offset into `text`. */
163
+ offset: number;
164
+ }
165
+ /** LSP `CompletionItem`s; a `textEdit` range is a line/character range in
166
+ * `text`. Empty when the engine is not analysing `owner`. */
167
+ export type CelCompletionResult = CompletionItem[];
168
+ /** The members of an LSP `CompletionItem` an engine sets. */
169
+ export interface CompletionItem {
170
+ label: string;
171
+ /** LSP `CompletionItemKind`. */
172
+ kind?: number;
173
+ detail?: string;
174
+ documentation?: string;
175
+ insertText?: string;
176
+ /** LSP `InsertTextFormat`; 2 is a snippet. */
177
+ insertTextFormat?: number;
178
+ textEdit?: {
179
+ range: TextRange;
180
+ newText: string;
181
+ };
182
+ preselect?: boolean;
183
+ sortText?: string;
184
+ filterText?: string;
185
+ command?: {
186
+ title: string;
187
+ command: string;
188
+ };
189
+ }
190
+ export interface TextRange {
191
+ start: {
192
+ line: number;
193
+ character: number;
194
+ };
195
+ end: {
196
+ line: number;
197
+ character: number;
198
+ };
199
+ }
200
+ /** Params and result of every engine-served request, by method. */
201
+ export interface TeloEngineRequests {
202
+ "telo/viewModel": [ViewModelParams, ViewModelResult];
203
+ "telo/celCompletion": [CelCompletionParams, CelCompletionResult];
204
+ }
205
+ /** A JSON Schema, as plain JSON. */
206
+ export type JsonSchema = Record<string, unknown>;
207
+ /**
208
+ * What a structured editor (a module canvas, a schema form, a reference picker)
209
+ * reads about one owner module, computed by the engine of the module's telo
210
+ * version over the same analysis its diagnostics come from.
211
+ */
212
+ export interface ViewModel {
213
+ owner: string;
214
+ revision: number;
215
+ /** The owner module drawn as a graph. */
216
+ moduleGraph: ModuleGraphData | null;
217
+ /** The schema of the owner's module document kind. */
218
+ moduleRootSchema: JsonSchema | null;
219
+ /** Each `kind:` spelling in the closure, and each constraint in
220
+ * `refConstraints`, mapped to the canonical kind it resolves to. A spelling
221
+ * that resolves to nothing is absent. */
222
+ kindSpellings: Record<string, string>;
223
+ /** Per reference-slot constraint: the canonical kinds that satisfy it and the
224
+ * spellings a new resource could be created with. A constraint that resolves
225
+ * to nothing is absent. */
226
+ refConstraints: Record<string, RefConstraint>;
227
+ /** Invocation contracts of every kind declaring one, by canonical kind. */
228
+ contracts: Record<string, KindContract>;
229
+ /** Why a resource of the owner module cannot fill a slot, by what it returns:
230
+ * one entry per reference slot declaring an `outputType` in the closure's
231
+ * kinds. */
232
+ outputRefusals: OutputRefusals[];
233
+ /** The body of every templated kind in the closure, by canonical kind. */
234
+ templates: Record<string, TemplateGraphData>;
235
+ /** Every reference written in the owner module's resources and its module
236
+ * document. */
237
+ referenceSites: ReferenceSite[];
238
+ /** Canonical URI → the LSP version of each open document the analysis read.
239
+ * A host holding a newer version of one of them holds text this model was
240
+ * not computed from. */
241
+ documents: Record<string, number>;
242
+ }
243
+ export interface RefConstraint {
244
+ accepted: string[];
245
+ userFacing: string[];
246
+ }
247
+ export interface KindContract {
248
+ inputType?: JsonSchema;
249
+ outputType?: JsonSchema;
250
+ }
251
+ export interface OutputRefusals {
252
+ /** The canonical kind declaring the slot. */
253
+ kind: string;
254
+ /** JSON Pointer of the slot's `x-telo-ref` node within that kind's `schema`. */
255
+ pointer: string;
256
+ /** Resource name, in the scope the entry is listed in (the owner module, or
257
+ * a template's body), → one line per definite mismatch. A resource absent
258
+ * here can fill the slot. */
259
+ refusals: Record<string, string[]>;
260
+ }
261
+ export interface TemplateGraphData {
262
+ /** Canonical `<module>.<Name>`. */
263
+ kindId: string;
264
+ name: string;
265
+ module?: string;
266
+ /** The kind's capability, inherited along `extends`. */
267
+ capability?: string;
268
+ /** The definition document as analysed; `metadata.source` is a document URI. */
269
+ definition: Record<string, unknown>;
270
+ graph: ModuleGraphData;
271
+ /** Why an entry of the body cannot fill a slot, by what it returns — the
272
+ * owner's `outputRefusals`, judged over the body's entries. */
273
+ outputRefusals: OutputRefusals[];
274
+ }
275
+ export interface ReferenceSite {
276
+ /** The resource writing the reference; the module document as itself. */
277
+ source: {
278
+ kind: string;
279
+ name: string;
280
+ };
281
+ /** Concrete path of the slot within that resource. */
282
+ path: string;
283
+ /** The name the reference holds, as written (`Alias.name` across an import). */
284
+ target: string;
285
+ }
286
+ /** A module drawn as boxes, ordered rows and classed edges — the analyzer's
287
+ * module graph as data. */
288
+ export interface ModuleGraphData {
289
+ root?: GraphNodeData;
290
+ nodes: GraphNodeData[];
291
+ edges: GraphEdgeData[];
292
+ regions: GraphRegionData[];
293
+ kinds: GraphKindData[];
294
+ }
295
+ /** `root` | `named` | `inline` | `scoped` | `imported` | `injected` |
296
+ * `enclosing` | `forwarded`. */
297
+ export type NodeOwnership = string;
298
+ /** `flow` | `holds` | `shape` | `data`. */
299
+ export type EdgeClass = string;
300
+ /** `step` | `entry` | `target` | `inline` | `reference` | `export`. */
301
+ export type RowKind = string;
302
+ export interface GraphNodeData {
303
+ id: string;
304
+ kind: string;
305
+ name: string;
306
+ capability?: string;
307
+ canonicalKind?: string;
308
+ unknownKind?: boolean;
309
+ ownership: NodeOwnership;
310
+ owner?: string;
311
+ ownerSite?: string;
312
+ module?: string;
313
+ external?: boolean;
314
+ alias?: string;
315
+ ports: GraphPortData[];
316
+ rows: GraphRowData[];
317
+ rowArrays: {
318
+ field: string;
319
+ kind: RowKind;
320
+ }[];
321
+ throws?: {
322
+ codes: string[];
323
+ unbounded: boolean;
324
+ };
325
+ root?: boolean;
326
+ }
327
+ export interface GraphPortData {
328
+ slot: string;
329
+ refs: string[];
330
+ capabilities: string[];
331
+ array: boolean;
332
+ class: EdgeClass;
333
+ slots: {
334
+ path: string;
335
+ target?: string;
336
+ targetNode?: string;
337
+ inline?: boolean;
338
+ }[];
339
+ addPath?: string;
340
+ rowOwned?: boolean;
341
+ }
342
+ export interface GraphRowData {
343
+ id: string;
344
+ kind: RowKind;
345
+ name?: string;
346
+ path: string;
347
+ array: string;
348
+ index: number;
349
+ depth: number;
350
+ parent?: string;
351
+ target?: string;
352
+ targetNode?: string;
353
+ inputs?: string;
354
+ match?: Record<string, unknown>;
355
+ variant?: string;
356
+ variantLabel?: string;
357
+ predicate?: string;
358
+ catches?: boolean;
359
+ dispatch?: {
360
+ path: string;
361
+ refs: string[];
362
+ inline?: boolean;
363
+ alternatives?: {
364
+ path: string;
365
+ refs: string[];
366
+ }[];
367
+ };
368
+ declares?: string;
369
+ unknownKind?: boolean;
370
+ }
371
+ export interface GraphEdgeData {
372
+ id: string;
373
+ from: string;
374
+ to?: string;
375
+ toName: string;
376
+ class: EdgeClass;
377
+ /** `schema` | `dependency` | `call` | `detached` | `trigger.inbound` |
378
+ * `trigger.consumer`. */
379
+ use: string[];
380
+ slot: string;
381
+ path: string;
382
+ row?: string;
383
+ inputs?: string;
384
+ boot?: boolean;
385
+ scoped?: boolean;
386
+ read?: string;
387
+ call?: string;
388
+ }
389
+ export interface GraphRegionData {
390
+ id: string;
391
+ /** `inline` | `scope` | `zone`. */
392
+ kind: string;
393
+ owner: string;
394
+ site: string;
395
+ members: string[];
396
+ attributes?: Record<string, string>;
397
+ boundaries?: {
398
+ from: string;
399
+ toName: string;
400
+ escaping: string[];
401
+ }[];
402
+ }
403
+ export interface GraphKindData {
404
+ id: string;
405
+ name: string;
406
+ module?: string;
407
+ abstract: boolean;
408
+ capability?: string;
409
+ extendsId?: string;
410
+ extendsName?: string;
411
+ instances: string[];
412
+ template: boolean;
413
+ own: boolean;
414
+ exported?: boolean;
415
+ }
125
416
  /** The YAML tags a repair may write. A receiver that does not know a tag
126
417
  * offers no fix for it. */
127
418
  export type DiagnosticFixTag = "ref" | "cel" | "module-path";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA;gFACgF;AAChF,eAAO,MAAM,oBAAoB,IAAI,CAAC;AAEtC,yEAAyE;AACzE,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,sBAAsB,CAAC;CAC9B;AAED,MAAM,WAAW,sBAAsB;IACrC,wCAAwC;IACxC,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;gCACgC;AAChC,eAAO,MAAM,oBAAoB,cAAc,CAAC;AAEhD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,MAAM,EAAE,CAAC;CACnB"}
package/dist/index.js CHANGED
@@ -13,8 +13,9 @@ export const TELO_MODULE_FILENAME = "telo.yaml";
13
13
  * release build, `X+unreleased` for a build made while that release is still
14
14
  * pending. */
15
15
  export const TELO_SERVER_NAME = "telo";
16
- /** Method names of the requests an engine sends and a host serves, and of the
17
- * notification an engine sends. */
16
+ /** Method names of every `telo/*` message: the requests an engine sends and a
17
+ * host serves, the requests a host sends and an engine serves, and the
18
+ * notifications an engine sends. */
18
19
  export const TeloMethod = {
19
20
  read: "telo/read",
20
21
  exists: "telo/exists",
@@ -22,6 +23,9 @@ export const TeloMethod = {
22
23
  hubSearchRefs: "telo/hub/searchRefs",
23
24
  hubListVersions: "telo/hub/listVersions",
24
25
  requirements: "telo/requirements",
26
+ viewModel: "telo/viewModel",
27
+ celCompletion: "telo/celCompletion",
28
+ viewModelChanged: "telo/viewModelChanged",
25
29
  };
26
30
  // --- Commands --------------------------------------------------------------
27
31
  /** `workspace/executeCommand` commands an engine serves. The two upgrade