@runeditrun/rer 0.2.94 → 0.2.95

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 (54) hide show
  1. package/README.md +3 -0
  2. package/cli/README.md +3 -0
  3. package/cli/agent-journey-fixtures.mjs +1 -1
  4. package/cli/authoring.mjs +1 -1
  5. package/cli/business/carry-files.mjs +115 -0
  6. package/cli/business/carry.mjs +20 -81
  7. package/cli/business/choices.mjs +12 -7
  8. package/cli/contract.mjs +1 -1
  9. package/cli/door-clauses.mjs +28 -2
  10. package/cli/hosted-output.mjs +4 -2
  11. package/cli/hosted-queue-producers.mjs +43 -0
  12. package/cli/jsonc.mjs +1 -115
  13. package/cli/parse.mjs +1 -1
  14. package/cli/portability-migrations.mjs +2 -12
  15. package/edition-authoring/archive-source.mjs +86 -1
  16. package/edition-authoring/base-copies.mjs +15 -45
  17. package/edition-authoring/cli.mjs +1 -1
  18. package/edition-authoring/edition-migrations.mjs +2 -2
  19. package/edition-authoring/module-closure.mjs +119 -50
  20. package/edition-authoring/module-packages.mjs +12 -5
  21. package/edition-authoring/module-syntax.mjs +13 -50
  22. package/edition-authoring/runtime-dependencies.mjs +4 -4
  23. package/global/CHANGELOG.md +38 -0
  24. package/global/README.md +3 -0
  25. package/modules/agent-door/CLAUSES.md +12 -0
  26. package/modules/agent-door/conformance/audit.mjs +22 -4
  27. package/modules/agent-door/conformance/discovery.mjs +32 -1
  28. package/modules/agent-door/conformance/erasure.mjs +103 -0
  29. package/modules/agent-door/conformance/journey.mjs +19 -1
  30. package/modules/agent-door/conformance/policy-phases.mjs +6 -0
  31. package/modules/agent-door/conformance/protocol.mjs +13 -3
  32. package/modules/deploy-kit/jsonc.mjs +115 -0
  33. package/modules/deploy-kit/migration-directory.mjs +16 -0
  34. package/modules/deploy-kit/prepare.mjs +1 -1
  35. package/modules/deploy-kit/templates.mjs +9 -4
  36. package/modules/erasure/cascade.mjs +4 -4
  37. package/modules/erasure/index.d.mts +1 -1
  38. package/modules/erasure/index.mjs +1 -1
  39. package/modules/import-kit/src/d1/README.md +16 -1
  40. package/modules/import-kit/src/d1/preserved-reverse.ts +5 -2
  41. package/modules/import-kit/src/d1/read-fence.ts +14 -2
  42. package/modules/import-kit/src/d1/reverse.ts +4 -1
  43. package/modules/import-kit/src/d1/sets.ts +8 -0
  44. package/modules/import-kit/src/d1/snapshot-text.ts +68 -0
  45. package/modules/import-kit/src/d1/undo-report.ts +4 -1
  46. package/modules/import-kit/src/door/ADOPTING.md +9 -4
  47. package/modules/portability/README.md +28 -2
  48. package/modules/portability/bookkeeping.mjs +8 -4
  49. package/modules/portability/checkout-history.mjs +12 -6
  50. package/modules/portability/import.mjs +1 -1
  51. package/modules/portability/storage.mjs +7 -1
  52. package/modules/portability/worker-history.d.mts +1 -1
  53. package/modules/portability/worker-history.mjs +1 -1
  54. package/package.json +1 -1
@@ -5,5 +5,5 @@ export interface MigrationEvidence {
5
5
  objects:{name:string;sql:string;type:string;tbl_name:string}[];
6
6
  prefixes:{objects:number[];shadows:string[];seeds:{name:string;columns:string[];hashes:string[]}[]}[];
7
7
  }
8
- /** Return a replay bound to the destination's hashed ledger and complete schema. */
8
+ /** Return a replay bound to the destination's hashed history or exact native Wrangler prefix, and complete schema. */
9
9
  export function workerMigrations(db:D1Database,policy:ArchivePolicy,evidence:MigrationEvidence):Promise<MigrationReplay>;
@@ -24,6 +24,6 @@ export async function workerMigrations(db,input,evidence) {
24
24
  async rowImages(requests){return new Map(requests.filter(r=>final.seeds.some(s=>s.name===r.name && !s.hashes.length)).map(r=>[r.name,[]]));},
25
25
  async rowHashes(requests,limit){return new Map(requests.flatMap(r=>{const found=final.seeds.find(s=>s.name===r.name && s.hashes.length<=limit && canonicalJson(s.columns)===canonicalJson(r.columns));return found?[[r.name,found.hashes]]:[];}));},
26
26
  };
27
- });
27
+ },{nativeWrangler:true});
28
28
  }catch(error){if(error instanceof PortabilityError)throw error;throw new PortabilityError('schema_mismatch:legacy_evidence',409);}
29
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runeditrun/rer",
3
- "version": "0.2.94",
3
+ "version": "0.2.95",
4
4
  "description": "The rer command: install, set up, run and launch Run Edit Run checkouts.",
5
5
  "license": "MIT",
6
6
  "type": "module",