@camstack/types 1.2.315 → 1.2.316

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/dist/index.js CHANGED
@@ -5718,12 +5718,15 @@ var ModelFormatEntrySchema = zod.z.object({
5718
5718
  /** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
5719
5719
  runtimes: zod.z.array(zod.z.enum(["python"])).readonly().optional(),
5720
5720
  /**
5721
- * Content revision of the hosted artefact. Set it, or change it, whenever
5722
- * the bytes at `url` are replaced in place (same path, new content). A node
5723
- * records the revision it downloaded next to the file
5721
+ * Content revision of the artefact, for one hosted OFF the CamStack mirror.
5722
+ * A format on the mirror leaves it unset: its revision (the sha256 of its
5723
+ * weight file) comes from the downloader's generated table, kept in step
5724
+ * with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
5725
+ * node records the revision it downloaded next to the file
5724
5726
  * (`<file>.revision`); a copy with no record or a different one is stale
5725
- * and is downloaded again, the old copy serving until the new one is
5726
- * complete. Omitted ⇒ a file on disk is current, whatever it holds (D743).
5727
+ * unless its weight file hashes to the revision, and a stale copy is
5728
+ * downloaded again, the old one serving until the new one is complete. No
5729
+ * revision at all ⇒ a file on disk is current, whatever it holds (D743).
5727
5730
  */
5728
5731
  revision: zod.z.string().min(1).optional()
5729
5732
  });
package/dist/index.mjs CHANGED
@@ -5717,12 +5717,15 @@ var ModelFormatEntrySchema = z.object({
5717
5717
  /** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
5718
5718
  runtimes: z.array(z.enum(["python"])).readonly().optional(),
5719
5719
  /**
5720
- * Content revision of the hosted artefact. Set it, or change it, whenever
5721
- * the bytes at `url` are replaced in place (same path, new content). A node
5722
- * records the revision it downloaded next to the file
5720
+ * Content revision of the artefact, for one hosted OFF the CamStack mirror.
5721
+ * A format on the mirror leaves it unset: its revision (the sha256 of its
5722
+ * weight file) comes from the downloader's generated table, kept in step
5723
+ * with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
5724
+ * node records the revision it downloaded next to the file
5723
5725
  * (`<file>.revision`); a copy with no record or a different one is stale
5724
- * and is downloaded again, the old copy serving until the new one is
5725
- * complete. Omitted ⇒ a file on disk is current, whatever it holds (D743).
5726
+ * unless its weight file hashes to the revision, and a stale copy is
5727
+ * downloaded again, the old one serving until the new one is complete. No
5728
+ * revision at all ⇒ a file on disk is current, whatever it holds (D743).
5726
5729
  */
5727
5730
  revision: z.string().min(1).optional()
5728
5731
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.2.315",
3
+ "version": "1.2.316",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",