@rivetkit/rivetkit-napi 2.3.0-rc.14 → 2.3.0-rc.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivetkit/rivetkit-napi",
3
- "version": "2.3.0-rc.14",
3
+ "version": "2.3.0-rc.15",
4
4
  "description": "Native N-API addon for RivetKit providing envoy client and SQLite access",
5
5
  "license": "Apache-2.0",
6
6
  "main": "index.js",
@@ -43,15 +43,15 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@napi-rs/cli": "^2.18.4",
46
- "@rivetkit/engine-envoy-protocol": "2.3.0-rc.14"
46
+ "@rivetkit/engine-envoy-protocol": "2.3.0-rc.15"
47
47
  },
48
48
  "optionalDependencies": {
49
- "@rivetkit/rivetkit-napi-darwin-arm64": "2.3.0-rc.14",
50
- "@rivetkit/rivetkit-napi-darwin-x64": "2.3.0-rc.14",
51
- "@rivetkit/rivetkit-napi-linux-arm64-gnu": "2.3.0-rc.14",
52
- "@rivetkit/rivetkit-napi-linux-arm64-musl": "2.3.0-rc.14",
53
- "@rivetkit/rivetkit-napi-linux-x64-gnu": "2.3.0-rc.14",
54
- "@rivetkit/rivetkit-napi-linux-x64-musl": "2.3.0-rc.14",
55
- "@rivetkit/rivetkit-napi-win32-x64-msvc": "2.3.0-rc.14"
49
+ "@rivetkit/rivetkit-napi-darwin-arm64": "2.3.0-rc.15",
50
+ "@rivetkit/rivetkit-napi-darwin-x64": "2.3.0-rc.15",
51
+ "@rivetkit/rivetkit-napi-linux-arm64-gnu": "2.3.0-rc.15",
52
+ "@rivetkit/rivetkit-napi-linux-arm64-musl": "2.3.0-rc.15",
53
+ "@rivetkit/rivetkit-napi-linux-x64-gnu": "2.3.0-rc.15",
54
+ "@rivetkit/rivetkit-napi-linux-x64-musl": "2.3.0-rc.15",
55
+ "@rivetkit/rivetkit-napi-win32-x64-msvc": "2.3.0-rc.15"
56
56
  }
57
57
  }
package/scripts/build.mjs CHANGED
@@ -16,6 +16,14 @@ if (process.env.SKIP_NAPI_BUILD === "1") {
16
16
  process.exit(0);
17
17
  }
18
18
 
19
+ // The per-actor inspector UI (frontend/dist/inspector-ui, embedded into
20
+ // rivetkit-core by its build.rs) must be built before this napi build runs.
21
+ // It is NOT built here: rivetkit-core's embed needs rivetkit/inspector-tab,
22
+ // which is downstream of this package in the build graph, so building it from
23
+ // the napi build would invert the dependency order. CI builds it via
24
+ // `turbo build:inspector-ui` in docker/build/*.Dockerfile before `napi build`;
25
+ // for local builds run `pnpm -F @rivetkit/engine-frontend build:inspector-ui`
26
+ // (or `turbo build:inspector-ui`) first.
19
27
  const cmd = ["build", "--platform", ...extraFlags];
20
28
  console.log(`[rivetkit-napi/build] running: napi ${cmd.join(" ")}`);
21
29
  execFileSync("napi", cmd, { stdio: "inherit" });