wicked-core-ts 0.15.9 → 0.15.11

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/index.d.ts +8 -0
  2. package/package.json +6 -6
package/index.d.ts CHANGED
@@ -758,6 +758,14 @@ export declare class Core {
758
758
  * `WICKED_REPO_CHECKS_UNSANDBOXED=1`): crew's diagnostics and studio say so before a run.
759
759
  */
760
760
  hostBoundary(): Promise<string>
761
+ /**
762
+ * (core#1122) What the repo-checks floor holds on disk, as a JSON object: `{ path, bytes,
763
+ * totalCapBytes, repoCapBytes, idleTtlSecs, repos: [{ name, bytes, leaves }], logs: { path,
764
+ * bytes, capBytes } }` (or `{ error }` with no worker home). `path` is the floor build cache
765
+ * (`<worker home>/repo-checks`), `repos` largest first. For crew's diagnostics and the Nerve
766
+ * Center's disk row; read-only, but it walks the cache, so call it on demand.
767
+ */
768
+ static floorCacheUsage(): Promise<string>
761
769
  /**
762
770
  * Governance rules eval — run an eval corpus through the REAL SELECT→DECIDE gate path and
763
771
  * score every sample (the engine seam behind crew's `POST /api/v1/testing/evals/run`).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-core-ts",
3
- "version": "0.15.9",
3
+ "version": "0.15.11",
4
4
  "description": "Node/TypeScript bindings (napi-rs) for wicked-core: drive the in-process orchestration engine from JS/TS.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -43,11 +43,11 @@
43
43
  "typecheck": "tsc --noEmit -p types-test/tsconfig.json"
44
44
  },
45
45
  "optionalDependencies": {
46
- "wicked-core-ts-darwin-arm64": "0.15.9",
47
- "wicked-core-ts-darwin-x64": "0.15.9",
48
- "wicked-core-ts-linux-arm64-gnu": "0.15.9",
49
- "wicked-core-ts-linux-x64-gnu": "0.15.9",
50
- "wicked-core-ts-win32-x64-msvc": "0.15.9"
46
+ "wicked-core-ts-darwin-arm64": "0.15.11",
47
+ "wicked-core-ts-darwin-x64": "0.15.11",
48
+ "wicked-core-ts-linux-arm64-gnu": "0.15.11",
49
+ "wicked-core-ts-linux-x64-gnu": "0.15.11",
50
+ "wicked-core-ts-win32-x64-msvc": "0.15.11"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@napi-rs/cli": "^2.18.4",