@orkestrel/scaffold 0.0.118 → 0.0.120

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 (55) hide show
  1. package/dist/bin/main.js +15 -15
  2. package/dist/bin/main.js.map +1 -1
  3. package/dist/host/agents/platforms/windows.md +2 -1
  4. package/dist/host/agents/skills/orkestrel-journey/references/layer.md +10 -10
  5. package/dist/host/agents/skills/orkestrel-journey/references/statechart.md +1 -1
  6. package/dist/host/agents/skills/orkestrel-journey/references/styles.md +3 -3
  7. package/dist/host/agents/skills/orkestrel-publish/references/release.md +1 -0
  8. package/dist/host/agents/skills/orkestrel-publish/references/wave.md +2 -1
  9. package/dist/host/claude/agents/orkestrel.md +27 -26
  10. package/dist/host/claude/rules/names.md +3 -2
  11. package/dist/host/claude/rules/tests.md +4 -2
  12. package/dist/host/claude/rules/typescript.md +2 -3
  13. package/dist/host/claude/rules/workspace.md +2 -1
  14. package/dist/host/guides/abort.md +0 -4
  15. package/dist/host/guides/budget.md +1 -5
  16. package/dist/host/guides/codec.md +18 -3
  17. package/dist/host/guides/contract.md +23 -44
  18. package/dist/host/guides/csv.md +86 -93
  19. package/dist/host/guides/database.md +0 -4
  20. package/dist/host/guides/emitter.md +0 -2
  21. package/dist/host/guides/form.md +26 -47
  22. package/dist/host/guides/html.md +3 -7
  23. package/dist/host/guides/indexeddb.md +28 -32
  24. package/dist/host/guides/jsonrpc.md +187 -0
  25. package/dist/host/guides/markdown.md +132 -141
  26. package/dist/host/guides/msg.md +47 -63
  27. package/dist/host/guides/ndjson.md +0 -4
  28. package/dist/host/guides/pool.md +0 -4
  29. package/dist/host/guides/process.md +71 -79
  30. package/dist/host/guides/reason.md +30 -36
  31. package/dist/host/guides/router.md +11 -18
  32. package/dist/host/guides/scaffold.md +147 -137
  33. package/dist/host/guides/sqlite.md +0 -4
  34. package/dist/host/guides/sse.md +6 -10
  35. package/dist/host/guides/table.md +481 -493
  36. package/dist/host/guides/template.md +0 -4
  37. package/dist/host/guides/test.md +46 -66
  38. package/dist/host/guides/timeout.md +0 -6
  39. package/dist/host/guides/tool.md +2 -6
  40. package/dist/host/guides/websocket.md +0 -4
  41. package/dist/host/manifest.json +100 -428
  42. package/dist/host/tests/setupPolicy.ts +18 -6
  43. package/dist/src/core/index.cjs +171 -122
  44. package/dist/src/core/index.cjs.map +1 -1
  45. package/dist/src/core/index.d.cts +236 -213
  46. package/dist/src/core/index.d.ts +236 -213
  47. package/dist/src/core/index.js +159 -111
  48. package/dist/src/core/index.js.map +1 -1
  49. package/dist/src/server/index.cjs +62 -39
  50. package/dist/src/server/index.cjs.map +1 -1
  51. package/dist/src/server/index.d.cts +59 -54
  52. package/dist/src/server/index.d.ts +59 -54
  53. package/dist/src/server/index.js +63 -40
  54. package/dist/src/server/index.js.map +1 -1
  55. package/package.json +9 -9
@@ -1,6 +1,6 @@
1
1
  import { createRequire } from "node:module";
2
- import { andOf, arrayOf, attempt, boundsOf, compareValues, compileGuard, holds, isArray, isBoolean, isDefined, isError, isFunction, isInteger, isNonNegativeInteger, isNumber, isObject, isRecord, isString, parseJSON, parseJSONAs, parseStringField, recordOf, recordShape, stringOf, stringShape, unionOf, whereOf } from "@orkestrel/contract";
3
- import { CANON_PATHS, CATALOG_AGENT_PATH, CATALOG_END_MARKER, CATALOG_START_MARKER, CONTROL_CHARACTER_PATTERN, DEPENDENCY_NAME_PATTERN, EXECUTABLE_PATHS, HOST_INVENTORY_PATH, HOST_PATHS, MAX_ARTIFACT_BYTES, MAX_COLLECTION_ITEMS, MAX_DEPENDENCY_NAME_LENGTH, MAX_MANIFEST_BYTES, MAX_PATH_LENGTH, MAX_RANGE_LENGTH, MAX_REGISTRY_BYTES, MAX_TOTAL_ARTIFACT_BYTES, MAX_TOTAL_REGISTRY_BYTES, REFERENCE_PATHS, ScaffoldError, bytesToHex, catalogToLayers, cloneValue, collectSurfaceCollisions, collectSurfaceConflicts, compareSurfaceCollisions, compareVersions, computeBytes, computeTotal, contentToHex, extractRangeMajor, extractVersion, inferGroup, insertManifestDependencies, isAudit, isCatalogEntry, isCollection, isDependency, isDependencyName, isFloorPath, isHex, isManifestScript, isMirror, isPath, isPlan, isRetainedPath, isSnapshot, iterateAnswers, manifestToName, matchesDriftReachability, matchesRange, nameToGuide, planToFindings, renderSkillPointer, replaceManifestOverrides, replaceManifestRanges, replaceManifestScripts } from "../core/index.js";
2
+ import { andOf, arrayOf, attempt, boundsOf, comparePrimitives, compileGuard, holds, isArray, isBoolean, isDefined, isError, isFunction, isInteger, isNonNegativeInteger, isNumber, isObject, isRecord, isString, parseJSON, parseJSONAs, parseStringField, recordOf, recordShape, stringOf, stringShape, unionOf, whereOf } from "@orkestrel/contract";
3
+ import { CANON_PATHS, CATALOG_AGENT_PATH, CATALOG_END_MARKER, CATALOG_START_MARKER, CONTROL_CHARACTER_PATTERN, DEPENDENCY_NAME_PATTERN, EXECUTABLE_PATHS, HOST_INVENTORY_PATH, HOST_PATHS, MAX_ARTIFACT_BYTES, MAX_COLLECTION_ITEMS, MAX_DEPENDENCY_NAME_LENGTH, MAX_MANIFEST_BYTES, MAX_PATH_LENGTH, MAX_RANGE_LENGTH, MAX_REGISTRY_BYTES, MAX_TOTAL_ARTIFACT_BYTES, MAX_TOTAL_REGISTRY_BYTES, REFERENCE_PATHS, SURFACE_TRANSFERS, ScaffoldError, bytesToHex, catalogToLayers, collectSurfaceCollisions, collectSurfaceConflicts, compareSurfaceCollisions, compareVersions, computeBytes, computeTotal, contentToHex, extractRangeMajor, extractVersion, inferArtifactGroup, insertManifestDependencies, isAudit, isCatalogEntry, isCollection, isDependency, isDependencyName, isFloorPath, isHexContent, isManifestScript, isMirror, isPath, isPlan, isRetainedPath, isSnapshot, iterateAnswers, manifestToName, matchesArtifactDriftReachability, matchesRange, nameToGuide, parseOwnedJSONValue, planToArtifactFindings, renderSkillPointer, replaceManifestOverrides, replaceManifestRanges, replaceManifestScripts } from "../core/index.js";
4
4
  import { createHash, randomUUID } from "node:crypto";
5
5
  import { chmodSync, closeSync, constants, copyFileSync, fstatSync, linkSync, lstatSync, mkdirSync, mkdtempSync, openSync, opendirSync, readSync, readdirSync, readlinkSync, realpathSync, renameSync, rmSync, rmdirSync, writeFileSync } from "node:fs";
6
6
  import { tmpdir } from "node:os";
@@ -364,7 +364,7 @@ function computeDigest(content) {
364
364
  * ```
365
365
  */
366
366
  function hexToDigest(hex) {
367
- if (!isHex(hex)) throw new ScaffoldError("INVALID", "Digest input is not exact hexadecimal bytes", { hex });
367
+ if (!isHexContent(hex)) throw new ScaffoldError("INVALID", "Digest input is not exact hexadecimal bytes", { hex });
368
368
  return createHash("sha256").update(Buffer.from(hex, "hex")).digest("hex");
369
369
  }
370
370
  /**
@@ -389,7 +389,7 @@ function hexToDigest(hex) {
389
389
  * ```
390
390
  */
391
391
  function decodeHexText(hex) {
392
- if (!isHex(hex)) throw new ScaffoldError("INVALID", "Decode input is not exact hexadecimal bytes", { hex });
392
+ if (!isHexContent(hex)) throw new ScaffoldError("INVALID", "Decode input is not exact hexadecimal bytes", { hex });
393
393
  const decoded = attempt(() => new TextDecoder("utf-8", { fatal: true }).decode(Buffer.from(hex, "hex")));
394
394
  return decoded.success ? decoded.value : void 0;
395
395
  }
@@ -1008,7 +1008,7 @@ function listCanonPaths(target, groups) {
1008
1008
  if (full === void 0) return [];
1009
1009
  if (isPhysicalFile(full)) return [member];
1010
1010
  return isPhysicalDirectory(full) ? listFiles(full).map((name) => `${member}/${name}`) : [];
1011
- }).filter((path) => groups.includes(inferGroup(path)));
1011
+ }).filter((path) => groups.includes(inferArtifactGroup(path)));
1012
1012
  }
1013
1013
  /**
1014
1014
  * Removes every directory one set of deletions emptied.
@@ -1041,7 +1041,7 @@ function listCanonPaths(target, groups) {
1041
1041
  * ```
1042
1042
  */
1043
1043
  function pruneEmptiedDirectories(target, removed) {
1044
- return [...new Set(Iterator.from(removed).flatMap((path) => listAncestors(path).slice(1, -1)).toArray())].sort((left, right) => compareValues(right.split("/").length, left.split("/").length) || compareValues(left, right)).flatMap((candidate) => {
1044
+ return [...new Set(Iterator.from(removed).flatMap((path) => listAncestors(path).slice(1, -1)).toArray())].sort((left, right) => comparePrimitives(right.split("/").length, left.split("/").length) || comparePrimitives(left, right)).flatMap((candidate) => {
1045
1045
  const directory = resolveContainedPath(target, candidate);
1046
1046
  if (directory === void 0 || !isPhysicalDirectory(directory)) return [];
1047
1047
  const entries = attempt(() => readdirSync(directory));
@@ -1326,13 +1326,13 @@ function readHostFloor(root) {
1326
1326
  *
1327
1327
  * @example
1328
1328
  * ```ts
1329
- * import { readManifestEntry } from '@orkestrel/scaffold/server'
1329
+ * import { readHostManifestEntry } from '@orkestrel/scaffold/server'
1330
1330
  *
1331
- * readManifestEntry('.gitignore', '/tmp/checkout/.gitignore')
1331
+ * readHostManifestEntry('.gitignore', '/tmp/checkout/.gitignore')
1332
1332
  * // { storage: 'dotfiles/gitignore', destination: '.gitignore', executable: false, digest: '...' }
1333
1333
  * ```
1334
1334
  */
1335
- function readManifestEntry(destination, source) {
1335
+ function readHostManifestEntry(destination, source) {
1336
1336
  const digest = computeFileDigest(source);
1337
1337
  if (digest === void 0) return void 0;
1338
1338
  return {
@@ -1491,8 +1491,9 @@ function stageBytes(host, root, destinations) {
1491
1491
  * host root is not vacant, the checkout does not carry every vendored path, two
1492
1492
  * vendored files claim one storage name, a vendored file is not a plain file
1493
1493
  * within the artifact ceiling, published guides are unreadable, a staged
1494
- * collision's owner set is not a subset of its published owner set, the inventory is absent without
1495
- * `establish: true`, or the staged manifest does not read back.
1494
+ * collision's owner set is not a subset of its published owner set, a
1495
+ * `SURFACE_TRANSFERS` entry is spent because its keeper alone claims the name, the
1496
+ * inventory is absent without `establish: true`, or the staged manifest does not read back.
1496
1497
  * @throws `ScaffoldError('WRITE', …)` when a staged file or the manifest cannot
1497
1498
  * be written.
1498
1499
  *
@@ -1528,7 +1529,10 @@ function stageBytes(host, root, destinations) {
1528
1529
  * the canon and reference files for reading. Every catalog package must have a
1529
1530
  * guide in the discovered membership before the host is written.
1530
1531
  * Copied guides must carry no collision whose name and exact owner set the
1531
- * committed inventory lacks. An absent inventory requires `establish: true`;
1532
+ * committed inventory lacks. A `SURFACE_TRANSFERS` entry that another guide claims
1533
+ * admits its keeper beside the recorded owners, or beside the one owner of a name
1534
+ * the inventory lacks, and the staged surface records that keeper whether or not
1535
+ * its guide is mirrored. An absent inventory requires `establish: true`;
1532
1536
  * an inventory without a valid recorded Surface is refused.
1533
1537
  * Everything downstream — the missing-path refusal, the
1534
1538
  * storage collision guard, the sort, the digests, and the root inventory — reads
@@ -1543,7 +1547,7 @@ function stageBytes(host, root, destinations) {
1543
1547
  * ```ts
1544
1548
  * import { stageHost } from '@orkestrel/scaffold/server'
1545
1549
  *
1546
- * stageHost(process.cwd(), 'dist/host') // one ManifestEntry per file staged
1550
+ * stageHost(process.cwd(), 'dist/host') // one HostManifestEntry per file staged
1547
1551
  * ```
1548
1552
  */
1549
1553
  function stageHost(checkout, host, options) {
@@ -1608,7 +1612,7 @@ function stageHost(checkout, host, options) {
1608
1612
  checkout: source,
1609
1613
  path: destination
1610
1614
  });
1611
- const entry = readManifestEntry(destination, full);
1615
+ const entry = readHostManifestEntry(destination, full);
1612
1616
  if (entry === void 0) throw new ScaffoldError("TARGET", `Vendored path is not a plain file within the artifact ceiling at ${destination}`, {
1613
1617
  checkout: source,
1614
1618
  path: destination,
@@ -1669,29 +1673,48 @@ function stageHost(checkout, host, options) {
1669
1673
  digest
1670
1674
  };
1671
1675
  });
1672
- const collisions = readSurfaceCollisions(join(root, "guides"));
1673
- const growth = published === void 0 ? [] : compareSurfaceCollisions([...collisions].map(([name, owners]) => ({
1676
+ const claims = readSurfaceClaims(join(root, "guides"));
1677
+ const claimants = Map.groupBy(claims.flatMap(({ owner, names }) => names.map((name) => ({
1674
1678
  name,
1675
- owners
1676
- })), [...published].map(([name, owners]) => ({
1679
+ owner
1680
+ }))), ({ name }) => name);
1681
+ const transfers = SURFACE_TRANSFERS.map((transfer) => {
1682
+ const owners = new Set(claimants.get(transfer.name)?.map(({ owner }) => owner));
1683
+ return {
1684
+ ...transfer,
1685
+ claimed: owners.has(transfer.keeper),
1686
+ givers: [...owners].filter((owner) => owner !== transfer.keeper).sort()
1687
+ };
1688
+ });
1689
+ const spent = transfers.filter(({ claimed, givers }) => claimed && givers.length === 0).map(({ name, keeper, item }) => `${name} to ${keeper} under item ${item}`);
1690
+ if (spent.length > 0) throw new ScaffoldError("TARGET", `Surface transfers are spent, so remove them from SURFACE_TRANSFERS: ${spent.join("; ")}`, {
1691
+ checkout: source,
1692
+ host: root,
1693
+ transfers: spent
1694
+ });
1695
+ const active = transfers.filter(({ givers }) => givers.length > 0);
1696
+ const collisions = collectSurfaceCollisions([...claims, ...active.map(({ name, keeper }) => ({
1697
+ owner: keeper,
1698
+ names: [name]
1699
+ }))]);
1700
+ const growth = published === void 0 ? [] : compareSurfaceCollisions(collisions, [...new Map([...published, ...active.map(({ name, keeper, givers }) => [name, [...published.get(name) ?? (givers.length === 1 ? givers : []), keeper]])])].map(([name, owners]) => ({
1677
1701
  name,
1678
1702
  owners
1679
- }))).filter(({ standing }) => standing === "error").map(({ name, owners }) => `${name} staged (${owners.join(", ")}), recorded (${published.get(name)?.join(", ") ?? "absent"})`);
1703
+ }))).filter(({ standing }) => standing === "error").map(({ name, owners }) => {
1704
+ const keeper = active.find((transfer) => transfer.name === name)?.keeper;
1705
+ return `${name} staged (${owners.join(", ")}), recorded (${published.get(name)?.join(", ") ?? "absent"})${keeper === void 0 ? "" : `, transferred to ${keeper}`}`;
1706
+ });
1680
1707
  if (growth.length > 0) throw new ScaffoldError("TARGET", `Staged Surface collisions differ from the inventory: ${growth.join("; ")}`, {
1681
1708
  checkout: source,
1682
1709
  host: root,
1683
1710
  baseline,
1684
1711
  collisions: growth
1685
1712
  });
1686
- const surface = [...collisions].map(([name, owners]) => ({
1687
- name,
1688
- owners
1689
- }));
1690
1713
  const manifest = {
1691
1714
  entries,
1692
1715
  roots,
1693
- surface,
1694
- digest: computeManifestDigest(entries, roots, surface)
1716
+ surface: collisions,
1717
+ digest: computeManifestDigest(entries, roots, collisions)
1695
1718
  };
1696
1719
  const metadata = resolveContainedPath(root, MANIFEST_NAME);
1697
1720
  if (metadata === void 0) throw new ScaffoldError("INVALID", `Host manifest leaves its root at ${root}`, { host: root });
@@ -2403,7 +2426,7 @@ var isMirrors = andOf(isCollection, arrayOf(isMirror));
2403
2426
  /** Narrows a value to a bounded list of fleet catalog rows. */
2404
2427
  var isCatalogEntries = andOf(isCollection, arrayOf(isCatalogEntry));
2405
2428
  /**
2406
- * Narrows a value to one {@link ManifestEntry}.
2429
+ * Narrows a value to one {@link HostManifestEntry}.
2407
2430
  *
2408
2431
  * @remarks
2409
2432
  * Both paths are measured by the core path law, because a vendored host's
@@ -2413,9 +2436,9 @@ var isCatalogEntries = andOf(isCollection, arrayOf(isCatalogEntry));
2413
2436
  *
2414
2437
  * @example
2415
2438
  * ```ts
2416
- * import { isManifestEntry } from '@orkestrel/scaffold/server'
2439
+ * import { isHostManifestEntry } from '@orkestrel/scaffold/server'
2417
2440
  *
2418
- * isManifestEntry({
2441
+ * isHostManifestEntry({
2419
2442
  * storage: 'AGENTS.md',
2420
2443
  * destination: 'AGENTS.md',
2421
2444
  * executable: false,
@@ -2423,7 +2446,7 @@ var isCatalogEntries = andOf(isCollection, arrayOf(isCatalogEntry));
2423
2446
  * }) // true
2424
2447
  * ```
2425
2448
  */
2426
- var isManifestEntry = recordOf({
2449
+ var isHostManifestEntry = recordOf({
2427
2450
  storage: isPath,
2428
2451
  destination: isPath,
2429
2452
  executable: isBoolean,
@@ -2439,7 +2462,7 @@ var isManifestEntry = recordOf({
2439
2462
  * the syntax of the digest that authenticates that membership.
2440
2463
  */
2441
2464
  var isHostManifest = recordOf({
2442
- entries: andOf(isCollection, arrayOf(isManifestEntry)),
2465
+ entries: andOf(isCollection, arrayOf(isHostManifestEntry)),
2443
2466
  roots: andOf(isCollection, arrayOf(isPath)),
2444
2467
  surface: whereOf(arrayOf(recordOf({
2445
2468
  name: stringOf({ min: 1 }),
@@ -3280,7 +3303,7 @@ var Materializer = class {
3280
3303
  * match the ones the audit carried for every path the plan owns; anything else
3281
3304
  * means the target moved, and the whole call is refused. The audit is checked
3282
3305
  * for agreement rather than for plausibility, so a verdict the comparison could
3283
- * not have produced — a birth-owned path reported stale, which the `Finding`
3306
+ * not have produced — a birth-owned path reported stale, which the `ArtifactFinding`
3284
3307
  * shape admits — disagrees with the derived one and is refused. A missing
3285
3308
  * destination is restored whatever its ownership; a stale one is replaced only
3286
3309
  * where the artifact claims its bytes, which is what leaves a presence-owned
@@ -3347,7 +3370,7 @@ var Materializer = class {
3347
3370
  preconditions.push(this.#bind(directory, fetched.path, current === void 0));
3348
3371
  writes.push(fetched.lookup === "found" ? {
3349
3372
  path: fetched.path,
3350
- group: inferGroup(fetched.path),
3373
+ group: inferArtifactGroup(fetched.path),
3351
3374
  ownership: "content",
3352
3375
  origin: "computed",
3353
3376
  content: fetched.content
@@ -3498,7 +3521,7 @@ var Materializer = class {
3498
3521
  this.#emitter.destroy();
3499
3522
  }
3500
3523
  #own(host) {
3501
- const owned = cloneValue(host);
3524
+ const owned = parseOwnedJSONValue(host);
3502
3525
  if (isHost(owned)) return owned;
3503
3526
  throw this.#error("INVALID", "The host argument is not the exact shape this materializer accepts.", { field: "host" });
3504
3527
  }
@@ -3588,7 +3611,7 @@ var Materializer = class {
3588
3611
  }
3589
3612
  }
3590
3613
  return {
3591
- findings: planToFindings(hydrated, readSnapshot(target, [...paths])),
3614
+ findings: planToArtifactFindings(hydrated, readSnapshot(target, [...paths])),
3592
3615
  questions
3593
3616
  };
3594
3617
  }
@@ -3758,7 +3781,7 @@ var Materializer = class {
3758
3781
  path: finding.path
3759
3782
  });
3760
3783
  if (other.drift === finding.drift && other.observed === finding.observed) continue;
3761
- if (!matchesDriftReachability(finding.ownership, other)) throw this.#error("TARGET", `The path ${finding.path} carries an audit verdict this plan could not produce.`, {
3784
+ if (!matchesArtifactDriftReachability(finding.ownership, other)) throw this.#error("TARGET", `The path ${finding.path} carries an audit verdict this plan could not produce.`, {
3762
3785
  target,
3763
3786
  path: finding.path,
3764
3787
  ownership: finding.ownership,
@@ -3835,7 +3858,7 @@ var Materializer = class {
3835
3858
  });
3836
3859
  return this.#apply(target, [{
3837
3860
  path,
3838
- group: inferGroup(path),
3861
+ group: inferArtifactGroup(path),
3839
3862
  ownership: "content",
3840
3863
  origin: "computed",
3841
3864
  content
@@ -4014,7 +4037,7 @@ var Materializer = class {
4014
4037
  return result;
4015
4038
  }
4016
4039
  #accept(value, guard, field) {
4017
- const snapshot = cloneValue(value);
4040
+ const snapshot = parseOwnedJSONValue(value);
4018
4041
  if (guard(snapshot)) return snapshot;
4019
4042
  throw this.#error("INVALID", `The ${field} argument is not the exact shape this materializer accepts.`, { field });
4020
4043
  }
@@ -4478,7 +4501,7 @@ var Upstream = class {
4478
4501
  note: inventory.note,
4479
4502
  ...carried
4480
4503
  };
4481
- if (inferGroup(path) === "guides") return {
4504
+ if (inferArtifactGroup(path) === "guides") return {
4482
4505
  path,
4483
4506
  lookup: "missing",
4484
4507
  note: `${path} is a guide mirror the fleet serves`,
@@ -4810,7 +4833,7 @@ var Upstream = class {
4810
4833
  return produced;
4811
4834
  }
4812
4835
  #accept(value, guard, field) {
4813
- const snapshot = cloneValue(value);
4836
+ const snapshot = parseOwnedJSONValue(value);
4814
4837
  if (guard(snapshot)) return snapshot;
4815
4838
  throw this.#error("INVALID", `The ${field} argument is not the exact shape this upstream reader accepts.`, { field });
4816
4839
  }
@@ -4823,6 +4846,6 @@ var Upstream = class {
4823
4846
  return error;
4824
4847
  }
4825
4848
  };
4826
- export { BRANCH_PATTERN, DEFAULT_BRANCH, DEFAULT_REGISTRY_BASE, DEFAULT_REPOSITORY_BASE, DEFAULT_UPSTREAM_CONCURRENCY, DEFAULT_UPSTREAM_RETRIES, DEFAULT_UPSTREAM_TIMEOUT, DIGEST_PATTERN, DRIVE_PATTERN, INVALID_SEGMENT_CHARACTER_PATTERN, MANIFEST_NAME, MAX_BRANCH_LENGTH, MAX_ENDPOINT_LENGTH, MAX_INVENTORY_PATHS, MAX_PATH_DEPTH, MAX_PATH_SEGMENT_BYTES, MAX_UPSTREAM_CONCURRENCY, MAX_UPSTREAM_RETRIES, MAX_UPSTREAM_TIMEOUT, Materializer, ORKESTREL_SCOPE, PACKUMENT_MEDIA_TYPE, RESERVED_SEGMENT_PATTERN, ReadAllowance, SCAFFOLD_REPOSITORY, UNREADABLE_VERSION_NOTE, Upstream, WriteTransaction, climbRealPath, collectIndexed, computeDigest, computeFileDigest, computeManifestDigest, decodeHexText, filesToHost, hexToDigest, isBranch, isCatalogEntries, isDependencies, isDependencyNames, isDigest, isEndpoint, isExactCaseFile, isFilesystemPath, isHost, isHostManifest, isInventory, isManifestEntry, isManifestRegionSet, isMaterializerHooks, isMaterializerOptions, isMirrors, isPaths, isPhysicalDirectory, isPhysicalFile, isSurfaceModule, isTimeout, isUpstreamHooks, isUpstreamOptions, isVacant, isWorktree, listAncestors, listCanonPaths, listDirectories, listFiles, matchesAnchor, matchesExecutablePath, matchesExpectation, matchesGitPath, matchesMissingPath, matchesPrecondition, matchesProtectedPath, matchesSensitivePath, pathToStorage, pruneEmptiedDirectories, readAnchor, readExpectation, readFileHex, readFileText, readHostFloor, readHostManifest, readManifestEntry, readSnapshot, readSurfaceBaseline, readSurfaceCandidate, readSurfaceClaims, readSurfaceCollisions, readSurfaceFile, readSurfaceGuide, readSurfaceModule, readSurfaceRecord, resolveContainedPath, resolveHostRoot, resolveRealPath, stageBytes, stageHost, stageInventory };
4849
+ export { BRANCH_PATTERN, DEFAULT_BRANCH, DEFAULT_REGISTRY_BASE, DEFAULT_REPOSITORY_BASE, DEFAULT_UPSTREAM_CONCURRENCY, DEFAULT_UPSTREAM_RETRIES, DEFAULT_UPSTREAM_TIMEOUT, DIGEST_PATTERN, DRIVE_PATTERN, INVALID_SEGMENT_CHARACTER_PATTERN, MANIFEST_NAME, MAX_BRANCH_LENGTH, MAX_ENDPOINT_LENGTH, MAX_INVENTORY_PATHS, MAX_PATH_DEPTH, MAX_PATH_SEGMENT_BYTES, MAX_UPSTREAM_CONCURRENCY, MAX_UPSTREAM_RETRIES, MAX_UPSTREAM_TIMEOUT, Materializer, ORKESTREL_SCOPE, PACKUMENT_MEDIA_TYPE, RESERVED_SEGMENT_PATTERN, ReadAllowance, SCAFFOLD_REPOSITORY, UNREADABLE_VERSION_NOTE, Upstream, WriteTransaction, climbRealPath, collectIndexed, computeDigest, computeFileDigest, computeManifestDigest, decodeHexText, filesToHost, hexToDigest, isBranch, isCatalogEntries, isDependencies, isDependencyNames, isDigest, isEndpoint, isExactCaseFile, isFilesystemPath, isHost, isHostManifest, isHostManifestEntry, isInventory, isManifestRegionSet, isMaterializerHooks, isMaterializerOptions, isMirrors, isPaths, isPhysicalDirectory, isPhysicalFile, isSurfaceModule, isTimeout, isUpstreamHooks, isUpstreamOptions, isVacant, isWorktree, listAncestors, listCanonPaths, listDirectories, listFiles, matchesAnchor, matchesExecutablePath, matchesExpectation, matchesGitPath, matchesMissingPath, matchesPrecondition, matchesProtectedPath, matchesSensitivePath, pathToStorage, pruneEmptiedDirectories, readAnchor, readExpectation, readFileHex, readFileText, readHostFloor, readHostManifest, readHostManifestEntry, readSnapshot, readSurfaceBaseline, readSurfaceCandidate, readSurfaceClaims, readSurfaceCollisions, readSurfaceFile, readSurfaceGuide, readSurfaceModule, readSurfaceRecord, resolveContainedPath, resolveHostRoot, resolveRealPath, stageBytes, stageHost, stageInventory };
4827
4850
 
4828
4851
  //# sourceMappingURL=index.js.map