@orkestrel/scaffold 0.0.119 → 0.0.121

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 (73) hide show
  1. package/dist/bin/main.js +19 -19
  2. package/dist/bin/main.js.map +1 -1
  3. package/dist/host/agents/skills/orkestrel-journey/references/layer.md +10 -10
  4. package/dist/host/agents/skills/orkestrel-journey/references/statechart.md +1 -1
  5. package/dist/host/agents/skills/orkestrel-journey/references/styles.md +3 -3
  6. package/dist/host/claude/agents/orkestrel.md +52 -51
  7. package/dist/host/claude/rules/tests.md +2 -2
  8. package/dist/host/claude/rules/typescript.md +2 -3
  9. package/dist/host/guides/abort.md +0 -4
  10. package/dist/host/guides/agent.md +5 -5
  11. package/dist/host/guides/brief.md +7 -15
  12. package/dist/host/guides/browser.md +1 -1
  13. package/dist/host/guides/budget.md +1 -5
  14. package/dist/host/guides/capture.md +2 -2
  15. package/dist/host/guides/codec.md +18 -3
  16. package/dist/host/guides/console.md +4 -30
  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/guide.md +0 -1
  23. package/dist/host/guides/html.md +3 -7
  24. package/dist/host/guides/indexeddb.md +28 -32
  25. package/dist/host/guides/interpret.md +165 -182
  26. package/dist/host/guides/jsonrpc.md +187 -0
  27. package/dist/host/guides/lsp.md +26 -51
  28. package/dist/host/guides/markdown.md +132 -141
  29. package/dist/host/guides/mcp.md +220 -276
  30. package/dist/host/guides/middleware.md +14 -22
  31. package/dist/host/guides/msg.md +47 -63
  32. package/dist/host/guides/ndjson.md +0 -4
  33. package/dist/host/guides/ollama.md +1 -3
  34. package/dist/host/guides/pool.md +0 -4
  35. package/dist/host/guides/probe.md +71 -80
  36. package/dist/host/guides/process.md +71 -79
  37. package/dist/host/guides/program.md +26 -35
  38. package/dist/host/guides/qualifier.md +0 -6
  39. package/dist/host/guides/queue.md +0 -4
  40. package/dist/host/guides/rater.md +6 -12
  41. package/dist/host/guides/reason.md +30 -36
  42. package/dist/host/guides/relation.md +0 -2
  43. package/dist/host/guides/router.md +11 -18
  44. package/dist/host/guides/scaffold.md +148 -144
  45. package/dist/host/guides/sea.md +47 -51
  46. package/dist/host/guides/server.md +15 -19
  47. package/dist/host/guides/sqlite.md +0 -4
  48. package/dist/host/guides/sse.md +6 -10
  49. package/dist/host/guides/table.md +481 -493
  50. package/dist/host/guides/template.md +0 -4
  51. package/dist/host/guides/terminal.md +0 -26
  52. package/dist/host/guides/test.md +46 -66
  53. package/dist/host/guides/timeout.md +0 -6
  54. package/dist/host/guides/tool.md +2 -6
  55. package/dist/host/guides/toolbox.md +0 -10
  56. package/dist/host/guides/websocket.md +0 -4
  57. package/dist/host/guides/worker.md +57 -57
  58. package/dist/host/guides/workflow.md +13 -26
  59. package/dist/host/guides/workspace.md +15 -21
  60. package/dist/host/manifest.json +64 -909
  61. package/dist/src/core/index.cjs +128 -181
  62. package/dist/src/core/index.cjs.map +1 -1
  63. package/dist/src/core/index.d.cts +213 -213
  64. package/dist/src/core/index.d.ts +213 -213
  65. package/dist/src/core/index.js +117 -170
  66. package/dist/src/core/index.js.map +1 -1
  67. package/dist/src/server/index.cjs +35 -34
  68. package/dist/src/server/index.cjs.map +1 -1
  69. package/dist/src/server/index.d.cts +62 -58
  70. package/dist/src/server/index.d.ts +62 -58
  71. package/dist/src/server/index.js +36 -35
  72. package/dist/src/server/index.js.map +1 -1
  73. package/package.json +13 -13
@@ -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, SURFACE_TRANSFERS, 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 {
@@ -1482,8 +1482,8 @@ function stageBytes(host, root, destinations) {
1482
1482
  *
1483
1483
  * @param checkout - The checkout the vendored paths are read from.
1484
1484
  * @param host - The vendored host root to fill; it must be absent or empty.
1485
- * @param options - The inventory selection, establishment switch, and reporting callback.
1486
- * Default: no reporting.
1485
+ * @param options - The inventory selection, establishment switch, reporting callback, and
1486
+ * declared transfers. Default: no reporting, and the transfers in `SURFACE_TRANSFERS`.
1487
1487
  * @returns One entry per staged file, sorted by storage name.
1488
1488
  * @throws `ScaffoldError('INVALID', …)` when either argument is not a host path
1489
1489
  * or a vendored path leaves the checkout or the host root.
@@ -1491,8 +1491,8 @@ 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, a
1495
- * `SURFACE_TRANSFERS` entry is spent because its keeper alone claims the name, the
1494
+ * collision's owner set is not a subset of its published owner set, a declared
1495
+ * transfer is spent because its keeper alone claims the name, the
1496
1496
  * inventory is absent without `establish: true`, or the staged manifest does not read back.
1497
1497
  * @throws `ScaffoldError('WRITE', …)` when a staged file or the manifest cannot
1498
1498
  * be written.
@@ -1529,10 +1529,11 @@ function stageBytes(host, root, destinations) {
1529
1529
  * the canon and reference files for reading. Every catalog package must have a
1530
1530
  * guide in the discovered membership before the host is written.
1531
1531
  * Copied guides must carry no collision whose name and exact owner set the
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
+ * committed inventory lacks. A declared transfer that another guide claims admits
1533
+ * its keeper beside the recorded owners, or beside the one owner of a name the
1534
+ * inventory lacks, and the staged surface records that keeper whether or not its
1535
+ * guide is mirrored. `options.transfers` declares the transfers, and its default is
1536
+ * `SURFACE_TRANSFERS`. An absent inventory requires `establish: true`;
1536
1537
  * an inventory without a valid recorded Surface is refused.
1537
1538
  * Everything downstream — the missing-path refusal, the
1538
1539
  * storage collision guard, the sort, the digests, and the root inventory — reads
@@ -1547,7 +1548,7 @@ function stageBytes(host, root, destinations) {
1547
1548
  * ```ts
1548
1549
  * import { stageHost } from '@orkestrel/scaffold/server'
1549
1550
  *
1550
- * stageHost(process.cwd(), 'dist/host') // one ManifestEntry per file staged
1551
+ * stageHost(process.cwd(), 'dist/host') // one HostManifestEntry per file staged
1551
1552
  * ```
1552
1553
  */
1553
1554
  function stageHost(checkout, host, options) {
@@ -1612,7 +1613,7 @@ function stageHost(checkout, host, options) {
1612
1613
  checkout: source,
1613
1614
  path: destination
1614
1615
  });
1615
- const entry = readManifestEntry(destination, full);
1616
+ const entry = readHostManifestEntry(destination, full);
1616
1617
  if (entry === void 0) throw new ScaffoldError("TARGET", `Vendored path is not a plain file within the artifact ceiling at ${destination}`, {
1617
1618
  checkout: source,
1618
1619
  path: destination,
@@ -1678,7 +1679,7 @@ function stageHost(checkout, host, options) {
1678
1679
  name,
1679
1680
  owner
1680
1681
  }))), ({ name }) => name);
1681
- const transfers = SURFACE_TRANSFERS.map((transfer) => {
1682
+ const transfers = (options?.transfers ?? SURFACE_TRANSFERS).map((transfer) => {
1682
1683
  const owners = new Set(claimants.get(transfer.name)?.map(({ owner }) => owner));
1683
1684
  return {
1684
1685
  ...transfer,
@@ -2426,7 +2427,7 @@ var isMirrors = andOf(isCollection, arrayOf(isMirror));
2426
2427
  /** Narrows a value to a bounded list of fleet catalog rows. */
2427
2428
  var isCatalogEntries = andOf(isCollection, arrayOf(isCatalogEntry));
2428
2429
  /**
2429
- * Narrows a value to one {@link ManifestEntry}.
2430
+ * Narrows a value to one {@link HostManifestEntry}.
2430
2431
  *
2431
2432
  * @remarks
2432
2433
  * Both paths are measured by the core path law, because a vendored host's
@@ -2436,9 +2437,9 @@ var isCatalogEntries = andOf(isCollection, arrayOf(isCatalogEntry));
2436
2437
  *
2437
2438
  * @example
2438
2439
  * ```ts
2439
- * import { isManifestEntry } from '@orkestrel/scaffold/server'
2440
+ * import { isHostManifestEntry } from '@orkestrel/scaffold/server'
2440
2441
  *
2441
- * isManifestEntry({
2442
+ * isHostManifestEntry({
2442
2443
  * storage: 'AGENTS.md',
2443
2444
  * destination: 'AGENTS.md',
2444
2445
  * executable: false,
@@ -2446,7 +2447,7 @@ var isCatalogEntries = andOf(isCollection, arrayOf(isCatalogEntry));
2446
2447
  * }) // true
2447
2448
  * ```
2448
2449
  */
2449
- var isManifestEntry = recordOf({
2450
+ var isHostManifestEntry = recordOf({
2450
2451
  storage: isPath,
2451
2452
  destination: isPath,
2452
2453
  executable: isBoolean,
@@ -2462,7 +2463,7 @@ var isManifestEntry = recordOf({
2462
2463
  * the syntax of the digest that authenticates that membership.
2463
2464
  */
2464
2465
  var isHostManifest = recordOf({
2465
- entries: andOf(isCollection, arrayOf(isManifestEntry)),
2466
+ entries: andOf(isCollection, arrayOf(isHostManifestEntry)),
2466
2467
  roots: andOf(isCollection, arrayOf(isPath)),
2467
2468
  surface: whereOf(arrayOf(recordOf({
2468
2469
  name: stringOf({ min: 1 }),
@@ -3303,7 +3304,7 @@ var Materializer = class {
3303
3304
  * match the ones the audit carried for every path the plan owns; anything else
3304
3305
  * means the target moved, and the whole call is refused. The audit is checked
3305
3306
  * for agreement rather than for plausibility, so a verdict the comparison could
3306
- * not have produced — a birth-owned path reported stale, which the `Finding`
3307
+ * not have produced — a birth-owned path reported stale, which the `ArtifactFinding`
3307
3308
  * shape admits — disagrees with the derived one and is refused. A missing
3308
3309
  * destination is restored whatever its ownership; a stale one is replaced only
3309
3310
  * where the artifact claims its bytes, which is what leaves a presence-owned
@@ -3370,7 +3371,7 @@ var Materializer = class {
3370
3371
  preconditions.push(this.#bind(directory, fetched.path, current === void 0));
3371
3372
  writes.push(fetched.lookup === "found" ? {
3372
3373
  path: fetched.path,
3373
- group: inferGroup(fetched.path),
3374
+ group: inferArtifactGroup(fetched.path),
3374
3375
  ownership: "content",
3375
3376
  origin: "computed",
3376
3377
  content: fetched.content
@@ -3521,7 +3522,7 @@ var Materializer = class {
3521
3522
  this.#emitter.destroy();
3522
3523
  }
3523
3524
  #own(host) {
3524
- const owned = cloneValue(host);
3525
+ const owned = parseOwnedJSONValue(host);
3525
3526
  if (isHost(owned)) return owned;
3526
3527
  throw this.#error("INVALID", "The host argument is not the exact shape this materializer accepts.", { field: "host" });
3527
3528
  }
@@ -3611,7 +3612,7 @@ var Materializer = class {
3611
3612
  }
3612
3613
  }
3613
3614
  return {
3614
- findings: planToFindings(hydrated, readSnapshot(target, [...paths])),
3615
+ findings: planToArtifactFindings(hydrated, readSnapshot(target, [...paths])),
3615
3616
  questions
3616
3617
  };
3617
3618
  }
@@ -3781,7 +3782,7 @@ var Materializer = class {
3781
3782
  path: finding.path
3782
3783
  });
3783
3784
  if (other.drift === finding.drift && other.observed === finding.observed) continue;
3784
- if (!matchesDriftReachability(finding.ownership, other)) throw this.#error("TARGET", `The path ${finding.path} carries an audit verdict this plan could not produce.`, {
3785
+ if (!matchesArtifactDriftReachability(finding.ownership, other)) throw this.#error("TARGET", `The path ${finding.path} carries an audit verdict this plan could not produce.`, {
3785
3786
  target,
3786
3787
  path: finding.path,
3787
3788
  ownership: finding.ownership,
@@ -3858,7 +3859,7 @@ var Materializer = class {
3858
3859
  });
3859
3860
  return this.#apply(target, [{
3860
3861
  path,
3861
- group: inferGroup(path),
3862
+ group: inferArtifactGroup(path),
3862
3863
  ownership: "content",
3863
3864
  origin: "computed",
3864
3865
  content
@@ -4037,7 +4038,7 @@ var Materializer = class {
4037
4038
  return result;
4038
4039
  }
4039
4040
  #accept(value, guard, field) {
4040
- const snapshot = cloneValue(value);
4041
+ const snapshot = parseOwnedJSONValue(value);
4041
4042
  if (guard(snapshot)) return snapshot;
4042
4043
  throw this.#error("INVALID", `The ${field} argument is not the exact shape this materializer accepts.`, { field });
4043
4044
  }
@@ -4501,7 +4502,7 @@ var Upstream = class {
4501
4502
  note: inventory.note,
4502
4503
  ...carried
4503
4504
  };
4504
- if (inferGroup(path) === "guides") return {
4505
+ if (inferArtifactGroup(path) === "guides") return {
4505
4506
  path,
4506
4507
  lookup: "missing",
4507
4508
  note: `${path} is a guide mirror the fleet serves`,
@@ -4833,7 +4834,7 @@ var Upstream = class {
4833
4834
  return produced;
4834
4835
  }
4835
4836
  #accept(value, guard, field) {
4836
- const snapshot = cloneValue(value);
4837
+ const snapshot = parseOwnedJSONValue(value);
4837
4838
  if (guard(snapshot)) return snapshot;
4838
4839
  throw this.#error("INVALID", `The ${field} argument is not the exact shape this upstream reader accepts.`, { field });
4839
4840
  }
@@ -4846,6 +4847,6 @@ var Upstream = class {
4846
4847
  return error;
4847
4848
  }
4848
4849
  };
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, 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 };
4850
+ 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 };
4850
4851
 
4851
4852
  //# sourceMappingURL=index.js.map