@telorun/templating 0.136.0 → 0.138.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
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="https://github.com/telorun/telo/raw/v0.136.0/assets/telo.svg" alt="Telo" width="120" />
2
+ <img src="https://github.com/telorun/telo/raw/templating@0.138.0/assets/telo.svg" alt="Telo" width="120" />
3
3
  </p>
4
4
 
5
5
  <h1 align="center">Telo</h1>
@@ -13,8 +13,6 @@
13
13
  <a href="https://github.com/telorun/telo/commits/main"><img alt="Last commit" src="https://img.shields.io/github/last-commit/telorun/telo" /></a>
14
14
  <a href="https://github.com/telorun/telo/issues"><img alt="Issues" src="https://img.shields.io/github/issues/telorun/telo" /></a>
15
15
  <a href="https://github.com/telorun/telo/pulls"><img alt="Pull requests" src="https://img.shields.io/github/issues-pr/telorun/telo" /></a>
16
- <br />
17
- <img alt="Changesets" src="https://img.shields.io/badge/maintained%20with-changesets-176de3" />
18
16
  </p>
19
17
 
20
18
  Telo runs applications described in YAML files instead of written as program code. You declare your web APIs, databases, data screens (tables, forms, create/edit/delete) and AI workflows as small, connected YAML documents, and Telo checks them and runs them. There is no drag-and-drop screen builder: screens are declared in YAML like everything else.
@@ -59,7 +57,7 @@ Telo reads your YAML files, checks them, works out what depends on what, starts
59
57
 
60
58
  ## Example manifest
61
59
 
62
- See [examples/](https://github.com/telorun/telo/tree/v0.136.0/examples/) for a list of working applications.
60
+ See [examples/](https://github.com/telorun/telo/tree/templating@0.138.0/examples/) for a list of working applications.
63
61
 
64
62
  ## Status
65
63
 
@@ -95,22 +93,24 @@ The architecture is inspired by Kubernetes-style manifests: declarative resource
95
93
 
96
94
  ## See more at
97
95
 
98
- - [Telo Kernel](https://github.com/telorun/telo/blob/v0.136.0/kernel/README.md)
99
- - [Telo SDK for module authors](https://github.com/telorun/telo/blob/v0.136.0/sdk/README.md)
100
- - [Modules](https://github.com/telorun/telo/blob/v0.136.0/modules/README.md)
96
+ - [Telo Kernel](https://github.com/telorun/telo/blob/templating@0.138.0/kernel/README.md)
97
+ - [Telo SDK for module authors](https://github.com/telorun/telo/blob/templating@0.138.0/sdk/README.md)
98
+ - [Modules](https://github.com/telorun/telo/blob/templating@0.138.0/modules/README.md)
101
99
 
102
100
  ## License
103
101
 
104
- In plain terms: Telo is free to use, including commercially. You can build, host and sell your own products on it. You cannot offer Telo itself to others as a managed service without a commercial licence from CodeNet Sp. z o.o. (contact@codenet.pl). The modules, SDK, examples and docs you build with are MIT. Details: [Licensing](https://telo.run/learn/licensing).
102
+ In plain terms: Telo is free to use, including commercially. The runtime, the command-line tool, the editor tooling, the modules, the SDK, the examples and the docs are MIT. The runners, Studio and the authoring agent, which make up Telo's hosted platform, are source-available: you can build, host and sell your own products with them, but you cannot offer them to others as a managed service without a commercial licence from CodeNet Sp. z o.o. (contact@codenet.pl). Details: [Licensing](https://telo.run/learn/licensing).
105
103
 
106
- Two licenses, split by directory. Each MIT directory carries its own `LICENSE`; everything else falls under the root [LICENSE](https://github.com/telorun/telo/blob/v0.136.0/LICENSE), the Sustainable Use License.
104
+ Two licenses, split by directory. Each MIT directory carries its own `LICENSE`; everything else falls under the root [LICENSE](https://github.com/telorun/telo/blob/templating@0.138.0/LICENSE), the Sustainable Use License.
107
105
 
108
106
  | MIT | Sustainable Use |
109
107
  | --- | --- |
110
- | `cel/`, `message-format/`, `sdk/`, `templating/`, `packages/glob/`, `packages/editor-protocol/` — the expression engine, the message core, the SDK and what a controller links against | `analyzer/`, `kernel/`, `cli/` — what loads, checks and runs a manifest |
111
- | `modules/`, `blueprints/` — the standard library | `packages/ide-support/`, `packages/language-server/`, `packages/language-host/`, `ide/` — the editor tooling |
112
- | `starters/`, `examples/`, `docs/`, `benchmarks/` | `packages/runner-core/`, `packages/debug-wire/`, `packages/debug-ui/`, `apps/docker-runner/`, `apps/k8s-runner/` — the runners |
113
- | `apps/hub/`, `apps/hub-web/` | `apps/studio/`, `apps/authoring-agent/`, `pages/` and everything not listed |
108
+ | `kernel/`, `analyzer/`, `cli/` — what loads, checks and runs a manifest | `packages/runner-core/`, `apps/docker-runner/`, `apps/k8s-runner/`, `apps/host-runner/` — the runners |
109
+ | `packages/ide-support/`, `packages/language-server/`, `packages/language-host/`, `ide/vscode/` — the editor tooling | `apps/studio/`, `apps/authoring-agent/`, `pages/` and everything not listed |
110
+ | `packages/debug-wire/`, `packages/debug-ui/` — the debug wire format and the debug UI | |
111
+ | `cel/`, `message-format/`, `sdk/`, `templating/`, `release/`, `packages/glob/`, `packages/editor-protocol/` — the expression engine, the message core, the SDK, the release planner and what a controller links against | |
112
+ | `modules/`, `blueprints/` — the standard library | |
113
+ | `starters/`, `examples/`, `docs/`, `benchmarks/`, `apps/hub/`, `apps/hub-web/` | |
114
114
 
115
115
  No MIT package depends on a Sustainable Use one, which `pnpm run check:licenses` enforces.
116
116
 
@@ -1 +1 @@
1
- {"version":3,"file":"analyze.d.ts","sourceRoot":"","sources":["../../src/cel/analyze.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,OAAO,EACb,MAAM,cAAc,CAAC;AAItB;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,EAAE,EAAE,CAI7D;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC,CAAC,CAS5F;AA8FD;;+DAE+D;AAC/D,eAAO,MAAM,aAAa,QAAQ,CAAC;AA6BnC;qDACqD;AACrD,eAAO,MAAM,YAAY,OAAO,CAAC;AAEjC;;mDAEmD;AACnD,eAAO,MAAM,gBAAgB,MAAM,CAAC;AAEpC;;;;;2CAK2C;AAC3C,eAAO,MAAM,eAAe,QAAQ,CAAC;AAErC;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,iB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C,EAC/B,IAAI,EAAE,CAAC,EACP,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1C,MAAM,EAAE,CAAC,MAAM,EAAE,CAAC,EAAE,GAAG,EAAE,OAAO,KAAK,CAAC,GAAG,SAAS,GACjD,CAAC,EAAE,GAAG,SAAS,CAYjB"}
@@ -609,7 +609,10 @@ export function chainFailureAgainstSchema(chain, schema) {
609
609
  if (!declares)
610
610
  return null;
611
611
  const path = chain.slice(0, i + 1).join(".");
612
- return { path, message: `'${path}' is not defined (available: ${available.join(", ")})` };
612
+ return {
613
+ path,
614
+ message: `'${path}' is not defined (available: ${available.length > 0 ? available.join(", ") : "none"})`,
615
+ };
613
616
  }
614
617
  return null;
615
618
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telorun/templating",
3
- "version": "0.136.0",
3
+ "version": "0.138.0",
4
4
  "description": "Telo Templating - Engine registry and shared CEL core for Telo manifests.",
5
5
  "keywords": [
6
6
  "telo",
@@ -38,15 +38,15 @@
38
38
  "d3-format": "3.1.2",
39
39
  "re2js": "2.8.3",
40
40
  "uuid": "14.0.1",
41
- "yaml": "^2.8.3",
42
- "@telorun/cel": "0.136.0"
41
+ "yaml": "2.8.3",
42
+ "@telorun/cel": "0.138.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/d3-format": "^3.0.4",
46
46
  "@types/node": "^20.0.0",
47
47
  "typescript": "^5.0.0",
48
48
  "vitest": "^2.1.8",
49
- "@telorun/sdk": "0.136.0"
49
+ "@telorun/sdk": "0.138.0"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "@telorun/sdk": "*"
@@ -680,7 +680,10 @@ export function chainFailureAgainstSchema(
680
680
  }
681
681
  if (!declares) return null;
682
682
  const path = chain.slice(0, i + 1).join(".");
683
- return { path, message: `'${path}' is not defined (available: ${available.join(", ")})` };
683
+ return {
684
+ path,
685
+ message: `'${path}' is not defined (available: ${available.length > 0 ? available.join(", ") : "none"})`,
686
+ };
684
687
  }
685
688
  return null;
686
689
  }