@evident-ai/runner-synchroniser 3.2.0 → 3.2.1-dev.0fe02fb

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 (2) hide show
  1. package/README.md +11 -13
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -15,10 +15,9 @@ the boot script gates on. It also renders the `litestream.yml` that covers the s
15
15
  database, so both halves read their bucket, prefix and paths from one config module
16
16
  instead of two.
17
17
 
18
- It is a CLI, not a library, invoked by two consumers that differ in how they get the
19
- binary: the Fargate runner image installs the published package and invokes it by name
20
- (`runner-synchroniser <command>`); the MicroVM still builds it from source and runs the
21
- bundle directly (`node cli.js <command>`).
18
+ It is a CLI, not a library, invoked by two consumers the Fargate runner image and the
19
+ MicroVM image both of which install the published package and invoke it by name
20
+ (`runner-synchroniser <command>`).
22
21
 
23
22
  ## Install
24
23
 
@@ -46,11 +45,9 @@ overwrites it before every publish. This is why `latest` jumped straight from
46
45
  major-version story, and because npm publishes are immutable that jump is
47
46
  permanent.
48
47
 
49
- The two consumers still differ in how they get the binary: the Fargate runner
50
- image installs the published package
51
- (`ARG RUNNER_SYNCHRONISER_VERSION=dev`, resolved to a concrete version by the
52
- deploy workflow); the MicroVM still builds it from source and reads no npm
53
- version at all.
48
+ Both consumers install the published package behind the same
49
+ `ARG RUNNER_SYNCHRONISER_VERSION=dev`, resolved to a concrete version at image
50
+ build time.
54
51
 
55
52
  ## Commands
56
53
 
@@ -434,10 +431,11 @@ pnpm lint
434
431
  From the repository root, prefix with `pnpm --filter @evident-ai/runner-synchroniser`.
435
432
 
436
433
  The bundle must stay a **single file**: both consumers need a self-contained
437
- `dist/cli.js` with no sibling chunks — the npm `files: ["dist"]` install ships
438
- whatever `dist` contains, and the MicroVM runs `dist/cli.js` directly with no
439
- `node_modules` alongside it. `tsup.config.ts` disables splitting and bundles the
440
- AWS SDK so neither consumer needs anything else.
434
+ `dist/cli.js` with no sibling chunks — both the Fargate runner image and the
435
+ MicroVM image install this package from npm as a `bin`, where `files: ["dist"]`
436
+ ships whatever `dist` contains, with no `node_modules` alongside it.
437
+ `tsup.config.ts` disables splitting and bundles the AWS SDK so neither consumer
438
+ needs anything else.
441
439
 
442
440
  The restore/sync/CLI tests need neither AWS nor a real filesystem — rather than shimming
443
441
  a fake `aws` binary onto `PATH`, they inject two ports: `InMemoryObjectStore` (in
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evident-ai/runner-synchroniser",
3
- "version": "3.2.0",
3
+ "version": "3.2.1-dev.0fe02fb",
4
4
  "description": "Restores and syncs the Evident runner's OpenCode credential stores (and litestream config) to an object store, so a runner survives task replacement with almost no state loss.",
5
5
  "type": "module",
6
6
  "main": "./dist/cli.js",