@telorun/cli 0.84.0 → 0.86.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.
Files changed (58) hide show
  1. package/README.md +38 -41
  2. package/dist/bundle/module-payload.d.ts +1 -4
  3. package/dist/bundle/module-payload.d.ts.map +1 -1
  4. package/dist/bundle/module-payload.js +1 -1
  5. package/dist/bundle/module-payload.js.map +1 -1
  6. package/dist/bundle/payload-drift.d.ts +2 -2
  7. package/dist/bundle/payload-drift.d.ts.map +1 -1
  8. package/dist/bundle/payload-drift.js +6 -6
  9. package/dist/bundle/payload-drift.js.map +1 -1
  10. package/dist/bundle/warm-layers.d.ts +1 -1
  11. package/dist/bundle/warm-layers.d.ts.map +1 -1
  12. package/dist/bundle/warm-layers.js +3 -3
  13. package/dist/bundle/warm-layers.js.map +1 -1
  14. package/dist/cli.js +0 -5
  15. package/dist/cli.js.map +1 -1
  16. package/dist/commands/check.d.ts +0 -1
  17. package/dist/commands/check.d.ts.map +1 -1
  18. package/dist/commands/check.js +13 -20
  19. package/dist/commands/check.js.map +1 -1
  20. package/dist/commands/install.d.ts +0 -1
  21. package/dist/commands/install.d.ts.map +1 -1
  22. package/dist/commands/install.js +11 -29
  23. package/dist/commands/install.js.map +1 -1
  24. package/dist/commands/migrate.d.ts +0 -1
  25. package/dist/commands/migrate.d.ts.map +1 -1
  26. package/dist/commands/migrate.js +1 -10
  27. package/dist/commands/migrate.js.map +1 -1
  28. package/dist/commands/module.d.ts +1 -1
  29. package/dist/commands/module.d.ts.map +1 -1
  30. package/dist/commands/module.js +30 -76
  31. package/dist/commands/module.js.map +1 -1
  32. package/dist/commands/publish.d.ts +1 -2
  33. package/dist/commands/publish.d.ts.map +1 -1
  34. package/dist/commands/publish.js +17 -25
  35. package/dist/commands/publish.js.map +1 -1
  36. package/dist/commands/release.d.ts.map +1 -1
  37. package/dist/commands/release.js +1 -1
  38. package/dist/commands/release.js.map +1 -1
  39. package/dist/commands/run.d.ts +0 -2
  40. package/dist/commands/run.d.ts.map +1 -1
  41. package/dist/commands/run.js +13 -25
  42. package/dist/commands/run.js.map +1 -1
  43. package/dist/commands/upgrade.d.ts +1 -3
  44. package/dist/commands/upgrade.d.ts.map +1 -1
  45. package/dist/commands/upgrade.js +8 -15
  46. package/dist/commands/upgrade.js.map +1 -1
  47. package/dist/manifest-freshness.d.ts +6 -13
  48. package/dist/manifest-freshness.d.ts.map +1 -1
  49. package/dist/manifest-freshness.js +9 -17
  50. package/dist/manifest-freshness.js.map +1 -1
  51. package/dist/manifest-hash.d.ts +15 -0
  52. package/dist/manifest-hash.d.ts.map +1 -0
  53. package/dist/{registry-hash.js → manifest-hash.js} +7 -7
  54. package/dist/manifest-hash.js.map +1 -0
  55. package/package.json +5 -5
  56. package/dist/registry-hash.d.ts +0 -15
  57. package/dist/registry-hash.d.ts.map +0 -1
  58. package/dist/registry-hash.js.map +0 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Telo CLI
2
2
 
3
- The Telo CLI is the command-line interface for the Telo kernel. It loads and runs YAML manifests on your local machine, watches them for changes during development, statically validates them with `telo check`, pre-installs controllers with `telo install`, refreshes `imports:` pins with `telo upgrade`, rewrites legacy spellings with `telo migrate`, and publishes module manifests to the Telo registry with `telo publish`.
3
+ The Telo CLI is the command-line interface for the Telo kernel. It loads and runs YAML manifests on your local machine, watches them for changes during development, statically validates them with `telo check`, pre-installs controllers with `telo install`, refreshes `imports:` pins with `telo upgrade`, rewrites legacy spellings with `telo migrate`, and publishes module artifacts to an OCI registry with `telo publish`.
4
4
 
5
5
  ## Installation
6
6
 
@@ -23,11 +23,31 @@ telo https://raw.githubusercontent.com/telorun/telo/main/examples/hello-api/telo
23
23
  telo --watch ./manifest.yaml
24
24
  ```
25
25
 
26
+ ## Global options
27
+
28
+ These apply to every command.
29
+
30
+ - `-o, --output text|json` — Encoding of the CLI's **own** output. Default `text`. Under `json`, **stdout carries one machine-readable document and nothing else**, while prose, progress and warnings keep going to **stderr** in both formats — so a script parses stdout and a human still sees why something failed. `telo run` is exempt: the application writes to the same two descriptors and neither is the CLI's to claim, so its machine surface is `--debug` instead. Under `json`, stdout is never coloured; stderr keeps its colour. An unrecognised format is an error, not a fallback to text.
31
+ - `--verbose` — Verbose CLI logging on stderr.
32
+ - `--help, -h` / `--version` — The usual.
33
+
34
+ **Machine output shapes.** Commands that report a *result* (`check`, `install`, `upgrade`, `migrate`, `publish`, `release`) emit an envelope `{ ok, … }` under `-o json` and nothing on stdout under `text`. Commands that produce a *document* (`cel`, `search`, `module versions|manifest|digest|resources|kinds`) write that document under either format — their older per-command `--json` flags predate `-o` and keep working — and never mix an error envelope into it: a failure there is prose on stderr plus a non-zero exit.
35
+
36
+ **The cache root.** Every command that reads or writes `.telo/` resolves its location the same way, in this order:
37
+
38
+ 1. `TELO_CACHE_DIR`, if set.
39
+ 2. `.telo/` beside the nearest `telo-workspace.yaml` above the manifest — so one repository has one cache, whatever the manifest's depth.
40
+ 3. `.telo/` beside the manifest, when no marker exists above it.
41
+
42
+ A monorepo therefore keeps its cache at the workspace root, which matters when you `COPY` a single app into an image — see [Docker image](/deploy/docker#where-the-cache-lands).
43
+
44
+ **Environment variables the CLI reads** are listed in [Running in production](/deploy/production#runtime-configuration).
45
+
26
46
  ## Commands
27
47
 
28
48
  ### `telo publish <paths..>`
29
49
 
30
- Publish one or more module manifests to the Telo registry. For each manifest, the command:
50
+ Publish one or more module artifacts to an OCI registry. For each manifest, the command:
31
51
 
32
52
  1. Finds all `controllers` entries with a `local_path` qualifier (i.e. locally-developed packages).
33
53
  2. Optionally bumps each controller package version with `--bump`.
@@ -96,17 +116,9 @@ image for an architecture other than the build machine's.
96
116
  **Options:**
97
117
 
98
118
  - `--bump patch|minor|major` — Bump all controller package versions before publishing. Also bumps `metadata.version` in the manifest.
99
- - `--registry <url>` — Telo registry base URL (default: `https://registry.telo.run`)
100
119
  - `--dry-run` — Show what would happen without writing files or publishing anything.
101
- - `--skip-controllers` — Skip the controller build/publish/PURL-rewrite loop and only run static analysis and push the manifest to the Telo registry. Use this when controller packages have already been published by another tool (e.g. Changesets in CI). Mutually exclusive with `--bump`.
102
-
103
- **Environment:**
120
+ - `--skip-controllers` — Skip the controller build/publish/PURL-rewrite loop and only run static analysis and push the artifact to the OCI registry. Use this when controller packages have already been published by another tool (e.g. Changesets in CI). Mutually exclusive with `--bump`.
104
121
 
105
- - `TELO_REGISTRY_TOKEN` — Bearer token for the registry's publish endpoint. The CLI adds it as `Authorization: Bearer <token>` on each PUT; without it, the server returns 401. Operators receive a token from whoever administers the registry. Example:
106
-
107
- ```bash
108
- TELO_REGISTRY_TOKEN=<token> telo publish ./modules/my-module/telo.yaml
109
- ```
110
122
 
111
123
  ---
112
124
 
@@ -126,7 +138,6 @@ Imports resolve through the same `.telo/manifests/` cache `telo run` reads, and
126
138
 
127
139
  - **Pinned** (`…@1.2.3#sha256-…`, or an `@sha256:` reference) — verified against the hash on read, so a repeat check of a fully pinned manifest needs no network at all.
128
140
  - **Mutable OCI tag** — revalidated with one `HEAD` per reference against the digest recorded in `.telo/manifests/.origins.json`. If the tag has moved, that entry is dropped and refetched.
129
- - **Registry ref** (`<namespace>/<name>@<version>`) — served from cache without revalidation; a published version is immutable by convention.
130
141
  - **HTTP(S) URL** — never read from the cache by `check`, since its key carries no version segment and a hit would be served indefinitely. Always re-fetched (one request, the same cost revalidating would have).
131
142
 
132
143
  One loader serves every path in a single invocation, so `telo check a b c` resolves a module shared between them once.
@@ -162,20 +173,14 @@ telo install ./apps/my-app/telo.yaml
162
173
  telo install ./apps/a/telo.yaml ./apps/b/telo.yaml
163
174
  ```
164
175
 
165
- **Options:**
166
-
167
- - `--registry-url <url>` — Base URL for the telo module registry. Overrides `TELO_REGISTRY_URL`. Affects both the network fetches and the on-disk cache layout (manifests served by this registry are stored under `registry/<host>/<path…>/<version>/...`).
168
-
169
176
  **Environment:**
170
177
 
171
- - `TELO_REGISTRY_URL` — Default registry URL used when `--registry-url` is omitted.
172
178
  - `TELO_PKG_MANAGER` — Override the package manager invoked for controller installs. Defaults to `npm`. Set to `pnpm` (or any compatible CLI) when the runtime environment ships a different manager.
173
179
 
174
- The cache lives next to the manifest at `<entry-manifest-dir>/.telo/`:
180
+ The cache lives under the **cache root** — `.telo/` beside the manifest, or beside `telo-workspace.yaml` when one sits above it (see [Global options](#global-options)):
175
181
 
176
182
  - `.telo/npm/` — controller node_modules tree (one realm per manifest), for the modules that still deliver their controller from npm.
177
183
  - `.telo/controller-src/` — bundles built from a **local** module's controller sources. Only ever written for a module that is a working copy on disk: a published module ships a prebuilt bundle in its artifact and never reaches this path. Each entry is named by a digest of every input the build read, so an edit anywhere in the source graph yields a new entry rather than invalidating one.
178
- - `.telo/manifests/registry/<host>/<path…>/<version>/telo.yaml` — registry-served manifests.
179
184
  - `.telo/manifests/oci/<host>/<repo…>/<tag>/telo.yaml` — manifests imported from an OCI registry.
180
185
  - `.telo/manifests/url/<host>/<pathname>` — manifests imported via raw HTTP URLs.
181
186
  - `.telo/manifests/.origins.json` — for each cached import named by a **mutable tag**, the OCI manifest digest that produced the copy. `telo check` revalidates against it with one `HEAD` per reference; a pinned import needs no entry, since its bytes are verified against the ref's own hash.
@@ -183,7 +188,7 @@ The cache lives next to the manifest at `<entry-manifest-dir>/.telo/`:
183
188
  Every manifest entry is keyed `<transport>/<host>/<path…>/<version>/<file>`, the same grammar the
184
189
  discovery hub uses for its cached manifests.
185
190
 
186
- Per-manifest scope means the whole `.telo/` tree is naturally portable: `COPY` the manifest dir into your image and both caches travel with it; no environment variable is required.
191
+ The whole `.telo/` tree is portable: `COPY` the directory that holds it into your image and both caches travel with it. Without a workspace marker that is the manifest's own directory; with one it is the marker's — copy that, or pin the location with `TELO_CACHE_DIR` in both build and production stages.
187
192
 
188
193
  **Example output:**
189
194
 
@@ -224,13 +229,13 @@ Available image variants:
224
229
 
225
230
  Pin to an exact CLI version for reproducible builds; `latest`, `<major>`, and `<major>.<minor>` are rolling tags.
226
231
 
227
- The build stage materializes `<manifest-dir>/.telo/npm/` and `<manifest-dir>/.telo/manifests/`; the production stage is a single `COPY` and does no network I/O at boot.
232
+ The build stage materializes `.telo/npm/` and `.telo/manifests/` under the cache root; the production stage is a single `COPY` and does no network I/O at boot.
228
233
 
229
234
  ---
230
235
 
231
236
  ### `telo upgrade <paths..>`
232
237
 
233
- Scans one or more manifests for remote `imports:` entries — a registry ref (`<namespace>/<name>@<version>`) or an OCI ref (`oci://host/repo@tag`) — asks each ref's transport for the latest published version, and rewrites the source in place when a newer version is available. Both the scalar shorthand (`Alias: <src>`) and the object form (`Alias: { source: <src>, … }`) are handled. Version enumeration, ref reconstruction, and integrity hashing are all delegated to the transport that owns the ref's scheme, so every backend Telo can resolve is also upgradeable — the command never special-cases a scheme. The rewrite operates at the byte level: only the version characters of changed source values are spliced into the original file. Comments, indentation, folded block scalars (`>-` / `|`), quote style on the source value, and every other byte outside the rewritten ranges are preserved exactly. The on-disk YAML is mutated only when at least one import in the file changes.
238
+ Scans one or more manifests for remote `imports:` entries — an OCI ref (`oci://host/repo@tag`) — asks each ref's transport for the latest published version, and rewrites the source in place when a newer version is available. Both the scalar shorthand (`Alias: <src>`) and the object form (`Alias: { source: <src>, … }`) are handled. Version enumeration, ref reconstruction, and integrity hashing are all delegated to the transport that owns the ref's scheme, so every backend Telo can resolve is also upgradeable — the command never special-cases a scheme. The rewrite operates at the byte level: only the version characters of changed source values are spliced into the original file. Comments, indentation, folded block scalars (`>-` / `|`), quote style on the source value, and every other byte outside the rewritten ranges are preserved exactly. The on-disk YAML is mutated only when at least one import in the file changes.
234
239
 
235
240
  Accepts the same path shapes as `check` / `install`: a manifest file, a directory containing a `telo.yaml`, or several of those mixed. By default only the imports declared in the files you pass are inspected; pass `--recursive` / `-r` to also follow relative (local) imports into their sibling manifests and upgrade those too.
236
241
 
@@ -244,28 +249,23 @@ telo upgrade ./manifest.yaml --include-prerelease
244
249
 
245
250
  **Options:**
246
251
 
247
- - `--registry-url <url>` — Base URL for the Telo registry. Falls back to `TELO_REGISTRY_URL`, then `https://registry.telo.run`. Matches the `install` / `run` fallback chain.
248
252
  - `--include-prerelease` — Consider versions with a SemVer prerelease segment (e.g. `1.0.0-beta.1`) when picking the latest. Off by default — prereleases are ignored unless the flag is set.
249
253
  - `--dry-run` — Show the proposed rewrites without touching any files.
250
- - `--recursive`, `-r` — Follow relative (local) imports and upgrade their manifests too. Cycle-safe, and each file is upgraded at most once even when reached from several manifests. Remote refs (registry / OCI / HTTP) are always upgraded in place; recursion only descends into on-disk siblings.
254
+ - `--recursive`, `-r` — Follow relative (local) imports and upgrade their manifests too. Cycle-safe, and each file is upgraded at most once even when reached from several manifests. Remote refs (OCI / HTTP) are always upgraded in place; recursion only descends into on-disk siblings.
251
255
 
252
256
  **Behavior per import:**
253
257
 
254
258
  | Pinned version state | Action | Log marker |
255
259
  | --- | --- | --- |
256
260
  | Equal to the latest published | leave unchanged | `= already at <ver>` |
257
- | Lower than the latest, and itself in the registry | rewrite to latest | `↑ <old> → <new>` |
258
- | Not present in the registry's version list | rewrite to latest (repair) — flagged with `(pinned version not in registry)`. Direction can be downward if the broken pin is higher than anything published. | `↑` or `↓` |
259
- | Module not found (404) / no eligible versions after filtering | leave unchanged, report | `! no published versions in registry` |
261
+ | Lower than the latest, and itself published | rewrite to latest | `↑ <old> → <new>` |
262
+ | Not present in the origin's version list | rewrite to latest (repair) — flagged with `(pinned version not published)`. Direction can be downward if the broken pin is higher than anything published. | `↑` or `↓` |
263
+ | Module not found (404) / no eligible versions after filtering | leave unchanged, report | `! no published versions` |
260
264
  | Remote ref with no comparable version — a bare `https://` URL, an OCI digest pin (`@sha256:…`), or a moving tag like `latest` | leave unchanged | `· skipped (not version-pinned)` / `! unparseable current version` |
261
265
  | `source` is a relative / absolute local path | leave unchanged (or follow under `--recursive`) | `· skipped (local import — use --recursive to follow)` |
262
266
  | `source` is not a remote ref at all | leave unchanged | `· skipped (not a remote ref)` |
263
267
 
264
- A non-existent pin is always treated as broken and repaired against the registry — leaving an unbootable pin in place would defeat the point of the command — but the rewrite is annotated so the action is visible. Network or non-404 registry errors are surfaced per import and produce a non-zero exit code; other imports in the same file still get processed.
265
-
266
- **Environment:**
267
-
268
- - `TELO_REGISTRY_URL` — Default registry URL used when `--registry-url` is omitted.
268
+ A non-existent pin is always treated as broken and repaired against the origin — leaving an unbootable pin in place would defeat the point of the command — but the rewrite is annotated so the action is visible. Network or non-404 errors are surfaced per import and produce a non-zero exit code; other imports in the same file still get processed.
269
269
 
270
270
  **Example output:**
271
271
 
@@ -301,10 +301,6 @@ The rewrite operates at the byte level, exactly as `telo upgrade`'s does: commen
301
301
 
302
302
  **Scope.** Only the manifest you name and its `include:` partials are rewritten. Imported modules are left alone — a published dependency is not yours to fix, and its author is the only person who can. That is the same rule that decides which deprecation warnings `telo check` shows you.
303
303
 
304
- **Options:**
305
-
306
- - `--registry-url <url>` — Base URL for the Telo registry, for resolving imports while loading. Falls back to `TELO_REGISTRY_URL`, then `https://registry.telo.run`.
307
-
308
304
  **Example output:**
309
305
 
310
306
  ```text
@@ -334,12 +330,13 @@ Load and run a Telo manifest. `run` is the default command, so `telo ./manifest.
334
330
  **Options:**
335
331
 
336
332
  - `--watch, -w` - Watch manifest file(s) for changes and restart automatically
337
- - `--verbose, -v` - Enable verbose logging
333
+ - `--debug` - Write every kernel event, in order, to `.telo.debug.jsonl` next to the manifest. No network, no UI — the file is the machine-readable record of a run. `telo run` is exempt from `-o json` (the app owns stdout/stderr), so this is the machine surface for a run.
334
+ - `--inspect[=[host:]port]` - Start the live inspection endpoint (default `127.0.0.1:9230`), serve the inspection UI and open it in a browser. Holds the app open even when it would otherwise exit. The endpoint streams event payloads — inputs and outputs of every call — so binding a non-loopback host is warned about; mark credentials with [`x-telo-sensitive`](/extend/sensitive-contract-fields) so they ride the wire as `[redacted]`.
335
+ - `--no-open` - With `--inspect`, do not open the browser.
338
336
  - `--no-cache-write` - Validate in-memory and read the existing `.telo` cache, but never persist new derived entries (compiled validators, analysis stamp). For ephemeral, read-only runs (e.g. a prebuilt container whose deps are baked at `TELO_CACHE_DIR`); the cache is still used, only writes are suppressed.
339
- - `--help, -h` - Show help message
340
- - `--version` - Show version number
337
+ - `--` - Everything after it is handed to the kernel as the application's own arguments, for controllers that read them.
341
338
 
342
- The cache root defaults to `<manifest-dir>/.telo`; set `TELO_CACHE_DIR` to relocate it (resolved once and used for the manifest cache, compiled validators, analysis stamp, and npm install root alike).
339
+ See [Global options](#global-options) for `--verbose`, `-o` and the cache root.
343
340
 
344
341
  ---
345
342
 
@@ -375,7 +372,7 @@ Each hit prints the exact ref to paste into your `imports:` map, and the kinds t
375
372
 
376
373
  ### `telo module <subcommand> <ref>`
377
374
 
378
- Inspect a module without importing it. `<ref>` is any form the runtime resolves: a local path, an `oci://` ref, a registry ref, or a direct URL.
375
+ Inspect a module without importing it. `<ref>` is any form the runtime resolves: a local path, an `oci://` ref, or a direct URL.
379
376
 
380
377
  | Subcommand | What it prints |
381
378
  | --- | --- |
@@ -85,16 +85,13 @@ export interface ModulePayload {
85
85
  */
86
86
  readonly authoredPins: readonly {
87
87
  readonly alias: string;
88
- /** The ref with no integrity fragment — what the registry is asked for. */
88
+ /** The ref with no integrity fragment — what the origin is asked for. */
89
89
  readonly ref: string;
90
90
  /** The hash the author committed. */
91
91
  readonly integrity: string;
92
92
  }[];
93
93
  }
94
94
  export interface PayloadBuilderOptions {
95
- /** The read-only registry origin `registry://` refs resolve against. Not the
96
- * publish destination, which is per module and passed to `payload()`. */
97
- readonly registryOrigin?: string;
98
95
  /** Where the controller build cache lives. */
99
96
  readonly cacheRoot: string;
100
97
  }
@@ -1 +1 @@
1
- {"version":3,"file":"module-payload.d.ts","sourceRoot":"","sources":["../../src/bundle/module-payload.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,OAAO,EAKL,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACf,MAAM,mBAAmB,CAAC;AAC3B,OA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AAA;KAAE,EAAE,CAAC;IAM5D;;;;;;;;OAQG;IACG,iBAAiB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAK9D,OAAO,CAAC,iBAAiB;IAQzB,OAAO,CAAC,gBAAgB;IAYxB,OAAO,CAAC,aAAa;IAQrB;;iFAE6E;IAC7E,OAAO,CAAC,YAAY;IASpB;;;OAGG;YACW,iBAAiB;YAkEjB,WAAW;YAKX,YAAY;CAyF3B"}
@@ -151,7 +151,7 @@ export class ModulePayloadBuilder {
151
151
  * digest covers, so both halves of the published manifest come from one. */
152
152
  transportFor(manifestPath) {
153
153
  const destination = this.destinationOf(manifestPath);
154
- const transport = defaultTransportRegistry(this.options.registryOrigin).forRef(destination);
154
+ const transport = defaultTransportRegistry().forRef(destination);
155
155
  if (!transport) {
156
156
  throw new Error(`no transport owns publish destination '${destination}'`);
157
157
  }
@@ -1 +1 @@
1
- {"version":3,"file":"module-payload.js","sourceRoot":"","sources":["../../src/bundle/module-payload.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,OAAO,EACL,uBAAuB,EACvB,yBAAyB,EACzB,eAAe,EACf,cAAc,GAGf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,gBAAgB,EAChB,iBAAiB,GAGlB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,MAAM,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACnG,OAAO,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C,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,yBAAyB,CAAC,CAAC;QACxD,CAAC;IACH,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,IAAI,KAAK,CAAC,kBAAkB,MAAM,oDAAoD,CAAC,CAAC;IAChG,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,SAAS,kBAAkB,CAAC,eAAuB,EAAE,MAAc;IACjE,MAAM,KAAK,GAAG,iBAAiB,CAAC,EAAE,CAAC,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,EAAE;QACxE,UAAU,EAAE,iBAAiB,EAAE;KAChC,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,EAAsD,CAAC;IACpE,MAAM,OAAO,GAAG,KAAK,EAAE,QAAQ,EAAE,OAAO,CAAC;IACzC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,kBAAkB,MAAM,iBAAiB,eAAe,8BAA8B;YACpF,gDAAgD,CACnD,CAAC;IACJ,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"}
@@ -37,14 +37,14 @@ export type { BuiltLayer };
37
37
  * of the ledger's cache: `telo release verify` compares the committed digests
38
38
  * against these, and `--write` records these.
39
39
  */
40
- export declare function readPublishedDigests(destination: string, version: string, registry: string): Promise<LayerDigests | null>;
40
+ export declare function readPublishedDigests(destination: string, version: string): Promise<LayerDigests | null>;
41
41
  /**
42
42
  * Compare the built payload against the published one at the same version.
43
43
  *
44
44
  * Returns `null` when nothing is published at that ref — a new version, so there
45
45
  * is nothing to disagree with. Returns an empty array when the payloads match.
46
46
  */
47
- export declare function findPayloadDrift(destination: string, version: string, built: readonly BuiltLayer[], registry: string): Promise<LayerDrift[] | null>;
47
+ export declare function findPayloadDrift(destination: string, version: string, built: readonly BuiltLayer[]): Promise<LayerDrift[] | null>;
48
48
  /** The message shown when the gate fires. It names the version to bump, because
49
49
  * that — not a re-push — is the fix: overwriting a published tag would change
50
50
  * what an existing pinned import resolves to. */
@@ -1 +1 @@
1
- {"version":3,"file":"payload-drift.d.ts","sourceRoot":"","sources":["../../src/bundle/payload-drift.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,YAAY,EAClB,MAAM,mBAAmB,CAAC;AAI3B;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;+EAC2E;IAC3E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;mDAC+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAKD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,YAAY,EAAE,UAAU,EAAE,CAAC;AA2D3B;;;;;;;;GAQG;AACH,wBAAsB,oBAAoB,CACxC,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC,CAQ9B;AAED;;;;;GAKG;AACH,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,SAAS,UAAU,EAAE,EAC5B,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,UAAU,EAAE,GAAG,IAAI,CAAC,CA6B9B;AAED;;kDAEkD;AAClD,wBAAgB,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,MAAM,CAe7F"}
1
+ {"version":3,"file":"payload-drift.d.ts","sourceRoot":"","sources":["../../src/bundle/payload-drift.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,YAAY,EAClB,MAAM,mBAAmB,CAAC;AAI3B;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;+EAC2E;IAC3E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;mDAC+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAKD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,YAAY,EAAE,UAAU,EAAE,CAAC;AAwD3B;;;;;;;;GAQG;AACH,wBAAsB,oBAAoB,CACxC,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC,CAQ9B;AAED;;;;;GAKG;AACH,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,SAAS,UAAU,EAAE,GAC3B,OAAO,CAAC,UAAU,EAAE,GAAG,IAAI,CAAC,CA6B9B;AAED;;kDAEkD;AAClD,wBAAgB,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,MAAM,CAe7F"}
@@ -24,8 +24,8 @@ const NOT_FOUND = /\b404\b|not found|MANIFEST_UNKNOWN|NAME_UNKNOWN/i;
24
24
  * the kind of incident where a release is most likely to ship something wrong.
25
25
  * Those propagate and fail the publish.
26
26
  */
27
- async function readPublishedLayers(ref, registry) {
28
- const transport = defaultTransportRegistry(registry).forRef(ref);
27
+ async function readPublishedLayers(ref) {
28
+ const transport = defaultTransportRegistry().forRef(ref);
29
29
  if (!transport) {
30
30
  throw new Error(`Cannot verify the published payload of '${ref}': no transport owns that ref.`);
31
31
  }
@@ -60,8 +60,8 @@ async function readPublishedLayers(ref, registry) {
60
60
  * of the ledger's cache: `telo release verify` compares the committed digests
61
61
  * against these, and `--write` records these.
62
62
  */
63
- export async function readPublishedDigests(destination, version, registry) {
64
- const published = await readPublishedLayers(`${destination}@${version}`, registry);
63
+ export async function readPublishedDigests(destination, version) {
64
+ const published = await readPublishedLayers(`${destination}@${version}`);
65
65
  if (published === null)
66
66
  return null;
67
67
  const digests = {};
@@ -76,8 +76,8 @@ export async function readPublishedDigests(destination, version, registry) {
76
76
  * Returns `null` when nothing is published at that ref — a new version, so there
77
77
  * is nothing to disagree with. Returns an empty array when the payloads match.
78
78
  */
79
- export async function findPayloadDrift(destination, version, built, registry) {
80
- const published = await readPublishedLayers(`${destination}@${version}`, registry);
79
+ export async function findPayloadDrift(destination, version, built) {
80
+ const published = await readPublishedLayers(`${destination}@${version}`);
81
81
  if (published === null)
82
82
  return null;
83
83
  const publishedByKey = new Map();
@@ -1 +1 @@
1
- {"version":3,"file":"payload-drift.js","sourceRoot":"","sources":["../../src/bundle/payload-drift.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,WAAW,GAIZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,MAAM,CAAC;AAoCzC;6DAC6D;AAC7D,SAAS,QAAQ,CAAC,IAAY,EAAE,QAA2B;IACzD,OAAO,QAAQ,CAAC,CAAC,CAAC,GAAG,IAAI,KAAK,WAAW,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AAC/D,CAAC;AAED,SAAS,WAAW,CAAC,IAAY,EAAE,QAA2B;IAC5D,OAAO,QAAQ,CAAC,CAAC,CAAC,GAAG,IAAI,KAAK,gBAAgB,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC;AACrE,CAAC;AAED;;0BAE0B;AAC1B,MAAM,SAAS,GAAG,kDAAkD,CAAC;AAErE;;;;;;;;;;GAUG;AACH,KAAK,UAAU,mBAAmB,CAChC,GAAW,EACX,QAAgB;IAEhB,MAAM,SAAS,GAAG,wBAAwB,CAAC,QAAQ,CAAC,CAAC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AAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC,CAAC;IAC5F,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;kDAEkD;AAClD,MAAM,UAAU,aAAa,CAAC,SAAiB,EAAE,OAAe,EAAE,KAAmB;IACnF,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QAChC,IAAI,CAAC,KAAK,CAAC,KAAK;YAAE,OAAO,KAAK,KAAK,CAAC,IAAI,8BAA8B,CAAC;QACvE,IAAI,CAAC,KAAK,CAAC,SAAS;YAAE,OAAO,KAAK,KAAK,CAAC,IAAI,8CAA8C,CAAC;QAC3F,OAAO,KAAK,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,SAAS,MAAM,KAAK,CAAC,KAAK,EAAE,CAAC;IAChE,CAAC,CAAC,CAAC;IACH,OAAO,CACL,GAAG,SAAS,4BAA4B,OAAO,kCAAkC;QACjF,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC;QAChB,8EAA8E;QAC9E,wEAAwE;QACxE,mEAAmE;QACnE,0EAA0E;QAC1E,sEAAsE,CACvE,CAAC;AACJ,CAAC"}
@@ -43,7 +43,7 @@ export interface WarmedLayers {
43
43
  */
44
44
  libraries: Map<string, SiblingLibraryMap>;
45
45
  }
46
- export declare function warmModuleLayers(graph: LoadedGraph, entryDir: string, registryUrl: string, manifestsDir: string, target: PlatformTarget, onWarn: (message: string) => void): Promise<WarmedLayers>;
46
+ export declare function warmModuleLayers(graph: LoadedGraph, entryDir: string, manifestsDir: string, target: PlatformTarget, onWarn: (message: string) => void): Promise<WarmedLayers>;
47
47
  /**
48
48
  * Parse a `--platform` value into a target. Accepts the familiar
49
49
  * `os/arch[/libc]` shorthand (`linux/amd64`, `linux/arm64/musl`) in the same
@@ -1 +1 @@
1
- {"version":3,"file":"warm-layers.d.ts","sourceRoot":"","sources":["../../src/bundle/warm-layers.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,WAAW,EAEhB,KAAK,cAAc,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAOL,KAAK,cAAc,EAEnB,KAAK,iBAAiB,EACvB,MAAM,iBAAiB,CAAC;AAEzB;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,YAAY;IAC3B,4DAA4D;IAC5D,YAAY,EAAE,MAAM,CAAC;IACrB;;;;;;;OAOG;IACH,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IACvC;;;;;;;OAOG;IACH,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;CAC3C;AAED,wBAAsB,gBAAgB,CACpC,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,cAAc,EACtB,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,GAChC,OAAO,CAAC,YAAY,CAAC,CAsDvB;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,cAAc,CAY7E;AAED;yDACyD;AACzD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,CAIrE"}
1
+ {"version":3,"file":"warm-layers.d.ts","sourceRoot":"","sources":["../../src/bundle/warm-layers.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,WAAW,EAEhB,KAAK,cAAc,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAOL,KAAK,cAAc,EAEnB,KAAK,iBAAiB,EACvB,MAAM,iBAAiB,CAAC;AAEzB;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,YAAY;IAC3B,4DAA4D;IAC5D,YAAY,EAAE,MAAM,CAAC;IACrB;;;;;;;OAOG;IACH,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IACvC;;;;;;;OAOG;IACH,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;CAC3C;AAED,wBAAsB,gBAAgB,CACpC,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,cAAc,EACtB,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,GAChC,OAAO,CAAC,YAAY,CAAC,CAqDvB;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,cAAc,CAY7E;AAED;yDACyD;AACzD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,CAIrE"}
@@ -1,7 +1,7 @@
1
1
  import { IntegrityError, } from "@telorun/analyzer";
2
2
  import { buildSiblingLibraries, defaultTransportRegistry, hostPlatformTarget, moduleArtifactFor, moduleDirectoryFor, readOwnerManifest, } from "@telorun/kernel";
3
- export async function warmModuleLayers(graph, entryDir, registryUrl, manifestsDir, target, onWarn) {
4
- const transports = defaultTransportRegistry(registryUrl);
3
+ export async function warmModuleLayers(graph, entryDir, manifestsDir, target, onWarn) {
4
+ const transports = defaultTransportRegistry();
5
5
  const artifacts = new Map();
6
6
  const owners = new Map();
7
7
  const directories = new Map();
@@ -16,7 +16,7 @@ export async function warmModuleLayers(graph, entryDir, registryUrl, manifestsDi
16
16
  // propagates rather than being downgraded to a warning.
17
17
  const owner = readOwnerManifest(file.text);
18
18
  owners.set(file.source, owner);
19
- const moduleDir = moduleDirectoryFor(file.requestedUrl, file.source, entryDir, registryUrl, manifestsDir);
19
+ const moduleDir = moduleDirectoryFor(file.requestedUrl, file.source, entryDir, manifestsDir);
20
20
  directories.set(file.source, moduleDir ?? undefined);
21
21
  const artifact = moduleArtifactFor({
22
22
  pinnedRef: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,CAAC,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;SAClC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC;IAC3B,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACzC,MAAM,IAAI,KAAK,CACb,eAAe,KAAK,8EAA8E,CACnG,CAAC;IACJ,CAAC;IACD,OAAO,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC;AACnF,CAAC;AAED;yDACyD;AACzD,MAAM,UAAU,sBAAsB,CAAC,MAAsB;IAC3D,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,SAAS,EAAE,MAAM,CAAC,IAAI,IAAI,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC;SACnE,MAAM,CAAC,CAAC,CAAC,EAAe,EAAE,CAAC,CAAC,KAAK,SAAS,CAAC;SAC3C,IAAI,CAAC,GAAG,CAAC,CAAC;AACf,CAAC"}
package/dist/cli.js CHANGED
@@ -38,11 +38,6 @@ cli
38
38
  type: "boolean",
39
39
  default: false,
40
40
  describe: "Enable debug event streaming",
41
- })
42
- .option("snapshot-on-exit", {
43
- type: "boolean",
44
- default: false,
45
- describe: "Capture a snapshot on exit",
46
41
  })
47
42
  .option("watch", {
48
43
  alias: "w",
package/dist/cli.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAEA,6EAA6E;AAC7E,iFAAiF;AACjF,OAAO,mBAAmB,CAAC;AAE3B,OAAO,KAAK,MAAM,OAAO,C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,GAAG,cAAc,CAAC,GAAG,CAAe,CAAC;AAExC,GAAG;KACA,MAAM,CAAC,SAAS,EAAE;IACjB,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,KAAK;IACd,QAAQ,EAAE,wBAAwB;CACnC,CAAC;KACD,MAAM,CAAC,OAAO,EAAE;IACf,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,KAAK;IACd,QAAQ,EAAE,8BAA8B;CACzC,CAAC;KACD,MAAM,CAAC,OAAO,EAAE;IACf,KAAK,EAAE,GAAG;IACV,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,KAAK;IACd,QAAQ,EAAE,2CAA2C;CACtD,CAAC;KACD,MAAM,CAAC,aAAa,EAAE;IACrB,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,IAAI;IACb,QAAQ,EACN,sKAAsK;CACzK,CAAC;KACD,MAAM,CAAC,QAAQ,EAAE;IAChB,KAAK,EAAE,GAAG;IACV,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,cAAc;IACvB,OAAO,EAAE,MAAe;IACxB,QAAQ,EACN,6NAA6N;CAChO,CAAC;IACF,4EAA4E;IAC5E,2EAA2E;KAC1E,UAAU,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,eAAe,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC;KAC3E,aAAa,CAAC,CAAC,EAAE,yCAAyC,CAAC;KAC3D,MAAM,EAAE;KACR,IAAI,EAAE;KACN,OAAO,EAAE;KACT,KAAK,EAAE,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import type { Argv } from "yargs";
2
2
  export declare function check(argv: {
3
3
  paths: string[];
4
- registryUrl?: string;
5
4
  cacheWrite?: boolean;
6
5
  }): Promise<void>;
7
6
  export declare function checkCommand(yargs: Argv): Argv;
@@ -1 +1 @@
1
- {"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../src/commands/check.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAgQlC,wBAAsB,KAAK,CAAC,IAAI,EAAE;IAChC,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,GAAG,OAAO,CAAC,IAAI,CAAC,CA4EhB;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,IAAI,GAAG,IAAI,CAoB9C"}
1
+ {"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../src/commands/check.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAoPlC,wBAAsB,KAAK,CAAC,IAAI,EAAE;IAChC,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,GAAG,OAAO,CAAC,IAAI,CAAC,CAiEhB;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,IAAI,GAAG,IAAI,CAgB9C"}
@@ -9,7 +9,6 @@ import { pathToFileURL } from "url";
9
9
  import { createLogger, formatAnalysisDiagnostics, formatDiagnostics, } from "../logger.js";
10
10
  import { outErrLine, output } from "../output.js";
11
11
  import { RecordingCacheSource, readOriginDigests, revalidateMutableOciRefs, writeOriginDigests, } from "../manifest-freshness.js";
12
- const DEFAULT_REGISTRY_URL = "https://registry.telo.run";
13
12
  function cacheTargetFor(entryPath) {
14
13
  const cacheRoot = resolveCacheRoot(entryPath);
15
14
  const entryDir = resolveEntryDir(entryPath);
@@ -25,8 +24,8 @@ function resolveEntryPath(inputPath) {
25
24
  * One loader for the whole invocation, ahead of the transports:
26
25
  *
27
26
  * - `LocalManifestCacheSource` makes a repeat check hermetic. Without it every
28
- * `oci://` / registry import was re-pulled on every run even when fully
29
- * pinned, which is the bulk of `check`'s wall time.
27
+ * `oci://` import was re-pulled on every run even when fully pinned, which
28
+ * is the bulk of `check`'s wall time.
30
29
  * - The loader is shared across *all* input paths, so `telo check a b c` reads
31
30
  * a module common to several of them once. Its `urlToSource` / `fileCache`
32
31
  * dedupe by canonical URL, so this is purely a cache-hit question — the
@@ -36,17 +35,17 @@ function resolveEntryPath(inputPath) {
36
35
  * are content-addressed, so a hit under any root is as good as a hit under the
37
36
  * one this path would write to, and a miss falls through unchanged.
38
37
  */
39
- function openSession(cacheTargets, registryUrl) {
40
- const recorders = cacheTargets.map((t) => new RecordingCacheSource(new LocalManifestCacheSource(t.entryDir, registryUrl, t.manifestsDir), registryUrl));
38
+ function openSession(cacheTargets) {
39
+ const recorders = cacheTargets.map((t) => new RecordingCacheSource(new LocalManifestCacheSource(t.entryDir, t.manifestsDir)));
41
40
  // The kernel's transport sources — the same set `install` / `run` use — so
42
41
  // `check` resolves every scheme they do, `oci://` included, direct-to-origin.
43
42
  // The browser-only `manifests.telo.sh` cache path stays the editor's; a CLI
44
- // resolves origin-direct so it never depends on the hub (federated-discovery
45
- // plan: resolution never routes through the hub).
43
+ // resolves origin-direct so it never depends on the hub — resolution never
44
+ // routes through it.
46
45
  const loader = new Loader([
47
46
  new LocalFileSource(),
48
47
  ...recorders,
49
- ...defaultTransportRegistry(registryUrl).sources(),
48
+ ...defaultTransportRegistry().sources(),
50
49
  ]);
51
50
  return {
52
51
  loader,
@@ -81,7 +80,7 @@ async function dropStaleEntry(file, session, log) {
81
80
  }
82
81
  }
83
82
  }
84
- async function checkOne(inputPath, registryUrl, session, cacheTarget, cacheWrite,
83
+ async function checkOne(inputPath, session, cacheTarget, cacheWrite,
85
84
  /** Digests already verified by a prior pass. Present only on the retry after
86
85
  * a stale entry was dropped: revalidating again would re-`HEAD` the same
87
86
  * tags, and the freshly fetched bytes are current by construction. */
@@ -106,7 +105,7 @@ knownDigests, log) {
106
105
  for (const dir of session.manifestsDirs) {
107
106
  originsByRoot.set(dir, await readOriginDigests(dir));
108
107
  }
109
- const freshness = await revalidateMutableOciRefs(graph, served, originsByRoot, registryUrl, session.verified);
108
+ const freshness = await revalidateMutableOciRefs(graph, served, originsByRoot, session.verified);
110
109
  if (freshness.staleFiles.length > 0) {
111
110
  return {
112
111
  errorCount: 0,
@@ -140,7 +139,7 @@ knownDigests, log) {
140
139
  // directory, which reads the same cache — is hermetic. Caching is an
141
140
  // optimization: a read-only filesystem warns rather than fails the check.
142
141
  try {
143
- await writeManifestCache(graph, cacheTarget.entryDir, registryUrl, cacheTarget.manifestsDir);
142
+ await writeManifestCache(graph, cacheTarget.entryDir, cacheTarget.manifestsDir);
144
143
  await writeOriginDigests(cacheTarget.manifestsDir, digests);
145
144
  }
146
145
  catch (err) {
@@ -176,8 +175,6 @@ knownDigests, log) {
176
175
  }
177
176
  export async function check(argv) {
178
177
  const log = createLogger(false);
179
- // Same fallback chain as `run` / `install`.
180
- const registryUrl = argv.registryUrl ?? process.env.TELO_REGISTRY_URL ?? DEFAULT_REGISTRY_URL;
181
178
  const cacheWrite = argv.cacheWrite !== false;
182
179
  const cacheTargets = new Map();
183
180
  for (const p of argv.paths) {
@@ -185,13 +182,13 @@ export async function check(argv) {
185
182
  if (target)
186
183
  cacheTargets.set(target.manifestsDir, target);
187
184
  }
188
- const session = openSession([...cacheTargets.values()], registryUrl);
185
+ const session = openSession([...cacheTargets.values()]);
189
186
  let totalErrors = 0;
190
187
  let totalWarns = 0;
191
188
  const allDiagnostics = [];
192
189
  for (const p of argv.paths) {
193
190
  const cacheTarget = cacheTargetFor(resolveEntryPath(p));
194
- let outcome = await checkOne(p, registryUrl, session, cacheTarget, cacheWrite, null, log);
191
+ let outcome = await checkOne(p, session, cacheTarget, cacheWrite, null, log);
195
192
  if (outcome.staleFiles.length > 0) {
196
193
  // A mutable tag moved under the cache. Drop just those entries — file,
197
194
  // loader memo, and served record — so every other path's resolution
@@ -201,7 +198,7 @@ export async function check(argv) {
201
198
  for (const file of outcome.staleFiles) {
202
199
  await dropStaleEntry(file, session, log);
203
200
  }
204
- outcome = await checkOne(p, registryUrl, session, cacheTarget, cacheWrite, outcome.digests, log);
201
+ outcome = await checkOne(p, session, cacheTarget, cacheWrite, outcome.digests, log);
205
202
  }
206
203
  totalErrors += outcome.errorCount;
207
204
  totalWarns += outcome.warnCount;
@@ -242,10 +239,6 @@ export function checkCommand(yargs) {
242
239
  type: "string",
243
240
  array: true,
244
241
  demandOption: true,
245
- })
246
- .option("registry-url", {
247
- type: "string",
248
- describe: "Base URL for the telo module registry. Overrides TELO_REGISTRY_URL.",
249
242
  }), async (argv) => {
250
243
  await check(argv);
251
244
  });